@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,1945 +0,0 @@
1
- import { withDirectives as $, openBlock as u, createElementBlock as d, vModelText as U, createCommentVNode as f, resolveComponent as J, normalizeClass as y, normalizeStyle as S, createElementVNode as h, Fragment as V, renderList as E, renderSlot as p, toDisplayString as b, createBlock as W, vShow as w, mergeProps as Y, withKeys as c, ref as B, computed as P, createVNode as I, unref as L, withModifiers as g, Transition as K, withCtx as N, createTextVNode as k } from "vue";
2
- import { g as Q } from "./index-0ab9d59c.mjs";
3
- import { _ as D } from "./_plugin-vue_export-helper-dad06003.mjs";
4
- var X = function e(t, s) {
5
- if (t === s)
6
- return !0;
7
- if (t && s && typeof t == "object" && typeof s == "object") {
8
- if (t.constructor !== s.constructor)
9
- return !1;
10
- var l, a, r;
11
- if (Array.isArray(t)) {
12
- if (l = t.length, l != s.length)
13
- return !1;
14
- for (a = l; a-- !== 0; )
15
- if (!e(t[a], s[a]))
16
- return !1;
17
- return !0;
18
- }
19
- if (t.constructor === RegExp)
20
- return t.source === s.source && t.flags === s.flags;
21
- if (t.valueOf !== Object.prototype.valueOf)
22
- return t.valueOf() === s.valueOf();
23
- if (t.toString !== Object.prototype.toString)
24
- return t.toString() === s.toString();
25
- if (r = Object.keys(t), l = r.length, l !== Object.keys(s).length)
26
- return !1;
27
- for (a = l; a-- !== 0; )
28
- if (!Object.prototype.hasOwnProperty.call(s, r[a]))
29
- return !1;
30
- for (a = l; a-- !== 0; ) {
31
- var i = r[a];
32
- if (!e(t[i], s[i]))
33
- return !1;
34
- }
35
- return !0;
36
- }
37
- return t !== t && s !== s;
38
- };
39
- const Z = /* @__PURE__ */ Q(X), x = (e, t) => t.filter((s) => {
40
- const { text: l } = e;
41
- if (typeof s.rule == "string")
42
- return !new RegExp(s.rule).test(l);
43
- if (s.rule instanceof RegExp)
44
- return !s.rule.test(l);
45
- if ({}.toString.call(s.rule) === "[object Function]")
46
- return s.rule(e);
47
- }).map((s) => s.classes), O = (e) => JSON.parse(JSON.stringify(e)), _ = (e, t) => {
48
- let s = 0;
49
- for (; s < e.length; ) {
50
- if (t(e[s], s, e))
51
- return s;
52
- s++;
53
- }
54
- return -1;
55
- }, j = (e, t, s = [], l) => {
56
- e.text === void 0 && (e = { text: e });
57
- const a = x(e, s), r = _(t, (m) => m === e), i = O(t), n = r !== -1 ? i.splice(r, 1)[0] : O(e);
58
- return (l ? l(i, n) : i.map((m) => m.text).indexOf(n.text) !== -1) && a.push("ti-duplicate"), a.length === 0 ? a.push("ti-valid") : a.push("ti-invalid"), a;
59
- }, C = (e, ...t) => {
60
- e.text === void 0 && (e = { text: e });
61
- const s = O(e);
62
- return s.tiClasses = j(e, ...t), s;
63
- }, ee = (e, ...t) => e.map((s) => C(s, e, ...t));
64
- const te = {
65
- name: "TagInput",
66
- props: {
67
- scope: {
68
- type: Object
69
- }
70
- }
71
- }, se = ["maxlength"];
72
- function ie(e, t, s, l, a, r) {
73
- return s.scope.edit ? $((u(), d("input", {
74
- key: 0,
75
- "onUpdate:modelValue": t[0] || (t[0] = (i) => s.scope.tag.text = i),
76
- maxlength: s.scope.maxlength,
77
- type: "text",
78
- class: "ti-tag-input",
79
- size: "1",
80
- onInput: t[1] || (t[1] = (i) => s.scope.validateTag(s.scope.index, i)),
81
- onBlur: t[2] || (t[2] = (i) => s.scope.performCancelEdit(s.scope.index)),
82
- onKeydown: t[3] || (t[3] = (i) => s.scope.performSaveEdit(s.scope.index, i))
83
- }, null, 40, se)), [
84
- [U, s.scope.tag.text]
85
- ]) : f("", !0);
86
- }
87
- const le = /* @__PURE__ */ D(te, [["render", ie], ["__scopeId", "data-v-a1f1c345"]]), R = (e) => !e.some((t) => {
88
- const s = !t.text;
89
- s && console.warn('Missing property "text"', t);
90
- let l = !1;
91
- return t.classes && (l = typeof t.classes != "string"), l && console.warn('Property "classes" must be type of string', t), s || l;
92
- }), H = (e) => !e.some((t) => {
93
- if (typeof t == "number") {
94
- const s = isFinite(t) && Math.floor(t) === t;
95
- return s || console.warn("Only numerics are allowed for this prop. Found:", t), !s;
96
- } else if (typeof t == "string") {
97
- const s = /\W|[a-z]|!\d/i.test(t);
98
- return s || console.warn("Only alpha strings are allowed for this prop. Found:", t), !s;
99
- } else
100
- return console.warn("Only numeric and string values are allowed. Found:", t), !1;
101
- }), ae = {
102
- /**
103
- * @description Property to bind a model to the input.
104
- If the user changes the input value, the model updates, too.
105
- If the user presses enter with an valid input,
106
- a new tag is created with the value of this model.
107
- After creating the new tag, the model is cleared.
108
- * @property {props}
109
- * @required
110
- * @type {String}
111
- * @model
112
- * @default ''
113
- */
114
- modelValue: {
115
- type: String,
116
- default: "",
117
- required: !0
118
- },
119
- /**
120
- * @description Pass an array containing objects like in the example below.
121
- The properties 'style' and 'class' are optional. Of course it is possible to add custom
122
- properties to a tag object. vue-tags-input won't change the key and value.
123
- * @property {props}
124
- * @type {Array}
125
- * @sync
126
- * @default []
127
- * @example
128
- {
129
- &emsp;text: 'My tag value', &#47;* The visible text on display *&#47;
130
- &emsp;style: 'background-color: #ccc', &#47;* Adding inline styles is possible *&#47;
131
- &emsp;classes: 'custom-class another', &#47;* The value will be added as css classes *&#47;
132
- }
133
- */
134
- tags: {
135
- type: Array,
136
- default: () => [],
137
- validator: R
138
- },
139
- /**
140
- * @description Expects an array containing objects inside. The objects
141
- can have the same properties as a tag object.
142
- * @property {props}
143
- * @type {Array}
144
- * @default []
145
- */
146
- autocompleteItems: {
147
- type: Array,
148
- default: () => [],
149
- validator: R
150
- },
151
- /**
152
- * @description Defines whether a tag is editable after creation or not.
153
- * @property {props}
154
- * @type {Boolean}
155
- * @default false
156
- */
157
- allowEditTags: {
158
- type: Boolean,
159
- default: !1
160
- },
161
- /**
162
- * @description Defines if duplicate autocomplete items are filtered out from the view or not.
163
- * @property {props}
164
- * @type {Boolean}
165
- * @default true
166
- */
167
- autocompleteFilterDuplicates: {
168
- default: !0,
169
- type: Boolean
170
- },
171
- /**
172
- * @description If it's true, the user can add tags only via the autocomplete layer.
173
- * @property {props}
174
- * @type {Boolean}
175
- * @default false
176
- */
177
- addOnlyFromAutocomplete: {
178
- type: Boolean,
179
- default: !1
180
- },
181
- /**
182
- * @description The minimum character length which is required
183
- until the autocomplete layer is shown. If set to 0,
184
- then it'll be shown on focus.
185
- * @property {props}
186
- * @type {Number}
187
- * @default 1
188
- */
189
- autocompleteMinLength: {
190
- type: Number,
191
- default: 1
192
- },
193
- /**
194
- * @description If it's true, the autocomplete layer is always shown, regardless if
195
- an input or an autocomplete items exists.
196
- * @property {props}
197
- * @type {Boolean}
198
- * @default false
199
- */
200
- autocompleteAlwaysOpen: {
201
- type: Boolean,
202
- default: !1
203
- },
204
- /**
205
- * @description Property to disable vue-tags-input.
206
- * @property {props}
207
- * @type {Boolean}
208
- * @default false
209
- */
210
- disabled: {
211
- type: Boolean,
212
- default: !1
213
- },
214
- /**
215
- * @description The placeholder text which is shown in the input, when it's empty.
216
- * @property {props}
217
- * @type {String}
218
- * @default Add Tag
219
- */
220
- placeholder: {
221
- type: String,
222
- default: "Add Tag"
223
- },
224
- /**
225
- * @description Custom trigger key codes can be registrated. If the user presses one of these,
226
- a tag will be generated out of the input value. Can be either a numeric keyCode or the key
227
- as a string.
228
- * @property {props}
229
- * @type {Array}
230
- * @default [13]
231
- * @example add-on-key="[13, ':', ';']"
232
- */
233
- addOnKey: {
234
- type: Array,
235
- default: () => [13],
236
- validator: H
237
- },
238
- /**
239
- * @description Custom trigger key codes can be registrated. If the user edits a tag
240
- and presses one of these, the edited tag will be saved.
241
- Can be either a numeric keyCode or the key as a string.
242
- * @property {props}
243
- * @type {Array}
244
- * @default [13]
245
- * @example save-on-key="[13, ':', ';']"
246
- */
247
- saveOnKey: {
248
- type: Array,
249
- default: () => [13],
250
- validator: H
251
- },
252
- /**
253
- * @description The maximum amount the tags array is allowed to hold.
254
- * @property {props}
255
- * @type {Number}
256
- */
257
- maxTags: {
258
- type: Number
259
- },
260
- /**
261
- * @description The maximum amount of characters the input is allowed to hold.
262
- * @property {props}
263
- * @type {Number}
264
- */
265
- maxlength: {
266
- type: Number
267
- },
268
- /**
269
- * @description Pass an array containing objects like in the example below.
270
- The property 'classes' will be added as css classes, if the property 'rule' matches the text
271
- of a tag, an autocomplete item or the input. The property 'rule' can be type of
272
- RegExp or function. If the property 'disableAdd' is 'true', the item can't be added
273
- to the tags array, if the appropriated rule matches.
274
- * @property {props}
275
- * @type {Array}
276
- * @default []
277
- * @example
278
- {
279
- &ensp;classes: 'class', &#47;* css class *&#47;
280
- &ensp;rule: /^([^0-9]*)$/, &#47;* RegExp *&#47;
281
- }, {
282
- &ensp;classes: 'no-braces', &#47;* css class *&#47;
283
- &ensp;rule(text) { &#47;* function with text as param *&#47;
284
- &ensp;&ensp;return text.indexOf('{') !== -1 || text.indexOf('}') !== -1;
285
- &ensp;},
286
- &ensp;disableAdd: true, &#47;* if the rule matches, the item cannot be added *&#47;,
287
- },
288
- */
289
- validation: {
290
- type: Array,
291
- default: () => [],
292
- validator(e) {
293
- return !e.some((t) => {
294
- const s = !t.rule;
295
- s && console.warn('Property "rule" is missing', t);
296
- const l = t.rule && (typeof t.rule == "string" || t.rule instanceof RegExp || {}.toString.call(t.rule) === "[object Function]");
297
- l || console.warn(
298
- "A rule must be type of string, RegExp or function. Found:",
299
- JSON.stringify(t.rule)
300
- );
301
- const a = !t.classes;
302
- a && console.warn('Property "classes" is missing', t);
303
- const r = t.type && typeof t.type != "string";
304
- return r && console.warn('Property "type" must be type of string. Found:', t), !l || s || a || r;
305
- });
306
- }
307
- },
308
- /**
309
- * @description Defines the characters which splits a text into different pieces,
310
- to generate tags out of this pieces.
311
- * @property {props}
312
- * @type {Array}
313
- * @default [';']
314
- * @example
315
- separators: [';', ',']
316
- input: some; user input, has random; commas, an,d semicolons
317
- will split into: some - user input - has random - commas - an - d semicolons
318
- */
319
- separators: {
320
- type: Array,
321
- default: () => [";"],
322
- validator(e) {
323
- return !e.some((t) => {
324
- const s = typeof t != "string";
325
- return s && console.warn("Separators must be type of string. Found:", t), s;
326
- });
327
- }
328
- },
329
- /**
330
- * @description If it's true, the user can't add or save a tag,
331
- if another exists, with the same text value.
332
- * @property {props}
333
- * @type {Boolean}
334
- * @default true
335
- */
336
- avoidAddingDuplicates: {
337
- type: Boolean,
338
- default: !0
339
- },
340
- /**
341
- * @description If the input holds a value and loses the focus,
342
- a tag will be generated out of this value, if possible.
343
- * @property {props}
344
- * @type {Boolean}
345
- * @default true
346
- */
347
- addOnBlur: {
348
- type: Boolean,
349
- default: !0
350
- },
351
- /**
352
- * @description Custom function to detect duplicates. If the function returns 'true',
353
- the tag will be marked as duplicate.
354
- * @property {props}
355
- * @type {Function}
356
- * @param {Array} tagsarray The Array of tags minus the one which is edited/created.
357
- * @param {Object} tag The tag which is edited or should be added to the tags array.
358
- * @example
359
- // The duplicate function to recreate the default behaviour, would look like this:
360
- isDuplicate(tags, tag) {
361
- &ensp;return tags.map(t => t.text).indexOf(tag.text) !== -1;
362
- }
363
- */
364
- isDuplicate: {
365
- type: Function,
366
- default: null
367
- },
368
- /**
369
- * @description If it's true, the user can paste into the input element and
370
- vue-tags-input will create tags out of the incoming text.
371
- * @property {props}
372
- * @type {Boolean}
373
- * @default true
374
- */
375
- addFromPaste: {
376
- type: Boolean,
377
- default: !0
378
- },
379
- /**
380
- * @description Defines if it's possible to delete tags by pressing backspace.
381
- If so and the user wants to delete a tag,
382
- the tag gets the css class 'deletion-mark' for 1 second.
383
- If the user presses backspace again in that time period,
384
- the tag is removed from the tags array and the view.
385
- * @property {props}
386
- * @type {Boolean}
387
- * @default true
388
- */
389
- deleteOnBackspace: {
390
- default: !0,
391
- type: Boolean
392
- },
393
- // event handlers
394
- onBeforeAddingTag: Function,
395
- onBeforeDeletingTag: Function,
396
- onBeforeEditingTag: Function,
397
- onBeforeSavingTag: Function
398
- }, ne = {
399
- name: "VueTagsInput",
400
- components: { TagInput: le },
401
- props: ae,
402
- emits: [
403
- "adding-duplicate",
404
- "before-adding-tag",
405
- "before-deleting-tag",
406
- "before-editing-tag",
407
- "before-saving-tag",
408
- "max-tags-reached",
409
- "saving-duplicate",
410
- "tags-changed",
411
- "tag-clicked",
412
- "update:modelValue",
413
- "update:tags"
414
- ],
415
- inheritAttrs: !1,
416
- data() {
417
- return {
418
- tagCenter: [],
419
- newTag: null,
420
- tagsCopy: [],
421
- tagsEditStatus: null,
422
- deletionMark: null,
423
- deletionMarkTime: null,
424
- selectedItem: null,
425
- focused: null
426
- };
427
- },
428
- computed: {
429
- // Property which calculates if the autocomplete should be opened or not
430
- autocompleteOpen() {
431
- return this.autocompleteAlwaysOpen ? !0 : this.newTag !== null && this.newTag.length >= this.autocompleteMinLength && this.filteredAutocompleteItems.length > 0 && this.focused;
432
- },
433
- // Returns validated autocomplete items. Maybe duplicates are filtered out
434
- filteredAutocompleteItems() {
435
- const e = this.autocompleteItems.map((t) => C(t, this.tags, this.validation, this.isDuplicate));
436
- return this.autocompleteFilterDuplicates ? e.filter(this.duplicateFilter) : e;
437
- }
438
- },
439
- methods: {
440
- createClasses: j,
441
- // Returns the index which item should be selected, based on the parameter 'method'
442
- getSelectedIndex(e) {
443
- const t = this.filteredAutocompleteItems, s = this.selectedItem, l = t.length - 1;
444
- if (t.length !== 0)
445
- return s === null ? 0 : e === "before" && s === 0 ? l : e === "after" && s === l ? 0 : e === "after" ? s + 1 : s - 1;
446
- },
447
- selectDefaultItem() {
448
- this.addOnlyFromAutocomplete && this.filteredAutocompleteItems.length > 0 ? this.selectedItem = 0 : this.selectedItem = null;
449
- },
450
- selectItem(e, t) {
451
- e.preventDefault(), this.selectedItem = this.getSelectedIndex(t);
452
- },
453
- isSelected(e) {
454
- return this.selectedItem === e;
455
- },
456
- isMarked(e) {
457
- return this.deletionMark === e;
458
- },
459
- // Save ref for tag
460
- setTagCenter(e) {
461
- e && this.tagCenter.push(e);
462
- },
463
- // Method which is called when the user presses backspace → remove the last tag
464
- invokeDelete() {
465
- if (!this.deleteOnBackspace || this.newTag.length > 0)
466
- return;
467
- const e = this.tagsCopy.length - 1;
468
- this.deletionMark === null ? (this.deletionMarkTime = setTimeout(() => this.deletionMark = null, 1e3), this.deletionMark = e) : this.performDeleteTag(e);
469
- },
470
- addTagsFromPaste() {
471
- this.addFromPaste && setTimeout(() => this.performAddTags(this.newTag), 10);
472
- },
473
- // Method to call if a tag should switch to it's edit mode
474
- performEditTag(e) {
475
- this.allowEditTags && (this.onBeforeAddingTag || this.editTag(e), this.$emit("before-editing-tag", {
476
- index: e,
477
- tag: this.tagsCopy[e],
478
- editTag: () => this.editTag(e)
479
- }));
480
- },
481
- // Opens the edit mode for a tag and focuses it
482
- editTag(e) {
483
- this.allowEditTags && (this.toggleEditMode(e), this.focus(e));
484
- },
485
- // Toggles the edit mode for a tag
486
- toggleEditMode(e) {
487
- !this.allowEditTags || this.disabled || (this.tagsEditStatus[e] = !this.tagsEditStatus[e]);
488
- },
489
- // only called by the @input event from TagInput.
490
- // Creates a new tag model and applys it to this.tagsCopy[index]
491
- createChangedTag(e, t) {
492
- const s = this.tagsCopy[e];
493
- s.text = t ? t.target.value : this.tagsCopy[e].text, this.tagsCopy[e] = C(s, this.tagsCopy, this.validation, this.isDuplicate);
494
- },
495
- // Focuses the input of a tag
496
- focus(e) {
497
- this.$nextTick(() => {
498
- const t = this.tagCenter[e].querySelector("input.ti-tag-input");
499
- t && t.focus();
500
- });
501
- },
502
- quote(e) {
503
- return e.replace(/([()[{*+.$^\\|?])/g, "\\$1");
504
- },
505
- // Cancels the edit mode for a tag → resets the tag to it's original model!
506
- cancelEdit(e) {
507
- this.tags[e] && (this.tagsCopy[e] = O(
508
- C(this.tags[e], this.tags, this.validation, this.isDuplicate)
509
- ), this.tagsEditStatus[e] = !1);
510
- },
511
- hasForbiddingAddRule(e) {
512
- return e.some((t) => {
513
- const s = this.validation.find((l) => t === l.classes);
514
- return s ? s.disableAdd : !1;
515
- });
516
- },
517
- // Creates multiple tags out of a string, based on the prop separators
518
- createTagTexts(e) {
519
- const t = new RegExp(this.separators.map((s) => this.quote(s)).join("|"));
520
- return e.split(t).map((s) => ({ text: s }));
521
- },
522
- // Method to call to delete a tag
523
- performDeleteTag(e) {
524
- this.onBeforeDeletingTag || this.deleteTag(e), this.$emit("before-deleting-tag", {
525
- index: e,
526
- tag: this.tagsCopy[e],
527
- deleteTag: () => this.deleteTag(e)
528
- });
529
- },
530
- deleteTag(e) {
531
- this.disabled || (this.deletionMark = null, clearTimeout(this.deletionMarkTime), this.tagsCopy.splice(e, 1), this.$emit("update:tags", this.tagsCopy), this.$emit("tags-changed", this.tagsCopy));
532
- },
533
- // Decides wether the input keyCode is one, which is allowed to modify/add tags
534
- noTriggerKey(e, t) {
535
- const s = this[t].indexOf(e.keyCode) !== -1 || this[t].indexOf(e.key) !== -1;
536
- return s && e.preventDefault(), !s;
537
- },
538
- // Method to call to add a tag
539
- performAddTags(e, t, s) {
540
- if (this.disabled || t && this.noTriggerKey(t, "addOnKey"))
541
- return;
542
- let l = [];
543
- typeof e == "object" && (l = [e]), typeof e == "string" && (l = this.createTagTexts(e)), l = l.filter((a) => a.text.trim().length > 0), l.forEach((a) => {
544
- a = C(a, this.tags, this.validation, this.isDuplicate), this.onBeforeAddingTag || this.addTag(a, s), this.$emit("before-adding-tag", {
545
- tag: a,
546
- addTag: () => this.addTag(a, s)
547
- });
548
- });
549
- },
550
- duplicateFilter(e) {
551
- return this.isDuplicate ? !this.isDuplicate(this.tagsCopy, e) : !this.tagsCopy.find((t) => t.text === e.text);
552
- },
553
- addTag(e, t = "new-tag-input") {
554
- const s = this.filteredAutocompleteItems.map((l) => l.text);
555
- this.addOnlyFromAutocomplete && s.indexOf(e.text) === -1 || this.$nextTick(() => {
556
- if (this.maxTags && this.maxTags <= this.tagsCopy.length)
557
- return this.$emit("max-tags-reached", e);
558
- if (this.avoidAddingDuplicates && !this.duplicateFilter(e))
559
- return this.$emit("adding-duplicate", e);
560
- this.hasForbiddingAddRule(e.tiClasses) || (this.newTag = "", this.tagsCopy.push(e), this.$emit("update:tags", this.tagsCopy), t === "autocomplete" && this.$refs.newTagInput.focus(), this.$emit("tags-changed", this.tagsCopy));
561
- });
562
- },
563
- // Method to call to save a tag
564
- performSaveTag(e, t) {
565
- const s = this.tagsCopy[e];
566
- this.disabled || t && this.noTriggerKey(t, "addOnKey") || s.text.trim().length !== 0 && (this["on-before-saving-tag"] || this.saveTag(e, s), this.$emit("before-saving-tag", {
567
- index: e,
568
- tag: s,
569
- saveTag: () => this.saveTag(e, s)
570
- }));
571
- },
572
- saveTag(e, t) {
573
- if (this.avoidAddingDuplicates) {
574
- const s = O(this.tagsCopy), l = s.splice(e, 1)[0];
575
- if (this.isDuplicate ? this.isDuplicate(s, l) : s.map((r) => r.text).indexOf(l.text) !== -1)
576
- return this.$emit("saving-duplicate", t);
577
- }
578
- this.hasForbiddingAddRule(t.tiClasses) || (this.tagsCopy[e] = t, this.toggleEditMode(e), this.$emit("update:tags", this.tagsCopy), this.$emit("tags-changed", this.tagsCopy));
579
- },
580
- tagsEqual() {
581
- return !this.tagsCopy.some((e, t) => !Z(e, this.tags[t]));
582
- },
583
- updateNewTag(e) {
584
- const t = e.target.value;
585
- this.newTag = t, this.$emit("update:modelValue", t);
586
- },
587
- initTags() {
588
- this.tagsCopy = ee(this.tags, this.validation, this.isDuplicate), this.tagsEditStatus = O(this.tags).map(() => !1), this.tagsEqual() || this.$emit("update:tags", this.tagsCopy);
589
- },
590
- blurredOnClick(e) {
591
- this.$el.contains(e.target) || this.$el.contains(document.activeElement) || this.performBlur(e);
592
- },
593
- performBlur() {
594
- this.addOnBlur && this.focused && this.performAddTags(this.newTag), this.focused = !1;
595
- }
596
- },
597
- watch: {
598
- modelValue(e) {
599
- this.addOnlyFromAutocomplete || (this.selectedItem = null), this.newTag = e;
600
- },
601
- tags: {
602
- handler() {
603
- this.initTags();
604
- },
605
- deep: !0
606
- },
607
- autocompleteOpen: "selectDefaultItem"
608
- },
609
- created() {
610
- this.newTag = this.modelValue, this.initTags();
611
- },
612
- mounted() {
613
- this.selectDefaultItem(), document.addEventListener("click", this.blurredOnClick);
614
- },
615
- beforeUpdate() {
616
- this.tagCenter = [];
617
- },
618
- unmounted() {
619
- document.removeEventListener("click", this.blurredOnClick);
620
- }
621
- };
622
- const re = { class: "ti-input" }, oe = {
623
- key: 0,
624
- class: "ti-tags"
625
- }, ue = ["onClick"], de = { class: "ti-content" }, he = {
626
- key: 0,
627
- class: "ti-tag-left"
628
- }, pe = ["onClick"], ge = {
629
- key: 1,
630
- class: "ti-tag-right"
631
- }, fe = { class: "ti-actions" }, ce = ["onClick"], me = ["onClick"], ye = { class: "ti-new-tag-input-wrapper" }, be = ["placeholder", "value", "maxlength", "disabled"], ve = ["onMouseover"], Te = ["onClick"];
632
- function $e(e, t, s, l, a, r) {
633
- const i = J("tag-input");
634
- return u(), d("div", {
635
- class: y(["vue-tags-input", [{ "ti-disabled": e.disabled }, { "ti-focus": e.focused }, e.$attrs.class]]),
636
- style: S(e.$attrs.style)
637
- }, [
638
- h("div", re, [
639
- e.tagsCopy ? (u(), d("ul", oe, [
640
- (u(!0), d(V, null, E(e.tagsCopy, (n, o) => (u(), d("li", {
641
- key: o,
642
- style: S(n.style),
643
- class: y([[
644
- { "ti-editing": e.tagsEditStatus[o] },
645
- n.tiClasses,
646
- n.classes,
647
- { "ti-deletion-mark": e.isMarked(o) }
648
- ], "ti-tag"]),
649
- tabindex: "0",
650
- onClick: (m) => e.$emit("tag-clicked", { tag: n, index: o })
651
- }, [
652
- h("div", de, [
653
- e.$slots["tag-left"] ? (u(), d("div", he, [
654
- p(e.$slots, "tag-left", {
655
- tag: n,
656
- index: o,
657
- edit: e.tagsEditStatus[o],
658
- performSaveEdit: e.performSaveTag,
659
- performDelete: e.performDeleteTag,
660
- performCancelEdit: e.cancelEdit,
661
- performOpenEdit: e.performEditTag,
662
- deletionMark: e.isMarked(o)
663
- }, void 0, !0)
664
- ])) : f("", !0),
665
- h("div", {
666
- ref_for: !0,
667
- ref: e.setTagCenter,
668
- class: "ti-tag-center"
669
- }, [
670
- e.$slots["tag-center"] ? f("", !0) : (u(), d("span", {
671
- key: 0,
672
- class: y({ "ti-hidden": e.tagsEditStatus[o] }),
673
- onClick: (m) => e.performEditTag(o)
674
- }, b(n.text), 11, pe)),
675
- e.$slots["tag-center"] ? f("", !0) : (u(), W(i, {
676
- key: 1,
677
- scope: {
678
- edit: e.tagsEditStatus[o],
679
- maxlength: e.maxlength,
680
- tag: n,
681
- index: o,
682
- validateTag: e.createChangedTag,
683
- performCancelEdit: e.cancelEdit,
684
- performSaveEdit: e.performSaveTag
685
- }
686
- }, null, 8, ["scope"])),
687
- p(e.$slots, "tag-center", {
688
- tag: n,
689
- index: o,
690
- maxlength: e.maxlength,
691
- edit: e.tagsEditStatus[o],
692
- performSaveEdit: e.performSaveTag,
693
- performDelete: e.performDeleteTag,
694
- performCancelEdit: e.cancelEdit,
695
- validateTag: e.createChangedTag,
696
- performOpenEdit: e.performEditTag,
697
- deletionMark: e.isMarked(o)
698
- }, void 0, !0)
699
- ], 512),
700
- e.$slots["tag-right"] ? (u(), d("div", ge, [
701
- p(e.$slots, "tag-right", {
702
- tag: n,
703
- index: o,
704
- edit: e.tagsEditStatus[o],
705
- performSaveEdit: e.performSaveTag,
706
- performDelete: e.performDeleteTag,
707
- performCancelEdit: e.cancelEdit,
708
- performOpenEdit: e.performEditTag,
709
- deletionMark: e.isMarked(o)
710
- }, void 0, !0)
711
- ])) : f("", !0)
712
- ]),
713
- h("div", fe, [
714
- e.$slots["tag-actions"] ? f("", !0) : $((u(), d("i", {
715
- key: 0,
716
- class: "ti-icon-undo",
717
- onClick: (m) => e.cancelEdit(o)
718
- }, null, 8, ce)), [
719
- [w, e.tagsEditStatus[o]]
720
- ]),
721
- e.$slots["tag-actions"] ? f("", !0) : $((u(), d("i", {
722
- key: 1,
723
- class: "ti-icon-close",
724
- onClick: (m) => e.performDeleteTag(o)
725
- }, null, 8, me)), [
726
- [w, !e.tagsEditStatus[o]]
727
- ]),
728
- e.$slots["tag-actions"] ? p(e.$slots, "tag-actions", {
729
- key: 2,
730
- tag: n,
731
- index: o,
732
- edit: e.tagsEditStatus[o],
733
- performSaveEdit: e.performSaveTag,
734
- performDelete: e.performDeleteTag,
735
- performCancelEdit: e.cancelEdit,
736
- performOpenEdit: e.performEditTag,
737
- deletionMark: e.isMarked(o)
738
- }, void 0, !0) : f("", !0)
739
- ])
740
- ], 14, ue))), 128)),
741
- h("li", ye, [
742
- h("input", Y({ ref: "newTagInput" }, e.$attrs, {
743
- class: [[e.createClasses(e.newTag, e.tags, e.validation, e.isDuplicate)], "ti-new-tag-input"],
744
- placeholder: e.placeholder,
745
- value: e.newTag,
746
- maxlength: e.maxlength,
747
- disabled: e.disabled,
748
- type: "text",
749
- size: "1",
750
- onKeydown: [
751
- t[0] || (t[0] = (n) => e.performAddTags(
752
- e.filteredAutocompleteItems[e.selectedItem] || e.newTag,
753
- n
754
- )),
755
- t[2] || (t[2] = c((...n) => e.invokeDelete && e.invokeDelete(...n), ["delete"])),
756
- t[3] || (t[3] = c((...n) => e.performBlur && e.performBlur(...n), ["tab"])),
757
- t[4] || (t[4] = c((n) => e.selectItem(n, "before"), ["up"])),
758
- t[5] || (t[5] = c((n) => e.selectItem(n, "after"), ["down"]))
759
- ],
760
- onPaste: t[1] || (t[1] = (...n) => e.addTagsFromPaste && e.addTagsFromPaste(...n)),
761
- onInput: t[6] || (t[6] = (...n) => e.updateNewTag && e.updateNewTag(...n)),
762
- onFocus: t[7] || (t[7] = (n) => e.focused = !0),
763
- onClick: t[8] || (t[8] = (n) => e.addOnlyFromAutocomplete ? !1 : e.selectedItem = null)
764
- }), null, 16, be)
765
- ])
766
- ])) : f("", !0)
767
- ]),
768
- p(e.$slots, "between-elements", {}, void 0, !0),
769
- e.autocompleteOpen ? (u(), d("div", {
770
- key: 0,
771
- class: y(["ti-autocomplete", e.$attrs.class]),
772
- onMouseout: t[9] || (t[9] = (n) => e.selectedItem = null)
773
- }, [
774
- p(e.$slots, "autocomplete-header", {}, void 0, !0),
775
- h("ul", null, [
776
- (u(!0), d(V, null, E(e.filteredAutocompleteItems, (n, o) => (u(), d("li", {
777
- key: o,
778
- style: S(n.style),
779
- class: y([[
780
- n.tiClasses,
781
- n.classes,
782
- { "ti-selected-item": e.isSelected(o) }
783
- ], "ti-item"]),
784
- onMouseover: (m) => e.disabled ? !1 : e.selectedItem = o
785
- }, [
786
- e.$slots["autocomplete-item"] ? p(e.$slots, "autocomplete-item", {
787
- key: 1,
788
- item: n,
789
- index: o,
790
- performAdd: (m) => e.performAddTags(m, void 0, "autocomplete"),
791
- selected: e.isSelected(o)
792
- }, void 0, !0) : (u(), d("div", {
793
- key: 0,
794
- onClick: (m) => e.performAddTags(n, void 0, "autocomplete")
795
- }, b(n.text), 9, Te))
796
- ], 46, ve))), 128))
797
- ]),
798
- p(e.$slots, "autocomplete-footer", {}, void 0, !0)
799
- ], 34)) : f("", !0)
800
- ], 6);
801
- }
802
- const we = /* @__PURE__ */ D(ne, [["render", $e], ["__scopeId", "data-v-d14eec25"]]);
803
- const Se = /* @__PURE__ */ h("h5", { class: "mn-thin" }, "Tags (maximum 20):", -1), Oe = { class: "mn-medium" }, ke = /* @__PURE__ */ h("p", { class: "p-small mn-thin" }, "Suggested:", -1), Ce = ["onClick"], Ve = { key: 1 }, nt = {
804
- __name: "BlockTags",
805
- props: ["tags"],
806
- emits: ["tags-changed"],
807
- setup(e, { emit: t }) {
808
- const s = e, l = B(""), a = B([]), r = B([
809
- { text: "story" },
810
- { text: "news" },
811
- { text: "guide" },
812
- { text: "discussion" },
813
- { text: "photos" }
814
- ]);
815
- s.tags && (a.value = s.tags.map((v) => ({ text: v })));
816
- const i = P(() => r.value.filter((v) => v.text.toLowerCase().includes(l.value.toLowerCase()))), n = P(() => r.value.filter((v) => !a.value.some((T) => T.text === v.text)));
817
- function o(v) {
818
- a.value.push(v), t("tags-changed", a.value.map((T) => T.text));
819
- }
820
- function m(v) {
821
- a.value = v, t("tags-changed", a.value.map((T) => T.text));
822
- }
823
- return (v, T) => (u(), d("div", null, [
824
- Se,
825
- I(we, {
826
- modelValue: l.value,
827
- "onUpdate:modelValue": T[0] || (T[0] = (A) => l.value = A),
828
- tags: a.value,
829
- "autocomplete-items": L(i),
830
- "add-on-key": [13, ":", ";", ","],
831
- "save-on-key": [13, ":", ";", ","],
832
- separators: [";", ","],
833
- "max-tags": 20,
834
- maxlength: 20,
835
- placeholder: "Please add tags",
836
- "add-from-paste": !0,
837
- "allow-edit-tags": !0,
838
- onTagsChanged: m,
839
- class: "mn-thin bg-grey radius-medium pd-small"
840
- }, null, 8, ["modelValue", "tags", "autocomplete-items"]),
841
- h("p", Oe, [
842
- ke,
843
- L(n).length > 0 ? (u(!0), d(V, { key: 0 }, E(L(n), (A, z) => (u(), d("span", {
844
- onClick: (st) => o(A),
845
- class: y(["cursor-pointer ti-tag-toDefactor", { "mn-r-micro": z !== L(n).length - 1 }])
846
- }, b(A.text), 11, Ce))), 256)) : (u(), d("span", Ve, "You added all suggested tags"))
847
- ])
848
- ]));
849
- }
850
- };
851
- const Ee = { class: "flex-v-center flex-nowrap flex" }, Ae = {
852
- key: 0,
853
- class: "mn-r-auto t-transp mn-r-small"
854
- }, Le = ["name", "value", "checked"], De = {
855
- __name: "Checkbox",
856
- props: {
857
- label: String,
858
- name: String,
859
- value: String,
860
- radio: {
861
- type: [Array, Boolean, Object],
862
- default: () => []
863
- }
864
- },
865
- emits: ["update:radio"],
866
- setup(e, { emit: t }) {
867
- const s = e, l = (a) => {
868
- if (Array.isArray(s.radio)) {
869
- let r = [...s.radio];
870
- if (a.target.checked)
871
- r.push(s.value);
872
- else {
873
- const i = r.indexOf(s.value);
874
- i !== -1 && r.splice(i, 1);
875
- }
876
- t("update:radio", r);
877
- } else
878
- typeof s.radio == "boolean" && t("update:radio", a.target.checked);
879
- };
880
- return (a, r) => (u(), d("label", Ee, [
881
- e.label ? (u(), d("div", Ae, [
882
- h("span", null, b(e.label), 1)
883
- ])) : f("", !0),
884
- h("input", {
885
- onChange: l,
886
- class: "round radiobutton",
887
- type: "checkbox",
888
- name: e.name,
889
- value: e.value,
890
- checked: Array.isArray(e.radio) ? e.radio.includes(e.value) : e.radio
891
- }, null, 40, Le),
892
- h("div", {
893
- class: y(["transition-elastic pd-thin h-2r w-4r radius-extra", {
894
- "bg-grey": !(Array.isArray(e.radio) ? e.radio.includes(e.value) : e.radio),
895
- "bg-main": Array.isArray(e.radio) ? e.radio.includes(e.value) : e.radio
896
- }])
897
- }, [
898
- h("div", {
899
- class: y(["transition-linear w-1r h-1r radius-extra h-100 bg-white", {
900
- "mn-r-auto": !(Array.isArray(e.radio) ? e.radio.includes(e.value) : e.radio),
901
- "mn-l-auto": Array.isArray(e.radio) ? e.radio.includes(e.value) : e.radio
902
- }])
903
- }, null, 2)
904
- ], 2)
905
- ]));
906
- }
907
- }, rt = /* @__PURE__ */ D(De, [["__scopeId", "data-v-f641f618"]]);
908
- function M(e) {
909
- return e === 0 ? !1 : Array.isArray(e) && e.length === 0 ? !0 : !e;
910
- }
911
- function Be(e) {
912
- return (...t) => !e(...t);
913
- }
914
- function Me(e, t) {
915
- return e === void 0 && (e = "undefined"), e === null && (e = "null"), e === !1 && (e = "false"), e.toString().toLowerCase().indexOf(t.trim()) !== -1;
916
- }
917
- function q(e, t, s, l) {
918
- return t ? e.filter((a) => Me(l(a, s), t)).sort((a, r) => l(a, s).length - l(r, s).length) : e;
919
- }
920
- function Fe(e) {
921
- return e.filter((t) => !t.$isLabel);
922
- }
923
- function F(e, t) {
924
- return (s) => s.reduce((l, a) => a[e] && a[e].length ? (l.push({
925
- $groupLabel: a[t],
926
- $isLabel: !0
927
- }), l.concat(a[e])) : l, []);
928
- }
929
- function Ie(e, t, s, l, a) {
930
- return (r) => r.map((i) => {
931
- if (!i[s])
932
- return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."), [];
933
- const n = q(i[s], e, t, a);
934
- return n.length ? {
935
- [l]: i[l],
936
- [s]: n
937
- } : [];
938
- });
939
- }
940
- const G = (...e) => (t) => e.reduce((s, l) => l(s), t), Pe = {
941
- data() {
942
- return {
943
- search: "",
944
- isOpen: !1,
945
- preferredOpenDirection: "below",
946
- optimizedHeight: this.maxHeight
947
- };
948
- },
949
- props: {
950
- /**
951
- * Decide whether to filter the results based on search query.
952
- * Useful for async filtering, where we search through more complex data.
953
- * @type {Boolean}
954
- */
955
- internalSearch: {
956
- type: Boolean,
957
- default: !0
958
- },
959
- /**
960
- * Array of available options: Objects, Strings or Integers.
961
- * If array of objects, visible label will default to option.label.
962
- * If `labal` prop is passed, label will equal option['label']
963
- * @type {Array}
964
- */
965
- options: {
966
- type: Array,
967
- required: !0
968
- },
969
- /**
970
- * Equivalent to the `multiple` attribute on a `<select>` input.
971
- * @default false
972
- * @type {Boolean}
973
- */
974
- multiple: {
975
- type: Boolean,
976
- default: !1
977
- },
978
- /**
979
- * Key to compare objects
980
- * @default 'id'
981
- * @type {String}
982
- */
983
- trackBy: {
984
- type: String
985
- },
986
- /**
987
- * Label to look for in option Object
988
- * @default 'label'
989
- * @type {String}
990
- */
991
- label: {
992
- type: String
993
- },
994
- /**
995
- * Enable/disable search in options
996
- * @default true
997
- * @type {Boolean}
998
- */
999
- searchable: {
1000
- type: Boolean,
1001
- default: !0
1002
- },
1003
- /**
1004
- * Clear the search input after `)
1005
- * @default true
1006
- * @type {Boolean}
1007
- */
1008
- clearOnSelect: {
1009
- type: Boolean,
1010
- default: !0
1011
- },
1012
- /**
1013
- * Hide already selected options
1014
- * @default false
1015
- * @type {Boolean}
1016
- */
1017
- hideSelected: {
1018
- type: Boolean,
1019
- default: !1
1020
- },
1021
- /**
1022
- * Equivalent to the `placeholder` attribute on a `<select>` input.
1023
- * @default 'Select option'
1024
- * @type {String}
1025
- */
1026
- placeholder: {
1027
- type: String,
1028
- default: "Select option"
1029
- },
1030
- /**
1031
- * Allow to remove all selected values
1032
- * @default true
1033
- * @type {Boolean}
1034
- */
1035
- allowEmpty: {
1036
- type: Boolean,
1037
- default: !0
1038
- },
1039
- /**
1040
- * Reset this.internalValue, this.search after this.internalValue changes.
1041
- * Useful if want to create a stateless dropdown.
1042
- * @default false
1043
- * @type {Boolean}
1044
- */
1045
- resetAfter: {
1046
- type: Boolean,
1047
- default: !1
1048
- },
1049
- /**
1050
- * Enable/disable closing after selecting an option
1051
- * @default true
1052
- * @type {Boolean}
1053
- */
1054
- closeOnSelect: {
1055
- type: Boolean,
1056
- default: !0
1057
- },
1058
- /**
1059
- * Function to interpolate the custom label
1060
- * @default false
1061
- * @type {Function}
1062
- */
1063
- customLabel: {
1064
- type: Function,
1065
- default(e, t) {
1066
- return M(e) ? "" : t ? e[t] : e;
1067
- }
1068
- },
1069
- /**
1070
- * Disable / Enable tagging
1071
- * @default false
1072
- * @type {Boolean}
1073
- */
1074
- taggable: {
1075
- type: Boolean,
1076
- default: !1
1077
- },
1078
- /**
1079
- * String to show when highlighting a potential tag
1080
- * @default 'Press enter to create a tag'
1081
- * @type {String}
1082
- */
1083
- tagPlaceholder: {
1084
- type: String,
1085
- default: "Press enter to create a tag"
1086
- },
1087
- /**
1088
- * By default new tags will appear above the search results.
1089
- * Changing to 'bottom' will revert this behaviour
1090
- * and will proritize the search results
1091
- * @default 'top'
1092
- * @type {String}
1093
- */
1094
- tagPosition: {
1095
- type: String,
1096
- default: "top"
1097
- },
1098
- /**
1099
- * Number of allowed selected options. No limit if 0.
1100
- * @default 0
1101
- * @type {Number}
1102
- */
1103
- max: {
1104
- type: [Number, Boolean],
1105
- default: !1
1106
- },
1107
- /**
1108
- * Will be passed with all events as second param.
1109
- * Useful for identifying events origin.
1110
- * @default null
1111
- * @type {String|Integer}
1112
- */
1113
- id: {
1114
- default: null
1115
- },
1116
- /**
1117
- * Limits the options displayed in the dropdown
1118
- * to the first X options.
1119
- * @default 1000
1120
- * @type {Integer}
1121
- */
1122
- optionsLimit: {
1123
- type: Number,
1124
- default: 1e3
1125
- },
1126
- /**
1127
- * Name of the property containing
1128
- * the group values
1129
- * @default 1000
1130
- * @type {String}
1131
- */
1132
- groupValues: {
1133
- type: String
1134
- },
1135
- /**
1136
- * Name of the property containing
1137
- * the group label
1138
- * @default 1000
1139
- * @type {String}
1140
- */
1141
- groupLabel: {
1142
- type: String
1143
- },
1144
- /**
1145
- * Allow to select all group values
1146
- * by selecting the group label
1147
- * @default false
1148
- * @type {Boolean}
1149
- */
1150
- groupSelect: {
1151
- type: Boolean,
1152
- default: !1
1153
- },
1154
- /**
1155
- * Array of keyboard keys to block
1156
- * when selecting
1157
- * @default 1000
1158
- * @type {String}
1159
- */
1160
- blockKeys: {
1161
- type: Array,
1162
- default() {
1163
- return [];
1164
- }
1165
- },
1166
- /**
1167
- * Prevent from wiping up the search value
1168
- * @default false
1169
- * @type {Boolean}
1170
- */
1171
- preserveSearch: {
1172
- type: Boolean,
1173
- default: !1
1174
- },
1175
- /**
1176
- * Select 1st options if value is empty
1177
- * @default false
1178
- * @type {Boolean}
1179
- */
1180
- preselectFirst: {
1181
- type: Boolean,
1182
- default: !1
1183
- },
1184
- /**
1185
- * Prevent autofocus
1186
- * @default false
1187
- * @type {Boolean}
1188
- */
1189
- preventAutofocus: {
1190
- type: Boolean,
1191
- default: !1
1192
- }
1193
- },
1194
- mounted() {
1195
- !this.multiple && this.max && console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."), this.preselectFirst && !this.internalValue.length && this.options.length && this.select(this.filteredOptions[0]);
1196
- },
1197
- computed: {
1198
- internalValue() {
1199
- return this.modelValue || this.modelValue === 0 ? Array.isArray(this.modelValue) ? this.modelValue : [this.modelValue] : [];
1200
- },
1201
- filteredOptions() {
1202
- const e = this.search || "", t = e.toLowerCase().trim();
1203
- let s = this.options.concat();
1204
- return this.internalSearch ? s = this.groupValues ? this.filterAndFlat(s, t, this.label) : q(s, t, this.label, this.customLabel) : s = this.groupValues ? F(this.groupValues, this.groupLabel)(s) : s, s = this.hideSelected ? s.filter(Be(this.isSelected)) : s, this.taggable && t.length && !this.isExistingOption(t) && (this.tagPosition === "bottom" ? s.push({ isTag: !0, label: e }) : s.unshift({ isTag: !0, label: e })), s.slice(0, this.optionsLimit);
1205
- },
1206
- valueKeys() {
1207
- return this.trackBy ? this.internalValue.map((e) => e[this.trackBy]) : this.internalValue;
1208
- },
1209
- optionKeys() {
1210
- return (this.groupValues ? this.flatAndStrip(this.options) : this.options).map((t) => this.customLabel(t, this.label).toString().toLowerCase());
1211
- },
1212
- currentOptionLabel() {
1213
- return this.multiple ? this.searchable ? "" : this.placeholder : this.internalValue.length ? this.getOptionLabel(this.internalValue[0]) : this.searchable ? "" : this.placeholder;
1214
- }
1215
- },
1216
- watch: {
1217
- internalValue: {
1218
- handler() {
1219
- this.resetAfter && this.internalValue.length && (this.search = "", this.$emit("update:modelValue", this.multiple ? [] : null));
1220
- },
1221
- deep: !0
1222
- },
1223
- search() {
1224
- this.$emit("search-change", this.search);
1225
- }
1226
- },
1227
- emits: ["open", "search-change", "close", "select", "update:modelValue", "remove", "tag"],
1228
- methods: {
1229
- /**
1230
- * Returns the internalValue in a way it can be emited to the parent
1231
- * @returns {Object||Array||String||Integer}
1232
- */
1233
- getValue() {
1234
- return this.multiple ? this.internalValue : this.internalValue.length === 0 ? null : this.internalValue[0];
1235
- },
1236
- /**
1237
- * Filters and then flattens the options list
1238
- * @param {Array}
1239
- * @return {Array} returns a filtered and flat options list
1240
- */
1241
- filterAndFlat(e, t, s) {
1242
- return G(
1243
- Ie(t, s, this.groupValues, this.groupLabel, this.customLabel),
1244
- F(this.groupValues, this.groupLabel)
1245
- )(e);
1246
- },
1247
- /**
1248
- * Flattens and then strips the group labels from the options list
1249
- * @param {Array}
1250
- * @return {Array} returns a flat options list without group labels
1251
- */
1252
- flatAndStrip(e) {
1253
- return G(
1254
- F(this.groupValues, this.groupLabel),
1255
- Fe
1256
- )(e);
1257
- },
1258
- /**
1259
- * Updates the search value
1260
- * @param {String}
1261
- */
1262
- updateSearch(e) {
1263
- this.search = e;
1264
- },
1265
- /**
1266
- * Finds out if the given query is already present
1267
- * in the available options
1268
- * @param {String}
1269
- * @return {Boolean} returns true if element is available
1270
- */
1271
- isExistingOption(e) {
1272
- return this.options ? this.optionKeys.indexOf(e) > -1 : !1;
1273
- },
1274
- /**
1275
- * Finds out if the given element is already present
1276
- * in the result value
1277
- * @param {Object||String||Integer} option passed element to check
1278
- * @returns {Boolean} returns true if element is selected
1279
- */
1280
- isSelected(e) {
1281
- const t = this.trackBy ? e[this.trackBy] : e;
1282
- return this.valueKeys.indexOf(t) > -1;
1283
- },
1284
- /**
1285
- * Finds out if the given option is disabled
1286
- * @param {Object||String||Integer} option passed element to check
1287
- * @returns {Boolean} returns true if element is disabled
1288
- */
1289
- isOptionDisabled(e) {
1290
- return !!e.$isDisabled;
1291
- },
1292
- /**
1293
- * Returns empty string when options is null/undefined
1294
- * Returns tag query if option is tag.
1295
- * Returns the customLabel() results and casts it to string.
1296
- *
1297
- * @param {Object||String||Integer} Passed option
1298
- * @returns {Object||String}
1299
- */
1300
- getOptionLabel(e) {
1301
- if (M(e))
1302
- return "";
1303
- if (e.isTag)
1304
- return e.label;
1305
- if (e.$isLabel)
1306
- return e.$groupLabel;
1307
- const t = this.customLabel(e, this.label);
1308
- return M(t) ? "" : t;
1309
- },
1310
- /**
1311
- * Add the given option to the list of selected options
1312
- * or sets the option as the selected option.
1313
- * If option is already selected -> remove it from the results.
1314
- *
1315
- * @param {Object||String||Integer} option to select/deselect
1316
- * @param {Boolean} block removing
1317
- */
1318
- select(e, t) {
1319
- if (e.$isLabel && this.groupSelect) {
1320
- this.selectGroup(e);
1321
- return;
1322
- }
1323
- if (!(this.blockKeys.indexOf(t) !== -1 || this.disabled || e.$isDisabled || e.$isLabel) && !(this.max && this.multiple && this.internalValue.length === this.max) && !(t === "Tab" && !this.pointerDirty)) {
1324
- if (e.isTag)
1325
- this.$emit("tag", e.label, this.id), this.search = "", this.closeOnSelect && !this.multiple && this.deactivate();
1326
- else {
1327
- if (this.isSelected(e)) {
1328
- t !== "Tab" && this.removeElement(e);
1329
- return;
1330
- }
1331
- this.multiple ? this.$emit("update:modelValue", this.internalValue.concat([e])) : this.$emit("update:modelValue", e), this.$emit("select", e, this.id), this.clearOnSelect && (this.search = "");
1332
- }
1333
- this.closeOnSelect && this.deactivate();
1334
- }
1335
- },
1336
- /**
1337
- * Add the given group options to the list of selected options
1338
- * If all group optiona are already selected -> remove it from the results.
1339
- *
1340
- * @param {Object||String||Integer} group to select/deselect
1341
- */
1342
- selectGroup(e) {
1343
- const t = this.options.find((s) => s[this.groupLabel] === e.$groupLabel);
1344
- if (t) {
1345
- if (this.wholeGroupSelected(t)) {
1346
- this.$emit("remove", t[this.groupValues], this.id);
1347
- const s = this.internalValue.filter(
1348
- (l) => t[this.groupValues].indexOf(l) === -1
1349
- );
1350
- this.$emit("update:modelValue", s);
1351
- } else {
1352
- let s = t[this.groupValues].filter(
1353
- (l) => !(this.isOptionDisabled(l) || this.isSelected(l))
1354
- );
1355
- this.max && s.splice(this.max - this.internalValue.length), this.$emit("select", s, this.id), this.$emit(
1356
- "update:modelValue",
1357
- this.internalValue.concat(s)
1358
- );
1359
- }
1360
- this.closeOnSelect && this.deactivate();
1361
- }
1362
- },
1363
- /**
1364
- * Helper to identify if all values in a group are selected
1365
- *
1366
- * @param {Object} group to validated selected values against
1367
- */
1368
- wholeGroupSelected(e) {
1369
- return e[this.groupValues].every(
1370
- (t) => this.isSelected(t) || this.isOptionDisabled(t)
1371
- );
1372
- },
1373
- /**
1374
- * Helper to identify if all values in a group are disabled
1375
- *
1376
- * @param {Object} group to check for disabled values
1377
- */
1378
- wholeGroupDisabled(e) {
1379
- return e[this.groupValues].every(this.isOptionDisabled);
1380
- },
1381
- /**
1382
- * Removes the given option from the selected options.
1383
- * Additionally checks this.allowEmpty prop if option can be removed when
1384
- * it is the last selected option.
1385
- *
1386
- * @param {type} option description
1387
- * @return {type} description
1388
- */
1389
- removeElement(e, t = !0) {
1390
- if (this.disabled || e.$isDisabled)
1391
- return;
1392
- if (!this.allowEmpty && this.internalValue.length <= 1) {
1393
- this.deactivate();
1394
- return;
1395
- }
1396
- const s = typeof e == "object" ? this.valueKeys.indexOf(e[this.trackBy]) : this.valueKeys.indexOf(e);
1397
- if (this.multiple) {
1398
- const l = this.internalValue.slice(0, s).concat(this.internalValue.slice(s + 1));
1399
- this.$emit("update:modelValue", l);
1400
- } else
1401
- this.$emit("update:modelValue", null);
1402
- this.$emit("remove", e, this.id), this.closeOnSelect && t && this.deactivate();
1403
- },
1404
- /**
1405
- * Calls this.removeElement() with the last element
1406
- * from this.internalValue (selected element Array)
1407
- *
1408
- * @fires this#removeElement
1409
- */
1410
- removeLastElement() {
1411
- this.blockKeys.indexOf("Delete") === -1 && this.search.length === 0 && Array.isArray(this.internalValue) && this.internalValue.length && this.removeElement(this.internalValue[this.internalValue.length - 1], !1);
1412
- },
1413
- /**
1414
- * Opens the multiselect’s dropdown.
1415
- * Sets this.isOpen to TRUE
1416
- */
1417
- activate() {
1418
- this.isOpen || this.disabled || (this.adjustPosition(), this.groupValues && this.pointer === 0 && this.filteredOptions.length && (this.pointer = 1), this.isOpen = !0, this.searchable ? (this.preserveSearch || (this.search = ""), this.preventAutofocus || this.$nextTick(() => this.$refs.search && this.$refs.search.focus())) : this.preventAutofocus || typeof this.$el < "u" && this.$el.focus(), this.$emit("open", this.id));
1419
- },
1420
- /**
1421
- * Closes the multiselect’s dropdown.
1422
- * Sets this.isOpen to FALSE
1423
- */
1424
- deactivate() {
1425
- this.isOpen && (this.isOpen = !1, this.searchable ? typeof this.$refs.search < "u" && this.$refs.search.blur() : typeof this.$el < "u" && this.$el.blur(), this.preserveSearch || (this.search = ""), this.$emit("close", this.getValue(), this.id));
1426
- },
1427
- /**
1428
- * Call this.activate() or this.deactivate()
1429
- * depending on this.isOpen value.
1430
- *
1431
- * @fires this#activate || this#deactivate
1432
- * @property {Boolean} isOpen indicates if dropdown is open
1433
- */
1434
- toggle() {
1435
- this.isOpen ? this.deactivate() : this.activate();
1436
- },
1437
- /**
1438
- * Updates the hasEnoughSpace variable used for
1439
- * detecting where to expand the dropdown
1440
- */
1441
- adjustPosition() {
1442
- if (typeof window > "u")
1443
- return;
1444
- const e = this.$el.getBoundingClientRect().top, t = window.innerHeight - this.$el.getBoundingClientRect().bottom;
1445
- t > this.maxHeight || t > e || this.openDirection === "below" || this.openDirection === "bottom" ? (this.preferredOpenDirection = "below", this.optimizedHeight = Math.min(t - 40, this.maxHeight)) : (this.preferredOpenDirection = "above", this.optimizedHeight = Math.min(e - 40, this.maxHeight));
1446
- }
1447
- }
1448
- }, Ke = {
1449
- data() {
1450
- return {
1451
- pointer: 0,
1452
- pointerDirty: !1
1453
- };
1454
- },
1455
- props: {
1456
- /**
1457
- * Enable/disable highlighting of the pointed value.
1458
- * @type {Boolean}
1459
- * @default true
1460
- */
1461
- showPointer: {
1462
- type: Boolean,
1463
- default: !0
1464
- },
1465
- optionHeight: {
1466
- type: Number,
1467
- default: 40
1468
- }
1469
- },
1470
- computed: {
1471
- pointerPosition() {
1472
- return this.pointer * this.optionHeight;
1473
- },
1474
- visibleElements() {
1475
- return this.optimizedHeight / this.optionHeight;
1476
- }
1477
- },
1478
- watch: {
1479
- filteredOptions() {
1480
- this.pointerAdjust();
1481
- },
1482
- isOpen() {
1483
- this.pointerDirty = !1;
1484
- },
1485
- pointer() {
1486
- this.$refs.search && this.$refs.search.setAttribute("aria-activedescendant", this.id + "-" + this.pointer.toString());
1487
- }
1488
- },
1489
- methods: {
1490
- optionHighlight(e, t) {
1491
- return {
1492
- "multiselect__option--highlight": e === this.pointer && this.showPointer,
1493
- "multiselect__option--selected": this.isSelected(t)
1494
- };
1495
- },
1496
- groupHighlight(e, t) {
1497
- if (!this.groupSelect)
1498
- return [
1499
- "multiselect__option--disabled",
1500
- { "multiselect__option--group": t.$isLabel }
1501
- ];
1502
- const s = this.options.find((l) => l[this.groupLabel] === t.$groupLabel);
1503
- return s && !this.wholeGroupDisabled(s) ? [
1504
- "multiselect__option--group",
1505
- { "multiselect__option--highlight": e === this.pointer && this.showPointer },
1506
- { "multiselect__option--group-selected": this.wholeGroupSelected(s) }
1507
- ] : "multiselect__option--disabled";
1508
- },
1509
- addPointerElement({ key: e } = "Enter") {
1510
- this.filteredOptions.length > 0 && this.select(this.filteredOptions[this.pointer], e), this.pointerReset();
1511
- },
1512
- pointerForward() {
1513
- this.pointer < this.filteredOptions.length - 1 && (this.pointer++, this.$refs.list.scrollTop <= this.pointerPosition - (this.visibleElements - 1) * this.optionHeight && (this.$refs.list.scrollTop = this.pointerPosition - (this.visibleElements - 1) * this.optionHeight), this.filteredOptions[this.pointer] && this.filteredOptions[this.pointer].$isLabel && !this.groupSelect && this.pointerForward()), this.pointerDirty = !0;
1514
- },
1515
- pointerBackward() {
1516
- this.pointer > 0 ? (this.pointer--, this.$refs.list.scrollTop >= this.pointerPosition && (this.$refs.list.scrollTop = this.pointerPosition), this.filteredOptions[this.pointer] && this.filteredOptions[this.pointer].$isLabel && !this.groupSelect && this.pointerBackward()) : this.filteredOptions[this.pointer] && this.filteredOptions[0].$isLabel && !this.groupSelect && this.pointerForward(), this.pointerDirty = !0;
1517
- },
1518
- pointerReset() {
1519
- this.closeOnSelect && (this.pointer = 0, this.$refs.list && (this.$refs.list.scrollTop = 0));
1520
- },
1521
- pointerAdjust() {
1522
- this.pointer >= this.filteredOptions.length - 1 && (this.pointer = this.filteredOptions.length ? this.filteredOptions.length - 1 : 0), this.filteredOptions.length > 0 && this.filteredOptions[this.pointer].$isLabel && !this.groupSelect && this.pointerForward();
1523
- },
1524
- pointerSet(e) {
1525
- this.pointer = e, this.pointerDirty = !0;
1526
- }
1527
- }
1528
- };
1529
- const Ne = {
1530
- name: "vue-multiselect",
1531
- mixins: [Pe, Ke],
1532
- compatConfig: {
1533
- MODE: 3,
1534
- ATTR_ENUMERATED_COERCION: !1
1535
- },
1536
- props: {
1537
- /**
1538
- * name attribute to match optional label element
1539
- * @default ''
1540
- * @type {String}
1541
- */
1542
- name: {
1543
- type: String,
1544
- default: ""
1545
- },
1546
- /**
1547
- * Presets the selected options value.
1548
- * @type {Object||Array||String||Integer}
1549
- */
1550
- modelValue: {
1551
- type: null,
1552
- default() {
1553
- return [];
1554
- }
1555
- },
1556
- /**
1557
- * String to show when pointing to an option
1558
- * @default 'Press enter to select'
1559
- * @type {String}
1560
- */
1561
- selectLabel: {
1562
- type: String,
1563
- default: "Press enter to select"
1564
- },
1565
- /**
1566
- * String to show when pointing to an option
1567
- * @default 'Press enter to select'
1568
- * @type {String}
1569
- */
1570
- selectGroupLabel: {
1571
- type: String,
1572
- default: "Press enter to select group"
1573
- },
1574
- /**
1575
- * String to show next to selected option
1576
- * @default 'Selected'
1577
- * @type {String}
1578
- */
1579
- selectedLabel: {
1580
- type: String,
1581
- default: "Selected"
1582
- },
1583
- /**
1584
- * String to show when pointing to an already selected option
1585
- * @default 'Press enter to remove'
1586
- * @type {String}
1587
- */
1588
- deselectLabel: {
1589
- type: String,
1590
- default: "Press enter to remove"
1591
- },
1592
- /**
1593
- * String to show when pointing to an already selected option
1594
- * @default 'Press enter to remove'
1595
- * @type {String}
1596
- */
1597
- deselectGroupLabel: {
1598
- type: String,
1599
- default: "Press enter to deselect group"
1600
- },
1601
- /**
1602
- * Decide whether to show pointer labels
1603
- * @default true
1604
- * @type {Boolean}
1605
- */
1606
- showLabels: {
1607
- type: Boolean,
1608
- default: !0
1609
- },
1610
- /**
1611
- * Limit the display of selected options. The rest will be hidden within the limitText string.
1612
- * @default 99999
1613
- * @type {Integer}
1614
- */
1615
- limit: {
1616
- type: Number,
1617
- default: 99999
1618
- },
1619
- /**
1620
- * Sets maxHeight style value of the dropdown
1621
- * @default 300
1622
- * @type {Integer}
1623
- */
1624
- maxHeight: {
1625
- type: Number,
1626
- default: 300
1627
- },
1628
- /**
1629
- * Function that process the message shown when selected
1630
- * elements pass the defined limit.
1631
- * @default 'and * more'
1632
- * @param {Int} count Number of elements more than limit
1633
- * @type {Function}
1634
- */
1635
- limitText: {
1636
- type: Function,
1637
- default: (e) => `and ${e} more`
1638
- },
1639
- /**
1640
- * Set true to trigger the loading spinner.
1641
- * @default False
1642
- * @type {Boolean}
1643
- */
1644
- loading: {
1645
- type: Boolean,
1646
- default: !1
1647
- },
1648
- /**
1649
- * Disables the multiselect if true.
1650
- * @default false
1651
- * @type {Boolean}
1652
- */
1653
- disabled: {
1654
- type: Boolean,
1655
- default: !1
1656
- },
1657
- /**
1658
- * Fixed opening direction
1659
- * @default ''
1660
- * @type {String}
1661
- */
1662
- openDirection: {
1663
- type: String,
1664
- default: ""
1665
- },
1666
- /**
1667
- * Shows slot with message about empty options
1668
- * @default true
1669
- * @type {Boolean}
1670
- */
1671
- showNoOptions: {
1672
- type: Boolean,
1673
- default: !0
1674
- },
1675
- showNoResults: {
1676
- type: Boolean,
1677
- default: !0
1678
- },
1679
- tabindex: {
1680
- type: Number,
1681
- default: 0
1682
- }
1683
- },
1684
- computed: {
1685
- hasOptionGroup() {
1686
- return this.groupValues && this.groupLabel && this.groupSelect;
1687
- },
1688
- isSingleLabelVisible() {
1689
- return (this.singleValue || this.singleValue === 0) && (!this.isOpen || !this.searchable) && !this.visibleValues.length;
1690
- },
1691
- isPlaceholderVisible() {
1692
- return !this.internalValue.length && (!this.searchable || !this.isOpen);
1693
- },
1694
- visibleValues() {
1695
- return this.multiple ? this.internalValue.slice(0, this.limit) : [];
1696
- },
1697
- singleValue() {
1698
- return this.internalValue[0];
1699
- },
1700
- deselectLabelText() {
1701
- return this.showLabels ? this.deselectLabel : "";
1702
- },
1703
- deselectGroupLabelText() {
1704
- return this.showLabels ? this.deselectGroupLabel : "";
1705
- },
1706
- selectLabelText() {
1707
- return this.showLabels ? this.selectLabel : "";
1708
- },
1709
- selectGroupLabelText() {
1710
- return this.showLabels ? this.selectGroupLabel : "";
1711
- },
1712
- selectedLabelText() {
1713
- return this.showLabels ? this.selectedLabel : "";
1714
- },
1715
- inputStyle() {
1716
- return this.searchable || this.multiple && this.modelValue && this.modelValue.length ? this.isOpen ? { width: "100%" } : { width: "0", position: "absolute", padding: "0" } : "";
1717
- },
1718
- contentStyle() {
1719
- return this.options.length ? { display: "inline-block" } : { display: "block" };
1720
- },
1721
- isAbove() {
1722
- return this.openDirection === "above" || this.openDirection === "top" ? !0 : this.openDirection === "below" || this.openDirection === "bottom" ? !1 : this.preferredOpenDirection === "above";
1723
- },
1724
- showSearchInput() {
1725
- return this.searchable && (this.hasSingleSelectedSlot && (this.visibleSingleValue || this.visibleSingleValue === 0) ? this.isOpen : !0);
1726
- }
1727
- }
1728
- }, Re = ["tabindex", "aria-owns"], He = {
1729
- ref: "tags",
1730
- class: "multiselect__tags"
1731
- }, Ge = { class: "multiselect__tags-wrap" }, je = ["textContent"], qe = ["onKeypress", "onMousedown"], ze = ["textContent"], Ue = { class: "multiselect__spinner" }, Je = ["name", "id", "placeholder", "value", "disabled", "tabindex", "aria-controls"], We = ["id"], Ye = { key: 0 }, Qe = { class: "multiselect__option" }, Xe = ["id", "role"], Ze = ["onClick", "onMouseenter", "data-select", "data-selected", "data-deselect"], xe = ["data-select", "data-deselect", "onMouseenter", "onMousedown"], _e = { class: "multiselect__option" }, et = { class: "multiselect__option" };
1732
- function tt(e, t, s, l, a, r) {
1733
- return u(), d("div", {
1734
- tabindex: e.searchable ? -1 : s.tabindex,
1735
- class: y([{ "multiselect--active": e.isOpen, "multiselect--disabled": s.disabled, "multiselect--above": r.isAbove, "multiselect--has-options-group": r.hasOptionGroup }, "multiselect"]),
1736
- onFocus: t[13] || (t[13] = (i) => e.activate()),
1737
- onBlur: t[14] || (t[14] = (i) => e.searchable ? !1 : e.deactivate()),
1738
- onKeydown: [
1739
- t[15] || (t[15] = c(g((i) => e.pointerForward(), ["self", "prevent"]), ["down"])),
1740
- t[16] || (t[16] = c(g((i) => e.pointerBackward(), ["self", "prevent"]), ["up"]))
1741
- ],
1742
- onKeypress: t[17] || (t[17] = c(g((i) => e.addPointerElement(i), ["stop", "self"]), ["enter", "tab"])),
1743
- onKeyup: t[18] || (t[18] = c((i) => e.deactivate(), ["esc"])),
1744
- role: "combobox",
1745
- "aria-owns": "listbox-" + e.id
1746
- }, [
1747
- p(e.$slots, "caret", { toggle: e.toggle }, () => [
1748
- h("div", {
1749
- onMousedown: t[0] || (t[0] = g((i) => e.toggle(), ["prevent", "stop"])),
1750
- class: "multiselect__select"
1751
- }, null, 32)
1752
- ]),
1753
- p(e.$slots, "clear", { search: e.search }),
1754
- h("div", He, [
1755
- p(e.$slots, "selection", {
1756
- search: e.search,
1757
- remove: e.removeElement,
1758
- values: r.visibleValues,
1759
- isOpen: e.isOpen
1760
- }, () => [
1761
- $(h("div", Ge, [
1762
- (u(!0), d(V, null, E(r.visibleValues, (i, n) => p(e.$slots, "tag", {
1763
- option: i,
1764
- search: e.search,
1765
- remove: e.removeElement
1766
- }, () => [
1767
- (u(), d("span", {
1768
- class: "multiselect__tag",
1769
- key: n
1770
- }, [
1771
- h("span", {
1772
- textContent: b(e.getOptionLabel(i))
1773
- }, null, 8, je),
1774
- h("i", {
1775
- tabindex: "1",
1776
- onKeypress: c(g((o) => e.removeElement(i), ["prevent"]), ["enter"]),
1777
- onMousedown: g((o) => e.removeElement(i), ["prevent"]),
1778
- class: "multiselect__tag-icon"
1779
- }, null, 40, qe)
1780
- ]))
1781
- ])), 256))
1782
- ], 512), [
1783
- [w, r.visibleValues.length > 0]
1784
- ]),
1785
- e.internalValue && e.internalValue.length > s.limit ? p(e.$slots, "limit", { key: 0 }, () => [
1786
- h("strong", {
1787
- class: "multiselect__strong",
1788
- textContent: b(s.limitText(e.internalValue.length - s.limit))
1789
- }, null, 8, ze)
1790
- ]) : f("", !0)
1791
- ]),
1792
- I(K, { name: "multiselect__loading" }, {
1793
- default: N(() => [
1794
- p(e.$slots, "loading", {}, () => [
1795
- $(h("div", Ue, null, 512), [
1796
- [w, s.loading]
1797
- ])
1798
- ])
1799
- ]),
1800
- _: 3
1801
- }),
1802
- e.searchable ? (u(), d("input", {
1803
- key: 0,
1804
- ref: "search",
1805
- name: s.name,
1806
- id: e.id,
1807
- type: "text",
1808
- autocomplete: "off",
1809
- spellcheck: "false",
1810
- placeholder: e.placeholder,
1811
- style: S(r.inputStyle),
1812
- value: e.search,
1813
- disabled: s.disabled,
1814
- tabindex: s.tabindex,
1815
- onInput: t[1] || (t[1] = (i) => e.updateSearch(i.target.value)),
1816
- onFocus: t[2] || (t[2] = g((i) => e.activate(), ["prevent"])),
1817
- onBlur: t[3] || (t[3] = g((i) => e.deactivate(), ["prevent"])),
1818
- onKeyup: t[4] || (t[4] = c((i) => e.deactivate(), ["esc"])),
1819
- onKeydown: [
1820
- t[5] || (t[5] = c(g((i) => e.pointerForward(), ["prevent"]), ["down"])),
1821
- t[6] || (t[6] = c(g((i) => e.pointerBackward(), ["prevent"]), ["up"])),
1822
- t[8] || (t[8] = c(g((i) => e.removeLastElement(), ["stop"]), ["delete"]))
1823
- ],
1824
- onKeypress: t[7] || (t[7] = c(g((i) => e.addPointerElement(i), ["prevent", "stop", "self"]), ["enter"])),
1825
- class: "multiselect__input",
1826
- "aria-controls": "listbox-" + e.id
1827
- }, null, 44, Je)) : f("", !0),
1828
- r.isSingleLabelVisible ? (u(), d("span", {
1829
- key: 1,
1830
- class: "multiselect__single",
1831
- onMousedown: t[9] || (t[9] = g((...i) => e.toggle && e.toggle(...i), ["prevent"]))
1832
- }, [
1833
- p(e.$slots, "singleLabel", { option: r.singleValue }, () => [
1834
- k(b(e.currentOptionLabel), 1)
1835
- ])
1836
- ], 32)) : f("", !0),
1837
- r.isPlaceholderVisible ? (u(), d("span", {
1838
- key: 2,
1839
- class: "multiselect__placeholder",
1840
- onMousedown: t[10] || (t[10] = g((...i) => e.toggle && e.toggle(...i), ["prevent"]))
1841
- }, [
1842
- p(e.$slots, "placeholder", {}, () => [
1843
- k(b(e.placeholder), 1)
1844
- ])
1845
- ], 32)) : f("", !0)
1846
- ], 512),
1847
- I(K, { name: "multiselect" }, {
1848
- default: N(() => [
1849
- $(h("div", {
1850
- class: y(["multiselect__content-wrapper", e.$attrs.class]),
1851
- onFocus: t[11] || (t[11] = (...i) => e.activate && e.activate(...i)),
1852
- tabindex: "-1",
1853
- onMousedown: t[12] || (t[12] = g(() => {
1854
- }, ["prevent"])),
1855
- style: S({ maxHeight: e.optimizedHeight + "px" }),
1856
- ref: "list"
1857
- }, [
1858
- h("ul", {
1859
- class: "multiselect__content",
1860
- style: S(r.contentStyle),
1861
- role: "listbox",
1862
- id: "listbox-" + e.id
1863
- }, [
1864
- p(e.$slots, "beforeList"),
1865
- e.multiple && e.max === e.internalValue.length ? (u(), d("li", Ye, [
1866
- h("span", Qe, [
1867
- p(e.$slots, "maxElements", {}, () => [
1868
- k("Maximum of " + b(e.max) + " options selected. First remove a selected option to select another.", 1)
1869
- ])
1870
- ])
1871
- ])) : f("", !0),
1872
- !e.max || e.internalValue.length < e.max ? (u(!0), d(V, { key: 1 }, E(e.filteredOptions, (i, n) => (u(), d("li", {
1873
- class: "multiselect__element",
1874
- key: n,
1875
- id: e.id + "-" + n,
1876
- role: i && (i.$isLabel || i.$isDisabled) ? null : "option"
1877
- }, [
1878
- i && (i.$isLabel || i.$isDisabled) ? f("", !0) : (u(), d("span", {
1879
- key: 0,
1880
- class: y([e.optionHighlight(n, i), "multiselect__option"]),
1881
- onClick: g((o) => e.select(i), ["stop"]),
1882
- onMouseenter: g((o) => e.pointerSet(n), ["self"]),
1883
- "data-select": i && i.isTag ? e.tagPlaceholder : r.selectLabelText,
1884
- "data-selected": r.selectedLabelText,
1885
- "data-deselect": r.deselectLabelText
1886
- }, [
1887
- p(e.$slots, "option", {
1888
- option: i,
1889
- search: e.search,
1890
- index: n
1891
- }, () => [
1892
- h("span", null, b(e.getOptionLabel(i)), 1)
1893
- ])
1894
- ], 42, Ze)),
1895
- i && (i.$isLabel || i.$isDisabled) ? (u(), d("span", {
1896
- key: 1,
1897
- "data-select": e.groupSelect && r.selectGroupLabelText,
1898
- "data-deselect": e.groupSelect && r.deselectGroupLabelText,
1899
- class: y([e.groupHighlight(n, i), "multiselect__option"]),
1900
- onMouseenter: g((o) => e.groupSelect && e.pointerSet(n), ["self"]),
1901
- onMousedown: g((o) => e.selectGroup(i), ["prevent"])
1902
- }, [
1903
- p(e.$slots, "option", {
1904
- option: i,
1905
- search: e.search,
1906
- index: n
1907
- }, () => [
1908
- h("span", null, b(e.getOptionLabel(i)), 1)
1909
- ])
1910
- ], 42, xe)) : f("", !0)
1911
- ], 8, Xe))), 128)) : f("", !0),
1912
- $(h("li", null, [
1913
- h("span", _e, [
1914
- p(e.$slots, "noResult", { search: e.search }, () => [
1915
- k("No elements found. Consider changing the search query.")
1916
- ])
1917
- ])
1918
- ], 512), [
1919
- [w, s.showNoResults && e.filteredOptions.length === 0 && e.search && !s.loading]
1920
- ]),
1921
- $(h("li", null, [
1922
- h("span", et, [
1923
- p(e.$slots, "noOptions", {}, () => [
1924
- k("List is empty.")
1925
- ])
1926
- ])
1927
- ], 512), [
1928
- [w, s.showNoOptions && (e.options.length === 0 || r.hasOptionGroup === !0 && e.filteredOptions.length === 0) && !e.search && !s.loading]
1929
- ]),
1930
- p(e.$slots, "afterList")
1931
- ], 12, We)
1932
- ], 38), [
1933
- [w, e.isOpen]
1934
- ])
1935
- ]),
1936
- _: 3
1937
- })
1938
- ], 42, Re);
1939
- }
1940
- const ot = /* @__PURE__ */ D(Ne, [["render", tt]]);
1941
- export {
1942
- rt as C,
1943
- ot as S,
1944
- nt as _
1945
- };