@ozdao/prometheus-framework 0.2.31 → 0.2.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (469) hide show
  1. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -1
  2. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +222 -218
  3. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -1
  4. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +102 -91
  5. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -1
  6. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +138 -115
  7. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -1
  8. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +185 -185
  9. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +1 -1
  10. package/dist/node_modules/@noble/curves/esm/secp256k1.js +11 -8
  11. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  12. package/dist/node_modules/@noble/hashes/esm/_assert.js +29 -33
  13. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +1 -1
  14. package/dist/node_modules/@noble/hashes/esm/_sha2.js +15 -15
  15. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  16. package/dist/node_modules/@noble/hashes/esm/_u64.js +38 -20
  17. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +1 -1
  18. package/dist/node_modules/@noble/hashes/esm/hmac.js +20 -20
  19. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +1 -1
  20. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +20 -20
  21. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +1 -1
  22. package/dist/node_modules/@noble/hashes/esm/scrypt.js +41 -41
  23. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +1 -1
  24. package/dist/node_modules/@noble/hashes/esm/sha256.js +23 -29
  25. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
  26. package/dist/node_modules/@noble/hashes/esm/sha3.js +44 -55
  27. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  28. package/dist/node_modules/@noble/hashes/esm/sha512.js +23 -41
  29. package/dist/node_modules/@noble/hashes/esm/utils.cjs +1 -1
  30. package/dist/node_modules/@noble/hashes/esm/utils.js +37 -33
  31. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +20 -0
  32. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +3974 -0
  33. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -0
  34. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1202 -0
  35. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +1 -0
  36. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +97 -0
  37. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +1 -0
  38. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +37 -0
  39. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -0
  40. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +22 -0
  41. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  42. package/dist/node_modules/ethereum-cryptography/esm/utils.js +1 -4
  43. package/dist/node_modules/js-cookie/dist/js.cookie.cjs +1 -0
  44. package/dist/node_modules/js-cookie/dist/js.cookie.js +74 -0
  45. package/dist/node_modules/vue3-carousel/dist/carousel.es.cjs +4 -4
  46. package/dist/node_modules/vue3-carousel/dist/carousel.es.js +340 -244
  47. package/dist/node_modules/web3/lib/esm/abi.cjs +1 -1
  48. package/dist/node_modules/web3/lib/esm/abi.js +5 -10
  49. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  50. package/dist/node_modules/web3/lib/esm/accounts.js +27 -24
  51. package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
  52. package/dist/node_modules/web3/lib/esm/version.js +1 -1
  53. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
  54. package/dist/node_modules/web3/lib/esm/web3.js +53 -57
  55. package/dist/node_modules/web3-core/lib/esm/utils.cjs +1 -1
  56. package/dist/node_modules/web3-core/lib/esm/utils.js +3 -4
  57. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
  58. package/dist/node_modules/web3-core/lib/esm/web3_config.js +22 -19
  59. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  60. package/dist/node_modules/web3-core/lib/esm/web3_context.js +72 -57
  61. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  62. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +53 -61
  63. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +8 -8
  64. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  65. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +1 -1
  66. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  67. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +42 -42
  68. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  69. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +19 -19
  70. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  71. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +29 -29
  72. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -0
  73. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +51 -0
  74. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  75. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +1 -1
  76. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
  77. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +1 -1
  78. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +132 -47
  79. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +1 -1
  80. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +21 -15
  81. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +1 -1
  82. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +15 -13
  83. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +1 -1
  84. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +1 -1
  85. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +1 -1
  86. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +61 -53
  87. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +1 -1
  88. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +36 -9
  89. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  90. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +107 -103
  91. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -1
  92. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +135 -133
  93. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +1 -1
  94. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +47 -31
  95. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +1 -1
  96. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +18 -17
  97. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  98. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +113 -111
  99. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
  100. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +27 -27
  101. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +1 -1
  102. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +28 -40
  103. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +1 -1
  104. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +10 -10
  105. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
  106. package/dist/node_modules/web3-utils/lib/esm/converters.js +78 -75
  107. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
  108. package/dist/node_modules/web3-utils/lib/esm/formatter.js +8 -8
  109. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +1 -1
  110. package/dist/node_modules/web3-utils/lib/esm/hash.js +44 -43
  111. package/dist/node_modules/web3-utils/lib/esm/index.cjs +1 -1
  112. package/dist/node_modules/web3-utils/lib/esm/index.js +64 -62
  113. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  114. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +78 -40
  115. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +1 -1
  116. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +16 -11
  117. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +1 -1
  118. package/dist/node_modules/web3-utils/lib/esm/validation.js +45 -33
  119. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
  120. package/dist/node_modules/web3-validator/lib/esm/utils.js +127 -104
  121. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +1 -1
  122. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +12 -11
  123. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
  124. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +17 -13
  125. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -1
  126. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +7 -9
  127. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
  128. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +8 -8
  129. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -1
  130. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +3 -3
  131. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -1
  132. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +52 -52
  133. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  134. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +2501 -2482
  135. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +2 -1
  136. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +75 -61
  137. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
  138. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +33 -33
  139. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
  140. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +1 -1
  141. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -1
  142. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +1 -1
  143. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -1
  144. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +4 -2
  145. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.cjs +1 -0
  146. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +701 -0
  147. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +1 -1
  148. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +14 -7
  149. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  150. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  151. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/Address/Address.vue.js +2 -80
  153. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  154. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +80 -2
  155. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -0
  156. package/dist/prometheus-framework/src/components/Block/Block.vue.js +62 -0
  157. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.js +15 -15
  159. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  160. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +51 -40
  161. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +21 -21
  163. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -7
  165. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +12 -13
  167. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
  169. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  170. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
  171. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +53 -36
  173. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -0
  174. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +117 -0
  175. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +48 -40
  177. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -2
  179. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  180. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +20 -10
  181. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  182. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +2 -98
  183. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +2 -2
  185. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  186. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +25 -27
  187. package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -0
  188. package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +55 -0
  189. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/components/Select/Select.vue.js +55 -40
  191. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  192. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +5 -5
  193. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  194. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  195. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -0
  196. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -0
  197. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -0
  198. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -0
  199. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -73
  201. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  202. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +73 -2
  203. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  204. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +3 -3
  205. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +94 -33
  207. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +12 -12
  209. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +69 -61
  211. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +26 -27
  213. package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.js +2 -2
  215. package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.js +7 -7
  217. package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.js +2 -2
  219. package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.js +3 -3
  221. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.js +3 -3
  223. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/auth/store/auth.js +30 -30
  225. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
  227. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  229. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +9 -9
  231. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +90 -47
  233. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +166 -133
  235. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +86 -68
  237. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +105 -41
  239. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +16 -16
  241. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +51 -42
  243. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +14 -14
  245. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
  246. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +108 -94
  248. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +19 -19
  250. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  251. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +11 -11
  252. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +2 -2
  253. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +40 -29
  255. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +10 -9
  257. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
  259. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +27 -16
  261. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +21 -21
  263. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -3
  264. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +31 -28
  265. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -0
  266. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +48 -0
  267. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -0
  268. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +33 -0
  269. package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.cjs +1 -0
  270. package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.js +13 -0
  271. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +106 -85
  273. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +31 -34
  275. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +8 -8
  276. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  277. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  278. package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/events/router/events.js +1 -1
  280. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  282. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  283. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  284. package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
  285. package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +13 -6
  286. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  287. package/dist/prometheus-framework/src/modules/globals/store/globals.js +50 -22
  288. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +1 -1
  289. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +13 -13
  290. package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.cjs +1 -1
  291. package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.js +3 -3
  292. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +1 -1
  293. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +5 -5
  294. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +1 -0
  295. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +21 -0
  296. package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.cjs +1 -0
  297. package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.js +21 -0
  298. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +1 -0
  299. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +21 -0
  300. package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +1 -1
  301. package/dist/prometheus-framework/src/modules/icons/icons.client.js +38 -34
  302. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +1 -1
  303. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +9 -9
  304. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +1 -1
  305. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +7 -7
  306. package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.cjs +1 -0
  307. package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.js +30 -0
  308. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
  309. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +12 -12
  310. package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.cjs +1 -0
  311. package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.js +27 -0
  312. package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.cjs +1 -0
  313. package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.js +29 -0
  314. package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.cjs +1 -0
  315. package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.js +33 -0
  316. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +1 -0
  317. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +21 -0
  318. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +1 -0
  319. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +28 -0
  320. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +1 -1
  321. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +21 -20
  322. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -1
  323. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +5 -5
  324. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -1
  325. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +6 -6
  326. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -1
  327. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +1 -1
  328. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +7 -7
  330. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -6
  332. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +1 -1
  334. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +48 -35
  336. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -0
  337. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +63 -0
  338. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +6 -8
  340. package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.js +5 -7
  342. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
  343. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +16 -22
  344. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -0
  345. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -0
  346. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  347. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +61 -88
  348. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  349. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +104 -193
  350. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  351. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +29 -31
  352. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -0
  353. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +129 -0
  354. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  355. package/dist/prometheus-framework/src/modules/orders/store/orders.js +45 -36
  356. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  357. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +27 -26
  358. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  359. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +6 -6
  360. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  361. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +85 -79
  362. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
  363. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +10 -10
  364. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -1
  365. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +29 -23
  366. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  367. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +5 -5
  368. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  369. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +4 -4
  370. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  371. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +55 -169
  372. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  373. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +48 -59
  374. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  375. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +173 -94
  376. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  377. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +27 -20
  378. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  379. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +43 -33
  380. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  381. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +67 -63
  382. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  383. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +28 -30
  384. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  385. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +2 -2
  386. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  387. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  388. package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
  389. package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +2 -2
  390. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  391. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -6
  392. package/dist/prometheus-framework/src/modules/organizations/router/products.router.cjs +1 -1
  393. package/dist/prometheus-framework/src/modules/organizations/router/products.router.js +69 -20
  394. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  395. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  396. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  397. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  398. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  399. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +38 -38
  400. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.cjs +1 -1
  401. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.js +2 -2
  402. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  403. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +39 -44
  404. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  405. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +73 -44
  406. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  407. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +25 -54
  408. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  409. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +39 -39
  410. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  411. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +12 -12
  412. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -0
  413. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +4 -0
  414. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  415. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +18 -11
  416. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  417. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +24 -24
  418. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -0
  419. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +140 -0
  420. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -0
  421. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -0
  422. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  423. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +27 -23
  424. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  425. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +24 -25
  426. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  427. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +246 -102
  428. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  429. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +28 -24
  430. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  431. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +23 -24
  432. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  433. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +56 -7
  434. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  435. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +82 -65
  436. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  437. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +71 -54
  438. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -0
  439. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -0
  440. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  441. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +60 -86
  442. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  443. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +29 -37
  444. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  445. package/dist/prometheus-framework/src/modules/products/store/products.js +32 -29
  446. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  447. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +43 -107
  448. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  449. package/dist/prometheus-framework/src/modules/spots/store/spots.js +46 -40
  450. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  451. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +89 -94
  452. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  453. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  454. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  455. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +30 -30
  456. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  457. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  458. package/dist/prometheus-framework/src/modules/users/router/users.cjs +1 -1
  459. package/dist/prometheus-framework/src/modules/users/router/users.js +2 -2
  460. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  461. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +80 -71
  462. package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -0
  463. package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +29 -0
  464. package/dist/style.css +1 -1
  465. package/package.json +1 -1
  466. package/src/modules/orders/components/blocks/CardOrder.vue +2 -2
  467. package/src/modules/orders/components/pages/Orders.vue +0 -4
  468. package/src/modules/products/components/sections/FilterProducts.vue +9 -10
  469. package/src/modules/wallet/components/pages/Wallet.vue +2 -3
@@ -1,8 +1,8 @@
1
- import i from "../../../../node_modules/axios/lib/axios.js";
2
- import l from "../../../../../node_modules/js-cookie/src/js.cookie.js";
3
- import { reactive as u, watch as d } from "vue";
4
- import { setError as c } from "../../globals/store/globals.js";
5
- const m = i.create({ baseURL: process.env.API_URL, withCredentials: !0 }), s = u({
1
+ import n from "../../../../node_modules/axios/lib/axios.js";
2
+ import l from "../../../../../node_modules/js-cookie/dist/js.cookie.js";
3
+ import { reactive as o, watch as u } from "vue";
4
+ import { setError as i } from "../../globals/store/globals.js";
5
+ const c = n.create({ baseURL: process.env.API_URL, withCredentials: !0 }), t = o({
6
6
  all: [],
7
7
  current: {
8
8
  _id: null,
@@ -25,7 +25,8 @@ const m = i.create({ baseURL: process.env.API_URL, withCredentials: !0 }), s = u
25
25
  telegram: "",
26
26
  line: "",
27
27
  facebook: "",
28
- instagram: ""
28
+ instagram: "",
29
+ youtube: ""
29
30
  },
30
31
  rating: {
31
32
  popularity: 0,
@@ -33,51 +34,50 @@ const m = i.create({ baseURL: process.env.API_URL, withCredentials: !0 }), s = u
33
34
  amount: 0
34
35
  }
35
36
  }
36
- }), b = {
37
+ }), y = {
37
38
  // Create
38
- async create(a, e) {
39
- a.owner = e;
39
+ async create(e, r) {
40
+ e.owner = r;
40
41
  try {
41
- const r = await m.post("/api/organizations/create", a);
42
- return console.log("Organization created successfully"), s.current = r.data, r.data;
43
- } catch (r) {
44
- throw console.log("Organization creation failed"), c(r), r;
42
+ const a = await c.post("/api/organizations/create", e);
43
+ return console.log("Organization created successfully"), t.current = a.data, a.data;
44
+ } catch (a) {
45
+ throw console.log("Organization creation failed"), i(a), a;
45
46
  }
46
47
  },
47
- // Read
48
- async read(a = {}) {
49
- console.log(a), a.params = a.params || {}, a.location && (a.params.location = a.location), a.country && (a.params.country = a.country), a.state && (a.params.state = a.state), a.city && (a.params.city = a.city), a.categories && (a.params.categories = a.categories), a.prices && (a.params.prices = a.prices), a.delivery && (a.params.delivery = a.delivery), a._id && (a.params = a.params || {}, a.params._id = a._id), a.types && (a.params = a.params || [], a.params.types = a.types), a.owner && (a.params = a.params || {}, a.params.owner = a.owner), a.user && (a.params = a.params || {}, a.params.user = a.user), a.member && (a.params = a.params || {}, a.params.member = a.member), a.subscriber && (a.params = a.params || {}, a.params.subscriber = a.subscriber), a.postable && (a.params = a.params || {}, a.params.postable = a.postable), a.params = a.params || {}, a.params.skip = a.skip || 0, a.params.limit = a.limit || 9, a.params.sortParam = a.sort;
48
+ async read(e = {}) {
49
+ let r = {};
50
+ e._id && (r._id = e._id), e.owner && (r.owner = e.owner), e.user && (r.user = e.user), e.member && (r.member = e.member), e.subscriber && (r.subscriber = e.subscriber), e.postable && (r.postable = e.postable), e.location && (r.location = e.location), e.search && (r.search = e.search), e.location && (r.location = e.location), e.locationRadius && (r.locationRadius = e.locationRadius), e.country && (r.country = e.country), e.state && (r.state = e.state), e.city && (r.city = e.city), e.categories && (r.categories = e.categories), e.prices && (r.prices = e.prices), e.delivery && (r.delivery = e.delivery), e.types && (r.types = e.types), e.skip && (r.skip = e.skip), e.limit && (r.limit = e.limit), r.contain = e.contain || [], r.sortParam = e.sortParam, r.sortOrder = e.sortOrder, console.log(r);
50
51
  try {
51
- console.log("Request params:" + a.params);
52
- const e = await m.get("/api/organizations", { params: a.params });
53
- return a._id ? (Object.assign(s.current || {}, e.data[0]), console.log(s.current)) : console.log(e.data), Promise.resolve(e.data);
54
- } catch (e) {
55
- return c(e), Promise.reject(e);
52
+ const a = await c.get("/api/organizations", { params: r });
53
+ return e._id && Object.assign(t.current || {}, a.data[0]), Promise.resolve(a.data);
54
+ } catch (a) {
55
+ return i(a), Promise.reject(a);
56
56
  }
57
57
  },
58
58
  // Update
59
- async update(a, e) {
60
- return console.log(a, e), await m.post(`/api/organizations/${a}/update`, e).then(
61
- (r) => (console.log("Organization updated successfully"), Promise.resolve(r.data)),
62
- (r) => (console.log("Updating organization failed"), Promise.reject(r))
59
+ async update(e, r) {
60
+ return console.log(e, r), await c.post(`/api/organizations/${e}/update`, r).then(
61
+ (a) => (console.log("Organization updated successfully"), Promise.resolve(a.data)),
62
+ (a) => (console.log("Updating organization failed"), Promise.reject(a))
63
63
  );
64
64
  },
65
65
  // Remove
66
- async remove(a) {
67
- await m.delete(`/api/organizations/${a}/delete`).then(
68
- (e) => {
69
- s.error = null;
70
- let r = l.get("user"), t = JSON.parse(r);
71
- return t.organization = null, l.set("user", JSON.stringify(t), { expires: 7, domain: ".osi.plus", sameSite: "none", secure: !0 }), Promise.resolve(e.data);
66
+ async remove(e) {
67
+ await c.delete(`/api/organizations/${e}/delete`).then(
68
+ (r) => {
69
+ t.error = null;
70
+ let a = l.get("user"), s = JSON.parse(a);
71
+ return s.organization = null, l.set("user", JSON.stringify(s), { expires: 7, domain: ".osi.plus", sameSite: "none", secure: !0 }), Promise.resolve(r.data);
72
72
  },
73
- (e) => (c(e), Promise.reject(e))
74
- ).catch((e) => {
75
- c(e);
73
+ (r) => (i(r), Promise.reject(r))
74
+ ).catch((r) => {
75
+ i(r);
76
76
  });
77
77
  },
78
78
  // Reset
79
79
  async reset() {
80
- s.current = {
80
+ t.current = {
81
81
  _id: null,
82
82
  profile: {
83
83
  categories: [],
@@ -108,9 +108,9 @@ const m = i.create({ baseURL: process.env.API_URL, withCredentials: !0 }), s = u
108
108
  };
109
109
  }
110
110
  };
111
- d(s, (a, e) => {
111
+ u(t, (e, r) => {
112
112
  });
113
113
  export {
114
- b as actions,
115
- s as state
114
+ y as actions,
115
+ t as state
116
116
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router");require("./Payments.vue2.cjs");const n=e.createElementVNode("section",{class:"br-bot-dark bg-white pd-big"},[e.createElementVNode("header",{class:"flex-nojustify flex-bottom flex-nowrap flex"},[e.createElementVNode("h1",{class:"mn-r-small"},"Заказы")])],-1),s={class:"flex-nowrap flex product-tab-header"},o={class:"round-stat-tab round-stat"},i={class:"cols-3 bg-grey pd-big"},c={class:"order-card col"},d={class:"flex block"},b={class:"w-100 mn-thin p-big"},u={class:"mn-small t-transp w-100"},m=e.createElementVNode("br",null,null,-1),g={__name:"Payments",setup(p){return r.useRoute(),r.useRouter(),(t,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n,e.createElementVNode("div",s,[e.createElementVNode("button",{onClick:a[0]||(a[0]=l=>t.changeTab("Создан")),class:e.normalizeClass([{"product-tab-active":t.data.currentTab==="Создан"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])},[e.createTextVNode(" Новые "),e.createElementVNode("div",o,e.toDisplayString(t.tabLenght("Создан")),1)],2),e.createElementVNode("button",{onClick:a[1]||(a[1]=l=>t.changeTab("Подтвержден")),class:e.normalizeClass([{"product-tab-active":t.data.currentTab==="Подтвержден"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Подтвержденные ",2),e.createElementVNode("button",{onClick:a[2]||(a[2]=l=>t.changeTab("Ожидает отправки")),class:e.normalizeClass([{"product-tab-active":t.data.currentTab==="Ожидает отправки"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Ожидают отправки ",2),e.createElementVNode("button",{onClick:a[3]||(a[3]=l=>t.changeTab("Отправлен")),class:e.normalizeClass([{"product-tab-active":t.data.currentTab==="Отправлен"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Отправлены ",2),e.createElementVNode("button",{onClick:a[4]||(a[4]=l=>t.changeTab("all")),class:e.normalizeClass([{"product-tab-active":t.data.currentTab==="all"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Все ",2)]),e.createElementVNode("section",i,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.orders,l=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("div",d,[e.createElementVNode("p",b," Заказ #"+e.toDisplayString(l._id.slice(0,8)),1),e.createElementVNode("p",u,[e.createTextVNode(" Номер клиента: +7"+e.toDisplayString(l.phone),1),m])]),e.createElementVNode("p",{class:e.normalizeClass([{new:l.status==="Создан"},"mn-small order-status w-100 flex-center flex"])},e.toDisplayString(l.status)+" "+e.toDisplayString(t.DateToFormattedString(l.createdAt)),3)]))),256))])],64))}};exports.default=g;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("./Payments.vue2.cjs");const r=e.createElementVNode("section",{class:"br-bot-dark bg-white pd-big"},[e.createElementVNode("header",{class:"flex-nojustify flex-bottom flex-nowrap flex"},[e.createElementVNode("h1",{class:"mn-r-small"},"Заказы")])],-1),s={class:"flex-nowrap flex product-tab-header"},o={class:"round-stat-tab round-stat"},i={class:"cols-3 bg-grey pd-big"},c={class:"order-card col"},d={class:"flex block"},b={class:"w-100 mn-b-thin p-big"},u={class:"mn-b-small t-transp w-100"},m=e.createElementVNode("br",null,null,-1),g={__name:"Payments",setup(p){return n.useRoute(),n.useRouter(),(t,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[r,e.createElementVNode("div",s,[e.createElementVNode("button",{onClick:a[0]||(a[0]=l=>t.changeTab("Создан")),class:e.normalizeClass([{"product-tab-active":t.data.currentTab==="Создан"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])},[e.createTextVNode(" Новые "),e.createElementVNode("div",o,e.toDisplayString(t.tabLenght("Создан")),1)],2),e.createElementVNode("button",{onClick:a[1]||(a[1]=l=>t.changeTab("Подтвержден")),class:e.normalizeClass([{"product-tab-active":t.data.currentTab==="Подтвержден"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Подтвержденные ",2),e.createElementVNode("button",{onClick:a[2]||(a[2]=l=>t.changeTab("Ожидает отправки")),class:e.normalizeClass([{"product-tab-active":t.data.currentTab==="Ожидает отправки"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Ожидают отправки ",2),e.createElementVNode("button",{onClick:a[3]||(a[3]=l=>t.changeTab("Отправлен")),class:e.normalizeClass([{"product-tab-active":t.data.currentTab==="Отправлен"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Отправлены ",2),e.createElementVNode("button",{onClick:a[4]||(a[4]=l=>t.changeTab("all")),class:e.normalizeClass([{"product-tab-active":t.data.currentTab==="all"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Все ",2)]),e.createElementVNode("section",i,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.orders,l=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("div",d,[e.createElementVNode("p",b," Заказ #"+e.toDisplayString(l._id.slice(0,8)),1),e.createElementVNode("p",u,[e.createTextVNode(" Номер клиента: +7"+e.toDisplayString(l.phone),1),m])]),e.createElementVNode("p",{class:e.normalizeClass([{new:l.status==="Создан"},"mn-b-small order-status w-100 flex-center flex"])},e.toDisplayString(l.status)+" "+e.toDisplayString(t.DateToFormattedString(l.createdAt)),3)]))),256))])],64))}};exports.default=g;
@@ -5,7 +5,7 @@ const g = /* @__PURE__ */ t("section", { class: "br-bot-dark bg-white pd-big" },
5
5
  /* @__PURE__ */ t("header", { class: "flex-nojustify flex-bottom flex-nowrap flex" }, [
6
6
  /* @__PURE__ */ t("h1", { class: "mn-r-small" }, "Заказы")
7
7
  ])
8
- ], -1), p = { class: "flex-nowrap flex product-tab-header" }, m = { class: "round-stat-tab round-stat" }, f = { class: "cols-3 bg-grey pd-big" }, h = { class: "order-card col" }, w = { class: "flex block" }, k = { class: "w-100 mn-thin p-big" }, v = { class: "mn-small t-transp w-100" }, T = /* @__PURE__ */ t("br", null, null, -1), _ = {
8
+ ], -1), p = { class: "flex-nowrap flex product-tab-header" }, m = { class: "round-stat-tab round-stat" }, f = { class: "cols-3 bg-grey pd-big" }, h = { class: "order-card col" }, w = { class: "flex block" }, k = { class: "w-100 mn-b-thin p-big" }, v = { class: "mn-b-small t-transp w-100" }, T = /* @__PURE__ */ t("br", null, null, -1), _ = {
9
9
  __name: "Payments",
10
10
  setup(x) {
11
11
  return c(), u(), (e, s) => (l(), o(i, null, [
@@ -45,7 +45,7 @@ const g = /* @__PURE__ */ t("section", { class: "br-bot-dark bg-white pd-big" },
45
45
  ])
46
46
  ]),
47
47
  t("p", {
48
- class: n([{ new: a.status === "Создан" }, "mn-small order-status w-100 flex-center flex"])
48
+ class: n([{ new: a.status === "Создан" }, "mn-b-small order-status w-100 flex-center flex"])
49
49
  }, r(a.status) + " " + r(e.DateToFormattedString(a.createdAt)), 3)
50
50
  ]))), 256))
51
51
  ])
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),i=require("../../../icons/navigation/IconEdit.vue.cjs"),d=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("./CardLeftover.vue2.cjs");const r=t=>(e.pushScopeId("data-v-2c7e60d9"),t=t(),e.popScopeId(),t),u={class:"flex-column flex-wrap block"},m={class:"w-100 mn-thin flex"},p={class:"p-big"},v=r(()=>e.createElementVNode("p",{class:"p-small"},null,-1)),_=r(()=>e.createElementVNode("hr",{class:"mn-t-small mn-thin"},null,-1)),f={class:"w-100 spoiler"},E={key:0},h={class:"w-100 mn-thin flex"},N={class:"w-50 flex"},V={class:"t-right w-50 flex"},g={class:"w-100"},k={class:"t-transp"},y={__name:"CardLeftover",props:{leftover:Object},setup(t){c.useRouter();const s=e.ref(!1);function a(l,o){return o[l%100>4&&l%100<20?2:[2,0,1,1,1,2][l%10<5?l%10:5]]}return(l,o)=>(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("div",m,[e.createElementVNode("div",null,[e.createElementVNode("p",p,e.toDisplayString(t.leftover.type)+" #"+e.toDisplayString(t.leftover._id),1),v]),e.createElementVNode("div",null,[e.createVNode(i.default,{onClick:o[0]||(o[0]=n=>l.$router.push({name:"LeftoverEdit",params:{_id:t.leftover._id}})),class:"pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})]),_]),e.createElementVNode("div",f,[e.createElementVNode("div",{onClick:o[1]||(o[1]=n=>s.value=!s.value),class:"mn-small flex"},[e.createElementVNode("span",null,"Всего товаров "+e.toDisplayString(t.leftover.positions.length),1)]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[s.value?(e.openBlock(),e.createElementBlock("div",E,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.leftover.positions,n=>(e.openBlock(),e.createElementBlock("div",h,[e.createElementVNode("div",N,[e.createElementVNode("span",null,e.toDisplayString(n.name),1)]),e.createElementVNode("div",V,[e.createElementVNode("span",g,[e.createTextVNode(e.toDisplayString(n.quantity)+" ",1),e.createElementVNode("span",k,e.toDisplayString(a(n.quantity,["единица"," единицы"," единиц"])),1)])])]))),256))])):e.createCommentVNode("",!0)]),_:1})])]))}},S=d.default(y,[["__scopeId","data-v-2c7e60d9"]]);exports.default=S;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("vue-router"),i=require("../../../icons/navigation/IconEdit.vue.cjs"),c=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("./CardLeftover.vue2.cjs");const d={class:"flex-column pos-relative flex-wrap block"},u={class:"w-100 mn-b-thin flex"},v={class:"p-big"},f={class:"w-100 spoiler"},m={key:0},p={class:"w-100 mn-b-thin flex"},g={class:"w-50 flex"},_={class:"t-right w-50 flex"},E={class:"w-100"},N={class:"t-transp"},V={__name:"CardLeftover",props:{leftover:Object},setup(t){a.useRouter();const r=e.ref(!1);function s(o,l){return l[o%100>4&&o%100<20?2:[2,0,1,1,1,2][o%10<5?o%10:5]]}return(o,l)=>(e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("div",u,[e.createElementVNode("p",v,e.toDisplayString(t.leftover.type)+" #"+e.toDisplayString(t.leftover._id)+" "+e.toDisplayString(t.leftover.organization),1),e.createVNode(i.default,{onClick:l[0]||(l[0]=n=>o.$router.push({name:"LeftoverEdit",params:{_id:t.leftover.organization,leftover:t.leftover._id}})),class:"pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})]),e.createElementVNode("div",f,[e.createElementVNode("div",{onClick:l[1]||(l[1]=n=>r.value=!r.value),class:"mn-b-small flex"},[e.createElementVNode("span",null,"Всего товаров "+e.toDisplayString(t.leftover.positions.length),1)]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[r.value?(e.openBlock(),e.createElementBlock("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.leftover.positions,n=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",g,[e.createElementVNode("span",null,e.toDisplayString(n.name),1)]),e.createElementVNode("div",_,[e.createElementVNode("span",E,[e.createTextVNode(e.toDisplayString(n.quantity)+" ",1),e.createElementVNode("span",N,e.toDisplayString(s(n.quantity,["единица"," единицы"," единиц"])),1)])])]))),256))])):e.createCommentVNode("",!0)]),_:1})])]))}},h=c.default(V,[["__scopeId","data-v-5c28c501"]]);exports.default=h;
@@ -1,67 +1,62 @@
1
- import { ref as u, openBlock as a, createElementBlock as r, createElementVNode as e, toDisplayString as l, createVNode as c, Transition as f, withCtx as m, Fragment as v, renderList as _, createTextVNode as h, createCommentVNode as x, pushScopeId as w, popScopeId as g } from "vue";
2
- import { useRouter as k } from "vue-router";
3
- import C from "../../../icons/navigation/IconEdit.vue.js";
4
- import y from "../../../../../../_virtual/_plugin-vue_export-helper.js";
1
+ import { ref as f, openBlock as n, createElementBlock as a, createElementVNode as e, toDisplayString as o, createVNode as c, Transition as v, withCtx as u, Fragment as m, renderList as p, createTextVNode as _, createCommentVNode as h } from "vue";
2
+ import { useRouter as x } from "vue-router";
3
+ import g from "../../../icons/navigation/IconEdit.vue.js";
4
+ import w from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
5
  import "./CardLeftover.vue2.js";
6
- const d = (t) => (w("data-v-2c7e60d9"), t = t(), g(), t), I = { class: "flex-column flex-wrap block" }, N = { class: "w-100 mn-thin flex" }, E = { class: "p-big" }, L = /* @__PURE__ */ d(() => /* @__PURE__ */ e("p", { class: "p-small" }, null, -1)), S = /* @__PURE__ */ d(() => /* @__PURE__ */ e("hr", { class: "mn-t-small mn-thin" }, null, -1)), V = { class: "w-100 spoiler" }, $ = { key: 0 }, q = { class: "w-100 mn-thin flex" }, B = { class: "w-50 flex" }, O = { class: "t-right w-50 flex" }, T = { class: "w-100" }, b = { class: "t-transp" }, j = {
6
+ const k = { class: "flex-column pos-relative flex-wrap block" }, C = { class: "w-100 mn-b-thin flex" }, y = { class: "p-big" }, N = { class: "w-100 spoiler" }, b = { key: 0 }, E = { class: "w-100 mn-b-thin flex" }, L = { class: "w-50 flex" }, V = { class: "t-right w-50 flex" }, $ = { class: "w-100" }, q = { class: "t-transp" }, z = {
7
7
  __name: "CardLeftover",
8
8
  props: {
9
9
  leftover: Object
10
10
  },
11
11
  setup(t) {
12
- k();
13
- const i = u(!1);
14
- function p(s, o) {
15
- return o[s % 100 > 4 && s % 100 < 20 ? 2 : [2, 0, 1, 1, 1, 2][s % 10 < 5 ? s % 10 : 5]];
12
+ x();
13
+ const i = f(!1);
14
+ function d(s, l) {
15
+ return l[s % 100 > 4 && s % 100 < 20 ? 2 : [2, 0, 1, 1, 1, 2][s % 10 < 5 ? s % 10 : 5]];
16
16
  }
17
- return (s, o) => (a(), r("div", I, [
18
- e("div", N, [
19
- e("div", null, [
20
- e("p", E, l(t.leftover.type) + " #" + l(t.leftover._id), 1),
21
- L
22
- ]),
23
- e("div", null, [
24
- c(C, {
25
- onClick: o[0] || (o[0] = (n) => s.$router.push({
26
- name: "LeftoverEdit",
27
- params: {
28
- _id: t.leftover._id
29
- }
30
- })),
31
- class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
32
- })
33
- ]),
34
- S
17
+ return (s, l) => (n(), a("div", k, [
18
+ e("div", C, [
19
+ e("p", y, o(t.leftover.type) + " #" + o(t.leftover._id) + " " + o(t.leftover.organization), 1),
20
+ c(g, {
21
+ onClick: l[0] || (l[0] = (r) => s.$router.push({
22
+ name: "LeftoverEdit",
23
+ params: {
24
+ _id: t.leftover.organization,
25
+ leftover: t.leftover._id
26
+ }
27
+ })),
28
+ class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
29
+ })
35
30
  ]),
36
- e("div", V, [
31
+ e("div", N, [
37
32
  e("div", {
38
- onClick: o[1] || (o[1] = (n) => i.value = !i.value),
39
- class: "mn-small flex"
33
+ onClick: l[1] || (l[1] = (r) => i.value = !i.value),
34
+ class: "mn-b-small flex"
40
35
  }, [
41
- e("span", null, "Всего товаров " + l(t.leftover.positions.length), 1)
36
+ e("span", null, "Всего товаров " + o(t.leftover.positions.length), 1)
42
37
  ]),
43
- c(f, { name: "fade" }, {
44
- default: m(() => [
45
- i.value ? (a(), r("div", $, [
46
- (a(!0), r(v, null, _(t.leftover.positions, (n) => (a(), r("div", q, [
47
- e("div", B, [
48
- e("span", null, l(n.name), 1)
38
+ c(v, { name: "fade" }, {
39
+ default: u(() => [
40
+ i.value ? (n(), a("div", b, [
41
+ (n(!0), a(m, null, p(t.leftover.positions, (r) => (n(), a("div", E, [
42
+ e("div", L, [
43
+ e("span", null, o(r.name), 1)
49
44
  ]),
50
- e("div", O, [
51
- e("span", T, [
52
- h(l(n.quantity) + " ", 1),
53
- e("span", b, l(p(n.quantity, ["единица", " единицы", " единиц"])), 1)
45
+ e("div", V, [
46
+ e("span", $, [
47
+ _(o(r.quantity) + " ", 1),
48
+ e("span", q, o(d(r.quantity, ["единица", " единицы", " единиц"])), 1)
54
49
  ])
55
50
  ])
56
51
  ]))), 256))
57
- ])) : x("", !0)
52
+ ])) : h("", !0)
58
53
  ]),
59
54
  _: 1
60
55
  })
61
56
  ])
62
57
  ]));
63
58
  }
64
- }, G = /* @__PURE__ */ y(j, [["__scopeId", "data-v-2c7e60d9"]]);
59
+ }, D = /* @__PURE__ */ w(z, [["__scopeId", "data-v-5c28c501"]]);
65
60
  export {
66
- G as default
61
+ D as default
67
62
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../../../components/Field/Field.vue2.cjs"),m=require("../../../../components/Select/Select.vue2.cjs"),b=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),f=["disabled"],v={__name:"CardPosition",props:{product:Object,products:Array,quantity:Number,type:String,price:Number},emits:["add","remove"],setup(n,{emit:i}){const u=e.ref(null),a=e.ref(null),d=e.ref("pcs"),r=e.ref(null),s=e.computed(()=>u.value&&a.value>0&&r.value>0);function c(){i("add",{product:u.value,price:r.value,quantity:a.value,type:d.value})}return(p,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(b.default,{modelValue:u.value,"onUpdate:modelValue":l[0]||(l[0]=t=>u.value=t),options:n.products,label:"name",multiple:!1,taggable:!1,placeholder:"Select a product",class:"bg-grey pd-medium radius-small"},null,8,["modelValue","options"]),e.createVNode(o.default,{field:r.value,"onUpdate:field":l[1]||(l[1]=t=>r.value=t),type:"number",label:"Price",symbol:p.returnCurrency(),class:"bg-grey pd-medium radius-small"},null,8,["field","symbol"]),e.createVNode(o.default,{field:a.value,"onUpdate:field":l[3]||(l[3]=t=>a.value=t),type:"number",label:"Quantity",class:"bg-grey pd-medium radius-small"},{default:e.withCtx(()=>[e.createVNode(m.default,{select:d.value,"onUpdate:select":l[2]||(l[2]=t=>d.value=t),options:["pcs","g","ml"],class:"bg-white pd-thin radius-thin"},null,8,["select"])]),_:1},8,["field"]),e.createElementVNode("button",{disabled:!e.unref(s),onClick:c,class:"bg-main button"}," Add ",8,f)],64))}};exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("../../../../components/Field/Field.vue2.cjs"),y=require("../../../../components/Select/Select.vue.cjs"),b=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),g=require("../../../icons/navigation/IconAdd.vue.cjs"),V=require("../../../icons/navigation/IconDelete.vue.cjs"),q={class:"gap-thin flex-nowrap flex"},k=["disabled"],N={__name:"CardPosition",props:{product:Object,array:Array,products:Array},emits:["add","delete","update"],setup(c,{emit:i}){const t=c,s=i,l=e.ref(null),a=e.ref(null),d=e.ref("pcs"),u=e.ref(null),p=e.computed(()=>l.value&&a.value>0&&u.value>0);e.watch(t.array,()=>{l.value=t.product,a.value=t.product.quantity,u.value=t.product.price,d.value=t.product.type}),t.product&&(l.value=t.product,a.value=t.product.quantity,u.value=t.product.price,d.value=t.product.type),e.watch([l,a,u,d],()=>{s("update",{...l.value,price:u.value,quantity:a.value,type:d.value})});function m(){s("add",{...l.value,price:u.value,quantity:a.value,type:d.value})}function v(){s("delete",{...l.value,price:u.value,quantity:a.value,type:d.value})}return(f,r)=>(e.openBlock(),e.createElementBlock("div",q,[e.createVNode(b.default,{modelValue:l.value,"onUpdate:modelValue":r[0]||(r[0]=o=>l.value=o),options:c.products,label:"name",multiple:!1,taggable:!1,placeholder:"Select a product",class:"bg-white h-100 pd-small radius-small"},null,8,["modelValue","options"]),e.createVNode(n.default,{field:u.value,"onUpdate:field":r[1]||(r[1]=o=>u.value=o),type:"number",label:"Price",symbol:f.returnCurrency(),class:"bg-white pd-small radius-small"},null,8,["field","symbol"]),e.createVNode(n.default,{field:a.value,"onUpdate:field":r[3]||(r[3]=o=>a.value=o),type:"number",label:"Quantity",class:"bg-white pd-small radius-small"},{default:e.withCtx(()=>[e.createVNode(y.default,{select:d.value,"onUpdate:select":r[2]||(r[2]=o=>d.value=o),options:["pcs","g","ml"],class:"bg-grey pd-thin radius-thin"},null,8,["select"])]),_:1},8,["field"]),c.product?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,disabled:!p.value,onClick:m,class:"bg-main aspect-1x1 radius-small pd-small"},[e.createVNode(e.unref(g.default),{class:"i-semi"})],8,k)),c.product?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:v,class:"bg-red aspect-1x1 radius-small pd-small"},[e.createVNode(e.unref(V.default),{class:"i-semi"})])):e.createCommentVNode("",!0)]))}};exports.default=N;
@@ -1,80 +1,109 @@
1
- import { ref as o, computed as b, openBlock as f, createElementBlock as y, Fragment as v, createVNode as d, withCtx as g, createElementVNode as V, unref as P } from "vue";
2
- import i from "../../../../components/Field/Field.vue2.js";
3
- import C from "../../../../components/Select/Select.vue2.js";
4
- import N from "../../../../components/SelectMulti/SelectMulti.vue.js";
5
- const S = ["disabled"], w = {
1
+ import { ref as i, computed as C, watch as m, openBlock as c, createElementBlock as n, createVNode as d, withCtx as P, unref as v, createCommentVNode as f } from "vue";
2
+ import y from "../../../../components/Field/Field.vue2.js";
3
+ import V from "../../../../components/Select/Select.vue.js";
4
+ import h from "../../../../components/SelectMulti/SelectMulti.vue.js";
5
+ import q from "../../../icons/navigation/IconAdd.vue.js";
6
+ import S from "../../../icons/navigation/IconDelete.vue.js";
7
+ const U = { class: "gap-thin flex-nowrap flex" }, Q = ["disabled"], F = {
6
8
  __name: "CardPosition",
7
9
  props: {
8
10
  product: Object,
9
- products: Array,
10
- quantity: Number,
11
- type: String,
12
- price: Number
11
+ array: Array,
12
+ products: Array
13
13
  },
14
14
  emits: [
15
15
  "add",
16
- "remove"
16
+ "delete",
17
+ "update"
17
18
  ],
18
- setup(n, { emit: s }) {
19
- const t = o(null), u = o(null), r = o("pcs"), a = o(null), p = b(
20
- () => t.value && u.value > 0 && a.value > 0
19
+ setup(s, { emit: b }) {
20
+ const e = s, p = b, l = i(null), t = i(null), u = i("pcs"), a = i(null), g = C(
21
+ () => l.value && t.value > 0 && a.value > 0
21
22
  );
22
- function m() {
23
- s("add", {
24
- product: t.value,
23
+ m(e.array, () => {
24
+ l.value = e.product, t.value = e.product.quantity, a.value = e.product.price, u.value = e.product.type;
25
+ }), e.product && (l.value = e.product, t.value = e.product.quantity, a.value = e.product.price, u.value = e.product.type), m([l, t, a, u], () => {
26
+ p("update", {
27
+ ...l.value,
25
28
  price: a.value,
26
- quantity: u.value,
27
- type: r.value
29
+ quantity: t.value,
30
+ type: u.value
31
+ });
32
+ });
33
+ function k() {
34
+ p("add", {
35
+ ...l.value,
36
+ price: a.value,
37
+ quantity: t.value,
38
+ type: u.value
39
+ });
40
+ }
41
+ function w() {
42
+ p("delete", {
43
+ ...l.value,
44
+ price: a.value,
45
+ quantity: t.value,
46
+ type: u.value
28
47
  });
29
48
  }
30
- return (c, e) => (f(), y(v, null, [
31
- d(N, {
32
- modelValue: t.value,
33
- "onUpdate:modelValue": e[0] || (e[0] = (l) => t.value = l),
34
- options: n.products,
49
+ return (x, o) => (c(), n("div", U, [
50
+ d(h, {
51
+ modelValue: l.value,
52
+ "onUpdate:modelValue": o[0] || (o[0] = (r) => l.value = r),
53
+ options: s.products,
35
54
  label: "name",
36
55
  multiple: !1,
37
56
  taggable: !1,
38
57
  placeholder: "Select a product",
39
- class: "bg-grey pd-medium radius-small"
58
+ class: "bg-white h-100 pd-small radius-small"
40
59
  }, null, 8, ["modelValue", "options"]),
41
- d(i, {
60
+ d(y, {
42
61
  field: a.value,
43
- "onUpdate:field": e[1] || (e[1] = (l) => a.value = l),
62
+ "onUpdate:field": o[1] || (o[1] = (r) => a.value = r),
44
63
  type: "number",
45
64
  label: "Price",
46
- symbol: c.returnCurrency(),
47
- class: "bg-grey pd-medium radius-small"
65
+ symbol: x.returnCurrency(),
66
+ class: "bg-white pd-small radius-small"
48
67
  }, null, 8, ["field", "symbol"]),
49
- d(i, {
50
- field: u.value,
51
- "onUpdate:field": e[3] || (e[3] = (l) => u.value = l),
68
+ d(y, {
69
+ field: t.value,
70
+ "onUpdate:field": o[3] || (o[3] = (r) => t.value = r),
52
71
  type: "number",
53
72
  label: "Quantity",
54
- class: "bg-grey pd-medium radius-small"
73
+ class: "bg-white pd-small radius-small"
55
74
  }, {
56
- default: g(() => [
57
- d(C, {
58
- select: r.value,
59
- "onUpdate:select": e[2] || (e[2] = (l) => r.value = l),
75
+ default: P(() => [
76
+ d(V, {
77
+ select: u.value,
78
+ "onUpdate:select": o[2] || (o[2] = (r) => u.value = r),
60
79
  options: [
61
80
  "pcs",
62
81
  "g",
63
82
  "ml"
64
83
  ],
65
- class: "bg-white pd-thin radius-thin"
84
+ class: "bg-grey pd-thin radius-thin"
66
85
  }, null, 8, ["select"])
67
86
  ]),
68
87
  _: 1
69
88
  }, 8, ["field"]),
70
- V("button", {
71
- disabled: !P(p),
72
- onClick: m,
73
- class: "bg-main button"
74
- }, " Add ", 8, S)
75
- ], 64));
89
+ s.product ? f("", !0) : (c(), n("button", {
90
+ key: 0,
91
+ disabled: !g.value,
92
+ onClick: k,
93
+ class: "bg-main aspect-1x1 radius-small pd-small"
94
+ }, [
95
+ d(v(q), { class: "i-semi" })
96
+ ], 8, Q)),
97
+ s.product ? (c(), n("button", {
98
+ key: 1,
99
+ onClick: w,
100
+ class: "bg-red aspect-1x1 radius-small pd-small"
101
+ }, [
102
+ d(v(S), { class: "i-semi" })
103
+ ])) : f("", !0)
104
+ ]));
76
105
  }
77
106
  };
78
107
  export {
79
- w as default
108
+ F as default
80
109
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-i18n"),l=require("../elements/THC.vue.cjs"),n=require("../elements/Price.vue.cjs");require("./CardProduct.vue2.cjs");const i=["src"],r={key:1,class:"h-100 w-100",style:{"object-fit":"cover"},width:"524",height:"345",viewBox:"0 0 524 345",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a=e.createElementVNode("rect",{width:"524",height:"345",fill:"white"},null,-1),d=e.createElementVNode("rect",{width:"524",height:"345",fill:"white"},null,-1),s=e.createElementVNode("circle",{cx:"262",cy:"172",r:"56",fill:"#00ff88","fill-opacity":"0.1"},null,-1),u=e.createElementVNode("path",{fill:"#00ff88",d:"M229.348 186.819C230.243 191.884 233.393 194.231 238.458 193.273V193.644C238.458 198.832 241.206 201.581 246.364 201.581H291.545C296.733 201.581 299.481 198.74 299.481 193.644V162.576C299.481 157.481 296.733 154.64 291.545 154.64H285.677L284.071 145.653C283.175 140.619 279.995 138.303 274.899 139.198L230.398 147.043C225.302 147.969 223.048 151.15 223.943 156.246L229.348 186.819ZM230.83 186.479L225.456 156.06C224.715 151.86 226.537 149.266 230.737 148.525L275.084 140.712C279.13 140.001 281.848 141.762 282.62 145.993L284.102 154.64H246.364C241.206 154.64 238.458 157.419 238.458 162.576V191.729L238.365 191.76C234.165 192.532 231.571 190.679 230.83 186.479ZM239.971 162.669C239.971 158.376 242.164 156.153 246.456 156.153H291.483C295.59 156.153 297.968 158.376 297.968 162.669V190.093L284.565 177.894C283.145 176.597 281.662 175.856 279.809 175.856C277.987 175.856 276.628 176.566 275.146 177.863L262.052 189.073L257.142 184.565C255.875 183.36 254.764 182.743 253.158 182.743C251.675 182.743 250.656 183.36 249.39 184.503L239.971 193.212V162.669ZM257.636 178.419C261.373 178.419 264.43 175.3 264.43 171.471C264.43 167.734 261.373 164.584 257.636 164.584C253.806 164.584 250.718 167.734 250.718 171.471C250.718 175.3 253.806 178.419 257.636 178.419Z"},null,-1),m=[a,d,s,u],h={class:"pd-medium t-left product-card-content"},C={class:"mn-b-thin h4"},f={key:1,class:"mn-b-small t-transp p-small"},g=e.createElementVNode("div",null,null,-1),k={__name:"CardProduct",props:["product"],setup(t){return c.useI18n(),(o,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["radius-big product",t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-black t-white":"bg-white"])},[e.createElementVNode("div",{class:e.normalizeClass(["o-hidden w-100 h-100 square",t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-black":"bg-white"])},[t.product.images[0]?(e.openBlock(),e.createElementBlock("img",{key:0,src:(o.FILE_SERVER_URL||"")+t.product.images[0],class:"w-100 h-100"},null,8,i)):(e.openBlock(),e.createElementBlock("svg",r,m)),t.product.information.length>0?(e.openBlock(),e.createBlock(l.default,{key:2,product:t.product},null,8,["product"])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",h,[t.product.information.length>0?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["t-semi h6",t.product.information[2]&&t.product.information[2].value==="AAAA"?"t-violet":"t-main"])},e.toDisplayString(t.product.information[0].value),3)):e.createCommentVNode("",!0),e.createElementVNode("p",C,e.toDisplayString(t.product.name),1),t.product.description&&!t.product.localization?(e.openBlock(),e.createElementBlock("p",f,e.toDisplayString(t.product.description.substring(0,99))+"... ",1)):e.createCommentVNode("",!0),e.createVNode(n.default,{product:t.product,size:"small",class:e.normalizeClass(t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-third t-white":"")},null,8,["product","class"])]),g],2))}};exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-i18n"),a=require("../elements/THC.vue.cjs"),n=require("../elements/Price.vue.cjs"),l=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),i=["src"],r={class:"pd-medium t-left product-card-content"},u={class:"mn-b-thin t-semi h4"},d={key:1,class:"mn-b-small t-transp p-small"},s={__name:"CardProduct",props:["product"],setup(t){return c.useI18n(),(o,m)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["radius-big cols-1 o-hidden",t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-black t-white":"bg-white"])},[e.createElementVNode("div",{class:e.normalizeClass(["o-hidden w-100 pos-relative aspect-1x1",t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-black":"bg-white"])},[t.product.images[0]?(e.openBlock(),e.createElementBlock("img",{key:0,src:(o.FILE_SERVER_URL||"")+t.product.images[0],class:"pos-absolute object-fit-cover h-max-100 w-100"},null,8,i)):(e.openBlock(),e.createBlock(l.default,{key:1,class:"pos-absolute h-100 w-100"})),t.product.information.length>0?(e.openBlock(),e.createBlock(a.default,{key:2,product:t.product},null,8,["product"])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",r,[t.product.information.length>0?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["t-semi h6",t.product.information[2]&&t.product.information[2].value==="AAAA"?"t-violet":"t-main"])},e.toDisplayString(t.product.information[0].value),3)):e.createCommentVNode("",!0),e.createElementVNode("p",u,e.toDisplayString(t.product.name),1),t.product.description&&!t.product.localization?(e.openBlock(),e.createElementBlock("p",d,e.toDisplayString(t.product.description.substring(0,99))+"... ",1)):e.createCommentVNode("",!0),e.createVNode(n.default,{product:t.product,size:"small",class:e.normalizeClass(t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-third t-white":"")},null,8,["product","class"])])],2))}};exports.default=s;
@@ -1,90 +1,61 @@
1
- import { openBlock as o, createElementBlock as e, normalizeClass as c, createElementVNode as i, createBlock as d, createCommentVNode as n, toDisplayString as l, createVNode as a } from "vue";
2
- import { useI18n as s } from "vue-i18n";
3
- import u from "../elements/THC.vue.js";
4
- import m from "../elements/Price.vue.js";
5
- import "./CardProduct.vue2.js";
6
- const h = ["src"], f = {
7
- key: 1,
8
- class: "h-100 w-100",
9
- style: { "object-fit": "cover" },
10
- width: "524",
11
- height: "345",
12
- viewBox: "0 0 524 345",
13
- fill: "none",
14
- xmlns: "http://www.w3.org/2000/svg"
15
- }, C = /* @__PURE__ */ i("rect", {
16
- width: "524",
17
- height: "345",
18
- fill: "white"
19
- }, null, -1), g = /* @__PURE__ */ i("rect", {
20
- width: "524",
21
- height: "345",
22
- fill: "white"
23
- }, null, -1), w = /* @__PURE__ */ i("circle", {
24
- cx: "262",
25
- cy: "172",
26
- r: "56",
27
- fill: "#00ff88",
28
- "fill-opacity": "0.1"
29
- }, null, -1), A = /* @__PURE__ */ i("path", {
30
- fill: "#00ff88",
31
- d: "M229.348 186.819C230.243 191.884 233.393 194.231 238.458 193.273V193.644C238.458 198.832 241.206 201.581 246.364 201.581H291.545C296.733 201.581 299.481 198.74 299.481 193.644V162.576C299.481 157.481 296.733 154.64 291.545 154.64H285.677L284.071 145.653C283.175 140.619 279.995 138.303 274.899 139.198L230.398 147.043C225.302 147.969 223.048 151.15 223.943 156.246L229.348 186.819ZM230.83 186.479L225.456 156.06C224.715 151.86 226.537 149.266 230.737 148.525L275.084 140.712C279.13 140.001 281.848 141.762 282.62 145.993L284.102 154.64H246.364C241.206 154.64 238.458 157.419 238.458 162.576V191.729L238.365 191.76C234.165 192.532 231.571 190.679 230.83 186.479ZM239.971 162.669C239.971 158.376 242.164 156.153 246.456 156.153H291.483C295.59 156.153 297.968 158.376 297.968 162.669V190.093L284.565 177.894C283.145 176.597 281.662 175.856 279.809 175.856C277.987 175.856 276.628 176.566 275.146 177.863L262.052 189.073L257.142 184.565C255.875 183.36 254.764 182.743 253.158 182.743C251.675 182.743 250.656 183.36 249.39 184.503L239.971 193.212V162.669ZM257.636 178.419C261.373 178.419 264.43 175.3 264.43 171.471C264.43 167.734 261.373 164.584 257.636 164.584C253.806 164.584 250.718 167.734 250.718 171.471C250.718 175.3 253.806 178.419 257.636 178.419Z"
32
- }, null, -1), v = [
33
- C,
34
- g,
35
- w,
36
- A
37
- ], L = { class: "pd-medium t-left product-card-content" }, b = { class: "mn-b-thin h4" }, p = {
1
+ import { openBlock as o, createElementBlock as e, normalizeClass as c, createElementVNode as i, createBlock as r, createCommentVNode as a, toDisplayString as n, createVNode as l } from "vue";
2
+ import { useI18n as u } from "vue-i18n";
3
+ import m from "../elements/THC.vue.js";
4
+ import s from "../elements/Price.vue.js";
5
+ import f from "../../../icons/placeholders/PlaceholderImage.vue.js";
6
+ const h = ["src"], A = { class: "pd-medium t-left product-card-content" }, b = { class: "mn-b-thin t-semi h4" }, g = {
38
7
  key: 1,
39
8
  class: "mn-b-small t-transp p-small"
40
- }, k = /* @__PURE__ */ i("div", null, null, -1), M = {
9
+ }, V = {
41
10
  __name: "CardProduct",
42
11
  props: ["product"],
43
12
  setup(t) {
44
- return s(), (r, y) => (o(), e("div", {
13
+ return u(), (d, p) => (o(), e("div", {
45
14
  class: c([
46
- "radius-big product",
15
+ "radius-big cols-1 o-hidden",
47
16
  t.product.information[2] && t.product.information[2].value === "AAAA" ? "bg-black t-white" : "bg-white"
48
17
  ])
49
18
  }, [
50
19
  i("div", {
51
20
  class: c([
52
- "o-hidden w-100 h-100 square",
21
+ "o-hidden w-100 pos-relative aspect-1x1",
53
22
  t.product.information[2] && t.product.information[2].value === "AAAA" ? "bg-black" : "bg-white"
54
23
  ])
55
24
  }, [
56
25
  t.product.images[0] ? (o(), e("img", {
57
26
  key: 0,
58
- src: (r.FILE_SERVER_URL || "") + t.product.images[0],
59
- class: "w-100 h-100"
60
- }, null, 8, h)) : (o(), e("svg", f, v)),
61
- t.product.information.length > 0 ? (o(), d(u, {
27
+ src: (d.FILE_SERVER_URL || "") + t.product.images[0],
28
+ class: "pos-absolute object-fit-cover h-max-100 w-100"
29
+ }, null, 8, h)) : (o(), r(f, {
30
+ key: 1,
31
+ class: "pos-absolute h-100 w-100"
32
+ })),
33
+ t.product.information.length > 0 ? (o(), r(m, {
62
34
  key: 2,
63
35
  product: t.product
64
- }, null, 8, ["product"])) : n("", !0)
36
+ }, null, 8, ["product"])) : a("", !0)
65
37
  ], 2),
66
- i("div", L, [
38
+ i("div", A, [
67
39
  t.product.information.length > 0 ? (o(), e("p", {
68
40
  key: 0,
69
41
  class: c([
70
42
  "t-semi h6",
71
43
  t.product.information[2] && t.product.information[2].value === "AAAA" ? "t-violet" : "t-main"
72
44
  ])
73
- }, l(t.product.information[0].value), 3)) : n("", !0),
74
- i("p", b, l(t.product.name), 1),
75
- t.product.description && !t.product.localization ? (o(), e("p", p, l(t.product.description.substring(0, 99)) + "... ", 1)) : n("", !0),
76
- a(m, {
45
+ }, n(t.product.information[0].value), 3)) : a("", !0),
46
+ i("p", b, n(t.product.name), 1),
47
+ t.product.description && !t.product.localization ? (o(), e("p", g, n(t.product.description.substring(0, 99)) + "... ", 1)) : a("", !0),
48
+ l(s, {
77
49
  product: t.product,
78
50
  size: "small",
79
51
  class: c(
80
52
  t.product.information[2] && t.product.information[2].value === "AAAA" ? "bg-third t-white" : ""
81
53
  )
82
54
  }, null, 8, ["product", "class"])
83
- ]),
84
- k
55
+ ])
85
56
  ], 2));
86
57
  }
87
58
  };
88
59
  export {
89
- M as default
60
+ V as default
90
61
  };