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

1 line
50 KiB
JSON
Raw Normal View History

2022-07-06 04:15:11 +00:00
{"ast":null,"code":"var _this = this,\n _jsxFileName = \"/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/src/components/PanelDemo.js\";\n\nimport React, { useRef } from 'react';\nimport { Toolbar } from 'primereact/toolbar';\nimport { Button } from 'primereact/button';\nimport { SplitButton } from 'primereact/splitbutton';\nimport { Accordion, AccordionTab } from 'primereact/accordion';\nimport { TabView, TabPanel } from 'primereact/tabview';\nimport { Panel } from 'primereact/panel';\nimport { Fieldset } from 'primereact/fieldset';\nimport { Card } from 'primereact/card';\nimport { Divider } from 'primereact/divider';\nimport { InputText } from 'primereact/inputtext';\nimport { Splitter, SplitterPanel } from 'primereact/splitter';\nimport { Password } from 'primereact/password';\nimport { Menu } from \"primereact/menu\";\n\nvar PanelDemo = function PanelDemo() {\n var menu1 = useRef(null);\n var toolbarItems = [{\n label: 'Save',\n icon: 'pi pi-check'\n }, {\n label: 'Update',\n icon: 'pi pi-upload'\n }, {\n label: 'Delete',\n icon: 'pi pi-trash'\n }, {\n label: 'Home Page',\n icon: 'pi pi-home'\n }];\n\n var toolbarLeftTemplate = function toolbarLeftTemplate() {\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {\n label: \"New\",\n icon: \"pi pi-plus\",\n style: {\n marginRight: '.5em'\n },\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 40,\n columnNumber: 17\n }\n }), /*#__PURE__*/React.createElement(Button, {\n label: \"Open\",\n icon: \"pi pi-folder-open\",\n className: \"p-button-secondary\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 41,\n columnNumber: 17\n }\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"pi pi-bars p-toolbar-separator\",\n style: {\n marginRight: '.5em'\n },\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 43,\n columnNumber: 17\n }\n }), /*#__PURE__*/React.createElement(Button, {\n icon: \"pi pi-check\",\n className: \"p-button-success\",\n style: {\n marginRight: '.5em'\n },\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 45,\n columnNumber: 17\n }\n }), /*#__PURE__*/React.createElement(Button, {\n icon: \"pi pi-trash\",\n className: \"p-button-warning\",\n style: {\n marginRight: '.5em'\n },\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 17\n }\n }), /*#__PURE__*/React.createElement(Button, {\n icon: \"pi pi-print\",\n className: \"p-button-danger\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 47,\n columnNumber: 17\n }\n }));\n };\n\n var toolbarRightTemplate = /*#__PURE__*/React.createElement(SplitButton, {\n label: \"Options\",\n icon: \"pi pi-check\",\n model: toolbarItems,\n menuStyle: {\n width: '12rem'\n },\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 51,\n columnNumber: 34\n }\n });\n var cardHeader = /*#__PURE__*/React.createElement(\"div\", {\n className: \"flex align-items-center justify-content-between mb-0 p-3 pb-0\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 53,\n columnNumber: 9\n }\n }, /*#__PURE__*/React.createElement(\"h5\", {\n className: \"m-0\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 54,\n columnNumber: 13\n }\n }, \"Card\"), /*#__PURE__*/React.createElement(Button, {\n icon: \"pi pi-plus\",\n className: \"p-button-text\",\n onClick: function onClick(event) {\n return menu1.current.toggle(event);\n },\n __self: