@ozdao/prometheus-framework 0.2.156 → 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 +1 -1
- 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/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 +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 +1 -1
- 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 +1 -1
- 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/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-Bq5YvSWe.mjs +0 -14509
- package/dist/main-BxHxhrZ_.js +0 -92
- 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-BwHcRwYc.mjs +0 -54
- 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-DHeZE1jJ.js +0 -1
- 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,131 +1,8 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="">
|
3
|
-
<h1 class="pd-medium radius-medium bg-light mn-b-small">Welcome to
|
3
|
+
<h1 class="pd-medium radius-medium bg-light mn-b-small">Welcome to Backoffice</h1>
|
4
|
+
|
4
5
|
|
5
|
-
<Menu
|
6
|
-
class="bg-light mn-b-semi"
|
7
|
-
>
|
8
|
-
<MenuItem
|
9
|
-
@click="router.push({
|
10
|
-
name: 'Organization Members'
|
11
|
-
})"
|
12
|
-
class="cursor-pointer"
|
13
|
-
>
|
14
|
-
<IconGroups class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
15
|
-
<span>
|
16
|
-
Members
|
17
|
-
</span>
|
18
|
-
</MenuItem>
|
19
|
-
|
20
|
-
<MenuItem
|
21
|
-
@click="router.push({
|
22
|
-
name: 'Backoffice Community'
|
23
|
-
})"
|
24
|
-
class="cursor-pointer">
|
25
|
-
<span>
|
26
|
-
Community
|
27
|
-
</span>
|
28
|
-
</MenuItem>
|
29
|
-
|
30
|
-
<MenuItem
|
31
|
-
@click="router.push({
|
32
|
-
name: 'Products'
|
33
|
-
})"
|
34
|
-
class="cursor-pointer">
|
35
|
-
<IconProducts class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
36
|
-
<span>
|
37
|
-
Products
|
38
|
-
</span>
|
39
|
-
</MenuItem>
|
40
|
-
|
41
|
-
<MenuItem
|
42
|
-
@click="router.push({
|
43
|
-
name: 'Leftovers'
|
44
|
-
})"
|
45
|
-
class="cursor-pointer">
|
46
|
-
<IconLeftovers class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
47
|
-
<span>
|
48
|
-
Leftovers
|
49
|
-
</span>
|
50
|
-
</MenuItem>
|
51
|
-
|
52
|
-
<MenuItem
|
53
|
-
@click="router.push({
|
54
|
-
name: 'Backoffice Orders'
|
55
|
-
})"
|
56
|
-
class="cursor-pointer">
|
57
|
-
<IconOrders class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
58
|
-
<span>
|
59
|
-
Orders
|
60
|
-
</span>
|
61
|
-
</MenuItem>
|
62
|
-
|
63
|
-
<MenuItem
|
64
|
-
@click="router.push({
|
65
|
-
name: 'Backoffice Gallery'
|
66
|
-
})"
|
67
|
-
class="cursor-pointer">
|
68
|
-
<IconGallery class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
69
|
-
<span>
|
70
|
-
Gallery
|
71
|
-
</span>
|
72
|
-
</MenuItem>
|
73
|
-
|
74
|
-
<MenuItem
|
75
|
-
@click="router.push({
|
76
|
-
name: 'Backoffice Events'
|
77
|
-
})"
|
78
|
-
class="cursor-pointer">
|
79
|
-
<IconEvents class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
80
|
-
<span>
|
81
|
-
Events
|
82
|
-
</span>
|
83
|
-
</MenuItem>
|
84
|
-
|
85
|
-
<MenuItem
|
86
|
-
@click="router.push({
|
87
|
-
name: 'Payments'
|
88
|
-
})"
|
89
|
-
class="cursor-pointer">
|
90
|
-
<span>
|
91
|
-
Payments
|
92
|
-
</span>
|
93
|
-
</MenuItem>
|
94
|
-
</Menu>
|
95
|
-
|
96
|
-
<Menu
|
97
|
-
class="bg-light"
|
98
|
-
>
|
99
|
-
<MenuItem
|
100
|
-
@click="router.push({
|
101
|
-
name: 'Backoffice Organizations'
|
102
|
-
})"
|
103
|
-
class="cursor-pointer">
|
104
|
-
<span>
|
105
|
-
Organizations
|
106
|
-
</span>
|
107
|
-
</MenuItem>
|
108
|
-
|
109
|
-
<MenuItem
|
110
|
-
@click="router.push({
|
111
|
-
name: 'Backoffice Pages'
|
112
|
-
})"
|
113
|
-
class="cursor-pointer">
|
114
|
-
<span>
|
115
|
-
Pages
|
116
|
-
</span>
|
117
|
-
</MenuItem>
|
118
|
-
|
119
|
-
<MenuItem
|
120
|
-
@click="router.push({
|
121
|
-
name: 'Backoffice Reports'
|
122
|
-
})"
|
123
|
-
class="cursor-pointer">
|
124
|
-
<span>
|
125
|
-
Reports
|
126
|
-
</span>
|
127
|
-
</MenuItem>
|
128
|
-
</Menu>
|
129
6
|
</div>
|
130
7
|
</template>
|
131
8
|
|
@@ -0,0 +1,176 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="">
|
3
|
+
<Menu
|
4
|
+
class="bg-light mn-b-semi"
|
5
|
+
>
|
6
|
+
<MenuItem
|
7
|
+
@click="router.push({
|
8
|
+
name: 'Organization Members'
|
9
|
+
})"
|
10
|
+
class="cursor-pointer"
|
11
|
+
>
|
12
|
+
<IconGroups class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
13
|
+
<span>
|
14
|
+
Members
|
15
|
+
</span>
|
16
|
+
</MenuItem>
|
17
|
+
|
18
|
+
<MenuItem
|
19
|
+
@click="router.push({
|
20
|
+
name: 'Backoffice Community'
|
21
|
+
})"
|
22
|
+
class="cursor-pointer">
|
23
|
+
<span>
|
24
|
+
Community
|
25
|
+
</span>
|
26
|
+
</MenuItem>
|
27
|
+
|
28
|
+
<MenuItem
|
29
|
+
@click="router.push({
|
30
|
+
name: 'Products'
|
31
|
+
})"
|
32
|
+
class="cursor-pointer">
|
33
|
+
<IconProducts class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
34
|
+
<span>
|
35
|
+
Products
|
36
|
+
</span>
|
37
|
+
</MenuItem>
|
38
|
+
|
39
|
+
<MenuItem
|
40
|
+
@click="router.push({
|
41
|
+
name: 'Leftovers'
|
42
|
+
})"
|
43
|
+
class="cursor-pointer">
|
44
|
+
<IconLeftovers class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
45
|
+
<span>
|
46
|
+
Leftovers
|
47
|
+
</span>
|
48
|
+
</MenuItem>
|
49
|
+
|
50
|
+
<MenuItem
|
51
|
+
@click="router.push({
|
52
|
+
name: 'Backoffice Orders'
|
53
|
+
})"
|
54
|
+
class="cursor-pointer">
|
55
|
+
<IconOrders class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
56
|
+
<span>
|
57
|
+
Orders
|
58
|
+
</span>
|
59
|
+
</MenuItem>
|
60
|
+
|
61
|
+
<MenuItem
|
62
|
+
@click="router.push({
|
63
|
+
name: 'Backoffice Gallery'
|
64
|
+
})"
|
65
|
+
class="cursor-pointer">
|
66
|
+
<IconGallery class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
67
|
+
<span>
|
68
|
+
Gallery
|
69
|
+
</span>
|
70
|
+
</MenuItem>
|
71
|
+
|
72
|
+
<MenuItem
|
73
|
+
@click="router.push({
|
74
|
+
name: 'Backoffice Events'
|
75
|
+
})"
|
76
|
+
class="cursor-pointer">
|
77
|
+
<IconEvents class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
78
|
+
<span>
|
79
|
+
Events
|
80
|
+
</span>
|
81
|
+
</MenuItem>
|
82
|
+
|
83
|
+
<MenuItem
|
84
|
+
@click="router.push({
|
85
|
+
name: 'Payments'
|
86
|
+
})"
|
87
|
+
class="cursor-pointer">
|
88
|
+
<span>
|
89
|
+
Payments
|
90
|
+
</span>
|
91
|
+
</MenuItem>
|
92
|
+
</Menu>
|
93
|
+
|
94
|
+
<Menu
|
95
|
+
class="bg-light"
|
96
|
+
>
|
97
|
+
<MenuItem
|
98
|
+
@click="router.push({
|
99
|
+
name: 'Backoffice Organizations'
|
100
|
+
})"
|
101
|
+
class="cursor-pointer">
|
102
|
+
<span>
|
103
|
+
Organizations
|
104
|
+
</span>
|
105
|
+
</MenuItem>
|
106
|
+
|
107
|
+
<MenuItem
|
108
|
+
@click="router.push({
|
109
|
+
name: 'Backoffice Pages'
|
110
|
+
})"
|
111
|
+
class="cursor-pointer">
|
112
|
+
<span>
|
113
|
+
Pages
|
114
|
+
</span>
|
115
|
+
</MenuItem>
|
116
|
+
|
117
|
+
<MenuItem
|
118
|
+
@click="router.push({
|
119
|
+
name: 'Backoffice Reports'
|
120
|
+
})"
|
121
|
+
class="cursor-pointer">
|
122
|
+
<span>
|
123
|
+
Reports
|
124
|
+
</span>
|
125
|
+
</MenuItem>
|
126
|
+
</Menu>
|
127
|
+
</div>
|
128
|
+
</template>
|
129
|
+
|
130
|
+
|
131
|
+
<script setup="props">
|
132
|
+
/////////////////////////////
|
133
|
+
// COMPONENT DEPENDENCIES
|
134
|
+
/////////////////////////////
|
135
|
+
import { ref, onMounted } from 'vue';
|
136
|
+
|
137
|
+
// Mobile Module
|
138
|
+
import Menu from '@pf/src/components/Menu/Menu.vue'
|
139
|
+
import MenuItem from '@pf/src/components/Menu/MenuItem.vue'
|
140
|
+
import SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue'
|
141
|
+
|
142
|
+
import IconProducts from '@pf/src/modules/icons/entities/IconProducts.vue'
|
143
|
+
import IconEvents from '@pf/src/modules/icons/entities/IconEvents.vue'
|
144
|
+
import IconGroups from '@pf/src/modules/icons/entities/IconGroups.vue'
|
145
|
+
import IconCommunity from '@pf/src/modules/icons/entities/IconCommunity.vue'
|
146
|
+
import IconGallery from '@pf/src/modules/icons/entities/IconGallery.vue'
|
147
|
+
import IconOrders from '@pf/src/modules/icons/entities/IconOrders.vue'
|
148
|
+
import IconLeftovers from '@pf/src/modules/icons/entities/IconLeftovers.vue'
|
149
|
+
/////////////////////////////
|
150
|
+
// HELPERS
|
151
|
+
/////////////////////////////
|
152
|
+
import { useRoute, useRouter } from 'vue-router'
|
153
|
+
|
154
|
+
import * as auth from '@pf/src/modules/auth/store/auth'
|
155
|
+
import * as organizations from '@pf/src/modules/organizations/store/organizations'
|
156
|
+
|
157
|
+
const route = useRoute()
|
158
|
+
const router = useRouter()
|
159
|
+
/////////////////////////////
|
160
|
+
// CREATED
|
161
|
+
/////////////////////////////
|
162
|
+
const props = defineProps({
|
163
|
+
favorites: Array,
|
164
|
+
});
|
165
|
+
|
166
|
+
const selectedOrganization = ref(null);
|
167
|
+
const publics = ref([]);
|
168
|
+
/////////////////////////////
|
169
|
+
// MOUNTED
|
170
|
+
/////////////////////////////
|
171
|
+
onMounted(async () =>{
|
172
|
+
})
|
173
|
+
</script>
|
174
|
+
|
175
|
+
<style lang="scss">
|
176
|
+
</style>
|
@@ -16,21 +16,6 @@
|
|
16
16
|
// // meta: { authorize: ["ROLE_MODERATOR"] },
|
17
17
|
// component: () => import(/* webpackChunkName: 'FastOrders' */ '@/components/pages/admin/FastOrders.vue')
|
18
18
|
// },{
|
19
|
-
// path: 'pages',
|
20
|
-
// name: 'Pages',
|
21
|
-
// // meta: { authorize: ["ROLE_MODERATOR"] },
|
22
|
-
// component: () => import(/* webpackChunkName: 'Pages' */ '@/components/pages/admin/Pages.vue')
|
23
|
-
// },{
|
24
|
-
// path: 'pages/add',
|
25
|
-
// name: 'PageAdd',
|
26
|
-
// // meta: { authorize: ["ROLE_MODERATOR"] },
|
27
|
-
// component: () => import(/* webpackChunkName: 'PageAdd' */ '@/components/pages/admin/PageEdit.vue')
|
28
|
-
// },{
|
29
|
-
// path: 'pages/:url',
|
30
|
-
// name: 'PageEdit',
|
31
|
-
// // meta: { authorize: ["ROLE_MODERATOR"] },
|
32
|
-
// component: () => import(/* webpackChunkName: 'PAgeEdit' */ '@/components/pages/admin/PageEdit.vue')
|
33
|
-
// },{
|
34
19
|
// path: 'users',
|
35
20
|
// name: 'Users',
|
36
21
|
// component: () => import(/* webpackChunkName: 'Users' */ '@/components/pages/admin/Users.vue')
|
@@ -1,11 +1,14 @@
|
|
1
1
|
import layoutBackoffice from '../components/layouts/Backoffice.vue'
|
2
|
+
import Sidebar from '../components/partials/Sidebar.vue'
|
3
|
+
|
2
4
|
import layoutEmpty from '@pf/src/modules/globals/components/layouts/Empty.vue';
|
3
5
|
|
4
6
|
import * as validationAuth from '@pf/src/modules/middlewares/client/auth.validation.js';
|
5
7
|
|
6
8
|
const backofficeRoutes = [{
|
7
9
|
path: 'backoffice',
|
8
|
-
|
10
|
+
name: 'Backoffice Root',
|
11
|
+
component: layoutBackoffice,
|
9
12
|
beforeEnter: [
|
10
13
|
validationAuth.requiresAdmin,
|
11
14
|
],
|
@@ -17,6 +20,7 @@ const backofficeRoutes = [{
|
|
17
20
|
en: 'Backoffice',
|
18
21
|
ru: 'Управление'
|
19
22
|
},
|
23
|
+
sidebar: Sidebar,
|
20
24
|
authorize: []
|
21
25
|
},
|
22
26
|
component: () => import(/* webpackChunkName: 'BackofficeGallery' */ '../components/pages/Dashboard.vue'),
|
@@ -48,6 +48,7 @@
|
|
48
48
|
<div v-if="type !== 'blogpostPage'" class="cursor-pointer mn-b-thin flex-nowrap flex w-100">
|
49
49
|
|
50
50
|
<Text
|
51
|
+
v-if="!hideTitle"
|
51
52
|
:text="blogpost.name || ''"
|
52
53
|
:maxLen="80"
|
53
54
|
class="h3 d-block"
|
@@ -76,7 +77,7 @@
|
|
76
77
|
</p>
|
77
78
|
|
78
79
|
<h3
|
79
|
-
v-if="type === 'blogpostPage'"
|
80
|
+
v-if="type === 'blogpostPage' && !hideTitle"
|
80
81
|
class="mn-b-small h2"
|
81
82
|
>
|
82
83
|
{{blogpost.name}}
|
@@ -155,6 +156,10 @@
|
|
155
156
|
hideDescription: {
|
156
157
|
type: Boolean,
|
157
158
|
default: false
|
159
|
+
},
|
160
|
+
hideTitle: {
|
161
|
+
type: Boolean,
|
162
|
+
default: false
|
158
163
|
}
|
159
164
|
})
|
160
165
|
|
@@ -20,49 +20,39 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
<TransitionGroup tag="ul" name="fade" class="container">
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
:key="index"
|
37
|
-
:index="index"
|
38
|
-
:component="block"
|
39
|
-
:prop="block"
|
40
|
-
:class="block.class"
|
41
|
-
content="content"
|
42
|
-
v-bind="getBlockProps(block)"
|
43
|
-
class="mn-b-regular"
|
44
|
-
/>
|
45
|
-
</section>
|
23
|
+
<CardBlogpost
|
24
|
+
v-if="!isLoading && blogpost"
|
25
|
+
@click="$router.push({name: 'Blogpost', params: {url: blogpost.url}})"
|
26
|
+
:blogpost="blogpost"
|
27
|
+
:user="auth.state.user._id"
|
28
|
+
:type="'blogpostPage'"
|
29
|
+
:hideTitle="true"
|
30
|
+
class="mn-b-medium"
|
31
|
+
>
|
32
|
+
<Viewer
|
33
|
+
v-if="blogpost && blogpost.content"
|
34
|
+
:content="blogpost.content"
|
35
|
+
/>
|
46
36
|
|
47
37
|
<a v-if="blogpost.source" :href="blogpost.source" target="_blank" class="mn-b-semi d-block w-max radius-big pd-thin bg-black t-white">
|
48
38
|
Check Source 🔗
|
49
39
|
</a>
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
40
|
+
|
41
|
+
</CardBlogpost>
|
42
|
+
|
43
|
+
<h3 class="mn-b-small">Recommended Communities</h3>
|
44
|
+
<Publics
|
45
|
+
class="mn-b-small"
|
46
|
+
/>
|
47
|
+
|
48
|
+
<Comments
|
49
|
+
v-if="!isLoading && blogpost"
|
50
|
+
:type="'blogpost'"
|
51
|
+
:target="blogpost._id"
|
52
|
+
:owner="auth.state.user._id"
|
53
|
+
/>
|
54
|
+
|
55
|
+
</TransitionGroup>
|
66
56
|
|
67
57
|
</section>
|
68
58
|
</template>
|
@@ -78,9 +68,7 @@
|
|
78
68
|
import Publics from '@pf/src/modules/organizations/components/sections/Publics.vue'
|
79
69
|
import Comments from '@pf/src/modules/community/components/sections/Comments.vue';
|
80
70
|
|
81
|
-
import
|
82
|
-
import VideoPlayer from '@pf/src/modules/constructor/components/elements/VideoPlayer.vue';
|
83
|
-
import Embed from '@pf/src/modules/constructor/components/elements/Embed.vue';
|
71
|
+
import Viewer from '@pf/src/modules/constructor/components/sections/Viewer.vue';
|
84
72
|
|
85
73
|
import * as blog from '@pf/src/modules/community/store/blogposts.js';
|
86
74
|
import * as auth from '@pf/src/modules/auth/store/auth';
|
@@ -101,31 +89,6 @@
|
|
101
89
|
blogpost.value = data[0];
|
102
90
|
isLoading.value = false;
|
103
91
|
});
|
104
|
-
|
105
|
-
const ComponentMap = {
|
106
|
-
'Textarea': 'p',
|
107
|
-
'H2': 'h2',
|
108
|
-
'Bullets': 'p',
|
109
|
-
'Caption': 'p',
|
110
|
-
'ImageUpload': Image,
|
111
|
-
'Video': VideoPlayer,
|
112
|
-
'Link': 'a',
|
113
|
-
'Embed': Embed
|
114
|
-
};
|
115
|
-
|
116
|
-
function getBlockProps(block) {
|
117
|
-
if (block.type === 'Textarea') {
|
118
|
-
return { innerHTML: block.content, class: "p-big" };
|
119
|
-
} else if (block.type === 'H2') {
|
120
|
-
return { innerHTML: block.content, class: "h3" };
|
121
|
-
} else if (block.type === 'Caption') {
|
122
|
-
return { innerHTML: block.content };
|
123
|
-
} else if (block.type === 'ImageUpload') {
|
124
|
-
return { src: block.content };
|
125
|
-
}
|
126
|
-
return {};
|
127
|
-
}
|
128
|
-
|
129
92
|
</script>
|
130
93
|
|
131
94
|
<style lang="scss">
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<div>
|
4
4
|
<h3 class="mn-b-small">{{ comments.length }} comments</h3>
|
5
5
|
|
6
|
-
<div @click="$router.push({name: 'Sign In'})" class="cursor-pointer mn-b-small section bg-black t-white flex-center flex radius-big" v-if="!owner">
|
6
|
+
<div @click="$router.push({name: 'Sign In'})" class="pd-big cursor-pointer mn-b-small section bg-black t-white flex-center flex radius-big" v-if="!owner">
|
7
7
|
<p class="t-semi uppercase">Please log in to leave a comment.</p>
|
8
8
|
</div>
|
9
9
|
|