@ozdao/prometheus-framework 0.2.127 → 0.2.129
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +1 -1
- package/dist/auth.server.js +28 -37
- package/dist/auth.server.mjs +28 -37
- package/dist/community.server.js +1 -1
- package/dist/community.server.mjs +1 -1
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/files.server.js +1 -1
- package/dist/files.server.mjs +1 -1
- package/dist/gallery.server.js +6 -2
- package/dist/gallery.server.mjs +6 -2
- package/dist/{index-BCCiEK_u.js → index-BshfsiQG.js} +8 -4
- package/dist/{index-B6a1mPgp.mjs → index-DKtnWDNC.mjs} +8 -4
- package/dist/{main-CmL_j3wv.mjs → main-DvdaURTh.mjs} +3261 -3154
- package/dist/main-hLtpe4Hr.js +92 -0
- package/dist/main.css +1 -1
- package/dist/middlewares.server.js +1 -1
- package/dist/middlewares.server.mjs +1 -1
- package/dist/node_modules/zod/lib/index.cjs +1 -1
- package/dist/node_modules/zod/lib/index.js +1162 -1033
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +1 -1
- package/dist/organizations.server.mjs +1 -1
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +89 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +1 -89
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +73 -0
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +23 -22
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +1 -27
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +27 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +1 -58
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +58 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +144 -112
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +5 -5
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +127 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -127
- package/dist/prometheus-framework/src/components/Menu/MenuItem.vue.cjs +1 -0
- package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/MenuItem.vue.js +1 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -0
- package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue.js +6 -6
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +77 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -77
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +103 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -103
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -45
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +7 -6
- 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 +114 -77
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +7 -22
- 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 +62 -70
- 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 +2 -2
- 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 +2 -2
- 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 +17 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +66 -0
- 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 +0 -66
- 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 +1 -1
- 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 +3 -3
- 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 +1 -1
- 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 +5 -5
- 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 +9 -9
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.js +18 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +46 -0
- 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 +20 -16
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +10 -10
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +27 -4
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +14 -12
- 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/OrderCreate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +111 -93
- 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/AskToLogin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +13 -14
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +20 -22
- 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/router/orders.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +5 -4
- 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 +4 -4
- 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 +4 -4
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +154 -0
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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/backoffice.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.js +27 -0
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -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 +1 -1
- 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 +26 -27
- 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 +1 -1
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +22 -23
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +30 -29
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +72 -51
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +51 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +22 -22
- 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/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +62 -48
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +43 -44
- 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 +5 -5
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +24 -25
- package/dist/reports.server.js +1 -1
- package/dist/reports.server.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/dist/{web-Bk_OtXgv.js → web-CVIepGUM.js} +1 -1
- package/dist/{web-BHzpMOmk.mjs → web-Dt2JR41o.mjs} +1 -1
- package/package.json +3 -2
- package/src/{modules/mobile/components → components}/BottomSheet/BottomSheet.vue +24 -21
- package/src/components/Button/Button.vue +20 -3
- package/src/components/Feed/Feed.vue +28 -3
- package/src/components/FieldBig/FieldBig.vue +2 -2
- package/src/components/Sidebar/Sidebar.vue +13 -5
- package/src/components/index.js +0 -1
- package/src/main.js +0 -4
- package/src/modules/auth/controllers/auth.controller.js +32 -48
- package/src/modules/auth/router/auth.js +1 -4
- package/src/modules/auth/store/auth.js +28 -24
- package/src/modules/backoffice/components/pages/Dashboard.vue +29 -56
- package/src/modules/backoffice/router/backoffice.js +4 -15
- package/src/modules/community/components/blocks/CardBlogpost.vue +28 -26
- package/src/modules/community/components/layouts/Community.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +1 -1
- package/src/modules/gallery/components/pages/Gallery.vue +1 -2
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -1
- package/src/modules/gallery/router/gallery.backoffice.router.js +14 -0
- package/src/modules/globals/components/blocks/BlockFilter.vue +44 -0
- package/src/modules/globals/components/blocks/CardHeader.vue +5 -3
- package/src/modules/globals/components/layouts/Client.vue +99 -43
- package/src/modules/globals/components/pages/401.vue +5 -0
- package/src/modules/globals/components/pages/404.vue +5 -0
- package/src/modules/globals/components/partials/Footer.vue +17 -5
- package/src/modules/globals/components/partials/Header.vue +37 -18
- package/src/modules/globals/components/partials/Navigation.vue +7 -2
- package/src/modules/landing/components/sections/MobileApp.vue +2 -2
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
- package/src/modules/landing/router/landing.js +2 -12
- package/src/modules/legal/components/pages/Legal.vue +2 -2
- package/src/modules/marketplace/components/layouts/Marketplace.vue +30 -13
- package/src/modules/marketplace/components/pages/Catalog.vue +2 -1
- package/src/modules/marketplace/router/marketplace.js +12 -10
- package/src/modules/marketplace/store/marketplace.js +25 -1
- package/src/modules/middlewares/client/auth.validation.js +5 -2
- package/src/modules/middlewares/server/authJwt.js +12 -6
- package/src/modules/middlewares/server/verifyAccesses.js +7 -3
- package/src/modules/orders/components/pages/OrderCreate.vue +34 -22
- package/src/modules/orders/components/sections/AskToLogin.vue +8 -7
- package/src/modules/orders/components/sections/FormDelivery.vue +6 -6
- package/src/modules/orders/router/orders.router.js +6 -3
- package/src/modules/organizations/components/pages/Members.vue +2 -2
- package/src/modules/organizations/components/pages/Organization.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +204 -0
- package/src/modules/organizations/router/backoffice.router.js +25 -0
- package/src/modules/organizations/router/organizations.js +3 -1
- package/src/modules/pages/router/pages.router.js +15 -0
- package/src/modules/products/components/blocks/ImagesThumbnails.vue +11 -12
- package/src/modules/products/components/pages/Product.vue +7 -3
- package/src/modules/products/components/pages/ProductRecommmendation.vue +6 -5
- package/src/modules/products/components/sections/FilterProducts.vue +6 -6
- package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
- package/src/modules/products/components/sections/PopularProducts.vue +1 -3
- package/src/modules/products/components/sections/SectionProduct.vue +8 -8
- package/src/modules/spots/components/layouts/Spots.vue +33 -31
- package/src/modules/spots/components/pages/Map.vue +380 -353
- package/src/modules/spots/router/spots.js +3 -1
- package/src/modules/users/components/pages/Profile.vue +4 -4
- package/src/modules/users/components/pages/ProfileEdit.vue +4 -3
- package/src/modules/wallet/controllers/routes/payments.routes.js +0 -1
- package/src/styles/base/all.scss +4 -0
- package/src/styles/config.scss +2 -1
- package/src/styles/layout.scss +0 -1
- package/dist/credentials.schema-CDZCKfEI.mjs +0 -106
- package/dist/credentials.schema-CfhPcsuI.js +0 -105
- package/dist/index-CGIn4v5E.mjs +0 -217
- package/dist/index-CL9l0HRS.js +0 -216
- package/dist/main-8APITHuW.mjs +0 -14201
- package/dist/main-8N2Jmsuk.js +0 -91
- package/dist/main-BJvlNekm.mjs +0 -13631
- package/dist/main-BQisDfLk.js +0 -92
- package/dist/main-BV1Yv9Hy.js +0 -92
- package/dist/main-Ba3zK8PO.js +0 -92
- package/dist/main-Btlny-89.mjs +0 -14207
- package/dist/main-Bw0PvTs-.mjs +0 -13616
- package/dist/main-ByCtZbHD.mjs +0 -13752
- package/dist/main-CF35oB7q.js +0 -92
- package/dist/main-CX2ISR43.mjs +0 -13629
- package/dist/main-CXObXjv-.js +0 -92
- package/dist/main-CkeuHuCY.mjs +0 -13619
- package/dist/main-CnfcBov2.mjs +0 -13740
- package/dist/main-D0va05OD.js +0 -92
- package/dist/main-D50VqYhy.js +0 -91
- package/dist/main-D8gNZLSa.js +0 -92
- package/dist/main-DL3vRQCi.js +0 -92
- package/dist/main-DPsHxX0l.mjs +0 -13633
- package/dist/main-DTlUA63C.mjs +0 -13617
- package/dist/main-DfD5hLQo.mjs +0 -13633
- package/dist/main-Dh6Zfei9.js +0 -92
- package/dist/main-DmNP-t33.mjs +0 -13625
- package/dist/main-Ds3Z5x5d.mjs +0 -14206
- package/dist/main-DwyUYWFX.js +0 -92
- package/dist/main-VcxO-jAt.js +0 -92
- package/dist/main-cffh4bbv.js +0 -92
- package/dist/main-o_2eO2tP.mjs +0 -14208
- package/dist/main-pGo7JpSP.js +0 -92
- package/dist/metadata.schema-BLGSCSmy.mjs +0 -55
- package/dist/metadata.schema-Cu_mPkjE.js +0 -77
- package/dist/metadata.schema-DWR97jhW.js +0 -54
- package/dist/metadata.schema-cbFgazeK.mjs +0 -78
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +0 -126
- package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.cjs +0 -7
- package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.js +0 -38
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +0 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +0 -43
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +0 -373
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/utils.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/utils.js +0 -259
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +0 -62
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +0 -110
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +0 -27
- package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.js +0 -29
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +0 -65
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +0 -87
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +0 -51
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +0 -53
- package/dist/queryProcessor-BJdKh0Ow.mjs +0 -162
- package/dist/queryProcessor-BJoJAetd.mjs +0 -162
- package/dist/queryProcessor-BUDoM96e.js +0 -148
- package/dist/queryProcessor-Cl6sU582.mjs +0 -149
- package/dist/queryProcessor-DRMo_GWK.js +0 -161
- package/dist/queryProcessor-DWf9tsis.js +0 -161
- package/dist/web-B2xhKZNK.js +0 -1
- package/dist/web-B8tq3Fda.mjs +0 -54
- package/dist/web-BDaOF322.js +0 -1
- package/dist/web-BEJCRWop.mjs +0 -54
- package/dist/web-BNKN7kk3.mjs +0 -54
- package/dist/web-BX5um81l.js +0 -1
- package/dist/web-ByJkgGrt.js +0 -1
- package/dist/web-C0sFgeYh.mjs +0 -54
- package/dist/web-CQQEUA9l.js +0 -1
- package/dist/web-CQiHBOEN.mjs +0 -54
- package/dist/web-CXzcKdk4.mjs +0 -54
- package/dist/web-CciQvENI.js +0 -1
- package/dist/web-CkrMHYIU.js +0 -1
- package/dist/web-CtVocufd.js +0 -1
- package/dist/web-CvRd3N_J.mjs +0 -54
- package/dist/web-D0ugI6ra.js +0 -1
- package/dist/web-D2Em-p-C.mjs +0 -54
- package/dist/web-D9Cfcy5k.js +0 -1
- package/dist/web-DEysqj0n.js +0 -1
- package/dist/web-DNq1tHCE.mjs +0 -54
- package/dist/web-DTzbVshr.mjs +0 -54
- package/dist/web-Douq6xn6.js +0 -1
- package/dist/web-DtWmpLE-.mjs +0 -54
- package/dist/web-TGdVOTnw.js +0 -1
- package/dist/web-VFuzUsNl.mjs +0 -54
- package/dist/web-_W9a_nWD.mjs +0 -54
- package/dist/web-kg3KgbAF.js +0 -1
- package/dist/web-nVxTNRH4.mjs +0 -54
- package/src/components/Magnifier/Magnifier.vue +0 -89
- /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue.cjs +0 -0
- /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue.js +0 -0
- /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue2.cjs +0 -0
- /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue2.js +0 -0
- /package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue2.cjs +0 -0
- /package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue2.js +0 -0
- /package/src/{modules/mobile/components → components}/Menu/Menu.vue +0 -0
- /package/src/{modules/mobile/components → components}/Menu/MenuItem.vue +0 -0
- /package/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue +0 -0
- /package/src/modules/{mobile/components/BottomNavigation → globals/components/partials}/BottomNavigation.vue +0 -0
- /package/src/modules/{mobile/components/NavigationBar → globals/components/partials}/NavigationBar.vue +0 -0
- /package/src/modules/{mobile/components/Walkthrough → globals/components/sections}/Walkthrough.vue +0 -0
- /package/src/modules/{landing → pages}/components/pages/Page.vue +0 -0
- /package/src/modules/{backoffice/components/admin → pages/components/pages}/PageEdit.vue +0 -0
- /package/src/modules/{backoffice/components/admin → pages/components/pages}/Pages.vue +0 -0
package/dist/orders.server.js
CHANGED
@@ -5,7 +5,7 @@ const profile_schema = require("./profile.schema-CkOhhf37.js");
|
|
5
5
|
const credentials_schema = require("./credentials.schema-B-KD_ozQ.js");
|
6
6
|
const queryProcessor = require("./queryProcessor-haY_gPGg.js");
|
7
7
|
const mailing = require("./mailing-BX0q8DIs.js");
|
8
|
-
const index = require("./index-
|
8
|
+
const index = require("./index-BshfsiQG.js");
|
9
9
|
const require$$0 = require("node-cache");
|
10
10
|
const applyOwnershipSchema$1 = ownership_schema.ownership_schema;
|
11
11
|
var order_model = (db) => {
|
package/dist/orders.server.mjs
CHANGED
@@ -4,7 +4,7 @@ import { p as profile_schema } from "./profile.schema-24ZpZQJe.mjs";
|
|
4
4
|
import { c as credentials_schema } from "./credentials.schema-C9dmNy7o.mjs";
|
5
5
|
import { q as queryProcessor } from "./queryProcessor-g8208K6g.mjs";
|
6
6
|
import { m as mailing } from "./mailing-Cdp8NXhP.mjs";
|
7
|
-
import { s as server } from "./index-
|
7
|
+
import { s as server } from "./index-DKtnWDNC.mjs";
|
8
8
|
import require$$0 from "node-cache";
|
9
9
|
const applyOwnershipSchema$1 = ownership_schema;
|
10
10
|
var order_model = (db) => {
|
@@ -9,7 +9,7 @@ const require$$5 = require("@googlemaps/google-maps-services-js");
|
|
9
9
|
const addMembersQuantity$1 = require("./addMembersQuantity-B8UgqlUM.js");
|
10
10
|
const queryProcessor = require("./queryProcessor-haY_gPGg.js");
|
11
11
|
const mailing = require("./mailing-BX0q8DIs.js");
|
12
|
-
const index = require("./index-
|
12
|
+
const index = require("./index-BshfsiQG.js");
|
13
13
|
const engagement_schema = require("./engagement.schema-fdLNO2_6.js");
|
14
14
|
const ownership_schema = require("./ownership.schema-DN0SlQL6.js");
|
15
15
|
const credentials_schema = require("./credentials.schema-B-KD_ozQ.js");
|
@@ -8,7 +8,7 @@ import require$$5 from "@googlemaps/google-maps-services-js";
|
|
8
8
|
import { a as addUserStatusFields_1, b as addMembersQuantity_1 } from "./addMembersQuantity-BXp_LeQd.mjs";
|
9
9
|
import { q as queryProcessor } from "./queryProcessor-g8208K6g.mjs";
|
10
10
|
import { m as mailing } from "./mailing-Cdp8NXhP.mjs";
|
11
|
-
import { s as server } from "./index-
|
11
|
+
import { s as server } from "./index-DKtnWDNC.mjs";
|
12
12
|
import { e as engagement_schema } from "./engagement.schema-CI2ifjXN.mjs";
|
13
13
|
import { o as ownership_schema } from "./ownership.schema-oyx6eNkZ.mjs";
|
14
14
|
import { c as credentials_schema } from "./credentials.schema-C9dmNy7o.mjs";
|
package/dist/products.server.js
CHANGED
@@ -6,7 +6,7 @@ require("uuid");
|
|
6
6
|
const require$$0 = require("mongoose");
|
7
7
|
require("path");
|
8
8
|
const require$$3 = require("openai");
|
9
|
-
const index = require("./index-
|
9
|
+
const index = require("./index-BshfsiQG.js");
|
10
10
|
const queryProcessor = require("./queryProcessor-haY_gPGg.js");
|
11
11
|
var product_model = (mongoose) => {
|
12
12
|
const ProductSchema = new mongoose.Schema({
|
package/dist/products.server.mjs
CHANGED
@@ -4,7 +4,7 @@ import "uuid";
|
|
4
4
|
import require$$0 from "mongoose";
|
5
5
|
import "path";
|
6
6
|
import require$$3 from "openai";
|
7
|
-
import { s as server } from "./index-
|
7
|
+
import { s as server } from "./index-DKtnWDNC.mjs";
|
8
8
|
import { q as queryProcessor } from "./queryProcessor-g8208K6g.mjs";
|
9
9
|
var product_model = (mongoose) => {
|
10
10
|
const ProductSchema = new mongoose.Schema({
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
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");require("./Address.vue2.cjs");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 +1,89 @@
|
|
1
|
-
|
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
|
+
import "./Address.vue2.js";
|
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 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1,89 +1 @@
|
|
1
|
-
|
2
|
-
import { Loader as S } from "../../../../node_modules/@googlemaps/js-api-loader/dist/index.js";
|
3
|
-
import "./Address.vue.js";
|
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
|
+
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../Tooltip/Tooltip.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../Tooltip/Tooltip.vue.cjs"),a={class:"bg-light pd-medium radius-big"},c={key:0,class:"mn-b-small flex-v-center flex-nowrap flex"},s={key:0,class:"mn-r-thin t-medium p-big"},u=["onClick"],d=e.createElementVNode("p",{class:"bg-main radius-small t-center i-medium"},"i",-1),m={key:1,class:"w-100"},h={__name:"Block",props:{title:{type:String,default:null},tooltip:{type:String,default:null},actions:{type:Array,default:null},placeholder:{type:String,default:"Nothing here"},options:{type:Object,default:{theme:"white"}}},setup(t){e.useSlots();const r=(n,o={})=>n?n(o).some(l=>Array.isArray(l.children)?!!l.children.length:l.type!==e.Comment):!1;return(n,o)=>(e.openBlock(),e.createElementBlock("div",a,[t.title||t.actions?(e.openBlock(),e.createElementBlock("div",c,[t.title?(e.openBlock(),e.createElementBlock("p",s,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,l=>(e.openBlock(),e.createElementBlock("button",{onClick:l.function,class:e.normalizeClass(["pd-thin button-delete button",l.class||"bg-main radius-small t-center i-medium"])},e.toDisplayString(l.label),11,u))),256)),t.tooltip?(e.openBlock(),e.createBlock(i.default,{key:1,text:t.tooltip},{default:e.withCtx(()=>[d]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),r(n.$slots.default)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(t.placeholder),1)),e.renderSlot(n.$slots,"default")]))}};exports.default=h;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useSlots as u, openBlock as l, createElementBlock as n, toDisplayString as o, createCommentVNode as r, Fragment as c, renderList as d, normalizeClass as m, createBlock as h, withCtx as f, renderSlot as p, createElementVNode as y, Comment as g } from "vue";
|
2
|
-
import b from "../Tooltip/Tooltip.
|
2
|
+
import b from "../Tooltip/Tooltip.vue.js";
|
3
3
|
const k = { class: "bg-light pd-medium radius-big" }, C = {
|
4
4
|
key: 0,
|
5
5
|
class: "mn-b-small flex-v-center flex-nowrap flex"
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=e.createElementVNode("div",{class:"radius-extra pd-small t-black p-medium"},[e.createElementVNode("div",{class:"radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10"})],-1),f=[p],m={__name:"BottomSheet",props:{show:{type:Boolean,default:!1},options:{type:Object,default:{position:!1}}},emits:["toggle"],setup(v,{emit:d}){const u=d,n=e.ref(null),l=e.ref(0),s=e.ref(0),a=e.ref(!1);function i(t){a.value=!0,l.value=t.touches?t.touches[0].clientY:t.clientY,s.value=l.value}function c(t){if(!a.value)return;t.preventDefault(),s.value=t.touches?t.touches[0].clientY:t.clientY;const o=s.value-l.value;o>0&&(n.value.style.top=`${o}px`)}function r(){if(!a.value)return;a.value=!1;const t=s.value-l.value,o=window.innerHeight*.2;t<o?n.value.style.top="":u("toggle")}return(t,o)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slideY",mode:"out-in"},{default:e.withCtx(()=>[e.createElementVNode("section",{ref_key:"wrapper",ref:n,class:"w-100 h-100vh",style:e.normalizeStyle(t.MOBILE_APP==="ios"?"padding-top: 6rem;":"")},[e.createElementVNode("div",{onClick:o[0]||(o[0]=g=>u("toggle")),onMousedown:i,onTouchstart:i,onMousemove:c,onTouchmove:c,onMouseup:r,onTouchend:r,onMouseleave:r,class:"bs-black d-block p-medium pos-relative bg-white flex-center flex uppercase z-index-2"},f,32),e.renderSlot(t.$slots,"default")],4)]),_:3}))}};exports.default=m;
|
@@ -0,0 +1,73 @@
|
|
1
|
+
import { ref as a, openBlock as f, createBlock as m, Transition as v, withCtx as h, createElementVNode as n, normalizeStyle as g, renderSlot as _ } from "vue";
|
2
|
+
const w = /* @__PURE__ */ n("div", { class: "radius-extra pd-small t-black p-medium" }, [
|
3
|
+
/* @__PURE__ */ n("div", { class: "radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10" })
|
4
|
+
], -1), b = [
|
5
|
+
w
|
6
|
+
], y = {
|
7
|
+
__name: "BottomSheet",
|
8
|
+
props: {
|
9
|
+
show: {
|
10
|
+
type: Boolean,
|
11
|
+
default: !1
|
12
|
+
},
|
13
|
+
options: {
|
14
|
+
type: Object,
|
15
|
+
default: {
|
16
|
+
position: !1
|
17
|
+
}
|
18
|
+
}
|
19
|
+
},
|
20
|
+
emits: [
|
21
|
+
"toggle"
|
22
|
+
],
|
23
|
+
setup(k, { emit: p }) {
|
24
|
+
const i = p, r = a(null), o = a(0), l = a(0), s = a(!1);
|
25
|
+
function c(e) {
|
26
|
+
s.value = !0, o.value = e.touches ? e.touches[0].clientY : e.clientY, l.value = o.value;
|
27
|
+
}
|
28
|
+
function d(e) {
|
29
|
+
if (!s.value)
|
30
|
+
return;
|
31
|
+
e.preventDefault(), l.value = e.touches ? e.touches[0].clientY : e.clientY;
|
32
|
+
const t = l.value - o.value;
|
33
|
+
t > 0 && (r.value.style.top = `${t}px`);
|
34
|
+
}
|
35
|
+
function u() {
|
36
|
+
if (!s.value)
|
37
|
+
return;
|
38
|
+
s.value = !1;
|
39
|
+
const e = l.value - o.value, t = window.innerHeight * 0.2;
|
40
|
+
e < t ? r.value.style.top = "" : i("toggle");
|
41
|
+
}
|
42
|
+
return (e, t) => (f(), m(v, {
|
43
|
+
name: "slideY",
|
44
|
+
mode: "out-in"
|
45
|
+
}, {
|
46
|
+
default: h(() => [
|
47
|
+
n("section", {
|
48
|
+
ref_key: "wrapper",
|
49
|
+
ref: r,
|
50
|
+
class: "w-100 h-100vh",
|
51
|
+
style: g(e.MOBILE_APP === "ios" ? "padding-top: 6rem;" : "")
|
52
|
+
}, [
|
53
|
+
n("div", {
|
54
|
+
onClick: t[0] || (t[0] = (Y) => i("toggle")),
|
55
|
+
onMousedown: c,
|
56
|
+
onTouchstart: c,
|
57
|
+
onMousemove: d,
|
58
|
+
onTouchmove: d,
|
59
|
+
onMouseup: u,
|
60
|
+
onTouchend: u,
|
61
|
+
onMouseleave: u,
|
62
|
+
class: "bs-black d-block p-medium pos-relative bg-white flex-center flex uppercase z-index-2"
|
63
|
+
}, b, 32),
|
64
|
+
_(e.$slots, "default")
|
65
|
+
], 4)
|
66
|
+
]),
|
67
|
+
_: 3
|
68
|
+
}));
|
69
|
+
}
|
70
|
+
};
|
71
|
+
export {
|
72
|
+
y as default
|
73
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("../Loader/Loader.vue2.cjs");require("./Button.vue.cjs");const v=["disabled"],b={key:2,class:"t-semi loading t-black"},
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("../Loader/Loader.vue2.cjs");require("./Button.vue.cjs");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,10 +1,10 @@
|
|
1
|
-
import { ref as
|
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
2
|
import w from "../Loader/Loader.vue2.js";
|
3
3
|
import "./Button.vue.js";
|
4
|
-
const
|
4
|
+
const B = ["disabled"], L = { key: 0 }, S = { key: 1 }, T = {
|
5
5
|
key: 2,
|
6
6
|
class: "t-semi loading t-black"
|
7
|
-
},
|
7
|
+
}, _ = {
|
8
8
|
key: 3,
|
9
9
|
class: "error"
|
10
10
|
}, x = {
|
@@ -54,39 +54,40 @@ const L = ["disabled"], S = {
|
|
54
54
|
}
|
55
55
|
},
|
56
56
|
emits: ["error"],
|
57
|
-
setup(e, { emit:
|
58
|
-
const l = e,
|
59
|
-
async function
|
60
|
-
t.value.style["pointer-events"] = "none", a.value = null,
|
61
|
-
const
|
62
|
-
t.value && (t.value.classList.replace("bg-second", "bg-main"), t.value.style.pointerEvents = "auto",
|
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
63
|
};
|
64
64
|
try {
|
65
|
-
await l.submit(), t.value.classList.replace("bg-main", "bg-second"),
|
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
66
|
} catch (d) {
|
67
|
-
|
68
|
-
|
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
69
|
}, 1330);
|
70
70
|
}
|
71
71
|
}
|
72
|
-
return (
|
73
|
-
onClick: y
|
72
|
+
return (c, d) => (o(), s("button", {
|
73
|
+
onClick: h(y, ["stop"]),
|
74
74
|
disabled: e.validation,
|
75
75
|
ref_key: "button",
|
76
76
|
ref: t,
|
77
77
|
class: "button"
|
78
78
|
}, [
|
79
|
-
|
80
|
-
default:
|
81
|
-
!
|
82
|
-
|
83
|
-
|
84
|
-
|
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)
|
85
86
|
]),
|
86
87
|
_: 3
|
87
88
|
}),
|
88
|
-
e.counter ? (
|
89
|
-
], 8,
|
89
|
+
e.counter ? (o(), s("p", x, i(e.counter), 1)) : b("", !0)
|
90
|
+
], 8, B));
|
90
91
|
}
|
91
92
|
};
|
92
93
|
export {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1,27 +1 @@
|
|
1
|
-
|
2
|
-
import "./Chips.vue2.js";
|
3
|
-
import p from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const u = { class: "t-trimmed font-main" }, h = { class: "font-main t-truncate" }, _ = {
|
5
|
-
key: 1,
|
6
|
-
class: "pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-semi bg-white"
|
7
|
-
}, f = {
|
8
|
-
__name: "Chips",
|
9
|
-
props: ["chips"],
|
10
|
-
setup(n) {
|
11
|
-
return (i, b) => {
|
12
|
-
var r;
|
13
|
-
return t(), e("div", u, [
|
14
|
-
(r = n.chips) != null && r.length ? (t(!0), e(a, { key: 0 }, o(n.chips, (s, g) => (t(), e("span", {
|
15
|
-
class: d([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"])
|
16
|
-
}, [
|
17
|
-
m("span", h, c(s.text ? s.text : s), 1)
|
18
|
-
], 2))), 256)) : (t(), e("div", _, [
|
19
|
-
l(i.$slots, "default", {}, void 0, !0)
|
20
|
-
]))
|
21
|
-
]);
|
22
|
-
};
|
23
|
-
}
|
24
|
-
}, y = /* @__PURE__ */ p(f, [["__scopeId", "data-v-20cd2675"]]);
|
25
|
-
export {
|
26
|
-
y as default
|
27
|
-
};
|
1
|
+
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Chips.vue.cjs");const i=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),l={class:"t-trimmed font-main"},o={class:"font-main t-truncate"},a={key:1,class:"pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-semi bg-white"},c={__name:"Chips",props:["chips"],setup(n){return(s,m)=>{var r;return e.openBlock(),e.createElementBlock("div",l,[(r=n.chips)!=null&&r.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.chips,(t,u)=>(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",o,e.toDisplayString(t.text?t.text:t),1)],2))),256)):(e.openBlock(),e.createElementBlock("div",a,[e.renderSlot(s.$slots,"default",{},void 0,!0)]))])}}},d=i.default(c,[["__scopeId","data-v-20cd2675"]]);exports.default=d;
|
@@ -1 +1,27 @@
|
|
1
|
-
|
1
|
+
import { openBlock as t, createElementBlock as e, Fragment as a, renderList as o, normalizeClass as d, createElementVNode as m, toDisplayString as c, renderSlot as l } from "vue";
|
2
|
+
import "./Chips.vue.js";
|
3
|
+
import p from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const u = { class: "t-trimmed font-main" }, h = { class: "font-main t-truncate" }, _ = {
|
5
|
+
key: 1,
|
6
|
+
class: "pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-semi bg-white"
|
7
|
+
}, f = {
|
8
|
+
__name: "Chips",
|
9
|
+
props: ["chips"],
|
10
|
+
setup(n) {
|
11
|
+
return (i, b) => {
|
12
|
+
var r;
|
13
|
+
return t(), e("div", u, [
|
14
|
+
(r = n.chips) != null && r.length ? (t(!0), e(a, { key: 0 }, o(n.chips, (s, g) => (t(), e("span", {
|
15
|
+
class: d([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"])
|
16
|
+
}, [
|
17
|
+
m("span", h, c(s.text ? s.text : s), 1)
|
18
|
+
], 2))), 256)) : (t(), e("div", _, [
|
19
|
+
l(i.$slots, "default", {}, void 0, !0)
|
20
|
+
]))
|
21
|
+
]);
|
22
|
+
};
|
23
|
+
}
|
24
|
+
}, y = /* @__PURE__ */ p(f, [["__scopeId", "data-v-20cd2675"]]);
|
25
|
+
export {
|
26
|
+
y as default
|
27
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1,58 +1 @@
|
|
1
|
-
|
2
|
-
import D from "../FieldPhone/click-outside.js";
|
3
|
-
import "./Dropdown.vue2.js";
|
4
|
-
import B from "../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
-
const T = {
|
6
|
-
key: 0,
|
7
|
-
class: "w-100 h-100 flex-center flex"
|
8
|
-
}, j = { key: 1 }, E = {
|
9
|
-
__name: "Dropdown",
|
10
|
-
props: {
|
11
|
-
label: {
|
12
|
-
type: [String, Object],
|
13
|
-
default: "Open"
|
14
|
-
},
|
15
|
-
align: {
|
16
|
-
type: String,
|
17
|
-
default: "left"
|
18
|
-
}
|
19
|
-
},
|
20
|
-
setup(e) {
|
21
|
-
let i = D;
|
22
|
-
const s = e, t = u(!1), r = f(() => typeof s.label == "object");
|
23
|
-
function c() {
|
24
|
-
t.value = !1;
|
25
|
-
}
|
26
|
-
return (d, n) => a((l(), o("div", {
|
27
|
-
class: "dropdown pos-relative",
|
28
|
-
onClick: n[0] || (n[0] = m((N) => t.value = !t.value, ["stop"]))
|
29
|
-
}, [
|
30
|
-
r.value ? (l(), o("div", T, [
|
31
|
-
(l(), p(v(e.label.component), b(e.label.props, {
|
32
|
-
class: e.label.class
|
33
|
-
}), null, 16, ["class"]))
|
34
|
-
])) : (l(), o("div", j, g(e.label), 1)),
|
35
|
-
k(w, {
|
36
|
-
name: "TransitionTranslateY",
|
37
|
-
mode: "out-in"
|
38
|
-
}, {
|
39
|
-
default: y(() => [
|
40
|
-
a(h("div", {
|
41
|
-
style: O({ left: e.align === "left" ? "0" : "auto", right: e.align === "right" ? "0" : "auto" }),
|
42
|
-
class: "dropdown-content radius-big"
|
43
|
-
}, [
|
44
|
-
S(d.$slots, "default", {}, void 0, !0)
|
45
|
-
], 4), [
|
46
|
-
[x, t.value]
|
47
|
-
])
|
48
|
-
]),
|
49
|
-
_: 3
|
50
|
-
})
|
51
|
-
])), [
|
52
|
-
[C(i), c]
|
53
|
-
]);
|
54
|
-
}
|
55
|
-
}, L = /* @__PURE__ */ B(E, [["__scopeId", "data-v-96fe1329"]]);
|
56
|
-
export {
|
57
|
-
L as default
|
58
|
-
};
|
1
|
+
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../FieldPhone/click-outside.cjs");require("./Dropdown.vue.cjs");const u=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),d={key:0,class:"w-100 h-100 flex-center flex"},f={key:1},p={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(t){let n=c.default;const i=t,l=e.ref(!1),a=e.computed(()=>typeof i.label=="object");function s(){l.value=!1}return(r,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"dropdown pos-relative",onClick:o[0]||(o[0]=e.withModifiers(m=>l.value=!l.value,["stop"]))},[a.value?(e.openBlock(),e.createElementBlock("div",d,[(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",f,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(r.$slots,"default",{},void 0,!0)],4),[[e.vShow,l.value]])]),_:3})])),[[e.unref(n),s]])}},v=u.default(p,[["__scopeId","data-v-96fe1329"]]);exports.default=v;
|