@ozdao/prometheus-framework 0.2.38 → 0.2.40
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +1 -2
- package/dist/auth.server.mjs +1 -2
- package/dist/files.server.js +1 -2
- package/dist/files.server.mjs +1 -2
- package/dist/globals.server.js +1 -1
- package/dist/globals.server.mjs +1 -1
- package/dist/mailing-10560277.mjs +78 -0
- package/dist/mailing-902d13d5.js +77 -0
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +225 -2
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +2 -225
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +61 -2
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +2 -61
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +13 -9
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +26 -22
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +29 -30
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +76 -2
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -76
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -70
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +95 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -95
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +69 -0
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +44 -2
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +2 -44
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +10 -7
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +18 -15
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +16 -13
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +23 -20
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +8 -8
- package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.js +18 -20
- 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 +88 -62
- 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 +97 -68
- 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 +35 -34
- 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 +18 -18
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +4 -4
- 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 +65 -19
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +8 -7
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +6 -6
- 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 +65 -2
- 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 +2 -65
- 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 +64 -70
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.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 +5 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +6 -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 +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
- 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 +43 -42
- package/dist/prometheus-framework/src/modules/icons/entities/IconFeatured.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFeatured.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFollowing.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFollowing.vue.js +47 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPopular.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPopular.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconRecent.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconRecent.vue.js +45 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconArrow.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconArrow.vue.js +32 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEdit.vue.js +25 -14
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEllipsis.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEllipsis.vue.js +44 -0
- 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 +90 -67
- 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/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +2 -2
- 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 +45 -42
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.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 +6 -6
- 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/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- 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 +60 -55
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.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 +18 -17
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +20 -21
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +7 -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 +2 -2
- 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/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/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- 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 +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
- 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/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- 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 +37 -34
- 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 +23 -23
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +8 -8
- 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 +6 -6
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +31 -30
- package/dist/prometheus-framework.cjs.js +20 -20
- package/dist/prometheus-framework.es.js +1003 -999
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Button/Button.vue +2 -3
- package/src/components/Chips/Chips.vue +9 -3
- package/src/components/Dropdown/Dropdown.vue +9 -3
- package/src/components/Feed/Feed.vue +7 -11
- package/src/components/Feed/Masonry.vue +177 -0
- package/src/components/FieldBig/FieldBig.vue +3 -3
- package/src/components/LocationSelection/LocationSelection.vue +1 -1
- package/src/components/Navigation/Navigation.vue +2 -0
- package/src/components/Shader/Shader.vue +161 -116
- package/src/components/Slider/Slider.vue +92 -0
- package/src/modules/applications/applications.client.js +2 -0
- package/src/modules/applications/components/sections/SubscribeNewsletter.vue +114 -0
- package/src/modules/applications/controllers/applications.controller.js +125 -136
- package/src/modules/applications/models/application.model.js +22 -7
- package/src/modules/applications/routes/applications.routes.js +29 -13
- package/src/modules/auth/components/pages/EnterCode.vue +4 -1
- package/src/modules/auth/components/pages/EnterPassword.vue +4 -1
- package/src/modules/auth/components/pages/ResetPassword.vue +4 -1
- package/src/modules/auth/components/pages/SignUp.vue +4 -1
- package/src/modules/auth/controllers/auth.controller.js +2 -3
- package/src/modules/auth/localization/SignUp.json +1 -1
- package/src/modules/auth/store/auth.js +3 -5
- package/src/modules/chats/components/blocks/ChatMessage.vue +3 -2
- package/src/modules/chats/components/pages/ChatPage.vue +6 -6
- package/src/modules/chats/components/sections/ChatWindow.vue +57 -12
- package/src/modules/chats/store/chat.store.js +6 -1
- package/src/modules/community/community.client.js +0 -2
- package/src/modules/community/components/blocks/CardBlogpost.vue +71 -33
- package/src/modules/community/components/layouts/Community.vue +63 -24
- package/src/modules/community/components/pages/Blog.vue +37 -0
- package/src/modules/community/components/pages/BlogPost.vue +5 -6
- package/src/modules/community/components/pages/Community.vue +1 -0
- package/src/modules/community/components/sections/Feed.vue +1 -1
- package/src/modules/community/components/sections/HotPosts.vue +64 -24
- package/src/modules/community/components/sections/JoinUs.vue +4 -5
- package/src/modules/community/store/blogposts.js +1 -0
- package/src/modules/constructor/components/elements/Embed.vue +7 -6
- package/src/modules/constructor/components/elements/Image.vue +2 -2
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +2 -18
- package/src/modules/files/middlewares/server/middlewareBusboy.js +1 -1
- package/src/modules/files/routes/files.routes.js +9 -1
- package/src/modules/globals/components/blocks/CardHeader.vue +6 -3
- package/src/modules/globals/utils/mailing.js +12 -0
- package/src/modules/icons/entities/IconEarn.vue +20 -0
- package/src/modules/icons/entities/IconFeatured.vue +14 -0
- package/src/modules/icons/entities/IconFollowing.vue +17 -0
- package/src/modules/icons/entities/IconPopular.vue +14 -0
- package/src/modules/icons/entities/IconRecent.vue +17 -0
- package/src/modules/icons/navigation/IconAdd.vue +1 -3
- package/src/modules/icons/navigation/IconArrow.vue +21 -0
- package/src/modules/icons/navigation/IconCheckmark.vue +16 -0
- package/src/modules/icons/navigation/IconChevronRight.vue +2 -2
- package/src/modules/icons/navigation/IconEdit.vue +16 -2
- package/src/modules/icons/navigation/IconEllipsis.vue +16 -0
- package/src/modules/icons/placeholders/PlaceholderChat.vue +9 -0
- package/src/modules/landing/components/sections/MobileApp.vue +38 -21
- package/src/modules/landing/components/sections/SectionEarn.vue +104 -0
- package/src/modules/landing/components/sections/SectionFeatures.vue +80 -0
- package/src/modules/landing/components/sections/{Guide.vue → SectionGuide.vue} +1 -1
- package/src/modules/landing/components/sections/SectionHeroToken.vue +138 -0
- package/src/modules/landing/components/sections/SectionRoadmap.vue +108 -0
- package/src/modules/marketplace/components/layouts/Marketplace.vue +2 -2
- package/src/modules/orders/components/blocks/StatusHistory.vue +7 -1
- package/src/modules/orders/components/pages/Order.vue +3 -4
- package/src/modules/organizations/components/blocks/CardOrganization.vue +6 -6
- package/src/modules/organizations/components/pages/Organization.vue +1 -1
- package/src/modules/organizations/components/sections/DetailsTab.vue +42 -43
- package/src/modules/organizations/components/sections/Publics.vue +3 -4
- package/src/modules/products/components/sections/HeroRecommendation.vue +9 -170
- package/src/modules/products/components/sections/MenuSection.vue +4 -4
- package/src/modules/products/components/sections/PopularProducts.vue +3 -3
- package/src/modules/spots/components/layouts/Spots.vue +2 -2
- package/src/modules/wallet/components/pages/Wallet.vue +1 -1
- package/src/styles/base/all.scss +4 -0
- package/src/styles/base/backgrounds.scss +2 -2
- package/src/styles/base/shadow_transitions_hover_refactor.scss +11 -1
- package/src/styles/typography.scss +19 -12
- package/src/modules/community/components/sections/SubscribeNewsletter.vue +0 -67
- package/src/modules/constructor/components/elements/Youtube.vue +0 -52
- package/src/modules/landing/components/sections/HeroGovernance.vue +0 -156
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../FieldPhone/click-outside.cjs");require("./Dropdown.vue2.cjs");const u=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),d={key:0},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),{class:e.normalizeClass(t.label.class)},null,8,["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 w-15r 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-542fc6b9"]]);exports.default=v;
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { ref as
|
2
|
-
import
|
1
|
+
import { ref as u, computed as f, withDirectives as i, openBlock as o, createElementBlock as l, withModifiers as m, createBlock as p, resolveDynamicComponent as v, normalizeClass as b, toDisplayString as g, createVNode as k, Transition as w, withCtx as y, createElementVNode as h, normalizeStyle as C, renderSlot as O, vShow as S, unref as D } from "vue";
|
2
|
+
import x from "../FieldPhone/click-outside.js";
|
3
3
|
import "./Dropdown.vue2.js";
|
4
|
-
import
|
5
|
-
const
|
4
|
+
import B from "../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
+
const T = { key: 0 }, j = { key: 1 }, z = {
|
6
6
|
__name: "Dropdown",
|
7
7
|
props: {
|
8
8
|
label: {
|
9
|
-
type: String,
|
9
|
+
type: [String, Object],
|
10
10
|
default: "Open"
|
11
11
|
},
|
12
12
|
align: {
|
@@ -14,38 +14,42 @@ const b = {
|
|
14
14
|
default: "left"
|
15
15
|
}
|
16
16
|
},
|
17
|
-
setup(
|
18
|
-
let
|
19
|
-
const e =
|
20
|
-
function
|
21
|
-
|
17
|
+
setup(e) {
|
18
|
+
let a = x;
|
19
|
+
const s = e, t = u(!1), r = f(() => typeof s.label == "object");
|
20
|
+
function c() {
|
21
|
+
t.value = !1;
|
22
22
|
}
|
23
|
-
return (
|
23
|
+
return (d, n) => i((o(), l("div", {
|
24
24
|
class: "dropdown pos-relative",
|
25
|
-
onClick:
|
25
|
+
onClick: n[0] || (n[0] = m((E) => t.value = !t.value, ["stop"]))
|
26
26
|
}, [
|
27
|
-
|
28
|
-
|
27
|
+
r.value ? (o(), l("div", T, [
|
28
|
+
(o(), p(v(e.label.component), {
|
29
|
+
class: b(e.label.class)
|
30
|
+
}, null, 8, ["class"]))
|
31
|
+
])) : (o(), l("div", j, g(e.label), 1)),
|
32
|
+
k(w, {
|
29
33
|
name: "TransitionTranslateY",
|
30
34
|
mode: "out-in"
|
31
35
|
}, {
|
32
|
-
default:
|
33
|
-
i(
|
34
|
-
style:
|
36
|
+
default: y(() => [
|
37
|
+
i(h("div", {
|
38
|
+
style: C({ left: e.align === "left" ? "0" : "auto", right: e.align === "right" ? "0" : "auto" }),
|
35
39
|
class: "dropdown-content w-15r radius-big"
|
36
40
|
}, [
|
37
|
-
|
41
|
+
O(d.$slots, "default", {}, void 0, !0)
|
38
42
|
], 4), [
|
39
|
-
[S,
|
43
|
+
[S, t.value]
|
40
44
|
])
|
41
45
|
]),
|
42
46
|
_: 3
|
43
47
|
})
|
44
48
|
])), [
|
45
|
-
[
|
49
|
+
[D(a), c]
|
46
50
|
]);
|
47
51
|
}
|
48
|
-
},
|
52
|
+
}, I = /* @__PURE__ */ B(z, [["__scopeId", "data-v-542fc6b9"]]);
|
49
53
|
export {
|
50
|
-
|
54
|
+
I as default
|
51
55
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");require("../Loader/Loader.vue.cjs");const f=require("../EmptyState/EmptyState.vue.cjs");require("vue-i18n");const v={__name:"Feed",props:{states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null,contain:null})}},setup(
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");require("../Loader/Loader.vue.cjs");const f=require("../EmptyState/EmptyState.vue.cjs");require("vue-i18n");const v={__name:"Feed",props:{showLoadMore:{type:Boolean,default:!0},states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null,contain:null})}},setup(i){const a=i,n=e.ref([]),l=e.ref(!1);let r=e.ref(!0),u=e.ref(a.options.skip?a.options.skip:0),o=e.ref(a.options.limit?a.options.limit:10);const d=async()=>{if(l.value){u.value+=o.value;const t=await a.store.read({skip:u.value,limit:o.value,...a.options});t.length===0||t.length<o.value?l.value=!1:l.value=!0,n.value=[...n.value,...t]}},c=async()=>{const t=await a.store.read({skip:u.value,limit:o.value,...a.options});t.length===0||t.length<o.value?l.value=!1:l.value=!0,console.log(t),n.value=t,r.value=!1};return e.watch(()=>a.options,(t,s)=>{(t.organization!==s.organization||t.categories!==s.categories||t.prices!==s.prices||t.delivery!==s.delivery)&&c()},{deep:!0}),e.onMounted(async()=>{await c()}),(t,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(r)?(e.openBlock(),e.createBlock(e.TransitionGroup,{key:0,tag:"ul",name:"scaleTransition",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[e.unref(r)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(o),m=>(e.openBlock(),e.createBlock(p.default,{key:m}))),128)):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(r)&&n.value.length<1?(e.openBlock(),e.createBlock(f.default,{key:0,title:i.states.empty.title,description:i.states.empty.description,class:"pd-medium mn-b-thin bg-grey radius-big"},null,8,["title","description"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:e.normalizeClass(t.$attrs.class)},{default:e.withCtx(()=>[!e.unref(r)&&n.value.length>0?e.renderSlot(t.$slots,"default",{key:0,items:n.value,user:t.user}):e.createCommentVNode("",!0)]),_:3},8,["class"]),i.showLoadMore&&l.value&&n.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d,class:"w-100 bg-main button"}," Load more ")):e.createCommentVNode("",!0)],64))}};exports.default=v;
|
@@ -1,11 +1,15 @@
|
|
1
|
-
import { ref as
|
2
|
-
import
|
1
|
+
import { ref as r, watch as w, onMounted as M, openBlock as i, createElementBlock as d, Fragment as y, unref as u, createBlock as f, TransitionGroup as k, withCtx as v, renderList as S, createCommentVNode as c, createVNode as h, Transition as T, normalizeClass as j, renderSlot as B } from "vue";
|
2
|
+
import C from "../../modules/icons/skeletons/SkeletonEvent.vue.js";
|
3
3
|
import "../Loader/Loader.vue.js";
|
4
|
-
import
|
4
|
+
import O from "../EmptyState/EmptyState.vue.js";
|
5
5
|
import "vue-i18n";
|
6
6
|
const N = {
|
7
7
|
__name: "Feed",
|
8
8
|
props: {
|
9
|
+
showLoadMore: {
|
10
|
+
type: Boolean,
|
11
|
+
default: !0
|
12
|
+
},
|
9
13
|
states: {
|
10
14
|
type: Object,
|
11
15
|
default: () => ({
|
@@ -38,50 +42,45 @@ const N = {
|
|
38
42
|
}
|
39
43
|
},
|
40
44
|
setup(m) {
|
41
|
-
const t = m,
|
42
|
-
let n =
|
43
|
-
S(() => ({
|
44
|
-
skip: p.value,
|
45
|
-
limit: s.value,
|
46
|
-
...t.options
|
47
|
-
}));
|
45
|
+
const t = m, s = r([]), a = r(!1);
|
46
|
+
let n = r(!0), p = r(t.options.skip ? t.options.skip : 0), l = r(t.options.limit ? t.options.limit : 10);
|
48
47
|
const b = async () => {
|
49
48
|
if (a.value) {
|
50
|
-
p.value +=
|
49
|
+
p.value += l.value;
|
51
50
|
const e = await t.store.read({
|
52
51
|
skip: p.value,
|
53
|
-
limit:
|
52
|
+
limit: l.value,
|
54
53
|
...t.options
|
55
54
|
});
|
56
|
-
e.length === 0 || e.length <
|
55
|
+
e.length === 0 || e.length < l.value ? a.value = !1 : a.value = !0, s.value = [...s.value, ...e];
|
57
56
|
}
|
58
57
|
}, g = async () => {
|
59
58
|
const e = await t.store.read({
|
60
59
|
skip: p.value,
|
61
|
-
limit:
|
60
|
+
limit: l.value,
|
62
61
|
...t.options
|
63
62
|
});
|
64
|
-
e.length === 0 || e.length <
|
63
|
+
e.length === 0 || e.length < l.value ? a.value = !1 : a.value = !0, console.log(e), s.value = e, n.value = !1;
|
65
64
|
};
|
66
|
-
return
|
67
|
-
(e.organization !==
|
68
|
-
}, { deep: !0 }),
|
65
|
+
return w(() => t.options, (e, o) => {
|
66
|
+
(e.organization !== o.organization || e.categories !== o.categories || e.prices !== o.prices || e.delivery !== o.delivery) && g();
|
67
|
+
}, { deep: !0 }), M(async () => {
|
69
68
|
await g();
|
70
|
-
}), (e,
|
71
|
-
u(n) ? (
|
69
|
+
}), (e, o) => (i(), d(y, null, [
|
70
|
+
u(n) ? (i(), f(k, {
|
72
71
|
key: 0,
|
73
72
|
tag: "ul",
|
74
73
|
name: "scaleTransition",
|
75
74
|
class: "o-hidden bg-grey radius-big"
|
76
75
|
}, {
|
77
|
-
default:
|
78
|
-
u(n) ? (
|
76
|
+
default: v(() => [
|
77
|
+
u(n) ? (i(!0), d(y, { key: 0 }, S(u(l), (L) => (i(), f(C, { key: L }))), 128)) : c("", !0)
|
79
78
|
]),
|
80
79
|
_: 1
|
81
80
|
})) : c("", !0),
|
82
|
-
h(
|
83
|
-
default:
|
84
|
-
!u(n) &&
|
81
|
+
h(T, { name: "scaleTransition" }, {
|
82
|
+
default: v(() => [
|
83
|
+
!u(n) && s.value.length < 1 ? (i(), f(O, {
|
85
84
|
key: 0,
|
86
85
|
title: m.states.empty.title,
|
87
86
|
description: m.states.empty.description,
|
@@ -93,18 +92,18 @@ const N = {
|
|
93
92
|
h(k, {
|
94
93
|
tag: "ul",
|
95
94
|
name: "scaleTransition",
|
96
|
-
class:
|
95
|
+
class: j(e.$attrs.class)
|
97
96
|
}, {
|
98
|
-
default:
|
99
|
-
!u(n) &&
|
97
|
+
default: v(() => [
|
98
|
+
!u(n) && s.value.length > 0 ? B(e.$slots, "default", {
|
100
99
|
key: 0,
|
101
|
-
items:
|
100
|
+
items: s.value,
|
102
101
|
user: e.user
|
103
102
|
}) : c("", !0)
|
104
103
|
]),
|
105
104
|
_: 3
|
106
105
|
}, 8, ["class"]),
|
107
|
-
a.value &&
|
106
|
+
m.showLoadMore && a.value && s.value.length > 0 ? (i(), d("button", {
|
108
107
|
key: 1,
|
109
108
|
onClick: b,
|
110
109
|
class: "w-100 bg-main button"
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Field.vue2.cjs");const u=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),r={key:0,class:"t-transp mn-r-small"},c={class:"w-100"},m=["type","value","placeholder","tabindex"],f=["value","placeholder","tabindex"],b={key:1,class:"t-transp mn-l-small"},v={key:0,class:"mn-t-thin mn-b-thin mn-b-thin invalid-feedback"},k={__name:"Field",props:{label:null,symbol:null,type:"text",placeholder:"Enter something here",field:null,validation:!1,disabled:!1,tabindex:-1},emits:["update:field","focus","blur"],setup(t,{emit:i}){const a=i,s=t,o=e.ref(s.field);return(d,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass([[d.$attrs.class,{"bg-fourth-nano":t.validation}],"flex-center flex-nowrap flex"])},[t.label?(e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("span",null,e.toDisplayString(t.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",c,[t.type!=="textarea"?(e.openBlock(),e.createElementBlock("input",{key:0,onInput:l[0]||(l[0]=n=>o.value=a("update:field",n.target.value)),onFocus:l[1]||(l[1]=n=>a("focus",n)),onBlur:l[2]||(l[2]=n=>a("blur",n)),type:t.type,class:"w-100",value:t.field,placeholder:t.placeholder,tabindex:t.tabindex},null,40,m)):(e.openBlock(),e.createElementBlock("textarea",{key:1,onInput:l[3]||(l[3]=n=>o.value=a("update:field",n.target.value)),onFocus:l[4]||(l[4]=n=>a("focus",n)),onBlur:l[5]||(l[5]=n=>a("blur",n)),class:"w-100",value:t.field,placeholder:t.placeholder,tabindex:t.tabindex},null,40,f))]),e.renderSlot(d.$slots,"default",{},void 0,!0),t.symbol?(e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("span",null,e.toDisplayString(t.symbol),1)])):e.createCommentVNode("",!0)],2),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[t.validation?(e.openBlock(),e.createElementBlock("div",v," * "+e.toDisplayString(t.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64))}},y=u.default(k,[["__scopeId","data-v-5e69d3c2"]]);exports.default=y;
|
@@ -1,4 +1,78 @@
|
|
1
|
-
|
1
|
+
import { ref as f, openBlock as a, createElementBlock as d, Fragment as b, createElementVNode as i, normalizeClass as c, toDisplayString as o, createCommentVNode as s, renderSlot as v, createVNode as x, Transition as y, withCtx as h } from "vue";
|
2
|
+
import "./Field.vue2.js";
|
3
|
+
import k from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const p = {
|
5
|
+
key: 0,
|
6
|
+
class: "t-transp mn-r-small"
|
7
|
+
}, g = { class: "w-100" }, w = ["type", "value", "placeholder", "tabindex"], F = ["value", "placeholder", "tabindex"], B = {
|
8
|
+
key: 1,
|
9
|
+
class: "t-transp mn-l-small"
|
10
|
+
}, C = {
|
11
|
+
key: 0,
|
12
|
+
class: "mn-t-thin mn-b-thin mn-b-thin invalid-feedback"
|
13
|
+
}, E = {
|
14
|
+
__name: "Field",
|
15
|
+
props: {
|
16
|
+
label: null,
|
17
|
+
symbol: null,
|
18
|
+
type: "text",
|
19
|
+
placeholder: "Enter something here",
|
20
|
+
field: null,
|
21
|
+
validation: !1,
|
22
|
+
disabled: !1,
|
23
|
+
tabindex: -1
|
24
|
+
},
|
25
|
+
emits: ["update:field", "focus", "blur"],
|
26
|
+
setup(e, { emit: m }) {
|
27
|
+
const n = m, u = f(e.field);
|
28
|
+
return (r, t) => (a(), d(b, null, [
|
29
|
+
i("div", {
|
30
|
+
class: c([[
|
31
|
+
r.$attrs.class,
|
32
|
+
{
|
33
|
+
"bg-fourth-nano": e.validation
|
34
|
+
}
|
35
|
+
], "flex-center flex-nowrap flex"])
|
36
|
+
}, [
|
37
|
+
e.label ? (a(), d("div", p, [
|
38
|
+
i("span", null, o(e.label), 1)
|
39
|
+
])) : s("", !0),
|
40
|
+
i("div", g, [
|
41
|
+
e.type !== "textarea" ? (a(), d("input", {
|
42
|
+
key: 0,
|
43
|
+
onInput: t[0] || (t[0] = (l) => u.value = n("update:field", l.target.value)),
|
44
|
+
onFocus: t[1] || (t[1] = (l) => n("focus", l)),
|
45
|
+
onBlur: t[2] || (t[2] = (l) => n("blur", l)),
|
46
|
+
type: e.type,
|
47
|
+
class: "w-100",
|
48
|
+
value: e.field,
|
49
|
+
placeholder: e.placeholder,
|
50
|
+
tabindex: e.tabindex
|
51
|
+
}, null, 40, w)) : (a(), d("textarea", {
|
52
|
+
key: 1,
|
53
|
+
onInput: t[3] || (t[3] = (l) => u.value = n("update:field", l.target.value)),
|
54
|
+
onFocus: t[4] || (t[4] = (l) => n("focus", l)),
|
55
|
+
onBlur: t[5] || (t[5] = (l) => n("blur", l)),
|
56
|
+
class: "w-100",
|
57
|
+
value: e.field,
|
58
|
+
placeholder: e.placeholder,
|
59
|
+
tabindex: e.tabindex
|
60
|
+
}, null, 40, F))
|
61
|
+
]),
|
62
|
+
v(r.$slots, "default", {}, void 0, !0),
|
63
|
+
e.symbol ? (a(), d("div", B, [
|
64
|
+
i("span", null, o(e.symbol), 1)
|
65
|
+
])) : s("", !0)
|
66
|
+
], 2),
|
67
|
+
x(y, { name: "fade" }, {
|
68
|
+
default: h(() => [
|
69
|
+
e.validation ? (a(), d("div", C, " * " + o(e.validation.message), 1)) : s("", !0)
|
70
|
+
]),
|
71
|
+
_: 1
|
72
|
+
})
|
73
|
+
], 64));
|
74
|
+
}
|
75
|
+
}, $ = /* @__PURE__ */ k(E, [["__scopeId", "data-v-5e69d3c2"]]);
|
2
76
|
export {
|
3
|
-
|
77
|
+
$ as default
|
4
78
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
|
@@ -1,78 +1,4 @@
|
|
1
|
-
|
2
|
-
import "./Field.vue.js";
|
3
|
-
import k from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const p = {
|
5
|
-
key: 0,
|
6
|
-
class: "t-transp mn-r-small"
|
7
|
-
}, g = { class: "w-100" }, w = ["type", "value", "placeholder", "tabindex"], F = ["value", "placeholder", "tabindex"], B = {
|
8
|
-
key: 1,
|
9
|
-
class: "t-transp mn-l-small"
|
10
|
-
}, C = {
|
11
|
-
key: 0,
|
12
|
-
class: "mn-t-thin mn-b-thin mn-b-thin invalid-feedback"
|
13
|
-
}, E = {
|
14
|
-
__name: "Field",
|
15
|
-
props: {
|
16
|
-
label: null,
|
17
|
-
symbol: null,
|
18
|
-
type: "text",
|
19
|
-
placeholder: "Enter something here",
|
20
|
-
field: null,
|
21
|
-
validation: !1,
|
22
|
-
disabled: !1,
|
23
|
-
tabindex: -1
|
24
|
-
},
|
25
|
-
emits: ["update:field", "focus", "blur"],
|
26
|
-
setup(e, { emit: m }) {
|
27
|
-
const n = m, u = f(e.field);
|
28
|
-
return (r, t) => (a(), d(b, null, [
|
29
|
-
i("div", {
|
30
|
-
class: c([[
|
31
|
-
r.$attrs.class,
|
32
|
-
{
|
33
|
-
"bg-fourth-nano": e.validation
|
34
|
-
}
|
35
|
-
], "flex-center flex-nowrap flex"])
|
36
|
-
}, [
|
37
|
-
e.label ? (a(), d("div", p, [
|
38
|
-
i("span", null, o(e.label), 1)
|
39
|
-
])) : s("", !0),
|
40
|
-
i("div", g, [
|
41
|
-
e.type !== "textarea" ? (a(), d("input", {
|
42
|
-
key: 0,
|
43
|
-
onInput: t[0] || (t[0] = (l) => u.value = n("update:field", l.target.value)),
|
44
|
-
onFocus: t[1] || (t[1] = (l) => n("focus", l)),
|
45
|
-
onBlur: t[2] || (t[2] = (l) => n("blur", l)),
|
46
|
-
type: e.type,
|
47
|
-
class: "w-100",
|
48
|
-
value: e.field,
|
49
|
-
placeholder: e.placeholder,
|
50
|
-
tabindex: e.tabindex
|
51
|
-
}, null, 40, w)) : (a(), d("textarea", {
|
52
|
-
key: 1,
|
53
|
-
onInput: t[3] || (t[3] = (l) => u.value = n("update:field", l.target.value)),
|
54
|
-
onFocus: t[4] || (t[4] = (l) => n("focus", l)),
|
55
|
-
onBlur: t[5] || (t[5] = (l) => n("blur", l)),
|
56
|
-
class: "w-100",
|
57
|
-
value: e.field,
|
58
|
-
placeholder: e.placeholder,
|
59
|
-
tabindex: e.tabindex
|
60
|
-
}, null, 40, F))
|
61
|
-
]),
|
62
|
-
v(r.$slots, "default", {}, void 0, !0),
|
63
|
-
e.symbol ? (a(), d("div", B, [
|
64
|
-
i("span", null, o(e.symbol), 1)
|
65
|
-
])) : s("", !0)
|
66
|
-
], 2),
|
67
|
-
x(y, { name: "fade" }, {
|
68
|
-
default: h(() => [
|
69
|
-
e.validation ? (a(), d("div", C, " * " + o(e.validation.message), 1)) : s("", !0)
|
70
|
-
]),
|
71
|
-
_: 1
|
72
|
-
})
|
73
|
-
], 64));
|
74
|
-
}
|
75
|
-
}, $ = /* @__PURE__ */ k(E, [["__scopeId", "data-v-5e69d3c2"]]);
|
1
|
+
const e = "";
|
76
2
|
export {
|
77
|
-
|
3
|
+
e as default
|
78
4
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),c=require("vue-i18n"),d=require("../../modules/icons/navigation/IconCross.vue.cjs");require("./Popup.vue2.cjs");const m={key:"popup-content",class:"pd-small popup-wrapper"},v={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(o,{emit:l}){const u=o,a=l;function n(){a("close-popup")}e.watch(()=>u.isPopupOpen,t=>{t?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const i={messages:{en:{},ru:{}}};return c.useI18n(i),(t,s)=>o.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[e.createVNode(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[o.isPopupOpen?(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[o.isPopupOpen?(e.openBlock(),e.createElementBlock("section",e.mergeProps({key:0,class:"pos-relative z-index-4"},t.$attrs),[e.createVNode(d.default,{onClick:s[0]||(s[0]=p=>n()),class:"cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"}),e.renderSlot(t.$slots,"default")],16)):e.createCommentVNode("",!0)]),_:3}),e.createElementVNode("div",{onClick:s[1]||(s[1]=p=>n()),class:e.normalizeClass([{active:o.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):e.createCommentVNode("",!0)]),_:3})])):e.createCommentVNode("",!0)}};exports.default=v;
|
@@ -1,4 +1,72 @@
|
|
1
|
-
|
1
|
+
import { watch as f, openBlock as s, createBlock as v, Teleport as y, createVNode as n, Transition as l, withCtx as i, createElementBlock as a, mergeProps as P, renderSlot as k, createCommentVNode as r, createElementVNode as x, normalizeClass as C } from "vue";
|
2
|
+
import { useRoute as O, useRouter as T } from "vue-router";
|
3
|
+
import { useI18n as b } from "vue-i18n";
|
4
|
+
import g from "../../modules/icons/navigation/IconCross.vue.js";
|
5
|
+
import "./Popup.vue2.js";
|
6
|
+
const z = {
|
7
|
+
key: "popup-content",
|
8
|
+
class: "pd-small popup-wrapper"
|
9
|
+
}, I = {
|
10
|
+
__name: "Popup",
|
11
|
+
props: {
|
12
|
+
isPopupOpen: {
|
13
|
+
type: Boolean,
|
14
|
+
default: !1
|
15
|
+
},
|
16
|
+
style: String
|
17
|
+
},
|
18
|
+
emits: ["close-popup"],
|
19
|
+
setup(e, { emit: u }) {
|
20
|
+
const m = e, c = u;
|
21
|
+
function p() {
|
22
|
+
c("close-popup");
|
23
|
+
}
|
24
|
+
return f(() => m.isPopupOpen, (o) => {
|
25
|
+
o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
|
26
|
+
}), O(), T(), b({
|
27
|
+
messages: {
|
28
|
+
en: {},
|
29
|
+
ru: {}
|
30
|
+
}
|
31
|
+
}), (o, t) => e.isPopupOpen ? (s(), v(y, {
|
32
|
+
key: 0,
|
33
|
+
to: "body"
|
34
|
+
}, [
|
35
|
+
n(l, {
|
36
|
+
name: "TransitionTranslateY",
|
37
|
+
appear: ""
|
38
|
+
}, {
|
39
|
+
default: i(() => [
|
40
|
+
e.isPopupOpen ? (s(), a("div", z, [
|
41
|
+
n(l, {
|
42
|
+
name: "TransitionTranslateY",
|
43
|
+
mode: "out-in"
|
44
|
+
}, {
|
45
|
+
default: i(() => [
|
46
|
+
e.isPopupOpen ? (s(), a("section", P({
|
47
|
+
key: 0,
|
48
|
+
class: "pos-relative z-index-4"
|
49
|
+
}, o.$attrs), [
|
50
|
+
n(g, {
|
51
|
+
onClick: t[0] || (t[0] = (d) => p()),
|
52
|
+
class: "cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"
|
53
|
+
}),
|
54
|
+
k(o.$slots, "default")
|
55
|
+
], 16)) : r("", !0)
|
56
|
+
]),
|
57
|
+
_: 3
|
58
|
+
}),
|
59
|
+
x("div", {
|
60
|
+
onClick: t[1] || (t[1] = (d) => p()),
|
61
|
+
class: C([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
|
62
|
+
}, null, 2)
|
63
|
+
])) : r("", !0)
|
64
|
+
]),
|
65
|
+
_: 3
|
66
|
+
})
|
67
|
+
])) : r("", !0);
|
68
|
+
}
|
69
|
+
};
|
2
70
|
export {
|
3
|
-
|
71
|
+
I as default
|
4
72
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
|
@@ -1,72 +1,4 @@
|
|
1
|
-
|
2
|
-
import { useRoute as O, useRouter as T } from "vue-router";
|
3
|
-
import { useI18n as b } from "vue-i18n";
|
4
|
-
import g from "../../modules/icons/navigation/IconCross.vue.js";
|
5
|
-
import "./Popup.vue.js";
|
6
|
-
const z = {
|
7
|
-
key: "popup-content",
|
8
|
-
class: "pd-small popup-wrapper"
|
9
|
-
}, I = {
|
10
|
-
__name: "Popup",
|
11
|
-
props: {
|
12
|
-
isPopupOpen: {
|
13
|
-
type: Boolean,
|
14
|
-
default: !1
|
15
|
-
},
|
16
|
-
style: String
|
17
|
-
},
|
18
|
-
emits: ["close-popup"],
|
19
|
-
setup(e, { emit: u }) {
|
20
|
-
const m = e, c = u;
|
21
|
-
function p() {
|
22
|
-
c("close-popup");
|
23
|
-
}
|
24
|
-
return f(() => m.isPopupOpen, (o) => {
|
25
|
-
o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
|
26
|
-
}), O(), T(), b({
|
27
|
-
messages: {
|
28
|
-
en: {},
|
29
|
-
ru: {}
|
30
|
-
}
|
31
|
-
}), (o, t) => e.isPopupOpen ? (s(), v(y, {
|
32
|
-
key: 0,
|
33
|
-
to: "body"
|
34
|
-
}, [
|
35
|
-
n(l, {
|
36
|
-
name: "TransitionTranslateY",
|
37
|
-
appear: ""
|
38
|
-
}, {
|
39
|
-
default: i(() => [
|
40
|
-
e.isPopupOpen ? (s(), a("div", z, [
|
41
|
-
n(l, {
|
42
|
-
name: "TransitionTranslateY",
|
43
|
-
mode: "out-in"
|
44
|
-
}, {
|
45
|
-
default: i(() => [
|
46
|
-
e.isPopupOpen ? (s(), a("section", P({
|
47
|
-
key: 0,
|
48
|
-
class: "pos-relative z-index-4"
|
49
|
-
}, o.$attrs), [
|
50
|
-
n(g, {
|
51
|
-
onClick: t[0] || (t[0] = (d) => p()),
|
52
|
-
class: "cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"
|
53
|
-
}),
|
54
|
-
k(o.$slots, "default")
|
55
|
-
], 16)) : r("", !0)
|
56
|
-
]),
|
57
|
-
_: 3
|
58
|
-
}),
|
59
|
-
x("div", {
|
60
|
-
onClick: t[1] || (t[1] = (d) => p()),
|
61
|
-
class: C([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
|
62
|
-
}, null, 2)
|
63
|
-
])) : r("", !0)
|
64
|
-
]),
|
65
|
-
_: 3
|
66
|
-
})
|
67
|
-
])) : r("", !0);
|
68
|
-
}
|
69
|
-
};
|
1
|
+
const e = "";
|
70
2
|
export {
|
71
|
-
|
3
|
+
e as default
|
72
4
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../FieldPhone/click-outside.cjs");require("./Select.vue2.cjs");const g=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),B={key:0,class:"t-transp mn-r-small"},w={class:"w-100"},b=["onClick"],S={key:0,class:"w-100"},_={key:0,class:"mn-t-thin invalid-feedback"},C={__name:"Select",props:{label:String,select:[String,Object],property:String,placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(o,{emit:m}){const i=m;let f=y.default;const t=o,n=e.ref(t.property?u(t.select,t.property,t.options):t.select),a=e.ref(!1);function v(){a.value=!1}function u(l,p,c){for(const s of c)if(s[p]===l||s===l)return s;return null}e.watch(()=>t.select,l=>{n.value=t.property?u(t.select,t.property,t.options):t.select});const k=e.computed(()=>t.select?t.options.filter(l=>l!==t.select):t.options),d=()=>{a.value=!a.value,i(a.value?"focus":"blur")},h=l=>{n.value=l,d(),t.property?i("update:select",n.value[t.property]):i("update:select",n.value)};return(l,p)=>{var c,s;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:e.withModifiers(d,["stop"]),class:e.normalizeClass([l.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[o.label?(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("span",null,e.toDisplayString(o.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",w,[e.createElementVNode("span",null,e.toDisplayString((c=n.value)!=null&&c.name?(s=n.value)==null?void 0:s.name:n.value||o.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("ul",{class:e.normalizeClass([l.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,r=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(V=>h(r),["stop"])},[r?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(r.name||r),1)):e.createCommentVNode("",!0)],8,b))),256))],2),[[e.vShow,a.value]])]),_:1})],2)),[[e.unref(f),v]]),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[o.validation?(e.openBlock(),e.createElementBlock("div",_," * "+e.toDisplayString(o.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},E=g.default(C,[["__scopeId","data-v-67f55841"]]);exports.default=E;
|