@ozdao/martyrs 0.2.508 → 0.2.509

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 (230) hide show
  1. package/dist/_virtual/index.cjs +4 -4
  2. package/dist/_virtual/index.js +4 -4
  3. package/dist/_virtual/index2.cjs +4 -4
  4. package/dist/_virtual/index2.js +4 -4
  5. package/dist/{main-AWSb_d2P.cjs → main-D89N_jml.cjs} +1 -1
  6. package/dist/{main-Dq-UfO4G.js → main-DSiCr7yl.js} +7 -8
  7. package/dist/martyrs/src/components/Chips/{Chips.vue2.cjs → Chips.vue.cjs} +2 -2
  8. package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +1 -0
  9. package/dist/martyrs/src/components/Chips/{Chips.vue2.js → Chips.vue.js} +2 -2
  10. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +1 -0
  11. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.cjs → Dropdown.vue.cjs} +2 -2
  12. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js.map → Dropdown.vue.cjs.map} +1 -1
  13. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
  14. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
  15. package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +4 -3
  16. package/dist/martyrs/src/components/Feed/Carousel.vue.cjs.map +1 -1
  17. package/dist/martyrs/src/components/Feed/Carousel.vue.js +5 -4
  18. package/dist/martyrs/src/components/Feed/Carousel.vue.js.map +1 -1
  19. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +1 -1
  20. package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
  21. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +2 -2
  22. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs.map +1 -1
  23. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +2 -2
  24. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js.map +1 -1
  25. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  26. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +1 -1
  27. package/dist/martyrs/src/components/Menu/{Menu.vue.cjs → Menu.vue2.cjs} +2 -2
  28. package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +1 -0
  29. package/dist/martyrs/src/components/Menu/{Menu.vue.js → Menu.vue2.js} +2 -2
  30. package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +1 -0
  31. package/dist/martyrs/src/components/Select/{Select.vue.cjs → Select.vue2.cjs} +2 -2
  32. package/dist/martyrs/src/components/Select/Select.vue2.cjs.map +1 -0
  33. package/dist/martyrs/src/components/Select/{Select.vue.js → Select.vue2.js} +2 -2
  34. package/dist/martyrs/src/components/Select/{Select.vue.cjs.map → Select.vue2.js.map} +1 -1
  35. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
  36. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
  37. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +17 -11
  38. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
  39. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +18 -12
  40. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
  41. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  42. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  43. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  44. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
  45. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  46. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  47. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  48. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  49. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  50. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  51. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +2 -2
  52. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
  53. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
  54. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  55. package/dist/martyrs/src/modules/globals/globals.client.js +15 -15
  56. package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
  57. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
  58. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
  59. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  60. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  61. package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.cjs +121 -107
  62. package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.cjs.map +1 -1
  63. package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.js +131 -117
  64. package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.js.map +1 -1
  65. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
  66. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
  67. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +2 -2
  68. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
  69. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
  70. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
  71. package/dist/martyrs/src/modules/icons/logos/Logotype.vue.cjs +3 -3
  72. package/dist/martyrs/src/modules/icons/logos/Logotype.vue.js +3 -3
  73. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs +1 -1
  74. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
  75. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs +1 -1
  76. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
  77. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +138 -136
  78. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs.map +1 -1
  79. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +137 -135
  80. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js.map +1 -1
  81. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +2 -2
  82. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +2 -2
  83. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +1 -1
  84. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
  85. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +1 -1
  86. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
  87. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +1 -1
  88. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +1 -1
  89. package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +1 -1
  90. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +1 -1
  91. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +1 -1
  92. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +1 -1
  93. package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +1 -1
  94. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +1 -1
  95. package/dist/martyrs/src/modules/music/router/music.cjs +1 -1
  96. package/dist/martyrs/src/modules/music/router/music.js +1 -1
  97. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +1 -1
  98. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
  99. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +61 -9
  100. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs.map +1 -1
  101. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +61 -9
  102. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -1
  103. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  104. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  105. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  106. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  107. package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  108. package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  109. package/dist/martyrs/src/modules/orders/orders.client.cjs +36 -38
  110. package/dist/martyrs/src/modules/orders/orders.client.cjs.map +1 -1
  111. package/dist/martyrs/src/modules/orders/orders.client.js +36 -38
  112. package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
  113. package/dist/martyrs/src/modules/orders/store/models/customer.cjs +7 -0
  114. package/dist/martyrs/src/modules/orders/store/models/customer.cjs.map +1 -1
  115. package/dist/martyrs/src/modules/orders/store/models/customer.js +7 -0
  116. package/dist/martyrs/src/modules/orders/store/models/customer.js.map +1 -1
  117. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  118. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  119. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  120. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  121. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  122. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
  123. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +3 -3
  124. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +3 -3
  125. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  126. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  127. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  128. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  129. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  130. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  131. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  132. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  133. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +17 -28
  134. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
  135. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +17 -28
  136. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
  137. package/dist/martyrs/src/modules/organizations/router/organizations.cjs +1 -1
  138. package/dist/martyrs/src/modules/organizations/router/organizations.js +1 -1
  139. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +1 -1
  140. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +1 -1
  141. package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs +9 -1
  142. package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs.map +1 -1
  143. package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.js +9 -1
  144. package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.js.map +1 -1
  145. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
  146. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  147. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +1 -1
  148. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
  149. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
  150. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
  151. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  152. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  153. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
  154. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  155. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
  156. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
  157. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +1 -1
  158. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +1 -1
  159. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +10 -5
  160. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs.map +1 -1
  161. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +10 -5
  162. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js.map +1 -1
  163. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +5 -2
  164. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs.map +1 -1
  165. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +5 -2
  166. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -1
  167. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +1 -1
  168. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
  169. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  170. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  171. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  172. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  173. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  174. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  175. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  176. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  177. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  178. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
  179. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
  180. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
  181. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  182. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  183. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
  184. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  185. package/dist/martyrs.cjs.js +1 -1
  186. package/dist/martyrs.css +1 -1
  187. package/dist/martyrs.es.js +1 -1
  188. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs +1 -1
  189. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  190. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs +1 -1
  191. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  192. package/dist/orders.server.cjs +58 -0
  193. package/dist/orders.server.js +58 -0
  194. package/dist/products.server.cjs +11 -1
  195. package/dist/products.server.js +11 -1
  196. package/dist/style.css +30 -41
  197. package/dist/{web-DaBwwCQ5.cjs → web-XyQNm3cW.cjs} +1 -1
  198. package/dist/{web-BXajFCU2.js → web-gtBkwjra.js} +1 -1
  199. package/package.json +1 -1
  200. package/src/components/Feed/Carousel.vue +3 -1
  201. package/src/components/FieldBig/FieldBig.vue +2 -2
  202. package/src/modules/auth/views/components/pages/ProfileEdit.vue +17 -10
  203. package/src/modules/globals/views/components/partials/Footer.centered.vue +338 -0
  204. package/src/modules/globals/views/components/partials/Footer.vue +104 -99
  205. package/src/modules/globals/views/components/partials/Header.vue +1 -1
  206. package/src/modules/icons/logos/Logotype.vue +1 -1
  207. package/src/modules/inventory/components/pages/Inventory.vue +126 -119
  208. package/src/modules/orders/components/forms/FormCustomerDetails.vue +51 -0
  209. package/src/modules/orders/middlewares/customers.verifier.js +60 -0
  210. package/src/modules/orders/models/customer.model.js +18 -0
  211. package/src/modules/orders/orders.client.js +36 -38
  212. package/src/modules/orders/store/models/customer.js +7 -0
  213. package/src/modules/organizations/configs/navigation.organization.config.js +17 -26
  214. package/src/modules/products/TASKS.MD +1 -157
  215. package/src/modules/products/components/elements/QuantitySelector.vue +17 -9
  216. package/src/modules/products/components/pages/Product.vue +1 -1
  217. package/src/modules/products/components/pages/Products.vue +0 -1
  218. package/src/modules/products/components/sections/ProductsPopular.vue +9 -5
  219. package/src/modules/products/components/sections/ProductsRecommended.vue +4 -1
  220. package/src/modules/products/controllers/configs/products.lookup.config.js +11 -1
  221. package/src/styles/base/all.scss +9 -4
  222. package/src/styles/config.scss +10 -0
  223. package/src/styles/responsive.scss +2 -1
  224. package/src/styles/typography.scss +0 -5
  225. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +0 -1
  226. package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +0 -1
  227. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +0 -1
  228. package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +0 -1
  229. package/dist/martyrs/src/components/Menu/Menu.vue.js.map +0 -1
  230. package/dist/martyrs/src/components/Select/Select.vue.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, L as h, p as b, M as k, q as x, H as B, r as T, s as U, t as f, u as w, S as D, v as E, w as I, x as L, y as P, z as q, A as y, B as A, D as j, U as v, E as z, G, m as H } from "./main-Dq-UfO4G.js";
1
+ import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, L as h, p as b, M as k, q as x, H as B, r as T, s as U, t as f, u as w, S as D, v as E, w as I, x as L, y as P, z as q, A as y, B as A, D as j, U as v, E as z, G, m as H } from "./main-DSiCr7yl.js";
2
2
  export {
3
3
  e as Address,
4
4
  o as Breadcrumbs,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const utils = require("../../../../../../../_virtual/utils2.cjs");
3
+ const utils = require("../../../../../../../_virtual/utils.cjs");
4
4
  var hasRequiredUtils;
5
5
  function requireUtils() {
6
6
  if (hasRequiredUtils) return utils.__exports;
@@ -1,4 +1,4 @@
1
- import { __exports as utils } from "../../../../../../../_virtual/utils2.js";
1
+ import { __exports as utils } from "../../../../../../../_virtual/utils.js";
2
2
  var hasRequiredUtils;
3
3
  function requireUtils() {
4
4
  if (hasRequiredUtils) return utils;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const utils = require("../../../../../../../_virtual/utils.cjs");
3
+ const utils = require("../../../../../../../_virtual/utils2.cjs");
4
4
  var hasRequiredUtils;
5
5
  function requireUtils() {
6
6
  if (hasRequiredUtils) return utils.__exports;
@@ -1,4 +1,4 @@
1
- import { __exports as utils } from "../../../../../../../_virtual/utils.js";
1
+ import { __exports as utils } from "../../../../../../../_virtual/utils2.js";
2
2
  var hasRequiredUtils;
3
3
  function requireUtils() {
4
4
  if (hasRequiredUtils) return utils;
@@ -577,6 +577,24 @@ const ModelCustomer = (db) => {
577
577
  type: String,
578
578
  enum: ["active", "inactive", "blocked"],
579
579
  default: "active"
580
+ },
581
+ address: {
582
+ country: {
583
+ type: String
584
+ },
585
+ addressLine1: {
586
+ type: String,
587
+ required: true
588
+ },
589
+ addressLine2: {
590
+ type: String
591
+ },
592
+ city: {
593
+ type: String
594
+ },
595
+ postalCode: {
596
+ type: String
597
+ }
580
598
  }
581
599
  },
582
600
  {
@@ -1059,6 +1077,26 @@ const verifierFactory = function(db) {
1059
1077
  type: globals_verifier.Validator.schema().string().oneOf(["user", "organization", "User", "Organization"]),
1060
1078
  target: globals_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/)
1061
1079
  })
1080
+ },
1081
+ "address.country": {
1082
+ rule: "optional",
1083
+ validator: globals_verifier.Validator.schema().string().max(100, "Country must not exceed 100 characters")
1084
+ },
1085
+ "address.addressLine1": {
1086
+ rule: "optional",
1087
+ validator: globals_verifier.Validator.schema().string().max(255, "Address line 1 must not exceed 255 characters")
1088
+ },
1089
+ "address.addressLine2": {
1090
+ rule: "optional",
1091
+ validator: globals_verifier.Validator.schema().string().max(255, "Address line 2 must not exceed 255 characters")
1092
+ },
1093
+ "address.city": {
1094
+ rule: "optional",
1095
+ validator: globals_verifier.Validator.schema().string().max(100, "City must not exceed 100 characters")
1096
+ },
1097
+ "address.postalCode": {
1098
+ rule: "optional",
1099
+ validator: globals_verifier.Validator.schema().string().max(20, "Postal code must not exceed 20 characters")
1062
1100
  }
1063
1101
  });
1064
1102
  const updateVerifier = new globals_verifier.Verifier({
@@ -1109,6 +1147,26 @@ const verifierFactory = function(db) {
1109
1147
  status: {
1110
1148
  rule: "optional",
1111
1149
  validator: globals_verifier.Validator.schema().string().oneOf(["active", "inactive", "blocked"])
1150
+ },
1151
+ "address.country": {
1152
+ rule: "optional",
1153
+ validator: globals_verifier.Validator.schema().string().max(100, "Country must not exceed 100 characters")
1154
+ },
1155
+ "address.addressLine1": {
1156
+ rule: "optional",
1157
+ validator: globals_verifier.Validator.schema().string().max(255, "Address line 1 must not exceed 255 characters")
1158
+ },
1159
+ "address.addressLine2": {
1160
+ rule: "optional",
1161
+ validator: globals_verifier.Validator.schema().string().max(255, "Address line 2 must not exceed 255 characters")
1162
+ },
1163
+ "address.city": {
1164
+ rule: "optional",
1165
+ validator: globals_verifier.Validator.schema().string().max(100, "City must not exceed 100 characters")
1166
+ },
1167
+ "address.postalCode": {
1168
+ rule: "optional",
1169
+ validator: globals_verifier.Validator.schema().string().max(20, "Postal code must not exceed 20 characters")
1112
1170
  }
1113
1171
  });
1114
1172
  const readVerifier = new globals_verifier.Verifier({
@@ -575,6 +575,24 @@ const ModelCustomer = (db) => {
575
575
  type: String,
576
576
  enum: ["active", "inactive", "blocked"],
577
577
  default: "active"
578
+ },
579
+ address: {
580
+ country: {
581
+ type: String
582
+ },
583
+ addressLine1: {
584
+ type: String,
585
+ required: true
586
+ },
587
+ addressLine2: {
588
+ type: String
589
+ },
590
+ city: {
591
+ type: String
592
+ },
593
+ postalCode: {
594
+ type: String
595
+ }
578
596
  }
579
597
  },
580
598
  {
@@ -1057,6 +1075,26 @@ const verifierFactory = function(db) {
1057
1075
  type: Validator.schema().string().oneOf(["user", "organization", "User", "Organization"]),
1058
1076
  target: Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/)
1059
1077
  })
1078
+ },
1079
+ "address.country": {
1080
+ rule: "optional",
1081
+ validator: Validator.schema().string().max(100, "Country must not exceed 100 characters")
1082
+ },
1083
+ "address.addressLine1": {
1084
+ rule: "optional",
1085
+ validator: Validator.schema().string().max(255, "Address line 1 must not exceed 255 characters")
1086
+ },
1087
+ "address.addressLine2": {
1088
+ rule: "optional",
1089
+ validator: Validator.schema().string().max(255, "Address line 2 must not exceed 255 characters")
1090
+ },
1091
+ "address.city": {
1092
+ rule: "optional",
1093
+ validator: Validator.schema().string().max(100, "City must not exceed 100 characters")
1094
+ },
1095
+ "address.postalCode": {
1096
+ rule: "optional",
1097
+ validator: Validator.schema().string().max(20, "Postal code must not exceed 20 characters")
1060
1098
  }
1061
1099
  });
1062
1100
  const updateVerifier = new Verifier({
@@ -1107,6 +1145,26 @@ const verifierFactory = function(db) {
1107
1145
  status: {
1108
1146
  rule: "optional",
1109
1147
  validator: Validator.schema().string().oneOf(["active", "inactive", "blocked"])
1148
+ },
1149
+ "address.country": {
1150
+ rule: "optional",
1151
+ validator: Validator.schema().string().max(100, "Country must not exceed 100 characters")
1152
+ },
1153
+ "address.addressLine1": {
1154
+ rule: "optional",
1155
+ validator: Validator.schema().string().max(255, "Address line 1 must not exceed 255 characters")
1156
+ },
1157
+ "address.addressLine2": {
1158
+ rule: "optional",
1159
+ validator: Validator.schema().string().max(255, "Address line 2 must not exceed 255 characters")
1160
+ },
1161
+ "address.city": {
1162
+ rule: "optional",
1163
+ validator: Validator.schema().string().max(100, "City must not exceed 100 characters")
1164
+ },
1165
+ "address.postalCode": {
1166
+ rule: "optional",
1167
+ validator: Validator.schema().string().max(20, "Postal code must not exceed 20 characters")
1110
1168
  }
1111
1169
  });
1112
1170
  const readVerifier = new Verifier({
@@ -678,7 +678,17 @@ const productLookupConfigs = {
678
678
  from: "products",
679
679
  localField: "recommended",
680
680
  foreignField: "_id",
681
- as: "recommended"
681
+ as: "recommended",
682
+ pipeline: [
683
+ {
684
+ $lookup: {
685
+ from: "variants",
686
+ localField: "_id",
687
+ foreignField: "product",
688
+ as: "variants"
689
+ }
690
+ }
691
+ ]
682
692
  }
683
693
  },
684
694
  // Лукап для категорий продукта
@@ -676,7 +676,17 @@ const productLookupConfigs = {
676
676
  from: "products",
677
677
  localField: "recommended",
678
678
  foreignField: "_id",
679
- as: "recommended"
679
+ as: "recommended",
680
+ pipeline: [
681
+ {
682
+ $lookup: {
683
+ from: "variants",
684
+ localField: "_id",
685
+ foreignField: "product",
686
+ as: "variants"
687
+ }
688
+ }
689
+ ]
680
690
  }
681
691
  },
682
692
  // Лукап для категорий продукта
package/dist/style.css CHANGED
@@ -1123,12 +1123,12 @@ div.vue-tags-input.disabled * {
1123
1123
  font-size: .85em;
1124
1124
  }
1125
1125
 
1126
- .fade-enter-active[data-v-fe817eef],
1127
- .fade-leave-active[data-v-fe817eef] {
1126
+ .fade-enter-active[data-v-c1b1de8c],
1127
+ .fade-leave-active[data-v-c1b1de8c] {
1128
1128
  transition: opacity 0.3s ease;
1129
1129
  }
1130
- .fade-enter-from[data-v-fe817eef],
1131
- .fade-leave-to[data-v-fe817eef] {
1130
+ .fade-enter-from[data-v-c1b1de8c],
1131
+ .fade-leave-to[data-v-c1b1de8c] {
1132
1132
  opacity: 0;
1133
1133
  }
1134
1134
  .slider-hotpost :deep(.carousel__slide) {
@@ -1546,19 +1546,34 @@ to {
1546
1546
  [data-v-6db7716d]::-webkit-scrollbar-thumb:hover {
1547
1547
  background-color: var(--grey-small);
1548
1548
  }
1549
- .cols-4-footer[data-v-37ca2fe7] {
1550
- grid-template-columns: 5fr 3fr 3fr 4fr;
1549
+ .eye[data-v-4241147a] {
1550
+ animation: rotateEye-4241147a 10s linear infinite;
1551
+ transform-origin: center 55%;
1551
1552
  }
1552
- footer[data-v-37ca2fe7] {
1553
- transition: background-color 0.3s ease, color 0.3s ease;
1553
+ .mouth[data-v-4241147a] {
1554
+ animation: rotateMouth-4241147a 20s ease-in-out infinite;
1555
+ transform-origin: center 55%;
1554
1556
  }
1555
- footer a[data-v-37ca2fe7] {
1556
- text-decoration: none;
1557
+ @keyframes rotateEye-4241147a {
1558
+ from {
1559
+ transform: rotate(0deg);
1560
+ }
1561
+ to {
1562
+ transform: rotate(360deg);
1557
1563
  }
1558
- footer ul[data-v-37ca2fe7] {
1559
- list-style: none;
1560
- padding: 0;
1561
- margin: 0;
1564
+ }
1565
+ @keyframes rotateMouth-4241147a {
1566
+ 0% {
1567
+ transform: rotate(0deg);
1568
+ }
1569
+ 50% {
1570
+ transform: rotate(180deg);
1571
+ }
1572
+ 100% {
1573
+ transform: rotate(360deg);
1574
+ }
1575
+ }.cols-3-footer {
1576
+ grid-template-columns: 5fr 7fr 4fr;
1562
1577
  }
1563
1578
  fieldset[disabled] .multiselect {
1564
1579
  pointer-events: none;
@@ -2008,33 +2023,7 @@ to {
2008
2023
  opacity: 0;
2009
2024
  transform: scale(0.9);
2010
2025
  }
2011
- .eye[data-v-8ec01df7] {
2012
- animation: rotateEye-8ec01df7 10s linear infinite;
2013
- transform-origin: center 55%;
2014
- }
2015
- .mouth[data-v-8ec01df7] {
2016
- animation: rotateMouth-8ec01df7 20s ease-in-out infinite;
2017
- transform-origin: center 55%;
2018
- }
2019
- @keyframes rotateEye-8ec01df7 {
2020
- from {
2021
- transform: rotate(0deg);
2022
- }
2023
- to {
2024
- transform: rotate(360deg);
2025
- }
2026
- }
2027
- @keyframes rotateMouth-8ec01df7 {
2028
- 0% {
2029
- transform: rotate(0deg);
2030
- }
2031
- 50% {
2032
- transform: rotate(180deg);
2033
- }
2034
- 100% {
2035
- transform: rotate(360deg);
2036
- }
2037
- }
2026
+
2038
2027
  .h-60[data-v-c38b132b] {
2039
2028
  height: 60%;
2040
2029
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./main-AWSb_d2P.cjs");class p extends c.WebPlugin{constructor(){super(...arguments),this.group="CapacitorStorage"}async configure({group:e}){typeof e=="string"&&(this.group=e)}async get(e){return{value:this.impl.getItem(this.applyPrefix(e.key))}}async set(e){this.impl.setItem(this.applyPrefix(e.key),e.value)}async remove(e){this.impl.removeItem(this.applyPrefix(e.key))}async keys(){return{keys:this.rawKeys().map(t=>t.substring(this.prefix.length))}}async clear(){for(const e of this.rawKeys())this.impl.removeItem(e)}async migrate(){var e;const t=[],s=[],n="_cap_",o=Object.keys(this.impl).filter(i=>i.indexOf(n)===0);for(const i of o){const r=i.substring(n.length),a=(e=this.impl.getItem(i))!==null&&e!==void 0?e:"",{value:l}=await this.get({key:r});typeof l=="string"?s.push(r):(await this.set({key:r,value:a}),t.push(r))}return{migrated:t,existing:s}}async removeOld(){const e="_cap_",t=Object.keys(this.impl).filter(s=>s.indexOf(e)===0);for(const s of t)this.impl.removeItem(s)}get impl(){return window.localStorage}get prefix(){return this.group==="NativeStorage"?"":`${this.group}.`}rawKeys(){return Object.keys(this.impl).filter(e=>e.indexOf(this.prefix)===0)}applyPrefix(e){return this.prefix+e}}exports.PreferencesWeb=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./main-D89N_jml.cjs");class p extends c.WebPlugin{constructor(){super(...arguments),this.group="CapacitorStorage"}async configure({group:e}){typeof e=="string"&&(this.group=e)}async get(e){return{value:this.impl.getItem(this.applyPrefix(e.key))}}async set(e){this.impl.setItem(this.applyPrefix(e.key),e.value)}async remove(e){this.impl.removeItem(this.applyPrefix(e.key))}async keys(){return{keys:this.rawKeys().map(t=>t.substring(this.prefix.length))}}async clear(){for(const e of this.rawKeys())this.impl.removeItem(e)}async migrate(){var e;const t=[],s=[],n="_cap_",o=Object.keys(this.impl).filter(i=>i.indexOf(n)===0);for(const i of o){const r=i.substring(n.length),a=(e=this.impl.getItem(i))!==null&&e!==void 0?e:"",{value:l}=await this.get({key:r});typeof l=="string"?s.push(r):(await this.set({key:r,value:a}),t.push(r))}return{migrated:t,existing:s}}async removeOld(){const e="_cap_",t=Object.keys(this.impl).filter(s=>s.indexOf(e)===0);for(const s of t)this.impl.removeItem(s)}get impl(){return window.localStorage}get prefix(){return this.group==="NativeStorage"?"":`${this.group}.`}rawKeys(){return Object.keys(this.impl).filter(e=>e.indexOf(this.prefix)===0)}applyPrefix(e){return this.prefix+e}}exports.PreferencesWeb=p;
@@ -1,4 +1,4 @@
1
- import { W as p } from "./main-Dq-UfO4G.js";
1
+ import { W as p } from "./main-DSiCr7yl.js";
2
2
  class f extends p {
3
3
  constructor() {
4
4
  super(...arguments), this.group = "CapacitorStorage";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/martyrs",
3
- "version": "0.2.508",
3
+ "version": "0.2.509",
4
4
  "description": "Fullstack framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -6,7 +6,7 @@
6
6
  </div>
7
7
  <!-- Empty State -->
8
8
  <EmptyState
9
- v-if="!isLoading && !entities.length < 1"
9
+ v-else-if="entities.length < 1"
10
10
  :title="states.empty.title"
11
11
  :description="states.empty.description"
12
12
  :action="states.empty.action"
@@ -65,9 +65,11 @@ const { t } = useI18n({
65
65
  onMounted(async() => {
66
66
  try {
67
67
  entities.value = await props.store.read(props.options)
68
+ isLoading.value = false
68
69
  } catch (error) {
69
70
  console.error('Error loading entities:', error)
70
71
  entities.value = []
72
+ isLoading.value = false
71
73
  } finally {
72
74
  isLoading.value = false
73
75
  }
@@ -9,7 +9,7 @@
9
9
  :name="fieldName"
10
10
  :id="fieldId"
11
11
  :validation="validation"
12
- class="pd-l-medium radius-extra flex-nowrap flex w-100 p-medium t-regular uppercase pd-thin"
12
+ class="radius-medium flex-nowrap flex w-100 p-medium t-regular uppercase pd-thin"
13
13
  >
14
14
  <slot></slot>
15
15
  <Button
@@ -18,7 +18,7 @@
18
18
  :showLoader="showLoader"
19
19
  :callback="callback"
20
20
  :callbackDelay="callbackDelay"
21
- class="t-nowrap t-medium radius-big uppercase cursor-pointer flex flex-v-center pd-thin w-max hover-bg-fifth t-semi transition-linear transition-timing-1 t-black bg-main"
21
+ class="t-nowrap t-medium radius-small uppercase cursor-pointer flex flex-v-center pd-thin w-max hover-bg-fifth t-semi transition-linear transition-timing-1 t-black bg-main"
22
22
  >
23
23
  <span v-if="action" class="desktop-only mn-r-thin">{{action}}</span>
24
24
  <IconArrow class="i-medium"/>
@@ -1,15 +1,7 @@
1
1
  <template>
2
2
  <Popup
3
- :isPopupOpen="true"
4
- @close-popup="router.push({
5
- name: 'User Profile',
6
- params: {
7
- _id: auth.state.user._id
8
- },
9
- query: {
10
- afterAuth: 'true'
11
- }
12
- })"
3
+ :isPopupOpen="isOpen"
4
+ @close-popup="closeProfileEdit()"
13
5
  title="Edit Profile"
14
6
  align="center center"
15
7
  class="w-m-50r h-40r mobile:h-100 h-m-40r bg-white mobile:radius-zero radius-medium pd-medium"
@@ -42,8 +34,23 @@
42
34
 
43
35
  const loading = ref(true)
44
36
  const userData = ref(null)
37
+ const isOpen = ref(false)
38
+
39
+ function closeProfileEdit () {
40
+ isOpen.value = false
41
+ router.push({
42
+ name: 'User Profile',
43
+ params: {
44
+ _id: auth.state.user._id
45
+ },
46
+ query: {
47
+ afterAuth: 'true'
48
+ }
49
+ })
50
+ }
45
51
 
46
52
  onMounted(async () => {
53
+ isOpen.value = true
47
54
  try {
48
55
  const userId = route.params._id || auth.state.user._id
49
56
  await users.actions.read({ _id: userId, user: auth.state.user._id })