@ozdao/martyrs 0.2.603 → 0.2.605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/_virtual/dayjs.min.js +1 -1
- package/dist/_virtual/weekOfYear.js +1 -1
- package/dist/{abac-Blt8bUTL.js → abac-kz5xI99l.js} +1 -0
- package/dist/auth.server.js +52 -12
- package/dist/builder.js +67 -2
- package/dist/chats.server.js +2 -2
- package/dist/community.server.js +3 -3
- package/dist/core.server.js +2 -2
- package/dist/{core.websocket-Cl76z2wT.js → core.websocket-B2FA8gGl.js} +0 -2
- package/dist/{crud-BT5FIvQC.js → crud-Cwn0frBP.js} +8 -2
- package/dist/events.server.js +4 -4
- package/dist/files.server.js +1 -1
- package/dist/gallery.server.js +2 -2
- package/dist/governance.server.js +10 -10
- package/dist/{index-kvBwwb0w.js → index-CPACC651.js} +1 -1
- package/dist/inventory.server.js +4 -4
- package/dist/{mailing-DT7nbNjZ.js → mailing-BBCidXGr.js} +38 -2
- package/dist/marketplace.server.js +2 -2
- package/dist/martyrs/dist/martyrs.es3.js +1 -1
- package/dist/martyrs/dist/martyrs.es3.js.map +1 -1
- package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/dayjs.min.js +1 -1
- package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/dayjs.min.js.map +1 -1
- package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/plugin/weekOfYear.js +1 -1
- package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/plugin/weekOfYear.js.map +1 -1
- package/dist/{node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_ → martyrs/node_modules/.pnpm/vue-draggable-next@2.3.0_sortablejs@1.15.7_vue@3.5.13}/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +305 -268
- package/dist/martyrs/node_modules/.pnpm/vue-draggable-next@2.3.0_sortablejs@1.15.7_vue@3.5.13/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js.map +1 -0
- package/dist/martyrs/src/components/Address/Address.vue2.js +13 -13
- package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Button/Button.vue2.js +1 -1
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -1
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.js +150 -143
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.js.map +1 -1
- package/dist/martyrs/src/components/Chart/Chart.vue.js +296 -0
- package/dist/martyrs/src/components/Chart/Chart.vue.js.map +1 -0
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +1 -1
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.js +5 -6
- package/dist/martyrs/src/components/Chips/Chips.vue.js.map +1 -1
- package/dist/martyrs/src/components/Countdown/Countdown.vue.js +5 -5
- package/dist/martyrs/src/components/Countdown/Countdown.vue.js.map +1 -1
- package/dist/martyrs/src/components/DatePicker/DatePicker.vue.js +2 -2
- package/dist/martyrs/src/components/DatePicker/DatePicker.vue.js.map +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js +4 -4
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -1
- package/dist/martyrs/src/components/EmptyState/EmptyState.vue.js +1 -1
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
- package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/martyrs/src/components/Field/Field.vue.js +4 -4
- package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
- package/dist/martyrs/src/components/FieldDate/FieldDate.vue.js +3 -3
- package/dist/martyrs/src/components/FieldDate/FieldDate.vue.js.map +1 -1
- package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js +27 -21
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
- package/dist/martyrs/src/components/Map/Map.vue.js +20 -16
- package/dist/martyrs/src/components/Map/Map.vue.js.map +1 -1
- package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
- package/dist/martyrs/src/components/Popup/Popup.vue.js +3 -4
- package/dist/martyrs/src/components/Popup/Popup.vue.js.map +1 -1
- package/dist/martyrs/src/components/Radio/Radio.vue.js +12 -10
- package/dist/martyrs/src/components/Radio/Radio.vue.js.map +1 -1
- package/dist/martyrs/src/components/Select/Select.vue.js +2 -2
- package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -1
- package/dist/martyrs/src/components/Status/Snack.vue.js +1 -1
- package/dist/martyrs/src/components/Status/Snack.vue.js.map +1 -1
- package/dist/martyrs/src/components/Status/Status.vue.js +1 -1
- package/dist/martyrs/src/components/Status/Status.vue.js.map +1 -1
- package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Table/Table.vue.js +21 -4
- package/dist/martyrs/src/components/Table/Table.vue.js.map +1 -1
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.js → Tooltip.vue.js} +2 -2
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +1 -0
- package/dist/martyrs/src/components/Tree/Tree.vue.js +1 -1
- package/dist/martyrs/src/components/Upload/Upload.vue2.js +2 -2
- package/dist/martyrs/src/components/Upload/Upload.vue2.js.map +1 -1
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +3 -3
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js.map +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +2 -2
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/auth.client.js +14 -2
- package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +4 -4
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/SidebarUserCard.vue.js +96 -0
- package/dist/martyrs/src/modules/auth/views/components/blocks/SidebarUserCard.vue.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/BackofficeUsers.vue.js +337 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/BackofficeUsers.vue.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +33 -19
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +76 -40
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js +6 -5
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js.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.js +6 -4
- 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.js +4 -4
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +28 -16
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.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/SliderFeatures.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.js +6 -2
- package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.backoffice.router.js +53 -0
- package/dist/martyrs/src/modules/auth/views/router/users.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/store/auth.js +3 -3
- package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +179 -253
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +105 -44
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +11 -5
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
- package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
- package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/community.client.js +4 -4
- package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.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/BlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/core.client.js +18 -16
- package/dist/martyrs/src/modules/core/core.client.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.js +25 -6
- package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/module.manager.js +4 -2
- package/dist/martyrs/src/modules/core/views/classes/module.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSlider.vue.js +132 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSlider.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +3 -3
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +6 -28
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -1
- package/dist/martyrs/src/modules/{auth → core}/views/components/blocks/CardUser.vue.js +29 -11
- package/dist/martyrs/src/modules/{auth → core}/views/components/blocks/CardUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +42 -27
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/elements/OnlineIndicator.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +4 -3
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +4 -4
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue.js → Filters.vue2.js} +5 -5
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +3 -3
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js +7 -7
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js +14 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js +8 -5
- package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/store/core.store.js +5 -1
- package/dist/martyrs/src/modules/core/views/store/core.store.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +3 -0
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/events.client.js +4 -4
- package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/router/gallery.router.js +3 -3
- package/dist/martyrs/src/modules/gallery/router/gallery.router.js.map +1 -1
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +5 -5
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +6 -6
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +4 -4
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +5 -5
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +5 -5
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -1
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +1 -1
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js +2 -2
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js +3 -3
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -1
- package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/entities/IconApplications.vue.js +32 -0
- package/dist/martyrs/src/modules/icons/entities/IconApplications.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconCustomers.vue.js +32 -0
- package/dist/martyrs/src/modules/icons/entities/IconCustomers.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconUsers.vue.js +32 -0
- package/dist/martyrs/src/modules/icons/entities/IconUsers.vue.js.map +1 -0
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +290 -173
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/inventory.client.js +4 -4
- package/dist/martyrs/src/modules/inventory/inventory.client.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/router/inventory.router.js +15 -0
- package/dist/martyrs/src/modules/inventory/router/inventory.router.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js +4 -4
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js +3 -3
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +2 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js.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/SectionMobileApp.vue.js +2 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.js +2 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.js.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/pages/Marketplace.vue.js +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +4 -4
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +6 -6
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +5 -5
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +6 -6
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +12 -12
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +12 -12
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +163 -69
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +183 -19
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/router/notifications.backoffice.router.js +21 -0
- package/dist/martyrs/src/modules/notifications/router/notifications.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js +13 -42
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/store/notifications.store.js +67 -2
- package/dist/martyrs/src/modules/notifications/store/notifications.store.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +9 -7
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +11 -9
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.js +9 -9
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js +66 -19
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +29 -27
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +7 -12
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.js +4 -4
- package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +46 -25
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +54 -38
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +454 -139
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +2 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +141 -68
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +38 -32
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +4 -4
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +167 -95
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/orders.client.js +22 -20
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/orders.js +3 -5
- package/dist/martyrs/src/modules/orders/store/orders.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.js +6 -6
- package/dist/martyrs/src/modules/orders/store/shopcart.js.map +1 -1
- package/dist/martyrs/src/modules/orders/utils/rent-price.js +60 -0
- package/dist/martyrs/src/modules/orders/utils/rent-price.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +45 -55
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/EmptyState.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Rating.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +8 -8
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +216 -83
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +38 -28
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +3 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +20 -18
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.js +39 -33
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +81 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js +2 -2
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +9 -25
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +34 -17
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +98 -98
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +22 -9
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/router/categories.router.js +2 -2
- package/dist/martyrs/src/modules/products/router/categories.router.js.map +1 -1
- package/dist/martyrs/src/modules/products/router/products.router.js +17 -3
- package/dist/martyrs/src/modules/products/router/products.router.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.js +11 -10
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.js +197 -81
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.js +2 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +3 -3
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +685 -80
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +68 -18
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js +3 -3
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/store/rents.store.js +1 -1
- package/dist/martyrs/src/modules/rents/views/store/rents.store.js.map +1 -1
- package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.js +3 -3
- package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
- package/dist/martyrs/src/modules/reports/router/reports.router.js +1 -1
- package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +5 -5
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js.map +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.js +3 -3
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +10 -8
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +29 -37
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +8 -8
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/router/spots.router.js +3 -3
- package/dist/martyrs/src/modules/spots/router/spots.router.js.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +3 -3
- package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -1
- package/dist/martyrs.es10.js +59 -57
- package/dist/martyrs.es101.js +39 -0
- package/dist/martyrs.es102.js +24 -32
- package/dist/martyrs.es104.js +27 -0
- package/dist/martyrs.es105.js +6 -25
- package/dist/martyrs.es106.js +6 -5
- package/dist/martyrs.es107.js +76 -6
- package/dist/martyrs.es108.js +5 -77
- package/dist/martyrs.es109.js +119 -5
- package/dist/martyrs.es11.js +31 -30
- package/dist/martyrs.es112.js +2 -119
- package/dist/martyrs.es113.js +25 -0
- package/dist/martyrs.es114.js +7 -0
- package/dist/martyrs.es115.js +8 -2
- package/dist/martyrs.es116.js +166 -22
- package/dist/martyrs.es117.js +457 -4
- package/dist/martyrs.es118.js +40 -8
- package/dist/martyrs.es119.js +9 -166
- package/dist/martyrs.es12.js +8 -9
- package/dist/martyrs.es120.js +43 -451
- package/dist/martyrs.es121.js +10 -38
- package/dist/martyrs.es122.js +44 -9
- package/dist/martyrs.es123.js +4 -49
- package/dist/martyrs.es124.js +127 -10
- package/dist/martyrs.es125.js +98 -42
- package/dist/martyrs.es126.js +86 -4
- package/dist/martyrs.es127.js +29 -120
- package/dist/martyrs.es128.js +10 -99
- package/dist/martyrs.es129.js +24 -71
- package/dist/martyrs.es13.js +22 -19
- package/dist/martyrs.es130.js +8 -37
- package/dist/martyrs.es131.js +115 -10
- package/dist/martyrs.es132.js +16 -38
- package/dist/martyrs.es133.js +15 -8
- package/dist/martyrs.es135.js +28 -112
- package/dist/martyrs.es136.js +9 -17
- package/dist/martyrs.es137.js +19 -14
- package/dist/martyrs.es138.js +8 -32
- package/dist/martyrs.es139.js +9 -9
- package/dist/martyrs.es14.js +2 -2
- package/dist/martyrs.es140.js +43 -19
- package/dist/martyrs.es141.js +480 -9
- package/dist/martyrs.es142.js +5 -8
- package/dist/martyrs.es143.js +2 -45
- package/dist/martyrs.es144.js +11 -480
- package/dist/martyrs.es145.js +30 -5
- package/dist/martyrs.es146.js +17 -2
- package/dist/martyrs.es147.js +19 -11
- package/dist/martyrs.es148.js +27 -29
- package/dist/martyrs.es149.js +20 -16
- package/dist/martyrs.es2.js +31 -30
- package/dist/martyrs.es22.js +16 -16
- package/dist/martyrs.es23.js +8 -8
- package/dist/martyrs.es24.js +9 -9
- package/dist/martyrs.es26.js +9 -11
- package/dist/martyrs.es27.js +9 -9
- package/dist/martyrs.es28.js +1 -1
- package/dist/martyrs.es29.js +5 -5
- package/dist/martyrs.es3.js +1 -1
- package/dist/martyrs.es38.js +1 -1
- package/dist/martyrs.es4.js +12 -12
- package/dist/martyrs.es41.js +34 -224
- package/dist/martyrs.es5.js +251 -238
- package/dist/martyrs.es54.js +2 -2
- package/dist/martyrs.es61.js +33 -26
- package/dist/martyrs.es71.js +2 -2
- package/dist/martyrs.es74.js +8 -8
- package/dist/martyrs.es75.js +1 -1
- package/dist/martyrs.es76.js +18 -18
- package/dist/martyrs.es77.js +1 -1
- package/dist/martyrs.es78.js +1 -1
- package/dist/martyrs.es8.js +31 -31
- package/dist/martyrs.es91.js +1 -1
- package/dist/martyrs.es92.js +33 -5
- package/dist/martyrs.es94.js +41 -0
- package/dist/martyrs.es95.js +46 -28
- package/dist/martyrs.es96.js +116 -52
- package/dist/martyrs.es97.js +33 -113
- package/dist/martyrs.es98.js +76 -33
- package/dist/martyrs.es99.js +24 -77
- package/dist/music.server.js +3 -3
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js +1 -1
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@2.0.2/node_modules/@googlemaps/js-api-loader/dist/index.js +90 -0
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@2.0.2/node_modules/@googlemaps/js-api-loader/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.js +1 -1
- package/dist/notifications.server.js +255 -23
- package/dist/orders.server.js +674 -136
- package/dist/organizations.server.js +11 -6
- package/dist/products.server.js +68 -7
- package/dist/{queryProcessor-C_5Iipam.js → queryProcessor-B2FCngFP.js} +3 -2
- package/dist/rents.server.js +183 -7
- package/dist/{socials.schema-DxnnaBgO.js → socials.schema-C3RjkqJv.js} +4 -0
- package/dist/spots.server.js +1 -1
- package/dist/style.css +292 -204
- package/dist/{tickets.controller-DdF85W-i.js → tickets.controller-Dpzf4kQx.js} +1 -1
- package/dist/wallet.server.js +2 -2
- package/package.json +5 -3
- package/src/builder/modes/ssr.rspack.dev.js +2 -0
- package/src/builder/rspack/rspack.config.ssr.client.js +58 -1
- package/src/builder/ssr/asset-resolver.js +1 -1
- package/src/builder/templates/page.js +2 -0
- package/src/components/Address/Address.vue +16 -16
- package/src/components/Button/Button.vue +0 -1
- package/src/components/ButtonSegmented/ButtonSegmented.vue +1 -1
- package/src/components/Calendar/Calendar.vue +141 -118
- package/src/components/Chart/Chart.vue +216 -0
- package/src/components/Checkbox/Checkbox.vue +1 -1
- package/src/components/Chips/Chips.vue +4 -5
- package/src/components/Countdown/Countdown.vue +5 -5
- package/src/components/DatePicker/DatePicker.vue +2 -2
- package/src/components/EditImages/EditImages.vue +3 -3
- package/src/components/EmptyState/EmptyState.vue +1 -1
- package/src/components/Feed/Feed.vue +5 -0
- package/src/components/Field/Field.vue +3 -3
- package/src/components/FieldDate/FieldDate.vue +2 -2
- package/src/components/LocationMarker/LocationMarker.vue +28 -21
- package/src/components/Map/Map.vue +20 -15
- package/src/components/Popup/Popup.vue +3 -3
- package/src/components/Radio/Radio.vue +2 -2
- package/src/components/Select/Select.vue +1 -1
- package/src/components/Status/Snack.vue +1 -1
- package/src/components/Status/Status.vue +1 -1
- package/src/components/Table/Table.vue +16 -1
- package/src/components/Upload/Upload.vue +1 -1
- package/src/components/UploadImage/UploadImage.vue +1 -1
- package/src/components/UploadImageMultiple/UploadImageMultiple.vue +1 -1
- package/src/jit/rules.js +4 -0
- package/src/modules/TASKS.MD +16 -3
- package/src/modules/auth/auth.client.js +18 -3
- package/src/modules/auth/controllers/routes/users.routes.js +18 -0
- package/src/modules/auth/controllers/services/auth.service.js +3 -3
- package/src/modules/auth/controllers/services/users.service.js +34 -5
- package/src/modules/auth/views/components/blocks/OtpDialog.vue +4 -4
- package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/auth/views/components/blocks/SidebarUserCard.vue +95 -0
- package/src/modules/auth/views/components/pages/BackofficeUsers.vue +337 -0
- package/src/modules/auth/views/components/pages/Invite.vue +1 -1
- package/src/modules/auth/views/components/pages/Profile.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileEdit.vue +23 -14
- package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +45 -26
- package/src/modules/auth/views/components/pages/ProfileEditSidebar.vue +8 -7
- package/src/modules/auth/views/components/pages/ResetPassword.vue +4 -4
- package/src/modules/auth/views/components/pages/SignUp.vue +3 -3
- package/src/modules/auth/views/components/pages/UserDashboard.vue +8 -5
- package/src/modules/auth/views/components/sections/FeaturedUsers.vue +1 -1
- package/src/modules/auth/views/components/sections/SliderFeatures.vue +1 -1
- package/src/modules/auth/views/middlewares/auth.validation.js +7 -2
- package/src/modules/auth/views/router/users.backoffice.router.js +39 -0
- package/src/modules/auth/views/store/auth.js +2 -2
- package/src/modules/backoffice/components/admin/Backcalls.vue +2 -2
- package/src/modules/backoffice/components/admin/Dashboard.sublime-workspace +1 -1
- package/src/modules/backoffice/components/admin/FastOrders.vue +3 -3
- package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +102 -139
- package/src/modules/backoffice/configs/navigation.backoffice.config.js +91 -29
- package/src/modules/backoffice/router/backoffice.router.js +7 -1
- package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
- package/src/modules/chats/components/sections/ChatWindow.vue +1 -1
- package/src/modules/community/community.client.js +4 -4
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/layouts/Community.vue +4 -4
- package/src/modules/community/components/sections/Comment.vue +1 -1
- package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
- package/src/modules/core/TASK.MD +2 -2
- package/src/modules/core/controllers/classes/abac/abac.core.js +1 -0
- package/src/modules/core/controllers/classes/core.websocket.js +0 -2
- package/src/modules/core/controllers/classes/crud/crud.core.js +6 -0
- package/src/modules/core/controllers/classes/crud/crud.service.js +6 -0
- package/src/modules/core/controllers/utils/mailing.js +35 -26
- package/src/modules/core/controllers/utils/queryProcessor.js +4 -2
- package/src/modules/core/core.client.js +1 -0
- package/src/modules/core/models/schemas/embedding.schema.js +8 -0
- package/src/modules/core/models/schemas/socials.schema.js +4 -0
- package/src/modules/core/sw.js +448 -0
- package/src/modules/core/views/classes/core.app.js +37 -13
- package/src/modules/core/views/classes/module.manager.js +3 -1
- package/src/modules/core/views/components/blocks/AlertDialog.vue +1 -1
- package/src/modules/core/views/components/blocks/BlockSearch.vue +1 -1
- package/src/modules/core/views/components/blocks/BlockSlider.vue +96 -0
- package/src/modules/core/views/components/blocks/CardHeader.vue +2 -2
- package/src/modules/core/views/components/blocks/CardStat.vue +4 -18
- package/src/modules/{auth → core}/views/components/blocks/CardUser.vue +45 -20
- package/src/modules/core/views/components/blocks/HelpCard.vue +1 -1
- package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/core/views/components/blocks/PopupDateSelector.vue +41 -24
- package/src/modules/core/views/components/layouts/Client.vue +1 -1
- package/src/modules/core/views/components/pages/404.vue +5 -5
- package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
- package/src/modules/core/views/components/partials/CitySelection.vue +2 -2
- package/src/modules/core/views/components/partials/Footer.centered.vue +2 -2
- package/src/modules/core/views/components/partials/Footer.vue +2 -2
- package/src/modules/core/views/components/partials/Header.vue +3 -3
- package/src/modules/core/views/components/partials/LocationSelection.vue +1 -1
- package/src/modules/core/views/components/partials/Navigation.vue +1 -1
- package/src/modules/core/views/components/sections/Filters.vue +2 -2
- package/src/modules/core/views/components/sections/SectionPageTitle.vue +2 -2
- package/src/modules/core/views/components/sections/Walkthrough.vue +6 -6
- package/src/modules/core/views/mixins/mixins.js +17 -0
- package/src/modules/core/views/plugins/date-picker.plugin.js +8 -5
- package/src/modules/core/views/store/core.store.js +5 -0
- package/src/modules/core/views/utils/vue-app-renderer.js +5 -0
- package/src/modules/events/components/pages/EditEventTickets.vue +9 -9
- package/src/modules/events/components/pages/Event.vue +2 -2
- package/src/modules/events/components/sections/EditTickets.vue +1 -1
- package/src/modules/events/components/sections/SelectDate.vue +1 -1
- package/src/modules/events/events.client.js +4 -4
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +1 -1
- package/src/modules/gallery/router/gallery.router.js +3 -3
- package/src/modules/governance/middlewares/sprints.verifier.js +3 -3
- package/src/modules/governance/middlewares/tasks.verifier.js +3 -3
- package/src/modules/governance/models/sprint.model.js +1 -1
- package/src/modules/governance/models/task.model.js +1 -1
- package/src/modules/governance/reactcode/src/components/TaskStatusBadge.tsx +1 -1
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +3 -3
- package/src/modules/governance/views/components/blocks/CardSprintItem.vue +4 -4
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +2 -2
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +3 -3
- package/src/modules/governance/views/components/pages/Initiatives.vue +3 -3
- package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
- package/src/modules/governance/views/components/sections/FormSprintDetails.vue +1 -1
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +1 -1
- package/src/modules/governance/views/router/governance.router.js +3 -3
- package/src/modules/icons/components/IconSearchPopup.vue +1 -1
- package/src/modules/icons/entities/IconApplications.vue +14 -0
- package/src/modules/icons/entities/IconCustomers.vue +14 -0
- package/src/modules/icons/entities/IconUsers.vue +14 -0
- package/src/modules/inventory/components/forms/AdjustmentForm.vue +2 -2
- package/src/modules/inventory/components/forms/ColumnSettingsMenu.vue +2 -2
- package/src/modules/inventory/components/forms/HistoryView.vue +1 -1
- package/src/modules/inventory/components/forms/StockAlertsForm.vue +3 -3
- package/src/modules/inventory/components/pages/Inventory.vue +278 -159
- package/src/modules/inventory/components/pages/InventoryEdit.vue +2 -2
- package/src/modules/inventory/inventory.client.js +4 -4
- package/src/modules/inventory/models/stock.audit.model.js +1 -1
- package/src/modules/inventory/router/inventory.router.js +12 -0
- package/src/modules/landing/components/sections/SectionEarn.vue +3 -3
- package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
- package/src/modules/landing/components/sections/SectionFeatures.vue +1 -1
- package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
- package/src/modules/landing/components/sections/SectionGuide.vue +2 -2
- package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
- package/src/modules/landing/components/sections/SectionHeroVideo.vue +1 -1
- package/src/modules/landing/components/sections/SectionMobileApp.vue +2 -2
- package/src/modules/landing/components/sections/SectionOverview.vue +1 -1
- package/src/modules/landing/components/sections/SectionRoadmap.vue +1 -1
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
- package/src/modules/marketplace/views/components/sections/SectionMenu.vue +2 -2
- package/src/modules/music/components/SidebarMusic.vue +1 -1
- package/src/modules/music/components/cards/AlbumCard.vue +1 -1
- package/src/modules/music/components/cards/ArtistCard.vue +1 -1
- package/src/modules/music/components/cards/ArtistCardSmall.vue +1 -1
- package/src/modules/music/components/cards/PlaylistCard.vue +1 -1
- package/src/modules/music/components/cards/TrackListCard.vue +6 -6
- package/src/modules/music/components/forms/AlbumForm.vue +2 -2
- package/src/modules/music/components/forms/ArtistForm.vue +1 -1
- package/src/modules/music/components/forms/PlaylistForm.vue +5 -5
- package/src/modules/music/components/forms/TrackForm.vue +3 -3
- package/src/modules/music/components/pages/Album.vue +8 -8
- package/src/modules/music/components/pages/Artist.vue +5 -5
- package/src/modules/music/components/pages/Playlist.vue +11 -11
- package/src/modules/music/components/pages/SearchResults.vue +2 -2
- package/src/modules/music/components/pages/Track.vue +11 -11
- package/src/modules/music/components/player/FullscreenPlayer.vue +3 -3
- package/src/modules/music/components/player/TrackProgress.vue +1 -1
- package/src/modules/notifications/components/sections/NotificationPreferences.vue +182 -52
- package/src/modules/notifications/controllers/notifications.controller.js +242 -17
- package/src/modules/notifications/models/notification-preference.model.js +4 -0
- package/src/modules/notifications/notifications.client.js +213 -20
- package/src/modules/notifications/router/notifications.backoffice.router.js +16 -0
- package/src/modules/notifications/router/notifications.router.js +13 -45
- package/src/modules/notifications/routes/notifications.routes.js +9 -0
- package/src/modules/notifications/services/notification.service.js +33 -9
- package/src/modules/notifications/services/telegram.service.js +2 -2
- package/src/modules/notifications/services/web-push.service.js +6 -2
- package/src/modules/notifications/store/notifications.store.js +69 -0
- package/src/modules/orders/components/blocks/CardApplication.vue +9 -6
- package/src/modules/orders/components/blocks/CardCustomer.vue +10 -7
- package/src/modules/orders/components/blocks/CardOrder.vue +8 -8
- package/src/modules/orders/components/blocks/CardOrderBackoffice.vue +58 -12
- package/src/modules/orders/components/blocks/CardOrderItem.vue +31 -28
- package/src/modules/orders/components/blocks/CardOrderUser.vue +7 -12
- package/src/modules/orders/components/blocks/CardOrderVar1.vue +3 -3
- package/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue +1 -1
- package/src/modules/orders/components/elements/PriceTotal.vue +4 -4
- package/src/modules/orders/components/forms/FormApplicationDetails.vue +1 -1
- package/src/modules/orders/components/forms/FormSelectCustomer.vue +48 -25
- package/src/modules/orders/components/pages/Applications.vue +2 -2
- package/src/modules/orders/components/pages/Customers.vue +35 -23
- package/src/modules/orders/components/pages/OrderBackoffice.vue +780 -393
- package/src/modules/orders/components/pages/OrderCreate.vue +5 -4
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +112 -42
- package/src/modules/orders/components/pages/Orders.vue +20 -19
- package/src/modules/orders/components/pages/Orders_refact.vue +3 -3
- package/src/modules/orders/components/partials/ShopCart.vue +1 -1
- package/src/modules/orders/components/sections/ApplicationDetails.vue +2 -2
- package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
- package/src/modules/orders/components/sections/CustomerDetails.vue +130 -64
- package/src/modules/orders/controllers/orders.controller.js +463 -134
- package/src/modules/orders/middlewares/applications.verifier.js +3 -3
- package/src/modules/orders/middlewares/customers.verifier.js +4 -0
- package/src/modules/orders/middlewares/orders.verifier.js +187 -0
- package/src/modules/orders/models/customer.model.js +2 -0
- package/src/modules/orders/models/order.model.js +20 -2
- package/src/modules/orders/orders.client.js +21 -19
- package/src/modules/orders/routes/applications.routes.js +13 -3
- package/src/modules/orders/routes/customers.routes.js +2 -0
- package/src/modules/orders/routes/orders.routes.js +46 -4
- package/src/modules/orders/store/orders.js +4 -7
- package/src/modules/orders/store/shopcart.js +6 -7
- package/src/modules/orders/utils/rent-price.js +90 -0
- package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +30 -33
- package/src/modules/organizations/components/blocks/EmptyState.vue +1 -1
- package/src/modules/organizations/components/blocks/Rating.vue +1 -1
- package/src/modules/organizations/components/blocks/Socials.vue +2 -2
- package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
- package/src/modules/organizations/components/forms/AddExistingMembersForm.vue +3 -3
- package/src/modules/organizations/components/forms/DepartmentForm.vue +1 -1
- package/src/modules/organizations/components/forms/InviteForm.vue +1 -1
- package/src/modules/organizations/components/pages/Department.vue +2 -2
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +1 -1
- package/src/modules/organizations/components/pages/Members.vue +8 -8
- package/src/modules/organizations/components/pages/Organization.vue +232 -124
- package/src/modules/organizations/components/pages/OrganizationCreate.vue +3 -3
- package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +15 -6
- package/src/modules/organizations/components/pages/Organizations.vue +3 -2
- package/src/modules/organizations/components/sections/Documents.vue +1 -1
- package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
- package/src/modules/organizations/configs/navigation.organization.config.js +34 -26
- package/src/modules/organizations/controllers/organizations.controller.js +8 -3
- package/src/modules/organizations/models/organization.model.js +1 -0
- package/src/modules/organizations/organizations.client.js +39 -33
- package/src/modules/organizations/router/organizations.backoffice.router.js +67 -0
- package/src/modules/pages/views/components/pages/Pages.vue +1 -1
- package/src/modules/pages/views/router/pages.router.js +2 -2
- package/src/modules/products/components/blocks/CardPosition.vue +2 -2
- package/src/modules/products/components/blocks/CardProduct.vue +2 -2
- package/src/modules/products/components/blocks/ProductDiscounts.vue +1 -1
- package/src/modules/products/components/blocks/ProductImages.vue +1 -1
- package/src/modules/products/components/blocks/ProductVariants.vue +3 -3
- package/src/modules/products/components/elements/Price.vue +2 -2
- package/src/modules/products/components/forms/ColumnSettingsMenu.vue +2 -2
- package/src/modules/products/components/forms/ReorderSettingsForm.vue +3 -3
- package/src/modules/products/components/forms/StockAuditForm.vue +2 -2
- package/src/modules/products/components/forms/StockHistoryView.vue +1 -1
- package/src/modules/products/components/pages/Categories.vue +9 -20
- package/src/modules/products/components/pages/ProductEdit.vue +19 -3
- package/src/modules/products/components/pages/Products.vue +20 -19
- package/src/modules/products/components/sections/EditAttributes.vue +1 -1
- package/src/modules/products/components/sections/EditCategories.vue +1 -1
- package/src/modules/products/components/sections/EditDiscounts.vue +2 -2
- package/src/modules/products/components/sections/EditVariants.vue +14 -2
- package/src/modules/products/components/sections/FilterProducts.vue +1 -1
- package/src/modules/products/components/sections/ProductConfigurator.vue +1 -1
- package/src/modules/products/components/sections/SectionProduct.vue +3 -3
- package/src/modules/products/controllers/products.controller.js +50 -5
- package/src/modules/products/experiments/product-recommendation/components/HeroRecommendation.vue +2 -2
- package/src/modules/products/models/product.model.js +7 -0
- package/src/modules/products/models/variant.model.js +4 -0
- package/src/modules/products/router/categories.router.js +2 -2
- package/src/modules/products/router/products.router.js +14 -3
- package/src/modules/rents/controllers/routes/rents.routes.js +11 -0
- package/src/modules/rents/controllers/services/rents.services.js +193 -2
- package/src/modules/rents/models/rent.model.js +9 -0
- package/src/modules/rents/views/components/pages/Gant/GanttBar.vue +28 -11
- package/src/modules/rents/views/components/pages/Gant/GanttChart.vue +200 -40
- package/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue +2 -2
- package/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue +2 -2
- package/src/modules/rents/views/components/pages/Rents.vue +641 -142
- package/src/modules/rents/views/components/pages/RentsEdit.vue +44 -4
- package/src/modules/rents/views/router/rents.router.js +3 -3
- package/src/modules/rents/views/store/rents.store.js +1 -1
- package/src/modules/reports/components/pages/BackofficeReports.vue +3 -3
- package/src/modules/reports/router/reports.router.js +1 -1
- package/src/modules/spots/components/blocks/CardSpot.vue +6 -6
- package/src/modules/spots/components/pages/Spot.vue +2 -2
- package/src/modules/spots/components/pages/SpotEdit.vue +8 -6
- package/src/modules/spots/components/pages/Spots.vue +18 -24
- package/src/modules/spots/components/sections/WorktimeEdit.vue +7 -7
- package/src/modules/spots/router/spots.router.js +3 -3
- package/src/modules/wallet/views/components/blocks/CashDeposit.vue +1 -1
- package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
- package/src/modules/wallet/views/components/pages/Payments.vue +1 -1
- package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
- package/src/modules/wallet/views/router/wallet.router.js +1 -1
- package/src/styles/layout.scss +1 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js +0 -8
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js +0 -73
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +0 -70
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +0 -1
- package/dist/martyrs.es100.js +0 -33
- package/dist/martyrs.es103.js +0 -31
- package/dist/martyrs.es110.js +0 -54
- package/dist/martyrs.es111.js +0 -327
- package/dist/martyrs.es150.js +0 -22
- package/dist/martyrs.es151.js +0 -31
- package/dist/martyrs.es152.js +0 -23
- package/dist/martyrs.es93.js +0 -35
- package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
- package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.js +0 -336
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js.map +0 -1
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { ref, computed, watchEffect, createElementBlock, openBlock, createElementVNode, createVNode,
|
|
1
|
+
import { ref, computed, watchEffect, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withCtx, toDisplayString, unref, createTextVNode, normalizeClass, Fragment, renderList } from "vue";
|
|
2
2
|
import { useRoute } from "vue-router";
|
|
3
|
-
import _sfc_main$
|
|
4
|
-
import _sfc_main$
|
|
3
|
+
import _sfc_main$3 from "../../../../components/Block/Block.vue.js";
|
|
4
|
+
import _sfc_main$5 from "../../../../components/Chart/Chart.vue.js";
|
|
5
|
+
import _sfc_main$6 from "../../../../components/Feed/Feed.vue.js";
|
|
5
6
|
import Table from "../../../../components/Table/Table.vue.js";
|
|
6
7
|
import _sfc_main$1 from "../../../../components/Dropdown/Dropdown.vue.js";
|
|
7
8
|
import Calendar from "../../../../components/Calendar/Calendar.vue2.js";
|
|
8
|
-
import _sfc_main$
|
|
9
|
-
import _sfc_main$
|
|
10
|
-
import _sfc_main$
|
|
11
|
-
import _sfc_main$
|
|
12
|
-
import _sfc_main$
|
|
13
|
-
import _sfc_main$
|
|
14
|
-
import _sfc_main$a from "../../../icons/entities/IconEvents.vue.js";
|
|
15
|
-
import _sfc_main$b from "../../../icons/entities/IconFile.vue.js";
|
|
9
|
+
import _sfc_main$7 from "../../../core/views/components/blocks/Card.vue.js";
|
|
10
|
+
import _sfc_main$4 from "../../../core/views/components/blocks/CardStat.vue.js";
|
|
11
|
+
import _sfc_main$b from "../../../products/components/blocks/CardProduct.vue.js";
|
|
12
|
+
import _sfc_main$a from "../../../icons/entities/IconProfile.vue.js";
|
|
13
|
+
import _sfc_main$8 from "../../../icons/entities/IconEvents.vue.js";
|
|
14
|
+
import _sfc_main$9 from "../../../icons/entities/IconFile.vue.js";
|
|
16
15
|
import _sfc_main$2 from "../../../icons/entities/IconCalendar.vue.js";
|
|
17
16
|
import { useGlobalMixins } from "../../../core/views/mixins/mixins.js";
|
|
18
17
|
import $axios from "../../../core/views/utils/axios-instance.js";
|
|
@@ -26,56 +25,57 @@ const _hoisted_1 = { class: "pd-medium" };
|
|
|
26
25
|
const _hoisted_2 = { class: "flex flex-v-center flex-justify-between mn-b-medium" };
|
|
27
26
|
const _hoisted_3 = { class: "flex flex-v-center gap-thin bg-light pd-thin pd-l-small pd-r-small radius-small cursor-pointer" };
|
|
28
27
|
const _hoisted_4 = { class: "t-small fw-medium" };
|
|
29
|
-
const _hoisted_5 = { class: "
|
|
28
|
+
const _hoisted_5 = { class: "flex gap-micro mobile:flex-column" };
|
|
30
29
|
const _hoisted_6 = {
|
|
31
|
-
viewBox: "0 0 500 200",
|
|
32
|
-
class: "w-100 d-block"
|
|
33
|
-
};
|
|
34
|
-
const _hoisted_7 = ["y1", "y2"];
|
|
35
|
-
const _hoisted_8 = ["y"];
|
|
36
|
-
const _hoisted_9 = ["points"];
|
|
37
|
-
const _hoisted_10 = ["points"];
|
|
38
|
-
const _hoisted_11 = ["cx", "cy", "onMouseenter"];
|
|
39
|
-
const _hoisted_12 = ["cx", "cy", "r", "fill"];
|
|
40
|
-
const _hoisted_13 = ["x"];
|
|
41
|
-
const _hoisted_14 = {
|
|
42
30
|
key: 1,
|
|
43
|
-
class: "
|
|
31
|
+
class: "mn-b-medium cols-2 mobile:cols-1 gap-small"
|
|
32
|
+
};
|
|
33
|
+
const _hoisted_7 = { class: "t-dark fw-medium" };
|
|
34
|
+
const _hoisted_8 = { class: "t-dark" };
|
|
35
|
+
const _hoisted_9 = { class: "t-dark t-small" };
|
|
36
|
+
const _hoisted_10 = {
|
|
37
|
+
key: 2,
|
|
38
|
+
class: "mn-b-medium cols-2 mobile:cols-1 gap-small"
|
|
44
39
|
};
|
|
45
|
-
const
|
|
46
|
-
const _hoisted_16 = { class: "t-dark fw-medium" };
|
|
47
|
-
const _hoisted_17 = { class: "t-dark" };
|
|
48
|
-
const _hoisted_18 = { class: "t-dark t-small" };
|
|
49
|
-
const _hoisted_19 = { class: "mn-b-medium cols-2 mobile:cols-1 gap-small" };
|
|
50
|
-
const _hoisted_20 = {
|
|
40
|
+
const _hoisted_11 = {
|
|
51
41
|
key: 0,
|
|
52
42
|
class: "cols-5 tablet:cols-3 mobile:cols-2 gap-small"
|
|
53
43
|
};
|
|
54
|
-
const
|
|
55
|
-
const
|
|
44
|
+
const _hoisted_12 = { class: "t-dark t-small mn-t-thin" };
|
|
45
|
+
const _hoisted_13 = {
|
|
56
46
|
key: 1,
|
|
57
|
-
class: "
|
|
47
|
+
class: "opacity-50"
|
|
48
|
+
};
|
|
49
|
+
const _hoisted_14 = {
|
|
50
|
+
key: 4,
|
|
51
|
+
class: "mn-b-medium cols-2 mobile:cols-1 gap-small"
|
|
58
52
|
};
|
|
59
|
-
const _hoisted_23 = { class: "mn-b-medium cols-2 mobile:cols-1 gap-small" };
|
|
60
|
-
const CHART_LEFT = 50;
|
|
61
|
-
const CHART_RIGHT = 490;
|
|
62
|
-
const CHART_TOP = 20;
|
|
63
|
-
const CHART_BOTTOM = 170;
|
|
64
53
|
const _sfc_main = {
|
|
65
54
|
__name: "Dashboard",
|
|
66
55
|
setup(__props) {
|
|
67
56
|
useRoute();
|
|
68
|
-
const { formatDate } = useGlobalMixins();
|
|
57
|
+
const { formatDate, isModuleInstalled } = useGlobalMixins();
|
|
69
58
|
const orderStats = ref({});
|
|
70
59
|
const userStats = ref({});
|
|
71
|
-
const
|
|
60
|
+
const now = /* @__PURE__ */ new Date();
|
|
61
|
+
const todayUTC = new Date(Date.UTC(now.getFullYear(), now.getMonth(), now.getDate()));
|
|
62
|
+
const weekAgoUTC = new Date(Date.UTC(now.getFullYear(), now.getMonth(), now.getDate() - 6));
|
|
72
63
|
const dateRange = ref({
|
|
73
|
-
start:
|
|
74
|
-
end:
|
|
64
|
+
start: weekAgoUTC.toISOString(),
|
|
65
|
+
end: new Date(Date.UTC(now.getFullYear(), now.getMonth(), now.getDate(), 23, 59, 59)).toISOString()
|
|
75
66
|
});
|
|
67
|
+
function toDate(v) {
|
|
68
|
+
if (v instanceof Date) return v;
|
|
69
|
+
return new Date(v);
|
|
70
|
+
}
|
|
76
71
|
const dateRangeLabel = computed(() => {
|
|
77
|
-
if (!dateRange.value?.start || !dateRange.value?.end) return "
|
|
78
|
-
|
|
72
|
+
if (!dateRange.value?.start || !dateRange.value?.end) return "All time";
|
|
73
|
+
const s = toDate(dateRange.value.start);
|
|
74
|
+
const e = toDate(dateRange.value.end);
|
|
75
|
+
const sKey = toDateStr(s);
|
|
76
|
+
const eKey = toDateStr(e);
|
|
77
|
+
if (sKey === eKey) return formatDate(sKey, { dayMonth: true });
|
|
78
|
+
return formatDate(sKey, { dayMonth: true }) + " — " + formatDate(eKey, { dayMonth: true });
|
|
79
79
|
});
|
|
80
80
|
const orderColumns = [
|
|
81
81
|
{ key: "_id", label: "Order" },
|
|
@@ -83,65 +83,35 @@ const _sfc_main = {
|
|
|
83
83
|
{ key: "status", label: "Status" },
|
|
84
84
|
{ key: "createdAt", label: "Date" }
|
|
85
85
|
];
|
|
86
|
-
function chartX(i, total) {
|
|
87
|
-
if (total <= 1) return (CHART_LEFT + CHART_RIGHT) / 2;
|
|
88
|
-
return CHART_LEFT + i / (total - 1) * (CHART_RIGHT - CHART_LEFT);
|
|
89
|
-
}
|
|
90
|
-
function chartY(value, max) {
|
|
91
|
-
if (!max) return CHART_BOTTOM;
|
|
92
|
-
return CHART_BOTTOM - value / max * (CHART_BOTTOM - CHART_TOP);
|
|
93
|
-
}
|
|
94
|
-
function calcTicks(max) {
|
|
95
|
-
if (!max || max <= 0) return [0];
|
|
96
|
-
const step = Math.pow(10, Math.floor(Math.log10(max))) / 2;
|
|
97
|
-
const ticks = [];
|
|
98
|
-
for (let v = 0; v <= max; v += step) ticks.push(Math.round(v));
|
|
99
|
-
if (ticks[ticks.length - 1] < max) ticks.push(Math.round(max));
|
|
100
|
-
return ticks.length > 6 ? ticks.filter((_, i) => i % 2 === 0) : ticks;
|
|
101
|
-
}
|
|
102
86
|
function formatChartValue(val) {
|
|
103
87
|
if (val >= 1e3) return "฿" + Math.round(val / 1e3) + "k";
|
|
104
88
|
return "฿" + Math.round(val);
|
|
105
89
|
}
|
|
106
|
-
function
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
90
|
+
function toDateStr(d) {
|
|
91
|
+
return `${d.getUTCFullYear()}-${String(d.getUTCMonth() + 1).padStart(2, "0")}-${String(d.getUTCDate()).padStart(2, "0")}`;
|
|
92
|
+
}
|
|
93
|
+
function fillDays(revenueMap, startDate, endDate) {
|
|
94
|
+
const result = [];
|
|
95
|
+
const s = new Date(Date.UTC(startDate.getUTCFullYear(), startDate.getUTCMonth(), startDate.getUTCDate()));
|
|
96
|
+
const e = new Date(Date.UTC(endDate.getUTCFullYear(), endDate.getUTCMonth(), endDate.getUTCDate()));
|
|
97
|
+
while (s <= e && result.length < 3650) {
|
|
98
|
+
const key = toDateStr(s);
|
|
99
|
+
result.push({ _id: key, revenue: revenueMap[key] || 0 });
|
|
100
|
+
s.setUTCDate(s.getUTCDate() + 1);
|
|
101
|
+
}
|
|
102
|
+
return result;
|
|
111
103
|
}
|
|
112
104
|
const revenueChart = computed(() => {
|
|
113
|
-
const
|
|
114
|
-
if (!
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
const revenueLinePoints = computed(() => {
|
|
124
|
-
return revenueChart.value.map(
|
|
125
|
-
(d, i) => `${chartX(i, revenueChart.value.length)},${chartY(d.revenue, maxRevenue.value)}`
|
|
126
|
-
).join(" ");
|
|
127
|
-
});
|
|
128
|
-
const revenueAreaPoints = computed(() => {
|
|
129
|
-
if (!revenueChart.value.length) return "";
|
|
130
|
-
const len = revenueChart.value.length;
|
|
131
|
-
return `${chartX(0, len)},${CHART_BOTTOM} ${revenueLinePoints.value} ${chartX(len - 1, len)},${CHART_BOTTOM}`;
|
|
132
|
-
});
|
|
133
|
-
const revenueTooltipStyle = computed(() => {
|
|
134
|
-
if (hoveredRevenueIdx.value < 0) return {};
|
|
135
|
-
const i = hoveredRevenueIdx.value;
|
|
136
|
-
const len = revenueChart.value.length;
|
|
137
|
-
const day = revenueChart.value[i];
|
|
138
|
-
const x = chartX(i, len);
|
|
139
|
-
const y = chartY(day.revenue, maxRevenue.value);
|
|
140
|
-
return {
|
|
141
|
-
left: `${x / 500 * 100}%`,
|
|
142
|
-
top: `${y / 200 * 100}%`,
|
|
143
|
-
transform: "translate(-50%, -100%) translateY(-0.5rem)"
|
|
144
|
-
};
|
|
105
|
+
const raw = orderStats.value.dailyRevenue;
|
|
106
|
+
if (!raw?.length) return [];
|
|
107
|
+
const revenueMap = {};
|
|
108
|
+
for (const d of raw) revenueMap[d._id] = d.revenue;
|
|
109
|
+
const start = dateRange.value?.start;
|
|
110
|
+
const end = dateRange.value?.end;
|
|
111
|
+
if (start && end) {
|
|
112
|
+
return fillDays(revenueMap, toDate(start), toDate(end));
|
|
113
|
+
}
|
|
114
|
+
return fillDays(revenueMap, new Date(Date.UTC(2022, 9, 17)), todayUTC);
|
|
145
115
|
});
|
|
146
116
|
function formatId(id) {
|
|
147
117
|
return id ? `${id.slice(0, 4)}...${id.slice(-4)}` : "";
|
|
@@ -157,18 +127,18 @@ const _sfc_main = {
|
|
|
157
127
|
created: "bg-main-transp t-main",
|
|
158
128
|
confirmed: "bg-green-transp t-green",
|
|
159
129
|
completed: "bg-green-transp t-green",
|
|
160
|
-
|
|
130
|
+
canceled: "bg-red-transp t-red"
|
|
161
131
|
};
|
|
162
132
|
return classes[status] || "bg-light t-dark";
|
|
163
133
|
}
|
|
164
134
|
function getEventStatus(date) {
|
|
165
135
|
if (!date?.start) return "No date";
|
|
166
|
-
const
|
|
136
|
+
const now2 = /* @__PURE__ */ new Date();
|
|
167
137
|
const start = new Date(date.start);
|
|
168
138
|
const end = date.end ? new Date(date.end) : start;
|
|
169
|
-
if (
|
|
170
|
-
if (
|
|
171
|
-
const diffDays = Math.ceil((start -
|
|
139
|
+
if (now2 > end) return "Finished";
|
|
140
|
+
if (now2 >= start && now2 <= end) return "Live";
|
|
141
|
+
const diffDays = Math.ceil((start - now2) / (1e3 * 60 * 60 * 24));
|
|
172
142
|
if (diffDays <= 1) return "Tomorrow";
|
|
173
143
|
if (diffDays <= 7) return `In ${diffDays} days`;
|
|
174
144
|
return "Upcoming";
|
|
@@ -184,17 +154,18 @@ const _sfc_main = {
|
|
|
184
154
|
const params = {};
|
|
185
155
|
if (dateRange.value?.start) params.startDate = new Date(dateRange.value.start).toISOString();
|
|
186
156
|
if (dateRange.value?.end) params.endDate = new Date(dateRange.value.end).toISOString();
|
|
187
|
-
const
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
157
|
+
const promises = [];
|
|
158
|
+
if (isModuleInstalled("orders")) promises.push($axios.get("/api/orders/stats", { params }));
|
|
159
|
+
if (isModuleInstalled("auth")) promises.push($axios.get("/api/users/stats", { params }));
|
|
160
|
+
const results = await Promise.all(promises);
|
|
161
|
+
let idx = 0;
|
|
162
|
+
if (isModuleInstalled("orders")) orderStats.value = results[idx++].data;
|
|
163
|
+
if (isModuleInstalled("auth")) userStats.value = results[idx++].data;
|
|
193
164
|
});
|
|
194
165
|
return (_ctx, _cache) => {
|
|
195
166
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
196
167
|
createElementVNode("div", _hoisted_2, [
|
|
197
|
-
_cache[
|
|
168
|
+
_cache[1] || (_cache[1] = createElementVNode("h2", null, "Overview", -1)),
|
|
198
169
|
createVNode(_sfc_main$1, {
|
|
199
170
|
align: "right",
|
|
200
171
|
class: "pos-relative z-index-3"
|
|
@@ -216,119 +187,63 @@ const _sfc_main = {
|
|
|
216
187
|
_: 1
|
|
217
188
|
})
|
|
218
189
|
]),
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
icon: _sfc_main$4,
|
|
222
|
-
title: "Active Users",
|
|
223
|
-
displayValue: userStats.value.active?.toLocaleString() || "—",
|
|
224
|
-
subtitle: userStats.value.newThisMonth ? `+${userStats.value.newThisMonth} this month` : ""
|
|
225
|
-
}, null, 8, ["displayValue", "subtitle"]),
|
|
226
|
-
createVNode(_sfc_main$3, {
|
|
227
|
-
icon: _sfc_main$5,
|
|
228
|
-
title: "Total Orders",
|
|
229
|
-
displayValue: orderStats.value.total?.orderCount?.toLocaleString() || "—",
|
|
230
|
-
subtitle: orderStats.value.monthly?.orderCount ? `+${orderStats.value.monthly.orderCount} this month` : ""
|
|
231
|
-
}, null, 8, ["displayValue", "subtitle"]),
|
|
232
|
-
createVNode(_sfc_main$3, {
|
|
233
|
-
icon: _sfc_main$6,
|
|
234
|
-
title: "Total Revenue",
|
|
235
|
-
displayValue: "฿" + (orderStats.value.total?.totalRevenue?.toLocaleString() || "0"),
|
|
236
|
-
subtitle: orderStats.value.monthly?.totalRevenue ? `+฿${orderStats.value.monthly.totalRevenue.toLocaleString()} this month` : ""
|
|
237
|
-
}, null, 8, ["displayValue", "subtitle"])
|
|
238
|
-
]),
|
|
239
|
-
createVNode(_sfc_main$7, {
|
|
240
|
-
title: "Revenue",
|
|
190
|
+
createVNode(_sfc_main$3, {
|
|
191
|
+
title: "Statistics",
|
|
241
192
|
class: "mn-b-medium"
|
|
242
193
|
}, {
|
|
243
194
|
default: withCtx(() => [
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
class: "pos-relative",
|
|
247
|
-
onMouseleave: _cache[1] || (_cache[1] = ($event) => hoveredRevenueIdx.value = -1)
|
|
248
|
-
}, [
|
|
249
|
-
(openBlock(), createElementBlock("svg", _hoisted_6, [
|
|
250
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(revenueTicks.value, (tick, i) => {
|
|
251
|
-
return openBlock(), createElementBlock("line", {
|
|
252
|
-
key: "rg" + i,
|
|
253
|
-
x1: "50",
|
|
254
|
-
x2: "490",
|
|
255
|
-
y1: chartY(tick, maxRevenue.value),
|
|
256
|
-
y2: chartY(tick, maxRevenue.value),
|
|
257
|
-
stroke: "rgb(var(--light))",
|
|
258
|
-
"stroke-width": "0.5"
|
|
259
|
-
}, null, 8, _hoisted_7);
|
|
260
|
-
}), 128)),
|
|
261
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(revenueTicks.value, (tick, i) => {
|
|
262
|
-
return openBlock(), createElementBlock("text", {
|
|
263
|
-
key: "ry" + i,
|
|
264
|
-
x: "46",
|
|
265
|
-
y: chartY(tick, maxRevenue.value) + 3,
|
|
266
|
-
"text-anchor": "end",
|
|
267
|
-
fill: "rgb(var(--grey))",
|
|
268
|
-
"font-size": "10"
|
|
269
|
-
}, toDisplayString(formatChartValue(tick)), 9, _hoisted_8);
|
|
270
|
-
}), 128)),
|
|
271
|
-
createElementVNode("polygon", {
|
|
272
|
-
points: revenueAreaPoints.value,
|
|
273
|
-
fill: "rgb(var(--second))",
|
|
274
|
-
"fill-opacity": "0.06"
|
|
275
|
-
}, null, 8, _hoisted_9),
|
|
276
|
-
createElementVNode("polyline", {
|
|
277
|
-
points: revenueLinePoints.value,
|
|
278
|
-
fill: "none",
|
|
279
|
-
stroke: "rgb(var(--second))",
|
|
280
|
-
"stroke-width": "2",
|
|
281
|
-
"stroke-linejoin": "round",
|
|
282
|
-
"stroke-linecap": "round"
|
|
283
|
-
}, null, 8, _hoisted_10),
|
|
284
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(revenueChart.value, (day, i) => {
|
|
285
|
-
return openBlock(), createElementBlock("circle", {
|
|
286
|
-
key: "rh" + i,
|
|
287
|
-
cx: chartX(i, revenueChart.value.length),
|
|
288
|
-
cy: chartY(day.revenue, maxRevenue.value),
|
|
289
|
-
r: "12",
|
|
290
|
-
fill: "transparent",
|
|
291
|
-
onMouseenter: ($event) => hoveredRevenueIdx.value = i
|
|
292
|
-
}, null, 40, _hoisted_11);
|
|
293
|
-
}), 128)),
|
|
294
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(revenueChart.value, (day, i) => {
|
|
295
|
-
return openBlock(), createElementBlock("circle", {
|
|
296
|
-
key: "rd" + i,
|
|
297
|
-
cx: chartX(i, revenueChart.value.length),
|
|
298
|
-
cy: chartY(day.revenue, maxRevenue.value),
|
|
299
|
-
r: hoveredRevenueIdx.value === i ? 4 : 2,
|
|
300
|
-
fill: hoveredRevenueIdx.value === i ? "rgb(var(--main))" : "rgb(var(--second))",
|
|
301
|
-
style: { "pointer-events": "none" }
|
|
302
|
-
}, null, 8, _hoisted_12);
|
|
303
|
-
}), 128)),
|
|
304
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(revenueChart.value, (day, i) => {
|
|
305
|
-
return openBlock(), createElementBlock(Fragment, {
|
|
306
|
-
key: "rx" + i
|
|
307
|
-
}, [
|
|
308
|
-
i % revenueXStep.value === 0 ? (openBlock(), createElementBlock("text", {
|
|
309
|
-
key: 0,
|
|
310
|
-
x: chartX(i, revenueChart.value.length),
|
|
311
|
-
y: "195",
|
|
312
|
-
"text-anchor": "middle",
|
|
313
|
-
fill: "rgb(var(--grey))",
|
|
314
|
-
"font-size": "9"
|
|
315
|
-
}, toDisplayString(formatXDate(day._id)), 9, _hoisted_13)) : createCommentVNode("", true)
|
|
316
|
-
], 64);
|
|
317
|
-
}), 128))
|
|
318
|
-
])),
|
|
319
|
-
hoveredRevenueIdx.value >= 0 ? (openBlock(), createElementBlock("div", {
|
|
195
|
+
createElementVNode("div", _hoisted_5, [
|
|
196
|
+
unref(isModuleInstalled)("auth") ? (openBlock(), createBlock(_sfc_main$4, {
|
|
320
197
|
key: 0,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
198
|
+
title: "Active Users",
|
|
199
|
+
value: userStats.value.active?.toLocaleString() || "—",
|
|
200
|
+
class: "w-min-8r"
|
|
201
|
+
}, null, 8, ["value"])) : createCommentVNode("", true),
|
|
202
|
+
unref(isModuleInstalled)("orders") ? (openBlock(), createBlock(_sfc_main$4, {
|
|
203
|
+
key: 1,
|
|
204
|
+
title: "Total Orders",
|
|
205
|
+
value: orderStats.value.total?.orderCount?.toLocaleString() || "—",
|
|
206
|
+
class: "w-min-8r"
|
|
207
|
+
}, null, 8, ["value"])) : createCommentVNode("", true),
|
|
208
|
+
unref(isModuleInstalled)("orders") ? (openBlock(), createBlock(_sfc_main$4, {
|
|
209
|
+
key: 2,
|
|
210
|
+
title: "Total Revenue",
|
|
211
|
+
value: "฿" + (orderStats.value.total?.totalRevenue?.toLocaleString() || "0"),
|
|
212
|
+
class: "w-min-8r"
|
|
213
|
+
}, null, 8, ["value"])) : createCommentVNode("", true)
|
|
214
|
+
])
|
|
325
215
|
]),
|
|
326
216
|
_: 1
|
|
327
217
|
}),
|
|
328
|
-
|
|
329
|
-
|
|
218
|
+
unref(isModuleInstalled)("orders") ? (openBlock(), createBlock(_sfc_main$3, {
|
|
219
|
+
key: 0,
|
|
220
|
+
title: "Revenue",
|
|
221
|
+
class: "mn-b-medium"
|
|
222
|
+
}, {
|
|
223
|
+
default: withCtx(() => [
|
|
224
|
+
createVNode(_sfc_main$5, {
|
|
225
|
+
data: revenueChart.value,
|
|
226
|
+
valueKey: "revenue",
|
|
227
|
+
labelKey: "_id",
|
|
228
|
+
formatValue: formatChartValue,
|
|
229
|
+
formatLabel: formatXDate,
|
|
230
|
+
emptyText: "No revenue data"
|
|
231
|
+
}, {
|
|
232
|
+
tooltip: withCtx(({ item }) => [
|
|
233
|
+
createTextVNode(" ฿" + toDisplayString(item.revenue.toLocaleString()) + " · " + toDisplayString(formatXDate(item._id)), 1)
|
|
234
|
+
]),
|
|
235
|
+
_: 1
|
|
236
|
+
}, 8, ["data"])
|
|
237
|
+
]),
|
|
238
|
+
_: 1
|
|
239
|
+
})) : createCommentVNode("", true),
|
|
240
|
+
unref(isModuleInstalled)("orders") || unref(isModuleInstalled)("events") ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
241
|
+
unref(isModuleInstalled)("orders") ? (openBlock(), createBlock(_sfc_main$3, {
|
|
242
|
+
key: 0,
|
|
243
|
+
title: "Recent Orders"
|
|
244
|
+
}, {
|
|
330
245
|
default: withCtx(() => [
|
|
331
|
-
createVNode(_sfc_main$
|
|
246
|
+
createVNode(_sfc_main$6, {
|
|
332
247
|
showLoadMore: false,
|
|
333
248
|
LoadMore: false,
|
|
334
249
|
states: { empty: { title: "No Orders", description: "No orders yet." } },
|
|
@@ -339,13 +254,14 @@ const _sfc_main = {
|
|
|
339
254
|
createVNode(Table, {
|
|
340
255
|
class: "radius-small bg-white",
|
|
341
256
|
items,
|
|
342
|
-
columns: orderColumns
|
|
257
|
+
columns: orderColumns,
|
|
258
|
+
rowLink: (row) => `/backoffice/orders/${row._id}`
|
|
343
259
|
}, {
|
|
344
260
|
"cell-_id": withCtx(({ value }) => [
|
|
345
|
-
createElementVNode("span",
|
|
261
|
+
createElementVNode("span", _hoisted_7, "#" + toDisplayString(formatId(value)), 1)
|
|
346
262
|
]),
|
|
347
263
|
"cell-positions": withCtx(({ value }) => [
|
|
348
|
-
createElementVNode("span",
|
|
264
|
+
createElementVNode("span", _hoisted_8, toDisplayString(value?.length || 0) + " items", 1)
|
|
349
265
|
]),
|
|
350
266
|
"cell-status": withCtx(({ value }) => [
|
|
351
267
|
createElementVNode("span", {
|
|
@@ -353,19 +269,22 @@ const _sfc_main = {
|
|
|
353
269
|
}, toDisplayString(value), 3)
|
|
354
270
|
]),
|
|
355
271
|
"cell-createdAt": withCtx(({ value }) => [
|
|
356
|
-
createElementVNode("span",
|
|
272
|
+
createElementVNode("span", _hoisted_9, toDisplayString(unref(formatDate)(value, { dateOnly: true })), 1)
|
|
357
273
|
]),
|
|
358
274
|
_: 2
|
|
359
|
-
}, 1032, ["items"])
|
|
275
|
+
}, 1032, ["items", "rowLink"])
|
|
360
276
|
]),
|
|
361
277
|
_: 1
|
|
362
278
|
}, 8, ["store", "options"])
|
|
363
279
|
]),
|
|
364
280
|
_: 1
|
|
365
|
-
}),
|
|
366
|
-
|
|
281
|
+
})) : createCommentVNode("", true),
|
|
282
|
+
unref(isModuleInstalled)("events") ? (openBlock(), createBlock(_sfc_main$3, {
|
|
283
|
+
key: 1,
|
|
284
|
+
title: "Upcoming Events"
|
|
285
|
+
}, {
|
|
367
286
|
default: withCtx(() => [
|
|
368
|
-
createVNode(_sfc_main$
|
|
287
|
+
createVNode(_sfc_main$6, {
|
|
369
288
|
showLoadMore: false,
|
|
370
289
|
LoadMore: false,
|
|
371
290
|
states: { empty: { title: "No Events", description: "No upcoming events." } },
|
|
@@ -375,11 +294,11 @@ const _sfc_main = {
|
|
|
375
294
|
}, {
|
|
376
295
|
default: withCtx(({ items }) => [
|
|
377
296
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (event) => {
|
|
378
|
-
return openBlock(), createBlock(_sfc_main$
|
|
297
|
+
return openBlock(), createBlock(_sfc_main$7, {
|
|
379
298
|
key: event._id,
|
|
380
299
|
to: `/events/${event.url || event._id}`,
|
|
381
300
|
photo: event.cover,
|
|
382
|
-
placeholder: _sfc_main$
|
|
301
|
+
placeholder: _sfc_main$8,
|
|
383
302
|
title: event.name,
|
|
384
303
|
subtitle: unref(formatDate)(event.date?.start, { dateOnly: true }),
|
|
385
304
|
classImage: "flex-none w-3r h-3r radius-small bg-main-transp flex flex-center o-hidden",
|
|
@@ -399,12 +318,12 @@ const _sfc_main = {
|
|
|
399
318
|
}, 8, ["store"])
|
|
400
319
|
]),
|
|
401
320
|
_: 1
|
|
402
|
-
})
|
|
403
|
-
]),
|
|
404
|
-
|
|
405
|
-
createVNode(_sfc_main$
|
|
321
|
+
})) : createCommentVNode("", true)
|
|
322
|
+
])) : createCommentVNode("", true),
|
|
323
|
+
unref(isModuleInstalled)("orders") ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
324
|
+
createVNode(_sfc_main$3, { title: "Recent Applications" }, {
|
|
406
325
|
default: withCtx(() => [
|
|
407
|
-
createVNode(_sfc_main$
|
|
326
|
+
createVNode(_sfc_main$6, {
|
|
408
327
|
showLoadMore: false,
|
|
409
328
|
LoadMore: false,
|
|
410
329
|
states: { empty: { title: "No Applications", description: "No applications." } },
|
|
@@ -414,10 +333,10 @@ const _sfc_main = {
|
|
|
414
333
|
}, {
|
|
415
334
|
default: withCtx(({ items }) => [
|
|
416
335
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (app) => {
|
|
417
|
-
return openBlock(), createBlock(_sfc_main$
|
|
336
|
+
return openBlock(), createBlock(_sfc_main$7, {
|
|
418
337
|
key: app._id,
|
|
419
338
|
to: `/backoffice/applications/${app._id}`,
|
|
420
|
-
placeholder: _sfc_main$
|
|
339
|
+
placeholder: _sfc_main$9,
|
|
421
340
|
title: app.profile?.name || app.name || "Application",
|
|
422
341
|
subtitle: unref(formatDate)(app.createdAt),
|
|
423
342
|
classImage: "flex-none w-3r h-3r radius-small bg-main-transp flex flex-center o-hidden",
|
|
@@ -431,9 +350,9 @@ const _sfc_main = {
|
|
|
431
350
|
]),
|
|
432
351
|
_: 1
|
|
433
352
|
}),
|
|
434
|
-
createVNode(_sfc_main$
|
|
353
|
+
createVNode(_sfc_main$3, { title: "Recent Customers" }, {
|
|
435
354
|
default: withCtx(() => [
|
|
436
|
-
createVNode(_sfc_main$
|
|
355
|
+
createVNode(_sfc_main$6, {
|
|
437
356
|
showLoadMore: false,
|
|
438
357
|
LoadMore: false,
|
|
439
358
|
states: { empty: { title: "No Customers", description: "No customers." } },
|
|
@@ -443,11 +362,11 @@ const _sfc_main = {
|
|
|
443
362
|
}, {
|
|
444
363
|
default: withCtx(({ items }) => [
|
|
445
364
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (customer) => {
|
|
446
|
-
return openBlock(), createBlock(_sfc_main$
|
|
365
|
+
return openBlock(), createBlock(_sfc_main$7, {
|
|
447
366
|
key: customer._id,
|
|
448
367
|
to: `/backoffice/customers/${customer._id}`,
|
|
449
368
|
photo: customer.avatar || customer.profile?.photo,
|
|
450
|
-
placeholder: _sfc_main$
|
|
369
|
+
placeholder: _sfc_main$a,
|
|
451
370
|
title: customer.profile?.name || customer.name || customer.phone || "Customer",
|
|
452
371
|
subtitle: unref(formatDate)(customer.createdAt),
|
|
453
372
|
classImage: "flex-none w-3r h-3r radius-extra bg-main-transp flex flex-center o-hidden",
|
|
@@ -461,34 +380,38 @@ const _sfc_main = {
|
|
|
461
380
|
]),
|
|
462
381
|
_: 1
|
|
463
382
|
})
|
|
464
|
-
]),
|
|
465
|
-
|
|
383
|
+
])) : createCommentVNode("", true),
|
|
384
|
+
unref(isModuleInstalled)("products") ? (openBlock(), createBlock(_sfc_main$3, {
|
|
385
|
+
key: 3,
|
|
466
386
|
title: "Popular Products",
|
|
467
387
|
class: "mn-b-medium"
|
|
468
388
|
}, {
|
|
469
389
|
default: withCtx(() => [
|
|
470
|
-
orderStats.value.popularProducts?.length ? (openBlock(), createElementBlock("div",
|
|
390
|
+
orderStats.value.popularProducts?.length ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
471
391
|
(openBlock(true), createElementBlock(Fragment, null, renderList(orderStats.value.popularProducts, (product) => {
|
|
472
|
-
return openBlock(), createBlock(_sfc_main$
|
|
392
|
+
return openBlock(), createBlock(_sfc_main$b, {
|
|
473
393
|
key: product._id,
|
|
474
394
|
product,
|
|
475
395
|
showAddToCart: false,
|
|
476
396
|
class: "bg-white"
|
|
477
397
|
}, {
|
|
478
398
|
default: withCtx(() => [
|
|
479
|
-
createElementVNode("p",
|
|
399
|
+
createElementVNode("p", _hoisted_12, toDisplayString(product.totalQuantity) + " sold · ฿" + toDisplayString(product.totalRevenue?.toLocaleString()), 1)
|
|
480
400
|
]),
|
|
481
401
|
_: 2
|
|
482
402
|
}, 1032, ["product"]);
|
|
483
403
|
}), 128))
|
|
484
|
-
])) : (openBlock(), createElementBlock("p",
|
|
404
|
+
])) : (openBlock(), createElementBlock("p", _hoisted_13, "No product data"))
|
|
485
405
|
]),
|
|
486
406
|
_: 1
|
|
487
|
-
}),
|
|
488
|
-
|
|
489
|
-
|
|
407
|
+
})) : createCommentVNode("", true),
|
|
408
|
+
unref(isModuleInstalled)("auth") || unref(isModuleInstalled)("rents") ? (openBlock(), createElementBlock("div", _hoisted_14, [
|
|
409
|
+
unref(isModuleInstalled)("auth") ? (openBlock(), createBlock(_sfc_main$3, {
|
|
410
|
+
key: 0,
|
|
411
|
+
title: "Recent Registrations"
|
|
412
|
+
}, {
|
|
490
413
|
default: withCtx(() => [
|
|
491
|
-
createVNode(_sfc_main$
|
|
414
|
+
createVNode(_sfc_main$6, {
|
|
492
415
|
showLoadMore: false,
|
|
493
416
|
LoadMore: false,
|
|
494
417
|
states: { empty: { title: "No Registrations", description: "No recent registrations." } },
|
|
@@ -498,11 +421,11 @@ const _sfc_main = {
|
|
|
498
421
|
}, {
|
|
499
422
|
default: withCtx(({ items }) => [
|
|
500
423
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (user) => {
|
|
501
|
-
return openBlock(), createBlock(_sfc_main$
|
|
424
|
+
return openBlock(), createBlock(_sfc_main$7, {
|
|
502
425
|
key: user._id,
|
|
503
426
|
to: `/users/${user._id}`,
|
|
504
427
|
photo: user.avatar || user.profile?.photo,
|
|
505
|
-
placeholder: _sfc_main$
|
|
428
|
+
placeholder: _sfc_main$a,
|
|
506
429
|
title: user.profile?.name || user.username || user.email || "User",
|
|
507
430
|
subtitle: unref(formatDate)(user.createdAt),
|
|
508
431
|
classImage: "flex-none w-3r h-3r radius-extra bg-main-transp flex flex-center o-hidden",
|
|
@@ -515,10 +438,13 @@ const _sfc_main = {
|
|
|
515
438
|
}, 8, ["store", "options"])
|
|
516
439
|
]),
|
|
517
440
|
_: 1
|
|
518
|
-
}),
|
|
519
|
-
|
|
441
|
+
})) : createCommentVNode("", true),
|
|
442
|
+
unref(isModuleInstalled)("rents") ? (openBlock(), createBlock(_sfc_main$3, {
|
|
443
|
+
key: 1,
|
|
444
|
+
title: "Upcoming Rents"
|
|
445
|
+
}, {
|
|
520
446
|
default: withCtx(() => [
|
|
521
|
-
createVNode(_sfc_main$
|
|
447
|
+
createVNode(_sfc_main$6, {
|
|
522
448
|
showLoadMore: false,
|
|
523
449
|
LoadMore: false,
|
|
524
450
|
search: false,
|
|
@@ -529,7 +455,7 @@ const _sfc_main = {
|
|
|
529
455
|
}, {
|
|
530
456
|
default: withCtx(({ items }) => [
|
|
531
457
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (rent) => {
|
|
532
|
-
return openBlock(), createBlock(_sfc_main$
|
|
458
|
+
return openBlock(), createBlock(_sfc_main$7, {
|
|
533
459
|
key: rent._id,
|
|
534
460
|
to: `/backoffice/orders/${rent.order}`,
|
|
535
461
|
placeholder: _sfc_main$2,
|
|
@@ -545,8 +471,8 @@ const _sfc_main = {
|
|
|
545
471
|
}, 8, ["store"])
|
|
546
472
|
]),
|
|
547
473
|
_: 1
|
|
548
|
-
})
|
|
549
|
-
])
|
|
474
|
+
})) : createCommentVNode("", true)
|
|
475
|
+
])) : createCommentVNode("", true)
|
|
550
476
|
]);
|
|
551
477
|
};
|
|
552
478
|
}
|