katoikia-app/web-ui/web-react/node_modules/.cache/babel-loader/6259f3f67f34cc96c65f9924e79...

1 line
26 KiB
JSON

{"ast":null,"code":"import React, { Component } from 'react';\nimport { classNames, ObjectUtils } from 'primereact/utils';\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possibleConstructorReturn(this, result);\n };\n}\n\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nvar BreadCrumb = /*#__PURE__*/function (_Component) {\n _inherits(BreadCrumb, _Component);\n\n var _super = _createSuper(BreadCrumb);\n\n function BreadCrumb() {\n _classCallCheck(this, BreadCrumb);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(BreadCrumb, [{\n key: \"itemClick\",\n value: function itemClick(event, item) {\n if (item.disabled) {\n event.preventDefault();\n return;\n }\n\n if (!item.url) {\n event.preventDefault();\n }\n\n if (item.command) {\n item.command({\n originalEvent: event,\n item: item\n });\n }\n }\n }, {\n key: \"renderHome\",\n value: function renderHome() {\n var _this = this;\n\n if (this.props.home) {\n var className = classNames('p-breadcrumb-home', {\n 'p-disabled': this.props.home.disabled\n }, this.props.home.className);\n var iconClassName = classNames('p-menuitem-icon', this.props.home.icon);\n return /*#__PURE__*/React.createElement(\"li\", {\n className: className,\n style: this.props.home.style\n }, /*#__PURE__*/React.createElement(\"a\", {\n href: this.props.home.url || '#',\n className: \"p-menuitem-link\",\n \"aria-disabled\": this.props.home.disabled,\n target: this.props.home.target,\n onClick: function onClick(event) {\n return _this.itemClick(event, _this.props.home);\n }\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: iconClassName\n })));\n }\n\n return null;\n }\n }, {\n key: \"renderSeparator\",\n value: function renderSeparator() {\n return /*#__PURE__*/React.createElement(\"li\", {\n className: \"p-breadcrumb-chevron pi pi-chevron-right\"\n });\n }\n }, {\n key: \"renderMenuitem\",\n value: function renderMenuitem(item) {\n var _this2 = this;\n\n var className = classNames(item.className, {\n 'p-disabled': item.disabled\n });\n var label = item.label && /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-menuitem-text\"\n }, item.label);\n var content = /*#__PURE__*/React.createElement(\"a\", {\n href: item.url || '#',\n className: \"p-menuitem-link\",\n target: item.target,\n onClick: function onClick(event) {\n return _this2.itemClick(event, item);\n },\n \"aria-disabled\": item.disabled\n }, label);\n\n if (item.template) {\n var defaultContentOptions = {\n onClick: function onClick(event) {\n return _this2.itemClick(event, item);\n },\n className: 'p-menuitem-link',\n labelClassName: 'p-menuitem-text',\n element: content,\n props: this.props\n };\n content = ObjectUtils.getJSXElement(item.template, item, defaultContentOptions);\n }\n\n return /*#__PURE__*/React.createElement(\"li\", {\n className: className,\n style: item.style\n }, content);\n }\n }, {\n key: \"renderMenuitems\",\n value: function renderMenuitems() {\n var _this3 = this;\n\n if (this.props.model) {\n var items = this.props.model.map(function (item, index) {\n var menuitem = _this3.renderMenuitem(item);\n\n var separator = index === _this3.props.model.length - 1 ? null : _this3.renderSeparator();\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: item.label + '_' + index\n }, menuitem, separator);\n });\n return items;\n }\n\n return null;\n }\n }, {\n key: \"render\",\n value: function render() {\n var className = classNames('p-breadcrumb p-component', this.props.className);\n var home = this.renderHome();\n var items = this.renderMenuitems();\n var separator = this.renderSeparator();\n return /*#__PURE__*/React.createElement(\"nav\", {\n id: this.props.id,\n className: className,\n style: this.props.style,\n \"aria-label\": \"Breadcrumb\"\n }, /*#__PURE__*/React.createElement(\"ul\", null, home, separator, items));\n }\n }]);\n\n return BreadCrumb;\n}(Component);\n\n_defineProperty(BreadCrumb, \"defaultProps\", {\n id: null,\n model: null,\n home: null,\n style: null,\n className: null\n});\n\nexport { BreadCrumb };","map":{"version":3,"names":["React","Component","classNames","ObjectUtils","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","protoProps","staticProps","prototype","_setPrototypeOf","o","p","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","constructor","value","_typeof","obj","Symbol","iterator","_assertThisInitialized","self","ReferenceError","_possibleConstructorReturn","call","_getPrototypeOf","getPrototypeOf","_defineProperty","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","result","NewTarget","Reflect","construct","arguments","apply","sham","Proxy","Boolean","valueOf","e","BreadCrumb","_Component","_super","itemClick","event","item","disabled","preventDefault","url","command","originalEvent","renderHome","_this","home","className","iconClassName","icon","createElement","style","href","onClick","renderSeparator","renderMenuitem","_this2","label","content","template","defaultContentOptions","labelClassName","element","getJSXElement","renderMenuitems","_this3","model","items","map","index","menuitem","separator","Fragment","render","id"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/primereact/breadcrumb/breadcrumb.esm.js"],"sourcesContent":["import React, { Component } from 'react';\nimport { classNames, ObjectUtils } from 'primereact/utils';\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nvar BreadCrumb = /*#__PURE__*/function (_Component) {\n _inherits(BreadCrumb, _Component);\n\n var _super = _createSuper(BreadCrumb);\n\n function BreadCrumb() {\n _classCallCheck(this, BreadCrumb);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(BreadCrumb, [{\n key: \"itemClick\",\n value: function itemClick(event, item) {\n if (item.disabled) {\n event.preventDefault();\n return;\n }\n\n if (!item.url) {\n event.preventDefault();\n }\n\n if (item.command) {\n item.command({\n originalEvent: event,\n item: item\n });\n }\n }\n }, {\n key: \"renderHome\",\n value: function renderHome() {\n var _this = this;\n\n if (this.props.home) {\n var className = classNames('p-breadcrumb-home', {\n 'p-disabled': this.props.home.disabled\n }, this.props.home.className);\n var iconClassName = classNames('p-menuitem-icon', this.props.home.icon);\n return /*#__PURE__*/React.createElement(\"li\", {\n className: className,\n style: this.props.home.style\n }, /*#__PURE__*/React.createElement(\"a\", {\n href: this.props.home.url || '#',\n className: \"p-menuitem-link\",\n \"aria-disabled\": this.props.home.disabled,\n target: this.props.home.target,\n onClick: function onClick(event) {\n return _this.itemClick(event, _this.props.home);\n }\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: iconClassName\n })));\n }\n\n return null;\n }\n }, {\n key: \"renderSeparator\",\n value: function renderSeparator() {\n return /*#__PURE__*/React.createElement(\"li\", {\n className: \"p-breadcrumb-chevron pi pi-chevron-right\"\n });\n }\n }, {\n key: \"renderMenuitem\",\n value: function renderMenuitem(item) {\n var _this2 = this;\n\n var className = classNames(item.className, {\n 'p-disabled': item.disabled\n });\n var label = item.label && /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-menuitem-text\"\n }, item.label);\n var content = /*#__PURE__*/React.createElement(\"a\", {\n href: item.url || '#',\n className: \"p-menuitem-link\",\n target: item.target,\n onClick: function onClick(event) {\n return _this2.itemClick(event, item);\n },\n \"aria-disabled\": item.disabled\n }, label);\n\n if (item.template) {\n var defaultContentOptions = {\n onClick: function onClick(event) {\n return _this2.itemClick(event, item);\n },\n className: 'p-menuitem-link',\n labelClassName: 'p-menuitem-text',\n element: content,\n props: this.props\n };\n content = ObjectUtils.getJSXElement(item.template, item, defaultContentOptions);\n }\n\n return /*#__PURE__*/React.createElement(\"li\", {\n className: className,\n style: item.style\n }, content);\n }\n }, {\n key: \"renderMenuitems\",\n value: function renderMenuitems() {\n var _this3 = this;\n\n if (this.props.model) {\n var items = this.props.model.map(function (item, index) {\n var menuitem = _this3.renderMenuitem(item);\n\n var separator = index === _this3.props.model.length - 1 ? null : _this3.renderSeparator();\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: item.label + '_' + index\n }, menuitem, separator);\n });\n return items;\n }\n\n return null;\n }\n }, {\n key: \"render\",\n value: function render() {\n var className = classNames('p-breadcrumb p-component', this.props.className);\n var home = this.renderHome();\n var items = this.renderMenuitems();\n var separator = this.renderSeparator();\n return /*#__PURE__*/React.createElement(\"nav\", {\n id: this.props.id,\n className: className,\n style: this.props.style,\n \"aria-label\": \"Breadcrumb\"\n }, /*#__PURE__*/React.createElement(\"ul\", null, home, separator, items));\n }\n }]);\n\n return BreadCrumb;\n}(Component);\n\n_defineProperty(BreadCrumb, \"defaultProps\", {\n id: null,\n model: null,\n home: null,\n style: null,\n className: null\n});\n\nexport { BreadCrumb };\n"],"mappings":"AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,SAASC,UAAT,EAAqBC,WAArB,QAAwC,kBAAxC;;AAEA,SAASC,eAAT,CAAyBC,QAAzB,EAAmCC,WAAnC,EAAgD;EAC9C,IAAI,EAAED,QAAQ,YAAYC,WAAtB,CAAJ,EAAwC;IACtC,MAAM,IAAIC,SAAJ,CAAc,mCAAd,CAAN;EACD;AACF;;AAED,SAASC,iBAAT,CAA2BC,MAA3B,EAAmCC,KAAnC,EAA0C;EACxC,KAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAAK,CAACE,MAA1B,EAAkCD,CAAC,EAAnC,EAAuC;IACrC,IAAIE,UAAU,GAAGH,KAAK,CAACC,CAAD,CAAtB;IACAE,UAAU,CAACC,UAAX,GAAwBD,UAAU,CAACC,UAAX,IAAyB,KAAjD;IACAD,UAAU,CAACE,YAAX,GAA0B,IAA1B;IACA,IAAI,WAAWF,UAAf,EAA2BA,UAAU,CAACG,QAAX,GAAsB,IAAtB;IAC3BC,MAAM,CAACC,cAAP,CAAsBT,MAAtB,EAA8BI,UAAU,CAACM,GAAzC,EAA8CN,UAA9C;EACD;AACF;;AAED,SAASO,YAAT,CAAsBd,WAAtB,EAAmCe,UAAnC,EAA+CC,WAA/C,EAA4D;EAC1D,IAAID,UAAJ,EAAgBb,iBAAiB,CAACF,WAAW,CAACiB,SAAb,EAAwBF,UAAxB,CAAjB;EAChB,IAAIC,WAAJ,EAAiBd,iBAAiB,CAACF,WAAD,EAAcgB,WAAd,CAAjB;EACjBL,MAAM,CAACC,cAAP,CAAsBZ,WAAtB,EAAmC,WAAnC,EAAgD;IAC9CU,QAAQ,EAAE;EADoC,CAAhD;EAGA,O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