@win2win/shared-ui 0.3.240 → 0.3.243

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 (303) hide show
  1. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue.d.ts.map +1 -1
  2. package/dist/components/widgets/shared/ProductPrice.vue.d.ts.map +1 -1
  3. package/dist/style.css +1 -1
  4. package/dist/w2w-shared-ui.js +26026 -0
  5. package/dist/w2w-shared-ui.umd.cjs +48 -0
  6. package/package.json +5 -21
  7. package/dist/_virtual/ProductPrice.js +0 -4
  8. package/dist/_virtual/_commonjsHelpers.js +0 -4
  9. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  10. package/dist/_virtual/archivo.js +0 -4
  11. package/dist/_virtual/canal-props.js +0 -4
  12. package/dist/_virtual/captacion.js +0 -4
  13. package/dist/_virtual/captacion2.js +0 -4
  14. package/dist/_virtual/comision.js +0 -4
  15. package/dist/_virtual/conditions.js +0 -4
  16. package/dist/_virtual/control-types.js +0 -4
  17. package/dist/_virtual/countries.js +0 -4
  18. package/dist/_virtual/estado-effect.js +0 -4
  19. package/dist/_virtual/estado-rule.js +0 -4
  20. package/dist/_virtual/estado.js +0 -4
  21. package/dist/_virtual/flag.js +0 -4
  22. package/dist/_virtual/formatters.js +0 -4
  23. package/dist/_virtual/gama.js +0 -4
  24. package/dist/_virtual/garantia.js +0 -4
  25. package/dist/_virtual/iban.js +0 -4
  26. package/dist/_virtual/id.js +0 -4
  27. package/dist/_virtual/import_schema.js +0 -4
  28. package/dist/_virtual/importacion.js +0 -4
  29. package/dist/_virtual/index.js +0 -4
  30. package/dist/_virtual/index10.js +0 -4
  31. package/dist/_virtual/index11.js +0 -4
  32. package/dist/_virtual/index12.js +0 -4
  33. package/dist/_virtual/index13.js +0 -4
  34. package/dist/_virtual/index14.js +0 -4
  35. package/dist/_virtual/index15.js +0 -4
  36. package/dist/_virtual/index16.js +0 -4
  37. package/dist/_virtual/index17.js +0 -4
  38. package/dist/_virtual/index18.js +0 -4
  39. package/dist/_virtual/index2.js +0 -4
  40. package/dist/_virtual/index3.js +0 -4
  41. package/dist/_virtual/index4.js +0 -4
  42. package/dist/_virtual/index5.js +0 -4
  43. package/dist/_virtual/index6.js +0 -4
  44. package/dist/_virtual/index7.js +0 -4
  45. package/dist/_virtual/index8.js +0 -4
  46. package/dist/_virtual/index9.js +0 -4
  47. package/dist/_virtual/item-liquidable.js +0 -4
  48. package/dist/_virtual/landing.js +0 -4
  49. package/dist/_virtual/languages.js +0 -4
  50. package/dist/_virtual/layout.js +0 -4
  51. package/dist/_virtual/layout2.js +0 -4
  52. package/dist/_virtual/liquidacion.js +0 -4
  53. package/dist/_virtual/liquidaciones.js +0 -4
  54. package/dist/_virtual/llamada.js +0 -4
  55. package/dist/_virtual/lodash.js +0 -4
  56. package/dist/_virtual/mappers.js +0 -4
  57. package/dist/_virtual/notificacion.js +0 -4
  58. package/dist/_virtual/options.js +0 -4
  59. package/dist/_virtual/page_sections.js +0 -4
  60. package/dist/_virtual/partner.js +0 -4
  61. package/dist/_virtual/pedido.js +0 -4
  62. package/dist/_virtual/perfiles.js +0 -4
  63. package/dist/_virtual/permisos.js +0 -4
  64. package/dist/_virtual/producto.js +0 -4
  65. package/dist/_virtual/producto2.js +0 -4
  66. package/dist/_virtual/query-params.js +0 -4
  67. package/dist/_virtual/regla.js +0 -4
  68. package/dist/_virtual/resultado.js +0 -4
  69. package/dist/_virtual/seguimiento.js +0 -4
  70. package/dist/_virtual/shared-types.js +0 -4
  71. package/dist/_virtual/shared.js +0 -4
  72. package/dist/_virtual/timestamp.js +0 -4
  73. package/dist/_virtual/validators.js +0 -4
  74. package/dist/_virtual/validators2.js +0 -4
  75. package/dist/_virtual/visibility.js +0 -4
  76. package/dist/components/Common/Button.vue.js +0 -52
  77. package/dist/components/Common/Button.vue2.js +0 -4
  78. package/dist/components/Common/Card.vue.js +0 -7
  79. package/dist/components/Common/Card.vue2.js +0 -66
  80. package/dist/components/Common/DynamicCarousel.vue.js +0 -102
  81. package/dist/components/Common/DynamicCarousel.vue3.js +0 -5
  82. package/dist/components/Common/FlagsIcons.vue.js +0 -7
  83. package/dist/components/Common/FlagsIcons.vue2.js +0 -45
  84. package/dist/components/Common/GeneratingError.vue.js +0 -25
  85. package/dist/components/Common/GeneratingError.vue2.js +0 -4
  86. package/dist/components/Common/GeneratingLoader.vue.js +0 -25
  87. package/dist/components/Common/GeneratingLoader.vue2.js +0 -4
  88. package/dist/components/Common/IconButton.vue.js +0 -7
  89. package/dist/components/Common/IconButton.vue2.js +0 -97
  90. package/dist/components/Common/IndicatorColor.vue.js +0 -7
  91. package/dist/components/Common/IndicatorColor.vue2.js +0 -20
  92. package/dist/components/Common/MenuButton.vue.js +0 -91
  93. package/dist/components/Common/MenuButton.vue2.js +0 -4
  94. package/dist/components/Common/SectionSpinner.vue.js +0 -7
  95. package/dist/components/Common/SectionSpinner.vue2.js +0 -36
  96. package/dist/components/Common/StateIndicator.vue.js +0 -7
  97. package/dist/components/Common/StateIndicator.vue2.js +0 -41
  98. package/dist/components/pdf/DomSection.vue.js +0 -19
  99. package/dist/components/pdf/DomSection.vue2.js +0 -4
  100. package/dist/components/pdf/PdfContainer.vue.js +0 -7
  101. package/dist/components/pdf/PdfContainer.vue2.js +0 -102
  102. package/dist/components/pdf/SectionWrapper.vue.js +0 -33
  103. package/dist/components/pdf/SectionWrapper.vue2.js +0 -4
  104. package/dist/components/pdf/SectionsContainer.vue.js +0 -9
  105. package/dist/components/pdf/SectionsContainer.vue2.js +0 -56
  106. package/dist/components/pdf/SectionsContainer.vue3.js +0 -6
  107. package/dist/components/pdf/helpers.js +0 -23
  108. package/dist/components/pdf/sections/Card.vue.js +0 -9
  109. package/dist/components/pdf/sections/Card.vue2.js +0 -52
  110. package/dist/components/pdf/sections/Card.vue3.js +0 -12
  111. package/dist/components/pdf/sections/CardGridSection.vue.js +0 -9
  112. package/dist/components/pdf/sections/CardGridSection.vue2.js +0 -30
  113. package/dist/components/pdf/sections/CardGridSection.vue3.js +0 -6
  114. package/dist/components/pdf/sections/ImageSection.vue.js +0 -9
  115. package/dist/components/pdf/sections/ImageSection.vue2.js +0 -26
  116. package/dist/components/pdf/sections/ImageSection.vue3.js +0 -6
  117. package/dist/components/pdf/sections/RadioButtonsSection.vue.js +0 -7
  118. package/dist/components/pdf/sections/RadioButtonsSection.vue2.js +0 -43
  119. package/dist/components/pdf/sections/SignatureSection.vue.js +0 -7
  120. package/dist/components/pdf/sections/SignatureSection.vue2.js +0 -115
  121. package/dist/components/pdf/sections/TableSection.vue.js +0 -9
  122. package/dist/components/pdf/sections/TableSection.vue2.js +0 -49
  123. package/dist/components/pdf/sections/TableSection.vue3.js +0 -6
  124. package/dist/components/pdf/sections/TextSection.vue.js +0 -9
  125. package/dist/components/pdf/sections/TextSection.vue2.js +0 -135
  126. package/dist/components/pdf/sections/TextSection.vue3.js +0 -11
  127. package/dist/components/pdf/sections/useData.js +0 -8
  128. package/dist/components/widgets/broker-card/BrokerCard.vue.js +0 -7
  129. package/dist/components/widgets/broker-card/BrokerCard.vue2.js +0 -171
  130. package/dist/components/widgets/broker-card/components/BrokerProps.vue.js +0 -7
  131. package/dist/components/widgets/broker-card/components/BrokerProps.vue2.js +0 -117
  132. package/dist/components/widgets/broker-card/mock-data.js +0 -452
  133. package/dist/components/widgets/broker-card/mock-props.js +0 -273
  134. package/dist/components/widgets/broker-card/schema.js +0 -11
  135. package/dist/components/widgets/broker-detail/BrokerDetail.vue.js +0 -7
  136. package/dist/components/widgets/broker-detail/BrokerDetail.vue2.js +0 -174
  137. package/dist/components/widgets/broker-detail/components/BrokertActions.vue.js +0 -7
  138. package/dist/components/widgets/broker-detail/components/BrokertActions.vue2.js +0 -31
  139. package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue.js +0 -7
  140. package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue2.js +0 -90
  141. package/dist/components/widgets/broker-detail/mock-data.js +0 -227
  142. package/dist/components/widgets/broker-detail/mock-props.js +0 -12
  143. package/dist/components/widgets/broker-detail/schema.js +0 -10
  144. package/dist/components/widgets/broker-detail/useContext.js +0 -32
  145. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.js +0 -7
  146. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue2.js +0 -249
  147. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue.js +0 -36
  148. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue2.js +0 -4
  149. package/dist/components/widgets/linvermedia-product-card/mock-data.js +0 -1121
  150. package/dist/components/widgets/linvermedia-product-card/mock-props.js +0 -20
  151. package/dist/components/widgets/linvermedia-product-card/schema.js +0 -13
  152. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue.js +0 -7
  153. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue2.js +0 -151
  154. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue.js +0 -7
  155. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue2.js +0 -90
  156. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue.js +0 -9
  157. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue2.js +0 -147
  158. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue.js +0 -37
  159. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue2.js +0 -4
  160. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue.js +0 -7
  161. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue2.js +0 -61
  162. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue.js +0 -7
  163. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue2.js +0 -56
  164. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue.js +0 -21
  165. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue2.js +0 -4
  166. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue.js +0 -7
  167. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue2.js +0 -91
  168. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue.js +0 -20
  169. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue2.js +0 -4
  170. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue.js +0 -7
  171. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue2.js +0 -49
  172. package/dist/components/widgets/linvermedia-product-detail/mock-data.js +0 -1005
  173. package/dist/components/widgets/linvermedia-product-detail/mock-props.js +0 -12
  174. package/dist/components/widgets/linvermedia-product-detail/schema.js +0 -11
  175. package/dist/components/widgets/linvermedia-product-detail/useContext.js +0 -43
  176. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue.js +0 -7
  177. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue2.js +0 -74
  178. package/dist/components/widgets/linvermedia-solicitud-card/mock-data.js +0 -580
  179. package/dist/components/widgets/linvermedia-solicitud-card/mock-props.js +0 -8
  180. package/dist/components/widgets/linvermedia-solicitud-card/schema.js +0 -5
  181. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue.js +0 -7
  182. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue2.js +0 -263
  183. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue.js +0 -21
  184. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue2.js +0 -4
  185. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue.js +0 -20
  186. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue2.js +0 -4
  187. package/dist/components/widgets/perdm-telephony-product-detail/mock-data.js +0 -1187
  188. package/dist/components/widgets/perdm-telephony-product-detail/mock-props.js +0 -12
  189. package/dist/components/widgets/perdm-telephony-product-detail/schema.js +0 -11
  190. package/dist/components/widgets/perdm-telephony-product-detail/useContext.js +0 -41
  191. package/dist/components/widgets/shared/LinvermediaGamaProps.js +0 -1688
  192. package/dist/components/widgets/shared/PerdmTelephonyGamaProps.js +0 -1688
  193. package/dist/components/widgets/shared/ProductPrice.vue.js +0 -7
  194. package/dist/components/widgets/shared/ProductPrice.vue2.js +0 -84
  195. package/dist/components/widgets/shared/ProductProps.vue.js +0 -294
  196. package/dist/components/widgets/shared/ProductProps.vue2.js +0 -4
  197. package/dist/components/widgets/shared/ProductTag.vue.js +0 -7
  198. package/dist/components/widgets/shared/ProductTag.vue2.js +0 -38
  199. package/dist/components/widgets/shared/helpers.js +0 -52
  200. package/dist/components/widgets/shared/schema.js +0 -17
  201. package/dist/components/widgets/shared/useWidgetEvent.js +0 -13
  202. package/dist/components/widgets/telephony-card/TelephonyCard.vue.js +0 -7
  203. package/dist/components/widgets/telephony-card/TelephonyCard.vue2.js +0 -292
  204. package/dist/components/widgets/telephony-card/mock-data.js +0 -1197
  205. package/dist/components/widgets/telephony-card/mock-props.js +0 -400
  206. package/dist/components/widgets/telephony-card/schema.js +0 -22
  207. package/dist/components/widgets/telmex-card/TelmexCard.vue.js +0 -7
  208. package/dist/components/widgets/telmex-card/TelmexCard.vue2.js +0 -232
  209. package/dist/components/widgets/telmex-card/mock-data.js +0 -1545
  210. package/dist/components/widgets/telmex-card/mock-props.js +0 -1332
  211. package/dist/components/widgets/telmex-card/schema.js +0 -22
  212. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue.js +0 -7
  213. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue2.js +0 -648
  214. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue.js +0 -7
  215. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue2.js +0 -316
  216. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue.js +0 -21
  217. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue2.js +0 -4
  218. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue.js +0 -20
  219. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue2.js +0 -4
  220. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue.js +0 -7
  221. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue2.js +0 -52
  222. package/dist/components/widgets/telmex-product-detail/mock-data.js +0 -1561
  223. package/dist/components/widgets/telmex-product-detail/mock-props.js +0 -10
  224. package/dist/components/widgets/telmex-product-detail/schema.js +0 -11
  225. package/dist/components/widgets/telmex-product-detail/useContext.js +0 -41
  226. package/dist/components.js +0 -31
  227. package/dist/composables/fetching/fetchUniqFactory.js +0 -21
  228. package/dist/composables/fetching/fetchUniqProvider.js +0 -15
  229. package/dist/composables/fetching/types.js +0 -11
  230. package/dist/composables/fetching/useFetch.js +0 -40
  231. package/dist/composables/fetching/useFetchPages.js +0 -101
  232. package/dist/composables/useDragAndDrop.js +0 -65
  233. package/dist/composables/utils.js +0 -11
  234. package/dist/composables.js +0 -17
  235. package/dist/index.js +0 -58
  236. package/dist/node_modules/@win2win/shared/dist/consts/countries.js +0 -1082
  237. package/dist/node_modules/@win2win/shared/dist/consts/index.js +0 -26
  238. package/dist/node_modules/@win2win/shared/dist/consts/languages.js +0 -173
  239. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/index.js +0 -18
  240. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/perfiles.js +0 -38
  241. package/dist/node_modules/@win2win/shared/dist/consts/permisos/index.js +0 -18
  242. package/dist/node_modules/@win2win/shared/dist/consts/permisos/permisos.js +0 -129
  243. package/dist/node_modules/@win2win/shared/dist/consts/visitas/index.js +0 -18
  244. package/dist/node_modules/@win2win/shared/dist/consts/visitas/resultado.js +0 -40
  245. package/dist/node_modules/@win2win/shared/dist/enums/captacion.js +0 -14
  246. package/dist/node_modules/@win2win/shared/dist/enums/garantia.js +0 -10
  247. package/dist/node_modules/@win2win/shared/dist/enums/importacion.js +0 -10
  248. package/dist/node_modules/@win2win/shared/dist/enums/index.js +0 -32
  249. package/dist/node_modules/@win2win/shared/dist/enums/liquidacion.js +0 -18
  250. package/dist/node_modules/@win2win/shared/dist/enums/notificacion.js +0 -10
  251. package/dist/node_modules/@win2win/shared/dist/enums/pedido.js +0 -10
  252. package/dist/node_modules/@win2win/shared/dist/enums/producto.js +0 -22
  253. package/dist/node_modules/@win2win/shared/dist/enums/shared.js +0 -10
  254. package/dist/node_modules/@win2win/shared/dist/helpers/ProductPrice.js +0 -61
  255. package/dist/node_modules/@win2win/shared/dist/helpers/formatters.js +0 -76
  256. package/dist/node_modules/@win2win/shared/dist/helpers/index.js +0 -22
  257. package/dist/node_modules/@win2win/shared/dist/helpers/validators.js +0 -15
  258. package/dist/node_modules/@win2win/shared/dist/index.js +0 -24
  259. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/canal-props.js +0 -5
  260. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/index.js +0 -18
  261. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-effect.js +0 -10
  262. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-rule.js +0 -23
  263. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado.js +0 -5
  264. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/flag.js +0 -10
  265. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/index.js +0 -26
  266. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/llamada.js +0 -18
  267. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/import_schema.js +0 -5
  268. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/index.js +0 -20
  269. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/layout.js +0 -7
  270. package/dist/node_modules/@win2win/shared/dist/interfaces/index.js +0 -34
  271. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/index.js +0 -20
  272. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/landing.js +0 -5
  273. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/page_sections.js +0 -270
  274. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/index.js +0 -18
  275. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/layout.js +0 -15
  276. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/comision.js +0 -11
  277. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/index.js +0 -24
  278. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/item-liquidable.js +0 -5
  279. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/liquidaciones.js +0 -10
  280. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/regla.js +0 -27
  281. package/dist/node_modules/@win2win/shared/dist/interfaces/props/conditions.js +0 -7
  282. package/dist/node_modules/@win2win/shared/dist/interfaces/props/control-types.js +0 -27
  283. package/dist/node_modules/@win2win/shared/dist/interfaces/props/index.js +0 -28
  284. package/dist/node_modules/@win2win/shared/dist/interfaces/props/mappers.js +0 -5
  285. package/dist/node_modules/@win2win/shared/dist/interfaces/props/options.js +0 -5
  286. package/dist/node_modules/@win2win/shared/dist/interfaces/props/validators.js +0 -85
  287. package/dist/node_modules/@win2win/shared/dist/interfaces/props/visibility.js +0 -5
  288. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/archivo.js +0 -5
  289. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/captacion.js +0 -5
  290. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/gama.js +0 -5
  291. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/index.js +0 -28
  292. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/partner.js +0 -5
  293. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/producto.js +0 -5
  294. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/seguimiento.js +0 -17
  295. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/id.js +0 -5
  296. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/index.js +0 -24
  297. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/query-params.js +0 -5
  298. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/shared-types.js +0 -5
  299. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/timestamp.js +0 -10
  300. package/dist/node_modules/better-dni/dist/index.js +0 -67
  301. package/dist/node_modules/iban/iban.js +0 -114
  302. package/dist/node_modules/lodash/lodash.js +0 -3676
  303. package/dist/widgets.js +0 -154
@@ -1,61 +0,0 @@
1
- import { __exports as i } from "../../../../../_virtual/ProductPrice.js";
2
- import "../enums/index.js";
3
- import { __exports as s } from "../../../../../_virtual/index3.js";
4
- Object.defineProperty(i, "__esModule", { value: !0 });
5
- i.ProductPrice = void 0;
6
- const e = s, o = {
7
- [e.TipoIVA.GENERAL]: 0.21,
8
- [e.TipoIVA.REDUCIDO]: 0.1,
9
- [e.TipoIVA.SUPERREDUCIDO]: 0.04,
10
- [e.TipoIVA.EXENTO]: 0
11
- }, n = {
12
- [e.TipoRE.GENERAL]: 0.052,
13
- [e.TipoRE.REDUCIDO]: 0.014,
14
- [e.TipoRE.SUPERREDUCIDO]: 5e-3,
15
- [e.TipoRE.EXENTO]: 0
16
- };
17
- class c {
18
- constructor(t) {
19
- this.ivaRate = o[t.TIPO_IVA || e.TipoIVA.EXENTO], this.reRate = n[(t == null ? void 0 : t.TIPO_RE) || e.TipoRE.EXENTO], this.netPrice = Number(t.PRECIO || 0), this.discountRate = Number(t.DESCUENTO || 0) / 100;
20
- }
21
- getNetPrice() {
22
- return this.roundToDecimals(this.netPrice);
23
- }
24
- getDiscountPercent() {
25
- return this.discountRate * 100;
26
- }
27
- getDiscountAmount() {
28
- return this.roundToDecimals(this.getNetPrice() * this.discountRate);
29
- }
30
- getDiscountedPrice() {
31
- return this.roundToDecimals(this.getNetPrice() - this.getDiscountAmount());
32
- }
33
- getIVAPercent() {
34
- return this.ivaRate * 100;
35
- }
36
- getREPercent() {
37
- return this.reRate * 100;
38
- }
39
- getRE() {
40
- return this.roundToDecimals(this.getDiscountedPrice() * this.reRate);
41
- }
42
- getTotalTaxes() {
43
- return this.roundToDecimals(this.getIVA() + this.getRE());
44
- }
45
- getIVA() {
46
- return this.roundToDecimals(this.getDiscountedPrice() * this.ivaRate);
47
- }
48
- getTotalPrice() {
49
- return this.getDiscountedPrice() + this.getIVA() + this.getRE();
50
- }
51
- getPVP(t = !0) {
52
- return t ? this.getTotalPrice() : this.getDiscountedPrice();
53
- }
54
- roundToDecimals(t, r = 2) {
55
- return Number(t.toFixed(r));
56
- }
57
- }
58
- i.ProductPrice = c;
59
- export {
60
- i as default
61
- };
@@ -1,76 +0,0 @@
1
- import { __exports as j } from "../../../../../_virtual/formatters.js";
2
- import { l as v } from "../../../../lodash/lodash.js";
3
- import "./validators.js";
4
- import { __exports as D } from "../../../../../_virtual/validators.js";
5
- (function(r) {
6
- Object.defineProperty(r, "__esModule", { value: !0 }), r.upperSnakeizeObject = r.upperSnakeKeys = r.upperSnakeCase = void 0, r.deserialize = c, r.deserializeAndRun = S, r.deserializeWithContext = d, r.deserializeWithContextAndRun = p, r.tryToDeserialize = A, r.tryToDeserializeAndRun = O, r.toCurrency = b, r.mergeObjects = y, r.capitalize = z, r.formatContactName = h;
7
- const o = v, m = D;
8
- function c(e, n) {
9
- const { context: t = {}, run: i = !1, useInvisibleContext: u = !1 } = n || {};
10
- if (!e || typeof e != "string")
11
- return i ? null : () => null;
12
- const s = (a) => JSON.stringify(a || {}) === "{}";
13
- try {
14
- const a = e.replace(/\/\/.*$/gm, "").trim(), f = new Function("context", `return (...args) => { with (context) { return (${a})(${u || s(t) ? "" : "context,"} ...args) } }`)(t);
15
- return i ? f() : f;
16
- } catch (a) {
17
- return console.log("Error deserializing function:" + e, { options: n }), console.log(a), i ? null : () => null;
18
- }
19
- }
20
- function S(e) {
21
- return c(e, { run: !0 });
22
- }
23
- function d(e, n = {}) {
24
- return c(e, {
25
- context: n,
26
- useInvisibleContext: !0,
27
- run: !1
28
- });
29
- }
30
- function p(e, n = {}) {
31
- return c(e, {
32
- context: n,
33
- useInvisibleContext: !0,
34
- run: !0
35
- });
36
- }
37
- function A(e, n = {}, t = null) {
38
- return (0, m.isSerializedFunction)(e) ? d(e, n) : t;
39
- }
40
- function O(e, n = {}, t = null) {
41
- return (0, m.isSerializedFunction)(e) ? p(e, n) : t;
42
- }
43
- function b(e, n = "EUR", t) {
44
- const { decimals: i = 2 } = t || {}, u = {
45
- EUR: "de-DE",
46
- USD: "en-US",
47
- MXN: "es-MX"
48
- }[n] || "de-DE";
49
- return new Intl.NumberFormat(u, {
50
- style: "currency",
51
- currency: n,
52
- minimumFractionDigits: i,
53
- maximumFractionDigits: i
54
- }).format(e);
55
- }
56
- function y(...e) {
57
- const n = e[e.length - 1], t = n && !Array.isArray(n) && typeof n == "object" && "emptyValues" in n ? e.pop() : void 0, i = [void 0, ...(t == null ? void 0 : t.emptyValues) || []];
58
- return e.filter(Boolean).reduce((u, s) => (0, o.mergeWith)(u, s, (a, l) => i.some((f) => l === f) ? a : (0, o.isArray)(l) ? l : (0, o.isObject)(l) && (0, o.isObject)(a) ? y(a, l, { emptyValues: i }) : l), {});
59
- }
60
- const C = (e) => e.charAt(0).toUpperCase() + e.slice(1);
61
- function z(e, n = !1) {
62
- return typeof e != "string" ? e : (e = e.toLowerCase().replaceAll("_", " ").trim(), n ? e.split(" ").map(C).join(" ") : C(e));
63
- }
64
- function h(e) {
65
- if (!e)
66
- return "";
67
- const { nombre: n, apellido: t, apellido2: i } = (0, o.mapKeys)(e, (u, s) => s.startsWith("CONTACTO_") ? s.replace("CONTACTO_", "").toLowerCase() : s.toLowerCase());
68
- return z([n, t, i].map((u) => String(u || "").trim()).filter(Boolean).join(" "), !0).trim();
69
- }
70
- const _ = (e) => (0, o.snakeCase)(e).toUpperCase();
71
- r.upperSnakeCase = _;
72
- const g = (e) => (0, o.mapKeys)(e, (n, t) => (0, r.upperSnakeCase)(t));
73
- r.upperSnakeKeys = g;
74
- const k = (e) => (0, o.mapKeys)(e, (n, t) => (0, r.upperSnakeCase)(t));
75
- r.upperSnakeizeObject = k;
76
- })(j);
@@ -1,22 +0,0 @@
1
- import { commonjsGlobal as a } from "../../../../../_virtual/_commonjsHelpers.js";
2
- import { __exports as _ } from "../../../../../_virtual/index4.js";
3
- import "./formatters.js";
4
- import "./ProductPrice.js";
5
- import "./validators.js";
6
- import { __exports as u } from "../../../../../_virtual/formatters.js";
7
- import { __exports as p } from "../../../../../_virtual/ProductPrice.js";
8
- import { __exports as d } from "../../../../../_virtual/validators.js";
9
- (function(n) {
10
- var c = a && a.__createBinding || (Object.create ? function(o, r, e, t) {
11
- t === void 0 && (t = e);
12
- var i = Object.getOwnPropertyDescriptor(r, e);
13
- (!i || ("get" in i ? !r.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: function() {
14
- return r[e];
15
- } }), Object.defineProperty(o, t, i);
16
- } : function(o, r, e, t) {
17
- t === void 0 && (t = e), o[t] = r[e];
18
- }), f = a && a.__exportStar || function(o, r) {
19
- for (var e in o) e !== "default" && !Object.prototype.hasOwnProperty.call(r, e) && c(r, o, e);
20
- };
21
- Object.defineProperty(n, "__esModule", { value: !0 }), f(u, n), f(p, n), f(d, n);
22
- })(_);
@@ -1,15 +0,0 @@
1
- import { __exports as r } from "../../../../../_virtual/validators.js";
2
- Object.defineProperty(r, "__esModule", { value: !0 });
3
- r.isSerializedFunction = n;
4
- function n(e) {
5
- if (typeof e != "string" || !e || !e.includes("=>") && !e.includes("function("))
6
- return !1;
7
- try {
8
- return new Function(`return (${e})`), !0;
9
- } catch {
10
- return !1;
11
- }
12
- }
13
- export {
14
- r as default
15
- };
@@ -1,24 +0,0 @@
1
- import { commonjsGlobal as f } from "../../../../_virtual/_commonjsHelpers.js";
2
- import { __exports as c } from "../../../../_virtual/index.js";
3
- import "./consts/index.js";
4
- import "./enums/index.js";
5
- import "./helpers/index.js";
6
- import "./interfaces/index.js";
7
- import { __exports as p } from "../../../../_virtual/index2.js";
8
- import { __exports as m } from "../../../../_virtual/index3.js";
9
- import { __exports as s } from "../../../../_virtual/index4.js";
10
- import { __exports as u } from "../../../../_virtual/index5.js";
11
- (function(n) {
12
- var _ = f && f.__createBinding || (Object.create ? function(o, r, e, t) {
13
- t === void 0 && (t = e);
14
- var i = Object.getOwnPropertyDescriptor(r, e);
15
- (!i || ("get" in i ? !r.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: function() {
16
- return r[e];
17
- } }), Object.defineProperty(o, t, i);
18
- } : function(o, r, e, t) {
19
- t === void 0 && (t = e), o[t] = r[e];
20
- }), a = f && f.__exportStar || function(o, r) {
21
- for (var e in o) e !== "default" && !Object.prototype.hasOwnProperty.call(r, e) && _(r, o, e);
22
- };
23
- Object.defineProperty(n, "__esModule", { value: !0 }), a(p, n), a(m, n), a(s, n), a(u, n);
24
- })(c);
@@ -1,5 +0,0 @@
1
- import { __exports as e } from "../../../../../../_virtual/canal-props.js";
2
- Object.defineProperty(e, "__esModule", { value: !0 });
3
- export {
4
- e as default
5
- };
@@ -1,18 +0,0 @@
1
- import { commonjsGlobal as i } from "../../../../../../_virtual/_commonjsHelpers.js";
2
- import { __exports as u } from "../../../../../../_virtual/index9.js";
3
- import "./canal-props.js";
4
- import { __exports as _ } from "../../../../../../_virtual/canal-props.js";
5
- (function(a) {
6
- var c = i && i.__createBinding || (Object.create ? function(n, r, e, t) {
7
- t === void 0 && (t = e);
8
- var o = Object.getOwnPropertyDescriptor(r, e);
9
- (!o || ("get" in o ? !r.__esModule : o.writable || o.configurable)) && (o = { enumerable: !0, get: function() {
10
- return r[e];
11
- } }), Object.defineProperty(n, t, o);
12
- } : function(n, r, e, t) {
13
- t === void 0 && (t = e), n[t] = r[e];
14
- }), f = i && i.__exportStar || function(n, r) {
15
- for (var e in n) e !== "default" && !Object.prototype.hasOwnProperty.call(r, e) && c(r, n, e);
16
- };
17
- Object.defineProperty(a, "__esModule", { value: !0 }), f(_, a);
18
- })(u);
@@ -1,10 +0,0 @@
1
- import { __exports as t } from "../../../../../../_virtual/estado-effect.js";
2
- Object.defineProperty(t, "__esModule", { value: !0 });
3
- t.EstadoEffectType = void 0;
4
- var f;
5
- (function(e) {
6
- e.WRITE = "write", e.NOTIFY = "notify", e.ASYNC_EFFECT = "async_effect";
7
- })(f || (t.EstadoEffectType = f = {}));
8
- export {
9
- t as default
10
- };
@@ -1,23 +0,0 @@
1
- import { __exports as e } from "../../../../../../_virtual/estado-rule.js";
2
- Object.defineProperty(e, "__esModule", { value: !0 });
3
- e.RuleValueType = e.ESTADO_RULE_OPERATORS = void 0;
4
- e.ESTADO_RULE_OPERATORS = [
5
- ">",
6
- "<",
7
- "=",
8
- "!=",
9
- ">=",
10
- "<=",
11
- "in",
12
- "not in",
13
- "contains",
14
- "not empty",
15
- "like"
16
- ];
17
- var o;
18
- (function(t) {
19
- t.CONST = "const", t.FLAG = "flag";
20
- })(o || (e.RuleValueType = o = {}));
21
- export {
22
- e as default
23
- };
@@ -1,5 +0,0 @@
1
- import { __exports as e } from "../../../../../../_virtual/estado.js";
2
- Object.defineProperty(e, "__esModule", { value: !0 });
3
- export {
4
- e as default
5
- };
@@ -1,10 +0,0 @@
1
- import { __exports as e } from "../../../../../../_virtual/flag.js";
2
- Object.defineProperty(e, "__esModule", { value: !0 });
3
- e.FlagType = void 0;
4
- var a;
5
- (function(r) {
6
- r.FIELD = "field", r.QUERY = "query";
7
- })(a || (e.FlagType = a = {}));
8
- export {
9
- e as default
10
- };
@@ -1,26 +0,0 @@
1
- import { commonjsGlobal as f } from "../../../../../../_virtual/_commonjsHelpers.js";
2
- import { __exports as m } from "../../../../../../_virtual/index10.js";
3
- import "./estado.js";
4
- import "./estado-effect.js";
5
- import "./estado-rule.js";
6
- import "./flag.js";
7
- import "./llamada.js";
8
- import { __exports as c } from "../../../../../../_virtual/estado.js";
9
- import { __exports as p } from "../../../../../../_virtual/estado-effect.js";
10
- import { __exports as d } from "../../../../../../_virtual/estado-rule.js";
11
- import { __exports as s } from "../../../../../../_virtual/flag.js";
12
- import { __exports as u } from "../../../../../../_virtual/llamada.js";
13
- (function(o) {
14
- var _ = f && f.__createBinding || (Object.create ? function(i, r, e, t) {
15
- t === void 0 && (t = e);
16
- var a = Object.getOwnPropertyDescriptor(r, e);
17
- (!a || ("get" in a ? !r.__esModule : a.writable || a.configurable)) && (a = { enumerable: !0, get: function() {
18
- return r[e];
19
- } }), Object.defineProperty(i, t, a);
20
- } : function(i, r, e, t) {
21
- t === void 0 && (t = e), i[t] = r[e];
22
- }), n = f && f.__exportStar || function(i, r) {
23
- for (var e in i) e !== "default" && !Object.prototype.hasOwnProperty.call(r, e) && _(r, i, e);
24
- };
25
- Object.defineProperty(o, "__esModule", { value: !0 }), n(c, o), n(p, o), n(d, o), n(s, o), n(u, o);
26
- })(m);
@@ -1,18 +0,0 @@
1
- import { __exports as O } from "../../../../../../_virtual/llamada.js";
2
- Object.defineProperty(O, "__esModule", { value: !0 });
3
- O.TipoEjecucionLLamada = O.TipoLLamada = O.EstadoLLamada = void 0;
4
- var R;
5
- (function(A) {
6
- A[A.PENDIENTE = 0] = "PENDIENTE", A[A.POR_ENCOLAR = 1] = "POR_ENCOLAR", A[A.EN_COLA = 2] = "EN_COLA", A[A.EN_CURSO = 3] = "EN_CURSO", A[A.PROCESANDO = 6] = "PROCESANDO", A[A.FINALIZADA = 4] = "FINALIZADA", A[A.ERROR = 5] = "ERROR", A[A.EXPIRADA = 7] = "EXPIRADA";
7
- })(R || (O.EstadoLLamada = R = {}));
8
- var N;
9
- (function(A) {
10
- A.VERIFICACION = "verificación", A.COBRO = "cobro", A.VENTA = "venta", A.RECLAMO = "reclamo", A.OTRO = "otro";
11
- })(N || (O.TipoLLamada = N = {}));
12
- var e;
13
- (function(A) {
14
- A.AUTOMATICA = "auto", A.MANUAL = "manual";
15
- })(e || (O.TipoEjecucionLLamada = e = {}));
16
- export {
17
- O as default
18
- };
@@ -1,5 +0,0 @@
1
- import { __exports as e } from "../../../../../../_virtual/import_schema.js";
2
- Object.defineProperty(e, "__esModule", { value: !0 });
3
- export {
4
- e as default
5
- };
@@ -1,20 +0,0 @@
1
- import { commonjsGlobal as n } from "../../../../../../_virtual/_commonjsHelpers.js";
2
- import { __exports as _ } from "../../../../../../_virtual/index11.js";
3
- import "./import_schema.js";
4
- import "./layout.js";
5
- import { __exports as u } from "../../../../../../_virtual/import_schema.js";
6
- import { __exports as p } from "../../../../../../_virtual/layout.js";
7
- (function(a) {
8
- var f = n && n.__createBinding || (Object.create ? function(o, r, e, t) {
9
- t === void 0 && (t = e);
10
- var i = Object.getOwnPropertyDescriptor(r, e);
11
- (!i || ("get" in i ? !r.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: function() {
12
- return r[e];
13
- } }), Object.defineProperty(o, t, i);
14
- } : function(o, r, e, t) {
15
- t === void 0 && (t = e), o[t] = r[e];
16
- }), c = n && n.__exportStar || function(o, r) {
17
- for (var e in o) e !== "default" && !Object.prototype.hasOwnProperty.call(r, e) && f(r, o, e);
18
- };
19
- Object.defineProperty(a, "__esModule", { value: !0 }), c(u, a), c(p, a);
20
- })(_);
@@ -1,7 +0,0 @@
1
- import { __exports as e } from "../../../../../../_virtual/layout.js";
2
- Object.defineProperty(e, "__esModule", { value: !0 });
3
- e.LAYOUT_COLUMNA_TYPES = void 0;
4
- e.LAYOUT_COLUMNA_TYPES = ["texto", "numero", "fecha"];
5
- export {
6
- e as default
7
- };
@@ -1,34 +0,0 @@
1
- import { commonjsGlobal as _ } from "../../../../../_virtual/_commonjsHelpers.js";
2
- import { __exports as p } from "../../../../../_virtual/index5.js";
3
- import "./escaparates/index.js";
4
- import "./estados/index.js";
5
- import "./importaciones/index.js";
6
- import "./landings/index.js";
7
- import "./layout_documentos/index.js";
8
- import "./liquidaciones/index.js";
9
- import "./props/index.js";
10
- import "./raw_entities/index.js";
11
- import "./shared/index.js";
12
- import { __exports as f } from "../../../../../_virtual/index9.js";
13
- import { __exports as s } from "../../../../../_virtual/index10.js";
14
- import { __exports as c } from "../../../../../_virtual/index11.js";
15
- import { __exports as u } from "../../../../../_virtual/index12.js";
16
- import { __exports as d } from "../../../../../_virtual/index13.js";
17
- import { __exports as l } from "../../../../../_virtual/index14.js";
18
- import { __exports as b } from "../../../../../_virtual/index15.js";
19
- import { __exports as g } from "../../../../../_virtual/index16.js";
20
- import { __exports as O } from "../../../../../_virtual/index17.js";
21
- (function(r) {
22
- var m = _ && _.__createBinding || (Object.create ? function(a, e, o, i) {
23
- i === void 0 && (i = o);
24
- var n = Object.getOwnPropertyDescriptor(e, o);
25
- (!n || ("get" in n ? !e.__esModule : n.writable || n.configurable)) && (n = { enumerable: !0, get: function() {
26
- return e[o];
27
- } }), Object.defineProperty(a, i, n);
28
- } : function(a, e, o, i) {
29
- i === void 0 && (i = o), a[i] = e[o];
30
- }), t = _ && _.__exportStar || function(a, e) {
31
- for (var o in a) o !== "default" && !Object.prototype.hasOwnProperty.call(e, o) && m(e, a, o);
32
- };
33
- Object.defineProperty(r, "__esModule", { value: !0 }), t(f, r), t(s, r), t(c, r), t(u, r), t(d, r), t(l, r), t(b, r), t(g, r), t(O, r);
34
- })(p);
@@ -1,20 +0,0 @@
1
- import { commonjsGlobal as i } from "../../../../../../_virtual/_commonjsHelpers.js";
2
- import { __exports as _ } from "../../../../../../_virtual/index12.js";
3
- import "./landing.js";
4
- import "./page_sections.js";
5
- import { __exports as u } from "../../../../../../_virtual/landing.js";
6
- import { __exports as d } from "../../../../../../_virtual/page_sections.js";
7
- (function(a) {
8
- var c = i && i.__createBinding || (Object.create ? function(n, r, e, t) {
9
- t === void 0 && (t = e);
10
- var o = Object.getOwnPropertyDescriptor(r, e);
11
- (!o || ("get" in o ? !r.__esModule : o.writable || o.configurable)) && (o = { enumerable: !0, get: function() {
12
- return r[e];
13
- } }), Object.defineProperty(n, t, o);
14
- } : function(n, r, e, t) {
15
- t === void 0 && (t = e), n[t] = r[e];
16
- }), f = i && i.__exportStar || function(n, r) {
17
- for (var e in n) e !== "default" && !Object.prototype.hasOwnProperty.call(r, e) && c(r, n, e);
18
- };
19
- Object.defineProperty(a, "__esModule", { value: !0 }), f(u, a), f(d, a);
20
- })(_);
@@ -1,5 +0,0 @@
1
- import { __exports as e } from "../../../../../../_virtual/landing.js";
2
- Object.defineProperty(e, "__esModule", { value: !0 });
3
- export {
4
- e as default
5
- };