@win2win/shared-ui 0.3.240 → 0.3.242

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/dist/w2w-shared-ui.js +26029 -0
  2. package/dist/w2w-shared-ui.umd.cjs +48 -0
  3. package/package.json +5 -21
  4. package/dist/_virtual/ProductPrice.js +0 -4
  5. package/dist/_virtual/_commonjsHelpers.js +0 -4
  6. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  7. package/dist/_virtual/archivo.js +0 -4
  8. package/dist/_virtual/canal-props.js +0 -4
  9. package/dist/_virtual/captacion.js +0 -4
  10. package/dist/_virtual/captacion2.js +0 -4
  11. package/dist/_virtual/comision.js +0 -4
  12. package/dist/_virtual/conditions.js +0 -4
  13. package/dist/_virtual/control-types.js +0 -4
  14. package/dist/_virtual/countries.js +0 -4
  15. package/dist/_virtual/estado-effect.js +0 -4
  16. package/dist/_virtual/estado-rule.js +0 -4
  17. package/dist/_virtual/estado.js +0 -4
  18. package/dist/_virtual/flag.js +0 -4
  19. package/dist/_virtual/formatters.js +0 -4
  20. package/dist/_virtual/gama.js +0 -4
  21. package/dist/_virtual/garantia.js +0 -4
  22. package/dist/_virtual/iban.js +0 -4
  23. package/dist/_virtual/id.js +0 -4
  24. package/dist/_virtual/import_schema.js +0 -4
  25. package/dist/_virtual/importacion.js +0 -4
  26. package/dist/_virtual/index.js +0 -4
  27. package/dist/_virtual/index10.js +0 -4
  28. package/dist/_virtual/index11.js +0 -4
  29. package/dist/_virtual/index12.js +0 -4
  30. package/dist/_virtual/index13.js +0 -4
  31. package/dist/_virtual/index14.js +0 -4
  32. package/dist/_virtual/index15.js +0 -4
  33. package/dist/_virtual/index16.js +0 -4
  34. package/dist/_virtual/index17.js +0 -4
  35. package/dist/_virtual/index18.js +0 -4
  36. package/dist/_virtual/index2.js +0 -4
  37. package/dist/_virtual/index3.js +0 -4
  38. package/dist/_virtual/index4.js +0 -4
  39. package/dist/_virtual/index5.js +0 -4
  40. package/dist/_virtual/index6.js +0 -4
  41. package/dist/_virtual/index7.js +0 -4
  42. package/dist/_virtual/index8.js +0 -4
  43. package/dist/_virtual/index9.js +0 -4
  44. package/dist/_virtual/item-liquidable.js +0 -4
  45. package/dist/_virtual/landing.js +0 -4
  46. package/dist/_virtual/languages.js +0 -4
  47. package/dist/_virtual/layout.js +0 -4
  48. package/dist/_virtual/layout2.js +0 -4
  49. package/dist/_virtual/liquidacion.js +0 -4
  50. package/dist/_virtual/liquidaciones.js +0 -4
  51. package/dist/_virtual/llamada.js +0 -4
  52. package/dist/_virtual/lodash.js +0 -4
  53. package/dist/_virtual/mappers.js +0 -4
  54. package/dist/_virtual/notificacion.js +0 -4
  55. package/dist/_virtual/options.js +0 -4
  56. package/dist/_virtual/page_sections.js +0 -4
  57. package/dist/_virtual/partner.js +0 -4
  58. package/dist/_virtual/pedido.js +0 -4
  59. package/dist/_virtual/perfiles.js +0 -4
  60. package/dist/_virtual/permisos.js +0 -4
  61. package/dist/_virtual/producto.js +0 -4
  62. package/dist/_virtual/producto2.js +0 -4
  63. package/dist/_virtual/query-params.js +0 -4
  64. package/dist/_virtual/regla.js +0 -4
  65. package/dist/_virtual/resultado.js +0 -4
  66. package/dist/_virtual/seguimiento.js +0 -4
  67. package/dist/_virtual/shared-types.js +0 -4
  68. package/dist/_virtual/shared.js +0 -4
  69. package/dist/_virtual/timestamp.js +0 -4
  70. package/dist/_virtual/validators.js +0 -4
  71. package/dist/_virtual/validators2.js +0 -4
  72. package/dist/_virtual/visibility.js +0 -4
  73. package/dist/components/Common/Button.vue.js +0 -52
  74. package/dist/components/Common/Button.vue2.js +0 -4
  75. package/dist/components/Common/Card.vue.js +0 -7
  76. package/dist/components/Common/Card.vue2.js +0 -66
  77. package/dist/components/Common/DynamicCarousel.vue.js +0 -102
  78. package/dist/components/Common/DynamicCarousel.vue3.js +0 -5
  79. package/dist/components/Common/FlagsIcons.vue.js +0 -7
  80. package/dist/components/Common/FlagsIcons.vue2.js +0 -45
  81. package/dist/components/Common/GeneratingError.vue.js +0 -25
  82. package/dist/components/Common/GeneratingError.vue2.js +0 -4
  83. package/dist/components/Common/GeneratingLoader.vue.js +0 -25
  84. package/dist/components/Common/GeneratingLoader.vue2.js +0 -4
  85. package/dist/components/Common/IconButton.vue.js +0 -7
  86. package/dist/components/Common/IconButton.vue2.js +0 -97
  87. package/dist/components/Common/IndicatorColor.vue.js +0 -7
  88. package/dist/components/Common/IndicatorColor.vue2.js +0 -20
  89. package/dist/components/Common/MenuButton.vue.js +0 -91
  90. package/dist/components/Common/MenuButton.vue2.js +0 -4
  91. package/dist/components/Common/SectionSpinner.vue.js +0 -7
  92. package/dist/components/Common/SectionSpinner.vue2.js +0 -36
  93. package/dist/components/Common/StateIndicator.vue.js +0 -7
  94. package/dist/components/Common/StateIndicator.vue2.js +0 -41
  95. package/dist/components/pdf/DomSection.vue.js +0 -19
  96. package/dist/components/pdf/DomSection.vue2.js +0 -4
  97. package/dist/components/pdf/PdfContainer.vue.js +0 -7
  98. package/dist/components/pdf/PdfContainer.vue2.js +0 -102
  99. package/dist/components/pdf/SectionWrapper.vue.js +0 -33
  100. package/dist/components/pdf/SectionWrapper.vue2.js +0 -4
  101. package/dist/components/pdf/SectionsContainer.vue.js +0 -9
  102. package/dist/components/pdf/SectionsContainer.vue2.js +0 -56
  103. package/dist/components/pdf/SectionsContainer.vue3.js +0 -6
  104. package/dist/components/pdf/helpers.js +0 -23
  105. package/dist/components/pdf/sections/Card.vue.js +0 -9
  106. package/dist/components/pdf/sections/Card.vue2.js +0 -52
  107. package/dist/components/pdf/sections/Card.vue3.js +0 -12
  108. package/dist/components/pdf/sections/CardGridSection.vue.js +0 -9
  109. package/dist/components/pdf/sections/CardGridSection.vue2.js +0 -30
  110. package/dist/components/pdf/sections/CardGridSection.vue3.js +0 -6
  111. package/dist/components/pdf/sections/ImageSection.vue.js +0 -9
  112. package/dist/components/pdf/sections/ImageSection.vue2.js +0 -26
  113. package/dist/components/pdf/sections/ImageSection.vue3.js +0 -6
  114. package/dist/components/pdf/sections/RadioButtonsSection.vue.js +0 -7
  115. package/dist/components/pdf/sections/RadioButtonsSection.vue2.js +0 -43
  116. package/dist/components/pdf/sections/SignatureSection.vue.js +0 -7
  117. package/dist/components/pdf/sections/SignatureSection.vue2.js +0 -115
  118. package/dist/components/pdf/sections/TableSection.vue.js +0 -9
  119. package/dist/components/pdf/sections/TableSection.vue2.js +0 -49
  120. package/dist/components/pdf/sections/TableSection.vue3.js +0 -6
  121. package/dist/components/pdf/sections/TextSection.vue.js +0 -9
  122. package/dist/components/pdf/sections/TextSection.vue2.js +0 -135
  123. package/dist/components/pdf/sections/TextSection.vue3.js +0 -11
  124. package/dist/components/pdf/sections/useData.js +0 -8
  125. package/dist/components/widgets/broker-card/BrokerCard.vue.js +0 -7
  126. package/dist/components/widgets/broker-card/BrokerCard.vue2.js +0 -171
  127. package/dist/components/widgets/broker-card/components/BrokerProps.vue.js +0 -7
  128. package/dist/components/widgets/broker-card/components/BrokerProps.vue2.js +0 -117
  129. package/dist/components/widgets/broker-card/mock-data.js +0 -452
  130. package/dist/components/widgets/broker-card/mock-props.js +0 -273
  131. package/dist/components/widgets/broker-card/schema.js +0 -11
  132. package/dist/components/widgets/broker-detail/BrokerDetail.vue.js +0 -7
  133. package/dist/components/widgets/broker-detail/BrokerDetail.vue2.js +0 -174
  134. package/dist/components/widgets/broker-detail/components/BrokertActions.vue.js +0 -7
  135. package/dist/components/widgets/broker-detail/components/BrokertActions.vue2.js +0 -31
  136. package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue.js +0 -7
  137. package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue2.js +0 -90
  138. package/dist/components/widgets/broker-detail/mock-data.js +0 -227
  139. package/dist/components/widgets/broker-detail/mock-props.js +0 -12
  140. package/dist/components/widgets/broker-detail/schema.js +0 -10
  141. package/dist/components/widgets/broker-detail/useContext.js +0 -32
  142. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.js +0 -7
  143. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue2.js +0 -249
  144. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue.js +0 -36
  145. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue2.js +0 -4
  146. package/dist/components/widgets/linvermedia-product-card/mock-data.js +0 -1121
  147. package/dist/components/widgets/linvermedia-product-card/mock-props.js +0 -20
  148. package/dist/components/widgets/linvermedia-product-card/schema.js +0 -13
  149. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue.js +0 -7
  150. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue2.js +0 -151
  151. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue.js +0 -7
  152. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue2.js +0 -90
  153. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue.js +0 -9
  154. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue2.js +0 -147
  155. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue.js +0 -37
  156. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue2.js +0 -4
  157. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue.js +0 -7
  158. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue2.js +0 -61
  159. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue.js +0 -7
  160. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue2.js +0 -56
  161. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue.js +0 -21
  162. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue2.js +0 -4
  163. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue.js +0 -7
  164. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue2.js +0 -91
  165. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue.js +0 -20
  166. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue2.js +0 -4
  167. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue.js +0 -7
  168. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue2.js +0 -49
  169. package/dist/components/widgets/linvermedia-product-detail/mock-data.js +0 -1005
  170. package/dist/components/widgets/linvermedia-product-detail/mock-props.js +0 -12
  171. package/dist/components/widgets/linvermedia-product-detail/schema.js +0 -11
  172. package/dist/components/widgets/linvermedia-product-detail/useContext.js +0 -43
  173. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue.js +0 -7
  174. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue2.js +0 -74
  175. package/dist/components/widgets/linvermedia-solicitud-card/mock-data.js +0 -580
  176. package/dist/components/widgets/linvermedia-solicitud-card/mock-props.js +0 -8
  177. package/dist/components/widgets/linvermedia-solicitud-card/schema.js +0 -5
  178. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue.js +0 -7
  179. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue2.js +0 -263
  180. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue.js +0 -21
  181. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue2.js +0 -4
  182. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue.js +0 -20
  183. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue2.js +0 -4
  184. package/dist/components/widgets/perdm-telephony-product-detail/mock-data.js +0 -1187
  185. package/dist/components/widgets/perdm-telephony-product-detail/mock-props.js +0 -12
  186. package/dist/components/widgets/perdm-telephony-product-detail/schema.js +0 -11
  187. package/dist/components/widgets/perdm-telephony-product-detail/useContext.js +0 -41
  188. package/dist/components/widgets/shared/LinvermediaGamaProps.js +0 -1688
  189. package/dist/components/widgets/shared/PerdmTelephonyGamaProps.js +0 -1688
  190. package/dist/components/widgets/shared/ProductPrice.vue.js +0 -7
  191. package/dist/components/widgets/shared/ProductPrice.vue2.js +0 -84
  192. package/dist/components/widgets/shared/ProductProps.vue.js +0 -294
  193. package/dist/components/widgets/shared/ProductProps.vue2.js +0 -4
  194. package/dist/components/widgets/shared/ProductTag.vue.js +0 -7
  195. package/dist/components/widgets/shared/ProductTag.vue2.js +0 -38
  196. package/dist/components/widgets/shared/helpers.js +0 -52
  197. package/dist/components/widgets/shared/schema.js +0 -17
  198. package/dist/components/widgets/shared/useWidgetEvent.js +0 -13
  199. package/dist/components/widgets/telephony-card/TelephonyCard.vue.js +0 -7
  200. package/dist/components/widgets/telephony-card/TelephonyCard.vue2.js +0 -292
  201. package/dist/components/widgets/telephony-card/mock-data.js +0 -1197
  202. package/dist/components/widgets/telephony-card/mock-props.js +0 -400
  203. package/dist/components/widgets/telephony-card/schema.js +0 -22
  204. package/dist/components/widgets/telmex-card/TelmexCard.vue.js +0 -7
  205. package/dist/components/widgets/telmex-card/TelmexCard.vue2.js +0 -232
  206. package/dist/components/widgets/telmex-card/mock-data.js +0 -1545
  207. package/dist/components/widgets/telmex-card/mock-props.js +0 -1332
  208. package/dist/components/widgets/telmex-card/schema.js +0 -22
  209. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue.js +0 -7
  210. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue2.js +0 -648
  211. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue.js +0 -7
  212. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue2.js +0 -316
  213. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue.js +0 -21
  214. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue2.js +0 -4
  215. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue.js +0 -20
  216. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue2.js +0 -4
  217. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue.js +0 -7
  218. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue2.js +0 -52
  219. package/dist/components/widgets/telmex-product-detail/mock-data.js +0 -1561
  220. package/dist/components/widgets/telmex-product-detail/mock-props.js +0 -10
  221. package/dist/components/widgets/telmex-product-detail/schema.js +0 -11
  222. package/dist/components/widgets/telmex-product-detail/useContext.js +0 -41
  223. package/dist/components.js +0 -31
  224. package/dist/composables/fetching/fetchUniqFactory.js +0 -21
  225. package/dist/composables/fetching/fetchUniqProvider.js +0 -15
  226. package/dist/composables/fetching/types.js +0 -11
  227. package/dist/composables/fetching/useFetch.js +0 -40
  228. package/dist/composables/fetching/useFetchPages.js +0 -101
  229. package/dist/composables/useDragAndDrop.js +0 -65
  230. package/dist/composables/utils.js +0 -11
  231. package/dist/composables.js +0 -17
  232. package/dist/index.js +0 -58
  233. package/dist/node_modules/@win2win/shared/dist/consts/countries.js +0 -1082
  234. package/dist/node_modules/@win2win/shared/dist/consts/index.js +0 -26
  235. package/dist/node_modules/@win2win/shared/dist/consts/languages.js +0 -173
  236. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/index.js +0 -18
  237. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/perfiles.js +0 -38
  238. package/dist/node_modules/@win2win/shared/dist/consts/permisos/index.js +0 -18
  239. package/dist/node_modules/@win2win/shared/dist/consts/permisos/permisos.js +0 -129
  240. package/dist/node_modules/@win2win/shared/dist/consts/visitas/index.js +0 -18
  241. package/dist/node_modules/@win2win/shared/dist/consts/visitas/resultado.js +0 -40
  242. package/dist/node_modules/@win2win/shared/dist/enums/captacion.js +0 -14
  243. package/dist/node_modules/@win2win/shared/dist/enums/garantia.js +0 -10
  244. package/dist/node_modules/@win2win/shared/dist/enums/importacion.js +0 -10
  245. package/dist/node_modules/@win2win/shared/dist/enums/index.js +0 -32
  246. package/dist/node_modules/@win2win/shared/dist/enums/liquidacion.js +0 -18
  247. package/dist/node_modules/@win2win/shared/dist/enums/notificacion.js +0 -10
  248. package/dist/node_modules/@win2win/shared/dist/enums/pedido.js +0 -10
  249. package/dist/node_modules/@win2win/shared/dist/enums/producto.js +0 -22
  250. package/dist/node_modules/@win2win/shared/dist/enums/shared.js +0 -10
  251. package/dist/node_modules/@win2win/shared/dist/helpers/ProductPrice.js +0 -61
  252. package/dist/node_modules/@win2win/shared/dist/helpers/formatters.js +0 -76
  253. package/dist/node_modules/@win2win/shared/dist/helpers/index.js +0 -22
  254. package/dist/node_modules/@win2win/shared/dist/helpers/validators.js +0 -15
  255. package/dist/node_modules/@win2win/shared/dist/index.js +0 -24
  256. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/canal-props.js +0 -5
  257. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/index.js +0 -18
  258. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-effect.js +0 -10
  259. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-rule.js +0 -23
  260. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado.js +0 -5
  261. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/flag.js +0 -10
  262. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/index.js +0 -26
  263. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/llamada.js +0 -18
  264. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/import_schema.js +0 -5
  265. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/index.js +0 -20
  266. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/layout.js +0 -7
  267. package/dist/node_modules/@win2win/shared/dist/interfaces/index.js +0 -34
  268. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/index.js +0 -20
  269. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/landing.js +0 -5
  270. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/page_sections.js +0 -270
  271. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/index.js +0 -18
  272. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/layout.js +0 -15
  273. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/comision.js +0 -11
  274. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/index.js +0 -24
  275. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/item-liquidable.js +0 -5
  276. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/liquidaciones.js +0 -10
  277. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/regla.js +0 -27
  278. package/dist/node_modules/@win2win/shared/dist/interfaces/props/conditions.js +0 -7
  279. package/dist/node_modules/@win2win/shared/dist/interfaces/props/control-types.js +0 -27
  280. package/dist/node_modules/@win2win/shared/dist/interfaces/props/index.js +0 -28
  281. package/dist/node_modules/@win2win/shared/dist/interfaces/props/mappers.js +0 -5
  282. package/dist/node_modules/@win2win/shared/dist/interfaces/props/options.js +0 -5
  283. package/dist/node_modules/@win2win/shared/dist/interfaces/props/validators.js +0 -85
  284. package/dist/node_modules/@win2win/shared/dist/interfaces/props/visibility.js +0 -5
  285. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/archivo.js +0 -5
  286. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/captacion.js +0 -5
  287. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/gama.js +0 -5
  288. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/index.js +0 -28
  289. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/partner.js +0 -5
  290. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/producto.js +0 -5
  291. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/seguimiento.js +0 -17
  292. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/id.js +0 -5
  293. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/index.js +0 -24
  294. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/query-params.js +0 -5
  295. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/shared-types.js +0 -5
  296. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/timestamp.js +0 -10
  297. package/dist/node_modules/better-dni/dist/index.js +0 -67
  298. package/dist/node_modules/iban/iban.js +0 -114
  299. package/dist/node_modules/lodash/lodash.js +0 -3676
  300. package/dist/widgets.js +0 -154
@@ -1,20 +0,0 @@
1
- import { PROPS as e } from "../shared/LinvermediaGamaProps.js";
2
- const o = {
3
- isPublic: !0,
4
- data: {},
5
- gamaProps: e,
6
- fetching: !1,
7
- descriptionLines: 4,
8
- scale: 1,
9
- hiddenProps: [
10
- "compatible_videowall",
11
- "doble_cara",
12
- "peso_kg",
13
- "gran_formato_independiente",
14
- "tasa_de_refresco_hz",
15
- "resolucion"
16
- ]
17
- };
18
- export {
19
- o as default
20
- };
@@ -1,13 +0,0 @@
1
- import { z as o } from "zod";
2
- import { WidgetPropsSchema as r } from "../shared/schema.js";
3
- const i = r.extend({
4
- descriptionLines: o.number().optional(),
5
- hiddenProps: o.array(o.string()).optional(),
6
- count: o.number().optional(),
7
- gamaProps: o.array(o.record(o.string(), o.any())),
8
- showPrice: o.function().optional(),
9
- autoplay: o.boolean().optional()
10
- });
11
- export {
12
- i as LinvermediaProductCardPropsSchema
13
- };
@@ -1,7 +0,0 @@
1
- import o from "./LinvermediaProductDetail.vue2.js";
2
- /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-706353fc"]]);
5
- export {
6
- i as default
7
- };
@@ -1,151 +0,0 @@
1
- import { defineComponent as U, computed as u, provide as V, ref as P, toRefs as q, watch as z, resolveComponent as T, createElementBlock as A, openBlock as c, Fragment as K, createElementVNode as o, createBlock as d, createCommentVNode as m, unref as i, createVNode as t, toDisplayString as y } from "vue";
2
- import G from "../../Common/DynamicCarousel.vue.js";
3
- /* empty css */
4
- import J from "../../Common/IconButton.vue.js";
5
- import Q from "../../Common/StateIndicator.vue.js";
6
- import { Screen as W } from "quasar";
7
- import X from "../shared/ProductPrice.vue.js";
8
- import Y from "../shared/ProductProps.vue.js";
9
- import { toProductLite as Z, capitalize as O } from "../shared/helpers.js";
10
- import N from "./components/ImagesMiniature.vue.js";
11
- import ee from "./components/ProductCustomizableIndicator.vue.js";
12
- import oe from "./components/ProductDetallePack.vue.js";
13
- import te from "./components/ProductImageHeader.vue.js";
14
- import ae from "./components/ProductLongDescription.vue.js";
15
- import se from "./components/ProductShopcartActions.vue.js";
16
- import re from "./components/ProductShortDescription.vue.js";
17
- import ce from "./components/PublicImageButton.vue.js";
18
- const ie = { class: "row justify-end" }, le = { class: "grid" }, ne = { class: "images-container" }, de = { class: "carousel-container" }, ue = { class: "text-h5 text-bold" }, me = { class: "row justify-between" }, pe = { key: 0 }, _e = { class: "row items-center justify-between" }, ve = { class: "q-mb-md" }, fe = { class: "text-weight-medium" }, he = { class: "row" }, $e = /* @__PURE__ */ U({
19
- __name: "LinvermediaProductDetail",
20
- props: {
21
- isPublic: { type: Boolean },
22
- fetching: { type: Boolean },
23
- scale: {},
24
- count: {},
25
- imageHeight: {},
26
- borderRadius: {},
27
- unelevated: { type: Boolean },
28
- hoverable: { type: Boolean },
29
- view: { default: "detail" },
30
- title: {},
31
- data: {},
32
- gamaProps: {},
33
- addToShopcartLabel: {},
34
- goToCatalogLabel: {},
35
- showPrice: { type: Function, default: () => !0 }
36
- },
37
- emits: ["on-event"],
38
- setup($, { emit: H }) {
39
- const R = u(() => W.lt.md), g = H;
40
- V("emit", g);
41
- const l = $, p = P(1), { data: v, isPublic: n, gamaProps: k, count: j } = q(l), w = u(() => {
42
- var e;
43
- return ((e = l.showPrice) == null ? void 0 : e.call(l, v.value)) ?? !0;
44
- }), s = u(() => Z(v.value)), f = u(
45
- () => {
46
- var e, r;
47
- return ((r = (e = v.value) == null ? void 0 : e.table_estado) == null ? void 0 : r.table_estado) || null;
48
- }
49
- ), C = P(null), h = P([]), D = {
50
- product: s,
51
- slide: p,
52
- isPublic: n,
53
- selectedPackProduct: C,
54
- images: h,
55
- count: j,
56
- gamaProps: k,
57
- showPrice: w,
58
- addToShopcartLabel: l.addToShopcartLabel,
59
- goToCatalogLabel: l.goToCatalogLabel
60
- };
61
- V("context", D);
62
- const E = u(() => {
63
- var e;
64
- return !!((e = s.value) != null && e.pack);
65
- });
66
- z(C, (e) => {
67
- var r;
68
- if (e != null && e.ARCHIVOS[0]) {
69
- const _ = (r = e == null ? void 0 : e.ARCHIVOS[0]) == null ? void 0 : r.LOCATION, b = h.value.findIndex(
70
- (a) => (a == null ? void 0 : a.LOCATION) === _ || (a == null ? void 0 : a.location) === _
71
- );
72
- p.value = b + 1;
73
- }
74
- });
75
- const F = () => {
76
- var e;
77
- return g("on-event", {
78
- code: "edit_product",
79
- payload: { id: (e = s.value) == null ? void 0 : e.id }
80
- });
81
- };
82
- return (e, r) => {
83
- var a, x, I, L, S, B;
84
- const _ = T("v-else"), b = T("ProductAvailableColors");
85
- return c(), A(K, null, [
86
- o("div", ie, [
87
- i(n) ? m("", !0) : (c(), d(J, {
88
- key: 0,
89
- icon: "edit",
90
- sm: "",
91
- onClick: F
92
- }))
93
- ]),
94
- o("div", le, [
95
- o("div", ne, [
96
- t(N, { class: "gt-sm" }),
97
- o("div", de, [
98
- t(te),
99
- t(G, {
100
- style: { "border-radius": "8px" },
101
- items: h.value,
102
- modelValue: p.value,
103
- "onUpdate:modelValue": r[0] || (r[0] = (M) => p.value = M),
104
- height: R.value ? "450px" : "70vh"
105
- }, null, 8, ["items", "modelValue", "height"]),
106
- t(ce)
107
- ]),
108
- t(N, { class: "lt-md" })
109
- ]),
110
- o("div", null, [
111
- o("div", ue, y(i(O)(((a = s.value) == null ? void 0 : a.nombre) || "")), 1),
112
- o("div", me, [
113
- i(n) ? m("", !0) : (c(), A("div", pe, "SKU: " + y((I = (x = s.value) == null ? void 0 : x.props) == null ? void 0 : I.sku), 1)),
114
- t(_, { div: "" }),
115
- !i(n) && f.value ? (c(), d(Q, {
116
- key: 1,
117
- label: f.value.name,
118
- color: f.value.color
119
- }, null, 8, ["label", "color"])) : m("", !0)
120
- ]),
121
- o("div", _e, [
122
- o("div", ve, [
123
- w.value ? (c(), d(X, {
124
- key: 0,
125
- product: s.value,
126
- "is-private": !i(n)
127
- }, null, 8, ["product", "is-private"])) : m("", !0)
128
- ]),
129
- o("div", fe, y(i(O)(((S = (L = s.value) == null ? void 0 : L.props) == null ? void 0 : S.ubicacion) || "")), 1),
130
- t(ee)
131
- ]),
132
- t(b),
133
- t(re),
134
- E.value ? (c(), d(oe, { key: 0 })) : (c(), d(Y, {
135
- key: 1,
136
- "product-props": (B = s.value) == null ? void 0 : B.props,
137
- "gama-props": i(k)
138
- }, null, 8, ["product-props", "gama-props"])),
139
- i(n) ? (c(), d(se, { key: 2 })) : m("", !0)
140
- ])
141
- ]),
142
- o("div", he, [
143
- t(ae)
144
- ])
145
- ], 64);
146
- };
147
- }
148
- });
149
- export {
150
- $e as default
151
- };
@@ -1,7 +0,0 @@
1
- import o from "./ImagesMiniature.vue2.js";
2
- /* empty css */
3
- import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bf75f29f"]]);
5
- export {
6
- m as default
7
- };
@@ -1,90 +0,0 @@
1
- import { defineComponent as x, resolveDirective as C, withDirectives as w, createCommentVNode as a, unref as e, createElementBlock as o, openBlock as i, Fragment as E, renderList as q, normalizeStyle as z, createBlock as B, createVNode as v, createElementVNode as _ } from "vue";
2
- import "axios";
3
- import "lodash-es";
4
- import "@tanstack/vue-query";
5
- import { useDragAndDrop as N } from "../../../../composables/useDragAndDrop.js";
6
- import { QIcon as y, QImg as S } from "quasar";
7
- import { useWidgetEvent as V } from "../../shared/useWidgetEvent.js";
8
- import { useContext as L } from "../useContext.js";
9
- const Q = ["id", "draggable"], W = ["onClick"], j = {
10
- key: 0,
11
- class: "row items-center justify-center bg-grey-2 media-card",
12
- style: { "border-radius": "8px", border: "1px dashed #c9c9c9" }
13
- }, A = {
14
- key: 2,
15
- class: "media-card"
16
- }, F = ["src"], I = { class: "video-icon" }, T = /* @__PURE__ */ x({
17
- __name: "ImagesMiniature",
18
- setup(K) {
19
- const { images: s, slide: l, isPrivate: b } = L(), { emitEvent: k } = V(), { handler: f, onDragLeave: m, onDragOver: d, onDragStart: c, onDrop: p, idKey: D } = N(
20
- s,
21
- ".image-miniature",
22
- (u) => k("update_images_position", { images: u })
23
- );
24
- return (u, t) => {
25
- const h = C("mutation");
26
- return e(s).length ? w((i(), o("div", {
27
- key: 0,
28
- class: "images-miniature",
29
- onDragleave: t[1] || (t[1] = //@ts-ignore
30
- (...r) => e(m) && e(m)(...r)),
31
- onDragover: t[2] || (t[2] = //@ts-ignore
32
- (...r) => e(d) && e(d)(...r)),
33
- onDrop: t[3] || (t[3] = //@ts-ignore
34
- (...r) => e(p) && e(p)(...r))
35
- }, [
36
- (i(!0), o(E, null, q(e(s), (r, n) => (i(), o("div", {
37
- class: "q-mb-md image-miniature q-px-sm",
38
- key: n,
39
- id: r[e(D)],
40
- onDragstart: t[0] || (t[0] = //@ts-ignore
41
- (...g) => e(c) && e(c)(...g)),
42
- draggable: e(b)
43
- }, [
44
- r ? (i(), o("div", {
45
- key: 0,
46
- onClick: (g) => l.value = n + 1,
47
- style: z({
48
- cursor: "pointer",
49
- borderWidth: "0.7px",
50
- borderStyle: "solid",
51
- borderRadius: "0.5rem",
52
- borderColor: n === e(l) - 1 ? "#015979 " : "transparent"
53
- }),
54
- class: "q-pb-sm win-card"
55
- }, [
56
- r != null && r.location ? r.tipo === "image" ? (i(), B(e(S), {
57
- key: 1,
58
- src: r.location,
59
- fit: "cover",
60
- class: "media-card"
61
- }, null, 8, ["src"])) : r.tipo === "video" ? (i(), o("div", A, [
62
- _("video", {
63
- src: r.location,
64
- style: { width: "100%", height: "100%", background: "black" }
65
- }, null, 8, F),
66
- _("div", I, [
67
- v(e(y), {
68
- size: "lg",
69
- name: "o_play_circle",
70
- color: "white"
71
- })
72
- ])
73
- ])) : a("", !0) : (i(), o("div", j, [
74
- v(e(y), {
75
- name: "upload_file",
76
- color: "grey-5",
77
- size: "33px"
78
- })
79
- ]))
80
- ], 12, W)) : a("", !0)
81
- ], 40, Q))), 128))
82
- ], 32)), [
83
- [h, e(f)]
84
- ]) : a("", !0);
85
- };
86
- }
87
- });
88
- export {
89
- T as default
90
- };
@@ -1,9 +0,0 @@
1
- import o from "./ProductConfiguration.vue2.js";
2
- import { getPanelesFn as c } from "./ProductConfiguration.vue2.js";
3
- /* empty css */
4
- import t from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ebbd7c31"]]);
6
- export {
7
- f as default,
8
- c as getPanelesFn
9
- };
@@ -1,147 +0,0 @@
1
- import { defineComponent as k, mergeModels as D, useModel as N, computed as r, watch as y, createElementBlock as P, openBlock as V, Fragment as U, createElementVNode as n, createVNode as x, unref as q, createCommentVNode as I, toDisplayString as p } from "vue";
2
- import { mapKeys as B } from "lodash-es";
3
- import { QInput as C } from "quasar";
4
- import { toCurrency as E } from "../../shared/helpers.js";
5
- const O = { class: "full-width grid" }, R = { class: "bg-grey-2 values" }, H = { key: 0 }, K = { class: "text-bold" }, L = { class: "text-bold" }, Q = {
6
- key: 1,
7
- class: "text-bold"
8
- }, f = (l, u) => {
9
- let a;
10
- switch (typeof l == "string" ? a = Number(l.replaceAll(/[^0-9.-]/g, "").trim()) : a = l, u) {
11
- case "m":
12
- return a;
13
- case "cm":
14
- return a / 100;
15
- case "mm":
16
- return a / 1e3;
17
- default:
18
- throw new Error(`Unidad no soportada: ${u}`);
19
- }
20
- }, T = (l) => {
21
- const u = Number(l.ancho) || 0, a = Number(l.alto) || 0, o = l.unidad_de_medida || "cm", d = f(u, o), s = f(a, o);
22
- let i = d * s;
23
- return i <= 0 && (i = 1), (b) => {
24
- const v = 1 / i, M = A(b);
25
- return Math.ceil(M * v);
26
- };
27
- }, w = (l, u = 2) => Number(l.toFixed(u)), A = (l) => {
28
- const u = Number((l == null ? void 0 : l.ancho) || 0), a = Number((l == null ? void 0 : l.alto) || 0);
29
- return w(u * a);
30
- }, G = /* @__PURE__ */ k({
31
- __name: "ProductConfiguration",
32
- props: /* @__PURE__ */ D({
33
- product: {},
34
- showPrice: { type: Boolean }
35
- }, {
36
- quantity: {
37
- required: !0,
38
- default: 1
39
- },
40
- quantityModifiers: {},
41
- detail: { required: !0 },
42
- detailModifiers: {}
43
- }),
44
- emits: ["update:quantity", "update:detail"],
45
- setup(l) {
46
- const u = l, a = N(l, "quantity"), o = N(l, "detail"), d = r(
47
- () => B(u.product || {}, (t, e) => e.toUpperCase())
48
- ), s = r(() => {
49
- var t;
50
- return ((t = d.value) == null ? void 0 : t.PROPS) || {};
51
- }), i = r(() => s.value.unidad_de_medida || "cm"), b = r(() => T(s.value || {}));
52
- y(
53
- o,
54
- (t) => {
55
- a.value = b.value(o.value);
56
- },
57
- { immediate: !0, deep: !0 }
58
- );
59
- const v = (t) => t.toLocaleString("es-ES", {
60
- minimumFractionDigits: 2,
61
- maximumFractionDigits: 2
62
- }), M = r(() => {
63
- var e;
64
- return (Number((e = d.value) == null ? void 0 : e.PRECIO) || 0) * a.value;
65
- }), F = r(() => A(o.value)), m = r(() => {
66
- var t;
67
- return f(((t = s.value) == null ? void 0 : t.ancho) || 0, i.value);
68
- }), c = r(() => {
69
- var t;
70
- return f(((t = s.value) == null ? void 0 : t.alto) || 0, i.value);
71
- }), g = r(() => m.value * c.value), S = r(() => {
72
- var e;
73
- const t = ((e = d.value) == null ? void 0 : e.PRECIO) || 0;
74
- return !t || !g.value ? 0 : E(t / g.value);
75
- });
76
- return y(
77
- () => o.value.ancho,
78
- (t) => {
79
- t % m.value !== 0 && (o.value.ancho = w(
80
- Math.ceil(t / m.value) * m.value
81
- ));
82
- }
83
- ), y(
84
- () => o.value.alto,
85
- (t) => {
86
- t % c.value !== 0 && (o.value.alto = w(
87
- Math.ceil(t / c.value) * c.value
88
- ));
89
- }
90
- ), (t, e) => (V(), P(U, null, [
91
- e[7] || (e[7] = n("div", { class: "prices text-bold q-mb-md" }, " Indica las medidas de la pantalla que necesitas ", -1)),
92
- n("div", O, [
93
- n("div", null, [
94
- x(q(C), {
95
- type: "number",
96
- outlined: "",
97
- class: "q-mb-md",
98
- modelValue: o.value.ancho,
99
- "onUpdate:modelValue": e[0] || (e[0] = (h) => o.value.ancho = h),
100
- modelModifiers: { number: !0 },
101
- label: "Ancho",
102
- suffix: "metros",
103
- step: m.value,
104
- min: "0"
105
- }, null, 8, ["modelValue", "step"]),
106
- x(q(C), {
107
- type: "number",
108
- outlined: "",
109
- modelValue: o.value.alto,
110
- "onUpdate:modelValue": e[1] || (e[1] = (h) => o.value.alto = h),
111
- modelModifiers: { number: !0 },
112
- label: "Alto",
113
- suffix: "metros",
114
- step: c.value,
115
- min: "0"
116
- }, null, 8, ["modelValue", "step"])
117
- ]),
118
- n("div", R, [
119
- n("div", null, [
120
- e[2] || (e[2] = n("span", null, " Área panel: ", -1)),
121
- n("span", null, p(v(g.value)) + " m2", 1)
122
- ]),
123
- t.showPrice ? (V(), P("div", H, [
124
- e[3] || (e[3] = n("span", null, " Importe m2: ", -1)),
125
- n("span", null, p(S.value), 1)
126
- ])) : I("", !0),
127
- n("div", K, [
128
- e[4] || (e[4] = n("span", null, " Área total: ", -1)),
129
- n("span", null, p(v(F.value)) + " m2 ", 1)
130
- ]),
131
- n("div", L, [
132
- e[5] || (e[5] = n("span", null, " Paneles: ", -1)),
133
- n("span", null, p(a.value), 1)
134
- ]),
135
- t.showPrice ? (V(), P("div", Q, [
136
- e[6] || (e[6] = n("span", null, " Importe total: ", -1)),
137
- n("span", null, p(q(E)(M.value)), 1)
138
- ])) : I("", !0)
139
- ])
140
- ])
141
- ], 64));
142
- }
143
- });
144
- export {
145
- G as default,
146
- T as getPanelesFn
147
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as a, computed as c, createElementBlock as o, openBlock as r, createCommentVNode as m, createVNode as u, unref as n, withCtx as l, createTextVNode as p } from "vue";
2
- import { QChip as _ } from "quasar";
3
- import { useContext as f } from "../useContext.js";
4
- const x = { class: "text-weight-medium" }, C = {
5
- key: 0,
6
- class: "row justify-end items-center"
7
- }, w = /* @__PURE__ */ a({
8
- __name: "ProductCustomizableIndicator",
9
- props: {
10
- label: { default: "A medida" }
11
- },
12
- setup(h) {
13
- const { productProps: d, product: i } = f(), s = c(
14
- () => {
15
- var t, e;
16
- return !!((t = d.value) != null && t.a_medida) && !((e = i.value) != null && e.pack);
17
- }
18
- );
19
- return (t, e) => (r(), o("div", x, [
20
- s.value ? (r(), o("div", C, [
21
- u(n(_), {
22
- color: "blue",
23
- "text-color": "white",
24
- size: "12px"
25
- }, {
26
- default: l(() => [...e[0] || (e[0] = [
27
- p("A medida", -1)
28
- ])]),
29
- _: 1
30
- })
31
- ])) : m("", !0)
32
- ]));
33
- }
34
- });
35
- export {
36
- w as default
37
- };
@@ -1,4 +0,0 @@
1
- import f from "./ProductCustomizableIndicator.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,7 +0,0 @@
1
- import o from "./ProductDetallePack.vue2.js";
2
- /* empty css */
3
- import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-94935eea"]]);
5
- export {
6
- c as default
7
- };
@@ -1,61 +0,0 @@
1
- import { defineComponent as C, computed as L, createElementBlock as l, openBlock as r, Fragment as m, createElementVNode as t, createCommentVNode as h, renderList as O, unref as s, normalizeClass as f, createBlock as g, toDisplayString as a, createVNode as A } from "vue";
2
- import { QImg as x } from "quasar";
3
- import T from "../../shared/ProductProps.vue.js";
4
- import { useContext as R } from "../useContext.js";
5
- const I = {
6
- class: "row q-mt-md q-pa-sm",
7
- style: { "overflow-x": "auto" }
8
- }, N = ["onClick"], q = { class: "q-pa-sm" }, y = { class: "text-weight-medium ellipsis" }, S = { class: "text-caption" }, w = {
9
- key: 0,
10
- class: "q-mt-md"
11
- }, B = { class: "text-h6" }, z = /* @__PURE__ */ C({
12
- __name: "ProductDetallePack",
13
- setup(V) {
14
- const { detallePack: P, selectedPackProduct: o, gamaProps: k } = R(), v = (c) => {
15
- o.value = c;
16
- }, D = L(
17
- () => {
18
- var c, d;
19
- return ((c = o.value) == null ? void 0 : c.PROPS) || ((d = o.value) == null ? void 0 : d.props) || {};
20
- }
21
- );
22
- return (c, d) => {
23
- var n;
24
- return r(), l(m, null, [
25
- t("div", I, [
26
- (r(!0), l(m, null, O(s(P), (e, E) => {
27
- var p, u, _, i;
28
- return r(), l("div", {
29
- key: E,
30
- class: f(`q-mr-md glass-card detalle-pack ${((p = s(o)) == null ? void 0 : p.ID_PRODUCTO) == e.ID_PRODUCTO_DETALLE ? "selected" : ""}`),
31
- onClick: (U) => v(e.DETALLE)
32
- }, [
33
- (_ = (u = e == null ? void 0 : e.DETALLE) == null ? void 0 : u.ARCHIVOS) != null && _.length ? (r(), g(s(x), {
34
- key: 0,
35
- src: e.DETALLE.ARCHIVOS[0].LOCATION || "placeholder.webp",
36
- style: { height: "120px", "border-radius": "8px" },
37
- fit: "contain"
38
- }, null, 8, ["src"])) : h("", !0),
39
- t("div", q, [
40
- t("div", y, a((i = e == null ? void 0 : e.DETALLE) == null ? void 0 : i.NOMBRE), 1),
41
- t("div", S, a(e == null ? void 0 : e.CANTIDAD) + "X", 1)
42
- ])
43
- ], 10, N);
44
- }), 128))
45
- ]),
46
- s(o) ? (r(), l("div", w, [
47
- t("div", B, a(s(o).NOMBRE), 1),
48
- t("div", null, "SKU: " + a((n = s(o).PROPS) == null ? void 0 : n.sku), 1),
49
- A(T, {
50
- class: "q-mt-md",
51
- "product-props": D.value,
52
- "gama-props": s(k)
53
- }, null, 8, ["product-props", "gama-props"])
54
- ])) : h("", !0)
55
- ], 64);
56
- };
57
- }
58
- });
59
- export {
60
- z as default
61
- };
@@ -1,7 +0,0 @@
1
- import o from "./ProductImageHeader.vue2.js";
2
- /* empty css */
3
- import r from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-320f1d6c"]]);
5
- export {
6
- m as default
7
- };
@@ -1,56 +0,0 @@
1
- import { defineComponent as k, computed as u, createElementBlock as p, openBlock as s, createElementVNode as r, toDisplayString as i, normalizeStyle as y, unref as t, createBlock as g, createCommentVNode as E, Fragment as B, renderList as N, withCtx as V, createTextVNode as _, createVNode as z } from "vue";
2
- import { QChip as P, QIcon as T } from "quasar";
3
- import q from "../../shared/ProductTag.vue.js";
4
- import { useWidgetEvent as w } from "../../shared/useWidgetEvent.js";
5
- import { useContext as I } from "../useContext.js";
6
- const Q = { class: "product-image-header" }, S = { class: "product-code" }, D = { class: "media-count" }, j = /* @__PURE__ */ k({
7
- __name: "ProductImageHeader",
8
- setup(F) {
9
- const { product: a, images: n, slide: v, isPrivate: l } = I(), c = u(
10
- () => {
11
- var e, o;
12
- return (((o = (e = a.value) == null ? void 0 : e.tags) == null ? void 0 : o.split(",")) || []).filter(Boolean);
13
- }
14
- ), f = u(() => {
15
- var e;
16
- return (e = a.value) == null ? void 0 : e.codigo;
17
- }), { emitEvent: h } = w(), x = () => {
18
- var e;
19
- return h("edit_tags", { id: (e = a.value) == null ? void 0 : e.id });
20
- };
21
- return (e, o) => {
22
- var d, m;
23
- return s(), p("div", Q, [
24
- r("div", S, i(f.value), 1),
25
- r("div", {
26
- onClick: x,
27
- class: "tags",
28
- style: y({ overflowX: "auto", cursor: t(l) ? "pointer" : "default" })
29
- }, [
30
- (s(!0), p(B, null, N(c.value, (C) => (s(), g(q, { tag: C }, null, 8, ["tag"]))), 256)),
31
- !c.value.length && t(l) ? (s(), g(t(P), {
32
- key: 0,
33
- class: "tag",
34
- size: "12px"
35
- }, {
36
- default: V(() => [...o[0] || (o[0] = [
37
- _("Editar etiquetas", -1)
38
- ])]),
39
- _: 1
40
- })) : E("", !0)
41
- ], 4),
42
- r("div", D, [
43
- _(i((d = t(n)) != null && d.length ? t(v) : 0) + "/" + i(((m = t(n)) == null ? void 0 : m.length) || 0) + " ", 1),
44
- z(t(T), {
45
- name: "sym_o_image",
46
- size: "sm",
47
- class: "q-ml-xs"
48
- })
49
- ])
50
- ]);
51
- };
52
- }
53
- });
54
- export {
55
- j as default
56
- };
@@ -1,21 +0,0 @@
1
- import { defineComponent as r, computed as s, createElementBlock as d, createCommentVNode as i, openBlock as l, createElementVNode as n, toDisplayString as m } from "vue";
2
- import { useContext as p } from "../useContext.js";
3
- const a = {
4
- key: 0,
5
- class: "q-mt-md text-black col-12"
6
- }, v = /* @__PURE__ */ r({
7
- __name: "ProductLongDescription",
8
- setup(u) {
9
- const { product: c } = p(), t = s(() => {
10
- var e;
11
- return (e = c.value) == null ? void 0 : e.descripcion;
12
- });
13
- return (e, o) => t.value ? (l(), d("div", a, [
14
- o[0] || (o[0] = n("div", { class: "font-bold text-h6" }, "Información del producto", -1)),
15
- n("div", null, m(t.value), 1)
16
- ])) : i("", !0);
17
- }
18
- });
19
- export {
20
- v as default
21
- };
@@ -1,4 +0,0 @@
1
- import f from "./ProductLongDescription.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,7 +0,0 @@
1
- import o from "./ProductShopcartActions.vue2.js";
2
- /* empty css */
3
- import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7da1e698"]]);
5
- export {
6
- p as default
7
- };