@ozdao/prometheus-framework 0.2.303 → 0.2.305

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. package/dist/main.css +1 -1
  2. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  3. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  4. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs.map +1 -1
  5. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js.map +1 -1
  6. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +7 -9
  7. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs.map +1 -1
  8. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +8 -10
  9. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js.map +1 -1
  10. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +3 -3
  11. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
  12. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +3 -3
  13. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
  14. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +2 -2
  23. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js +2 -2
  24. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
  25. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  26. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
  27. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
  28. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
  29. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  30. package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +2 -2
  31. package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +2 -2
  32. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  34. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
  35. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  36. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +2 -2
  37. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
  38. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
  39. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  40. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  42. package/dist/prometheus-framework/src/modules/constructor/components/elements/Card.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/constructor/components/elements/Card.vue.js +1 -1
  44. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  46. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  48. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  50. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  52. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  53. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  54. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
  55. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  56. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  58. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  59. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  60. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +4 -1
  61. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs.map +1 -1
  62. package/dist/prometheus-framework/src/modules/globals/globals.client.js +4 -1
  63. package/dist/prometheus-framework/src/modules/globals/globals.client.js.map +1 -1
  64. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  66. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  68. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
  69. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
  70. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  72. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +2 -2
  73. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
  74. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +2 -2
  75. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
  76. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  77. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  78. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +2 -2
  79. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  80. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  82. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  84. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  86. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  88. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  89. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  90. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  91. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  92. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
  95. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  96. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +2 -2
  97. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  98. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
  99. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  100. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +1084 -1084
  101. package/dist/prometheus-framework/src/modules/pages/pages.client.js +1084 -1084
  102. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
  103. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
  104. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
  105. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
  106. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  108. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  110. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +13 -17
  111. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
  112. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +14 -18
  113. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
  114. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  116. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  118. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  120. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
  121. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  122. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  124. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
  125. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  126. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
  128. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  130. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +2 -2
  131. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  132. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  134. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  136. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  138. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  140. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  142. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
  144. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  145. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  146. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  148. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  150. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
  151. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  152. package/package.json +1 -1
  153. package/src/components/FieldPhone/FieldPhone.vue +1 -1
  154. package/src/modules/auth/views/components/layouts/Auth.vue +1 -1
  155. package/src/modules/globals/globals.client.js +5 -2
  156. package/src/modules/products/components/blocks/CardProduct.vue +0 -6
  157. package/src/styles/responsive.scss +3 -3
@@ -4,8 +4,8 @@ const vue = require("vue");
4
4
  const IconEdit = require("../../../../icons/navigation/IconEdit.vue.cjs");
5
5
  const IconAdd = require("../../../../icons/navigation/IconAdd.vue.cjs");
6
6
  ;/* empty css */
7
- ;/* empty css */
8
- ;/* empty css */
7
+ ;/* empty css */
8
+ ;/* empty css */
9
9
  const vueRouter = require("vue-router");
10
10
  ;/* empty css */
11
11
  const _hoisted_1 = { class: "flex flex-nowrap gap-thin card-page-title" };
@@ -2,8 +2,8 @@ import { ref, resolveComponent, openBlock, createElementBlock, createElementVNod
2
2
  import _sfc_main$1 from "../../../../icons/navigation/IconEdit.vue.js";
3
3
  import _sfc_main$2 from "../../../../icons/navigation/IconAdd.vue.js";
4
4
  /* empty css */
5
- /* empty css */
6
- /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
7
  import { useRouter } from "vue-router";
8
8
  /* empty css */
9
9
  const _hoisted_1 = { class: "flex flex-nowrap gap-thin card-page-title" };
@@ -4,8 +4,8 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const mixins = require("../../../../globals/views/mixins/mixins.cjs");
6
6
  const pages = require("../../store/pages.cjs");
7
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
8
- ;/* empty css */
7
+ const Button = require("../../../../../components/Button/Button.vue.cjs");
8
+ ;/* empty css */
9
9
  ;/* empty css */
10
10
  ;/* empty css */
11
11
  const Constructor = require("../../../../constructor/components/sections/Constructor.vue.cjs");
@@ -2,8 +2,8 @@ import { ref, onMounted, openBlock, createElementBlock, createVNode, createComme
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import { useGlobalMixins } from "../../../../globals/views/mixins/mixins.js";
4
4
  import { actions, state } from "../../store/pages.js";
5
- import _sfc_main$2 from "../../../../../components/Button/Button.vue2.js";
6
- /* empty css */
5
+ import _sfc_main$2 from "../../../../../components/Button/Button.vue.js";
6
+ /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  import _sfc_main$1 from "../../../../constructor/components/sections/Constructor.vue.js";
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Block = require("../../../../../components/Block/Block.vue.cjs");
6
6
  const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
7
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
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");
10
10
  const pages = require("../../store/pages.cjs");
@@ -2,7 +2,7 @@ import { computed, ref, onMounted, openBlock, createBlock, withCtx, createElemen
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$1 from "../../../../../components/Block/Block.vue.js";
4
4
  import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
5
- import _sfc_main$5 from "../../../../../components/Button/Button.vue2.js";
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";
8
8
  import { actions } from "../../store/pages.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const Field = require("../../../../components/Field/Field.vue2.cjs");
4
+ const Field = require("../../../../components/Field/Field.vue.cjs");
5
5
  const Select = require("../../../../components/Select/Select.vue.cjs");
6
6
  ;/* empty css */
7
7
  const IconAdd = require("../../../icons/navigation/IconAdd.vue.cjs");
@@ -1,5 +1,5 @@
1
1
  import { ref, computed, watch, openBlock, createElementBlock, createElementVNode, toDisplayString, createBlock, withCtx, createVNode, createCommentVNode, unref } from "vue";
2
- import Field from "../../../../components/Field/Field.vue2.js";
2
+ import Field from "../../../../components/Field/Field.vue.js";
3
3
  import Select from "../../../../components/Select/Select.vue.js";
4
4
  /* empty css */
5
5
  import _sfc_main$1 from "../../../icons/navigation/IconAdd.vue.js";
@@ -6,14 +6,15 @@ const IconEdit = require("../../../icons/navigation/IconEdit.vue.cjs");
6
6
  const THC = require("../elements/THC.vue.cjs");
7
7
  const Price = require("../elements/Price.vue.cjs");
8
8
  const PlaceholderImage = require("../../../icons/placeholders/PlaceholderImage.vue.cjs");
9
- const _hoisted_1 = ["src"];
10
- const _hoisted_2 = {
9
+ const _hoisted_1 = { class: "radius-big cols-1 o-hidden pos-relative" };
10
+ const _hoisted_2 = ["src"];
11
+ const _hoisted_3 = {
11
12
  key: 2,
12
13
  class: "pos-absolute bg-light t-black pd-thin radius-big p-small t-medium pos-t-medium pos-l-medium"
13
14
  };
14
- const _hoisted_3 = { class: "pd-medium t-left product-card-content" };
15
- const _hoisted_4 = { class: "mn-b-thin t-semi h4" };
16
- const _hoisted_5 = {
15
+ const _hoisted_4 = { class: "pd-medium t-left product-card-content" };
16
+ const _hoisted_5 = { class: "mn-b-thin t-semi h4" };
17
+ const _hoisted_6 = {
17
18
  key: 1,
18
19
  class: "mn-b-small t-transp p-small"
19
20
  };
@@ -35,12 +36,7 @@ const _sfc_main = {
35
36
  return (_ctx, _cache) => {
36
37
  var _a, _b;
37
38
  const _component_router_link = vue.resolveComponent("router-link");
38
- return vue.openBlock(), vue.createElementBlock("div", {
39
- class: vue.normalizeClass([
40
- "radius-big cols-1 o-hidden pos-relative",
41
- __props.product.information[2] && __props.product.information[2].value === "AAAA" ? "bg-black t-white" : "bg-white"
42
- ])
43
- }, [
39
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
44
40
  __props.user && __props.user.roles && (__props.user.roles.includes("ROLE_MODERATOR") || __props.user.roles.includes("ROLE_ADMIN")) ? (vue.openBlock(), vue.createBlock(_component_router_link, {
45
41
  key: 0,
46
42
  to: {
@@ -71,17 +67,17 @@ const _sfc_main = {
71
67
  loading: "lazy",
72
68
  src: (_ctx.FILE_SERVER_URL || "") + __props.product.images[0].split("/").slice(0, -1).join("/") + "/thumbnail_" + __props.product.images[0].split("/").pop(),
73
69
  class: "pos-absolute object-fit-cover h-max-100 w-100"
74
- }, null, 8, _hoisted_1)) : (vue.openBlock(), vue.createBlock(PlaceholderImage.default, {
70
+ }, null, 8, _hoisted_2)) : (vue.openBlock(), vue.createBlock(PlaceholderImage.default, {
75
71
  key: 1,
76
72
  class: "pos-absolute h-100 w-100"
77
73
  })),
78
- __props.product.quantity <= 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, "Out of Stock")) : vue.createCommentVNode("", true),
74
+ __props.product.quantity <= 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3, "Out of Stock")) : vue.createCommentVNode("", true),
79
75
  ((_a = __props.product.information) == null ? void 0 : _a.length) > 0 && ((_b = __props.product.information[1]) == null ? void 0 : _b.name) === "THC" ? (vue.openBlock(), vue.createBlock(THC.default, {
80
76
  key: 3,
81
77
  product: __props.product
82
78
  }, null, 8, ["product"])) : vue.createCommentVNode("", true)
83
79
  ], 2),
84
- vue.createElementVNode("div", _hoisted_3, [
80
+ vue.createElementVNode("div", _hoisted_4, [
85
81
  __props.product.information.length > 0 ? (vue.openBlock(), vue.createElementBlock("p", {
86
82
  key: 0,
87
83
  class: vue.normalizeClass([
@@ -89,8 +85,8 @@ const _sfc_main = {
89
85
  __props.product.information[2] && __props.product.information[2].value === "AAAA" ? "t-violet" : "t-main"
90
86
  ])
91
87
  }, vue.toDisplayString(__props.product.information[0].value), 3)) : vue.createCommentVNode("", true),
92
- vue.createElementVNode("p", _hoisted_4, vue.toDisplayString(__props.product.name), 1),
93
- __props.product.description && !__props.product.localization ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5, vue.toDisplayString(__props.product.description.substring(0, 99)) + "... ", 1)) : vue.createCommentVNode("", true),
88
+ vue.createElementVNode("p", _hoisted_5, vue.toDisplayString(__props.product.name), 1),
89
+ __props.product.description && !__props.product.localization ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_6, vue.toDisplayString(__props.product.description.substring(0, 99)) + "... ", 1)) : vue.createCommentVNode("", true),
94
90
  vue.createVNode(Price.default, {
95
91
  product: __props.product,
96
92
  size: "small",
@@ -99,7 +95,7 @@ const _sfc_main = {
99
95
  )
100
96
  }, null, 8, ["product", "class"])
101
97
  ])
102
- ], 2);
98
+ ]);
103
99
  };
104
100
  }
105
101
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CardProduct.vue.cjs","sources":["../../../../../../../src/modules/products/components/blocks/CardProduct.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"\n\t\t\tradius-big \n\t\t\tcols-1\n\t\t\to-hidden\n\t\t\tpos-relative\n\t\t\"\n\t\t:class=\"\n\t\t\tproduct.information[2] \n\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t? 'bg-black t-white' \n\t\t\t: 'bg-white'\n\t\t\"\n\t>\n\t\t<router-link\n\t\t\tv-if=\"user && user.roles && (user.roles.includes('ROLE_MODERATOR') || user.roles.includes('ROLE_ADMIN'))\"\n :to=\"{\n name: 'ProductEdit', \n params: {\n _id: $route.params.organization,\n product: product._id\n }\n }\" \n class=\"\n \tz-index-2\n cursor-pointer \n pos-absolute pos-t-regular pos-r-regular\n radius-extra pd-thin bg-second\n \"\n >\n <IconEdit\n class=\"i-regular\"\n classes=\"fill-white\"\n />\n </router-link>\n\n\t\t<!-- Product Image Sqaure -->\n\n\n\t\t<div \n\t\t\tclass=\"o-hidden w-100 pos-relative aspect-1x1\"\n\t\t\t:class=\"\n\t\t\t\tproduct.information[2] \n\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t? 'bg-black' \n\t\t\t\t: 'bg-white'\n\t\t\t\"\n\t\t>\n\n\t\t\t<!-- Image Wrappers -->\n\t\t\t<img loading=\"lazy\" \n\t\t\t\tv-if=\"product.images[0]\" \n\t\t\t\t:src=\"(FILE_SERVER_URL || '') + product.images[0].split('/').slice(0, -1).join('/') + '/thumbnail_' + product.images[0].split('/').pop()\"\n\t\t\t\tclass=\"pos-absolute object-fit-cover h-max-100 w-100\"\n\t\t\t>\n\n\t\t\t<PlaceholderImage\n\t\t\t\tv-else\n\t\t\t\tclass=\"pos-absolute h-100 w-100\"\n\t\t\t/>\n\t\t\t<span v-if=\"product.quantity <= 0\" class=\"pos-absolute bg-light t-black pd-thin radius-big p-small t-medium pos-t-medium pos-l-medium\">Out of Stock</span>\n\t\t\t<THC v-if=\"product.information?.length > 0 && product.information[1]?.name === 'THC'\" :product=\"product\" />\n\t\t</div>\n\n\t\t<!-- Product Info Start -->\n\t\t<div class=\"pd-medium t-left product-card-content\">\n\t\t\t<!-- Detail -->\n\t\t\t<p \n\t\t\t\tv-if=\"product.information.length > 0\" \n\t\t\t\tclass=\"t-semi h6\"\n\t\t\t\t:class=\"\n\t\t\t\t\tproduct.information[2] \n\t\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t\t? 't-violet' \n\t\t\t\t\t: 't-main'\n\t\t\t\t\" \n\t\t\t>\n\t\t\t\t{{product.information[0].value}}\n\t\t\t</p>\n\t\t\t<!-- Name -->\n\t\t\t<p class=\"mn-b-thin t-semi h4\">\n\t\t\t\t{{product.name}}\n\t\t\t</p>\n\n\t\t\t<p \n\t\t\t\tv-if=\"product.description && !product.localization\" \n\t\t\t\tclass=\"mn-b-small t-transp p-small\"\n\t\t\t>\n\t\t\t\t{{product.description.substring(0, 99)}}...\n\t\t\t</p>\n\n\t\t\t<!-- <p v-if=\"product.localization && product.localization.length > 1\" class=\"mn-b-small t-transp p-small\">\n\t\t\t\t<span v-if=\"$i18n.locale === 'en'\">{{product.localization[0].text.substring(0, 99)}}...</span>\n\t\t\t\t<span v-if=\"$i18n.locale === 'ru'\">{{product.localization[1].text.substring(0, 99)}}...</span>\n\t\t\t</p> -->\n\t\t\t\n\t\t\t<Price \n\t\t\t\t:product=\"product\" \n\t\t\t\tsize=\"small\" \n\t\t\t\t:class=\"\n\t\t\t\t\tproduct.information[2] \n\t\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t\t? 'bg-third t-white' \n\t\t\t\t\t: ''\n\t\t\t\t\" \n\t\t\t/>\n\t\t</div>\n\n\t</div>\n\n</template>\n\n\n<script setup=\"props\">\n\timport {computed } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n\n\timport THC from '@pf/src/modules/products/components/elements/THC.vue'\n\timport Price from '@pf/src/modules/products/components/elements/Price.vue'\n\n\timport PlaceholderImage from '@pf/src/modules/icons/placeholders/PlaceholderImage.vue'\n\n\tconst props = defineProps({\n\t\tproduct: {\n\t\t\ttype: Object\n\t\t},\n\t\tuser: {\n\t\t\ttype: [Object, String] \n\t\t},\n\t\ttype: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n const { t } = useI18n()\n</script>\n\n<style lang=\"scss\">\n\n</style>\n\n\n"],"names":["useI18n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyIgBA,oBAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"CardProduct.vue.cjs","sources":["../../../../../../../src/modules/products/components/blocks/CardProduct.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"\n\t\t\tradius-big \n\t\t\tcols-1\n\t\t\to-hidden\n\t\t\tpos-relative\n\t\t\"\n\t>\n\t\t<router-link\n\t\t\tv-if=\"user && user.roles && (user.roles.includes('ROLE_MODERATOR') || user.roles.includes('ROLE_ADMIN'))\"\n :to=\"{\n name: 'ProductEdit', \n params: {\n _id: $route.params.organization,\n product: product._id\n }\n }\" \n class=\"\n \tz-index-2\n cursor-pointer \n pos-absolute pos-t-regular pos-r-regular\n radius-extra pd-thin bg-second\n \"\n >\n <IconEdit\n class=\"i-regular\"\n classes=\"fill-white\"\n />\n </router-link>\n\n\t\t<!-- Product Image Sqaure -->\n\n\n\t\t<div \n\t\t\tclass=\"o-hidden w-100 pos-relative aspect-1x1\"\n\t\t\t:class=\"\n\t\t\t\tproduct.information[2] \n\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t? 'bg-black' \n\t\t\t\t: 'bg-white'\n\t\t\t\"\n\t\t>\n\n\t\t\t<!-- Image Wrappers -->\n\t\t\t<img loading=\"lazy\" \n\t\t\t\tv-if=\"product.images[0]\" \n\t\t\t\t:src=\"(FILE_SERVER_URL || '') + product.images[0].split('/').slice(0, -1).join('/') + '/thumbnail_' + product.images[0].split('/').pop()\"\n\t\t\t\tclass=\"pos-absolute object-fit-cover h-max-100 w-100\"\n\t\t\t>\n\n\t\t\t<PlaceholderImage\n\t\t\t\tv-else\n\t\t\t\tclass=\"pos-absolute h-100 w-100\"\n\t\t\t/>\n\t\t\t<span v-if=\"product.quantity <= 0\" class=\"pos-absolute bg-light t-black pd-thin radius-big p-small t-medium pos-t-medium pos-l-medium\">Out of Stock</span>\n\t\t\t<THC v-if=\"product.information?.length > 0 && product.information[1]?.name === 'THC'\" :product=\"product\" />\n\t\t</div>\n\n\t\t<!-- Product Info Start -->\n\t\t<div class=\"pd-medium t-left product-card-content\">\n\t\t\t<!-- Detail -->\n\t\t\t<p \n\t\t\t\tv-if=\"product.information.length > 0\" \n\t\t\t\tclass=\"t-semi h6\"\n\t\t\t\t:class=\"\n\t\t\t\t\tproduct.information[2] \n\t\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t\t? 't-violet' \n\t\t\t\t\t: 't-main'\n\t\t\t\t\" \n\t\t\t>\n\t\t\t\t{{product.information[0].value}}\n\t\t\t</p>\n\t\t\t<!-- Name -->\n\t\t\t<p class=\"mn-b-thin t-semi h4\">\n\t\t\t\t{{product.name}}\n\t\t\t</p>\n\n\t\t\t<p \n\t\t\t\tv-if=\"product.description && !product.localization\" \n\t\t\t\tclass=\"mn-b-small t-transp p-small\"\n\t\t\t>\n\t\t\t\t{{product.description.substring(0, 99)}}...\n\t\t\t</p>\n\n\t\t\t<!-- <p v-if=\"product.localization && product.localization.length > 1\" class=\"mn-b-small t-transp p-small\">\n\t\t\t\t<span v-if=\"$i18n.locale === 'en'\">{{product.localization[0].text.substring(0, 99)}}...</span>\n\t\t\t\t<span v-if=\"$i18n.locale === 'ru'\">{{product.localization[1].text.substring(0, 99)}}...</span>\n\t\t\t</p> -->\n\t\t\t\n\t\t\t<Price \n\t\t\t\t:product=\"product\" \n\t\t\t\tsize=\"small\" \n\t\t\t\t:class=\"\n\t\t\t\t\tproduct.information[2] \n\t\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t\t? 'bg-third t-white' \n\t\t\t\t\t: ''\n\t\t\t\t\" \n\t\t\t/>\n\t\t</div>\n\n\t</div>\n\n</template>\n\n\n<script setup=\"props\">\n\timport {computed } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n\n\timport THC from '@pf/src/modules/products/components/elements/THC.vue'\n\timport Price from '@pf/src/modules/products/components/elements/Price.vue'\n\n\timport PlaceholderImage from '@pf/src/modules/icons/placeholders/PlaceholderImage.vue'\n\n\tconst props = defineProps({\n\t\tproduct: {\n\t\t\ttype: Object\n\t\t},\n\t\tuser: {\n\t\t\ttype: [Object, String] \n\t\t},\n\t\ttype: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n const { t } = useI18n()\n</script>\n\n<style lang=\"scss\">\n\n</style>\n\n\n"],"names":["useI18n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmIgBA,oBAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,17 +1,18 @@
1
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, createVNode, createCommentVNode, createElementVNode, toDisplayString } from "vue";
1
+ import { resolveComponent, openBlock, createElementBlock, createBlock, withCtx, createVNode, createCommentVNode, createElementVNode, normalizeClass, toDisplayString } from "vue";
2
2
  import { useI18n } from "vue-i18n";
3
3
  import _sfc_main$1 from "../../../icons/navigation/IconEdit.vue.js";
4
4
  import _sfc_main$2 from "../elements/THC.vue.js";
5
5
  import _sfc_main$3 from "../elements/Price.vue.js";
6
6
  import PlaceholderImage from "../../../icons/placeholders/PlaceholderImage.vue.js";
7
- const _hoisted_1 = ["src"];
8
- const _hoisted_2 = {
7
+ const _hoisted_1 = { class: "radius-big cols-1 o-hidden pos-relative" };
8
+ const _hoisted_2 = ["src"];
9
+ const _hoisted_3 = {
9
10
  key: 2,
10
11
  class: "pos-absolute bg-light t-black pd-thin radius-big p-small t-medium pos-t-medium pos-l-medium"
11
12
  };
12
- const _hoisted_3 = { class: "pd-medium t-left product-card-content" };
13
- const _hoisted_4 = { class: "mn-b-thin t-semi h4" };
14
- const _hoisted_5 = {
13
+ const _hoisted_4 = { class: "pd-medium t-left product-card-content" };
14
+ const _hoisted_5 = { class: "mn-b-thin t-semi h4" };
15
+ const _hoisted_6 = {
15
16
  key: 1,
16
17
  class: "mn-b-small t-transp p-small"
17
18
  };
@@ -33,12 +34,7 @@ const _sfc_main = {
33
34
  return (_ctx, _cache) => {
34
35
  var _a, _b;
35
36
  const _component_router_link = resolveComponent("router-link");
36
- return openBlock(), createElementBlock("div", {
37
- class: normalizeClass([
38
- "radius-big cols-1 o-hidden pos-relative",
39
- __props.product.information[2] && __props.product.information[2].value === "AAAA" ? "bg-black t-white" : "bg-white"
40
- ])
41
- }, [
37
+ return openBlock(), createElementBlock("div", _hoisted_1, [
42
38
  __props.user && __props.user.roles && (__props.user.roles.includes("ROLE_MODERATOR") || __props.user.roles.includes("ROLE_ADMIN")) ? (openBlock(), createBlock(_component_router_link, {
43
39
  key: 0,
44
40
  to: {
@@ -69,17 +65,17 @@ const _sfc_main = {
69
65
  loading: "lazy",
70
66
  src: (_ctx.FILE_SERVER_URL || "") + __props.product.images[0].split("/").slice(0, -1).join("/") + "/thumbnail_" + __props.product.images[0].split("/").pop(),
71
67
  class: "pos-absolute object-fit-cover h-max-100 w-100"
72
- }, null, 8, _hoisted_1)) : (openBlock(), createBlock(PlaceholderImage, {
68
+ }, null, 8, _hoisted_2)) : (openBlock(), createBlock(PlaceholderImage, {
73
69
  key: 1,
74
70
  class: "pos-absolute h-100 w-100"
75
71
  })),
76
- __props.product.quantity <= 0 ? (openBlock(), createElementBlock("span", _hoisted_2, "Out of Stock")) : createCommentVNode("", true),
72
+ __props.product.quantity <= 0 ? (openBlock(), createElementBlock("span", _hoisted_3, "Out of Stock")) : createCommentVNode("", true),
77
73
  ((_a = __props.product.information) == null ? void 0 : _a.length) > 0 && ((_b = __props.product.information[1]) == null ? void 0 : _b.name) === "THC" ? (openBlock(), createBlock(_sfc_main$2, {
78
74
  key: 3,
79
75
  product: __props.product
80
76
  }, null, 8, ["product"])) : createCommentVNode("", true)
81
77
  ], 2),
82
- createElementVNode("div", _hoisted_3, [
78
+ createElementVNode("div", _hoisted_4, [
83
79
  __props.product.information.length > 0 ? (openBlock(), createElementBlock("p", {
84
80
  key: 0,
85
81
  class: normalizeClass([
@@ -87,8 +83,8 @@ const _sfc_main = {
87
83
  __props.product.information[2] && __props.product.information[2].value === "AAAA" ? "t-violet" : "t-main"
88
84
  ])
89
85
  }, toDisplayString(__props.product.information[0].value), 3)) : createCommentVNode("", true),
90
- createElementVNode("p", _hoisted_4, toDisplayString(__props.product.name), 1),
91
- __props.product.description && !__props.product.localization ? (openBlock(), createElementBlock("p", _hoisted_5, toDisplayString(__props.product.description.substring(0, 99)) + "... ", 1)) : createCommentVNode("", true),
86
+ createElementVNode("p", _hoisted_5, toDisplayString(__props.product.name), 1),
87
+ __props.product.description && !__props.product.localization ? (openBlock(), createElementBlock("p", _hoisted_6, toDisplayString(__props.product.description.substring(0, 99)) + "... ", 1)) : createCommentVNode("", true),
92
88
  createVNode(_sfc_main$3, {
93
89
  product: __props.product,
94
90
  size: "small",
@@ -97,7 +93,7 @@ const _sfc_main = {
97
93
  )
98
94
  }, null, 8, ["product", "class"])
99
95
  ])
100
- ], 2);
96
+ ]);
101
97
  };
102
98
  }
103
99
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CardProduct.vue.js","sources":["../../../../../../../src/modules/products/components/blocks/CardProduct.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"\n\t\t\tradius-big \n\t\t\tcols-1\n\t\t\to-hidden\n\t\t\tpos-relative\n\t\t\"\n\t\t:class=\"\n\t\t\tproduct.information[2] \n\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t? 'bg-black t-white' \n\t\t\t: 'bg-white'\n\t\t\"\n\t>\n\t\t<router-link\n\t\t\tv-if=\"user && user.roles && (user.roles.includes('ROLE_MODERATOR') || user.roles.includes('ROLE_ADMIN'))\"\n :to=\"{\n name: 'ProductEdit', \n params: {\n _id: $route.params.organization,\n product: product._id\n }\n }\" \n class=\"\n \tz-index-2\n cursor-pointer \n pos-absolute pos-t-regular pos-r-regular\n radius-extra pd-thin bg-second\n \"\n >\n <IconEdit\n class=\"i-regular\"\n classes=\"fill-white\"\n />\n </router-link>\n\n\t\t<!-- Product Image Sqaure -->\n\n\n\t\t<div \n\t\t\tclass=\"o-hidden w-100 pos-relative aspect-1x1\"\n\t\t\t:class=\"\n\t\t\t\tproduct.information[2] \n\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t? 'bg-black' \n\t\t\t\t: 'bg-white'\n\t\t\t\"\n\t\t>\n\n\t\t\t<!-- Image Wrappers -->\n\t\t\t<img loading=\"lazy\" \n\t\t\t\tv-if=\"product.images[0]\" \n\t\t\t\t:src=\"(FILE_SERVER_URL || '') + product.images[0].split('/').slice(0, -1).join('/') + '/thumbnail_' + product.images[0].split('/').pop()\"\n\t\t\t\tclass=\"pos-absolute object-fit-cover h-max-100 w-100\"\n\t\t\t>\n\n\t\t\t<PlaceholderImage\n\t\t\t\tv-else\n\t\t\t\tclass=\"pos-absolute h-100 w-100\"\n\t\t\t/>\n\t\t\t<span v-if=\"product.quantity <= 0\" class=\"pos-absolute bg-light t-black pd-thin radius-big p-small t-medium pos-t-medium pos-l-medium\">Out of Stock</span>\n\t\t\t<THC v-if=\"product.information?.length > 0 && product.information[1]?.name === 'THC'\" :product=\"product\" />\n\t\t</div>\n\n\t\t<!-- Product Info Start -->\n\t\t<div class=\"pd-medium t-left product-card-content\">\n\t\t\t<!-- Detail -->\n\t\t\t<p \n\t\t\t\tv-if=\"product.information.length > 0\" \n\t\t\t\tclass=\"t-semi h6\"\n\t\t\t\t:class=\"\n\t\t\t\t\tproduct.information[2] \n\t\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t\t? 't-violet' \n\t\t\t\t\t: 't-main'\n\t\t\t\t\" \n\t\t\t>\n\t\t\t\t{{product.information[0].value}}\n\t\t\t</p>\n\t\t\t<!-- Name -->\n\t\t\t<p class=\"mn-b-thin t-semi h4\">\n\t\t\t\t{{product.name}}\n\t\t\t</p>\n\n\t\t\t<p \n\t\t\t\tv-if=\"product.description && !product.localization\" \n\t\t\t\tclass=\"mn-b-small t-transp p-small\"\n\t\t\t>\n\t\t\t\t{{product.description.substring(0, 99)}}...\n\t\t\t</p>\n\n\t\t\t<!-- <p v-if=\"product.localization && product.localization.length > 1\" class=\"mn-b-small t-transp p-small\">\n\t\t\t\t<span v-if=\"$i18n.locale === 'en'\">{{product.localization[0].text.substring(0, 99)}}...</span>\n\t\t\t\t<span v-if=\"$i18n.locale === 'ru'\">{{product.localization[1].text.substring(0, 99)}}...</span>\n\t\t\t</p> -->\n\t\t\t\n\t\t\t<Price \n\t\t\t\t:product=\"product\" \n\t\t\t\tsize=\"small\" \n\t\t\t\t:class=\"\n\t\t\t\t\tproduct.information[2] \n\t\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t\t? 'bg-third t-white' \n\t\t\t\t\t: ''\n\t\t\t\t\" \n\t\t\t/>\n\t\t</div>\n\n\t</div>\n\n</template>\n\n\n<script setup=\"props\">\n\timport {computed } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n\n\timport THC from '@pf/src/modules/products/components/elements/THC.vue'\n\timport Price from '@pf/src/modules/products/components/elements/Price.vue'\n\n\timport PlaceholderImage from '@pf/src/modules/icons/placeholders/PlaceholderImage.vue'\n\n\tconst props = defineProps({\n\t\tproduct: {\n\t\t\ttype: Object\n\t\t},\n\t\tuser: {\n\t\t\ttype: [Object, String] \n\t\t},\n\t\ttype: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n const { t } = useI18n()\n</script>\n\n<style lang=\"scss\">\n\n</style>\n\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyIgB,YAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"CardProduct.vue.js","sources":["../../../../../../../src/modules/products/components/blocks/CardProduct.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"\n\t\t\tradius-big \n\t\t\tcols-1\n\t\t\to-hidden\n\t\t\tpos-relative\n\t\t\"\n\t>\n\t\t<router-link\n\t\t\tv-if=\"user && user.roles && (user.roles.includes('ROLE_MODERATOR') || user.roles.includes('ROLE_ADMIN'))\"\n :to=\"{\n name: 'ProductEdit', \n params: {\n _id: $route.params.organization,\n product: product._id\n }\n }\" \n class=\"\n \tz-index-2\n cursor-pointer \n pos-absolute pos-t-regular pos-r-regular\n radius-extra pd-thin bg-second\n \"\n >\n <IconEdit\n class=\"i-regular\"\n classes=\"fill-white\"\n />\n </router-link>\n\n\t\t<!-- Product Image Sqaure -->\n\n\n\t\t<div \n\t\t\tclass=\"o-hidden w-100 pos-relative aspect-1x1\"\n\t\t\t:class=\"\n\t\t\t\tproduct.information[2] \n\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t? 'bg-black' \n\t\t\t\t: 'bg-white'\n\t\t\t\"\n\t\t>\n\n\t\t\t<!-- Image Wrappers -->\n\t\t\t<img loading=\"lazy\" \n\t\t\t\tv-if=\"product.images[0]\" \n\t\t\t\t:src=\"(FILE_SERVER_URL || '') + product.images[0].split('/').slice(0, -1).join('/') + '/thumbnail_' + product.images[0].split('/').pop()\"\n\t\t\t\tclass=\"pos-absolute object-fit-cover h-max-100 w-100\"\n\t\t\t>\n\n\t\t\t<PlaceholderImage\n\t\t\t\tv-else\n\t\t\t\tclass=\"pos-absolute h-100 w-100\"\n\t\t\t/>\n\t\t\t<span v-if=\"product.quantity <= 0\" class=\"pos-absolute bg-light t-black pd-thin radius-big p-small t-medium pos-t-medium pos-l-medium\">Out of Stock</span>\n\t\t\t<THC v-if=\"product.information?.length > 0 && product.information[1]?.name === 'THC'\" :product=\"product\" />\n\t\t</div>\n\n\t\t<!-- Product Info Start -->\n\t\t<div class=\"pd-medium t-left product-card-content\">\n\t\t\t<!-- Detail -->\n\t\t\t<p \n\t\t\t\tv-if=\"product.information.length > 0\" \n\t\t\t\tclass=\"t-semi h6\"\n\t\t\t\t:class=\"\n\t\t\t\t\tproduct.information[2] \n\t\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t\t? 't-violet' \n\t\t\t\t\t: 't-main'\n\t\t\t\t\" \n\t\t\t>\n\t\t\t\t{{product.information[0].value}}\n\t\t\t</p>\n\t\t\t<!-- Name -->\n\t\t\t<p class=\"mn-b-thin t-semi h4\">\n\t\t\t\t{{product.name}}\n\t\t\t</p>\n\n\t\t\t<p \n\t\t\t\tv-if=\"product.description && !product.localization\" \n\t\t\t\tclass=\"mn-b-small t-transp p-small\"\n\t\t\t>\n\t\t\t\t{{product.description.substring(0, 99)}}...\n\t\t\t</p>\n\n\t\t\t<!-- <p v-if=\"product.localization && product.localization.length > 1\" class=\"mn-b-small t-transp p-small\">\n\t\t\t\t<span v-if=\"$i18n.locale === 'en'\">{{product.localization[0].text.substring(0, 99)}}...</span>\n\t\t\t\t<span v-if=\"$i18n.locale === 'ru'\">{{product.localization[1].text.substring(0, 99)}}...</span>\n\t\t\t</p> -->\n\t\t\t\n\t\t\t<Price \n\t\t\t\t:product=\"product\" \n\t\t\t\tsize=\"small\" \n\t\t\t\t:class=\"\n\t\t\t\t\tproduct.information[2] \n\t\t\t\t\t&& product.information[2].value === 'AAAA' \n\t\t\t\t\t? 'bg-third t-white' \n\t\t\t\t\t: ''\n\t\t\t\t\" \n\t\t\t/>\n\t\t</div>\n\n\t</div>\n\n</template>\n\n\n<script setup=\"props\">\n\timport {computed } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n\n\timport THC from '@pf/src/modules/products/components/elements/THC.vue'\n\timport Price from '@pf/src/modules/products/components/elements/Price.vue'\n\n\timport PlaceholderImage from '@pf/src/modules/icons/placeholders/PlaceholderImage.vue'\n\n\tconst props = defineProps({\n\t\tproduct: {\n\t\t\ttype: Object\n\t\t},\n\t\tuser: {\n\t\t\ttype: [Object, String] \n\t\t},\n\t\ttype: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n const { t } = useI18n()\n</script>\n\n<style lang=\"scss\">\n\n</style>\n\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmIgB,YAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -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 Field = require("../../../../components/Field/Field.vue2.cjs");
5
+ const Field = require("../../../../components/Field/Field.vue.cjs");
6
6
  const leftovers = require("../../store/leftovers.cjs");
7
7
  ;/* empty css */
8
8
  const _hoisted_1 = { class: "flex-column flex-wrap block" };
@@ -1,6 +1,6 @@
1
1
  import { openBlock, createElementBlock, createElementVNode, createCommentVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
2
2
  import { useRouter, useRoute } from "vue-router";
3
- import Field from "../../../../components/Field/Field.vue2.js";
3
+ import Field from "../../../../components/Field/Field.vue.js";
4
4
  import { actions } from "../../store/leftovers.js";
5
5
  /* empty css */
6
6
  const _hoisted_1 = { class: "flex-column flex-wrap block" };
@@ -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
- ;/* empty css */
5
+ ;/* empty css */
6
6
  const CardPosition = require("./CardPosition.vue.cjs");
7
7
  const leftovers = require("../../store/leftovers.cjs");
8
8
  ;/* empty css */
@@ -1,6 +1,6 @@
1
1
  import { openBlock, createElementBlock, createElementVNode, createCommentVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
2
2
  import { useRouter, useRoute } from "vue-router";
3
- /* empty css */
3
+ /* empty css */
4
4
  import _sfc_main$1 from "./CardPosition.vue.js";
5
5
  import { actions } from "../../store/leftovers.js";
6
6
  /* empty css */
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const vueDraggableNext_esmBundler = require("../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs");
5
5
  const vueRouter = require("vue-router");
6
6
  const categories = require("../../store/categories.cjs");
7
- const Button = require("../../../../components/Button/Button.vue2.cjs");
7
+ const Button = require("../../../../components/Button/Button.vue.cjs");
8
8
  const Block = require("../../../../components/Block/Block.vue.cjs");
9
9
  const CardCategory = require("../blocks/CardCategory.vue.cjs");
10
10
  const _hoisted_1 = { class: "pd-thin" };
@@ -2,7 +2,7 @@ import { onMounted, resolveComponent, openBlock, createElementBlock, createVNode
2
2
  import { VueDraggableNext } from "../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js";
3
3
  import { useRoute, useRouter } from "vue-router";
4
4
  import { actions, state } from "../../store/categories.js";
5
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
5
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
6
6
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
7
7
  import _sfc_main$3 from "../blocks/CardCategory.vue.js";
8
8
  const _hoisted_1 = { class: "pd-thin" };
@@ -3,9 +3,9 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
6
- const Button = require("../../../../components/Button/Button.vue2.cjs");
6
+ const Button = require("../../../../components/Button/Button.vue.cjs");
7
7
  const Select = require("../../../../components/Select/Select.vue.cjs");
8
- const Field = require("../../../../components/Field/Field.vue2.cjs");
8
+ const Field = require("../../../../components/Field/Field.vue.cjs");
9
9
  const Block = require("../../../../components/Block/Block.vue.cjs");
10
10
  const categories = require("../../store/categories.cjs");
11
11
  ;/* empty css */
@@ -1,9 +1,9 @@
1
1
  import { computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode, toDisplayString, unref, createTextVNode, renderList } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$3 from "../../../icons/navigation/IconDelete.vue.js";
4
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
4
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
5
5
  import Select from "../../../../components/Select/Select.vue.js";
6
- import Field from "../../../../components/Field/Field.vue2.js";
6
+ import Field from "../../../../components/Field/Field.vue.js";
7
7
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
8
8
  import { actions, state } from "../../store/categories.js";
9
9
  /* empty css */
@@ -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 Block = require("../../../../components/Block/Block.vue.cjs");
5
- const Field = require("../../../../components/Field/Field.vue2.cjs");
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
8
  const Popup = require("../../../../components/Popup/Popup.vue.cjs");
@@ -1,6 +1,6 @@
1
1
  import { ref, computed, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, withCtx, Fragment, renderList, createBlock, createCommentVNode } from "vue";
2
2
  import _sfc_main$4 from "../../../../components/Block/Block.vue.js";
3
- import Field from "../../../../components/Field/Field.vue2.js";
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
6
  import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
@@ -6,9 +6,9 @@ require("vue-i18n");
6
6
  ;/* empty css */
7
7
  const Block = require("../../../../components/Block/Block.vue.cjs");
8
8
  ;/* empty css */
9
- const Field = require("../../../../components/Field/Field.vue2.cjs");
9
+ const Field = require("../../../../components/Field/Field.vue.cjs");
10
10
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
11
- const Button = require("../../../../components/Button/Button.vue2.cjs");
11
+ const Button = require("../../../../components/Button/Button.vue.cjs");
12
12
  const Popup = require("../../../../components/Popup/Popup.vue.cjs");
13
13
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
14
14
  const EditImages = require("../../../../components/EditImages/EditImages.vue2.cjs");
@@ -4,9 +4,9 @@ import "vue-i18n";
4
4
  /* empty css */
5
5
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
6
6
  /* empty css */
7
- import Field from "../../../../components/Field/Field.vue2.js";
7
+ import Field from "../../../../components/Field/Field.vue.js";
8
8
  import _sfc_main$9 from "../../../../components/Checkbox/Checkbox.vue.js";
9
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
9
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
10
10
  import _sfc_main$6 from "../../../../components/Popup/Popup.vue.js";
11
11
  import _sfc_main$7 from "../../../../components/Feed/Feed.vue.js";
12
12
  import _sfc_main$3 from "../../../../components/EditImages/EditImages.vue2.js";
@@ -9,7 +9,7 @@ require("vue-i18n");
9
9
  const categories = require("../../store/categories.cjs");
10
10
  const marketplace = require("../../store/marketplace.cjs");
11
11
  ;/* empty css */
12
- ;/* empty css */
12
+ ;/* empty css */
13
13
  const BlockFilter = require("../../../globals/views/components/blocks/BlockFilter.vue.cjs");
14
14
  const CardProduct = require("../blocks/CardProduct.vue.cjs");
15
15
  const auth = require("../../../auth/views/store/auth.cjs");
@@ -7,7 +7,7 @@ import "vue-i18n";
7
7
  import { actions } from "../../store/categories.js";
8
8
  import { state } from "../../store/marketplace.js";
9
9
  /* empty css */
10
- /* empty css */
10
+ /* empty css */
11
11
  import _sfc_main$2 from "../../../globals/views/components/blocks/BlockFilter.vue.js";
12
12
  import _sfc_main$4 from "../blocks/CardProduct.vue.js";
13
13
  import { state as state$2 } from "../../../auth/views/store/auth.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const Field = require("../../../../components/Field/Field.vue2.cjs");
4
+ const Field = require("../../../../components/Field/Field.vue.cjs");
5
5
  const _hoisted_1 = {
6
6
  key: 0,
7
7
  class: "mn-b-small w-100"
@@ -1,5 +1,5 @@
1
1
  import { toRefs, openBlock, createElementBlock, unref, createCommentVNode, Fragment, renderList, createElementVNode, createVNode } from "vue";
2
- import Field from "../../../../components/Field/Field.vue2.js";
2
+ import Field from "../../../../components/Field/Field.vue.js";
3
3
  const _hoisted_1 = {
4
4
  key: 0,
5
5
  class: "mn-b-small w-100"
@@ -2,8 +2,8 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  ;/* empty css */
5
- ;/* empty css */
6
- const Field = require("../../../../components/Field/Field.vue2.cjs");
5
+ ;/* empty css */
6
+ const Field = require("../../../../components/Field/Field.vue.cjs");
7
7
  const Select = require("../../../../components/Select/Select.vue.cjs");
8
8
  const _sfc_main = {
9
9
  __name: "EditProductInfo",
@@ -1,7 +1,7 @@
1
1
  import { openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
2
2
  /* empty css */
3
- /* empty css */
4
- import Field from "../../../../components/Field/Field.vue2.js";
3
+ /* empty css */
4
+ import Field from "../../../../components/Field/Field.vue.js";
5
5
  import Select from "../../../../components/Select/Select.vue.js";
6
6
  const _sfc_main = {
7
7
  __name: "EditProductInfo",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const Button = require("../../../../components/Button/Button.vue2.cjs");
4
+ const Button = require("../../../../components/Button/Button.vue.cjs");
5
5
  const PlaceholderImage = require("../../../icons/placeholders/PlaceholderImage.vue.cjs");
6
6
  const Images360 = require("../blocks/Images360.vue.cjs");
7
7
  const ImagesThumbnails = require("../blocks/ImagesThumbnails.vue.cjs");
@@ -1,5 +1,5 @@
1
1
  import { computed, openBlock, createElementBlock, createElementVNode, createBlock, createCommentVNode, toDisplayString, unref, createVNode, Fragment, renderList, withCtx, createTextVNode } from "vue";
2
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
2
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
3
3
  import PlaceholderImage from "../../../icons/placeholders/PlaceholderImage.vue.js";
4
4
  import Images360 from "../blocks/Images360.vue.js";
5
5
  import ImagesThumbnails from "../blocks/ImagesThumbnails.vue.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 Popup = require("../../../../components/Popup/Popup.vue.cjs");
5
- const Button = require("../../../../components/Button/Button.vue2.cjs");
5
+ const Button = require("../../../../components/Button/Button.vue.cjs");
6
6
  const Select = require("../../../../components/Select/Select.vue.cjs");
7
7
  const reports = require("../../store/reports.cjs");
8
8
  const _sfc_main = {
@@ -1,6 +1,6 @@
1
1
  import { reactive, ref, openBlock, createElementBlock, renderSlot, createVNode, withCtx, createElementVNode, createTextVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
3
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
4
4
  import Select from "../../../../components/Select/Select.vue.js";
5
5
  import { actions } from "../../store/reports.js";
6
6
  const _sfc_main = {
@@ -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 IconEdit = require("../../../icons/navigation/IconEdit.vue.cjs");
5
- const Chips = require("../../../../components/Chips/Chips.vue2.cjs");
5
+ const Chips = require("../../../../components/Chips/Chips.vue.cjs");
6
6
  const Map = require("../../../../components/Map/Map.vue.cjs");
7
7
  ;/* empty css */
8
8
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
@@ -1,6 +1,6 @@
1
1
  import { openBlock, createElementBlock, createVNode, createElementVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../icons/navigation/IconEdit.vue.js";
3
- import _sfc_main$2 from "../../../../components/Chips/Chips.vue2.js";
3
+ import _sfc_main$2 from "../../../../components/Chips/Chips.vue.js";
4
4
  import Map from "../../../../components/Map/Map.vue.js";
5
5
  /* empty css */
6
6
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- ;/* empty css */
4
+ ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
6
6
  ;/* empty css */
7
7
  ;/* empty css */
@@ -1,5 +1,5 @@
1
1
  import { ref, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createBlock, toDisplayString, createCommentVNode } from "vue";
2
- /* empty css */
2
+ /* empty css */
3
3
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  /* empty css */
5
5
  /* empty css */
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const vueI18n = require("vue-i18n");
6
6
  ;/* empty css */
7
- ;/* empty css */
7
+ ;/* empty css */
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  const globals = require("../../../globals/views/store/globals.cjs");