@win2win/shared-ui 0.3.239 → 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,22 +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
- gamaProps: o.array(o.record(o.string(), o.any())),
7
- context: o.enum(["captacion", "partner"]).default("captacion"),
8
- isPublic: o.boolean().optional(),
9
- filters: o.object({
10
- grupo: o.string().optional(),
11
- tipoDeServicio: o.string().optional()
12
- }).optional(),
13
- queryParams: o.record(o.any()).optional(),
14
- cardColor: o.string().optional(),
15
- headerColor: o.string().optional(),
16
- nameColor: o.string().optional(),
17
- titleHeight: o.string().optional(),
18
- showHeader: o.boolean().optional()
19
- });
20
- export {
21
- i as TelmexCardPropsSchema
22
- };
@@ -1,7 +0,0 @@
1
- import o from "./TelmexProductDetail.vue2.js";
2
- /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cb65fe8d"]]);
5
- export {
6
- a as default
7
- };
@@ -1,648 +0,0 @@
1
- import { defineComponent as Oe, useCssVars as we, toRefs as Ie, computed as v, ref as C, createElementBlock as i, openBlock as a, Fragment as V, createVNode as n, unref as s, withCtx as T, createElementVNode as o, toDisplayString as g, renderList as U, createBlock as j, normalizeStyle as P, createTextVNode as qe, createCommentVNode as _, normalizeClass as D, mergeProps as Se } from "vue";
2
- import "axios";
3
- import "lodash-es";
4
- import { useFetch as Te } from "../../../composables/fetching/useFetch.js";
5
- import "@tanstack/vue-query";
6
- import { l as I } from "../../../node_modules/lodash/lodash.js";
7
- import { useQuasar as Re, QDialog as Ve, QCard as De, QCardSection as L, QBadge as oe, QBtn as k, QSkeleton as ze, QIcon as A, QInput as G, QSelect as ae } from "quasar";
8
- import { toProductLite as Ne } from "../shared/helpers.js";
9
- import Be from "./components/ProductInfo.vue.js";
10
- import Qe from "./components/TotalOrder.vue.js";
11
- const Ue = { class: "text-h6" }, Ae = { class: "q-mt-sm" }, Ee = { key: 0 }, Me = { key: 0 }, $e = {
12
- key: 0,
13
- class: "complements-grid"
14
- }, je = {
15
- key: 1,
16
- class: "complements-grid"
17
- }, Le = ["onClick"], Ge = { class: "complement-image" }, Fe = ["src", "alt"], We = {
18
- key: 1,
19
- class: "no-image"
20
- }, Ke = { class: "complement-content" }, He = ["title"], Je = {
21
- key: 0,
22
- class: "complement-price"
23
- }, Xe = ["title"], Ye = {
24
- key: 1,
25
- class: "complement-tag"
26
- }, Ze = {
27
- key: 1,
28
- class: "service-type-section"
29
- }, el = { class: "service-type-options" }, ll = { class: "row justify-center q-col-gutter-md" }, tl = { class: "col-12 col-md-4" }, ol = {
30
- key: 0,
31
- class: "col-12 col-md-4"
32
- }, al = {
33
- key: 1,
34
- class: "col-12 col-md-4"
35
- }, sl = {
36
- key: 2,
37
- class: "portability-section"
38
- }, il = {
39
- key: 0,
40
- class: "portability-quantity"
41
- }, rl = { class: "quantity-selector" }, nl = { class: "row justify-center q-col-gutter-md q-mb-lg" }, ul = { class: "col-auto" }, cl = {
42
- key: 0,
43
- class: "col-auto"
44
- }, dl = {
45
- key: 1,
46
- class: "col-auto"
47
- }, vl = {
48
- key: 0,
49
- class: "q-mb-lg"
50
- }, ml = { class: "row justify-center" }, pl = { class: "col-12 col-md-8" }, _l = { class: "row justify-center q-mt-xl q-col-gutter-md" }, yl = { class: "col-6" }, bl = { class: "col-6" }, fl = {
51
- key: 1,
52
- class: "q-pa-sm"
53
- }, Cl = { class: "row justify-between items-center q-mb-md" }, gl = { class: "text-subtitle1" }, kl = { class: "row justify-center q-mb-md" }, hl = { class: "portability-list" }, xl = { class: "row justify-between items-center q-mb-sm" }, Pl = { class: "text-weight-medium" }, Ol = { class: "row q-col-gutter-md" }, wl = { class: "col-12 col-md-6" }, Il = { class: "col-12 col-md-6" }, ql = {
54
- key: 3,
55
- class: "row justify-center q-my-lg"
56
- }, Al = /* @__PURE__ */ Oe({
57
- __name: "TelmexProductDetail",
58
- props: {
59
- isPublic: { type: Boolean },
60
- fetching: { type: Boolean },
61
- scale: {},
62
- count: {},
63
- imageHeight: {},
64
- borderRadius: {},
65
- unelevated: { type: Boolean },
66
- hoverable: { type: Boolean },
67
- view: {},
68
- title: {},
69
- data: {},
70
- gamaProps: {},
71
- cardColor: {},
72
- color: { default: "#d83121" },
73
- showPrice: {}
74
- },
75
- emits: ["on-event"],
76
- setup(se, { emit: ie }) {
77
- we((e) => ({
78
- "33c7ad86": r.color
79
- }));
80
- const { screen: re } = Re(), E = ie, r = se, { data: z } = Ie(r), R = v(() => Ne(z.value)), ne = v(() => {
81
- var e, l;
82
- return (l = (e = R.value) == null ? void 0 : e.nombre) == null ? void 0 : l.toUpperCase();
83
- }), F = v(() => {
84
- var e;
85
- return Number(((e = R.value) == null ? void 0 : e.precio) || 0);
86
- }), N = C(!1), m = C("complements"), u = C(null), b = C([]), h = C([]), x = C(""), q = C(!1), d = C(null), f = C(null), W = v(
87
- () => {
88
- var e, l;
89
- return !!((l = (e = z.value) == null ? void 0 : e.PROPS) != null && l.permite_alta_por_internet_recuperado);
90
- }
91
- ), ue = v(
92
- () => {
93
- var e, l;
94
- return !!((l = (e = z.value) == null ? void 0 : e.PROPS) != null && l.permite_portabilidad);
95
- }
96
- ), B = v(() => {
97
- var l, c;
98
- const e = Number(((c = (l = z.value) == null ? void 0 : l.PROPS) == null ? void 0 : c.cantidad_maxima_portabilidad) || 0) || 100;
99
- return Math.min(e, 100);
100
- }), O = v(() => {
101
- const e = [
102
- {
103
- id: "complements",
104
- title: "Complementos",
105
- description: "Selecciona los complementos"
106
- }
107
- ];
108
- return W.value && e.push({
109
- id: "service-type",
110
- title: "Tipo de servicio",
111
- description: "Selecciona el tipo de servicio"
112
- }), u.value === "portabilidad" && e.push({
113
- id: "portability",
114
- title: "Portabilidad",
115
- description: "Indica la portabilidad"
116
- }), u.value === "internet_recuperado" && e.push({
117
- id: "internet-recovered",
118
- title: "Compañía de internet",
119
- description: "Selecciona la compañía de internet anterior"
120
- }), e;
121
- }), S = v(
122
- () => O.value.findIndex((e) => e.id === m.value)
123
- ), K = v(
124
- () => S.value === O.value.length - 1
125
- ), ce = v(
126
- () => {
127
- var e;
128
- return ((e = O.value.find((l) => l.id === m.value)) == null ? void 0 : e.description) || "";
129
- }
130
- ), de = v(() => {
131
- var e, l;
132
- return [
133
- "complementos",
134
- { tipo_cliente: (l = (e = R.value) == null ? void 0 : e.props) == null ? void 0 : l.tipo_de_servicio }
135
- ];
136
- }), ve = v(() => {
137
- var e;
138
- return {
139
- customs: { idGama: 44 },
140
- byEqualCol: {
141
- "producto.ID_GAMA": 44,
142
- "producto.PROPS.$tipo_de_servicio$contains": (e = R.value) == null ? void 0 : e.props.tipo_de_servicio
143
- }
144
- };
145
- }), { data: me, fetching: H } = Te(
146
- de,
147
- "/public/ecommerce/productos",
148
- ve,
149
- void 0,
150
- { defaultValue: [] }
151
- ), Q = v(
152
- () => {
153
- var e;
154
- return I.orderBy(
155
- ((e = me.value) == null ? void 0 : e.items) || [],
156
- (l) => ["promocion", "oferta"].some((c) => I.snakeCase(l.TAGS || "").includes(c)),
157
- "desc"
158
- );
159
- }
160
- ), J = v(
161
- () => Q.value.filter(
162
- (e) => b.value.includes(e.ID_PRODUCTO)
163
- )
164
- ), pe = v(
165
- () => J.value.reduce(
166
- (e, l) => e + (Number(l.PRECIO) || 0),
167
- 0
168
- )
169
- ), X = v(() => F.value + pe.value), _e = v(() => d.value === 1 || d.value === 2 ? !0 : d.value === "more" ? f.value && f.value <= B.value : !1), Y = v(() => u.value !== "portabilidad" || !q.value ? !0 : h.value.every((e) => e.nip.trim() && e.numero.trim())), ye = v(() => m.value === "complements" ? !0 : m.value === "service-type" ? !!u.value : m.value === "portability" ? u.value !== "portabilidad" ? !0 : q.value ? Y.value && !!x.value : !1 : m.value === "internet-recovered" ? u.value !== "internet_recuperado" ? !0 : !!x.value : !0), be = v(() => m.value === "service-type" ? u.value ? u.value === "alta_nueva" ? "Contratar ahora" : "Siguiente" : "Selecciona una opción" : m.value === "portability" ? !Y.value || !x.value ? "Completa los datos de portabilidad" : "Contratar ahora" : K.value ? "Contratar ahora" : "Siguiente"), fe = (e) => {
170
- const l = b.value.indexOf(e);
171
- l > -1 ? b.value.splice(l, 1) : b.value.push(e);
172
- }, M = (e) => {
173
- u.value = e;
174
- }, $ = (e) => {
175
- d.value = e, e !== "more" && (f.value = null);
176
- }, Ce = () => {
177
- let e;
178
- if (d.value === 1 || d.value === 2)
179
- e = d.value;
180
- else if (d.value === "more" && f.value)
181
- e = f.value;
182
- else return;
183
- q.value = !0, h.value = Array(e).fill(null).map(() => ({
184
- nip: "",
185
- numero: "",
186
- compania: ""
187
- }));
188
- }, ge = () => {
189
- q.value = !1, d.value = null, f.value = null, h.value = [];
190
- }, ke = () => {
191
- if (m.value === "service-type" && u.value === "alta_nueva") {
192
- ee();
193
- return;
194
- }
195
- if (K.value) {
196
- ee();
197
- return;
198
- }
199
- const e = S.value + 1;
200
- e < O.value.length && (m.value = O.value[e].id);
201
- }, Z = () => {
202
- const e = S.value - 1;
203
- e >= 0 && (m.value = O.value[e].id);
204
- }, ee = () => {
205
- const e = I.omit(R.value, "images", "table_estado"), c = Q.value.filter(
206
- (p) => b.value.includes(p.ID_PRODUCTO)
207
- ).map((p) => ({ product: p, quantity: 1, props: null })).concat({
208
- product: I.mapKeys(
209
- { ...e, id_producto: e.id },
210
- (p, w) => w.toUpperCase()
211
- ),
212
- quantity: 1,
213
- props: null
214
- });
215
- E("on-event", { code: "add_to_shopcart", payload: c });
216
- const t = {}, y = x.value.trim();
217
- if (u.value === "portabilidad") {
218
- const p = h.value.filter(
219
- (w) => w.nip && w.numero
220
- );
221
- p.length > 0 && (t.portabilidad = p.map((w) => ({
222
- ...w,
223
- compania: y
224
- })), t.compania_actual = y);
225
- }
226
- u.value === "internet_recuperado" && y !== "" && (t.compania_actual = y), u.value && (t.tipo_servicio = u.value), Object.keys(t).length > 0 && E("on-event", { code: "set_external_props", payload: t }), le();
227
- }, le = () => {
228
- N.value = !1, m.value = "complements", b.value = [], h.value = [], q.value = !1, d.value = null, f.value = null, u.value = null;
229
- }, he = (e) => e === S.value || e < S.value ? r.color : "white", xe = (e) => e <= S.value ? "white" : "grey-7", Pe = (e) => I.orderBy(
230
- (e.TAGS || "").split(",").map((c) => c.trim()),
231
- (c) => I.snakeCase(c) === "promocion",
232
- "desc"
233
- )[0], te = [
234
- ...I.orderBy(
235
- [
236
- { label: "Megacable", value: "Megacable" },
237
- { label: "Izzi", value: "Izzi" },
238
- { label: "Total Play", value: "Total Play" },
239
- { label: "Maxcom", value: "Maxcom" },
240
- { label: "Blue Telecomm", value: "Blue Telecomm" },
241
- { label: "Wizz", value: "Wizz" },
242
- { label: "Cablecom", value: "Cablecom" },
243
- { label: "Cablemas", value: "Cablemas" }
244
- ],
245
- "label"
246
- ),
247
- { label: "Otra", value: "Otra" }
248
- ];
249
- return (e, l) => (a(), i(V, null, [
250
- n(s(Ve), {
251
- modelValue: N.value,
252
- "onUpdate:modelValue": l[9] || (l[9] = (c) => N.value = c),
253
- maximized: s(re).lt.md
254
- }, {
255
- default: T(() => [
256
- n(s(De), { class: "complements-card" }, {
257
- default: T(() => [
258
- n(s(L), { class: "row justify-between no-wrap items-start q-pa-md" }, {
259
- default: T(() => [
260
- o("div", null, [
261
- o("div", Ue, g(ce.value), 1),
262
- o("div", Ae, [
263
- (a(!0), i(V, null, U(O.value, (c, t) => (a(), j(s(oe), {
264
- key: c.id,
265
- style: P({ backgroundColor: he(t) }),
266
- "text-color": xe(t),
267
- class: "q-mr-sm"
268
- }, {
269
- default: T(() => [
270
- qe(g(t + 1) + ". " + g(c.title), 1)
271
- ]),
272
- _: 2
273
- }, 1032, ["style", "text-color"]))), 128))
274
- ])
275
- ]),
276
- n(s(k), {
277
- onClick: le,
278
- icon: "close",
279
- flat: ""
280
- })
281
- ]),
282
- _: 1
283
- }),
284
- n(s(L), { class: "card-content" }, {
285
- default: T(() => {
286
- var c;
287
- return [
288
- m.value === "complements" ? (a(), i("div", Ee, [
289
- s(H) || (c = Q.value) != null && c.length ? (a(), i("div", Me, [
290
- s(H) ? (a(), i("div", $e, [
291
- (a(), i(V, null, U(7, (t) => o("div", {
292
- key: t,
293
- class: "complement-card-container"
294
- }, [
295
- n(s(ze), { class: "complement-skeleton" })
296
- ])), 64))
297
- ])) : (a(), i("div", je, [
298
- (a(!0), i(V, null, U(Q.value, (t) => {
299
- var y, p;
300
- return a(), i("div", {
301
- key: t.ID_PRODUCTO,
302
- class: "complement-card-container"
303
- }, [
304
- o("div", {
305
- class: D(["complement-card", {
306
- "complement-card--selected": b.value.includes(
307
- t.ID_PRODUCTO
308
- )
309
- }]),
310
- style: P({
311
- "--selection-color": r.color,
312
- borderColor: b.value.includes(
313
- t.ID_PRODUCTO
314
- ) ? r.color : "#e0e0e0"
315
- }),
316
- onClick: (w) => fe(t.ID_PRODUCTO)
317
- }, [
318
- o("div", Ge, [
319
- (p = (y = t == null ? void 0 : t.R_IMG) == null ? void 0 : y[0]) != null && p.LOCATION ? (a(), i("img", {
320
- key: 0,
321
- src: t.R_IMG[0].LOCATION,
322
- alt: t.NOMBRE,
323
- style: { "border-radius": "8px" }
324
- }, null, 8, Fe)) : (a(), i("div", We, [...l[12] || (l[12] = [
325
- o("span", null, "Sin imagen", -1)
326
- ])]))
327
- ]),
328
- o("div", Ke, [
329
- o("div", {
330
- class: "complement-name",
331
- title: t.NOMBRE
332
- }, g(t.NOMBRE), 9, He),
333
- t.PRECIO ? (a(), i("div", Je, " $" + g(t.PRECIO) + " al mes ", 1)) : _("", !0),
334
- t.DESCRIPCION_CORTA ? (a(), i("div", {
335
- key: 1,
336
- class: "complement-description",
337
- title: t.DESCRIPCION_CORTA
338
- }, g(t.DESCRIPCION_CORTA), 9, Xe)) : _("", !0)
339
- ]),
340
- b.value.includes(t.ID_PRODUCTO) ? (a(), i("div", {
341
- key: 0,
342
- class: "complement-check",
343
- style: P({ backgroundColor: r.color })
344
- }, [
345
- n(s(A), {
346
- name: "check",
347
- color: "white",
348
- size: "xs"
349
- })
350
- ], 4)) : _("", !0),
351
- t.TAGS ? (a(), i("div", Ye, [
352
- n(s(oe), {
353
- style: { border: "1px solid white" },
354
- rounded: "",
355
- color: "red",
356
- label: Pe(t)
357
- }, null, 8, ["label"])
358
- ])) : _("", !0)
359
- ], 14, Le)
360
- ]);
361
- }), 128))
362
- ]))
363
- ])) : _("", !0)
364
- ])) : _("", !0),
365
- m.value === "service-type" ? (a(), i("div", Ze, [
366
- l[19] || (l[19] = o("div", { class: "text-h6 text-center q-mb-md" }, " Selecciona el tipo de servicio ", -1)),
367
- l[20] || (l[20] = o("div", { class: "text-subtitle2 text-center text-grey-7 q-mb-xl" }, " Elige una opción para continuar ", -1)),
368
- o("div", el, [
369
- o("div", ll, [
370
- o("div", tl, [
371
- o("div", {
372
- class: D(["service-option", {
373
- "service-option--selected": u.value === "alta_nueva"
374
- }]),
375
- onClick: l[0] || (l[0] = (t) => M("alta_nueva"))
376
- }, [
377
- n(s(A), {
378
- name: "add_circle",
379
- size: "xl",
380
- color: u.value === "alta_nueva" ? r.color : "grey-5",
381
- class: "q-mb-md"
382
- }, null, 8, ["color"]),
383
- l[13] || (l[13] = o("div", { class: "service-title" }, "Alta nueva", -1)),
384
- l[14] || (l[14] = o("div", { class: "service-description" }, " Instalación de nuevo servicio de internet ", -1))
385
- ], 2)
386
- ]),
387
- W.value ? (a(), i("div", ol, [
388
- o("div", {
389
- class: D(["service-option", {
390
- "service-option--selected": u.value === "internet_recuperado"
391
- }]),
392
- onClick: l[1] || (l[1] = (t) => M("internet_recuperado"))
393
- }, [
394
- n(s(A), {
395
- name: "restart_alt",
396
- size: "xl",
397
- color: u.value === "internet_recuperado" ? r.color : "grey-5",
398
- class: "q-mb-md"
399
- }, null, 8, ["color"]),
400
- l[15] || (l[15] = o("div", { class: "service-title" }, "Internet recuperado", -1)),
401
- l[16] || (l[16] = o("div", { class: "service-description" }, " Reactivación de servicio anteriormente contratado ", -1))
402
- ], 2)
403
- ])) : _("", !0),
404
- ue.value ? (a(), i("div", al, [
405
- o("div", {
406
- class: D(["service-option", {
407
- "service-option--selected": u.value === "portabilidad"
408
- }]),
409
- onClick: l[2] || (l[2] = (t) => M("portabilidad"))
410
- }, [
411
- n(s(A), {
412
- name: "contact_phone",
413
- size: "xl",
414
- color: u.value === "portabilidad" ? r.color : "grey-5",
415
- class: "q-mb-md"
416
- }, null, 8, ["color"]),
417
- l[17] || (l[17] = o("div", { class: "service-title" }, "Portabilidad", -1)),
418
- l[18] || (l[18] = o("div", { class: "service-description" }, " Cambia de operadora manteniendo tu número ", -1))
419
- ], 2)
420
- ])) : _("", !0)
421
- ])
422
- ])
423
- ])) : _("", !0),
424
- m.value === "portability" ? (a(), i("div", sl, [
425
- q.value ? (a(), i("div", fl, [
426
- o("div", Cl, [
427
- o("div", gl, " Ingrese los datos para " + g(h.value.length) + " portabilidad" + g(h.value.length > 1 ? "es" : ""), 1),
428
- n(s(k), {
429
- flat: "",
430
- "no-caps": "",
431
- color: r.color,
432
- label: "Cambiar cantidad",
433
- size: "sm",
434
- onClick: ge
435
- }, null, 8, ["color"])
436
- ]),
437
- o("div", kl, [
438
- n(s(ae), {
439
- style: { width: "100%", "max-width": "400px" },
440
- modelValue: x.value,
441
- "onUpdate:modelValue": l[7] || (l[7] = (t) => x.value = t),
442
- options: te,
443
- label: "Compañía actual",
444
- outlined: "",
445
- rounded: "",
446
- "emit-value": "",
447
- "map-options": "",
448
- rules: [(t) => !!t || "La compañía es requerida"]
449
- }, null, 8, ["modelValue", "rules"])
450
- ]),
451
- o("div", hl, [
452
- (a(!0), i(V, null, U(h.value, (t, y) => (a(), i("div", {
453
- key: y,
454
- class: "portability-item q-mb-md q-pa-md"
455
- }, [
456
- o("div", xl, [
457
- o("div", Pl, " Portabilidad " + g(y + 1), 1)
458
- ]),
459
- o("div", Ol, [
460
- o("div", wl, [
461
- n(s(G), {
462
- modelValue: t.nip,
463
- "onUpdate:modelValue": (p) => t.nip = p,
464
- label: "NIP",
465
- outlined: "",
466
- rounded: "",
467
- rules: [(p) => !!p || "NIP es requerido"]
468
- }, null, 8, ["modelValue", "onUpdate:modelValue", "rules"])
469
- ]),
470
- o("div", Il, [
471
- n(s(G), {
472
- modelValue: t.numero,
473
- "onUpdate:modelValue": (p) => t.numero = p,
474
- label: "Número a portar",
475
- outlined: "",
476
- rounded: "",
477
- rules: [(p) => !!p || "Número es requerido"]
478
- }, null, 8, ["modelValue", "onUpdate:modelValue", "rules"])
479
- ])
480
- ])
481
- ]))), 128))
482
- ])
483
- ])) : (a(), i("div", il, [
484
- l[21] || (l[21] = o("div", { class: "text-h6 text-center q-mb-md" }, " ¿Cuántas portabilidades desea realizar? ", -1)),
485
- o("div", rl, [
486
- o("div", nl, [
487
- o("div", ul, [
488
- n(s(k), {
489
- outline: d.value !== 1,
490
- color: r.color,
491
- style: P(
492
- d.value === 1 ? { backgroundColor: r.color } : {}
493
- ),
494
- "text-color": d.value === 1 ? "white" : r.color,
495
- label: "1",
496
- onClick: l[3] || (l[3] = (t) => $(1)),
497
- class: "quantity-btn",
498
- size: "xl"
499
- }, null, 8, ["outline", "color", "style", "text-color"])
500
- ]),
501
- B.value >= 2 ? (a(), i("div", cl, [
502
- n(s(k), {
503
- outline: d.value !== 2,
504
- color: r.color,
505
- style: P(
506
- d.value === 2 ? { backgroundColor: r.color } : {}
507
- ),
508
- "text-color": d.value === 2 ? "white" : r.color,
509
- label: "2",
510
- onClick: l[4] || (l[4] = (t) => $(2)),
511
- class: "quantity-btn",
512
- size: "xl"
513
- }, null, 8, ["outline", "color", "style", "text-color"])
514
- ])) : _("", !0),
515
- B.value > 2 ? (a(), i("div", dl, [
516
- n(s(k), {
517
- outline: d.value !== "more",
518
- color: r.color,
519
- style: P(
520
- d.value === "more" ? { backgroundColor: r.color } : {}
521
- ),
522
- "text-color": d.value === "more" ? "white" : r.color,
523
- label: "Más",
524
- onClick: l[5] || (l[5] = (t) => $("more")),
525
- class: "quantity-btn-more",
526
- size: "lg",
527
- "no-caps": ""
528
- }, null, 8, ["outline", "color", "style", "text-color"])
529
- ])) : _("", !0)
530
- ]),
531
- d.value === "more" ? (a(), i("div", vl, [
532
- o("div", ml, [
533
- o("div", pl, [
534
- n(s(G), {
535
- modelValue: f.value,
536
- "onUpdate:modelValue": l[6] || (l[6] = (t) => f.value = t),
537
- modelModifiers: { number: !0 },
538
- type: "number",
539
- label: "Ingresa la cantidad deseada",
540
- outlined: "",
541
- rounded: "",
542
- hint: `Puedes ingresar hasta ${B.value}`
543
- }, null, 8, ["modelValue", "hint"])
544
- ])
545
- ])
546
- ])) : _("", !0),
547
- o("div", _l, [
548
- o("div", yl, [
549
- n(s(k), {
550
- flat: "",
551
- color: r.color,
552
- label: "Atrás",
553
- onClick: Z,
554
- class: "full-width",
555
- size: "lg",
556
- "no-caps": ""
557
- }, null, 8, ["color"])
558
- ]),
559
- o("div", bl, [
560
- n(s(k), {
561
- color: r.color,
562
- style: P({ backgroundColor: r.color }),
563
- "text-color": "white",
564
- label: "Confirmar",
565
- onClick: Ce,
566
- disabled: !_e.value,
567
- class: "full-width",
568
- size: "lg",
569
- "no-caps": "",
570
- unelevated: ""
571
- }, null, 8, ["color", "style", "disabled"])
572
- ])
573
- ])
574
- ])
575
- ]))
576
- ])) : _("", !0),
577
- m.value === "internet-recovered" ? (a(), i("div", ql, [
578
- n(s(ae), {
579
- style: { width: "100%", "max-width": "400px" },
580
- modelValue: x.value,
581
- "onUpdate:modelValue": l[8] || (l[8] = (t) => x.value = t),
582
- options: te,
583
- label: "Compañía actual",
584
- outlined: "",
585
- rounded: "",
586
- "emit-value": "",
587
- "map-options": "",
588
- rules: [(t) => !!t || "La compañía es requerida"]
589
- }, null, 8, ["modelValue", "rules"])
590
- ])) : _("", !0)
591
- ];
592
- }),
593
- _: 1
594
- }),
595
- n(s(L), { class: "card-footer" }, {
596
- default: T(() => [
597
- X.value > 0 ? (a(), j(Qe, {
598
- key: 0,
599
- totalPrice: X.value,
600
- selectedComplementsData: J.value,
601
- priceValue: F.value,
602
- name: ne.value,
603
- color: e.color
604
- }, null, 8, ["totalPrice", "selectedComplementsData", "priceValue", "name", "color"])) : _("", !0),
605
- o("div", {
606
- class: D(m.value !== "complements" ? "grid-2" : "grid-1")
607
- }, [
608
- m.value !== "complements" ? (a(), j(s(k), {
609
- key: 0,
610
- outline: "",
611
- color: r.color,
612
- label: "Atrás",
613
- onClick: Z,
614
- class: "full-width",
615
- size: "lg",
616
- "no-caps": ""
617
- }, null, 8, ["color"])) : _("", !0),
618
- n(s(k), {
619
- color: r.color,
620
- style: P({ backgroundColor: r.color }),
621
- label: be.value,
622
- onClick: ke,
623
- disabled: !ye.value,
624
- class: "full-width",
625
- size: "lg",
626
- "no-caps": "",
627
- unelevated: ""
628
- }, null, 8, ["color", "style", "label", "disabled"])
629
- ], 2)
630
- ]),
631
- _: 1
632
- })
633
- ]),
634
- _: 1
635
- })
636
- ]),
637
- _: 1
638
- }, 8, ["modelValue", "maximized"]),
639
- n(Be, Se(r, {
640
- onClickContractar: l[10] || (l[10] = (c) => N.value = !0),
641
- onOnEvent: l[11] || (l[11] = (c) => E("on-event", c))
642
- }), null, 16)
643
- ], 64));
644
- }
645
- });
646
- export {
647
- Al as default
648
- };