@ozdao/prometheus-framework 0.2.155 → 0.2.157
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_virtual/_commonjsHelpers.cjs +1 -1
- package/dist/_virtual/_commonjsHelpers.js +5 -3
- package/dist/_virtual/purify.cjs +1 -0
- package/dist/_virtual/purify.js +4 -0
- package/dist/builder.js +822 -0
- package/dist/builder.mjs +801 -0
- package/dist/{main-D_RRsfEH.mjs → main-Ba3SEUWZ.mjs} +1812 -1774
- package/dist/main-ldzk-jIP.js +92 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/dompurify/dist/purify.cjs +2 -0
- package/dist/node_modules/dompurify/dist/purify.js +531 -0
- package/dist/node_modules/isomorphic-dompurify/browser.cjs +1 -0
- package/dist/node_modules/isomorphic-dompurify/browser.js +7 -0
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/regex.cjs +1 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/regex.js +4 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/rng.cjs +1 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/rng.js +9 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/stringify.cjs +1 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/stringify.js +13 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/v4.cjs +1 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/v4.js +10 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/validate.cjs +1 -0
- package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +47 -30
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +9 -9
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +10 -10
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +34 -34
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +27 -27
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +58 -0
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -180
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +190 -0
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +9 -7
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +48 -43
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +41 -63
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +37 -36
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js +3 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +105 -53
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +92 -98
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Viewer.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Viewer.vue.js +39 -0
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +13 -12
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +19 -19
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +32 -32
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +13 -15
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.js +34 -33
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +13 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +18 -18
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/router/spots.js +4 -0
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +22 -22
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +4 -4
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{web-3rnOWrQO.mjs → web-CT2tGYho.mjs} +1 -1
- package/dist/{web-C04IcLk4.js → web-DWjMBTNi.js} +1 -1
- package/package.json +3 -2
- package/src/builder/builder.js +14 -0
- package/src/builder/modes/spa.dev.js +100 -0
- package/src/builder/modes/spa.prod.js +59 -0
- package/src/builder/modes/ssr.dev.js +184 -0
- package/src/builder/modes/ssr.prod.js +76 -0
- package/src/builder/ssr/ssr-render-html.js +57 -0
- package/src/builder/ssr/ssr-transform-webpack-stats.js +54 -0
- package/src/builder/templates/page.html +37 -0
- package/src/builder/templates/screen.html +33 -0
- package/src/builder/utils/hot-reload.js +5 -0
- package/src/builder/webpack/index.js +13 -0
- package/src/builder/webpack/webpack.config.base.js +127 -0
- package/src/builder/webpack/webpack.config.client.js +78 -0
- package/src/builder/webpack/webpack.config.server.js +31 -0
- package/src/builder/webpack/webpack.config.spa.js +80 -0
- package/src/builder/webpack/webpack.config.ssr.js +57 -0
- package/src/components/Breadcrumbs/Breadcrumbs.vue +39 -16
- package/src/components/Field/Field.vue +21 -2
- package/src/components/Popup/Popup.vue +2 -2
- package/src/modules/auth/store/auth.js +1 -2
- package/src/modules/backoffice/components/layouts/Backoffice.vue +36 -62
- package/src/modules/backoffice/components/pages/Dashboard.vue +2 -125
- package/src/modules/backoffice/components/partials/Sidebar.vue +176 -0
- package/src/modules/backoffice/router/admin.js +0 -15
- package/src/modules/backoffice/router/backoffice.js +5 -1
- package/src/modules/community/components/blocks/CardBlogpost.vue +6 -1
- package/src/modules/community/components/pages/BlogPost.vue +30 -67
- package/src/modules/community/components/sections/Comments.vue +1 -1
- package/src/modules/community/router/blogposts.js +4 -0
- package/src/modules/constructor/components/elements/Textarea.vue +197 -79
- package/src/modules/constructor/components/sections/Constructor.vue +19 -32
- package/src/modules/constructor/components/sections/Viewer.vue +53 -0
- package/src/modules/gallery/components/pages/Gallery.vue +1 -1
- package/src/modules/globals/components/layouts/Client.vue +21 -7
- package/src/modules/globals/components/layouts/Empty.vue +1 -6
- package/src/modules/globals/components/pages/404.vue +1 -1
- package/src/modules/globals/components/sections/SectionPageTitle.vue +2 -2
- package/src/modules/globals/mixins/mixins.js +129 -97
- package/src/modules/landing/router/landing.js +3 -0
- package/src/modules/marketplace/components/pages/Catalog.vue +1 -1
- package/src/modules/middlewares/client/auth.validation.js +14 -15
- package/src/modules/orders/orders.client.js +4 -2
- package/src/modules/organizations/router/organizations.js +9 -3
- package/src/modules/pages/controllers/factories/pages.factory.js +106 -0
- package/src/modules/pages/controllers/routes/pages.routes.js +24 -0
- package/src/modules/pages/models/page.model.js +18 -11
- package/src/modules/pages/pages.client.js +40 -0
- package/src/modules/pages/pages.server.js +32 -0
- package/src/modules/pages/views/components/blocks/CardPage.vue +123 -0
- package/src/modules/pages/views/components/pages/Page.vue +173 -0
- package/src/modules/pages/views/components/pages/PageEdit.vue +121 -0
- package/src/modules/pages/views/components/pages/Pages.vue +60 -0
- package/src/modules/pages/views/components/partials/SidebarPages.vue +112 -0
- package/src/modules/pages/views/router/pages.backoffice.router.js +46 -0
- package/src/modules/pages/views/router/pages.router.js +25 -0
- package/src/modules/pages/views/store/pages.js +78 -0
- package/src/modules/pages/views/store/pages.store.js +5 -0
- package/src/modules/products/controllers/leftovers.controller.js +1 -1
- package/src/modules/spots/router/spots.js +4 -0
- package/src/styles/base/all.scss +66 -53
- package/dist/index-BshfsiQG.js +0 -220
- package/dist/index-C-8xOJnM.mjs +0 -244
- package/dist/index-C-DW6ra2.js +0 -260
- package/dist/index-CDbtWkBj.js +0 -243
- package/dist/index-D4j29ivg.mjs +0 -261
- package/dist/index-DKtnWDNC.mjs +0 -221
- package/dist/index-DNI4aUP2.js +0 -259
- package/dist/index-Tcyehi73.mjs +0 -260
- package/dist/main-3Vn8SU2y.mjs +0 -14509
- package/dist/main-5IrI2IOV.js +0 -92
- package/dist/main-BFKp44Ze.mjs +0 -14509
- package/dist/main-BF_nMkug.js +0 -92
- package/dist/main-BHr0-Z3t.mjs +0 -14510
- package/dist/main-BY2OvGB9.mjs +0 -14509
- package/dist/main-Bcj0J6tP.mjs +0 -14509
- package/dist/main-By5Tbyui.js +0 -92
- package/dist/main-CEoQQpJV.js +0 -92
- package/dist/main-CI9l9xMs.js +0 -92
- package/dist/main-Ckn0Sslr.js +0 -92
- package/dist/main-DBv451oC.js +0 -92
- package/dist/main-DPg58GOU.mjs +0 -14509
- package/dist/main-DTHFR7H_.mjs +0 -14510
- package/dist/main-DxyAONrm.mjs +0 -14438
- package/dist/main-gY_284gJ.js +0 -92
- package/dist/main-wXdocsbd.js +0 -92
- package/dist/middlewares.server.js +0 -19
- package/dist/middlewares.server.mjs +0 -20
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -89
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +0 -95
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -26
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +0 -57
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +0 -83
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +0 -127
- package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +0 -13
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +0 -77
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -103
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -36
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -44
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +0 -125
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +0 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +0 -47
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +0 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +0 -46
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +0 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +0 -65
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +0 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -67
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +0 -30
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +0 -42
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +0 -26
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +0 -42
- package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +0 -26
- package/dist/queryProcessor-g8208K6g.mjs +0 -178
- package/dist/queryProcessor-haY_gPGg.js +0 -177
- package/dist/web-5eyiz9L7.mjs +0 -54
- package/dist/web-BPUCAST-.mjs +0 -54
- package/dist/web-Be96Xqd4.mjs +0 -54
- package/dist/web-BmdKi_fZ.js +0 -1
- package/dist/web-Bqpk8Mpk.js +0 -1
- package/dist/web-BzUFKqzw.js +0 -1
- package/dist/web-CcFPvlkl.js +0 -1
- package/dist/web-CgjTW1bL.js +0 -1
- package/dist/web-Cw0ijzjY.js +0 -1
- package/dist/web-CwTWV4ca.mjs +0 -54
- package/dist/web-DZUec7pP.js +0 -1
- package/dist/web-Dh669DqQ.mjs +0 -54
- package/dist/web-DkWpHYrh.mjs +0 -54
- package/dist/web-Dt2RCU54.js +0 -1
- package/dist/web-krQQeSb6.mjs +0 -54
- package/dist/web-nqFW_Sd1.mjs +0 -54
- package/src/modules/community/controllers/comments.controller.aggr.js +0 -280
- package/src/modules/community/controllers/comments.controller.populate.js +0 -180
- package/src/modules/constructor/components/elements/H2.vue +0 -102
- package/src/modules/pages/components/pages/Page.vue +0 -174
- package/src/modules/pages/components/pages/PageEdit.vue +0 -159
- package/src/modules/pages/components/pages/Pages.vue +0 -108
- package/src/modules/pages/controllers/pages.controller.js +0 -71
- package/src/modules/pages/router/pages.router.js +0 -15
- package/src/modules/pages/routes/pages.routes.js +0 -30
- package/src/modules/pages/store/pages.js +0 -94
@@ -1,23 +1,23 @@
|
|
1
|
-
import { ref as p, onMounted as k, resolveComponent as E, openBlock as V, createElementBlock as I, createElementVNode as
|
1
|
+
import { ref as p, onMounted as k, resolveComponent as E, openBlock as V, createElementBlock as I, createElementVNode as s, createTextVNode as c, toDisplayString as r, unref as l, createVNode as o, withCtx as d, Transition as b, withDirectives as g, vShow as w } from "vue";
|
2
2
|
import q from "../../../../components/Tab/Tab.vue2.js";
|
3
3
|
import y from "../../../../components/Field/Field.vue2.js";
|
4
4
|
import D from "../../../../components/FieldPhone/FieldPhone.vue.js";
|
5
5
|
import O from "../../../../components/Button/Button.vue2.js";
|
6
|
-
import { useRoute as
|
7
|
-
import { useI18n as
|
8
|
-
import
|
9
|
-
import { state as i, actions as
|
10
|
-
import { validateInputs as S, validatePhone as B, validateEmail as
|
6
|
+
import { useRoute as j, useRouter as A } from "vue-router";
|
7
|
+
import { useI18n as N } from "vue-i18n";
|
8
|
+
import T from "../../localization/SignIn.json.js";
|
9
|
+
import { state as i, actions as $ } from "../../store/auth.js";
|
10
|
+
import { validateInputs as S, validatePhone as B, validateEmail as F } from "../../../middlewares/client/inputs.validation.js";
|
11
11
|
/* empty css */
|
12
|
-
const
|
12
|
+
const R = { class: "" }, L = /* @__PURE__ */ s("img", {
|
13
13
|
src: "/logo/logo.svg",
|
14
14
|
class: "i-extra radius-small mn-b-small"
|
15
|
-
}, null, -1), M = { class: "mn-b-medium" }, z = /* @__PURE__ */
|
15
|
+
}, null, -1), M = { class: "mn-b-medium" }, z = /* @__PURE__ */ s("br", null, null, -1), G = { class: "t-semi" }, H = { class: "mn-b-big" }, J = { class: "mn-b-small p-small uppercase t-semi bg-light radius-big o-hidden" }, K = { class: "pos-relative" }, Q = { class: "mn-b-thin radius-small" }, W = { class: "mn-b-thin radius-small o-hidden" }, X = { class: "w-100 mn-b-big" }, ue = {
|
16
16
|
__name: "SignIn",
|
17
17
|
setup(Y) {
|
18
|
-
const h = p(null), x = p(null),
|
18
|
+
const h = p(null), x = p(null), f = p(null), _ = j(), v = A(), { t: a } = N({
|
19
19
|
useScope: "global",
|
20
|
-
...
|
20
|
+
...T
|
21
21
|
}), n = p("phone"), C = (u) => new Promise((t, m) => {
|
22
22
|
const e = document.createElement("script");
|
23
23
|
e.type = "text/javascript", e.src = u, e.onload = t, e.onerror = m, document.head.appendChild(e);
|
@@ -33,8 +33,8 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
|
|
33
33
|
i.user.phone,
|
34
34
|
"Некорректный телефон"
|
35
35
|
), n.value === "email" && await S(
|
36
|
-
|
37
|
-
|
36
|
+
f,
|
37
|
+
F,
|
38
38
|
i.user.email,
|
39
39
|
"Некорректный email"
|
40
40
|
);
|
@@ -42,11 +42,11 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
|
|
42
42
|
throw new Error();
|
43
43
|
}
|
44
44
|
const u = { ...i.user };
|
45
|
-
await
|
45
|
+
await $.login(u, n.value);
|
46
46
|
}
|
47
47
|
function P() {
|
48
|
-
|
49
|
-
path:
|
48
|
+
_.query.returnUrl ? v.push({
|
49
|
+
path: _.query.returnUrl,
|
50
50
|
query: {
|
51
51
|
afterAuth: "true"
|
52
52
|
}
|
@@ -62,38 +62,38 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
|
|
62
62
|
}
|
63
63
|
return (u, t) => {
|
64
64
|
const m = E("router-link");
|
65
|
-
return V(), I("section",
|
65
|
+
return V(), I("section", R, [
|
66
66
|
L,
|
67
|
-
|
68
|
-
c(r(
|
67
|
+
s("h3", M, [
|
68
|
+
c(r(l(a)("title")) + " ", 1),
|
69
69
|
z,
|
70
|
-
|
70
|
+
s("span", G, r(l(a)("subtitle")), 1)
|
71
71
|
]),
|
72
|
-
|
72
|
+
s("p", H, [
|
73
73
|
o(m, {
|
74
74
|
to: { name: "Sign Up" },
|
75
75
|
class: "underline t-second"
|
76
76
|
}, {
|
77
77
|
default: d(() => [
|
78
|
-
c(r(
|
78
|
+
c(r(l(a)("signup")), 1)
|
79
79
|
]),
|
80
80
|
_: 1
|
81
81
|
})
|
82
82
|
]),
|
83
|
-
|
83
|
+
s("div", J, [
|
84
84
|
o(q, {
|
85
85
|
selected: n.value,
|
86
86
|
"onUpdate:selected": t[0] || (t[0] = (e) => n.value = e),
|
87
87
|
tabs: [
|
88
|
-
{ name:
|
89
|
-
{ name:
|
88
|
+
{ name: l(a)("phone"), value: "phone" },
|
89
|
+
{ name: l(a)("email"), value: "email" }
|
90
90
|
]
|
91
91
|
}, null, 8, ["selected", "tabs"])
|
92
92
|
]),
|
93
|
-
|
93
|
+
s("div", K, [
|
94
94
|
o(b, { name: "slide-fade" }, {
|
95
95
|
default: d(() => [
|
96
|
-
g(
|
96
|
+
g(s("div", Q, [
|
97
97
|
o(D, {
|
98
98
|
onChange: t[1] || (t[1] = (e) => i.user.phone = e),
|
99
99
|
dropdownOptions: {
|
@@ -104,7 +104,7 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
|
|
104
104
|
validCharactersOnly: !0,
|
105
105
|
validation: h.value,
|
106
106
|
mode: "national",
|
107
|
-
inputOptions: { placeholder:
|
107
|
+
inputOptions: { placeholder: l(a)("phonePlaceholder"), type: "tel" },
|
108
108
|
class: "bg-light pd-small radius-small mn-b-thin"
|
109
109
|
}, null, 8, ["validation", "inputOptions"])
|
110
110
|
], 512), [
|
@@ -115,12 +115,12 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
|
|
115
115
|
}),
|
116
116
|
o(b, { name: "slide-fade" }, {
|
117
117
|
default: d(() => [
|
118
|
-
g(
|
118
|
+
g(s("div", W, [
|
119
119
|
o(y, {
|
120
120
|
field: i.user.email,
|
121
121
|
"onUpdate:field": t[2] || (t[2] = (e) => i.user.email = e),
|
122
|
-
placeholder:
|
123
|
-
validation:
|
122
|
+
placeholder: l(a)("emailPlaceholder"),
|
123
|
+
validation: f.value,
|
124
124
|
class: "bg-light pd-medium radius-small"
|
125
125
|
}, null, 8, ["field", "placeholder", "validation"])
|
126
126
|
], 512), [
|
@@ -135,16 +135,16 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
|
|
135
135
|
"onUpdate:field": t[3] || (t[3] = (e) => i.user.password = e),
|
136
136
|
type: "password",
|
137
137
|
validation: x.value,
|
138
|
-
placeholder:
|
138
|
+
placeholder: l(a)("passwordPlaceholder"),
|
139
139
|
class: "bg-light pd-medium radius-small mn-b-semi"
|
140
140
|
}, null, 8, ["field", "validation", "placeholder"]),
|
141
|
-
|
141
|
+
s("div", X, [
|
142
142
|
o(m, {
|
143
143
|
to: "/auth/reset-password",
|
144
144
|
class: "underline d-block t-blue"
|
145
145
|
}, {
|
146
146
|
default: d(() => [
|
147
|
-
c(r(
|
147
|
+
c(r(l(a)("forgotPassword")), 1)
|
148
148
|
]),
|
149
149
|
_: 1
|
150
150
|
})
|
@@ -155,7 +155,7 @@ const F = { class: "" }, L = /* @__PURE__ */ l("img", {
|
|
155
155
|
class: "w-100 bg-main mn-b-thin"
|
156
156
|
}, {
|
157
157
|
default: d(() => [
|
158
|
-
c(r(
|
158
|
+
c(r(l(a)("signin")), 1)
|
159
159
|
]),
|
160
160
|
_: 1
|
161
161
|
})
|
@@ -1,32 +1,32 @@
|
|
1
|
-
import { ref as d, resolveComponent as E, openBlock as S, createElementBlock as x, createElementVNode as o, toDisplayString as r, unref as t, createVNode as
|
1
|
+
import { ref as d, resolveComponent as E, openBlock as S, createElementBlock as x, createElementVNode as o, toDisplayString as r, unref as t, createVNode as a, Transition as h, withCtx as m, withDirectives as _, vShow as f, createTextVNode as v } from "vue";
|
2
2
|
import N from "../../../../components/Tab/Tab.vue2.js";
|
3
3
|
import V from "../../../../components/Field/Field.vue2.js";
|
4
4
|
import y from "../../../../components/FieldPhone/FieldPhone.vue.js";
|
5
5
|
import D from "../../../../components/Button/Button.vue2.js";
|
6
|
-
import { useRoute as I, useRouter as
|
7
|
-
import { useI18n as
|
8
|
-
import
|
6
|
+
import { useRoute as I, useRouter as O } from "vue-router";
|
7
|
+
import { useI18n as P } from "vue-i18n";
|
8
|
+
import T from "../../localization/SignUp.json.js";
|
9
9
|
import { state as s } from "../../store/auth.js";
|
10
|
-
import { sendCode as
|
11
|
-
import { validateInputs as b, validatePhone as
|
10
|
+
import { sendCode as U } from "../../store/twofa.js";
|
11
|
+
import { validateInputs as b, validatePhone as $, validateEmail as A } from "../../../middlewares/client/inputs.validation.js";
|
12
12
|
/* empty css */
|
13
|
-
const B = { class: "t-left pd-medium" },
|
13
|
+
const B = { class: "t-left pd-medium" }, F = { class: "mn-b-small" }, R = { class: "mn-b-small p-small uppercase t-semi bg-light radius-big o-hidden" }, L = { class: "pos-relative" }, j = { class: "mn-b-semi radius-small" }, q = { class: "mn-b-small t-transp" }, z = { class: "mn-b-semi radius-small o-hidden" }, G = { class: "mn-b-small t-transp" }, H = { class: "w-100" }, ie = {
|
14
14
|
__name: "SignUp",
|
15
15
|
setup(J) {
|
16
|
-
const { t: e } =
|
16
|
+
const { t: e } = P({
|
17
17
|
useScope: "global",
|
18
|
-
...
|
18
|
+
...T
|
19
19
|
}), u = d(null), c = d(null);
|
20
20
|
I();
|
21
|
-
const g =
|
21
|
+
const g = O(), l = d("phone");
|
22
22
|
async function w() {
|
23
23
|
try {
|
24
|
-
|
24
|
+
l.value === "phone" && await b(
|
25
25
|
u,
|
26
|
-
|
26
|
+
$,
|
27
27
|
s.user.phone,
|
28
28
|
"Некорректный телефон"
|
29
|
-
),
|
29
|
+
), l.value === "email" && await b(
|
30
30
|
c,
|
31
31
|
A,
|
32
32
|
s.user.email,
|
@@ -36,7 +36,7 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
|
|
36
36
|
throw new Error();
|
37
37
|
}
|
38
38
|
try {
|
39
|
-
await
|
39
|
+
await U(s.user, "signup", l.value);
|
40
40
|
} catch {
|
41
41
|
throw new Error();
|
42
42
|
}
|
@@ -47,11 +47,11 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
|
|
47
47
|
return (p, i) => {
|
48
48
|
const k = E("router-link");
|
49
49
|
return S(), x("section", B, [
|
50
|
-
o("h3",
|
51
|
-
o("div",
|
52
|
-
|
53
|
-
selected:
|
54
|
-
"onUpdate:selected": i[0] || (i[0] = (n) =>
|
50
|
+
o("h3", F, r(t(e)("title")), 1),
|
51
|
+
o("div", R, [
|
52
|
+
a(N, {
|
53
|
+
selected: l.value,
|
54
|
+
"onUpdate:selected": i[0] || (i[0] = (n) => l.value = n),
|
55
55
|
tabs: [
|
56
56
|
{ name: t(e)("phone"), value: "phone" },
|
57
57
|
{ name: t(e)("email"), value: "email" }
|
@@ -59,11 +59,11 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
|
|
59
59
|
}, null, 8, ["selected", "tabs"])
|
60
60
|
]),
|
61
61
|
o("div", L, [
|
62
|
-
|
62
|
+
a(h, { name: "slide-fade" }, {
|
63
63
|
default: m(() => [
|
64
64
|
_(o("div", j, [
|
65
65
|
o("p", q, r(t(e)("smsNotice")), 1),
|
66
|
-
|
66
|
+
a(y, {
|
67
67
|
onChange: i[1] || (i[1] = (n) => s.user.phone = n),
|
68
68
|
dropdownOptions: {
|
69
69
|
showDialCodeInSelection: !0,
|
@@ -76,16 +76,16 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
|
|
76
76
|
class: "bg-light pd-small radius-small mn-b-thin"
|
77
77
|
}, null, 8, ["validation", "inputOptions"])
|
78
78
|
], 512), [
|
79
|
-
[f,
|
79
|
+
[f, l.value === "phone"]
|
80
80
|
])
|
81
81
|
]),
|
82
82
|
_: 1
|
83
83
|
}),
|
84
|
-
|
84
|
+
a(h, { name: "slide-fade" }, {
|
85
85
|
default: m(() => [
|
86
86
|
_(o("div", z, [
|
87
87
|
o("p", G, r(t(e)("emailNotice")), 1),
|
88
|
-
|
88
|
+
a(V, {
|
89
89
|
field: s.user.email,
|
90
90
|
"onUpdate:field": i[2] || (i[2] = (n) => s.user.email = n),
|
91
91
|
placeholder: t(e)("emailPlaceholder"),
|
@@ -93,13 +93,13 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
|
|
93
93
|
class: "bg-light pd-medium radius-small"
|
94
94
|
}, null, 8, ["field", "placeholder", "validation"])
|
95
95
|
], 512), [
|
96
|
-
[f,
|
96
|
+
[f, l.value === "email"]
|
97
97
|
])
|
98
98
|
]),
|
99
99
|
_: 1
|
100
100
|
})
|
101
101
|
]),
|
102
|
-
|
102
|
+
a(D, {
|
103
103
|
submit: w,
|
104
104
|
callback: C,
|
105
105
|
class: "w-100 bg-main mn-b-big"
|
@@ -110,7 +110,7 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, F = { clas
|
|
110
110
|
_: 1
|
111
111
|
}),
|
112
112
|
o("div", H, [
|
113
|
-
|
113
|
+
a(k, {
|
114
114
|
to: "/auth/signin",
|
115
115
|
class: "underline mn-b-medium d-block t-blue"
|
116
116
|
}, {
|
package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const a={id:"account",class:"gap-thin pd-thin cols-2-1_3"},s={key:0,class:"w-100"},u={class:"w-100"},i={__name:"Backoffice",props:{favorites:Array},setup(l){const t=o.useRoute();return o.useRouter(),e.ref(null),e.ref([]),e.onMounted(async()=>{}),(d,_)=>{const n=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("section",a,[e.unref(t).meta.sidebar?(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(t).meta.sidebar)))]),_:1})])):e.createCommentVNode("",!0),e.createElementVNode("div",u,[e.createVNode(n,null,{default:e.withCtx(({Component:r,route:c})=>[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r),{ref:"page",key:c.path}))]),_:2},1024)]),_:1})])])}}};exports.default=i;
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { ref as r, onMounted as d, resolveComponent as p, openBlock as e, createElementBlock as a, unref as s, createVNode as t, Transition as c, withCtx as o, createBlock as i, resolveDynamicComponent as m, createCommentVNode as f, createElementVNode as h } from "vue";
|
2
|
+
import { useRoute as v, useRouter as k } from "vue-router";
|
3
|
+
import "../../../auth/store/auth.js";
|
4
|
+
import "../../../organizations/store/organizations.js";
|
5
|
+
const w = {
|
6
|
+
id: "account",
|
7
|
+
class: "gap-thin pd-thin cols-2-1_3"
|
8
|
+
}, y = {
|
9
|
+
key: 0,
|
10
|
+
class: "w-100"
|
11
|
+
}, B = { class: "w-100" }, I = {
|
12
|
+
__name: "Backoffice",
|
13
|
+
props: {
|
14
|
+
favorites: Array
|
15
|
+
},
|
16
|
+
setup(C) {
|
17
|
+
const n = v();
|
18
|
+
return k(), r(null), r([]), d(async () => {
|
19
|
+
}), (x, N) => {
|
20
|
+
const u = p("router-view");
|
21
|
+
return e(), a("section", w, [
|
22
|
+
s(n).meta.sidebar ? (e(), a("div", y, [
|
23
|
+
t(c, {
|
24
|
+
name: "scaleIn",
|
25
|
+
mode: "out-in"
|
26
|
+
}, {
|
27
|
+
default: o(() => [
|
28
|
+
(e(), i(m(s(n).meta.sidebar)))
|
29
|
+
]),
|
30
|
+
_: 1
|
31
|
+
})
|
32
|
+
])) : f("", !0),
|
33
|
+
h("div", B, [
|
34
|
+
t(u, null, {
|
35
|
+
default: o(({ Component: l, route: _ }) => [
|
36
|
+
t(c, {
|
37
|
+
name: "scaleIn",
|
38
|
+
mode: "out-in"
|
39
|
+
}, {
|
40
|
+
default: o(() => [
|
41
|
+
(e(), i(m(l), {
|
42
|
+
ref: "page",
|
43
|
+
key: _.path
|
44
|
+
}))
|
45
|
+
]),
|
46
|
+
_: 2
|
47
|
+
}, 1024)
|
48
|
+
]),
|
49
|
+
_: 1
|
50
|
+
})
|
51
|
+
])
|
52
|
+
]);
|
53
|
+
};
|
54
|
+
}
|
55
|
+
};
|
56
|
+
export {
|
57
|
+
I as default
|
58
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue")
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */require("../../../../components/Menu/MenuItem.vue.cjs");;/* empty css */const r=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const t={class:""},o=e.createElementVNode("h1",{class:"pd-medium radius-medium bg-light mn-b-small"},"Welcome to Backoffice",-1),u=[o],s={__name:"Dashboard",props:{favorites:Array},setup(c){return r.useRoute(),r.useRouter(),e.ref(null),e.ref([]),e.onMounted(async()=>{}),(i,n)=>(e.openBlock(),e.createElementBlock("div",t,u))}};exports.default=s;
|
@@ -1,191 +1,22 @@
|
|
1
|
-
import { ref as
|
2
|
-
|
3
|
-
import
|
1
|
+
import { ref as e, onMounted as o, openBlock as t, createElementBlock as r, createElementVNode as s } from "vue";
|
2
|
+
/* empty css */
|
3
|
+
import "../../../../components/Menu/MenuItem.vue.js";
|
4
4
|
/* empty css */
|
5
|
-
import
|
6
|
-
import d from "../../../icons/entities/IconEvents.vue.js";
|
7
|
-
import _ from "../../../icons/entities/IconGroups.vue.js";
|
8
|
-
import v from "../../../icons/entities/IconGallery.vue.js";
|
9
|
-
import k from "../../../icons/entities/IconOrders.vue.js";
|
10
|
-
import $ from "../../../icons/entities/IconLeftovers.vue.js";
|
11
|
-
import { useRoute as g, useRouter as h } from "vue-router";
|
5
|
+
import { useRoute as m, useRouter as c } from "vue-router";
|
12
6
|
import "../../../auth/store/auth.js";
|
13
7
|
import "../../../organizations/store/organizations.js";
|
14
|
-
const
|
8
|
+
const i = { class: "" }, a = /* @__PURE__ */ s("h1", { class: "pd-medium radius-medium bg-light mn-b-small" }, "Welcome to Backoffice", -1), n = [
|
9
|
+
a
|
10
|
+
], g = {
|
15
11
|
__name: "Dashboard",
|
16
12
|
props: {
|
17
13
|
favorites: Array
|
18
14
|
},
|
19
|
-
setup(
|
20
|
-
|
21
|
-
|
22
|
-
return a(null), a([]), m(async () => {
|
23
|
-
}), (N, s) => (f(), c("div", b, [
|
24
|
-
C,
|
25
|
-
e(u, { class: "bg-light mn-b-semi" }, {
|
26
|
-
default: o(() => [
|
27
|
-
e(r, {
|
28
|
-
onClick: s[0] || (s[0] = (l) => i(n).push({
|
29
|
-
name: "Organization Members"
|
30
|
-
})),
|
31
|
-
class: "cursor-pointer"
|
32
|
-
}, {
|
33
|
-
default: o(() => [
|
34
|
-
e(_, {
|
35
|
-
class: "i-semi",
|
36
|
-
icon: !0,
|
37
|
-
fill: "rgb(var(--white))"
|
38
|
-
}),
|
39
|
-
B
|
40
|
-
]),
|
41
|
-
_: 1
|
42
|
-
}),
|
43
|
-
e(r, {
|
44
|
-
onClick: s[1] || (s[1] = (l) => i(n).push({
|
45
|
-
name: "Backoffice Community"
|
46
|
-
})),
|
47
|
-
class: "cursor-pointer"
|
48
|
-
}, {
|
49
|
-
default: o(() => [
|
50
|
-
y
|
51
|
-
]),
|
52
|
-
_: 1
|
53
|
-
}),
|
54
|
-
e(r, {
|
55
|
-
onClick: s[2] || (s[2] = (l) => i(n).push({
|
56
|
-
name: "Products"
|
57
|
-
})),
|
58
|
-
class: "cursor-pointer"
|
59
|
-
}, {
|
60
|
-
default: o(() => [
|
61
|
-
e(p, {
|
62
|
-
class: "i-semi",
|
63
|
-
icon: !0,
|
64
|
-
fill: "rgb(var(--white))"
|
65
|
-
}),
|
66
|
-
w
|
67
|
-
]),
|
68
|
-
_: 1
|
69
|
-
}),
|
70
|
-
e(r, {
|
71
|
-
onClick: s[3] || (s[3] = (l) => i(n).push({
|
72
|
-
name: "Leftovers"
|
73
|
-
})),
|
74
|
-
class: "cursor-pointer"
|
75
|
-
}, {
|
76
|
-
default: o(() => [
|
77
|
-
e($, {
|
78
|
-
class: "i-semi",
|
79
|
-
icon: !0,
|
80
|
-
fill: "rgb(var(--white))"
|
81
|
-
}),
|
82
|
-
P
|
83
|
-
]),
|
84
|
-
_: 1
|
85
|
-
}),
|
86
|
-
e(r, {
|
87
|
-
onClick: s[4] || (s[4] = (l) => i(n).push({
|
88
|
-
name: "Backoffice Orders"
|
89
|
-
})),
|
90
|
-
class: "cursor-pointer"
|
91
|
-
}, {
|
92
|
-
default: o(() => [
|
93
|
-
e(k, {
|
94
|
-
class: "i-semi",
|
95
|
-
icon: !0,
|
96
|
-
fill: "rgb(var(--white))"
|
97
|
-
}),
|
98
|
-
O
|
99
|
-
]),
|
100
|
-
_: 1
|
101
|
-
}),
|
102
|
-
e(r, {
|
103
|
-
onClick: s[5] || (s[5] = (l) => i(n).push({
|
104
|
-
name: "Backoffice Gallery"
|
105
|
-
})),
|
106
|
-
class: "cursor-pointer"
|
107
|
-
}, {
|
108
|
-
default: o(() => [
|
109
|
-
e(v, {
|
110
|
-
class: "i-semi",
|
111
|
-
icon: !0,
|
112
|
-
fill: "rgb(var(--white))"
|
113
|
-
}),
|
114
|
-
E
|
115
|
-
]),
|
116
|
-
_: 1
|
117
|
-
}),
|
118
|
-
e(r, {
|
119
|
-
onClick: s[6] || (s[6] = (l) => i(n).push({
|
120
|
-
name: "Backoffice Events"
|
121
|
-
})),
|
122
|
-
class: "cursor-pointer"
|
123
|
-
}, {
|
124
|
-
default: o(() => [
|
125
|
-
e(d, {
|
126
|
-
class: "i-semi",
|
127
|
-
icon: !0,
|
128
|
-
fill: "rgb(var(--white))"
|
129
|
-
}),
|
130
|
-
R
|
131
|
-
]),
|
132
|
-
_: 1
|
133
|
-
}),
|
134
|
-
e(r, {
|
135
|
-
onClick: s[7] || (s[7] = (l) => i(n).push({
|
136
|
-
name: "Payments"
|
137
|
-
})),
|
138
|
-
class: "cursor-pointer"
|
139
|
-
}, {
|
140
|
-
default: o(() => [
|
141
|
-
x
|
142
|
-
]),
|
143
|
-
_: 1
|
144
|
-
})
|
145
|
-
]),
|
146
|
-
_: 1
|
147
|
-
}),
|
148
|
-
e(u, { class: "bg-light" }, {
|
149
|
-
default: o(() => [
|
150
|
-
e(r, {
|
151
|
-
onClick: s[8] || (s[8] = (l) => i(n).push({
|
152
|
-
name: "Backoffice Organizations"
|
153
|
-
})),
|
154
|
-
class: "cursor-pointer"
|
155
|
-
}, {
|
156
|
-
default: o(() => [
|
157
|
-
z
|
158
|
-
]),
|
159
|
-
_: 1
|
160
|
-
}),
|
161
|
-
e(r, {
|
162
|
-
onClick: s[9] || (s[9] = (l) => i(n).push({
|
163
|
-
name: "Backoffice Pages"
|
164
|
-
})),
|
165
|
-
class: "cursor-pointer"
|
166
|
-
}, {
|
167
|
-
default: o(() => [
|
168
|
-
G
|
169
|
-
]),
|
170
|
-
_: 1
|
171
|
-
}),
|
172
|
-
e(r, {
|
173
|
-
onClick: s[10] || (s[10] = (l) => i(n).push({
|
174
|
-
name: "Backoffice Reports"
|
175
|
-
})),
|
176
|
-
class: "cursor-pointer"
|
177
|
-
}, {
|
178
|
-
default: o(() => [
|
179
|
-
M
|
180
|
-
]),
|
181
|
-
_: 1
|
182
|
-
})
|
183
|
-
]),
|
184
|
-
_: 1
|
185
|
-
})
|
186
|
-
]));
|
15
|
+
setup(p) {
|
16
|
+
return m(), c(), e(null), e([]), o(async () => {
|
17
|
+
}), (_, l) => (t(), r("div", i, n));
|
187
18
|
}
|
188
19
|
};
|
189
20
|
export {
|
190
|
-
|
21
|
+
g as default
|
191
22
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../../../components/Menu/Menu.vue2.cjs"),n=require("../../../../components/Menu/MenuItem.vue.cjs");;/* empty css */const u=require("../../../icons/entities/IconProducts.vue.cjs"),a=require("../../../icons/entities/IconEvents.vue.cjs"),i=require("../../../icons/entities/IconGroups.vue.cjs"),c=require("../../../icons/entities/IconGallery.vue.cjs"),d=require("../../../icons/entities/IconOrders.vue.cjs"),f=require("../../../icons/entities/IconLeftovers.vue.cjs"),l=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const m={class:""},p=e.createElementVNode("span",null," Members ",-1),N=e.createElementVNode("span",null," Community ",-1),V=e.createElementVNode("span",null," Products ",-1),v=e.createElementVNode("span",null," Leftovers ",-1),C=e.createElementVNode("span",null," Orders ",-1),_=e.createElementVNode("span",null," Gallery ",-1),h=e.createElementVNode("span",null," Events ",-1),k=e.createElementVNode("span",null," Payments ",-1),w=e.createElementVNode("span",null," Organizations ",-1),g=e.createElementVNode("span",null," Pages ",-1),E=e.createElementVNode("span",null," Reports ",-1),b={__name:"Sidebar",props:{favorites:Array},setup(x){l.useRoute();const r=l.useRouter();return e.ref(null),e.ref([]),e.onMounted(async()=>{}),(q,t)=>(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(o.default,{class:"bg-light mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(n.default,{onClick:t[0]||(t[0]=s=>e.unref(r).push({name:"Organization Members"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(i.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),p]),_:1}),e.createVNode(n.default,{onClick:t[1]||(t[1]=s=>e.unref(r).push({name:"Backoffice Community"})),class:"cursor-pointer"},{default:e.withCtx(()=>[N]),_:1}),e.createVNode(n.default,{onClick:t[2]||(t[2]=s=>e.unref(r).push({name:"Products"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(u.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),V]),_:1}),e.createVNode(n.default,{onClick:t[3]||(t[3]=s=>e.unref(r).push({name:"Leftovers"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),v]),_:1}),e.createVNode(n.default,{onClick:t[4]||(t[4]=s=>e.unref(r).push({name:"Backoffice Orders"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(d.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),C]),_:1}),e.createVNode(n.default,{onClick:t[5]||(t[5]=s=>e.unref(r).push({name:"Backoffice Gallery"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(c.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),_]),_:1}),e.createVNode(n.default,{onClick:t[6]||(t[6]=s=>e.unref(r).push({name:"Backoffice Events"})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(a.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),h]),_:1}),e.createVNode(n.default,{onClick:t[7]||(t[7]=s=>e.unref(r).push({name:"Payments"})),class:"cursor-pointer"},{default:e.withCtx(()=>[k]),_:1})]),_:1}),e.createVNode(o.default,{class:"bg-light"},{default:e.withCtx(()=>[e.createVNode(n.default,{onClick:t[8]||(t[8]=s=>e.unref(r).push({name:"Backoffice Organizations"})),class:"cursor-pointer"},{default:e.withCtx(()=>[w]),_:1}),e.createVNode(n.default,{onClick:t[9]||(t[9]=s=>e.unref(r).push({name:"Backoffice Pages"})),class:"cursor-pointer"},{default:e.withCtx(()=>[g]),_:1}),e.createVNode(n.default,{onClick:t[10]||(t[10]=s=>e.unref(r).push({name:"Backoffice Reports"})),class:"cursor-pointer"},{default:e.withCtx(()=>[E]),_:1})]),_:1})]))}};exports.default=b;
|