@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
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div v-if="data.length" class="pos-relative" @mouseleave="hoveredIdx = -1">
|
|
3
|
+
<svg :viewBox="`0 0 ${W} ${H}`" class="w-100 d-block" preserveAspectRatio="none" style="overflow: visible;">
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient :id="gradientId" x1="0" y1="0" x2="0" y2="1">
|
|
6
|
+
<stop offset="0%" stop-color="rgb(var(--second))" stop-opacity="0.15"/>
|
|
7
|
+
<stop offset="100%" stop-color="rgb(var(--second))" stop-opacity="0.01"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
</defs>
|
|
10
|
+
<!-- Horizontal grid lines -->
|
|
11
|
+
<line v-for="(tick, i) in ticks" :key="'g'+i" :x1="CHART_LEFT" :x2="CHART_RIGHT" :y1="getY(tick)" :y2="getY(tick)" stroke="rgb(var(--dark))" stroke-opacity="0.08" stroke-width="0.5" stroke-dasharray="3,3"/>
|
|
12
|
+
<!-- Y labels (inside, above grid lines) -->
|
|
13
|
+
<text v-for="(tick, i) in ticks" :key="'y'+i" :x="CHART_LEFT + 2" :y="getY(tick) - 4" text-anchor="start" fill="rgb(var(--dark))" fill-opacity="0.4" font-size="7.5" font-family="inherit">{{ formatValue(tick) }}</text>
|
|
14
|
+
<!-- Area gradient fill -->
|
|
15
|
+
<path :d="areaPath" :fill="`url(#${gradientId})`"/>
|
|
16
|
+
<!-- Line (smooth curve) -->
|
|
17
|
+
<path :d="linePath" fill="none" stroke="rgb(var(--second))" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>
|
|
18
|
+
<!-- Hover vertical line -->
|
|
19
|
+
<line v-if="hoveredIdx >= 0" :x1="getX(hoveredIdx)" :x2="getX(hoveredIdx)" :y1="CHART_TOP" :y2="CHART_BOTTOM" stroke="rgb(var(--dark))" stroke-opacity="0.1" stroke-width="0.5" stroke-dasharray="3,3"/>
|
|
20
|
+
<!-- Interactive hit areas -->
|
|
21
|
+
<rect v-for="(item, i) in data" :key="'h'+i" :x="getX(i) - hitWidth / 2" :y="CHART_TOP" :width="hitWidth" :height="CHART_BOTTOM - CHART_TOP" fill="transparent" @mouseenter="hoveredIdx = i"/>
|
|
22
|
+
<!-- Visible dot (only hovered) -->
|
|
23
|
+
<circle v-if="hoveredIdx >= 0" :cx="getX(hoveredIdx)" :cy="getY(data[hoveredIdx][valueKey])" r="3" fill="rgb(var(--second))" stroke="white" stroke-width="1.5" style="pointer-events: none"/>
|
|
24
|
+
<!-- X labels -->
|
|
25
|
+
<template v-for="(item, i) in data" :key="'x'+i">
|
|
26
|
+
<text v-if="showXLabel(i)" :x="getX(i)" :y="CHART_BOTTOM + 14" :text-anchor="i === 0 ? 'start' : i === data.length - 1 ? 'end' : 'middle'" fill="rgb(var(--dark))" fill-opacity="0.45" font-size="7.5" font-family="inherit">{{ formatLabel(item[labelKey]) }}</text>
|
|
27
|
+
</template>
|
|
28
|
+
</svg>
|
|
29
|
+
<!-- Hover Tooltip -->
|
|
30
|
+
<div
|
|
31
|
+
v-if="hoveredIdx >= 0"
|
|
32
|
+
class="pos-absolute bg-dark t-white pd-thin pd-l-small pd-r-small radius-small fw-medium"
|
|
33
|
+
style="pointer-events: none; white-space: nowrap; font-size: 11px; z-index: 5;"
|
|
34
|
+
:style="tooltipStyle"
|
|
35
|
+
>
|
|
36
|
+
<slot name="tooltip" :item="data[hoveredIdx]" :index="hoveredIdx">
|
|
37
|
+
{{ formatValue(data[hoveredIdx][valueKey]) }} · {{ formatLabel(data[hoveredIdx][labelKey]) }}
|
|
38
|
+
</slot>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<p v-else class="opacity-50">{{ emptyText }}</p>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<script setup>
|
|
45
|
+
import { ref, computed } from 'vue'
|
|
46
|
+
|
|
47
|
+
const props = defineProps({
|
|
48
|
+
data: { type: Array, default: () => [] },
|
|
49
|
+
valueKey: { type: String, default: 'value' },
|
|
50
|
+
labelKey: { type: String, default: 'label' },
|
|
51
|
+
formatValue: { type: Function, default: (v) => v },
|
|
52
|
+
formatLabel: { type: Function, default: (v) => v },
|
|
53
|
+
emptyText: { type: String, default: 'No data' }
|
|
54
|
+
})
|
|
55
|
+
|
|
56
|
+
const hoveredIdx = ref(-1)
|
|
57
|
+
|
|
58
|
+
// Unique gradient ID per instance
|
|
59
|
+
const gradientId = 'chart-grad-' + Math.random().toString(36).slice(2, 8)
|
|
60
|
+
|
|
61
|
+
// Chart dimensions (viewBox)
|
|
62
|
+
const W = 500
|
|
63
|
+
const H = 200
|
|
64
|
+
const CHART_LEFT = 5
|
|
65
|
+
const CHART_RIGHT = 495
|
|
66
|
+
const CHART_TOP = 15
|
|
67
|
+
const CHART_BOTTOM = 175
|
|
68
|
+
|
|
69
|
+
const maxValue = computed(() => {
|
|
70
|
+
if (!props.data.length) return 1
|
|
71
|
+
const max = Math.max(...props.data.map(d => d[props.valueKey]))
|
|
72
|
+
return max || 1
|
|
73
|
+
})
|
|
74
|
+
|
|
75
|
+
// Add ~10% headroom so line doesn't touch the top
|
|
76
|
+
const ceilValue = computed(() => maxValue.value * 1.1)
|
|
77
|
+
|
|
78
|
+
const hitWidth = computed(() => {
|
|
79
|
+
const total = props.data.length
|
|
80
|
+
if (total <= 1) return CHART_RIGHT - CHART_LEFT
|
|
81
|
+
return (CHART_RIGHT - CHART_LEFT) / total
|
|
82
|
+
})
|
|
83
|
+
|
|
84
|
+
function getX(i) {
|
|
85
|
+
const total = props.data.length
|
|
86
|
+
if (total <= 1) return (CHART_LEFT + CHART_RIGHT) / 2
|
|
87
|
+
return CHART_LEFT + (i / (total - 1)) * (CHART_RIGHT - CHART_LEFT)
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function getY(value) {
|
|
91
|
+
if (!ceilValue.value) return CHART_BOTTOM
|
|
92
|
+
return CHART_BOTTOM - (value / ceilValue.value) * (CHART_BOTTOM - CHART_TOP)
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// Nice ticks: 4-5 evenly spaced values
|
|
96
|
+
function calcTicks(max) {
|
|
97
|
+
if (!max || max <= 0) return [0]
|
|
98
|
+
const targetCount = 5
|
|
99
|
+
const rawStep = max / targetCount
|
|
100
|
+
const magnitude = Math.pow(10, Math.floor(Math.log10(rawStep)))
|
|
101
|
+
const residual = rawStep / magnitude
|
|
102
|
+
let niceStep
|
|
103
|
+
if (residual <= 1) niceStep = magnitude
|
|
104
|
+
else if (residual <= 2) niceStep = 2 * magnitude
|
|
105
|
+
else if (residual <= 5) niceStep = 5 * magnitude
|
|
106
|
+
else niceStep = 10 * magnitude
|
|
107
|
+
const ticks = []
|
|
108
|
+
for (let v = 0; v <= max; v += niceStep) ticks.push(Math.round(v))
|
|
109
|
+
if (ticks[ticks.length - 1] < max) ticks.push(Math.round(max))
|
|
110
|
+
return ticks
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Target ~6-8 labels max on X axis
|
|
114
|
+
function calcXStep(count) {
|
|
115
|
+
const maxLabels = 8
|
|
116
|
+
if (count <= maxLabels) return 1
|
|
117
|
+
return Math.ceil(count / maxLabels)
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
const ticks = computed(() => calcTicks(maxValue.value))
|
|
121
|
+
const xStep = computed(() => calcXStep(props.data.length))
|
|
122
|
+
|
|
123
|
+
function showXLabel(i) {
|
|
124
|
+
const len = props.data.length
|
|
125
|
+
if (len <= 2) return true
|
|
126
|
+
if (i === 0) return true
|
|
127
|
+
// Last label: only show if far enough from previous shown label
|
|
128
|
+
if (i === len - 1) {
|
|
129
|
+
const prevShown = Math.floor((len - 2) / xStep.value) * xStep.value
|
|
130
|
+
return (i - prevShown) >= xStep.value * 0.5
|
|
131
|
+
}
|
|
132
|
+
return i % xStep.value === 0
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// Monotone cubic spline interpolation (Fritsch-Carlson)
|
|
136
|
+
function monotonePath(points) {
|
|
137
|
+
if (points.length < 2) return ''
|
|
138
|
+
if (points.length === 2) return `M${points[0].x},${points[0].y}L${points[1].x},${points[1].y}`
|
|
139
|
+
|
|
140
|
+
const n = points.length
|
|
141
|
+
const dx = [], dy = [], m = []
|
|
142
|
+
for (let i = 0; i < n - 1; i++) {
|
|
143
|
+
dx.push(points[i + 1].x - points[i].x)
|
|
144
|
+
dy.push(points[i + 1].y - points[i].y)
|
|
145
|
+
m.push(dy[i] / dx[i])
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
const tangents = [m[0]]
|
|
149
|
+
for (let i = 1; i < n - 1; i++) {
|
|
150
|
+
if (m[i - 1] * m[i] <= 0) {
|
|
151
|
+
tangents.push(0)
|
|
152
|
+
} else {
|
|
153
|
+
tangents.push((m[i - 1] + m[i]) / 2)
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
tangents.push(m[n - 2])
|
|
157
|
+
|
|
158
|
+
// Fritsch-Carlson monotonicity
|
|
159
|
+
for (let i = 0; i < n - 1; i++) {
|
|
160
|
+
if (Math.abs(m[i]) < 1e-6) {
|
|
161
|
+
tangents[i] = 0
|
|
162
|
+
tangents[i + 1] = 0
|
|
163
|
+
} else {
|
|
164
|
+
const a = tangents[i] / m[i]
|
|
165
|
+
const b = tangents[i + 1] / m[i]
|
|
166
|
+
const s = a * a + b * b
|
|
167
|
+
if (s > 9) {
|
|
168
|
+
const t = 3 / Math.sqrt(s)
|
|
169
|
+
tangents[i] = t * a * m[i]
|
|
170
|
+
tangents[i + 1] = t * b * m[i]
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
let d = `M${points[0].x},${points[0].y}`
|
|
176
|
+
for (let i = 0; i < n - 1; i++) {
|
|
177
|
+
const seg = dx[i] / 3
|
|
178
|
+
const cp1x = points[i].x + seg
|
|
179
|
+
const cp1y = points[i].y + tangents[i] * seg
|
|
180
|
+
const cp2x = points[i + 1].x - seg
|
|
181
|
+
const cp2y = points[i + 1].y - tangents[i + 1] * seg
|
|
182
|
+
d += `C${cp1x},${cp1y},${cp2x},${cp2y},${points[i + 1].x},${points[i + 1].y}`
|
|
183
|
+
}
|
|
184
|
+
return d
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
const chartPoints = computed(() => {
|
|
188
|
+
return props.data.map((d, i) => ({
|
|
189
|
+
x: getX(i),
|
|
190
|
+
y: getY(d[props.valueKey])
|
|
191
|
+
}))
|
|
192
|
+
})
|
|
193
|
+
|
|
194
|
+
const linePath = computed(() => monotonePath(chartPoints.value))
|
|
195
|
+
|
|
196
|
+
const areaPath = computed(() => {
|
|
197
|
+
if (!chartPoints.value.length) return ''
|
|
198
|
+
const line = linePath.value
|
|
199
|
+
const last = chartPoints.value[chartPoints.value.length - 1]
|
|
200
|
+
const first = chartPoints.value[0]
|
|
201
|
+
return `${line}L${last.x},${CHART_BOTTOM}L${first.x},${CHART_BOTTOM}Z`
|
|
202
|
+
})
|
|
203
|
+
|
|
204
|
+
const tooltipStyle = computed(() => {
|
|
205
|
+
if (hoveredIdx.value < 0) return {}
|
|
206
|
+
const i = hoveredIdx.value
|
|
207
|
+
const item = props.data[i]
|
|
208
|
+
const x = getX(i)
|
|
209
|
+
const y = getY(item[props.valueKey])
|
|
210
|
+
return {
|
|
211
|
+
left: `${(x / W) * 100}%`,
|
|
212
|
+
top: `${(y / H) * 100}%`,
|
|
213
|
+
transform: 'translate(-50%, -100%) translateY(-0.5rem)'
|
|
214
|
+
}
|
|
215
|
+
})
|
|
216
|
+
</script>
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
class=""
|
|
4
|
+
>
|
|
5
5
|
<slot></slot>
|
|
6
6
|
<p
|
|
7
|
-
|
|
7
|
+
v-if="chips?.length"
|
|
8
8
|
v-for="(chip,index) in chips"
|
|
9
|
-
|
|
10
|
-
class="mn-r-nano d-inline-block w-max p-regular pd-thin radius-thin fw-medium bg-main"
|
|
9
|
+
class="mn-r-nano d-inline-block w-max pd-thin radius-thin fw-medium bg-main"
|
|
11
10
|
>
|
|
12
11
|
{{chip.text ? chip.text : chip}}
|
|
13
12
|
</p>
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="gap-thin flex-nowrap flex flex-center">
|
|
3
3
|
<div v-if="isTimeOver" class="flex-child-grow-1 flex-shrink-0 flex-child-basis-auto pd-medium bg-blur-small bg-white-transp-5 radius-small">
|
|
4
|
-
<p class="p-small
|
|
4
|
+
<p class="p-small opacity-50">Offer is over</p>
|
|
5
5
|
</div>
|
|
6
6
|
|
|
7
7
|
<div v-if="!isTimeOver" class="flex-child-grow-1 flex-shrink-0 flex-child-basis-auto pd-thin bg-blur-small bg-white-transp-5 radius-small">
|
|
8
8
|
<p class="p-medium">{{ days }}</p>
|
|
9
|
-
<p class="p-small
|
|
9
|
+
<p class="p-small opacity-50">Days</p>
|
|
10
10
|
</div>
|
|
11
11
|
<div v-if="!isTimeOver" class="flex-child-grow-1 flex-shrink-0 flex-child-basis-auto pd-thin bg-blur-small bg-white-transp-5 radius-small">
|
|
12
12
|
<p class="p-medium">{{ hours }}</p>
|
|
13
|
-
<p class="p-small
|
|
13
|
+
<p class="p-small opacity-50">hours</p>
|
|
14
14
|
</div>
|
|
15
15
|
<div v-if="!isTimeOver" class="flex-child-grow-1 flex-shrink-0 flex-child-basis-auto pd-thin bg-blur-small bg-white-transp-5 radius-small">
|
|
16
16
|
<p class="p-medium">{{ minutes }}</p>
|
|
17
|
-
<p class="p-small
|
|
17
|
+
<p class="p-small opacity-50">minutes</p>
|
|
18
18
|
</div>
|
|
19
19
|
<div v-if="!isTimeOver" class="flex-child-grow-1 flex-shrink-0 flex-child-basis-auto pd-thin bg-blur-small bg-white-transp-5 radius-small">
|
|
20
20
|
<p class="p-medium">{{ seconds }}</p>
|
|
21
|
-
<p class="p-small
|
|
21
|
+
<p class="p-small opacity-50">seconds</p>
|
|
22
22
|
</div>
|
|
23
23
|
</div>
|
|
24
24
|
</template>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
v-if="index === 0 || dates[index - 1].getMonth() !== date.getMonth()"
|
|
11
11
|
class="mn-r-thin mn-l-thin pd-thin radius-thin flex-column flex-center flex bg-light"
|
|
12
12
|
>
|
|
13
|
-
<span class="
|
|
13
|
+
<span class="opacity-50 t-noselect p-small mn-b-thin">
|
|
14
14
|
{{ String(date.getMonth() + 1).padStart(2, '0') }}/{{ date.getFullYear() }}
|
|
15
15
|
</span>
|
|
16
16
|
<span class="t-noselect fw-semi">
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}"
|
|
28
28
|
class="ease-in-out hover:bg-light cursor-pointer o-y-visible scroll-snap-start mn-r-thin mn-l-thin pd-thin radius-thin flex-column flex-center flex"
|
|
29
29
|
>
|
|
30
|
-
<span class="
|
|
30
|
+
<span class="opacity-50 t-noselect p-small mn-b-thin">
|
|
31
31
|
{{ dayLetter(date) }}
|
|
32
32
|
</span>
|
|
33
33
|
<span
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex-nowrap flex gap-small">
|
|
3
|
-
<VueDraggableNext v-if="localImages.length > 0" class="gap-small flex dragArea list-group w-full" v-model="localImages" @change="emitChanges">
|
|
4
|
-
<div v-for="(image, index) in localImages" class="pos-relative">
|
|
2
|
+
<div class="flex-nowrap flex gap-small o-x-scroll scroll-hide pd-t-small pd-r-small">
|
|
3
|
+
<VueDraggableNext v-if="localImages.length > 0" class="gap-small flex flex-nowrap dragArea list-group w-full" v-model="localImages" @change="emitChanges">
|
|
4
|
+
<div v-for="(image, index) in localImages" class="pos-relative flex-child-default">
|
|
5
5
|
<img loading="lazy" class="i-extra object-fit-contain bg-black-transp-5 pd-nano radius-small o-hidden" :src="(FILE_SERVER_URL || '') + image" />
|
|
6
6
|
|
|
7
7
|
<IconCross
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<section>
|
|
3
3
|
<h5 class="mn-b-small">{{ title }}</h5>
|
|
4
|
-
<p class="
|
|
4
|
+
<p class="opacity-50 p-regular">{{ description }}</p>
|
|
5
5
|
|
|
6
6
|
<button v-if="action" @click="callback" class="mn-t-small t-white bg-second w-100 button">
|
|
7
7
|
{{ action }}
|
|
@@ -73,11 +73,11 @@ const text = ref(props.field);
|
|
|
73
73
|
<!-- Слот для иконки -->
|
|
74
74
|
<slot name="icon" v-if="$slots.icon" />
|
|
75
75
|
<!-- Или компонент иконки через пропс -->
|
|
76
|
-
<component :is="icon" v-else-if="icon" class="i-medium
|
|
76
|
+
<component :is="icon" v-else-if="icon" class="i-medium opacity-50 mn-r-thin" />
|
|
77
77
|
|
|
78
78
|
<div
|
|
79
79
|
v-if="label"
|
|
80
|
-
class="
|
|
80
|
+
class="opacity-50 mn-r-small"
|
|
81
81
|
>
|
|
82
82
|
<span class="ws-nowrap">
|
|
83
83
|
{{label}}
|
|
@@ -124,7 +124,7 @@ const text = ref(props.field);
|
|
|
124
124
|
<slot></slot>
|
|
125
125
|
<div
|
|
126
126
|
v-if="symbol"
|
|
127
|
-
class="
|
|
127
|
+
class="opacity-50 mn-l-small"
|
|
128
128
|
>
|
|
129
129
|
<span>
|
|
130
130
|
{{symbol}}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
>
|
|
13
13
|
<div
|
|
14
14
|
v-if="label"
|
|
15
|
-
class="
|
|
15
|
+
class="opacity-50 mn-r-small"
|
|
16
16
|
>
|
|
17
17
|
<span class="ws-nowrap">
|
|
18
18
|
{{ label }}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
<div class="w-100">
|
|
23
23
|
<span v-if="formattedDate" class="t-black">{{ formattedDate }}</span>
|
|
24
|
-
<span v-else class="
|
|
24
|
+
<span v-else class="opacity-50">{{ placeholder }}</span>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
27
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
<script setup>
|
|
21
21
|
import { ref, onMounted, watchEffect } from 'vue';
|
|
22
|
-
import {
|
|
22
|
+
import { setOptions, importLibrary } from "@googlemaps/js-api-loader";
|
|
23
23
|
|
|
24
24
|
import Loader from '@martyrs/src/components/Loader/Loader.vue'
|
|
25
25
|
|
|
@@ -45,18 +45,24 @@ const emit = defineEmits(['update:location', 'update:address', 'update:country',
|
|
|
45
45
|
const mapContainer = ref(null);
|
|
46
46
|
const locationLoading = ref(false);
|
|
47
47
|
|
|
48
|
-
let map, marker;
|
|
48
|
+
let map, marker, LatLng, Geocoder;
|
|
49
49
|
|
|
50
|
-
onMounted(() => {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
50
|
+
onMounted(async () => {
|
|
51
|
+
try {
|
|
52
|
+
setOptions({
|
|
53
|
+
apiKey: props.apiKey,
|
|
54
|
+
version: "weekly",
|
|
55
|
+
language: props.locale,
|
|
56
|
+
});
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
const mapsLib = await importLibrary("maps");
|
|
59
|
+
const markerLib = await importLibrary("marker");
|
|
60
|
+
const coreLib = await importLibrary("core");
|
|
61
|
+
const geocodingLib = await importLibrary("geocoding");
|
|
62
|
+
LatLng = coreLib.LatLng;
|
|
63
|
+
Geocoder = geocodingLib.Geocoder;
|
|
64
|
+
|
|
65
|
+
map = new mapsLib.Map(mapContainer.value, {
|
|
60
66
|
center: props.location,
|
|
61
67
|
zoom: 15,
|
|
62
68
|
mapTypeControl: false,
|
|
@@ -64,7 +70,7 @@ onMounted(() => {
|
|
|
64
70
|
disableDefaultUI: true
|
|
65
71
|
});
|
|
66
72
|
|
|
67
|
-
marker = new
|
|
73
|
+
marker = new markerLib.Marker({
|
|
68
74
|
position: props.location,
|
|
69
75
|
map,
|
|
70
76
|
draggable: true,
|
|
@@ -77,29 +83,30 @@ onMounted(() => {
|
|
|
77
83
|
|
|
78
84
|
getAddressFromLocation(newLocation);
|
|
79
85
|
});
|
|
80
|
-
}
|
|
86
|
+
} catch (e) {
|
|
81
87
|
console.error(e);
|
|
82
|
-
}
|
|
88
|
+
}
|
|
83
89
|
});
|
|
84
90
|
|
|
85
91
|
watchEffect(() => {
|
|
86
|
-
if (props.location && marker) {
|
|
87
|
-
marker.setPosition(new
|
|
92
|
+
if (props.location && marker && LatLng) {
|
|
93
|
+
marker.setPosition(new LatLng(props.location.lat, props.location.lng));
|
|
88
94
|
}
|
|
89
95
|
});
|
|
90
96
|
|
|
91
97
|
watchEffect(() => {
|
|
92
|
-
if (props.location && map) {
|
|
93
|
-
const newCenter = new
|
|
94
|
-
|
|
98
|
+
if (props.location && map && LatLng) {
|
|
99
|
+
const newCenter = new LatLng(props.location.lat, props.location.lng);
|
|
100
|
+
|
|
95
101
|
map.setCenter(newCenter);
|
|
96
102
|
map.setZoom(15);
|
|
97
103
|
}
|
|
98
104
|
});
|
|
99
105
|
|
|
100
106
|
function getAddressFromLocation(location) {
|
|
101
|
-
|
|
102
|
-
|
|
107
|
+
if (!Geocoder) return;
|
|
108
|
+
|
|
109
|
+
const geocoder = new Geocoder();
|
|
103
110
|
|
|
104
111
|
geocoder.geocode({ 'location': location }, (results, status) => {
|
|
105
112
|
if (status === 'OK') {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import { ref, onMounted, watch } from 'vue';
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { setOptions, importLibrary } from "@googlemaps/js-api-loader";
|
|
11
11
|
|
|
12
12
|
const props = defineProps({
|
|
13
13
|
location: Object,
|
|
@@ -18,17 +18,22 @@ const props = defineProps({
|
|
|
18
18
|
let gmap = ref(null);
|
|
19
19
|
let map = null;
|
|
20
20
|
let marker = null;
|
|
21
|
+
let LatLng = null;
|
|
21
22
|
|
|
22
23
|
onMounted(async () => {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
try {
|
|
25
|
+
setOptions({
|
|
26
|
+
apiKey: props.apiKey,
|
|
27
|
+
version: "weekly",
|
|
28
|
+
language: props.locale,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
const mapsLib = await importLibrary("maps");
|
|
32
|
+
const markerLib = await importLibrary("marker");
|
|
33
|
+
const coreLib = await importLibrary("core");
|
|
34
|
+
LatLng = coreLib.LatLng;
|
|
29
35
|
|
|
30
|
-
|
|
31
|
-
map = new google.maps.Map(gmap.value, {
|
|
36
|
+
map = new mapsLib.Map(gmap.value, {
|
|
32
37
|
zoom: 13,
|
|
33
38
|
center: {
|
|
34
39
|
lat: props.location.lat,
|
|
@@ -37,24 +42,24 @@ onMounted(async () => {
|
|
|
37
42
|
});
|
|
38
43
|
|
|
39
44
|
// Добавить маркер
|
|
40
|
-
marker = new
|
|
45
|
+
marker = new markerLib.Marker({
|
|
41
46
|
position: {
|
|
42
47
|
lat: props.location.lat,
|
|
43
48
|
lng: props.location.lng,
|
|
44
49
|
},
|
|
45
50
|
map: map,
|
|
46
51
|
});
|
|
47
|
-
|
|
52
|
+
} catch (e) {
|
|
48
53
|
console.error(e);
|
|
49
|
-
}
|
|
54
|
+
}
|
|
50
55
|
});
|
|
51
56
|
watch(() => props.location, () => {
|
|
52
|
-
if (map && marker) {
|
|
57
|
+
if (map && marker && LatLng) {
|
|
53
58
|
// Обновить позицию маркера
|
|
54
|
-
marker.setPosition(new
|
|
59
|
+
marker.setPosition(new LatLng(props.location.lat, props.location.lng));
|
|
55
60
|
|
|
56
61
|
// Обновить центр карты
|
|
57
|
-
map.setCenter(new
|
|
62
|
+
map.setCenter(new LatLng(props.location.lat, props.location.lng));
|
|
58
63
|
}
|
|
59
64
|
}, { deep: true });
|
|
60
65
|
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}"
|
|
9
9
|
>
|
|
10
10
|
<transition name="TransitionTranslateY" mode="out-in">
|
|
11
|
-
<section class="h-max-100 o-y-scroll pos-relative z-index-4" v-bind="$attrs"
|
|
11
|
+
<section class="h-max-100 o-y-scroll pos-relative z-index-4" v-bind="$attrs">
|
|
12
12
|
<h4 v-if="title" class="mn-b-medium">{{title}}</h4>
|
|
13
|
-
<div class="pos-absolute h-100 pos-t-0 pos-r-0">
|
|
14
|
-
<IconCross :fill="'rgb(var(--white))'" @click="closePopup()" class="cursor-pointer bg-second pd-micro radius-extra pos-sticky pos-t-0 pos-r-0 mn-t-medium mn-r-medium hover-scale-1 i-medium z-index-5"/>
|
|
13
|
+
<div class="pos-absolute h-100 pos-t-0 pos-r-0 no-events">
|
|
14
|
+
<IconCross :fill="'rgb(var(--white))'" @click="closePopup()" style="pointer-events: auto" class="cursor-pointer bg-second pd-micro radius-extra pos-sticky pos-t-0 pos-r-0 mn-t-medium mn-r-medium hover-scale-1 i-medium z-index-5"/>
|
|
15
15
|
</div>
|
|
16
16
|
<slot></slot>
|
|
17
17
|
</section>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<label class="flex-v-center flex-nowrap flex">
|
|
2
|
+
<label class="flex-v-center flex-nowrap flex" @click.stop.prevent="emit('update:radio', value)">
|
|
3
3
|
<!-- ////////////////////////// -->
|
|
4
4
|
<!-- Checkmark -->
|
|
5
5
|
<!-- ////////////////////////// -->
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<!-- Label -->
|
|
30
30
|
<!-- ////////////////////////// -->
|
|
31
31
|
|
|
32
|
-
<div v-if="label" class="mn-l-thin mn-r-auto
|
|
32
|
+
<div v-if="label" class="mn-l-thin mn-r-auto opacity-50 mn-r-small">
|
|
33
33
|
<span>{{label}}</span>
|
|
34
34
|
</div>
|
|
35
35
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
class="cursor-pointer field-wrapper flex-v-center flex-nowrap flex pos-relative"
|
|
10
10
|
>
|
|
11
11
|
<!-- Label -->
|
|
12
|
-
<span v-if="label" class="
|
|
12
|
+
<span v-if="label" class="opacity-50 mn-r-small">{{label}}</span>
|
|
13
13
|
|
|
14
14
|
<!-- Input -->
|
|
15
15
|
<span>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<component
|
|
9
9
|
:is="iconComponent"
|
|
10
10
|
fill="rgb(var(--white))"
|
|
11
|
-
class="
|
|
11
|
+
class="opacity-50 i-medium mn-r-thin z-index-5"
|
|
12
12
|
/>
|
|
13
13
|
<p class="w-100">
|
|
14
14
|
{{ te(`core.snacks.${message}`) ? t(`core.snacks.${message}`) : message }}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
t-white
|
|
8
8
|
bg-fourth
|
|
9
9
|
">
|
|
10
|
-
<IconInfo fill="rgb(var(--white))" class="
|
|
10
|
+
<IconInfo fill="rgb(var(--white))" class="opacity-50 i-medium mn-r-thin z-index-5"/>
|
|
11
11
|
<p class="w-100">
|
|
12
12
|
{{te(`core.errors.${data.message}`) ? t(`core.errors.${data.message}`) : data.message}}
|
|
13
13
|
</p>
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
<script setup>
|
|
3
3
|
import { defineProps, computed } from 'vue'
|
|
4
4
|
|
|
5
|
+
import { useRouter } from 'vue-router'
|
|
6
|
+
|
|
7
|
+
const router = useRouter()
|
|
8
|
+
|
|
5
9
|
const props = defineProps({
|
|
6
10
|
// принимаем уже отформатированный набор строк
|
|
7
11
|
items: {
|
|
@@ -14,9 +18,20 @@ const props = defineProps({
|
|
|
14
18
|
type: Array,
|
|
15
19
|
required: true,
|
|
16
20
|
default: () => []
|
|
21
|
+
},
|
|
22
|
+
// функция (row) => '/path' для кликабельных строк
|
|
23
|
+
rowLink: {
|
|
24
|
+
type: Function,
|
|
25
|
+
default: null
|
|
17
26
|
}
|
|
18
27
|
})
|
|
19
28
|
|
|
29
|
+
function onRowClick(row) {
|
|
30
|
+
if (!props.rowLink) return
|
|
31
|
+
const path = props.rowLink(row)
|
|
32
|
+
if (path) router.push(path)
|
|
33
|
+
}
|
|
34
|
+
|
|
20
35
|
// если вам нужен геттер для вложенных свойств
|
|
21
36
|
const getNestedValue = (obj, path) => path.split('.').reduce((o, k) => (o ? o[k] : undefined), obj)
|
|
22
37
|
</script>
|
|
@@ -32,7 +47,7 @@ const getNestedValue = (obj, path) => path.split('.').reduce((o, k) => (o ? o[k]
|
|
|
32
47
|
</tr>
|
|
33
48
|
</thead>
|
|
34
49
|
<tbody>
|
|
35
|
-
<tr v-for="(row, rowIndex) in props.items" :key="rowIndex">
|
|
50
|
+
<tr v-for="(row, rowIndex) in props.items" :key="rowIndex" :class="{ 'cursor-pointer hover-bg-light': rowLink }" @click="onRowClick(row)">
|
|
36
51
|
<td v-for="col in columns" :key="col.key" class="pd-small br-t-1px br-light t-left">
|
|
37
52
|
<!-- Передаем полный объект row и текущее значение -->
|
|
38
53
|
<slot :name="`cell-${col.key}`" :value="getNestedValue(row, col.key)" :row="row">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="[$attrs.class, { 'bg-fourth-nano': validation }]" class="flex-center flex-nowrap flex">
|
|
3
3
|
<!-- Label -->
|
|
4
|
-
<div v-if="label" class="
|
|
4
|
+
<div v-if="label" class="opacity-50 mn-r-small">
|
|
5
5
|
<span>{{label}}</span>
|
|
6
6
|
</div>
|
|
7
7
|
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<!-- Text block -->
|
|
44
44
|
<div v-if="text" class="upload-text-block flex flex-column">
|
|
45
45
|
<span class="mn-b-small fw-medium">{{ textConfig.title }}</span>
|
|
46
|
-
<span class="mn-b-medium
|
|
46
|
+
<span class="mn-b-medium opacity-50">{{ textConfig.subtitle }}</span>
|
|
47
47
|
<div v-if="!imageUrl && !photo && !previewUrl">
|
|
48
48
|
<button @click="onComponentClick" class="button button-small w-max bg-main t-black cursor-pointer">
|
|
49
49
|
{{ textConfig.buttonText }}
|