@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,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
const _commonjsHelpers = require("./_commonjsHelpers-DHfMLFPC.js");
|
3
|
-
const index = require("./index-CDbtWkBj.js");
|
4
|
-
const verifyUser = index.verifyUser;
|
5
|
-
const verifyInvites = index.verifyInvites;
|
6
|
-
const authJwt = index.authJwt;
|
7
|
-
const verifySignUp = index.verifySignUp;
|
8
|
-
const verifyCategory = index.verifyCategory;
|
9
|
-
const middlewareIndexFactory = index.server;
|
10
|
-
var middlewares_server = {
|
11
|
-
verifyUser,
|
12
|
-
verifyInvites,
|
13
|
-
authJwt,
|
14
|
-
verifySignUp,
|
15
|
-
verifyCategory,
|
16
|
-
middlewareIndexFactory
|
17
|
-
};
|
18
|
-
const middlewares_server$1 = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(middlewares_server);
|
19
|
-
module.exports = middlewares_server$1;
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-CUmg6egw.mjs";
|
2
|
-
import { v as verifyUser$1, a as verifyInvites$1, b as authJwt$1, c as verifySignUp$1, d as verifyCategory$1, s as server } from "./index-C-8xOJnM.mjs";
|
3
|
-
const verifyUser = verifyUser$1;
|
4
|
-
const verifyInvites = verifyInvites$1;
|
5
|
-
const authJwt = authJwt$1;
|
6
|
-
const verifySignUp = verifySignUp$1;
|
7
|
-
const verifyCategory = verifyCategory$1;
|
8
|
-
const middlewareIndexFactory = server;
|
9
|
-
var middlewares_server = {
|
10
|
-
verifyUser,
|
11
|
-
verifyInvites,
|
12
|
-
authJwt,
|
13
|
-
verifySignUp,
|
14
|
-
verifyCategory,
|
15
|
-
middlewareIndexFactory
|
16
|
-
};
|
17
|
-
const middlewares_server$1 = /* @__PURE__ */ getDefaultExportFromCjs(middlewares_server);
|
18
|
-
export {
|
19
|
-
middlewares_server$1 as default
|
20
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("../../../../node_modules/@googlemaps/js-api-loader/dist/index.cjs");;/* empty css */const v=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),_={key:0,class:"t-transp mn-r-small"},h=["placeholder","value"],k={key:0,class:"mn-t-thin invalid-feedback"},b={__name:"Address",props:{apiKey:{type:String,required:!0},label:null,placeholder:"Enter something here",field:null,location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""},locale:{type:String,default:"en"}},emits:["update:address","update:location","update:country","update:state","update:city"],setup(l,{emit:p}){const c=l,o=p,i=e.ref(null);let d;const m=()=>{const t=d.getPlace();if(!t.geometry||!t.address_components)return;let a="",s="",u="";for(let r=0;r<t.address_components.length;r++){let n=t.address_components[r];n.types.includes("country")&&(a=n.long_name),n.types.includes("administrative_area_level_1")&&(s=n.long_name),n.types.includes("locality")&&(u=n.long_name)}const y=t.formatted_address,g={lat:t.geometry.location.lat(),lng:t.geometry.location.lng()};o("update:address",y),o("update:location",g),o("update:country",a),o("update:state",s),o("update:city",u)};return e.onMounted(()=>{new f.Loader({apiKey:c.apiKey,version:"weekly",libraries:["places"],language:c.locale}).load().then(()=>{d=new google.maps.places.Autocomplete(i.value),d.addListener("place_changed",m)}).catch(a=>{console.error(a)})}),(t,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([t.$attrs.class,"flex-nowrap flex"])},[l.label?(e.openBlock(),e.createElementBlock("div",_,[e.createElementVNode("span",null,e.toDisplayString(l.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("input",{ref_key:"addressInput",ref:i,class:"w-100",placeholder:l.placeholder,value:l.address,onInput:a[0]||(a[0]=(...s)=>t.onInput&&t.onInput(...s))},null,40,h),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[t.validation?(e.openBlock(),e.createElementBlock("div",k," * "+e.toDisplayString(t.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],2))}},w=v.default(b,[["__scopeId","data-v-0fc64e8d"]]);exports.default=w;
|
@@ -1,89 +0,0 @@
|
|
1
|
-
import { ref as w, onMounted as k, openBlock as r, createElementBlock as i, normalizeClass as b, createElementVNode as m, toDisplayString as y, createCommentVNode as f, createVNode as I, Transition as A, withCtx as C } from "vue";
|
2
|
-
import { Loader as S } from "../../../../node_modules/@googlemaps/js-api-loader/dist/index.js";
|
3
|
-
/* empty css */
|
4
|
-
import E from "../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
-
const K = {
|
6
|
-
key: 0,
|
7
|
-
class: "t-transp mn-r-small"
|
8
|
-
}, L = ["placeholder", "value"], N = {
|
9
|
-
key: 0,
|
10
|
-
class: "mn-t-thin invalid-feedback"
|
11
|
-
}, V = {
|
12
|
-
__name: "Address",
|
13
|
-
props: {
|
14
|
-
apiKey: {
|
15
|
-
type: String,
|
16
|
-
required: !0
|
17
|
-
},
|
18
|
-
label: null,
|
19
|
-
placeholder: "Enter something here",
|
20
|
-
field: null,
|
21
|
-
location: {
|
22
|
-
type: Object,
|
23
|
-
default: { lat: 48.6900735, lng: 41.1620239 }
|
24
|
-
},
|
25
|
-
address: {
|
26
|
-
type: String,
|
27
|
-
default: ""
|
28
|
-
},
|
29
|
-
locale: {
|
30
|
-
type: String,
|
31
|
-
default: "en"
|
32
|
-
}
|
33
|
-
},
|
34
|
-
emits: ["update:address", "update:location", "update:country", "update:state", "update:city"],
|
35
|
-
setup(n, { emit: g }) {
|
36
|
-
const c = n, l = g, p = w(null);
|
37
|
-
let s;
|
38
|
-
const h = () => {
|
39
|
-
const e = s.getPlace();
|
40
|
-
if (!e.geometry || !e.address_components)
|
41
|
-
return;
|
42
|
-
let t = "", o = "", u = "";
|
43
|
-
for (let d = 0; d < e.address_components.length; d++) {
|
44
|
-
let a = e.address_components[d];
|
45
|
-
a.types.includes("country") && (t = a.long_name), a.types.includes("administrative_area_level_1") && (o = a.long_name), a.types.includes("locality") && (u = a.long_name);
|
46
|
-
}
|
47
|
-
const _ = e.formatted_address, v = { lat: e.geometry.location.lat(), lng: e.geometry.location.lng() };
|
48
|
-
l("update:address", _), l("update:location", v), l("update:country", t), l("update:state", o), l("update:city", u);
|
49
|
-
};
|
50
|
-
return k(() => {
|
51
|
-
new S({
|
52
|
-
apiKey: c.apiKey,
|
53
|
-
version: "weekly",
|
54
|
-
libraries: ["places"],
|
55
|
-
language: c.locale
|
56
|
-
}).load().then(() => {
|
57
|
-
s = new google.maps.places.Autocomplete(p.value), s.addListener("place_changed", h);
|
58
|
-
}).catch((t) => {
|
59
|
-
console.error(t);
|
60
|
-
});
|
61
|
-
}), (e, t) => (r(), i("div", {
|
62
|
-
class: b([e.$attrs.class, "flex-nowrap flex"])
|
63
|
-
}, [
|
64
|
-
n.label ? (r(), i("div", K, [
|
65
|
-
m("span", null, y(n.label), 1)
|
66
|
-
])) : f("", !0),
|
67
|
-
m("input", {
|
68
|
-
ref_key: "addressInput",
|
69
|
-
ref: p,
|
70
|
-
class: "w-100",
|
71
|
-
placeholder: n.placeholder,
|
72
|
-
value: n.address,
|
73
|
-
onInput: t[0] || (t[0] = (...o) => e.onInput && e.onInput(...o))
|
74
|
-
}, null, 40, L),
|
75
|
-
I(A, {
|
76
|
-
mode: "out-in",
|
77
|
-
name: "fade"
|
78
|
-
}, {
|
79
|
-
default: C(() => [
|
80
|
-
e.validation ? (r(), i("div", N, " * " + y(e.validation.message), 1)) : f("", !0)
|
81
|
-
]),
|
82
|
-
_: 1
|
83
|
-
})
|
84
|
-
], 2));
|
85
|
-
}
|
86
|
-
}, x = /* @__PURE__ */ E(V, [["__scopeId", "data-v-0fc64e8d"]]);
|
87
|
-
export {
|
88
|
-
x as default
|
89
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("../Loader/Loader.vue2.cjs");;/* empty css */const v=["disabled"],b={key:0},m={key:1},k={key:2,class:"t-semi loading t-black"},y={key:3,class:"error"},p={key:0,class:"button-counter"},g={__name:"Button",props:{submit:{type:Function,default:async()=>{console.log("Button click.")}},text:{type:Object,default:t=>(console.log(t),t={...t.text,success:"✔",error:"✖"})},counter:{type:Object},callback:{type:Function,default:async()=>{console.log("Button callback.")}},callbackDelay:{type:Number,default:750},showSucces:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!0},validation:{type:Boolean,default:!1}},emits:["error"],setup(t,{emit:r}){const o=t,i=r,l=e.ref(null),a=e.ref(null),s=e.ref(!1),n=e.ref(!1);async function d(){l.value.style["pointer-events"]="none",a.value=null,s.value=!0;const c=()=>{l.value&&(l.value.classList.replace("bg-second","bg-main"),l.value.style.pointerEvents="auto",s.value=!1,n.value=!1,a.value=null)};try{await o.submit(),l.value.classList.replace("bg-main","bg-second"),s.value=!1,o.showSucces?(n.value=!0,setTimeout(c,500)):c(),o.callback&&setTimeout(()=>o.callback(),o.callbackDelay)}catch(u){i("error",u),l.value.classList.replace("bg-main","bg-fourth-nano"),a.value=o.error,setTimeout(()=>{c(),l.value.classList.replace("bg-fourth-nano","bg-main")},1330)}}return(c,u)=>(e.openBlock(),e.createElementBlock("button",{onClick:e.withModifiers(d,["stop"]),disabled:t.validation,ref_key:"button",ref:l,class:"button"},[e.createVNode(e.Transition,{name:"FromTop"},{default:e.withCtx(()=>[!s.value&&!a.value&&!n.value||!t.showLoader?(e.openBlock(),e.createElementBlock("span",b,[e.renderSlot(c.$slots,"default")])):s.value&&!a.value&&t.showLoader?(e.openBlock(),e.createElementBlock("span",m,[e.createVNode(f.default,{class:"pos-relative pos-t-0 pos-l-0 loading"})])):n.value&&t.showSucces?(e.openBlock(),e.createElementBlock("span",k,e.toDisplayString(t.text.success),1)):a.value?(e.openBlock(),e.createElementBlock("span",y,e.toDisplayString(a.value),1)):e.createCommentVNode("",!0)]),_:3}),t.counter?(e.openBlock(),e.createElementBlock("p",p,e.toDisplayString(t.counter),1)):e.createCommentVNode("",!0)],8,v))}};exports.default=g;
|
@@ -1,95 +0,0 @@
|
|
1
|
-
import { ref as r, openBlock as o, createElementBlock as s, withModifiers as h, createVNode as f, Transition as p, withCtx as k, renderSlot as g, toDisplayString as i, createCommentVNode as b } from "vue";
|
2
|
-
import w from "../Loader/Loader.vue2.js";
|
3
|
-
/* empty css */
|
4
|
-
const B = ["disabled"], L = { key: 0 }, S = { key: 1 }, T = {
|
5
|
-
key: 2,
|
6
|
-
class: "t-semi loading t-black"
|
7
|
-
}, _ = {
|
8
|
-
key: 3,
|
9
|
-
class: "error"
|
10
|
-
}, x = {
|
11
|
-
key: 0,
|
12
|
-
class: "button-counter"
|
13
|
-
}, j = {
|
14
|
-
__name: "Button",
|
15
|
-
props: {
|
16
|
-
submit: {
|
17
|
-
type: Function,
|
18
|
-
default: async () => {
|
19
|
-
console.log("Button click.");
|
20
|
-
}
|
21
|
-
},
|
22
|
-
text: {
|
23
|
-
type: Object,
|
24
|
-
default: (e) => (console.log(e), e = {
|
25
|
-
...e.text,
|
26
|
-
success: "✔",
|
27
|
-
error: "✖"
|
28
|
-
})
|
29
|
-
},
|
30
|
-
counter: {
|
31
|
-
type: Object
|
32
|
-
},
|
33
|
-
callback: {
|
34
|
-
type: Function,
|
35
|
-
default: async () => {
|
36
|
-
console.log("Button callback.");
|
37
|
-
}
|
38
|
-
},
|
39
|
-
callbackDelay: {
|
40
|
-
type: Number,
|
41
|
-
default: 750
|
42
|
-
},
|
43
|
-
showSucces: {
|
44
|
-
type: Boolean,
|
45
|
-
default: !0
|
46
|
-
},
|
47
|
-
showLoader: {
|
48
|
-
type: Boolean,
|
49
|
-
default: !0
|
50
|
-
},
|
51
|
-
validation: {
|
52
|
-
type: Boolean,
|
53
|
-
default: !1
|
54
|
-
}
|
55
|
-
},
|
56
|
-
emits: ["error"],
|
57
|
-
setup(e, { emit: v }) {
|
58
|
-
const l = e, m = v, t = r(null), a = r(null), n = r(!1), u = r(!1);
|
59
|
-
async function y() {
|
60
|
-
t.value.style["pointer-events"] = "none", a.value = null, n.value = !0;
|
61
|
-
const c = () => {
|
62
|
-
t.value && (t.value.classList.replace("bg-second", "bg-main"), t.value.style.pointerEvents = "auto", n.value = !1, u.value = !1, a.value = null);
|
63
|
-
};
|
64
|
-
try {
|
65
|
-
await l.submit(), t.value.classList.replace("bg-main", "bg-second"), n.value = !1, l.showSucces ? (u.value = !0, setTimeout(c, 500)) : c(), l.callback && setTimeout(() => l.callback(), l.callbackDelay);
|
66
|
-
} catch (d) {
|
67
|
-
m("error", d), t.value.classList.replace("bg-main", "bg-fourth-nano"), a.value = l.error, setTimeout(() => {
|
68
|
-
c(), t.value.classList.replace("bg-fourth-nano", "bg-main");
|
69
|
-
}, 1330);
|
70
|
-
}
|
71
|
-
}
|
72
|
-
return (c, d) => (o(), s("button", {
|
73
|
-
onClick: h(y, ["stop"]),
|
74
|
-
disabled: e.validation,
|
75
|
-
ref_key: "button",
|
76
|
-
ref: t,
|
77
|
-
class: "button"
|
78
|
-
}, [
|
79
|
-
f(p, { name: "FromTop" }, {
|
80
|
-
default: k(() => [
|
81
|
-
!n.value && !a.value && !u.value || !e.showLoader ? (o(), s("span", L, [
|
82
|
-
g(c.$slots, "default")
|
83
|
-
])) : n.value && !a.value && e.showLoader ? (o(), s("span", S, [
|
84
|
-
f(w, { class: "pos-relative pos-t-0 pos-l-0 loading" })
|
85
|
-
])) : u.value && e.showSucces ? (o(), s("span", T, i(e.text.success), 1)) : a.value ? (o(), s("span", _, i(a.value), 1)) : b("", !0)
|
86
|
-
]),
|
87
|
-
_: 3
|
88
|
-
}),
|
89
|
-
e.counter ? (o(), s("p", x, i(e.counter), 1)) : b("", !0)
|
90
|
-
], 8, B));
|
91
|
-
}
|
92
|
-
};
|
93
|
-
export {
|
94
|
-
j as default
|
95
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const i={class:"t-trimmed font-main"},l={class:"font-main t-truncate"},o={key:1,class:"pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-semi bg-white"},a={__name:"Chips",props:["chips"],setup(n){return(s,c)=>{var r;return e.openBlock(),e.createElementBlock("div",i,[(r=n.chips)!=null&&r.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.chips,(t,d)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass([s.$attrs.class||"p-medium","mn-r-nano d-inline-block w-max pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-medium bg-main"])},[e.createElementVNode("span",l,e.toDisplayString(t.text?t.text:t),1)],2))),256)):(e.openBlock(),e.createElementBlock("div",o,[e.renderSlot(s.$slots,"default")]))])}}};exports.default=a;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { openBlock as t, createElementBlock as e, Fragment as a, renderList as m, normalizeClass as o, createElementVNode as d, toDisplayString as l, renderSlot as c } from "vue";
|
2
|
-
/* empty css */
|
3
|
-
const p = { class: "t-trimmed font-main" }, h = { class: "font-main t-truncate" }, u = {
|
4
|
-
key: 1,
|
5
|
-
class: "pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-semi bg-white"
|
6
|
-
}, k = {
|
7
|
-
__name: "Chips",
|
8
|
-
props: ["chips"],
|
9
|
-
setup(n) {
|
10
|
-
return (i, _) => {
|
11
|
-
var r;
|
12
|
-
return t(), e("div", p, [
|
13
|
-
(r = n.chips) != null && r.length ? (t(!0), e(a, { key: 0 }, m(n.chips, (s, f) => (t(), e("span", {
|
14
|
-
class: o([i.$attrs.class || "p-medium", "mn-r-nano d-inline-block w-max pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-medium bg-main"])
|
15
|
-
}, [
|
16
|
-
d("span", h, l(s.text ? s.text : s), 1)
|
17
|
-
], 2))), 256)) : (t(), e("div", u, [
|
18
|
-
c(i.$slots, "default")
|
19
|
-
]))
|
20
|
-
]);
|
21
|
-
};
|
22
|
-
}
|
23
|
-
};
|
24
|
-
export {
|
25
|
-
k as default
|
26
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../FieldPhone/click-outside.cjs");;/* empty css */const u={key:0,class:"w-100 h-100 flex-center flex"},d={key:1},f={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(t){let n=r.default;const i=t,l=e.ref(!1),a=e.computed(()=>typeof i.label=="object");function s(){l.value=!1}return(c,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"dropdown pos-relative",onClick:o[0]||(o[0]=e.withModifiers(v=>l.value=!l.value,["stop"]))},[a.value?(e.openBlock(),e.createElementBlock("div",u,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.label.component),e.mergeProps(t.label.props,{class:t.label.class}),null,16,["class"]))])):(e.openBlock(),e.createElementBlock("div",d,e.toDisplayString(t.label),1)),e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{style:e.normalizeStyle({left:t.align==="left"?"0":"auto",right:t.align==="right"?"0":"auto"}),class:"dropdown-content radius-big"},[e.renderSlot(c.$slots,"default")],4),[[e.vShow,l.value]])]),_:3})])),[[e.unref(n),s]])}};exports.default=f;
|
@@ -1,57 +0,0 @@
|
|
1
|
-
import { ref as u, computed as f, withDirectives as a, openBlock as l, createElementBlock as o, withModifiers as m, createBlock as p, resolveDynamicComponent as v, mergeProps as b, toDisplayString as g, createVNode as k, Transition as y, withCtx as h, createElementVNode as w, normalizeStyle as O, renderSlot as S, vShow as C, unref as x } from "vue";
|
2
|
-
import D from "../FieldPhone/click-outside.js";
|
3
|
-
/* empty css */
|
4
|
-
const B = {
|
5
|
-
key: 0,
|
6
|
-
class: "w-100 h-100 flex-center flex"
|
7
|
-
}, T = { key: 1 }, $ = {
|
8
|
-
__name: "Dropdown",
|
9
|
-
props: {
|
10
|
-
label: {
|
11
|
-
type: [String, Object],
|
12
|
-
default: "Open"
|
13
|
-
},
|
14
|
-
align: {
|
15
|
-
type: String,
|
16
|
-
default: "left"
|
17
|
-
}
|
18
|
-
},
|
19
|
-
setup(e) {
|
20
|
-
let i = D;
|
21
|
-
const s = e, t = u(!1), r = f(() => typeof s.label == "object");
|
22
|
-
function c() {
|
23
|
-
t.value = !1;
|
24
|
-
}
|
25
|
-
return (d, n) => a((l(), o("div", {
|
26
|
-
class: "dropdown pos-relative",
|
27
|
-
onClick: n[0] || (n[0] = m((j) => t.value = !t.value, ["stop"]))
|
28
|
-
}, [
|
29
|
-
r.value ? (l(), o("div", B, [
|
30
|
-
(l(), p(v(e.label.component), b(e.label.props, {
|
31
|
-
class: e.label.class
|
32
|
-
}), null, 16, ["class"]))
|
33
|
-
])) : (l(), o("div", T, g(e.label), 1)),
|
34
|
-
k(y, {
|
35
|
-
name: "TransitionTranslateY",
|
36
|
-
mode: "out-in"
|
37
|
-
}, {
|
38
|
-
default: h(() => [
|
39
|
-
a(w("div", {
|
40
|
-
style: O({ left: e.align === "left" ? "0" : "auto", right: e.align === "right" ? "0" : "auto" }),
|
41
|
-
class: "dropdown-content radius-big"
|
42
|
-
}, [
|
43
|
-
S(d.$slots, "default")
|
44
|
-
], 4), [
|
45
|
-
[C, t.value]
|
46
|
-
])
|
47
|
-
]),
|
48
|
-
_: 3
|
49
|
-
})
|
50
|
-
])), [
|
51
|
-
[x(i), c]
|
52
|
-
]);
|
53
|
-
}
|
54
|
-
};
|
55
|
-
export {
|
56
|
-
$ as default
|
57
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const u={key:0,class:"t-transp mn-r-small"},r={class:"w-100"},c=["type","value","placeholder","tabindex","disabled"],m=["value","placeholder","tabindex","disabled"],b={key:1,class:"t-transp mn-l-small"},f={key:0,class:"mn-t-thin mn-b-thin mn-b-thin invalid-feedback"},v={__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(l,{emit:s}){const n=s,d=l;d.value&&n("update:field",d.value);const i=e.ref(d.field);return(o,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass([[o.$attrs.class,{"bg-fourth-nano":l.validation}],"flex-center flex-nowrap flex"])},[l.label?(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("span",null,e.toDisplayString(l.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",r,[l.type!=="textarea"?(e.openBlock(),e.createElementBlock("input",{key:0,onInput:t[0]||(t[0]=a=>i.value=n("update:field",a.target.value)),onFocus:t[1]||(t[1]=a=>n("focus",a)),onBlur:t[2]||(t[2]=a=>n("blur",a)),type:l.type,class:"w-100",value:l.field,placeholder:l.placeholder,tabindex:l.tabindex,disabled:l.disabled},null,40,c)):(e.openBlock(),e.createElementBlock("textarea",{key:1,onInput:t[3]||(t[3]=a=>i.value=n("update:field",a.target.value)),onFocus:t[4]||(t[4]=a=>n("focus",a)),onBlur:t[5]||(t[5]=a=>n("blur",a)),class:"w-100",style:{resize:"vertical"},value:l.field,placeholder:l.placeholder,tabindex:l.tabindex,disabled:l.disabled},null,40,m))]),e.renderSlot(o.$slots,"default"),l.symbol?(e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("span",null,e.toDisplayString(l.symbol),1)])):e.createCommentVNode("",!0)],2),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.validation?(e.openBlock(),e.createElementBlock("div",f," * "+e.toDisplayString(l.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64))}};exports.default=v;
|
@@ -1,83 +0,0 @@
|
|
1
|
-
import { ref as f, openBlock as n, createElementBlock as d, Fragment as v, createElementVNode as i, normalizeClass as c, toDisplayString as u, createCommentVNode as o, renderSlot as x, createVNode as y, Transition as h, withCtx as k } from "vue";
|
2
|
-
/* empty css */
|
3
|
-
const g = {
|
4
|
-
key: 0,
|
5
|
-
class: "t-transp mn-r-small"
|
6
|
-
}, w = { class: "w-100" }, B = ["type", "value", "placeholder", "tabindex", "disabled"], F = ["value", "placeholder", "tabindex", "disabled"], C = {
|
7
|
-
key: 1,
|
8
|
-
class: "t-transp mn-l-small"
|
9
|
-
}, E = {
|
10
|
-
key: 0,
|
11
|
-
class: "mn-t-thin mn-b-thin mn-b-thin invalid-feedback"
|
12
|
-
}, z = {
|
13
|
-
__name: "Field",
|
14
|
-
props: {
|
15
|
-
label: null,
|
16
|
-
symbol: null,
|
17
|
-
type: "text",
|
18
|
-
placeholder: "Enter something here",
|
19
|
-
field: null,
|
20
|
-
value: null,
|
21
|
-
validation: !1,
|
22
|
-
disabled: null,
|
23
|
-
tabindex: -1
|
24
|
-
},
|
25
|
-
emits: ["update:field", "focus", "blur"],
|
26
|
-
setup(e, { emit: m }) {
|
27
|
-
const a = m, s = e;
|
28
|
-
s.value && a("update:field", s.value);
|
29
|
-
const r = f(s.field);
|
30
|
-
return (b, l) => (n(), d(v, null, [
|
31
|
-
i("div", {
|
32
|
-
class: c([[
|
33
|
-
b.$attrs.class,
|
34
|
-
{
|
35
|
-
"bg-fourth-nano": e.validation
|
36
|
-
}
|
37
|
-
], "flex-center flex-nowrap flex"])
|
38
|
-
}, [
|
39
|
-
e.label ? (n(), d("div", g, [
|
40
|
-
i("span", null, u(e.label), 1)
|
41
|
-
])) : o("", !0),
|
42
|
-
i("div", w, [
|
43
|
-
e.type !== "textarea" ? (n(), d("input", {
|
44
|
-
key: 0,
|
45
|
-
onInput: l[0] || (l[0] = (t) => r.value = a("update:field", t.target.value)),
|
46
|
-
onFocus: l[1] || (l[1] = (t) => a("focus", t)),
|
47
|
-
onBlur: l[2] || (l[2] = (t) => a("blur", t)),
|
48
|
-
type: e.type,
|
49
|
-
class: "w-100",
|
50
|
-
value: e.field,
|
51
|
-
placeholder: e.placeholder,
|
52
|
-
tabindex: e.tabindex,
|
53
|
-
disabled: e.disabled
|
54
|
-
}, null, 40, B)) : (n(), d("textarea", {
|
55
|
-
key: 1,
|
56
|
-
onInput: l[3] || (l[3] = (t) => r.value = a("update:field", t.target.value)),
|
57
|
-
onFocus: l[4] || (l[4] = (t) => a("focus", t)),
|
58
|
-
onBlur: l[5] || (l[5] = (t) => a("blur", t)),
|
59
|
-
class: "w-100",
|
60
|
-
style: { resize: "vertical" },
|
61
|
-
value: e.field,
|
62
|
-
placeholder: e.placeholder,
|
63
|
-
tabindex: e.tabindex,
|
64
|
-
disabled: e.disabled
|
65
|
-
}, null, 40, F))
|
66
|
-
]),
|
67
|
-
x(b.$slots, "default"),
|
68
|
-
e.symbol ? (n(), d("div", C, [
|
69
|
-
i("span", null, u(e.symbol), 1)
|
70
|
-
])) : o("", !0)
|
71
|
-
], 2),
|
72
|
-
y(h, { name: "fade" }, {
|
73
|
-
default: k(() => [
|
74
|
-
e.validation ? (n(), d("div", E, " * " + u(e.validation.message), 1)) : o("", !0)
|
75
|
-
]),
|
76
|
-
_: 1
|
77
|
-
})
|
78
|
-
], 64));
|
79
|
-
}
|
80
|
-
};
|
81
|
-
export {
|
82
|
-
z as default
|
83
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../../../../node_modules/@googlemaps/js-api-loader/dist/index.cjs"),w=require("../Loader/Loader.vue2.cjs");;/* empty css */const L=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),_=s=>(e.pushScopeId("data-v-7af36552"),s=s(),e.popScopeId(),s),k={class:"pos-relative"},b={key:0,class:"i-regular",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M=_(()=>e.createElementVNode("path",{d:"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",fill:"rgb(var(--white))"},null,-1)),E=_(()=>e.createElementVNode("path",{d:"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",fill:"rgb(var(--white))"},null,-1)),V=[M,E],x={__name:"LocationMarker",props:{location:{type:Object,default:()=>({lat:15.87,lng:100.9925})},address:{type:String,default:null},apiKey:String,locale:{type:String,default:"en"}},emits:["update:location","update:address","update:country","update:state","update:city"],setup(s,{emit:y}){const o=s,n=y,u=e.ref(null),c=e.ref(!1);let i,d;e.onMounted(()=>{new v.Loader({apiKey:o.apiKey,version:"weekly",libraries:["places"],language:o.locale}).load().then(()=>{i=new google.maps.Map(u.value,{center:o.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1,disableDefaultUI:!0}),d=new google.maps.Marker({position:o.location,map:i,draggable:!0}),d.addListener("dragend",t=>{const l={lat:t.latLng.lat(),lng:t.latLng.lng()};n("update:location",l),p(l)})}).catch(t=>{console.error(t)})}),e.watchEffect(()=>{o.location&&d&&d.setPosition(new google.maps.LatLng(o.location.lat,o.location.lng))}),e.watchEffect(()=>{if(o.location&&i){const a=new google.maps.LatLng(o.location.lat,o.location.lng);i.setCenter(a),i.setZoom(15)}});function p(a){new google.maps.Geocoder().geocode({location:a},(l,g)=>{if(g==="OK")if(l[0]){n("update:address",l[0].formatted_address);let f="",m="",C="";l[0].address_components.forEach(r=>{r.types.includes("country")&&(f=r.long_name),r.types.includes("administrative_area_level_1")&&(m=r.long_name),r.types.includes("locality")&&(C=r.long_name)}),n("update:country",f),n("update:state",m),n("update:city",C)}else console.error("No results found");else console.error("Geocoder failed due to: "+g)})}async function h(){c.value=!0,navigator.geolocation?navigator.geolocation.getCurrentPosition(a=>{const t={lat:a.coords.latitude,lng:a.coords.longitude};n("update:location",t),p(t),c.value=!1},()=>{console.error("Error getting location"),c.value=!1}):(console.error("Geolocation is not supported by this browser."),c.value=!1)}return(a,t)=>(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("div",{ref_key:"mapContainer",ref:u,class:"w-100 h-100"},null,512),e.createElementVNode("button",{class:"cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra",onClick:h},[e.createVNode(e.Transition,{name:"ScaleOut",mode:"out-in"},{default:e.withCtx(()=>[c.value?(e.openBlock(),e.createBlock(w.default,{key:1,class:"pos-t-0 pos-l-0 i-small"})):(e.openBlock(),e.createElementBlock("svg",b,V))]),_:1})])]))}},S=L.default(x,[["__scopeId","data-v-7af36552"]]);exports.default=S;
|
@@ -1,127 +0,0 @@
|
|
1
|
-
import { ref as y, onMounted as b, watchEffect as h, openBlock as p, createElementBlock as w, createElementVNode as d, createVNode as x, Transition as M, withCtx as S, createBlock as V, pushScopeId as E, popScopeId as I } from "vue";
|
2
|
-
import { Loader as Z } from "../../../../node_modules/@googlemaps/js-api-loader/dist/index.js";
|
3
|
-
import B from "../Loader/Loader.vue2.js";
|
4
|
-
/* empty css */
|
5
|
-
import H from "../../../../_virtual/_plugin-vue_export-helper.js";
|
6
|
-
const v = (r) => (E("data-v-7af36552"), r = r(), I(), r), K = { class: "pos-relative" }, G = {
|
7
|
-
key: 0,
|
8
|
-
class: "i-regular",
|
9
|
-
width: "98",
|
10
|
-
height: "98",
|
11
|
-
viewBox: "0 0 98 98",
|
12
|
-
fill: "none",
|
13
|
-
xmlns: "http://www.w3.org/2000/svg"
|
14
|
-
}, N = /* @__PURE__ */ v(() => /* @__PURE__ */ d("path", {
|
15
|
-
d: "M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",
|
16
|
-
fill: "rgb(var(--white))"
|
17
|
-
}, null, -1)), O = /* @__PURE__ */ v(() => /* @__PURE__ */ d("path", {
|
18
|
-
d: "M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",
|
19
|
-
fill: "rgb(var(--white))"
|
20
|
-
}, null, -1)), P = [
|
21
|
-
N,
|
22
|
-
O
|
23
|
-
], T = {
|
24
|
-
__name: "LocationMarker",
|
25
|
-
props: {
|
26
|
-
location: {
|
27
|
-
type: Object,
|
28
|
-
default: () => ({ lat: 15.87, lng: 100.9925 })
|
29
|
-
},
|
30
|
-
address: {
|
31
|
-
type: String,
|
32
|
-
default: null
|
33
|
-
},
|
34
|
-
apiKey: String,
|
35
|
-
locale: {
|
36
|
-
type: String,
|
37
|
-
default: "en"
|
38
|
-
}
|
39
|
-
},
|
40
|
-
emits: ["update:location", "update:address", "update:country", "update:state", "update:city"],
|
41
|
-
setup(r, { emit: L }) {
|
42
|
-
const e = r, a = L, u = y(null), s = y(!1);
|
43
|
-
let i, c;
|
44
|
-
b(() => {
|
45
|
-
new Z({
|
46
|
-
apiKey: e.apiKey,
|
47
|
-
version: "weekly",
|
48
|
-
libraries: ["places"],
|
49
|
-
language: e.locale
|
50
|
-
}).load().then(() => {
|
51
|
-
i = new google.maps.Map(u.value, {
|
52
|
-
center: e.location,
|
53
|
-
zoom: 15,
|
54
|
-
mapTypeControl: !1,
|
55
|
-
fullscreenControl: !1,
|
56
|
-
disableDefaultUI: !0
|
57
|
-
}), c = new google.maps.Marker({
|
58
|
-
position: e.location,
|
59
|
-
map: i,
|
60
|
-
draggable: !0
|
61
|
-
}), c.addListener("dragend", (o) => {
|
62
|
-
const n = { lat: o.latLng.lat(), lng: o.latLng.lng() };
|
63
|
-
a("update:location", n), g(n);
|
64
|
-
});
|
65
|
-
}).catch((o) => {
|
66
|
-
console.error(o);
|
67
|
-
});
|
68
|
-
}), h(() => {
|
69
|
-
e.location && c && c.setPosition(new google.maps.LatLng(e.location.lat, e.location.lng));
|
70
|
-
}), h(() => {
|
71
|
-
if (e.location && i) {
|
72
|
-
const t = new google.maps.LatLng(e.location.lat, e.location.lng);
|
73
|
-
i.setCenter(t), i.setZoom(15);
|
74
|
-
}
|
75
|
-
});
|
76
|
-
function g(t) {
|
77
|
-
new google.maps.Geocoder().geocode({ location: t }, (n, f) => {
|
78
|
-
if (f === "OK")
|
79
|
-
if (n[0]) {
|
80
|
-
a("update:address", n[0].formatted_address);
|
81
|
-
let m = "", C = "", _ = "";
|
82
|
-
n[0].address_components.forEach((l) => {
|
83
|
-
l.types.includes("country") && (m = l.long_name), l.types.includes("administrative_area_level_1") && (C = l.long_name), l.types.includes("locality") && (_ = l.long_name);
|
84
|
-
}), a("update:country", m), a("update:state", C), a("update:city", _);
|
85
|
-
} else
|
86
|
-
console.error("No results found");
|
87
|
-
else
|
88
|
-
console.error("Geocoder failed due to: " + f);
|
89
|
-
});
|
90
|
-
}
|
91
|
-
async function k() {
|
92
|
-
s.value = !0, navigator.geolocation ? navigator.geolocation.getCurrentPosition((t) => {
|
93
|
-
const o = { lat: t.coords.latitude, lng: t.coords.longitude };
|
94
|
-
a("update:location", o), g(o), s.value = !1;
|
95
|
-
}, () => {
|
96
|
-
console.error("Error getting location"), s.value = !1;
|
97
|
-
}) : (console.error("Geolocation is not supported by this browser."), s.value = !1);
|
98
|
-
}
|
99
|
-
return (t, o) => (p(), w("div", K, [
|
100
|
-
d("div", {
|
101
|
-
ref_key: "mapContainer",
|
102
|
-
ref: u,
|
103
|
-
class: "w-100 h-100"
|
104
|
-
}, null, 512),
|
105
|
-
d("button", {
|
106
|
-
class: "cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra",
|
107
|
-
onClick: k
|
108
|
-
}, [
|
109
|
-
x(M, {
|
110
|
-
name: "ScaleOut",
|
111
|
-
mode: "out-in"
|
112
|
-
}, {
|
113
|
-
default: S(() => [
|
114
|
-
s.value ? (p(), V(B, {
|
115
|
-
key: 1,
|
116
|
-
class: "pos-t-0 pos-l-0 i-small"
|
117
|
-
})) : (p(), w("svg", G, P))
|
118
|
-
]),
|
119
|
-
_: 1
|
120
|
-
})
|
121
|
-
])
|
122
|
-
]));
|
123
|
-
}
|
124
|
-
}, F = /* @__PURE__ */ H(T, [["__scopeId", "data-v-7af36552"]]);
|
125
|
-
export {
|
126
|
-
F as default
|
127
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const r={class:"mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium"},o={__name:"Menu",setup(u){return(t,n)=>(e.openBlock(),e.createElementBlock("section",r,[e.renderSlot(t.$slots,"default")]))}};exports.default=o;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { openBlock as t, createElementBlock as o, renderSlot as n } from "vue";
|
2
|
-
/* empty css */
|
3
|
-
const r = { class: "mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, d = {
|
4
|
-
__name: "Menu",
|
5
|
-
setup(s) {
|
6
|
-
return (e, i) => (t(), o("section", r, [
|
7
|
-
n(e.$slots, "default")
|
8
|
-
]));
|
9
|
-
}
|
10
|
-
};
|
11
|
-
export {
|
12
|
-
d as default
|
13
|
-
};
|
@@ -1 +0,0 @@
|
|
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"},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;
|