@ozdao/martyrs 0.2.425 → 0.2.426

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.
Files changed (165) hide show
  1. package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
  2. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
  3. package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
  4. package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
  5. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
  6. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
  7. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
  8. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
  9. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +1 -1
  10. package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
  11. package/dist/martyrs/src/components/Menu/{Menu.vue2.cjs → Menu.vue.cjs} +2 -2
  12. package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +1 -0
  13. package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
  14. package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
  15. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs +87 -5
  16. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs.map +1 -1
  17. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js +88 -6
  18. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js.map +1 -1
  19. package/dist/martyrs/src/components/Popup/{Popup.vue2.cjs → Popup.vue.cjs} +2 -2
  20. package/dist/martyrs/src/components/Popup/{Popup.vue2.js.map → Popup.vue.cjs.map} +1 -1
  21. package/dist/martyrs/src/components/Popup/{Popup.vue2.js → Popup.vue.js} +2 -2
  22. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +1 -0
  23. package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.cjs → SelectMulti.vue2.cjs} +2 -2
  24. package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.cjs.map +1 -0
  25. package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.js → SelectMulti.vue2.js} +2 -2
  26. package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.cjs.map → SelectMulti.vue2.js.map} +1 -1
  27. package/dist/martyrs/src/components/Tab/{Tab.vue.cjs → Tab.vue2.cjs} +2 -2
  28. package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +1 -0
  29. package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
  30. package/dist/martyrs/src/components/Tab/{Tab.vue.cjs.map → Tab.vue2.js.map} +1 -1
  31. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -1
  32. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +1 -1
  33. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  34. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  35. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  36. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  37. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
  38. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
  39. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
  40. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
  41. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +1 -1
  42. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  43. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  44. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  45. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  46. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  47. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  48. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  49. package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  50. package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  51. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  52. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  53. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
  54. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  55. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  56. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  57. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  58. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  59. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  60. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  61. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  62. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  63. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  64. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  65. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -1
  66. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
  67. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +1 -1
  68. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -1
  69. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  70. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  71. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +1 -1
  72. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +1 -1
  73. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  74. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  75. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  76. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  77. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  78. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  79. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
  80. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
  81. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  82. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
  83. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
  84. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
  85. package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  86. package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  87. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  88. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  89. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +3 -3
  90. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
  91. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  92. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
  93. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  94. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  95. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  96. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  97. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +3 -3
  98. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +3 -3
  99. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +2 -2
  100. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  101. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -2
  102. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
  103. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +3 -3
  104. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  105. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  106. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  107. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  108. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  109. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  110. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  111. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  112. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  113. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  114. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  115. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  116. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  117. package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +53 -15
  118. package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs.map +1 -1
  119. package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.js +54 -16
  120. package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.js.map +1 -1
  121. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  122. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  123. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  124. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  125. package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
  126. package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  127. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  128. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  129. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +39 -67
  130. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
  131. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +40 -68
  132. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
  133. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
  134. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  135. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +1 -1
  136. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +1 -1
  137. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  138. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  139. package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.cjs +1 -1
  140. package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.js +1 -1
  141. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +1 -1
  142. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
  143. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +2 -2
  144. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +2 -2
  145. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  146. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  147. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  148. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  149. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  150. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  151. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  152. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  153. package/dist/style.css +39 -61
  154. package/package.json +1 -1
  155. package/src/components/PhotoViewer/PhotoViewer.vue +140 -12
  156. package/src/modules/products/components/blocks/ImagesThumbnails.vue +46 -37
  157. package/src/modules/products/components/pages/Product.vue +5 -28
  158. package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
  159. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
  160. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
  161. package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
  162. package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
  163. package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +0 -1
  164. package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.js.map +0 -1
  165. package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
@@ -5,12 +5,12 @@ const vueRouter = require("vue-router");
5
5
  require("vue-i18n");
6
6
  ;/* empty css */
7
7
  const BlockTags = require("../../../../components/FieldTags/BlockTags.vue.cjs");
8
- ;/* empty css */
8
+ ;/* empty css */
9
9
  const Field = require("../../../../components/Field/Field.vue.cjs");
10
- const SelectMulti = require("../../../../components/SelectMulti/SelectMulti.vue.cjs");
10
+ const SelectMulti = require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");
11
11
  const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
12
12
  const Button = require("../../../../components/Button/Button.vue.cjs");
13
- ;/* empty css */
13
+ ;/* empty css */
14
14
  const auth = require("../../../auth/views/store/auth.cjs");
15
15
  const organizations = require("../../store/organizations.cjs");
16
16
  require("../../store/memberships.cjs");
@@ -3,12 +3,12 @@ import { useRoute, useRouter } from "vue-router";
3
3
  import "vue-i18n";
4
4
  /* empty css */
5
5
  import _sfc_main$2 from "../../../../components/FieldTags/BlockTags.vue.js";
6
- /* empty css */
6
+ /* empty css */
7
7
  import Field from "../../../../components/Field/Field.vue.js";
8
- import SelectMulti from "../../../../components/SelectMulti/SelectMulti.vue.js";
8
+ import SelectMulti from "../../../../components/SelectMulti/SelectMulti.vue2.js";
9
9
  import _sfc_main$1 from "../../../../components/UploadImage/UploadImage.vue.js";
10
10
  import _sfc_main$3 from "../../../../components/Button/Button.vue.js";
11
- /* empty css */
11
+ /* empty css */
12
12
  import { state as state$1 } from "../../../auth/views/store/auth.js";
13
13
  import { actions, state } from "../../store/organizations.js";
14
14
  import "../../store/memberships.js";
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
- const Tab = require("../../../../components/Tab/Tab.vue.cjs");
5
+ const Tab = require("../../../../components/Tab/Tab.vue2.cjs");
6
6
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
7
7
  const auth = require("../../../auth/views/store/auth.cjs");
8
8
  const organizations = require("../../store/organizations.cjs");
@@ -1,6 +1,6 @@
1
1
  import { ref, watch, createElementBlock, openBlock, createCommentVNode, createVNode, createElementVNode, Transition, withCtx, unref, Fragment, renderList, isMemoSame, createBlock } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
- import _sfc_main$1 from "../../../../components/Tab/Tab.vue.js";
3
+ import _sfc_main$1 from "../../../../components/Tab/Tab.vue2.js";
4
4
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
5
5
  import { state } from "../../../auth/views/store/auth.js";
6
6
  import { actions } from "../../store/organizations.js";
@@ -2,9 +2,9 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
- const Dropdown = require("../../../../components/Dropdown/Dropdown.vue.cjs");
5
+ const Dropdown = require("../../../../components/Dropdown/Dropdown.vue2.cjs");
6
6
  const Text = require("../../../../components/Text/Text.vue.cjs");
7
- const Chips = require("../../../../components/Chips/Chips.vue.cjs");
7
+ const Chips = require("../../../../components/Chips/Chips.vue2.cjs");
8
8
  const IconFollowing = require("../../../icons/entities/IconFollowing.vue.cjs");
9
9
  const IconEdit = require("../../../icons/navigation/IconEdit.vue.cjs");
10
10
  const IconEllipsis = require("../../../icons/navigation/IconEllipsis.vue.cjs");
@@ -1,8 +1,8 @@
1
1
  import { resolveComponent, createElementBlock, openBlock, createBlock, createCommentVNode, createElementVNode, createVNode, renderSlot, withCtx, toDisplayString, unref } from "vue";
2
2
  import { useRoute } from "vue-router";
3
- import _sfc_main$1 from "../../../../components/Dropdown/Dropdown.vue.js";
3
+ import _sfc_main$1 from "../../../../components/Dropdown/Dropdown.vue2.js";
4
4
  import _sfc_main$7 from "../../../../components/Text/Text.vue.js";
5
- import _sfc_main$8 from "../../../../components/Chips/Chips.vue.js";
5
+ import _sfc_main$8 from "../../../../components/Chips/Chips.vue2.js";
6
6
  import _sfc_main$6 from "../../../icons/entities/IconFollowing.vue.js";
7
7
  import _sfc_main$5 from "../../../icons/navigation/IconEdit.vue.js";
8
8
  import _sfc_main$2 from "../../../icons/navigation/IconEllipsis.vue.js";
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Field = require("../../../../components/Field/Field.vue.cjs");
6
6
  require("vue-i18n");
7
- ;/* empty css */
7
+ ;/* empty css */
8
8
  ;/* empty css */
9
9
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
10
10
  ;/* empty css */
@@ -2,7 +2,7 @@ import { ref, watchEffect, resolveComponent, createElementBlock, openBlock, crea
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import Field from "../../../../components/Field/Field.vue.js";
4
4
  import "vue-i18n";
5
- /* empty css */
5
+ /* empty css */
6
6
  /* empty css */
7
7
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
8
8
  /* empty css */
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  require("../../../../../../node_modules/js-cookie/dist/js.cookie.cjs");
6
- ;/* empty css */
6
+ ;/* empty css */
7
7
  ;/* empty css */
8
8
  ;/* empty css */
9
9
  const CardOrganization = require("../blocks/CardOrganization.vue.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, withAsyncContext, watch, createElementBlock, openBlock, createElementVNode, createBlock, Fragment, renderList, normalizeClass } from "vue";
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import "../../../../../../node_modules/js-cookie/dist/js.cookie.js";
4
- /* empty css */
4
+ /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  import _sfc_main$2 from "../blocks/CardOrganization.vue.js";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Block = require("../../../../../components/Block/Block.vue.cjs");
6
- const Popup = require("../../../../../components/Popup/Popup.vue2.cjs");
6
+ const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
7
7
  const Button = require("../../../../../components/Button/Button.vue.cjs");
8
8
  const Constructor = require("../../../../constructor/components/sections/Constructor.vue.cjs");
9
9
  const CardPage = require("../blocks/CardPage.vue.cjs");
@@ -1,7 +1,7 @@
1
1
  import { computed, ref, onMounted, createBlock, createCommentVNode, openBlock, withCtx, createElementBlock, createVNode, Fragment, renderList, createElementVNode, createTextVNode } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$1 from "../../../../../components/Block/Block.vue.js";
4
- import _sfc_main$3 from "../../../../../components/Popup/Popup.vue2.js";
4
+ import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
5
5
  import _sfc_main$5 from "../../../../../components/Button/Button.vue.js";
6
6
  import _sfc_main$4 from "../../../../constructor/components/sections/Constructor.vue.js";
7
7
  import _sfc_main$2 from "../blocks/CardPage.vue.js";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const Field = require("../../../../components/Field/Field.vue.cjs");
5
5
  const Select = require("../../../../components/Select/Select.vue.cjs");
6
- ;/* empty css */
6
+ ;/* empty css */
7
7
  ;/* empty css */
8
8
  const IconAdd = require("../../../icons/navigation/IconAdd.vue.cjs");
9
9
  const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, computed, watch, createElementBlock, openBlock, createElementVNode, createCommentVNode, createBlock, toDisplayString, withCtx, createVNode, unref } from "vue";
2
2
  import Field from "../../../../components/Field/Field.vue.js";
3
3
  import Select from "../../../../components/Select/Select.vue.js";
4
- /* empty css */
4
+ /* empty css */
5
5
  /* empty css */
6
6
  import _sfc_main$1 from "../../../icons/navigation/IconAdd.vue.js";
7
7
  import _sfc_main$2 from "../../../icons/navigation/IconDelete.vue.js";
@@ -1,24 +1,35 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
4
+ const Popup = require("../../../../components/Popup/Popup.vue.cjs");
5
5
  const PhotoViewer = require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs");
6
+ const Images360 = require("./Images360.vue.cjs");
6
7
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
7
- const _hoisted_1 = { class: "o-scroll w-100 product-images" };
8
- const _hoisted_2 = { class: "no-responsive w-max flex flex-nowrap gap-thin" };
9
- const _hoisted_3 = ["src", "onClick"];
8
+ const _hoisted_1 = { class: "w-100 o-hidden bg-light radius-big flex-nowrap flex-column flex pos-relative" };
9
+ const _hoisted_2 = ["src"];
10
+ const _hoisted_3 = {
11
+ key: 0,
12
+ class: "o-scroll w-100 pd-semi pd-t-zero"
13
+ };
14
+ const _hoisted_4 = { class: "no-responsive w-max flex flex-nowrap gap-thin" };
15
+ const _hoisted_5 = ["src", "onClick"];
10
16
  const _sfc_main = {
11
17
  __name: "ImagesThumbnails",
12
18
  props: {
13
19
  images: {
14
20
  type: Array,
15
21
  required: true
22
+ },
23
+ product: {
24
+ type: Object,
25
+ default: () => ({})
16
26
  }
17
27
  },
18
28
  setup(__props) {
19
29
  const isPopupVisible = vue.ref(false);
20
30
  const selectedImage = vue.ref(null);
21
31
  const openPopup = (image) => {
32
+ if (!image) return;
22
33
  selectedImage.value = image;
23
34
  isPopupVisible.value = true;
24
35
  };
@@ -26,18 +37,45 @@ const _sfc_main = {
26
37
  isPopupVisible.value = false;
27
38
  };
28
39
  return (_ctx, _cache) => {
40
+ var _a, _b;
41
+ const _component_PlaceholderImage = vue.resolveComponent("PlaceholderImage");
29
42
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
30
- vue.createElementVNode("div", _hoisted_2, [
31
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.images, (image, index) => {
32
- return vue.openBlock(), vue.createElementBlock("img", {
33
- loading: "lazy",
34
- key: index,
35
- src: (_ctx.FILE_SERVER_URL || "") + image,
36
- onClick: ($event) => openPopup(image),
37
- class: "flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail"
38
- }, null, 8, _hoisted_3);
39
- }), 128))
43
+ vue.createElementVNode("div", {
44
+ class: "pd-semi w-100 bg-light radius-semi o-hidden",
45
+ onClick: _cache[0] || (_cache[0] = ($event) => openPopup(__props.images[0]))
46
+ }, [
47
+ __props.product && __props.product.image3d ? (vue.openBlock(), vue.createBlock(Images360.default, {
48
+ key: 0,
49
+ class: "h-100 w-100",
50
+ imagePath: `/assets/images/products/${__props.product.image3d}`,
51
+ imageCount: 36
52
+ }, null, 8, ["imagePath"])) : vue.createCommentVNode("", true),
53
+ __props.images[0] && !((_a = __props.product) == null ? void 0 : _a.image3d) ? (vue.openBlock(), vue.createElementBlock("img", {
54
+ key: 1,
55
+ loading: "lazy",
56
+ class: "h-max h-max-15r bg-white radius-semi w-100",
57
+ style: { "object-fit": "contain" },
58
+ src: (_ctx.FILE_SERVER_URL || "") + __props.images[0]
59
+ }, null, 8, _hoisted_2)) : vue.createCommentVNode("", true),
60
+ !__props.images[0] && !((_b = __props.product) == null ? void 0 : _b.image3d) ? (vue.openBlock(), vue.createBlock(_component_PlaceholderImage, {
61
+ key: 2,
62
+ class: "h-max-20r h-100 w-100",
63
+ style: { "object-fit": "cover" }
64
+ })) : vue.createCommentVNode("", true)
40
65
  ]),
66
+ __props.images.length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
67
+ vue.createElementVNode("div", _hoisted_4, [
68
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.images, (image, index) => {
69
+ return vue.openBlock(), vue.createElementBlock("img", {
70
+ loading: "lazy",
71
+ key: index,
72
+ src: (_ctx.FILE_SERVER_URL || "") + image,
73
+ onClick: ($event) => openPopup(image),
74
+ class: "flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail"
75
+ }, null, 8, _hoisted_5);
76
+ }), 128))
77
+ ])
78
+ ])) : vue.createCommentVNode("", true),
41
79
  vue.createVNode(Popup.default, {
42
80
  onClosePopup: closePopup,
43
81
  isPopupOpen: isPopupVisible.value,
@@ -54,6 +92,6 @@ const _sfc_main = {
54
92
  };
55
93
  }
56
94
  };
57
- const ImagesThumbnails = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-77776640"]]);
95
+ const ImagesThumbnails = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-832a66d9"]]);
58
96
  exports.default = ImagesThumbnails;
59
97
  //# sourceMappingURL=ImagesThumbnails.vue.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImagesThumbnails.vue.cjs","sources":["../../../../../../../src/modules/products/components/blocks/ImagesThumbnails.vue"],"sourcesContent":["<template>\n <div class=\"o-scroll w-100 product-images\">\n <div class=\"no-responsive w-max flex flex-nowrap gap-thin\">\n <img loading=\"lazy\" \n v-for=\"(image, index) in images\"\n :key=\"index\"\n :src=\"(FILE_SERVER_URL || '') + image\" \n @click=\"openPopup(image)\"\n class=\"flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail\"\n />\n </div>\n <Popup @close-popup=\"closePopup\" :isPopupOpen=\"isPopupVisible\" class=\"radius-medium o-hidden\">\n <PhotoViewer\n :photoUrl=\"(FILE_SERVER_URL || '') + selectedImage\"\n />\n </Popup>\n </div>\n</template>\n\n<script setup>\nimport { ref } from \"vue\";\n\nimport Popup from '@martyrs/src/components/Popup/Popup.vue'\nimport PhotoViewer from '@martyrs/src/components/PhotoViewer/PhotoViewer.vue'\n\nconst props = defineProps({\n images: {\n type: Array,\n required: true,\n }\n});\n\nconst isPopupVisible = ref(false);\nconst selectedImage = ref(null);\n\nconst openPopup = (image) => {\n selectedImage.value = image;\n isPopupVisible.value = true;\n};\n\nconst closePopup = () => {\n isPopupVisible.value = false;\n};\n</script>\n\n<style scoped>\n.magnifier {\n max-width: 32rem;\n}\n.product-images {\n display: flex;\n flex-direction: column;\n}\n\n.thumbnail {\n width: 100%;\n max-width: 6rem;\n height: 6rem;\n object-fit: cover;\n cursor: pointer;\n}\n\n.popup {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: zoom-out;\n}\n\n.popup-image {\n max-width: 90%;\n max-height: 90%;\n}\n</style>"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;;AAgCA,UAAM,iBAAiBA,IAAG,IAAC,KAAK;AAChC,UAAM,gBAAgBA,IAAG,IAAC,IAAI;AAE9B,UAAM,YAAY,CAAC,UAAU;AAC3B,oBAAc,QAAQ;AACtB,qBAAe,QAAQ;AAAA,IACzB;AAEA,UAAM,aAAa,MAAM;AACvB,qBAAe,QAAQ;AAAA,IACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ImagesThumbnails.vue.cjs","sources":["../../../../../../../src/modules/products/components/blocks/ImagesThumbnails.vue"],"sourcesContent":["<template>\n <div class=\"w-100 o-hidden bg-light radius-big flex-nowrap flex-column flex pos-relative\">\n <!-- Main image container -->\n <div class=\"pd-semi w-100 bg-light radius-semi o-hidden\" @click=\"openPopup(images[0])\">\n <Images360\n v-if=\"product && product.image3d\"\n class=\"h-100 w-100\"\n :imagePath=\"`/assets/images/products/${product.image3d}`\"\n :imageCount=\"36\"\n />\n <img\n loading=\"lazy\"\n v-if=\"images[0] && !product?.image3d\"\n class=\"h-max h-max-15r bg-white radius-semi w-100\"\n style=\"object-fit: contain;\"\n :src=\"(FILE_SERVER_URL || '') + images[0]\"\n />\n <PlaceholderImage\n v-if=\"!images[0] && !product?.image3d\"\n class=\"h-max-20r h-100 w-100\"\n style=\"object-fit: cover;\"\n />\n </div>\n \n <!-- Thumbnails -->\n <div v-if=\"images.length > 1\" class=\"o-scroll w-100 pd-semi pd-t-zero\">\n <div class=\"no-responsive w-max flex flex-nowrap gap-thin\">\n <img loading=\"lazy\" \n v-for=\"(image, index) in images\"\n :key=\"index\"\n :src=\"(FILE_SERVER_URL || '') + image\" \n @click=\"openPopup(image)\"\n class=\"flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail\"\n />\n </div>\n </div>\n \n <!-- Popup with photo viewer -->\n <Popup @close-popup=\"closePopup\" :isPopupOpen=\"isPopupVisible\" class=\"radius-medium o-hidden\">\n <PhotoViewer\n :photoUrl=\"(FILE_SERVER_URL || '') + selectedImage\"\n />\n </Popup>\n </div>\n</template>\n\n<script setup>\nimport { ref } from \"vue\";\n\nimport Popup from '@martyrs/src/components/Popup/Popup.vue';\nimport PhotoViewer from '@martyrs/src/components/PhotoViewer/PhotoViewer.vue';\n\n\nimport Images360 from '@martyrs/src/modules/products/components/blocks/Images360.vue'\n\nconst props = defineProps({\n images: {\n type: Array,\n required: true,\n },\n product: {\n type: Object,\n default: () => ({})\n },\n});\n\nconst isPopupVisible = ref(false);\nconst selectedImage = ref(null);\n\nconst openPopup = (image) => {\n if (!image) return;\n selectedImage.value = image;\n isPopupVisible.value = true;\n};\n\nconst closePopup = () => {\n isPopupVisible.value = false;\n};\n</script>\n\n<style scoped>\n.thumbnail {\n width: 100%;\n max-width: 6rem;\n height: 6rem;\n object-fit: cover;\n cursor: pointer;\n}\n</style>"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEA,UAAM,iBAAiBA,IAAG,IAAC,KAAK;AAChC,UAAM,gBAAgBA,IAAG,IAAC,IAAI;AAE9B,UAAM,YAAY,CAAC,UAAU;AAC3B,UAAI,CAAC,MAAO;AACZ,oBAAc,QAAQ;AACtB,qBAAe,QAAQ;AAAA,IACzB;AAEA,UAAM,aAAa,MAAM;AACvB,qBAAe,QAAQ;AAAA,IACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,22 +1,33 @@
1
- import { ref, createElementBlock, openBlock, createElementVNode, createVNode, Fragment, renderList, withCtx } from "vue";
2
- import _sfc_main$1 from "../../../../components/Popup/Popup.vue2.js";
1
+ import { ref, resolveComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, createBlock, Fragment, renderList, withCtx } from "vue";
2
+ import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
3
3
  import _sfc_main$2 from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
4
+ import Images360 from "./Images360.vue.js";
4
5
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
- const _hoisted_1 = { class: "o-scroll w-100 product-images" };
6
- const _hoisted_2 = { class: "no-responsive w-max flex flex-nowrap gap-thin" };
7
- const _hoisted_3 = ["src", "onClick"];
6
+ const _hoisted_1 = { class: "w-100 o-hidden bg-light radius-big flex-nowrap flex-column flex pos-relative" };
7
+ const _hoisted_2 = ["src"];
8
+ const _hoisted_3 = {
9
+ key: 0,
10
+ class: "o-scroll w-100 pd-semi pd-t-zero"
11
+ };
12
+ const _hoisted_4 = { class: "no-responsive w-max flex flex-nowrap gap-thin" };
13
+ const _hoisted_5 = ["src", "onClick"];
8
14
  const _sfc_main = {
9
15
  __name: "ImagesThumbnails",
10
16
  props: {
11
17
  images: {
12
18
  type: Array,
13
19
  required: true
20
+ },
21
+ product: {
22
+ type: Object,
23
+ default: () => ({})
14
24
  }
15
25
  },
16
26
  setup(__props) {
17
27
  const isPopupVisible = ref(false);
18
28
  const selectedImage = ref(null);
19
29
  const openPopup = (image) => {
30
+ if (!image) return;
20
31
  selectedImage.value = image;
21
32
  isPopupVisible.value = true;
22
33
  };
@@ -24,18 +35,45 @@ const _sfc_main = {
24
35
  isPopupVisible.value = false;
25
36
  };
26
37
  return (_ctx, _cache) => {
38
+ var _a, _b;
39
+ const _component_PlaceholderImage = resolveComponent("PlaceholderImage");
27
40
  return openBlock(), createElementBlock("div", _hoisted_1, [
28
- createElementVNode("div", _hoisted_2, [
29
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.images, (image, index) => {
30
- return openBlock(), createElementBlock("img", {
31
- loading: "lazy",
32
- key: index,
33
- src: (_ctx.FILE_SERVER_URL || "") + image,
34
- onClick: ($event) => openPopup(image),
35
- class: "flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail"
36
- }, null, 8, _hoisted_3);
37
- }), 128))
41
+ createElementVNode("div", {
42
+ class: "pd-semi w-100 bg-light radius-semi o-hidden",
43
+ onClick: _cache[0] || (_cache[0] = ($event) => openPopup(__props.images[0]))
44
+ }, [
45
+ __props.product && __props.product.image3d ? (openBlock(), createBlock(Images360, {
46
+ key: 0,
47
+ class: "h-100 w-100",
48
+ imagePath: `/assets/images/products/${__props.product.image3d}`,
49
+ imageCount: 36
50
+ }, null, 8, ["imagePath"])) : createCommentVNode("", true),
51
+ __props.images[0] && !((_a = __props.product) == null ? void 0 : _a.image3d) ? (openBlock(), createElementBlock("img", {
52
+ key: 1,
53
+ loading: "lazy",
54
+ class: "h-max h-max-15r bg-white radius-semi w-100",
55
+ style: { "object-fit": "contain" },
56
+ src: (_ctx.FILE_SERVER_URL || "") + __props.images[0]
57
+ }, null, 8, _hoisted_2)) : createCommentVNode("", true),
58
+ !__props.images[0] && !((_b = __props.product) == null ? void 0 : _b.image3d) ? (openBlock(), createBlock(_component_PlaceholderImage, {
59
+ key: 2,
60
+ class: "h-max-20r h-100 w-100",
61
+ style: { "object-fit": "cover" }
62
+ })) : createCommentVNode("", true)
38
63
  ]),
64
+ __props.images.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_3, [
65
+ createElementVNode("div", _hoisted_4, [
66
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.images, (image, index) => {
67
+ return openBlock(), createElementBlock("img", {
68
+ loading: "lazy",
69
+ key: index,
70
+ src: (_ctx.FILE_SERVER_URL || "") + image,
71
+ onClick: ($event) => openPopup(image),
72
+ class: "flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail"
73
+ }, null, 8, _hoisted_5);
74
+ }), 128))
75
+ ])
76
+ ])) : createCommentVNode("", true),
39
77
  createVNode(_sfc_main$1, {
40
78
  onClosePopup: closePopup,
41
79
  isPopupOpen: isPopupVisible.value,
@@ -52,7 +90,7 @@ const _sfc_main = {
52
90
  };
53
91
  }
54
92
  };
55
- const ImagesThumbnails = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-77776640"]]);
93
+ const ImagesThumbnails = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-832a66d9"]]);
56
94
  export {
57
95
  ImagesThumbnails as default
58
96
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ImagesThumbnails.vue.js","sources":["../../../../../../../src/modules/products/components/blocks/ImagesThumbnails.vue"],"sourcesContent":["<template>\n <div class=\"o-scroll w-100 product-images\">\n <div class=\"no-responsive w-max flex flex-nowrap gap-thin\">\n <img loading=\"lazy\" \n v-for=\"(image, index) in images\"\n :key=\"index\"\n :src=\"(FILE_SERVER_URL || '') + image\" \n @click=\"openPopup(image)\"\n class=\"flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail\"\n />\n </div>\n <Popup @close-popup=\"closePopup\" :isPopupOpen=\"isPopupVisible\" class=\"radius-medium o-hidden\">\n <PhotoViewer\n :photoUrl=\"(FILE_SERVER_URL || '') + selectedImage\"\n />\n </Popup>\n </div>\n</template>\n\n<script setup>\nimport { ref } from \"vue\";\n\nimport Popup from '@martyrs/src/components/Popup/Popup.vue'\nimport PhotoViewer from '@martyrs/src/components/PhotoViewer/PhotoViewer.vue'\n\nconst props = defineProps({\n images: {\n type: Array,\n required: true,\n }\n});\n\nconst isPopupVisible = ref(false);\nconst selectedImage = ref(null);\n\nconst openPopup = (image) => {\n selectedImage.value = image;\n isPopupVisible.value = true;\n};\n\nconst closePopup = () => {\n isPopupVisible.value = false;\n};\n</script>\n\n<style scoped>\n.magnifier {\n max-width: 32rem;\n}\n.product-images {\n display: flex;\n flex-direction: column;\n}\n\n.thumbnail {\n width: 100%;\n max-width: 6rem;\n height: 6rem;\n object-fit: cover;\n cursor: pointer;\n}\n\n.popup {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: zoom-out;\n}\n\n.popup-image {\n max-width: 90%;\n max-height: 90%;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAgCA,UAAM,iBAAiB,IAAI,KAAK;AAChC,UAAM,gBAAgB,IAAI,IAAI;AAE9B,UAAM,YAAY,CAAC,UAAU;AAC3B,oBAAc,QAAQ;AACtB,qBAAe,QAAQ;AAAA,IACzB;AAEA,UAAM,aAAa,MAAM;AACvB,qBAAe,QAAQ;AAAA,IACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ImagesThumbnails.vue.js","sources":["../../../../../../../src/modules/products/components/blocks/ImagesThumbnails.vue"],"sourcesContent":["<template>\n <div class=\"w-100 o-hidden bg-light radius-big flex-nowrap flex-column flex pos-relative\">\n <!-- Main image container -->\n <div class=\"pd-semi w-100 bg-light radius-semi o-hidden\" @click=\"openPopup(images[0])\">\n <Images360\n v-if=\"product && product.image3d\"\n class=\"h-100 w-100\"\n :imagePath=\"`/assets/images/products/${product.image3d}`\"\n :imageCount=\"36\"\n />\n <img\n loading=\"lazy\"\n v-if=\"images[0] && !product?.image3d\"\n class=\"h-max h-max-15r bg-white radius-semi w-100\"\n style=\"object-fit: contain;\"\n :src=\"(FILE_SERVER_URL || '') + images[0]\"\n />\n <PlaceholderImage\n v-if=\"!images[0] && !product?.image3d\"\n class=\"h-max-20r h-100 w-100\"\n style=\"object-fit: cover;\"\n />\n </div>\n \n <!-- Thumbnails -->\n <div v-if=\"images.length > 1\" class=\"o-scroll w-100 pd-semi pd-t-zero\">\n <div class=\"no-responsive w-max flex flex-nowrap gap-thin\">\n <img loading=\"lazy\" \n v-for=\"(image, index) in images\"\n :key=\"index\"\n :src=\"(FILE_SERVER_URL || '') + image\" \n @click=\"openPopup(image)\"\n class=\"flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail\"\n />\n </div>\n </div>\n \n <!-- Popup with photo viewer -->\n <Popup @close-popup=\"closePopup\" :isPopupOpen=\"isPopupVisible\" class=\"radius-medium o-hidden\">\n <PhotoViewer\n :photoUrl=\"(FILE_SERVER_URL || '') + selectedImage\"\n />\n </Popup>\n </div>\n</template>\n\n<script setup>\nimport { ref } from \"vue\";\n\nimport Popup from '@martyrs/src/components/Popup/Popup.vue';\nimport PhotoViewer from '@martyrs/src/components/PhotoViewer/PhotoViewer.vue';\n\n\nimport Images360 from '@martyrs/src/modules/products/components/blocks/Images360.vue'\n\nconst props = defineProps({\n images: {\n type: Array,\n required: true,\n },\n product: {\n type: Object,\n default: () => ({})\n },\n});\n\nconst isPopupVisible = ref(false);\nconst selectedImage = ref(null);\n\nconst openPopup = (image) => {\n if (!image) return;\n selectedImage.value = image;\n isPopupVisible.value = true;\n};\n\nconst closePopup = () => {\n isPopupVisible.value = false;\n};\n</script>\n\n<style scoped>\n.thumbnail {\n width: 100%;\n max-width: 6rem;\n height: 6rem;\n object-fit: cover;\n cursor: pointer;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAkEA,UAAM,iBAAiB,IAAI,KAAK;AAChC,UAAM,gBAAgB,IAAI,IAAI;AAE9B,UAAM,YAAY,CAAC,UAAU;AAC3B,UAAI,CAAC,MAAO;AACZ,oBAAc,QAAQ;AACtB,qBAAe,QAAQ;AAAA,IACzB;AAEA,UAAM,aAAa,MAAM;AACvB,qBAAe,QAAQ;AAAA,IACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -8,7 +8,7 @@ const categories = require("../../store/categories.cjs");
8
8
  const Button = require("../../../../components/Button/Button.vue.cjs");
9
9
  const Block = require("../../../../components/Block/Block.vue.cjs");
10
10
  ;/* empty css */
11
- ;/* empty css */
11
+ ;/* empty css */
12
12
  ;/* empty css */
13
13
  ;/* empty css */
14
14
  const Tree = require("../../../../components/Tree/Tree.vue.cjs");
@@ -6,7 +6,7 @@ import { state as state$2, actions } from "../../store/categories.js";
6
6
  import _sfc_main$3 from "../../../../components/Button/Button.vue.js";
7
7
  import _sfc_main$2 from "../../../../components/Block/Block.vue.js";
8
8
  /* empty css */
9
- /* empty css */
9
+ /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  import _sfc_main$4 from "../../../../components/Tree/Tree.vue.js";
@@ -8,7 +8,7 @@ const Select = require("../../../../components/Select/Select.vue.cjs");
8
8
  const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
9
9
  const Field = require("../../../../components/Field/Field.vue.cjs");
10
10
  ;/* empty css */
11
- ;/* empty css */
11
+ ;/* empty css */
12
12
  ;/* empty css */
13
13
  ;/* empty css */
14
14
  const Block = require("../../../../components/Block/Block.vue.cjs");
@@ -6,7 +6,7 @@ import Select from "../../../../components/Select/Select.vue.js";
6
6
  import _sfc_main$4 from "../../../../components/UploadImage/UploadImage.vue.js";
7
7
  import Field from "../../../../components/Field/Field.vue.js";
8
8
  /* empty css */
9
- /* empty css */
9
+ /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  import _sfc_main$2 from "../../../../components/Block/Block.vue.js";
@@ -5,8 +5,8 @@ const Block = require("../../../../components/Block/Block.vue.cjs");
5
5
  const Field = require("../../../../components/Field/Field.vue.cjs");
6
6
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
7
7
  const Select = require("../../../../components/Select/Select.vue.cjs");
8
- const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
9
- ;/* empty css */
8
+ const Popup = require("../../../../components/Popup/Popup.vue.cjs");
9
+ ;/* empty css */
10
10
  const CardPosition = require("../blocks/CardPosition.vue.cjs");
11
11
  const CardOrderItem = require("../../../orders/components/blocks/CardOrderItem.vue.cjs");
12
12
  const vueRouter = require("vue-router");
@@ -3,8 +3,8 @@ import _sfc_main$4 from "../../../../components/Block/Block.vue.js";
3
3
  import Field from "../../../../components/Field/Field.vue.js";
4
4
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
5
5
  import Select from "../../../../components/Select/Select.vue.js";
6
- import _sfc_main$1 from "../../../../components/Popup/Popup.vue2.js";
7
- /* empty css */
6
+ import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
7
+ /* empty css */
8
8
  import _sfc_main$5 from "../blocks/CardPosition.vue.js";
9
9
  import _sfc_main$3 from "../../../orders/components/blocks/CardOrderItem.vue.js";
10
10
  import { useRoute, useRouter } from "vue-router";
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
- const Tab = require("../../../../components/Tab/Tab.vue.cjs");
5
+ const Tab = require("../../../../components/Tab/Tab.vue2.cjs");
6
6
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
7
7
  const CardLeftover = require("../blocks/CardLeftover.vue.cjs");
8
8
  const leftovers = require("../../store/leftovers.cjs");
@@ -1,6 +1,6 @@
1
1
  import { ref, computed, createElementBlock, openBlock, createElementVNode, createVNode, toDisplayString, unref, withCtx, Fragment, renderList, createBlock } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
- import _sfc_main$1 from "../../../../components/Tab/Tab.vue.js";
3
+ import _sfc_main$1 from "../../../../components/Tab/Tab.vue2.js";
4
4
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
5
5
  import CardLeftover from "../blocks/CardLeftover.vue.js";
6
6
  import { state, actions } from "../../store/leftovers.js";