@ozdao/martyrs 0.2.477 → 0.2.479
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -10
- package/dist/Media-B1ZP3D7B.cjs +1 -0
- package/dist/{Media-CecrG6g6.mjs → Media-CKk33U4A.js} +1 -1
- package/dist/abac-BuL5pUZ4.js +949 -0
- package/dist/abac-XF1JVCLI.cjs +948 -0
- package/dist/addUserStatusFields-B8g3DAuZ.js +88 -0
- package/dist/addUserStatusFields-DP_0f12s.cjs +104 -0
- package/dist/auth.server.cjs +600 -0
- package/dist/auth.server.js +546 -709
- package/dist/authJwt-DBB51Iql.cjs +73 -0
- package/dist/authJwt-DcYNNwcr.js +74 -0
- package/dist/builder.cjs +1356 -0
- package/dist/builder.js +1193 -1377
- package/dist/chats.server.cjs +106 -0
- package/dist/chats.server.js +99 -129
- package/dist/common.schema-Bw1O5_2Q.js +13 -0
- package/dist/common.schema-BzFEVNn3.cjs +12 -0
- package/dist/community.server.cjs +840 -0
- package/dist/community.server.js +722 -949
- package/dist/credentials.schema-C9FB2EyY.js +10 -0
- package/dist/credentials.schema-DwhGdrwC.cjs +9 -0
- package/dist/engagement.schema-Dh1adRsn.js +24 -0
- package/dist/engagement.schema-JADHu8pj.cjs +23 -0
- package/dist/events.server.cjs +856 -0
- package/dist/events.server.js +713 -916
- package/dist/files.server.cjs +275 -0
- package/dist/files.server.js +233 -315
- package/dist/gallery.server.cjs +270 -0
- package/dist/gallery.server.js +245 -311
- package/dist/globals.abac-Cm9e8Jdk.cjs +297 -0
- package/dist/globals.abac-DBV_kaOq.js +298 -0
- package/dist/globals.logger-Bf6rRU7j.js +156 -0
- package/dist/globals.logger-CZMgIMlM.cjs +155 -0
- package/dist/globals.observer-CDqUjVU5.js +44 -0
- package/dist/globals.observer-CV2wCzzh.cjs +43 -0
- package/dist/globals.server.cjs +446 -0
- package/dist/globals.server.js +376 -399
- package/dist/globals.verifier-CWFz5Gh2.js +614 -0
- package/dist/globals.verifier-D68mHEBl.cjs +613 -0
- package/dist/index-CsJwdsBW.js +170 -0
- package/dist/index-YNOkL1mu.cjs +186 -0
- package/dist/mailing-C11EYWm-.js +85 -0
- package/dist/mailing-q7sR8gCV.cjs +101 -0
- package/dist/{main-DmznvhMM.mjs → main-BhAiwmnI.js} +4270 -4674
- package/dist/main-C75EcBpE.cjs +11 -0
- package/dist/martyrs/src/components/Block/Block.vue.cjs +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Button/Button.vue2.cjs +0 -1
- package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/Button/Button.vue2.js +0 -1
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -1
- package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +3 -3
- package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +3 -3
- package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +127 -74
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +136 -83
- package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/martyrs/src/components/Field/Field.vue.cjs +20 -22
- package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Field/Field.vue.js +21 -23
- package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js.map +1 -1
- package/dist/martyrs/src/components/FieldPhone/all-countries.cjs +245 -1
- package/dist/martyrs/src/components/FieldPhone/all-countries.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldPhone/all-countries.js +245 -1
- package/dist/martyrs/src/components/FieldPhone/all-countries.js.map +1 -1
- package/dist/martyrs/src/components/FieldPhone/click-outside.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldPhone/click-outside.js.map +1 -1
- package/dist/martyrs/src/components/FieldTags/BlockTags.vue.js +2 -2
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +451 -176
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +451 -176
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js.map +1 -1
- package/dist/martyrs/src/components/FieldTags/create-tags.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldTags/create-tags.js.map +1 -1
- package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.cjs +1 -4
- package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.js +1 -4
- package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.js.map +1 -1
- package/dist/martyrs/src/components/Menu/{Menu.vue.cjs → Menu.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue.js → Menu.vue2.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Popup/Popup.vue2.cjs +27 -5
- package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/Popup/Popup.vue2.js +28 -6
- package/dist/martyrs/src/components/Popup/Popup.vue2.js.map +1 -1
- package/dist/martyrs/src/components/Select/Select.vue.cjs +2 -4
- package/dist/martyrs/src/components/Select/Select.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Select/Select.vue.js +2 -4
- package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.cjs +639 -0
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.js +639 -0
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Table/Table.vue.cjs +23 -38
- package/dist/martyrs/src/components/Table/Table.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Table/Table.vue.js +24 -39
- package/dist/martyrs/src/components/Table/Table.vue.js.map +1 -1
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.cjs → Tooltip.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.js → Tooltip.vue2.js} +2 -2
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.cjs.map → Tooltip.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +4 -4
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +4 -4
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/auth.client.cjs +5 -5
- package/dist/martyrs/src/modules/auth/auth.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/auth.client.js +5 -5
- package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/ownership.validation.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/ownership.validation.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/auth.cjs +87 -98
- package/dist/martyrs/src/modules/auth/views/router/auth.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/auth.js +87 -98
- package/dist/martyrs/src/modules/auth/views/router/auth.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.cjs +105 -106
- package/dist/martyrs/src/modules/auth/views/router/users.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.js +105 -106
- package/dist/martyrs/src/modules/auth/views/router/users.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.cjs +7 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.js +7 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/twofa.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/twofa.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/users.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/store/users.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/users.js +1 -1
- package/dist/martyrs/src/modules/auth/views/store/users.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/validations/inputs.validation.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/validations/inputs.validation.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/backoffice.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/backoffice/backoffice.client.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/router/backoffice.cjs +1 -4
- package/dist/martyrs/src/modules/backoffice/router/backoffice.cjs.map +1 -1
- package/dist/martyrs/src/modules/backoffice/router/backoffice.js +1 -4
- package/dist/martyrs/src/modules/backoffice/router/backoffice.js.map +1 -1
- package/dist/martyrs/src/modules/chats/chats.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/chats/chats.client.js.map +1 -1
- package/dist/martyrs/src/modules/chats/store/chat.store.cjs +10 -6
- package/dist/martyrs/src/modules/chats/store/chat.store.cjs.map +1 -1
- package/dist/martyrs/src/modules/chats/store/chat.store.js +10 -6
- package/dist/martyrs/src/modules/chats/store/chat.store.js.map +1 -1
- package/dist/martyrs/src/modules/community/community.client.cjs +14 -14
- package/dist/martyrs/src/modules/community/community.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/community.client.js +3 -3
- package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Blog.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Blog.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +16 -10
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +16 -10
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/martyrs/src/modules/community/router/blogposts.cjs +61 -59
- package/dist/martyrs/src/modules/community/router/blogposts.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/router/blogposts.js +61 -59
- package/dist/martyrs/src/modules/community/router/blogposts.js.map +1 -1
- package/dist/martyrs/src/modules/community/store/blogposts.cjs +14 -10
- package/dist/martyrs/src/modules/community/store/blogposts.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/store/blogposts.js +14 -10
- package/dist/martyrs/src/modules/community/store/blogposts.js.map +1 -1
- package/dist/martyrs/src/modules/community/store/reactions.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/store/reactions.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.cjs +5 -3
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.js +5 -3
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +12 -6
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +12 -6
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +3 -4
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -4
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsSearch.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsSearch.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/events.client.cjs +17 -17
- package/dist/martyrs/src/modules/events/events.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/events.client.js +4 -4
- package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.cjs +11 -21
- package/dist/martyrs/src/modules/events/router/events.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.js +11 -21
- package/dist/martyrs/src/modules/events/router/events.js.map +1 -1
- package/dist/martyrs/src/modules/events/store/events.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/store/events.js.map +1 -1
- package/dist/martyrs/src/modules/events/store/tickets.cjs +3 -1
- package/dist/martyrs/src/modules/events/store/tickets.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/store/tickets.js +3 -1
- package/dist/martyrs/src/modules/events/store/tickets.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/gallery.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/gallery/gallery.client.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/router/gallery.backoffice.router.cjs +17 -17
- package/dist/martyrs/src/modules/gallery/router/gallery.backoffice.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/gallery/router/gallery.backoffice.router.js +17 -17
- package/dist/martyrs/src/modules/gallery/router/gallery.backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/router/gallery.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/gallery/router/gallery.router.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/store/gallery.cjs.map +1 -1
- package/dist/martyrs/src/modules/gallery/store/gallery.js.map +1 -1
- package/dist/martyrs/src/modules/globals/globals.client.cjs +24 -8
- package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/globals.client.js +22 -6
- package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.store.cjs +9 -7
- package/dist/martyrs/src/modules/globals/views/classes/globals.store.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.store.js +9 -7
- package/dist/martyrs/src/modules/globals/views/classes/globals.store.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/store.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/classes/store.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/store.js +2 -2
- package/dist/martyrs/src/modules/globals/views/classes/store.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/{plugins → components/blocks}/AlertDialog.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/{plugins → components/blocks}/AlertDialog.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue.cjs +308 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue.js +308 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.cjs +61 -49
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.js +62 -50
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/elements/ButtonDate.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/elements/ButtonDate.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/elements/ButtonDate.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/elements/ButtonDate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/App.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/App.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/LocationSelection.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +9 -10
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +9 -10
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/localization/get-browser-locale.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/localization/get-browser-locale.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs +24 -5
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.js +24 -5
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/alert.plugin.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/alert.plugin.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/alert.plugin.js +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/alert.plugin.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.cjs +74 -0
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.js +74 -0
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/StoreDebugger.vue.cjs +200 -0
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/StoreDebugger.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/StoreDebugger.vue.js +200 -0
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/StoreDebugger.vue.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/store-debugger.plugin.cjs +21 -0
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/store-debugger.plugin.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/store-debugger.plugin.js +21 -0
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/store-debugger.plugin.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/router/addRoutes.cjs +1 -4
- package/dist/martyrs/src/modules/globals/views/router/addRoutes.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/router/addRoutes.js +1 -4
- package/dist/martyrs/src/modules/globals/views/router/addRoutes.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/router/scrollBehavior.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/router/scrollBehavior.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/store/globals.cjs +4 -14
- package/dist/martyrs/src/modules/globals/views/store/globals.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/store/globals.js +4 -14
- package/dist/martyrs/src/modules/globals/views/store/globals.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/utils/axios-instance.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/utils/axios-instance.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.js +2 -2
- package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/icons/actions/IconDuplicate.vue.cjs +39 -0
- package/dist/martyrs/src/modules/icons/actions/IconDuplicate.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/actions/IconDuplicate.vue.js +39 -0
- package/dist/martyrs/src/modules/icons/actions/IconDuplicate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconDiscount.vue.cjs +57 -0
- package/dist/martyrs/src/modules/icons/entities/IconDiscount.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconDiscount.vue.js +57 -0
- package/dist/martyrs/src/modules/icons/entities/IconDiscount.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconFile.vue.cjs +33 -0
- package/dist/martyrs/src/modules/icons/entities/IconFile.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconFile.vue.js +33 -0
- package/dist/martyrs/src/modules/icons/entities/IconFile.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.cjs +33 -0
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.js +33 -0
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconSettings.vue.cjs +35 -0
- package/dist/martyrs/src/modules/icons/entities/IconSettings.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconSettings.vue.js +35 -0
- package/dist/martyrs/src/modules/icons/entities/IconSettings.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/icons.client.cjs +97 -79
- package/dist/martyrs/src/modules/icons/icons.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js +140 -122
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/logos/Logotype.vue.cjs +25 -0
- package/dist/martyrs/src/modules/icons/logos/Logotype.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/logos/Logotype.vue.js +25 -0
- package/dist/martyrs/src/modules/icons/logos/Logotype.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconAttach.vue.cjs +35 -0
- package/dist/martyrs/src/modules/icons/navigation/IconAttach.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconAttach.vue.js +35 -0
- package/dist/martyrs/src/modules/icons/navigation/IconAttach.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.js +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.js +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs +34 -0
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js +34 -0
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.js +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs +31 -0
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.js +31 -0
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.js +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconSend.vue.cjs +31 -0
- package/dist/martyrs/src/modules/icons/navigation/IconSend.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconSend.vue.js +31 -0
- package/dist/martyrs/src/modules/icons/navigation/IconSend.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.js +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.js +39 -0
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +278 -0
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +278 -0
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/router/icons.router.cjs +33 -0
- package/dist/martyrs/src/modules/icons/router/icons.router.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/router/icons.router.js +33 -0
- package/dist/martyrs/src/modules/icons/router/icons.router.js.map +1 -0
- package/dist/martyrs/src/modules/icons/socials/dribbble.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/socials/dribbble.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/socials/facebook.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/socials/facebook.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/socials/instagram.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/socials/instagram.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/socials/line.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/socials/line.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/socials/linkedin.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/socials/linkedin.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/socials/reddit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/socials/reddit.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/socials/telegram.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/socials/telegram.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/socials/twitter.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/socials/twitter.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/socials/vk.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/socials/vk.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/socials/youtube.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/socials/youtube.vue.js +2 -2
- package/dist/martyrs/src/modules/landing/landing.client.cjs +12 -12
- package/dist/martyrs/src/modules/landing/landing.client.js +22 -22
- package/dist/martyrs/src/modules/marketplace/marketplace.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/marketplace/marketplace.client.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/router/marketplace.router.cjs +0 -1
- package/dist/martyrs/src/modules/marketplace/views/router/marketplace.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/router/marketplace.router.js +0 -1
- package/dist/martyrs/src/modules/marketplace/views/router/marketplace.router.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/store/marketplace.cjs +25 -19
- package/dist/martyrs/src/modules/marketplace/views/store/marketplace.cjs.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/store/marketplace.js +25 -19
- package/dist/martyrs/src/modules/marketplace/views/store/marketplace.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationsList.vue.cjs +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationsList.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationsList.vue.js +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationsList.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.cjs +18 -27
- package/dist/martyrs/src/modules/notifications/notifications.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +16 -25
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/router/notifications.router.cjs +1 -1
- package/dist/martyrs/src/modules/notifications/router/notifications.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js +1 -1
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/store/notifications.store.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/store/notifications.store.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.cjs +5 -5
- package/dist/martyrs/src/modules/orders/orders.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js +5 -5
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/router/orders.router.cjs +2 -3
- package/dist/martyrs/src/modules/orders/router/orders.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/router/orders.router.js +2 -3
- package/dist/martyrs/src/modules/orders/router/orders.router.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/applications.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/applications.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/customers.store.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/customers.store.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/models/order.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/models/order.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/orders.cjs +23 -26
- package/dist/martyrs/src/modules/orders/store/orders.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/orders.js +23 -26
- package/dist/martyrs/src/modules/orders/store/orders.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.cjs +94 -47
- package/dist/martyrs/src/modules/orders/store/shopcart.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.js +94 -47
- package/dist/martyrs/src/modules/orders/store/shopcart.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/testimonials.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/testimonials.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js +16 -16
- package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +5 -5
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +5 -5
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +8 -8
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +5 -5
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +225 -0
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -0
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +225 -0
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs +28 -28
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.js +10 -10
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/backoffice.router.cjs +26 -23
- package/dist/martyrs/src/modules/organizations/router/backoffice.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/backoffice.router.js +26 -23
- package/dist/martyrs/src/modules/organizations/router/backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/departments.router.cjs +27 -23
- package/dist/martyrs/src/modules/organizations/router/departments.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/departments.router.js +27 -23
- package/dist/martyrs/src/modules/organizations/router/departments.router.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/members.router.cjs +17 -15
- package/dist/martyrs/src/modules/organizations/router/members.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/members.router.js +17 -15
- package/dist/martyrs/src/modules/organizations/router/members.router.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs +73 -60
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.js +73 -60
- package/dist/martyrs/src/modules/organizations/router/organizations.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/departments.cjs +3 -1
- package/dist/martyrs/src/modules/organizations/store/departments.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/departments.js +3 -1
- package/dist/martyrs/src/modules/organizations/store/departments.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/invites.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/invites.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/memberships.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/memberships.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/organizations.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/organizations.js.map +1 -1
- package/dist/martyrs/src/modules/pages/pages.client.cjs +2 -2
- package/dist/martyrs/src/modules/pages/pages.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/pages.client.js +2 -2
- package/dist/martyrs/src/modules/pages/pages.client.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.backoffice.router.cjs +35 -31
- package/dist/martyrs/src/modules/pages/views/router/pages.backoffice.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.backoffice.router.js +35 -31
- package/dist/martyrs/src/modules/pages/views/router/pages.backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.router.cjs +16 -14
- package/dist/martyrs/src/modules/pages/views/router/pages.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js +16 -14
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/store/pages.cjs +5 -2
- package/dist/martyrs/src/modules/pages/views/store/pages.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/store/pages.js +5 -2
- package/dist/martyrs/src/modules/pages/views/store/pages.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardLeftover.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardLeftover.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/blocks/CardLeftover.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.cjs +76 -135
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +77 -136
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs +4 -4
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +128 -0
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +128 -0
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/{ImagesThumbnails.vue.cjs → ProductImages.vue.cjs} +7 -7
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/{ImagesThumbnails.vue.js → ProductImages.vue.js} +7 -7
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs +141 -0
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js +141 -0
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/{blocks/Images360.vue.cjs → elements/Image360.vue.cjs} +5 -5
- package/dist/martyrs/src/modules/products/components/{blocks/Images360.vue.cjs.map → elements/Image360.vue.cjs.map} +1 -1
- package/dist/martyrs/src/modules/products/components/{blocks/Images360.vue.js → elements/Image360.vue.js} +5 -5
- package/dist/martyrs/src/modules/products/components/{blocks/Images360.vue.js.map → elements/Image360.vue.js.map} +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs +19 -20
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.js +20 -21
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs +71 -0
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.js +71 -0
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/elements/THC.vue.cjs +6 -6
- package/dist/martyrs/src/modules/products/components/elements/THC.vue.js +6 -6
- package/dist/martyrs/src/modules/products/components/forms/ColumnSettingsMenu.vue.cjs +73 -0
- package/dist/martyrs/src/modules/products/components/forms/ColumnSettingsMenu.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/forms/ColumnSettingsMenu.vue.js +73 -0
- package/dist/martyrs/src/modules/products/components/forms/ColumnSettingsMenu.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/forms/ReorderSettingsForm.vue.cjs +101 -0
- package/dist/martyrs/src/modules/products/components/forms/ReorderSettingsForm.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/forms/ReorderSettingsForm.vue.js +101 -0
- package/dist/martyrs/src/modules/products/components/forms/ReorderSettingsForm.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/forms/StockAuditForm.vue.cjs +135 -0
- package/dist/martyrs/src/modules/products/components/forms/StockAuditForm.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/forms/StockAuditForm.vue.js +135 -0
- package/dist/martyrs/src/modules/products/components/forms/StockAuditForm.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/forms/StockHistoryView.vue.cjs +148 -0
- package/dist/martyrs/src/modules/products/components/forms/StockHistoryView.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/forms/StockHistoryView.vue.js +148 -0
- package/dist/martyrs/src/modules/products/components/forms/StockHistoryView.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +6 -6
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +6 -6
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs +345 -0
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js +345 -0
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +279 -55
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +282 -58
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +107 -116
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +116 -125
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +257 -312
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +262 -317
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +168 -0
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +168 -0
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +319 -0
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +319 -0
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +140 -0
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +140 -0
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +468 -0
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +468 -0
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +134 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +134 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +13 -13
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +13 -13
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/products.client.cjs +20 -29
- package/dist/martyrs/src/modules/products/products.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/products.client.js +37 -46
- package/dist/martyrs/src/modules/products/products.client.js.map +1 -1
- package/dist/martyrs/src/modules/products/router/categories.router.cjs +34 -30
- package/dist/martyrs/src/modules/products/router/categories.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/router/categories.router.js +34 -30
- package/dist/martyrs/src/modules/products/router/categories.router.js.map +1 -1
- package/dist/martyrs/src/modules/products/router/leftovers.router.cjs +42 -39
- package/dist/martyrs/src/modules/products/router/leftovers.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/router/leftovers.router.js +42 -39
- package/dist/martyrs/src/modules/products/router/leftovers.router.js.map +1 -1
- package/dist/martyrs/src/modules/products/router/products.router.cjs +0 -1
- package/dist/martyrs/src/modules/products/router/products.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/router/products.router.js +0 -1
- package/dist/martyrs/src/modules/products/router/products.router.js.map +1 -1
- package/dist/martyrs/src/modules/products/store/categories.cjs +7 -3
- package/dist/martyrs/src/modules/products/store/categories.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/store/categories.js +7 -3
- package/dist/martyrs/src/modules/products/store/categories.js.map +1 -1
- package/dist/martyrs/src/modules/products/store/leftovers.cjs +42 -3
- package/dist/martyrs/src/modules/products/store/leftovers.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/store/leftovers.js +42 -3
- package/dist/martyrs/src/modules/products/store/leftovers.js.map +1 -1
- package/dist/martyrs/src/modules/products/store/products.cjs +32 -60
- package/dist/martyrs/src/modules/products/store/products.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/store/products.js +32 -60
- package/dist/martyrs/src/modules/products/store/products.js.map +1 -1
- package/dist/martyrs/src/modules/products/store/variants.store.cjs +6 -0
- package/dist/martyrs/src/modules/products/store/variants.store.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/store/variants.store.js +6 -0
- package/dist/martyrs/src/modules/products/store/variants.store.js.map +1 -0
- package/dist/martyrs/src/modules/rents/rents.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/rents/rents.client.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +1 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/router/rents.router.cjs +3 -11
- package/dist/martyrs/src/modules/rents/views/router/rents.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js +3 -11
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/store/rents.store.cjs.map +1 -1
- package/dist/martyrs/src/modules/rents/views/store/rents.store.js.map +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
- package/dist/martyrs/src/modules/reports/reports.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/reports/reports.client.js.map +1 -1
- package/dist/martyrs/src/modules/reports/store/reports.cjs +1 -1
- package/dist/martyrs/src/modules/reports/store/reports.cjs.map +1 -1
- package/dist/martyrs/src/modules/reports/store/reports.js +1 -1
- package/dist/martyrs/src/modules/reports/store/reports.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +74 -51
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +75 -52
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/router/spots.cjs +3 -9
- package/dist/martyrs/src/modules/spots/router/spots.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/router/spots.js +3 -9
- package/dist/martyrs/src/modules/spots/router/spots.js.map +1 -1
- package/dist/martyrs/src/modules/spots/spots.client.cjs +1 -1
- package/dist/martyrs/src/modules/spots/spots.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/spots.client.js +1 -1
- package/dist/martyrs/src/modules/spots/spots.client.js.map +1 -1
- package/dist/martyrs/src/modules/spots/store/spots.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/store/spots.js.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/martyrs/src/modules/wallet/views/router/payments.router.cjs +26 -23
- package/dist/martyrs/src/modules/wallet/views/router/payments.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/router/payments.router.js +26 -23
- package/dist/martyrs/src/modules/wallet/views/router/payments.router.js.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.cjs +2 -2
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.cjs.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js +2 -2
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.cjs +11 -12
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.cjs.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.js +11 -12
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.js.map +1 -1
- package/dist/martyrs.cjs.js +1 -1
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/metadata.schema-CWmcDJN7.js +268 -0
- package/dist/metadata.schema-RlxNv46L.cjs +267 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs +9 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +9 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.cjs +8 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.cjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +8 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.cjs +653 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.cjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +653 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs +63 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +63 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs +59 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +59 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +21 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +21 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.cjs +12 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.cjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +12 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.cjs +24 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.cjs.map +1 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +24 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
- package/dist/node_modules/date-fns/constants.cjs +9 -0
- package/dist/node_modules/date-fns/constants.cjs.map +1 -0
- package/dist/node_modules/date-fns/constants.js +9 -0
- package/dist/node_modules/date-fns/constants.js.map +1 -0
- package/dist/node_modules/date-fns/constructFrom.cjs +13 -0
- package/dist/node_modules/date-fns/constructFrom.cjs.map +1 -0
- package/dist/node_modules/date-fns/constructFrom.js +13 -0
- package/dist/node_modules/date-fns/constructFrom.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +21 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.cjs.map +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +21 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
- package/dist/node_modules/date-fns/format.cjs +80 -0
- package/dist/node_modules/date-fns/format.cjs.map +1 -0
- package/dist/node_modules/date-fns/format.js +80 -0
- package/dist/node_modules/date-fns/format.js.map +1 -0
- package/dist/node_modules/date-fns/getDayOfYear.cjs +14 -0
- package/dist/node_modules/date-fns/getDayOfYear.cjs.map +1 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +14 -0
- package/dist/node_modules/date-fns/getDayOfYear.js.map +1 -0
- package/dist/node_modules/date-fns/getISOWeek.cjs +14 -0
- package/dist/node_modules/date-fns/getISOWeek.cjs.map +1 -0
- package/dist/node_modules/date-fns/getISOWeek.js +14 -0
- package/dist/node_modules/date-fns/getISOWeek.js.map +1 -0
- package/dist/node_modules/date-fns/getISOWeekYear.cjs +27 -0
- package/dist/node_modules/date-fns/getISOWeekYear.cjs.map +1 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +27 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/getWeek.cjs +14 -0
- package/dist/node_modules/date-fns/getWeek.cjs.map +1 -0
- package/dist/node_modules/date-fns/getWeek.js +14 -0
- package/dist/node_modules/date-fns/getWeek.js.map +1 -0
- package/dist/node_modules/date-fns/getWeekYear.cjs +31 -0
- package/dist/node_modules/date-fns/getWeekYear.cjs.map +1 -0
- package/dist/node_modules/date-fns/getWeekYear.js +31 -0
- package/dist/node_modules/date-fns/getWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/isDate.cjs +8 -0
- package/dist/node_modules/date-fns/isDate.cjs.map +1 -0
- package/dist/node_modules/date-fns/isDate.js +8 -0
- package/dist/node_modules/date-fns/isDate.js.map +1 -0
- package/dist/node_modules/date-fns/isValid.cjs +10 -0
- package/dist/node_modules/date-fns/isValid.cjs.map +1 -0
- package/dist/node_modules/date-fns/isValid.js +10 -0
- package/dist/node_modules/date-fns/isValid.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +11 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +11 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +21 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +21 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +44 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +44 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +17 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +17 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +86 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +86 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +37 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +37 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +13 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +13 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs +165 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +165 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs +123 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +123 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US.cjs +22 -0
- package/dist/node_modules/date-fns/locale/en-US.cjs.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US.js +22 -0
- package/dist/node_modules/date-fns/locale/en-US.js.map +1 -0
- package/dist/node_modules/date-fns/startOfDay.cjs +11 -0
- package/dist/node_modules/date-fns/startOfDay.cjs.map +1 -0
- package/dist/node_modules/date-fns/startOfDay.js +11 -0
- package/dist/node_modules/date-fns/startOfDay.js.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeek.cjs +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.cjs.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.cjs +15 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.cjs.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +15 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/startOfWeek.cjs +18 -0
- package/dist/node_modules/date-fns/startOfWeek.cjs.map +1 -0
- package/dist/node_modules/date-fns/startOfWeek.js +18 -0
- package/dist/node_modules/date-fns/startOfWeek.js.map +1 -0
- package/dist/node_modules/date-fns/startOfWeekYear.cjs +20 -0
- package/dist/node_modules/date-fns/startOfWeekYear.cjs.map +1 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +20 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/startOfYear.cjs +12 -0
- package/dist/node_modules/date-fns/startOfYear.cjs.map +1 -0
- package/dist/node_modules/date-fns/startOfYear.js +12 -0
- package/dist/node_modules/date-fns/startOfYear.js.map +1 -0
- package/dist/node_modules/date-fns/toDate.cjs +9 -0
- package/dist/node_modules/date-fns/toDate.cjs.map +1 -0
- package/dist/node_modules/date-fns/toDate.js +9 -0
- package/dist/node_modules/date-fns/toDate.js.map +1 -0
- package/dist/notifications.server.cjs +552 -0
- package/dist/notifications.server.js +511 -621
- package/dist/orders.server.cjs +820 -0
- package/dist/orders.server.js +733 -838
- package/dist/organizations.server.cjs +1493 -0
- package/dist/organizations.server.js +1301 -1414
- package/dist/ownership.schema-CCZX5vfw.js +43 -0
- package/dist/ownership.schema-DCosqOc1.cjs +42 -0
- package/dist/pages.server.cjs +142 -0
- package/dist/pages.server.js +125 -160
- package/dist/products.server.cjs +2635 -0
- package/dist/products.server.js +2528 -1273
- package/dist/profile.schema-DchVS-Jr.js +21 -0
- package/dist/profile.schema-yQuIzngl.cjs +20 -0
- package/dist/queryProcessor-B_X680wC.cjs +332 -0
- package/dist/queryProcessor-CVcLPEnv.js +333 -0
- package/dist/rents.server.cjs +487 -0
- package/dist/rents.server.js +462 -480
- package/dist/reports.server.cjs +133 -0
- package/dist/reports.server.js +97 -150
- package/dist/spots.server.cjs +331 -0
- package/dist/spots.server.js +301 -349
- package/dist/style.css +854 -724
- package/dist/{tickets.controller-zEHIAe_B.js → tickets.controller-D0V0gJCA.cjs} +239 -263
- package/dist/{tickets.controller-BIhfgjNb.mjs → tickets.controller-DQQcjyui.js} +222 -263
- package/dist/wallet.server.cjs +528 -0
- package/dist/wallet.server.js +473 -666
- package/package.json +7 -6
- package/src/builder/builder.js +19 -14
- package/src/builder/modes/spa.dev.js +16 -39
- package/src/builder/modes/spa.prod.js +15 -26
- package/src/builder/modes/ssr.dev.js +123 -107
- package/src/builder/modes/ssr.prod.js +19 -38
- package/src/builder/modes/ssr.rspack.dev.js +70 -66
- package/src/builder/modes/ssr.vite.dev.js +45 -71
- package/src/builder/rspack/index.js +10 -8
- package/src/builder/rspack/rspack.config.api.js +59 -0
- package/src/builder/rspack/rspack.config.base.js +28 -11
- package/src/builder/rspack/{rspack.config.spa.js → rspack.config.spa.client.js} +21 -26
- package/src/builder/rspack/{rspack.config.client.js → rspack.config.ssr.client.js} +9 -13
- package/src/builder/rspack/{rspack.config.ssr.js → rspack.config.ssr.server.js} +22 -10
- package/src/builder/ssr/ssr-render-html.js +13 -12
- package/src/builder/ssr/ssr-transform-webpack-stats.js +37 -25
- package/src/builder/ssr/utils.js +7 -14
- package/src/builder/templates/page.js +2 -2
- package/src/builder/templates/screen.js +2 -2
- package/src/builder/utils/hot-reload.js +1 -1
- package/src/builder/vite/index.js +8 -8
- package/src/builder/vite/vite.config.base.js +37 -47
- package/src/builder/vite/vite.config.client.js +42 -64
- package/src/builder/vite/vite.config.server.js +14 -24
- package/src/builder/vite/vite.config.spa.js +37 -46
- package/src/builder/vite/vite.config.ssr.js +44 -60
- package/src/builder/webpack/index.js +7 -7
- package/src/builder/webpack/webpack.config.base.js +54 -39
- package/src/builder/webpack/webpack.config.client.js +36 -47
- package/src/builder/webpack/webpack.config.server.js +23 -17
- package/src/builder/webpack/webpack.config.spa.js +22 -28
- package/src/builder/webpack/webpack.config.ssr.js +33 -30
- package/src/components/Button/Button.vue +8 -3
- package/src/components/Chips/Chips.vue +1 -1
- package/src/components/Dropdown/Dropdown.vue +1 -1
- package/src/components/Feed/Feed.vue +156 -63
- package/src/components/Field/Field.vue +82 -75
- package/src/components/FieldPhone/FieldPhone.vue +2 -2
- package/src/components/FieldPhone/all-countries.js +247 -3
- package/src/components/FieldPhone/click-outside.js +1 -1
- package/src/components/FieldPhone/utils.js +263 -262
- package/src/components/FieldTags/FieldTags.vue +375 -25
- package/src/components/FieldTags/create-tags.js +15 -15
- package/src/components/FieldTags/vue-tags-input.props.js +2 -9
- package/src/components/Map/LoaderGMaps.js +4 -4
- package/src/components/Popup/Popup.vue +142 -89
- package/src/components/Select/Select.vue +2 -4
- package/src/components/SelectMulti/SelectMulti.vue +911 -656
- package/src/components/Table/Table.vue +21 -64
- package/src/components/UploadImageMultiple/UploadImageMultiple.vue +4 -4
- package/src/components/index.js +10 -10
- package/src/configurator/router/configurator.router.js +10 -8
- package/src/main.js +79 -80
- package/src/modules/auth/auth.client.js +17 -18
- package/src/modules/auth/auth.server.js +32 -42
- package/src/modules/auth/controllers/middlewares/authJwt.js +16 -34
- package/src/modules/auth/controllers/middlewares/authSecret.js +2 -8
- package/src/modules/auth/controllers/middlewares/index.js +15 -10
- package/src/modules/auth/controllers/middlewares/verifyInvites.js +13 -21
- package/src/modules/auth/controllers/middlewares/verifySignUp.js +7 -16
- package/src/modules/auth/controllers/middlewares/verifyUser.js +20 -31
- package/src/modules/auth/controllers/middlewares/visitor.logger.js +10 -23
- package/src/modules/auth/controllers/routes/auth.routes.js +9 -29
- package/src/modules/auth/controllers/routes/twofa.routes.js +6 -23
- package/src/modules/auth/controllers/routes/users.routes.js +8 -39
- package/src/modules/auth/controllers/services/auth.service.js +49 -82
- package/src/modules/auth/controllers/services/twofa.service.js +6 -13
- package/src/modules/auth/controllers/services/users.service.js +31 -70
- package/src/modules/auth/controllers/utils/verifyAppleIdToken.js +47 -54
- package/src/modules/auth/models/request.model.js +5 -9
- package/src/modules/auth/models/role.model.js +3 -7
- package/src/modules/auth/models/user.model.js +39 -41
- package/src/modules/auth/models/visitor.model.js +3 -6
- package/src/modules/auth/views/components/layouts/Auth.vue +1 -1
- package/src/modules/auth/views/components/pages/EnterCode.vue +3 -3
- package/src/modules/auth/views/components/pages/EnterPassword.vue +1 -1
- package/src/modules/auth/views/components/pages/Invite.vue +2 -2
- package/src/modules/auth/views/components/pages/Profile.vue +3 -3
- package/src/modules/auth/views/components/pages/ProfileBlogposts.vue +3 -3
- package/src/modules/auth/views/components/pages/ProfileEdit.vue +3 -3
- package/src/modules/auth/views/components/pages/ResetPassword.vue +3 -3
- package/src/modules/auth/views/components/pages/SignIn.vue +2 -2
- package/src/modules/auth/views/components/pages/SignUp.vue +3 -3
- package/src/modules/auth/views/components/sections/FeaturedUsers.vue +1 -1
- package/src/modules/auth/views/components/sections/ProfileEditCredentials.vue +2 -2
- package/src/modules/auth/views/localization/EnterCode.json +1 -1
- package/src/modules/auth/views/localization/EnterPassword.json +1 -1
- package/src/modules/auth/views/localization/ResetPassword.json +1 -1
- package/src/modules/auth/views/localization/SignUp.json +1 -1
- package/src/modules/auth/views/middlewares/auth.validation.js +16 -29
- package/src/modules/auth/views/middlewares/ownership.validation.js +9 -14
- package/src/modules/auth/views/router/auth.js +66 -77
- package/src/modules/auth/views/router/users.js +87 -89
- package/src/modules/auth/views/store/auth.js +41 -39
- package/src/modules/auth/views/store/twofa.js +44 -42
- package/src/modules/auth/views/store/users.js +22 -26
- package/src/modules/auth/views/validations/inputs.validation.js +53 -59
- package/src/modules/backoffice/backoffice.client.js +8 -8
- package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
- package/src/modules/backoffice/components/partials/Sidebar.vue +2 -2
- package/src/modules/backoffice/router/backoffice.js +49 -49
- package/src/modules/chats/chats.client.js +9 -9
- package/src/modules/chats/chats.server.js +18 -23
- package/src/modules/chats/controllers/chats.controller.js +8 -15
- package/src/modules/chats/models/chat.model.js +6 -9
- package/src/modules/chats/routes/chats.routes.js +12 -20
- package/src/modules/chats/store/chat.store.js +14 -11
- package/src/modules/community/community.client.js +13 -26
- package/src/modules/community/community.server.js +30 -35
- package/src/modules/community/components/blocks/FooterBlogpost.vue +1 -1
- package/src/modules/community/components/layouts/Community.vue +6 -4
- package/src/modules/community/components/pages/Blog.vue +1 -1
- package/src/modules/community/components/pages/BlogPost.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +5 -5
- package/src/modules/community/components/sections/Comment.vue +2 -2
- package/src/modules/community/components/sections/HotPosts.vue +1 -1
- package/src/modules/community/controllers/blog.controller.js +103 -139
- package/src/modules/community/controllers/comments.controller.js +79 -124
- package/src/modules/community/controllers/reactions.controller.js +32 -59
- package/src/modules/community/controllers/utils/queryProcessor.js +13 -17
- package/src/modules/community/controllers/utils/queryProcessorReactions.js +28 -34
- package/src/modules/community/middlewares/server/index.js +7 -5
- package/src/modules/community/middlewares/server/verifyBlogpost.js +9 -14
- package/src/modules/community/models/blogpost.model.js +33 -34
- package/src/modules/community/models/comment.model.js +48 -50
- package/src/modules/community/models/reaction.model.js +48 -46
- package/src/modules/community/router/blogposts.js +52 -50
- package/src/modules/community/routes/blog.routes.js +15 -49
- package/src/modules/community/routes/comments.routes.js +14 -44
- package/src/modules/community/routes/reactions.routes.js +10 -43
- package/src/modules/community/store/blogposts.js +54 -59
- package/src/modules/community/store/reactions.js +9 -13
- package/src/modules/constructor/components/elements/Embed.vue +3 -3
- package/src/modules/constructor/components/elements/ImageUpload.vue +3 -3
- package/src/modules/core/classes/event.js +48 -0
- package/src/modules/core/classes/memory-tracker.js +1063 -0
- package/src/modules/{globals/views/core → core/classes}/module-manager.js +43 -46
- package/src/modules/{globals/views/core → core/classes}/module.js +52 -53
- package/src/modules/core/model/Adapter.js +17 -0
- package/src/modules/core/model/Adapter.mogodb.js +65 -0
- package/src/modules/core/model/Adapter.postgre.js +127 -0
- package/src/modules/core/model/Model.js +99 -0
- package/src/modules/core/model/Schema.js +70 -0
- package/src/modules/core/model/Validation.js +97 -0
- package/src/modules/events/components/elements/ButtonCheck.vue +1 -1
- package/src/modules/events/components/elements/ButtonJoin.vue +2 -2
- package/src/modules/events/components/pages/EditEvent.vue +5 -5
- package/src/modules/events/components/pages/EditEventTickets.vue +3 -3
- package/src/modules/events/components/pages/Event.vue +1 -2
- package/src/modules/events/components/pages/Events.vue +3 -3
- package/src/modules/events/components/pages/EventsBackoffice.vue +1 -1
- package/src/modules/events/components/pages/EventsSearch.vue +1 -1
- package/src/modules/events/components/sections/EventsHot.vue +1 -1
- package/src/modules/events/components/sections/FeaturedEvents.vue +1 -1
- package/src/modules/events/controllers/events.controller.js +90 -155
- package/src/modules/events/controllers/tickets.controller.js +157 -220
- package/src/modules/events/controllers/utils/queryProcessor.js +117 -123
- package/src/modules/events/controllers/utils/templateEmail.js +6 -7
- package/src/modules/events/controllers/utils/templateTicket.js +6 -7
- package/src/modules/events/events.client.js +22 -28
- package/src/modules/events/events.server.js +25 -32
- package/src/modules/events/middlewares/server/index.js +6 -5
- package/src/modules/events/middlewares/server/verifyEvent.js +29 -31
- package/src/modules/events/models/event.model.js +68 -70
- package/src/modules/events/models/ticket.model.js +55 -55
- package/src/modules/events/router/events.js +28 -38
- package/src/modules/events/routes/events.routes.js +15 -49
- package/src/modules/events/routes/tickets.routes.js +7 -21
- package/src/modules/events/store/events.js +41 -50
- package/src/modules/events/store/tickets.js +11 -14
- package/src/modules/files/controllers/files.controller.js +5 -17
- package/src/modules/files/files.server.js +13 -16
- package/src/modules/files/middlewares/server/index.js +7 -5
- package/src/modules/files/middlewares/server/middlewareBusboy.js +62 -123
- package/src/modules/files/routes/files.routes.js +11 -40
- package/src/modules/gallery/components/pages/Gallery.vue +1 -1
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +3 -3
- package/src/modules/gallery/controllers/gallery.controller.js +27 -58
- package/src/modules/gallery/gallery.client.js +11 -11
- package/src/modules/gallery/gallery.server.js +18 -23
- package/src/modules/gallery/models/photo.model.js +27 -29
- package/src/modules/gallery/router/gallery.backoffice.router.js +14 -14
- package/src/modules/gallery/router/gallery.router.js +2 -2
- package/src/modules/gallery/routes/gallery.routes.js +12 -44
- package/src/modules/gallery/store/gallery.js +3 -3
- package/src/modules/globals/controllers/classes/abac/abac.adapter.express.js +194 -0
- package/src/modules/globals/controllers/classes/abac/abac.adapter.ws.js +84 -0
- package/src/modules/globals/controllers/classes/abac/abac.core.js +220 -0
- package/src/modules/globals/controllers/classes/abac/abac.fields.js +376 -0
- package/src/modules/globals/controllers/classes/abac/abac.js +104 -0
- package/src/modules/globals/controllers/classes/abac/abac.policies.js +226 -0
- package/src/modules/globals/controllers/classes/crud/crud.controller.js +314 -0
- package/src/modules/globals/controllers/classes/crud/crud.core.js +230 -0
- package/src/modules/globals/controllers/classes/crud/crud.events.js +209 -0
- package/src/modules/globals/controllers/classes/crud/crud.js +169 -0
- package/src/modules/globals/controllers/classes/crud/crud.policies.js +256 -0
- package/src/modules/globals/controllers/classes/crud/crud.service.js +285 -0
- package/src/modules/globals/controllers/classes/globals.abac.js +69 -120
- package/src/modules/globals/controllers/classes/globals.cache.js +2 -15
- package/src/modules/globals/controllers/classes/globals.crud.js +15 -43
- package/src/modules/globals/controllers/classes/globals.logger.js +2 -6
- package/src/modules/globals/controllers/classes/globals.observer.js +36 -43
- package/src/modules/globals/controllers/classes/globals.validator.js +62 -88
- package/src/modules/globals/controllers/classes/globals.verifier.js +144 -128
- package/src/modules/globals/controllers/classes/globals.webhook.js +1 -3
- package/src/modules/globals/controllers/classes/globals.websocket.js +29 -89
- package/src/modules/globals/controllers/classes/globals.websocket.ws.js +6 -28
- package/src/modules/globals/controllers/policies/globals.policies.js +33 -50
- package/src/modules/globals/controllers/utils/mailing.js +26 -34
- package/src/modules/globals/controllers/utils/parseCookie.js +2 -5
- package/src/modules/globals/controllers/utils/queryProcessor.js +188 -127
- package/src/modules/globals/controllers/utils/seo-friendly-url.js +195 -48
- package/src/modules/globals/controllers/utils/sitemap.js +14 -20
- package/src/modules/globals/globals.client.js +55 -53
- package/src/modules/globals/globals.server.js +22 -14
- package/src/modules/globals/models/schemas/common.schema.js +4 -4
- package/src/modules/globals/models/schemas/credentials.schema.js +3 -3
- package/src/modules/globals/models/schemas/engagement.schema.js +6 -16
- package/src/modules/globals/models/schemas/metadata.schema.js +16 -20
- package/src/modules/globals/models/schemas/ownership.schema.js +16 -13
- package/src/modules/globals/models/schemas/profile.schema.js +6 -7
- package/src/modules/globals/models/schemas/socials.schema.js +9 -9
- package/src/modules/globals/views/classes/globals.store.js +25 -22
- package/src/modules/globals/views/classes/globals.websocket.js +16 -16
- package/src/modules/globals/views/classes/globals.websocket.ws.js +1 -1
- package/src/modules/globals/views/classes/store.js +18 -19
- package/src/modules/globals/views/components/blocks/BlockMultiselect.vue +364 -0
- package/src/modules/globals/views/components/blocks/Card.vue +75 -46
- package/src/modules/globals/views/components/blocks/CardFooter.vue +1 -1
- package/src/modules/globals/views/components/blocks/CardHeader.vue +0 -1
- package/src/modules/globals/views/components/elements/ButtonDate.vue +2 -2
- package/src/modules/globals/views/components/layouts/App.vue +2 -2
- package/src/modules/globals/views/components/layouts/Client.vue +2 -2
- package/src/modules/globals/views/components/partials/BottomNavigationBar.vue +1 -1
- package/src/modules/globals/views/components/partials/Footer.vue +1 -1
- package/src/modules/globals/views/components/partials/Header.vue +3 -3
- package/src/modules/globals/views/components/partials/LocationSelection.vue +1 -1
- package/src/modules/globals/views/components/partials/Navigation.vue +11 -19
- package/src/modules/globals/views/components/partials/NavigationBar.vue +3 -3
- package/src/modules/globals/views/components/partials/Sidebar.vue +1 -1
- package/src/modules/globals/views/localization/get-browser-locale.js +7 -12
- package/src/modules/globals/views/middlewares/localization.js +3 -6
- package/src/modules/globals/views/mixins/mixins.js +152 -134
- package/src/modules/globals/views/plugins/alert.plugin.js +28 -28
- package/src/modules/globals/views/plugins/date-picker.plugin.js +85 -0
- package/src/modules/globals/views/plugins/store-debugger/StoreDebugger.vue +284 -0
- package/src/modules/globals/views/plugins/store-debugger/store-debugger.plugin.js +24 -0
- package/src/modules/globals/views/router/addRoutes.js +15 -17
- package/src/modules/globals/views/router/scrollBehavior.js +17 -13
- package/src/modules/globals/views/store/globals.js +64 -78
- package/src/modules/globals/views/utils/axios-instance.js +1 -1
- package/src/modules/globals/views/utils/vue-app-renderer.js +23 -26
- package/src/modules/governance/controllers/factories/initiatives.controller.js +23 -29
- package/src/modules/governance/controllers/factories/tasks.controller.js +21 -27
- package/src/modules/governance/controllers/factories/votes.controller.js +17 -21
- package/src/modules/governance/controllers/factories/votings.controller.js +25 -32
- package/src/modules/governance/controllers/routes/initiatives.routes.js +10 -12
- package/src/modules/governance/controllers/routes/tasks.routes.js +10 -12
- package/src/modules/governance/controllers/routes/votes.routes.js +8 -10
- package/src/modules/governance/controllers/routes/votings.routes.js +11 -13
- package/src/modules/governance/governance.client.js +7 -7
- package/src/modules/governance/governance.server.js +36 -39
- package/src/modules/governance/models/initiative.model.js +26 -22
- package/src/modules/governance/models/milestone.model.js +86 -82
- package/src/modules/governance/models/task.model.js +48 -45
- package/src/modules/governance/models/vote.model.js +18 -16
- package/src/modules/governance/models/voting.model.js +23 -19
- package/src/modules/governance/views/router/goverance.router.js +56 -80
- package/src/modules/governance/views/store/initiatives.js +8 -11
- package/src/modules/governance/views/store/projects.js +57 -66
- package/src/modules/governance/views/store/tasks.js +9 -14
- package/src/modules/governance/views/store/votes.js +8 -13
- package/src/modules/governance/views/store/votings.js +7 -11
- package/src/modules/icons/actions/IconDuplicate.vue +17 -0
- package/src/modules/icons/entities/IconDiscount.vue +23 -0
- package/src/modules/icons/entities/IconSettings.vue +32 -0
- package/src/modules/icons/icons.client.js +118 -96
- package/src/modules/icons/pages/IconsPage.vue +300 -0
- package/src/modules/icons/router/icons.router.js +34 -0
- package/src/modules/integrations/integrations.service.js +34 -91
- package/src/modules/integrations/openai/openai.globals.js +116 -0
- package/src/modules/integrations/paypal/controllers/webhooks/paypal.webhook.js +15 -19
- package/src/modules/integrations/stripe/controllers/services/stripe.service.js +241 -285
- package/src/modules/integrations/stripe/controllers/webhooks/stripe.webhook.js +8 -17
- package/src/modules/integrations/tinkoff/controllers/services/tinkoff.service.js +111 -119
- package/src/modules/integrations/tinkoff/models/tinkoff.payment.model.js +12 -13
- package/src/modules/inventory/inventory.server.js +23 -0
- package/src/modules/inventory/models/stock.adjustment.model.js +63 -0
- package/src/modules/inventory/models/stock.availability.model.js +56 -0
- package/src/modules/inventory/models/stock.balance.model.js +43 -0
- package/src/modules/inventory/models/stock.inventory.model.js +38 -0
- package/src/modules/inventory/policies/inventory.policies.js +47 -0
- package/src/modules/inventory/routes/inventory.routes.js +61 -0
- package/src/modules/inventory/services/inventory.crud.js +527 -0
- package/src/modules/inventory/services/inventory.verifier.js +81 -0
- package/src/modules/inventory/store/ inventory.store.js +131 -0
- package/src/modules/inventory/workers/inventory.availability.worker.js +300 -0
- package/src/modules/landing/landing.client.js +16 -16
- package/src/modules/marketplace/marketplace.client.js +12 -13
- package/src/modules/marketplace/views/components/layouts/Marketplace.vue +2 -2
- package/src/modules/marketplace/views/components/pages/Catalog.vue +2 -2
- package/src/modules/marketplace/views/components/sections/SectionMenu.vue +2 -2
- package/src/modules/marketplace/views/router/marketplace.router.js +9 -11
- package/src/modules/marketplace/views/store/marketplace.js +33 -29
- package/src/modules/music/components/cards/ArtistCard.vue +62 -15
- package/src/modules/music/components/lists/ArtistList.vue +267 -12
- package/src/modules/music/components/pages/ArtistDetail.vue +375 -189
- package/src/modules/music/components/pages/ArtistForm.vue +426 -0
- package/src/modules/music/components/pages/ArtistManager.vue +277 -0
- package/src/modules/music/components/pages/MusicLibrary.vue +5 -8
- package/src/modules/music/controllers/album.controller.js +15 -31
- package/src/modules/music/controllers/artist.controller.js +29 -41
- package/src/modules/music/controllers/genre.controller.js +23 -31
- package/src/modules/music/controllers/music.controller.js +28 -57
- package/src/modules/music/controllers/playlist.controller.js +20 -56
- package/src/modules/music/controllers/search.controller.js +37 -62
- package/src/modules/music/controllers/stream.controller.js +16 -32
- package/src/modules/music/models/album.model.js +54 -51
- package/src/modules/music/models/artist.model.js +50 -52
- package/src/modules/music/models/genre.model.js +27 -31
- package/src/modules/music/models/play-history.model.js +41 -42
- package/src/modules/music/models/playlist.model.js +54 -54
- package/src/modules/music/models/track.model.js +65 -69
- package/src/modules/music/music.client.js +55 -52
- package/src/modules/music/music.server.js +62 -77
- package/src/modules/music/policies/music.policies.js +9 -29
- package/src/modules/music/router/music.js +38 -19
- package/src/modules/music/routes/album.routes.js +21 -55
- package/src/modules/music/routes/artist.routes.js +22 -59
- package/src/modules/music/routes/genre.routes.js +21 -53
- package/src/modules/music/routes/music.routes.js +74 -113
- package/src/modules/music/routes/playlist.routes.js +36 -88
- package/src/modules/music/routes/search.routes.js +5 -9
- package/src/modules/music/routes/stream.routes.js +23 -34
- package/src/modules/music/store/albums.js +34 -34
- package/src/modules/music/store/artists.js +31 -28
- package/src/modules/music/store/player.js +71 -73
- package/src/modules/music/store/playlists.js +37 -37
- package/src/modules/music/store/search.js +25 -25
- package/src/modules/music/store/tracks.js +40 -45
- package/src/modules/music/websocket/streaming.handler.js +58 -76
- package/src/modules/notifications/components/elements/NotificationBadge.vue +1 -1
- package/src/modules/notifications/components/sections/NotificationsList.vue +1 -1
- package/src/modules/notifications/controllers/notifications.controller.js +32 -62
- package/src/modules/notifications/middlewares/notifications.abac.js +1 -5
- package/src/modules/notifications/models/notification-log.model.js +8 -5
- package/src/modules/notifications/models/notification-preference.model.js +8 -6
- package/src/modules/notifications/models/notification.model.js +2 -3
- package/src/modules/notifications/models/user-device.model.js +3 -5
- package/src/modules/notifications/notifications.client.js +65 -75
- package/src/modules/notifications/notifications.server.js +31 -44
- package/src/modules/notifications/router/notifications.router.js +8 -8
- package/src/modules/notifications/routes/notifications.routes.js +4 -11
- package/src/modules/notifications/services/apns.service.js +4 -13
- package/src/modules/notifications/services/email.service.js +4 -8
- package/src/modules/notifications/services/fcm.service.js +4 -11
- package/src/modules/notifications/services/notification.service.js +49 -84
- package/src/modules/notifications/services/sms.service.js +4 -7
- package/src/modules/notifications/services/telegram.service.js +4 -7
- package/src/modules/notifications/services/web-push.service.js +14 -23
- package/src/modules/notifications/services/whatsapp.service.js +4 -11
- package/src/modules/notifications/store/notifications.store.js +50 -55
- package/src/modules/orders/components/pages/OrderBackoffice.vue +5 -5
- package/src/modules/orders/components/pages/OrderCreate.vue +6 -6
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +5 -5
- package/src/modules/orders/components/pages/Orders.vue +2 -2
- package/src/modules/orders/components/partials/ShopCart.vue +3 -3
- package/src/modules/orders/components/sections/FormAddCustomer.vue +5 -5
- package/src/modules/orders/components/sections/FormDelivery.vue +2 -2
- package/src/modules/orders/controllers/applications.controller.js +37 -67
- package/src/modules/orders/controllers/orders.controller.js +96 -155
- package/src/modules/orders/controllers/testimonials.controller.js +22 -31
- package/src/modules/orders/models/application.model.js +25 -24
- package/src/modules/orders/models/customer.model.js +61 -55
- package/src/modules/orders/models/order.model.js +80 -81
- package/src/modules/orders/models/testimonial.model.js +7 -9
- package/src/modules/orders/orders.client.js +24 -26
- package/src/modules/orders/orders.server.js +27 -32
- package/src/modules/orders/router/orders.router.js +21 -22
- package/src/modules/orders/routes/applications.routes.js +10 -40
- package/src/modules/orders/routes/orders.routes.js +8 -19
- package/src/modules/orders/routes/testimonials.routes.js +9 -29
- package/src/modules/orders/store/applications.js +34 -39
- package/src/modules/orders/store/customers.store.js +3 -3
- package/src/modules/orders/store/models/customer.js +5 -5
- package/src/modules/orders/store/models/order.js +4 -4
- package/src/modules/orders/store/orders.js +61 -76
- package/src/modules/orders/store/shopcart.js +150 -98
- package/src/modules/orders/store/testimonials.js +7 -10
- package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +2 -2
- package/src/modules/organizations/components/pages/Department.vue +1 -1
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +3 -3
- package/src/modules/organizations/components/pages/Members.vue +6 -6
- package/src/modules/organizations/components/pages/Organization.vue +9 -9
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationDetails.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +3 -3
- package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
- package/src/modules/organizations/components/pages/Organizations.vue +2 -2
- package/src/modules/organizations/components/sections/DetailsTabSection.vue +2 -2
- package/src/modules/organizations/components/sections/MembersAdd.vue +1 -1
- package/src/modules/organizations/components/sections/Organizations.vue +3 -3
- package/src/modules/organizations/components/sections/Publics.vue +3 -3
- package/src/modules/organizations/configs/navigation.organization.config.js +227 -0
- package/src/modules/organizations/controllers/departments.controller.js +11 -22
- package/src/modules/organizations/controllers/invites.controller.js +14 -30
- package/src/modules/organizations/controllers/memberships.controller.js +21 -54
- package/src/modules/organizations/controllers/organizations.controller.js +32 -83
- package/src/modules/organizations/controllers/utils/addMembersQuantity.js +11 -12
- package/src/modules/organizations/controllers/utils/addUserStatusFields.js +31 -41
- package/src/modules/organizations/controllers/utils/lookupConfigs.js +31 -31
- package/src/modules/organizations/controllers/utils/queryProcessor.js +40 -51
- package/src/modules/organizations/controllers/utils/queryProcessorOrganizations.js +124 -147
- package/src/modules/organizations/middlewares/verifyAccesses.js +7 -25
- package/src/modules/organizations/middlewares/verifyAccessesRefactored.js +26 -51
- package/src/modules/organizations/models/department.model.js +58 -59
- package/src/modules/organizations/models/invite.model.js +45 -42
- package/src/modules/organizations/models/membership.model.js +35 -35
- package/src/modules/organizations/models/organization.model.js +65 -80
- package/src/modules/organizations/models/schemas/accesses.schema.js +1 -2
- package/src/modules/organizations/organizations.client.js +45 -46
- package/src/modules/organizations/organizations.server.js +40 -41
- package/src/modules/organizations/policies/organizations.policies.js +193 -85
- package/src/modules/organizations/router/backoffice.router.js +22 -20
- package/src/modules/organizations/router/departments.router.js +27 -23
- package/src/modules/organizations/router/members.router.js +18 -18
- package/src/modules/organizations/router/organizations.js +74 -66
- package/src/modules/organizations/routes/departments.routes.js +9 -20
- package/src/modules/organizations/routes/invites.routes.js +9 -31
- package/src/modules/organizations/routes/memberships.routes.js +7 -23
- package/src/modules/organizations/routes/organizations.routes.js +15 -40
- package/src/modules/organizations/store/departments.js +13 -14
- package/src/modules/organizations/store/invites.js +38 -41
- package/src/modules/organizations/store/memberships.js +21 -26
- package/src/modules/organizations/store/organizations.js +40 -46
- package/src/modules/pages/controllers/factories/pages.factory.js +6 -27
- package/src/modules/pages/controllers/routes/pages.routes.js +7 -23
- package/src/modules/pages/models/page.model.js +22 -20
- package/src/modules/pages/pages.client.js +12 -12
- package/src/modules/pages/pages.server.js +18 -21
- package/src/modules/pages/views/components/pages/Page.vue +1 -1
- package/src/modules/pages/views/components/pages/Pages.vue +1 -1
- package/src/modules/pages/views/components/partials/SidebarPages.vue +1 -1
- package/src/modules/pages/views/router/pages.backoffice.router.js +29 -29
- package/src/modules/pages/views/router/pages.router.js +16 -14
- package/src/modules/pages/views/store/pages.js +12 -11
- package/src/modules/pages/views/store/pages.store.js +3 -3
- package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
- package/src/modules/products/components/blocks/CardPosition.vue +94 -157
- package/src/modules/products/components/blocks/CardProduct.vue +5 -5
- package/src/modules/products/components/blocks/ProductDiscounts.vue +141 -0
- package/src/modules/products/components/blocks/{ImagesThumbnails.vue → ProductImages.vue} +3 -4
- package/src/modules/products/components/blocks/ProductVariants.vue +125 -0
- package/src/modules/products/components/elements/Price.vue +34 -37
- package/src/modules/products/components/elements/QuantitySelector.vue +52 -0
- package/src/modules/products/components/elements/THC.vue +6 -6
- package/src/modules/products/components/forms/ColumnSettingsMenu.vue +80 -0
- package/src/modules/products/components/forms/ReorderSettingsForm.vue +107 -0
- package/src/modules/products/components/forms/StockAuditForm.vue +154 -0
- package/src/modules/products/components/forms/StockHistoryView.vue +134 -0
- package/src/modules/products/components/pages/Categories.vue +5 -5
- package/src/modules/products/components/pages/CategoryEdit.vue +8 -44
- package/src/modules/products/components/pages/LeftoverEdit.vue +360 -0
- package/src/modules/products/components/pages/Leftovers.vue +288 -131
- package/src/modules/products/components/pages/Product.vue +171 -100
- package/src/modules/products/components/pages/ProductEdit.vue +329 -461
- package/src/modules/products/components/pages/ProductRecommmendation.vue +2 -2
- package/src/modules/products/components/pages/Products.vue +7 -7
- package/src/modules/products/components/sections/EditAttributes.vue +154 -0
- package/src/modules/products/components/sections/EditCategories.vue +149 -0
- package/src/modules/products/components/sections/EditDiscounts.vue +308 -0
- package/src/modules/products/components/sections/EditIngredients.vue +130 -0
- package/src/modules/products/components/sections/EditVariants.vue +453 -0
- package/src/modules/products/components/sections/FilterProducts.vue +4 -4
- package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
- package/src/modules/products/components/sections/PopularProducts.vue +2 -2
- package/src/modules/products/components/sections/ProductConfigurator.vue +131 -0
- package/src/modules/products/components/sections/SectionProduct.vue +17 -17
- package/src/modules/products/controllers/categories.controller.js +45 -143
- package/src/modules/products/controllers/configs/products.lookup.config.js +135 -0
- package/src/modules/products/controllers/leftovers.controller.js +38 -62
- package/src/modules/products/controllers/products.controller.js +103 -364
- package/src/modules/products/controllers/queries/products.queries.js +112 -0
- package/src/modules/products/middlewares/categories.verifier.js +94 -72
- package/src/modules/products/middlewares/variants.verifier.js +226 -0
- package/src/modules/products/models/category.model.js +26 -22
- package/src/modules/products/models/leftover.model.js +61 -44
- package/src/modules/products/models/product.model.js +54 -119
- package/src/modules/products/models/schemas/discount.schema.js +33 -0
- package/src/modules/products/models/schemas/ingredient.schema.js +46 -0
- package/src/modules/products/models/variant.model.js +66 -0
- package/src/modules/products/products.client.js +31 -41
- package/src/modules/products/products.server.js +34 -35
- package/src/modules/products/router/categories.router.js +34 -30
- package/src/modules/products/router/leftovers.router.js +32 -30
- package/src/modules/products/router/products.router.js +18 -21
- package/src/modules/products/routes/categories.routes.js +13 -52
- package/src/modules/products/routes/leftovers.routes.js +9 -27
- package/src/modules/products/routes/products.routes.js +8 -27
- package/src/modules/products/routes/variants.routes.js +102 -0
- package/src/modules/products/store/categories.js +24 -23
- package/src/modules/products/store/leftovers.js +53 -17
- package/src/modules/products/store/products.js +73 -125
- package/src/modules/products/store/variants.store.js +5 -0
- package/src/modules/rents/controllers/routes/rents.routes.js +12 -21
- package/src/modules/rents/controllers/services/rents.services.js +183 -239
- package/src/modules/rents/models/rent.model.js +27 -17
- package/src/modules/rents/rents.client.js +5 -10
- package/src/modules/rents/rents.server.js +15 -21
- package/src/modules/rents/views/components/pages/RentsEdit.vue +2 -2
- package/src/modules/rents/views/router/rents.router.js +11 -20
- package/src/modules/rents/views/store/rents.store.js +33 -33
- package/src/modules/reports/components/sections/FormReport.vue +1 -1
- package/src/modules/reports/controllers/reports.controller.js +17 -26
- package/src/modules/reports/models/report.model.js +39 -56
- package/src/modules/reports/reports.client.js +8 -8
- package/src/modules/reports/reports.server.js +17 -22
- package/src/modules/reports/routes/reports.routes.js +7 -28
- package/src/modules/reports/store/reports.js +15 -17
- package/src/modules/spots/components/blocks/CardSpot.vue +73 -58
- package/src/modules/spots/components/layouts/Spots.vue +3 -3
- package/src/modules/spots/components/pages/Map.vue +3 -3
- package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
- package/src/modules/spots/controllers/queries/getIsOpenNowStage.js +49 -65
- package/src/modules/spots/controllers/spots.controller.js +25 -43
- package/src/modules/spots/models/spot.model.js +45 -52
- package/src/modules/spots/router/spots.js +22 -26
- package/src/modules/spots/routes/spots.routes.js +8 -16
- package/src/modules/spots/spots.client.js +6 -6
- package/src/modules/spots/spots.server.js +17 -20
- package/src/modules/spots/store/spots.js +11 -14
- package/src/modules/wallet/controllers/factories/payments.factory.js +15 -42
- package/src/modules/wallet/controllers/factories/rewards.factory.js +56 -134
- package/src/modules/wallet/controllers/routes/payments.routes.js +45 -80
- package/src/modules/wallet/controllers/routes/rewards.routes.js +10 -50
- package/src/modules/wallet/models/payment.model.js +26 -27
- package/src/modules/wallet/models/reward.model.js +3 -4
- package/src/modules/wallet/models/wallet.model.js +10 -9
- package/src/modules/wallet/views/router/payments.router.js +24 -23
- package/src/modules/wallet/views/store/payments.store.js +6 -6
- package/src/modules/wallet/views/store/wallet.store.js +28 -35
- package/src/modules/wallet/wallet.server.js +25 -27
- package/src/styles/typography.scss +24 -0
- package/dist/Media-DmnrxIEI.js +0 -1
- package/dist/_commonjsHelpers-CUmg6egw.mjs +0 -6
- package/dist/_commonjsHelpers-DHfMLFPC.js +0 -5
- package/dist/addMembersQuantity-DBfuUEx_.mjs +0 -113
- package/dist/addMembersQuantity-DxWjHK1K.js +0 -112
- package/dist/auth.server.mjs +0 -764
- package/dist/authJwt-CELQKF2s.js +0 -82
- package/dist/authJwt-DnXu3BFq.mjs +0 -83
- package/dist/builder.mjs +0 -1502
- package/dist/chats.server.mjs +0 -137
- package/dist/common.schema-C2m3O1XY.mjs +0 -20
- package/dist/common.schema-O0w_rDyC.js +0 -19
- package/dist/community.server.mjs +0 -1068
- package/dist/credentials.schema-BmOPv6FD.js +0 -16
- package/dist/credentials.schema-oOC8B5KL.mjs +0 -17
- package/dist/engagement.schema-DAiXsvh1.js +0 -33
- package/dist/engagement.schema-DnDD7Bn3.mjs +0 -34
- package/dist/events.server.mjs +0 -1060
- package/dist/files.server.mjs +0 -339
- package/dist/gallery.server.mjs +0 -337
- package/dist/globals.abac-Bn-4tbX8.js +0 -303
- package/dist/globals.abac-DZpTRxKR.mjs +0 -304
- package/dist/globals.cache-BT6q3vOf.mjs +0 -140
- package/dist/globals.cache-CwWvNGFQ.js +0 -139
- package/dist/globals.logger-BdjooLaD.js +0 -34
- package/dist/globals.logger-DusiFsxN.mjs +0 -35
- package/dist/globals.server.mjs +0 -453
- package/dist/globals.verifier-BdJxc8-8.mjs +0 -609
- package/dist/globals.verifier-CKYpYfQl.js +0 -608
- package/dist/index-BOmxJQ5W.js +0 -205
- package/dist/index-C_Fw0Umg.mjs +0 -206
- package/dist/mailing-D4kWlk3_.js +0 -93
- package/dist/mailing-DvCT5ijo.mjs +0 -94
- package/dist/main-DxWqDgs1.js +0 -11
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
- package/dist/martyrs/src/components/FieldTags/vue-tags-input.cjs +0 -292
- package/dist/martyrs/src/components/FieldTags/vue-tags-input.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldTags/vue-tags-input.js +0 -292
- package/dist/martyrs/src/components/FieldTags/vue-tags-input.js.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.cjs +0 -450
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.js +0 -450
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.js.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/multiselectMixin.cjs +0 -633
- package/dist/martyrs/src/components/SelectMulti/multiselectMixin.cjs.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/multiselectMixin.js +0 -633
- package/dist/martyrs/src/components/SelectMulti/multiselectMixin.js.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/pointerMixin.cjs +0 -117
- package/dist/martyrs/src/components/SelectMulti/pointerMixin.cjs.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/pointerMixin.js +0 -117
- package/dist/martyrs/src/components/SelectMulti/pointerMixin.js.map +0 -1
- package/dist/martyrs/src/components/Table/TableCell.vue.cjs +0 -59
- package/dist/martyrs/src/components/Table/TableCell.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Table/TableCell.vue.js +0 -59
- package/dist/martyrs/src/components/Table/TableCell.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +0 -1
- package/dist/martyrs/src/modules/globals/views/plugins/AlertDialog.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/globals/views/plugins/AlertDialog.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +0 -65
- package/dist/martyrs/src/modules/products/components/blocks/LeftoverPositions.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/LeftoverPositions.vue.js +0 -65
- package/dist/martyrs/src/modules/products/components/blocks/LeftoverPositions.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/ListPositions.vue.cjs +0 -49
- package/dist/martyrs/src/modules/products/components/blocks/ListPositions.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/ListPositions.vue.js +0 -49
- package/dist/martyrs/src/modules/products/components/blocks/ListPositions.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.cjs +0 -237
- package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.js +0 -237
- package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditModifications.vue.cjs +0 -152
- package/dist/martyrs/src/modules/products/components/sections/EditModifications.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditModifications.vue.js +0 -152
- package/dist/martyrs/src/modules/products/components/sections/EditModifications.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditProductInfo.vue.cjs +0 -120
- package/dist/martyrs/src/modules/products/components/sections/EditProductInfo.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditProductInfo.vue.js +0 -120
- package/dist/martyrs/src/modules/products/components/sections/EditProductInfo.vue.js.map +0 -1
- package/dist/metadata.schema--tle-GU8.mjs +0 -282
- package/dist/metadata.schema-CUkLXZ2f.js +0 -281
- package/dist/notifications.server.mjs +0 -663
- package/dist/orders.server.mjs +0 -926
- package/dist/organizations.server.mjs +0 -1590
- package/dist/ownership.schema-CNCotD3D.mjs +0 -50
- package/dist/ownership.schema-MxfJlPtq.js +0 -49
- package/dist/pages.server.mjs +0 -178
- package/dist/products.server.mjs +0 -1381
- package/dist/profile.schema-BLSuV_VC.js +0 -27
- package/dist/profile.schema-BRuvQ7QV.mjs +0 -28
- package/dist/queryProcessor-CVKI651_.mjs +0 -314
- package/dist/queryProcessor-DSUqSk3I.js +0 -313
- package/dist/rents.server.mjs +0 -506
- package/dist/reports.server.mjs +0 -187
- package/dist/spots.server.mjs +0 -380
- package/dist/wallet.server.mjs +0 -705
- package/src/builder/rspack/rspack.config.server.js +0 -30
- package/src/components/FieldTags/vue-tags-input.js +0 -424
- package/src/components/SelectMulti/index.js +0 -7
- package/src/components/SelectMulti/multiselectMixin.js +0 -725
- package/src/components/SelectMulti/pointerMixin.js +0 -143
- package/src/modules/globals/views/core/event.js +0 -48
- package/src/modules/icons/logos/LogotypeNunito.vue +0 -12
- package/src/modules/integrations/openai/controllers/openai.controller.js +0 -89
- package/src/modules/products/components/blocks/EditFilters.vue +0 -56
- package/src/modules/products/components/blocks/LeftoverPositions.vue +0 -99
- package/src/modules/products/components/blocks/ListPositions.vue +0 -74
- package/src/modules/products/components/pages/EditLeftover.vue +0 -288
- package/src/modules/products/components/pages/Product.old.vue +0 -201
- package/src/modules/products/components/sections/EditModifications.vue +0 -92
- package/src/modules/products/components/sections/EditProductInfo.vue +0 -106
- package/src/modules/products/controllers/modifications.controller.js +0 -66
- /package/src/modules/globals/views/{plugins → components/blocks}/AlertDialog.vue +0 -0
- /package/src/modules/products/components/{blocks/Images360.vue → elements/Image360.vue} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Chips.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Chips.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.vue.cjs","sources":["../../../../../src/components/Dropdown/Dropdown.vue"],"sourcesContent":["<template>\n <div class=\"dropdown pos-relative\" v-click-outside=\"clickedOutside\" @click.stop=\"isOpen = !isOpen\">\n <div v-if=\"isComponentLabel\" class=\"w-100 h-100 flex-center flex\">\n <component :is=\"label.component\" v-bind=\"label.props\" :class=\"label.class\"></component>\n </div>\n <div v-else>\n {{ label }}\n </div>\n <transition name=\"TransitionTranslateY\" mode=\"out-in\">\n <div \n v-show=\"isOpen\" \n :style=\"{ left: align === 'left' ? '0' : 'auto', right: align === 'right' ? '0' : 'auto' }\" \n class=\"dropdown-content radius-big\" \n >\n <slot></slot>\n </div>\n </transition>\n </div>\n</template>\n\n<script setup>\nimport { ref, computed } from 'vue';\nimport clickOutside from '../FieldPhone/click-outside';\n\nlet vClickOutside = clickOutside\n\nconst props = defineProps({\n label: {\n type: [String, Object],\n default: 'Open'\n },\n align: {\n type: String,\n default: 'left'\n }\n})\n\nconst isOpen = ref(false);\nconst isComponentLabel = computed(() => typeof props.label === 'object');\n\nfunction clickedOutside () {\n isOpen.value = false\n}\n</script>\n\n<style >\n.dropdown-content {\n display: block;\n position: absolute;\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n z-index: 1;\n}\n\n/*.dropdown:hover .dropdown-content {\n display: block;\n}*/\n</style>\n"],"names":["clickOutside","ref","computed"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAwBA,QAAI,gBAAgBA,aAAAA;AAEpB,UAAM,QAAQ;AAWd,UAAM,SAASC,IAAG,IAAC,KAAK;AACxB,UAAM,mBAAmBC,IAAAA,SAAS,MAAM,OAAO,MAAM,UAAU,QAAQ;AAEvE,aAAS,iBAAkB;AACzB,aAAO,QAAQ;AAAA,IACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.vue.js","sources":["../../../../../src/components/Dropdown/Dropdown.vue"],"sourcesContent":["<template>\n <div class=\"dropdown pos-relative\" v-click-outside=\"clickedOutside\" @click.stop=\"isOpen = !isOpen\">\n <div v-if=\"isComponentLabel\" class=\"w-100 h-100 flex-center flex\">\n <component :is=\"label.component\" v-bind=\"label.props\" :class=\"label.class\"></component>\n </div>\n <div v-else>\n {{ label }}\n </div>\n <transition name=\"TransitionTranslateY\" mode=\"out-in\">\n <div \n v-show=\"isOpen\" \n :style=\"{ left: align === 'left' ? '0' : 'auto', right: align === 'right' ? '0' : 'auto' }\" \n class=\"dropdown-content radius-big\" \n >\n <slot></slot>\n </div>\n </transition>\n </div>\n</template>\n\n<script setup>\nimport { ref, computed } from 'vue';\nimport clickOutside from '../FieldPhone/click-outside';\n\nlet vClickOutside = clickOutside\n\nconst props = defineProps({\n label: {\n type: [String, Object],\n default: 'Open'\n },\n align: {\n type: String,\n default: 'left'\n }\n})\n\nconst isOpen = ref(false);\nconst isComponentLabel = computed(() => typeof props.label === 'object');\n\nfunction clickedOutside () {\n isOpen.value = false\n}\n</script>\n\n<style >\n.dropdown-content {\n display: block;\n position: absolute;\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n z-index: 1;\n}\n\n/*.dropdown:hover .dropdown-content {\n display: block;\n}*/\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,QAAI,gBAAgB;AAEpB,UAAM,QAAQ;AAWd,UAAM,SAAS,IAAI,KAAK;AACxB,UAAM,mBAAmB,SAAS,MAAM,OAAO,MAAM,UAAU,QAAQ;AAEvE,aAAS,iBAAkB;AACzB,aAAO,QAAQ;AAAA,IACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const index = require("../../../../_virtual/index.cjs");
|
|
4
|
-
const createTags = require("./create-tags.cjs");
|
|
5
|
-
const tagInput = require("./tag-input.vue2.cjs");
|
|
6
|
-
const vueTagsInput_props = require("./vue-tags-input.props.cjs");
|
|
7
|
-
const _sfc_main = {
|
|
8
|
-
name: "VueTagsInput",
|
|
9
|
-
components: { TagInput: tagInput.default },
|
|
10
|
-
props: vueTagsInput_props.default,
|
|
11
|
-
emits: [
|
|
12
|
-
"adding-duplicate",
|
|
13
|
-
"before-adding-tag",
|
|
14
|
-
"before-deleting-tag",
|
|
15
|
-
"before-editing-tag",
|
|
16
|
-
"before-saving-tag",
|
|
17
|
-
"max-tags-reached",
|
|
18
|
-
"saving-duplicate",
|
|
19
|
-
"tags-changed",
|
|
20
|
-
"tag-clicked",
|
|
21
|
-
"update:modelValue",
|
|
22
|
-
"update:tags"
|
|
23
|
-
],
|
|
24
|
-
inheritAttrs: false,
|
|
25
|
-
data() {
|
|
26
|
-
return {
|
|
27
|
-
tagCenter: [],
|
|
28
|
-
newTag: null,
|
|
29
|
-
tagsCopy: [],
|
|
30
|
-
tagsEditStatus: null,
|
|
31
|
-
deletionMark: null,
|
|
32
|
-
deletionMarkTime: null,
|
|
33
|
-
selectedItem: null,
|
|
34
|
-
focused: null
|
|
35
|
-
};
|
|
36
|
-
},
|
|
37
|
-
computed: {
|
|
38
|
-
// Property which calculates if the autocomplete should be opened or not
|
|
39
|
-
autocompleteOpen() {
|
|
40
|
-
if (this.autocompleteAlwaysOpen) return true;
|
|
41
|
-
return this.newTag !== null && this.newTag.length >= this.autocompleteMinLength && this.filteredAutocompleteItems.length > 0 && this.focused;
|
|
42
|
-
},
|
|
43
|
-
// Returns validated autocomplete items. Maybe duplicates are filtered out
|
|
44
|
-
filteredAutocompleteItems() {
|
|
45
|
-
const is = this.autocompleteItems.map((i) => {
|
|
46
|
-
return createTags.createTag(i, this.tags, this.validation, this.isDuplicate);
|
|
47
|
-
});
|
|
48
|
-
if (!this.autocompleteFilterDuplicates) return is;
|
|
49
|
-
return is.filter(this.duplicateFilter);
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
methods: {
|
|
53
|
-
createClasses: createTags.createClasses,
|
|
54
|
-
// Returns the index which item should be selected, based on the parameter 'method'
|
|
55
|
-
getSelectedIndex(method) {
|
|
56
|
-
const items = this.filteredAutocompleteItems;
|
|
57
|
-
const selectedItem = this.selectedItem;
|
|
58
|
-
const lastItem = items.length - 1;
|
|
59
|
-
if (items.length === 0) return;
|
|
60
|
-
if (selectedItem === null) return 0;
|
|
61
|
-
if (method === "before" && selectedItem === 0) return lastItem;
|
|
62
|
-
else if (method === "after" && selectedItem === lastItem) return 0;
|
|
63
|
-
else return method === "after" ? selectedItem + 1 : selectedItem - 1;
|
|
64
|
-
},
|
|
65
|
-
selectDefaultItem() {
|
|
66
|
-
if (this.addOnlyFromAutocomplete && this.filteredAutocompleteItems.length > 0) {
|
|
67
|
-
this.selectedItem = 0;
|
|
68
|
-
} else this.selectedItem = null;
|
|
69
|
-
},
|
|
70
|
-
selectItem(e, method) {
|
|
71
|
-
e.preventDefault();
|
|
72
|
-
this.selectedItem = this.getSelectedIndex(method);
|
|
73
|
-
},
|
|
74
|
-
isSelected(index2) {
|
|
75
|
-
return this.selectedItem === index2;
|
|
76
|
-
},
|
|
77
|
-
isMarked(index2) {
|
|
78
|
-
return this.deletionMark === index2;
|
|
79
|
-
},
|
|
80
|
-
// Save ref for tag
|
|
81
|
-
setTagCenter(el) {
|
|
82
|
-
if (el) {
|
|
83
|
-
this.tagCenter.push(el);
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
// Method which is called when the user presses backspace → remove the last tag
|
|
87
|
-
invokeDelete() {
|
|
88
|
-
if (!this.deleteOnBackspace || this.newTag.length > 0) return;
|
|
89
|
-
const lastIndex = this.tagsCopy.length - 1;
|
|
90
|
-
if (this.deletionMark === null) {
|
|
91
|
-
this.deletionMarkTime = setTimeout(() => this.deletionMark = null, 1e3);
|
|
92
|
-
this.deletionMark = lastIndex;
|
|
93
|
-
} else this.performDeleteTag(lastIndex);
|
|
94
|
-
},
|
|
95
|
-
addTagsFromPaste() {
|
|
96
|
-
if (!this.addFromPaste) return;
|
|
97
|
-
setTimeout(() => this.performAddTags(this.newTag), 10);
|
|
98
|
-
},
|
|
99
|
-
// Method to call if a tag should switch to it's edit mode
|
|
100
|
-
performEditTag(index2) {
|
|
101
|
-
if (!this.allowEditTags) return;
|
|
102
|
-
if (!this.onBeforeAddingTag) this.editTag(index2);
|
|
103
|
-
this.$emit("before-editing-tag", {
|
|
104
|
-
index: index2,
|
|
105
|
-
tag: this.tagsCopy[index2],
|
|
106
|
-
editTag: () => this.editTag(index2)
|
|
107
|
-
});
|
|
108
|
-
},
|
|
109
|
-
// Opens the edit mode for a tag and focuses it
|
|
110
|
-
editTag(index2) {
|
|
111
|
-
if (!this.allowEditTags) return;
|
|
112
|
-
this.toggleEditMode(index2);
|
|
113
|
-
this.focus(index2);
|
|
114
|
-
},
|
|
115
|
-
// Toggles the edit mode for a tag
|
|
116
|
-
toggleEditMode(index2) {
|
|
117
|
-
if (!this.allowEditTags || this.disabled) return;
|
|
118
|
-
this.tagsEditStatus[index2] = !this.tagsEditStatus[index2];
|
|
119
|
-
},
|
|
120
|
-
// only called by the @input event from TagInput.
|
|
121
|
-
// Creates a new tag model and applys it to this.tagsCopy[index]
|
|
122
|
-
createChangedTag(index2, event) {
|
|
123
|
-
const tag = this.tagsCopy[index2];
|
|
124
|
-
tag.text = event ? event.target.value : this.tagsCopy[index2].text;
|
|
125
|
-
this.tagsCopy[index2] = createTags.createTag(tag, this.tagsCopy, this.validation, this.isDuplicate);
|
|
126
|
-
},
|
|
127
|
-
// Focuses the input of a tag
|
|
128
|
-
focus(index2) {
|
|
129
|
-
this.$nextTick(() => {
|
|
130
|
-
const el = this.tagCenter[index2].querySelector("input.ti-tag-input");
|
|
131
|
-
if (el) el.focus();
|
|
132
|
-
});
|
|
133
|
-
},
|
|
134
|
-
quote(regex) {
|
|
135
|
-
return regex.replace(/([()[{*+.$^\\|?])/g, "\\$1");
|
|
136
|
-
},
|
|
137
|
-
// Cancels the edit mode for a tag → resets the tag to it's original model!
|
|
138
|
-
cancelEdit(index2) {
|
|
139
|
-
if (!this.tags[index2]) return;
|
|
140
|
-
this.tagsCopy[index2] = createTags.clone(
|
|
141
|
-
createTags.createTag(this.tags[index2], this.tags, this.validation, this.isDuplicate)
|
|
142
|
-
);
|
|
143
|
-
this.tagsEditStatus[index2] = false;
|
|
144
|
-
},
|
|
145
|
-
hasForbiddingAddRule(tiClasses) {
|
|
146
|
-
return tiClasses.some((type) => {
|
|
147
|
-
const rule = this.validation.find((rule2) => type === rule2.classes);
|
|
148
|
-
return rule ? rule.disableAdd : false;
|
|
149
|
-
});
|
|
150
|
-
},
|
|
151
|
-
// Creates multiple tags out of a string, based on the prop separators
|
|
152
|
-
createTagTexts(string) {
|
|
153
|
-
const regex = new RegExp(this.separators.map((s) => this.quote(s)).join("|"));
|
|
154
|
-
return string.split(regex).map((text) => ({ text }));
|
|
155
|
-
},
|
|
156
|
-
// Method to call to delete a tag
|
|
157
|
-
performDeleteTag(index2) {
|
|
158
|
-
if (!this.onBeforeDeletingTag) this.deleteTag(index2);
|
|
159
|
-
this.$emit("before-deleting-tag", {
|
|
160
|
-
index: index2,
|
|
161
|
-
tag: this.tagsCopy[index2],
|
|
162
|
-
deleteTag: () => this.deleteTag(index2)
|
|
163
|
-
});
|
|
164
|
-
},
|
|
165
|
-
deleteTag(index2) {
|
|
166
|
-
if (this.disabled) return;
|
|
167
|
-
this.deletionMark = null;
|
|
168
|
-
clearTimeout(this.deletionMarkTime);
|
|
169
|
-
this.tagsCopy.splice(index2, 1);
|
|
170
|
-
this.$emit("update:tags", this.tagsCopy);
|
|
171
|
-
this.$emit("tags-changed", this.tagsCopy);
|
|
172
|
-
},
|
|
173
|
-
// Decides wether the input keyCode is one, which is allowed to modify/add tags
|
|
174
|
-
noTriggerKey(event, category) {
|
|
175
|
-
const triggerKey = this[category].indexOf(event.keyCode) !== -1 || this[category].indexOf(event.key) !== -1;
|
|
176
|
-
if (triggerKey) event.preventDefault();
|
|
177
|
-
return !triggerKey;
|
|
178
|
-
},
|
|
179
|
-
// Method to call to add a tag
|
|
180
|
-
performAddTags(tag, event, source) {
|
|
181
|
-
if (this.disabled || event && this.noTriggerKey(event, "addOnKey")) return;
|
|
182
|
-
let tags = [];
|
|
183
|
-
if (typeof tag === "object") tags = [tag];
|
|
184
|
-
if (typeof tag === "string") tags = this.createTagTexts(tag);
|
|
185
|
-
tags = tags.filter((tag2) => tag2.text.trim().length > 0);
|
|
186
|
-
tags.forEach((tag2) => {
|
|
187
|
-
tag2 = createTags.createTag(tag2, this.tags, this.validation, this.isDuplicate);
|
|
188
|
-
if (!this.onBeforeAddingTag) this.addTag(tag2, source);
|
|
189
|
-
this.$emit("before-adding-tag", {
|
|
190
|
-
tag: tag2,
|
|
191
|
-
addTag: () => this.addTag(tag2, source)
|
|
192
|
-
});
|
|
193
|
-
});
|
|
194
|
-
},
|
|
195
|
-
duplicateFilter(tag) {
|
|
196
|
-
return this.isDuplicate ? !this.isDuplicate(this.tagsCopy, tag) : !this.tagsCopy.find((t) => t.text === tag.text);
|
|
197
|
-
},
|
|
198
|
-
addTag(tag, source = "new-tag-input") {
|
|
199
|
-
const options = this.filteredAutocompleteItems.map((i) => i.text);
|
|
200
|
-
if (this.addOnlyFromAutocomplete && options.indexOf(tag.text) === -1) return;
|
|
201
|
-
this.$nextTick(() => {
|
|
202
|
-
const maximumReached = this.maxTags && this.maxTags <= this.tagsCopy.length;
|
|
203
|
-
if (maximumReached) return this.$emit("max-tags-reached", tag);
|
|
204
|
-
const dup = this.avoidAddingDuplicates && !this.duplicateFilter(tag);
|
|
205
|
-
if (dup) return this.$emit("adding-duplicate", tag);
|
|
206
|
-
if (this.hasForbiddingAddRule(tag.tiClasses)) return;
|
|
207
|
-
this.newTag = "";
|
|
208
|
-
this.tagsCopy.push(tag);
|
|
209
|
-
this.$emit("update:tags", this.tagsCopy);
|
|
210
|
-
if (source === "autocomplete") this.$refs.newTagInput.focus();
|
|
211
|
-
this.$emit("tags-changed", this.tagsCopy);
|
|
212
|
-
});
|
|
213
|
-
},
|
|
214
|
-
// Method to call to save a tag
|
|
215
|
-
performSaveTag(index2, event) {
|
|
216
|
-
const tag = this.tagsCopy[index2];
|
|
217
|
-
if (this.disabled || event && this.noTriggerKey(event, "addOnKey")) return;
|
|
218
|
-
if (tag.text.trim().length === 0) return;
|
|
219
|
-
if (!this["on-before-saving-tag"]) this.saveTag(index2, tag);
|
|
220
|
-
this.$emit("before-saving-tag", {
|
|
221
|
-
index: index2,
|
|
222
|
-
tag,
|
|
223
|
-
saveTag: () => this.saveTag(index2, tag)
|
|
224
|
-
});
|
|
225
|
-
},
|
|
226
|
-
saveTag(index2, tag) {
|
|
227
|
-
if (this.avoidAddingDuplicates) {
|
|
228
|
-
const tagsDiff = createTags.clone(this.tagsCopy);
|
|
229
|
-
const inputTag = tagsDiff.splice(index2, 1)[0];
|
|
230
|
-
const dup = this.isDuplicate ? this.isDuplicate(tagsDiff, inputTag) : tagsDiff.map((t) => t.text).indexOf(inputTag.text) !== -1;
|
|
231
|
-
if (dup) return this.$emit("saving-duplicate", tag);
|
|
232
|
-
}
|
|
233
|
-
if (this.hasForbiddingAddRule(tag.tiClasses)) return;
|
|
234
|
-
this.tagsCopy[index2] = tag;
|
|
235
|
-
this.toggleEditMode(index2);
|
|
236
|
-
this.$emit("update:tags", this.tagsCopy);
|
|
237
|
-
this.$emit("tags-changed", this.tagsCopy);
|
|
238
|
-
},
|
|
239
|
-
tagsEqual() {
|
|
240
|
-
return !this.tagsCopy.some((t, i) => !index.default(t, this.tags[i]));
|
|
241
|
-
},
|
|
242
|
-
updateNewTag(ievent) {
|
|
243
|
-
const value = ievent.target.value;
|
|
244
|
-
this.newTag = value;
|
|
245
|
-
this.$emit("update:modelValue", value);
|
|
246
|
-
},
|
|
247
|
-
initTags() {
|
|
248
|
-
this.tagsCopy = createTags.createTags(this.tags, this.validation, this.isDuplicate);
|
|
249
|
-
this.tagsEditStatus = createTags.clone(this.tags).map(() => false);
|
|
250
|
-
if (!this.tagsEqual()) {
|
|
251
|
-
this.$emit("update:tags", this.tagsCopy);
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
blurredOnClick(e) {
|
|
255
|
-
if (this.$el.contains(e.target) || this.$el.contains(document.activeElement)) return;
|
|
256
|
-
this.performBlur(e);
|
|
257
|
-
},
|
|
258
|
-
performBlur() {
|
|
259
|
-
if (this.addOnBlur && this.focused) this.performAddTags(this.newTag);
|
|
260
|
-
this.focused = false;
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
watch: {
|
|
264
|
-
modelValue(newValue) {
|
|
265
|
-
if (!this.addOnlyFromAutocomplete) this.selectedItem = null;
|
|
266
|
-
this.newTag = newValue;
|
|
267
|
-
},
|
|
268
|
-
tags: {
|
|
269
|
-
handler() {
|
|
270
|
-
this.initTags();
|
|
271
|
-
},
|
|
272
|
-
deep: true
|
|
273
|
-
},
|
|
274
|
-
autocompleteOpen: "selectDefaultItem"
|
|
275
|
-
},
|
|
276
|
-
created() {
|
|
277
|
-
this.newTag = this.modelValue;
|
|
278
|
-
this.initTags();
|
|
279
|
-
},
|
|
280
|
-
mounted() {
|
|
281
|
-
this.selectDefaultItem();
|
|
282
|
-
document.addEventListener("click", this.blurredOnClick);
|
|
283
|
-
},
|
|
284
|
-
beforeUpdate() {
|
|
285
|
-
this.tagCenter = [];
|
|
286
|
-
},
|
|
287
|
-
unmounted() {
|
|
288
|
-
document.removeEventListener("click", this.blurredOnClick);
|
|
289
|
-
}
|
|
290
|
-
};
|
|
291
|
-
exports.default = _sfc_main;
|
|
292
|
-
//# sourceMappingURL=vue-tags-input.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vue-tags-input.cjs","sources":["../../../../../src/components/FieldTags/vue-tags-input.js?vue&type=script&src=true&lang.js"],"sourcesContent":["// The file contains the main application logic\n// data, computed properties, methods, watchers and the component lifecycle\n\nimport equal from 'fast-deep-equal';\n\nimport { createTags, createTag, createClasses, clone } from './create-tags';\nimport TagInput from './tag-input.vue';\nimport props from './vue-tags-input.props';\n\nexport default {\n name: 'VueTagsInput',\n components: { TagInput },\n props,\n emits: [\n 'adding-duplicate',\n 'before-adding-tag',\n 'before-deleting-tag',\n 'before-editing-tag',\n 'before-saving-tag',\n 'max-tags-reached',\n 'saving-duplicate',\n 'tags-changed',\n 'tag-clicked',\n 'update:modelValue',\n 'update:tags'\n ],\n inheritAttrs: false,\n data() {\n return {\n tagCenter: [],\n newTag: null,\n tagsCopy: [],\n tagsEditStatus: null,\n deletionMark: null,\n deletionMarkTime: null,\n selectedItem: null,\n focused: null,\n };\n },\n computed: {\n // Property which calculates if the autocomplete should be opened or not\n autocompleteOpen() {\n if (this.autocompleteAlwaysOpen) return true;\n return this.newTag !== null\n && this.newTag.length >= this.autocompleteMinLength\n && this.filteredAutocompleteItems.length > 0\n && this.focused;\n },\n // Returns validated autocomplete items. Maybe duplicates are filtered out\n filteredAutocompleteItems() {\n const is = this.autocompleteItems.map(i => {\n return createTag(i, this.tags, this.validation, this.isDuplicate);\n });\n\n if (!this.autocompleteFilterDuplicates) return is;\n return is.filter(this.duplicateFilter);\n },\n },\n methods: {\n createClasses,\n // Returns the index which item should be selected, based on the parameter 'method'\n getSelectedIndex(method) {\n const items = this.filteredAutocompleteItems;\n const selectedItem = this.selectedItem;\n const lastItem = items.length - 1;\n if (items.length === 0) return;\n if (selectedItem === null) return 0;\n if (method === 'before' && selectedItem === 0) return lastItem;\n else if (method === 'after' && selectedItem === lastItem) return 0;\n else return method === 'after' ? selectedItem + 1 : selectedItem - 1;\n },\n selectDefaultItem() {\n if (this.addOnlyFromAutocomplete && this.filteredAutocompleteItems.length > 0) {\n this.selectedItem = 0;\n } else this.selectedItem = null;\n },\n selectItem(e, method) {\n e.preventDefault();\n this.selectedItem = this.getSelectedIndex(method);\n },\n isSelected(index) {\n return this.selectedItem === index;\n },\n isMarked(index) {\n return this.deletionMark === index;\n },\n // Save ref for tag\n setTagCenter(el) {\n if (el) {\n this.tagCenter.push(el);\n }\n },\n // Method which is called when the user presses backspace → remove the last tag\n invokeDelete() {\n // If we shouldn't delete tags on backspace or we have some characters in the input → stop\n if (!this.deleteOnBackspace || this.newTag.length > 0) return;\n const lastIndex = this.tagsCopy.length - 1;\n if (this.deletionMark === null) {\n this.deletionMarkTime = setTimeout(() => this.deletionMark = null, 1000);\n this.deletionMark = lastIndex;\n } else this.performDeleteTag(lastIndex);\n },\n addTagsFromPaste() {\n if (!this.addFromPaste) return;\n setTimeout(() => this.performAddTags(this.newTag), 10);\n },\n // Method to call if a tag should switch to it's edit mode\n performEditTag(index) {\n if (!this.allowEditTags) return;\n if (!this.onBeforeAddingTag) this.editTag(index);\n /**\n * @description Emits before a tag toggles to it's edit mode\n * @name before-editing-tag\n * @property {events} hook\n * @returns {Object} Contains the to editing tag: 'tag'.\n The tag's index: 'index'. And a function: 'editTag'.\n If the function is invoked, the tag toggles to it's edit mode.\n */\n this.$emit('before-editing-tag', {\n index,\n tag: this.tagsCopy[index],\n editTag: () => this.editTag(index),\n });\n },\n // Opens the edit mode for a tag and focuses it\n editTag(index) {\n if (!this.allowEditTags) return;\n this.toggleEditMode(index);\n this.focus(index);\n },\n // Toggles the edit mode for a tag\n toggleEditMode(index) {\n if (!this.allowEditTags || this.disabled) return;\n this.tagsEditStatus[index] = !this.tagsEditStatus[index];\n },\n // only called by the @input event from TagInput.\n // Creates a new tag model and applys it to this.tagsCopy[index]\n createChangedTag(index, event) {\n // If the text of a tag changes → we create a new one with a new validation.\n // we take the value from the event if possible, because on google android phones\n // this.tagsCopy[index].text is incorrect, when typing a space on the virtual keyboard.\n // yes, this sucks ...\n const tag = this.tagsCopy[index];\n tag.text = event ? event.target.value : this.tagsCopy[index].text;\n this.tagsCopy[index] =\n createTag(tag, this.tagsCopy, this.validation, this.isDuplicate);\n },\n // Focuses the input of a tag\n focus(index) {\n this.$nextTick(() => {\n const el = this.tagCenter[index].querySelector('input.ti-tag-input');\n if (el) el.focus();\n });\n },\n quote(regex) {\n return regex.replace(/([()[{*+.$^\\\\|?])/g, '\\\\$1');\n },\n // Cancels the edit mode for a tag → resets the tag to it's original model!\n cancelEdit(index) {\n if (!this.tags[index]) return;\n this.tagsCopy[index] = clone(\n createTag(this.tags[index], this.tags, this.validation, this.isDuplicate)\n );\n this.tagsEditStatus[index] = false;\n },\n hasForbiddingAddRule(tiClasses) {\n // Does the tag has a rule, defined by the user, which prohibits adding?\n return tiClasses.some(type => {\n const rule = this.validation.find(rule => type === rule.classes);\n return rule ? rule.disableAdd : false;\n });\n },\n // Creates multiple tags out of a string, based on the prop separators\n createTagTexts(string) {\n const regex = new RegExp(this.separators.map(s => this.quote(s)).join('|'));\n return string.split(regex).map(text => ({ text }));\n },\n // Method to call to delete a tag\n performDeleteTag(index) {\n if (!this.onBeforeDeletingTag) this.deleteTag(index);\n /**\n * @description Emits before a tag is deleted\n * @name before-deleting-tag\n * @property {events} hook\n * @returns {Object} Contains the to editing tag: 'tag'. The tag's index: 'index'\n And a function: 'deleteTag'. If the function is invoked, the tag is deleted.\n */\n this.$emit('before-deleting-tag', {\n index,\n tag: this.tagsCopy[index],\n deleteTag: () => this.deleteTag(index),\n });\n },\n deleteTag(index) {\n if (this.disabled) return;\n this.deletionMark = null;\n\n // Clears the debounce for the deletion mark and removes the tag\n clearTimeout(this.deletionMarkTime);\n this.tagsCopy.splice(index, 1);\n\n // Special update for the parent if v-model:tags is on\n this.$emit('update:tags', this.tagsCopy);\n\n /**\n * @description Emits if the tags array changes\n * @name tags-changed\n * @property {events}\n * @returns {Array} The modified tags array\n */\n this.$emit('tags-changed', this.tagsCopy);\n },\n // Decides wether the input keyCode is one, which is allowed to modify/add tags\n noTriggerKey(event, category) {\n const triggerKey = this[category].indexOf(event.keyCode) !== -1\n || this[category].indexOf(event.key) !== -1;\n if (triggerKey) event.preventDefault();\n return !triggerKey;\n },\n // Method to call to add a tag\n performAddTags(tag, event, source) {\n // If the input is disabled or the function was invoked by no trigger key → stop\n if (this.disabled || event && this.noTriggerKey(event, 'addOnKey')) return;\n\n // Convert the string or object into a tags array\n let tags = [];\n if (typeof tag === 'object') tags = [tag];\n if (typeof tag === 'string') tags = this.createTagTexts(tag);\n\n // Filter out the tags with no content\n tags = tags.filter(tag => tag.text.trim().length > 0);\n\n // The basic checks are done → try to add all tags\n tags.forEach(tag => {\n tag = createTag(tag, this.tags, this.validation, this.isDuplicate);\n if (!this.onBeforeAddingTag) this.addTag(tag, source);\n /**\n * @description Emits before a tag is added\n * @name before-adding-tag\n * @property {events} hook\n * @returns {Object} Contains the to editing tag: 'tag'. And a function: 'addTag'.\n If the function is invoked, the tag is added.\n */\n this.$emit('before-adding-tag', {\n tag,\n addTag: () => this.addTag(tag, source),\n });\n });\n },\n duplicateFilter(tag) {\n return this.isDuplicate\n ? !this.isDuplicate(this.tagsCopy, tag)\n : !this.tagsCopy.find(t => t.text === tag.text);\n },\n addTag(tag, source = 'new-tag-input') {\n // Check if we should only add items from autocomplete and if so,\n // does the tag exists as an option\n const options = this.filteredAutocompleteItems.map(i => i.text);\n if (this.addOnlyFromAutocomplete && options.indexOf(tag.text) === -1) return;\n\n // We use $nextTick here, because this.tagsCopy.length would be wrong if tags are added fast\n // like in a loop. With $nextTick we get the correct length value\n this.$nextTick(() => {\n // Maybe we should not add a tag because the maximum has reached already\n const maximumReached = this.maxTags && this.maxTags <= this.tagsCopy.length;\n\n /**\n * @description Emits if the maximum, the tags array is allowed to hold, is reached.\n The maximum can be defined by the prop 'max-tags'.\n * @name max-tags-reached\n * @property {events}\n * @returns {Object} The 'tag' which could not be added because of the length limitation.\n */\n if (maximumReached) return this.$emit('max-tags-reached', tag);\n\n // If we shouldn't add duplicates and that is one → stop\n const dup = this.avoidAddingDuplicates && !this.duplicateFilter(tag);\n /**\n * @description Emits if the user tries to add a duplicate to the tag's array\n and adding duplicates is prevented by the prop 'avoid-adding-duplicates'\n * @name adding-duplicate\n * @property {events}\n */\n if (dup) return this.$emit('adding-duplicate', tag);\n\n // If we find a rule which avoids that the tag is added → stop\n if (this.hasForbiddingAddRule(tag.tiClasses)) return;\n\n // Everything is okay → add the tag\n this.newTag = ''\n this.tagsCopy.push(tag);\n\n // Special update for the parent if v-model:tags is on\n this.$emit('update:tags', this.tagsCopy);\n\n // if the tag was added by autocomplete, focus the input\n if (source === 'autocomplete') this.$refs.newTagInput.focus();\n\n this.$emit('tags-changed', this.tagsCopy);\n });\n },\n // Method to call to save a tag\n performSaveTag(index, event) {\n const tag = this.tagsCopy[index];\n\n // If the input is disabled or the function was invoked by no trigger key → stop\n if (this.disabled || event && this.noTriggerKey(event, 'addOnKey')) return;\n\n // If the tag has no content → stop\n if (tag.text.trim().length === 0) return;\n\n // The basic checks are done → try to save the tag\n if (!this['on-before-saving-tag']) this.saveTag(index, tag);\n /**\n * @description Emits before a tag is saved\n * @name before-saving-tag\n * @property {events} hook\n * @returns {Object} Contains the to editing tag: 'tag'.\n The tag's index: 'index'. And a function: 'saveTag'.\n If the function is invoked, the tag is saved.\n */\n this.$emit('before-saving-tag', {\n index,\n tag,\n saveTag: () => this.saveTag(index, tag),\n });\n },\n saveTag(index, tag) {\n // If we shouldn't save duplicates → stop\n if (this.avoidAddingDuplicates) {\n const tagsDiff = clone(this.tagsCopy);\n const inputTag = tagsDiff.splice(index, 1)[0];\n const dup = this.isDuplicate ?\n this.isDuplicate(tagsDiff, inputTag) :\n tagsDiff.map(t => t.text).indexOf(inputTag.text) !== -1;\n\n /**\n * @description Emits if the user tries to save a duplicate in the tag's array\n and saving duplicates is prevented by the prop 'avoid-adding-duplicates'\n * @name saving-duplicate\n * @property {events}\n */\n if (dup) return this.$emit('saving-duplicate', tag);\n }\n\n // If we find a rule which avoids that the tag is added → stop\n if (this.hasForbiddingAddRule(tag.tiClasses)) return;\n\n // Everything is okay → save the tag\n this.tagsCopy[index] = tag;\n this.toggleEditMode(index);\n\n // Special update for the parent if v-model:tags is on\n this.$emit('update:tags', this.tagsCopy);\n\n this.$emit('tags-changed', this.tagsCopy);\n },\n tagsEqual() {\n return !this.tagsCopy.some((t, i) => !equal(t, this.tags[i]));\n },\n updateNewTag(ievent) {\n const value = ievent.target.value;\n this.newTag = value;\n this.$emit('update:modelValue', value);\n },\n initTags() {\n // We always work with a copy of the \"real\" tags, to easier edit them\n this.tagsCopy = createTags(this.tags, this.validation, this.isDuplicate);\n\n // Let's create an array which defines whether a tag is in edit mode or not\n this.tagsEditStatus = clone(this.tags).map(() => false);\n\n // We check if the original and the copied and validated tags are equal →\n // Update the parent if not and v-model:tags is on.\n if (!this.tagsEqual()) {\n this.$emit('update:tags', this.tagsCopy);\n }\n },\n blurredOnClick(e) {\n // if the click occurs on tagsinput → don't hide\n if (this.$el.contains(e.target) || this.$el.contains(document.activeElement)) return;\n this.performBlur(e);\n },\n performBlur() {\n // If we should add tags before blurring → add tag\n if (this.addOnBlur && this.focused) this.performAddTags(this.newTag);\n\n // Hide autocomplete layer\n this.focused = false;\n },\n },\n watch: {\n modelValue(newValue){\n // If v-model change outside, update the newTag model\n if (!this.addOnlyFromAutocomplete) this.selectedItem = null;\n this.newTag = newValue;\n },\n tags: {\n handler() {\n // If the tags change outside, update the tagsCopy model\n this.initTags();\n },\n deep: true,\n },\n autocompleteOpen: 'selectDefaultItem',\n },\n created() {\n this.newTag = this.modelValue;\n this.initTags();\n },\n mounted() {\n // We select a default item based on props in the autocomplete\n this.selectDefaultItem();\n\n // We add a event listener to hide autocomplete on blur\n document.addEventListener('click', this.blurredOnClick);\n },\n beforeUpdate() {\n this.tagCenter = [];\n },\n unmounted() {\n document.removeEventListener('click', this.blurredOnClick);\n },\n};\n"],"names":["TagInput","props","createTag","createClasses","index","clone","rule","tag","equal","createTags"],"mappings":";;;;;;AASA,MAAe,YAAA;AAAA,EACb,MAAM;AAAA,EACN,YAAY,EAAEA,UAAAA,SAAAA,QAAU;AAAA,EAC1B,OAAEC,mBAAK;AAAA,EACL,OAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AAAA,EACD,cAAc;AAAA,EACd,OAAO;AACL,WAAO;AAAA,MACL,WAAW,CAAE;AAAA,MACb,QAAQ;AAAA,MACR,UAAU,CAAE;AAAA,MACZ,gBAAgB;AAAA,MAChB,cAAc;AAAA,MACd,kBAAkB;AAAA,MAClB,cAAc;AAAA,MACd,SAAS;AAAA,IACV;AAAA,EACF;AAAA,EACD,UAAU;AAAA;AAAA,IAER,mBAAmB;AACjB,UAAI,KAAK,uBAAwB,QAAO;AACxC,aAAO,KAAK,WAAW,QAClB,KAAK,OAAO,UAAU,KAAK,yBAC3B,KAAK,0BAA0B,SAAS,KACxC,KAAK;AAAA,IACX;AAAA;AAAA,IAED,4BAA4B;AAC1B,YAAM,KAAK,KAAK,kBAAkB,IAAI,OAAK;AACzC,eAAOC,WAAS,UAAC,GAAG,KAAK,MAAM,KAAK,YAAY,KAAK,WAAW;AAAA,MACxE,CAAO;AAED,UAAI,CAAC,KAAK,6BAA8B,QAAO;AAC/C,aAAO,GAAG,OAAO,KAAK,eAAe;AAAA,IACtC;AAAA,EACF;AAAA,EACD,SAAS;AAAA,IACX,eAAIC,WAAa;AAAA;AAAA,IAEb,iBAAiB,QAAQ;AACvB,YAAM,QAAQ,KAAK;AACnB,YAAM,eAAe,KAAK;AAC1B,YAAM,WAAW,MAAM,SAAS;AAChC,UAAI,MAAM,WAAW,EAAG;AACxB,UAAI,iBAAiB,KAAM,QAAO;AAClC,UAAI,WAAW,YAAY,iBAAiB,EAAG,QAAO;AAAA,eAC7C,WAAW,WAAW,iBAAiB,SAAU,QAAO;AAAA,UAC5D,QAAO,WAAW,UAAU,eAAe,IAAI,eAAe;AAAA,IACpE;AAAA,IACD,oBAAoB;AAClB,UAAI,KAAK,2BAA2B,KAAK,0BAA0B,SAAS,GAAG;AAC7E,aAAK,eAAe;AAAA,MAC5B,MAAa,MAAK,eAAe;AAAA,IAC5B;AAAA,IACD,WAAW,GAAG,QAAQ;AACpB,QAAE,eAAgB;AAClB,WAAK,eAAe,KAAK,iBAAiB,MAAM;AAAA,IACjD;AAAA,IACD,WAAWC,QAAO;AAChB,aAAO,KAAK,iBAAiBA;AAAA,IAC9B;AAAA,IACD,SAASA,QAAO;AACd,aAAO,KAAK,iBAAiBA;AAAA,IAC9B;AAAA;AAAA,IAED,aAAa,IAAI;AACf,UAAI,IAAI;AACN,aAAK,UAAU,KAAK,EAAE;AAAA,MAC9B;AAAA,IACK;AAAA;AAAA,IAED,eAAe;AAEb,UAAI,CAAC,KAAK,qBAAqB,KAAK,OAAO,SAAS,EAAG;AACvD,YAAM,YAAY,KAAK,SAAS,SAAS;AACzC,UAAI,KAAK,iBAAiB,MAAM;AAC9B,aAAK,mBAAmB,WAAW,MAAM,KAAK,eAAe,MAAM,GAAI;AACvE,aAAK,eAAe;AAAA,MAC5B,MAAa,MAAK,iBAAiB,SAAS;AAAA,IACvC;AAAA,IACD,mBAAmB;AACjB,UAAI,CAAC,KAAK,aAAc;AACxB,iBAAW,MAAM,KAAK,eAAe,KAAK,MAAM,GAAG,EAAE;AAAA,IACtD;AAAA;AAAA,IAED,eAAeA,QAAO;AACpB,UAAI,CAAC,KAAK,cAAe;AACzB,UAAI,CAAC,KAAK,kBAAmB,MAAK,QAAQA,MAAK;AAS/C,WAAK,MAAM,sBAAsB;AAAA,QAC/B,OAAAA;AAAA,QACA,KAAK,KAAK,SAASA,MAAK;AAAA,QACxB,SAAS,MAAM,KAAK,QAAQA,MAAK;AAAA,MACzC,CAAO;AAAA,IACF;AAAA;AAAA,IAED,QAAQA,QAAO;AACb,UAAI,CAAC,KAAK,cAAe;AACzB,WAAK,eAAeA,MAAK;AACzB,WAAK,MAAMA,MAAK;AAAA,IACjB;AAAA;AAAA,IAED,eAAeA,QAAO;AACpB,UAAI,CAAC,KAAK,iBAAiB,KAAK,SAAU;AAC1C,WAAK,eAAeA,MAAK,IAAI,CAAC,KAAK,eAAeA,MAAK;AAAA,IACxD;AAAA;AAAA;AAAA,IAGD,iBAAiBA,QAAO,OAAO;AAK7B,YAAM,MAAM,KAAK,SAASA,MAAK;AAC/B,UAAI,OAAO,QAAQ,MAAM,OAAO,QAAQ,KAAK,SAASA,MAAK,EAAE;AAC7D,WAAK,SAASA,MAAK,IACjBF,WAAS,UAAC,KAAK,KAAK,UAAU,KAAK,YAAY,KAAK,WAAW;AAAA,IAClE;AAAA;AAAA,IAED,MAAME,QAAO;AACX,WAAK,UAAU,MAAM;AACnB,cAAM,KAAK,KAAK,UAAUA,MAAK,EAAE,cAAc,oBAAoB;AACnE,YAAI,GAAI,IAAG,MAAO;AAAA,MAC1B,CAAO;AAAA,IACF;AAAA,IACD,MAAM,OAAO;AACX,aAAO,MAAM,QAAQ,sBAAsB,MAAM;AAAA,IAClD;AAAA;AAAA,IAED,WAAWA,QAAO;AAChB,UAAI,CAAC,KAAK,KAAKA,MAAK,EAAG;AACvB,WAAK,SAASA,MAAK,IAAIC,WAAK;AAAA,QAC1BH,qBAAU,KAAK,KAAKE,MAAK,GAAG,KAAK,MAAM,KAAK,YAAY,KAAK,WAAW;AAAA,MACzE;AACD,WAAK,eAAeA,MAAK,IAAI;AAAA,IAC9B;AAAA,IACD,qBAAqB,WAAW;AAE9B,aAAO,UAAU,KAAK,UAAQ;AAC5B,cAAM,OAAO,KAAK,WAAW,KAAK,CAAAE,UAAQ,SAASA,MAAK,OAAO;AAC/D,eAAO,OAAO,KAAK,aAAa;AAAA,MACxC,CAAO;AAAA,IACF;AAAA;AAAA,IAED,eAAe,QAAQ;AACrB,YAAM,QAAQ,IAAI,OAAO,KAAK,WAAW,IAAI,OAAK,KAAK,MAAM,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC;AAC1E,aAAO,OAAO,MAAM,KAAK,EAAE,IAAI,WAAS,EAAE,KAAI,EAAG;AAAA,IAClD;AAAA;AAAA,IAED,iBAAiBF,QAAO;AACtB,UAAI,CAAC,KAAK,oBAAqB,MAAK,UAAUA,MAAK;AAQnD,WAAK,MAAM,uBAAuB;AAAA,QAChC,OAAAA;AAAA,QACA,KAAK,KAAK,SAASA,MAAK;AAAA,QACxB,WAAW,MAAM,KAAK,UAAUA,MAAK;AAAA,MAC7C,CAAO;AAAA,IACF;AAAA,IACD,UAAUA,QAAO;AACf,UAAI,KAAK,SAAU;AACnB,WAAK,eAAe;AAGpB,mBAAa,KAAK,gBAAgB;AAClC,WAAK,SAAS,OAAOA,QAAO,CAAC;AAG7B,WAAK,MAAM,eAAe,KAAK,QAAQ;AAQvC,WAAK,MAAM,gBAAgB,KAAK,QAAQ;AAAA,IACzC;AAAA;AAAA,IAED,aAAa,OAAO,UAAU;AAC5B,YAAM,aAAa,KAAK,QAAQ,EAAE,QAAQ,MAAM,OAAO,MAAM,MACxD,KAAK,QAAQ,EAAE,QAAQ,MAAM,GAAG,MAAM;AAC3C,UAAI,WAAY,OAAM,eAAgB;AACtC,aAAO,CAAC;AAAA,IACT;AAAA;AAAA,IAED,eAAe,KAAK,OAAO,QAAQ;AAEjC,UAAI,KAAK,YAAY,SAAS,KAAK,aAAa,OAAO,UAAU,EAAG;AAGpE,UAAI,OAAO,CAAE;AACb,UAAI,OAAO,QAAQ,SAAU,QAAO,CAAC,GAAG;AACxC,UAAI,OAAO,QAAQ,SAAU,QAAO,KAAK,eAAe,GAAG;AAG3D,aAAO,KAAK,OAAO,CAAAG,SAAOA,KAAI,KAAK,KAAI,EAAG,SAAS,CAAC;AAGpD,WAAK,QAAQ,CAAAA,SAAO;AAClB,QAAAA,OAAML,WAAAA,UAAUK,MAAK,KAAK,MAAM,KAAK,YAAY,KAAK,WAAW;AACjE,YAAI,CAAC,KAAK,kBAAmB,MAAK,OAAOA,MAAK,MAAM;AAQpD,aAAK,MAAM,qBAAqB;AAAA,UAC9B,KAAAA;AAAA,UACA,QAAQ,MAAM,KAAK,OAAOA,MAAK,MAAM;AAAA,QAC/C,CAAS;AAAA,MACT,CAAO;AAAA,IACF;AAAA,IACD,gBAAgB,KAAK;AACnB,aAAO,KAAK,cACR,CAAC,KAAK,YAAY,KAAK,UAAU,GAAG,IACpC,CAAC,KAAK,SAAS,KAAK,OAAK,EAAE,SAAS,IAAI,IAAI;AAAA,IACjD;AAAA,IACD,OAAO,KAAK,SAAS,iBAAiB;AAGpC,YAAM,UAAU,KAAK,0BAA0B,IAAI,OAAK,EAAE,IAAI;AAC9D,UAAI,KAAK,2BAA2B,QAAQ,QAAQ,IAAI,IAAI,MAAM,GAAI;AAItE,WAAK,UAAU,MAAM;AAEnB,cAAM,iBAAiB,KAAK,WAAW,KAAK,WAAW,KAAK,SAAS;AASrE,YAAI,eAAgB,QAAO,KAAK,MAAM,oBAAoB,GAAG;AAG7D,cAAM,MAAM,KAAK,yBAAyB,CAAC,KAAK,gBAAgB,GAAG;AAOnE,YAAI,IAAK,QAAO,KAAK,MAAM,oBAAoB,GAAG;AAGlD,YAAI,KAAK,qBAAqB,IAAI,SAAS,EAAG;AAG9C,aAAK,SAAS;AACd,aAAK,SAAS,KAAK,GAAG;AAGtB,aAAK,MAAM,eAAe,KAAK,QAAQ;AAGvC,YAAI,WAAW,eAAgB,MAAK,MAAM,YAAY,MAAO;AAE7D,aAAK,MAAM,gBAAgB,KAAK,QAAQ;AAAA,MAChD,CAAO;AAAA,IACF;AAAA;AAAA,IAED,eAAeH,QAAO,OAAO;AAC3B,YAAM,MAAM,KAAK,SAASA,MAAK;AAG/B,UAAI,KAAK,YAAY,SAAS,KAAK,aAAa,OAAO,UAAU,EAAG;AAGpE,UAAI,IAAI,KAAK,KAAI,EAAG,WAAW,EAAG;AAGlC,UAAI,CAAC,KAAK,sBAAsB,EAAG,MAAK,QAAQA,QAAO,GAAG;AAS1D,WAAK,MAAM,qBAAqB;AAAA,QAC9B,OAAAA;AAAA,QACA;AAAA,QACA,SAAS,MAAM,KAAK,QAAQA,QAAO,GAAG;AAAA,MAC9C,CAAO;AAAA,IACF;AAAA,IACD,QAAQA,QAAO,KAAK;AAElB,UAAI,KAAK,uBAAuB;AAC9B,cAAM,WAAWC,WAAAA,MAAM,KAAK,QAAQ;AACpC,cAAM,WAAW,SAAS,OAAOD,QAAO,CAAC,EAAE,CAAC;AAC5C,cAAM,MAAM,KAAK,cACf,KAAK,YAAY,UAAU,QAAQ,IACnC,SAAS,IAAI,OAAK,EAAE,IAAI,EAAE,QAAQ,SAAS,IAAI,MAAM;AAQvD,YAAI,IAAK,QAAO,KAAK,MAAM,oBAAoB,GAAG;AAAA,MAC1D;AAGM,UAAI,KAAK,qBAAqB,IAAI,SAAS,EAAG;AAG9C,WAAK,SAASA,MAAK,IAAI;AACvB,WAAK,eAAeA,MAAK;AAGzB,WAAK,MAAM,eAAe,KAAK,QAAQ;AAEvC,WAAK,MAAM,gBAAgB,KAAK,QAAQ;AAAA,IACzC;AAAA,IACD,YAAY;AACV,aAAO,CAAC,KAAK,SAAS,KAAK,CAAC,GAAG,MAAM,CAACI,MAAAA,QAAM,GAAG,KAAK,KAAK,CAAC,CAAC,CAAC;AAAA,IAC7D;AAAA,IACD,aAAa,QAAQ;AACnB,YAAM,QAAQ,OAAO,OAAO;AAC5B,WAAK,SAAS;AACd,WAAK,MAAM,qBAAqB,KAAK;AAAA,IACtC;AAAA,IACD,WAAW;AAET,WAAK,WAAWC,WAAAA,WAAW,KAAK,MAAM,KAAK,YAAY,KAAK,WAAW;AAGvE,WAAK,iBAAiBJ,iBAAM,KAAK,IAAI,EAAE,IAAI,MAAM,KAAK;AAItD,UAAI,CAAC,KAAK,aAAa;AACrB,aAAK,MAAM,eAAe,KAAK,QAAQ;AAAA,MAC/C;AAAA,IACK;AAAA,IACD,eAAe,GAAG;AAEhB,UAAI,KAAK,IAAI,SAAS,EAAE,MAAM,KAAK,KAAK,IAAI,SAAS,SAAS,aAAa,EAAG;AAC9E,WAAK,YAAY,CAAC;AAAA,IACnB;AAAA,IACD,cAAc;AAEZ,UAAI,KAAK,aAAa,KAAK,QAAS,MAAK,eAAe,KAAK,MAAM;AAGnE,WAAK,UAAU;AAAA,IAChB;AAAA,EACF;AAAA,EACD,OAAO;AAAA,IACL,WAAW,UAAS;AAElB,UAAI,CAAC,KAAK,wBAAyB,MAAK,eAAe;AACvD,WAAK,SAAS;AAAA,IACf;AAAA,IACD,MAAM;AAAA,MACJ,UAAU;AAER,aAAK,SAAU;AAAA,MAChB;AAAA,MACD,MAAM;AAAA,IACP;AAAA,IACD,kBAAkB;AAAA,EACnB;AAAA,EACD,UAAU;AACR,SAAK,SAAS,KAAK;AACnB,SAAK,SAAU;AAAA,EAChB;AAAA,EACD,UAAU;AAER,SAAK,kBAAmB;AAGxB,aAAS,iBAAiB,SAAS,KAAK,cAAc;AAAA,EACvD;AAAA,EACD,eAAe;AACb,SAAK,YAAY,CAAE;AAAA,EACpB;AAAA,EACD,YAAY;AACV,aAAS,oBAAoB,SAAS,KAAK,cAAc;AAAA,EAC1D;AACH;;"}
|
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
import equal from "../../../../_virtual/index.js";
|
|
2
|
-
import { createClasses, createTags, clone, createTag } from "./create-tags.js";
|
|
3
|
-
import TagInput from "./tag-input.vue2.js";
|
|
4
|
-
import props from "./vue-tags-input.props.js";
|
|
5
|
-
const _sfc_main = {
|
|
6
|
-
name: "VueTagsInput",
|
|
7
|
-
components: { TagInput },
|
|
8
|
-
props,
|
|
9
|
-
emits: [
|
|
10
|
-
"adding-duplicate",
|
|
11
|
-
"before-adding-tag",
|
|
12
|
-
"before-deleting-tag",
|
|
13
|
-
"before-editing-tag",
|
|
14
|
-
"before-saving-tag",
|
|
15
|
-
"max-tags-reached",
|
|
16
|
-
"saving-duplicate",
|
|
17
|
-
"tags-changed",
|
|
18
|
-
"tag-clicked",
|
|
19
|
-
"update:modelValue",
|
|
20
|
-
"update:tags"
|
|
21
|
-
],
|
|
22
|
-
inheritAttrs: false,
|
|
23
|
-
data() {
|
|
24
|
-
return {
|
|
25
|
-
tagCenter: [],
|
|
26
|
-
newTag: null,
|
|
27
|
-
tagsCopy: [],
|
|
28
|
-
tagsEditStatus: null,
|
|
29
|
-
deletionMark: null,
|
|
30
|
-
deletionMarkTime: null,
|
|
31
|
-
selectedItem: null,
|
|
32
|
-
focused: null
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
computed: {
|
|
36
|
-
// Property which calculates if the autocomplete should be opened or not
|
|
37
|
-
autocompleteOpen() {
|
|
38
|
-
if (this.autocompleteAlwaysOpen) return true;
|
|
39
|
-
return this.newTag !== null && this.newTag.length >= this.autocompleteMinLength && this.filteredAutocompleteItems.length > 0 && this.focused;
|
|
40
|
-
},
|
|
41
|
-
// Returns validated autocomplete items. Maybe duplicates are filtered out
|
|
42
|
-
filteredAutocompleteItems() {
|
|
43
|
-
const is = this.autocompleteItems.map((i) => {
|
|
44
|
-
return createTag(i, this.tags, this.validation, this.isDuplicate);
|
|
45
|
-
});
|
|
46
|
-
if (!this.autocompleteFilterDuplicates) return is;
|
|
47
|
-
return is.filter(this.duplicateFilter);
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
methods: {
|
|
51
|
-
createClasses,
|
|
52
|
-
// Returns the index which item should be selected, based on the parameter 'method'
|
|
53
|
-
getSelectedIndex(method) {
|
|
54
|
-
const items = this.filteredAutocompleteItems;
|
|
55
|
-
const selectedItem = this.selectedItem;
|
|
56
|
-
const lastItem = items.length - 1;
|
|
57
|
-
if (items.length === 0) return;
|
|
58
|
-
if (selectedItem === null) return 0;
|
|
59
|
-
if (method === "before" && selectedItem === 0) return lastItem;
|
|
60
|
-
else if (method === "after" && selectedItem === lastItem) return 0;
|
|
61
|
-
else return method === "after" ? selectedItem + 1 : selectedItem - 1;
|
|
62
|
-
},
|
|
63
|
-
selectDefaultItem() {
|
|
64
|
-
if (this.addOnlyFromAutocomplete && this.filteredAutocompleteItems.length > 0) {
|
|
65
|
-
this.selectedItem = 0;
|
|
66
|
-
} else this.selectedItem = null;
|
|
67
|
-
},
|
|
68
|
-
selectItem(e, method) {
|
|
69
|
-
e.preventDefault();
|
|
70
|
-
this.selectedItem = this.getSelectedIndex(method);
|
|
71
|
-
},
|
|
72
|
-
isSelected(index) {
|
|
73
|
-
return this.selectedItem === index;
|
|
74
|
-
},
|
|
75
|
-
isMarked(index) {
|
|
76
|
-
return this.deletionMark === index;
|
|
77
|
-
},
|
|
78
|
-
// Save ref for tag
|
|
79
|
-
setTagCenter(el) {
|
|
80
|
-
if (el) {
|
|
81
|
-
this.tagCenter.push(el);
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
// Method which is called when the user presses backspace → remove the last tag
|
|
85
|
-
invokeDelete() {
|
|
86
|
-
if (!this.deleteOnBackspace || this.newTag.length > 0) return;
|
|
87
|
-
const lastIndex = this.tagsCopy.length - 1;
|
|
88
|
-
if (this.deletionMark === null) {
|
|
89
|
-
this.deletionMarkTime = setTimeout(() => this.deletionMark = null, 1e3);
|
|
90
|
-
this.deletionMark = lastIndex;
|
|
91
|
-
} else this.performDeleteTag(lastIndex);
|
|
92
|
-
},
|
|
93
|
-
addTagsFromPaste() {
|
|
94
|
-
if (!this.addFromPaste) return;
|
|
95
|
-
setTimeout(() => this.performAddTags(this.newTag), 10);
|
|
96
|
-
},
|
|
97
|
-
// Method to call if a tag should switch to it's edit mode
|
|
98
|
-
performEditTag(index) {
|
|
99
|
-
if (!this.allowEditTags) return;
|
|
100
|
-
if (!this.onBeforeAddingTag) this.editTag(index);
|
|
101
|
-
this.$emit("before-editing-tag", {
|
|
102
|
-
index,
|
|
103
|
-
tag: this.tagsCopy[index],
|
|
104
|
-
editTag: () => this.editTag(index)
|
|
105
|
-
});
|
|
106
|
-
},
|
|
107
|
-
// Opens the edit mode for a tag and focuses it
|
|
108
|
-
editTag(index) {
|
|
109
|
-
if (!this.allowEditTags) return;
|
|
110
|
-
this.toggleEditMode(index);
|
|
111
|
-
this.focus(index);
|
|
112
|
-
},
|
|
113
|
-
// Toggles the edit mode for a tag
|
|
114
|
-
toggleEditMode(index) {
|
|
115
|
-
if (!this.allowEditTags || this.disabled) return;
|
|
116
|
-
this.tagsEditStatus[index] = !this.tagsEditStatus[index];
|
|
117
|
-
},
|
|
118
|
-
// only called by the @input event from TagInput.
|
|
119
|
-
// Creates a new tag model and applys it to this.tagsCopy[index]
|
|
120
|
-
createChangedTag(index, event) {
|
|
121
|
-
const tag = this.tagsCopy[index];
|
|
122
|
-
tag.text = event ? event.target.value : this.tagsCopy[index].text;
|
|
123
|
-
this.tagsCopy[index] = createTag(tag, this.tagsCopy, this.validation, this.isDuplicate);
|
|
124
|
-
},
|
|
125
|
-
// Focuses the input of a tag
|
|
126
|
-
focus(index) {
|
|
127
|
-
this.$nextTick(() => {
|
|
128
|
-
const el = this.tagCenter[index].querySelector("input.ti-tag-input");
|
|
129
|
-
if (el) el.focus();
|
|
130
|
-
});
|
|
131
|
-
},
|
|
132
|
-
quote(regex) {
|
|
133
|
-
return regex.replace(/([()[{*+.$^\\|?])/g, "\\$1");
|
|
134
|
-
},
|
|
135
|
-
// Cancels the edit mode for a tag → resets the tag to it's original model!
|
|
136
|
-
cancelEdit(index) {
|
|
137
|
-
if (!this.tags[index]) return;
|
|
138
|
-
this.tagsCopy[index] = clone(
|
|
139
|
-
createTag(this.tags[index], this.tags, this.validation, this.isDuplicate)
|
|
140
|
-
);
|
|
141
|
-
this.tagsEditStatus[index] = false;
|
|
142
|
-
},
|
|
143
|
-
hasForbiddingAddRule(tiClasses) {
|
|
144
|
-
return tiClasses.some((type) => {
|
|
145
|
-
const rule = this.validation.find((rule2) => type === rule2.classes);
|
|
146
|
-
return rule ? rule.disableAdd : false;
|
|
147
|
-
});
|
|
148
|
-
},
|
|
149
|
-
// Creates multiple tags out of a string, based on the prop separators
|
|
150
|
-
createTagTexts(string) {
|
|
151
|
-
const regex = new RegExp(this.separators.map((s) => this.quote(s)).join("|"));
|
|
152
|
-
return string.split(regex).map((text) => ({ text }));
|
|
153
|
-
},
|
|
154
|
-
// Method to call to delete a tag
|
|
155
|
-
performDeleteTag(index) {
|
|
156
|
-
if (!this.onBeforeDeletingTag) this.deleteTag(index);
|
|
157
|
-
this.$emit("before-deleting-tag", {
|
|
158
|
-
index,
|
|
159
|
-
tag: this.tagsCopy[index],
|
|
160
|
-
deleteTag: () => this.deleteTag(index)
|
|
161
|
-
});
|
|
162
|
-
},
|
|
163
|
-
deleteTag(index) {
|
|
164
|
-
if (this.disabled) return;
|
|
165
|
-
this.deletionMark = null;
|
|
166
|
-
clearTimeout(this.deletionMarkTime);
|
|
167
|
-
this.tagsCopy.splice(index, 1);
|
|
168
|
-
this.$emit("update:tags", this.tagsCopy);
|
|
169
|
-
this.$emit("tags-changed", this.tagsCopy);
|
|
170
|
-
},
|
|
171
|
-
// Decides wether the input keyCode is one, which is allowed to modify/add tags
|
|
172
|
-
noTriggerKey(event, category) {
|
|
173
|
-
const triggerKey = this[category].indexOf(event.keyCode) !== -1 || this[category].indexOf(event.key) !== -1;
|
|
174
|
-
if (triggerKey) event.preventDefault();
|
|
175
|
-
return !triggerKey;
|
|
176
|
-
},
|
|
177
|
-
// Method to call to add a tag
|
|
178
|
-
performAddTags(tag, event, source) {
|
|
179
|
-
if (this.disabled || event && this.noTriggerKey(event, "addOnKey")) return;
|
|
180
|
-
let tags = [];
|
|
181
|
-
if (typeof tag === "object") tags = [tag];
|
|
182
|
-
if (typeof tag === "string") tags = this.createTagTexts(tag);
|
|
183
|
-
tags = tags.filter((tag2) => tag2.text.trim().length > 0);
|
|
184
|
-
tags.forEach((tag2) => {
|
|
185
|
-
tag2 = createTag(tag2, this.tags, this.validation, this.isDuplicate);
|
|
186
|
-
if (!this.onBeforeAddingTag) this.addTag(tag2, source);
|
|
187
|
-
this.$emit("before-adding-tag", {
|
|
188
|
-
tag: tag2,
|
|
189
|
-
addTag: () => this.addTag(tag2, source)
|
|
190
|
-
});
|
|
191
|
-
});
|
|
192
|
-
},
|
|
193
|
-
duplicateFilter(tag) {
|
|
194
|
-
return this.isDuplicate ? !this.isDuplicate(this.tagsCopy, tag) : !this.tagsCopy.find((t) => t.text === tag.text);
|
|
195
|
-
},
|
|
196
|
-
addTag(tag, source = "new-tag-input") {
|
|
197
|
-
const options = this.filteredAutocompleteItems.map((i) => i.text);
|
|
198
|
-
if (this.addOnlyFromAutocomplete && options.indexOf(tag.text) === -1) return;
|
|
199
|
-
this.$nextTick(() => {
|
|
200
|
-
const maximumReached = this.maxTags && this.maxTags <= this.tagsCopy.length;
|
|
201
|
-
if (maximumReached) return this.$emit("max-tags-reached", tag);
|
|
202
|
-
const dup = this.avoidAddingDuplicates && !this.duplicateFilter(tag);
|
|
203
|
-
if (dup) return this.$emit("adding-duplicate", tag);
|
|
204
|
-
if (this.hasForbiddingAddRule(tag.tiClasses)) return;
|
|
205
|
-
this.newTag = "";
|
|
206
|
-
this.tagsCopy.push(tag);
|
|
207
|
-
this.$emit("update:tags", this.tagsCopy);
|
|
208
|
-
if (source === "autocomplete") this.$refs.newTagInput.focus();
|
|
209
|
-
this.$emit("tags-changed", this.tagsCopy);
|
|
210
|
-
});
|
|
211
|
-
},
|
|
212
|
-
// Method to call to save a tag
|
|
213
|
-
performSaveTag(index, event) {
|
|
214
|
-
const tag = this.tagsCopy[index];
|
|
215
|
-
if (this.disabled || event && this.noTriggerKey(event, "addOnKey")) return;
|
|
216
|
-
if (tag.text.trim().length === 0) return;
|
|
217
|
-
if (!this["on-before-saving-tag"]) this.saveTag(index, tag);
|
|
218
|
-
this.$emit("before-saving-tag", {
|
|
219
|
-
index,
|
|
220
|
-
tag,
|
|
221
|
-
saveTag: () => this.saveTag(index, tag)
|
|
222
|
-
});
|
|
223
|
-
},
|
|
224
|
-
saveTag(index, tag) {
|
|
225
|
-
if (this.avoidAddingDuplicates) {
|
|
226
|
-
const tagsDiff = clone(this.tagsCopy);
|
|
227
|
-
const inputTag = tagsDiff.splice(index, 1)[0];
|
|
228
|
-
const dup = this.isDuplicate ? this.isDuplicate(tagsDiff, inputTag) : tagsDiff.map((t) => t.text).indexOf(inputTag.text) !== -1;
|
|
229
|
-
if (dup) return this.$emit("saving-duplicate", tag);
|
|
230
|
-
}
|
|
231
|
-
if (this.hasForbiddingAddRule(tag.tiClasses)) return;
|
|
232
|
-
this.tagsCopy[index] = tag;
|
|
233
|
-
this.toggleEditMode(index);
|
|
234
|
-
this.$emit("update:tags", this.tagsCopy);
|
|
235
|
-
this.$emit("tags-changed", this.tagsCopy);
|
|
236
|
-
},
|
|
237
|
-
tagsEqual() {
|
|
238
|
-
return !this.tagsCopy.some((t, i) => !equal(t, this.tags[i]));
|
|
239
|
-
},
|
|
240
|
-
updateNewTag(ievent) {
|
|
241
|
-
const value = ievent.target.value;
|
|
242
|
-
this.newTag = value;
|
|
243
|
-
this.$emit("update:modelValue", value);
|
|
244
|
-
},
|
|
245
|
-
initTags() {
|
|
246
|
-
this.tagsCopy = createTags(this.tags, this.validation, this.isDuplicate);
|
|
247
|
-
this.tagsEditStatus = clone(this.tags).map(() => false);
|
|
248
|
-
if (!this.tagsEqual()) {
|
|
249
|
-
this.$emit("update:tags", this.tagsCopy);
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
blurredOnClick(e) {
|
|
253
|
-
if (this.$el.contains(e.target) || this.$el.contains(document.activeElement)) return;
|
|
254
|
-
this.performBlur(e);
|
|
255
|
-
},
|
|
256
|
-
performBlur() {
|
|
257
|
-
if (this.addOnBlur && this.focused) this.performAddTags(this.newTag);
|
|
258
|
-
this.focused = false;
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
watch: {
|
|
262
|
-
modelValue(newValue) {
|
|
263
|
-
if (!this.addOnlyFromAutocomplete) this.selectedItem = null;
|
|
264
|
-
this.newTag = newValue;
|
|
265
|
-
},
|
|
266
|
-
tags: {
|
|
267
|
-
handler() {
|
|
268
|
-
this.initTags();
|
|
269
|
-
},
|
|
270
|
-
deep: true
|
|
271
|
-
},
|
|
272
|
-
autocompleteOpen: "selectDefaultItem"
|
|
273
|
-
},
|
|
274
|
-
created() {
|
|
275
|
-
this.newTag = this.modelValue;
|
|
276
|
-
this.initTags();
|
|
277
|
-
},
|
|
278
|
-
mounted() {
|
|
279
|
-
this.selectDefaultItem();
|
|
280
|
-
document.addEventListener("click", this.blurredOnClick);
|
|
281
|
-
},
|
|
282
|
-
beforeUpdate() {
|
|
283
|
-
this.tagCenter = [];
|
|
284
|
-
},
|
|
285
|
-
unmounted() {
|
|
286
|
-
document.removeEventListener("click", this.blurredOnClick);
|
|
287
|
-
}
|
|
288
|
-
};
|
|
289
|
-
export {
|
|
290
|
-
_sfc_main as default
|
|
291
|
-
};
|
|
292
|
-
//# sourceMappingURL=vue-tags-input.js.map
|