@ozdao/prometheus-framework 0.1.40 → 0.1.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (868) hide show
  1. package/dist/LeftoverAdd-5a8988d9.js +1 -0
  2. package/dist/{LeftoverAdd-08d9fb54.mjs → LeftoverAdd-c4f37f47.mjs} +4 -5
  3. package/dist/{Leftovers-296c0042.js → Leftovers-470a1689.js} +1 -1
  4. package/dist/{Leftovers-685d9f19.mjs → Leftovers-69c7dcd9.mjs} +1 -1
  5. package/dist/{Members-7251dd52.mjs → Members-87278466.mjs} +3 -3
  6. package/dist/{Members-d35ab7e8.js → Members-bbcb79ae.js} +1 -1
  7. package/dist/{Product-299070ad.mjs → Product-2f8e6943.mjs} +2 -2
  8. package/dist/{Product-aacb05f3.js → Product-4a834930.js} +1 -1
  9. package/dist/{ProductEdit-70bed802.mjs → ProductEdit-959b3cd3.mjs} +4 -5
  10. package/dist/ProductEdit-bae5e898.js +1 -0
  11. package/dist/ProductsBackoffice-0716123f.js +1 -0
  12. package/dist/{ProductsBackoffice-3d987c60.mjs → ProductsBackoffice-a36ecbc6.mjs} +3 -4
  13. package/dist/backoffice.client.cjs +1 -1
  14. package/dist/backoffice.client.js +7 -7
  15. package/dist/{categories-52a561a4.mjs → categories-5b08da53.mjs} +14 -15
  16. package/dist/categories-7ccd6be9.js +1 -0
  17. package/dist/{leftovers-be37c7a5.mjs → leftovers-5d1ff88b.mjs} +6 -6
  18. package/dist/leftovers-b60180cf.js +1 -0
  19. package/dist/{organizations.client-8f263e28.js → organizations.client-7e11a989.js} +2 -2
  20. package/dist/{organizations.client-9ffc023f.mjs → organizations.client-e519ef17.mjs} +6 -6
  21. package/dist/organizations.client.cjs +1 -1
  22. package/dist/organizations.client.js +3 -3
  23. package/dist/products-3c43eb18.js +1 -0
  24. package/dist/{products-aabe5c02.mjs → products-943fb95e.mjs} +2 -3
  25. package/package.json +1 -1
  26. package/src/components/Sidebar/Sidebar.vue +8 -10
  27. package/src/modules/backoffice/components/admin/ProductEdit.vue +0 -2
  28. package/src/modules/products/components/sections/FilterProducts.vue +2 -0
  29. package/src/modules/products/components/sections/SortProducts.vue +0 -2
  30. package/src/modules/products/store/categories.js +9 -9
  31. package/src/modules/products/store/leftovers.js +9 -6
  32. package/src/modules/products/store/products.js +0 -2
  33. package/dist/BackofficeGallery-02c9721b.mjs +0 -304
  34. package/dist/BackofficeGallery-08d96af1.mjs +0 -305
  35. package/dist/BackofficeGallery-0e0132f5.mjs +0 -306
  36. package/dist/BackofficeGallery-1d117a40.js +0 -1
  37. package/dist/BackofficeGallery-2e695fed.js +0 -1
  38. package/dist/BackofficeGallery-3bb55ea2.mjs +0 -357
  39. package/dist/BackofficeGallery-7ae8fbba.mjs +0 -307
  40. package/dist/BackofficeGallery-a52a27b6.js +0 -1
  41. package/dist/BackofficeGallery-e54a33a3.js +0 -1
  42. package/dist/BackofficeGallery-fe39cff3.js +0 -1
  43. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-19e23006.mjs +0 -1945
  44. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2426cb6f.mjs +0 -1945
  45. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-505c3ca5.js +0 -1
  46. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-561d6db3.js +0 -1
  47. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-579e2c7a.mjs +0 -1945
  48. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-6f807eb5.js +0 -1
  49. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8660f9cb.js +0 -1
  50. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-97217d38.mjs +0 -1945
  51. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-9e474158.mjs +0 -1945
  52. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-b1873cb7.mjs +0 -1945
  53. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-bd3889ee.mjs +0 -1945
  54. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-c6aba800.js +0 -1
  55. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cab2bcd2.js +0 -1
  56. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cf9f6aed.js +0 -1
  57. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-d9c6e4d1.mjs +0 -1945
  58. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e32a3041.js +0 -1
  59. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e60b6b7d.mjs +0 -1945
  60. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-ec801e39.mjs +0 -1945
  61. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-f3d37f29.js +0 -1
  62. package/dist/Button-2ca405bd.js +0 -1
  63. package/dist/Button-c59d387c.mjs +0 -283
  64. package/dist/Button-d8e72ac0.mjs +0 -296
  65. package/dist/Button-ee08e6bf.js +0 -1
  66. package/dist/ButtonFollow-00d85977.mjs +0 -133
  67. package/dist/ButtonFollow-23c4d9fc.mjs +0 -132
  68. package/dist/ButtonFollow-351486b0.js +0 -1
  69. package/dist/ButtonFollow-38d9a720.mjs +0 -131
  70. package/dist/ButtonFollow-3a05d29f.mjs +0 -132
  71. package/dist/ButtonFollow-4049a57e.js +0 -1
  72. package/dist/ButtonFollow-5e19fc49.mjs +0 -131
  73. package/dist/ButtonFollow-6765c266.mjs +0 -131
  74. package/dist/ButtonFollow-7c0180b3.js +0 -1
  75. package/dist/ButtonFollow-81508d85.mjs +0 -132
  76. package/dist/ButtonFollow-959861db.js +0 -1
  77. package/dist/ButtonFollow-9a33ab06.js +0 -1
  78. package/dist/ButtonFollow-bf5e6d42.js +0 -1
  79. package/dist/ButtonFollow-d4552677.mjs +0 -131
  80. package/dist/ButtonFollow-daa0e9e4.js +0 -1
  81. package/dist/ButtonFollow-df6317f0.js +0 -1
  82. package/dist/ButtonFollow-f0cefb85.mjs +0 -131
  83. package/dist/ButtonFollow.vue_vue_type_style_index_0_scoped_0634d4a1_lang-0ea8fbf8.js +0 -1
  84. package/dist/ButtonFollow.vue_vue_type_style_index_0_scoped_0634d4a1_lang-4ed993c7.mjs +0 -1
  85. package/dist/ButtonToggleMembership-15f149cb.js +0 -1
  86. package/dist/ButtonToggleMembership-3bb9139e.mjs +0 -90
  87. package/dist/CardBlogpost-38016b80.mjs +0 -246
  88. package/dist/CardBlogpost-ae3b4d23.js +0 -1
  89. package/dist/CardBlogpost-cc208f93.js +0 -1
  90. package/dist/CardBlogpost-d6f49156.mjs +0 -246
  91. package/dist/CardOrganization-01c2e248.mjs +0 -210
  92. package/dist/CardOrganization-18c1e3fa.mjs +0 -297
  93. package/dist/CardOrganization-1b0da77c.mjs +0 -230
  94. package/dist/CardOrganization-1be3651b.js +0 -1
  95. package/dist/CardOrganization-26714a5e.mjs +0 -297
  96. package/dist/CardOrganization-3049931d.mjs +0 -230
  97. package/dist/CardOrganization-3f4a13d3.mjs +0 -230
  98. package/dist/CardOrganization-43e80590.js +0 -1
  99. package/dist/CardOrganization-4d22037e.js +0 -1
  100. package/dist/CardOrganization-522845c7.mjs +0 -230
  101. package/dist/CardOrganization-63dcc83b.js +0 -1
  102. package/dist/CardOrganization-79eb2b6f.js +0 -1
  103. package/dist/CardOrganization-7d679e75.js +0 -1
  104. package/dist/CardOrganization-82c5b4c6.js +0 -1
  105. package/dist/CardOrganization-88c6d479.js +0 -1
  106. package/dist/CardOrganization-8b376cbb.js +0 -1
  107. package/dist/CardOrganization-8c5b582b.mjs +0 -230
  108. package/dist/CardOrganization-b2098e42.js +0 -1
  109. package/dist/CardOrganization-bf366e4e.js +0 -1
  110. package/dist/CardOrganization-c2e7e903.mjs +0 -229
  111. package/dist/CardOrganization-d3a9d898.mjs +0 -230
  112. package/dist/CardOrganization-d8f209ee.js +0 -1
  113. package/dist/CardOrganization-d93c9bdb.js +0 -1
  114. package/dist/CardOrganization-de8ec36e.mjs +0 -230
  115. package/dist/CardOrganization-df0a4506.mjs +0 -229
  116. package/dist/CardOrganization-e530c9d5.mjs +0 -230
  117. package/dist/CardOrganization-e920be73.mjs +0 -234
  118. package/dist/Chips-03ff0c34.mjs +0 -108
  119. package/dist/Chips-0e5bdd54.js +0 -1
  120. package/dist/Chips-2a0d9bfe.js +0 -1
  121. package/dist/Chips-2ada5eda.mjs +0 -200
  122. package/dist/Chips-32092a52.js +0 -1
  123. package/dist/Chips-3a07f374.js +0 -1
  124. package/dist/Chips-3dac276c.js +0 -1
  125. package/dist/Chips-41cd6570.mjs +0 -203
  126. package/dist/Chips-4316f652.mjs +0 -110
  127. package/dist/Chips-493042f7.js +0 -1
  128. package/dist/Chips-4d8ac62e.js +0 -1
  129. package/dist/Chips-5e32c8cb.mjs +0 -200
  130. package/dist/Chips-8d0a1d2c.js +0 -1
  131. package/dist/Chips-92ccc11f.js +0 -1
  132. package/dist/Chips-9cf6c0da.mjs +0 -286
  133. package/dist/Chips-9d81b215.mjs +0 -214
  134. package/dist/Chips-a8681edd.mjs +0 -213
  135. package/dist/Chips-c3d7341e.js +0 -1
  136. package/dist/Chips-cc08d85a.mjs +0 -108
  137. package/dist/Chips-d47704e6.js +0 -1
  138. package/dist/Chips-f0b7ce36.mjs +0 -110
  139. package/dist/Community-72dbb933.js +0 -1
  140. package/dist/Community-87522a04.mjs +0 -132
  141. package/dist/Community-aef23aee.js +0 -1
  142. package/dist/Community-b4d10da6.mjs +0 -130
  143. package/dist/Dashboard-239fb7a6.mjs +0 -52
  144. package/dist/Dashboard-91d73bc5.js +0 -1
  145. package/dist/Dashboard-94267906.js +0 -1
  146. package/dist/Dashboard-ea9035bc.mjs +0 -152
  147. package/dist/Dropdown-31115457.js +0 -1
  148. package/dist/Dropdown-cab3605b.mjs +0 -146
  149. package/dist/EULA-8265b0cf.mjs +0 -4218
  150. package/dist/EULA-cbb27503.js +0 -1
  151. package/dist/EULA-f5fba925.js +0 -1
  152. package/dist/EmptyState-34d85f10.mjs +0 -36
  153. package/dist/EmptyState-7658d7d6.js +0 -1
  154. package/dist/Events-0c6e3ef4.mjs +0 -134
  155. package/dist/Events-4742f070.js +0 -1
  156. package/dist/Events-cdfbca78.js +0 -1
  157. package/dist/Events-e9dd58f7.mjs +0 -123
  158. package/dist/Feed-046852fc.js +0 -1
  159. package/dist/Feed-09b0790d.js +0 -1
  160. package/dist/Feed-0b1dad65.js +0 -1
  161. package/dist/Feed-0dbe15b9.js +0 -1
  162. package/dist/Feed-12b12380.js +0 -1
  163. package/dist/Feed-13499a3a.mjs +0 -428
  164. package/dist/Feed-1d0d9853.js +0 -1
  165. package/dist/Feed-22464fcd.js +0 -1
  166. package/dist/Feed-275a14d8.mjs +0 -371
  167. package/dist/Feed-27f62b1c.mjs +0 -368
  168. package/dist/Feed-2c92ceed.js +0 -1
  169. package/dist/Feed-345d8513.mjs +0 -355
  170. package/dist/Feed-361761f5.mjs +0 -366
  171. package/dist/Feed-3a187776.js +0 -1
  172. package/dist/Feed-406e3b66.mjs +0 -368
  173. package/dist/Feed-416d84b0.mjs +0 -439
  174. package/dist/Feed-44beaa4c.mjs +0 -368
  175. package/dist/Feed-44f715a7.mjs +0 -439
  176. package/dist/Feed-4d9001aa.mjs +0 -368
  177. package/dist/Feed-4df9352b.js +0 -1
  178. package/dist/Feed-4efa2a93.mjs +0 -394
  179. package/dist/Feed-505b3fa8.mjs +0 -383
  180. package/dist/Feed-51eef23f.js +0 -1
  181. package/dist/Feed-530e40ab.mjs +0 -428
  182. package/dist/Feed-536c8a92.mjs +0 -439
  183. package/dist/Feed-585d5821.mjs +0 -124
  184. package/dist/Feed-5d8c16da.mjs +0 -368
  185. package/dist/Feed-5ecd756e.js +0 -1
  186. package/dist/Feed-66095e66.js +0 -1
  187. package/dist/Feed-67f403fb.mjs +0 -366
  188. package/dist/Feed-6e96d3dd.mjs +0 -124
  189. package/dist/Feed-6fd26cb4.mjs +0 -367
  190. package/dist/Feed-76fc4475.mjs +0 -383
  191. package/dist/Feed-793b3eef.mjs +0 -146
  192. package/dist/Feed-79839e67.mjs +0 -368
  193. package/dist/Feed-7b80704d.mjs +0 -361
  194. package/dist/Feed-7c8c901a.mjs +0 -380
  195. package/dist/Feed-807d265b.mjs +0 -156
  196. package/dist/Feed-8110366a.mjs +0 -439
  197. package/dist/Feed-82ad8e29.mjs +0 -368
  198. package/dist/Feed-8a151970.js +0 -1
  199. package/dist/Feed-8a867bfc.js +0 -1
  200. package/dist/Feed-8acc6844.js +0 -1
  201. package/dist/Feed-8bbb7077.mjs +0 -428
  202. package/dist/Feed-8f6eb29d.mjs +0 -439
  203. package/dist/Feed-90f74d6c.mjs +0 -361
  204. package/dist/Feed-986ddd21.mjs +0 -355
  205. package/dist/Feed-a0df5d24.js +0 -1
  206. package/dist/Feed-a2870bbf.js +0 -1
  207. package/dist/Feed-a47977d3.js +0 -1
  208. package/dist/Feed-a5229528.js +0 -1
  209. package/dist/Feed-a75d053e.js +0 -1
  210. package/dist/Feed-a7a6bd2e.mjs +0 -368
  211. package/dist/Feed-acfbb839.mjs +0 -371
  212. package/dist/Feed-aee74095.js +0 -1
  213. package/dist/Feed-af94027c.js +0 -1
  214. package/dist/Feed-b30ef609.js +0 -1
  215. package/dist/Feed-b616f102.mjs +0 -439
  216. package/dist/Feed-bbe44c17.mjs +0 -368
  217. package/dist/Feed-bf575b72.mjs +0 -428
  218. package/dist/Feed-bfd7d1d9.js +0 -1
  219. package/dist/Feed-c25dc839.js +0 -1
  220. package/dist/Feed-c4084664.mjs +0 -368
  221. package/dist/Feed-c5d4390a.js +0 -1
  222. package/dist/Feed-c6b67df4.js +0 -1
  223. package/dist/Feed-c88eb3aa.js +0 -1
  224. package/dist/Feed-c8b1c72d.js +0 -1
  225. package/dist/Feed-c8dc4359.js +0 -1
  226. package/dist/Feed-c9e6190e.js +0 -1
  227. package/dist/Feed-d0da2943.js +0 -1
  228. package/dist/Feed-d78d4b91.mjs +0 -439
  229. package/dist/Feed-e55bc6fa.js +0 -1
  230. package/dist/Feed-e6e84388.js +0 -1
  231. package/dist/Feed-e77e3bb3.js +0 -1
  232. package/dist/Feed-e9bddb71.mjs +0 -439
  233. package/dist/Feed-ee36f80b.js +0 -1
  234. package/dist/Feed-ef6c6ca3.mjs +0 -371
  235. package/dist/Feed-f0a40b33.js +0 -1
  236. package/dist/Feed-f3b2bd74.mjs +0 -439
  237. package/dist/Feed-f4e9769e.js +0 -1
  238. package/dist/Feed-f987d8bb.js +0 -1
  239. package/dist/Feed-fb4f7ee6.mjs +0 -368
  240. package/dist/Feed-fea84ce7.mjs +0 -439
  241. package/dist/Feed-ff3b96b2.js +0 -1
  242. package/dist/Gallery-1f82841a.mjs +0 -357
  243. package/dist/Gallery-9305f294.mjs +0 -357
  244. package/dist/Gallery-dd29c7f6.js +0 -1
  245. package/dist/Gallery-dea27e94.js +0 -1
  246. package/dist/IconChevronRight-a55f838e.js +0 -1
  247. package/dist/IconChevronRight-fae9d012.mjs +0 -28
  248. package/dist/IconCommunity-468dc457.mjs +0 -65
  249. package/dist/IconCommunity-b339e806.js +0 -1
  250. package/dist/IconCross-5bf93179.js +0 -1
  251. package/dist/IconCross-84cb1292.mjs +0 -28
  252. package/dist/IconEdit-1b7b5874.js +0 -1
  253. package/dist/IconEdit-4cfe2115.js +0 -1
  254. package/dist/IconEdit-680dc269.mjs +0 -339
  255. package/dist/IconEdit-823ddda9.js +0 -1
  256. package/dist/IconEdit-c98d3d06.mjs +0 -339
  257. package/dist/IconEdit-e4d0cc6e.js +0 -1
  258. package/dist/IconEdit-eacf3856.mjs +0 -44
  259. package/dist/IconEdit-f0ad8b9a.mjs +0 -205
  260. package/dist/Image-04944a2f.js +0 -9
  261. package/dist/Image-052a3cc2.mjs +0 -480
  262. package/dist/Image-0e21ae0a.mjs +0 -477
  263. package/dist/Image-0f2814f0.js +0 -9
  264. package/dist/Image-1281bc48.mjs +0 -477
  265. package/dist/Image-1f7252c0.mjs +0 -477
  266. package/dist/Image-2269667e.js +0 -9
  267. package/dist/Image-22e17cef.js +0 -9
  268. package/dist/Image-245c003d.mjs +0 -480
  269. package/dist/Image-268e2a1b.js +0 -9
  270. package/dist/Image-2d2e606a.js +0 -9
  271. package/dist/Image-35d31936.js +0 -9
  272. package/dist/Image-3fee8409.mjs +0 -477
  273. package/dist/Image-448f9228.js +0 -9
  274. package/dist/Image-5423e8ce.mjs +0 -480
  275. package/dist/Image-58efaf35.mjs +0 -477
  276. package/dist/Image-661e2fbc.mjs +0 -477
  277. package/dist/Image-75f5becb.js +0 -9
  278. package/dist/Image-7dcfe90d.mjs +0 -477
  279. package/dist/Image-89b2a540.js +0 -9
  280. package/dist/Image-8e67dd2d.js +0 -9
  281. package/dist/Image-93c3a270.mjs +0 -480
  282. package/dist/Image-95c0fb07.mjs +0 -480
  283. package/dist/Image-9e90a5f6.mjs +0 -477
  284. package/dist/Image-a2c2ab9c.js +0 -9
  285. package/dist/Image-ad6d4f0f.mjs +0 -477
  286. package/dist/Image-b2131fa0.mjs +0 -477
  287. package/dist/Image-be69af9c.mjs +0 -477
  288. package/dist/Image-c0ae2c5f.mjs +0 -477
  289. package/dist/Image-c90ee624.js +0 -9
  290. package/dist/Image-d01026cf.js +0 -9
  291. package/dist/Image-d42a89db.mjs +0 -477
  292. package/dist/Image-d5c4d8d9.js +0 -9
  293. package/dist/Image-d74c19ee.mjs +0 -477
  294. package/dist/Image-de94b883.js +0 -9
  295. package/dist/Image-f66dbbf4.js +0 -9
  296. package/dist/Image-fd501859.js +0 -9
  297. package/dist/LabelGooglePlay-24feb437.mjs +0 -31
  298. package/dist/LabelGooglePlay-f80e5ff0.js +0 -1
  299. package/dist/LeftoverAdd-21311275.js +0 -1
  300. package/dist/LeftoverAdd-ccf4595f.mjs +0 -228
  301. package/dist/LeftoverAdd-fc673884.js +0 -1
  302. package/dist/Members-2cb2ff58.mjs +0 -114
  303. package/dist/Members-85534d1f.js +0 -1
  304. package/dist/Members-9b013515.js +0 -1
  305. package/dist/Members-d64149f3.mjs +0 -109
  306. package/dist/Menu-b5d6a0c7.js +0 -1
  307. package/dist/Menu-dd7645c1.mjs +0 -13
  308. package/dist/MenuItem-0b249b94.mjs +0 -93
  309. package/dist/MenuItem-1216a99f.js +0 -1
  310. package/dist/MenuItem-56ae7f94.js +0 -1
  311. package/dist/MenuItem-6296d02f.mjs +0 -63
  312. package/dist/MenuItem-8b70d2cf.js +0 -1
  313. package/dist/MenuItem-97c50b97.mjs +0 -93
  314. package/dist/Organizations-0cb37d68.js +0 -1
  315. package/dist/Organizations-0fd5bc8b.mjs +0 -72
  316. package/dist/Organizations-d360c360.js +0 -1
  317. package/dist/Organizations-d6ef2113.mjs +0 -73
  318. package/dist/PlaceholderUserpic-14c6ea7e.mjs +0 -28
  319. package/dist/PlaceholderUserpic-20d58460.js +0 -1
  320. package/dist/PlaceholderUserpic-47f6f319.js +0 -1
  321. package/dist/Popup-0106ee0c.js +0 -1
  322. package/dist/Popup-0420381f.js +0 -1
  323. package/dist/Popup-0915427c.mjs +0 -74
  324. package/dist/Popup-0b38b537.js +0 -1
  325. package/dist/Popup-31c7ffc6.mjs +0 -76
  326. package/dist/Popup-383abb2e.js +0 -1
  327. package/dist/Popup-47b37484.mjs +0 -76
  328. package/dist/Popup-709634dc.mjs +0 -76
  329. package/dist/Popup-795f5c88.js +0 -1
  330. package/dist/Popup-ad5f59d0.js +0 -1
  331. package/dist/Popup-b7609baa.js +0 -1
  332. package/dist/Popup-d5c4cb46.mjs +0 -76
  333. package/dist/Popup-d7dbc670.mjs +0 -76
  334. package/dist/Popup-e6685f31.mjs +0 -76
  335. package/dist/Popup-e7c9a43e.mjs +0 -76
  336. package/dist/Popup-ee4bd834.js +0 -1
  337. package/dist/Popup-f5cdd3c1.js +0 -1
  338. package/dist/Popup-f7a5e86b.mjs +0 -76
  339. package/dist/Popup-fca78130.mjs +0 -76
  340. package/dist/Product-0095681c.mjs +0 -838
  341. package/dist/Product-09a39f0b.js +0 -7
  342. package/dist/Product-1892b14a.js +0 -7
  343. package/dist/Product-2459e9da.mjs +0 -838
  344. package/dist/Product-2c6df98d.mjs +0 -838
  345. package/dist/Product-2d05acc8.mjs +0 -839
  346. package/dist/Product-3001d998.mjs +0 -838
  347. package/dist/Product-3c2ae338.js +0 -7
  348. package/dist/Product-3c7b2921.mjs +0 -841
  349. package/dist/Product-3c9c8197.js +0 -7
  350. package/dist/Product-4b58701f.js +0 -7
  351. package/dist/Product-54854cd1.js +0 -7
  352. package/dist/Product-58a83c67.mjs +0 -838
  353. package/dist/Product-5994a8c9.mjs +0 -653
  354. package/dist/Product-601a9d5b.mjs +0 -838
  355. package/dist/Product-68fa1e9e.js +0 -7
  356. package/dist/Product-6aa1c9ee.mjs +0 -844
  357. package/dist/Product-6ca8d04d.js +0 -7
  358. package/dist/Product-6d05d027.js +0 -7
  359. package/dist/Product-6df77924.js +0 -7
  360. package/dist/Product-748ec8b7.mjs +0 -842
  361. package/dist/Product-7f86f9d4.js +0 -7
  362. package/dist/Product-84e2c789.js +0 -7
  363. package/dist/Product-852f952c.js +0 -7
  364. package/dist/Product-86bb1a63.mjs +0 -838
  365. package/dist/Product-89ca1bff.js +0 -7
  366. package/dist/Product-8bee8d1c.mjs +0 -838
  367. package/dist/Product-9170a446.mjs +0 -838
  368. package/dist/Product-943b64bb.mjs +0 -838
  369. package/dist/Product-977a8a7f.js +0 -7
  370. package/dist/Product-a23f852f.js +0 -7
  371. package/dist/Product-a39f3ca3.js +0 -7
  372. package/dist/Product-a6251018.mjs +0 -844
  373. package/dist/Product-a9efa410.js +0 -7
  374. package/dist/Product-abf86516.js +0 -7
  375. package/dist/Product-b054c74c.mjs +0 -838
  376. package/dist/Product-b1336cde.js +0 -7
  377. package/dist/Product-b32fb0e1.js +0 -7
  378. package/dist/Product-b7c53f33.mjs +0 -838
  379. package/dist/Product-bbdc8460.mjs +0 -841
  380. package/dist/Product-bbe7171a.mjs +0 -842
  381. package/dist/Product-c085f00f.mjs +0 -838
  382. package/dist/Product-d01e3a0d.mjs +0 -839
  383. package/dist/Product-d3f1d10a.mjs +0 -844
  384. package/dist/Product-d9c3b9b9.js +0 -7
  385. package/dist/Product-dc5024f6.js +0 -7
  386. package/dist/Product-dccb371a.mjs +0 -838
  387. package/dist/Product-e43dd2f1.js +0 -7
  388. package/dist/Product-e4e583f0.mjs +0 -652
  389. package/dist/Product-e825edfc.mjs +0 -838
  390. package/dist/Product-f017e6cd.js +0 -7
  391. package/dist/ProductEdit-052b0aef.mjs +0 -350
  392. package/dist/ProductEdit-171c9923.js +0 -1
  393. package/dist/ProductEdit-17f4e395.mjs +0 -304
  394. package/dist/ProductEdit-23d35d67.mjs +0 -350
  395. package/dist/ProductEdit-2b4d1d88.js +0 -1
  396. package/dist/ProductEdit-2e309add.js +0 -1
  397. package/dist/ProductEdit-3350274e.js +0 -1
  398. package/dist/ProductEdit-36e5cfdd.js +0 -1
  399. package/dist/ProductEdit-3aecb5bf.js +0 -1
  400. package/dist/ProductEdit-3d7f2823.js +0 -1
  401. package/dist/ProductEdit-3ff2af92.js +0 -1
  402. package/dist/ProductEdit-4af06681.js +0 -1
  403. package/dist/ProductEdit-4f9b6d56.js +0 -1
  404. package/dist/ProductEdit-55b6cb06.mjs +0 -350
  405. package/dist/ProductEdit-56752bbe.mjs +0 -350
  406. package/dist/ProductEdit-576c9ff8.js +0 -1
  407. package/dist/ProductEdit-590b7a01.js +0 -1
  408. package/dist/ProductEdit-5e479343.mjs +0 -300
  409. package/dist/ProductEdit-64207814.mjs +0 -296
  410. package/dist/ProductEdit-6abcc97b.mjs +0 -306
  411. package/dist/ProductEdit-70ddae4d.js +0 -1
  412. package/dist/ProductEdit-737e2a5a.mjs +0 -302
  413. package/dist/ProductEdit-777bb9e2.mjs +0 -350
  414. package/dist/ProductEdit-82658f2f.mjs +0 -350
  415. package/dist/ProductEdit-86fedffe.mjs +0 -350
  416. package/dist/ProductEdit-8e779ed8.js +0 -1
  417. package/dist/ProductEdit-a1050ab6.mjs +0 -303
  418. package/dist/ProductEdit-a322f1ba.js +0 -1
  419. package/dist/ProductEdit-a434240f.js +0 -1
  420. package/dist/ProductEdit-a57fd2b0.mjs +0 -350
  421. package/dist/ProductEdit-ab0530e8.js +0 -1
  422. package/dist/ProductEdit-ab5d71ce.mjs +0 -350
  423. package/dist/ProductEdit-aca44ef7.mjs +0 -300
  424. package/dist/ProductEdit-ba3fef8c.mjs +0 -350
  425. package/dist/ProductEdit-c08ee26f.mjs +0 -350
  426. package/dist/ProductEdit-c99ab559.js +0 -1
  427. package/dist/ProductEdit-cdc3415a.mjs +0 -350
  428. package/dist/ProductEdit-d2666662.js +0 -1
  429. package/dist/ProductEdit-d5dec3cf.js +0 -1
  430. package/dist/ProductEdit-d74fddb1.mjs +0 -350
  431. package/dist/ProductEdit-dae66a53.js +0 -1
  432. package/dist/ProductEdit-e22cc4ef.js +0 -1
  433. package/dist/ProductEdit-e4cad9d1.js +0 -1
  434. package/dist/ProductEdit-e5a2e0f6.js +0 -1
  435. package/dist/ProductEdit-e71dbe52.js +0 -1
  436. package/dist/ProductEdit-e827ea38.mjs +0 -350
  437. package/dist/ProductEdit-ebcc3f98.mjs +0 -306
  438. package/dist/ProductEdit-f7a9af17.mjs +0 -303
  439. package/dist/ProductEdit-f901314c.mjs +0 -306
  440. package/dist/ProductEdit-fa0117b6.mjs +0 -350
  441. package/dist/ProductsBackoffice-0c93f9b6.js +0 -1
  442. package/dist/ProductsBackoffice-3c182d6a.mjs +0 -86
  443. package/dist/ProductsBackoffice-b684913d.js +0 -1
  444. package/dist/ProfileBlogposts-03d04b92.mjs +0 -66
  445. package/dist/ProfileBlogposts-070cb7e9.mjs +0 -65
  446. package/dist/ProfileBlogposts-08f784c3.mjs +0 -64
  447. package/dist/ProfileBlogposts-0b81d964.js +0 -1
  448. package/dist/ProfileBlogposts-2063c511.mjs +0 -65
  449. package/dist/ProfileBlogposts-39c20b79.mjs +0 -64
  450. package/dist/ProfileBlogposts-3aea0091.mjs +0 -64
  451. package/dist/ProfileBlogposts-4293a1e3.js +0 -1
  452. package/dist/ProfileBlogposts-4c326fed.mjs +0 -65
  453. package/dist/ProfileBlogposts-5379335e.js +0 -1
  454. package/dist/ProfileBlogposts-5382274b.mjs +0 -64
  455. package/dist/ProfileBlogposts-57931834.mjs +0 -70
  456. package/dist/ProfileBlogposts-5c0f3b58.js +0 -1
  457. package/dist/ProfileBlogposts-5c6ab74a.mjs +0 -64
  458. package/dist/ProfileBlogposts-5deee0c5.mjs +0 -65
  459. package/dist/ProfileBlogposts-62d5e809.mjs +0 -70
  460. package/dist/ProfileBlogposts-67e1bd8f.mjs +0 -64
  461. package/dist/ProfileBlogposts-69beaa14.js +0 -1
  462. package/dist/ProfileBlogposts-6c715a38.js +0 -1
  463. package/dist/ProfileBlogposts-6f80b734.mjs +0 -64
  464. package/dist/ProfileBlogposts-8b66ae1b.js +0 -1
  465. package/dist/ProfileBlogposts-8c10a505.js +0 -1
  466. package/dist/ProfileBlogposts-8f6191d6.js +0 -1
  467. package/dist/ProfileBlogposts-92c4addb.mjs +0 -64
  468. package/dist/ProfileBlogposts-a2d04221.js +0 -1
  469. package/dist/ProfileBlogposts-a2f7cd4c.mjs +0 -70
  470. package/dist/ProfileBlogposts-a798df3d.js +0 -1
  471. package/dist/ProfileBlogposts-aa839fcb.mjs +0 -77
  472. package/dist/ProfileBlogposts-af88ce98.js +0 -1
  473. package/dist/ProfileBlogposts-b59992cf.mjs +0 -79
  474. package/dist/ProfileBlogposts-b6bf0c42.js +0 -1
  475. package/dist/ProfileBlogposts-bf3cd8e5.mjs +0 -64
  476. package/dist/ProfileBlogposts-c31917ec.js +0 -1
  477. package/dist/ProfileBlogposts-d1d3326e.js +0 -1
  478. package/dist/ProfileBlogposts-d6bba033.js +0 -1
  479. package/dist/ProfileBlogposts-e3ea2c82.js +0 -1
  480. package/dist/ProfileBlogposts-eaecd267.js +0 -1
  481. package/dist/ProfileBlogposts-f90f947b.mjs +0 -64
  482. package/dist/ProfileBlogposts-f9312adf.js +0 -1
  483. package/dist/ProfileComments-03f88b54.mjs +0 -44
  484. package/dist/ProfileComments-061ea40b.mjs +0 -44
  485. package/dist/ProfileComments-06985576.mjs +0 -44
  486. package/dist/ProfileComments-0d22a8ec.js +0 -1
  487. package/dist/ProfileComments-12b51ae3.js +0 -1
  488. package/dist/ProfileComments-1525663e.mjs +0 -44
  489. package/dist/ProfileComments-17352b6a.mjs +0 -44
  490. package/dist/ProfileComments-1ae70859.js +0 -1
  491. package/dist/ProfileComments-1cbf5c45.js +0 -1
  492. package/dist/ProfileComments-1e0d72cc.mjs +0 -44
  493. package/dist/ProfileComments-3cf3e265.mjs +0 -44
  494. package/dist/ProfileComments-473c3413.js +0 -1
  495. package/dist/ProfileComments-6d863cd3.mjs +0 -45
  496. package/dist/ProfileComments-761ce00e.js +0 -1
  497. package/dist/ProfileComments-78231e6a.mjs +0 -44
  498. package/dist/ProfileComments-8a0c489c.mjs +0 -44
  499. package/dist/ProfileComments-8c9146ef.js +0 -1
  500. package/dist/ProfileComments-9398be62.mjs +0 -44
  501. package/dist/ProfileComments-96f6cde8.mjs +0 -44
  502. package/dist/ProfileComments-bae499e9.js +0 -1
  503. package/dist/ProfileComments-c3290211.js +0 -1
  504. package/dist/ProfileComments-c7230f42.mjs +0 -44
  505. package/dist/ProfileComments-cdaccefe.mjs +0 -44
  506. package/dist/ProfileComments-d6779ee2.mjs +0 -44
  507. package/dist/ProfileComments-db4b6fbc.js +0 -1
  508. package/dist/ProfileComments-dd923865.js +0 -1
  509. package/dist/ProfileComments-e0116e5f.js +0 -1
  510. package/dist/ProfileComments-e6970923.js +0 -1
  511. package/dist/ProfileComments-f0000ea6.js +0 -1
  512. package/dist/ProfileEvents-0bdd36e4.mjs +0 -57
  513. package/dist/ProfileEvents-11dc4034.mjs +0 -56
  514. package/dist/ProfileEvents-1ca72873.mjs +0 -56
  515. package/dist/ProfileEvents-1e0c1291.js +0 -1
  516. package/dist/ProfileEvents-26a72fe2.mjs +0 -56
  517. package/dist/ProfileEvents-2f22e7cf.mjs +0 -56
  518. package/dist/ProfileEvents-3089a526.mjs +0 -56
  519. package/dist/ProfileEvents-314eadc3.js +0 -1
  520. package/dist/ProfileEvents-3f7ca2c1.js +0 -1
  521. package/dist/ProfileEvents-47409c9e.mjs +0 -62
  522. package/dist/ProfileEvents-48c70286.mjs +0 -56
  523. package/dist/ProfileEvents-4a2fa422.mjs +0 -57
  524. package/dist/ProfileEvents-588eadf9.js +0 -1
  525. package/dist/ProfileEvents-6b3fb52e.mjs +0 -68
  526. package/dist/ProfileEvents-7502ed90.mjs +0 -57
  527. package/dist/ProfileEvents-76166bc5.mjs +0 -56
  528. package/dist/ProfileEvents-7b202655.js +0 -1
  529. package/dist/ProfileEvents-82517a3b.mjs +0 -56
  530. package/dist/ProfileEvents-893285bb.js +0 -1
  531. package/dist/ProfileEvents-89471c05.js +0 -1
  532. package/dist/ProfileEvents-8b88287a.js +0 -1
  533. package/dist/ProfileEvents-90448f97.js +0 -1
  534. package/dist/ProfileEvents-917169c6.mjs +0 -58
  535. package/dist/ProfileEvents-980b0281.mjs +0 -56
  536. package/dist/ProfileEvents-996bce18.js +0 -1
  537. package/dist/ProfileEvents-a28a4ee5.js +0 -1
  538. package/dist/ProfileEvents-a9b96fec.js +0 -1
  539. package/dist/ProfileEvents-af2536a3.js +0 -1
  540. package/dist/ProfileEvents-ba769f57.mjs +0 -56
  541. package/dist/ProfileEvents-bbdd62e7.mjs +0 -70
  542. package/dist/ProfileEvents-bff6e071.js +0 -1
  543. package/dist/ProfileEvents-c9aa3d41.mjs +0 -56
  544. package/dist/ProfileEvents-cc65404c.js +0 -1
  545. package/dist/ProfileEvents-cdebd612.js +0 -1
  546. package/dist/ProfileEvents-d0c5e3dc.js +0 -1
  547. package/dist/ProfileEvents-d978617d.mjs +0 -57
  548. package/dist/ProfileEvents-db12cf78.js +0 -1
  549. package/dist/ProfileEvents-e070d9d4.mjs +0 -62
  550. package/dist/ProfileEvents-e62e76cf.js +0 -1
  551. package/dist/ProfileEvents-ea023c17.js +0 -1
  552. package/dist/ProfileEvents-ed7f9603.mjs +0 -62
  553. package/dist/ProfileLikes-0402d1fb.js +0 -1
  554. package/dist/ProfileLikes-05911934.mjs +0 -44
  555. package/dist/ProfileLikes-0c8a7255.mjs +0 -44
  556. package/dist/ProfileLikes-11ca8c11.js +0 -1
  557. package/dist/ProfileLikes-23b6f2f9.js +0 -1
  558. package/dist/ProfileLikes-36373ac1.mjs +0 -44
  559. package/dist/ProfileLikes-3c5c02be.mjs +0 -44
  560. package/dist/ProfileLikes-3edf6fb8.mjs +0 -44
  561. package/dist/ProfileLikes-51729962.js +0 -1
  562. package/dist/ProfileLikes-553c52df.js +0 -1
  563. package/dist/ProfileLikes-5b52e4ae.mjs +0 -44
  564. package/dist/ProfileLikes-6cf19687.js +0 -1
  565. package/dist/ProfileLikes-74c78a16.mjs +0 -44
  566. package/dist/ProfileLikes-75215d15.mjs +0 -44
  567. package/dist/ProfileLikes-92196922.mjs +0 -45
  568. package/dist/ProfileLikes-a2c1b585.js +0 -1
  569. package/dist/ProfileLikes-b1060d1e.js +0 -1
  570. package/dist/ProfileLikes-b48ce0ef.js +0 -1
  571. package/dist/ProfileLikes-c068c6c6.js +0 -1
  572. package/dist/ProfileLikes-c8dab14d.mjs +0 -44
  573. package/dist/ProfileLikes-ca197731.mjs +0 -44
  574. package/dist/ProfileLikes-d5f9f058.js +0 -1
  575. package/dist/ProfileLikes-da6303a4.js +0 -1
  576. package/dist/ProfileLikes-e31f28dc.js +0 -1
  577. package/dist/ProfileLikes-e4fa0792.mjs +0 -44
  578. package/dist/ProfileLikes-e88dae8f.mjs +0 -44
  579. package/dist/ProfileLikes-f5ad4497.mjs +0 -44
  580. package/dist/ProfileLikes-f838ff5e.mjs +0 -44
  581. package/dist/ProfileLikes-fa41bad0.js +0 -1
  582. package/dist/ProfileOrganizations-1f9f1841.js +0 -1
  583. package/dist/ProfileOrganizations-3a879480.mjs +0 -212
  584. package/dist/ProfileOrganizations-422d1fa5.js +0 -1
  585. package/dist/ProfileOrganizations-43710687.js +0 -1
  586. package/dist/ProfileOrganizations-4734c02e.mjs +0 -73
  587. package/dist/ProfileOrganizations-5348e892.js +0 -1
  588. package/dist/ProfileOrganizations-55914b43.js +0 -1
  589. package/dist/ProfileOrganizations-58ebfe44.mjs +0 -212
  590. package/dist/ProfileOrganizations-5b5480d5.mjs +0 -212
  591. package/dist/ProfileOrganizations-600d310d.js +0 -1
  592. package/dist/ProfileOrganizations-6b1bc5b2.mjs +0 -213
  593. package/dist/ProfileOrganizations-6f4df3da.js +0 -1
  594. package/dist/ProfileOrganizations-738f444a.js +0 -1
  595. package/dist/ProfileOrganizations-769325c7.js +0 -1
  596. package/dist/ProfileOrganizations-774c6508.mjs +0 -212
  597. package/dist/ProfileOrganizations-78fef72e.js +0 -1
  598. package/dist/ProfileOrganizations-7911deec.mjs +0 -219
  599. package/dist/ProfileOrganizations-8961aaee.mjs +0 -213
  600. package/dist/ProfileOrganizations-930ca51f.mjs +0 -212
  601. package/dist/ProfileOrganizations-974a50ca.mjs +0 -212
  602. package/dist/ProfileOrganizations-ae258581.js +0 -1
  603. package/dist/ProfileOrganizations-bee6a3ae.js +0 -1
  604. package/dist/ProfileOrganizations-c4fb03a1.mjs +0 -72
  605. package/dist/ProfileOrganizations-c5151835.mjs +0 -214
  606. package/dist/ProfileOrganizations-cef668b5.mjs +0 -212
  607. package/dist/ProfileOrganizations-cf8a12f5.mjs +0 -213
  608. package/dist/ProfileOrganizations-d4ec181b.js +0 -1
  609. package/dist/ProfileOrganizations-d55ee487.js +0 -1
  610. package/dist/ProfileOrganizations-db313b5e.mjs +0 -219
  611. package/dist/ProfileOrganizations-ec908108.mjs +0 -212
  612. package/dist/ProfileOrganizations-f52e62e1.js +0 -1
  613. package/dist/Publics-0762210a.js +0 -1
  614. package/dist/Publics-103da60e.js +0 -1
  615. package/dist/Publics-24f055eb.js +0 -1
  616. package/dist/Publics-4438ca51.js +0 -1
  617. package/dist/Publics-4db36606.js +0 -1
  618. package/dist/Publics-50c0ff6c.js +0 -1
  619. package/dist/Publics-538180a8.mjs +0 -45
  620. package/dist/Publics-5472f70c.mjs +0 -123
  621. package/dist/Publics-5ae33b91.mjs +0 -123
  622. package/dist/Publics-640d32fc.mjs +0 -123
  623. package/dist/Publics-660e851c.mjs +0 -45
  624. package/dist/Publics-6b7c97bd.js +0 -1
  625. package/dist/Publics-70a0ca9c.mjs +0 -45
  626. package/dist/Publics-71b9efbe.js +0 -1
  627. package/dist/Publics-8595ab7e.js +0 -1
  628. package/dist/Publics-8bb9a680.js +0 -1
  629. package/dist/Publics-8bc74cc3.js +0 -1
  630. package/dist/Publics-abbe2e0c.mjs +0 -123
  631. package/dist/Publics-b1cbfd97.mjs +0 -45
  632. package/dist/Publics-bbab7a79.js +0 -1
  633. package/dist/Publics-bed70f0c.mjs +0 -123
  634. package/dist/Publics-cbb8eaaa.mjs +0 -123
  635. package/dist/Publics-e14d36ed.js +0 -1
  636. package/dist/Publics-f34131bf.mjs +0 -45
  637. package/dist/Publics-f4c3ef5b.mjs +0 -123
  638. package/dist/Publics-fcb1f708.mjs +0 -123
  639. package/dist/Publics-ffc08ad7.mjs +0 -123
  640. package/dist/Select-90d4b7c8.mjs +0 -81
  641. package/dist/Select-b9299fb6.js +0 -1
  642. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js +0 -1
  643. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs +0 -1
  644. package/dist/SkeletonBlogpost-95db0fa9.js +0 -1
  645. package/dist/SkeletonBlogpost-e0621af7.mjs +0 -16
  646. package/dist/SkeletonEventShort-6c9e3940.js +0 -1
  647. package/dist/SkeletonEventShort-f030e56f.mjs +0 -16
  648. package/dist/SkeletonOrganization-5c09cfc5.js +0 -1
  649. package/dist/SkeletonOrganization-8690422d.mjs +0 -16
  650. package/dist/Socials-31c06635.mjs +0 -74
  651. package/dist/Socials-3fe01af1.mjs +0 -275
  652. package/dist/Socials-821bd677.js +0 -1
  653. package/dist/Socials-9b2d27a6.js +0 -1
  654. package/dist/Socials-b19d0cb1.js +0 -1
  655. package/dist/Socials-becde7dc.mjs +0 -275
  656. package/dist/Socials-cceaeaf2.js +0 -1
  657. package/dist/Tab-6f0a4909.js +0 -1
  658. package/dist/Tab-a243605d.mjs +0 -46
  659. package/dist/Tab-dcd62005.js +0 -1
  660. package/dist/UploadImage-15e24d71.mjs +0 -83
  661. package/dist/UploadImage-1b4c2a5e.mjs +0 -83
  662. package/dist/UploadImage-2170c4df.js +0 -1
  663. package/dist/UploadImage-33f6a9f4.js +0 -1
  664. package/dist/UploadImage-39483aee.mjs +0 -83
  665. package/dist/UploadImage-39d42048.js +0 -1
  666. package/dist/UploadImage-6344f789.js +0 -1
  667. package/dist/UploadImage-739cab04.js +0 -1
  668. package/dist/UploadImage-73d66f27.js +0 -1
  669. package/dist/UploadImage-802b81db.js +0 -1
  670. package/dist/UploadImage-86fda95d.mjs +0 -83
  671. package/dist/UploadImage-8835be69.mjs +0 -83
  672. package/dist/UploadImage-a3ef4012.mjs +0 -83
  673. package/dist/UploadImage-c9711af2.js +0 -1
  674. package/dist/UploadImage-dfb36cdb.js +0 -1
  675. package/dist/UploadImage-e4418b43.mjs +0 -83
  676. package/dist/UploadImage-ec3714e8.mjs +0 -83
  677. package/dist/UploadImage-f04e4bc0.mjs +0 -83
  678. package/dist/UploadImage-f7b0335f.mjs +0 -83
  679. package/dist/UploadImageMultiple-297b3897.js +0 -1
  680. package/dist/UploadImageMultiple-7b132ba0.mjs +0 -58
  681. package/dist/UploadImageMultiple-b4c8d627.js +0 -1
  682. package/dist/UploadImageMultiple-c9a7b54f.js +0 -1
  683. package/dist/UploadImageMultiple-d2d48f39.mjs +0 -58
  684. package/dist/UploadImageMultiple-ebcc51e6.mjs +0 -58
  685. package/dist/addMembersQuantity-ea216f92.mjs +0 -85
  686. package/dist/addMembersQuantity-f922d82b.js +0 -84
  687. package/dist/auth-06d35b82.js +0 -7
  688. package/dist/auth-2f9b2dfc.js +0 -7
  689. package/dist/auth-3dedf391.js +0 -8
  690. package/dist/auth-4415a97a.js +0 -7
  691. package/dist/auth-45a454f2.js +0 -7
  692. package/dist/auth-5217f6a5.mjs +0 -1498
  693. package/dist/auth-5a58f8cb.js +0 -8
  694. package/dist/auth-5cd34aae.mjs +0 -905
  695. package/dist/auth-60c81f40.mjs +0 -1836
  696. package/dist/auth-78d9392a.mjs +0 -612
  697. package/dist/auth-962e3b73.mjs +0 -1836
  698. package/dist/auth-96449d96.js +0 -7
  699. package/dist/auth-98fe3efb.mjs +0 -612
  700. package/dist/auth-acbe3ae1.js +0 -7
  701. package/dist/auth-afa25b86.mjs +0 -905
  702. package/dist/auth-b047fdc0.mjs +0 -612
  703. package/dist/auth-b61483ce.js +0 -8
  704. package/dist/auth-c3234662.mjs +0 -1836
  705. package/dist/auth-cfeacd61.mjs +0 -1839
  706. package/dist/auth-e8f6d979.js +0 -8
  707. package/dist/auth-ec618cb3.mjs +0 -627
  708. package/dist/auth.validation-02e0629b.mjs +0 -20
  709. package/dist/auth.validation-0ce9e326.js +0 -1
  710. package/dist/auth.validation-1b60cef5.mjs +0 -20
  711. package/dist/auth.validation-1d5f2990.mjs +0 -20
  712. package/dist/auth.validation-2cdd2231.mjs +0 -17
  713. package/dist/auth.validation-2dfb450f.js +0 -1
  714. package/dist/auth.validation-2f00457e.js +0 -1
  715. package/dist/auth.validation-30bb0efd.js +0 -1
  716. package/dist/auth.validation-3e93dc23.mjs +0 -20
  717. package/dist/auth.validation-3fd4cc7c.mjs +0 -20
  718. package/dist/auth.validation-495e9d6d.js +0 -1
  719. package/dist/auth.validation-4b016fa5.js +0 -1
  720. package/dist/auth.validation-6a59443b.js +0 -1
  721. package/dist/auth.validation-892bea9b.js +0 -1
  722. package/dist/auth.validation-9e493d2f.mjs +0 -20
  723. package/dist/auth.validation-9f87ea95.mjs +0 -20
  724. package/dist/auth.validation-a17cd085.js +0 -1
  725. package/dist/auth.validation-a52304cf.mjs +0 -20
  726. package/dist/auth.validation-ba3606bf.mjs +0 -24
  727. package/dist/auth.validation-be05e981.js +0 -1
  728. package/dist/auth.validation-c8d5adf5.mjs +0 -20
  729. package/dist/auth.validation-d4795c25.js +0 -1
  730. package/dist/auth.validation-e265b496.mjs +0 -23
  731. package/dist/carousel.es-ee047568.js +0 -5
  732. package/dist/categories-4327a81c.js +0 -1
  733. package/dist/categories-82b28618.js +0 -1
  734. package/dist/categories-df3240a7.mjs +0 -122
  735. package/dist/components/CardFooter/CardFooter.vue.d.ts +0 -8
  736. package/dist/components/CardHeader/CardHeader.vue.d.ts +0 -15
  737. package/dist/dribbble-8e8e169b.js +0 -1
  738. package/dist/dribbble-ae37c2ac.mjs +0 -127
  739. package/dist/icons.client.cjs +0 -1
  740. package/dist/icons.client.js +0 -84
  741. package/dist/index-0ab9d59c.mjs +0 -934
  742. package/dist/index-2059e444.js +0 -2
  743. package/dist/index-2a0269fc.js +0 -2
  744. package/dist/index-4e469a71.mjs +0 -941
  745. package/dist/index-7ecbf72a.js +0 -2
  746. package/dist/index-9128ade5.mjs +0 -1228
  747. package/dist/inputs.validation-14e8e01f.mjs +0 -93
  748. package/dist/inputs.validation-24ae76b9.js +0 -1
  749. package/dist/leftovers-66951de6.js +0 -1
  750. package/dist/mailing-25d08f4c.js +0 -49
  751. package/dist/mailing-ebc6e90f.mjs +0 -50
  752. package/dist/metadata.schema-147f9902.mjs +0 -212
  753. package/dist/metadata.schema-4f856191.js +0 -85
  754. package/dist/metadata.schema-7f36e829.mjs +0 -86
  755. package/dist/metadata.schema-93397f9f.js +0 -211
  756. package/dist/modules/backoffice/components/admin/LeftoverAdd.vue.d.ts +0 -2
  757. package/dist/modules/backoffice/components/admin/Leftovers.vue.d.ts +0 -2
  758. package/dist/modules/backoffice/components/admin/Order.vue.d.ts +0 -6
  759. package/dist/modules/backoffice/components/admin/Orders.vue.d.ts +0 -2
  760. package/dist/modules/backoffice/components/admin/Product.vue.d.ts +0 -2
  761. package/dist/modules/backoffice/components/admin/Products.vue.d.ts +0 -2
  762. package/dist/modules/backoffice/components/layouts/Account.vue.d.ts +0 -2
  763. package/dist/modules/backoffice/components/pages/Favorites.vue.d.ts +0 -6
  764. package/dist/modules/backoffice/components/pages/History.vue.d.ts +0 -6
  765. package/dist/modules/backoffice/components/pages/Organizations.vue.d.ts +0 -2
  766. package/dist/modules/backoffice/components/pages/Profile.vue.d.ts +0 -2
  767. package/dist/modules/backoffice/components/pages/Wallet.vue.d.ts +0 -2
  768. package/dist/modules/backoffice/components/pages/profile/ProfileEdit.vue.d.ts +0 -2
  769. package/dist/modules/gallery/components/sections/Gallery.vue.d.ts +0 -2
  770. package/dist/modules/landing/components/pages/Legal.vue.d.ts +0 -2
  771. package/dist/modules/landing/components/pages/legal/Cookies.vue.d.ts +0 -2
  772. package/dist/modules/landing/components/pages/legal/Privacy.vue.d.ts +0 -2
  773. package/dist/modules/landing/components/pages/legal/Terms.vue.d.ts +0 -2
  774. package/dist/modules/orders/components/pages/History.vue.d.ts +0 -6
  775. package/dist/modules/organizations/components/blocks/DepartmentSubDepartmentModify.vue.d.ts +0 -11
  776. package/dist/modules/organizations/components/elements/ButtonFollow.vue.d.ts +0 -10
  777. package/dist/modules/organizations/components/pages/OrganizationsAccount.vue.d.ts +0 -2
  778. package/dist/modules/organizations/components/sections/Department.vue.d.ts +0 -7
  779. package/dist/modules/organizations/components/sections/Department2.vue.d.ts +0 -7
  780. package/dist/modules/organizations/components/sections/MembersTab.vue.d.ts +0 -7
  781. package/dist/modules/organizations/components/sections/PlaceModify.vue.d.ts +0 -9
  782. package/dist/modules/organizations/components/sections/Places.vue.d.ts +0 -9
  783. package/dist/modules/organizations/components/sections/StructureTab.vue.d.ts +0 -8
  784. package/dist/modules/products/components/blocks/Leftover.vue.d.ts +0 -6
  785. package/dist/modules/products/components/blocks/ProductCard.vue.d.ts +0 -6
  786. package/dist/organizations-0fb56927.mjs +0 -122
  787. package/dist/organizations-195ec134.js +0 -1
  788. package/dist/organizations-2adff182.mjs +0 -121
  789. package/dist/organizations-4157d81d.js +0 -1
  790. package/dist/organizations-49a10611.js +0 -1
  791. package/dist/organizations-4d18a2e2.js +0 -1
  792. package/dist/organizations-52438d24.mjs +0 -121
  793. package/dist/organizations-65937ba4.js +0 -1
  794. package/dist/organizations-6ed907e3.mjs +0 -122
  795. package/dist/organizations-81e762e7.mjs +0 -122
  796. package/dist/organizations-8408770b.mjs +0 -121
  797. package/dist/organizations-8ffdf84d.mjs +0 -121
  798. package/dist/organizations-a241b21d.js +0 -1
  799. package/dist/organizations-aed4245d.mjs +0 -122
  800. package/dist/organizations-af965fcf.mjs +0 -122
  801. package/dist/organizations-bb8f676d.js +0 -1
  802. package/dist/organizations-cf1ab766.js +0 -1
  803. package/dist/organizations-e1bfd3a8.mjs +0 -121
  804. package/dist/organizations-e74f4f84.js +0 -1
  805. package/dist/organizations-e97a0f85.js +0 -1
  806. package/dist/organizations-ea9de495.mjs +0 -122
  807. package/dist/organizations.client-0071acee.js +0 -3
  808. package/dist/organizations.client-01593e4d.js +0 -3
  809. package/dist/organizations.client-13fc2cbe.js +0 -3
  810. package/dist/organizations.client-16ee6b43.js +0 -3
  811. package/dist/organizations.client-1b0906f9.js +0 -3
  812. package/dist/organizations.client-1b9fa66e.mjs +0 -2997
  813. package/dist/organizations.client-1e9361ec.js +0 -3
  814. package/dist/organizations.client-1eb0b49c.js +0 -3
  815. package/dist/organizations.client-21cfcf36.mjs +0 -3038
  816. package/dist/organizations.client-292e8444.js +0 -3
  817. package/dist/organizations.client-2e452fee.js +0 -3
  818. package/dist/organizations.client-37ec4817.js +0 -3
  819. package/dist/organizations.client-39196bef.mjs +0 -3041
  820. package/dist/organizations.client-43816e25.mjs +0 -3018
  821. package/dist/organizations.client-48568171.mjs +0 -3017
  822. package/dist/organizations.client-49eaeca6.mjs +0 -3017
  823. package/dist/organizations.client-52d2951c.mjs +0 -3017
  824. package/dist/organizations.client-5548024c.js +0 -3
  825. package/dist/organizations.client-63b476ff.mjs +0 -2996
  826. package/dist/organizations.client-6947e530.js +0 -3
  827. package/dist/organizations.client-696eacbb.js +0 -3
  828. package/dist/organizations.client-6a69b54a.js +0 -3
  829. package/dist/organizations.client-6f1f8b73.mjs +0 -3017
  830. package/dist/organizations.client-6fc91683.mjs +0 -3072
  831. package/dist/organizations.client-723ebb3b.js +0 -3
  832. package/dist/organizations.client-76c3660a.mjs +0 -3072
  833. package/dist/organizations.client-7e51b4a8.js +0 -3
  834. package/dist/organizations.client-85a2ae66.js +0 -3
  835. package/dist/organizations.client-88d41199.mjs +0 -3038
  836. package/dist/organizations.client-8aa34e80.mjs +0 -3017
  837. package/dist/organizations.client-91e84d4f.mjs +0 -3022
  838. package/dist/organizations.client-976762d2.mjs +0 -3021
  839. package/dist/organizations.client-9e480f60.js +0 -3
  840. package/dist/organizations.client-b0878617.js +0 -3
  841. package/dist/organizations.client-b39db194.js +0 -3
  842. package/dist/organizations.client-b692a78a.mjs +0 -3018
  843. package/dist/organizations.client-bae43c7c.mjs +0 -3017
  844. package/dist/organizations.client-bdc9b044.js +0 -3
  845. package/dist/organizations.client-be1224a1.mjs +0 -3017
  846. package/dist/organizations.client-bf73e73d.mjs +0 -3017
  847. package/dist/organizations.client-c288ff44.mjs +0 -3072
  848. package/dist/organizations.client-c6fd9351.js +0 -3
  849. package/dist/organizations.client-c7844bc2.mjs +0 -3038
  850. package/dist/organizations.client-cdbaf6aa.mjs +0 -3017
  851. package/dist/organizations.client-d0cae5f4.mjs +0 -3017
  852. package/dist/organizations.client-d21a22ec.js +0 -3
  853. package/dist/organizations.client-d47f0b3f.js +0 -3
  854. package/dist/organizations.client-ddbf8809.js +0 -3
  855. package/dist/organizations.client-df5e8a6f.mjs +0 -3020
  856. package/dist/organizations.client-f4dff584.mjs +0 -3017
  857. package/dist/organizations.client-fa3b0839.mjs +0 -3017
  858. package/dist/products-7960bbd4.js +0 -1
  859. package/dist/products-7e4253eb.js +0 -1
  860. package/dist/products-bf5783aa.mjs +0 -108
  861. package/dist/states.validation-02ba0aee.js +0 -1
  862. package/dist/states.validation-03f7cd49.js +0 -1
  863. package/dist/states.validation-50e3a5a0.mjs +0 -13
  864. package/dist/states.validation-766a62a6.mjs +0 -13
  865. package/dist/states.validation-92231934.js +0 -1
  866. package/dist/states.validation-e5f4fa3a.mjs +0 -13
  867. package/dist/vue-draggable-next.esm-bundler-80731ae0.js +0 -10
  868. package/dist/vuex.esm-bundler-e8cf3cd2.js +0 -5
@@ -1,350 +0,0 @@
1
- import { toRefs as S, openBlock as n, createElementBlock as c, createTextVNode as C, toDisplayString as w, unref as s, createVNode as d, createElementVNode as t, createCommentVNode as k, createBlock as D, withCtx as I, Fragment as N, renderList as P, ref as U, withModifiers as R, withAsyncContext as E } from "vue";
2
- import { useRoute as B, useRouter as V } from "vue-router";
3
- import { s as r, a as F, b as $, _ as M, c as T } from "./organizations.client-52d2951c.mjs";
4
- import "./inputs.validation-14e8e01f.mjs";
5
- import { F as b, _ as A, a as j } from "./auth-c3234662.mjs";
6
- import { C as O } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-ec801e39.mjs";
7
- import "vue-i18n";
8
- import { S as q } from "./Publics-5ae33b91.mjs";
9
- import { u as G } from "./vuex.esm-bundler-57d8b6ba.mjs";
10
- import { V as H } from "./vue-draggable-next.esm-bundler-ff6e3f52.mjs";
11
- import "./globals-96ba60e4.mjs";
12
- import "./Tab-a243605d.mjs";
13
- import "./ButtonFollow-d4552677.mjs";
14
- import "./_plugin-vue_export-helper-dad06003.mjs";
15
- import "./Feed-bbe44c17.mjs";
16
- import "./EmptyState-34d85f10.mjs";
17
- import "./Chips-03ff0c34.mjs";
18
- import "./IconEdit-eacf3856.mjs";
19
- import "./Feed-536c8a92.mjs";
20
- import "./Socials-8193477c.mjs";
21
- import "./CardOrganization-d3a9d898.mjs";
22
- import "./organizations-e1bfd3a8.mjs";
23
- import "./UploadImage-39483aee.mjs";
24
- const J = { class: "mn-big flex-column flex" }, K = {
25
- __name: "EditProductInfo",
26
- props: {
27
- product: Object
28
- },
29
- setup(m) {
30
- const u = m, o = G();
31
- return S(u), (e, l) => (n(), c("div", J, [
32
- C(w(s(o).products.current) + " ", 1),
33
- d(q, {
34
- options: [
35
- "unpublished",
36
- "published",
37
- "archivied"
38
- ],
39
- select: s(o).products.state.current.status,
40
- "onUpdate:select": l[0] || (l[0] = (a) => s(o).products.state.current.status = a),
41
- placeholder: "Display product",
42
- class: "w-100 mn-small bg-white radius-small pd-medium"
43
- }, null, 8, ["select"]),
44
- d(b, {
45
- field: s(o).products.state.current.name,
46
- "onUpdate:field": l[1] || (l[1] = (a) => s(o).products.state.current.name = a),
47
- placeholder: "Введите название",
48
- class: "w-100 mn-small bg-white radius-small pd-medium"
49
- }, null, 8, ["field"]),
50
- d(b, {
51
- field: s(o).products.state.current.price,
52
- "onUpdate:field": l[2] || (l[2] = (a) => s(o).products.state.current.price = a),
53
- placeholder: "Введите цену",
54
- class: "w-100 mn-small bg-white radius-small pd-medium",
55
- type: "number"
56
- }, null, 8, ["field"]),
57
- d(b, {
58
- field: s(o).products.state.current.description,
59
- "onUpdate:field": l[3] || (l[3] = (a) => s(o).products.state.current.description = a),
60
- placeholder: "Введите описание",
61
- class: "w-100 mn-small bg-white radius-small pd-medium",
62
- type: "textarea"
63
- }, null, 8, ["field"])
64
- ]));
65
- }
66
- }, Q = { class: "mn-big" }, W = { class: "mn-small flex-nowrap flex" }, X = { class: "mn-r-thin" }, Y = { class: "flex-column flex" }, Z = {
67
- key: 0,
68
- class: "w-100 mn-small"
69
- }, ee = ["onClick"], te = /* @__PURE__ */ t("svg", {
70
- class: "i-small",
71
- fill: "none",
72
- height: "20",
73
- viewBox: "0 0 20 20",
74
- width: "20",
75
- xmlns: "http://www.w3.org/2000/svg"
76
- }, [
77
- /* @__PURE__ */ t("path", {
78
- "clip-rule": "evenodd",
79
- d: "m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",
80
- fill: "#8a8a8a",
81
- "fill-rule": "evenodd"
82
- })
83
- ], -1), se = [
84
- te
85
- ], L = {
86
- __name: "EditParameters",
87
- props: {
88
- items: {
89
- type: Array,
90
- default: () => []
91
- },
92
- title: String,
93
- addButtonLabel: String,
94
- emptyMessage: String,
95
- keyName: String,
96
- valueName: String
97
- },
98
- emits: ["add-info", "delete-info"],
99
- setup(m, { emit: u }) {
100
- const o = m;
101
- function e() {
102
- u("add-info", {});
103
- }
104
- function l(i) {
105
- u("delete-info", i);
106
- }
107
- const { items: a, title: _, emptyMessage: v, addButtonLabel: f, keyName: p, valueName: g } = S(o);
108
- return (i, z) => (n(), c("div", Q, [
109
- t("div", W, [
110
- t("h5", X, w(s(_)), 1),
111
- t("button", {
112
- onClick: e,
113
- class: "i-small pd-thin button-delete button"
114
- }, "+")
115
- ]),
116
- t("div", Y, [
117
- s(a).length == 0 ? (n(), c("p", Z, w(s(v)), 1)) : k("", !0),
118
- s(a).length == 0 ? (n(), D(A, {
119
- key: 1,
120
- onClick: e,
121
- class: "button"
122
- }, {
123
- default: I(() => [
124
- C(w(s(f)), 1)
125
- ]),
126
- _: 1
127
- })) : k("", !0),
128
- (n(!0), c(N, null, P(s(a), (h, x) => (n(), c("div", {
129
- class: "mn-medium w-100 flex-nowrap flex",
130
- key: x
131
- }, [
132
- d(b, {
133
- field: h[s(p)],
134
- "onUpdate:field": (y) => h[s(p)] = y,
135
- placeholder: "Название параметра",
136
- class: "w-100 mn-r-small bg-white radius-small pd-medium"
137
- }, null, 8, ["field", "onUpdate:field"]),
138
- d(b, {
139
- field: h[s(g)],
140
- "onUpdate:field": (y) => h[s(g)] = y,
141
- placeholder: "Значение параметра",
142
- class: "w-100 bg-white radius-small pd-medium"
143
- }, null, 8, ["field", "onUpdate:field"]),
144
- t("button", {
145
- onClick: (y) => l(x),
146
- class: "mn-l-small button"
147
- }, se, 8, ee)
148
- ]))), 128))
149
- ])
150
- ]));
151
- }
152
- }, oe = /* @__PURE__ */ t("div", { class: "flex-v-center flex-h-center flex w-100 h-100" }, " upload ", -1), ae = {
153
- __name: "UploadImageMultiple",
154
- props: [
155
- "uploadPath"
156
- ],
157
- emits: ["update:images"],
158
- setup(m, { emit: u }) {
159
- const o = m, e = U([]), l = U(null);
160
- function a() {
161
- l.value.click();
162
- }
163
- async function _(f) {
164
- let p = f.target.files, g = new FormData();
165
- for (let i = 0; i < p.length; i++)
166
- g.append("file", p[i]);
167
- try {
168
- (await j.create({ baseURL: process.env.API_URL, withCredentials: !0 }).post(`/api/upload/multiple?folderName=${encodeURIComponent(o.uploadPath)}`, g, {
169
- headers: {
170
- "Content-Type": "multipart/form-data"
171
- }
172
- })).data.forEach((h) => {
173
- e.value.push(h.filepath);
174
- }), u("update:images", e.value);
175
- } catch (i) {
176
- console.error(i);
177
- }
178
- }
179
- function v(f) {
180
- f.preventDefault(), _({
181
- target: {
182
- files: f.dataTransfer.files
183
- }
184
- });
185
- }
186
- return (f, p) => (n(), c("div", {
187
- onClick: a,
188
- onDrop: v,
189
- onDragover: p[0] || (p[0] = R(() => {
190
- }, ["prevent"])),
191
- class: "flex-v-center flex-h-center flex"
192
- }, [
193
- oe,
194
- t("input", {
195
- type: "file",
196
- ref_key: "fileInput",
197
- ref: l,
198
- onChange: _,
199
- multiple: "",
200
- style: { display: "none" }
201
- }, null, 544)
202
- ], 32));
203
- }
204
- }, le = {
205
- key: 0,
206
- class: "mn-big"
207
- }, ne = { class: "flex-column block" }, re = ["src"], ie = ["onClick"], de = {
208
- __name: "EditProductImages",
209
- props: {
210
- product: Object
211
- },
212
- setup(m) {
213
- function u(e) {
214
- console.log(e), console.log(r.current.images), r.current.images.push(...e);
215
- }
216
- function o(e) {
217
- r.current.images.splice(e, 1);
218
- }
219
- return (e, l) => (n(), c("div", null, [
220
- m.product.images.length < 1 ? (n(), c("p", le, " The product doesn't have any images yet. ")) : k("", !0),
221
- d(s(H), {
222
- class: "cols-4 dragArea list-group w-full",
223
- list: m.product.images,
224
- sort: !0,
225
- onChange: e.log
226
- }, {
227
- default: I(() => [
228
- (n(!0), c(N, null, P(m.product.images, (a, _) => (n(), c("div", ne, [
229
- t("img", {
230
- class: "w-100 mn-small",
231
- src: (e.FILE_SERVER_URL || "") + a
232
- }, null, 8, re),
233
- t("a", {
234
- onClick: (v) => o(_),
235
- class: "w-100 br-grey br-solid br-1px button"
236
- }, "Удалить", 8, ie)
237
- ]))), 256))
238
- ]),
239
- _: 1
240
- }, 8, ["list", "onChange"]),
241
- d(ae, {
242
- "onUpdate:images": u,
243
- uploadPath: "organizations/" + e.$route.params._id + "/products",
244
- class: "mn-t-semi pd-small w-100 button bg-main"
245
- }, null, 8, ["uploadPath"])
246
- ]));
247
- }
248
- };
249
- const ce = { class: "for-transition w-100" }, ue = { class: "pd-b-zero pd-t-zero pd-thin" }, me = { class: "pd-thin" }, pe = { class: "flex-nowrap flex bg-grey pd-medium radius-big" }, fe = {
250
- key: 0,
251
- class: "mn-r-auto"
252
- }, he = {
253
- key: 1,
254
- class: "mn-r-auto"
255
- }, _e = { class: "flex-nowrap flex pd-thin" }, ge = { class: "pd-b-zero pd-t-zero pd-thin cols-2 gap-thin" }, ve = { class: "mn-thin bg-grey pd-medium o-hidden radius-big" }, be = /* @__PURE__ */ t("h3", { class: "mn-semi" }, "Profile", -1), ye = { class: "mn-semi" }, we = /* @__PURE__ */ t("h5", null, "Categories", -1), xe = { class: "" }, $e = { class: "mn-thin bg-grey pd-medium o-hidden radius-big" }, ke = /* @__PURE__ */ t("h3", { class: "mn-semi" }, "Images", -1), Ke = {
256
- __name: "ProductEdit",
257
- async setup(m) {
258
- let u, o;
259
- const e = B(), l = V();
260
- [u, o] = E(() => F.fetchCategories()), await u, o(), e.params.product && ([u, o] = E(() => $.read({ _id: e.params.product })), await u, o());
261
- function a() {
262
- r.current.information.push({ name: "", value: "" });
263
- }
264
- function _(i) {
265
- r.current.information.splice(i, 1);
266
- }
267
- function v() {
268
- r.current.localization.push({ locale: "", text: "" });
269
- }
270
- function f(i) {
271
- r.current.localization.splice(i, 1);
272
- }
273
- function p() {
274
- e.params.product ? $.update(e.params.product, r.current) : $.create(e.params._id, r.current);
275
- }
276
- function g() {
277
- l.push({ name: "ProductEdit", params: { _id: e.params._id, product: r.current._id } });
278
- }
279
- return (i, z) => (n(), c("div", ce, [
280
- t("div", ue, [
281
- d(M, { class: "pd-medium bg-grey radius-big" })
282
- ]),
283
- t("div", me, [
284
- t("header", pe, [
285
- s(e).params.product ? (n(), c("h1", fe, "Edit Product")) : (n(), c("h1", he, "Create Product")),
286
- t("section", _e, [
287
- d(A, {
288
- submit: p,
289
- callback: g
290
- }, {
291
- default: I(() => [
292
- C("Save Product")
293
- ]),
294
- _: 1
295
- })
296
- ])
297
- ])
298
- ]),
299
- t("div", ge, [
300
- t("div", ve, [
301
- be,
302
- d(K, {
303
- product: r.current
304
- }, null, 8, ["product"]),
305
- t("div", ye, [
306
- we,
307
- (n(!0), c(N, null, P(T.all, (h, x) => (n(), D(O, {
308
- label: h.name,
309
- name: "categories",
310
- value: h.url,
311
- class: "w-100 mn-t-small bg-white radius-small pd-small",
312
- radio: r.current.category
313
- }, null, 8, ["label", "value", "radio"]))), 256))
314
- ]),
315
- d(L, {
316
- items: r.current.information,
317
- title: "Parameters",
318
- emptyMessage: "No parameters",
319
- addButtonLabel: "Add parameter",
320
- keyName: "name",
321
- valueName: "value",
322
- onAddInfo: a,
323
- onDeleteInfo: _
324
- }, null, 8, ["items"]),
325
- d(L, {
326
- items: r.current.localization,
327
- title: "Localization",
328
- emptyMessage: "No localizations",
329
- addButtonLabel: "Add localization",
330
- keyName: "locale",
331
- valueName: "text",
332
- onAddInfo: v,
333
- onDeleteInfo: f
334
- }, null, 8, ["items"])
335
- ]),
336
- t("div", xe, [
337
- t("div", $e, [
338
- ke,
339
- d(de, {
340
- product: r.current
341
- }, null, 8, ["product"])
342
- ])
343
- ])
344
- ])
345
- ]));
346
- }
347
- };
348
- export {
349
- Ke as default
350
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),b=require("vue-router"),n=require("./organizations.client-b0878617.js");require("./inputs.validation-24ae76b9.js");const p=require("./auth-b61483ce.js"),k=require("./Breadcrumbs.vue_vue_type_style_index_0_lang-6f807eb5.js");require("vue-i18n");const y=require("./Publics-6b7c97bd.js"),E=require("./vuex.esm-bundler-e8cf3cd2.js"),V=require("./vue-draggable-next.esm-bundler-80731ae0.js");require("./globals-928eb13c.js");require("./Tab-6f0a4909.js");require("./ButtonFollow-4049a57e.js");require("./_plugin-vue_export-helper-f246444f.js");require("./Feed-c8dc4359.js");require("./EmptyState-7658d7d6.js");require("./Chips-92ccc11f.js");require("./IconEdit-4cfe2115.js");require("./Feed-8acc6844.js");require("./Socials-821bd677.js");require("./CardOrganization-43e80590.js");require("./organizations-49a10611.js");require("./UploadImage-39d42048.js");const x={class:"mn-big flex-column flex"},w={__name:"EditProductInfo",props:{product:Object},setup(c){const s=c,o=E.useStore();return e.toRefs(s),(t,l)=>(e.openBlock(),e.createElementBlock("div",x,[e.createTextVNode(e.toDisplayString(e.unref(o).products.current)+" ",1),e.createVNode(y.Select,{options:["unpublished","published","archivied"],select:e.unref(o).products.state.current.status,"onUpdate:select":l[0]||(l[0]=r=>e.unref(o).products.state.current.status=r),placeholder:"Display product",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["select"]),e.createVNode(p.Field,{field:e.unref(o).products.state.current.name,"onUpdate:field":l[1]||(l[1]=r=>e.unref(o).products.state.current.name=r),placeholder:"Введите название",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(p.Field,{field:e.unref(o).products.state.current.price,"onUpdate:field":l[2]||(l[2]=r=>e.unref(o).products.state.current.price=r),placeholder:"Введите цену",class:"w-100 mn-small bg-white radius-small pd-medium",type:"number"},null,8,["field"]),e.createVNode(p.Field,{field:e.unref(o).products.state.current.description,"onUpdate:field":l[3]||(l[3]=r=>e.unref(o).products.state.current.description=r),placeholder:"Введите описание",class:"w-100 mn-small bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])]))}},B={class:"mn-big"},C={class:"mn-small flex-nowrap flex"},$={class:"mn-r-thin"},q={class:"flex-column flex"},P={key:0,class:"w-100 mn-small"},z=["onClick"],I=e.createElementVNode("svg",{class:"i-small",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"clip-rule":"evenodd",d:"m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",fill:"#8a8a8a","fill-rule":"evenodd"})],-1),S=[I],N={__name:"EditParameters",props:{items:{type:Array,default:()=>[]},title:String,addButtonLabel:String,emptyMessage:String,keyName:String,valueName:String},emits:["add-info","delete-info"],setup(c,{emit:s}){const o=c;function t(){s("add-info",{})}function l(a){s("delete-info",a)}const{items:r,title:m,emptyMessage:_,addButtonLabel:d,keyName:i,valueName:f}=e.toRefs(o);return(a,v)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("div",C,[e.createElementVNode("h5",$,e.toDisplayString(e.unref(m)),1),e.createElementVNode("button",{onClick:t,class:"i-small pd-thin button-delete button"},"+")]),e.createElementVNode("div",q,[e.unref(r).length==0?(e.openBlock(),e.createElementBlock("p",P,e.toDisplayString(e.unref(_)),1)):e.createCommentVNode("",!0),e.unref(r).length==0?(e.openBlock(),e.createBlock(p._sfc_main,{key:1,onClick:t,class:"button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)),1)]),_:1})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),(u,g)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-medium w-100 flex-nowrap flex",key:g},[e.createVNode(p.Field,{field:u[e.unref(i)],"onUpdate:field":h=>u[e.unref(i)]=h,placeholder:"Название параметра",class:"w-100 mn-r-small bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(p.Field,{field:u[e.unref(f)],"onUpdate:field":h=>u[e.unref(f)]=h,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:h=>l(g),class:"mn-l-small button"},S,8,z)]))),128))])]))}},D=e.createElementVNode("div",{class:"flex-v-center flex-h-center flex w-100 h-100"}," upload ",-1),U={__name:"UploadImageMultiple",props:["uploadPath"],emits:["update:images"],setup(c,{emit:s}){const o=c,t=e.ref([]),l=e.ref(null);function r(){l.value.click()}async function m(d){let i=d.target.files,f=new FormData;for(let a=0;a<i.length;a++)f.append("file",i[a]);try{(await p.axios.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(o.uploadPath)}`,f,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(u=>{t.value.push(u.filepath)}),s("update:images",t.value)}catch(a){console.error(a)}}function _(d){d.preventDefault(),m({target:{files:d.dataTransfer.files}})}return(d,i)=>(e.openBlock(),e.createElementBlock("div",{onClick:r,onDrop:_,onDragover:i[0]||(i[0]=e.withModifiers(()=>{},["prevent"])),class:"flex-v-center flex-h-center flex"},[D,e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:l,onChange:m,multiple:"",style:{display:"none"}},null,544)],32))}},L={key:0,class:"mn-big"},A={class:"flex-column block"},F=["src"],R=["onClick"],T={__name:"EditProductImages",props:{product:Object},setup(c){function s(t){console.log(t),console.log(n.state.current.images),n.state.current.images.push(...t)}function o(t){n.state.current.images.splice(t,1)}return(t,l)=>(e.openBlock(),e.createElementBlock("div",null,[c.product.images.length<1?(e.openBlock(),e.createElementBlock("p",L," The product doesn't have any images yet. ")):e.createCommentVNode("",!0),e.createVNode(e.unref(V.VueDraggableNext),{class:"cols-4 dragArea list-group w-full",list:c.product.images,sort:!0,onChange:t.log},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.product.images,(r,m)=>(e.openBlock(),e.createElementBlock("div",A,[e.createElementVNode("img",{class:"w-100 mn-small",src:(t.FILE_SERVER_URL||"")+r},null,8,F),e.createElementVNode("a",{onClick:_=>o(m),class:"w-100 br-grey br-solid br-1px button"},"Удалить",8,R)]))),256))]),_:1},8,["list","onChange"]),e.createVNode(U,{"onUpdate:images":s,uploadPath:"organizations/"+t.$route.params._id+"/products",class:"mn-t-semi pd-small w-100 button bg-main"},null,8,["uploadPath"])]))}};const M={class:"for-transition w-100"},j={class:"pd-b-zero pd-t-zero pd-thin"},O={class:"pd-thin"},G={class:"flex-nowrap flex bg-grey pd-medium radius-big"},H={key:0,class:"mn-r-auto"},J={key:1,class:"mn-r-auto"},K={class:"flex-nowrap flex pd-thin"},Q={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},W={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},X=e.createElementVNode("h3",{class:"mn-semi"},"Profile",-1),Y={class:"mn-semi"},Z=e.createElementVNode("h5",null,"Categories",-1),ee={class:""},te={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},ne=e.createElementVNode("h3",{class:"mn-semi"},"Images",-1),oe={__name:"ProductEdit",async setup(c){let s,o;const t=b.useRoute(),l=b.useRouter();[s,o]=e.withAsyncContext(()=>n.actions.fetchCategories()),await s,o(),t.params.product&&([s,o]=e.withAsyncContext(()=>n.actions$1.read({_id:t.params.product})),await s,o());function r(){n.state.current.information.push({name:"",value:""})}function m(a){n.state.current.information.splice(a,1)}function _(){n.state.current.localization.push({locale:"",text:""})}function d(a){n.state.current.localization.splice(a,1)}function i(){t.params.product?n.actions$1.update(t.params.product,n.state.current):n.actions$1.create(t.params._id,n.state.current)}function f(){l.push({name:"ProductEdit",params:{_id:t.params._id,product:n.state.current._id}})}return(a,v)=>(e.openBlock(),e.createElementBlock("div",M,[e.createElementVNode("div",j,[e.createVNode(n._sfc_main,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",O,[e.createElementVNode("header",G,[e.unref(t).params.product?(e.openBlock(),e.createElementBlock("h1",H,"Edit Product")):(e.openBlock(),e.createElementBlock("h1",J,"Create Product")),e.createElementVNode("section",K,[e.createVNode(p._sfc_main,{submit:i,callback:f},{default:e.withCtx(()=>[e.createTextVNode("Save Product")]),_:1})])])]),e.createElementVNode("div",Q,[e.createElementVNode("div",W,[X,e.createVNode(w,{product:n.state.current},null,8,["product"]),e.createElementVNode("div",Y,[Z,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.state$1.all,(u,g)=>(e.openBlock(),e.createBlock(k.Checkbox,{label:u.name,name:"categories",value:u.url,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:n.state.current.category},null,8,["label","value","radio"]))),256))]),e.createVNode(N,{items:n.state.current.information,title:"Parameters",emptyMessage:"No parameters",addButtonLabel:"Add parameter",keyName:"name",valueName:"value",onAddInfo:r,onDeleteInfo:m},null,8,["items"]),e.createVNode(N,{items:n.state.current.localization,title:"Localization",emptyMessage:"No localizations",addButtonLabel:"Add localization",keyName:"locale",valueName:"text",onAddInfo:_,onDeleteInfo:d},null,8,["items"])]),e.createElementVNode("div",ee,[e.createElementVNode("div",te,[ne,e.createVNode(T,{product:n.state.current},null,8,["product"])])])])]))}};exports.default=oe;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),b=require("vue-router"),n=require("./organizations.client-37ec4817.js");require("./inputs.validation-24ae76b9.js");const p=require("./auth-3dedf391.js"),k=require("./Breadcrumbs.vue_vue_type_style_index_0_lang-cf9f6aed.js");require("vue-i18n");const y=require("./Publics-8bc74cc3.js"),E=require("./vuex.esm-bundler-e8cf3cd2.js"),V=require("./vue-draggable-next.esm-bundler-80731ae0.js");require("./globals-928eb13c.js");require("./Tab-6f0a4909.js");require("./ButtonFollow-daa0e9e4.js");require("./_plugin-vue_export-helper-f246444f.js");require("./Feed-2c92ceed.js");require("./EmptyState-7658d7d6.js");require("./Chips-4d8ac62e.js");require("./IconEdit-4cfe2115.js");require("./Feed-a5229528.js");require("./Socials-821bd677.js");require("./CardOrganization-79eb2b6f.js");require("./organizations-e74f4f84.js");require("./UploadImage-802b81db.js");const x={class:"mn-big flex-column flex"},w={__name:"EditProductInfo",props:{product:Object},setup(c){const s=c,o=E.useStore();return e.toRefs(s),(t,l)=>(e.openBlock(),e.createElementBlock("div",x,[e.createTextVNode(e.toDisplayString(e.unref(o).products.current)+" ",1),e.createVNode(y.Select,{options:["unpublished","published","archivied"],select:e.unref(o).products.state.current.status,"onUpdate:select":l[0]||(l[0]=r=>e.unref(o).products.state.current.status=r),placeholder:"Display product",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["select"]),e.createVNode(p.Field,{field:e.unref(o).products.state.current.name,"onUpdate:field":l[1]||(l[1]=r=>e.unref(o).products.state.current.name=r),placeholder:"Введите название",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(p.Field,{field:e.unref(o).products.state.current.price,"onUpdate:field":l[2]||(l[2]=r=>e.unref(o).products.state.current.price=r),placeholder:"Введите цену",class:"w-100 mn-small bg-white radius-small pd-medium",type:"number"},null,8,["field"]),e.createVNode(p.Field,{field:e.unref(o).products.state.current.description,"onUpdate:field":l[3]||(l[3]=r=>e.unref(o).products.state.current.description=r),placeholder:"Введите описание",class:"w-100 mn-small bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])]))}},B={class:"mn-big"},C={class:"mn-small flex-nowrap flex"},$={class:"mn-r-thin"},q={class:"flex-column flex"},P={key:0,class:"w-100 mn-small"},z=["onClick"],I=e.createElementVNode("svg",{class:"i-small",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"clip-rule":"evenodd",d:"m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",fill:"#8a8a8a","fill-rule":"evenodd"})],-1),S=[I],N={__name:"EditParameters",props:{items:{type:Array,default:()=>[]},title:String,addButtonLabel:String,emptyMessage:String,keyName:String,valueName:String},emits:["add-info","delete-info"],setup(c,{emit:s}){const o=c;function t(){s("add-info",{})}function l(a){s("delete-info",a)}const{items:r,title:m,emptyMessage:_,addButtonLabel:d,keyName:i,valueName:f}=e.toRefs(o);return(a,v)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("div",C,[e.createElementVNode("h5",$,e.toDisplayString(e.unref(m)),1),e.createElementVNode("button",{onClick:t,class:"i-small pd-thin button-delete button"},"+")]),e.createElementVNode("div",q,[e.unref(r).length==0?(e.openBlock(),e.createElementBlock("p",P,e.toDisplayString(e.unref(_)),1)):e.createCommentVNode("",!0),e.unref(r).length==0?(e.openBlock(),e.createBlock(p._sfc_main,{key:1,onClick:t,class:"button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)),1)]),_:1})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),(u,g)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-medium w-100 flex-nowrap flex",key:g},[e.createVNode(p.Field,{field:u[e.unref(i)],"onUpdate:field":h=>u[e.unref(i)]=h,placeholder:"Название параметра",class:"w-100 mn-r-small bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(p.Field,{field:u[e.unref(f)],"onUpdate:field":h=>u[e.unref(f)]=h,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:h=>l(g),class:"mn-l-small button"},S,8,z)]))),128))])]))}},D=e.createElementVNode("div",{class:"flex-v-center flex-h-center flex w-100 h-100"}," upload ",-1),U={__name:"UploadImageMultiple",props:["uploadPath"],emits:["update:images"],setup(c,{emit:s}){const o=c,t=e.ref([]),l=e.ref(null);function r(){l.value.click()}async function m(d){let i=d.target.files,f=new FormData;for(let a=0;a<i.length;a++)f.append("file",i[a]);try{(await p.axios.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(o.uploadPath)}`,f,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(u=>{t.value.push(u.filepath)}),s("update:images",t.value)}catch(a){console.error(a)}}function _(d){d.preventDefault(),m({target:{files:d.dataTransfer.files}})}return(d,i)=>(e.openBlock(),e.createElementBlock("div",{onClick:r,onDrop:_,onDragover:i[0]||(i[0]=e.withModifiers(()=>{},["prevent"])),class:"flex-v-center flex-h-center flex"},[D,e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:l,onChange:m,multiple:"",style:{display:"none"}},null,544)],32))}},L={key:0,class:"mn-big"},A={class:"flex-column block"},F=["src"],R=["onClick"],T={__name:"EditProductImages",props:{product:Object},setup(c){function s(t){console.log(t),console.log(n.state.current.images),n.state.current.images.push(...t)}function o(t){n.state.current.images.splice(t,1)}return(t,l)=>(e.openBlock(),e.createElementBlock("div",null,[c.product.images.length<1?(e.openBlock(),e.createElementBlock("p",L," The product doesn't have any images yet. ")):e.createCommentVNode("",!0),e.createVNode(e.unref(V.VueDraggableNext),{class:"cols-4 dragArea list-group w-full",list:c.product.images,sort:!0,onChange:t.log},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.product.images,(r,m)=>(e.openBlock(),e.createElementBlock("div",A,[e.createElementVNode("img",{class:"w-100 mn-small",src:(t.FILE_SERVER_URL||"")+r},null,8,F),e.createElementVNode("a",{onClick:_=>o(m),class:"w-100 br-grey br-solid br-1px button"},"Удалить",8,R)]))),256))]),_:1},8,["list","onChange"]),e.createVNode(U,{"onUpdate:images":s,uploadPath:"organizations/"+t.$route.params._id+"/products",class:"mn-t-semi pd-small w-100 button bg-main"},null,8,["uploadPath"])]))}};const M={class:"for-transition w-100"},j={class:"pd-b-zero pd-t-zero pd-thin"},O={class:"pd-thin"},G={class:"flex-nowrap flex bg-grey pd-medium radius-big"},H={key:0,class:"mn-r-auto"},J={key:1,class:"mn-r-auto"},K={class:"flex-nowrap flex pd-thin"},Q={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},W={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},X=e.createElementVNode("h3",{class:"mn-semi"},"Profile",-1),Y={class:"mn-semi"},Z=e.createElementVNode("h5",null,"Categories",-1),ee={class:""},te={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},ne=e.createElementVNode("h3",{class:"mn-semi"},"Images",-1),oe={__name:"ProductEdit",async setup(c){let s,o;const t=b.useRoute(),l=b.useRouter();[s,o]=e.withAsyncContext(()=>n.actions.fetchCategories()),await s,o(),t.params.product&&([s,o]=e.withAsyncContext(()=>n.actions$1.read({_id:t.params.product})),await s,o());function r(){n.state.current.information.push({name:"",value:""})}function m(a){n.state.current.information.splice(a,1)}function _(){n.state.current.localization.push({locale:"",text:""})}function d(a){n.state.current.localization.splice(a,1)}function i(){t.params.product?n.actions$1.update(t.params.product,n.state.current):n.actions$1.create(t.params._id,n.state.current)}function f(){l.push({name:"ProductEdit",params:{_id:t.params._id,product:n.state.current._id}})}return(a,v)=>(e.openBlock(),e.createElementBlock("div",M,[e.createElementVNode("div",j,[e.createVNode(n._sfc_main,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",O,[e.createElementVNode("header",G,[e.unref(t).params.product?(e.openBlock(),e.createElementBlock("h1",H,"Edit Product")):(e.openBlock(),e.createElementBlock("h1",J,"Create Product")),e.createElementVNode("section",K,[e.createVNode(p._sfc_main,{submit:i,callback:f},{default:e.withCtx(()=>[e.createTextVNode("Save Product")]),_:1})])])]),e.createElementVNode("div",Q,[e.createElementVNode("div",W,[X,e.createVNode(w,{product:n.state.current},null,8,["product"]),e.createElementVNode("div",Y,[Z,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.state$1.all,(u,g)=>(e.openBlock(),e.createBlock(k.Checkbox,{label:u.name,name:"categories",value:u.url,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:n.state.current.category},null,8,["label","value","radio"]))),256))]),e.createVNode(N,{items:n.state.current.information,title:"Parameters",emptyMessage:"No parameters",addButtonLabel:"Add parameter",keyName:"name",valueName:"value",onAddInfo:r,onDeleteInfo:m},null,8,["items"]),e.createVNode(N,{items:n.state.current.localization,title:"Localization",emptyMessage:"No localizations",addButtonLabel:"Add localization",keyName:"locale",valueName:"text",onAddInfo:_,onDeleteInfo:d},null,8,["items"])]),e.createElementVNode("div",ee,[e.createElementVNode("div",te,[ne,e.createVNode(T,{product:n.state.current},null,8,["product"])])])])]))}};exports.default=oe;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),b=require("vue-router"),t=require("./organizations.client-5548024c.js");require("./inputs.validation-24ae76b9.js");require("./index-7ecbf72a.js");require("./Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js");const k=require("./Breadcrumbs.vue_vue_type_style_index_0_lang-f3d37f29.js"),d=require("./Button-ee08e6bf.js");require("vue-i18n");const E=require("./Select-b9299fb6.js"),V=require("./vuex.esm-bundler-e8cf3cd2.js"),y=require("./vue-draggable-next.esm-bundler-80731ae0.js"),B=require("./UploadImageMultiple-297b3897.js");require("./globals-928eb13c.js");require("./Tab-6f0a4909.js");require("./ButtonFollow-7c0180b3.js");require("./auth-2f9b2dfc.js");require("./_plugin-vue_export-helper-f246444f.js");require("./Feed-c8b1c72d.js");require("./EmptyState-7658d7d6.js");require("./Chips-4d8ac62e.js");require("./IconEdit-4cfe2115.js");require("./Feed-0b1dad65.js");require("./Socials-821bd677.js");require("./CardOrganization-bf366e4e.js");require("./organizations-bb8f676d.js");require("./UploadImage-33f6a9f4.js");require("./Publics-4438ca51.js");const w={class:"mn-big flex-column flex"},x={__name:"EditProductInfo",props:{product:Object},setup(s){const a=s,n=V.useStore();return e.toRefs(a),(r,l)=>(e.openBlock(),e.createElementBlock("div",w,[e.createTextVNode(e.toDisplayString(e.unref(n).products.current)+" ",1),e.createVNode(E.Select,{options:["unpublished","published","archivied"],select:e.unref(n).products.state.current.status,"onUpdate:select":l[0]||(l[0]=o=>e.unref(n).products.state.current.status=o),placeholder:"Display product",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["select"]),e.createVNode(d.Field,{field:e.unref(n).products.state.current.name,"onUpdate:field":l[1]||(l[1]=o=>e.unref(n).products.state.current.name=o),placeholder:"Введите название",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(d.Field,{field:e.unref(n).products.state.current.price,"onUpdate:field":l[2]||(l[2]=o=>e.unref(n).products.state.current.price=o),placeholder:"Введите цену",class:"w-100 mn-small bg-white radius-small pd-medium",type:"number"},null,8,["field"]),e.createVNode(d.Field,{field:e.unref(n).products.state.current.description,"onUpdate:field":l[3]||(l[3]=o=>e.unref(n).products.state.current.description=o),placeholder:"Введите описание",class:"w-100 mn-small bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])]))}},q={class:"mn-big"},$={class:"mn-small flex-nowrap flex"},C={class:"mn-r-thin"},S={class:"flex-column flex"},z={key:0,class:"w-100 mn-small"},P=["onClick"],I=e.createElementVNode("svg",{class:"i-small",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"clip-rule":"evenodd",d:"m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",fill:"#8a8a8a","fill-rule":"evenodd"})],-1),L=[I],N={__name:"EditParameters",props:{items:{type:Array,default:()=>[]},title:String,addButtonLabel:String,emptyMessage:String,keyName:String,valueName:String},emits:["add-info","delete-info"],setup(s,{emit:a}){const n=s;function r(){a("add-info",{})}function l(c){a("delete-info",c)}const{items:o,title:u,emptyMessage:m,addButtonLabel:h,keyName:p,valueName:_}=e.toRefs(n);return(c,v)=>(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("div",$,[e.createElementVNode("h5",C,e.toDisplayString(e.unref(u)),1),e.createElementVNode("button",{onClick:r,class:"i-small pd-thin button-delete button"},"+")]),e.createElementVNode("div",S,[e.unref(o).length==0?(e.openBlock(),e.createElementBlock("p",z,e.toDisplayString(e.unref(m)),1)):e.createCommentVNode("",!0),e.unref(o).length==0?(e.openBlock(),e.createBlock(d._sfc_main,{key:1,onClick:r,class:"button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(h)),1)]),_:1})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),(i,g)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-medium w-100 flex-nowrap flex",key:g},[e.createVNode(d.Field,{field:i[e.unref(p)],"onUpdate:field":f=>i[e.unref(p)]=f,placeholder:"Название параметра",class:"w-100 mn-r-small bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.Field,{field:i[e.unref(_)],"onUpdate:field":f=>i[e.unref(_)]=f,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:f=>l(g),class:"mn-l-small button"},L,8,P)]))),128))])]))}},U={key:0,class:"mn-big"},A={class:"flex-column block"},D=["src"],F=["onClick"],R={__name:"EditProductImages",props:{product:Object},setup(s){function a(r){console.log(r),console.log(t.state.current.images),t.state.current.images.push(...r)}function n(r){t.state.current.images.splice(r,1)}return(r,l)=>(e.openBlock(),e.createElementBlock("div",null,[s.product.images.length<1?(e.openBlock(),e.createElementBlock("p",U," The product doesn't have any images yet. ")):e.createCommentVNode("",!0),e.createVNode(e.unref(y.VueDraggableNext),{class:"cols-4 dragArea list-group w-full",list:s.product.images,sort:!0,onChange:r.log},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.product.images,(o,u)=>(e.openBlock(),e.createElementBlock("div",A,[e.createElementVNode("img",{class:"w-100 mn-small",src:(r.FILE_SERVER_URL||"")+o},null,8,D),e.createElementVNode("a",{onClick:m=>n(u),class:"w-100 br-grey br-solid br-1px button"},"Удалить",8,F)]))),256))]),_:1},8,["list","onChange"]),e.createVNode(B._sfc_main,{"onUpdate:images":a,uploadPath:"organizations/"+r.$route.params._id+"/products",class:"mn-t-semi pd-small w-100 button bg-main"},null,8,["uploadPath"])]))}};const M={class:"for-transition w-100"},T={class:"pd-b-zero pd-t-zero pd-thin"},j={class:"pd-thin"},O={class:"flex-nowrap flex bg-grey pd-medium radius-big"},G={key:0,class:"mn-r-auto"},H={key:1,class:"mn-r-auto"},J={class:"flex-nowrap flex pd-thin"},K={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},Q={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},W=e.createElementVNode("h3",{class:"mn-semi"},"Profile",-1),X={class:"mn-semi"},Y=e.createElementVNode("h5",null,"Categories",-1),Z={class:""},ee={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},te=e.createElementVNode("h3",{class:"mn-semi"},"Images",-1),re={__name:"ProductEdit",async setup(s){let a,n;const r=b.useRoute(),l=b.useRouter();[a,n]=e.withAsyncContext(()=>t.actions.fetchCategories()),await a,n(),r.params.product&&([a,n]=e.withAsyncContext(()=>t.actions$1.read({_id:r.params.product})),await a,n());function o(){t.state.current.information.push({name:"",value:""})}function u(c){t.state.current.information.splice(c,1)}function m(){t.state.current.localization.push({locale:"",text:""})}function h(c){t.state.current.localization.splice(c,1)}function p(){r.params.product?t.actions$1.update(r.params.product,t.state.current):t.actions$1.create(r.params._id,t.state.current)}function _(){l.push({name:"ProductEdit",params:{_id:r.params._id,product:t.state.current._id}})}return(c,v)=>(e.openBlock(),e.createElementBlock("div",M,[e.createElementVNode("div",T,[e.createVNode(t._sfc_main,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",j,[e.createElementVNode("header",O,[e.unref(r).params.product?(e.openBlock(),e.createElementBlock("h1",G,"Edit Product")):(e.openBlock(),e.createElementBlock("h1",H,"Create Product")),e.createElementVNode("section",J,[e.createVNode(d._sfc_main,{submit:p,callback:_},{default:e.withCtx(()=>[e.createTextVNode("Save Product")]),_:1})])])]),e.createElementVNode("div",K,[e.createElementVNode("div",Q,[W,e.createVNode(x,{product:t.state.current},null,8,["product"]),e.createElementVNode("div",X,[Y,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state$1.all,(i,g)=>(e.openBlock(),e.createBlock(k.Checkbox,{label:i.name,name:"categories",value:i.url,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:t.state.current.category},null,8,["label","value","radio"]))),256))]),e.createVNode(N,{items:t.state.current.information,title:"Parameters",emptyMessage:"No parameters",addButtonLabel:"Add parameter",keyName:"name",valueName:"value",onAddInfo:o,onDeleteInfo:u},null,8,["items"]),e.createVNode(N,{items:t.state.current.localization,title:"Localization",emptyMessage:"No localizations",addButtonLabel:"Add localization",keyName:"locale",valueName:"text",onAddInfo:m,onDeleteInfo:h},null,8,["items"])]),e.createElementVNode("div",Z,[e.createElementVNode("div",ee,[te,e.createVNode(R,{product:t.state.current},null,8,["product"])])])])]))}};exports.default=re;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),N=require("vue-router"),b=require("./categories-4327a81c.js");require("./Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js");const V=require("./Select-3ca5ab39.js"),y=require("./Checkbox-76f09248.js"),v=require("./Button-7643c9aa.js");require("vue-i18n");require("./Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Button.vue_vue_type_style_index_0_lang-0ea8fbf8.js");const u=require("./Field-e2a43424.js"),B=require("./vuex.esm-bundler-685cf29f.js"),w=require("./vue-draggable-next.esm-bundler-21a209c6.js"),x=require("./UploadImageMultiple-eddaac87.js"),n=require("./products-7e4253eb.js");require("./globals-928eb13c.js");require("./Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./auth-df5a20c6.js");require("./index-b41aac19.js");require("./_plugin-vue_export-helper-f246444f.js");const q={class:"mn-big flex-column flex"},C={__name:"EditProductInfo",props:{product:Object},setup(s){const a=s,o=B.useStore();return e.toRefs(a),(t,l)=>(e.openBlock(),e.createElementBlock("div",q,[e.createTextVNode(e.toDisplayString(e.unref(o).products.current)+" ",1),e.createVNode(V.Select,{options:["unpublished","published","archivied"],select:e.unref(o).products.state.current.status,"onUpdate:select":l[0]||(l[0]=r=>e.unref(o).products.state.current.status=r),placeholder:"Display product",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["select"]),e.createVNode(u.Field,{field:e.unref(o).products.state.current.name,"onUpdate:field":l[1]||(l[1]=r=>e.unref(o).products.state.current.name=r),placeholder:"Введите название",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(u.Field,{field:e.unref(o).products.state.current.price,"onUpdate:field":l[2]||(l[2]=r=>e.unref(o).products.state.current.price=r),placeholder:"Введите цену",class:"w-100 mn-small bg-white radius-small pd-medium",type:"number"},null,8,["field"]),e.createVNode(u.Field,{field:e.unref(o).products.state.current.description,"onUpdate:field":l[3]||(l[3]=r=>e.unref(o).products.state.current.description=r),placeholder:"Введите описание",class:"w-100 mn-small bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])]))}},$={class:"mn-big"},S={class:"mn-small flex-nowrap flex"},z={class:"mn-r-thin"},P={class:"flex-column flex"},I={key:0,class:"w-100 mn-small"},L=["onClick"],U=e.createElementVNode("svg",{class:"i-small",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"clip-rule":"evenodd",d:"m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",fill:"#8a8a8a","fill-rule":"evenodd"})],-1),A=[U],k={__name:"EditParameters",props:{items:{type:Array,default:()=>[]},title:String,addButtonLabel:String,emptyMessage:String,keyName:String,valueName:String},emits:["add-info","delete-info"],setup(s,{emit:a}){const o=s;function t(){a("add-info",{})}function l(c){a("delete-info",c)}const{items:r,title:d,emptyMessage:m,addButtonLabel:h,keyName:p,valueName:f}=e.toRefs(o);return(c,E)=>(e.openBlock(),e.createElementBlock("div",$,[e.createElementVNode("div",S,[e.createElementVNode("h5",z,e.toDisplayString(e.unref(d)),1),e.createElementVNode("button",{onClick:t,class:"i-small pd-thin button-delete button"},"+")]),e.createElementVNode("div",P,[e.unref(r).length==0?(e.openBlock(),e.createElementBlock("p",I,e.toDisplayString(e.unref(m)),1)):e.createCommentVNode("",!0),e.unref(r).length==0?(e.openBlock(),e.createBlock(v._sfc_main,{key:1,onClick:t,class:"button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(h)),1)]),_:1})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),(i,g)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-medium w-100 flex-nowrap flex",key:g},[e.createVNode(u.Field,{field:i[e.unref(p)],"onUpdate:field":_=>i[e.unref(p)]=_,placeholder:"Название параметра",class:"w-100 mn-r-small bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(u.Field,{field:i[e.unref(f)],"onUpdate:field":_=>i[e.unref(f)]=_,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:_=>l(g),class:"mn-l-small button"},A,8,L)]))),128))])]))}},F={key:0,class:"mn-big"},D={class:"flex-column block"},R=["src"],M=["onClick"],T={__name:"EditProductImages",props:{product:Object},setup(s){function a(t){console.log(t),console.log(n.state.current.images),n.state.current.images.push(...t)}function o(t){n.state.current.images.splice(t,1)}return(t,l)=>(e.openBlock(),e.createElementBlock("div",null,[s.product.images.length<1?(e.openBlock(),e.createElementBlock("p",F," The product doesn't have any images yet. ")):e.createCommentVNode("",!0),e.createVNode(e.unref(w.VueDraggableNext),{class:"cols-4 dragArea list-group w-full",list:s.product.images,sort:!0,onChange:t.log},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.product.images,(r,d)=>(e.openBlock(),e.createElementBlock("div",D,[e.createElementVNode("img",{class:"w-100 mn-small",src:(t.FILE_SERVER_URL||"")+r},null,8,R),e.createElementVNode("a",{onClick:m=>o(d),class:"w-100 br-grey br-solid br-1px button"},"Удалить",8,M)]))),256))]),_:1},8,["list","onChange"]),e.createVNode(x._sfc_main,{"onUpdate:images":a,uploadPath:"organizations/"+t.$route.params._id+"/products",class:"mn-t-semi pd-small w-100 button bg-main"},null,8,["uploadPath"])]))}};const j={class:"for-transition w-100"},O={class:"pd-b-zero pd-t-zero pd-thin"},G={class:"pd-thin"},H={class:"flex-nowrap flex bg-grey pd-medium radius-big"},J={key:0,class:"mn-r-auto"},K={key:1,class:"mn-r-auto"},Q={class:"flex-nowrap flex pd-thin"},W={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},X={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},Y=e.createElementVNode("h3",{class:"mn-semi"},"Profile",-1),Z={class:"mn-semi"},ee=e.createElementVNode("h5",null,"Categories",-1),te={class:""},oe={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},ne=e.createElementVNode("h3",{class:"mn-semi"},"Images",-1),re={__name:"ProductEdit",async setup(s){let a,o;const t=N.useRoute(),l=N.useRouter();[a,o]=e.withAsyncContext(()=>b.actions.fetchCategories()),await a,o(),t.params.product&&([a,o]=e.withAsyncContext(()=>n.actions.read({_id:t.params.product})),await a,o());function r(){n.state.current.information.push({name:"",value:""})}function d(c){n.state.current.information.splice(c,1)}function m(){n.state.current.localization.push({locale:"",text:""})}function h(c){n.state.current.localization.splice(c,1)}function p(){t.params.product?n.actions.update(t.params.product,n.state.current):n.actions.create(t.params._id,n.state.current)}function f(){l.push({name:"ProductEdit",params:{_id:t.params._id,product:n.state.current._id}})}return(c,E)=>(e.openBlock(),e.createElementBlock("div",j,[e.createElementVNode("div",O,[e.createVNode(b._sfc_main,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",G,[e.createElementVNode("header",H,[e.unref(t).params.product?(e.openBlock(),e.createElementBlock("h1",J,"Edit Product")):(e.openBlock(),e.createElementBlock("h1",K,"Create Product")),e.createElementVNode("section",Q,[e.createVNode(v._sfc_main,{submit:p,callback:f},{default:e.withCtx(()=>[e.createTextVNode("Save Product")]),_:1})])])]),e.createElementVNode("div",W,[e.createElementVNode("div",X,[Y,e.createVNode(C,{product:n.state.current},null,8,["product"]),e.createElementVNode("div",Z,[ee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.state.all,(i,g)=>(e.openBlock(),e.createBlock(y.Checkbox,{label:i.name,name:"categories",value:i.url,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:n.state.current.category},null,8,["label","value","radio"]))),256))]),e.createVNode(k,{items:n.state.current.information,title:"Parameters",emptyMessage:"No parameters",addButtonLabel:"Add parameter",keyName:"name",valueName:"value",onAddInfo:r,onDeleteInfo:d},null,8,["items"]),e.createVNode(k,{items:n.state.current.localization,title:"Localization",emptyMessage:"No localizations",addButtonLabel:"Add localization",keyName:"locale",valueName:"text",onAddInfo:m,onDeleteInfo:h},null,8,["items"])]),e.createElementVNode("div",te,[e.createElementVNode("div",oe,[ne,e.createVNode(T,{product:n.state.current},null,8,["product"])])])])]))}};exports.default=re;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),b=require("vue-router"),n=require("./organizations.client-7e51b4a8.js");require("./inputs.validation-24ae76b9.js");const p=require("./auth-b61483ce.js"),k=require("./Breadcrumbs.vue_vue_type_style_index_0_lang-6f807eb5.js");require("vue-i18n");const y=require("./Publics-6b7c97bd.js"),E=require("./vuex.esm-bundler-e8cf3cd2.js"),V=require("./vue-draggable-next.esm-bundler-80731ae0.js");require("./globals-928eb13c.js");require("./Tab-6f0a4909.js");require("./ButtonFollow-4049a57e.js");require("./_plugin-vue_export-helper-f246444f.js");require("./Feed-0dbe15b9.js");require("./EmptyState-7658d7d6.js");require("./Chips-32092a52.js");require("./IconEdit-4cfe2115.js");require("./Feed-4df9352b.js");require("./Socials-821bd677.js");require("./CardOrganization-43e80590.js");require("./organizations-49a10611.js");require("./UploadImage-39d42048.js");const x={class:"mn-big flex-column flex"},w={__name:"EditProductInfo",props:{product:Object},setup(c){const s=c,o=E.useStore();return e.toRefs(s),(t,l)=>(e.openBlock(),e.createElementBlock("div",x,[e.createTextVNode(e.toDisplayString(e.unref(o).products.current)+" ",1),e.createVNode(y.Select,{options:["unpublished","published","archivied"],select:e.unref(o).products.state.current.status,"onUpdate:select":l[0]||(l[0]=r=>e.unref(o).products.state.current.status=r),placeholder:"Display product",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["select"]),e.createVNode(p.Field,{field:e.unref(o).products.state.current.name,"onUpdate:field":l[1]||(l[1]=r=>e.unref(o).products.state.current.name=r),placeholder:"Введите название",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(p.Field,{field:e.unref(o).products.state.current.price,"onUpdate:field":l[2]||(l[2]=r=>e.unref(o).products.state.current.price=r),placeholder:"Введите цену",class:"w-100 mn-small bg-white radius-small pd-medium",type:"number"},null,8,["field"]),e.createVNode(p.Field,{field:e.unref(o).products.state.current.description,"onUpdate:field":l[3]||(l[3]=r=>e.unref(o).products.state.current.description=r),placeholder:"Введите описание",class:"w-100 mn-small bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])]))}},B={class:"mn-big"},C={class:"mn-small flex-nowrap flex"},$={class:"mn-r-thin"},q={class:"flex-column flex"},P={key:0,class:"w-100 mn-small"},z=["onClick"],I=e.createElementVNode("svg",{class:"i-small",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"clip-rule":"evenodd",d:"m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",fill:"#8a8a8a","fill-rule":"evenodd"})],-1),S=[I],N={__name:"EditParameters",props:{items:{type:Array,default:()=>[]},title:String,addButtonLabel:String,emptyMessage:String,keyName:String,valueName:String},emits:["add-info","delete-info"],setup(c,{emit:s}){const o=c;function t(){s("add-info",{})}function l(a){s("delete-info",a)}const{items:r,title:m,emptyMessage:_,addButtonLabel:d,keyName:i,valueName:f}=e.toRefs(o);return(a,v)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("div",C,[e.createElementVNode("h5",$,e.toDisplayString(e.unref(m)),1),e.createElementVNode("button",{onClick:t,class:"i-small pd-thin button-delete button"},"+")]),e.createElementVNode("div",q,[e.unref(r).length==0?(e.openBlock(),e.createElementBlock("p",P,e.toDisplayString(e.unref(_)),1)):e.createCommentVNode("",!0),e.unref(r).length==0?(e.openBlock(),e.createBlock(p._sfc_main,{key:1,onClick:t,class:"button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)),1)]),_:1})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),(u,g)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-medium w-100 flex-nowrap flex",key:g},[e.createVNode(p.Field,{field:u[e.unref(i)],"onUpdate:field":h=>u[e.unref(i)]=h,placeholder:"Название параметра",class:"w-100 mn-r-small bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(p.Field,{field:u[e.unref(f)],"onUpdate:field":h=>u[e.unref(f)]=h,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:h=>l(g),class:"mn-l-small button"},S,8,z)]))),128))])]))}},D=e.createElementVNode("div",{class:"flex-v-center flex-h-center flex w-100 h-100"}," upload ",-1),U={__name:"UploadImageMultiple",props:["uploadPath"],emits:["update:images"],setup(c,{emit:s}){const o=c,t=e.ref([]),l=e.ref(null);function r(){l.value.click()}async function m(d){let i=d.target.files,f=new FormData;for(let a=0;a<i.length;a++)f.append("file",i[a]);try{(await p.axios.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(o.uploadPath)}`,f,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(u=>{t.value.push(u.filepath)}),s("update:images",t.value)}catch(a){console.error(a)}}function _(d){d.preventDefault(),m({target:{files:d.dataTransfer.files}})}return(d,i)=>(e.openBlock(),e.createElementBlock("div",{onClick:r,onDrop:_,onDragover:i[0]||(i[0]=e.withModifiers(()=>{},["prevent"])),class:"flex-v-center flex-h-center flex"},[D,e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:l,onChange:m,multiple:"",style:{display:"none"}},null,544)],32))}},L={key:0,class:"mn-big"},A={class:"flex-column block"},F=["src"],R=["onClick"],T={__name:"EditProductImages",props:{product:Object},setup(c){function s(t){console.log(t),console.log(n.state.current.images),n.state.current.images.push(...t)}function o(t){n.state.current.images.splice(t,1)}return(t,l)=>(e.openBlock(),e.createElementBlock("div",null,[c.product.images.length<1?(e.openBlock(),e.createElementBlock("p",L," The product doesn't have any images yet. ")):e.createCommentVNode("",!0),e.createVNode(e.unref(V.VueDraggableNext),{class:"cols-4 dragArea list-group w-full",list:c.product.images,sort:!0,onChange:t.log},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.product.images,(r,m)=>(e.openBlock(),e.createElementBlock("div",A,[e.createElementVNode("img",{class:"w-100 mn-small",src:(t.FILE_SERVER_URL||"")+r},null,8,F),e.createElementVNode("a",{onClick:_=>o(m),class:"w-100 br-grey br-solid br-1px button"},"Удалить",8,R)]))),256))]),_:1},8,["list","onChange"]),e.createVNode(U,{"onUpdate:images":s,uploadPath:"organizations/"+t.$route.params._id+"/products",class:"mn-t-semi pd-small w-100 button bg-main"},null,8,["uploadPath"])]))}};const M={class:"for-transition w-100"},j={class:"pd-b-zero pd-t-zero pd-thin"},O={class:"pd-thin"},G={class:"flex-nowrap flex bg-grey pd-medium radius-big"},H={key:0,class:"mn-r-auto"},J={key:1,class:"mn-r-auto"},K={class:"flex-nowrap flex pd-thin"},Q={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},W={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},X=e.createElementVNode("h3",{class:"mn-semi"},"Profile",-1),Y={class:"mn-semi"},Z=e.createElementVNode("h5",null,"Categories",-1),ee={class:""},te={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},ne=e.createElementVNode("h3",{class:"mn-semi"},"Images",-1),oe={__name:"ProductEdit",async setup(c){let s,o;const t=b.useRoute(),l=b.useRouter();[s,o]=e.withAsyncContext(()=>n.actions.fetchCategories()),await s,o(),t.params.product&&([s,o]=e.withAsyncContext(()=>n.actions$1.read({_id:t.params.product})),await s,o());function r(){n.state.current.information.push({name:"",value:""})}function m(a){n.state.current.information.splice(a,1)}function _(){n.state.current.localization.push({locale:"",text:""})}function d(a){n.state.current.localization.splice(a,1)}function i(){t.params.product?n.actions$1.update(t.params.product,n.state.current):n.actions$1.create(t.params._id,n.state.current)}function f(){l.push({name:"ProductEdit",params:{_id:t.params._id,product:n.state.current._id}})}return(a,v)=>(e.openBlock(),e.createElementBlock("div",M,[e.createElementVNode("div",j,[e.createVNode(n._sfc_main,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",O,[e.createElementVNode("header",G,[e.unref(t).params.product?(e.openBlock(),e.createElementBlock("h1",H,"Edit Product")):(e.openBlock(),e.createElementBlock("h1",J,"Create Product")),e.createElementVNode("section",K,[e.createVNode(p._sfc_main,{submit:i,callback:f},{default:e.withCtx(()=>[e.createTextVNode("Save Product")]),_:1})])])]),e.createElementVNode("div",Q,[e.createElementVNode("div",W,[X,e.createVNode(w,{product:n.state.current},null,8,["product"]),e.createElementVNode("div",Y,[Z,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.state$1.all,(u,g)=>(e.openBlock(),e.createBlock(k.Checkbox,{label:u.name,name:"categories",value:u.url,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:n.state.current.category},null,8,["label","value","radio"]))),256))]),e.createVNode(N,{items:n.state.current.information,title:"Parameters",emptyMessage:"No parameters",addButtonLabel:"Add parameter",keyName:"name",valueName:"value",onAddInfo:r,onDeleteInfo:m},null,8,["items"]),e.createVNode(N,{items:n.state.current.localization,title:"Localization",emptyMessage:"No localizations",addButtonLabel:"Add localization",keyName:"locale",valueName:"text",onAddInfo:_,onDeleteInfo:d},null,8,["items"])]),e.createElementVNode("div",ee,[e.createElementVNode("div",te,[ne,e.createVNode(T,{product:n.state.current},null,8,["product"])])])])]))}};exports.default=oe;