@win2win/shared-ui 0.3.238 → 0.3.240

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,135 @@
1
+ import { defineComponent as $, computed as j, ref as L, inject as Q, watch as F, createElementBlock as r, openBlock as o, createCommentVNode as p, createElementVNode as A, unref as s, createVNode as f, withCtx as _, createTextVNode as C, normalizeStyle as m, Fragment as g, renderList as k, toDisplayString as y } from "vue";
2
+ import "../../../node_modules/@win2win/shared/dist/index.js";
3
+ import { cloneDeep as G } from "lodash-es";
4
+ import { QBtn as E, QTooltip as N } from "quasar";
5
+ import { set as H, get as O } from "../helpers.js";
6
+ import { useData as q } from "./useData.js";
7
+ import { __exports as I } from "../../../_virtual/index.js";
8
+ const J = { class: "section" }, K = {
9
+ key: 0,
10
+ class: "no-print"
11
+ }, M = { class: "add-btn" }, U = ["contenteditable"], W = ["contenteditable"], X = { class: "p-container" }, Y = ["contenteditable"], Z = {
12
+ key: 0,
13
+ class: "remove-btn no-print"
14
+ }, ie = /* @__PURE__ */ $({
15
+ __name: "TextSection",
16
+ props: {
17
+ styles: {},
18
+ id: {},
19
+ content: {}
20
+ },
21
+ setup(V) {
22
+ const b = V, { data: T } = q(b.id, {}), w = j(() => {
23
+ var e;
24
+ return ((e = b.content) == null ? void 0 : e.lines) || [];
25
+ }), d = L([]), n = Q("editable"), v = (e, t, i) => {
26
+ if (!t)
27
+ return x(T.value, e);
28
+ const l = {};
29
+ return Object.keys(t).forEach((c) => {
30
+ const u = `${i}.${c}`;
31
+ H(l, u, t[c]);
32
+ }), x(l, e);
33
+ };
34
+ F(
35
+ w,
36
+ (e) => {
37
+ d.value = G(e);
38
+ },
39
+ { deep: !0, immediate: !0 }
40
+ );
41
+ function x(e, t) {
42
+ const i = t.match(/{{(.*?)}}/g);
43
+ return i ? i.reduce((l, a) => {
44
+ const c = a.replace(/{{|}}/g, "").trim(), u = O(e, c);
45
+ return l.replace(a, u ?? c);
46
+ }, t) : t;
47
+ }
48
+ const z = () => {
49
+ if (!(n != null && n.value)) return;
50
+ const e = d.value.length, t = {
51
+ type: I.TextLineType.PARAGRAPH,
52
+ text: "Párrafo " + e
53
+ };
54
+ d.value.push(t);
55
+ }, B = (e) => {
56
+ n != null && n.value && d.value.splice(e, 1);
57
+ }, D = (e) => e.split(`
58
+ `);
59
+ return (e, t) => {
60
+ var i;
61
+ return o(), r("div", J, [
62
+ s(n) ? (o(), r("div", K, [
63
+ A("div", M, [
64
+ f(s(E), {
65
+ size: "sm",
66
+ round: "",
67
+ color: "black",
68
+ onClick: z,
69
+ icon: "add"
70
+ }, {
71
+ default: _(() => [
72
+ f(s(N), null, {
73
+ default: _(() => [...t[0] || (t[0] = [
74
+ C("Agregar párrafo", -1)
75
+ ])]),
76
+ _: 1
77
+ })
78
+ ]),
79
+ _: 1
80
+ })
81
+ ])
82
+ ])) : p("", !0),
83
+ A("div", {
84
+ style: m(((i = e.styles) == null ? void 0 : i.cssRaw) || "")
85
+ }, [
86
+ (o(!0), r(g, null, k(d.value, ({ type: l, text: a, align: c, sourceCollection: u, styles: h }, R) => (o(), r("div", {
87
+ style: m({ textAlign: c || "left" })
88
+ }, [
89
+ l === "title" ? (o(), r("h1", {
90
+ key: 0,
91
+ contenteditable: s(n),
92
+ style: m(h || {})
93
+ }, y(v(a, null)), 13, U)) : p("", !0),
94
+ l === "subtitle" ? (o(), r("h2", {
95
+ key: 1,
96
+ contenteditable: s(n),
97
+ style: m(h || {})
98
+ }, y(v(a, null)), 13, W)) : p("", !0),
99
+ l === "paragraph" ? (o(!0), r(g, { key: 2 }, k(u ? s(T)[u] : [null], (S) => (o(), r("div", X, [
100
+ (o(!0), r(g, null, k(D(
101
+ v(a, S, u)
102
+ ), (P) => (o(), r("p", {
103
+ contenteditable: s(n),
104
+ style: m(h || {})
105
+ }, y(P), 13, Y))), 256)),
106
+ s(n) ? (o(), r("div", Z, [
107
+ f(s(E), {
108
+ size: "sm",
109
+ r: "",
110
+ round: "",
111
+ color: "black",
112
+ onClick: (P) => B(R),
113
+ icon: "delete"
114
+ }, {
115
+ default: _(() => [
116
+ f(s(N), null, {
117
+ default: _(() => [...t[1] || (t[1] = [
118
+ C("Eliminar párrafo", -1)
119
+ ])]),
120
+ _: 1
121
+ })
122
+ ]),
123
+ _: 2
124
+ }, 1032, ["onClick"])
125
+ ])) : p("", !0)
126
+ ]))), 256)) : p("", !0)
127
+ ], 4))), 256))
128
+ ], 4)
129
+ ]);
130
+ };
131
+ }
132
+ });
133
+ export {
134
+ ie as default
135
+ };
@@ -0,0 +1,11 @@
1
+ const e = "_section_besae_1", n = {
2
+ section: e,
3
+ "p-container": "_p-container_besae_2",
4
+ "add-btn": "_add-btn_besae_6",
5
+ "remove-btn": "_remove-btn_besae_13",
6
+ "no-print": "_no-print_besae_41"
7
+ };
8
+ export {
9
+ n as default,
10
+ e as section
11
+ };
@@ -0,0 +1,8 @@
1
+ import { inject as u, computed as a } from "vue";
2
+ function r(n, c = {}) {
3
+ const t = u("data"), o = a(() => t.value[n] || c), e = a(() => t.value.global || {}), l = a(() => ({ ...e.value, ...o.value }));
4
+ return { sectionData: o, globalData: e, data: l };
5
+ }
6
+ export {
7
+ r as useData
8
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./BrokerCard.vue2.js";
2
+ /* empty css */
3
+ import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-2e683dc4"]]);
5
+ export {
6
+ m as default
7
+ };
@@ -0,0 +1,171 @@
1
+ import { defineComponent as E, toRefs as L, ref as k, computed as n, createBlock as I, createCommentVNode as y, openBlock as r, normalizeStyle as O, withCtx as P, createElementVNode as o, createVNode as d, createElementBlock as u, Fragment as z, renderList as D, createTextVNode as j, toDisplayString as m, unref as p } from "vue";
2
+ import U from "../../Common/FlagsIcons.vue.js";
3
+ import "../../../node_modules/@win2win/shared/dist/index.js";
4
+ import { mapKeys as H, snakeCase as F } from "lodash-es";
5
+ import { QIcon as B, QCardSection as G } from "quasar";
6
+ import M from "../../Common/Card.vue.js";
7
+ import Q from "../../Common/DynamicCarousel.vue.js";
8
+ /* empty css */
9
+ import $ from "../shared/ProductTag.vue.js";
10
+ import K from "./components/BrokerProps.vue.js";
11
+ import { __exports as R } from "../../../_virtual/index.js";
12
+ const W = { class: "carousel-container" }, J = { class: "carousel-overlay" }, X = { class: "text-center row justify-center no-wrap" }, Y = {
13
+ key: 0,
14
+ class: "media-count"
15
+ }, Z = { class: "row justify-between no-wrap" }, ee = {
16
+ class: "text-subtitle1 text-bold text-main",
17
+ style: { "line-height": "120%" }
18
+ }, te = {
19
+ key: 0,
20
+ class: "row items-center location-text q-mt-xs"
21
+ }, oe = { class: "q-ml-xs" }, ae = {
22
+ style: { "font-size": "15px" },
23
+ class: "q-my-md text-black"
24
+ }, se = {
25
+ class: "q-mb-lg",
26
+ style: { opacity: "0.85" }
27
+ }, le = { key: 1 }, ye = /* @__PURE__ */ E({
28
+ __name: "BrokerCard",
29
+ props: {
30
+ isPublic: { type: Boolean },
31
+ fetching: { type: Boolean },
32
+ scale: {},
33
+ count: {},
34
+ imageHeight: {},
35
+ borderRadius: {},
36
+ unelevated: { type: Boolean },
37
+ hoverable: { type: Boolean },
38
+ descriptionLines: { default: 2 },
39
+ hiddenProps: { default: () => [] },
40
+ data: {},
41
+ gamaProps: {},
42
+ context: {}
43
+ },
44
+ emits: ["on-event"],
45
+ setup(N, { emit: A }) {
46
+ const w = A, h = N, { data: c, context: S } = L(h), T = k(!1), s = n(() => {
47
+ var e;
48
+ return S.value === "captacion" ? ((e = c.value) == null ? void 0 : e.PARTNER) || null : c.value || null;
49
+ }), V = n(
50
+ () => {
51
+ var e;
52
+ return (((e = c.value) == null ? void 0 : e.PAISES) || []).map((t) => t.CODIGO.toLowerCase());
53
+ }
54
+ ), C = n(
55
+ () => {
56
+ var e, t, l, i, a, b;
57
+ return R.capitalize(
58
+ [
59
+ (l = (t = (e = s.value) == null ? void 0 : e.CONTACTO) == null ? void 0 : t.UBICACION) == null ? void 0 : l.PROVINCIA,
60
+ (b = (a = (i = s.value) == null ? void 0 : i.CONTACTO) == null ? void 0 : a.UBICACION) == null ? void 0 : b.CIUDAD
61
+ ].map((g) => g == null ? void 0 : g.trim()).filter(Boolean).join(", "),
62
+ !0
63
+ );
64
+ }
65
+ ), x = n(
66
+ () => {
67
+ var e, t;
68
+ return R.capitalize((t = (e = s.value) == null ? void 0 : e.NOMBRE) == null ? void 0 : t.trim().split(" ")[0], !0);
69
+ }
70
+ ), _ = n(
71
+ () => {
72
+ var e;
73
+ return (((e = s.value) == null ? void 0 : e.DESCRIPCION_CORTA) || "").trim();
74
+ }
75
+ ), q = n(() => {
76
+ var e, t;
77
+ return (t = (e = s.value) == null ? void 0 : e.TAGS) == null ? void 0 : t.split(",");
78
+ }), v = k(1), f = n(
79
+ () => {
80
+ var e;
81
+ return (((e = s.value) == null ? void 0 : e.R_ARCHIVOS) || []).map(
82
+ (t) => H(t, (l, i) => F(i))
83
+ );
84
+ }
85
+ );
86
+ return (e, t) => s.value ? (r(), I(M, {
87
+ key: 0,
88
+ loading: e.fetching,
89
+ "no-padding": "",
90
+ unelevated: e.unelevated,
91
+ "border-radius": e.borderRadius,
92
+ hoverable: e.hoverable,
93
+ style: O({ scale: h.scale ?? 1 }),
94
+ onClick: t[1] || (t[1] = (l) => w("on-event", {
95
+ code: "card_click",
96
+ payload: { broker: s.value }
97
+ }))
98
+ }, {
99
+ default: P(() => {
100
+ var l, i;
101
+ return [
102
+ o("div", W, [
103
+ o("div", J, [
104
+ o("div", X, [
105
+ (r(!0), u(z, null, D(q.value, (a) => (r(), I($, { tag: a }, null, 8, ["tag"]))), 256))
106
+ ]),
107
+ T.value ? (r(), u("div", Y, [
108
+ j(m((l = f.value) != null && l.length ? v.value : 0) + "/" + m(((i = f.value) == null ? void 0 : i.length) || 0) + " ", 1),
109
+ d(p(B), {
110
+ name: "sym_o_image",
111
+ size: "sm",
112
+ class: "q-ml-xs"
113
+ })
114
+ ])) : y("", !0)
115
+ ]),
116
+ d(Q, {
117
+ modelValue: v.value,
118
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => v.value = a),
119
+ items: f.value,
120
+ height: e.imageHeight,
121
+ "border-radius": e.borderRadius
122
+ }, null, 8, ["modelValue", "items", "height", "border-radius"])
123
+ ]),
124
+ d(p(G), { class: "q-pa-md-lg q-pa-md column justify-between full-height" }, {
125
+ default: P(() => {
126
+ var a;
127
+ return [
128
+ o("div", null, [
129
+ o("div", Z, [
130
+ o("div", ee, m(x.value), 1),
131
+ d(U, {
132
+ items: V.value,
133
+ type: "countries"
134
+ }, null, 8, ["items"])
135
+ ]),
136
+ C.value ? (r(), u("div", te, [
137
+ d(p(B), { name: "sym_o_location_on" }),
138
+ o("div", oe, m(C.value), 1)
139
+ ])) : y("", !0),
140
+ o("div", ae, [
141
+ o("div", se, [
142
+ _.value ? (r(), u("span", {
143
+ key: 0,
144
+ class: "description",
145
+ style: O({
146
+ lineClamp: e.descriptionLines,
147
+ WebkitLineClamp: e.descriptionLines
148
+ })
149
+ }, m(_.value || "~"), 5)) : (r(), u("span", le, [...t[2] || (t[2] = [
150
+ o("i", null, "Sin descripción", -1)
151
+ ])]))
152
+ ]),
153
+ d(K, {
154
+ gamaProps: e.gamaProps,
155
+ data: (a = p(c)) == null ? void 0 : a.PROPS
156
+ }, null, 8, ["gamaProps", "data"])
157
+ ])
158
+ ])
159
+ ];
160
+ }),
161
+ _: 1
162
+ })
163
+ ];
164
+ }),
165
+ _: 1
166
+ }, 8, ["loading", "unelevated", "border-radius", "hoverable", "style"])) : y("", !0);
167
+ }
168
+ });
169
+ export {
170
+ ye as default
171
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./BrokerProps.vue2.js";
2
+ /* empty css */
3
+ import r from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e651b1fd"]]);
5
+ export {
6
+ f as default
7
+ };
@@ -0,0 +1,117 @@
1
+ import { defineComponent as F, toRefs as L, computed as y, createElementBlock as t, openBlock as l, createElementVNode as s, createCommentVNode as d, unref as b, createVNode as C, toDisplayString as c, Fragment as m, renderList as _, createTextVNode as f } from "vue";
2
+ import { upperFirst as h, snakeCase as z } from "lodash-es";
3
+ import E from "../../../Common/FlagsIcons.vue.js";
4
+ const V = { class: "text" }, A = {
5
+ key: 0,
6
+ class: "props-table"
7
+ }, I = { key: 0 }, q = { key: 1 }, x = { key: 0 }, D = { key: 2 }, P = { key: 0 }, R = { key: 3 }, S = { key: 0 }, T = {
8
+ key: 1,
9
+ class: "list"
10
+ }, Y = {
11
+ key: 0,
12
+ class: "row items-center q-mb-sm"
13
+ }, J = /* @__PURE__ */ F({
14
+ __name: "BrokerProps",
15
+ props: {
16
+ data: {},
17
+ gamaProps: {},
18
+ table: { type: Boolean, default: !1 }
19
+ },
20
+ setup(w) {
21
+ const N = w, { data: u } = L(N), k = y(() => {
22
+ var r, e, a;
23
+ return ((a = (e = (r = u.value) == null ? void 0 : r.especializacion) == null ? void 0 : e.map((n) => n.toLowerCase())) == null ? void 0 : a.map((n) => {
24
+ var o;
25
+ return (o = h(z(n))) == null ? void 0 : o.replace(/_/g, " ");
26
+ })) || [];
27
+ }), v = y(() => {
28
+ var r, e, a;
29
+ return ((a = (e = (r = u.value) == null ? void 0 : r.especializacion_de_residencia) == null ? void 0 : e.map((n) => n.toLowerCase())) == null ? void 0 : a.map((n) => {
30
+ var o;
31
+ return (o = h(z(n))) == null ? void 0 : o.replace(/_/g, " ");
32
+ })) || [];
33
+ }), g = y(() => {
34
+ var r, e, a;
35
+ return ((a = (e = (r = u.value) == null ? void 0 : r.especializacion_hipotecas) == null ? void 0 : e.map((n) => n.toLowerCase())) == null ? void 0 : a.map((n) => {
36
+ var o;
37
+ return (o = h(z(n))) == null ? void 0 : o.replace(/_/g, " ");
38
+ })) || [];
39
+ }), B = y(() => {
40
+ var a;
41
+ const r = Number((a = u.value) == null ? void 0 : a.fecha_de_inicio) || 0;
42
+ return (/* @__PURE__ */ new Date()).getFullYear() - r;
43
+ });
44
+ return (r, e) => {
45
+ var a, n, o;
46
+ return l(), t("div", V, [
47
+ r.table ? (l(), t("table", A, [
48
+ s("tbody", null, [
49
+ (a = b(u)) != null && a.idiomas.length ? (l(), t("tr", I, [
50
+ e[0] || (e[0] = s("td", { class: "broker-label" }, "Idiomas", -1)),
51
+ s("td", null, [
52
+ C(E, {
53
+ items: b(u).idiomas,
54
+ type: "languages"
55
+ }, null, 8, ["items"])
56
+ ])
57
+ ])) : d("", !0),
58
+ s("tr", null, [
59
+ e[1] || (e[1] = s("td", { class: "broker-label" }, "Años de experiencia", -1)),
60
+ s("td", null, c(B.value), 1)
61
+ ]),
62
+ k.value.length ? (l(), t("tr", q, [
63
+ e[2] || (e[2] = s("td", { class: "broker-label" }, "Especialización", -1)),
64
+ s("td", null, [
65
+ (l(!0), t(m, null, _(k.value, (i, p) => (l(), t("span", {
66
+ key: "esp-" + p
67
+ }, [
68
+ f(c(i), 1),
69
+ p < k.value.length - 1 ? (l(), t("span", x, ", ")) : d("", !0)
70
+ ]))), 128))
71
+ ])
72
+ ])) : d("", !0),
73
+ v.value.length ? (l(), t("tr", D, [
74
+ e[3] || (e[3] = s("td", { class: "broker-label" }, "Especialización de residencia", -1)),
75
+ s("td", null, [
76
+ (l(!0), t(m, null, _(v.value, (i, p) => (l(), t("span", {
77
+ key: "espres-" + p
78
+ }, [
79
+ f(c(i), 1),
80
+ p < v.value.length - 1 ? (l(), t("span", P, ", ")) : d("", !0)
81
+ ]))), 128))
82
+ ])
83
+ ])) : d("", !0),
84
+ g.value.length ? (l(), t("tr", R, [
85
+ e[4] || (e[4] = s("td", { class: "broker-label" }, "Especialización de hipotecas", -1)),
86
+ s("td", null, [
87
+ (l(!0), t(m, null, _(g.value, (i, p) => (l(), t("span", {
88
+ key: "espres-" + p
89
+ }, [
90
+ f(c(i), 1),
91
+ p < g.value.length - 1 ? (l(), t("span", S, ", ")) : d("", !0)
92
+ ]))), 128))
93
+ ])
94
+ ])) : d("", !0)
95
+ ])
96
+ ])) : (l(), t("div", T, [
97
+ (o = (n = b(u)) == null ? void 0 : n.idiomas) != null && o.length ? (l(), t("div", Y, [
98
+ e[5] || (e[5] = s("div", { class: "q-mr-sm" }, "Idiomas:", -1)),
99
+ C(E, {
100
+ items: b(u).idiomas,
101
+ type: "languages"
102
+ }, null, 8, ["items"])
103
+ ])) : d("", !0),
104
+ e[6] || (e[6] = s("div", null, "Especializado en:", -1)),
105
+ s("ul", null, [
106
+ (l(!0), t(m, null, _(k.value, (i) => (l(), t("li", null, c(i), 1))), 256)),
107
+ (l(!0), t(m, null, _(v.value, (i) => (l(), t("li", null, c(i), 1))), 256)),
108
+ (l(!0), t(m, null, _(g.value, (i) => (l(), t("li", null, c(i), 1))), 256))
109
+ ])
110
+ ]))
111
+ ]);
112
+ };
113
+ }
114
+ });
115
+ export {
116
+ J as default
117
+ };