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

1 line
24 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 Steps = /*#__PURE__*/function (_Component) {\n _inherits(Steps, _Component);\n\n var _super = _createSuper(Steps);\n\n function Steps() {\n _classCallCheck(this, Steps);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(Steps, [{\n key: \"itemClick\",\n value: function itemClick(event, item, index) {\n if (this.props.readOnly || item.disabled) {\n event.preventDefault();\n return;\n }\n\n if (this.props.onSelect) {\n this.props.onSelect({\n originalEvent: event,\n item: item,\n index: index\n });\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 index: index\n });\n }\n }\n }, {\n key: \"renderItem\",\n value: function renderItem(item, index) {\n var _this = this;\n\n var active = index === this.props.activeIndex;\n var disabled = item.disabled || index !== this.props.activeIndex && this.props.readOnly;\n var className = classNames('p-steps-item', item.className, {\n 'p-highlight p-steps-current': active,\n 'p-disabled': disabled\n });\n var label = item.label && /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-steps-title\"\n }, item.label);\n var tabIndex = disabled ? -1 : '';\n var content = /*#__PURE__*/React.createElement(\"a\", {\n href: item.url || '#',\n className: \"p-menuitem-link\",\n role: \"presentation\",\n target: item.target,\n onClick: function onClick(event) {\n return _this.itemClick(event, item, index);\n },\n tabIndex: tabIndex,\n \"aria-disabled\": disabled\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-steps-number\"\n }, index + 1), label);\n\n if (item.template) {\n var defaultContentOptions = {\n onClick: function onClick(event) {\n return _this.itemClick(event, item, index);\n },\n className: 'p-menuitem-link',\n labelClassName: 'p-steps-title',\n numberClassName: 'p-steps-number',\n element: content,\n props: this.props,\n tabIndex: tabIndex,\n active: active,\n disabled: disabled\n };\n content = ObjectUtils.getJSXElement(item.template, item, defaultContentOptions);\n }\n\n return /*#__PURE__*/React.createElement(\"li\", {\n key: item.label + '_' + index,\n className: className,\n style: item.style,\n role: \"tab\",\n \"aria-selected\": active,\n \"aria-expanded\": active\n }, content);\n }\n }, {\n key: \"renderItems\",\n value: function renderItems() {\n var _this2 = this;\n\n if (this.props.model) {\n var items = this.props.model.map(function (item, index) {\n return _this2.renderItem(item, index);\n });\n return /*#__PURE__*/React.createElement(\"ul\", {\n role: \"tablist\"\n }, items);\n }\n\n return null;\n }\n }, {\n key: \"render\",\n value: function render() {\n var className = classNames('p-steps p-component', this.props.className, {\n 'p-readonly': this.props.readOnly\n });\n var items = this.renderItems();\n return /*#__PURE__*/React.createElement(\"div\", {\n id: this.props.id,\n className: className,\n style: this.props.style\n }, items);\n }\n }]);\n\n return Steps;\n}(Component);\n\n_defineProperty(Steps, \"defaultProps\", {\n id: null,\n model: null,\n activeIndex: 0,\n readOnly: true,\n style: null,\n className: null,\n onSelect: null\n});\n\nexport { Steps };","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","Steps","_Component","_super","itemClick","event","item","index","readOnly","disabled","preventDefault","onSelect","originalEvent","url","command","renderItem","_this","active","activeIndex","className","label","createElement","tabIndex","content","href","role","onClick","template","defaultContentOptions","labelClassName","numberClassName","element","getJSXElement","style","renderItems","_this2","model","items","map","render","id"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/primereact/steps/steps.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 Steps = /*#__PURE__*/function (_Component) {\n _inherits(Steps, _Component);\n\n var _super = _createSuper(Steps);\n\n function Steps() {\n _classCallCheck(this, Steps);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(Steps, [{\n key: \"itemClick\",\n value: function itemClick(event, item, index) {\n if (this.props.readOnly || item.disabled) {\n event.preventDefault();\n return;\n }\n\n if (this.props.onSelect) {\n this.props.onSelect({\n originalEvent: event,\n item: item,\n index: index\n });\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 index: index\n });\n }\n }\n }, {\n key: \"renderItem\",\n value: function renderItem(item, index) {\n var _this = this;\n\n var active = index === this.props.activeIndex;\n var disabled = item.disabled || index !== this.props.activeIndex && this.props.readOnly;\n var className = classNames('p-steps-item', item.className, {\n 'p-highlight p-steps-current': active,\n 'p-disabled': disabled\n });\n var label = item.label && /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-steps-title\"\n }, item.label);\n var tabIndex = disabled ? -1 : '';\n var content = /*#__PURE__*/React.createElement(\"a\", {\n href: item.url || '#',\n className: \"p-menuitem-link\",\n role: \"presentation\",\n target: item.target,\n onClick: function onClick(event) {\n return _this.itemClick(event, item, index);\n },\n tabIndex: tabIndex,\n \"aria-disabled\": disabled\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-steps-number\"\n }, index + 1), label);\n\n if (item.template) {\n var defaultContentOptions = {\n onClick: function onClick(event) {\n return _this.itemClick(event, item, index);\n },\n className: 'p-menuitem-link',\n labelClassName: 'p-steps-title',\n numberClassName: 'p-steps-number',\n element: content,\n props: this.props,\n tabIndex: tabIndex,\n active: active,\n disabled: disabled\n };\n content = ObjectUtils.getJSXElement(item.template, item, defaultContentOptions);\n }\n\n return /*#__PURE__*/React.createElement(\"li\", {\n key: item.label + '_' + index,\n className: className,\n style: item.style,\n role: \"tab\",\n \"aria-selected\": active,\n \"aria-expanded\": active\n }, content);\n }\n }, {\n key: \"renderItems\",\n value: function renderItems() {\n var _this2 = this;\n\n if (this.props.model) {\n var items = this.props.model.map(function (item, index) {\n return _this2.renderItem(item, index);\n });\n return /*#__PURE__*/React.createElement(\"ul\", {\n role: \"tablist\"\n }, items);\n }\n\n return null;\n }\n }, {\n key: \"render\",\n value: function render() {\n var className = classNames('p-steps p-component', this.props.className, {\n 'p-readonly': this.props.readOnly\n });\n var items = this.renderItems();\n return /*#__PURE__*/React.createElement(\"div\", {\n id: this.props.id,\n className: className,\n style: this.props.style\n }, items);\n }\n }]);\n\n return Steps;\n}(Component);\n\n_defineProperty(Steps, \"defaultProps\", {\n id: null,\n model: null,\n activeIndex: 0,\n readOnly: true,\n style: null,\n className: null,\n onSelect: null\n});\n\nexport { Steps };\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,UAA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