@ozdao/martyrs 0.2.604 → 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.vue2.js → EditImages.vue.js} +6 -6
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -0
- package/dist/martyrs/src/components/EmptyState/EmptyState.vue.js +1 -1
- 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/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/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/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 +2 -2
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js.map +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- 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 +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.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 +32 -18
- 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 +4 -4
- 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 +3 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- 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 +2 -2
- 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/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/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 +41 -26
- 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/Client.vue.js +2 -1
- 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.vue2.js +3 -3
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +2 -2
- 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 +6 -6
- 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 +4 -0
- 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 +1 -1
- 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/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 +2 -2
- 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 +3 -3
- 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 +4 -4
- 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 +2 -2
- 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 +3 -3
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +3 -3
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -1
- 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/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/sections/SectionMenu.vue.js +3 -3
- 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 +1 -1
- 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 +8 -8
- 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 +5 -5
- 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 +11 -11
- 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 +3 -3
- 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 +11 -11
- 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 +162 -68
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +181 -17
- 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 +66 -1
- 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/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 +5 -5
- 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 +35 -25
- 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/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/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/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 +96 -96
- 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 +3 -3
- 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 +2 -2
- 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 +9 -7
- 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.es106.js +2 -2
- package/dist/martyrs.es11.js +31 -30
- package/dist/martyrs.es113.js +22 -166
- package/dist/martyrs.es114.js +4 -457
- package/dist/martyrs.es115.js +8 -40
- package/dist/martyrs.es116.js +166 -9
- package/dist/martyrs.es117.js +451 -43
- package/dist/martyrs.es118.js +38 -10
- package/dist/martyrs.es119.js +9 -44
- package/dist/martyrs.es12.js +8 -9
- package/dist/martyrs.es120.js +49 -4
- package/dist/martyrs.es121.js +10 -127
- package/dist/martyrs.es122.js +42 -98
- package/dist/martyrs.es123.js +4 -86
- package/dist/martyrs.es124.js +120 -29
- package/dist/martyrs.es125.js +99 -10
- package/dist/martyrs.es126.js +71 -24
- package/dist/martyrs.es127.js +37 -8
- package/dist/martyrs.es128.js +11 -22
- package/dist/martyrs.es129.js +39 -4
- package/dist/martyrs.es13.js +22 -19
- package/dist/martyrs.es130.js +9 -8
- package/dist/martyrs.es131.js +7 -7
- package/dist/martyrs.es132.js +2 -2
- package/dist/martyrs.es133.js +1 -1
- package/dist/martyrs.es135.js +1 -1
- package/dist/martyrs.es137.js +1 -1
- package/dist/martyrs.es138.js +7 -8
- package/dist/martyrs.es139.js +8 -7
- package/dist/martyrs.es14.js +2 -2
- package/dist/martyrs.es140.js +2 -2
- package/dist/martyrs.es144.js +10 -29
- package/dist/martyrs.es145.js +29 -10
- package/dist/martyrs.es146.js +2 -2
- package/dist/martyrs.es147.js +2 -2
- package/dist/martyrs.es149.js +1 -1
- 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.es61.js +33 -26
- package/dist/martyrs.es74.js +7 -7
- package/dist/martyrs.es76.js +12 -12
- package/dist/martyrs.es8.js +31 -31
- package/dist/music.server.js +3 -3
- 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/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/src/components/EditImages/EditImages.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.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/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,79 +1,108 @@
|
|
|
1
|
-
import { ref, onMounted, computed, createElementBlock, createCommentVNode, openBlock, createVNode, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList, unref, normalizeClass, withCtx, createBlock } from "vue";
|
|
1
|
+
import { getCurrentInstance, ref, onMounted, computed, resolveComponent, createElementBlock, createCommentVNode, openBlock, createVNode, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList, unref, normalizeClass, withCtx, createBlock, withModifiers, resolveDynamicComponent } from "vue";
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import Button from "../../../../components/Button/Button.vue2.js";
|
|
4
4
|
import Select from "../../../../components/Select/Select.vue.js";
|
|
5
|
-
import _sfc_main$
|
|
5
|
+
import _sfc_main$7 from "../../../../components/Popup/Popup.vue.js";
|
|
6
|
+
import _sfc_main$a from "../../../../components/Feed/Feed.vue.js";
|
|
6
7
|
import IconTime from "../../../icons/entities/IconTime.vue.js";
|
|
7
|
-
import
|
|
8
|
-
import _sfc_main$
|
|
9
|
-
import _sfc_main$
|
|
10
|
-
import _sfc_main$
|
|
11
|
-
|
|
8
|
+
import { calcRentTotalPrice } from "../../utils/rent-price.js";
|
|
9
|
+
import _sfc_main$8 from "../blocks/CardOrderItem.vue.js";
|
|
10
|
+
import _sfc_main$b from "../../../organizations/components/blocks/CardOrganization.vue.js";
|
|
11
|
+
import _sfc_main$d from "../../../core/views/components/blocks/CardUser.vue.js";
|
|
12
|
+
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
13
|
+
import _sfc_main$6 from "../../../icons/entities/IconPhone.vue.js";
|
|
14
|
+
import _sfc_main$5 from "../../../icons/socials/whatsapp.vue.js";
|
|
15
|
+
import _sfc_main$4 from "../../../icons/socials/telegram.vue.js";
|
|
16
|
+
import _sfc_main$3 from "../../../icons/socials/line.vue.js";
|
|
17
|
+
import _sfc_main$2 from "../../../icons/socials/instagram.vue.js";
|
|
18
|
+
import _sfc_main$1 from "../../../icons/socials/facebook.vue.js";
|
|
19
|
+
import _sfc_main$c from "../../../chats/components/pages/ChatPage.vue.js";
|
|
20
|
+
import _sfc_main$9 from "../elements/PriceTotal.vue.js";
|
|
21
|
+
/* empty css */
|
|
12
22
|
import { useStore } from "../../../core/views/store/core.store.js";
|
|
13
23
|
import { state } from "../../../auth/views/store/auth.js";
|
|
14
24
|
import { actions, state as state$1, getters, mutations } from "../../store/orders.js";
|
|
25
|
+
import { actions as actions$2 } from "../../../products/store/products.js";
|
|
15
26
|
import { actions as actions$1 } from "../../../organizations/store/organizations.js";
|
|
27
|
+
import variantsStore from "../../../products/store/variants.store.js";
|
|
16
28
|
import { useI18n } from "vue-i18n";
|
|
17
29
|
import { useGlobalMixins } from "../../../core/views/mixins/mixins.js";
|
|
18
30
|
/* empty css */
|
|
19
|
-
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
20
31
|
const _hoisted_1 = {
|
|
21
32
|
key: 0,
|
|
22
33
|
class: "pd-thin bg-white"
|
|
23
34
|
};
|
|
24
35
|
const _hoisted_2 = {
|
|
25
36
|
key: 0,
|
|
26
|
-
class: "mn-b-thin pos-relative w-100 bg-main radius-medium pd-
|
|
37
|
+
class: "mn-b-thin pos-relative w-100 bg-main radius-medium pd-small"
|
|
27
38
|
};
|
|
28
39
|
const _hoisted_3 = { class: "mn-b-small flex-nowrap flex" };
|
|
29
40
|
const _hoisted_4 = { class: "fw-medium p-regular" };
|
|
30
|
-
const _hoisted_5 = { class: "p-small
|
|
41
|
+
const _hoisted_5 = { class: "p-small opacity-50" };
|
|
31
42
|
const _hoisted_6 = { class: "flex-nowrap flex gap-thin pos-relative" };
|
|
32
43
|
const _hoisted_7 = { class: "flex gap-thin flex-column mn-b-thin" };
|
|
33
|
-
const _hoisted_8 = {
|
|
44
|
+
const _hoisted_8 = { class: "bg-light h-max-100 mn-b-thin o-scroll pd-medium radius-big" };
|
|
45
|
+
const _hoisted_9 = { class: "gap-thin flex flex-column" };
|
|
46
|
+
const _hoisted_10 = ["onClick"];
|
|
47
|
+
const _hoisted_11 = {
|
|
48
|
+
key: 0,
|
|
49
|
+
class: "aspect-1x1 h-3r radius-small o-hidden"
|
|
50
|
+
};
|
|
51
|
+
const _hoisted_12 = ["src"];
|
|
52
|
+
const _hoisted_13 = { class: "fw-medium" };
|
|
53
|
+
const _hoisted_14 = {
|
|
54
|
+
key: 0,
|
|
55
|
+
class: "t-small opacity-50"
|
|
56
|
+
};
|
|
57
|
+
const _hoisted_15 = { class: "mn-l-auto" };
|
|
58
|
+
const _hoisted_16 = {
|
|
34
59
|
key: 1,
|
|
35
|
-
class: "gap-thin cols-2 mobile:cols-1"
|
|
60
|
+
class: "gap-thin cols-2 tablet:cols-1 mobile:cols-1"
|
|
36
61
|
};
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
62
|
+
const _hoisted_17 = { class: "w-100" };
|
|
63
|
+
const _hoisted_18 = { class: "mn-b-thin bg-light w-100 o-hidden radius-medium" };
|
|
64
|
+
const _hoisted_19 = { class: "pd-small flex-nowrap flex" };
|
|
65
|
+
const _hoisted_20 = { class: "mn-r-auto" };
|
|
66
|
+
const _hoisted_21 = { class: "lh-[0.75] h2 d-block mn-b-small" };
|
|
67
|
+
const _hoisted_22 = { class: "pd-thin radius-extra bg-black t-white w-max" };
|
|
68
|
+
const _hoisted_23 = {
|
|
44
69
|
key: 0,
|
|
45
70
|
class: "pd-small flex flex-nowrap flex-v-center br-t-1px br-black-transp-10"
|
|
46
71
|
};
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
const
|
|
50
|
-
const
|
|
72
|
+
const _hoisted_24 = { class: "w-100 t-right" };
|
|
73
|
+
const _hoisted_25 = { class: "pd-small flex flex-nowrap flex-v-center br-t-1px br-black-transp-10" };
|
|
74
|
+
const _hoisted_26 = { class: "w-100 t-right" };
|
|
75
|
+
const _hoisted_27 = {
|
|
51
76
|
key: 1,
|
|
52
77
|
class: "pos-relative radius-thin mn-t-zero mn-thin bg-fifth-transp-10 pd-small"
|
|
53
78
|
};
|
|
54
|
-
const
|
|
55
|
-
const
|
|
56
|
-
const
|
|
57
|
-
const
|
|
58
|
-
const
|
|
79
|
+
const _hoisted_28 = { class: "pd-small flex flex-nowrap flex-v-center br-t-1px br-black-transp-10" };
|
|
80
|
+
const _hoisted_29 = { class: "w-100 t-right" };
|
|
81
|
+
const _hoisted_30 = { class: "pd-small flex flex-nowrap flex-v-center br-t-1px br-black-transp-10" };
|
|
82
|
+
const _hoisted_31 = { class: "w-max t-right" };
|
|
83
|
+
const _hoisted_32 = {
|
|
59
84
|
key: 1,
|
|
60
|
-
class: "o-y-scroll bg-light pd-thin mn-b-thin pd-thin radius-medium flex-nowrap flex"
|
|
85
|
+
class: "o-y-scroll scroll-hide bg-light pd-thin mn-b-thin pd-thin radius-medium flex-nowrap flex"
|
|
61
86
|
};
|
|
62
|
-
const
|
|
63
|
-
const
|
|
64
|
-
const
|
|
65
|
-
const
|
|
87
|
+
const _hoisted_33 = { class: "flex-child-default mn-r-small w-max flex-v-center gap-thin flex-nowrap flex pd-thin radius-small bg-light-transp-20" };
|
|
88
|
+
const _hoisted_34 = { class: "fw-medium mn-r-auto" };
|
|
89
|
+
const _hoisted_35 = { class: "bg-light radius-medium pd-small mn-r-bold w-100" };
|
|
90
|
+
const _hoisted_36 = {
|
|
66
91
|
key: 2,
|
|
67
|
-
class: "
|
|
92
|
+
class: "opacity-50"
|
|
68
93
|
};
|
|
69
|
-
const
|
|
70
|
-
const
|
|
94
|
+
const _hoisted_37 = { class: "w-100" };
|
|
95
|
+
const _hoisted_38 = { class: "bg-light radius-medium pd-small mn-b-thin w-100" };
|
|
96
|
+
const _hoisted_39 = ["href", "target"];
|
|
97
|
+
const _hoisted_40 = { class: "bg-light radius-medium pd-small w-100" };
|
|
98
|
+
const _hoisted_41 = { class: "flex gap-thin flex-column mn-b-thin" };
|
|
71
99
|
const _sfc_main = {
|
|
72
100
|
__name: "OrderBackoffice",
|
|
73
101
|
setup(__props) {
|
|
74
102
|
const store = useStore();
|
|
103
|
+
const { proxy } = getCurrentInstance();
|
|
75
104
|
const { locale } = useI18n();
|
|
76
|
-
const { returnCurrency } = useGlobalMixins();
|
|
105
|
+
const { returnCurrency, isPhone, isTablet, formatPhone, formatDate, formatPrice } = useGlobalMixins();
|
|
77
106
|
const router = useRouter();
|
|
78
107
|
const route = useRoute();
|
|
79
108
|
const order = ref(null);
|
|
@@ -106,6 +135,68 @@ const _sfc_main = {
|
|
|
106
135
|
function closePaymentPopup() {
|
|
107
136
|
isOpenPaymentPopup.value = false;
|
|
108
137
|
}
|
|
138
|
+
const isAddProductPopupOpen = ref(false);
|
|
139
|
+
const isAddVariantsPopupOpen = ref(false);
|
|
140
|
+
const selectedProduct = ref(null);
|
|
141
|
+
function openAddProductPopup() {
|
|
142
|
+
isAddProductPopupOpen.value = true;
|
|
143
|
+
}
|
|
144
|
+
function closeAddProductPopup() {
|
|
145
|
+
isAddProductPopupOpen.value = false;
|
|
146
|
+
}
|
|
147
|
+
function closeAddVariantsPopup() {
|
|
148
|
+
isAddVariantsPopupOpen.value = false;
|
|
149
|
+
selectedProduct.value = null;
|
|
150
|
+
}
|
|
151
|
+
function selectProduct(product) {
|
|
152
|
+
selectedProduct.value = product;
|
|
153
|
+
closeAddProductPopup();
|
|
154
|
+
if (product.variants && product.variants.length === 1) {
|
|
155
|
+
addVariantToOrder(product.variants[0]);
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
isAddVariantsPopupOpen.value = true;
|
|
159
|
+
}
|
|
160
|
+
function formatProductName(product, variant) {
|
|
161
|
+
if (!variant || product.variants?.length === 1 && !variant.attributes?.length)
|
|
162
|
+
return product.name;
|
|
163
|
+
const attrs = variant.attributes?.map((a) => a.value).filter(Boolean);
|
|
164
|
+
return attrs?.length ? `${product.name} / ${attrs.join(" / ")}` : `${product.name} / ${variant.name}`;
|
|
165
|
+
}
|
|
166
|
+
async function addVariantToOrder(variant) {
|
|
167
|
+
try {
|
|
168
|
+
let selectedDates = null;
|
|
169
|
+
if (selectedProduct.value.listing === "rent") {
|
|
170
|
+
const rentPeriod = selectedProduct.value.rentPeriod || "day";
|
|
171
|
+
const enableTime = ["hour", "4hours", "flat"].includes(rentPeriod);
|
|
172
|
+
selectedDates = await proxy.$dateSelector(
|
|
173
|
+
selectedProduct.value._id,
|
|
174
|
+
variant._id,
|
|
175
|
+
1,
|
|
176
|
+
variant.price || selectedProduct.value.price,
|
|
177
|
+
{ enableTime, periodType: rentPeriod }
|
|
178
|
+
);
|
|
179
|
+
if (!selectedDates) return;
|
|
180
|
+
}
|
|
181
|
+
const position = {
|
|
182
|
+
_id: selectedProduct.value._id,
|
|
183
|
+
images: variant.images?.length > 0 ? variant.images : selectedProduct.value.images,
|
|
184
|
+
name: formatProductName(selectedProduct.value, variant),
|
|
185
|
+
listing: selectedProduct.value.listing,
|
|
186
|
+
price: variant.price || selectedProduct.value.price,
|
|
187
|
+
quantity: 1,
|
|
188
|
+
unit: variant.unit || selectedProduct.value.unit,
|
|
189
|
+
date: selectedDates,
|
|
190
|
+
rentPeriod: selectedProduct.value.rentPeriod || "day",
|
|
191
|
+
variant: variant._id,
|
|
192
|
+
org_id: order.value.owner.target._id
|
|
193
|
+
};
|
|
194
|
+
order.value.positions.push(position);
|
|
195
|
+
closeAddVariantsPopup();
|
|
196
|
+
} catch (error) {
|
|
197
|
+
console.error("Error adding variant to order:", error);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
109
200
|
onMounted(async () => {
|
|
110
201
|
order.value = await actions.read({ _id: route.params.order });
|
|
111
202
|
order.value = order.value[0];
|
|
@@ -121,25 +212,101 @@ const _sfc_main = {
|
|
|
121
212
|
const config = store.core.state.options?.orders?.delivery_formula || {};
|
|
122
213
|
return getters.getDeliveryPrice(type, distance, config);
|
|
123
214
|
});
|
|
215
|
+
function statusLabel(value) {
|
|
216
|
+
const found = statuses.find((s) => s.value === value);
|
|
217
|
+
return found ? found.label : value;
|
|
218
|
+
}
|
|
219
|
+
function paymentStatusClass(status) {
|
|
220
|
+
switch (status) {
|
|
221
|
+
case "paid":
|
|
222
|
+
return "bg-green t-white";
|
|
223
|
+
case "refunded":
|
|
224
|
+
return "bg-second t-white";
|
|
225
|
+
default:
|
|
226
|
+
return "bg-red t-white";
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
const socialUrlMap = {
|
|
230
|
+
whatsapp: (v) => `https://wa.me/${v.replace(/[^0-9]/g, "")}`,
|
|
231
|
+
telegram: (v) => `https://t.me/${v.replace("@", "")}`,
|
|
232
|
+
line: (v) => `https://line.me/ti/p/${v}`,
|
|
233
|
+
instagram: (v) => `https://instagram.com/${v.replace("@", "")}`,
|
|
234
|
+
facebook: (v) => `https://facebook.com/${v}`
|
|
235
|
+
};
|
|
236
|
+
const socialIcons = {
|
|
237
|
+
whatsapp: _sfc_main$5,
|
|
238
|
+
telegram: _sfc_main$4,
|
|
239
|
+
line: _sfc_main$3,
|
|
240
|
+
instagram: _sfc_main$2,
|
|
241
|
+
facebook: _sfc_main$1
|
|
242
|
+
};
|
|
243
|
+
function getSocialUrl(key, value) {
|
|
244
|
+
return socialUrlMap[key] ? socialUrlMap[key](value) : value;
|
|
245
|
+
}
|
|
246
|
+
const customerContact = computed(() => {
|
|
247
|
+
const customer = order.value?.customer?.target;
|
|
248
|
+
if (!customer) return null;
|
|
249
|
+
const socials = customer.socials || customer.data?.socials || {};
|
|
250
|
+
for (const key of ["whatsapp", "telegram", "line"]) {
|
|
251
|
+
if (socials[key])
|
|
252
|
+
return {
|
|
253
|
+
type: key,
|
|
254
|
+
value: socials[key],
|
|
255
|
+
url: getSocialUrl(key, socials[key]),
|
|
256
|
+
icon: socialIcons[key]
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
const phone = customer.phone || customer.data?.phone;
|
|
260
|
+
if (phone)
|
|
261
|
+
return {
|
|
262
|
+
type: "phone",
|
|
263
|
+
value: formatPhone(phone),
|
|
264
|
+
url: `tel:${phone}`,
|
|
265
|
+
icon: _sfc_main$6
|
|
266
|
+
};
|
|
267
|
+
return null;
|
|
268
|
+
});
|
|
269
|
+
const customerLink = computed(() => {
|
|
270
|
+
if (!order.value?.customer?.target?._id) return "";
|
|
271
|
+
const ctx = route.meta.context;
|
|
272
|
+
const customerId = order.value.customer.target._id;
|
|
273
|
+
if (ctx === "backoffice")
|
|
274
|
+
return `/backoffice/customers?customerId=${customerId}`;
|
|
275
|
+
if (ctx === "organization")
|
|
276
|
+
return `/organizations/${route.params._id}/customers?customerId=${customerId}`;
|
|
277
|
+
return `/customers?customerId=${customerId}`;
|
|
278
|
+
});
|
|
124
279
|
let cartTotalPrice = computed(() => {
|
|
125
|
-
return Number(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
280
|
+
return Number(
|
|
281
|
+
order.value?.positions.reduce((total, product) => {
|
|
282
|
+
if (product.totalPrice) {
|
|
283
|
+
return total + product.totalPrice;
|
|
284
|
+
}
|
|
285
|
+
if (product.listing === "rent" && product.date?.start && product.date?.end) {
|
|
286
|
+
return total + calcRentTotalPrice(
|
|
287
|
+
product.price,
|
|
288
|
+
product.quantity,
|
|
289
|
+
product.date.start,
|
|
290
|
+
product.date.end,
|
|
291
|
+
product.rentPeriod || "day"
|
|
292
|
+
);
|
|
293
|
+
} else {
|
|
294
|
+
return total + product.price * (product.quantity || 1);
|
|
295
|
+
}
|
|
296
|
+
}, 0)
|
|
297
|
+
);
|
|
135
298
|
});
|
|
136
299
|
computed(() => {
|
|
137
|
-
return Number(
|
|
138
|
-
|
|
139
|
-
|
|
300
|
+
return Number(
|
|
301
|
+
order.value?.positions.reduce((total, product) => {
|
|
302
|
+
return total + product.quantity;
|
|
303
|
+
}, 0)
|
|
304
|
+
);
|
|
140
305
|
});
|
|
141
306
|
function getNextStatus(currentStatus) {
|
|
142
|
-
const currentIndex = statuses.findIndex(
|
|
307
|
+
const currentIndex = statuses.findIndex(
|
|
308
|
+
(status) => status.value === currentStatus
|
|
309
|
+
);
|
|
143
310
|
if (currentIndex !== -1 && currentIndex + 1 < statuses.length) {
|
|
144
311
|
return statuses[currentIndex + 1];
|
|
145
312
|
}
|
|
@@ -169,11 +336,12 @@ const _sfc_main = {
|
|
|
169
336
|
closeStatusPopup();
|
|
170
337
|
}
|
|
171
338
|
return (_ctx, _cache) => {
|
|
339
|
+
const _component_router_link = resolveComponent("router-link");
|
|
172
340
|
return order.value && orderOrganization.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
173
341
|
order.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
174
342
|
createElementVNode("div", _hoisted_3, [
|
|
175
343
|
createElementVNode("p", _hoisted_4, [
|
|
176
|
-
_cache[
|
|
344
|
+
_cache[5] || (_cache[5] = createTextVNode(" Order No: ")),
|
|
177
345
|
createElementVNode("span", _hoisted_5, "#" + toDisplayString(order.value._id), 1)
|
|
178
346
|
])
|
|
179
347
|
]),
|
|
@@ -186,23 +354,27 @@ const _sfc_main = {
|
|
|
186
354
|
createElementVNode("div", {
|
|
187
355
|
class: normalizeClass([
|
|
188
356
|
"bg-white br-anim br-glow radius-extra h-1r w-100",
|
|
189
|
-
{ "br-glow-anim": isActiveStatus(index) },
|
|
190
|
-
|
|
191
|
-
|
|
357
|
+
({ "br-glow-anim": isActiveStatus(index) }, { "opacity-50": !isActiveStatus(index) }, {
|
|
358
|
+
blink: order.value.status === status.value && getNextStatus(order.value.status)
|
|
359
|
+
})
|
|
192
360
|
])
|
|
193
361
|
}, null, 2),
|
|
194
362
|
createElementVNode("div", {
|
|
195
|
-
class: normalizeClass([{ "
|
|
196
|
-
}, toDisplayString(status.
|
|
363
|
+
class: normalizeClass([{ "opacity-50": !isActiveStatus(index) }, "mn-t-thin p-small fw-medium uppercase"])
|
|
364
|
+
}, toDisplayString(status.label), 3)
|
|
197
365
|
]);
|
|
198
366
|
}), 128))
|
|
199
367
|
])
|
|
200
368
|
])) : createCommentVNode("", true),
|
|
201
|
-
createVNode(_sfc_main$
|
|
369
|
+
createVNode(_sfc_main$7, {
|
|
202
370
|
title: "Payment Status",
|
|
203
371
|
onClosePopup: closePaymentPopup,
|
|
204
372
|
isPopupOpen: isOpenPaymentPopup.value,
|
|
205
|
-
|
|
373
|
+
align: unref(isPhone)() || unref(isTablet)() ? "bottom center" : "center center",
|
|
374
|
+
class: normalizeClass([
|
|
375
|
+
"bg-light radius-medium pd-small",
|
|
376
|
+
unref(isPhone)() || unref(isTablet)() ? "w-100 radius-zero radius-tr-medium radius-tl-medium" : "w-min-30r w-max-30r"
|
|
377
|
+
])
|
|
206
378
|
}, {
|
|
207
379
|
default: withCtx(() => [
|
|
208
380
|
createVNode(Select, {
|
|
@@ -237,24 +409,33 @@ const _sfc_main = {
|
|
|
237
409
|
submit: changePaymentStatus,
|
|
238
410
|
class: "t-white w-100 bg-second"
|
|
239
411
|
}, {
|
|
240
|
-
default: withCtx(() => _cache[
|
|
412
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
241
413
|
createElementVNode("span", null, "Change Status", -1)
|
|
242
414
|
])),
|
|
243
415
|
_: 1
|
|
244
416
|
})
|
|
245
417
|
]),
|
|
246
418
|
_: 1
|
|
247
|
-
}, 8, ["isPopupOpen"]),
|
|
248
|
-
createVNode(_sfc_main$
|
|
419
|
+
}, 8, ["isPopupOpen", "align", "class"]),
|
|
420
|
+
createVNode(_sfc_main$7, {
|
|
249
421
|
title: "Change order status",
|
|
250
422
|
onClosePopup: closeStatusPopup,
|
|
251
423
|
isPopupOpen: isOpeStatusPopup.value,
|
|
252
|
-
|
|
424
|
+
align: unref(isPhone)() || unref(isTablet)() ? "bottom center" : "center center",
|
|
425
|
+
class: normalizeClass([
|
|
426
|
+
"bg-light radius-medium pd-small",
|
|
427
|
+
unref(isPhone)() || unref(isTablet)() ? "w-100 radius-zero radius-tr-medium radius-tl-medium" : "w-min-30r w-max-30r"
|
|
428
|
+
])
|
|
253
429
|
}, {
|
|
254
430
|
default: withCtx(() => [
|
|
431
|
+
!order.value.status_history || order.value.status_history.length <= 1 ? (openBlock(), createElementBlock("button", {
|
|
432
|
+
key: 0,
|
|
433
|
+
onClick: openAddProductPopup,
|
|
434
|
+
class: "w-100 mn-b-thin pd-small radius-small bg-white t-black fw-medium cursor-pointer hover:bg-main"
|
|
435
|
+
}, " + Add Product ")) : createCommentVNode("", true),
|
|
255
436
|
createElementVNode("ul", _hoisted_7, [
|
|
256
437
|
(openBlock(true), createElementBlock(Fragment, null, renderList(order.value.positions, (product, index) => {
|
|
257
|
-
return openBlock(), createBlock(_sfc_main$
|
|
438
|
+
return openBlock(), createBlock(_sfc_main$8, {
|
|
258
439
|
key: `${product._id}_${product.variant || "no-variant"}_${index}`,
|
|
259
440
|
editable: !order.value.status_history || order.value.status_history.length <= 1,
|
|
260
441
|
productId: product._id,
|
|
@@ -265,16 +446,32 @@ const _sfc_main = {
|
|
|
265
446
|
unit: product.unit,
|
|
266
447
|
dates: product.date,
|
|
267
448
|
listing: product.listing,
|
|
449
|
+
rentPeriod: product.rentPeriod || "day",
|
|
268
450
|
price: product.price,
|
|
269
|
-
increase: () => mutations.incrementItemQuantity(
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
451
|
+
increase: () => mutations.incrementItemQuantity(
|
|
452
|
+
order.value,
|
|
453
|
+
product._id,
|
|
454
|
+
product.variant
|
|
455
|
+
),
|
|
456
|
+
decrease: () => mutations.decrementItemQuantity(
|
|
457
|
+
order.value,
|
|
458
|
+
product._id,
|
|
459
|
+
product.variant
|
|
460
|
+
),
|
|
461
|
+
remove: () => mutations.removeProduct(
|
|
462
|
+
order.value,
|
|
463
|
+
product._id,
|
|
464
|
+
product.variant
|
|
465
|
+
),
|
|
466
|
+
onUpdateRentDates: _cache[2] || (_cache[2] = (productId, variantId, dates) => {
|
|
467
|
+
const item = order.value.positions.find((p) => p._id === productId && p.variant === variantId);
|
|
468
|
+
if (item) item.date = dates;
|
|
469
|
+
}),
|
|
273
470
|
class: "bg-white radius-small pd-small"
|
|
274
|
-
}, null, 8, ["editable", "productId", "variantId", "images", "name", "quantity", "unit", "dates", "listing", "price", "increase", "decrease", "remove"]);
|
|
471
|
+
}, null, 8, ["editable", "productId", "variantId", "images", "name", "quantity", "unit", "dates", "listing", "rentPeriod", "price", "increase", "decrease", "remove"]);
|
|
275
472
|
}), 128))
|
|
276
473
|
]),
|
|
277
|
-
createVNode(_sfc_main$
|
|
474
|
+
createVNode(_sfc_main$9, {
|
|
278
475
|
totalPrice: unref(cartTotalPrice),
|
|
279
476
|
currency: unref(returnCurrency)(),
|
|
280
477
|
showFees: unref(store).core.state.options?.orders?.showFees,
|
|
@@ -293,10 +490,92 @@ const _sfc_main = {
|
|
|
293
490
|
})
|
|
294
491
|
]),
|
|
295
492
|
_: 1
|
|
296
|
-
}, 8, ["isPopupOpen"]),
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
493
|
+
}, 8, ["isPopupOpen", "align", "class"]),
|
|
494
|
+
createVNode(_sfc_main$7, {
|
|
495
|
+
onClosePopup: closeAddProductPopup,
|
|
496
|
+
isPopupOpen: isAddProductPopupOpen.value,
|
|
497
|
+
align: unref(isPhone)() || unref(isTablet)() ? "bottom center" : "center center",
|
|
498
|
+
class: normalizeClass([
|
|
499
|
+
"bg-white flex flex-column radius-big pd-medium pos-relative",
|
|
500
|
+
unref(isPhone)() || unref(isTablet)() ? "w-100 radius-zero radius-tr-medium radius-tl-medium h-max-80" : "w-min-30r w-max-30r"
|
|
501
|
+
])
|
|
502
|
+
}, {
|
|
503
|
+
default: withCtx(() => [
|
|
504
|
+
_cache[7] || (_cache[7] = createElementVNode("h3", { class: "mn-b-small" }, "Add to order", -1)),
|
|
505
|
+
createElementVNode("div", _hoisted_8, [
|
|
506
|
+
createVNode(_sfc_main$a, {
|
|
507
|
+
showLoadMore: false,
|
|
508
|
+
search: { placeholder: "Search products...", class: "bg-white mn-b-thin" },
|
|
509
|
+
states: { empty: { title: "No Products Found", description: "Currently, there are no such products available." }, skeleton: { hide: true } },
|
|
510
|
+
store: { read: (options) => actions$2.read(options), state: null },
|
|
511
|
+
options: { owner: order.value?.owner.target._id }
|
|
512
|
+
}, {
|
|
513
|
+
default: withCtx(({ items }) => [
|
|
514
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (product, index) => {
|
|
515
|
+
return openBlock(), createBlock(_sfc_main$8, {
|
|
516
|
+
key: `${product._id}_${index}`,
|
|
517
|
+
editable: false,
|
|
518
|
+
productId: product._id,
|
|
519
|
+
images: product.images,
|
|
520
|
+
name: product.name,
|
|
521
|
+
onClick: () => selectProduct(product),
|
|
522
|
+
class: "bg-white pd-thin radius-medium w-100 mn-b-thin cursor-pointer"
|
|
523
|
+
}, null, 8, ["productId", "images", "name", "onClick"]);
|
|
524
|
+
}), 128))
|
|
525
|
+
]),
|
|
526
|
+
_: 1
|
|
527
|
+
}, 8, ["store", "options"])
|
|
528
|
+
])
|
|
529
|
+
]),
|
|
530
|
+
_: 1
|
|
531
|
+
}, 8, ["isPopupOpen", "align", "class"]),
|
|
532
|
+
createVNode(_sfc_main$7, {
|
|
533
|
+
title: "Select variant",
|
|
534
|
+
onClosePopup: closeAddVariantsPopup,
|
|
535
|
+
isPopupOpen: isAddVariantsPopupOpen.value,
|
|
536
|
+
align: unref(isPhone)() || unref(isTablet)() ? "bottom center" : "center center",
|
|
537
|
+
class: normalizeClass([
|
|
538
|
+
"bg-white w-100 radius-medium pd-medium",
|
|
539
|
+
unref(isPhone)() || unref(isTablet)() ? "radius-zero radius-tr-medium radius-tl-medium" : "w-max-30r"
|
|
540
|
+
])
|
|
541
|
+
}, {
|
|
542
|
+
default: withCtx(() => [
|
|
543
|
+
createVNode(_sfc_main$a, {
|
|
544
|
+
store: unref(variantsStore),
|
|
545
|
+
options: { product: selectedProduct.value?._id },
|
|
546
|
+
states: { empty: { title: "No variants", description: "Create your first variant" } }
|
|
547
|
+
}, {
|
|
548
|
+
default: withCtx(({ items }) => [
|
|
549
|
+
createElementVNode("div", _hoisted_9, [
|
|
550
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (variant, index) => {
|
|
551
|
+
return openBlock(), createElementBlock("div", {
|
|
552
|
+
key: index,
|
|
553
|
+
onClick: ($event) => addVariantToOrder(variant),
|
|
554
|
+
class: "w-100 cursor-pointer hover:scale-[1.05] bg-light pd-small radius-small flex-v-center flex-nowrap flex gap-thin"
|
|
555
|
+
}, [
|
|
556
|
+
variant.images && variant.images.length ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
557
|
+
createElementVNode("img", {
|
|
558
|
+
src: (_ctx.FILE_SERVER_URL || "") + variant.images[0],
|
|
559
|
+
class: "w-100 h-100 object-fit-cover"
|
|
560
|
+
}, null, 8, _hoisted_12)
|
|
561
|
+
])) : createCommentVNode("", true),
|
|
562
|
+
createElementVNode("div", null, [
|
|
563
|
+
createElementVNode("p", _hoisted_13, toDisplayString(variant.name || "Default variant"), 1),
|
|
564
|
+
variant.attributes && variant.attributes.length ? (openBlock(), createElementBlock("p", _hoisted_14, toDisplayString(variant.attributes.map((attr) => `${attr.name}: ${attr.value}`).join(", ")), 1)) : createCommentVNode("", true)
|
|
565
|
+
]),
|
|
566
|
+
createElementVNode("p", _hoisted_15, toDisplayString(unref(formatPrice)(variant.price || variant.cost)), 1)
|
|
567
|
+
], 8, _hoisted_10);
|
|
568
|
+
}), 128))
|
|
569
|
+
])
|
|
570
|
+
]),
|
|
571
|
+
_: 1
|
|
572
|
+
}, 8, ["store", "options"])
|
|
573
|
+
]),
|
|
574
|
+
_: 1
|
|
575
|
+
}, 8, ["isPopupOpen", "align", "class"]),
|
|
576
|
+
order.value ? (openBlock(), createElementBlock("div", _hoisted_16, [
|
|
577
|
+
createElementVNode("div", _hoisted_17, [
|
|
578
|
+
orderOrganization.value[0] ? (openBlock(), createBlock(_sfc_main$b, {
|
|
300
579
|
key: 0,
|
|
301
580
|
organization: orderOrganization.value[0],
|
|
302
581
|
showRating: true,
|
|
@@ -304,105 +583,141 @@ const _sfc_main = {
|
|
|
304
583
|
showProducts: false,
|
|
305
584
|
class: "bg-light mn-b-thin w-100 o-hidden radius-medium pd-small"
|
|
306
585
|
}, null, 8, ["organization"])) : createCommentVNode("", true),
|
|
307
|
-
createElementVNode("div",
|
|
308
|
-
createElementVNode("div",
|
|
309
|
-
createElementVNode("div",
|
|
310
|
-
_cache[
|
|
311
|
-
createElementVNode("span",
|
|
312
|
-
createElementVNode("p",
|
|
586
|
+
createElementVNode("div", _hoisted_18, [
|
|
587
|
+
createElementVNode("div", _hoisted_19, [
|
|
588
|
+
createElementVNode("div", _hoisted_20, [
|
|
589
|
+
_cache[8] || (_cache[8] = createElementVNode("span", { class: "d-block fw-medium p-regular mn-b-thin" }, " Order is ", -1)),
|
|
590
|
+
createElementVNode("span", _hoisted_21, toDisplayString(statusLabel(order.value.status)), 1),
|
|
591
|
+
createElementVNode("p", _hoisted_22, toDisplayString(unref(formatDate)(order.value.updatedAt, { language: unref(locale) })), 1)
|
|
313
592
|
])
|
|
314
593
|
]),
|
|
315
|
-
order.value.customer.target?.number ? (openBlock(), createElementBlock("div",
|
|
316
|
-
_cache[
|
|
317
|
-
createElementVNode("p",
|
|
594
|
+
order.value.customer.target?.number ? (openBlock(), createElementBlock("div", _hoisted_23, [
|
|
595
|
+
_cache[9] || (_cache[9] = createElementVNode("p", { class: "w-100 fw-medium p-regular" }, "Phone", -1)),
|
|
596
|
+
createElementVNode("p", _hoisted_24, toDisplayString(unref(formatPhone)(order.value.customer.target?.number) || "Not specified"), 1)
|
|
318
597
|
])) : createCommentVNode("", true),
|
|
319
|
-
createElementVNode("div",
|
|
320
|
-
_cache[
|
|
321
|
-
createElementVNode("p",
|
|
598
|
+
createElementVNode("div", _hoisted_25, [
|
|
599
|
+
_cache[10] || (_cache[10] = createElementVNode("p", { class: "fw-medium p-regular" }, "Address", -1)),
|
|
600
|
+
createElementVNode("p", _hoisted_26, toDisplayString(order.value.delivery.address || order.value.delivery.spot[0]?.profile.name + (order.value.delivery.spot[0]?.address ? ", " + order.value.delivery.spot[0].address : "") || "Not specified"), 1)
|
|
322
601
|
]),
|
|
323
|
-
order.value.comment ? (openBlock(), createElementBlock("div",
|
|
324
|
-
_cache[
|
|
602
|
+
order.value.comment ? (openBlock(), createElementBlock("div", _hoisted_27, [
|
|
603
|
+
_cache[11] || (_cache[11] = createElementVNode("p", { class: "mn-b-thin opacity-50 uppercase p-small fw-medium" }, " Comment ", -1)),
|
|
325
604
|
createElementVNode("p", null, toDisplayString(order.value.comment), 1)
|
|
326
605
|
])) : createCommentVNode("", true),
|
|
327
|
-
createElementVNode("div",
|
|
328
|
-
_cache[
|
|
329
|
-
createElementVNode("p",
|
|
606
|
+
createElementVNode("div", _hoisted_28, [
|
|
607
|
+
_cache[12] || (_cache[12] = createElementVNode("p", { class: "fw-medium p-regular" }, "Delivery", -1)),
|
|
608
|
+
createElementVNode("p", _hoisted_29, toDisplayString(order.value.delivery.type ? order.value.delivery.type : "Not specified"), 1)
|
|
330
609
|
]),
|
|
331
|
-
createElementVNode("div",
|
|
332
|
-
_cache[
|
|
333
|
-
createElementVNode("p",
|
|
610
|
+
createElementVNode("div", _hoisted_30, [
|
|
611
|
+
_cache[13] || (_cache[13] = createElementVNode("p", { class: "mn-r-auto fw-medium p-regular" }, "Payment", -1)),
|
|
612
|
+
createElementVNode("p", _hoisted_31, toDisplayString(order.value.payment.type ? order.value.payment.type : "Not specified"), 1),
|
|
334
613
|
createElementVNode("p", {
|
|
335
614
|
onClick: _cache[3] || (_cache[3] = ($event) => unref(route).meta.context !== "user" && unref(route).meta.context !== "root" ? openPaymentPopup() : console.log("Context:", unref(route).meta.context)),
|
|
336
|
-
class: "w-max pd-thin radius-small
|
|
337
|
-
}, toDisplayString(order.value.payment.status ? order.value.payment.status : "Unpaid"),
|
|
615
|
+
class: normalizeClass(["w-max pd-thin radius-small mn-l-thin cursor-pointer hover:bg-black t-right capitalize", paymentStatusClass(order.value.payment.status)])
|
|
616
|
+
}, toDisplayString(order.value.payment.status ? order.value.payment.status : "Unpaid"), 3)
|
|
338
617
|
])
|
|
339
618
|
]),
|
|
340
|
-
unref(route).meta.context !== "user" && unref(route).meta.context !== "root" ? (openBlock(), createElementBlock("div",
|
|
341
|
-
createElementVNode("div",
|
|
619
|
+
unref(route).meta.context !== "user" && unref(route).meta.context !== "root" ? (openBlock(), createElementBlock("div", _hoisted_32, [
|
|
620
|
+
createElementVNode("div", _hoisted_33, [
|
|
342
621
|
createVNode(IconTime, {
|
|
343
|
-
class: "i-medium
|
|
622
|
+
class: "i-medium opacity-50",
|
|
344
623
|
fill: "rgb(var(--black)"
|
|
345
624
|
}),
|
|
346
|
-
createElementVNode("p",
|
|
347
|
-
_cache[
|
|
348
|
-
_cache[
|
|
349
|
-
createTextVNode(toDisplayString(
|
|
625
|
+
createElementVNode("p", _hoisted_34, [
|
|
626
|
+
_cache[14] || (_cache[14] = createElementVNode("span", { class: "p-small opacity-50" }, "Estimated Reaction", -1)),
|
|
627
|
+
_cache[15] || (_cache[15] = createElementVNode("br", null, null, -1)),
|
|
628
|
+
createTextVNode(" " + toDisplayString(unref(formatDate)(order.value.deadline, { language: unref(locale) })), 1)
|
|
350
629
|
])
|
|
351
630
|
]),
|
|
352
631
|
getNextStatus(order.value.status) ? (openBlock(), createElementBlock("button", {
|
|
353
632
|
key: 0,
|
|
354
633
|
onClick: openStatusPopup,
|
|
355
|
-
class: "flex-child-default mn-l-auto bg-black t-white button"
|
|
634
|
+
class: "flex-child-default mn-l-auto bg-black t-white button radius-small"
|
|
356
635
|
}, " Mark as " + toDisplayString(getNextStatus(order.value.status).label), 1)) : createCommentVNode("", true)
|
|
357
636
|
])) : createCommentVNode("", true),
|
|
358
|
-
createElementVNode("div",
|
|
359
|
-
_cache[
|
|
360
|
-
createVNode(_sfc_main$
|
|
637
|
+
createElementVNode("div", _hoisted_35, [
|
|
638
|
+
_cache[16] || (_cache[16] = createElementVNode("h3", { class: "mn-b-small" }, "Chat With Us", -1)),
|
|
639
|
+
createVNode(_sfc_main$c, {
|
|
361
640
|
username: ["Order", "UserOrder"].includes(unref(route).name) ? order.value.user?.name || "User" : "Support",
|
|
362
641
|
user: state.user._id,
|
|
363
642
|
chatID: unref(route).params.order,
|
|
364
|
-
class: "radius-
|
|
643
|
+
class: "radius-small bs-black bg-light o-hidden"
|
|
365
644
|
}, null, 8, ["username", "user", "chatID"])
|
|
366
645
|
]),
|
|
367
|
-
_ctx.payment && _ctx.payment.Status === "CONFIRMED" ? (openBlock(), createElementBlock("span",
|
|
646
|
+
_ctx.payment && _ctx.payment.Status === "CONFIRMED" ? (openBlock(), createElementBlock("span", _hoisted_36, " Paid ")) : createCommentVNode("", true)
|
|
368
647
|
]),
|
|
369
|
-
createElementVNode("div",
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
(
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
648
|
+
createElementVNode("div", _hoisted_37, [
|
|
649
|
+
createElementVNode("div", _hoisted_38, [
|
|
650
|
+
_cache[17] || (_cache[17] = createElementVNode("h3", { class: "mn-b-small" }, "Customer", -1)),
|
|
651
|
+
unref(route).meta.context !== "user" && unref(route).meta.context !== "root" && order.value.customer?.target ? (openBlock(), createBlock(_component_router_link, {
|
|
652
|
+
key: 0,
|
|
653
|
+
to: customerLink.value,
|
|
654
|
+
class: "d-block w-100 pd-small bg-white radius-small"
|
|
655
|
+
}, {
|
|
656
|
+
default: withCtx(() => [
|
|
657
|
+
createVNode(_sfc_main$d, {
|
|
658
|
+
user: order.value.customer.target,
|
|
659
|
+
photo: order.value.customer.target.photo,
|
|
660
|
+
name: order.value.customer.target.profile?.name || "No name",
|
|
661
|
+
phone: unref(formatPhone)(order.value.customer.target.number || order.value.customer.target.phone)
|
|
662
|
+
}, {
|
|
663
|
+
actions: withCtx(() => [
|
|
664
|
+
customerContact.value ? (openBlock(), createElementBlock("a", {
|
|
665
|
+
key: 0,
|
|
666
|
+
href: customerContact.value.url,
|
|
667
|
+
target: customerContact.value.type !== "phone" ? "_blank" : null,
|
|
668
|
+
onClick: _cache[4] || (_cache[4] = withModifiers(() => {
|
|
669
|
+
}, ["stop"])),
|
|
670
|
+
class: "d-inline-flex flex-shrink-0 pd-micro pd-l-thin pd-r-thin radius-extra bg-second p-small fw-medium t-white flex-v-center gap-micro"
|
|
671
|
+
}, [
|
|
672
|
+
(openBlock(), createBlock(resolveDynamicComponent(customerContact.value.icon), { class: "i-small" })),
|
|
673
|
+
createTextVNode(" " + toDisplayString(customerContact.value.type === "phone" ? customerContact.value.value : customerContact.value.type), 1)
|
|
674
|
+
], 8, _hoisted_39)) : createCommentVNode("", true)
|
|
675
|
+
]),
|
|
676
|
+
_: 1
|
|
677
|
+
}, 8, ["user", "photo", "name", "phone"])
|
|
678
|
+
]),
|
|
679
|
+
_: 1
|
|
680
|
+
}, 8, ["to"])) : createCommentVNode("", true)
|
|
388
681
|
]),
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
682
|
+
createElementVNode("div", _hoisted_40, [
|
|
683
|
+
_cache[18] || (_cache[18] = createElementVNode("h3", { class: "mn-b-small" }, "Order Summary", -1)),
|
|
684
|
+
createElementVNode("ul", _hoisted_41, [
|
|
685
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(order.value.positions, (product, index) => {
|
|
686
|
+
return openBlock(), createBlock(_sfc_main$8, {
|
|
687
|
+
key: `${product._id}_${product.variant || "no-variant"}_${index}`,
|
|
688
|
+
editable: false,
|
|
689
|
+
productId: product._id,
|
|
690
|
+
variantId: product.variant,
|
|
691
|
+
images: product.images,
|
|
692
|
+
name: product.name,
|
|
693
|
+
quantity: product.quantity,
|
|
694
|
+
unit: product.unit,
|
|
695
|
+
dates: product.date,
|
|
696
|
+
listing: product.listing,
|
|
697
|
+
rentPeriod: product.rentPeriod || "day",
|
|
698
|
+
price: product.price,
|
|
699
|
+
class: "bg-white radius-small pd-small"
|
|
700
|
+
}, null, 8, ["productId", "variantId", "images", "name", "quantity", "unit", "dates", "listing", "rentPeriod", "price"]);
|
|
701
|
+
}), 128))
|
|
702
|
+
]),
|
|
703
|
+
createVNode(_sfc_main$9, {
|
|
704
|
+
totalPrice: unref(cartTotalPrice),
|
|
705
|
+
deliveryRate: deliveryCost.value,
|
|
706
|
+
currency: unref(returnCurrency)(),
|
|
707
|
+
showFees: unref(store).core.state.options?.orders?.showFees,
|
|
708
|
+
feesRate: unref(store).core.state.options?.orders?.feesRate || 0,
|
|
709
|
+
showVat: unref(store).core.state.options?.orders?.showVat,
|
|
710
|
+
vatRate: unref(store).core.state.options?.orders?.vatRate || 0,
|
|
711
|
+
showDeliveryFee: unref(store).core.state.options?.orders.showDeliveryFee
|
|
712
|
+
}, null, 8, ["totalPrice", "deliveryRate", "currency", "showFees", "feesRate", "showVat", "vatRate", "showDeliveryFee"])
|
|
713
|
+
])
|
|
399
714
|
])
|
|
400
715
|
])) : createCommentVNode("", true)
|
|
401
716
|
])) : createCommentVNode("", true);
|
|
402
717
|
};
|
|
403
718
|
}
|
|
404
719
|
};
|
|
405
|
-
const OrderBackoffice = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
720
|
+
const OrderBackoffice = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a2518a28"]]);
|
|
406
721
|
export {
|
|
407
722
|
OrderBackoffice as default
|
|
408
723
|
};
|