@win2win/shared-ui 0.3.238 → 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 (302) 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.js +7 -0
  142. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue2.js +249 -0
  143. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue.js +36 -0
  144. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue2.js +4 -0
  145. package/dist/components/widgets/linvermedia-product-card/mock-data.js +1121 -0
  146. package/dist/components/widgets/linvermedia-product-card/mock-props.js +20 -0
  147. package/dist/components/widgets/linvermedia-product-card/schema.js +13 -0
  148. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue.js +7 -0
  149. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue2.js +151 -0
  150. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue.js +7 -0
  151. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue2.js +90 -0
  152. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue.js +9 -0
  153. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue2.js +147 -0
  154. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue.js +37 -0
  155. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue2.js +4 -0
  156. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue.js +7 -0
  157. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue2.js +61 -0
  158. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue.js +7 -0
  159. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue2.js +56 -0
  160. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue.js +21 -0
  161. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue2.js +4 -0
  162. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue.js +7 -0
  163. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue2.js +91 -0
  164. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue.js +20 -0
  165. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue2.js +4 -0
  166. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue.js +7 -0
  167. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue2.js +49 -0
  168. package/dist/components/widgets/linvermedia-product-detail/mock-data.js +1005 -0
  169. package/dist/components/widgets/linvermedia-product-detail/mock-props.js +12 -0
  170. package/dist/components/widgets/linvermedia-product-detail/schema.js +11 -0
  171. package/dist/components/widgets/linvermedia-product-detail/useContext.js +43 -0
  172. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue.js +7 -0
  173. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue2.js +74 -0
  174. package/dist/components/widgets/linvermedia-solicitud-card/mock-data.js +580 -0
  175. package/dist/components/widgets/linvermedia-solicitud-card/mock-props.js +8 -0
  176. package/dist/components/widgets/linvermedia-solicitud-card/schema.js +5 -0
  177. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue.js +7 -0
  178. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue2.js +263 -0
  179. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue.js +21 -0
  180. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue2.js +4 -0
  181. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue.js +20 -0
  182. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue2.js +4 -0
  183. package/dist/components/widgets/perdm-telephony-product-detail/mock-data.js +1187 -0
  184. package/dist/components/widgets/perdm-telephony-product-detail/mock-props.js +12 -0
  185. package/dist/components/widgets/perdm-telephony-product-detail/schema.js +11 -0
  186. package/dist/components/widgets/perdm-telephony-product-detail/useContext.js +41 -0
  187. package/dist/components/widgets/shared/LinvermediaGamaProps.js +1688 -0
  188. package/dist/components/widgets/shared/PerdmTelephonyGamaProps.js +1688 -0
  189. package/dist/components/widgets/shared/ProductPrice.vue.js +7 -0
  190. package/dist/components/widgets/shared/ProductPrice.vue2.js +84 -0
  191. package/dist/components/widgets/shared/ProductProps.vue.js +294 -0
  192. package/dist/components/widgets/shared/ProductProps.vue2.js +4 -0
  193. package/dist/components/widgets/shared/ProductTag.vue.js +7 -0
  194. package/dist/components/widgets/shared/ProductTag.vue2.js +38 -0
  195. package/dist/components/widgets/shared/helpers.js +52 -0
  196. package/dist/components/widgets/shared/schema.js +17 -0
  197. package/dist/components/widgets/shared/useWidgetEvent.js +13 -0
  198. package/dist/components/widgets/telephony-card/TelephonyCard.vue.js +7 -0
  199. package/dist/components/widgets/telephony-card/TelephonyCard.vue2.js +292 -0
  200. package/dist/components/widgets/telephony-card/mock-data.js +1197 -0
  201. package/dist/components/widgets/telephony-card/mock-props.js +400 -0
  202. package/dist/components/widgets/telephony-card/schema.js +22 -0
  203. package/dist/components/widgets/telmex-card/TelmexCard.vue.js +7 -0
  204. package/dist/components/widgets/telmex-card/TelmexCard.vue2.js +232 -0
  205. package/dist/components/widgets/telmex-card/mock-data.js +1545 -0
  206. package/dist/components/widgets/telmex-card/mock-props.js +1332 -0
  207. package/dist/components/widgets/telmex-card/schema.js +22 -0
  208. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue.js +7 -0
  209. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue2.js +648 -0
  210. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue.js +7 -0
  211. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue2.js +316 -0
  212. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue.js +21 -0
  213. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue2.js +4 -0
  214. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue.js +20 -0
  215. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue2.js +4 -0
  216. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue.js +7 -0
  217. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue2.js +52 -0
  218. package/dist/components/widgets/telmex-product-detail/mock-data.js +1561 -0
  219. package/dist/components/widgets/telmex-product-detail/mock-props.js +10 -0
  220. package/dist/components/widgets/telmex-product-detail/schema.js +11 -0
  221. package/dist/components/widgets/telmex-product-detail/useContext.js +41 -0
  222. package/dist/components.js +31 -0
  223. package/dist/composables/fetching/fetchUniqFactory.js +21 -0
  224. package/dist/composables/fetching/fetchUniqProvider.js +15 -0
  225. package/dist/composables/fetching/types.js +11 -0
  226. package/dist/composables/fetching/useFetch.js +40 -0
  227. package/dist/composables/fetching/useFetchPages.js +101 -0
  228. package/dist/composables/useDragAndDrop.js +65 -0
  229. package/dist/composables/utils.js +11 -0
  230. package/dist/composables.js +17 -0
  231. package/dist/index.js +58 -0
  232. package/dist/node_modules/@win2win/shared/dist/consts/countries.js +1082 -0
  233. package/dist/node_modules/@win2win/shared/dist/consts/index.js +26 -0
  234. package/dist/node_modules/@win2win/shared/dist/consts/languages.js +173 -0
  235. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/index.js +18 -0
  236. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/perfiles.js +38 -0
  237. package/dist/node_modules/@win2win/shared/dist/consts/permisos/index.js +18 -0
  238. package/dist/node_modules/@win2win/shared/dist/consts/permisos/permisos.js +129 -0
  239. package/dist/node_modules/@win2win/shared/dist/consts/visitas/index.js +18 -0
  240. package/dist/node_modules/@win2win/shared/dist/consts/visitas/resultado.js +40 -0
  241. package/dist/node_modules/@win2win/shared/dist/enums/captacion.js +14 -0
  242. package/dist/node_modules/@win2win/shared/dist/enums/garantia.js +10 -0
  243. package/dist/node_modules/@win2win/shared/dist/enums/importacion.js +10 -0
  244. package/dist/node_modules/@win2win/shared/dist/enums/index.js +32 -0
  245. package/dist/node_modules/@win2win/shared/dist/enums/liquidacion.js +18 -0
  246. package/dist/node_modules/@win2win/shared/dist/enums/notificacion.js +10 -0
  247. package/dist/node_modules/@win2win/shared/dist/enums/pedido.js +10 -0
  248. package/dist/node_modules/@win2win/shared/dist/enums/producto.js +22 -0
  249. package/dist/node_modules/@win2win/shared/dist/enums/shared.js +10 -0
  250. package/dist/node_modules/@win2win/shared/dist/helpers/ProductPrice.js +61 -0
  251. package/dist/node_modules/@win2win/shared/dist/helpers/formatters.js +76 -0
  252. package/dist/node_modules/@win2win/shared/dist/helpers/index.js +22 -0
  253. package/dist/node_modules/@win2win/shared/dist/helpers/validators.js +15 -0
  254. package/dist/node_modules/@win2win/shared/dist/index.js +24 -0
  255. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/canal-props.js +5 -0
  256. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/index.js +18 -0
  257. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-effect.js +10 -0
  258. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-rule.js +23 -0
  259. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado.js +5 -0
  260. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/flag.js +10 -0
  261. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/index.js +26 -0
  262. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/llamada.js +18 -0
  263. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/import_schema.js +5 -0
  264. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/index.js +20 -0
  265. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/layout.js +7 -0
  266. package/dist/node_modules/@win2win/shared/dist/interfaces/index.js +34 -0
  267. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/index.js +20 -0
  268. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/landing.js +5 -0
  269. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/page_sections.js +270 -0
  270. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/index.js +18 -0
  271. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/layout.js +15 -0
  272. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/comision.js +11 -0
  273. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/index.js +24 -0
  274. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/item-liquidable.js +5 -0
  275. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/liquidaciones.js +10 -0
  276. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/regla.js +27 -0
  277. package/dist/node_modules/@win2win/shared/dist/interfaces/props/conditions.js +7 -0
  278. package/dist/node_modules/@win2win/shared/dist/interfaces/props/control-types.js +27 -0
  279. package/dist/node_modules/@win2win/shared/dist/interfaces/props/index.js +28 -0
  280. package/dist/node_modules/@win2win/shared/dist/interfaces/props/mappers.js +5 -0
  281. package/dist/node_modules/@win2win/shared/dist/interfaces/props/options.js +5 -0
  282. package/dist/node_modules/@win2win/shared/dist/interfaces/props/validators.js +85 -0
  283. package/dist/node_modules/@win2win/shared/dist/interfaces/props/visibility.js +5 -0
  284. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/archivo.js +5 -0
  285. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/captacion.js +5 -0
  286. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/gama.js +5 -0
  287. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/index.js +28 -0
  288. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/partner.js +5 -0
  289. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/producto.js +5 -0
  290. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/seguimiento.js +17 -0
  291. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/id.js +5 -0
  292. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/index.js +24 -0
  293. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/query-params.js +5 -0
  294. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/shared-types.js +5 -0
  295. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/timestamp.js +10 -0
  296. package/dist/node_modules/better-dni/dist/index.js +67 -0
  297. package/dist/node_modules/iban/iban.js +114 -0
  298. package/dist/node_modules/lodash/lodash.js +3676 -0
  299. package/dist/widgets.js +154 -0
  300. package/package.json +21 -5
  301. package/dist/w2w-shared-ui.js +0 -26029
  302. package/dist/w2w-shared-ui.umd.cjs +0 -48
@@ -0,0 +1,7 @@
1
+ import o from "./ProductInfo.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7e99a7af"]]);
5
+ export {
6
+ m as default
7
+ };
@@ -0,0 +1,316 @@
1
+ import { defineComponent as ie, ref as q, provide as U, toRefs as ne, computed as u, resolveComponent as ce, createElementBlock as a, openBlock as l, Fragment as h, createElementVNode as o, createBlock as B, createCommentVNode as i, unref as s, createVNode as E, renderList as R, normalizeStyle as P, withCtx as H, createTextVNode as S, toDisplayString as b, withModifiers as de } from "vue";
2
+ import ue from "../../../Common/IconButton.vue.js";
3
+ import me from "../../../Common/StateIndicator.vue.js";
4
+ import { l as m } from "../../../../node_modules/lodash/lodash.js";
5
+ import { toProductLite as pe } from "../../shared/helpers.js";
6
+ import _e from "./ProductLongDescription.vue.js";
7
+ import ve from "./ProductShortDescription.vue.js";
8
+ import { QBtn as be } from "quasar";
9
+ const ke = { class: "row justify-end" }, ye = { class: "text-h4 text-bold text-black q-mb-sm" }, ge = {
10
+ key: 0,
11
+ class: "row q-my-sm"
12
+ }, xe = {
13
+ key: 1,
14
+ class: "row items-end q-mb-md text-black"
15
+ }, fe = { class: "text-h2 text-bold" }, he = {
16
+ key: 2,
17
+ class: "q-my-md"
18
+ }, Pe = { class: "row" }, Ce = {
19
+ key: 0,
20
+ class: "q-mt-md text-black col-md-4"
21
+ }, we = { class: "features-list text-black" }, qe = {
22
+ key: 1,
23
+ class: "q-mt-md text-black col-md-4"
24
+ }, Re = { class: "features-list text-black" }, Se = {
25
+ key: 2,
26
+ class: "q-mt-md text-black col-md-4"
27
+ }, Ae = { class: "features-list text-black" }, Oe = {
28
+ key: 3,
29
+ class: "q-my-md row items-center"
30
+ }, Fe = {
31
+ key: 4,
32
+ class: "q-my-md text-black"
33
+ }, Be = {
34
+ key: 0,
35
+ class: "q-mb-xs"
36
+ }, Ee = { class: "row items-center q-mb-xs" }, Ie = { class: "text-bold" }, Ne = {
37
+ key: 1,
38
+ class: "q-mb-md"
39
+ }, Ve = { class: "row items-center q-mb-xs" }, Me = { class: "text-bold" }, Te = {
40
+ key: 2,
41
+ class: "q-mb-md"
42
+ }, De = { class: "row items-center q-mb-xs" }, ze = { class: "row" }, $e = "https://w2w-files.s3.amazonaws.com/telmex/93bbb8355e56f9c9_claro%20video.jpeg", je = "https://w2w-files.s3.amazonaws.com/telmex/cb555179b73aecab_paramount.jpeg", Ye = /* @__PURE__ */ ie({
43
+ __name: "ProductInfo",
44
+ props: {
45
+ isPublic: { type: Boolean },
46
+ fetching: { type: Boolean },
47
+ scale: {},
48
+ count: {},
49
+ imageHeight: {},
50
+ borderRadius: {},
51
+ unelevated: { type: Boolean },
52
+ hoverable: { type: Boolean },
53
+ view: { default: "detail" },
54
+ title: {},
55
+ data: {},
56
+ gamaProps: {},
57
+ cardColor: {},
58
+ color: { default: "#d83121" },
59
+ showPrice: { type: Function, default: () => !0 }
60
+ },
61
+ emits: ["click-contractar", "on-event"],
62
+ setup(W, { emit: J }) {
63
+ q(!1);
64
+ const A = J;
65
+ U("emit", A);
66
+ const v = W, K = q(1), { data: _, isPublic: C, gamaProps: X, count: Y, color: Z } = ne(v), ee = u(() => {
67
+ var t;
68
+ return ((t = v.showPrice) == null ? void 0 : t.call(v, _.value)) ?? !0;
69
+ }), n = u(() => pe(_.value)), te = u(() => {
70
+ var t, e;
71
+ return (e = (t = n.value) == null ? void 0 : t.nombre) == null ? void 0 : e.toUpperCase();
72
+ }), oe = u(
73
+ () => {
74
+ var t, e;
75
+ return m.compact(((e = (t = n.value) == null ? void 0 : t.tags) == null ? void 0 : e.split(",")) || []);
76
+ }
77
+ ), le = q(null), ae = q([]);
78
+ U("context", {
79
+ product: n,
80
+ slide: K,
81
+ isPublic: C,
82
+ selectedPackProduct: le,
83
+ images: ae,
84
+ count: Y,
85
+ gamaProps: X,
86
+ showPrice: ee
87
+ });
88
+ const I = u(() => {
89
+ var t;
90
+ return Number(((t = n.value) == null ? void 0 : t.precio) || 0);
91
+ }), se = () => {
92
+ var t;
93
+ return A("on-event", {
94
+ code: "edit_product",
95
+ payload: {
96
+ id: (t = n.value) == null ? void 0 : t.id,
97
+ detallePackComponent: "perdm_telephony",
98
+ hiddenTabs: ["proveedores", "prices"],
99
+ hidePriceTaxInputs: !0
100
+ }
101
+ });
102
+ }, k = (t) => t ? (m.isArray(t) ? t : [t]).map(String) : [], N = u(
103
+ () => {
104
+ var t, e, p, c;
105
+ return k((e = (t = n.value) == null ? void 0 : t.props) == null ? void 0 : e.cliente_ideal).concat(
106
+ k((c = (p = n.value) == null ? void 0 : p.props) == null ? void 0 : c.cliente_ideal_negocio)
107
+ );
108
+ }
109
+ ), V = u(
110
+ () => {
111
+ var t, e, p, c;
112
+ return k((e = (t = n.value) == null ? void 0 : t.props) == null ? void 0 : e.uso_recomendado).concat(
113
+ k((c = (p = n.value) == null ? void 0 : p.props) == null ? void 0 : c.uso_recomendado_negocio)
114
+ );
115
+ }
116
+ ), O = u(
117
+ () => {
118
+ var t, e;
119
+ return k((e = (t = n.value) == null ? void 0 : t.props) == null ? void 0 : e.promocion_portabilidad);
120
+ }
121
+ ), F = u(
122
+ () => {
123
+ var t, e;
124
+ return k((e = (t = n.value) == null ? void 0 : t.props) == null ? void 0 : e.promocion_altas);
125
+ }
126
+ ), re = u(
127
+ () => {
128
+ var t, e;
129
+ return !!((e = (t = _.value) == null ? void 0 : t.PROPS) != null && e.permite_alta_por_internet_recuperado);
130
+ }
131
+ ), M = u(() => {
132
+ var e, p, c, y, g;
133
+ return [
134
+ {
135
+ key: "lineas_telefonicas",
136
+ label: `${(p = (e = _.value) == null ? void 0 : e.PROPS) == null ? void 0 : p.lineas_telefonicas} líneas telefónicas`
137
+ },
138
+ {
139
+ key: "claro_drive",
140
+ label: `Claro Drive ${((g = (y = (c = _.value) == null ? void 0 : c.PROPS) == null ? void 0 : y.claro_drive) == null ? void 0 : g.replace(/_/g, " ")) || ""}`
141
+ },
142
+ { key: "llamadas_ilimitadas", label: "Llamadas ilimitadas" },
143
+ { key: "claro_video_paramounts", label: "Claro Video Paramount+" },
144
+ { key: "correo_negocio", label: "Correo Negocio" },
145
+ { key: "antivirus", label: "Antivirus" },
146
+ {
147
+ key: "facturacion_electronica",
148
+ label: "Facturación electrónica (Aspel ADM)"
149
+ },
150
+ { key: "seccion_amarilla", label: "Sección Amarilla" },
151
+ { key: "respaldo_info", label: "Respaldo de información" },
152
+ { key: "pagina_web", label: "Página web" },
153
+ { key: "facebook_fanpage", label: "Facebook Fanpage" },
154
+ { key: "google_mi_negocio", label: "Google Mi Negocio" },
155
+ { key: "whatsapp_empresarial", label: "WhatsApp Empresarial" },
156
+ { key: "videoconferencia_telmex", label: "Videoconferencia Telmex" }
157
+ ].filter((w) => {
158
+ var x, f;
159
+ return (f = (x = _.value) == null ? void 0 : x.PROPS) == null ? void 0 : f[w.key];
160
+ }).slice(0, 5);
161
+ });
162
+ return (t, e) => {
163
+ var c, y, g, w, x, f, T, D, z, $, j, L, G, Q;
164
+ const p = ce("QChip");
165
+ return l(), a(h, null, [
166
+ o("div", ke, [
167
+ s(C) ? i("", !0) : (l(), B(ue, {
168
+ key: 0,
169
+ icon: "edit",
170
+ sm: "",
171
+ onClick: se
172
+ }))
173
+ ]),
174
+ o("div", null, [
175
+ o("div", null, [
176
+ o("div", null, [
177
+ (l(!0), a(h, null, R(oe.value, (r) => (l(), B(p, {
178
+ outline: "",
179
+ key: r,
180
+ size: "md",
181
+ class: "q-mx-xs q-mb-md",
182
+ style: P({ borderColor: s(Z) })
183
+ }, {
184
+ default: H(() => [
185
+ S(b(s(m.capitalize)(r)), 1)
186
+ ]),
187
+ _: 2
188
+ }, 1032, ["style"]))), 128))
189
+ ]),
190
+ o("div", ye, b(te.value || ""), 1),
191
+ s(C) ? i("", !0) : (l(), a("div", ge, [
192
+ (c = s(_)) != null && c.R_ESTADO ? (l(), B(me, {
193
+ key: 0,
194
+ label: (g = (y = s(_)) == null ? void 0 : y.R_ESTADO) == null ? void 0 : g.NAME,
195
+ color: (x = (w = s(_)) == null ? void 0 : w.R_ESTADO) == null ? void 0 : x.COLOR
196
+ }, null, 8, ["label", "color"])) : i("", !0)
197
+ ])),
198
+ I.value ? (l(), a("div", xe, [
199
+ o("span", fe, "$" + b(I.value), 1),
200
+ e[1] || (e[1] = o("span", { class: "text-caption q-pl-sm q-pb-sm" }, " al mes", -1))
201
+ ])) : i("", !0),
202
+ E(ve),
203
+ s(C) ? (l(), a("div", he, [
204
+ E(s(be), {
205
+ class: "text-bold",
206
+ style: P({ backgroundColor: v.color }),
207
+ "text-color": "white",
208
+ size: "lg",
209
+ "no-caps": "",
210
+ unelevated: "",
211
+ onClick: e[0] || (e[0] = de((r) => A("click-contractar"), ["stop"]))
212
+ }, {
213
+ default: H(() => [...e[2] || (e[2] = [
214
+ S(" Contratar ahora ", -1)
215
+ ])]),
216
+ _: 1
217
+ }, 8, ["style"])
218
+ ])) : i("", !0),
219
+ o("div", Pe, [
220
+ (f = M.value) != null && f.length ? (l(), a("div", Ce, [
221
+ e[3] || (e[3] = o("div", { class: "text-bold q-pl-md-lg" }, "Características:", -1)),
222
+ o("ul", we, [
223
+ (l(!0), a(h, null, R(M.value, (r) => (l(), a("li", {
224
+ key: r.key
225
+ }, b(r.label), 1))), 128))
226
+ ])
227
+ ])) : i("", !0),
228
+ (T = N.value) != null && T.length ? (l(), a("div", qe, [
229
+ e[4] || (e[4] = o("div", { class: "text-bold q-pl-md-lg" }, "Ideal para:", -1)),
230
+ o("ul", Re, [
231
+ (l(!0), a(h, null, R(N.value, (r) => {
232
+ var d;
233
+ return l(), a("li", { key: r }, b((d = s(m.upperFirst)(s(m.snakeCase)(r))) == null ? void 0 : d.replace(/_/g, " ")), 1);
234
+ }), 128))
235
+ ])
236
+ ])) : i("", !0),
237
+ (D = V.value) != null && D.length ? (l(), a("div", Se, [
238
+ e[5] || (e[5] = o("div", { class: "text-bold q-pl-md-lg" }, "Uso recomendado:", -1)),
239
+ o("ul", Ae, [
240
+ (l(!0), a(h, null, R(V.value, (r) => {
241
+ var d;
242
+ return l(), a("li", { key: r }, b((d = s(m.upperFirst)(s(m.snakeCase)(r))) == null ? void 0 : d.replace(/_/g, " ")), 1);
243
+ }), 128))
244
+ ])
245
+ ])) : i("", !0)
246
+ ]),
247
+ ($ = (z = n.value) == null ? void 0 : z.props) != null && $.claro_video_paramounts ? (l(), a("div", Oe, [
248
+ o("img", {
249
+ src: $e,
250
+ alt: "Claro video",
251
+ style: { height: "50px", width: "50px", "border-radius": "8px" },
252
+ class: "q-mr-md"
253
+ }),
254
+ o("img", {
255
+ src: je,
256
+ alt: "Paramount+",
257
+ style: { height: "40px", width: "40px", "border-radius": "8px" }
258
+ })
259
+ ])) : i("", !0),
260
+ (j = O.value) != null && j.length || (L = F.value) != null && L.length ? (l(), a("div", Fe, [
261
+ (G = F.value) != null && G.length ? (l(), a("div", Be, [
262
+ o("div", Ee, [
263
+ o("div", {
264
+ class: "promo-indicator q-mr-sm",
265
+ style: P({ backgroundColor: v.color })
266
+ }, null, 4),
267
+ o("div", null, [
268
+ e[6] || (e[6] = S(" Promoción Alta Internet, Recuperado, Sólo clientes, Megacable: ", -1)),
269
+ o("span", Ie, b(F.value.map(
270
+ (r) => {
271
+ var d;
272
+ return (d = s(m.upperFirst)(s(m.snakeCase)(r))) == null ? void 0 : d.replace(/_/g, " ");
273
+ }
274
+ ).join(", ")), 1)
275
+ ])
276
+ ])
277
+ ])) : i("", !0),
278
+ (Q = O.value) != null && Q.length ? (l(), a("div", Ne, [
279
+ o("div", Ve, [
280
+ o("div", {
281
+ class: "promo-indicator q-mr-sm",
282
+ style: P({ backgroundColor: v.color })
283
+ }, null, 4),
284
+ o("div", null, [
285
+ e[7] || (e[7] = S(" Promoción de Portabilidad: ", -1)),
286
+ o("span", Me, b(O.value.map(
287
+ (r) => {
288
+ var d;
289
+ return (d = s(m.upperFirst)(s(m.snakeCase)(r))) == null ? void 0 : d.replace(/_/g, " ");
290
+ }
291
+ ).join(", ")), 1)
292
+ ])
293
+ ])
294
+ ])) : i("", !0),
295
+ re.value ? (l(), a("div", Te, [
296
+ o("div", De, [
297
+ o("div", {
298
+ class: "promo-indicator q-mr-sm",
299
+ style: P({ backgroundColor: v.color })
300
+ }, null, 4),
301
+ e[8] || (e[8] = o("div", null, "Permite alta por internet recuperado", -1))
302
+ ])
303
+ ])) : i("", !0)
304
+ ])) : i("", !0)
305
+ ])
306
+ ]),
307
+ o("div", ze, [
308
+ E(_e)
309
+ ])
310
+ ], 64);
311
+ };
312
+ }
313
+ });
314
+ export {
315
+ Ye as default
316
+ };
@@ -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,20 @@
1
+ import { defineComponent as n, computed as s, createElementBlock as o, openBlock as c, createCommentVNode as a, toDisplayString as i } from "vue";
2
+ import { useContext as p } from "../useContext.js";
3
+ const u = { style: { "font-size": "16px", "max-height": "300px", "overflow-y": "auto" } }, _ = {
4
+ key: 0,
5
+ class: "text-black"
6
+ }, f = /* @__PURE__ */ n({
7
+ __name: "ProductShortDescription",
8
+ setup(l) {
9
+ const { product: r } = p(), e = s(() => {
10
+ var t;
11
+ return ((t = r.value) == null ? void 0 : t.descripcion_corta) || "";
12
+ });
13
+ return (t, m) => (c(), o("div", u, [
14
+ e.value ? (c(), o("div", _, i(e.value), 1)) : a("", !0)
15
+ ]));
16
+ }
17
+ });
18
+ export {
19
+ f as default
20
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./ProductShortDescription.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./TotalOrder.vue2.js";
2
+ /* empty css */
3
+ import r from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-384949f4"]]);
5
+ export {
6
+ m as default
7
+ };
@@ -0,0 +1,52 @@
1
+ import { defineComponent as h, toRefs as f, resolveComponent as C, createElementBlock as o, createCommentVNode as p, unref as e, openBlock as n, createElementVNode as t, createVNode as v, toDisplayString as s, Fragment as x, renderList as N, normalizeStyle as b } from "vue";
2
+ import "../../../../node_modules/@win2win/shared/dist/index.js";
3
+ import { __exports as a } from "../../../../_virtual/index.js";
4
+ const w = {
5
+ key: 0,
6
+ class: "total-container q-mb-md"
7
+ }, g = { class: "total-breakdown" }, k = { class: "row justify-between items-center q-mb-xs gt-sm" }, q = { class: "text-weight-medium" }, E = { class: "lt-md" }, P = { key: 0 }, B = { class: "row justify-between items-center text-bold" }, R = /* @__PURE__ */ h({
8
+ __name: "TotalOrder",
9
+ props: [
10
+ "totalPrice",
11
+ "selectedComplementsData",
12
+ "priceValue",
13
+ "name",
14
+ "color"
15
+ ],
16
+ setup(_) {
17
+ const c = _, { totalPrice: i, selectedComplementsData: r, priceValue: u, name: m, color: D } = f(c);
18
+ return (O, d) => {
19
+ const y = C("q-separator");
20
+ return e(i) > 0 ? (n(), o("div", w, [
21
+ t("div", g, [
22
+ t("div", k, [
23
+ t("span", null, "PLAN BASE " + s(e(m)) + ":", 1),
24
+ t("span", q, s(e(a.toCurrency)(e(u), "MXN")) + " al mes ", 1)
25
+ ]),
26
+ (n(!0), o(x, null, N(e(r), (l) => (n(), o("div", {
27
+ key: l.ID_PRODUCTO,
28
+ class: "row justify-between items-center q-mb-xs gt-sm"
29
+ }, [
30
+ t("span", null, s(l.NOMBRE) + ":", 1),
31
+ t("span", null, "+" + s(e(a.toCurrency)(l.PRECIO, "MXN")) + " al mes", 1)
32
+ ]))), 128)),
33
+ t("div", E, [
34
+ t("div", null, "PLAN BASE " + s(e(m)), 1),
35
+ e(r).length ? (n(), o("div", P, " +" + s(e(r).length) + " complementos ", 1)) : p("", !0)
36
+ ]),
37
+ v(y, { class: "q-my-sm" }),
38
+ t("div", B, [
39
+ d[0] || (d[0] = t("span", { class: "text-h6" }, "Total:", -1)),
40
+ t("span", {
41
+ class: "text-h6",
42
+ style: b({ color: c.color })
43
+ }, s(e(a.toCurrency)(e(i), "MXN")) + " al mes ", 5)
44
+ ])
45
+ ])
46
+ ])) : p("", !0);
47
+ };
48
+ }
49
+ });
50
+ export {
51
+ R as default
52
+ };