@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
package/dist/products.server.mjs
CHANGED
@@ -884,7 +884,7 @@ const controllerFactory$1 = (db) => {
|
|
884
884
|
}
|
885
885
|
matchConditions.push({
|
886
886
|
$or: [
|
887
|
-
{ "comment
|
887
|
+
{ "comment": { $regex: regexPattern, $options: "i" } },
|
888
888
|
{ "positions.name": { $regex: regexPattern, $options: "i" } }
|
889
889
|
]
|
890
890
|
});
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;exports.default=e;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e,t=new Uint8Array(16);function o(){if(!e&&(e=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!e))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e(t)}exports.default=o;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
var t, e = new Uint8Array(16);
|
2
|
+
function o() {
|
3
|
+
if (!t && (t = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !t))
|
4
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
5
|
+
return t(e);
|
6
|
+
}
|
7
|
+
export {
|
8
|
+
o as default
|
9
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./validate.cjs");var e=[];for(var i=0;i<256;++i)e.push((i+256).toString(16).substr(1));function s(t){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(e[t[u+0]]+e[t[u+1]]+e[t[u+2]]+e[t[u+3]]+"-"+e[t[u+4]]+e[t[u+5]]+"-"+e[t[u+6]]+e[t[u+7]]+"-"+e[t[u+8]]+e[t[u+9]]+"-"+e[t[u+10]]+e[t[u+11]]+e[t[u+12]]+e[t[u+13]]+e[t[u+14]]+e[t[u+15]]).toLowerCase();if(!o.default(n))throw TypeError("Stringified UUID is invalid");return n}exports.default=s;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import s from "./validate.js";
|
2
|
+
var t = [];
|
3
|
+
for (var n = 0; n < 256; ++n)
|
4
|
+
t.push((n + 256).toString(16).substr(1));
|
5
|
+
function f(e) {
|
6
|
+
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, o = (t[e[i + 0]] + t[e[i + 1]] + t[e[i + 2]] + t[e[i + 3]] + "-" + t[e[i + 4]] + t[e[i + 5]] + "-" + t[e[i + 6]] + t[e[i + 7]] + "-" + t[e[i + 8]] + t[e[i + 9]] + "-" + t[e[i + 10]] + t[e[i + 11]] + t[e[i + 12]] + t[e[i + 13]] + t[e[i + 14]] + t[e[i + 15]]).toLowerCase();
|
7
|
+
if (!s(o))
|
8
|
+
throw TypeError("Stringified UUID is invalid");
|
9
|
+
return o;
|
10
|
+
}
|
11
|
+
export {
|
12
|
+
f as default
|
13
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./rng.cjs"),t=require("./stringify.cjs");function f(r,n,a){r=r||{};var e=r.random||(r.rng||u.default)();return e[6]=e[6]&15|64,e[8]=e[8]&63|128,t.default(e)}exports.default=f;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./regex.cjs");function r(e){return typeof e=="string"&&t.default.test(e)}exports.default=r;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");;/* empty css */const M=require("../EmptyState/EmptyState.vue.cjs"),B=require("../Dropdown/Dropdown.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");;/* empty css */const M=require("../EmptyState/EmptyState.vue.cjs"),B=require("../Dropdown/Dropdown.vue.cjs"),N=require("../DatePicker/Calendar.vue2.cjs"),x=require("../BottomSheet/BottomSheet.vue.cjs"),S=require("../../modules/globals/components/blocks/BlockSearch.vue.cjs"),q=require("../../modules/globals/components/blocks/BlockSorting.vue.cjs"),E=require("../../modules/globals/components/blocks/BlockFilter.vue.cjs"),z=require("../../modules/globals/components/elements/ButtonSort.vue.cjs"),O=require("../../modules/globals/components/elements/ButtonDate.vue.cjs"),L=require("../../modules/icons/navigation/IconFilter.vue.cjs");;/* empty css */const F={key:0,class:"flex-nowrap flex gap-thin"},j={__name:"Feed",props:e.mergeModels({showLoadMore:{type:Boolean,default:!0},search:{type:[Boolean,Object],default:!1},states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},external:{type:Boolean,default:!1},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null,contain:null})}},{search:{},searchModifiers:{},sort:{},sortModifiers:{},filter:{},filterModifiers:{},date:{},dateModifiers:{},items:{},itemsModifiers:{}}),emits:["update:search","update:sort","update:filter","update:date","update:items"],setup(s){const m=e.useModel(s,"search"),a=e.useModel(s,"sort"),o=e.useModel(s,"filter"),r=e.useModel(s,"date"),h=e.useModel(s,"items"),u=s,n=e.ref(h.value||[]),d=e.ref(!1);let p=e.ref(!0),b=e.ref(null),i=e.ref(u.options.skip?u.options.skip:0),v=e.ref(u.options.limit?u.options.limit:10),k=e.ref("");function C(t){k.value=t,i.value=0,v.value=10,f()}const y=async()=>{if(d.value){i.value+=v.value;const t=await u.store.read({skip:i.value,limit:v.value,search:k.value,dateStart:r.value?r.value.start:null,dateEnd:r.value?r.value.end:null,sortParam:a.value?a.value.param:null,sortOrder:a.value?a.value.order:null,...u.options});t.length===0||t.length<v.value?d.value=!1:d.value=!0,n.value=[...n.value,...t],h.value&&(h.value=n.value)}},f=async()=>{const t=await u.store.read({skip:i.value,limit:v.value,dateStart:r.value?r.value.start:null,dateEnd:r.value?r.value.end:null,sortParam:a.value?a.value.param:null,sortOrder:a.value?a.value.order:null,search:k.value,...u.options});t.length===0||t.length<v.value?d.value=!1:d.value=!0,n.value=t,h.value&&(h.value=n.value),p.value=!1};e.watch(()=>u.external,(t,l)=>{t!==l&&(i.value=0,f())},{deep:!0}),e.watch(()=>r.value,(t,l)=>{t!==l&&(i.value=0,f())},{deep:!0}),e.watch(()=>{var t;return(t=a.value)==null?void 0:t.order},(t,l)=>{t!==l&&(i.value=0,f())}),e.watch(()=>{var t;return(t=a.value)==null?void 0:t.param},(t,l)=>{t!==l&&(i.value=0,f())}),e.watch(()=>u.options,(t,l)=>{(t.organization!==l.organization||t.categories!==l.categories||t.prices!==l.prices||t.delivery!==l.delivery||t.search!==l.search||t.status!==l.status||t.hidden!==l.hidden||t.type!==l.type||t.tags!==l.tags||t.following!==l.following)&&(i.value=0,f())},{deep:!0});let g=null;return e.onMounted(async()=>{await f(),typeof window<"u"&&!u.showLoadMore&&(g=new IntersectionObserver(t=>{t.some(l=>l.isIntersecting)&&y()}),g.observe(b.value))}),e.onUnmounted(()=>{g&&g.disconnect()}),(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[m.value||r.value||a.value&&!a.value.hideButton?(e.openBlock(),e.createElementBlock("div",F,[m.value?(e.openBlock(),e.createBlock(S.default,{key:0,placeholder:m.value.placeholder||"Search...",class:e.normalizeClass(m.value.class||"bg-light"),onSearch:C},null,8,["placeholder","class"])):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",{class:e.normalizeClass([o.value.class||"bg-light","flex-center flex pd-thin bg-light radius-extra aspect-1x1 h-100"])},[e.createVNode(L.default,{onClick:l[0]||(l[0]=()=>o.value.active=!o.value.active),class:"w-1r h-auto"})],2),o.value.active?(e.openBlock(),e.createBlock(x.default,{key:0,show:o.value.active,onToggle:l[2]||(l[2]=()=>o.value.active=!1),class:e.normalizeClass(["z-index-10 pos-fixed pos-t-0 pos-r-0",{"pos-t-0":o.value.active,"pos-t-100":!o.value.active}])},{default:e.withCtx(()=>[e.createVNode(E.default,{filter:o.value,"onUpdate:filter":l[1]||(l[1]=c=>o.value=c),options:o.value.options,class:"h-100 w-100 pd-small bg-light"},null,8,["filter","options"])]),_:1},8,["show","class"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createBlock(B.default,{key:2,label:{component:O.default,props:{date:r.value}},class:e.normalizeClass([r.value.class||"bg-light","flex-child flex-child-shrink-0 pd-r-small pd-l-small pd-thin bg-light radius-big"]),align:m.value?"right":"left"},{default:e.withCtx(()=>[e.createVNode(N.default,{date:r.value,"onUpdate:date":l[3]||(l[3]=c=>r.value=c),locale:t.$i18n.locale,allowRange:!0,class:"radius-semi w-100 o-hidden bg-light"},null,8,["date","locale"])]),_:1},8,["label","class","align"])):e.createCommentVNode("",!0),a.value&&!a.value.hideButton?(e.openBlock(),e.createBlock(B.default,{key:3,label:{component:z.default,props:{order:a.value.order},class:"w-1r"},class:e.normalizeClass([a.value.class||"bg-light","radius-extra aspect-1x1 h-100"]),align:m.value?"right":"left"},{default:e.withCtx(()=>[e.createVNode(q.default,{param:a.value.param,"onUpdate:param":l[4]||(l[4]=c=>a.value.param=c),order:a.value.order,"onUpdate:order":l[5]||(l[5]=c=>a.value.order=c),options:a.value.options,class:"h-100 pd-small radius-semi t-white bg-black"},null,8,["param","order","options"])]),_:1},8,["label","class","align"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.unref(p)?(e.openBlock(),e.createBlock(e.TransitionGroup,{key:1,tag:"ul",name:"scaleTransition"},{default:e.withCtx(()=>[e.unref(p)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(v),c=>(e.openBlock(),e.createBlock(w.default,{key:"skeleton-"+c,class:"mn-b-small radius-big o-hidden d-block"}))),128)):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0),!e.unref(p)&&n.value.length<1?(e.openBlock(),e.createBlock(e.TransitionGroup,{key:2,tag:"ul",name:"feed"},{default:e.withCtx(()=>[!e.unref(p)&&n.value.length<1?(e.openBlock(),e.createBlock(M.default,{key:0,title:s.states.empty.title,description:s.states.empty.description,action:s.states.empty.action,callback:s.states.empty.callback,class:"pd-medium mn-b-thin bg-light radius-big"},null,8,["title","description","action","callback"])):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{tag:"ul",name:"feed",class:e.normalizeClass(t.$attrs.class)},{default:e.withCtx(()=>[!e.unref(p)&&n.value.length>0?e.renderSlot(t.$slots,"default",{key:0,items:n.value}):e.createCommentVNode("",!0),s.showLoadMore&&d.value&&n.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:y,class:"col-w-100 w-100 bg-main button"}," Load More ")):e.createCommentVNode("",!0),e.createElementVNode("div",{key:"sentinel",ref_key:"sentinel",ref:b,class:"sentinel"},null,512)]),_:3},8,["class"])],64))}};exports.default=j;
|
@@ -2,7 +2,7 @@ import { mergeModels as N, useModel as M, ref as g, watch as $, onMounted as T,
|
|
2
2
|
import q from "../../modules/icons/skeletons/SkeletonEvent.vue.js";
|
3
3
|
/* empty css */
|
4
4
|
import A from "../EmptyState/EmptyState.vue.js";
|
5
|
-
import z from "../Dropdown/Dropdown.
|
5
|
+
import z from "../Dropdown/Dropdown.vue.js";
|
6
6
|
import D from "../DatePicker/Calendar.vue2.js";
|
7
7
|
import H from "../BottomSheet/BottomSheet.vue.js";
|
8
8
|
import J from "../../modules/globals/components/blocks/BlockSearch.vue.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const c=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),m={key:0,class:"t-transp mn-r-small"},f={class:"w-100"},v=["type","value","placeholder","tabindex","disabled"],b=["value","placeholder","tabindex","disabled"],y={key:1,class:"t-transp mn-l-small"},x={key:0,class:"mn-t-thin mn-b-thin mn-b-thin invalid-feedback"},k={__name:"Field",props:{label:null,symbol:null,type:"text",placeholder:"Enter something here",field:null,value:null,validation:!1,disabled:null,tabindex:-1},emits:["update:field","focus","blur"],setup(t,{emit:r}){const n=r,d=t;d.value&&n("update:field",d.value);const i=e.ref(null);function u(){var o;i.value&&(i.value.style.height="1rem"),i.value&&(i.value.style.height=((o=i.value)==null?void 0:o.scrollHeight)+"px")}e.onUpdated(()=>{d.type==="textarea"&&e.nextTick(()=>{focus()}),u()}),e.onMounted(()=>{d.type==="textarea"&&e.nextTick(()=>{focus()}),u()});const s=e.ref(d.field);return(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass([[o.$attrs.class,{"bg-fourth-nano":t.validation}],"flex-center flex-nowrap flex"])},[t.label?(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("span",null,e.toDisplayString(t.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",f,[t.type!=="textarea"?(e.openBlock(),e.createElementBlock("input",{key:0,onInput:l[0]||(l[0]=a=>s.value=n("update:field",a.target.value)),onFocus:l[1]||(l[1]=a=>n("focus",a)),onBlur:l[2]||(l[2]=a=>n("blur",a)),type:t.type,class:"w-100",value:t.field,placeholder:t.placeholder,tabindex:t.tabindex,disabled:t.disabled},null,40,v)):(e.openBlock(),e.createElementBlock("textarea",{key:1,ref_key:"textarea",ref:i,onInput:l[3]||(l[3]=a=>s.value=n("update:field",a.target.value)),onFocus:l[4]||(l[4]=a=>n("focus",a)),onBlur:l[5]||(l[5]=a=>n("blur",a)),class:"w-100",style:{resize:"vertical"},value:t.field,placeholder:t.placeholder,tabindex:t.tabindex,disabled:t.disabled},null,40,b))]),e.renderSlot(o.$slots,"default",{},void 0,!0),t.symbol?(e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("span",null,e.toDisplayString(t.symbol),1)])):e.createCommentVNode("",!0)],2),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[t.validation?(e.openBlock(),e.createElementBlock("div",x," * "+e.toDisplayString(t.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64))}},g=c.default(k,[["__scopeId","data-v-5659d4ce"]]);exports.default=g;
|
@@ -1,15 +1,16 @@
|
|
1
|
-
import { ref as
|
1
|
+
import { ref as b, onUpdated as y, nextTick as c, onMounted as h, openBlock as i, createElementBlock as d, Fragment as g, createElementVNode as o, normalizeClass as k, toDisplayString as r, createCommentVNode as f, renderSlot as p, createVNode as w, Transition as F, withCtx as B } from "vue";
|
2
2
|
/* empty css */
|
3
|
-
|
3
|
+
import z from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const C = {
|
4
5
|
key: 0,
|
5
6
|
class: "t-transp mn-r-small"
|
6
|
-
},
|
7
|
+
}, E = { class: "w-100" }, I = ["type", "value", "placeholder", "tabindex", "disabled"], N = ["value", "placeholder", "tabindex", "disabled"], V = {
|
7
8
|
key: 1,
|
8
9
|
class: "t-transp mn-l-small"
|
9
|
-
},
|
10
|
+
}, S = {
|
10
11
|
key: 0,
|
11
12
|
class: "mn-t-thin mn-b-thin mn-b-thin invalid-feedback"
|
12
|
-
},
|
13
|
+
}, T = {
|
13
14
|
__name: "Field",
|
14
15
|
props: {
|
15
16
|
label: null,
|
@@ -23,26 +24,40 @@ const g = {
|
|
23
24
|
tabindex: -1
|
24
25
|
},
|
25
26
|
emits: ["update:field", "focus", "blur"],
|
26
|
-
setup(e, { emit:
|
27
|
-
const a =
|
27
|
+
setup(e, { emit: x }) {
|
28
|
+
const a = x, s = e;
|
28
29
|
s.value && a("update:field", s.value);
|
29
|
-
const
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
30
|
+
const n = b(null);
|
31
|
+
function m() {
|
32
|
+
var u;
|
33
|
+
n.value && (n.value.style.height = "1rem"), n.value && (n.value.style.height = ((u = n.value) == null ? void 0 : u.scrollHeight) + "px");
|
34
|
+
}
|
35
|
+
y(() => {
|
36
|
+
s.type === "textarea" && c(() => {
|
37
|
+
focus();
|
38
|
+
}), m();
|
39
|
+
}), h(() => {
|
40
|
+
s.type === "textarea" && c(() => {
|
41
|
+
focus();
|
42
|
+
}), m();
|
43
|
+
});
|
44
|
+
const v = b(s.field);
|
45
|
+
return (u, l) => (i(), d(g, null, [
|
46
|
+
o("div", {
|
47
|
+
class: k([[
|
48
|
+
u.$attrs.class,
|
34
49
|
{
|
35
50
|
"bg-fourth-nano": e.validation
|
36
51
|
}
|
37
52
|
], "flex-center flex-nowrap flex"])
|
38
53
|
}, [
|
39
|
-
e.label ? (
|
40
|
-
|
41
|
-
])) :
|
42
|
-
|
43
|
-
e.type !== "textarea" ? (
|
54
|
+
e.label ? (i(), d("div", C, [
|
55
|
+
o("span", null, r(e.label), 1)
|
56
|
+
])) : f("", !0),
|
57
|
+
o("div", E, [
|
58
|
+
e.type !== "textarea" ? (i(), d("input", {
|
44
59
|
key: 0,
|
45
|
-
onInput: l[0] || (l[0] = (t) =>
|
60
|
+
onInput: l[0] || (l[0] = (t) => v.value = a("update:field", t.target.value)),
|
46
61
|
onFocus: l[1] || (l[1] = (t) => a("focus", t)),
|
47
62
|
onBlur: l[2] || (l[2] = (t) => a("blur", t)),
|
48
63
|
type: e.type,
|
@@ -51,9 +66,11 @@ const g = {
|
|
51
66
|
placeholder: e.placeholder,
|
52
67
|
tabindex: e.tabindex,
|
53
68
|
disabled: e.disabled
|
54
|
-
}, null, 40,
|
69
|
+
}, null, 40, I)) : (i(), d("textarea", {
|
55
70
|
key: 1,
|
56
|
-
|
71
|
+
ref_key: "textarea",
|
72
|
+
ref: n,
|
73
|
+
onInput: l[3] || (l[3] = (t) => v.value = a("update:field", t.target.value)),
|
57
74
|
onFocus: l[4] || (l[4] = (t) => a("focus", t)),
|
58
75
|
onBlur: l[5] || (l[5] = (t) => a("blur", t)),
|
59
76
|
class: "w-100",
|
@@ -62,22 +79,22 @@ const g = {
|
|
62
79
|
placeholder: e.placeholder,
|
63
80
|
tabindex: e.tabindex,
|
64
81
|
disabled: e.disabled
|
65
|
-
}, null, 40,
|
82
|
+
}, null, 40, N))
|
66
83
|
]),
|
67
|
-
|
68
|
-
e.symbol ? (
|
69
|
-
|
70
|
-
])) :
|
84
|
+
p(u.$slots, "default", {}, void 0, !0),
|
85
|
+
e.symbol ? (i(), d("div", V, [
|
86
|
+
o("span", null, r(e.symbol), 1)
|
87
|
+
])) : f("", !0)
|
71
88
|
], 2),
|
72
|
-
|
73
|
-
default:
|
74
|
-
e.validation ? (
|
89
|
+
w(F, { name: "fade" }, {
|
90
|
+
default: B(() => [
|
91
|
+
e.validation ? (i(), d("div", S, " * " + r(e.validation.message), 1)) : f("", !0)
|
75
92
|
]),
|
76
93
|
_: 1
|
77
94
|
})
|
78
95
|
], 64));
|
79
96
|
}
|
80
|
-
};
|
97
|
+
}, M = /* @__PURE__ */ z(T, [["__scopeId", "data-v-5659d4ce"]]);
|
81
98
|
export {
|
82
|
-
|
99
|
+
M as default
|
83
100
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { ref as i, onMounted as
|
2
|
-
import
|
3
|
-
import
|
1
|
+
import { ref as i, onMounted as F, watchEffect as C, openBlock as y, createElementBlock as b, createVNode as x, unref as T, isRef as N, createElementVNode as V, toDisplayString as E, createCommentVNode as A } from "vue";
|
2
|
+
import H from "../Field/Field.vue2.js";
|
3
|
+
import _ from "../../modules/icons/navigation/IconArrow.vue.js";
|
4
4
|
import { useI18n as j } from "vue-i18n";
|
5
5
|
const D = { class: "pd-thin radius-extra flex-nowrap flex" }, U = {
|
6
6
|
__name: "FieldBig",
|
@@ -71,12 +71,12 @@ const D = { class: "pd-thin radius-extra flex-nowrap flex" }, U = {
|
|
71
71
|
}, 333), e === 0 && n && (n = !1, g(), a = l.placeholderTexts[s.value][o.value]));
|
72
72
|
}, l.typingSpeed);
|
73
73
|
}
|
74
|
-
return
|
74
|
+
return F(() => {
|
75
75
|
l.enableTyping && h();
|
76
|
-
}),
|
76
|
+
}), C(() => {
|
77
77
|
u.value || (clearInterval(c.value), clearInterval(v));
|
78
78
|
}), (a, e) => (y(), b("div", D, [
|
79
|
-
x(
|
79
|
+
x(H, {
|
80
80
|
field: T(t),
|
81
81
|
"onUpdate:field": [
|
82
82
|
e[0] || (e[0] = (n) => N(t) ? t.value = n : t = n),
|
@@ -93,9 +93,9 @@ const D = { class: "pd-thin radius-extra flex-nowrap flex" }, U = {
|
|
93
93
|
onClick: w,
|
94
94
|
class: "t-nowrap t-medium radius-big uppercase cursor-pointer flex flex-v-center pd-r-small pd-l-small w-max hover-bg-fifth t-semi transition-linear transition-timing-1 t-black bg-main"
|
95
95
|
}, [
|
96
|
-
V("span", null,
|
97
|
-
x(
|
98
|
-
])) :
|
96
|
+
V("span", null, E(r.action), 1),
|
97
|
+
x(_, { class: "mn-l-thin radius-extra bg-white i-medium" })
|
98
|
+
])) : A("", !0)
|
99
99
|
]));
|
100
100
|
}
|
101
101
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),p=require("vue-i18n"),d=require("../../modules/icons/navigation/IconCross.vue.cjs");;/* empty css */const m={key:"popup-content",class:"pd-small popup-wrapper"},v={key:0,class:"mn-b-small"},k={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String,title:String},emits:["close-popup"],setup(t,{emit:l}){const i=t,a=l;function n(){a("close-popup")}e.watch(()=>i.isPopupOpen,o=>{o?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const u={messages:{en:{},ru:{}}};return p.useI18n(u),(o,s)=>(e.openBlock(),e.createBlock(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[t.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[t.isPopupOpen?(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[e.createElementVNode("section",e.mergeProps({class:"pos-relative z-index-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),p=require("vue-i18n"),d=require("../../modules/icons/navigation/IconCross.vue.cjs");;/* empty css */const m={key:"popup-content",class:"pd-small z-index-6 popup-wrapper"},v={key:0,class:"mn-b-small"},k={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String,title:String},emits:["close-popup"],setup(t,{emit:l}){const i=t,a=l;function n(){a("close-popup")}e.watch(()=>i.isPopupOpen,o=>{o?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const u={messages:{en:{},ru:{}}};return p.useI18n(u),(o,s)=>(e.openBlock(),e.createBlock(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[t.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[t.isPopupOpen?(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[e.createElementVNode("section",e.mergeProps({class:"pos-relative z-index-4"},o.$attrs,{class:o.$attrs.class}),[t.title?(e.openBlock(),e.createElementBlock("h4",v,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),e.createVNode(d.default,{fill:"rgb(var(--white))",onClick:s[0]||(s[0]=c=>n()),class:"cursor-pointer bg-second pd-micro radius-extra pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-medium z-index-5"}),e.renderSlot(o.$slots,"default")],16)]),_:3}),e.createElementVNode("div",{onClick:s[1]||(s[1]=c=>n()),class:e.normalizeClass([{active:t.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:3}))}};exports.default=k;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { watch as y, openBlock as s, createBlock as i, Transition as l, withCtx as a, Teleport as k, createElementBlock as p, createVNode as m, createElementVNode as u, mergeProps as P, toDisplayString as b, createCommentVNode as n, renderSlot as g, normalizeClass as x } from "vue";
|
2
2
|
import { useRoute as T, useRouter as $ } from "vue-router";
|
3
|
-
import { useI18n as
|
4
|
-
import
|
3
|
+
import { useI18n as z } from "vue-i18n";
|
4
|
+
import C from "../../modules/icons/navigation/IconCross.vue.js";
|
5
5
|
/* empty css */
|
6
|
-
const
|
6
|
+
const O = {
|
7
7
|
key: "popup-content",
|
8
|
-
class: "pd-small popup-wrapper"
|
9
|
-
},
|
8
|
+
class: "pd-small z-index-6 popup-wrapper"
|
9
|
+
}, h = {
|
10
10
|
key: 0,
|
11
11
|
class: "mn-b-small"
|
12
12
|
}, L = {
|
@@ -27,7 +27,7 @@ const h = {
|
|
27
27
|
}
|
28
28
|
return y(() => d.isPopupOpen, (t) => {
|
29
29
|
t ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
|
30
|
-
}), T(), $(),
|
30
|
+
}), T(), $(), z({
|
31
31
|
messages: {
|
32
32
|
en: {},
|
33
33
|
ru: {}
|
@@ -41,17 +41,17 @@ const h = {
|
|
41
41
|
key: 0,
|
42
42
|
to: "body"
|
43
43
|
}, [
|
44
|
-
e.isPopupOpen ? (s(), p("div",
|
44
|
+
e.isPopupOpen ? (s(), p("div", O, [
|
45
45
|
m(l, {
|
46
46
|
name: "TransitionTranslateY",
|
47
47
|
mode: "out-in"
|
48
48
|
}, {
|
49
49
|
default: a(() => [
|
50
|
-
u("section", P({ class: "pos-relative z-index-
|
50
|
+
u("section", P({ class: "pos-relative z-index-4" }, t.$attrs, {
|
51
51
|
class: t.$attrs.class
|
52
52
|
}), [
|
53
|
-
e.title ? (s(), p("h4",
|
54
|
-
m(
|
53
|
+
e.title ? (s(), p("h4", h, b(e.title), 1)) : n("", !0),
|
54
|
+
m(C, {
|
55
55
|
fill: "rgb(var(--white))",
|
56
56
|
onClick: o[0] || (o[0] = (v) => r()),
|
57
57
|
class: "cursor-pointer bg-second pd-micro radius-extra pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-medium z-index-5"
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref as u, openBlock as o, createElementBlock as a, createElementVNode as
|
1
|
+
import { ref as u, openBlock as o, createElementBlock as a, createElementVNode as p, toDisplayString as i, unref as e, createVNode as l, createTextVNode as g, createCommentVNode as b, withCtx as P } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
import c from "../../../../components/Field/Field.vue2.js";
|
4
4
|
import k from "../../../../components/Button/Button.vue2.js";
|
@@ -17,7 +17,7 @@ const V = { class: "t-left pd-medium" }, N = { class: "mn-b-small" }, R = {
|
|
17
17
|
}, S = { class: "mn-b-semi radius-small o-hidden" }, C = {
|
18
18
|
key: 2,
|
19
19
|
class: "p-medium t-semi mn-b-semi"
|
20
|
-
}, D = /* @__PURE__ */
|
20
|
+
}, D = /* @__PURE__ */ p("a", {
|
21
21
|
class: "t-second",
|
22
22
|
href: "/legal/eula",
|
23
23
|
target: "_blank",
|
@@ -25,15 +25,15 @@ const V = { class: "t-left pd-medium" }, N = { class: "mn-b-small" }, R = {
|
|
25
25
|
}, "End User License Agreement (EULA)", -1), I = { key: 0 }, L = { key: 1 }, Q = {
|
26
26
|
__name: "EnterPassword",
|
27
27
|
setup(T) {
|
28
|
-
const
|
28
|
+
const m = u(null), { t } = E({
|
29
29
|
useScope: "global",
|
30
30
|
...U
|
31
31
|
}), r = q(), f = v();
|
32
32
|
u("phone");
|
33
|
-
async function
|
33
|
+
async function w() {
|
34
34
|
try {
|
35
35
|
await x(
|
36
|
-
|
36
|
+
m,
|
37
37
|
B,
|
38
38
|
s.user.password,
|
39
39
|
"Некорректный пароль"
|
@@ -43,7 +43,7 @@ const V = { class: "t-left pd-medium" }, N = { class: "mn-b-small" }, R = {
|
|
43
43
|
}
|
44
44
|
r.query.method === "reset-password" && await h.updatePassword(s.user, r.query.type), r.query.method !== "reset-password" && await h.signup(s.user, r.query.type);
|
45
45
|
}
|
46
|
-
function
|
46
|
+
function _() {
|
47
47
|
f.push({
|
48
48
|
name: "User Profile",
|
49
49
|
params: {
|
@@ -52,21 +52,21 @@ const V = { class: "t-left pd-medium" }, N = { class: "mn-b-small" }, R = {
|
|
52
52
|
query: { afterAuth: "true" }
|
53
53
|
});
|
54
54
|
}
|
55
|
-
return (y,
|
56
|
-
|
55
|
+
return (y, d) => (o(), a("section", V, [
|
56
|
+
p("h3", N, i(e(t)("almostDone")), 1),
|
57
57
|
e(r).query.method === "reset-password" ? (o(), a("p", R, i(e(t)("newPasswordPrompt")), 1)) : (o(), a("p", A, i(e(t)("registrationPasswordPrompt")), 1)),
|
58
|
-
|
58
|
+
p("div", S, [
|
59
59
|
l(c, {
|
60
60
|
field: s.user.password,
|
61
|
-
"onUpdate:field":
|
61
|
+
"onUpdate:field": d[0] || (d[0] = (n) => s.user.password = n),
|
62
62
|
type: "password",
|
63
|
-
validation:
|
63
|
+
validation: m.value,
|
64
64
|
placeholder: e(t)("passwordPlaceholder"),
|
65
65
|
class: "bg-light pd-small radius-small mn-b-thin"
|
66
66
|
}, null, 8, ["field", "validation", "placeholder"]),
|
67
67
|
l(c, {
|
68
68
|
field: s.user.passwordRepeat,
|
69
|
-
"onUpdate:field":
|
69
|
+
"onUpdate:field": d[1] || (d[1] = (n) => s.user.passwordRepeat = n),
|
70
70
|
type: "password",
|
71
71
|
placeholder: e(t)("repeatPasswordPlaceholder"),
|
72
72
|
class: "bg-light pd-small radius-small mn-b-thin"
|
@@ -77,8 +77,8 @@ const V = { class: "t-left pd-medium" }, N = { class: "mn-b-small" }, R = {
|
|
77
77
|
D
|
78
78
|
])) : b("", !0),
|
79
79
|
l(k, {
|
80
|
-
submit:
|
81
|
-
callback:
|
80
|
+
submit: w,
|
81
|
+
callback: _,
|
82
82
|
class: "w-100 bg-main mn-b-big"
|
83
83
|
}, {
|
84
84
|
default: P(() => [
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref as u, onMounted as c, openBlock as f, createElementBlock as
|
1
|
+
import { ref as u, onMounted as c, openBlock as f, createElementBlock as w, createElementVNode as s, createVNode as i, withCtx as _ } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
import l from "../../../../components/Field/Field.vue2.js";
|
4
4
|
import h from "../../../../components/Button/Button.vue2.js";
|
@@ -7,14 +7,14 @@ import { state as e, actions as y } from "../../store/auth.js";
|
|
7
7
|
import { actions as g } from "../../../organizations/store/invites.js";
|
8
8
|
import { validateInputs as P, validatePassword as R } from "../../../middlewares/client/inputs.validation.js";
|
9
9
|
/* empty css */
|
10
|
-
const q = { class: "t-left pd-medium" }, k = /* @__PURE__ */ s("h3", { class: "mn-b-small" }, "You have been invited to the organization", -1), x = /* @__PURE__ */ s("p", { class: "mn-b-semi t-transp" }, "Please provide a password to complete the registration.", -1), C = { class: "mn-b-semi radius-small o-hidden" }, E = /* @__PURE__ */ s("span", null, "Join", -1),
|
10
|
+
const q = { class: "t-left pd-medium" }, k = /* @__PURE__ */ s("h3", { class: "mn-b-small" }, "You have been invited to the organization", -1), x = /* @__PURE__ */ s("p", { class: "mn-b-semi t-transp" }, "Please provide a password to complete the registration.", -1), C = { class: "mn-b-semi radius-small o-hidden" }, E = /* @__PURE__ */ s("span", null, "Join", -1), M = {
|
11
11
|
__name: "Invite",
|
12
12
|
setup(U) {
|
13
13
|
const n = u(null), o = b(), d = v();
|
14
14
|
c(async () => {
|
15
15
|
await g.readOne(o.query.inviteCode);
|
16
16
|
});
|
17
|
-
async function
|
17
|
+
async function p() {
|
18
18
|
try {
|
19
19
|
await P(
|
20
20
|
n,
|
@@ -31,7 +31,7 @@ const q = { class: "t-left pd-medium" }, k = /* @__PURE__ */ s("h3", { class: "m
|
|
31
31
|
console.log(a);
|
32
32
|
}
|
33
33
|
}
|
34
|
-
function
|
34
|
+
function m() {
|
35
35
|
d.push({
|
36
36
|
name: "User Profile",
|
37
37
|
params: {
|
@@ -42,7 +42,7 @@ const q = { class: "t-left pd-medium" }, k = /* @__PURE__ */ s("h3", { class: "m
|
|
42
42
|
}
|
43
43
|
});
|
44
44
|
}
|
45
|
-
return (a, t) => (f(),
|
45
|
+
return (a, t) => (f(), w("section", q, [
|
46
46
|
k,
|
47
47
|
x,
|
48
48
|
s("div", C, [
|
@@ -65,11 +65,11 @@ const q = { class: "t-left pd-medium" }, k = /* @__PURE__ */ s("h3", { class: "m
|
|
65
65
|
}, null, 8, ["field"])
|
66
66
|
]),
|
67
67
|
i(h, {
|
68
|
-
submit:
|
69
|
-
callback:
|
68
|
+
submit: p,
|
69
|
+
callback: m,
|
70
70
|
class: "w-100 bg-main mn-b-big"
|
71
71
|
}, {
|
72
|
-
default:
|
72
|
+
default: _(() => [
|
73
73
|
E
|
74
74
|
]),
|
75
75
|
_: 1
|
@@ -78,5 +78,5 @@ const q = { class: "t-left pd-medium" }, k = /* @__PURE__ */ s("h3", { class: "m
|
|
78
78
|
}
|
79
79
|
};
|
80
80
|
export {
|
81
|
-
|
81
|
+
M as default
|
82
82
|
};
|
@@ -8,12 +8,12 @@ import { useI18n as N } from "vue-i18n";
|
|
8
8
|
import S from "../../localization/ResetPassword.json.js";
|
9
9
|
import { state as i, actions as T } from "../../store/auth.js";
|
10
10
|
import "../../store/twofa.js";
|
11
|
-
import { validateInputs as b, validatePhone as
|
11
|
+
import { validateInputs as b, validatePhone as D, validateEmail as O } from "../../../middlewares/client/inputs.validation.js";
|
12
12
|
/* empty css */
|
13
|
-
const
|
13
|
+
const R = { class: "t-left pd-medium" }, $ = { class: "mn-b-small" }, B = { class: "mn-b-small t-transp" }, F = { class: "mn-b-small p-small uppercase t-semi bg-light radius-big o-hidden" }, U = { class: "pos-relative" }, q = {
|
14
14
|
key: 0,
|
15
15
|
class: "mn-b-semi radius-small o-hidden"
|
16
|
-
},
|
16
|
+
}, A = { class: "mn-b-small t-transp" }, L = {
|
17
17
|
key: 0,
|
18
18
|
class: "mn-b-semi radius-small o-hidden"
|
19
19
|
}, j = { class: "mn-b-small t-transp" }, se = {
|
@@ -29,12 +29,12 @@ const O = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, B = { clas
|
|
29
29
|
try {
|
30
30
|
s.value === "phone" && await b(
|
31
31
|
h,
|
32
|
-
|
32
|
+
D,
|
33
33
|
i.user.phone,
|
34
34
|
"Некорректный телефон"
|
35
35
|
), s.value === "email" && await b(
|
36
36
|
f,
|
37
|
-
|
37
|
+
O,
|
38
38
|
i.user.email,
|
39
39
|
"Некорректный email"
|
40
40
|
);
|
@@ -50,10 +50,10 @@ const O = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, B = { clas
|
|
50
50
|
function y() {
|
51
51
|
w.push({ name: "Enter Code", query: { type: s.value, method: "reset-password" } });
|
52
52
|
}
|
53
|
-
return (m, o) => (u(), p("section",
|
54
|
-
a("h3",
|
53
|
+
return (m, o) => (u(), p("section", R, [
|
54
|
+
a("h3", $, r(t(e)("forgotPasswordTitle")), 1),
|
55
55
|
a("p", B, r(t(e)("instructions")), 1),
|
56
|
-
a("div",
|
56
|
+
a("div", F, [
|
57
57
|
l(E, {
|
58
58
|
selected: s.value,
|
59
59
|
"onUpdate:selected": o[0] || (o[0] = (n) => s.value = n),
|
@@ -63,11 +63,11 @@ const O = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, B = { clas
|
|
63
63
|
]
|
64
64
|
}, null, 8, ["selected", "tabs"])
|
65
65
|
]),
|
66
|
-
a("div",
|
66
|
+
a("div", U, [
|
67
67
|
l(_, { name: "slide-fade" }, {
|
68
68
|
default: c(() => [
|
69
|
-
s.value === "phone" ? (u(), p("div",
|
70
|
-
a("p",
|
69
|
+
s.value === "phone" ? (u(), p("div", q, [
|
70
|
+
a("p", A, r(t(e)("smsInfo")), 1),
|
71
71
|
l(P, {
|
72
72
|
onChange: o[1] || (o[1] = (n) => i.user.phone = n),
|
73
73
|
dropdownOptions: {
|