@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
@@ -1,5 +1,5 @@
1
1
  import T from "./vue-tags-input.js";
2
- import { resolveComponent as y, openBlock as a, createElementBlock as r, normalizeClass as p, normalizeStyle as m, createElementVNode as d, Fragment as g, renderList as f, renderSlot as i, createCommentVNode as l, toDisplayString as v, createBlock as C, withDirectives as k, vShow as E, mergeProps as S, withKeys as u } from "vue";
2
+ import { resolveComponent as y, openBlock as a, createElementBlock as r, normalizeClass as u, normalizeStyle as m, createElementVNode as d, Fragment as g, renderList as f, renderSlot as i, createCommentVNode as l, toDisplayString as v, createBlock as C, withDirectives as k, vShow as E, mergeProps as S, withKeys as p } from "vue";
3
3
  import "./vue-tags-input.scss.js";
4
4
  import h from "../../../../_virtual/_plugin-vue_export-helper.js";
5
5
  const w = { class: "ti-input" }, D = {
@@ -15,7 +15,7 @@ const w = { class: "ti-input" }, D = {
15
15
  function L(e, o, j, q, G, H) {
16
16
  const $ = y("tag-input");
17
17
  return a(), r("div", {
18
- class: p(["vue-tags-input", [{ "ti-disabled": e.disabled }, { "ti-focus": e.focused }, e.$attrs.class]]),
18
+ class: u(["vue-tags-input", [{ "ti-disabled": e.disabled }, { "ti-focus": e.focused }, e.$attrs.class]]),
19
19
  style: m(e.$attrs.style)
20
20
  }, [
21
21
  d("div", w, [
@@ -23,12 +23,12 @@ function L(e, o, j, q, G, H) {
23
23
  (a(!0), r(g, null, f(e.tagsCopy, (t, s) => (a(), r("li", {
24
24
  key: s,
25
25
  style: m(t.style),
26
- class: p([[
26
+ class: u([[
27
27
  { "ti-editing": e.tagsEditStatus[s] },
28
28
  t.tiClasses,
29
29
  t.classes,
30
30
  { "ti-deletion-mark": e.isMarked(s) }
31
- ], "ti-tag"]),
31
+ ], "ti-tag t-medium"]),
32
32
  tabindex: "0",
33
33
  onClick: (n) => e.$emit("tag-clicked", { tag: t, index: s })
34
34
  }, [
@@ -52,7 +52,7 @@ function L(e, o, j, q, G, H) {
52
52
  }, [
53
53
  e.$slots["tag-center"] ? l("", !0) : (a(), r("span", {
54
54
  key: 0,
55
- class: p({ "ti-hidden": e.tagsEditStatus[s] }),
55
+ class: u({ "ti-hidden": e.tagsEditStatus[s] }),
56
56
  onClick: (n) => e.performEditTag(s)
57
57
  }, v(t.text), 11, A)),
58
58
  e.$slots["tag-center"] ? l("", !0) : (a(), C($, {
@@ -135,10 +135,10 @@ function L(e, o, j, q, G, H) {
135
135
  e.filteredAutocompleteItems[e.selectedItem] || e.newTag,
136
136
  t
137
137
  )),
138
- o[2] || (o[2] = u((...t) => e.invokeDelete && e.invokeDelete(...t), ["delete"])),
139
- o[3] || (o[3] = u((...t) => e.performBlur && e.performBlur(...t), ["tab"])),
140
- o[4] || (o[4] = u((t) => e.selectItem(t, "before"), ["up"])),
141
- o[5] || (o[5] = u((t) => e.selectItem(t, "after"), ["down"]))
138
+ o[2] || (o[2] = p((...t) => e.invokeDelete && e.invokeDelete(...t), ["delete"])),
139
+ o[3] || (o[3] = p((...t) => e.performBlur && e.performBlur(...t), ["tab"])),
140
+ o[4] || (o[4] = p((t) => e.selectItem(t, "before"), ["up"])),
141
+ o[5] || (o[5] = p((t) => e.selectItem(t, "after"), ["down"]))
142
142
  ],
143
143
  onPaste: o[1] || (o[1] = (...t) => e.addTagsFromPaste && e.addTagsFromPaste(...t)),
144
144
  onInput: o[6] || (o[6] = (...t) => e.updateNewTag && e.updateNewTag(...t)),
@@ -151,7 +151,7 @@ function L(e, o, j, q, G, H) {
151
151
  i(e.$slots, "between-elements", {}, void 0, !0),
152
152
  e.autocompleteOpen ? (a(), r("div", {
153
153
  key: 0,
154
- class: p(["ti-autocomplete", e.$attrs.class]),
154
+ class: u(["ti-autocomplete", e.$attrs.class]),
155
155
  onMouseout: o[9] || (o[9] = (t) => e.selectedItem = null)
156
156
  }, [
157
157
  i(e.$slots, "autocomplete-header", {}, void 0, !0),
@@ -159,7 +159,7 @@ function L(e, o, j, q, G, H) {
159
159
  (a(!0), r(g, null, f(e.filteredAutocompleteItems, (t, s) => (a(), r("li", {
160
160
  key: s,
161
161
  style: m(t.style),
162
- class: p([[
162
+ class: u([[
163
163
  t.tiClasses,
164
164
  t.classes,
165
165
  { "ti-selected-item": e.isSelected(s) }
@@ -182,7 +182,7 @@ function L(e, o, j, q, G, H) {
182
182
  ], 34)) : l("", !0)
183
183
  ], 6);
184
184
  }
185
- const W = /* @__PURE__ */ h(T, [["render", L], ["__scopeId", "data-v-d14eec25"]]);
185
+ const W = /* @__PURE__ */ h(T, [["render", L], ["__scopeId", "data-v-7792d8ec"]]);
186
186
  export {
187
187
  W as default
188
188
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../../../../node_modules/@googlemaps/js-api-loader/dist/index.cjs"),w=require("../Loader/Loader.vue2.cjs");require("./LocationMarker.vue.cjs");const L=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),_=c=>(e.pushScopeId("data-v-eecb8ce4"),c=c(),e.popScopeId(),c),b={class:"pos-relative"},k={key:0,class:"i-regular",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M=_(()=>e.createElementVNode("path",{d:"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",fill:"rgb(var(--white))"},null,-1)),E=_(()=>e.createElementVNode("path",{d:"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",fill:"rgb(var(--white))"},null,-1)),V=[M,E],x={__name:"LocationMarker",props:{location:{type:Object,default:()=>({lat:15.87,lng:100.9925})},address:{type:String,default:null},apiKey:String,locale:{type:String,default:"en"}},emits:["update:location","update:address","update:country","update:state","update:city"],setup(c,{emit:y}){const o=c,n=y,u=e.ref(null),s=e.ref(!1);let i,d;e.onMounted(()=>{new v.Loader({apiKey:o.apiKey,version:"weekly",libraries:["places"]}).load().then(()=>{i=new google.maps.Map(u.value,{center:o.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1,disableDefaultUI:!0}),d=new google.maps.Marker({position:o.location,map:i,draggable:!0}),d.addListener("dragend",t=>{const l={lat:t.latLng.lat(),lng:t.latLng.lng()};n("update:location",l),p(l)})}).catch(t=>{console.error(t)})}),e.watchEffect(()=>{o.location&&d&&d.setPosition(new google.maps.LatLng(o.location.lat,o.location.lng))}),e.watchEffect(()=>{if(o.location&&i){const a=new google.maps.LatLng(o.location.lat,o.location.lng);i.setCenter(a),i.setZoom(15)}});function p(a){new google.maps.Geocoder().geocode({location:a},(l,g)=>{if(g==="OK")if(l[0]){n("update:address",l[0].formatted_address);let f="",m="",C="";l[0].address_components.forEach(r=>{r.types.includes("country")&&(f=r.long_name),r.types.includes("administrative_area_level_1")&&(m=r.long_name),r.types.includes("locality")&&(C=r.long_name)}),n("update:country",f),n("update:state",m),n("update:city",C)}else console.error("No results found");else console.error("Geocoder failed due to: "+g)})}async function h(){s.value=!0,navigator.geolocation?navigator.geolocation.getCurrentPosition(a=>{const t={lat:a.coords.latitude,lng:a.coords.longitude};n("update:location",t),p(t),s.value=!1},()=>{console.error("Error getting location"),s.value=!1}):(console.error("Geolocation is not supported by this browser."),s.value=!1)}return(a,t)=>(e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("div",{ref_key:"mapContainer",ref:u,class:"w-100 h-100"},null,512),e.createElementVNode("button",{class:"cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra",onClick:h},[e.createVNode(e.Transition,{name:"ScaleOut",mode:"out-in"},{default:e.withCtx(()=>[s.value?(e.openBlock(),e.createBlock(w.default,{key:1,class:"pos-t-0 pos-l-0 i-small"})):(e.openBlock(),e.createElementBlock("svg",k,V))]),_:1})])]))}},S=L.default(x,[["__scopeId","data-v-eecb8ce4"]]);exports.default=S;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../../../../node_modules/@googlemaps/js-api-loader/dist/index.cjs"),w=require("../Loader/Loader.vue2.cjs");require("./LocationMarker.vue.cjs");const L=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),_=s=>(e.pushScopeId("data-v-7af36552"),s=s(),e.popScopeId(),s),k={class:"pos-relative"},b={key:0,class:"i-regular",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M=_(()=>e.createElementVNode("path",{d:"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",fill:"rgb(var(--white))"},null,-1)),E=_(()=>e.createElementVNode("path",{d:"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",fill:"rgb(var(--white))"},null,-1)),V=[M,E],x={__name:"LocationMarker",props:{location:{type:Object,default:()=>({lat:15.87,lng:100.9925})},address:{type:String,default:null},apiKey:String,locale:{type:String,default:"en"}},emits:["update:location","update:address","update:country","update:state","update:city"],setup(s,{emit:y}){const o=s,n=y,u=e.ref(null),c=e.ref(!1);let i,d;e.onMounted(()=>{new v.Loader({apiKey:o.apiKey,version:"weekly",libraries:["places"],language:o.locale}).load().then(()=>{i=new google.maps.Map(u.value,{center:o.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1,disableDefaultUI:!0}),d=new google.maps.Marker({position:o.location,map:i,draggable:!0}),d.addListener("dragend",t=>{const l={lat:t.latLng.lat(),lng:t.latLng.lng()};n("update:location",l),p(l)})}).catch(t=>{console.error(t)})}),e.watchEffect(()=>{o.location&&d&&d.setPosition(new google.maps.LatLng(o.location.lat,o.location.lng))}),e.watchEffect(()=>{if(o.location&&i){const a=new google.maps.LatLng(o.location.lat,o.location.lng);i.setCenter(a),i.setZoom(15)}});function p(a){new google.maps.Geocoder().geocode({location:a},(l,g)=>{if(g==="OK")if(l[0]){n("update:address",l[0].formatted_address);let f="",m="",C="";l[0].address_components.forEach(r=>{r.types.includes("country")&&(f=r.long_name),r.types.includes("administrative_area_level_1")&&(m=r.long_name),r.types.includes("locality")&&(C=r.long_name)}),n("update:country",f),n("update:state",m),n("update:city",C)}else console.error("No results found");else console.error("Geocoder failed due to: "+g)})}async function h(){c.value=!0,navigator.geolocation?navigator.geolocation.getCurrentPosition(a=>{const t={lat:a.coords.latitude,lng:a.coords.longitude};n("update:location",t),p(t),c.value=!1},()=>{console.error("Error getting location"),c.value=!1}):(console.error("Geolocation is not supported by this browser."),c.value=!1)}return(a,t)=>(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("div",{ref_key:"mapContainer",ref:u,class:"w-100 h-100"},null,512),e.createElementVNode("button",{class:"cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra",onClick:h},[e.createVNode(e.Transition,{name:"ScaleOut",mode:"out-in"},{default:e.withCtx(()=>[c.value?(e.openBlock(),e.createBlock(w.default,{key:1,class:"pos-t-0 pos-l-0 i-small"})):(e.openBlock(),e.createElementBlock("svg",b,V))]),_:1})])]))}},S=L.default(x,[["__scopeId","data-v-7af36552"]]);exports.default=S;
@@ -1,9 +1,9 @@
1
- import { ref as y, onMounted as k, watchEffect as h, openBlock as p, createElementBlock as w, createElementVNode as d, createVNode as x, Transition as M, withCtx as S, createBlock as V, pushScopeId as E, popScopeId as I } from "vue";
1
+ import { ref as y, onMounted as b, watchEffect as h, openBlock as p, createElementBlock as w, createElementVNode as d, createVNode as x, Transition as M, withCtx as S, createBlock as V, pushScopeId as E, popScopeId as I } from "vue";
2
2
  import { Loader as Z } from "../../../../node_modules/@googlemaps/js-api-loader/dist/index.js";
3
3
  import B from "../Loader/Loader.vue2.js";
4
4
  import "./LocationMarker.vue.js";
5
5
  import H from "../../../../_virtual/_plugin-vue_export-helper.js";
6
- const v = (r) => (E("data-v-eecb8ce4"), r = r(), I(), r), K = { class: "pos-relative" }, G = {
6
+ const v = (r) => (E("data-v-7af36552"), r = r(), I(), r), K = { class: "pos-relative" }, G = {
7
7
  key: 0,
8
8
  class: "i-regular",
9
9
  width: "98",
@@ -40,25 +40,25 @@ const v = (r) => (E("data-v-eecb8ce4"), r = r(), I(), r), K = { class: "pos-rela
40
40
  emits: ["update:location", "update:address", "update:country", "update:state", "update:city"],
41
41
  setup(r, { emit: L }) {
42
42
  const e = r, a = L, u = y(null), s = y(!1);
43
- let c, i;
44
- k(() => {
43
+ let i, c;
44
+ b(() => {
45
45
  new Z({
46
46
  apiKey: e.apiKey,
47
47
  version: "weekly",
48
- libraries: ["places"]
49
- // language: props.locale,
48
+ libraries: ["places"],
49
+ language: e.locale
50
50
  }).load().then(() => {
51
- c = new google.maps.Map(u.value, {
51
+ i = new google.maps.Map(u.value, {
52
52
  center: e.location,
53
53
  zoom: 15,
54
54
  mapTypeControl: !1,
55
55
  fullscreenControl: !1,
56
56
  disableDefaultUI: !0
57
- }), i = new google.maps.Marker({
57
+ }), c = new google.maps.Marker({
58
58
  position: e.location,
59
- map: c,
59
+ map: i,
60
60
  draggable: !0
61
- }), i.addListener("dragend", (o) => {
61
+ }), c.addListener("dragend", (o) => {
62
62
  const n = { lat: o.latLng.lat(), lng: o.latLng.lng() };
63
63
  a("update:location", n), g(n);
64
64
  });
@@ -66,11 +66,11 @@ const v = (r) => (E("data-v-eecb8ce4"), r = r(), I(), r), K = { class: "pos-rela
66
66
  console.error(o);
67
67
  });
68
68
  }), h(() => {
69
- e.location && i && i.setPosition(new google.maps.LatLng(e.location.lat, e.location.lng));
69
+ e.location && c && c.setPosition(new google.maps.LatLng(e.location.lat, e.location.lng));
70
70
  }), h(() => {
71
- if (e.location && c) {
71
+ if (e.location && i) {
72
72
  const t = new google.maps.LatLng(e.location.lat, e.location.lng);
73
- c.setCenter(t), c.setZoom(15);
73
+ i.setCenter(t), i.setZoom(15);
74
74
  }
75
75
  });
76
76
  function g(t) {
@@ -88,7 +88,7 @@ const v = (r) => (E("data-v-eecb8ce4"), r = r(), I(), r), K = { class: "pos-rela
88
88
  console.error("Geocoder failed due to: " + f);
89
89
  });
90
90
  }
91
- async function b() {
91
+ async function k() {
92
92
  s.value = !0, navigator.geolocation ? navigator.geolocation.getCurrentPosition((t) => {
93
93
  const o = { lat: t.coords.latitude, lng: t.coords.longitude };
94
94
  a("update:location", o), g(o), s.value = !1;
@@ -104,7 +104,7 @@ const v = (r) => (E("data-v-eecb8ce4"), r = r(), I(), r), K = { class: "pos-rela
104
104
  }, null, 512),
105
105
  d("button", {
106
106
  class: "cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra",
107
- onClick: b
107
+ onClick: k
108
108
  }, [
109
109
  x(M, {
110
110
  name: "ScaleOut",
@@ -121,7 +121,7 @@ const v = (r) => (E("data-v-eecb8ce4"), r = r(), I(), r), K = { class: "pos-rela
121
121
  ])
122
122
  ]));
123
123
  }
124
- }, F = /* @__PURE__ */ H(T, [["__scopeId", "data-v-eecb8ce4"]]);
124
+ }, F = /* @__PURE__ */ H(T, [["__scopeId", "data-v-7af36552"]]);
125
125
  export {
126
126
  F as default
127
127
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),i=require("../../../../node_modules/@googlemaps/js-api-loader/dist/index.cjs");require("./Map.vue2.cjs");const s=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),p={__name:"Map",props:{location:Object,apiKey:String},setup(r){const e=r;let a=o.ref(null),l=null,t=null;return o.onMounted(async()=>{new i.Loader({apiKey:e.apiKey,version:"weekly",libraries:["places"]}).load().then(()=>{l=new google.maps.Map(a.value,{zoom:13,center:{lat:e.location.lat,lng:e.location.lng}}),t=new google.maps.Marker({position:{lat:e.location.lat,lng:e.location.lng},map:l})}).catch(n=>{console.error(n)})}),o.watch(()=>e.location,()=>{l&&t&&(t.setPosition(new google.maps.LatLng(e.location.lat,e.location.lng)),l.setCenter(new google.maps.LatLng(e.location.lat,e.location.lng)))},{deep:!0}),(c,n)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"gmap",ref:a,class:"gmap"},null,512))}},u=s.default(p,[["__scopeId","data-v-bd6db019"]]);exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),i=require("../../../../node_modules/@googlemaps/js-api-loader/dist/index.cjs");require("./Map.vue2.cjs");const s=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),p={__name:"Map",props:{location:Object,apiKey:String},setup(r){const e=r;let t=o.ref(null),l=null,a=null;return o.onMounted(async()=>{new i.Loader({apiKey:e.apiKey,version:"weekly",libraries:["places"],language:e.locale}).load().then(()=>{l=new google.maps.Map(t.value,{zoom:13,center:{lat:e.location.lat,lng:e.location.lng}}),a=new google.maps.Marker({position:{lat:e.location.lat,lng:e.location.lng},map:l})}).catch(n=>{console.error(n)})}),o.watch(()=>e.location,()=>{l&&a&&(a.setPosition(new google.maps.LatLng(e.location.lat,e.location.lng)),l.setCenter(new google.maps.LatLng(e.location.lat,e.location.lng)))},{deep:!0}),(c,n)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"gmap",ref:t,class:"gmap"},null,512))}},u=s.default(p,[["__scopeId","data-v-935b49b3"]]);exports.default=u;
@@ -1,8 +1,8 @@
1
- import { ref as c, onMounted as p, watch as i, openBlock as s, createElementBlock as m } from "vue";
2
- import { Loader as g } from "../../../../node_modules/@googlemaps/js-api-loader/dist/index.js";
1
+ import { ref as c, onMounted as p, watch as i, openBlock as s, createElementBlock as g } from "vue";
2
+ import { Loader as m } from "../../../../node_modules/@googlemaps/js-api-loader/dist/index.js";
3
3
  import "./Map.vue2.js";
4
- import d from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- const u = {
4
+ import u from "../../../../_virtual/_plugin-vue_export-helper.js";
5
+ const _ = {
6
6
  __name: "Map",
7
7
  props: {
8
8
  location: Object,
@@ -10,14 +10,15 @@ const u = {
10
10
  },
11
11
  setup(n) {
12
12
  const o = n;
13
- let t = c(null), e = null, a = null;
13
+ let l = c(null), e = null, a = null;
14
14
  return p(async () => {
15
- new g({
15
+ new m({
16
16
  apiKey: o.apiKey,
17
17
  version: "weekly",
18
- libraries: ["places"]
18
+ libraries: ["places"],
19
+ language: o.locale
19
20
  }).load().then(() => {
20
- e = new google.maps.Map(t.value, {
21
+ e = new google.maps.Map(l.value, {
21
22
  zoom: 13,
22
23
  center: {
23
24
  lat: o.location.lat,
@@ -30,18 +31,18 @@ const u = {
30
31
  },
31
32
  map: e
32
33
  });
33
- }).catch((l) => {
34
- console.error(l);
34
+ }).catch((t) => {
35
+ console.error(t);
35
36
  });
36
37
  }), i(() => o.location, () => {
37
38
  e && a && (a.setPosition(new google.maps.LatLng(o.location.lat, o.location.lng)), e.setCenter(new google.maps.LatLng(o.location.lat, o.location.lng)));
38
- }, { deep: !0 }), (r, l) => (s(), m("div", {
39
+ }, { deep: !0 }), (r, t) => (s(), g("div", {
39
40
  ref_key: "gmap",
40
- ref: t,
41
+ ref: l,
41
42
  class: "gmap"
42
43
  }, null, 512));
43
44
  }
44
- }, y = /* @__PURE__ */ d(u, [["__scopeId", "data-v-bd6db019"]]);
45
+ }, y = /* @__PURE__ */ u(_, [["__scopeId", "data-v-935b49b3"]]);
45
46
  export {
46
47
  y as default
47
48
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Marquee.vue2.cjs");const L={class:"marquee","aria-hidden":!0},N={__name:"Marquee",props:{vertical:{type:Boolean,default:!1},direction:{type:String,default:"normal"},duration:{type:Number,default:20},delay:{type:Number,default:0},loop:{type:Number,default:0},clone:{type:Boolean,default:!1},gradient:{type:Boolean,default:!1},gradientColor:{type:Array,default:()=>[255,255,255]},gradientLength:{type:String},pauseOnHover:{type:Boolean,default:!1},pauseOnClick:{type:Boolean,default:!1},pause:{type:Boolean,default:!1}},emits:["onComplete","onLoopComplete","onPause","onResume"],setup(i,{emit:M}){const t=i,l=M,c=e.ref(!1),h=e.ref(0),s=e.ref(0),g=e.ref(0),v=e.ref(null),n=e.ref("100%"),d=e.ref(0),f=e.ref(0),o=e.ref("100%"),y=e.ref(0),C=e.ref(0),k=e.ref("200px"),m=e.ref(!1),r=e.ref(null),u=e.ref(null),p=async()=>{await $(),h.value++},$=async()=>{t.vertical&&(m.value=!0),setInterval(()=>{if(n.value="0%",o.value="0%",r.value!==null&&u.value!==null)if(r.value&&u.value)if(t.vertical&&"clientHeight"in r.value&&"clientHeight"in u.value){C.value=r.value.clientHeight,y.value=u.value.clientHeight;const a=Math.ceil(y.value/C.value);return s.value=isFinite(a)?a:0,m.value=!1,s.value}else if(!t.vertical&&"clientWidth"in r.value&&"clientWidth"in u.value){f.value=r.value.clientWidth,d.value=u.value.clientWidth;const a=Math.ceil(d.value/f.value);return s.value=isFinite(a)?a:0,s.value}else return n.value="100%",o.value="100%",0;else return n.value="100%",o.value="100%",0;else return n.value="100%",o.value="100%",0},100)},O=()=>{t.pauseOnHover&&l("onPause")},q=()=>{t.pauseOnHover&&l("onResume")},w=()=>{t.pauseOnClick&&l("onPause")},S=()=>{t.pauseOnClick&&l("onResume")},H=e.computed(()=>({"--loops":`${t.loop===0?"infinite":t.loop}`,"--duration":`${t.duration}s`,"--delay":`${t.delay}s`,"--direction":`${t.direction}`,"--pauseOnHover":`${t.pauseOnHover?"paused":"running"}`,"--pauseOnClick":`${t.pauseOnClick?"paused":"running"}`,"--pauseAnimation":`${t.vertical&&m.value||t.pause?"paused":"running"}`,"--gradient-color":`rgba(${t.gradientColor}, 1), rgba(${t.gradientColor}, 0)`,"--gradient-length":`${k.value}`,"--min-width":`${n.value}`,"--min-height":`${o.value}`,"--orientation":t.vertical?"scrollY":"scrollX"})),b=async()=>{t.vertical?(o.value="100%",n.value="auto"):(o.value="auto",n.value="100%"),t.gradient&&t.gradientLength&&(k.value=t.gradientLength),t.clone&&(await $(),p()),c.value=!0};return e.onMounted(async()=>{b(),v.value=setInterval(()=>{g.value++,t.loop!==0&&g.value===t.loop&&(l("onComplete"),clearInterval(v.value)),l("onLoopComplete")},t.duration*1e3)}),e.onBeforeUnmount(()=>{clearInterval(v.value)}),e.watch(f,async()=>{t.clone&&p()}),e.watch(d,async()=>{t.clone&&p()}),e.watch(()=>t.pause,(a,B)=>{a!==B&&l(a?"onResume":"onPause")}),(a,B)=>c.value?(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["vue3-marquee",{vertical:i.vertical,horizontal:!i.vertical}]),style:e.normalizeStyle(H.value),key:h.value,onMouseenter:O,onMouseleave:q,onMousedown:w,onMouseup:S},[e.createElementVNode("div",{class:e.normalizeClass(["transparent-overlay",{vertical:i.vertical,horizontal:!i.vertical,overlay:i.gradient}]),ref_key:"marqueeOverlayContainer",ref:u,"aria-hidden":!0},null,2),e.createElementVNode("div",{class:"marquee",ref_key:"marqueeContent",ref:r},[e.renderSlot(a.$slots,"default")],512),e.createElementVNode("div",L,[e.renderSlot(a.$slots,"default")]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,E=>(e.openBlock(),e.createElementBlock("div",{key:E,"aria-hidden":!0,class:"marquee cloned"},[e.renderSlot(a.$slots,"default")]))),128))],38)):e.createCommentVNode("",!0)}};exports.default=N;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Marquee.vue2.cjs");const L={class:"marquee","aria-hidden":!0},N={__name:"Marquee",props:{vertical:{type:Boolean,default:!1},direction:{type:String,default:"normal"},duration:{type:Number,default:20},delay:{type:Number,default:0},loop:{type:Number,default:0},clone:{type:Boolean,default:!1},gradient:{type:Boolean,default:!1},gradientColor:{type:[Array,String],default:()=>[255,255,255]},gradientLength:{type:String},pauseOnHover:{type:Boolean,default:!1},pauseOnClick:{type:Boolean,default:!1},pause:{type:Boolean,default:!1}},emits:["onComplete","onLoopComplete","onPause","onResume"],setup(i,{emit:M}){const t=i,l=M,c=e.ref(!1),h=e.ref(0),s=e.ref(0),g=e.ref(0),v=e.ref(null),n=e.ref("100%"),d=e.ref(0),f=e.ref(0),o=e.ref("100%"),y=e.ref(0),C=e.ref(0),k=e.ref("200px"),m=e.ref(!1),r=e.ref(null),u=e.ref(null),p=async()=>{await $(),h.value++},$=async()=>{t.vertical&&(m.value=!0),setInterval(()=>{if(n.value="0%",o.value="0%",r.value!==null&&u.value!==null)if(r.value&&u.value)if(t.vertical&&"clientHeight"in r.value&&"clientHeight"in u.value){C.value=r.value.clientHeight,y.value=u.value.clientHeight;const a=Math.ceil(y.value/C.value);return s.value=isFinite(a)?a:0,m.value=!1,s.value}else if(!t.vertical&&"clientWidth"in r.value&&"clientWidth"in u.value){f.value=r.value.clientWidth,d.value=u.value.clientWidth;const a=Math.ceil(d.value/f.value);return s.value=isFinite(a)?a:0,s.value}else return n.value="100%",o.value="100%",0;else return n.value="100%",o.value="100%",0;else return n.value="100%",o.value="100%",0},100)},O=()=>{t.pauseOnHover&&l("onPause")},q=()=>{t.pauseOnHover&&l("onResume")},S=()=>{t.pauseOnClick&&l("onPause")},w=()=>{t.pauseOnClick&&l("onResume")},H=e.computed(()=>({"--loops":`${t.loop===0?"infinite":t.loop}`,"--duration":`${t.duration}s`,"--delay":`${t.delay}s`,"--direction":`${t.direction}`,"--pauseOnHover":`${t.pauseOnHover?"paused":"running"}`,"--pauseOnClick":`${t.pauseOnClick?"paused":"running"}`,"--pauseAnimation":`${t.vertical&&m.value||t.pause?"paused":"running"}`,"--gradient-color":`rgba(${t.gradientColor}, 1), rgba(${t.gradientColor}, 0)`,"--gradient-length":`${k.value}`,"--min-width":`${n.value}`,"--min-height":`${o.value}`,"--orientation":t.vertical?"scrollY":"scrollX"})),b=async()=>{t.vertical?(o.value="100%",n.value="auto"):(o.value="auto",n.value="100%"),t.gradient&&t.gradientLength&&(k.value=t.gradientLength),t.clone&&(await $(),p()),c.value=!0};return e.onMounted(async()=>{b(),v.value=setInterval(()=>{g.value++,t.loop!==0&&g.value===t.loop&&(l("onComplete"),clearInterval(v.value)),l("onLoopComplete")},t.duration*1e3)}),e.onBeforeUnmount(()=>{clearInterval(v.value)}),e.watch(f,async()=>{t.clone&&p()}),e.watch(d,async()=>{t.clone&&p()}),e.watch(()=>t.pause,(a,B)=>{a!==B&&l(a?"onResume":"onPause")}),(a,B)=>c.value?(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["vue3-marquee",{vertical:i.vertical,horizontal:!i.vertical}]),style:e.normalizeStyle(H.value),key:h.value,onMouseenter:O,onMouseleave:q,onMousedown:S,onMouseup:w},[e.createElementVNode("div",{class:e.normalizeClass(["transparent-overlay",{vertical:i.vertical,horizontal:!i.vertical,overlay:i.gradient}]),ref_key:"marqueeOverlayContainer",ref:u,"aria-hidden":!0},null,2),e.createElementVNode("div",{class:"marquee",ref_key:"marqueeContent",ref:r},[e.renderSlot(a.$slots,"default")],512),e.createElementVNode("div",L,[e.renderSlot(a.$slots,"default")]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,E=>(e.openBlock(),e.createElementBlock("div",{key:E,"aria-hidden":!0,class:"marquee cloned"},[e.renderSlot(a.$slots,"default")]))),128))],38)):e.createCommentVNode("",!0)}};exports.default=N;
@@ -1,4 +1,4 @@
1
- import { ref as a, computed as R, onMounted as W, onBeforeUnmount as E, watch as h, openBlock as y, createElementBlock as g, normalizeClass as L, normalizeStyle as U, createElementVNode as C, renderSlot as $, Fragment as D, renderList as K, createCommentVNode as V } from "vue";
1
+ import { ref as a, computed as R, onMounted as W, onBeforeUnmount as E, watch as h, openBlock as g, createElementBlock as y, normalizeClass as L, normalizeStyle as U, createElementVNode as C, renderSlot as $, Fragment as D, renderList as K, createCommentVNode as V } from "vue";
2
2
  import "./Marquee.vue2.js";
3
3
  const X = {
4
4
  class: "marquee",
@@ -13,15 +13,15 @@ const X = {
13
13
  loop: { type: Number, default: 0 },
14
14
  clone: { type: Boolean, default: !1 },
15
15
  gradient: { type: Boolean, default: !1 },
16
- gradientColor: { type: Array, default: () => [255, 255, 255] },
16
+ gradientColor: { type: [Array, String], default: () => [255, 255, 255] },
17
17
  gradientLength: { type: String },
18
18
  pauseOnHover: { type: Boolean, default: !1 },
19
19
  pauseOnClick: { type: Boolean, default: !1 },
20
20
  pause: { type: Boolean, default: !1 }
21
21
  },
22
22
  emits: ["onComplete", "onLoopComplete", "onPause", "onResume"],
23
- setup(i, { emit: A }) {
24
- const e = i, n = A, c = a(!1), k = a(0), s = a(0), O = a(0), v = a(null), l = a("100%"), d = a(0), f = a(0), o = a("100%"), M = a(0), q = a(0), B = a("200px"), p = a(!1), u = a(null), r = a(null), m = async () => {
23
+ setup(i, { emit: S }) {
24
+ const e = i, n = S, c = a(!1), k = a(0), s = a(0), O = a(0), v = a(null), l = a("100%"), d = a(0), f = a(0), o = a("100%"), M = a(0), q = a(0), B = a("200px"), p = a(!1), u = a(null), r = a(null), m = async () => {
25
25
  await H(), k.value++;
26
26
  }, H = async () => {
27
27
  e.vertical && (p.value = !0), setInterval(() => {
@@ -42,7 +42,7 @@ const X = {
42
42
  else
43
43
  return l.value = "100%", o.value = "100%", 0;
44
44
  }, 100);
45
- }, S = () => {
45
+ }, A = () => {
46
46
  e.pauseOnHover && n("onPause");
47
47
  }, b = () => {
48
48
  e.pauseOnHover && n("onResume");
@@ -81,11 +81,11 @@ const X = {
81
81
  (t, w) => {
82
82
  t !== w && n(t ? "onResume" : "onPause");
83
83
  }
84
- ), (t, w) => c.value ? (y(), g("div", {
84
+ ), (t, w) => c.value ? (g(), y("div", {
85
85
  class: L(["vue3-marquee", { vertical: i.vertical, horizontal: !i.vertical }]),
86
86
  style: U(N.value),
87
87
  key: k.value,
88
- onMouseenter: S,
88
+ onMouseenter: A,
89
89
  onMouseleave: b,
90
90
  onMousedown: F,
91
91
  onMouseup: I
@@ -106,7 +106,7 @@ const X = {
106
106
  C("div", X, [
107
107
  $(t.$slots, "default")
108
108
  ]),
109
- (y(!0), g(D, null, K(s.value, (z) => (y(), g("div", {
109
+ (g(!0), y(D, null, K(s.value, (z) => (g(), y("div", {
110
110
  key: z,
111
111
  "aria-hidden": !0,
112
112
  class: "marquee cloned"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i={class:"flex-v-center flex-nowrap flex"},d={key:0,class:"mn-r-auto t-transp mn-r-small"},r=["name","value","checked"],s={key:1,class:""},u=e.createElementVNode("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("g",{id:"24 / basic / check-mark"},[e.createElementVNode("path",{id:"icon","fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.28033 10.7197L14.25 3.75L15.3107 4.81066L7.28033 12.841L3 8.56066L4.06066 7.5L7.28033 10.7197Z",fill:"#000000"})])],-1),m=[u],v={__name:"Radio",props:{label:String,name:String,value:!1,radio:Object},emits:["update:radio"],setup(t,{emit:a}){const n=a;return(o,l)=>(e.openBlock(),e.createElementBlock("label",i,[t.label?(e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("span",null,e.toDisplayString(t.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("input",{onInput:l[0]||(l[0]=c=>o.text=n("update:radio",c.target.value)),class:"round radiobutton",type:"checkbox",name:t.name,value:t.value,checked:t.value===t.radio},null,40,r),t.radio===t.value?(e.openBlock(),e.createElementBlock("div",s,m)):e.createCommentVNode("",!0)]))}};exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i={class:"flex-v-center flex-nowrap flex"},c={key:0,class:"br-solid br-2px br-grey-transp-25 pos-absolute pos-t-0 pos-r-0 radius-extra w-100 h-100"},s={key:0,class:"mn-r-auto t-transp mn-r-small"},d=["name","value","checked"],u={__name:"Radio",props:{label:String,name:String,value:!1,radio:[Object,String]},emits:["update:radio"],setup(t,{emit:l}){const n=l;return(r,a)=>(e.openBlock(),e.createElementBlock("label",i,[e.createElementVNode("div",{class:e.normalizeClass(["cursor-pointer mn-r-thin radius-extra pd-micro h-100 aspect-1x1 pos-relative",{"bg-main":t.radio===t.value}])},[e.createElementVNode("div",{class:e.normalizeClass(["radius-extra pd-micro w-100 h-100",{"bg-white":t.radio===t.value}])},null,2),t.radio!==t.value?(e.openBlock(),e.createElementBlock("div",c)):e.createCommentVNode("",!0)],2),t.label?(e.openBlock(),e.createElementBlock("div",s,[e.createElementVNode("span",null,e.toDisplayString(t.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("input",{onInput:a[0]||(a[0]=o=>r.text=n("update:radio",o.target.value)),class:"round radiobutton",type:"checkbox",name:t.name,value:t.value,checked:t.value===t.radio},null,40,d)]))}};exports.default=u;
@@ -1,55 +1,48 @@
1
- import { openBlock as a, createElementBlock as l, createElementVNode as t, toDisplayString as r, createCommentVNode as o } from "vue";
2
- const u = { class: "flex-v-center flex-nowrap flex" }, m = {
1
+ import { openBlock as t, createElementBlock as l, createElementVNode as a, normalizeClass as r, createCommentVNode as i, toDisplayString as c } from "vue";
2
+ const m = { class: "flex-v-center flex-nowrap flex" }, v = {
3
+ key: 0,
4
+ class: "br-solid br-2px br-grey-transp-25 pos-absolute pos-t-0 pos-r-0 radius-extra w-100 h-100"
5
+ }, b = {
3
6
  key: 0,
4
7
  class: "mn-r-auto t-transp mn-r-small"
5
- }, v = ["name", "value", "checked"], h = {
6
- key: 1,
7
- class: ""
8
- }, f = /* @__PURE__ */ t("svg", {
9
- width: "18",
10
- height: "18",
11
- viewBox: "0 0 18 18",
12
- fill: "none",
13
- xmlns: "http://www.w3.org/2000/svg"
14
- }, [
15
- /* @__PURE__ */ t("g", { id: "24 / basic / check-mark" }, [
16
- /* @__PURE__ */ t("path", {
17
- id: "icon",
18
- "fill-rule": "evenodd",
19
- "clip-rule": "evenodd",
20
- d: "M7.28033 10.7197L14.25 3.75L15.3107 4.81066L7.28033 12.841L3 8.56066L4.06066 7.5L7.28033 10.7197Z",
21
- fill: "#000000"
22
- })
23
- ])
24
- ], -1), g = [
25
- f
26
- ], b = {
8
+ }, h = ["name", "value", "checked"], g = {
27
9
  __name: "Radio",
28
10
  props: {
29
11
  label: String,
30
12
  name: String,
31
13
  value: !1,
32
- radio: Object
14
+ radio: [Object, String]
33
15
  },
34
16
  emits: ["update:radio"],
35
- setup(e, { emit: i }) {
36
- const d = i;
37
- return (c, n) => (a(), l("label", u, [
38
- e.label ? (a(), l("div", m, [
39
- t("span", null, r(e.label), 1)
40
- ])) : o("", !0),
41
- t("input", {
42
- onInput: n[0] || (n[0] = (s) => c.text = d("update:radio", s.target.value)),
17
+ setup(e, { emit: o }) {
18
+ const s = o;
19
+ return (d, n) => (t(), l("label", m, [
20
+ a("div", {
21
+ class: r(["cursor-pointer mn-r-thin radius-extra pd-micro h-100 aspect-1x1 pos-relative", {
22
+ "bg-main": e.radio === e.value
23
+ }])
24
+ }, [
25
+ a("div", {
26
+ class: r(["radius-extra pd-micro w-100 h-100", {
27
+ "bg-white": e.radio === e.value
28
+ }])
29
+ }, null, 2),
30
+ e.radio !== e.value ? (t(), l("div", v)) : i("", !0)
31
+ ], 2),
32
+ e.label ? (t(), l("div", b, [
33
+ a("span", null, c(e.label), 1)
34
+ ])) : i("", !0),
35
+ a("input", {
36
+ onInput: n[0] || (n[0] = (u) => d.text = s("update:radio", u.target.value)),
43
37
  class: "round radiobutton",
44
38
  type: "checkbox",
45
39
  name: e.name,
46
40
  value: e.value,
47
41
  checked: e.value === e.radio
48
- }, null, 40, v),
49
- e.radio === e.value ? (a(), l("div", h, g)) : o("", !0)
42
+ }, null, 40, h)
50
43
  ]));
51
44
  }
52
45
  };
53
46
  export {
54
- b as default
47
+ g as default
55
48
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Tab/Tab.vue.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("vue-i18n");require("../sections/SliderFeatures.vue2.cjs");const r=require("vue-router");require("../../store/auth.cjs");require("../../../middlewares/client/inputs.validation.cjs");const n={class:"cols-2-1_2 gap-small pd-small bg-white"},u=e.createElementVNode("section",{class:"w-100 desktop-only o-hidden radius-big bg-grad-main"},null,-1),s={__name:"Auth",setup(a){return e.ref(null),e.ref(null),e.ref(null),r.useRoute(),r.useRouter(),e.ref("email"),(o,c)=>{const t=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("div",n,[e.createVNode(t,{class:"pd-medium br-solid br-1px br-grey radius-big w-m-66r t-center"},{default:e.withCtx(({Component:l,route:i})=>[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l),{ref:"page",key:i.path,localPosition:o.localPosition},null,8,["localPosition"]))]),_:2},1024)]),_:1}),u])}}};exports.default=s;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Tab/Tab.vue.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("vue-i18n");require("../sections/SliderFeatures.vue2.cjs");const r=require("vue-router");require("../../store/auth.cjs");require("../../../middlewares/client/inputs.validation.cjs");const n={class:"cols-2-1_2 gap-small pd-small bg-white"},u=e.createElementVNode("section",{class:"w-100 desktop-only o-hidden radius-big bg-grad-main"},null,-1),s={__name:"Auth",setup(a){return e.ref(null),e.ref(null),e.ref(null),r.useRoute(),r.useRouter(),e.ref("email"),(o,c)=>{const t=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("div",n,[e.createVNode(t,{class:"pd-medium br-solid br-1px br-grey-transp-25 radius-big w-m-66r t-center"},{default:e.withCtx(({Component:l,route:i})=>[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l),{ref:"page",key:i.path,localPosition:o.localPosition},null,8,["localPosition"]))]),_:2},1024)]),_:1}),u])}}};exports.default=s;
@@ -14,7 +14,7 @@ const g = { class: "cols-2-1_2 gap-small pd-small bg-white" }, h = /* @__PURE__
14
14
  return e(null), e(null), e(null), _(), f(), e("email"), (i, w) => {
15
15
  const l = a("router-view");
16
16
  return o(), m("div", g, [
17
- t(l, { class: "pd-medium br-solid br-1px br-grey radius-big w-m-66r t-center" }, {
17
+ t(l, { class: "pd-medium br-solid br-1px br-grey-transp-25 radius-big w-m-66r t-center" }, {
18
18
  default: r(({ Component: n, route: s }) => [
19
19
  t(c, {
20
20
  name: "scaleIn",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue");require("../../../../components/Field/Field.vue.cjs");const f=require("vue-router"),w=require("vue-i18n"),E=require("../../store/auth.cjs"),p=require("../../store/twofa.cjs"),y=require("../../../globals/store/globals.cjs"),S=require("../../localization/EnterCode.json.cjs"),q={class:"t-center pd-medium"},D={class:"mn-b-medium"},I={class:"mn-b-big t-transp"},k={class:"w-100 mn-b-big flex-nowrap flex"},C={key:1},N={__name:"EnterCode",setup(V){const g=f.useRoute(),c=f.useRouter(),{t:d}=w.useI18n({useScope:"global",...S.default}),o=n.reactive({digits:["","","",""],error:null});n.watch(()=>o.digits[0],s=>{if(s&&String(s).length>1){let e=String(s).split("");console.log(e);let t=[...o.digits];e.forEach((l,r)=>{console.log(r),console.log(t[r]),console.log(l),t[r]=l}),o.digits=t,u(3)}});const m=n.ref(null),i=n.ref(0);async function v(){try{await p.sendCode(E.state.user,g.query.method,g.query.type),i.value=30;const s=setInterval(()=>{i.value>0?i.value-=1:clearInterval(s)},1e3)}catch{y.setError({response:{data:{errorCode:"CODE_NOT_SENT"}}})}}const a=(s,e)=>{if(s.key==="Backspace"&&(o.digits[e]===null||o.digits[e]===void 0||o.digits[e]==="")){s.preventDefault();const t=document.querySelectorAll("input"),l=e>0?t[e-1]:null;l&&(l.focus(),l.setSelectionRange(l.value.length,l.value.length))}},u=s=>{const e=document.querySelectorAll("input"),t=e[s+1],l=s>0?e[s-1]:null;if(o.digits[s]!==""&&o.digits[s]!==null&&o.digits[s]!==void 0&&s<4&&(s<3?t.focus():m.value.focus()),(o.digits[s]===null||o.digits[s]===void 0||o.digits[s]==="")&&s>0&&l.focus(),o.digits.every(r=>r!=="")){const r=o.digits.join(""),b=p.state.code.code.toString();r===b?(p.state.code.isValid=!0,c.push({path:"/auth/enter-password",query:{type:p.state.code.type,method:g.query.method}})):(y.setError({response:{data:{errorCode:"WRONG_CODE"}}}),m.value.focus(),o.digits=["","","",""])}};return(s,e)=>(n.openBlock(),n.createElementBlock("section",q,[n.createElementVNode("h3",D,n.toDisplayString(n.unref(d)("verifyNumberTitle")),1),n.createElementVNode("p",I,n.toDisplayString(n.unref(d)("instructions")),1),n.createElementVNode("div",k,[n.withDirectives(n.createElementVNode("input",{type:"number","onUpdate:modelValue":e[0]||(e[0]=t=>o.digits[0]=t),ref_key:"firstInput",ref:m,maxlength:"1",onInput:e[1]||(e[1]=t=>u(0)),onPaste:e[2]||(e[2]=t=>s.onPaste(t,0)),onKeydown:e[3]||(e[3]=t=>a(t,0)),class:"w-100 h1 pd-small t-center bg-grey radius-small mn-r-small"},null,544),[[n.vModelText,o.digits[0]]]),n.withDirectives(n.createElementVNode("input",{type:"number","onUpdate:modelValue":e[4]||(e[4]=t=>o.digits[1]=t),maxlength:"1",onInput:e[5]||(e[5]=t=>u(1)),onPaste:e[6]||(e[6]=t=>s.onPaste(t,1)),onKeydown:e[7]||(e[7]=t=>a(t,1)),class:"w-100 h1 pd-small t-center bg-grey radius-small mn-r-small"},null,544),[[n.vModelText,o.digits[1]]]),n.withDirectives(n.createElementVNode("input",{type:"number","onUpdate:modelValue":e[8]||(e[8]=t=>o.digits[2]=t),maxlength:"1",onInput:e[9]||(e[9]=t=>u(2)),onPaste:e[10]||(e[10]=t=>s.onPaste(t,2)),onKeydown:e[11]||(e[11]=t=>a(t,2)),class:"w-100 h1 pd-small t-center bg-grey radius-small mn-r-small"},null,544),[[n.vModelText,o.digits[2]]]),n.withDirectives(n.createElementVNode("input",{type:"number","onUpdate:modelValue":e[12]||(e[12]=t=>o.digits[3]=t),maxlength:"1",onInput:e[13]||(e[13]=t=>u(3)),onPaste:e[14]||(e[14]=t=>s.onPaste(t,3)),onKeydown:e[15]||(e[15]=t=>a(t,3)),class:"w-100 h1 pd-small t-center bg-grey radius-small"},null,544),[[n.vModelText,o.digits[3]]])]),i.value<1?(n.openBlock(),n.createElementBlock("a",{key:0,onClick:v,class:"t-blue"},n.toDisplayString(n.unref(d)("resendCode")),1)):(n.openBlock(),n.createElementBlock("span",C,n.toDisplayString(i.value)+" "+n.toDisplayString(n.unref(d)("secondsResend")),1))]))}};exports.default=N;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue");require("../../../../components/Field/Field.vue.cjs");const f=require("vue-router"),w=require("vue-i18n"),E=require("../../store/auth.cjs"),p=require("../../store/twofa.cjs"),c=require("../../../globals/store/globals.cjs"),S=require("../../localization/EnterCode.json.cjs"),q={class:"t-center pd-medium"},D={class:"mn-b-medium"},I={class:"mn-b-big t-transp"},k={class:"w-100 mn-b-big flex-nowrap flex"},C={key:1},N={__name:"EnterCode",setup(V){const g=f.useRoute(),v=f.useRouter(),{t:d}=w.useI18n({useScope:"global",...S.default}),o=n.reactive({digits:["","","",""],error:null});n.watch(()=>o.digits[0],s=>{if(s&&String(s).length>1){let e=String(s).split("");console.log(e);let t=[...o.digits];e.forEach((l,r)=>{console.log(r),console.log(t[r]),console.log(l),t[r]=l}),o.digits=t,u(3)}});const m=n.ref(null),i=n.ref(0);async function y(){try{await p.sendCode(E.state.user,g.query.method,g.query.type),i.value=30;const s=setInterval(()=>{i.value>0?i.value-=1:clearInterval(s)},1e3)}catch{c.setError({response:{data:{errorCode:"CODE_NOT_SENT"}}})}}const a=(s,e)=>{if(s.key==="Backspace"&&(o.digits[e]===null||o.digits[e]===void 0||o.digits[e]==="")){s.preventDefault();const t=document.querySelectorAll("input"),l=e>0?t[e-1]:null;l&&(l.focus(),l.setSelectionRange(l.value.length,l.value.length))}},u=s=>{const e=document.querySelectorAll("input"),t=e[s+1],l=s>0?e[s-1]:null;if(o.digits[s]!==""&&o.digits[s]!==null&&o.digits[s]!==void 0&&s<4&&(s<3?t.focus():m.value.focus()),(o.digits[s]===null||o.digits[s]===void 0||o.digits[s]==="")&&s>0&&l.focus(),o.digits.every(r=>r!=="")){const r=o.digits.join(""),b=p.state.code.code.toString();r===b?(p.state.code.isValid=!0,v.push({path:"/auth/enter-password",query:{type:p.state.code.type,method:g.query.method}})):(c.setError({response:{data:{errorCode:"WRONG_CODE"}}}),m.value.focus(),o.digits=["","","",""])}};return(s,e)=>(n.openBlock(),n.createElementBlock("section",q,[n.createElementVNode("h3",D,n.toDisplayString(n.unref(d)("verifyNumberTitle")),1),n.createElementVNode("p",I,n.toDisplayString(n.unref(d)("instructions")),1),n.createElementVNode("div",k,[n.withDirectives(n.createElementVNode("input",{type:"number","onUpdate:modelValue":e[0]||(e[0]=t=>o.digits[0]=t),ref_key:"firstInput",ref:m,maxlength:"1",onInput:e[1]||(e[1]=t=>u(0)),onPaste:e[2]||(e[2]=t=>s.onPaste(t,0)),onKeydown:e[3]||(e[3]=t=>a(t,0)),class:"w-100 h1 pd-small t-center bg-light radius-small mn-r-small"},null,544),[[n.vModelText,o.digits[0]]]),n.withDirectives(n.createElementVNode("input",{type:"number","onUpdate:modelValue":e[4]||(e[4]=t=>o.digits[1]=t),maxlength:"1",onInput:e[5]||(e[5]=t=>u(1)),onPaste:e[6]||(e[6]=t=>s.onPaste(t,1)),onKeydown:e[7]||(e[7]=t=>a(t,1)),class:"w-100 h1 pd-small t-center bg-light radius-small mn-r-small"},null,544),[[n.vModelText,o.digits[1]]]),n.withDirectives(n.createElementVNode("input",{type:"number","onUpdate:modelValue":e[8]||(e[8]=t=>o.digits[2]=t),maxlength:"1",onInput:e[9]||(e[9]=t=>u(2)),onPaste:e[10]||(e[10]=t=>s.onPaste(t,2)),onKeydown:e[11]||(e[11]=t=>a(t,2)),class:"w-100 h1 pd-small t-center bg-light radius-small mn-r-small"},null,544),[[n.vModelText,o.digits[2]]]),n.withDirectives(n.createElementVNode("input",{type:"number","onUpdate:modelValue":e[12]||(e[12]=t=>o.digits[3]=t),maxlength:"1",onInput:e[13]||(e[13]=t=>u(3)),onPaste:e[14]||(e[14]=t=>s.onPaste(t,3)),onKeydown:e[15]||(e[15]=t=>a(t,3)),class:"w-100 h1 pd-small t-center bg-light radius-small"},null,544),[[n.vModelText,o.digits[3]]])]),i.value<1?(n.openBlock(),n.createElementBlock("a",{key:0,onClick:y,class:"t-blue"},n.toDisplayString(n.unref(d)("resendCode")),1)):(n.openBlock(),n.createElementBlock("span",C,n.toDisplayString(i.value)+" "+n.toDisplayString(n.unref(d)("secondsResend")),1))]))}};exports.default=N;
@@ -6,7 +6,7 @@ import { state as N } from "../../store/auth.js";
6
6
  import { state as I, sendCode as R } from "../../store/twofa.js";
7
7
  import { setError as C } from "../../../globals/store/globals.js";
8
8
  import T from "../../localization/EnterCode.json.js";
9
- const V = { class: "t-center pd-medium" }, A = { class: "mn-b-medium" }, O = { class: "mn-b-big t-transp" }, U = { class: "w-100 mn-b-big flex-nowrap flex" }, B = { key: 1 }, Q = {
9
+ const V = { class: "t-center pd-medium" }, A = { class: "mn-b-medium" }, O = { class: "mn-b-big t-transp" }, U = { class: "w-100 mn-b-big flex-nowrap flex" }, B = { key: 1 }, L = {
10
10
  __name: "EnterCode",
11
11
  setup(j) {
12
12
  const y = q(), S = $(), { t: p } = K({
@@ -73,7 +73,7 @@ const V = { class: "t-center pd-medium" }, A = { class: "mn-b-medium" }, O = { c
73
73
  onInput: t[1] || (t[1] = (e) => u(0)),
74
74
  onPaste: t[2] || (t[2] = (e) => s.onPaste(e, 0)),
75
75
  onKeydown: t[3] || (t[3] = (e) => a(e, 0)),
76
- class: "w-100 h1 pd-small t-center bg-grey radius-small mn-r-small"
76
+ class: "w-100 h1 pd-small t-center bg-light radius-small mn-r-small"
77
77
  }, null, 544), [
78
78
  [f, n.digits[0]]
79
79
  ]),
@@ -84,7 +84,7 @@ const V = { class: "t-center pd-medium" }, A = { class: "mn-b-medium" }, O = { c
84
84
  onInput: t[5] || (t[5] = (e) => u(1)),
85
85
  onPaste: t[6] || (t[6] = (e) => s.onPaste(e, 1)),
86
86
  onKeydown: t[7] || (t[7] = (e) => a(e, 1)),
87
- class: "w-100 h1 pd-small t-center bg-grey radius-small mn-r-small"
87
+ class: "w-100 h1 pd-small t-center bg-light radius-small mn-r-small"
88
88
  }, null, 544), [
89
89
  [f, n.digits[1]]
90
90
  ]),
@@ -95,7 +95,7 @@ const V = { class: "t-center pd-medium" }, A = { class: "mn-b-medium" }, O = { c
95
95
  onInput: t[9] || (t[9] = (e) => u(2)),
96
96
  onPaste: t[10] || (t[10] = (e) => s.onPaste(e, 2)),
97
97
  onKeydown: t[11] || (t[11] = (e) => a(e, 2)),
98
- class: "w-100 h1 pd-small t-center bg-grey radius-small mn-r-small"
98
+ class: "w-100 h1 pd-small t-center bg-light radius-small mn-r-small"
99
99
  }, null, 544), [
100
100
  [f, n.digits[2]]
101
101
  ]),
@@ -106,7 +106,7 @@ const V = { class: "t-center pd-medium" }, A = { class: "mn-b-medium" }, O = { c
106
106
  onInput: t[13] || (t[13] = (e) => u(3)),
107
107
  onPaste: t[14] || (t[14] = (e) => s.onPaste(e, 3)),
108
108
  onKeydown: t[15] || (t[15] = (e) => a(e, 3)),
109
- class: "w-100 h1 pd-small t-center bg-grey radius-small"
109
+ class: "w-100 h1 pd-small t-center bg-light radius-small"
110
110
  }, null, 544), [
111
111
  [f, n.digits[3]]
112
112
  ])
@@ -120,5 +120,5 @@ const V = { class: "t-center pd-medium" }, A = { class: "mn-b-medium" }, O = { c
120
120
  }
121
121
  };
122
122
  export {
123
- Q as default
123
+ L as default
124
124
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Tab/Tab.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs"),f=require("../../../../components/Button/Button.vue2.cjs"),i=require("vue-router"),h=require("vue-i18n"),t=require("../../store/auth.cjs"),d=require("../../../middlewares/client/inputs.validation.cjs"),w=require("../../localization/EnterPassword.json.cjs");require("./EnterPassword.vue2.cjs");const y={class:"t-left pd-medium"},_={class:"mn-b-small"},g={key:0,class:"mn-b-semi t-transp"},b={key:1,class:"mn-b-semi t-transp"},k={class:"mn-b-semi radius-small o-hidden"},q={key:2,class:"p-medium t-semi mn-b-semi"},B=e.createElementVNode("a",{class:"t-second",href:"/legal/eula",target:"_blank",rel:"noopener noreferrer"},"End User License Agreement (EULA)",-1),E={key:0},P={key:1},v={__name:"EnterPassword",setup(S){const n=e.ref(null),{t:s}=h.useI18n({useScope:"global",...w.default}),r=i.useRoute(),u=i.useRouter();e.ref("phone");async function c(){try{await d.validateInputs(n,d.validatePassword,t.state.user.password,"Некорректный пароль")}catch{throw new Error}r.query.method==="reset-password"&&await t.actions.updatePassword(t.state.user,r.query.type),r.query.method!=="reset-password"&&await t.actions.signup(t.state.user,r.query.type)}function p(){u.push({name:"User Profile",params:{_id:t.state.user._id},query:{afterAuth:"true"}})}return(m,o)=>(e.openBlock(),e.createElementBlock("section",y,[e.createElementVNode("h3",_,e.toDisplayString(e.unref(s)("almostDone")),1),e.unref(r).query.method==="reset-password"?(e.openBlock(),e.createElementBlock("p",g,e.toDisplayString(e.unref(s)("newPasswordPrompt")),1)):(e.openBlock(),e.createElementBlock("p",b,e.toDisplayString(e.unref(s)("registrationPasswordPrompt")),1)),e.createElementVNode("div",k,[e.createVNode(l.default,{field:t.state.user.password,"onUpdate:field":o[0]||(o[0]=a=>t.state.user.password=a),type:"password",validation:n.value,placeholder:e.unref(s)("passwordPlaceholder"),class:"bg-grey pd-small radius-small mn-b-thin"},null,8,["field","validation","placeholder"]),e.createVNode(l.default,{field:t.state.user.passwordRepeat,"onUpdate:field":o[1]||(o[1]=a=>t.state.user.passwordRepeat=a),type:"password",placeholder:e.unref(s)("repeatPasswordPlaceholder"),class:"bg-grey pd-small radius-small mn-b-thin"},null,8,["field","placeholder"])]),e.unref(r).query.method!=="reset-password"?(e.openBlock(),e.createElementBlock("div",q,[e.createTextVNode(" By registering, you agree to our "),B])):e.createCommentVNode("",!0),e.createVNode(f.default,{submit:c,callback:p,class:"w-100 bg-main mn-b-big"},{default:e.withCtx(()=>[e.unref(r).query.method==="reset-password"?(e.openBlock(),e.createElementBlock("span",E,e.toDisplayString(e.unref(s)("changePasswordBtn")),1)):(e.openBlock(),e.createElementBlock("span",P,e.toDisplayString(e.unref(s)("registerBtn")),1))]),_:1})]))}};exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Tab/Tab.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs"),f=require("../../../../components/Button/Button.vue2.cjs"),i=require("vue-router"),h=require("vue-i18n"),t=require("../../store/auth.cjs"),d=require("../../../middlewares/client/inputs.validation.cjs"),w=require("../../localization/EnterPassword.json.cjs");require("./EnterPassword.vue2.cjs");const _={class:"t-left pd-medium"},y={class:"mn-b-small"},g={key:0,class:"mn-b-semi t-transp"},b={key:1,class:"mn-b-semi t-transp"},k={class:"mn-b-semi radius-small o-hidden"},q={key:2,class:"p-medium t-semi mn-b-semi"},B=e.createElementVNode("a",{class:"t-second",href:"/legal/eula",target:"_blank",rel:"noopener noreferrer"},"End User License Agreement (EULA)",-1),E={key:0},P={key:1},v={__name:"EnterPassword",setup(S){const n=e.ref(null),{t:s}=h.useI18n({useScope:"global",...w.default}),r=i.useRoute(),u=i.useRouter();e.ref("phone");async function c(){try{await d.validateInputs(n,d.validatePassword,t.state.user.password,"Некорректный пароль")}catch{throw new Error}r.query.method==="reset-password"&&await t.actions.updatePassword(t.state.user,r.query.type),r.query.method!=="reset-password"&&await t.actions.signup(t.state.user,r.query.type)}function p(){u.push({name:"User Profile",params:{_id:t.state.user._id},query:{afterAuth:"true"}})}return(m,o)=>(e.openBlock(),e.createElementBlock("section",_,[e.createElementVNode("h3",y,e.toDisplayString(e.unref(s)("almostDone")),1),e.unref(r).query.method==="reset-password"?(e.openBlock(),e.createElementBlock("p",g,e.toDisplayString(e.unref(s)("newPasswordPrompt")),1)):(e.openBlock(),e.createElementBlock("p",b,e.toDisplayString(e.unref(s)("registrationPasswordPrompt")),1)),e.createElementVNode("div",k,[e.createVNode(l.default,{field:t.state.user.password,"onUpdate:field":o[0]||(o[0]=a=>t.state.user.password=a),type:"password",validation:n.value,placeholder:e.unref(s)("passwordPlaceholder"),class:"bg-light pd-small radius-small mn-b-thin"},null,8,["field","validation","placeholder"]),e.createVNode(l.default,{field:t.state.user.passwordRepeat,"onUpdate:field":o[1]||(o[1]=a=>t.state.user.passwordRepeat=a),type:"password",placeholder:e.unref(s)("repeatPasswordPlaceholder"),class:"bg-light pd-small radius-small mn-b-thin"},null,8,["field","placeholder"])]),e.unref(r).query.method!=="reset-password"?(e.openBlock(),e.createElementBlock("div",q,[e.createTextVNode(" By registering, you agree to our "),B])):e.createCommentVNode("",!0),e.createVNode(f.default,{submit:c,callback:p,class:"w-100 bg-main mn-b-big"},{default:e.withCtx(()=>[e.unref(r).query.method==="reset-password"?(e.openBlock(),e.createElementBlock("span",E,e.toDisplayString(e.unref(s)("changePasswordBtn")),1)):(e.openBlock(),e.createElementBlock("span",P,e.toDisplayString(e.unref(s)("registerBtn")),1))]),_:1})]))}};exports.default=v;