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

1 line
54 KiB
JSON

{"ast":null,"code":"import React, { Component } from 'react';\nimport { Paginator } from 'primereact/paginator';\nimport { classNames, ObjectUtils } from 'primereact/utils';\nimport { Ripple } from 'primereact/ripple';\nimport { localeOption } from 'primereact/api';\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\n\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\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 _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 _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 _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 DataViewLayoutOptions = /*#__PURE__*/function (_Component) {\n _inherits(DataViewLayoutOptions, _Component);\n\n var _super = _createSuper(DataViewLayoutOptions);\n\n function DataViewLayoutOptions(props) {\n var _this;\n\n _classCallCheck(this, DataViewLayoutOptions);\n\n _this = _super.call(this, props);\n _this.changeLayout = _this.changeLayout.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n _createClass(DataViewLayoutOptions, [{\n key: \"changeLayout\",\n value: function changeLayout(event, layoutMode) {\n this.props.onChange({\n originalEvent: event,\n value: layoutMode\n });\n event.preventDefault();\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var className = classNames('p-dataview-layout-options p-selectbutton p-buttonset', this.props.className);\n var buttonListClass = classNames('p-button p-button-icon-only', {\n 'p-highlight': this.props.layout === 'list'\n });\n var buttonGridClass = classNames('p-button p-button-icon-only', {\n 'p-highlight': this.props.layout === 'grid'\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n id: this.props.id,\n style: this.props.style,\n className: className\n }, /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n className: buttonListClass,\n onClick: function onClick(event) {\n return _this2.changeLayout(event, 'list');\n }\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"pi pi-bars\"\n }), /*#__PURE__*/React.createElement(Ripple, null)), /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n className: buttonGridClass,\n onClick: function onClick(event) {\n return _this2.changeLayout(event, 'grid');\n }\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"pi pi-th-large\"\n }), /*#__PURE__*/React.createElement(Ripple, null)));\n }\n }]);\n\n return DataViewLayoutOptions;\n}(Component);\n\n_defineProperty(DataViewLayoutOptions, \"defaultProps\", {\n id: null,\n style: null,\n className: null,\n layout: null,\n onChange: null\n});\n\nvar DataViewItem = /*#__PURE__*/function (_Component2) {\n _inherits(DataViewItem, _Component2);\n\n var _super2 = _createSuper(DataViewItem);\n\n function DataViewItem() {\n _classCallCheck(this, DataViewItem);\n\n return _super2.apply(this, arguments);\n }\n\n _createClass(DataViewItem, [{\n key: \"render\",\n value: function render() {\n return this.props.template(this.props.item, this.props.layout);\n }\n }]);\n\n return DataViewItem;\n}(Component);\n\n_defineProperty(DataViewItem, \"defaultProps\", {\n template: null,\n item: null,\n layout: null\n});\n\nvar DataView = /*#__PURE__*/function (_Component3) {\n _inherits(DataView, _Component3);\n\n var _super3 = _createSuper(DataView);\n\n function DataView(props) {\n var _this3;\n\n _classCallCheck(this, DataView);\n\n _this3 = _super3.call(this, props);\n\n if (!_this3.props.onPage) {\n _this3.state = {\n first: _this3.props.first,\n rows: _this3.props.rows\n };\n }\n\n _this3.sortChange = false;\n _this3.onPageChange = _this3.onPageChange.bind(_assertThisInitialized(_this3));\n return _this3;\n }\n\n _createClass(DataView, [{\n key: \"getItemRenderKey\",\n value: function getItemRenderKey(value) {\n return this.props.dataKey ? ObjectUtils.resolveFieldData(value, this.props.dataKey) : null;\n }\n }, {\n key: \"getTotalRecords\",\n value: function getTotalRecords() {\n if (this.props.totalRecords) return this.props.totalRecords;else return this.props.value ? this.props.value.length : 0;\n }\n }, {\n key: \"createPaginator\",\n value: function createPaginator(position) {\n var className = classNames('p-paginator-' + position, this.props.paginatorClassName);\n var first = this.props.onPage ? this.props.first : this.state.first;\n var rows = this.props.onPage ? this.props.rows : this.state.rows;\n var totalRecords = this.getTotalRecords();\n return /*#__PURE__*/React.createElement(Paginator, {\n first: first,\n rows: rows,\n pageLinkSize: this.props.pageLinkSize,\n className: className,\n onPageChange: this.onPageChange,\n template: this.props.paginatorTemplate,\n totalRecords: totalRecords,\n rowsPerPageOptions: this.props.rowsPerPageOptions,\n currentPageReportTemplate: this.props.currentPageReportTemplate,\n leftContent: this.props.paginatorLeft,\n rightContent: this.props.paginatorRight,\n alwaysShow: this.props.alwaysShowPaginator,\n dropdownAppendTo: this.props.paginatorDropdownAppendTo\n });\n }\n }, {\n key: \"onPageChange\",\n value: function onPageChange(event) {\n if (this.props.onPage) {\n this.props.onPage(event);\n } else {\n this.setState({\n first: event.first,\n rows: event.rows\n });\n }\n }\n }, {\n key: \"isEmpty\",\n value: function isEmpty() {\n return !this.props.value || this.props.value.length === 0;\n }\n }, {\n key: \"sort\",\n value: function sort() {\n var _this4 = this;\n\n if (this.props.value) {\n var value = _toConsumableArray(this.props.value);\n\n value.sort(function (data1, data2) {\n var value1 = ObjectUtils.resolveFieldData(data1, _this4.props.sortField);\n var value2 = ObjectUtils.resolveFieldData(data2, _this4.props.sortField);\n var result = null;\n if (value1 == null && value2 != null) result = -1;else if (value1 != null && value2 == null) result = 1;else if (value1 == null && value2 == null) result = 0;else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, undefined, {\n numeric: true\n });else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;\n return _this4.props.sortOrder * result;\n });\n return value;\n } else {\n return null;\n }\n }\n }, {\n key: \"renderLoader\",\n value: function renderLoader() {\n if (this.props.loading) {\n var iconClassName = classNames('p-dataview-loading-icon pi-spin', this.props.loadingIcon);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-dataview-loading-overlay p-component-overlay\"\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: iconClassName\n }));\n }\n\n return null;\n }\n }, {\n key: \"renderTopPaginator\",\n value: function renderTopPaginator() {\n if (this.props.paginator && (this.props.paginatorPosition !== 'bottom' || this.props.paginatorPosition === 'both')) {\n return this.createPaginator('top');\n }\n\n return null;\n }\n }, {\n key: \"renderBottomPaginator\",\n value: function renderBottomPaginator() {\n if (this.props.paginator && (this.props.paginatorPosition !== 'top' || this.props.paginatorPosition === 'both')) {\n return this.createPaginator('bottom');\n }\n\n return null;\n }\n }, {\n key: \"renderEmptyMessage\",\n value: function renderEmptyMessage() {\n if (!this.props.loading) {\n var content = this.props.emptyMessage || localeOption('emptyMessage');\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-col-12 col-12 p-dataview-emptymessage\"\n }, content);\n }\n\n return null;\n }\n }, {\n key: \"renderHeader\",\n value: function renderHeader() {\n if (this.props.header) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-dataview-header\"\n }, this.props.header);\n }\n\n return null;\n }\n }, {\n key: \"renderFooter\",\n value: function renderFooter() {\n if (this.props.footer) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-dataview-footer\"\n }, \" \", this.props.footer);\n }\n\n return null;\n }\n }, {\n key: \"renderItems\",\n value: function renderItems(value) {\n var _this5 = this;\n\n if (value && value.length) {\n if (this.props.paginator) {\n var rows = this.props.onPage ? this.props.rows : this.state.rows;\n var first = this.props.lazy ? 0 : this.props.onPage ? this.props.first : this.state.first;\n var totalRecords = this.getTotalRecords();\n var last = Math.min(rows + first, totalRecords);\n var items = [];\n\n for (var i = first; i < last; i++) {\n var val = value[i];\n val && items.push( /*#__PURE__*/React.createElement(DataViewItem, {\n key: this.getItemRenderKey(value) || i,\n template: this.props.itemTemplate,\n layout: this.props.layout,\n item: val\n }));\n }\n\n return items;\n } else {\n return value.map(function (item, index) {\n return /*#__PURE__*/React.createElement(DataViewItem, {\n key: _this5.getItemRenderKey(item) || index,\n template: _this5.props.itemTemplate,\n layout: _this5.props.layout,\n item: item\n });\n });\n }\n } else {\n return this.renderEmptyMessage();\n }\n }\n }, {\n key: \"renderContent\",\n value: function renderContent(value) {\n var items = this.renderItems(value);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-dataview-content\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-grid p-nogutter grid grid-nogutter\"\n }, items));\n }\n }, {\n key: \"processData\",\n value: function processData() {\n var data = this.props.value;\n\n if (data && data.length) {\n if (this.props.sortField) {\n data = this.sort();\n }\n }\n\n return data;\n }\n }, {\n key: \"render\",\n value: function render() {\n var value = this.processData();\n var className = classNames('p-dataview p-component', {\n 'p-dataview-list': this.props.layout === 'list',\n 'p-dataview-grid': this.props.layout === 'grid',\n 'p-dataview-loading': this.props.loading\n }, this.props.className);\n var loader = this.renderLoader();\n var topPaginator = this.renderTopPaginator();\n var bottomPaginator = this.renderBottomPaginator();\n var header = this.renderHeader();\n var footer = this.renderFooter();\n var content = this.renderContent(value);\n return /*#__PURE__*/React.createElement(\"div\", {\n id: this.props.id,\n style: this.props.style,\n className: className\n }, loader, header, topPaginator, content, bottomPaginator, footer);\n }\n }]);\n\n return DataView;\n}(Component);\n\n_defineProperty(DataView, \"defaultProps\", {\n id: null,\n header: null,\n footer: null,\n value: null,\n layout: 'list',\n dataKey: null,\n rows: null,\n first: 0,\n totalRecords: null,\n paginator: false,\n paginatorPosition: 'bottom',\n alwaysShowPaginator: true,\n paginatorClassName: null,\n paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',\n paginatorLeft: null,\n paginatorRight: null,\n paginatorDropdownAppendTo: null,\n pageLinkSize: 5,\n rowsPerPageOptions: null,\n currentPageReportTemplate: '({currentPage} of {totalPages})',\n emptyMessage: null,\n sortField: null,\n sortOrder: null,\n style: null,\n className: null,\n lazy: false,\n loading: false,\n loadingIcon: 'pi pi-spinner',\n itemTemplate: null,\n onPage: null\n});\n\nexport { DataView, DataViewLayoutOptions };","map":{"version":3,"names":["React","Component","Paginator","classNames","ObjectUtils","Ripple","localeOption","_arrayLikeToArray","arr","len","length","i","arr2","Array","_arrayWithoutHoles","isArray","_iterableToArray","iter","Symbol","iterator","from","_unsupportedIterableToArray","o","minLen","n","Object","prototype","toString","call","slice","constructor","name","test","_nonIterableSpread","TypeError","_toConsumableArray","_classCallCheck","instance","Constructor","_defineProperties","target","props","descriptor","enumerable","configurable","writable","defineProperty","key","_createClass","protoProps","staticProps","_assertThisInitialized","self","ReferenceError","_setPrototypeOf","p","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","value","_typeof","obj","_possibleConstructorReturn","_getPrototypeOf","getPrototypeOf","_defineProperty","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","result","NewTarget","Reflect","construct","arguments","apply","sham","Proxy","Boolean","valueOf","e","DataViewLayoutOptions","_Component","_super","_this","changeLayout","bind","event","layoutMode","onChange","originalEvent","preventDefault","render","_this2","className","buttonListClass","layout","buttonGridClass","createElement","id","style","type","onClick","DataViewItem","_Component2","_super2","template","item","DataView","_Component3","_super3","_this3","onPage","state","first","rows","sortChange","onPageChange","getItemRenderKey","dataKey","resolveFieldData","getTotalRecords","totalRecords","createPaginator","position","paginatorClassName","pageLinkSize","paginatorTemplate","rowsPerPageOptions","currentPageReportTemplate","leftContent","paginatorLeft","rightContent","paginatorRight","alwaysShow","alwaysShowPaginator","dropdownAppendTo","paginatorDropdownAppendTo","setState","isEmpty","sort","_this4","data1","data2","value1","sortField","value2","localeCompare","undefined","numeric","sortOrder","renderLoader","loading","iconClassName","loadingIcon","renderTopPaginator","paginator","paginatorPosition","renderBottomPaginator","renderEmptyMessage","content","emptyMessage","renderHeader","header","renderFooter","footer","renderItems","_this5","lazy","last","Math","min","items","val","push","itemTemplate","map","index","renderContent","processData","data","loader","topPaginator","bottomPaginator"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/primereact/dataview/dataview.esm.js"],"sourcesContent":["import React, { Component } from 'react';\nimport { Paginator } from 'primereact/paginator';\nimport { classNames, ObjectUtils } from 'primereact/utils';\nimport { Ripple } from 'primereact/ripple';\nimport { localeOption } from 'primereact/api';\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\n\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\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 _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 _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 _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 DataViewLayoutOptions = /*#__PURE__*/function (_Component) {\n _inherits(DataViewLayoutOptions, _Component);\n\n var _super = _createSuper(DataViewLayoutOptions);\n\n function DataViewLayoutOptions(props) {\n var _this;\n\n _classCallCheck(this, DataViewLayoutOptions);\n\n _this = _super.call(this, props);\n _this.changeLayout = _this.changeLayout.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n _createClass(DataViewLayoutOptions, [{\n key: \"changeLayout\",\n value: function changeLayout(event, layoutMode) {\n this.props.onChange({\n originalEvent: event,\n value: layoutMode\n });\n event.preventDefault();\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var className = classNames('p-dataview-layout-options p-selectbutton p-buttonset', this.props.className);\n var buttonListClass = classNames('p-button p-button-icon-only', {\n 'p-highlight': this.props.layout === 'list'\n });\n var buttonGridClass = classNames('p-button p-button-icon-only', {\n 'p-highlight': this.props.layout === 'grid'\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n id: this.props.id,\n style: this.props.style,\n className: className\n }, /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n className: buttonListClass,\n onClick: function onClick(event) {\n return _this2.changeLayout(event, 'list');\n }\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"pi pi-bars\"\n }), /*#__PURE__*/React.createElement(Ripple, null)), /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n className: buttonGridClass,\n onClick: function onClick(event) {\n return _this2.changeLayout(event, 'grid');\n }\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"pi pi-th-large\"\n }), /*#__PURE__*/React.createElement(Ripple, null)));\n }\n }]);\n\n return DataViewLayoutOptions;\n}(Component);\n\n_defineProperty(DataViewLayoutOptions, \"defaultProps\", {\n id: null,\n style: null,\n className: null,\n layout: null,\n onChange: null\n});\n\nvar DataViewItem = /*#__PURE__*/function (_Component2) {\n _inherits(DataViewItem, _Component2);\n\n var _super2 = _createSuper(DataViewItem);\n\n function DataViewItem() {\n _classCallCheck(this, DataViewItem);\n\n return _super2.apply(this, arguments);\n }\n\n _createClass(DataViewItem, [{\n key: \"render\",\n value: function render() {\n return this.props.template(this.props.item, this.props.layout);\n }\n }]);\n\n return DataViewItem;\n}(Component);\n\n_defineProperty(DataViewItem, \"defaultProps\", {\n template: null,\n item: null,\n layout: null\n});\n\nvar DataView = /*#__PURE__*/function (_Component3) {\n _inherits(DataView, _Component3);\n\n var _super3 = _createSuper(DataView);\n\n function DataView(props) {\n var _this3;\n\n _classCallCheck(this, DataView);\n\n _this3 = _super3.call(this, props);\n\n if (!_this3.props.onPage) {\n _this3.state = {\n first: _this3.props.first,\n rows: _this3.props.rows\n };\n }\n\n _this3.sortChange = false;\n _this3.onPageChange = _this3.onPageChange.bind(_assertThisInitialized(_this3));\n return _this3;\n }\n\n _createClass(DataView, [{\n key: \"getItemRenderKey\",\n value: function getItemRenderKey(value) {\n return this.props.dataKey ? ObjectUtils.resolveFieldData(value, this.props.dataKey) : null;\n }\n }, {\n key: \"getTotalRecords\",\n value: function getTotalRecords() {\n if (this.props.totalRecords) return this.props.totalRecords;else return this.props.value ? this.props.value.length : 0;\n }\n }, {\n key: \"createPaginator\",\n value: function createPaginator(position) {\n var className = classNames('p-paginator-' + position, this.props.paginatorClassName);\n var first = this.props.onPage ? this.props.first : this.state.first;\n var rows = this.props.onPage ? this.props.rows : this.state.rows;\n var totalRecords = this.getTotalRecords();\n return /*#__PURE__*/React.createElement(Paginator, {\n first: first,\n rows: rows,\n pageLinkSize: this.props.pageLinkSize,\n className: className,\n onPageChange: this.onPageChange,\n template: this.props.paginatorTemplate,\n totalRecords: totalRecords,\n rowsPerPageOptions: this.props.rowsPerPageOptions,\n currentPageReportTemplate: this.props.currentPageReportTemplate,\n leftContent: this.props.paginatorLeft,\n rightContent: this.props.paginatorRight,\n alwaysShow: this.props.alwaysShowPaginator,\n dropdownAppendTo: this.props.paginatorDropdownAppendTo\n });\n }\n }, {\n key: \"onPageChange\",\n value: function onPageChange(event) {\n if (this.props.onPage) {\n this.props.onPage(event);\n } else {\n this.setState({\n first: event.first,\n rows: event.rows\n });\n }\n }\n }, {\n key: \"isEmpty\",\n value: function isEmpty() {\n return !this.props.value || this.props.value.length === 0;\n }\n }, {\n key: \"sort\",\n value: function sort() {\n var _this4 = this;\n\n if (this.props.value) {\n var value = _toConsumableArray(this.props.value);\n\n value.sort(function (data1, data2) {\n var value1 = ObjectUtils.resolveFieldData(data1, _this4.props.sortField);\n var value2 = ObjectUtils.resolveFieldData(data2, _this4.props.sortField);\n var result = null;\n if (value1 == null && value2 != null) result = -1;else if (value1 != null && value2 == null) result = 1;else if (value1 == null && value2 == null) result = 0;else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, undefined, {\n numeric: true\n });else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;\n return _this4.props.sortOrder * result;\n });\n return value;\n } else {\n return null;\n }\n }\n }, {\n key: \"renderLoader\",\n value: function renderLoader() {\n if (this.props.loading) {\n var iconClassName = classNames('p-dataview-loading-icon pi-spin', this.props.loadingIcon);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-dataview-loading-overlay p-component-overlay\"\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: iconClassName\n }));\n }\n\n return null;\n }\n }, {\n key: \"renderTopPaginator\",\n value: function renderTopPaginator() {\n if (this.props.paginator && (this.props.paginatorPosition !== 'bottom' || this.props.paginatorPosition === 'both')) {\n return this.createPaginator('top');\n }\n\n return null;\n }\n }, {\n key: \"renderBottomPaginator\",\n value: function renderBottomPaginator() {\n if (this.props.paginator && (this.props.paginatorPosition !== 'top' || this.props.paginatorPosition === 'both')) {\n return this.createPaginator('bottom');\n }\n\n return null;\n }\n }, {\n key: \"renderEmptyMessage\",\n value: function renderEmptyMessage() {\n if (!this.props.loading) {\n var content = this.props.emptyMessage || localeOption('emptyMessage');\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-col-12 col-12 p-dataview-emptymessage\"\n }, content);\n }\n\n return null;\n }\n }, {\n key: \"renderHeader\",\n value: function renderHeader() {\n if (this.props.header) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-dataview-header\"\n }, this.props.header);\n }\n\n return null;\n }\n }, {\n key: \"renderFooter\",\n value: function renderFooter() {\n if (this.props.footer) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-dataview-footer\"\n }, \" \", this.props.footer);\n }\n\n return null;\n }\n }, {\n key: \"renderItems\",\n value: function renderItems(value) {\n var _this5 = this;\n\n if (value && value.length) {\n if (this.props.paginator) {\n var rows = this.props.onPage ? this.props.rows : this.state.rows;\n var first = this.props.lazy ? 0 : this.props.onPage ? this.props.first : this.state.first;\n var totalRecords = this.getTotalRecords();\n var last = Math.min(rows + first, totalRecords);\n var items = [];\n\n for (var i = first; i < last; i++) {\n var val = value[i];\n val && items.push( /*#__PURE__*/React.createElement(DataViewItem, {\n key: this.getItemRenderKey(value) || i,\n template: this.props.itemTemplate,\n layout: this.props.layout,\n item: val\n }));\n }\n\n return items;\n } else {\n return value.map(function (item, index) {\n return /*#__PURE__*/React.createElement(DataViewItem, {\n key: _this5.getItemRenderKey(item) || index,\n template: _this5.props.itemTemplate,\n layout: _this5.props.layout,\n item: item\n });\n });\n }\n } else {\n return this.renderEmptyMessage();\n }\n }\n }, {\n key: \"renderContent\",\n value: function renderContent(value) {\n var items = this.renderItems(value);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-dataview-content\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-grid p-nogutter grid grid-nogutter\"\n }, items));\n }\n }, {\n key: \"processData\",\n value: function processData() {\n var data = this.props.value;\n\n if (data && data.length) {\n if (this.props.sortField) {\n data = this.sort();\n }\n }\n\n return data;\n }\n }, {\n key: \"render\",\n value: function render() {\n var value = this.processData();\n var className = classNames('p-dataview p-component', {\n 'p-dataview-list': this.props.layout === 'list',\n 'p-dataview-grid': this.props.layout === 'grid',\n 'p-dataview-loading': this.props.loading\n }, this.props.className);\n var loader = this.renderLoader();\n var topPaginator = this.renderTopPaginator();\n var bottomPaginator = this.renderBottomPaginator();\n var header = this.renderHeader();\n var footer = this.renderFooter();\n var content = this.renderContent(value);\n return /*#__PURE__*/React.createElement(\"div\", {\n id: this.props.id,\n style: this.props.style,\n className: className\n }, loader, header, topPaginator, content, bottomPaginator, footer);\n }\n }]);\n\n return DataView;\n}(Component);\n\n_defineProperty(DataView, \"defaultProps\", {\n id: null,\n header: null,\n footer: null,\n value: null,\n layout: 'list',\n dataKey: null,\n rows: null,\n first: 0,\n totalRecords: null,\n paginator: false,\n paginatorPosition: 'bottom',\n alwaysShowPaginator: true,\n paginatorClassName: null,\n paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',\n paginatorLeft: null,\n paginatorRight: null,\n paginatorDropdownAppendTo: null,\n pageLinkSize: 5,\n rowsPerPageOptions: null,\n currentPageReportTemplate: '({currentPage} of {totalPages})',\n emptyMessage: null,\n sortField: null,\n sortOrder: null,\n style: null,\n className: null,\n lazy: false,\n loading: false,\n loadingIcon: 'pi pi-spinner',\n itemTemplate: null,\n onPage: null\n});\n\nexport { DataView, DataViewLayoutOptions };\n"],"mappings":"AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,SAASC,SAAT,QAA0B,sBAA1B;AACA,SAASC,UAAT,EAAqBC,WAArB,QAAwC,kBAAxC;AACA,SAASC,M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