@win2win/shared-ui 0.3.240 → 0.3.242

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/dist/w2w-shared-ui.js +26029 -0
  2. package/dist/w2w-shared-ui.umd.cjs +48 -0
  3. package/package.json +5 -21
  4. package/dist/_virtual/ProductPrice.js +0 -4
  5. package/dist/_virtual/_commonjsHelpers.js +0 -4
  6. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  7. package/dist/_virtual/archivo.js +0 -4
  8. package/dist/_virtual/canal-props.js +0 -4
  9. package/dist/_virtual/captacion.js +0 -4
  10. package/dist/_virtual/captacion2.js +0 -4
  11. package/dist/_virtual/comision.js +0 -4
  12. package/dist/_virtual/conditions.js +0 -4
  13. package/dist/_virtual/control-types.js +0 -4
  14. package/dist/_virtual/countries.js +0 -4
  15. package/dist/_virtual/estado-effect.js +0 -4
  16. package/dist/_virtual/estado-rule.js +0 -4
  17. package/dist/_virtual/estado.js +0 -4
  18. package/dist/_virtual/flag.js +0 -4
  19. package/dist/_virtual/formatters.js +0 -4
  20. package/dist/_virtual/gama.js +0 -4
  21. package/dist/_virtual/garantia.js +0 -4
  22. package/dist/_virtual/iban.js +0 -4
  23. package/dist/_virtual/id.js +0 -4
  24. package/dist/_virtual/import_schema.js +0 -4
  25. package/dist/_virtual/importacion.js +0 -4
  26. package/dist/_virtual/index.js +0 -4
  27. package/dist/_virtual/index10.js +0 -4
  28. package/dist/_virtual/index11.js +0 -4
  29. package/dist/_virtual/index12.js +0 -4
  30. package/dist/_virtual/index13.js +0 -4
  31. package/dist/_virtual/index14.js +0 -4
  32. package/dist/_virtual/index15.js +0 -4
  33. package/dist/_virtual/index16.js +0 -4
  34. package/dist/_virtual/index17.js +0 -4
  35. package/dist/_virtual/index18.js +0 -4
  36. package/dist/_virtual/index2.js +0 -4
  37. package/dist/_virtual/index3.js +0 -4
  38. package/dist/_virtual/index4.js +0 -4
  39. package/dist/_virtual/index5.js +0 -4
  40. package/dist/_virtual/index6.js +0 -4
  41. package/dist/_virtual/index7.js +0 -4
  42. package/dist/_virtual/index8.js +0 -4
  43. package/dist/_virtual/index9.js +0 -4
  44. package/dist/_virtual/item-liquidable.js +0 -4
  45. package/dist/_virtual/landing.js +0 -4
  46. package/dist/_virtual/languages.js +0 -4
  47. package/dist/_virtual/layout.js +0 -4
  48. package/dist/_virtual/layout2.js +0 -4
  49. package/dist/_virtual/liquidacion.js +0 -4
  50. package/dist/_virtual/liquidaciones.js +0 -4
  51. package/dist/_virtual/llamada.js +0 -4
  52. package/dist/_virtual/lodash.js +0 -4
  53. package/dist/_virtual/mappers.js +0 -4
  54. package/dist/_virtual/notificacion.js +0 -4
  55. package/dist/_virtual/options.js +0 -4
  56. package/dist/_virtual/page_sections.js +0 -4
  57. package/dist/_virtual/partner.js +0 -4
  58. package/dist/_virtual/pedido.js +0 -4
  59. package/dist/_virtual/perfiles.js +0 -4
  60. package/dist/_virtual/permisos.js +0 -4
  61. package/dist/_virtual/producto.js +0 -4
  62. package/dist/_virtual/producto2.js +0 -4
  63. package/dist/_virtual/query-params.js +0 -4
  64. package/dist/_virtual/regla.js +0 -4
  65. package/dist/_virtual/resultado.js +0 -4
  66. package/dist/_virtual/seguimiento.js +0 -4
  67. package/dist/_virtual/shared-types.js +0 -4
  68. package/dist/_virtual/shared.js +0 -4
  69. package/dist/_virtual/timestamp.js +0 -4
  70. package/dist/_virtual/validators.js +0 -4
  71. package/dist/_virtual/validators2.js +0 -4
  72. package/dist/_virtual/visibility.js +0 -4
  73. package/dist/components/Common/Button.vue.js +0 -52
  74. package/dist/components/Common/Button.vue2.js +0 -4
  75. package/dist/components/Common/Card.vue.js +0 -7
  76. package/dist/components/Common/Card.vue2.js +0 -66
  77. package/dist/components/Common/DynamicCarousel.vue.js +0 -102
  78. package/dist/components/Common/DynamicCarousel.vue3.js +0 -5
  79. package/dist/components/Common/FlagsIcons.vue.js +0 -7
  80. package/dist/components/Common/FlagsIcons.vue2.js +0 -45
  81. package/dist/components/Common/GeneratingError.vue.js +0 -25
  82. package/dist/components/Common/GeneratingError.vue2.js +0 -4
  83. package/dist/components/Common/GeneratingLoader.vue.js +0 -25
  84. package/dist/components/Common/GeneratingLoader.vue2.js +0 -4
  85. package/dist/components/Common/IconButton.vue.js +0 -7
  86. package/dist/components/Common/IconButton.vue2.js +0 -97
  87. package/dist/components/Common/IndicatorColor.vue.js +0 -7
  88. package/dist/components/Common/IndicatorColor.vue2.js +0 -20
  89. package/dist/components/Common/MenuButton.vue.js +0 -91
  90. package/dist/components/Common/MenuButton.vue2.js +0 -4
  91. package/dist/components/Common/SectionSpinner.vue.js +0 -7
  92. package/dist/components/Common/SectionSpinner.vue2.js +0 -36
  93. package/dist/components/Common/StateIndicator.vue.js +0 -7
  94. package/dist/components/Common/StateIndicator.vue2.js +0 -41
  95. package/dist/components/pdf/DomSection.vue.js +0 -19
  96. package/dist/components/pdf/DomSection.vue2.js +0 -4
  97. package/dist/components/pdf/PdfContainer.vue.js +0 -7
  98. package/dist/components/pdf/PdfContainer.vue2.js +0 -102
  99. package/dist/components/pdf/SectionWrapper.vue.js +0 -33
  100. package/dist/components/pdf/SectionWrapper.vue2.js +0 -4
  101. package/dist/components/pdf/SectionsContainer.vue.js +0 -9
  102. package/dist/components/pdf/SectionsContainer.vue2.js +0 -56
  103. package/dist/components/pdf/SectionsContainer.vue3.js +0 -6
  104. package/dist/components/pdf/helpers.js +0 -23
  105. package/dist/components/pdf/sections/Card.vue.js +0 -9
  106. package/dist/components/pdf/sections/Card.vue2.js +0 -52
  107. package/dist/components/pdf/sections/Card.vue3.js +0 -12
  108. package/dist/components/pdf/sections/CardGridSection.vue.js +0 -9
  109. package/dist/components/pdf/sections/CardGridSection.vue2.js +0 -30
  110. package/dist/components/pdf/sections/CardGridSection.vue3.js +0 -6
  111. package/dist/components/pdf/sections/ImageSection.vue.js +0 -9
  112. package/dist/components/pdf/sections/ImageSection.vue2.js +0 -26
  113. package/dist/components/pdf/sections/ImageSection.vue3.js +0 -6
  114. package/dist/components/pdf/sections/RadioButtonsSection.vue.js +0 -7
  115. package/dist/components/pdf/sections/RadioButtonsSection.vue2.js +0 -43
  116. package/dist/components/pdf/sections/SignatureSection.vue.js +0 -7
  117. package/dist/components/pdf/sections/SignatureSection.vue2.js +0 -115
  118. package/dist/components/pdf/sections/TableSection.vue.js +0 -9
  119. package/dist/components/pdf/sections/TableSection.vue2.js +0 -49
  120. package/dist/components/pdf/sections/TableSection.vue3.js +0 -6
  121. package/dist/components/pdf/sections/TextSection.vue.js +0 -9
  122. package/dist/components/pdf/sections/TextSection.vue2.js +0 -135
  123. package/dist/components/pdf/sections/TextSection.vue3.js +0 -11
  124. package/dist/components/pdf/sections/useData.js +0 -8
  125. package/dist/components/widgets/broker-card/BrokerCard.vue.js +0 -7
  126. package/dist/components/widgets/broker-card/BrokerCard.vue2.js +0 -171
  127. package/dist/components/widgets/broker-card/components/BrokerProps.vue.js +0 -7
  128. package/dist/components/widgets/broker-card/components/BrokerProps.vue2.js +0 -117
  129. package/dist/components/widgets/broker-card/mock-data.js +0 -452
  130. package/dist/components/widgets/broker-card/mock-props.js +0 -273
  131. package/dist/components/widgets/broker-card/schema.js +0 -11
  132. package/dist/components/widgets/broker-detail/BrokerDetail.vue.js +0 -7
  133. package/dist/components/widgets/broker-detail/BrokerDetail.vue2.js +0 -174
  134. package/dist/components/widgets/broker-detail/components/BrokertActions.vue.js +0 -7
  135. package/dist/components/widgets/broker-detail/components/BrokertActions.vue2.js +0 -31
  136. package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue.js +0 -7
  137. package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue2.js +0 -90
  138. package/dist/components/widgets/broker-detail/mock-data.js +0 -227
  139. package/dist/components/widgets/broker-detail/mock-props.js +0 -12
  140. package/dist/components/widgets/broker-detail/schema.js +0 -10
  141. package/dist/components/widgets/broker-detail/useContext.js +0 -32
  142. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.js +0 -7
  143. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue2.js +0 -249
  144. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue.js +0 -36
  145. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue2.js +0 -4
  146. package/dist/components/widgets/linvermedia-product-card/mock-data.js +0 -1121
  147. package/dist/components/widgets/linvermedia-product-card/mock-props.js +0 -20
  148. package/dist/components/widgets/linvermedia-product-card/schema.js +0 -13
  149. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue.js +0 -7
  150. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue2.js +0 -151
  151. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue.js +0 -7
  152. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue2.js +0 -90
  153. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue.js +0 -9
  154. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue2.js +0 -147
  155. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue.js +0 -37
  156. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue2.js +0 -4
  157. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue.js +0 -7
  158. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue2.js +0 -61
  159. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue.js +0 -7
  160. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue2.js +0 -56
  161. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue.js +0 -21
  162. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue2.js +0 -4
  163. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue.js +0 -7
  164. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue2.js +0 -91
  165. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue.js +0 -20
  166. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue2.js +0 -4
  167. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue.js +0 -7
  168. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue2.js +0 -49
  169. package/dist/components/widgets/linvermedia-product-detail/mock-data.js +0 -1005
  170. package/dist/components/widgets/linvermedia-product-detail/mock-props.js +0 -12
  171. package/dist/components/widgets/linvermedia-product-detail/schema.js +0 -11
  172. package/dist/components/widgets/linvermedia-product-detail/useContext.js +0 -43
  173. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue.js +0 -7
  174. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue2.js +0 -74
  175. package/dist/components/widgets/linvermedia-solicitud-card/mock-data.js +0 -580
  176. package/dist/components/widgets/linvermedia-solicitud-card/mock-props.js +0 -8
  177. package/dist/components/widgets/linvermedia-solicitud-card/schema.js +0 -5
  178. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue.js +0 -7
  179. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue2.js +0 -263
  180. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue.js +0 -21
  181. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue2.js +0 -4
  182. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue.js +0 -20
  183. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue2.js +0 -4
  184. package/dist/components/widgets/perdm-telephony-product-detail/mock-data.js +0 -1187
  185. package/dist/components/widgets/perdm-telephony-product-detail/mock-props.js +0 -12
  186. package/dist/components/widgets/perdm-telephony-product-detail/schema.js +0 -11
  187. package/dist/components/widgets/perdm-telephony-product-detail/useContext.js +0 -41
  188. package/dist/components/widgets/shared/LinvermediaGamaProps.js +0 -1688
  189. package/dist/components/widgets/shared/PerdmTelephonyGamaProps.js +0 -1688
  190. package/dist/components/widgets/shared/ProductPrice.vue.js +0 -7
  191. package/dist/components/widgets/shared/ProductPrice.vue2.js +0 -84
  192. package/dist/components/widgets/shared/ProductProps.vue.js +0 -294
  193. package/dist/components/widgets/shared/ProductProps.vue2.js +0 -4
  194. package/dist/components/widgets/shared/ProductTag.vue.js +0 -7
  195. package/dist/components/widgets/shared/ProductTag.vue2.js +0 -38
  196. package/dist/components/widgets/shared/helpers.js +0 -52
  197. package/dist/components/widgets/shared/schema.js +0 -17
  198. package/dist/components/widgets/shared/useWidgetEvent.js +0 -13
  199. package/dist/components/widgets/telephony-card/TelephonyCard.vue.js +0 -7
  200. package/dist/components/widgets/telephony-card/TelephonyCard.vue2.js +0 -292
  201. package/dist/components/widgets/telephony-card/mock-data.js +0 -1197
  202. package/dist/components/widgets/telephony-card/mock-props.js +0 -400
  203. package/dist/components/widgets/telephony-card/schema.js +0 -22
  204. package/dist/components/widgets/telmex-card/TelmexCard.vue.js +0 -7
  205. package/dist/components/widgets/telmex-card/TelmexCard.vue2.js +0 -232
  206. package/dist/components/widgets/telmex-card/mock-data.js +0 -1545
  207. package/dist/components/widgets/telmex-card/mock-props.js +0 -1332
  208. package/dist/components/widgets/telmex-card/schema.js +0 -22
  209. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue.js +0 -7
  210. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue2.js +0 -648
  211. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue.js +0 -7
  212. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue2.js +0 -316
  213. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue.js +0 -21
  214. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue2.js +0 -4
  215. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue.js +0 -20
  216. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue2.js +0 -4
  217. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue.js +0 -7
  218. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue2.js +0 -52
  219. package/dist/components/widgets/telmex-product-detail/mock-data.js +0 -1561
  220. package/dist/components/widgets/telmex-product-detail/mock-props.js +0 -10
  221. package/dist/components/widgets/telmex-product-detail/schema.js +0 -11
  222. package/dist/components/widgets/telmex-product-detail/useContext.js +0 -41
  223. package/dist/components.js +0 -31
  224. package/dist/composables/fetching/fetchUniqFactory.js +0 -21
  225. package/dist/composables/fetching/fetchUniqProvider.js +0 -15
  226. package/dist/composables/fetching/types.js +0 -11
  227. package/dist/composables/fetching/useFetch.js +0 -40
  228. package/dist/composables/fetching/useFetchPages.js +0 -101
  229. package/dist/composables/useDragAndDrop.js +0 -65
  230. package/dist/composables/utils.js +0 -11
  231. package/dist/composables.js +0 -17
  232. package/dist/index.js +0 -58
  233. package/dist/node_modules/@win2win/shared/dist/consts/countries.js +0 -1082
  234. package/dist/node_modules/@win2win/shared/dist/consts/index.js +0 -26
  235. package/dist/node_modules/@win2win/shared/dist/consts/languages.js +0 -173
  236. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/index.js +0 -18
  237. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/perfiles.js +0 -38
  238. package/dist/node_modules/@win2win/shared/dist/consts/permisos/index.js +0 -18
  239. package/dist/node_modules/@win2win/shared/dist/consts/permisos/permisos.js +0 -129
  240. package/dist/node_modules/@win2win/shared/dist/consts/visitas/index.js +0 -18
  241. package/dist/node_modules/@win2win/shared/dist/consts/visitas/resultado.js +0 -40
  242. package/dist/node_modules/@win2win/shared/dist/enums/captacion.js +0 -14
  243. package/dist/node_modules/@win2win/shared/dist/enums/garantia.js +0 -10
  244. package/dist/node_modules/@win2win/shared/dist/enums/importacion.js +0 -10
  245. package/dist/node_modules/@win2win/shared/dist/enums/index.js +0 -32
  246. package/dist/node_modules/@win2win/shared/dist/enums/liquidacion.js +0 -18
  247. package/dist/node_modules/@win2win/shared/dist/enums/notificacion.js +0 -10
  248. package/dist/node_modules/@win2win/shared/dist/enums/pedido.js +0 -10
  249. package/dist/node_modules/@win2win/shared/dist/enums/producto.js +0 -22
  250. package/dist/node_modules/@win2win/shared/dist/enums/shared.js +0 -10
  251. package/dist/node_modules/@win2win/shared/dist/helpers/ProductPrice.js +0 -61
  252. package/dist/node_modules/@win2win/shared/dist/helpers/formatters.js +0 -76
  253. package/dist/node_modules/@win2win/shared/dist/helpers/index.js +0 -22
  254. package/dist/node_modules/@win2win/shared/dist/helpers/validators.js +0 -15
  255. package/dist/node_modules/@win2win/shared/dist/index.js +0 -24
  256. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/canal-props.js +0 -5
  257. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/index.js +0 -18
  258. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-effect.js +0 -10
  259. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-rule.js +0 -23
  260. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado.js +0 -5
  261. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/flag.js +0 -10
  262. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/index.js +0 -26
  263. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/llamada.js +0 -18
  264. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/import_schema.js +0 -5
  265. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/index.js +0 -20
  266. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/layout.js +0 -7
  267. package/dist/node_modules/@win2win/shared/dist/interfaces/index.js +0 -34
  268. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/index.js +0 -20
  269. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/landing.js +0 -5
  270. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/page_sections.js +0 -270
  271. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/index.js +0 -18
  272. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/layout.js +0 -15
  273. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/comision.js +0 -11
  274. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/index.js +0 -24
  275. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/item-liquidable.js +0 -5
  276. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/liquidaciones.js +0 -10
  277. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/regla.js +0 -27
  278. package/dist/node_modules/@win2win/shared/dist/interfaces/props/conditions.js +0 -7
  279. package/dist/node_modules/@win2win/shared/dist/interfaces/props/control-types.js +0 -27
  280. package/dist/node_modules/@win2win/shared/dist/interfaces/props/index.js +0 -28
  281. package/dist/node_modules/@win2win/shared/dist/interfaces/props/mappers.js +0 -5
  282. package/dist/node_modules/@win2win/shared/dist/interfaces/props/options.js +0 -5
  283. package/dist/node_modules/@win2win/shared/dist/interfaces/props/validators.js +0 -85
  284. package/dist/node_modules/@win2win/shared/dist/interfaces/props/visibility.js +0 -5
  285. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/archivo.js +0 -5
  286. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/captacion.js +0 -5
  287. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/gama.js +0 -5
  288. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/index.js +0 -28
  289. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/partner.js +0 -5
  290. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/producto.js +0 -5
  291. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/seguimiento.js +0 -17
  292. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/id.js +0 -5
  293. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/index.js +0 -24
  294. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/query-params.js +0 -5
  295. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/shared-types.js +0 -5
  296. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/timestamp.js +0 -10
  297. package/dist/node_modules/better-dni/dist/index.js +0 -67
  298. package/dist/node_modules/iban/iban.js +0 -114
  299. package/dist/node_modules/lodash/lodash.js +0 -3676
  300. package/dist/widgets.js +0 -154
@@ -1,102 +0,0 @@
1
- import { defineComponent as w, computed as P, ref as s, onMounted as C, inject as B, resolveComponent as m, createElementBlock as c, openBlock as o, createBlock as x, createVNode as i, createCommentVNode as v, resolveDynamicComponent as E, unref as h, withCtx as S, normalizeStyle as V } from "vue";
2
- import { QSkeleton as D, QBtn as N } from "quasar";
3
- const T = {
4
- key: 1,
5
- class: "pdf-placeholder"
6
- }, b = {
7
- key: 2,
8
- class: "actions no-print"
9
- }, Q = /* @__PURE__ */ w({
10
- __name: "PdfContainer",
11
- props: {
12
- pdf: {}
13
- },
14
- setup(z) {
15
- const l = P(() => typeof window < "u"), r = s(null);
16
- C(async () => {
17
- if (l.value)
18
- try {
19
- const e = await import("pdf-vue3");
20
- r.value = e.default;
21
- } catch (e) {
22
- console.error("Error loading pdf-vue3:", e);
23
- }
24
- });
25
- const u = B("globalModel"), d = s(null), a = s(null), g = () => {
26
- var e;
27
- (e = d.value) == null || e.clearSignature(), f();
28
- }, _ = s(0);
29
- function y(e) {
30
- const t = e._pdfInfo;
31
- if (_.value = t.numPages, typeof document > "u") return;
32
- const n = document.getElementsByClassName(
33
- "pdf-vue3-canvas-container"
34
- )[0];
35
- setTimeout(() => {
36
- const p = n.clientWidth, k = n.clientHeight + 600;
37
- a.value = { width: p, height: k };
38
- }, 100);
39
- }
40
- const f = () => {
41
- var t, n;
42
- const e = !((t = d.value) != null && t.isEmpty());
43
- u.value = {
44
- ...u.value,
45
- signed: e,
46
- values: {
47
- ...(n = u.value) == null ? void 0 : n.values
48
- }
49
- };
50
- };
51
- return (e, t) => {
52
- const n = m("VueSignaturePad"), p = m("client-only");
53
- return o(), c("div", {
54
- class: "pdf-container",
55
- onPointermove: f
56
- }, [
57
- r.value && l.value ? (o(), x(E(r.value), {
58
- key: 0,
59
- src: e.pdf.url,
60
- showBackToTopBtn: !1,
61
- rowGap: 0,
62
- ref: "pdfRef",
63
- onOnPdfInit: y
64
- }, null, 40, ["src"])) : (o(), c("div", T, [
65
- i(h(D), { height: "500px" })
66
- ])),
67
- i(p, null, {
68
- default: S(() => [
69
- a.value && l.value ? (o(), c("div", {
70
- key: 0,
71
- class: "signature",
72
- style: V({
73
- width: a.value.width + "px",
74
- height: a.value.height + "px"
75
- })
76
- }, [
77
- i(n, {
78
- width: "100%",
79
- height: "100%",
80
- ref_key: "signaturePad",
81
- ref: d
82
- }, null, 512)
83
- ], 4)) : v("", !0)
84
- ]),
85
- _: 1
86
- }),
87
- l.value ? (o(), c("div", b, [
88
- i(h(N), {
89
- size: "lg",
90
- round: "",
91
- color: "black",
92
- icon: "replay",
93
- onClick: g
94
- })
95
- ])) : v("", !0)
96
- ], 32);
97
- };
98
- }
99
- });
100
- export {
101
- Q as default
102
- };
@@ -1,33 +0,0 @@
1
- import { defineComponent as p, computed as e, createBlock as a, openBlock as m, resolveDynamicComponent as s, normalizeProps as u, guardReactiveProps as y } from "vue";
2
- import "../../node_modules/@win2win/shared/dist/index.js";
3
- import S from "./sections/CardGridSection.vue.js";
4
- import T from "./sections/ImageSection.vue.js";
5
- import l from "./sections/RadioButtonsSection.vue.js";
6
- import f from "./sections/SignatureSection.vue.js";
7
- import d from "./sections/TableSection.vue.js";
8
- import _ from "./sections/TextSection.vue.js";
9
- import { __exports as o } from "../../_virtual/index.js";
10
- const g = /* @__PURE__ */ p({
11
- __name: "SectionWrapper",
12
- props: {
13
- section: {}
14
- },
15
- setup(n) {
16
- const t = n, c = {
17
- [o.LayoutSectionType.TEXT]: _,
18
- [o.LayoutSectionType.IMAGE]: T,
19
- [o.LayoutSectionType.TABLE]: d,
20
- [o.LayoutSectionType.CARDS_GRID]: S,
21
- [o.LayoutSectionType.SIGNATURE]: f,
22
- [o.LayoutSectionType.RADIO_BUTTONS]: l
23
- }, i = e(() => t.section.type), r = e(() => ({
24
- content: t.section.content,
25
- styles: t.section.styles,
26
- id: t.section.idDocLaySection
27
- }));
28
- return (L, R) => (m(), a(s(c[i.value]), u(y(r.value)), null, 16));
29
- }
30
- });
31
- export {
32
- g as default
33
- };
@@ -1,4 +0,0 @@
1
- import f from "./SectionWrapper.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,9 +0,0 @@
1
- import o from "./SectionsContainer.vue2.js";
2
- import s from "./SectionsContainer.vue3.js";
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = {
5
- $style: s
6
- }, f = /* @__PURE__ */ t(o, [["__cssModules", e]]);
7
- export {
8
- f as default
9
- };
@@ -1,56 +0,0 @@
1
- import { defineComponent as b, mergeModels as B, useModel as M, provide as s, toRefs as C, ref as V, computed as E, createElementBlock as a, openBlock as o, normalizeStyle as N, unref as R, createBlock as r, Fragment as f, renderList as S } from "vue";
2
- import $ from "./DomSection.vue.js";
3
- import w from "./PdfContainer.vue.js";
4
- import z from "./SectionWrapper.vue.js";
5
- const q = /* @__PURE__ */ b({
6
- __name: "SectionsContainer",
7
- props: /* @__PURE__ */ B({
8
- layout: {},
9
- data: {},
10
- htmlNodes: {},
11
- pdf: {},
12
- editable: { type: Boolean }
13
- }, {
14
- modelValue: {},
15
- modelModifiers: {}
16
- }),
17
- emits: ["update:modelValue"],
18
- setup(d) {
19
- var m, u;
20
- const p = M(d, "modelValue");
21
- s("globalModel", p);
22
- const c = d, { layout: i, data: y, editable: h } = C(c);
23
- s("data", y), s("editable", h || V(!1));
24
- const k = E(() => {
25
- var n, l;
26
- const e = ((n = i.value) == null ? void 0 : n.sections.map((t) => ({
27
- type: "default",
28
- section: t
29
- }))) || [];
30
- return (l = c.htmlNodes) == null || l.forEach(({ index: t, element: g }) => {
31
- const v = t > e.length ? e.length : t;
32
- e.splice(v, 0, { type: "html", section: g });
33
- }), e;
34
- }), _ = ((u = (m = i.value) == null ? void 0 : m.styles) == null ? void 0 : u.cssRaw) || "";
35
- return (e, n) => (o(), a("div", {
36
- class: "sections-container",
37
- style: N(R(_))
38
- }, [
39
- e.pdf ? (o(), r(w, {
40
- key: 0,
41
- pdf: e.pdf
42
- }, null, 8, ["pdf"])) : (o(!0), a(f, { key: 1 }, S(k.value, ({ type: l, section: t }) => (o(), a(f, null, [
43
- l === "default" ? (o(), r(z, {
44
- key: 0,
45
- section: t
46
- }, null, 8, ["section"])) : (o(), r($, {
47
- key: 1,
48
- section: t
49
- }, null, 8, ["section"]))
50
- ], 64))), 256))
51
- ], 4));
52
- }
53
- });
54
- export {
55
- q as default
56
- };
@@ -1,6 +0,0 @@
1
- const t = {
2
- "sections-container": "_sections-container_ikqi4_2"
3
- };
4
- export {
5
- t as default
6
- };
@@ -1,23 +0,0 @@
1
- function f(o, l) {
2
- const u = `{{${l}}}`;
3
- try {
4
- const t = l.split(".").flatMap((e) => {
5
- var n;
6
- const s = /(\w+)\[(\d+)\]/g, r = (n = Array.from(e.matchAll(s))) == null ? void 0 : n[0];
7
- return r != null && r.length ? r.slice(1) : e;
8
- });
9
- return (t == null ? void 0 : t.reduce((e, s) => (e == null ? void 0 : e[s]) || "", o)) || u;
10
- } catch (t) {
11
- return console.error(t), u;
12
- }
13
- }
14
- function i(o, l, u) {
15
- const t = l.split(".");
16
- if (!t.length) return o;
17
- const e = t.pop(), s = t.reduce((r, n) => (r[n] || (r[n] = {}), r[n]), o);
18
- return s[e] = u, o;
19
- }
20
- export {
21
- f as get,
22
- i as set
23
- };
@@ -1,9 +0,0 @@
1
- import s from "./Card.vue2.js";
2
- import o from "./Card.vue3.js";
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = {
5
- $style: o
6
- }, f = /* @__PURE__ */ t(s, [["__cssModules", r]]);
7
- export {
8
- f as default
9
- };
@@ -1,52 +0,0 @@
1
- import { defineComponent as _, inject as b, createElementBlock as n, openBlock as r, createCommentVNode as l, createElementVNode as c, unref as o, toDisplayString as s, Fragment as h, renderList as y } from "vue";
2
- import { get as k } from "../helpers.js";
3
- const g = { class: "card" }, V = {
4
- key: 0,
5
- class: "card-header"
6
- }, E = ["contenteditable"], v = { class: "card-content" }, C = ["contenteditable"], N = ["contenteditable"], F = /* @__PURE__ */ _({
7
- __name: "Card",
8
- props: {
9
- card: {},
10
- data: {}
11
- },
12
- setup(i) {
13
- const u = i;
14
- function m(e) {
15
- const t = e.value || k(u.data, e.key || "");
16
- return p(t, e.format);
17
- }
18
- function p(e, t) {
19
- return t ? t === "currency" ? new Intl.NumberFormat("es-ES", {
20
- style: "currency",
21
- currency: "EUR"
22
- }).format(e) : t === "percentage" ? `${e} %` : e : e;
23
- }
24
- const a = b("editable");
25
- return (e, t) => (r(), n("div", g, [
26
- e.card.title || e.card.subtitle ? (r(), n("div", V, [
27
- e.card.title ? (r(), n("h3", {
28
- key: 0,
29
- contenteditable: o(a)
30
- }, s(e.card.title), 9, E)) : l("", !0)
31
- ])) : l("", !0),
32
- c("div", v, [
33
- (r(!0), n(h, null, y(e.card.fields, (d, f) => (r(), n("div", {
34
- key: f,
35
- class: "card-field"
36
- }, [
37
- c("span", {
38
- contenteditable: o(a),
39
- class: "field-label"
40
- }, s(d.label), 9, C),
41
- c("span", {
42
- contenteditable: o(a),
43
- class: "field-value"
44
- }, s(m(d)), 9, N)
45
- ]))), 128))
46
- ])
47
- ]));
48
- }
49
- });
50
- export {
51
- F as default
52
- };
@@ -1,12 +0,0 @@
1
- const e = "_card_12eql_1", l = {
2
- card: e,
3
- "card-header": "_card-header_12eql_8",
4
- "card-content": "_card-content_12eql_22",
5
- "card-field": "_card-field_12eql_22",
6
- "field-label": "_field-label_12eql_27",
7
- "field-value": "_field-value_12eql_30"
8
- };
9
- export {
10
- e as card,
11
- l as default
12
- };
@@ -1,9 +0,0 @@
1
- import o from "./CardGridSection.vue2.js";
2
- import s from "./CardGridSection.vue3.js";
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = {
5
- $style: s
6
- }, f = /* @__PURE__ */ t(o, [["__cssModules", r]]);
7
- export {
8
- f as default
9
- };
@@ -1,30 +0,0 @@
1
- import { defineComponent as l, createElementBlock as n, openBlock as e, normalizeStyle as i, Fragment as m, renderList as p, createBlock as u, unref as f } from "vue";
2
- import y from "./Card.vue.js";
3
- import { useData as k } from "./useData.js";
4
- const g = /* @__PURE__ */ l({
5
- __name: "CardGridSection",
6
- props: {
7
- styles: {},
8
- id: {},
9
- content: {}
10
- },
11
- setup(a) {
12
- const o = a, { data: s } = k(o.id, {});
13
- return (t, _) => {
14
- var r;
15
- return e(), n("div", {
16
- class: "card-section",
17
- style: i(((r = t.styles) == null ? void 0 : r.cssRaw) || "")
18
- }, [
19
- (e(!0), n(m, null, p(t.content.cards, (c, d) => (e(), u(y, {
20
- key: d,
21
- card: c,
22
- data: f(s)
23
- }, null, 8, ["card", "data"]))), 128))
24
- ], 4);
25
- };
26
- }
27
- });
28
- export {
29
- g as default
30
- };
@@ -1,6 +0,0 @@
1
- const t = {
2
- "card-section": "_card-section_1xfbl_2"
3
- };
4
- export {
5
- t as default
6
- };
@@ -1,9 +0,0 @@
1
- import o from "./ImageSection.vue2.js";
2
- import s from "./ImageSection.vue3.js";
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = {
5
- $style: s
6
- }, f = /* @__PURE__ */ t(o, [["__cssModules", e]]);
7
- export {
8
- f as default
9
- };
@@ -1,26 +0,0 @@
1
- import { defineComponent as c, toRefs as i, createElementBlock as r, openBlock as l, normalizeStyle as o, unref as e, createElementVNode as a } from "vue";
2
- import { useData as m } from "./useData.js";
3
- const p = ["src", "alt"], g = /* @__PURE__ */ c({
4
- __name: "ImageSection",
5
- props: {
6
- styles: {},
7
- id: {},
8
- content: {}
9
- },
10
- setup(s) {
11
- const n = s, { content: t, styles: d } = i(n);
12
- return m(n.id, {}), (f, h) => (l(), r("div", {
13
- style: o({ justifyContent: e(t).align }),
14
- class: "img-container"
15
- }, [
16
- a("img", {
17
- src: e(t).src,
18
- alt: e(t).alt,
19
- style: o({ width: e(t).width, height: e(t).height })
20
- }, null, 12, p)
21
- ], 4));
22
- }
23
- });
24
- export {
25
- g as default
26
- };
@@ -1,6 +0,0 @@
1
- const t = {
2
- "img-container": "_img-container_17yzt_2"
3
- };
4
- export {
5
- t as default
6
- };
@@ -1,7 +0,0 @@
1
- import o from "./RadioButtonsSection.vue2.js";
2
- /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-90eb7a2c"]]);
5
- export {
6
- e as default
7
- };
@@ -1,43 +0,0 @@
1
- import { defineComponent as i, inject as r, ref as c, watch as p, createElementBlock as v, openBlock as f, createElementVNode as V, createVNode as n, unref as s } from "vue";
2
- import { QRadio as d } from "quasar";
3
- const x = { class: "section" }, _ = { class: "q-py-md-lg q-my-md q-px-xs row justify-center items-center" }, b = /* @__PURE__ */ i({
4
- __name: "RadioButtonsSection",
5
- props: {
6
- styles: {},
7
- id: {},
8
- content: {}
9
- },
10
- setup(u) {
11
- const l = r("globalModel"), m = u, e = c("");
12
- return p(e, () => {
13
- var t;
14
- l.value = {
15
- ...l.value,
16
- values: {
17
- ...(t = l.value) == null ? void 0 : t.values,
18
- [m.id]: e.value
19
- }
20
- };
21
- }), (t, o) => (f(), v("div", x, [
22
- V("div", _, [
23
- n(s(d), {
24
- modelValue: e.value,
25
- "onUpdate:modelValue": o[0] || (o[0] = (a) => e.value = a),
26
- val: "si",
27
- label: "Sí acepto",
28
- class: "radio q-mx-md"
29
- }, null, 8, ["modelValue"]),
30
- n(s(d), {
31
- modelValue: e.value,
32
- "onUpdate:modelValue": o[1] || (o[1] = (a) => e.value = a),
33
- val: "no",
34
- label: "No acepto",
35
- class: "radio q-mx-md"
36
- }, null, 8, ["modelValue"])
37
- ])
38
- ]));
39
- }
40
- });
41
- export {
42
- b as default
43
- };
@@ -1,7 +0,0 @@
1
- import o from "./SignatureSection.vue2.js";
2
- /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0953979f"]]);
5
- export {
6
- f as default
7
- };
@@ -1,115 +0,0 @@
1
- import { defineComponent as P, inject as B, computed as E, ref as g, resolveComponent as h, createElementBlock as s, openBlock as l, createVNode as n, createElementVNode as d, withCtx as o, unref as a, createTextVNode as r, toDisplayString as M } from "vue";
2
- import { useQuasar as N, QBtn as v } from "quasar";
3
- const F = { class: "section" }, Q = { key: 0 }, A = {
4
- key: 0,
5
- class: "no-print"
6
- }, D = { class: "signature" }, I = { class: "flex justify-end q-gutter-sm q-pa-sm" }, L = {
7
- key: 1,
8
- class: "column",
9
- style: { "max-width": "100vw" }
10
- }, R = ["src"], T = { class: "flex justify-end q-mt-sm no-print" }, z = {
11
- key: 1,
12
- class: "flex justify-center q-pa-lg"
13
- }, J = /* @__PURE__ */ P({
14
- __name: "SignatureSection",
15
- props: {
16
- styles: {},
17
- id: {},
18
- content: {}
19
- },
20
- emits: ["save", "clear", "cancel", "edit"],
21
- setup(k, { emit: x }) {
22
- const m = B("globalModel"), y = k, C = E(() => y.content.signable), f = g(null), _ = g(""), i = g(!1), { screen: S } = N(), w = () => {
23
- var t;
24
- (t = f.value) == null || t.clearSignature(), c(!1);
25
- }, p = x, V = () => {
26
- var u;
27
- const { isEmpty: t, data: e } = (u = f.value) == null ? void 0 : u.saveSignature();
28
- t || (_.value = e, i.value = !1, c(!0), p("save"));
29
- }, b = () => {
30
- i.value = !0, c(!1), p("edit");
31
- }, j = () => {
32
- i.value = !1, c(!1), p("cancel");
33
- }, c = (t) => {
34
- var e;
35
- m.value = {
36
- ...m.value,
37
- signed: t,
38
- values: {
39
- ...(e = m.value) == null ? void 0 : e.values,
40
- [y.id]: t
41
- }
42
- };
43
- };
44
- return (t, e) => {
45
- const u = h("VueSignaturePad"), q = h("client-only");
46
- return l(), s("div", F, [
47
- C.value ? (l(), s("div", Q, [
48
- i.value ? (l(), s("div", A, [
49
- n(q, null, {
50
- default: o(() => [
51
- d("div", D, [
52
- n(u, {
53
- width: a(S).lt.md ? "100vw" : "auto",
54
- height: "180px",
55
- ref_key: "signaturePad",
56
- ref: f
57
- }, null, 8, ["width"])
58
- ])
59
- ]),
60
- _: 1
61
- }),
62
- d("div", I, [
63
- n(a(v), {
64
- unelevated: "",
65
- outline: "",
66
- onClick: j
67
- }, {
68
- default: o(() => [...e[0] || (e[0] = [
69
- r("Cancelar", -1)
70
- ])]),
71
- _: 1
72
- }),
73
- n(a(v), {
74
- unelevated: "",
75
- outline: "",
76
- onClick: w
77
- }, {
78
- default: o(() => [...e[1] || (e[1] = [
79
- r("Limpiar", -1)
80
- ])]),
81
- _: 1
82
- }),
83
- n(a(v), {
84
- unelevated: "",
85
- outline: "",
86
- onClick: V
87
- }, {
88
- default: o(() => [...e[2] || (e[2] = [
89
- r("Confirmar", -1)
90
- ])]),
91
- _: 1
92
- })
93
- ])
94
- ])) : (l(), s("div", L, [
95
- d("img", {
96
- src: _.value,
97
- height: "140"
98
- }, null, 8, R),
99
- d("div", T, [
100
- n(a(v), { onClick: b }, {
101
- default: o(() => [
102
- r(M(_.value ? "Volver a firmar" : "Firmar"), 1)
103
- ]),
104
- _: 1
105
- })
106
- ])
107
- ]))
108
- ])) : (l(), s("div", z, "[FIRMA]"))
109
- ]);
110
- };
111
- }
112
- });
113
- export {
114
- J as default
115
- };
@@ -1,9 +0,0 @@
1
- import o from "./TableSection.vue2.js";
2
- import s from "./TableSection.vue3.js";
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = {
5
- $style: s
6
- }, f = /* @__PURE__ */ t(o, [["__cssModules", e]]);
7
- export {
8
- f as default
9
- };
@@ -1,49 +0,0 @@
1
- import { defineComponent as g, toRefs as h, computed as w, inject as B, createElementBlock as e, openBlock as t, normalizeStyle as o, createElementVNode as a, Fragment as c, renderList as i, unref as l, toDisplayString as f } from "vue";
2
- import { useData as C } from "./useData.js";
3
- const S = ["contenteditable"], v = ["contenteditable"], x = "#f5f5f5", R = /* @__PURE__ */ g({
4
- __name: "TableSection",
5
- props: {
6
- styles: {},
7
- id: {},
8
- content: {}
9
- },
10
- setup(b) {
11
- const r = b, { columns: d } = h(r.content), { data: k } = C(r.id, []), m = w(() => [...k.value[r.content.rowsKey] || []]), u = B("editable");
12
- return (_, A) => {
13
- var y;
14
- return t(), e("table", {
15
- style: o("width: 100%;" + ((y = _.styles) == null ? void 0 : y.cssRaw) || ""),
16
- class: "table-section"
17
- }, [
18
- a("thead", null, [
19
- a("tr", null, [
20
- (t(!0), e(c, null, i(l(d), (n) => (t(), e("th", {
21
- key: n.key,
22
- style: o({ textAlign: n.align || "left" }),
23
- contenteditable: l(u)
24
- }, f(n.header), 13, S))), 128))
25
- ])
26
- ]),
27
- a("tbody", null, [
28
- (t(!0), e(c, null, i(m.value, (n, p) => (t(), e("tr", {
29
- key: p,
30
- style: o({
31
- backgroundColor: p % 2 === 0 ? x : "transparent"
32
- })
33
- }, [
34
- (t(!0), e(c, null, i(l(d), (s) => (t(), e("td", {
35
- key: s.key,
36
- style: o({
37
- textAlign: s.align || "left"
38
- }),
39
- contenteditable: l(u)
40
- }, f(n[s.key]), 13, v))), 128))
41
- ], 4))), 128))
42
- ])
43
- ], 4);
44
- };
45
- }
46
- });
47
- export {
48
- R as default
49
- };
@@ -1,6 +0,0 @@
1
- const t = {
2
- "table-section": "_table-section_aicx8_1"
3
- };
4
- export {
5
- t as default
6
- };
@@ -1,9 +0,0 @@
1
- import o from "./TextSection.vue2.js";
2
- import s from "./TextSection.vue3.js";
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = {
5
- $style: s
6
- }, f = /* @__PURE__ */ t(o, [["__cssModules", e]]);
7
- export {
8
- f as default
9
- };