@ozdao/martyrs 0.2.487 → 0.2.489
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/dist/_virtual/index.cjs +4 -4
- package/dist/_virtual/index.js +4 -4
- package/dist/_virtual/index2.cjs +4 -4
- package/dist/_virtual/index2.js +4 -4
- package/dist/auth.server.cjs +1 -1
- package/dist/auth.server.js +1 -1
- package/dist/{authJwt-D35KyJlE.cjs → authJwt-BIZ2GIfT.cjs} +0 -27
- package/dist/{authJwt-DqxhUym0.js → authJwt-J1csaMWA.js} +0 -27
- package/dist/builder.cjs +10 -0
- package/dist/builder.js +10 -0
- package/dist/chats.server.cjs +1 -1
- package/dist/chats.server.js +1 -1
- package/dist/community.server.cjs +3 -3
- package/dist/community.server.js +3 -3
- package/dist/{crud-BDIArc5A.cjs → crud-B-kQw3Z5.cjs} +5 -4
- package/dist/{crud-DJvpe0aZ.js → crud-Cwx5VlSm.js} +5 -4
- package/dist/events.server.cjs +3 -3
- package/dist/events.server.js +3 -3
- package/dist/files.server.cjs +31 -14
- package/dist/files.server.js +31 -14
- package/dist/gallery.server.cjs +2 -2
- package/dist/gallery.server.js +2 -2
- package/dist/{globals.abac-Cm9e8Jdk.cjs → globals.abac-CPXLas7N.cjs} +1 -1
- package/dist/{globals.abac-DBV_kaOq.js → globals.abac-DNdtSYop.js} +1 -1
- package/dist/{index-DiSKVCaA.cjs → index-BFxqqmgh.cjs} +1 -1
- package/dist/{index-CVuQC4k1.js → index-_Edcmck_.js} +1 -1
- package/dist/main-CmuUC0tl.cjs +11 -0
- package/dist/{main-nQmkbWsW.js → main-IVRL6IjM.js} +2949 -2666
- package/dist/martyrs/src/components/Button/{Button.vue.cjs → Button.vue2.cjs} +3 -3
- package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +3 -3
- package/dist/martyrs/src/components/Button/{Button.vue.cjs.map → Button.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Calendar/Calendar.vue.cjs +31 -5
- package/dist/martyrs/src/components/Calendar/Calendar.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Calendar/Calendar.vue.js +32 -6
- package/dist/martyrs/src/components/Calendar/Calendar.vue.js.map +1 -1
- package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Countdown/Countdown.vue.cjs +4 -4
- package/dist/martyrs/src/components/Countdown/Countdown.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Countdown/Countdown.vue.js +4 -4
- package/dist/martyrs/src/components/Countdown/Countdown.vue.js.map +1 -1
- package/dist/martyrs/src/components/DatePicker/DatePicker.vue.cjs +28 -19
- package/dist/martyrs/src/components/DatePicker/DatePicker.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/DatePicker/DatePicker.vue.js +29 -20
- package/dist/martyrs/src/components/DatePicker/DatePicker.vue.js.map +1 -1
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +20 -9
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +22 -11
- package/dist/martyrs/src/components/Feed/Carousel.vue.js.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +29 -26
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +45 -42
- package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/martyrs/src/components/Field/{Field.vue2.cjs → Field.vue.cjs} +15 -9
- package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Field/{Field.vue2.js → Field.vue.js} +16 -10
- package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -0
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +25 -24
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +27 -26
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js.map +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +1 -1
- package/dist/martyrs/src/components/Loader/Loader.vue2.cjs +1 -1
- package/dist/martyrs/src/components/Loader/Loader.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/Loader/Loader.vue2.js +1 -1
- package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +1 -1
- package/dist/martyrs/src/components/Menu/MenuItem.vue.cjs +1 -1
- package/dist/martyrs/src/components/Menu/MenuItem.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Menu/MenuItem.vue.js +1 -1
- package/dist/martyrs/src/components/Menu/MenuItem.vue.js.map +1 -1
- package/dist/martyrs/src/components/Select/Select.vue.cjs +27 -15
- package/dist/martyrs/src/components/Select/Select.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Select/Select.vue.js +28 -16
- package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -1
- package/dist/martyrs/src/components/Status/Snack.vue.cjs +63 -0
- package/dist/martyrs/src/components/Status/Snack.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Status/Snack.vue.js +63 -0
- package/dist/martyrs/src/components/Status/Snack.vue.js.map +1 -0
- package/dist/martyrs/src/components/Tab/Tab.vue2.cjs +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.js +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +3 -2
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +3 -2
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs +0 -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 +0 -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 +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +5 -5
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +5 -5
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +1 -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 +1 -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/ProfileEditAccount.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +10 -10
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +3 -3
- 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 +5 -5
- 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 +3 -3
- 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 +6 -6
- 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 +3 -3
- 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 +5 -5
- 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 +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 +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 +2 -2
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +23 -23
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs +3 -3
- 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 +3 -3
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +2 -2
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +4 -4
- 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 +4 -4
- 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 +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 +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 +2 -4
- 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 +2 -4
- 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 +3 -3
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +12 -12
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.cjs +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.js +3 -3
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.js +2 -2
- package/dist/martyrs/src/modules/constructor/components/sections/Viewer.vue.cjs +1 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Viewer.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Viewer.vue.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Viewer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +33 -30
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +36 -33
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +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.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +3 -2
- 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 +26 -25
- 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 +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +15 -15
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +8 -8
- 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 +8 -8
- 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 +3 -3
- 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 +3 -3
- 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 +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 +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.cjs +9 -5
- 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 +9 -5
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.cjs +18 -24
- package/dist/martyrs/src/modules/events/components/sections/List.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +19 -25
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.cjs +3 -3
- package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -3
- 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 -3
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/locales/en.cjs +9 -1
- package/dist/martyrs/src/modules/globals/locales/en.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/locales/en.js +9 -1
- package/dist/martyrs/src/modules/globals/locales/en.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.store.cjs +5 -2
- 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 +5 -2
- package/dist/martyrs/src/modules/globals/views/classes/globals.store.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +16 -15
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue.js +17 -16
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +16 -20
- 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 +16 -20
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +14 -7
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +14 -7
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +11 -3
- 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 +11 -3
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/CitySelection.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/CitySelection.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/CitySelection.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/CitySelection.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.cjs +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.cjs +17 -7
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.js +18 -8
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/router/addRoutes.cjs +4 -1
- package/dist/martyrs/src/modules/globals/views/router/addRoutes.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/router/addRoutes.js +4 -1
- package/dist/martyrs/src/modules/globals/views/router/addRoutes.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/store/globals.cjs +30 -0
- package/dist/martyrs/src/modules/globals/views/store/globals.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/store/globals.js +30 -0
- package/dist/martyrs/src/modules/globals/views/store/globals.js.map +1 -1
- package/dist/martyrs/src/modules/icons/actions/IconOpenLink.vue.cjs +32 -0
- package/dist/martyrs/src/modules/icons/actions/IconOpenLink.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/actions/IconOpenLink.vue.js +32 -0
- package/dist/martyrs/src/modules/icons/actions/IconOpenLink.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconInfo.vue.cjs +4 -2
- package/dist/martyrs/src/modules/icons/entities/IconInfo.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/entities/IconInfo.vue.js +5 -3
- package/dist/martyrs/src/modules/icons/entities/IconInfo.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.cjs +4 -0
- package/dist/martyrs/src/modules/icons/icons.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js +108 -104
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +3 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +138 -136
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +1 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEventShort.vue.js +1 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/socials/telegram.vue.cjs +11 -7
- package/dist/martyrs/src/modules/icons/socials/telegram.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/socials/telegram.vue.js +11 -7
- package/dist/martyrs/src/modules/icons/socials/telegram.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.cjs +2 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js +2 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.cjs +2 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js +2 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.cjs +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.cjs +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +0 -13
- 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 +0 -13
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +14 -14
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +19 -19
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +13 -13
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +22 -22
- package/dist/martyrs/src/modules/music/components/layouts/MusicLayout.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/layouts/MusicLayout.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +11 -11
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.cjs +8 -8
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.js +8 -8
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +98 -73
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +99 -74
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +82 -57
- 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 +82 -57
- 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 +22 -14
- 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 +22 -14
- 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 +205 -36
- 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 +208 -39
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.cjs +20 -11
- 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 +20 -11
- 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 +1 -2
- 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 +1 -2
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.js +5 -5
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/sections/Succes.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/Succes.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.cjs +6 -0
- package/dist/martyrs/src/modules/orders/orders.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js +6 -0
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.cjs +75 -94
- package/dist/martyrs/src/modules/orders/store/shopcart.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.js +75 -94
- package/dist/martyrs/src/modules/orders/store/shopcart.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +11 -3
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +11 -3
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Rating.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +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 +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 +2 -3
- 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 +16 -17
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +16 -16
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +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 +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/Documents.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +8 -8
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -2
- 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 +1 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +3 -3
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +3 -3
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs +0 -3
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.js +18 -21
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs +0 -2
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.js +0 -2
- package/dist/martyrs/src/modules/organizations/router/organizations.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -2
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -2
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -2
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -2
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs +7 -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 +7 -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 +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs +18 -21
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js +19 -22
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs +1 -1
- 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 +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +48 -45
- 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 +49 -46
- 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 +13 -21
- 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 +23 -31
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +29 -18
- 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 +29 -18
- 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 +5 -7
- 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 +21 -23
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +3 -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 +3 -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 +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +6 -6
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +12 -12
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +11 -3
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +11 -3
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +8 -16
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +8 -16
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +80 -61
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +100 -81
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.cjs +3 -3
- 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 +3 -3
- 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 +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 +1 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +8 -14
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +9 -15
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +3 -3
- 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 +3 -3
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/products.client.cjs +1 -13
- package/dist/martyrs/src/modules/products/products.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/products.client.js +36 -48
- package/dist/martyrs/src/modules/products/products.client.js.map +1 -1
- package/dist/martyrs/src/modules/products/store/products.cjs +4 -4
- package/dist/martyrs/src/modules/products/store/products.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/store/products.js +4 -4
- package/dist/martyrs/src/modules/products/store/products.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.cjs +3 -3
- package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.js +3 -3
- package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +12 -4
- 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 +15 -7
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +41 -33
- 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 +42 -34
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +0 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +0 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +0 -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 +0 -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.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.cjs +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +13 -13
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +8 -8
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +2 -2
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +4 -4
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +4 -4
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
- package/dist/martyrs.cjs.js +1 -1
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +20 -20
- package/dist/music.server.cjs +3 -3
- package/dist/music.server.js +3 -3
- package/dist/notifications.server.cjs +1 -1
- package/dist/notifications.server.js +1 -1
- package/dist/orders.server.cjs +155 -64
- package/dist/orders.server.js +155 -64
- package/dist/organizations.server.cjs +25 -4
- package/dist/organizations.server.js +25 -4
- package/dist/{ownership.schema-CCZX5vfw.js → ownership.schema-BqH4v5vH.js} +2 -2
- package/dist/{ownership.schema-DCosqOc1.cjs → ownership.schema-D1p5XSpt.cjs} +2 -2
- package/dist/products.server.cjs +64 -288
- package/dist/products.server.js +64 -288
- package/dist/rents.server.cjs +35 -13
- package/dist/rents.server.js +35 -13
- package/dist/style.css +198 -201
- package/dist/wallet.server.cjs +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/web-BXhlxo6M.cjs +1 -0
- package/dist/web-Czi05iGG.js +54 -0
- package/package.json +1 -1
- package/src/builder/rspack/rspack.config.base.js +14 -0
- package/src/components/Breadcrumbs/Breadcrumbs.vue +200 -62
- package/src/components/Button/Button.vue +1 -1
- package/src/components/Calendar/Calendar.vue +53 -3
- package/src/components/Countdown/Countdown.vue +4 -4
- package/src/components/DatePicker/DatePicker.vue +32 -22
- package/src/components/Feed/Carousel.vue +18 -3
- package/src/components/Feed/Feed.vue +24 -31
- package/src/components/Field/Field.vue +9 -31
- package/src/components/FieldBig/FieldBig.vue +17 -18
- package/src/components/Loader/Loader.vue +1 -8
- package/src/components/Menu/MenuItem.vue +1 -1
- package/src/components/Select/Select.vue +19 -27
- package/src/components/Status/Snack.vue +4 -2
- package/src/components/Tab/Tab.vue +2 -2
- package/src/components/UploadImageMultiple/UploadImageMultiple.vue +9 -14
- package/src/main.js +2 -0
- package/src/modules/auth/controllers/middlewares/authJwt.js +0 -29
- package/src/modules/auth/views/components/pages/ResetPassword.vue +1 -1
- package/src/modules/auth/views/components/pages/SignIn.vue +1 -1
- package/src/modules/auth/views/components/pages/SignUp.vue +1 -1
- package/src/modules/auth/views/components/sections/FeaturedUsers.vue +1 -1
- package/src/modules/backoffice/components/admin/Users.vue +1 -1
- package/src/modules/backoffice/components/partials/Sidebar.vue +3 -3
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/layouts/Community.vue +5 -5
- package/src/modules/community/components/pages/Blog.vue +1 -1
- package/src/modules/community/components/sections/Comments.vue +1 -1
- package/src/modules/constructor/components/sections/Viewer.vue +1 -1
- package/src/modules/events/components/blocks/CardEvent.vue +35 -29
- package/src/modules/events/components/pages/Event.vue +4 -3
- 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/sections/FeaturedEvents.vue +8 -4
- package/src/modules/events/components/sections/List.vue +17 -18
- package/src/modules/events/components/sections/SelectDate.vue +2 -2
- package/src/modules/files/controllers/files.controller.js +14 -3
- package/src/modules/files/middlewares/server/middlewareBusboy.js +46 -17
- package/src/modules/globals/controllers/classes/crud/crud.controller.js +5 -2
- package/src/modules/globals/controllers/classes/crud/crud.js +1 -1
- package/src/modules/globals/controllers/classes/crud/crud.service.js +0 -1
- package/src/modules/globals/controllers/classes/globals.abac.js +1 -1
- package/src/modules/globals/locales/en.js +8 -0
- package/src/modules/globals/models/schemas/ownership.schema.js +2 -2
- package/src/modules/globals/views/classes/globals.store.js +8 -2
- package/src/modules/globals/views/components/blocks/BlockSearch.vue +12 -17
- package/src/modules/globals/views/components/blocks/CardHeader.vue +9 -11
- package/src/modules/globals/views/components/blocks/PopupDateSelector.vue +19 -9
- package/src/modules/globals/views/components/layouts/Client.vue +15 -9
- package/src/modules/globals/views/components/partials/CitySelection.vue +1 -1
- package/src/modules/globals/views/components/partials/FooterAlt.vue +1 -1
- package/src/modules/globals/views/components/partials/Sidebar.vue +1 -1
- package/src/modules/globals/views/components/sections/Walkthrough.vue +2 -2
- package/src/modules/globals/views/plugins/date-picker.plugin.js +17 -7
- package/src/modules/globals/views/router/addRoutes.js +4 -1
- package/src/modules/globals/views/store/globals.js +1 -1
- package/src/modules/icons/actions/IconOpenLink.vue +14 -0
- package/src/modules/icons/entities/IconInfo.vue +2 -2
- package/src/modules/icons/icons.client.js +8 -0
- package/src/modules/icons/pages/IconsPage.vue +2 -0
- package/src/modules/icons/skeletons/SkeletonEventShort.vue +2 -2
- package/src/modules/icons/socials/telegram.vue +2 -2
- package/src/modules/inventory/components/forms/AdjustmentForm.vue +225 -0
- package/src/modules/inventory/components/forms/ColumnSettingsMenu.vue +80 -0
- package/src/modules/inventory/components/forms/HistoryView.vue +134 -0
- package/src/modules/inventory/components/forms/StockAlertsForm.vue +181 -0
- package/src/modules/{products/components/pages/Leftovers.vue → inventory/components/pages/Inventory.vue} +60 -41
- package/src/modules/{products/components/pages/LeftoverEdit.vue → inventory/components/pages/InventoryEdit.vue} +131 -86
- package/src/modules/inventory/docs/README.md +291 -0
- package/src/modules/inventory/inventory.client.js +65 -0
- package/src/modules/inventory/inventory.server.js +8 -5
- package/src/modules/inventory/middlewares/stock.alerts.verifier.js +194 -0
- package/src/modules/inventory/models/stock.alerts.model.js +45 -0
- package/src/modules/inventory/models/stock.audit.model.js +60 -0
- package/src/modules/inventory/models/stock.availability.model.js +6 -6
- package/src/modules/inventory/policies/inventory.policies.js +28 -28
- package/src/modules/inventory/router/inventory.router.js +28 -0
- package/src/modules/inventory/routes/inventory.routes.js +8 -4
- package/src/modules/inventory/routes/stock.alerts.routes.js +43 -0
- package/src/modules/inventory/services/inventory.crud.js +204 -21
- package/src/modules/inventory/services/inventory.verifier.js +67 -11
- package/src/modules/inventory/store/ inventory.store.js +4 -2
- package/src/modules/inventory/store/stock.alerts.store.js +5 -0
- package/src/modules/inventory/tests/inventory.test.js +281 -0
- package/src/modules/landing/components/sections/SectionEarn.vue +1 -1
- package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
- package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
- package/src/modules/landing/components/sections/SectionFocus.vue +1 -1
- package/src/modules/landing/components/sections/SectionGuide.vue +1 -1
- package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
- package/src/modules/landing/components/sections/SectionHeroVideo.vue +2 -2
- package/src/modules/landing/components/sections/SectionJoinUs.vue +1 -1
- package/src/modules/landing/components/sections/SectionMobileApp.vue +1 -1
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
- package/src/modules/marketplace/views/components/layouts/Marketplace.vue +14 -14
- package/src/modules/notifications/components/elements/NotificationBadge.vue +1 -1
- package/src/modules/orders/components/blocks/CardOrder.vue +7 -7
- package/src/modules/orders/components/blocks/CardOrderItem.vue +96 -91
- package/src/modules/orders/components/blocks/CardOrderUser.vue +1 -1
- package/src/modules/orders/components/elements/PriceTotal.vue +1 -1
- package/src/modules/orders/components/pages/Favorites.vue +1 -1
- package/src/modules/orders/components/pages/OrderBackoffice.vue +59 -29
- package/src/modules/orders/components/pages/OrderCreate.vue +15 -7
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +201 -16
- package/src/modules/orders/components/pages/Orders_refact.vue +3 -3
- package/src/modules/orders/components/partials/ShopCart.vue +17 -8
- package/src/modules/orders/components/sections/Succes.vue +1 -1
- package/src/modules/orders/controllers/orders.controller.js +175 -77
- package/src/modules/orders/orders.client.js +6 -0
- package/src/modules/orders/routes/orders.routes.js +15 -10
- package/src/modules/orders/store/shopcart.js +54 -131
- package/src/modules/organizations/components/blocks/CardOrganization.vue +9 -1
- package/src/modules/organizations/components/blocks/Rating.vue +1 -1
- package/src/modules/organizations/components/pages/Department.vue +1 -1
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +0 -1
- package/src/modules/organizations/components/pages/Organization.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +3 -3
- package/src/modules/organizations/components/pages/Organizations.vue +1 -1
- package/src/modules/organizations/components/sections/DetailsTabSection.vue +1 -1
- package/src/modules/organizations/configs/navigation.organization.config.js +3 -3
- package/src/modules/organizations/controllers/utils/lookupConfigs.js +22 -1
- package/src/modules/organizations/models/schemas/accesses.schema.js +1 -1
- package/src/modules/organizations/organizations.client.js +0 -3
- package/src/modules/organizations/router/organizations.js +0 -2
- package/src/modules/products/components/blocks/CardProduct.vue +1 -1
- package/src/modules/products/components/blocks/ProductVariants.vue +5 -5
- package/src/modules/products/components/elements/Price.vue +1 -1
- package/src/modules/products/components/forms/StockHistoryView.vue +4 -4
- package/src/modules/products/components/pages/Categories.vue +4 -2
- package/src/modules/products/components/pages/CategoryEdit.vue +23 -10
- package/src/modules/products/components/pages/Product.vue +28 -78
- package/src/modules/products/components/pages/ProductEdit.vue +3 -12
- package/src/modules/products/components/pages/Products.vue +3 -2
- package/src/modules/products/components/sections/EditIngredients.vue +11 -2
- package/src/modules/products/components/sections/EditRecommended.vue +3 -14
- package/src/modules/products/components/sections/EditVariants.vue +52 -25
- package/src/modules/products/components/sections/FilterProducts.vue +3 -3
- package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
- package/src/modules/products/components/sections/ProductConfigurator.vue +5 -11
- package/src/modules/products/components/sections/SectionProduct.vue +2 -2
- package/src/modules/products/controllers/configs/products.lookup.config.js +52 -80
- package/src/modules/products/controllers/products.controller.js +2 -2
- package/src/modules/products/middlewares/variants.verifier.js +1 -1
- package/src/modules/products/products.client.js +0 -12
- package/src/modules/products/products.server.js +0 -8
- package/src/modules/products/routes/variants.routes.js +0 -59
- package/src/modules/products/store/products.js +4 -4
- package/src/modules/rents/controllers/services/rents.services.js +41 -11
- package/src/modules/rents/models/rent.model.js +1 -0
- package/src/modules/rents/views/components/pages/GanttChart.vue +1 -1
- package/src/modules/rents/views/components/pages/RentsEdit.vue +10 -2
- package/src/modules/spots/components/blocks/CardSpot.vue +14 -11
- package/src/modules/spots/components/pages/Spot.vue +1 -1
- package/src/modules/wallet/views/components/pages/Wallet.vue +2 -2
- package/src/styles/base/all.scss +10 -1
- package/src/styles/base/borders.scss +234 -155
- package/src/styles/layout.scss +36 -0
- package/src/styles/typography.scss +12 -4
- package/dist/Media-B2jWzwLB.cjs +0 -1
- package/dist/Media-DZ5_ItXQ.js +0 -111
- package/dist/main-C6_DPWGX.cjs +0 -11
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- 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/Field/Field.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Field/Field.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs +0 -184
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs.map +0 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js +0 -184
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.cjs +0 -67
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.js +0 -67
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.js.map +0 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.cjs +0 -91
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.js +0 -91
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.js.map +0 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.cjs +0 -64
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.cjs.map +0 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.js +0 -64
- package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/EditArray.vue.cjs +0 -80
- package/dist/martyrs/src/modules/organizations/components/blocks/EditArray.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/EditArray.vue.js +0 -80
- package/dist/martyrs/src/modules/organizations/components/blocks/EditArray.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardLeftover.vue.cjs +0 -118
- package/dist/martyrs/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardLeftover.vue.js +0 -118
- package/dist/martyrs/src/modules/products/components/blocks/CardLeftover.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/forms/ColumnSettingsMenu.vue.cjs +0 -73
- package/dist/martyrs/src/modules/products/components/forms/ColumnSettingsMenu.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/forms/ColumnSettingsMenu.vue.js +0 -73
- package/dist/martyrs/src/modules/products/components/forms/ColumnSettingsMenu.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/forms/ReorderSettingsForm.vue.cjs +0 -101
- package/dist/martyrs/src/modules/products/components/forms/ReorderSettingsForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/forms/ReorderSettingsForm.vue.js +0 -101
- package/dist/martyrs/src/modules/products/components/forms/ReorderSettingsForm.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/forms/StockAuditForm.vue.cjs +0 -135
- package/dist/martyrs/src/modules/products/components/forms/StockAuditForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/forms/StockAuditForm.vue.js +0 -135
- package/dist/martyrs/src/modules/products/components/forms/StockAuditForm.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/forms/StockHistoryView.vue.cjs +0 -148
- package/dist/martyrs/src/modules/products/components/forms/StockHistoryView.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/forms/StockHistoryView.vue.js +0 -148
- package/dist/martyrs/src/modules/products/components/forms/StockHistoryView.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs +0 -345
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js +0 -345
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +0 -316
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +0 -316
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/router/leftovers.router.cjs +0 -51
- package/dist/martyrs/src/modules/products/router/leftovers.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/router/leftovers.router.js +0 -51
- package/dist/martyrs/src/modules/products/router/leftovers.router.js.map +0 -1
- package/dist/martyrs/src/modules/products/store/leftovers.cjs +0 -111
- package/dist/martyrs/src/modules/products/store/leftovers.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/store/leftovers.js +0 -111
- package/dist/martyrs/src/modules/products/store/leftovers.js.map +0 -1
- package/src/modules/inventory/models/stock.inventory.model.js +0 -38
- package/src/modules/organizations/components/blocks/EditArray.vue +0 -147
- package/src/modules/products/components/blocks/CardLeftover.vue +0 -117
- package/src/modules/products/controllers/leftovers.controller.js +0 -117
- package/src/modules/products/models/leftover.model.js +0 -105
- package/src/modules/products/router/leftovers.router.js +0 -40
- package/src/modules/products/routes/leftovers.routes.js +0 -15
- package/src/modules/products/store/leftovers.js +0 -121
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const vueI18n = require("vue-i18n");
|
|
5
|
+
const IconInfo = require("../../modules/icons/navigation/IconInfo.vue.cjs");
|
|
6
|
+
const IconCross = require("../../modules/icons/navigation/IconCross.vue.cjs");
|
|
7
|
+
;/* empty css */
|
|
8
|
+
const _hoisted_1 = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "snack-wrapper"
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_2 = { class: "w-100" };
|
|
13
|
+
const _sfc_main = {
|
|
14
|
+
__name: "Snack",
|
|
15
|
+
props: {
|
|
16
|
+
type: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: "notification",
|
|
19
|
+
validator: (v) => ["error", "success", "alert", "notification"].includes(v)
|
|
20
|
+
},
|
|
21
|
+
message: String,
|
|
22
|
+
show: Boolean
|
|
23
|
+
},
|
|
24
|
+
emits: ["close"],
|
|
25
|
+
setup(__props) {
|
|
26
|
+
const { t, te } = vueI18n.useI18n({ useScope: "global" });
|
|
27
|
+
const props = __props;
|
|
28
|
+
const snackClass = vue.computed(() => ({
|
|
29
|
+
"bg-error": props.type === "error",
|
|
30
|
+
"bg-success": props.type === "success",
|
|
31
|
+
"bg-warning": props.type === "alert",
|
|
32
|
+
"bg-primary": props.type === "notification"
|
|
33
|
+
}));
|
|
34
|
+
const iconComponent = vue.computed(() => {
|
|
35
|
+
const icons = {
|
|
36
|
+
error: IconCross.default,
|
|
37
|
+
success: IconInfo.default,
|
|
38
|
+
alert: IconInfo.default,
|
|
39
|
+
notification: IconInfo.default
|
|
40
|
+
};
|
|
41
|
+
return icons[props.type] || IconInfo.default;
|
|
42
|
+
});
|
|
43
|
+
return (_ctx, _cache) => {
|
|
44
|
+
return __props.show ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
45
|
+
vue.createElementVNode("div", {
|
|
46
|
+
class: vue.normalizeClass(["flex-nowrap flex-v-center flex radius-small pd-small t-white", snackClass.value])
|
|
47
|
+
}, [
|
|
48
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(iconComponent.value), {
|
|
49
|
+
fill: "rgb(var(--white))",
|
|
50
|
+
class: "t-transp i-medium mn-r-thin z-index-5"
|
|
51
|
+
})),
|
|
52
|
+
vue.createElementVNode("p", _hoisted_2, vue.toDisplayString(vue.unref(te)(`globals.snacks.${__props.message}`) ? vue.unref(t)(`globals.snacks.${__props.message}`) : __props.message), 1),
|
|
53
|
+
vue.createVNode(IconCross.default, {
|
|
54
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close")),
|
|
55
|
+
class: "cursor-pointer hover-scale-1 i-regular z-index-5"
|
|
56
|
+
})
|
|
57
|
+
], 2)
|
|
58
|
+
])) : vue.createCommentVNode("", true);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
exports.default = _sfc_main;
|
|
63
|
+
//# sourceMappingURL=Snack.vue.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Snack.vue.cjs","sources":["../../../../../src/components/Status/Snack.vue"],"sourcesContent":["<template>\n <div class=\"snack-wrapper\" v-if=\"show\">\n <div \n class=\"flex-nowrap flex-v-center flex radius-small pd-small t-white\"\n :class=\"snackClass\"\n >\n <component \n :is=\"iconComponent\" \n fill=\"rgb(var(--white))\" \n class=\"t-transp i-medium mn-r-thin z-index-5\"\n />\n <p class=\"w-100\">\n {{ te(`globals.snacks.${message}`) ? t(`globals.snacks.${message}`) : message }}\n </p>\n <IconCross \n @click=\"$emit('close')\" \n class=\"cursor-pointer hover-scale-1 i-regular z-index-5\"\n />\n </div>\n </div>\n</template>\n\n<script setup>\nimport { computed } from 'vue'\nimport { useI18n } from 'vue-i18n'\n\nimport IconInfo from '@martyrs/src/modules/icons/navigation/IconInfo.vue'\nimport IconSuccess from '@martyrs/src/modules/icons/navigation/IconInfo.vue'\nimport IconAlert from '@martyrs/src/modules/icons/navigation/IconInfo.vue'\n\nimport IconCross from '@martyrs/src/modules/icons/navigation/IconCross.vue'\n\nconst { t, te } = useI18n({ useScope: 'global' })\n\nconst props = defineProps({\n type: {\n type: String,\n default: 'notification',\n validator: (v) => ['error', 'success', 'alert', 'notification'].includes(v)\n },\n message: String,\n show: Boolean\n})\n\ndefineEmits(['close'])\n\nconst snackClass = computed(() => ({\n 'bg-error': props.type === 'error',\n 'bg-success': props.type === 'success', \n 'bg-warning': props.type === 'alert',\n 'bg-primary': props.type === 'notification'\n}))\n\nconst iconComponent = computed(() => {\n const icons = {\n error: IconCross,\n success: IconSuccess,\n alert: IconAlert,\n notification: IconInfo\n }\n return icons[props.type] || IconInfo\n})\n</script>\n\n<style lang=\"scss\">\n.snack-wrapper {\n position: fixed;\n bottom: var(--gap);\n left: 50%;\n transform: translateX(-50%);\n z-index: 1000;\n animation: slideUp 0.3s ease-out;\n}\n\n@keyframes slideUp {\n from {\n transform: translateX(-50%) translateY(100%);\n opacity: 0;\n }\n to {\n transform: translateX(-50%) translateY(0);\n opacity: 1;\n }\n}\n</style>"],"names":["useI18n","computed","IconCross","IconSuccess","IconAlert","IconInfo"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,UAAM,EAAE,GAAG,GAAI,IAAGA,QAAO,QAAC,EAAE,UAAU,SAAU,CAAA;AAEhD,UAAM,QAAQ;AAYd,UAAM,aAAaC,IAAQ,SAAC,OAAO;AAAA,MACjC,YAAY,MAAM,SAAS;AAAA,MAC3B,cAAc,MAAM,SAAS;AAAA,MAC7B,cAAc,MAAM,SAAS;AAAA,MAC7B,cAAc,MAAM,SAAS;AAAA,IAC/B,EAAE;AAEF,UAAM,gBAAgBA,IAAQ,SAAC,MAAM;AACnC,YAAM,QAAQ;AAAA,QACZ,OAAOC,UAAS;AAAA,QAChB,SAASC,SAAW;AAAA,QACpB,OAAOC,SAAS;AAAA,QAChB,cAAcC,SAAAA;AAAAA,MAClB;AACE,aAAO,MAAM,MAAM,IAAI,KAAKA,SAAAA;AAAAA,IAC9B,CAAC;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { computed, createElementBlock, createCommentVNode, openBlock, createElementVNode, normalizeClass, createBlock, createVNode, resolveDynamicComponent, toDisplayString, unref } from "vue";
|
|
2
|
+
import { useI18n } from "vue-i18n";
|
|
3
|
+
import _sfc_main$1 from "../../modules/icons/navigation/IconInfo.vue.js";
|
|
4
|
+
import _sfc_main$2 from "../../modules/icons/navigation/IconCross.vue.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
const _hoisted_1 = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "snack-wrapper"
|
|
9
|
+
};
|
|
10
|
+
const _hoisted_2 = { class: "w-100" };
|
|
11
|
+
const _sfc_main = {
|
|
12
|
+
__name: "Snack",
|
|
13
|
+
props: {
|
|
14
|
+
type: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: "notification",
|
|
17
|
+
validator: (v) => ["error", "success", "alert", "notification"].includes(v)
|
|
18
|
+
},
|
|
19
|
+
message: String,
|
|
20
|
+
show: Boolean
|
|
21
|
+
},
|
|
22
|
+
emits: ["close"],
|
|
23
|
+
setup(__props) {
|
|
24
|
+
const { t, te } = useI18n({ useScope: "global" });
|
|
25
|
+
const props = __props;
|
|
26
|
+
const snackClass = computed(() => ({
|
|
27
|
+
"bg-error": props.type === "error",
|
|
28
|
+
"bg-success": props.type === "success",
|
|
29
|
+
"bg-warning": props.type === "alert",
|
|
30
|
+
"bg-primary": props.type === "notification"
|
|
31
|
+
}));
|
|
32
|
+
const iconComponent = computed(() => {
|
|
33
|
+
const icons = {
|
|
34
|
+
error: _sfc_main$2,
|
|
35
|
+
success: _sfc_main$1,
|
|
36
|
+
alert: _sfc_main$1,
|
|
37
|
+
notification: _sfc_main$1
|
|
38
|
+
};
|
|
39
|
+
return icons[props.type] || _sfc_main$1;
|
|
40
|
+
});
|
|
41
|
+
return (_ctx, _cache) => {
|
|
42
|
+
return __props.show ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
43
|
+
createElementVNode("div", {
|
|
44
|
+
class: normalizeClass(["flex-nowrap flex-v-center flex radius-small pd-small t-white", snackClass.value])
|
|
45
|
+
}, [
|
|
46
|
+
(openBlock(), createBlock(resolveDynamicComponent(iconComponent.value), {
|
|
47
|
+
fill: "rgb(var(--white))",
|
|
48
|
+
class: "t-transp i-medium mn-r-thin z-index-5"
|
|
49
|
+
})),
|
|
50
|
+
createElementVNode("p", _hoisted_2, toDisplayString(unref(te)(`globals.snacks.${__props.message}`) ? unref(t)(`globals.snacks.${__props.message}`) : __props.message), 1),
|
|
51
|
+
createVNode(_sfc_main$2, {
|
|
52
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close")),
|
|
53
|
+
class: "cursor-pointer hover-scale-1 i-regular z-index-5"
|
|
54
|
+
})
|
|
55
|
+
], 2)
|
|
56
|
+
])) : createCommentVNode("", true);
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
_sfc_main as default
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=Snack.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Snack.vue.js","sources":["../../../../../src/components/Status/Snack.vue"],"sourcesContent":["<template>\n <div class=\"snack-wrapper\" v-if=\"show\">\n <div \n class=\"flex-nowrap flex-v-center flex radius-small pd-small t-white\"\n :class=\"snackClass\"\n >\n <component \n :is=\"iconComponent\" \n fill=\"rgb(var(--white))\" \n class=\"t-transp i-medium mn-r-thin z-index-5\"\n />\n <p class=\"w-100\">\n {{ te(`globals.snacks.${message}`) ? t(`globals.snacks.${message}`) : message }}\n </p>\n <IconCross \n @click=\"$emit('close')\" \n class=\"cursor-pointer hover-scale-1 i-regular z-index-5\"\n />\n </div>\n </div>\n</template>\n\n<script setup>\nimport { computed } from 'vue'\nimport { useI18n } from 'vue-i18n'\n\nimport IconInfo from '@martyrs/src/modules/icons/navigation/IconInfo.vue'\nimport IconSuccess from '@martyrs/src/modules/icons/navigation/IconInfo.vue'\nimport IconAlert from '@martyrs/src/modules/icons/navigation/IconInfo.vue'\n\nimport IconCross from '@martyrs/src/modules/icons/navigation/IconCross.vue'\n\nconst { t, te } = useI18n({ useScope: 'global' })\n\nconst props = defineProps({\n type: {\n type: String,\n default: 'notification',\n validator: (v) => ['error', 'success', 'alert', 'notification'].includes(v)\n },\n message: String,\n show: Boolean\n})\n\ndefineEmits(['close'])\n\nconst snackClass = computed(() => ({\n 'bg-error': props.type === 'error',\n 'bg-success': props.type === 'success', \n 'bg-warning': props.type === 'alert',\n 'bg-primary': props.type === 'notification'\n}))\n\nconst iconComponent = computed(() => {\n const icons = {\n error: IconCross,\n success: IconSuccess,\n alert: IconAlert,\n notification: IconInfo\n }\n return icons[props.type] || IconInfo\n})\n</script>\n\n<style lang=\"scss\">\n.snack-wrapper {\n position: fixed;\n bottom: var(--gap);\n left: 50%;\n transform: translateX(-50%);\n z-index: 1000;\n animation: slideUp 0.3s ease-out;\n}\n\n@keyframes slideUp {\n from {\n transform: translateX(-50%) translateY(100%);\n opacity: 0;\n }\n to {\n transform: translateX(-50%) translateY(0);\n opacity: 1;\n }\n}\n</style>"],"names":["IconCross","IconSuccess","IconAlert","IconInfo"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAgCA,UAAM,EAAE,GAAG,GAAI,IAAG,QAAQ,EAAE,UAAU,SAAU,CAAA;AAEhD,UAAM,QAAQ;AAYd,UAAM,aAAa,SAAS,OAAO;AAAA,MACjC,YAAY,MAAM,SAAS;AAAA,MAC3B,cAAc,MAAM,SAAS;AAAA,MAC7B,cAAc,MAAM,SAAS;AAAA,MAC7B,cAAc,MAAM,SAAS;AAAA,IAC/B,EAAE;AAEF,UAAM,gBAAgB,SAAS,MAAM;AACnC,YAAM,QAAQ;AAAA,QACZ,OAAOA;AAAAA,QACP,SAASC;AAAAA,QACT,OAAOC;AAAAA,QACP,cAAcC;AAAAA,MAClB;AACE,aAAO,MAAM,MAAM,IAAI,KAAKA;AAAAA,IAC9B,CAAC;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -8,7 +8,7 @@ const _sfc_main = {
|
|
|
8
8
|
__name: "Tab",
|
|
9
9
|
props: {
|
|
10
10
|
tabs: Array,
|
|
11
|
-
|
|
11
|
+
classTab: String,
|
|
12
12
|
selected: [String, Number],
|
|
13
13
|
modelValue: [String, Number],
|
|
14
14
|
callback: Function
|
|
@@ -59,7 +59,7 @@ const _sfc_main = {
|
|
|
59
59
|
onClick: ($event) => handleTabClick(index, tab),
|
|
60
60
|
class: vue.normalizeClass(["z-index-1 t-center cursor-pointer", [
|
|
61
61
|
isSelected(index, tab) ? "bg-main" : "",
|
|
62
|
-
|
|
62
|
+
_ctx.replaceClasses("pd-small pd-r-medium pd-l-medium w-max pd-small radius-small", __props.classTab)
|
|
63
63
|
]]),
|
|
64
64
|
style: vue.normalizeStyle(isSelected(index, tab) ? "background: rgb(var(--main)) !important" : "")
|
|
65
65
|
}, vue.toDisplayString(tab.name || tab.label), 15, _hoisted_2);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.vue2.cjs","sources":["../../../../../src/components/Tab/Tab.vue"],"sourcesContent":["<template>\n <div class=\"flex-nowrap flex-v-center flex pos-relative\">\n <button \n v-for=\"(tab, index) in tabs\" \n :key=\"index\" \n @click=\"handleTabClick(index, tab)\" \n class=\"z-index-1 t-center cursor-pointer\"\n :style=\"isSelected(index, tab) ? 'background: rgb(var(--main)) !important' : ''\"\n :class=\"[\n isSelected(index, tab) ? 'bg-main' : '',\n
|
|
1
|
+
{"version":3,"file":"Tab.vue2.cjs","sources":["../../../../../src/components/Tab/Tab.vue"],"sourcesContent":["<template>\n <div class=\"flex-nowrap flex-v-center flex pos-relative\">\n <button \n v-for=\"(tab, index) in tabs\" \n :key=\"index\" \n @click=\"handleTabClick(index, tab)\" \n class=\"z-index-1 t-center cursor-pointer\"\n :style=\"isSelected(index, tab) ? 'background: rgb(var(--main)) !important' : ''\"\n :class=\"[\n isSelected(index, tab) ? 'bg-main' : '',\n replaceClasses('pd-small pd-r-medium pd-l-medium w-max pd-small radius-small', classTab)\n ]\"\n >\n {{tab.name || tab.label}}\n </button>\n </div>\n</template>\n\n<script setup>\nimport { ref, computed, watch } from 'vue'\n\nconst emit = defineEmits(['update:selected', 'tab-click']);\n\nconst props = defineProps({\n tabs: Array,\n classTab: String,\n selected: [String, Number],\n modelValue: [String, Number],\n callback: Function\n})\n\nconst selectedTab = ref(0)\n\n// Handle both v-model and selected prop for backward compatibility\nconst updateSelectedIndex = () => {\n if (props.modelValue !== undefined) {\n const selectedIndex = props.tabs.findIndex(tab => tab.value === props.modelValue)\n if (selectedIndex !== -1) {\n selectedTab.value = selectedIndex\n }\n } else if (props.selected !== undefined) {\n const selectedIndex = props.tabs.findIndex(tab => tab.value === props.selected)\n if (selectedIndex !== -1) {\n selectedTab.value = selectedIndex\n }\n }\n}\n\n// Initial setup\nupdateSelectedIndex()\n\n// Watch for changes in selected or modelValue props\nwatch(() => props.selected, updateSelectedIndex)\nwatch(() => props.modelValue, updateSelectedIndex)\n\n// Check if tab is selected\nconst isSelected = (index, tab) => {\n if (props.modelValue !== undefined) {\n return tab.value === props.modelValue\n } else if (props.selected !== undefined) {\n return tab.value === props.selected\n }\n return index === selectedTab.value\n}\n\n// Handle tab click\nfunction handleTabClick(index, tab) {\n selectedTab.value = index\n \n // Emit both events for flexibility\n emit('update:selected', tab.value)\n emit('tab-click', { index, tab })\n \n // For v-model support\n if (props.modelValue !== undefined) {\n emit('update:modelValue', tab.value)\n }\n \n // Call callback if provided\n if (props.callback) props.callback(tab)\n}\n</script>\n\n<style lang=\"scss\">\n.tab-selector {\n position: absolute;\n width: 50%;\n height: 100%;\n left: 0;\n top: 0;\n z-index: 0;\n transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n}\n</style>"],"names":["ref","watch"],"mappings":";;;;;;;;;;;;;;;;;AAqBA,UAAM,OAAO;AAEb,UAAM,QAAQ;AAQd,UAAM,cAAcA,IAAG,IAAC,CAAC;AAGzB,UAAM,sBAAsB,MAAM;AAChC,UAAI,MAAM,eAAe,QAAW;AAClC,cAAM,gBAAgB,MAAM,KAAK,UAAU,SAAO,IAAI,UAAU,MAAM,UAAU;AAChF,YAAI,kBAAkB,IAAI;AACxB,sBAAY,QAAQ;AAAA,QAC1B;AAAA,MACA,WAAa,MAAM,aAAa,QAAW;AACvC,cAAM,gBAAgB,MAAM,KAAK,UAAU,SAAO,IAAI,UAAU,MAAM,QAAQ;AAC9E,YAAI,kBAAkB,IAAI;AACxB,sBAAY,QAAQ;AAAA,QAC1B;AAAA,MACA;AAAA,IACA;AAGA,wBAAmB;AAGnBC,QAAAA,MAAM,MAAM,MAAM,UAAU,mBAAmB;AAC/CA,QAAAA,MAAM,MAAM,MAAM,YAAY,mBAAmB;AAGjD,UAAM,aAAa,CAAC,OAAO,QAAQ;AACjC,UAAI,MAAM,eAAe,QAAW;AAClC,eAAO,IAAI,UAAU,MAAM;AAAA,MAC/B,WAAa,MAAM,aAAa,QAAW;AACvC,eAAO,IAAI,UAAU,MAAM;AAAA,MAC/B;AACE,aAAO,UAAU,YAAY;AAAA,IAC/B;AAGA,aAAS,eAAe,OAAO,KAAK;AAClC,kBAAY,QAAQ;AAGpB,WAAK,mBAAmB,IAAI,KAAK;AACjC,WAAK,aAAa,EAAE,OAAO,IAAK,CAAA;AAGhC,UAAI,MAAM,eAAe,QAAW;AAClC,aAAK,qBAAqB,IAAI,KAAK;AAAA,MACvC;AAGE,UAAI,MAAM,SAAU,OAAM,SAAS,GAAG;AAAA,IACxC;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -6,7 +6,7 @@ const _sfc_main = {
|
|
|
6
6
|
__name: "Tab",
|
|
7
7
|
props: {
|
|
8
8
|
tabs: Array,
|
|
9
|
-
|
|
9
|
+
classTab: String,
|
|
10
10
|
selected: [String, Number],
|
|
11
11
|
modelValue: [String, Number],
|
|
12
12
|
callback: Function
|
|
@@ -57,7 +57,7 @@ const _sfc_main = {
|
|
|
57
57
|
onClick: ($event) => handleTabClick(index, tab),
|
|
58
58
|
class: normalizeClass(["z-index-1 t-center cursor-pointer", [
|
|
59
59
|
isSelected(index, tab) ? "bg-main" : "",
|
|
60
|
-
|
|
60
|
+
_ctx.replaceClasses("pd-small pd-r-medium pd-l-medium w-max pd-small radius-small", __props.classTab)
|
|
61
61
|
]]),
|
|
62
62
|
style: normalizeStyle(isSelected(index, tab) ? "background: rgb(var(--main)) !important" : "")
|
|
63
63
|
}, toDisplayString(tab.name || tab.label), 15, _hoisted_2);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.vue2.js","sources":["../../../../../src/components/Tab/Tab.vue"],"sourcesContent":["<template>\n <div class=\"flex-nowrap flex-v-center flex pos-relative\">\n <button \n v-for=\"(tab, index) in tabs\" \n :key=\"index\" \n @click=\"handleTabClick(index, tab)\" \n class=\"z-index-1 t-center cursor-pointer\"\n :style=\"isSelected(index, tab) ? 'background: rgb(var(--main)) !important' : ''\"\n :class=\"[\n isSelected(index, tab) ? 'bg-main' : '',\n
|
|
1
|
+
{"version":3,"file":"Tab.vue2.js","sources":["../../../../../src/components/Tab/Tab.vue"],"sourcesContent":["<template>\n <div class=\"flex-nowrap flex-v-center flex pos-relative\">\n <button \n v-for=\"(tab, index) in tabs\" \n :key=\"index\" \n @click=\"handleTabClick(index, tab)\" \n class=\"z-index-1 t-center cursor-pointer\"\n :style=\"isSelected(index, tab) ? 'background: rgb(var(--main)) !important' : ''\"\n :class=\"[\n isSelected(index, tab) ? 'bg-main' : '',\n replaceClasses('pd-small pd-r-medium pd-l-medium w-max pd-small radius-small', classTab)\n ]\"\n >\n {{tab.name || tab.label}}\n </button>\n </div>\n</template>\n\n<script setup>\nimport { ref, computed, watch } from 'vue'\n\nconst emit = defineEmits(['update:selected', 'tab-click']);\n\nconst props = defineProps({\n tabs: Array,\n classTab: String,\n selected: [String, Number],\n modelValue: [String, Number],\n callback: Function\n})\n\nconst selectedTab = ref(0)\n\n// Handle both v-model and selected prop for backward compatibility\nconst updateSelectedIndex = () => {\n if (props.modelValue !== undefined) {\n const selectedIndex = props.tabs.findIndex(tab => tab.value === props.modelValue)\n if (selectedIndex !== -1) {\n selectedTab.value = selectedIndex\n }\n } else if (props.selected !== undefined) {\n const selectedIndex = props.tabs.findIndex(tab => tab.value === props.selected)\n if (selectedIndex !== -1) {\n selectedTab.value = selectedIndex\n }\n }\n}\n\n// Initial setup\nupdateSelectedIndex()\n\n// Watch for changes in selected or modelValue props\nwatch(() => props.selected, updateSelectedIndex)\nwatch(() => props.modelValue, updateSelectedIndex)\n\n// Check if tab is selected\nconst isSelected = (index, tab) => {\n if (props.modelValue !== undefined) {\n return tab.value === props.modelValue\n } else if (props.selected !== undefined) {\n return tab.value === props.selected\n }\n return index === selectedTab.value\n}\n\n// Handle tab click\nfunction handleTabClick(index, tab) {\n selectedTab.value = index\n \n // Emit both events for flexibility\n emit('update:selected', tab.value)\n emit('tab-click', { index, tab })\n \n // For v-model support\n if (props.modelValue !== undefined) {\n emit('update:modelValue', tab.value)\n }\n \n // Call callback if provided\n if (props.callback) props.callback(tab)\n}\n</script>\n\n<style lang=\"scss\">\n.tab-selector {\n position: absolute;\n width: 50%;\n height: 100%;\n left: 0;\n top: 0;\n z-index: 0;\n transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;AAqBA,UAAM,OAAO;AAEb,UAAM,QAAQ;AAQd,UAAM,cAAc,IAAI,CAAC;AAGzB,UAAM,sBAAsB,MAAM;AAChC,UAAI,MAAM,eAAe,QAAW;AAClC,cAAM,gBAAgB,MAAM,KAAK,UAAU,SAAO,IAAI,UAAU,MAAM,UAAU;AAChF,YAAI,kBAAkB,IAAI;AACxB,sBAAY,QAAQ;AAAA,QAC1B;AAAA,MACA,WAAa,MAAM,aAAa,QAAW;AACvC,cAAM,gBAAgB,MAAM,KAAK,UAAU,SAAO,IAAI,UAAU,MAAM,QAAQ;AAC9E,YAAI,kBAAkB,IAAI;AACxB,sBAAY,QAAQ;AAAA,QAC1B;AAAA,MACA;AAAA,IACA;AAGA,wBAAmB;AAGnB,UAAM,MAAM,MAAM,UAAU,mBAAmB;AAC/C,UAAM,MAAM,MAAM,YAAY,mBAAmB;AAGjD,UAAM,aAAa,CAAC,OAAO,QAAQ;AACjC,UAAI,MAAM,eAAe,QAAW;AAClC,eAAO,IAAI,UAAU,MAAM;AAAA,MAC/B,WAAa,MAAM,aAAa,QAAW;AACvC,eAAO,IAAI,UAAU,MAAM;AAAA,MAC/B;AACE,aAAO,UAAU,YAAY;AAAA,IAC/B;AAGA,aAAS,eAAe,OAAO,KAAK;AAClC,kBAAY,QAAQ;AAGpB,WAAK,mBAAmB,IAAI,KAAK;AACjC,WAAK,aAAa,EAAE,OAAO,IAAK,CAAA;AAGhC,UAAI,MAAM,eAAe,QAAW;AAClC,aAAK,qBAAqB,IAAI,KAAK;AAAA,MACvC;AAGE,UAAI,MAAM,SAAU,OAAM,SAAS,GAAG;AAAA,IACxC;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,6 +4,7 @@ const vue = require("vue");
|
|
|
4
4
|
const axios = require("axios");
|
|
5
5
|
const Loader = require("../Loader/Loader.vue2.cjs");
|
|
6
6
|
const IconUpload = require("../../modules/icons/navigation/IconUpload.vue.cjs");
|
|
7
|
+
const globals = require("../../modules/globals/views/store/globals.cjs");
|
|
7
8
|
const _hoisted_1 = {
|
|
8
9
|
key: 0,
|
|
9
10
|
class: "t-center"
|
|
@@ -80,9 +81,9 @@ const _sfc_main = {
|
|
|
80
81
|
images.value.push(file.filepath);
|
|
81
82
|
});
|
|
82
83
|
emit("update:images", images.value);
|
|
83
|
-
loading.value = false;
|
|
84
84
|
} catch (error) {
|
|
85
|
-
|
|
85
|
+
globals.setError(error);
|
|
86
|
+
} finally {
|
|
86
87
|
loading.value = false;
|
|
87
88
|
}
|
|
88
89
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadImageMultiple.vue.cjs","sources":["../../../../../src/components/UploadImageMultiple/UploadImageMultiple.vue"],"sourcesContent":["<template>\n <div \n @click=\"onComponentClick\"\n @drop=\"onDrop\"\n @dragover.prevent\n class=\"cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative\"\n >\n <transition name=\"moveFromTop\" mode=\"out-in\">\n <div v-if=\"!loading\" class=\"t-center\">\n <IconUpload\n style=\"max-height: 4rem;\"\n class=\"w-100 mn-b-thin h-100\"\n fill=\"rgb(var(--main))\"\n />\n
|
|
1
|
+
{"version":3,"file":"UploadImageMultiple.vue.cjs","sources":["../../../../../src/components/UploadImageMultiple/UploadImageMultiple.vue"],"sourcesContent":["<template>\n <div \n @click=\"onComponentClick\"\n @drop=\"onDrop\"\n @dragover.prevent\n class=\"cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative\"\n >\n <transition name=\"moveFromTop\" mode=\"out-in\">\n <div v-if=\"!loading\" class=\"t-center\">\n <IconUpload\n style=\"max-height: 4rem;\"\n class=\"w-100 mn-b-thin h-100\"\n fill=\"rgb(var(--main))\"\n />\n <span v-if=\"options.showText || options.showTitle\" class=\"mn-t-medium mn-b-medium d-block h3 t-black\">{{ text.title }}</span>\n <span v-if=\"options.showText\" class=\"mn-b-small t-transp d-block \">{{ text.subtitle }}</span>\n <span v-if=\"options.showText\"class=\"mn-b-small uppercase p-small t-medium d-block\">or</span>\n <button v-if=\"options.showText\" class=\"cursor-pointer mn-b-small br-2px br-main br-solid radius-extra pd-l-thin pd-r-thin t-main\">Browse Files</button>\n <span v-if=\"options.showText\" class=\"uppercase p-small t-medium d-block \">Maximum size: 2MB</span>\n </div>\n <Loader v-else class=\"pos-absolute\"/>\n </transition>\n <input type=\"file\" ref=\"fileInput\" @change=\"onFileChange\" multiple style=\"display: none\"/>\n </div>\n</template>\n\n<script setup>\nimport { ref, watch } from 'vue';\nimport axios from 'axios';\nimport Loader from '@martyrs/src/components/Loader/Loader.vue';\nimport PlaceholderImage from '@martyrs/src/modules/icons/placeholders/PlaceholderImage.vue'\nimport IconUpload from '@martyrs/src/modules/icons/navigation/IconUpload.vue'\nimport * as globals from '@martyrs/src/modules/globals/views/store/globals.js';\n\nconst images = ref([]);\nconst loading = ref(false);\nconst fileInput = ref(null);\n\nconst props = defineProps({\n uploadPath: {\n type: Object,\n required: true\n },\n options: {\n type: Object,\n default: () => ({\n mimeType: ['jpg', 'png', 'gif'],\n maxSize: 10 * 1024 * 1024,\n showText: true,\n showTitle: true\n })\n },\n text: {\n type: Object,\n default: () => ({\n title: 'Drag & Drop Your Images Here',\n subtitle: 'Files supported: JPG, PNG, GIF'\n })\n }\n});\n\nconst emit = defineEmits(['update:images']);\n\nfunction onComponentClick() {\n fileInput.value.click();\n}\n\nasync function onFileChange(e) {\n loading.value = true;\n let files = e.target.files;\n let formData = new FormData();\n \n for (const file of files) {\n formData.append(\"file\", file);\n }\n \n try {\n const $axios = axios.create({ baseURL: process.env.API_URL, withCredentials: true }); \n let response = await $axios.post(`/api/upload/multiple?folderName=${encodeURIComponent(props.uploadPath)}`, formData, {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n }\n });\n \n response.data.forEach(file => {\n images.value.push(file.filepath);\n });\n \n emit('update:images', images.value);\n } catch (error) {\n globals.setError(error);\n } finally {\n loading.value = false;\n }\n}\n\nfunction onDrop(e) {\n e.preventDefault();\n onFileChange({\n target: {\n files: e.dataTransfer.files\n }\n });\n}\n</script>"],"names":["ref","globals.setError"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,UAAM,SAASA,IAAG,IAAC,EAAE;AACrB,UAAM,UAAUA,IAAG,IAAC,KAAK;AACzB,UAAM,YAAYA,IAAG,IAAC,IAAI;AAE1B,UAAM,QAAQ;AAuBd,UAAM,OAAO;AAEb,aAAS,mBAAmB;AAC1B,gBAAU,MAAM,MAAO;AAAA,IACzB;AAEA,mBAAe,aAAa,GAAG;AAC7B,cAAQ,QAAQ;AAChB,UAAI,QAAQ,EAAE,OAAO;AACrB,UAAI,WAAW,IAAI,SAAU;AAE7B,iBAAW,QAAQ,OAAO;AACxB,iBAAS,OAAO,QAAQ,IAAI;AAAA,MAChC;AAEE,UAAI;AACF,cAAM,SAAS,MAAM,OAAO,EAAE,SAAS,QAAQ,IAAI,SAAS,iBAAiB,KAAM,CAAA;AACnF,YAAI,WAAW,MAAM,OAAO,KAAK,mCAAmC,mBAAmB,MAAM,UAAU,CAAC,IAAI,UAAU;AAAA,UACpH,SAAS;AAAA,YACP,gBAAgB;AAAA,UACxB;AAAA,QACA,CAAK;AAED,iBAAS,KAAK,QAAQ,UAAQ;AAC5B,iBAAO,MAAM,KAAK,KAAK,QAAQ;AAAA,QACrC,CAAK;AAED,aAAK,iBAAiB,OAAO,KAAK;AAAA,MACnC,SAAQ,OAAO;AACdC,gBAAAA,SAAiB,KAAK;AAAA,MAC1B,UAAY;AACR,gBAAQ,QAAQ;AAAA,MACpB;AAAA,IACA;AAEA,aAAS,OAAO,GAAG;AACjB,QAAE,eAAgB;AAClB,mBAAa;AAAA,QACX,QAAQ;AAAA,UACN,OAAO,EAAE,aAAa;AAAA,QAC5B;AAAA,MACA,CAAG;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,6 +2,7 @@ import { ref, createElementBlock, openBlock, withModifiers, createVNode, createE
|
|
|
2
2
|
import axios from "axios";
|
|
3
3
|
import Loader from "../Loader/Loader.vue2.js";
|
|
4
4
|
import _sfc_main$1 from "../../modules/icons/navigation/IconUpload.vue.js";
|
|
5
|
+
import { setError } from "../../modules/globals/views/store/globals.js";
|
|
5
6
|
const _hoisted_1 = {
|
|
6
7
|
key: 0,
|
|
7
8
|
class: "t-center"
|
|
@@ -78,9 +79,9 @@ const _sfc_main = {
|
|
|
78
79
|
images.value.push(file.filepath);
|
|
79
80
|
});
|
|
80
81
|
emit("update:images", images.value);
|
|
81
|
-
loading.value = false;
|
|
82
82
|
} catch (error) {
|
|
83
|
-
|
|
83
|
+
setError(error);
|
|
84
|
+
} finally {
|
|
84
85
|
loading.value = false;
|
|
85
86
|
}
|
|
86
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadImageMultiple.vue.js","sources":["../../../../../src/components/UploadImageMultiple/UploadImageMultiple.vue"],"sourcesContent":["<template>\n <div \n @click=\"onComponentClick\"\n @drop=\"onDrop\"\n @dragover.prevent\n class=\"cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative\"\n >\n <transition name=\"moveFromTop\" mode=\"out-in\">\n <div v-if=\"!loading\" class=\"t-center\">\n <IconUpload\n style=\"max-height: 4rem;\"\n class=\"w-100 mn-b-thin h-100\"\n fill=\"rgb(var(--main))\"\n />\n
|
|
1
|
+
{"version":3,"file":"UploadImageMultiple.vue.js","sources":["../../../../../src/components/UploadImageMultiple/UploadImageMultiple.vue"],"sourcesContent":["<template>\n <div \n @click=\"onComponentClick\"\n @drop=\"onDrop\"\n @dragover.prevent\n class=\"cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative\"\n >\n <transition name=\"moveFromTop\" mode=\"out-in\">\n <div v-if=\"!loading\" class=\"t-center\">\n <IconUpload\n style=\"max-height: 4rem;\"\n class=\"w-100 mn-b-thin h-100\"\n fill=\"rgb(var(--main))\"\n />\n <span v-if=\"options.showText || options.showTitle\" class=\"mn-t-medium mn-b-medium d-block h3 t-black\">{{ text.title }}</span>\n <span v-if=\"options.showText\" class=\"mn-b-small t-transp d-block \">{{ text.subtitle }}</span>\n <span v-if=\"options.showText\"class=\"mn-b-small uppercase p-small t-medium d-block\">or</span>\n <button v-if=\"options.showText\" class=\"cursor-pointer mn-b-small br-2px br-main br-solid radius-extra pd-l-thin pd-r-thin t-main\">Browse Files</button>\n <span v-if=\"options.showText\" class=\"uppercase p-small t-medium d-block \">Maximum size: 2MB</span>\n </div>\n <Loader v-else class=\"pos-absolute\"/>\n </transition>\n <input type=\"file\" ref=\"fileInput\" @change=\"onFileChange\" multiple style=\"display: none\"/>\n </div>\n</template>\n\n<script setup>\nimport { ref, watch } from 'vue';\nimport axios from 'axios';\nimport Loader from '@martyrs/src/components/Loader/Loader.vue';\nimport PlaceholderImage from '@martyrs/src/modules/icons/placeholders/PlaceholderImage.vue'\nimport IconUpload from '@martyrs/src/modules/icons/navigation/IconUpload.vue'\nimport * as globals from '@martyrs/src/modules/globals/views/store/globals.js';\n\nconst images = ref([]);\nconst loading = ref(false);\nconst fileInput = ref(null);\n\nconst props = defineProps({\n uploadPath: {\n type: Object,\n required: true\n },\n options: {\n type: Object,\n default: () => ({\n mimeType: ['jpg', 'png', 'gif'],\n maxSize: 10 * 1024 * 1024,\n showText: true,\n showTitle: true\n })\n },\n text: {\n type: Object,\n default: () => ({\n title: 'Drag & Drop Your Images Here',\n subtitle: 'Files supported: JPG, PNG, GIF'\n })\n }\n});\n\nconst emit = defineEmits(['update:images']);\n\nfunction onComponentClick() {\n fileInput.value.click();\n}\n\nasync function onFileChange(e) {\n loading.value = true;\n let files = e.target.files;\n let formData = new FormData();\n \n for (const file of files) {\n formData.append(\"file\", file);\n }\n \n try {\n const $axios = axios.create({ baseURL: process.env.API_URL, withCredentials: true }); \n let response = await $axios.post(`/api/upload/multiple?folderName=${encodeURIComponent(props.uploadPath)}`, formData, {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n }\n });\n \n response.data.forEach(file => {\n images.value.push(file.filepath);\n });\n \n emit('update:images', images.value);\n } catch (error) {\n globals.setError(error);\n } finally {\n loading.value = false;\n }\n}\n\nfunction onDrop(e) {\n e.preventDefault();\n onFileChange({\n target: {\n files: e.dataTransfer.files\n }\n });\n}\n</script>"],"names":["globals.setError"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,UAAM,SAAS,IAAI,EAAE;AACrB,UAAM,UAAU,IAAI,KAAK;AACzB,UAAM,YAAY,IAAI,IAAI;AAE1B,UAAM,QAAQ;AAuBd,UAAM,OAAO;AAEb,aAAS,mBAAmB;AAC1B,gBAAU,MAAM,MAAO;AAAA,IACzB;AAEA,mBAAe,aAAa,GAAG;AAC7B,cAAQ,QAAQ;AAChB,UAAI,QAAQ,EAAE,OAAO;AACrB,UAAI,WAAW,IAAI,SAAU;AAE7B,iBAAW,QAAQ,OAAO;AACxB,iBAAS,OAAO,QAAQ,IAAI;AAAA,MAChC;AAEE,UAAI;AACF,cAAM,SAAS,MAAM,OAAO,EAAE,SAAS,QAAQ,IAAI,SAAS,iBAAiB,KAAM,CAAA;AACnF,YAAI,WAAW,MAAM,OAAO,KAAK,mCAAmC,mBAAmB,MAAM,UAAU,CAAC,IAAI,UAAU;AAAA,UACpH,SAAS;AAAA,YACP,gBAAgB;AAAA,UACxB;AAAA,QACA,CAAK;AAED,iBAAS,KAAK,QAAQ,UAAQ;AAC5B,iBAAO,MAAM,KAAK,KAAK,QAAQ;AAAA,QACrC,CAAK;AAED,aAAK,iBAAiB,OAAO,KAAK;AAAA,MACnC,SAAQ,OAAO;AACdA,iBAAiB,KAAK;AAAA,MAC1B,UAAY;AACR,gBAAQ,QAAQ;AAAA,MACpB;AAAA,IACA;AAEA,aAAS,OAAO,GAAG;AACjB,QAAE,eAAgB;AAClB,mBAAa;AAAA,QACX,QAAQ;AAAA,UACN,OAAO,EAAE,aAAa;AAAA,QAC5B;AAAA,MACA,CAAG;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
;/* empty css */
|
|
5
4
|
const vueRouter = require("vue-router");
|
|
6
5
|
const vueI18n = require("vue-i18n");
|
|
7
6
|
const auth = require("../../store/auth.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnterCode.vue.cjs","sources":["../../../../../../../../src/modules/auth/views/components/pages/EnterCode.vue"],"sourcesContent":["<template>\n\t<section class=\"t-center pd-medium\">\n\t\t<!-- <img loading=\"lazy\" src=\"@/assets/icons/message1.png\" class=\"i-extra mn-b-small\"> -->\n\n\t\t<h3 class=\"mn-b-medium\">\n\t\t\t{{ t('auth.enterCode.verifyNumberTitle') }}\n\t\t</h3>\n\n\t\t<p class=\"mn-b-big t-transp\">{{ t('auth.enterCode.instructions') }}</p>\n\n\t\t<div class=\"w-100 mn-b-big flex-nowrap flex\">\n \t\t<input \n \t\t\ttype=\"number\" \n \t\t\tv-model=\"state.digits[0]\" \n \t\t\tref=\"firstInput\" \n \t\t\tmaxlength=\"1\" \n \t\t\t@input=\"onInput(0)\" \n \t\t\t@paste=\"($event) => onPaste($event, 0)\" \n \t\t\t@keydown=\"($event) => onKeyDown($event, 0)\" \n \t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n \t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[1]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(1)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 1)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 1)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[2]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(2)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 2)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 2)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[3]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(3)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 3)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 3)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small\"\n\t\t\t>\n \t</div>\n\n\t\t<a v-if=\"resendTimer < 1\" @click=\"sendAgain\" class=\"t-blue\">\n\t\t\t{{ t('auth.enterCode.resendCode') }}\n\t\t</a>\n\n\t\t<span v-else>\n\t\t\t{{resendTimer}} {{ t('auth.enterCode.secondsResend') }}\n\t\t</span>\n\t</section>\n</template>\n\n<script setup>\n\t// Import components\n\timport Field from '@martyrs/src/components/Field/Field.vue'\n\t// Import libs\n\timport { computed,reactive,ref, onMounted, onBeforeMount, watch } from 'vue'\n\timport { useRoute,useRouter } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t// Import state\n\timport * as auth \tfrom '@martyrs/src/modules/auth/views/store/auth.js'\n\timport * as twofa \tfrom '@martyrs/src/modules/auth/views/store/twofa.js'\n\timport { setError } from '@martyrs/src/modules/globals/views/store/globals.js'\n\t\n\tconst route = useRoute()\n\tconst router = useRouter()\n\n\t// Localization\n\t// Localization\n\tconst { t } = useI18n({\n\t\tuseScope: 'global', \n\t})\n\t\n\tconst state = reactive({\n\t digits: ['', '', '', ''],\n\t error: null,\n\t});\n\n\twatch(\n\t () => state.digits[0],\n\t (newVal) => {\n\t if (newVal && String(newVal).length > 1) {\n\t let newValArray = String(newVal).split('');\n\t console.log(newValArray);\n\n\t let newDigits = [...state.digits];\n\t newValArray.forEach((digit, i) => {\n\t console.log(i);\n\t console.log(newDigits[i]);\n\t console.log(digit);\n\t newDigits[i] = digit;\n\t });\n\n\t state.digits = newDigits;\n\n\t onInput(3);\n\t }\n\t }\n\t);\n\n\tconst firstInput = ref(null);\n\n\tconst resendTimer = ref(0);\n\n\tasync function sendAgain () {\n\t\ttry {\n\t\t \tawait twofa.sendCode(\n\t\t \t\tauth.state.user, \n\t\t \t\troute.query.method, \n\t\t \t\troute.query.type, \n\t\t \t)\n\n\t\t \tresendTimer.value = 30;\n\n\t \t// Start the timer using `setInterval()`\n\t \tconst timer = setInterval(() => {\n\t\t if (resendTimer.value > 0) {\n\t\t // Decrement the timer by 1 second\n\t\t resendTimer.value -= 1;\n\t\t } else {\n\t\t // Stop the timer when it reaches 0 seconds\n\t\t clearInterval(timer);\n\t\t }\n\t\t }, 1000);\n\t } catch (error) {\n\t\t\tsetError({ response: {data: { errorCode: \"CODE_NOT_SENT\"}}})\n\t\t}\n\t}\n\n\n\tconst onKeyDown = (event, index) => {\n\t if (event.key === \"Backspace\" && (state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '')) {\n\t event.preventDefault();\n\n\t const inputs = document.querySelectorAll('input');\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t if (prevInput) {\n\t prevInput.focus();\n\t prevInput.setSelectionRange(prevInput.value.length, prevInput.value.length);\n\t }\n\t }\n\t};\n\n\t// const onPaste = (event, index) => {\n\t// event.preventDefault();\n\t// const pastedData = event.clipboardData.getData('text/plain');\n\t \n\t// // Проверим, что вставленный текст состоит только из 4 цифр\n\t// if (/^\\d{4}$/.test(pastedData)) {\n\t// for (let i = 0; i < 4; i++) {\n\t// state.digits[index + i] = pastedData[i];\n\t// }\n\t// onInput(index + 3); // Вызываем обработчик onInput для последнего инпута, чтобы обработать логику ввода\n\t// } else {\n\t// \tsetError({ response: {data: { errorCode: \"INPUT_ERROR\"}}})\n\t// }\n\t// };\n\n\tconst onInput = (index) => {\n\t const inputs = document.querySelectorAll('input');\n\t const nextInput = inputs[index + 1];\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t // Переход на следующий инпут\n\t if (state.digits[index] !== '' && state.digits[index] !== null && state.digits[index] !== undefined && index < 4) {\n\t if (index < 3) nextInput.focus();\n\t else firstInput.value.focus();\n\t }\n\n\t // Переход на предыдущий инпут при удалении\n\t if ((state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '') && index > 0) {\n\t prevInput.focus();\n\t }\n\n\t // Проверка введенного кода\n\t if (state.digits.every(digit => digit !== '')) {\n\t const enteredCode = state.digits.join('');\n\t const correctCode = twofa.state.code.code.toString();\n\n\t if (enteredCode === correctCode) {\n\t twofa.state.code.isValid = true;\n\n\t router.push({\n\t path: '/auth/enter-password',\n\t query: { type: twofa.state.code.type, method: route.query.method, returnUrl: route.query.returnUrl }\n\t });\n\n\t } else {\n\t setError({ response: {data: { errorCode: \"WRONG_CODE\"}}})\n\t firstInput.value.focus()\n\t state.digits = ['', '', '', ''];\n\t }\n\t }\n\t};\n</script>"],"names":["useRoute","useRouter","useI18n","reactive","watch","ref","twofa.sendCode","auth.state","setError","twofa.state"],"mappings":"
|
|
1
|
+
{"version":3,"file":"EnterCode.vue.cjs","sources":["../../../../../../../../src/modules/auth/views/components/pages/EnterCode.vue"],"sourcesContent":["<template>\n\t<section class=\"t-center pd-medium\">\n\t\t<!-- <img loading=\"lazy\" src=\"@/assets/icons/message1.png\" class=\"i-extra mn-b-small\"> -->\n\n\t\t<h3 class=\"mn-b-medium\">\n\t\t\t{{ t('auth.enterCode.verifyNumberTitle') }}\n\t\t</h3>\n\n\t\t<p class=\"mn-b-big t-transp\">{{ t('auth.enterCode.instructions') }}</p>\n\n\t\t<div class=\"w-100 mn-b-big flex-nowrap flex\">\n \t\t<input \n \t\t\ttype=\"number\" \n \t\t\tv-model=\"state.digits[0]\" \n \t\t\tref=\"firstInput\" \n \t\t\tmaxlength=\"1\" \n \t\t\t@input=\"onInput(0)\" \n \t\t\t@paste=\"($event) => onPaste($event, 0)\" \n \t\t\t@keydown=\"($event) => onKeyDown($event, 0)\" \n \t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n \t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[1]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(1)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 1)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 1)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[2]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(2)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 2)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 2)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[3]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(3)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 3)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 3)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small\"\n\t\t\t>\n \t</div>\n\n\t\t<a v-if=\"resendTimer < 1\" @click=\"sendAgain\" class=\"t-blue\">\n\t\t\t{{ t('auth.enterCode.resendCode') }}\n\t\t</a>\n\n\t\t<span v-else>\n\t\t\t{{resendTimer}} {{ t('auth.enterCode.secondsResend') }}\n\t\t</span>\n\t</section>\n</template>\n\n<script setup>\n\t// Import components\n\timport Field from '@martyrs/src/components/Field/Field.vue'\n\t// Import libs\n\timport { computed,reactive,ref, onMounted, onBeforeMount, watch } from 'vue'\n\timport { useRoute,useRouter } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t// Import state\n\timport * as auth \tfrom '@martyrs/src/modules/auth/views/store/auth.js'\n\timport * as twofa \tfrom '@martyrs/src/modules/auth/views/store/twofa.js'\n\timport { setError } from '@martyrs/src/modules/globals/views/store/globals.js'\n\t\n\tconst route = useRoute()\n\tconst router = useRouter()\n\n\t// Localization\n\t// Localization\n\tconst { t } = useI18n({\n\t\tuseScope: 'global', \n\t})\n\t\n\tconst state = reactive({\n\t digits: ['', '', '', ''],\n\t error: null,\n\t});\n\n\twatch(\n\t () => state.digits[0],\n\t (newVal) => {\n\t if (newVal && String(newVal).length > 1) {\n\t let newValArray = String(newVal).split('');\n\t console.log(newValArray);\n\n\t let newDigits = [...state.digits];\n\t newValArray.forEach((digit, i) => {\n\t console.log(i);\n\t console.log(newDigits[i]);\n\t console.log(digit);\n\t newDigits[i] = digit;\n\t });\n\n\t state.digits = newDigits;\n\n\t onInput(3);\n\t }\n\t }\n\t);\n\n\tconst firstInput = ref(null);\n\n\tconst resendTimer = ref(0);\n\n\tasync function sendAgain () {\n\t\ttry {\n\t\t \tawait twofa.sendCode(\n\t\t \t\tauth.state.user, \n\t\t \t\troute.query.method, \n\t\t \t\troute.query.type, \n\t\t \t)\n\n\t\t \tresendTimer.value = 30;\n\n\t \t// Start the timer using `setInterval()`\n\t \tconst timer = setInterval(() => {\n\t\t if (resendTimer.value > 0) {\n\t\t // Decrement the timer by 1 second\n\t\t resendTimer.value -= 1;\n\t\t } else {\n\t\t // Stop the timer when it reaches 0 seconds\n\t\t clearInterval(timer);\n\t\t }\n\t\t }, 1000);\n\t } catch (error) {\n\t\t\tsetError({ response: {data: { errorCode: \"CODE_NOT_SENT\"}}})\n\t\t}\n\t}\n\n\n\tconst onKeyDown = (event, index) => {\n\t if (event.key === \"Backspace\" && (state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '')) {\n\t event.preventDefault();\n\n\t const inputs = document.querySelectorAll('input');\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t if (prevInput) {\n\t prevInput.focus();\n\t prevInput.setSelectionRange(prevInput.value.length, prevInput.value.length);\n\t }\n\t }\n\t};\n\n\t// const onPaste = (event, index) => {\n\t// event.preventDefault();\n\t// const pastedData = event.clipboardData.getData('text/plain');\n\t \n\t// // Проверим, что вставленный текст состоит только из 4 цифр\n\t// if (/^\\d{4}$/.test(pastedData)) {\n\t// for (let i = 0; i < 4; i++) {\n\t// state.digits[index + i] = pastedData[i];\n\t// }\n\t// onInput(index + 3); // Вызываем обработчик onInput для последнего инпута, чтобы обработать логику ввода\n\t// } else {\n\t// \tsetError({ response: {data: { errorCode: \"INPUT_ERROR\"}}})\n\t// }\n\t// };\n\n\tconst onInput = (index) => {\n\t const inputs = document.querySelectorAll('input');\n\t const nextInput = inputs[index + 1];\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t // Переход на следующий инпут\n\t if (state.digits[index] !== '' && state.digits[index] !== null && state.digits[index] !== undefined && index < 4) {\n\t if (index < 3) nextInput.focus();\n\t else firstInput.value.focus();\n\t }\n\n\t // Переход на предыдущий инпут при удалении\n\t if ((state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '') && index > 0) {\n\t prevInput.focus();\n\t }\n\n\t // Проверка введенного кода\n\t if (state.digits.every(digit => digit !== '')) {\n\t const enteredCode = state.digits.join('');\n\t const correctCode = twofa.state.code.code.toString();\n\n\t if (enteredCode === correctCode) {\n\t twofa.state.code.isValid = true;\n\n\t router.push({\n\t path: '/auth/enter-password',\n\t query: { type: twofa.state.code.type, method: route.query.method, returnUrl: route.query.returnUrl }\n\t });\n\n\t } else {\n\t setError({ response: {data: { errorCode: \"WRONG_CODE\"}}})\n\t firstInput.value.focus()\n\t state.digits = ['', '', '', ''];\n\t }\n\t }\n\t};\n</script>"],"names":["useRoute","useRouter","useI18n","reactive","watch","ref","twofa.sendCode","auth.state","setError","twofa.state"],"mappings":";;;;;;;;;;;;;;;;AAwEC,UAAM,QAAQA,UAAQ,SAAA;AACtB,UAAM,SAASC,UAAS,UAAA;AAIxB,UAAM,EAAE,EAAG,IAAGC,gBAAQ;AAAA,MACrB,UAAU;AAAA,IACV,CAAA;AAED,UAAM,QAAQC,IAAAA,SAAS;AAAA,MACrB,QAAQ,CAAC,IAAI,IAAI,IAAI,EAAE;AAAA,MACvB,OAAO;AAAA,IACV,CAAE;AAEDC,QAAK;AAAA,MACD,MAAM,MAAM,OAAO,CAAC;AAAA,MACpB,CAAC,WAAW;AACR,YAAI,UAAU,OAAO,MAAM,EAAE,SAAS,GAAG;AACrC,cAAI,cAAc,OAAO,MAAM,EAAE,MAAM,EAAE;AACzC,kBAAQ,IAAI,WAAW;AAEvB,cAAI,YAAY,CAAC,GAAG,MAAM,MAAM;AAChC,sBAAY,QAAQ,CAAC,OAAO,MAAM;AAC9B,oBAAQ,IAAI,CAAC;AACb,oBAAQ,IAAI,UAAU,CAAC,CAAC;AACxB,oBAAQ,IAAI,KAAK;AACjB,sBAAU,CAAC,IAAI;AAAA,UAChC,CAAc;AAED,gBAAM,SAAS;AAEf,kBAAQ,CAAC;AAAA,QACtB;AAAA,MACA;AAAA,IACE;AAED,UAAM,aAAaC,IAAG,IAAC,IAAI;AAE3B,UAAM,cAAcA,IAAG,IAAC,CAAC;AAEzB,mBAAe,YAAa;AAC3B,UAAI;AACD,cAAMC,MAAc;AAAA,UACnBC,KAAAA,MAAW;AAAA,UACX,MAAM,MAAM;AAAA,UACZ,MAAM,MAAM;AAAA,QAClB;AAEK,oBAAY,QAAQ;AAGjB,cAAM,QAAQ,YAAY,MAAM;AAC9B,cAAI,YAAY,QAAQ,GAAG;AAEzB,wBAAY,SAAS;AAAA,UACjC,OAAiB;AAEL,0BAAc,KAAK;AAAA,UAC/B;AAAA,QACQ,GAAE,GAAI;AAAA,MACV,SAAQ,OAAO;AAChBC,gBAAQ,SAAC,EAAE,UAAU,EAAC,MAAM,EAAE,WAAW,gBAAe,EAAC,EAAC,CAAC;AAAA,MAC9D;AAAA,IACA;AAGC,UAAM,YAAY,CAAC,OAAO,UAAU;AAChC,UAAI,MAAM,QAAQ,gBAAgB,MAAM,OAAO,KAAK,MAAM,QAAQ,MAAM,OAAO,KAAK,MAAM,UAAa,MAAM,OAAO,KAAK,MAAM,KAAK;AAChI,cAAM,eAAgB;AAEtB,cAAM,SAAS,SAAS,iBAAiB,OAAO;AAChD,cAAM,YAAY,QAAQ,IAAI,OAAO,QAAQ,CAAC,IAAI;AAElD,YAAI,WAAW;AACX,oBAAU,MAAO;AACjB,oBAAU,kBAAkB,UAAU,MAAM,QAAQ,UAAU,MAAM,MAAM;AAAA,QACvF;AAAA,MACA;AAAA,IACE;AAiBD,UAAM,UAAU,CAAC,UAAU;AACvB,YAAM,SAAS,SAAS,iBAAiB,OAAO;AAChD,YAAM,YAAY,OAAO,QAAQ,CAAC;AAClC,YAAM,YAAY,QAAQ,IAAI,OAAO,QAAQ,CAAC,IAAI;AAGlD,UAAI,MAAM,OAAO,KAAK,MAAM,MAAM,MAAM,OAAO,KAAK,MAAM,QAAQ,MAAM,OAAO,KAAK,MAAM,UAAa,QAAQ,GAAG;AAC9G,YAAI,QAAQ,EAAG,WAAU,MAAO;AAAA,YAC3B,YAAW,MAAM,MAAO;AAAA,MACtC;AAGK,WAAK,MAAM,OAAO,KAAK,MAAM,QAAQ,MAAM,OAAO,KAAK,MAAM,UAAa,MAAM,OAAO,KAAK,MAAM,OAAO,QAAQ,GAAG;AAChH,kBAAU,MAAO;AAAA,MAC1B;AAGK,UAAI,MAAM,OAAO,MAAM,WAAS,UAAU,EAAE,GAAG;AAC3C,cAAM,cAAc,MAAM,OAAO,KAAK,EAAE;AACxC,cAAM,cAAcC,MAAW,MAAC,KAAK,KAAK,SAAU;AAEpD,YAAI,gBAAgB,aAAa;AAC7BA,sBAAY,KAAK,UAAU;AAE3B,iBAAO,KAAK;AAAA,YACR,MAAM;AAAA,YACN,OAAO,EAAE,MAAMA,YAAY,KAAK,MAAM,QAAQ,MAAM,MAAM,QAAQ,WAAW,MAAM,MAAM,UAAS;AAAA,UACnH,CAAc;AAAA,QAEd,OAAgB;AACHD,kBAAQ,SAAC,EAAE,UAAU,EAAC,MAAM,EAAE,WAAW,aAAY,EAAC,EAAC,CAAC;AACxD,qBAAW,MAAM,MAAK;AACtB,gBAAM,SAAS,CAAC,IAAI,IAAI,IAAI,EAAE;AAAA,QAC3C;AAAA,MACA;AAAA,IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { reactive, watch, ref, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, withDirectives, vModelText } from "vue";
|
|
2
|
-
/* empty css */
|
|
3
2
|
import { useRoute, useRouter } from "vue-router";
|
|
4
3
|
import { useI18n } from "vue-i18n";
|
|
5
4
|
import { state as state$1 } from "../../store/auth.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnterCode.vue.js","sources":["../../../../../../../../src/modules/auth/views/components/pages/EnterCode.vue"],"sourcesContent":["<template>\n\t<section class=\"t-center pd-medium\">\n\t\t<!-- <img loading=\"lazy\" src=\"@/assets/icons/message1.png\" class=\"i-extra mn-b-small\"> -->\n\n\t\t<h3 class=\"mn-b-medium\">\n\t\t\t{{ t('auth.enterCode.verifyNumberTitle') }}\n\t\t</h3>\n\n\t\t<p class=\"mn-b-big t-transp\">{{ t('auth.enterCode.instructions') }}</p>\n\n\t\t<div class=\"w-100 mn-b-big flex-nowrap flex\">\n \t\t<input \n \t\t\ttype=\"number\" \n \t\t\tv-model=\"state.digits[0]\" \n \t\t\tref=\"firstInput\" \n \t\t\tmaxlength=\"1\" \n \t\t\t@input=\"onInput(0)\" \n \t\t\t@paste=\"($event) => onPaste($event, 0)\" \n \t\t\t@keydown=\"($event) => onKeyDown($event, 0)\" \n \t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n \t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[1]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(1)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 1)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 1)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[2]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(2)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 2)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 2)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[3]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(3)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 3)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 3)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small\"\n\t\t\t>\n \t</div>\n\n\t\t<a v-if=\"resendTimer < 1\" @click=\"sendAgain\" class=\"t-blue\">\n\t\t\t{{ t('auth.enterCode.resendCode') }}\n\t\t</a>\n\n\t\t<span v-else>\n\t\t\t{{resendTimer}} {{ t('auth.enterCode.secondsResend') }}\n\t\t</span>\n\t</section>\n</template>\n\n<script setup>\n\t// Import components\n\timport Field from '@martyrs/src/components/Field/Field.vue'\n\t// Import libs\n\timport { computed,reactive,ref, onMounted, onBeforeMount, watch } from 'vue'\n\timport { useRoute,useRouter } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t// Import state\n\timport * as auth \tfrom '@martyrs/src/modules/auth/views/store/auth.js'\n\timport * as twofa \tfrom '@martyrs/src/modules/auth/views/store/twofa.js'\n\timport { setError } from '@martyrs/src/modules/globals/views/store/globals.js'\n\t\n\tconst route = useRoute()\n\tconst router = useRouter()\n\n\t// Localization\n\t// Localization\n\tconst { t } = useI18n({\n\t\tuseScope: 'global', \n\t})\n\t\n\tconst state = reactive({\n\t digits: ['', '', '', ''],\n\t error: null,\n\t});\n\n\twatch(\n\t () => state.digits[0],\n\t (newVal) => {\n\t if (newVal && String(newVal).length > 1) {\n\t let newValArray = String(newVal).split('');\n\t console.log(newValArray);\n\n\t let newDigits = [...state.digits];\n\t newValArray.forEach((digit, i) => {\n\t console.log(i);\n\t console.log(newDigits[i]);\n\t console.log(digit);\n\t newDigits[i] = digit;\n\t });\n\n\t state.digits = newDigits;\n\n\t onInput(3);\n\t }\n\t }\n\t);\n\n\tconst firstInput = ref(null);\n\n\tconst resendTimer = ref(0);\n\n\tasync function sendAgain () {\n\t\ttry {\n\t\t \tawait twofa.sendCode(\n\t\t \t\tauth.state.user, \n\t\t \t\troute.query.method, \n\t\t \t\troute.query.type, \n\t\t \t)\n\n\t\t \tresendTimer.value = 30;\n\n\t \t// Start the timer using `setInterval()`\n\t \tconst timer = setInterval(() => {\n\t\t if (resendTimer.value > 0) {\n\t\t // Decrement the timer by 1 second\n\t\t resendTimer.value -= 1;\n\t\t } else {\n\t\t // Stop the timer when it reaches 0 seconds\n\t\t clearInterval(timer);\n\t\t }\n\t\t }, 1000);\n\t } catch (error) {\n\t\t\tsetError({ response: {data: { errorCode: \"CODE_NOT_SENT\"}}})\n\t\t}\n\t}\n\n\n\tconst onKeyDown = (event, index) => {\n\t if (event.key === \"Backspace\" && (state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '')) {\n\t event.preventDefault();\n\n\t const inputs = document.querySelectorAll('input');\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t if (prevInput) {\n\t prevInput.focus();\n\t prevInput.setSelectionRange(prevInput.value.length, prevInput.value.length);\n\t }\n\t }\n\t};\n\n\t// const onPaste = (event, index) => {\n\t// event.preventDefault();\n\t// const pastedData = event.clipboardData.getData('text/plain');\n\t \n\t// // Проверим, что вставленный текст состоит только из 4 цифр\n\t// if (/^\\d{4}$/.test(pastedData)) {\n\t// for (let i = 0; i < 4; i++) {\n\t// state.digits[index + i] = pastedData[i];\n\t// }\n\t// onInput(index + 3); // Вызываем обработчик onInput для последнего инпута, чтобы обработать логику ввода\n\t// } else {\n\t// \tsetError({ response: {data: { errorCode: \"INPUT_ERROR\"}}})\n\t// }\n\t// };\n\n\tconst onInput = (index) => {\n\t const inputs = document.querySelectorAll('input');\n\t const nextInput = inputs[index + 1];\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t // Переход на следующий инпут\n\t if (state.digits[index] !== '' && state.digits[index] !== null && state.digits[index] !== undefined && index < 4) {\n\t if (index < 3) nextInput.focus();\n\t else firstInput.value.focus();\n\t }\n\n\t // Переход на предыдущий инпут при удалении\n\t if ((state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '') && index > 0) {\n\t prevInput.focus();\n\t }\n\n\t // Проверка введенного кода\n\t if (state.digits.every(digit => digit !== '')) {\n\t const enteredCode = state.digits.join('');\n\t const correctCode = twofa.state.code.code.toString();\n\n\t if (enteredCode === correctCode) {\n\t twofa.state.code.isValid = true;\n\n\t router.push({\n\t path: '/auth/enter-password',\n\t query: { type: twofa.state.code.type, method: route.query.method, returnUrl: route.query.returnUrl }\n\t });\n\n\t } else {\n\t setError({ response: {data: { errorCode: \"WRONG_CODE\"}}})\n\t firstInput.value.focus()\n\t state.digits = ['', '', '', ''];\n\t }\n\t }\n\t};\n</script>"],"names":["state","twofa.sendCode","auth.state","twofa.state"],"mappings":"
|
|
1
|
+
{"version":3,"file":"EnterCode.vue.js","sources":["../../../../../../../../src/modules/auth/views/components/pages/EnterCode.vue"],"sourcesContent":["<template>\n\t<section class=\"t-center pd-medium\">\n\t\t<!-- <img loading=\"lazy\" src=\"@/assets/icons/message1.png\" class=\"i-extra mn-b-small\"> -->\n\n\t\t<h3 class=\"mn-b-medium\">\n\t\t\t{{ t('auth.enterCode.verifyNumberTitle') }}\n\t\t</h3>\n\n\t\t<p class=\"mn-b-big t-transp\">{{ t('auth.enterCode.instructions') }}</p>\n\n\t\t<div class=\"w-100 mn-b-big flex-nowrap flex\">\n \t\t<input \n \t\t\ttype=\"number\" \n \t\t\tv-model=\"state.digits[0]\" \n \t\t\tref=\"firstInput\" \n \t\t\tmaxlength=\"1\" \n \t\t\t@input=\"onInput(0)\" \n \t\t\t@paste=\"($event) => onPaste($event, 0)\" \n \t\t\t@keydown=\"($event) => onKeyDown($event, 0)\" \n \t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n \t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[1]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(1)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 1)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 1)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[2]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(2)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 2)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 2)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[3]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(3)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 3)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 3)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small\"\n\t\t\t>\n \t</div>\n\n\t\t<a v-if=\"resendTimer < 1\" @click=\"sendAgain\" class=\"t-blue\">\n\t\t\t{{ t('auth.enterCode.resendCode') }}\n\t\t</a>\n\n\t\t<span v-else>\n\t\t\t{{resendTimer}} {{ t('auth.enterCode.secondsResend') }}\n\t\t</span>\n\t</section>\n</template>\n\n<script setup>\n\t// Import components\n\timport Field from '@martyrs/src/components/Field/Field.vue'\n\t// Import libs\n\timport { computed,reactive,ref, onMounted, onBeforeMount, watch } from 'vue'\n\timport { useRoute,useRouter } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t// Import state\n\timport * as auth \tfrom '@martyrs/src/modules/auth/views/store/auth.js'\n\timport * as twofa \tfrom '@martyrs/src/modules/auth/views/store/twofa.js'\n\timport { setError } from '@martyrs/src/modules/globals/views/store/globals.js'\n\t\n\tconst route = useRoute()\n\tconst router = useRouter()\n\n\t// Localization\n\t// Localization\n\tconst { t } = useI18n({\n\t\tuseScope: 'global', \n\t})\n\t\n\tconst state = reactive({\n\t digits: ['', '', '', ''],\n\t error: null,\n\t});\n\n\twatch(\n\t () => state.digits[0],\n\t (newVal) => {\n\t if (newVal && String(newVal).length > 1) {\n\t let newValArray = String(newVal).split('');\n\t console.log(newValArray);\n\n\t let newDigits = [...state.digits];\n\t newValArray.forEach((digit, i) => {\n\t console.log(i);\n\t console.log(newDigits[i]);\n\t console.log(digit);\n\t newDigits[i] = digit;\n\t });\n\n\t state.digits = newDigits;\n\n\t onInput(3);\n\t }\n\t }\n\t);\n\n\tconst firstInput = ref(null);\n\n\tconst resendTimer = ref(0);\n\n\tasync function sendAgain () {\n\t\ttry {\n\t\t \tawait twofa.sendCode(\n\t\t \t\tauth.state.user, \n\t\t \t\troute.query.method, \n\t\t \t\troute.query.type, \n\t\t \t)\n\n\t\t \tresendTimer.value = 30;\n\n\t \t// Start the timer using `setInterval()`\n\t \tconst timer = setInterval(() => {\n\t\t if (resendTimer.value > 0) {\n\t\t // Decrement the timer by 1 second\n\t\t resendTimer.value -= 1;\n\t\t } else {\n\t\t // Stop the timer when it reaches 0 seconds\n\t\t clearInterval(timer);\n\t\t }\n\t\t }, 1000);\n\t } catch (error) {\n\t\t\tsetError({ response: {data: { errorCode: \"CODE_NOT_SENT\"}}})\n\t\t}\n\t}\n\n\n\tconst onKeyDown = (event, index) => {\n\t if (event.key === \"Backspace\" && (state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '')) {\n\t event.preventDefault();\n\n\t const inputs = document.querySelectorAll('input');\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t if (prevInput) {\n\t prevInput.focus();\n\t prevInput.setSelectionRange(prevInput.value.length, prevInput.value.length);\n\t }\n\t }\n\t};\n\n\t// const onPaste = (event, index) => {\n\t// event.preventDefault();\n\t// const pastedData = event.clipboardData.getData('text/plain');\n\t \n\t// // Проверим, что вставленный текст состоит только из 4 цифр\n\t// if (/^\\d{4}$/.test(pastedData)) {\n\t// for (let i = 0; i < 4; i++) {\n\t// state.digits[index + i] = pastedData[i];\n\t// }\n\t// onInput(index + 3); // Вызываем обработчик onInput для последнего инпута, чтобы обработать логику ввода\n\t// } else {\n\t// \tsetError({ response: {data: { errorCode: \"INPUT_ERROR\"}}})\n\t// }\n\t// };\n\n\tconst onInput = (index) => {\n\t const inputs = document.querySelectorAll('input');\n\t const nextInput = inputs[index + 1];\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t // Переход на следующий инпут\n\t if (state.digits[index] !== '' && state.digits[index] !== null && state.digits[index] !== undefined && index < 4) {\n\t if (index < 3) nextInput.focus();\n\t else firstInput.value.focus();\n\t }\n\n\t // Переход на предыдущий инпут при удалении\n\t if ((state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '') && index > 0) {\n\t prevInput.focus();\n\t }\n\n\t // Проверка введенного кода\n\t if (state.digits.every(digit => digit !== '')) {\n\t const enteredCode = state.digits.join('');\n\t const correctCode = twofa.state.code.code.toString();\n\n\t if (enteredCode === correctCode) {\n\t twofa.state.code.isValid = true;\n\n\t router.push({\n\t path: '/auth/enter-password',\n\t query: { type: twofa.state.code.type, method: route.query.method, returnUrl: route.query.returnUrl }\n\t });\n\n\t } else {\n\t setError({ response: {data: { errorCode: \"WRONG_CODE\"}}})\n\t firstInput.value.focus()\n\t state.digits = ['', '', '', ''];\n\t }\n\t }\n\t};\n</script>"],"names":["state","twofa.sendCode","auth.state","twofa.state"],"mappings":";;;;;;;;;;;;;;AAwEC,UAAM,QAAQ,SAAQ;AACtB,UAAM,SAAS,UAAS;AAIxB,UAAM,EAAE,EAAG,IAAG,QAAQ;AAAA,MACrB,UAAU;AAAA,IACV,CAAA;AAED,UAAMA,UAAQ,SAAS;AAAA,MACrB,QAAQ,CAAC,IAAI,IAAI,IAAI,EAAE;AAAA,MACvB,OAAO;AAAA,IACV,CAAE;AAED;AAAA,MACI,MAAMA,QAAM,OAAO,CAAC;AAAA,MACpB,CAAC,WAAW;AACR,YAAI,UAAU,OAAO,MAAM,EAAE,SAAS,GAAG;AACrC,cAAI,cAAc,OAAO,MAAM,EAAE,MAAM,EAAE;AACzC,kBAAQ,IAAI,WAAW;AAEvB,cAAI,YAAY,CAAC,GAAGA,QAAM,MAAM;AAChC,sBAAY,QAAQ,CAAC,OAAO,MAAM;AAC9B,oBAAQ,IAAI,CAAC;AACb,oBAAQ,IAAI,UAAU,CAAC,CAAC;AACxB,oBAAQ,IAAI,KAAK;AACjB,sBAAU,CAAC,IAAI;AAAA,UAChC,CAAc;AAEDA,kBAAM,SAAS;AAEf,kBAAQ,CAAC;AAAA,QACtB;AAAA,MACA;AAAA,IACE;AAED,UAAM,aAAa,IAAI,IAAI;AAE3B,UAAM,cAAc,IAAI,CAAC;AAEzB,mBAAe,YAAa;AAC3B,UAAI;AACD,cAAMC;AAAAA,UACLC,QAAW;AAAA,UACX,MAAM,MAAM;AAAA,UACZ,MAAM,MAAM;AAAA,QAClB;AAEK,oBAAY,QAAQ;AAGjB,cAAM,QAAQ,YAAY,MAAM;AAC9B,cAAI,YAAY,QAAQ,GAAG;AAEzB,wBAAY,SAAS;AAAA,UACjC,OAAiB;AAEL,0BAAc,KAAK;AAAA,UAC/B;AAAA,QACQ,GAAE,GAAI;AAAA,MACV,SAAQ,OAAO;AAChB,iBAAS,EAAE,UAAU,EAAC,MAAM,EAAE,WAAW,gBAAe,EAAC,EAAC,CAAC;AAAA,MAC9D;AAAA,IACA;AAGC,UAAM,YAAY,CAAC,OAAO,UAAU;AAChC,UAAI,MAAM,QAAQ,gBAAgBF,QAAM,OAAO,KAAK,MAAM,QAAQA,QAAM,OAAO,KAAK,MAAM,UAAaA,QAAM,OAAO,KAAK,MAAM,KAAK;AAChI,cAAM,eAAgB;AAEtB,cAAM,SAAS,SAAS,iBAAiB,OAAO;AAChD,cAAM,YAAY,QAAQ,IAAI,OAAO,QAAQ,CAAC,IAAI;AAElD,YAAI,WAAW;AACX,oBAAU,MAAO;AACjB,oBAAU,kBAAkB,UAAU,MAAM,QAAQ,UAAU,MAAM,MAAM;AAAA,QACvF;AAAA,MACA;AAAA,IACE;AAiBD,UAAM,UAAU,CAAC,UAAU;AACvB,YAAM,SAAS,SAAS,iBAAiB,OAAO;AAChD,YAAM,YAAY,OAAO,QAAQ,CAAC;AAClC,YAAM,YAAY,QAAQ,IAAI,OAAO,QAAQ,CAAC,IAAI;AAGlD,UAAIA,QAAM,OAAO,KAAK,MAAM,MAAMA,QAAM,OAAO,KAAK,MAAM,QAAQA,QAAM,OAAO,KAAK,MAAM,UAAa,QAAQ,GAAG;AAC9G,YAAI,QAAQ,EAAG,WAAU,MAAO;AAAA,YAC3B,YAAW,MAAM,MAAO;AAAA,MACtC;AAGK,WAAKA,QAAM,OAAO,KAAK,MAAM,QAAQA,QAAM,OAAO,KAAK,MAAM,UAAaA,QAAM,OAAO,KAAK,MAAM,OAAO,QAAQ,GAAG;AAChH,kBAAU,MAAO;AAAA,MAC1B;AAGK,UAAIA,QAAM,OAAO,MAAM,WAAS,UAAU,EAAE,GAAG;AAC3C,cAAM,cAAcA,QAAM,OAAO,KAAK,EAAE;AACxC,cAAM,cAAcG,MAAY,KAAK,KAAK,SAAU;AAEpD,YAAI,gBAAgB,aAAa;AAC7BA,gBAAY,KAAK,UAAU;AAE3B,iBAAO,KAAK;AAAA,YACR,MAAM;AAAA,YACN,OAAO,EAAE,MAAMA,MAAY,KAAK,MAAM,QAAQ,MAAM,MAAM,QAAQ,WAAW,MAAM,MAAM,UAAS;AAAA,UACnH,CAAc;AAAA,QAEd,OAAgB;AACH,mBAAS,EAAE,UAAU,EAAC,MAAM,EAAE,WAAW,aAAY,EAAC,EAAC,CAAC;AACxD,qBAAW,MAAM,MAAK;AACtBH,kBAAM,SAAS,CAAC,IAAI,IAAI,IAAI,EAAE;AAAA,QAC3C;AAAA,MACA;AAAA,IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
;/* empty css */
|
|
5
|
-
const Field = require("../../../../../components/Field/Field.
|
|
6
|
-
const Button = require("../../../../../components/Button/Button.
|
|
5
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
|
6
|
+
const Button = require("../../../../../components/Button/Button.vue2.cjs");
|
|
7
7
|
const vueRouter = require("vue-router");
|
|
8
8
|
const vueI18n = require("vue-i18n");
|
|
9
9
|
const auth = require("../../store/auth.cjs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, toDisplayString, unref, createTextVNode, withCtx } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
import _sfc_main$
|
|
3
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
|
4
|
+
import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
|
|
5
5
|
import { useRoute, useRouter } from "vue-router";
|
|
6
6
|
import { useI18n } from "vue-i18n";
|
|
7
7
|
import { state, actions } from "../../store/auth.js";
|
|
@@ -73,7 +73,7 @@ const _sfc_main = {
|
|
|
73
73
|
createElementVNode("h3", _hoisted_2, toDisplayString(unref(t)("auth.enterPassword.almostDone")), 1),
|
|
74
74
|
unref(route).query.method === "reset-password" ? (openBlock(), createElementBlock("p", _hoisted_3, toDisplayString(unref(t)("auth.enterPassword.newPasswordPrompt")), 1)) : (openBlock(), createElementBlock("p", _hoisted_4, toDisplayString(unref(t)("auth.enterPassword.registrationPasswordPrompt")), 1)),
|
|
75
75
|
createElementVNode("div", _hoisted_5, [
|
|
76
|
-
createVNode(
|
|
76
|
+
createVNode(Field, {
|
|
77
77
|
field: state.user.password,
|
|
78
78
|
"onUpdate:field": _cache[0] || (_cache[0] = ($event) => state.user.password = $event),
|
|
79
79
|
type: "password",
|
|
@@ -81,7 +81,7 @@ const _sfc_main = {
|
|
|
81
81
|
placeholder: unref(t)("auth.enterPassword.passwordPlaceholder"),
|
|
82
82
|
class: "bg-light pd-small radius-small mn-b-thin"
|
|
83
83
|
}, null, 8, ["field", "validation", "placeholder"]),
|
|
84
|
-
createVNode(
|
|
84
|
+
createVNode(Field, {
|
|
85
85
|
field: state.user.passwordRepeat,
|
|
86
86
|
"onUpdate:field": _cache[1] || (_cache[1] = ($event) => state.user.passwordRepeat = $event),
|
|
87
87
|
type: "password",
|
|
@@ -98,7 +98,7 @@ const _sfc_main = {
|
|
|
98
98
|
rel: "noopener noreferrer"
|
|
99
99
|
}, "End User License Agreement (EULA)", -1)
|
|
100
100
|
]))) : createCommentVNode("", true),
|
|
101
|
-
createVNode(_sfc_main$
|
|
101
|
+
createVNode(_sfc_main$1, {
|
|
102
102
|
submit: onSubmit,
|
|
103
103
|
callback: redirectTo,
|
|
104
104
|
class: "w-100 bg-main mn-b-big"
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
;/* empty css */
|
|
5
|
-
const Field = require("../../../../../components/Field/Field.
|
|
6
|
-
const Button = require("../../../../../components/Button/Button.
|
|
5
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
|
6
|
+
const Button = require("../../../../../components/Button/Button.vue2.cjs");
|
|
7
7
|
const vueRouter = require("vue-router");
|
|
8
8
|
const auth = require("../../store/auth.cjs");
|
|
9
9
|
const invites = require("../../../../organizations/store/invites.cjs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, onMounted, createElementBlock, openBlock, createElementVNode, createVNode, withCtx } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
import _sfc_main$
|
|
3
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
|
4
|
+
import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
|
|
5
5
|
import { useRoute, useRouter } from "vue-router";
|
|
6
6
|
import { state, actions as actions$1 } from "../../store/auth.js";
|
|
7
7
|
import { actions } from "../../../../organizations/store/invites.js";
|
|
@@ -51,7 +51,7 @@ const _sfc_main = {
|
|
|
51
51
|
_cache[3] || (_cache[3] = createElementVNode("h3", { class: "mn-b-small" }, "You have been invited to the organization", -1)),
|
|
52
52
|
_cache[4] || (_cache[4] = createElementVNode("p", { class: "mn-b-semi t-transp" }, "Please provide a password to complete the registration.", -1)),
|
|
53
53
|
createElementVNode("div", _hoisted_2, [
|
|
54
|
-
createVNode(
|
|
54
|
+
createVNode(Field, {
|
|
55
55
|
field: state.user.password,
|
|
56
56
|
"onUpdate:field": _cache[0] || (_cache[0] = ($event) => state.user.password = $event),
|
|
57
57
|
type: "password",
|
|
@@ -60,7 +60,7 @@ const _sfc_main = {
|
|
|
60
60
|
placeholder: "******",
|
|
61
61
|
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
62
62
|
}, null, 8, ["field", "validation"]),
|
|
63
|
-
createVNode(
|
|
63
|
+
createVNode(Field, {
|
|
64
64
|
field: state.user.passwordRepeat,
|
|
65
65
|
"onUpdate:field": _cache[1] || (_cache[1] = ($event) => state.user.passwordRepeat = $event),
|
|
66
66
|
type: "password",
|
|
@@ -69,7 +69,7 @@ const _sfc_main = {
|
|
|
69
69
|
class: "bg-light pd-medium radius-small"
|
|
70
70
|
}, null, 8, ["field"])
|
|
71
71
|
]),
|
|
72
|
-
createVNode(_sfc_main$
|
|
72
|
+
createVNode(_sfc_main$1, {
|
|
73
73
|
submit: onSubmit,
|
|
74
74
|
callback: redirectTo,
|
|
75
75
|
class: "w-100 bg-main mn-b-big"
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
;/* empty css */
|
|
5
4
|
;/* empty css */
|
|
6
|
-
;/* empty css
|
|
5
|
+
;/* empty css */
|
|
7
6
|
const Dropdown = require("../../../../../components/Dropdown/Dropdown.vue.cjs");
|
|
8
7
|
const Menu = require("../../../../../components/Menu/Menu.vue.cjs");
|
|
9
8
|
const MenuItem = require("../../../../../components/Menu/MenuItem.vue.cjs");
|