@ozdao/prometheus-framework 0.2.112 → 0.2.113

Sign up to get free protection for your applications and to get access to all the features.
Files changed (515) hide show
  1. package/dist/common.schema-BFhpUXUt.js +12 -0
  2. package/dist/common.schema-ChBVARrs.mjs +13 -0
  3. package/dist/community.server.js +6 -4
  4. package/dist/community.server.mjs +4 -2
  5. package/dist/engagement.schema-CI2ifjXN.mjs +28 -0
  6. package/dist/engagement.schema-fdLNO2_6.js +27 -0
  7. package/dist/events.server.js +6 -4
  8. package/dist/events.server.mjs +4 -2
  9. package/dist/files.server.js +81 -29
  10. package/dist/files.server.mjs +81 -29
  11. package/dist/gallery.server.js +66 -39
  12. package/dist/gallery.server.mjs +66 -39
  13. package/dist/main-8APITHuW.mjs +14201 -0
  14. package/dist/main-8N2Jmsuk.js +2 -2
  15. package/dist/main-BJvlNekm.mjs +5 -5
  16. package/dist/main-BQisDfLk.js +2 -2
  17. package/dist/main-BV1Yv9Hy.js +2 -2
  18. package/dist/main-Bw0PvTs-.mjs +5 -5
  19. package/dist/main-ByCtZbHD.mjs +5 -5
  20. package/dist/main-CX2ISR43.mjs +5 -5
  21. package/dist/main-CXObXjv-.js +2 -2
  22. package/dist/main-CkeuHuCY.mjs +5 -5
  23. package/dist/main-CnfcBov2.mjs +5 -5
  24. package/dist/main-D50VqYhy.js +2 -2
  25. package/dist/main-D8gNZLSa.js +2 -2
  26. package/dist/main-DPsHxX0l.mjs +5 -5
  27. package/dist/main-DTlUA63C.mjs +5 -5
  28. package/dist/main-DfD5hLQo.mjs +5 -5
  29. package/dist/main-Dh6Zfei9.js +2 -2
  30. package/dist/main-DmNP-t33.mjs +5 -5
  31. package/dist/main-DwyUYWFX.js +2 -2
  32. package/dist/main-VcxO-jAt.js +92 -0
  33. package/dist/main-cffh4bbv.js +2 -2
  34. package/dist/main-pGo7JpSP.js +2 -2
  35. package/dist/main.css +1 -1
  36. package/dist/metadata.schema-6slGhpQS.js +40 -0
  37. package/dist/metadata.schema-CK5e2O3f.mjs +41 -0
  38. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  39. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +410 -407
  40. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
  41. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +469 -456
  42. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  43. package/dist/node_modules/web3/lib/esm/accounts.js +5 -2
  44. package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
  45. package/dist/node_modules/web3/lib/esm/index.js +45 -42
  46. package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
  47. package/dist/node_modules/web3/lib/esm/version.js +1 -1
  48. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
  49. package/dist/node_modules/web3/lib/esm/web3.js +40 -37
  50. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
  51. package/dist/node_modules/web3-core/lib/esm/web3_config.js +28 -18
  52. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  53. package/dist/node_modules/web3-core/lib/esm/web3_context.js +56 -53
  54. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  55. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +100 -87
  56. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -1
  57. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +97 -95
  58. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -1
  59. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +8 -8
  60. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -1
  61. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +20 -20
  62. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +4 -4
  63. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +2 -2
  64. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -1
  65. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +33 -27
  66. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -1
  67. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +33 -12
  68. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  69. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +183 -179
  70. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  71. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +10 -10
  72. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  73. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +45 -44
  74. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  75. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +59 -57
  76. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  77. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +43 -43
  78. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  79. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +31 -31
  80. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  81. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +26 -26
  82. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  83. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +53 -51
  84. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
  85. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +25 -23
  86. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  87. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +103 -101
  88. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +2 -2
  89. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +159 -156
  90. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
  91. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +11 -8
  92. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -1
  93. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +3 -0
  94. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -1
  95. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +5 -2
  96. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  97. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +19 -16
  98. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  99. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +5 -2
  100. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  101. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +50 -47
  102. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  103. package/dist/node_modules/web3-net/lib/esm/net.js +27 -27
  104. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
  105. package/dist/node_modules/web3-utils/lib/esm/converters.js +100 -83
  106. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
  107. package/dist/node_modules/web3-utils/lib/esm/formatter.js +123 -104
  108. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
  109. package/dist/node_modules/web3-validator/lib/esm/utils.js +21 -21
  110. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
  111. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +10 -10
  112. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -1
  113. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +30 -28
  114. package/dist/orders.server.js +1 -1
  115. package/dist/orders.server.mjs +1 -1
  116. package/dist/organizations.server.js +56 -59
  117. package/dist/organizations.server.mjs +56 -59
  118. package/dist/products.server.js +1 -1
  119. package/dist/products.server.mjs +1 -1
  120. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  121. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +17 -17
  122. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/components/Block/Block.vue.js +4 -4
  124. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +33 -30
  126. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -9
  128. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +1 -0
  129. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +1 -0
  130. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -0
  131. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +165 -0
  132. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +22 -19
  134. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +132 -64
  136. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +1 -0
  137. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +1 -0
  138. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +9 -9
  140. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +12 -12
  142. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  143. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +16 -16
  144. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/components/Map/Map.vue.js +14 -13
  146. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +8 -8
  148. package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +29 -36
  150. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
  152. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
  154. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +17 -17
  156. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
  158. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  160. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +24 -24
  162. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +24 -24
  164. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +10 -10
  166. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +26 -26
  168. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +14 -14
  170. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +6 -6
  172. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +45 -45
  174. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +13 -13
  176. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
  178. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +19 -16
  180. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
  182. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
  184. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  186. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +213 -213
  188. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
  190. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
  191. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
  192. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +9 -9
  194. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
  196. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
  198. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
  199. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
  201. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +73 -165
  203. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
  205. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  207. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
  208. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
  209. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +96 -77
  211. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
  212. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
  213. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
  214. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
  215. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
  216. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
  217. package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
  219. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
  221. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
  222. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
  223. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
  224. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
  225. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
  226. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
  227. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
  228. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
  229. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
  230. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
  231. package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
  233. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +4 -4
  235. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
  237. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
  239. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
  241. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
  243. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
  245. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +36 -36
  247. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
  249. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
  251. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
  253. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
  257. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +5 -5
  259. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  261. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
  263. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
  265. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
  266. package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
  267. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +5 -5
  269. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
  271. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  273. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
  275. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +41 -41
  277. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +9 -9
  279. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +16 -16
  281. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -36
  283. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +8 -8
  285. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  287. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +20 -20
  289. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
  291. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
  293. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
  295. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +16 -16
  297. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
  299. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
  301. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
  303. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +9 -9
  305. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  307. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
  309. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -6
  311. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -8
  313. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
  314. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  315. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
  316. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  317. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +4 -4
  318. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  319. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +32 -32
  320. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
  321. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
  322. package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
  323. package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
  324. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  325. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
  326. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  327. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +30 -26
  328. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +34 -34
  330. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +11 -11
  332. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +41 -41
  334. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +13 -13
  336. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  337. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +19 -19
  338. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
  340. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +13 -10
  342. package/dist/prometheus-framework.cjs.js +1 -1
  343. package/dist/prometheus-framework.es.js +1 -1
  344. package/dist/queryProcessor-BJoJAetd.mjs +162 -0
  345. package/dist/queryProcessor-DWf9tsis.js +161 -0
  346. package/dist/style.css +1 -1
  347. package/dist/wallet.server.js +1 -1
  348. package/dist/wallet.server.mjs +1 -1
  349. package/dist/web-TGdVOTnw.js +1 -0
  350. package/dist/web-_W9a_nWD.mjs +54 -0
  351. package/package.json +1 -1
  352. package/src/components/Address/Address.vue +1 -1
  353. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  354. package/src/components/Block/Block.vue +1 -1
  355. package/src/components/Checkbox/Checkbox.vue +40 -43
  356. package/src/components/Chips/Chips.vue +2 -2
  357. package/src/components/DatePicker/Calendar.vue +29 -31
  358. package/src/components/Dropdown/Dropdown.vue +5 -11
  359. package/src/components/Feed/Feed.vue +98 -15
  360. package/src/components/FieldTags/BlockTags.vue +3 -3
  361. package/src/components/FieldTags/FieldTags.vue +1 -1
  362. package/src/components/FieldTags/vue-tags-input.scss +1 -1
  363. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  364. package/src/components/LocationSelection/LocationSelection.vue +5 -30
  365. package/src/components/Map/LoaderGMaps.js +66 -0
  366. package/src/components/Map/Map.vue +2 -1
  367. package/src/components/Marquee/Marquee.vue +1 -1
  368. package/src/components/Radio/Radio.vue +36 -13
  369. package/src/configurator/components/pages/Styles.vue +1 -1
  370. package/src/modules/auth/components/layouts/Auth.vue +1 -1
  371. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  372. package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
  373. package/src/modules/auth/components/pages/Invite.vue +2 -2
  374. package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
  375. package/src/modules/auth/components/pages/SignIn.vue +4 -4
  376. package/src/modules/auth/components/pages/SignUp.vue +3 -3
  377. package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
  378. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  379. package/src/modules/backoffice/components/admin/Pages.vue +1 -1
  380. package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
  381. package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
  382. package/src/modules/backoffice/components/admin/Users.vue +1 -1
  383. package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
  384. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  385. package/src/modules/community/components/layouts/Community.vue +2 -2
  386. package/src/modules/community/components/pages/BlogPost.vue +2 -2
  387. package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
  388. package/src/modules/community/components/sections/Comments.vue +2 -2
  389. package/src/modules/community/components/sections/Feed.vue +1 -1
  390. package/src/modules/community/components/sections/HotPosts.vue +1 -1
  391. package/src/modules/constructor/components/elements/Image.vue +1 -1
  392. package/src/modules/constructor/components/elements/Video.vue +2 -2
  393. package/src/modules/events/components/blocks/CardEvent.vue +1 -1
  394. package/src/modules/events/components/pages/EditEvent.vue +32 -32
  395. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  396. package/src/modules/events/components/pages/Event.vue +3 -3
  397. package/src/modules/events/components/pages/Events.vue +4 -3
  398. package/src/modules/events/components/sections/Feed.vue +3 -3
  399. package/src/modules/events/components/sections/List.vue +2 -2
  400. package/src/modules/files/controllers/files.controller.js +8 -6
  401. package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
  402. package/src/modules/files/routes/files.routes.js +11 -9
  403. package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
  404. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
  405. package/src/modules/gallery/controllers/gallery.controller.js +57 -38
  406. package/src/modules/gallery/models/photo.model.js +20 -11
  407. package/src/modules/gallery/routes/gallery.routes.js +3 -3
  408. package/src/modules/gallery/store/gallery.js +3 -78
  409. package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
  410. package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
  411. package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
  412. package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
  413. package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
  414. package/src/modules/globals/components/layouts/Client.vue +273 -0
  415. package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
  416. package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
  417. package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
  418. package/src/modules/globals/models/common.schema.js +1 -1
  419. package/src/modules/globals/services/globals.store.js +11 -6
  420. package/src/modules/globals/store/globals.js +12 -10
  421. package/src/modules/icons/logos/Logotype.vue +23 -19
  422. package/src/modules/icons/navigation/IconCalendar.vue +18 -0
  423. package/src/modules/icons/navigation/IconFilter.vue +18 -0
  424. package/src/modules/icons/navigation/IconSearch.vue +1 -3
  425. package/src/modules/icons/navigation/IconSort.vue +21 -0
  426. package/src/modules/landing/components/pages/Home.vue +4 -4
  427. package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
  428. package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
  429. package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
  430. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
  431. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  432. package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
  433. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
  434. package/src/modules/landing/landing.client.js +2 -0
  435. package/src/modules/landing/router/landing.js +1 -1
  436. package/src/modules/legal/components/pages/Legal.vue +2 -2
  437. package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
  438. package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
  439. package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
  440. package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
  441. package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
  442. package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
  443. package/src/modules/marketplace/components/sections/Filters.vue +63 -115
  444. package/src/modules/marketplace/store/marketplace.js +22 -167
  445. package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
  446. package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
  447. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  448. package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
  449. package/src/modules/orders/components/pages/Order.vue +8 -8
  450. package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
  451. package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
  452. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
  453. package/src/modules/orders/components/pages/Orders.vue +3 -5
  454. package/src/modules/orders/components/partials/ShopCart.vue +5 -1
  455. package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
  456. package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
  457. package/src/modules/orders/store/applications.js +1 -1
  458. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  459. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  460. package/src/modules/organizations/components/pages/Department.vue +3 -3
  461. package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
  462. package/src/modules/organizations/components/pages/Members.vue +4 -4
  463. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  464. package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
  465. package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
  466. package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
  467. package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
  468. package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
  469. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  470. package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
  471. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  472. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  473. package/src/modules/organizations/components/sections/Publics.vue +1 -1
  474. package/src/modules/organizations/controllers/organizations.controller.js +103 -93
  475. package/src/modules/organizations/models/organization.model.js +10 -7
  476. package/src/modules/organizations/store/organizations.js +3 -34
  477. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  478. package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
  479. package/src/modules/products/components/pages/Categories.vue +1 -1
  480. package/src/modules/products/components/pages/EditLeftover.vue +1 -1
  481. package/src/modules/products/components/pages/Leftovers.vue +4 -4
  482. package/src/modules/products/components/pages/Product.vue +1 -5
  483. package/src/modules/products/components/pages/ProductEdit.vue +1 -1
  484. package/src/modules/products/components/pages/Products.vue +2 -2
  485. package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
  486. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  487. package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
  488. package/src/modules/products/components/sections/MenuSection.vue +2 -2
  489. package/src/modules/products/components/sections/PopularProducts.vue +2 -2
  490. package/src/modules/products/components/sections/SectionProduct.vue +3 -3
  491. package/src/modules/products/products.client.js +0 -2
  492. package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
  493. package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
  494. package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
  495. package/src/modules/spots/components/layouts/Spots.vue +0 -2
  496. package/src/modules/spots/components/pages/Spot.vue +4 -4
  497. package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
  498. package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
  499. package/src/modules/spots/components/sections/Places.vue +1 -1
  500. package/src/modules/users/components/pages/Profile.vue +5 -5
  501. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  502. package/src/modules/users/components/pages/ProfileComments.vue +1 -1
  503. package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
  504. package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
  505. package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
  506. package/src/modules/users/components/sections/FeaturedUsers.vue +3 -3
  507. package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
  508. package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
  509. package/src/styles/base/borders.scss +4 -0
  510. package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
  511. package/src/styles/config.scss +15 -9
  512. package/src/styles/layout.scss +37 -8
  513. package/src/styles/typography.scss +24 -24
  514. package/src/modules/products/components/sections/SortProducts.vue +0 -74
  515. /package/src/{components/Navigation → modules/globals/components/partials}/Navigation.vue +0 -0
@@ -0,0 +1,165 @@
1
+ import { ref as C, computed as _, openBlock as v, createElementBlock as T, createElementVNode as u, createCommentVNode as $, toDisplayString as m, Fragment as w, renderList as y, normalizeClass as j } from "vue";
2
+ import "./Calendar.vue.js";
3
+ import H from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const N = { class: "calendar" }, z = {
5
+ key: 0,
6
+ class: "br-b br-solid br-grey gap-thin flex flex-nowrap pd-thin"
7
+ }, A = { class: "pd-thin flex flex-nowrap flex-v-center flex-justify-between" }, Z = { class: "calendar__body" }, q = { class: "calendar__week" }, G = { class: "gap-micro calendar__dates" }, J = ["onClick"], K = {
8
+ __name: "Calendar",
9
+ props: {
10
+ modelValue: [Date, Object],
11
+ allowRange: Boolean
12
+ },
13
+ emits: ["update:modelValue"],
14
+ setup(p, { emit: b }) {
15
+ const h = p, r = b, g = /* @__PURE__ */ new Date(), s = C(g), D = C(null), a = C(null), l = C(null), k = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], c = (e) => new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate())), M = _(() => {
16
+ const e = s.value.toLocaleString("default", { month: "long", timeZone: "UTC" }), t = s.value.getUTCFullYear();
17
+ return `${e} ${t}`;
18
+ }), Y = _(() => {
19
+ const e = [], t = new Date(Date.UTC(
20
+ s.value.getUTCFullYear(),
21
+ s.value.getUTCMonth(),
22
+ 1
23
+ )), o = new Date(Date.UTC(
24
+ s.value.getUTCFullYear(),
25
+ s.value.getUTCMonth() + 1,
26
+ 0
27
+ )), d = t.getUTCDay();
28
+ let n = new Date(t);
29
+ n.setUTCDate(n.getUTCDate() - d);
30
+ for (let i = 0; i < d; i++)
31
+ e.push({
32
+ date: new Date(n),
33
+ day: n.getUTCDate(),
34
+ isToday: U(n)
35
+ }), n.setUTCDate(n.getUTCDate() + 1);
36
+ let f = 1;
37
+ for (n = t; n <= o; n.setUTCDate(n.getUTCDate() + 1))
38
+ e.push({
39
+ date: new Date(n),
40
+ day: f,
41
+ isToday: U(n)
42
+ }), f++;
43
+ const I = e[e.length - 1].date.getUTCDay();
44
+ for (let i = I + 1; i <= 6; i++)
45
+ e.push({
46
+ date: new Date(n),
47
+ day: n.getUTCDate(),
48
+ isToday: U(n)
49
+ }), n.setUTCDate(n.getUTCDate() + 1);
50
+ return e;
51
+ }), U = (e) => {
52
+ const t = /* @__PURE__ */ new Date();
53
+ return e.getUTCDate() === t.getUTCDate() && e.getUTCMonth() === t.getUTCMonth() && e.getUTCFullYear() === t.getUTCFullYear();
54
+ }, F = (e) => e.getUTCMonth() === s.value.getUTCMonth() && e.getUTCFullYear() === s.value.getUTCFullYear(), x = (e) => {
55
+ if (h.allowRange) {
56
+ if (a.value && l.value)
57
+ return e >= a.value && e <= l.value;
58
+ if (a.value)
59
+ return e.getTime() === a.value.getTime();
60
+ } else
61
+ return D.value && e.getTime() === D.value.getTime();
62
+ }, V = (e) => a.value && l.value ? e > a.value && e < l.value : !1, L = (e) => {
63
+ const t = c(e);
64
+ if (!h.allowRange)
65
+ r("update:modelValue", t), D.value = t;
66
+ else if (!a.value && !l.value)
67
+ r("update:modelValue", t), a.value = t;
68
+ else if (l.value)
69
+ a.value = t, l.value = null, r("update:modelValue", t);
70
+ else {
71
+ if (l.value = t, t < a.value) {
72
+ const o = a.value;
73
+ a.value = t, l.value = o;
74
+ }
75
+ r("update:modelValue", { start: a.value, end: l.value });
76
+ }
77
+ s.value = t;
78
+ }, S = () => {
79
+ s.value = new Date(Date.UTC(
80
+ s.value.getUTCFullYear(),
81
+ s.value.getUTCMonth() - 1,
82
+ 1
83
+ ));
84
+ }, W = () => {
85
+ s.value = new Date(Date.UTC(
86
+ s.value.getUTCFullYear(),
87
+ s.value.getUTCMonth() + 1,
88
+ 1
89
+ ));
90
+ }, R = () => {
91
+ const e = new Date(g);
92
+ e.setUTCHours(0, 0, 0, 0);
93
+ const t = new Date(e);
94
+ t.setUTCHours(24, 0, 0, -1), a.value = c(e), l.value = c(t), r("update:modelValue", { start: a.value, end: l.value });
95
+ }, O = () => {
96
+ const e = /* @__PURE__ */ new Date();
97
+ e.setUTCDate(e.getUTCDate() - 7), a.value = c(e), l.value = c(g), r("update:modelValue", { start: a.value, end: l.value });
98
+ }, B = () => {
99
+ const e = /* @__PURE__ */ new Date();
100
+ e.setUTCMonth(e.getUTCMonth() - 1), a.value = new Date(Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), 1)), l.value = new Date(Date.UTC(
101
+ e.getUTCFullYear(),
102
+ e.getUTCMonth() + 1,
103
+ 0
104
+ )), r("update:modelValue", { start: a.value, end: l.value });
105
+ }, E = () => {
106
+ const e = /* @__PURE__ */ new Date();
107
+ e.setUTCFullYear(e.getUTCFullYear() - 1), a.value = new Date(Date.UTC(e.getUTCFullYear(), 0, 1)), l.value = new Date(Date.UTC(e.getUTCFullYear(), 11, 31)), r("update:modelValue", { start: a.value, end: l.value });
108
+ };
109
+ return (e, t) => (v(), T("div", N, [
110
+ p.allowRange ? (v(), T("div", z, [
111
+ u("button", {
112
+ class: "font-second pd-thin bg-main-transp-10 radius-small",
113
+ onClick: R
114
+ }, "Today"),
115
+ u("button", {
116
+ class: "font-second pd-thin bg-main-transp-10 radius-small",
117
+ onClick: O
118
+ }, "Last Week"),
119
+ u("button", {
120
+ class: "font-second pd-thin bg-main-transp-10 radius-small",
121
+ onClick: B
122
+ }, "Last Month"),
123
+ u("button", {
124
+ class: "font-second pd-thin bg-main-transp-10 radius-small",
125
+ onClick: E
126
+ }, "All time")
127
+ ])) : $("", !0),
128
+ u("div", A, [
129
+ u("button", {
130
+ class: "aspect-ratio-1x1 w-10 pd-thin bg-main-transp-10 radius-small",
131
+ onClick: S
132
+ }, "<"),
133
+ u("span", null, m(M.value), 1),
134
+ u("button", {
135
+ class: "aspect-ratio-1x1 w-10 pd-thin bg-main-transp-10 radius-small",
136
+ onClick: W
137
+ }, ">")
138
+ ]),
139
+ u("div", Z, [
140
+ u("div", q, [
141
+ (v(), T(w, null, y(k, (o, d) => u("div", {
142
+ key: d,
143
+ class: "calendar__weekday"
144
+ }, m(o), 1)), 64))
145
+ ]),
146
+ u("div", G, [
147
+ (v(!0), T(w, null, y(Y.value, (o) => (v(), T("div", {
148
+ key: o.date,
149
+ class: j([
150
+ "flex flex-center cursor-pointer aspect-ratio-1x1 radius-small",
151
+ { "bg-main t-white": o.isToday },
152
+ { "calendar__date--selected": x(o.date) },
153
+ { "calendar__date--range": V(o.date) },
154
+ { "calendar__date--disabled": !F(o.date) }
155
+ ]),
156
+ onClick: (d) => L(o.date)
157
+ }, m(o.day), 11, J))), 128))
158
+ ])
159
+ ])
160
+ ]));
161
+ }
162
+ }, ee = /* @__PURE__ */ H(K, [["__scopeId", "data-v-f695bc9a"]]);
163
+ export {
164
+ ee as default
165
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../FieldPhone/click-outside.cjs");require("./Dropdown.vue2.cjs");const u=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),d={key:0},f={key:1},p={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(t){let n=c.default;const i=t,l=e.ref(!1),a=e.computed(()=>typeof i.label=="object");function s(){l.value=!1}return(r,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"dropdown pos-relative",onClick:o[0]||(o[0]=e.withModifiers(m=>l.value=!l.value,["stop"]))},[a.value?(e.openBlock(),e.createElementBlock("div",d,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.label.component),{class:e.normalizeClass(t.label.class)},null,8,["class"]))])):(e.openBlock(),e.createElementBlock("div",f,e.toDisplayString(t.label),1)),e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{style:e.normalizeStyle({left:t.align==="left"?"0":"auto",right:t.align==="right"?"0":"auto"}),class:"dropdown-content w-15r radius-big"},[e.renderSlot(r.$slots,"default",{},void 0,!0)],4),[[e.vShow,l.value]])]),_:3})])),[[e.unref(n),s]])}},v=u.default(p,[["__scopeId","data-v-542fc6b9"]]);exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../FieldPhone/click-outside.cjs");require("./Dropdown.vue2.cjs");const u=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),d={key:0,class:"w-100 h-100 flex-center flex"},f={key:1},p={__name:"Dropdown",props:{label:{type:[String,Object],default:"Open"},align:{type:String,default:"left"}},setup(t){let n=c.default;const i=t,l=e.ref(!1),a=e.computed(()=>typeof i.label=="object");function s(){l.value=!1}return(r,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"dropdown pos-relative",onClick:o[0]||(o[0]=e.withModifiers(m=>l.value=!l.value,["stop"]))},[a.value?(e.openBlock(),e.createElementBlock("div",d,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.label.component),e.mergeProps(t.label.props,{class:t.label.class}),null,16,["class"]))])):(e.openBlock(),e.createElementBlock("div",f,e.toDisplayString(t.label),1)),e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{style:e.normalizeStyle({left:t.align==="left"?"0":"auto",right:t.align==="right"?"0":"auto"}),class:"dropdown-content radius-big"},[e.renderSlot(r.$slots,"default",{},void 0,!0)],4),[[e.vShow,l.value]])]),_:3})])),[[e.unref(n),s]])}},v=u.default(p,[["__scopeId","data-v-96fe1329"]]);exports.default=v;
@@ -1,8 +1,11 @@
1
- import { ref as u, computed as f, withDirectives as i, openBlock as o, createElementBlock as l, withModifiers as m, createBlock as p, resolveDynamicComponent as v, normalizeClass as b, toDisplayString as g, createVNode as k, Transition as w, withCtx as y, createElementVNode as h, normalizeStyle as C, renderSlot as O, vShow as S, unref as D } from "vue";
2
- import x from "../FieldPhone/click-outside.js";
1
+ import { ref as u, computed as f, withDirectives as a, openBlock as l, createElementBlock as o, withModifiers as m, createBlock as p, resolveDynamicComponent as v, mergeProps as b, toDisplayString as g, createVNode as k, Transition as w, withCtx as y, createElementVNode as h, normalizeStyle as O, renderSlot as S, vShow as x, unref as C } from "vue";
2
+ import D from "../FieldPhone/click-outside.js";
3
3
  import "./Dropdown.vue2.js";
4
4
  import B from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- const T = { key: 0 }, j = { key: 1 }, z = {
5
+ const T = {
6
+ key: 0,
7
+ class: "w-100 h-100 flex-center flex"
8
+ }, j = { key: 1 }, E = {
6
9
  __name: "Dropdown",
7
10
  props: {
8
11
  label: {
@@ -15,41 +18,41 @@ const T = { key: 0 }, j = { key: 1 }, z = {
15
18
  }
16
19
  },
17
20
  setup(e) {
18
- let a = x;
21
+ let i = D;
19
22
  const s = e, t = u(!1), r = f(() => typeof s.label == "object");
20
23
  function c() {
21
24
  t.value = !1;
22
25
  }
23
- return (d, n) => i((o(), l("div", {
26
+ return (d, n) => a((l(), o("div", {
24
27
  class: "dropdown pos-relative",
25
- onClick: n[0] || (n[0] = m((E) => t.value = !t.value, ["stop"]))
28
+ onClick: n[0] || (n[0] = m((N) => t.value = !t.value, ["stop"]))
26
29
  }, [
27
- r.value ? (o(), l("div", T, [
28
- (o(), p(v(e.label.component), {
29
- class: b(e.label.class)
30
- }, null, 8, ["class"]))
31
- ])) : (o(), l("div", j, g(e.label), 1)),
30
+ r.value ? (l(), o("div", T, [
31
+ (l(), p(v(e.label.component), b(e.label.props, {
32
+ class: e.label.class
33
+ }), null, 16, ["class"]))
34
+ ])) : (l(), o("div", j, g(e.label), 1)),
32
35
  k(w, {
33
36
  name: "TransitionTranslateY",
34
37
  mode: "out-in"
35
38
  }, {
36
39
  default: y(() => [
37
- i(h("div", {
38
- style: C({ left: e.align === "left" ? "0" : "auto", right: e.align === "right" ? "0" : "auto" }),
39
- class: "dropdown-content w-15r radius-big"
40
+ a(h("div", {
41
+ style: O({ left: e.align === "left" ? "0" : "auto", right: e.align === "right" ? "0" : "auto" }),
42
+ class: "dropdown-content radius-big"
40
43
  }, [
41
- O(d.$slots, "default", {}, void 0, !0)
44
+ S(d.$slots, "default", {}, void 0, !0)
42
45
  ], 4), [
43
- [S, t.value]
46
+ [x, t.value]
44
47
  ])
45
48
  ]),
46
49
  _: 3
47
50
  })
48
51
  ])), [
49
- [D(a), c]
52
+ [C(i), c]
50
53
  ]);
51
54
  }
52
- }, I = /* @__PURE__ */ B(z, [["__scopeId", "data-v-542fc6b9"]]);
55
+ }, L = /* @__PURE__ */ B(E, [["__scopeId", "data-v-96fe1329"]]);
53
56
  export {
54
- I as default
57
+ L as default
55
58
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");require("../Loader/Loader.vue.cjs");const y=require("../EmptyState/EmptyState.vue.cjs");require("vue-i18n");const g=require("../../modules/globals/components/blocks/BlockSearch.vue.cjs"),d=null,b={__name:"Feed",props:{showLoadMore:{type:Boolean,default:!0},search:{type:[Boolean,Object],default:!1},states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},external:{type:Boolean,default:!1},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null,contain:null})}},setup(n){const l=n,s=e.ref([]),r=e.ref(!1);let i=e.ref(!0),m=e.ref(null),c=e.ref(l.options.skip?l.options.skip:0),o=e.ref(l.options.limit?l.options.limit:10),f=e.ref("");function h(t){f.value=t,c.value=0,o.value=10,u()}const p=async()=>{if(r.value){c.value+=o.value;const t=await l.store.read({skip:c.value,limit:o.value,search:f.value,...l.options});t.length===0||t.length<o.value?r.value=!1:r.value=!0,s.value=[...s.value,...t]}},u=async()=>{const t=await l.store.read({skip:c.value,limit:o.value,search:f.value,...l.options});t.length===0||t.length<o.value?r.value=!1:r.value=!0,s.value=t,i.value=!1};return e.watch(()=>l.external,t=>{}),e.watch(()=>l.external,(t,a)=>{t!==a&&u()},{deep:!0}),e.watch(()=>l.options,(t,a)=>{(t.organization!==a.organization||t.categories!==a.categories||t.prices!==a.prices||t.delivery!==a.delivery||t.search!==a.search||t.status!==a.status||t.hidden!==a.hidden||t.type!==a.type)&&u()},{deep:!0}),e.onMounted(async()=>{await u(),typeof window<"u"&&!l.showLoadMore&&(d=new IntersectionObserver(t=>{t.some(a=>a.isIntersecting)&&p()}),d.observe(m.value))}),e.onUnmounted(()=>{d&&d.disconnect()}),(t,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.search?(e.openBlock(),e.createBlock(g.default,{key:0,placeholder:n.search.placeholder||"Search...",class:e.normalizeClass(n.search.class||"bg-grey mn-b-thin"),onSearch:h},null,8,["placeholder","class"])):e.createCommentVNode("",!0),e.unref(i)?(e.openBlock(),e.createBlock(e.TransitionGroup,{key:1,tag:"ul",name:"scaleTransition",class:e.normalizeClass(["o-hidden bg-grey radius-big",t.$attrs.class])},{default:e.withCtx(()=>[e.unref(i)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(o),v=>(e.openBlock(),e.createBlock(k.default,{key:"skeleton-"+v}))),128)):e.createCommentVNode("",!0)]),_:1},8,["class"])):e.createCommentVNode("",!0),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(i)&&s.value.length<1?(e.openBlock(),e.createBlock(y.default,{key:0,title:n.states.empty.title,description:n.states.empty.description,action:n.states.empty.action,callback:n.states.empty.callback,class:"pd-medium mn-b-thin bg-grey radius-big"},null,8,["title","description","action","callback"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:e.normalizeClass(t.$attrs.class)},{default:e.withCtx(()=>[!e.unref(i)&&s.value.length>0?e.renderSlot(t.$slots,"default",{key:0,items:s.value}):e.createCommentVNode("",!0),n.showLoadMore&&r.value&&s.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:p,class:"col-w-100 w-100 bg-main button"}," Load More ")):e.createCommentVNode("",!0),e.createElementVNode("div",{key:"sentinel",ref_key:"sentinel",ref:m,class:"sentinel"},null,512)]),_:3},8,["class"])],64))}};exports.default=b;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");require("../Loader/Loader.vue.cjs");const S=require("../EmptyState/EmptyState.vue.cjs"),M=require("../Dropdown/Dropdown.vue.cjs"),q=require("../DatePicker/Calendar.vue2.cjs"),O=require("../../modules/globals/components/blocks/BlockSearch.vue.cjs"),E=require("../../modules/globals/components/blocks/BlockSorting.vue.cjs"),L=require("../../modules/globals/components/elements/ButtonSort.vue.cjs"),z=require("../../modules/globals/components/elements/ButtonDate.vue2.cjs"),j=require("../../modules/icons/navigation/IconFilter.vue.cjs");require("./Feed.vue2.cjs");const I={key:0,class:"flex-nowrap flex gap-thin mn-b-thin"},T={class:"flex-center flex pd-thin bg-light radius-extra aspect-1x1 h-100"},v=null,F={__name:"Feed",props:e.mergeModels({showLoadMore:{type:Boolean,default:!0},search:{type:[Boolean,Object],default:!1},states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},external:{type:Boolean,default:!1},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null,contain:null})}},{search:{},searchModifiers:{},sort:{},sortModifiers:{},date:{},dateModifiers:{},items:{},itemsModifiers:{}}),emits:["update:search","update:sort","update:date","update:items"],setup(r){var w,C;const c=e.useModel(r,"search"),s=e.useModel(r,"sort"),g=e.useModel(r,"date"),d=e.useModel(r,"items"),l=r,o=e.ref(d.value||[]),n=e.ref(!1);let m=e.ref(!0),k=e.ref(null),f=e.ref(l.options.skip?l.options.skip:0),i=e.ref(l.options.limit?l.options.limit:10),b=e.ref(((w=s.value)==null?void 0:w.param)||"createdAt"),y=e.ref(((C=s.value)==null?void 0:C.order)||"asc"),h=e.ref("");function N(t){h.value=t,f.value=0,i.value=10,p()}const B=async()=>{if(n.value){f.value+=i.value;const t=await l.store.read({skip:f.value,limit:i.value,search:h.value,sortParam:b.value,sortOrder:y.value,...l.options});t.length===0||t.length<i.value?n.value=!1:n.value=!0,o.value=[...o.value,...t],d.value&&(d.value=o.value)}},p=async()=>{const t=await l.store.read({skip:f.value,limit:i.value,sortParam:b.value,sortOrder:y.value,search:h.value,...l.options});t.length===0||t.length<i.value?n.value=!1:n.value=!0,o.value=t,d.value&&(d.value=o.value),m.value=!1};return e.watch(()=>l.external,(t,a)=>{t!==a&&p()},{deep:!0}),e.watch(()=>l.options,(t,a)=>{(t.organization!==a.organization||t.categories!==a.categories||t.prices!==a.prices||t.delivery!==a.delivery||t.search!==a.search||t.status!==a.status||t.hidden!==a.hidden||t.type!==a.type)&&p()},{deep:!0}),e.onMounted(async()=>{await p(),typeof window<"u"&&!l.showLoadMore&&(v=new IntersectionObserver(t=>{t.some(a=>a.isIntersecting)&&B()}),v.observe(k.value))}),e.onUnmounted(()=>{v&&v.disconnect()}),(t,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[c.value?(e.openBlock(),e.createElementBlock("div",I,[c.value?(e.openBlock(),e.createBlock(O.default,{key:0,placeholder:c.value.placeholder||"Search...",class:e.normalizeClass(c.value.class||"bg-light"),onSearch:N},null,8,["placeholder","class"])):e.createCommentVNode("",!0),e.createElementVNode("div",T,[e.createVNode(j.default,{class:"w-1r h-auto"})]),e.createVNode(M.default,{label:{component:z.default},class:e.normalizeClass([c.value.class||"bg-light","flex-child flex-child-grow-1 flex-child-shrink-0 pd-r-small pd-l-small pd-thin bg-light radius-big"]),align:"right"},{default:e.withCtx(()=>[e.createVNode(q.default,{date:g.value,"onUpdate:date":a[0]||(a[0]=u=>g.value=u),locale:t.$i18n.locale,allowRange:!0,class:"radius-semi w-100 o-hidden bg-light"},null,8,["date","locale"])]),_:1},8,["label","class"]),s.value?(e.openBlock(),e.createBlock(M.default,{key:1,label:{component:L.default,props:{order:s.value.order},class:"w-1r"},class:e.normalizeClass([c.value.class||"bg-light","radius-extra aspect-1x1 h-100"]),align:"right"},{default:e.withCtx(()=>[e.createVNode(E.default,{param:s.value.param,"onUpdate:param":a[1]||(a[1]=u=>s.value.param=u),order:s.value.order,"onUpdate:order":a[2]||(a[2]=u=>s.value.order=u),options:s.value.options,class:"h-100 pd-small radius-semi t-white bg-black"},null,8,["param","order","options"])]),_:1},8,["label","class"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createBlock(e.TransitionGroup,{key:1,tag:"ul",name:"scaleTransition",class:e.normalizeClass(["o-hidden bg-light radius-big",t.$attrs.class])},{default:e.withCtx(()=>[e.unref(m)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(i),u=>(e.openBlock(),e.createBlock(x.default,{key:"skeleton-"+u}))),128)):e.createCommentVNode("",!0)]),_:1},8,["class"])):e.createCommentVNode("",!0),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(m)&&o.value.length<1?(e.openBlock(),e.createBlock(S.default,{key:0,title:r.states.empty.title,description:r.states.empty.description,action:r.states.empty.action,callback:r.states.empty.callback,class:"pd-medium mn-b-thin bg-light radius-big"},null,8,["title","description","action","callback"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"feed",class:e.normalizeClass(t.$attrs.class)},{default:e.withCtx(()=>[!e.unref(m)&&o.value.length>0?e.renderSlot(t.$slots,"default",{key:0,items:o.value}):e.createCommentVNode("",!0),r.showLoadMore&&n.value&&o.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:B,class:"col-w-100 w-100 bg-main button"}," Load More ")):e.createCommentVNode("",!0),e.createElementVNode("div",{key:"sentinel",ref_key:"sentinel",ref:k,class:"sentinel"},null,512)]),_:3},8,["class"])],64))}};exports.default=F;
@@ -1,12 +1,21 @@
1
- import { ref as r, watch as y, onMounted as I, onUnmounted as T, openBlock as o, createElementBlock as g, Fragment as L, createBlock as p, normalizeClass as k, createCommentVNode as u, unref as d, TransitionGroup as M, withCtx as b, renderList as $, createVNode as B, Transition as C, renderSlot as x, createElementVNode as z } from "vue";
2
- import E from "../../modules/icons/skeletons/SkeletonEvent.vue.js";
1
+ import { mergeModels as D, useModel as M, ref as i, watch as U, onMounted as A, onUnmounted as G, openBlock as o, createElementBlock as x, Fragment as z, createBlock as h, normalizeClass as g, createCommentVNode as u, createElementVNode as E, createVNode as p, withCtx as b, unref as y, TransitionGroup as F, renderList as R, Transition as q, renderSlot as H } from "vue";
2
+ import J from "../../modules/icons/skeletons/SkeletonEvent.vue.js";
3
3
  import "../Loader/Loader.vue.js";
4
- import F from "../EmptyState/EmptyState.vue.js";
5
- import "vue-i18n";
6
- import N from "../../modules/globals/components/blocks/BlockSearch.vue.js";
7
- const v = null, J = {
4
+ import K from "../EmptyState/EmptyState.vue.js";
5
+ import N from "../Dropdown/Dropdown.vue.js";
6
+ import Q from "../DatePicker/Calendar.vue2.js";
7
+ import W from "../../modules/globals/components/blocks/BlockSearch.vue.js";
8
+ import X from "../../modules/globals/components/blocks/BlockSorting.vue.js";
9
+ import Y from "../../modules/globals/components/elements/ButtonSort.vue.js";
10
+ import Z from "../../modules/globals/components/elements/ButtonDate.vue2.js";
11
+ import _ from "../../modules/icons/navigation/IconFilter.vue.js";
12
+ import "./Feed.vue2.js";
13
+ const V = {
14
+ key: 0,
15
+ class: "flex-nowrap flex gap-thin mn-b-thin"
16
+ }, ee = { class: "flex-center flex pd-thin bg-light radius-extra aspect-1x1 h-100" }, O = null, pe = {
8
17
  __name: "Feed",
9
- props: {
18
+ props: /* @__PURE__ */ D({
10
19
  showLoadMore: {
11
20
  type: Boolean,
12
21
  default: !0
@@ -49,96 +58,155 @@ const v = null, J = {
49
58
  contain: null
50
59
  })
51
60
  }
52
- },
53
- setup(s) {
54
- const a = s, n = r([]), l = r(!1);
55
- let c = r(!0), S = r(null), m = r(a.options.skip ? a.options.skip : 0), i = r(a.options.limit ? a.options.limit : 10), h = r("");
56
- function O(e) {
57
- h.value = e, m.value = 0, i.value = 10, f();
61
+ }, {
62
+ search: {},
63
+ searchModifiers: {},
64
+ sort: {},
65
+ sortModifiers: {},
66
+ date: {},
67
+ dateModifiers: {},
68
+ items: {},
69
+ itemsModifiers: {}
70
+ }),
71
+ emits: ["update:search", "update:sort", "update:date", "update:items"],
72
+ setup(l) {
73
+ var I, T;
74
+ const m = M(l, "search"), s = M(l, "sort"), $ = M(l, "date"), f = M(l, "items"), a = l, r = i(f.value || []), n = i(!1);
75
+ let v = i(!0), L = i(null), k = i(a.options.skip ? a.options.skip : 0), c = i(a.options.limit ? a.options.limit : 10), B = i(((I = s.value) == null ? void 0 : I.param) || "createdAt"), j = i(((T = s.value) == null ? void 0 : T.order) || "asc"), S = i("");
76
+ function P(e) {
77
+ S.value = e, k.value = 0, c.value = 10, w();
58
78
  }
59
- const w = async () => {
60
- if (l.value) {
61
- m.value += i.value;
79
+ const C = async () => {
80
+ if (n.value) {
81
+ k.value += c.value;
62
82
  const e = await a.store.read({
63
- skip: m.value,
64
- limit: i.value,
65
- search: h.value,
83
+ skip: k.value,
84
+ limit: c.value,
85
+ search: S.value,
86
+ sortParam: B.value,
87
+ sortOrder: j.value,
66
88
  ...a.options
67
89
  });
68
- e.length === 0 || e.length < i.value ? l.value = !1 : l.value = !0, n.value = [...n.value, ...e];
90
+ e.length === 0 || e.length < c.value ? n.value = !1 : n.value = !0, r.value = [...r.value, ...e], f.value && (f.value = r.value);
69
91
  }
70
- }, f = async () => {
92
+ }, w = async () => {
71
93
  const e = await a.store.read({
72
- skip: m.value,
73
- limit: i.value,
74
- search: h.value,
94
+ skip: k.value,
95
+ limit: c.value,
96
+ sortParam: B.value,
97
+ sortOrder: j.value,
98
+ search: S.value,
75
99
  ...a.options
76
100
  });
77
- e.length === 0 || e.length < i.value ? l.value = !1 : l.value = !0, n.value = e, c.value = !1;
101
+ e.length === 0 || e.length < c.value ? n.value = !1 : n.value = !0, r.value = e, f.value && (f.value = r.value), v.value = !1;
78
102
  };
79
- return y(() => a.external, (e) => {
80
- }), y(() => a.external, (e, t) => {
81
- e !== t && f();
82
- }, { deep: !0 }), y(() => a.options, (e, t) => {
83
- (e.organization !== t.organization || e.categories !== t.categories || e.prices !== t.prices || e.delivery !== t.delivery || e.search !== t.search || e.status !== t.status || e.hidden !== t.hidden || e.type !== t.type) && f();
84
- }, { deep: !0 }), I(async () => {
85
- await f(), typeof window < "u" && !a.showLoadMore && (v = new IntersectionObserver((e) => {
86
- e.some((t) => t.isIntersecting) && w();
87
- }), v.observe(S.value));
88
- }), T(() => {
89
- v && v.disconnect();
90
- }), (e, t) => (o(), g(L, null, [
91
- s.search ? (o(), p(N, {
92
- key: 0,
93
- placeholder: s.search.placeholder || "Search...",
94
- class: k(s.search.class || "bg-grey mn-b-thin"),
95
- onSearch: O
96
- }, null, 8, ["placeholder", "class"])) : u("", !0),
97
- d(c) ? (o(), p(M, {
103
+ return U(() => a.external, (e, t) => {
104
+ e !== t && w();
105
+ }, { deep: !0 }), U(() => a.options, (e, t) => {
106
+ (e.organization !== t.organization || e.categories !== t.categories || e.prices !== t.prices || e.delivery !== t.delivery || e.search !== t.search || e.status !== t.status || e.hidden !== t.hidden || e.type !== t.type) && w();
107
+ }, { deep: !0 }), A(async () => {
108
+ await w(), typeof window < "u" && !a.showLoadMore && (O = new IntersectionObserver((e) => {
109
+ e.some((t) => t.isIntersecting) && C();
110
+ }), O.observe(L.value));
111
+ }), G(() => {
112
+ O && O.disconnect();
113
+ }), (e, t) => (o(), x(z, null, [
114
+ m.value ? (o(), x("div", V, [
115
+ m.value ? (o(), h(W, {
116
+ key: 0,
117
+ placeholder: m.value.placeholder || "Search...",
118
+ class: g(m.value.class || "bg-light"),
119
+ onSearch: P
120
+ }, null, 8, ["placeholder", "class"])) : u("", !0),
121
+ E("div", ee, [
122
+ p(_, { class: "w-1r h-auto" })
123
+ ]),
124
+ p(N, {
125
+ label: {
126
+ component: Z
127
+ },
128
+ class: g([m.value.class || "bg-light", "flex-child flex-child-grow-1 flex-child-shrink-0 pd-r-small pd-l-small pd-thin bg-light radius-big"]),
129
+ align: "right"
130
+ }, {
131
+ default: b(() => [
132
+ p(Q, {
133
+ date: $.value,
134
+ "onUpdate:date": t[0] || (t[0] = (d) => $.value = d),
135
+ locale: e.$i18n.locale,
136
+ allowRange: !0,
137
+ class: "radius-semi w-100 o-hidden bg-light"
138
+ }, null, 8, ["date", "locale"])
139
+ ]),
140
+ _: 1
141
+ }, 8, ["label", "class"]),
142
+ s.value ? (o(), h(N, {
143
+ key: 1,
144
+ label: {
145
+ component: Y,
146
+ props: { order: s.value.order },
147
+ class: "w-1r"
148
+ },
149
+ class: g([m.value.class || "bg-light", "radius-extra aspect-1x1 h-100"]),
150
+ align: "right"
151
+ }, {
152
+ default: b(() => [
153
+ p(X, {
154
+ param: s.value.param,
155
+ "onUpdate:param": t[1] || (t[1] = (d) => s.value.param = d),
156
+ order: s.value.order,
157
+ "onUpdate:order": t[2] || (t[2] = (d) => s.value.order = d),
158
+ options: s.value.options,
159
+ class: "h-100 pd-small radius-semi t-white bg-black"
160
+ }, null, 8, ["param", "order", "options"])
161
+ ]),
162
+ _: 1
163
+ }, 8, ["label", "class"])) : u("", !0)
164
+ ])) : u("", !0),
165
+ y(v) ? (o(), h(F, {
98
166
  key: 1,
99
167
  tag: "ul",
100
168
  name: "scaleTransition",
101
- class: k(["o-hidden bg-grey radius-big", e.$attrs.class])
169
+ class: g(["o-hidden bg-light radius-big", e.$attrs.class])
102
170
  }, {
103
171
  default: b(() => [
104
- d(c) ? (o(!0), g(L, { key: 0 }, $(d(i), (j) => (o(), p(E, {
105
- key: "skeleton-" + j
172
+ y(v) ? (o(!0), x(z, { key: 0 }, R(y(c), (d) => (o(), h(J, {
173
+ key: "skeleton-" + d
106
174
  }))), 128)) : u("", !0)
107
175
  ]),
108
176
  _: 1
109
177
  }, 8, ["class"])) : u("", !0),
110
- B(C, { name: "scaleTransition" }, {
178
+ p(q, { name: "scaleTransition" }, {
111
179
  default: b(() => [
112
- !d(c) && n.value.length < 1 ? (o(), p(F, {
180
+ !y(v) && r.value.length < 1 ? (o(), h(K, {
113
181
  key: 0,
114
- title: s.states.empty.title,
115
- description: s.states.empty.description,
116
- action: s.states.empty.action,
117
- callback: s.states.empty.callback,
118
- class: "pd-medium mn-b-thin bg-grey radius-big"
182
+ title: l.states.empty.title,
183
+ description: l.states.empty.description,
184
+ action: l.states.empty.action,
185
+ callback: l.states.empty.callback,
186
+ class: "pd-medium mn-b-thin bg-light radius-big"
119
187
  }, null, 8, ["title", "description", "action", "callback"])) : u("", !0)
120
188
  ]),
121
189
  _: 1
122
190
  }),
123
- B(M, {
191
+ p(F, {
124
192
  tag: "ul",
125
- name: "scaleTransition",
126
- class: k(e.$attrs.class)
193
+ name: "feed",
194
+ class: g(e.$attrs.class)
127
195
  }, {
128
196
  default: b(() => [
129
- !d(c) && n.value.length > 0 ? x(e.$slots, "default", {
197
+ !y(v) && r.value.length > 0 ? H(e.$slots, "default", {
130
198
  key: 0,
131
- items: n.value
199
+ items: r.value
132
200
  }) : u("", !0),
133
- s.showLoadMore && l.value && n.value.length > 0 ? (o(), g("button", {
201
+ l.showLoadMore && n.value && r.value.length > 0 ? (o(), x("button", {
134
202
  key: 1,
135
- onClick: w,
203
+ onClick: C,
136
204
  class: "col-w-100 w-100 bg-main button"
137
205
  }, " Load More ")) : u("", !0),
138
- z("div", {
206
+ E("div", {
139
207
  key: "sentinel",
140
208
  ref_key: "sentinel",
141
- ref: S,
209
+ ref: L,
142
210
  class: "sentinel"
143
211
  }, null, 512)
144
212
  ]),
@@ -148,5 +216,5 @@ const v = null, J = {
148
216
  }
149
217
  };
150
218
  export {
151
- J as default
219
+ pe as default
152
220
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("./FieldTags.vue.cjs");require("./BlockTags.vue2.cjs");const f=e.createElementVNode("h5",{class:"mn-b-thin"},"Tags (maximum 20):",-1),x={class:"mn-b-medium"},_=e.createElementVNode("p",{class:"p-small mn-b-thin"},"Suggested:",-1),k=["onClick"],B={key:1},y={__name:"BlockTags",props:["tags"],emits:["tags-changed"],setup(d,{emit:m}){const r=m,u=d,o=e.ref(""),s=e.ref([]),c=e.ref([{text:"story"},{text:"news"},{text:"guide"},{text:"discussion"},{text:"photos"}]);u.tags&&(s.value=u.tags.map(t=>({text:t})));const i=e.computed(()=>c.value.filter(t=>t.text.toLowerCase().includes(o.value.toLowerCase()))),n=e.computed(()=>c.value.filter(t=>!s.value.some(a=>a.text===t.text)));function g(t){s.value.push(t),r("tags-changed",s.value.map(a=>a.text))}function p(t){s.value=t,r("tags-changed",s.value.map(a=>a.text))}return(t,a)=>(e.openBlock(),e.createElementBlock("div",null,[f,e.createVNode(h.default,{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),tags:s.value,"autocomplete-items":i.value,"add-on-key":[13,":",";",","],"save-on-key":[13,":",";",","],separators:[";",","],"max-tags":20,maxlength:20,placeholder:"Please add tags","add-from-paste":!0,"allow-edit-tags":!0,onTagsChanged:p,class:"mn-b-thin bg-grey radius-medium pd-small"},null,8,["modelValue","tags","autocomplete-items"]),e.createElementVNode("p",x,[_,n.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.value,(l,v)=>(e.openBlock(),e.createElementBlock("span",{onClick:T=>g(l),class:e.normalizeClass(["cursor-pointer ti-tag-toDefactor",{"mn-r-micro":v!==n.value.length-1}])},e.toDisplayString(l.text),11,k))),256)):(e.openBlock(),e.createElementBlock("span",B,"You added all suggested tags"))])]))}};exports.default=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("./FieldTags.vue.cjs");require("./BlockTags.vue2.cjs");const f=e.createElementVNode("h5",{class:"mn-b-thin"},"Tags (maximum 20):",-1),x={class:"mn-b-medium"},_=e.createElementVNode("p",{class:"p-small mn-b-thin"},"Suggested:",-1),k=["onClick"],B={key:1},T={__name:"BlockTags",props:["tags"],emits:["tags-changed"],setup(d,{emit:m}){const r=m,u=d,o=e.ref(""),s=e.ref([]),c=e.ref([{text:"story"},{text:"news"},{text:"guide"},{text:"discussion"},{text:"photos"}]);u.tags&&(s.value=u.tags.map(t=>({text:t})));const i=e.computed(()=>c.value.filter(t=>t.text.toLowerCase().includes(o.value.toLowerCase()))),n=e.computed(()=>c.value.filter(t=>!s.value.some(a=>a.text===t.text)));function g(t){s.value.push(t),r("tags-changed",s.value.map(a=>a.text))}function p(t){s.value=t,r("tags-changed",s.value.map(a=>a.text))}return(t,a)=>(e.openBlock(),e.createElementBlock("div",null,[f,e.createVNode(h.default,{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),tags:s.value,"autocomplete-items":i.value,"add-on-key":[13,":",";",","],"save-on-key":[13,":",";",","],separators:[";",","],"max-tags":20,maxlength:20,placeholder:"Please add tags","add-from-paste":!0,"allow-edit-tags":!0,onTagsChanged:p,class:"mn-b-thin bg-light radius-medium pd-small"},null,8,["modelValue","tags","autocomplete-items"]),e.createElementVNode("p",x,[_,n.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.value,(l,v)=>(e.openBlock(),e.createElementBlock("span",{onClick:b=>g(l),class:e.normalizeClass(["cursor-pointer t-medium ti-tag-toDefactor",{"mn-r-micro":v!==n.value.length-1}])},e.toDisplayString(l.text),11,k))),256)):(e.openBlock(),e.createElementBlock("span",B,"You added all suggested tags"))])]))}};exports.default=T;
@@ -1,12 +1,12 @@
1
- import { ref as u, computed as g, openBlock as o, createElementBlock as l, createVNode as k, createElementVNode as d, Fragment as y, renderList as C, normalizeClass as T, toDisplayString as b } from "vue";
1
+ import { ref as u, computed as g, openBlock as o, createElementBlock as l, createVNode as k, createElementVNode as m, Fragment as C, renderList as T, normalizeClass as y, toDisplayString as b } from "vue";
2
2
  import V from "./FieldTags.vue.js";
3
3
  import "./BlockTags.vue2.js";
4
- const w = /* @__PURE__ */ d("h5", { class: "mn-b-thin" }, "Tags (maximum 20):", -1), B = { class: "mn-b-medium" }, I = /* @__PURE__ */ d("p", { class: "p-small mn-b-thin" }, "Suggested:", -1), L = ["onClick"], S = { key: 1 }, z = {
4
+ const w = /* @__PURE__ */ m("h5", { class: "mn-b-thin" }, "Tags (maximum 20):", -1), B = { class: "mn-b-medium" }, I = /* @__PURE__ */ m("p", { class: "p-small mn-b-thin" }, "Suggested:", -1), L = ["onClick"], S = { key: 1 }, z = {
5
5
  __name: "BlockTags",
6
6
  props: ["tags"],
7
7
  emits: ["tags-changed"],
8
8
  setup(p, { emit: h }) {
9
- const m = h, i = p, n = u(""), a = u([]), c = u([
9
+ const d = h, i = p, n = u(""), a = u([]), c = u([
10
10
  { text: "story" },
11
11
  { text: "news" },
12
12
  { text: "guide" },
@@ -16,10 +16,10 @@ const w = /* @__PURE__ */ d("h5", { class: "mn-b-thin" }, "Tags (maximum 20):",
16
16
  i.tags && (a.value = i.tags.map((e) => ({ text: e })));
17
17
  const v = g(() => c.value.filter((e) => e.text.toLowerCase().includes(n.value.toLowerCase()))), r = g(() => c.value.filter((e) => !a.value.some((t) => t.text === e.text)));
18
18
  function x(e) {
19
- a.value.push(e), m("tags-changed", a.value.map((t) => t.text));
19
+ a.value.push(e), d("tags-changed", a.value.map((t) => t.text));
20
20
  }
21
21
  function f(e) {
22
- a.value = e, m("tags-changed", a.value.map((t) => t.text));
22
+ a.value = e, d("tags-changed", a.value.map((t) => t.text));
23
23
  }
24
24
  return (e, t) => (o(), l("div", null, [
25
25
  w,
@@ -37,13 +37,13 @@ const w = /* @__PURE__ */ d("h5", { class: "mn-b-thin" }, "Tags (maximum 20):",
37
37
  "add-from-paste": !0,
38
38
  "allow-edit-tags": !0,
39
39
  onTagsChanged: f,
40
- class: "mn-b-thin bg-grey radius-medium pd-small"
40
+ class: "mn-b-thin bg-light radius-medium pd-small"
41
41
  }, null, 8, ["modelValue", "tags", "autocomplete-items"]),
42
- d("p", B, [
42
+ m("p", B, [
43
43
  I,
44
- r.value.length > 0 ? (o(!0), l(y, { key: 0 }, C(r.value, (s, _) => (o(), l("span", {
44
+ r.value.length > 0 ? (o(!0), l(C, { key: 0 }, T(r.value, (s, _) => (o(), l("span", {
45
45
  onClick: (D) => x(s),
46
- class: T(["cursor-pointer ti-tag-toDefactor", { "mn-r-micro": _ !== r.value.length - 1 }])
46
+ class: y(["cursor-pointer t-medium ti-tag-toDefactor", { "mn-r-micro": _ !== r.value.length - 1 }])
47
47
  }, b(s.text), 11, L))), 256)) : (o(), l("span", S, "You added all suggested tags"))
48
48
  ])
49
49
  ]));
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./vue-tags-input.cjs"),t=require("vue");require("./vue-tags-input.scss.cjs");const i=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),d={class:"ti-input"},m={key:0,class:"ti-tags"},u=["onClick"],p={class:"ti-content"},g={key:0,class:"ti-tag-left"},f=["onClick"],k={key:1,class:"ti-tag-right"},E={class:"ti-actions"},v=["onClick"],c=["onClick"],C={class:"ti-new-tag-input-wrapper"},S=["placeholder","value","maxlength","disabled"],y=["onMouseover"],T=["onClick"];function $(e,r,h,w,N,V){const a=t.resolveComponent("tag-input");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["vue-tags-input",[{"ti-disabled":e.disabled},{"ti-focus":e.focused},e.$attrs.class]]),style:t.normalizeStyle(e.$attrs.style)},[t.createElementVNode("div",d,[e.tagsCopy?(t.openBlock(),t.createElementBlock("ul",m,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.tagsCopy,(o,l)=>(t.openBlock(),t.createElementBlock("li",{key:l,style:t.normalizeStyle(o.style),class:t.normalizeClass([[{"ti-editing":e.tagsEditStatus[l]},o.tiClasses,o.classes,{"ti-deletion-mark":e.isMarked(l)}],"ti-tag"]),tabindex:"0",onClick:s=>e.$emit("tag-clicked",{tag:o,index:l})},[t.createElementVNode("div",p,[e.$slots["tag-left"]?(t.openBlock(),t.createElementBlock("div",g,[t.renderSlot(e.$slots,"tag-left",{tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_for:!0,ref:e.setTagCenter,class:"ti-tag-center"},[e.$slots["tag-center"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass({"ti-hidden":e.tagsEditStatus[l]}),onClick:s=>e.performEditTag(l)},t.toDisplayString(o.text),11,f)),e.$slots["tag-center"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:1,scope:{edit:e.tagsEditStatus[l],maxlength:e.maxlength,tag:o,index:l,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}},null,8,["scope"])),t.renderSlot(e.$slots,"tag-center",{tag:o,index:l,maxlength:e.maxlength,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)],512),e.$slots["tag-right"]?(t.openBlock(),t.createElementBlock("div",k,[t.renderSlot(e.$slots,"tag-right",{tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",E,[e.$slots["tag-actions"]?t.createCommentVNode("",!0):t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:0,class:"ti-icon-undo",onClick:s=>e.cancelEdit(l)},null,8,v)),[[t.vShow,e.tagsEditStatus[l]]]),e.$slots["tag-actions"]?t.createCommentVNode("",!0):t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:1,class:"ti-icon-close",onClick:s=>e.performDeleteTag(l)},null,8,c)),[[t.vShow,!e.tagsEditStatus[l]]]),e.$slots["tag-actions"]?t.renderSlot(e.$slots,"tag-actions",{key:2,tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0):t.createCommentVNode("",!0)])],14,u))),128)),t.createElementVNode("li",C,[t.createElementVNode("input",t.mergeProps({ref:"newTagInput"},e.$attrs,{class:[[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],"ti-new-tag-input"],placeholder:e.placeholder,value:e.newTag,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1",onKeydown:[r[0]||(r[0]=o=>e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,o)),r[2]||(r[2]=t.withKeys((...o)=>e.invokeDelete&&e.invokeDelete(...o),["delete"])),r[3]||(r[3]=t.withKeys((...o)=>e.performBlur&&e.performBlur(...o),["tab"])),r[4]||(r[4]=t.withKeys(o=>e.selectItem(o,"before"),["up"])),r[5]||(r[5]=t.withKeys(o=>e.selectItem(o,"after"),["down"]))],onPaste:r[1]||(r[1]=(...o)=>e.addTagsFromPaste&&e.addTagsFromPaste(...o)),onInput:r[6]||(r[6]=(...o)=>e.updateNewTag&&e.updateNewTag(...o)),onFocus:r[7]||(r[7]=o=>e.focused=!0),onClick:r[8]||(r[8]=o=>e.addOnlyFromAutocomplete?!1:e.selectedItem=null)}),null,16,S)])])):t.createCommentVNode("",!0)]),t.renderSlot(e.$slots,"between-elements",{},void 0,!0),e.autocompleteOpen?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["ti-autocomplete",e.$attrs.class]),onMouseout:r[9]||(r[9]=o=>e.selectedItem=null)},[t.renderSlot(e.$slots,"autocomplete-header",{},void 0,!0),t.createElementVNode("ul",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.filteredAutocompleteItems,(o,l)=>(t.openBlock(),t.createElementBlock("li",{key:l,style:t.normalizeStyle(o.style),class:t.normalizeClass([[o.tiClasses,o.classes,{"ti-selected-item":e.isSelected(l)}],"ti-item"]),onMouseover:s=>e.disabled?!1:e.selectedItem=l},[e.$slots["autocomplete-item"]?t.renderSlot(e.$slots,"autocomplete-item",{key:1,item:o,index:l,performAdd:s=>e.performAddTags(s,void 0,"autocomplete"),selected:e.isSelected(l)},void 0,!0):(t.openBlock(),t.createElementBlock("div",{key:0,onClick:s=>e.performAddTags(o,void 0,"autocomplete")},t.toDisplayString(o.text),9,T))],46,y))),128))]),t.renderSlot(e.$slots,"autocomplete-footer",{},void 0,!0)],34)):t.createCommentVNode("",!0)],6)}const B=i.default(n.default,[["render",$],["__scopeId","data-v-d14eec25"]]);exports.default=B;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./vue-tags-input.cjs"),t=require("vue");require("./vue-tags-input.scss.cjs");const i=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),d={class:"ti-input"},m={key:0,class:"ti-tags"},u=["onClick"],p={class:"ti-content"},g={key:0,class:"ti-tag-left"},f=["onClick"],k={key:1,class:"ti-tag-right"},E={class:"ti-actions"},v=["onClick"],c=["onClick"],C={class:"ti-new-tag-input-wrapper"},S=["placeholder","value","maxlength","disabled"],y=["onMouseover"],T=["onClick"];function $(e,r,h,w,N,V){const a=t.resolveComponent("tag-input");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["vue-tags-input",[{"ti-disabled":e.disabled},{"ti-focus":e.focused},e.$attrs.class]]),style:t.normalizeStyle(e.$attrs.style)},[t.createElementVNode("div",d,[e.tagsCopy?(t.openBlock(),t.createElementBlock("ul",m,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.tagsCopy,(o,l)=>(t.openBlock(),t.createElementBlock("li",{key:l,style:t.normalizeStyle(o.style),class:t.normalizeClass([[{"ti-editing":e.tagsEditStatus[l]},o.tiClasses,o.classes,{"ti-deletion-mark":e.isMarked(l)}],"ti-tag t-medium"]),tabindex:"0",onClick:s=>e.$emit("tag-clicked",{tag:o,index:l})},[t.createElementVNode("div",p,[e.$slots["tag-left"]?(t.openBlock(),t.createElementBlock("div",g,[t.renderSlot(e.$slots,"tag-left",{tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_for:!0,ref:e.setTagCenter,class:"ti-tag-center"},[e.$slots["tag-center"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass({"ti-hidden":e.tagsEditStatus[l]}),onClick:s=>e.performEditTag(l)},t.toDisplayString(o.text),11,f)),e.$slots["tag-center"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:1,scope:{edit:e.tagsEditStatus[l],maxlength:e.maxlength,tag:o,index:l,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}},null,8,["scope"])),t.renderSlot(e.$slots,"tag-center",{tag:o,index:l,maxlength:e.maxlength,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)],512),e.$slots["tag-right"]?(t.openBlock(),t.createElementBlock("div",k,[t.renderSlot(e.$slots,"tag-right",{tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",E,[e.$slots["tag-actions"]?t.createCommentVNode("",!0):t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:0,class:"ti-icon-undo",onClick:s=>e.cancelEdit(l)},null,8,v)),[[t.vShow,e.tagsEditStatus[l]]]),e.$slots["tag-actions"]?t.createCommentVNode("",!0):t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:1,class:"ti-icon-close",onClick:s=>e.performDeleteTag(l)},null,8,c)),[[t.vShow,!e.tagsEditStatus[l]]]),e.$slots["tag-actions"]?t.renderSlot(e.$slots,"tag-actions",{key:2,tag:o,index:l,edit:e.tagsEditStatus[l],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(l)},void 0,!0):t.createCommentVNode("",!0)])],14,u))),128)),t.createElementVNode("li",C,[t.createElementVNode("input",t.mergeProps({ref:"newTagInput"},e.$attrs,{class:[[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],"ti-new-tag-input"],placeholder:e.placeholder,value:e.newTag,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1",onKeydown:[r[0]||(r[0]=o=>e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,o)),r[2]||(r[2]=t.withKeys((...o)=>e.invokeDelete&&e.invokeDelete(...o),["delete"])),r[3]||(r[3]=t.withKeys((...o)=>e.performBlur&&e.performBlur(...o),["tab"])),r[4]||(r[4]=t.withKeys(o=>e.selectItem(o,"before"),["up"])),r[5]||(r[5]=t.withKeys(o=>e.selectItem(o,"after"),["down"]))],onPaste:r[1]||(r[1]=(...o)=>e.addTagsFromPaste&&e.addTagsFromPaste(...o)),onInput:r[6]||(r[6]=(...o)=>e.updateNewTag&&e.updateNewTag(...o)),onFocus:r[7]||(r[7]=o=>e.focused=!0),onClick:r[8]||(r[8]=o=>e.addOnlyFromAutocomplete?!1:e.selectedItem=null)}),null,16,S)])])):t.createCommentVNode("",!0)]),t.renderSlot(e.$slots,"between-elements",{},void 0,!0),e.autocompleteOpen?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["ti-autocomplete",e.$attrs.class]),onMouseout:r[9]||(r[9]=o=>e.selectedItem=null)},[t.renderSlot(e.$slots,"autocomplete-header",{},void 0,!0),t.createElementVNode("ul",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.filteredAutocompleteItems,(o,l)=>(t.openBlock(),t.createElementBlock("li",{key:l,style:t.normalizeStyle(o.style),class:t.normalizeClass([[o.tiClasses,o.classes,{"ti-selected-item":e.isSelected(l)}],"ti-item"]),onMouseover:s=>e.disabled?!1:e.selectedItem=l},[e.$slots["autocomplete-item"]?t.renderSlot(e.$slots,"autocomplete-item",{key:1,item:o,index:l,performAdd:s=>e.performAddTags(s,void 0,"autocomplete"),selected:e.isSelected(l)},void 0,!0):(t.openBlock(),t.createElementBlock("div",{key:0,onClick:s=>e.performAddTags(o,void 0,"autocomplete")},t.toDisplayString(o.text),9,T))],46,y))),128))]),t.renderSlot(e.$slots,"autocomplete-footer",{},void 0,!0)],34)):t.createCommentVNode("",!0)],6)}const B=i.default(n.default,[["render",$],["__scopeId","data-v-7792d8ec"]]);exports.default=B;