@win2win/shared-ui 0.3.237 → 0.3.239

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 (304) hide show
  1. package/dist/_virtual/ProductPrice.js +4 -0
  2. package/dist/_virtual/_commonjsHelpers.js +4 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  4. package/dist/_virtual/archivo.js +4 -0
  5. package/dist/_virtual/canal-props.js +4 -0
  6. package/dist/_virtual/captacion.js +4 -0
  7. package/dist/_virtual/captacion2.js +4 -0
  8. package/dist/_virtual/comision.js +4 -0
  9. package/dist/_virtual/conditions.js +4 -0
  10. package/dist/_virtual/control-types.js +4 -0
  11. package/dist/_virtual/countries.js +4 -0
  12. package/dist/_virtual/estado-effect.js +4 -0
  13. package/dist/_virtual/estado-rule.js +4 -0
  14. package/dist/_virtual/estado.js +4 -0
  15. package/dist/_virtual/flag.js +4 -0
  16. package/dist/_virtual/formatters.js +4 -0
  17. package/dist/_virtual/gama.js +4 -0
  18. package/dist/_virtual/garantia.js +4 -0
  19. package/dist/_virtual/iban.js +4 -0
  20. package/dist/_virtual/id.js +4 -0
  21. package/dist/_virtual/import_schema.js +4 -0
  22. package/dist/_virtual/importacion.js +4 -0
  23. package/dist/_virtual/index.js +4 -0
  24. package/dist/_virtual/index10.js +4 -0
  25. package/dist/_virtual/index11.js +4 -0
  26. package/dist/_virtual/index12.js +4 -0
  27. package/dist/_virtual/index13.js +4 -0
  28. package/dist/_virtual/index14.js +4 -0
  29. package/dist/_virtual/index15.js +4 -0
  30. package/dist/_virtual/index16.js +4 -0
  31. package/dist/_virtual/index17.js +4 -0
  32. package/dist/_virtual/index18.js +4 -0
  33. package/dist/_virtual/index2.js +4 -0
  34. package/dist/_virtual/index3.js +4 -0
  35. package/dist/_virtual/index4.js +4 -0
  36. package/dist/_virtual/index5.js +4 -0
  37. package/dist/_virtual/index6.js +4 -0
  38. package/dist/_virtual/index7.js +4 -0
  39. package/dist/_virtual/index8.js +4 -0
  40. package/dist/_virtual/index9.js +4 -0
  41. package/dist/_virtual/item-liquidable.js +4 -0
  42. package/dist/_virtual/landing.js +4 -0
  43. package/dist/_virtual/languages.js +4 -0
  44. package/dist/_virtual/layout.js +4 -0
  45. package/dist/_virtual/layout2.js +4 -0
  46. package/dist/_virtual/liquidacion.js +4 -0
  47. package/dist/_virtual/liquidaciones.js +4 -0
  48. package/dist/_virtual/llamada.js +4 -0
  49. package/dist/_virtual/lodash.js +4 -0
  50. package/dist/_virtual/mappers.js +4 -0
  51. package/dist/_virtual/notificacion.js +4 -0
  52. package/dist/_virtual/options.js +4 -0
  53. package/dist/_virtual/page_sections.js +4 -0
  54. package/dist/_virtual/partner.js +4 -0
  55. package/dist/_virtual/pedido.js +4 -0
  56. package/dist/_virtual/perfiles.js +4 -0
  57. package/dist/_virtual/permisos.js +4 -0
  58. package/dist/_virtual/producto.js +4 -0
  59. package/dist/_virtual/producto2.js +4 -0
  60. package/dist/_virtual/query-params.js +4 -0
  61. package/dist/_virtual/regla.js +4 -0
  62. package/dist/_virtual/resultado.js +4 -0
  63. package/dist/_virtual/seguimiento.js +4 -0
  64. package/dist/_virtual/shared-types.js +4 -0
  65. package/dist/_virtual/shared.js +4 -0
  66. package/dist/_virtual/timestamp.js +4 -0
  67. package/dist/_virtual/validators.js +4 -0
  68. package/dist/_virtual/validators2.js +4 -0
  69. package/dist/_virtual/visibility.js +4 -0
  70. package/dist/components/Common/Button.vue.js +52 -0
  71. package/dist/components/Common/Button.vue2.js +4 -0
  72. package/dist/components/Common/Card.vue.js +7 -0
  73. package/dist/components/Common/Card.vue2.js +66 -0
  74. package/dist/components/Common/DynamicCarousel.vue.js +102 -0
  75. package/dist/components/Common/DynamicCarousel.vue3.js +5 -0
  76. package/dist/components/Common/FlagsIcons.vue.js +7 -0
  77. package/dist/components/Common/FlagsIcons.vue2.js +45 -0
  78. package/dist/components/Common/GeneratingError.vue.js +25 -0
  79. package/dist/components/Common/GeneratingError.vue2.js +4 -0
  80. package/dist/components/Common/GeneratingLoader.vue.js +25 -0
  81. package/dist/components/Common/GeneratingLoader.vue2.js +4 -0
  82. package/dist/components/Common/IconButton.vue.js +7 -0
  83. package/dist/components/Common/IconButton.vue2.js +97 -0
  84. package/dist/components/Common/IndicatorColor.vue.js +7 -0
  85. package/dist/components/Common/IndicatorColor.vue2.js +20 -0
  86. package/dist/components/Common/MenuButton.vue.js +91 -0
  87. package/dist/components/Common/MenuButton.vue2.js +4 -0
  88. package/dist/components/Common/SectionSpinner.vue.js +7 -0
  89. package/dist/components/Common/SectionSpinner.vue2.js +36 -0
  90. package/dist/components/Common/StateIndicator.vue.js +7 -0
  91. package/dist/components/Common/StateIndicator.vue2.js +41 -0
  92. package/dist/components/index.d.ts +16 -0
  93. package/dist/components/index.d.ts.map +1 -0
  94. package/dist/components/pdf/DomSection.vue.js +19 -0
  95. package/dist/components/pdf/DomSection.vue2.js +4 -0
  96. package/dist/components/pdf/PdfContainer.vue.js +7 -0
  97. package/dist/components/pdf/PdfContainer.vue2.js +102 -0
  98. package/dist/components/pdf/SectionWrapper.vue.js +33 -0
  99. package/dist/components/pdf/SectionWrapper.vue2.js +4 -0
  100. package/dist/components/pdf/SectionsContainer.vue.js +9 -0
  101. package/dist/components/pdf/SectionsContainer.vue2.js +56 -0
  102. package/dist/components/pdf/SectionsContainer.vue3.js +6 -0
  103. package/dist/components/pdf/helpers.js +23 -0
  104. package/dist/components/pdf/sections/Card.vue.js +9 -0
  105. package/dist/components/pdf/sections/Card.vue2.js +52 -0
  106. package/dist/components/pdf/sections/Card.vue3.js +12 -0
  107. package/dist/components/pdf/sections/CardGridSection.vue.js +9 -0
  108. package/dist/components/pdf/sections/CardGridSection.vue2.js +30 -0
  109. package/dist/components/pdf/sections/CardGridSection.vue3.js +6 -0
  110. package/dist/components/pdf/sections/ImageSection.vue.js +9 -0
  111. package/dist/components/pdf/sections/ImageSection.vue2.js +26 -0
  112. package/dist/components/pdf/sections/ImageSection.vue3.js +6 -0
  113. package/dist/components/pdf/sections/RadioButtonsSection.vue.js +7 -0
  114. package/dist/components/pdf/sections/RadioButtonsSection.vue2.js +43 -0
  115. package/dist/components/pdf/sections/SignatureSection.vue.js +7 -0
  116. package/dist/components/pdf/sections/SignatureSection.vue2.js +115 -0
  117. package/dist/components/pdf/sections/TableSection.vue.js +9 -0
  118. package/dist/components/pdf/sections/TableSection.vue2.js +49 -0
  119. package/dist/components/pdf/sections/TableSection.vue3.js +6 -0
  120. package/dist/components/pdf/sections/TextSection.vue.js +9 -0
  121. package/dist/components/pdf/sections/TextSection.vue2.js +135 -0
  122. package/dist/components/pdf/sections/TextSection.vue3.js +11 -0
  123. package/dist/components/pdf/sections/useData.js +8 -0
  124. package/dist/components/widgets/broker-card/BrokerCard.vue.js +7 -0
  125. package/dist/components/widgets/broker-card/BrokerCard.vue2.js +171 -0
  126. package/dist/components/widgets/broker-card/components/BrokerProps.vue.js +7 -0
  127. package/dist/components/widgets/broker-card/components/BrokerProps.vue2.js +117 -0
  128. package/dist/components/widgets/broker-card/mock-data.js +452 -0
  129. package/dist/components/widgets/broker-card/mock-props.js +273 -0
  130. package/dist/components/widgets/broker-card/schema.js +11 -0
  131. package/dist/components/widgets/broker-detail/BrokerDetail.vue.js +7 -0
  132. package/dist/components/widgets/broker-detail/BrokerDetail.vue2.js +174 -0
  133. package/dist/components/widgets/broker-detail/components/BrokertActions.vue.js +7 -0
  134. package/dist/components/widgets/broker-detail/components/BrokertActions.vue2.js +31 -0
  135. package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue.js +7 -0
  136. package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue2.js +90 -0
  137. package/dist/components/widgets/broker-detail/mock-data.js +227 -0
  138. package/dist/components/widgets/broker-detail/mock-props.js +12 -0
  139. package/dist/components/widgets/broker-detail/schema.js +10 -0
  140. package/dist/components/widgets/broker-detail/useContext.js +32 -0
  141. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.d.ts.map +1 -1
  142. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.js +7 -0
  143. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue2.js +249 -0
  144. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue.js +36 -0
  145. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue2.js +4 -0
  146. package/dist/components/widgets/linvermedia-product-card/mock-data.js +1121 -0
  147. package/dist/components/widgets/linvermedia-product-card/mock-props.js +20 -0
  148. package/dist/components/widgets/linvermedia-product-card/schema.js +13 -0
  149. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue.js +7 -0
  150. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue2.js +151 -0
  151. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue.js +7 -0
  152. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue2.js +90 -0
  153. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue.js +9 -0
  154. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue2.js +147 -0
  155. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue.js +37 -0
  156. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue2.js +4 -0
  157. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue.js +7 -0
  158. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue2.js +61 -0
  159. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue.js +7 -0
  160. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue2.js +56 -0
  161. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue.js +21 -0
  162. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue2.js +4 -0
  163. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue.js +7 -0
  164. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue2.js +91 -0
  165. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue.js +20 -0
  166. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue2.js +4 -0
  167. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue.js +7 -0
  168. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue2.js +49 -0
  169. package/dist/components/widgets/linvermedia-product-detail/mock-data.js +1005 -0
  170. package/dist/components/widgets/linvermedia-product-detail/mock-props.js +12 -0
  171. package/dist/components/widgets/linvermedia-product-detail/schema.js +11 -0
  172. package/dist/components/widgets/linvermedia-product-detail/useContext.js +43 -0
  173. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue.js +7 -0
  174. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue2.js +74 -0
  175. package/dist/components/widgets/linvermedia-solicitud-card/mock-data.js +580 -0
  176. package/dist/components/widgets/linvermedia-solicitud-card/mock-props.js +8 -0
  177. package/dist/components/widgets/linvermedia-solicitud-card/schema.js +5 -0
  178. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue.js +7 -0
  179. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue2.js +263 -0
  180. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue.js +21 -0
  181. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue2.js +4 -0
  182. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue.js +20 -0
  183. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue2.js +4 -0
  184. package/dist/components/widgets/perdm-telephony-product-detail/mock-data.js +1187 -0
  185. package/dist/components/widgets/perdm-telephony-product-detail/mock-props.js +12 -0
  186. package/dist/components/widgets/perdm-telephony-product-detail/schema.js +11 -0
  187. package/dist/components/widgets/perdm-telephony-product-detail/useContext.js +41 -0
  188. package/dist/components/widgets/shared/LinvermediaGamaProps.js +1688 -0
  189. package/dist/components/widgets/shared/PerdmTelephonyGamaProps.js +1688 -0
  190. package/dist/components/widgets/shared/ProductPrice.vue.js +7 -0
  191. package/dist/components/widgets/shared/ProductPrice.vue2.js +84 -0
  192. package/dist/components/widgets/shared/ProductProps.vue.js +294 -0
  193. package/dist/components/widgets/shared/ProductProps.vue2.js +4 -0
  194. package/dist/components/widgets/shared/ProductTag.vue.js +7 -0
  195. package/dist/components/widgets/shared/ProductTag.vue2.js +38 -0
  196. package/dist/components/widgets/shared/helpers.js +52 -0
  197. package/dist/components/widgets/shared/schema.js +17 -0
  198. package/dist/components/widgets/shared/useWidgetEvent.js +13 -0
  199. package/dist/components/widgets/telephony-card/TelephonyCard.vue.js +7 -0
  200. package/dist/components/widgets/telephony-card/TelephonyCard.vue2.js +292 -0
  201. package/dist/components/widgets/telephony-card/mock-data.js +1197 -0
  202. package/dist/components/widgets/telephony-card/mock-props.js +400 -0
  203. package/dist/components/widgets/telephony-card/schema.js +22 -0
  204. package/dist/components/widgets/telmex-card/TelmexCard.vue.js +7 -0
  205. package/dist/components/widgets/telmex-card/TelmexCard.vue2.js +232 -0
  206. package/dist/components/widgets/telmex-card/mock-data.js +1545 -0
  207. package/dist/components/widgets/telmex-card/mock-props.js +1332 -0
  208. package/dist/components/widgets/telmex-card/schema.js +22 -0
  209. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue.js +7 -0
  210. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue2.js +648 -0
  211. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue.js +7 -0
  212. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue2.js +316 -0
  213. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue.js +21 -0
  214. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue2.js +4 -0
  215. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue.js +20 -0
  216. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue2.js +4 -0
  217. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue.js +7 -0
  218. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue2.js +52 -0
  219. package/dist/components/widgets/telmex-product-detail/mock-data.js +1561 -0
  220. package/dist/components/widgets/telmex-product-detail/mock-props.js +10 -0
  221. package/dist/components/widgets/telmex-product-detail/schema.js +11 -0
  222. package/dist/components/widgets/telmex-product-detail/useContext.js +41 -0
  223. package/dist/components.js +31 -0
  224. package/dist/composables/fetching/fetchUniqFactory.js +21 -0
  225. package/dist/composables/fetching/fetchUniqProvider.js +15 -0
  226. package/dist/composables/fetching/types.js +11 -0
  227. package/dist/composables/fetching/useFetch.js +40 -0
  228. package/dist/composables/fetching/useFetchPages.js +101 -0
  229. package/dist/composables/useDragAndDrop.js +65 -0
  230. package/dist/composables/utils.js +11 -0
  231. package/dist/composables.js +17 -0
  232. package/dist/index.js +58 -0
  233. package/dist/node_modules/@win2win/shared/dist/consts/countries.js +1082 -0
  234. package/dist/node_modules/@win2win/shared/dist/consts/index.js +26 -0
  235. package/dist/node_modules/@win2win/shared/dist/consts/languages.js +173 -0
  236. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/index.js +18 -0
  237. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/perfiles.js +38 -0
  238. package/dist/node_modules/@win2win/shared/dist/consts/permisos/index.js +18 -0
  239. package/dist/node_modules/@win2win/shared/dist/consts/permisos/permisos.js +129 -0
  240. package/dist/node_modules/@win2win/shared/dist/consts/visitas/index.js +18 -0
  241. package/dist/node_modules/@win2win/shared/dist/consts/visitas/resultado.js +40 -0
  242. package/dist/node_modules/@win2win/shared/dist/enums/captacion.js +14 -0
  243. package/dist/node_modules/@win2win/shared/dist/enums/garantia.js +10 -0
  244. package/dist/node_modules/@win2win/shared/dist/enums/importacion.js +10 -0
  245. package/dist/node_modules/@win2win/shared/dist/enums/index.js +32 -0
  246. package/dist/node_modules/@win2win/shared/dist/enums/liquidacion.js +18 -0
  247. package/dist/node_modules/@win2win/shared/dist/enums/notificacion.js +10 -0
  248. package/dist/node_modules/@win2win/shared/dist/enums/pedido.js +10 -0
  249. package/dist/node_modules/@win2win/shared/dist/enums/producto.js +22 -0
  250. package/dist/node_modules/@win2win/shared/dist/enums/shared.js +10 -0
  251. package/dist/node_modules/@win2win/shared/dist/helpers/ProductPrice.js +61 -0
  252. package/dist/node_modules/@win2win/shared/dist/helpers/formatters.js +76 -0
  253. package/dist/node_modules/@win2win/shared/dist/helpers/index.js +22 -0
  254. package/dist/node_modules/@win2win/shared/dist/helpers/validators.js +15 -0
  255. package/dist/node_modules/@win2win/shared/dist/index.js +24 -0
  256. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/canal-props.js +5 -0
  257. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/index.js +18 -0
  258. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-effect.js +10 -0
  259. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-rule.js +23 -0
  260. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado.js +5 -0
  261. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/flag.js +10 -0
  262. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/index.js +26 -0
  263. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/llamada.js +18 -0
  264. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/import_schema.js +5 -0
  265. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/index.js +20 -0
  266. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/layout.js +7 -0
  267. package/dist/node_modules/@win2win/shared/dist/interfaces/index.js +34 -0
  268. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/index.js +20 -0
  269. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/landing.js +5 -0
  270. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/page_sections.js +270 -0
  271. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/index.js +18 -0
  272. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/layout.js +15 -0
  273. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/comision.js +11 -0
  274. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/index.js +24 -0
  275. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/item-liquidable.js +5 -0
  276. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/liquidaciones.js +10 -0
  277. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/regla.js +27 -0
  278. package/dist/node_modules/@win2win/shared/dist/interfaces/props/conditions.js +7 -0
  279. package/dist/node_modules/@win2win/shared/dist/interfaces/props/control-types.js +27 -0
  280. package/dist/node_modules/@win2win/shared/dist/interfaces/props/index.js +28 -0
  281. package/dist/node_modules/@win2win/shared/dist/interfaces/props/mappers.js +5 -0
  282. package/dist/node_modules/@win2win/shared/dist/interfaces/props/options.js +5 -0
  283. package/dist/node_modules/@win2win/shared/dist/interfaces/props/validators.js +85 -0
  284. package/dist/node_modules/@win2win/shared/dist/interfaces/props/visibility.js +5 -0
  285. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/archivo.js +5 -0
  286. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/captacion.js +5 -0
  287. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/gama.js +5 -0
  288. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/index.js +28 -0
  289. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/partner.js +5 -0
  290. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/producto.js +5 -0
  291. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/seguimiento.js +17 -0
  292. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/id.js +5 -0
  293. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/index.js +24 -0
  294. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/query-params.js +5 -0
  295. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/shared-types.js +5 -0
  296. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/timestamp.js +10 -0
  297. package/dist/node_modules/better-dni/dist/index.js +67 -0
  298. package/dist/node_modules/iban/iban.js +114 -0
  299. package/dist/node_modules/lodash/lodash.js +3676 -0
  300. package/dist/style.css +1 -1
  301. package/dist/widgets.js +154 -0
  302. package/package.json +21 -5
  303. package/dist/w2w-shared-ui.js +0 -26033
  304. package/dist/w2w-shared-ui.umd.cjs +0 -48
@@ -0,0 +1,20 @@
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
+ };
@@ -0,0 +1,13 @@
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
+ };
@@ -0,0 +1,7 @@
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
+ };
@@ -0,0 +1,151 @@
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
+ };
@@ -0,0 +1,7 @@
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
+ };
@@ -0,0 +1,90 @@
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
+ };
@@ -0,0 +1,9 @@
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
+ };
@@ -0,0 +1,147 @@
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
+ };
@@ -0,0 +1,37 @@
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
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./ProductCustomizableIndicator.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,7 @@
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
+ };
@@ -0,0 +1,61 @@
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
+ };
@@ -0,0 +1,7 @@
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
+ };
@@ -0,0 +1,56 @@
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
+ };
@@ -0,0 +1,21 @@
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
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./ProductLongDescription.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,7 @@
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
+ };