1 line
82 KiB
JSON
1 line
82 KiB
JSON
|
{"ast":null,"code":"import _createForOfIteratorHelper from \"/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper\";\nimport _toConsumableArray from \"/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/slicedToArray\";\n\nvar _this = this,\n _jsxFileName = \"/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/src/components/TableDemo.js\";\n\nimport React, { useState, useEffect } from 'react';\nimport { classNames } from 'primereact/utils';\nimport { FilterMatchMode, FilterOperator } from 'primereact/api';\nimport { DataTable } from 'primereact/datatable';\nimport { Column } from 'primereact/column';\nimport { Dropdown } from 'primereact/dropdown';\nimport { InputNumber } from 'primereact/inputnumber';\nimport { Button } from 'primereact/button';\nimport { ProgressBar } from 'primereact/progressbar';\nimport { Calendar } from 'primereact/calendar';\nimport { MultiSelect } from 'primereact/multiselect';\nimport { Slider } from 'primereact/slider';\nimport { TriStateCheckbox } from 'primereact/tristatecheckbox';\nimport { ToggleButton } from 'primereact/togglebutton';\nimport { Rating } from 'primereact/rating';\nimport { CustomerService } from '../service/CustomerService';\nimport { ProductService } from '../service/ProductService';\n\nvar TableDemo = function TableDemo() {\n var _useState = useState(null),\n _useState2 = _slicedToArray(_useState, 2),\n customers1 = _useState2[0],\n setCustomers1 = _useState2[1];\n\n var _useState3 = useState([]),\n _useState4 = _slicedToArray(_useState3, 2),\n customers2 = _useState4[0],\n setCustomers2 = _useState4[1];\n\n var _useState5 = useState([]),\n _useState6 = _slicedToArray(_useState5, 2),\n customers3 = _useState6[0],\n setCustomers3 = _useState6[1];\n\n var _useState7 = useState(null),\n _useState8 = _slicedToArray(_useState7, 2),\n filters1 = _useState8[0],\n setFilters1 = _useState8[1];\n\n var _useState9 = useState(true),\n _useState10 = _slicedToArray(_useState9, 2),\n loading1 = _useState10[0],\n setLoading1 = _useState10[1];\n\n var _useState11 = useState(true),\n _useState12 = _slicedToArray(_useState11, 2),\n loading2 = _useState12[0],\n setLoading2 = _useState12[1];\n\n var _useState13 = useState(false),\n _useState14 = _slicedToArray(_useState13, 2),\n idFrozen = _useState14[0],\n setIdFrozen = _useState14[1];\n\n var _useState15 = useState([]),\n _useState16 = _slicedToArray(_useState15, 2),\n products = _useState16[0],\n setProducts = _useState16[1];\n\n var _useState17 = useState(null),\n _useState18 = _slicedToArray(_useState17, 2),\n expandedRows = _useState18[0],\n setExpandedRows = _useState18[1];\n\n var representatives = [{\n name: \"Amy Elsner\",\n image: 'amyelsner.png'\n }, {\n name: \"Anna Fali\",\n image: 'annafali.png'\n }, {\n name: \"Asiya Javayant\",\n image: 'asiyajavayant.png'\n }, {\n name: \"Bernardo Dominic\",\n image: 'bernardodominic.png'\n }, {\n name: \"Elwin Sharvill\",\n image: 'elwinsharvill.png'\n }, {\n name: \"Ioni Bowcher\",\n image: 'ionibowcher.png'\n }, {\n name: \"Ivan Magalhaes\",\n image: 'ivanmagalhaes.png'\n }, {\n name: \"Onyama Limba\",\n image: 'onyamalimba.png'\n }, {\n name: \"Stephen Shaw\",\n image: 'stephenshaw.png'\n }, {\n name: \"XuXue Feng\",\n image: 'xuxuefeng.png'\n }];\n var statuses = ['unqualified', 'qualified', 'new', 'negotiation', 'renewal', 'proposal'];\n var customerService = new CustomerService();\n var productService = new ProductService();\n us
|