@win2win/shared-ui 0.3.238 → 0.3.239

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/dist/_virtual/ProductPrice.js +4 -0
  2. package/dist/_virtual/_commonjsHelpers.js +4 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  4. package/dist/_virtual/archivo.js +4 -0
  5. package/dist/_virtual/canal-props.js +4 -0
  6. package/dist/_virtual/captacion.js +4 -0
  7. package/dist/_virtual/captacion2.js +4 -0
  8. package/dist/_virtual/comision.js +4 -0
  9. package/dist/_virtual/conditions.js +4 -0
  10. package/dist/_virtual/control-types.js +4 -0
  11. package/dist/_virtual/countries.js +4 -0
  12. package/dist/_virtual/estado-effect.js +4 -0
  13. package/dist/_virtual/estado-rule.js +4 -0
  14. package/dist/_virtual/estado.js +4 -0
  15. package/dist/_virtual/flag.js +4 -0
  16. package/dist/_virtual/formatters.js +4 -0
  17. package/dist/_virtual/gama.js +4 -0
  18. package/dist/_virtual/garantia.js +4 -0
  19. package/dist/_virtual/iban.js +4 -0
  20. package/dist/_virtual/id.js +4 -0
  21. package/dist/_virtual/import_schema.js +4 -0
  22. package/dist/_virtual/importacion.js +4 -0
  23. package/dist/_virtual/index.js +4 -0
  24. package/dist/_virtual/index10.js +4 -0
  25. package/dist/_virtual/index11.js +4 -0
  26. package/dist/_virtual/index12.js +4 -0
  27. package/dist/_virtual/index13.js +4 -0
  28. package/dist/_virtual/index14.js +4 -0
  29. package/dist/_virtual/index15.js +4 -0
  30. package/dist/_virtual/index16.js +4 -0
  31. package/dist/_virtual/index17.js +4 -0
  32. package/dist/_virtual/index18.js +4 -0
  33. package/dist/_virtual/index2.js +4 -0
  34. package/dist/_virtual/index3.js +4 -0
  35. package/dist/_virtual/index4.js +4 -0
  36. package/dist/_virtual/index5.js +4 -0
  37. package/dist/_virtual/index6.js +4 -0
  38. package/dist/_virtual/index7.js +4 -0
  39. package/dist/_virtual/index8.js +4 -0
  40. package/dist/_virtual/index9.js +4 -0
  41. package/dist/_virtual/item-liquidable.js +4 -0
  42. package/dist/_virtual/landing.js +4 -0
  43. package/dist/_virtual/languages.js +4 -0
  44. package/dist/_virtual/layout.js +4 -0
  45. package/dist/_virtual/layout2.js +4 -0
  46. package/dist/_virtual/liquidacion.js +4 -0
  47. package/dist/_virtual/liquidaciones.js +4 -0
  48. package/dist/_virtual/llamada.js +4 -0
  49. package/dist/_virtual/lodash.js +4 -0
  50. package/dist/_virtual/mappers.js +4 -0
  51. package/dist/_virtual/notificacion.js +4 -0
  52. package/dist/_virtual/options.js +4 -0
  53. package/dist/_virtual/page_sections.js +4 -0
  54. package/dist/_virtual/partner.js +4 -0
  55. package/dist/_virtual/pedido.js +4 -0
  56. package/dist/_virtual/perfiles.js +4 -0
  57. package/dist/_virtual/permisos.js +4 -0
  58. package/dist/_virtual/producto.js +4 -0
  59. package/dist/_virtual/producto2.js +4 -0
  60. package/dist/_virtual/query-params.js +4 -0
  61. package/dist/_virtual/regla.js +4 -0
  62. package/dist/_virtual/resultado.js +4 -0
  63. package/dist/_virtual/seguimiento.js +4 -0
  64. package/dist/_virtual/shared-types.js +4 -0
  65. package/dist/_virtual/shared.js +4 -0
  66. package/dist/_virtual/timestamp.js +4 -0
  67. package/dist/_virtual/validators.js +4 -0
  68. package/dist/_virtual/validators2.js +4 -0
  69. package/dist/_virtual/visibility.js +4 -0
  70. package/dist/components/Common/Button.vue.js +52 -0
  71. package/dist/components/Common/Button.vue2.js +4 -0
  72. package/dist/components/Common/Card.vue.js +7 -0
  73. package/dist/components/Common/Card.vue2.js +66 -0
  74. package/dist/components/Common/DynamicCarousel.vue.js +102 -0
  75. package/dist/components/Common/DynamicCarousel.vue3.js +5 -0
  76. package/dist/components/Common/FlagsIcons.vue.js +7 -0
  77. package/dist/components/Common/FlagsIcons.vue2.js +45 -0
  78. package/dist/components/Common/GeneratingError.vue.js +25 -0
  79. package/dist/components/Common/GeneratingError.vue2.js +4 -0
  80. package/dist/components/Common/GeneratingLoader.vue.js +25 -0
  81. package/dist/components/Common/GeneratingLoader.vue2.js +4 -0
  82. package/dist/components/Common/IconButton.vue.js +7 -0
  83. package/dist/components/Common/IconButton.vue2.js +97 -0
  84. package/dist/components/Common/IndicatorColor.vue.js +7 -0
  85. package/dist/components/Common/IndicatorColor.vue2.js +20 -0
  86. package/dist/components/Common/MenuButton.vue.js +91 -0
  87. package/dist/components/Common/MenuButton.vue2.js +4 -0
  88. package/dist/components/Common/SectionSpinner.vue.js +7 -0
  89. package/dist/components/Common/SectionSpinner.vue2.js +36 -0
  90. package/dist/components/Common/StateIndicator.vue.js +7 -0
  91. package/dist/components/Common/StateIndicator.vue2.js +41 -0
  92. package/dist/components/index.d.ts +16 -0
  93. package/dist/components/index.d.ts.map +1 -0
  94. package/dist/components/pdf/DomSection.vue.js +19 -0
  95. package/dist/components/pdf/DomSection.vue2.js +4 -0
  96. package/dist/components/pdf/PdfContainer.vue.js +7 -0
  97. package/dist/components/pdf/PdfContainer.vue2.js +102 -0
  98. package/dist/components/pdf/SectionWrapper.vue.js +33 -0
  99. package/dist/components/pdf/SectionWrapper.vue2.js +4 -0
  100. package/dist/components/pdf/SectionsContainer.vue.js +9 -0
  101. package/dist/components/pdf/SectionsContainer.vue2.js +56 -0
  102. package/dist/components/pdf/SectionsContainer.vue3.js +6 -0
  103. package/dist/components/pdf/helpers.js +23 -0
  104. package/dist/components/pdf/sections/Card.vue.js +9 -0
  105. package/dist/components/pdf/sections/Card.vue2.js +52 -0
  106. package/dist/components/pdf/sections/Card.vue3.js +12 -0
  107. package/dist/components/pdf/sections/CardGridSection.vue.js +9 -0
  108. package/dist/components/pdf/sections/CardGridSection.vue2.js +30 -0
  109. package/dist/components/pdf/sections/CardGridSection.vue3.js +6 -0
  110. package/dist/components/pdf/sections/ImageSection.vue.js +9 -0
  111. package/dist/components/pdf/sections/ImageSection.vue2.js +26 -0
  112. package/dist/components/pdf/sections/ImageSection.vue3.js +6 -0
  113. package/dist/components/pdf/sections/RadioButtonsSection.vue.js +7 -0
  114. package/dist/components/pdf/sections/RadioButtonsSection.vue2.js +43 -0
  115. package/dist/components/pdf/sections/SignatureSection.vue.js +7 -0
  116. package/dist/components/pdf/sections/SignatureSection.vue2.js +115 -0
  117. package/dist/components/pdf/sections/TableSection.vue.js +9 -0
  118. package/dist/components/pdf/sections/TableSection.vue2.js +49 -0
  119. package/dist/components/pdf/sections/TableSection.vue3.js +6 -0
  120. package/dist/components/pdf/sections/TextSection.vue.js +9 -0
  121. package/dist/components/pdf/sections/TextSection.vue2.js +135 -0
  122. package/dist/components/pdf/sections/TextSection.vue3.js +11 -0
  123. package/dist/components/pdf/sections/useData.js +8 -0
  124. package/dist/components/widgets/broker-card/BrokerCard.vue.js +7 -0
  125. package/dist/components/widgets/broker-card/BrokerCard.vue2.js +171 -0
  126. package/dist/components/widgets/broker-card/components/BrokerProps.vue.js +7 -0
  127. package/dist/components/widgets/broker-card/components/BrokerProps.vue2.js +117 -0
  128. package/dist/components/widgets/broker-card/mock-data.js +452 -0
  129. package/dist/components/widgets/broker-card/mock-props.js +273 -0
  130. package/dist/components/widgets/broker-card/schema.js +11 -0
  131. package/dist/components/widgets/broker-detail/BrokerDetail.vue.js +7 -0
  132. package/dist/components/widgets/broker-detail/BrokerDetail.vue2.js +174 -0
  133. package/dist/components/widgets/broker-detail/components/BrokertActions.vue.js +7 -0
  134. package/dist/components/widgets/broker-detail/components/BrokertActions.vue2.js +31 -0
  135. package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue.js +7 -0
  136. package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue2.js +90 -0
  137. package/dist/components/widgets/broker-detail/mock-data.js +227 -0
  138. package/dist/components/widgets/broker-detail/mock-props.js +12 -0
  139. package/dist/components/widgets/broker-detail/schema.js +10 -0
  140. package/dist/components/widgets/broker-detail/useContext.js +32 -0
  141. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.js +7 -0
  142. package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue2.js +249 -0
  143. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue.js +36 -0
  144. package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue2.js +4 -0
  145. package/dist/components/widgets/linvermedia-product-card/mock-data.js +1121 -0
  146. package/dist/components/widgets/linvermedia-product-card/mock-props.js +20 -0
  147. package/dist/components/widgets/linvermedia-product-card/schema.js +13 -0
  148. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue.js +7 -0
  149. package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue2.js +151 -0
  150. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue.js +7 -0
  151. package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue2.js +90 -0
  152. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue.js +9 -0
  153. package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue2.js +147 -0
  154. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue.js +37 -0
  155. package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue2.js +4 -0
  156. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue.js +7 -0
  157. package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue2.js +61 -0
  158. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue.js +7 -0
  159. package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue2.js +56 -0
  160. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue.js +21 -0
  161. package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue2.js +4 -0
  162. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue.js +7 -0
  163. package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue2.js +91 -0
  164. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue.js +20 -0
  165. package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue2.js +4 -0
  166. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue.js +7 -0
  167. package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue2.js +49 -0
  168. package/dist/components/widgets/linvermedia-product-detail/mock-data.js +1005 -0
  169. package/dist/components/widgets/linvermedia-product-detail/mock-props.js +12 -0
  170. package/dist/components/widgets/linvermedia-product-detail/schema.js +11 -0
  171. package/dist/components/widgets/linvermedia-product-detail/useContext.js +43 -0
  172. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue.js +7 -0
  173. package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue2.js +74 -0
  174. package/dist/components/widgets/linvermedia-solicitud-card/mock-data.js +580 -0
  175. package/dist/components/widgets/linvermedia-solicitud-card/mock-props.js +8 -0
  176. package/dist/components/widgets/linvermedia-solicitud-card/schema.js +5 -0
  177. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue.js +7 -0
  178. package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue2.js +263 -0
  179. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue.js +21 -0
  180. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue2.js +4 -0
  181. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue.js +20 -0
  182. package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue2.js +4 -0
  183. package/dist/components/widgets/perdm-telephony-product-detail/mock-data.js +1187 -0
  184. package/dist/components/widgets/perdm-telephony-product-detail/mock-props.js +12 -0
  185. package/dist/components/widgets/perdm-telephony-product-detail/schema.js +11 -0
  186. package/dist/components/widgets/perdm-telephony-product-detail/useContext.js +41 -0
  187. package/dist/components/widgets/shared/LinvermediaGamaProps.js +1688 -0
  188. package/dist/components/widgets/shared/PerdmTelephonyGamaProps.js +1688 -0
  189. package/dist/components/widgets/shared/ProductPrice.vue.js +7 -0
  190. package/dist/components/widgets/shared/ProductPrice.vue2.js +84 -0
  191. package/dist/components/widgets/shared/ProductProps.vue.js +294 -0
  192. package/dist/components/widgets/shared/ProductProps.vue2.js +4 -0
  193. package/dist/components/widgets/shared/ProductTag.vue.js +7 -0
  194. package/dist/components/widgets/shared/ProductTag.vue2.js +38 -0
  195. package/dist/components/widgets/shared/helpers.js +52 -0
  196. package/dist/components/widgets/shared/schema.js +17 -0
  197. package/dist/components/widgets/shared/useWidgetEvent.js +13 -0
  198. package/dist/components/widgets/telephony-card/TelephonyCard.vue.js +7 -0
  199. package/dist/components/widgets/telephony-card/TelephonyCard.vue2.js +292 -0
  200. package/dist/components/widgets/telephony-card/mock-data.js +1197 -0
  201. package/dist/components/widgets/telephony-card/mock-props.js +400 -0
  202. package/dist/components/widgets/telephony-card/schema.js +22 -0
  203. package/dist/components/widgets/telmex-card/TelmexCard.vue.js +7 -0
  204. package/dist/components/widgets/telmex-card/TelmexCard.vue2.js +232 -0
  205. package/dist/components/widgets/telmex-card/mock-data.js +1545 -0
  206. package/dist/components/widgets/telmex-card/mock-props.js +1332 -0
  207. package/dist/components/widgets/telmex-card/schema.js +22 -0
  208. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue.js +7 -0
  209. package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue2.js +648 -0
  210. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue.js +7 -0
  211. package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue2.js +316 -0
  212. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue.js +21 -0
  213. package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue2.js +4 -0
  214. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue.js +20 -0
  215. package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue2.js +4 -0
  216. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue.js +7 -0
  217. package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue2.js +52 -0
  218. package/dist/components/widgets/telmex-product-detail/mock-data.js +1561 -0
  219. package/dist/components/widgets/telmex-product-detail/mock-props.js +10 -0
  220. package/dist/components/widgets/telmex-product-detail/schema.js +11 -0
  221. package/dist/components/widgets/telmex-product-detail/useContext.js +41 -0
  222. package/dist/components.js +31 -0
  223. package/dist/composables/fetching/fetchUniqFactory.js +21 -0
  224. package/dist/composables/fetching/fetchUniqProvider.js +15 -0
  225. package/dist/composables/fetching/types.js +11 -0
  226. package/dist/composables/fetching/useFetch.js +40 -0
  227. package/dist/composables/fetching/useFetchPages.js +101 -0
  228. package/dist/composables/useDragAndDrop.js +65 -0
  229. package/dist/composables/utils.js +11 -0
  230. package/dist/composables.js +17 -0
  231. package/dist/index.js +58 -0
  232. package/dist/node_modules/@win2win/shared/dist/consts/countries.js +1082 -0
  233. package/dist/node_modules/@win2win/shared/dist/consts/index.js +26 -0
  234. package/dist/node_modules/@win2win/shared/dist/consts/languages.js +173 -0
  235. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/index.js +18 -0
  236. package/dist/node_modules/@win2win/shared/dist/consts/perfiles/perfiles.js +38 -0
  237. package/dist/node_modules/@win2win/shared/dist/consts/permisos/index.js +18 -0
  238. package/dist/node_modules/@win2win/shared/dist/consts/permisos/permisos.js +129 -0
  239. package/dist/node_modules/@win2win/shared/dist/consts/visitas/index.js +18 -0
  240. package/dist/node_modules/@win2win/shared/dist/consts/visitas/resultado.js +40 -0
  241. package/dist/node_modules/@win2win/shared/dist/enums/captacion.js +14 -0
  242. package/dist/node_modules/@win2win/shared/dist/enums/garantia.js +10 -0
  243. package/dist/node_modules/@win2win/shared/dist/enums/importacion.js +10 -0
  244. package/dist/node_modules/@win2win/shared/dist/enums/index.js +32 -0
  245. package/dist/node_modules/@win2win/shared/dist/enums/liquidacion.js +18 -0
  246. package/dist/node_modules/@win2win/shared/dist/enums/notificacion.js +10 -0
  247. package/dist/node_modules/@win2win/shared/dist/enums/pedido.js +10 -0
  248. package/dist/node_modules/@win2win/shared/dist/enums/producto.js +22 -0
  249. package/dist/node_modules/@win2win/shared/dist/enums/shared.js +10 -0
  250. package/dist/node_modules/@win2win/shared/dist/helpers/ProductPrice.js +61 -0
  251. package/dist/node_modules/@win2win/shared/dist/helpers/formatters.js +76 -0
  252. package/dist/node_modules/@win2win/shared/dist/helpers/index.js +22 -0
  253. package/dist/node_modules/@win2win/shared/dist/helpers/validators.js +15 -0
  254. package/dist/node_modules/@win2win/shared/dist/index.js +24 -0
  255. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/canal-props.js +5 -0
  256. package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/index.js +18 -0
  257. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-effect.js +10 -0
  258. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-rule.js +23 -0
  259. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado.js +5 -0
  260. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/flag.js +10 -0
  261. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/index.js +26 -0
  262. package/dist/node_modules/@win2win/shared/dist/interfaces/estados/llamada.js +18 -0
  263. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/import_schema.js +5 -0
  264. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/index.js +20 -0
  265. package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/layout.js +7 -0
  266. package/dist/node_modules/@win2win/shared/dist/interfaces/index.js +34 -0
  267. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/index.js +20 -0
  268. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/landing.js +5 -0
  269. package/dist/node_modules/@win2win/shared/dist/interfaces/landings/page_sections.js +270 -0
  270. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/index.js +18 -0
  271. package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/layout.js +15 -0
  272. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/comision.js +11 -0
  273. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/index.js +24 -0
  274. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/item-liquidable.js +5 -0
  275. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/liquidaciones.js +10 -0
  276. package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/regla.js +27 -0
  277. package/dist/node_modules/@win2win/shared/dist/interfaces/props/conditions.js +7 -0
  278. package/dist/node_modules/@win2win/shared/dist/interfaces/props/control-types.js +27 -0
  279. package/dist/node_modules/@win2win/shared/dist/interfaces/props/index.js +28 -0
  280. package/dist/node_modules/@win2win/shared/dist/interfaces/props/mappers.js +5 -0
  281. package/dist/node_modules/@win2win/shared/dist/interfaces/props/options.js +5 -0
  282. package/dist/node_modules/@win2win/shared/dist/interfaces/props/validators.js +85 -0
  283. package/dist/node_modules/@win2win/shared/dist/interfaces/props/visibility.js +5 -0
  284. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/archivo.js +5 -0
  285. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/captacion.js +5 -0
  286. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/gama.js +5 -0
  287. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/index.js +28 -0
  288. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/partner.js +5 -0
  289. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/producto.js +5 -0
  290. package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/seguimiento.js +17 -0
  291. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/id.js +5 -0
  292. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/index.js +24 -0
  293. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/query-params.js +5 -0
  294. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/shared-types.js +5 -0
  295. package/dist/node_modules/@win2win/shared/dist/interfaces/shared/timestamp.js +10 -0
  296. package/dist/node_modules/better-dni/dist/index.js +67 -0
  297. package/dist/node_modules/iban/iban.js +114 -0
  298. package/dist/node_modules/lodash/lodash.js +3676 -0
  299. package/dist/widgets.js +154 -0
  300. package/package.json +21 -5
  301. package/dist/w2w-shared-ui.js +0 -26029
  302. package/dist/w2w-shared-ui.umd.cjs +0 -48
@@ -0,0 +1,24 @@
1
+ import { commonjsGlobal as f } from "../../../../../../_virtual/_commonjsHelpers.js";
2
+ import { __exports as m } from "../../../../../../_virtual/index17.js";
3
+ import "./id.js";
4
+ import "./query-params.js";
5
+ import "./shared-types.js";
6
+ import "./timestamp.js";
7
+ import { __exports as p } from "../../../../../../_virtual/id.js";
8
+ import { __exports as c } from "../../../../../../_virtual/query-params.js";
9
+ import { __exports as u } from "../../../../../../_virtual/shared-types.js";
10
+ import { __exports as s } from "../../../../../../_virtual/timestamp.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(c, n), a(u, n), a(s, n);
24
+ })(m);
@@ -0,0 +1,5 @@
1
+ import { __exports as e } from "../../../../../../_virtual/query-params.js";
2
+ Object.defineProperty(e, "__esModule", { value: !0 });
3
+ export {
4
+ e as default
5
+ };
@@ -0,0 +1,5 @@
1
+ import { __exports as e } from "../../../../../../_virtual/shared-types.js";
2
+ Object.defineProperty(e, "__esModule", { value: !0 });
3
+ export {
4
+ e as default
5
+ };
@@ -0,0 +1,10 @@
1
+ import { __exports as e } from "../../../../../../_virtual/timestamp.js";
2
+ Object.defineProperty(e, "__esModule", { value: !0 });
3
+ e.TimestampsAction = void 0;
4
+ var o;
5
+ (function(t) {
6
+ t.CHECKIN = "checkin", t.CHECKOUT = "checkout";
7
+ })(o || (e.TimestampsAction = o = {}));
8
+ export {
9
+ e as default
10
+ };
@@ -0,0 +1,67 @@
1
+ import { commonjsGlobal as x } from "../../../_virtual/_commonjsHelpers.js";
2
+ import { __module as f } from "../../../_virtual/index18.js";
3
+ (function(h, v) {
4
+ (function(n, a) {
5
+ a(v);
6
+ })(x, function(n) {
7
+ var a = function(r) {
8
+ return "trwagmyfpdxbnjzsqvhlcke"[+r % 23];
9
+ }, s = function(r) {
10
+ return ("" + Math.random()).slice(-r);
11
+ }, c = function(r) {
12
+ return (function(t) {
13
+ var e = t % 2147483647;
14
+ return e <= 0 && (e += 2147483646), { next: function() {
15
+ return e = 16807 * e % 2147483647;
16
+ } };
17
+ }(r).next() - 1) / 2147483646;
18
+ }, u = function(r) {
19
+ var t = "xyzXYZ".indexOf(r[0]) % 3, e = t.toString();
20
+ t === -1 && (e = r[0]);
21
+ var o = "" + e + r.slice(1, 8);
22
+ return a(o).toUpperCase();
23
+ }, l = function(r) {
24
+ return /^[XYZ]{1}[0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]{1}$/i.test(r);
25
+ }, d = function(r) {
26
+ return /^[0-9]{8}[TRWAGMYFPDXBNJZSQVHLCKE]{1}$/i.test(r);
27
+ };
28
+ n.ctrlChar = u, n.isNIE = function(r) {
29
+ return !!r && r.length === 9 && l(r) && u(r) === r[8].toUpperCase();
30
+ }, n.isNIF = function(r) {
31
+ return !!r && r.length === 9 && d(r) && u(r) === r[8].toUpperCase();
32
+ }, n.isValid = function(r) {
33
+ var t = r || "";
34
+ if (t.length !== 9 && !l(t) && !d(t)) return !1;
35
+ var e = "xyzXYZ".indexOf(t[0]) % 3, o = e.toString();
36
+ e === -1 && (o = t[0]);
37
+ var i = +(o + t.slice(1, 8)) % 23;
38
+ return "trwagmyfpdxbnjzsqvhlcket".indexOf(t[8].toLowerCase()) === i;
39
+ }, n.normalize = function(r) {
40
+ return r.replace(/[-_\s]/gi, "").toUpperCase();
41
+ }, n.randomNIE = function() {
42
+ var r = Math.floor(3 * Math.random()), t = s(7), e = a("" + r + t).toUpperCase();
43
+ return "" + "XYZ"[r] + t + e;
44
+ }, n.randomNIEWith = function(r, t, e) {
45
+ e === void 0 && (e = 1e8 * Math.random());
46
+ var o = "xyzXYZ".indexOf(r) % 3;
47
+ if (o === -1) return null;
48
+ var i = "trwagmyfpdxbnjzsqvhlckeTRWAGMYFPDXBNJZSQVHLCKE".indexOf(t) % 23;
49
+ if (i === -1) return null;
50
+ var p = o + 1, m = +("" + o + Math.floor(1e6 * p + (9999999 - 1e6 * p - 23) * c(e)));
51
+ return ("" + r + ("0" + (m - m % 23 + i) + t).slice(-8)).toUpperCase();
52
+ }, n.randomNIF = function() {
53
+ var r = s(8);
54
+ return r + a(r).toUpperCase();
55
+ }, n.randomNIFWith = function(r, t) {
56
+ t === void 0 && (t = 1e8 * Math.random());
57
+ var e = "trwagmyfpdxbnjzsqvhlckeTRWAGMYFPDXBNJZSQVHLCKE".indexOf(r) % 23;
58
+ if (e === -1) return null;
59
+ var o = 99999998 - 4347826 * (Math.floor(22 * c(t)) + 1);
60
+ return ("" + ("0" + (o + (e - Math.max(0, o) % 23))).slice(-8) + r).toUpperCase();
61
+ }, Object.defineProperty(n, "__esModule", { value: !0 });
62
+ });
63
+ })(f, f.exports);
64
+ var g = f.exports;
65
+ export {
66
+ g as d
67
+ };
@@ -0,0 +1,114 @@
1
+ import { commonjsGlobal as C } from "../../_virtual/_commonjsHelpers.js";
2
+ import { __exports as N } from "../../_virtual/iban.js";
3
+ (function(s) {
4
+ (function(w, B) {
5
+ typeof s.nodeName != "string" ? B(s) : B(w.IBAN = {});
6
+ })(C, function(w) {
7
+ Array.prototype.map || (Array.prototype.map = function(n) {
8
+ if (this === void 0 || this === null)
9
+ throw new TypeError();
10
+ var r = Object(this), t = r.length >>> 0;
11
+ if (typeof n != "function")
12
+ throw new TypeError();
13
+ for (var A = new Array(t), u = arguments.length >= 2 ? arguments[1] : void 0, i = 0; i < t; i++)
14
+ i in r && (A[i] = n.call(u, r[i], i, r));
15
+ return A;
16
+ });
17
+ var B = 65, l = 90;
18
+ function a(n) {
19
+ return n = n.toUpperCase(), n = n.substr(4) + n.substr(0, 4), n.split("").map(function(r) {
20
+ var t = r.charCodeAt(0);
21
+ return t >= B && t <= l ? t - B + 10 : r;
22
+ }).join("");
23
+ }
24
+ function f(n) {
25
+ for (var r = n, t; r.length > 2; )
26
+ t = r.slice(0, 9), r = parseInt(t, 10) % 97 + r.slice(t.length);
27
+ return parseInt(r, 10) % 97;
28
+ }
29
+ function h(n) {
30
+ var r = n.match(/(.{3})/g).map(function(t) {
31
+ var A, u = t.slice(0, 1), i = parseInt(t.slice(1), 10);
32
+ switch (u) {
33
+ case "A":
34
+ A = "0-9A-Za-z";
35
+ break;
36
+ case "B":
37
+ A = "0-9A-Z";
38
+ break;
39
+ case "C":
40
+ A = "A-Za-z";
41
+ break;
42
+ case "F":
43
+ A = "0-9";
44
+ break;
45
+ case "L":
46
+ A = "a-z";
47
+ break;
48
+ case "U":
49
+ A = "A-Z";
50
+ break;
51
+ case "W":
52
+ A = "0-9a-z";
53
+ break;
54
+ }
55
+ return "([" + A + "]{" + i + "})";
56
+ });
57
+ return new RegExp("^" + r.join("") + "$");
58
+ }
59
+ function o(n) {
60
+ return n.replace(S, "").toUpperCase();
61
+ }
62
+ function e(n, r, t, A) {
63
+ this.countryCode = n, this.length = r, this.structure = t, this.example = A;
64
+ }
65
+ e.prototype._regex = function() {
66
+ return this._cachedRegex || (this._cachedRegex = h(this.structure));
67
+ }, e.prototype.isValid = function(n) {
68
+ return this.length == n.length && this.countryCode === n.slice(0, 2) && this._regex().test(n.slice(4)) && f(a(n)) == 1;
69
+ }, e.prototype.toBBAN = function(n, r) {
70
+ return this._regex().exec(n.slice(4)).slice(1).join(r);
71
+ }, e.prototype.fromBBAN = function(n) {
72
+ if (!this.isValidBBAN(n))
73
+ throw new Error("Invalid BBAN");
74
+ var r = f(a(this.countryCode + "00" + n)), t = ("0" + (98 - r)).slice(-2);
75
+ return this.countryCode + t + n;
76
+ }, e.prototype.isValidBBAN = function(n) {
77
+ return this.length - 4 == n.length && this._regex().test(n);
78
+ };
79
+ var c = {};
80
+ function F(n) {
81
+ c[n.countryCode] = n;
82
+ }
83
+ F(new e("AD", 24, "F04F04A12", "AD1200012030200359100100")), F(new e("AE", 23, "F03F16", "AE070331234567890123456")), F(new e("AL", 28, "F08A16", "AL47212110090000000235698741")), F(new e("AT", 20, "F05F11", "AT611904300234573201")), F(new e("AZ", 28, "U04A20", "AZ21NABZ00000000137010001944")), F(new e("BA", 20, "F03F03F08F02", "BA391290079401028494")), F(new e("BE", 16, "F03F07F02", "BE68539007547034")), F(new e("BG", 22, "U04F04F02A08", "BG80BNBG96611020345678")), F(new e("BH", 22, "U04A14", "BH67BMAG00001299123456")), F(new e("BR", 29, "F08F05F10U01A01", "BR9700360305000010009795493P1")), F(new e("BY", 28, "A04F04A16", "BY13NBRB3600900000002Z00AB00")), F(new e("CH", 21, "F05A12", "CH9300762011623852957")), F(new e("CR", 22, "F04F14", "CR72012300000171549015")), F(new e("CY", 28, "F03F05A16", "CY17002001280000001200527600")), F(new e("CZ", 24, "F04F06F10", "CZ6508000000192000145399")), F(new e("DE", 22, "F08F10", "DE89370400440532013000")), F(new e("DK", 18, "F04F09F01", "DK5000400440116243")), F(new e("DO", 28, "U04F20", "DO28BAGR00000001212453611324")), F(new e("EE", 20, "F02F02F11F01", "EE382200221020145685")), F(new e("EG", 29, "F04F04F17", "EG800002000156789012345180002")), F(new e("ES", 24, "F04F04F01F01F10", "ES9121000418450200051332")), F(new e("FI", 18, "F06F07F01", "FI2112345600000785")), F(new e("FO", 18, "F04F09F01", "FO6264600001631634")), F(new e("FR", 27, "F05F05A11F02", "FR1420041010050500013M02606")), F(new e("GB", 22, "U04F06F08", "GB29NWBK60161331926819")), F(new e("GE", 22, "U02F16", "GE29NB0000000101904917")), F(new e("GI", 23, "U04A15", "GI75NWBK000000007099453")), F(new e("GL", 18, "F04F09F01", "GL8964710001000206")), F(new e("GR", 27, "F03F04A16", "GR1601101250000000012300695")), F(new e("GT", 28, "A04A20", "GT82TRAJ01020000001210029690")), F(new e("HR", 21, "F07F10", "HR1210010051863000160")), F(new e("HU", 28, "F03F04F01F15F01", "HU42117730161111101800000000")), F(new e("IE", 22, "U04F06F08", "IE29AIBK93115212345678")), F(new e("IL", 23, "F03F03F13", "IL620108000000099999999")), F(new e("IS", 26, "F04F02F06F10", "IS140159260076545510730339")), F(new e("IT", 27, "U01F05F05A12", "IT60X0542811101000000123456")), F(new e("IQ", 23, "U04F03A12", "IQ98NBIQ850123456789012")), F(new e("JO", 30, "A04F22", "JO15AAAA1234567890123456789012")), F(new e("KW", 30, "U04A22", "KW81CBKU0000000000001234560101")), F(new e("KZ", 20, "F03A13", "KZ86125KZT5004100100")), F(new e("LB", 28, "F04A20", "LB62099900000001001901229114")), F(new e("LC", 32, "U04F24", "LC07HEMM000100010012001200013015")), F(new e("LI", 21, "F05A12", "LI21088100002324013AA")), F(new e("LT", 20, "F05F11", "LT121000011101001000")), F(new e("LU", 20, "F03A13", "LU280019400644750000")), F(new e("LV", 21, "U04A13", "LV80BANK0000435195001")), F(new e("MC", 27, "F05F05A11F02", "MC5811222000010123456789030")), F(new e("MD", 24, "U02A18", "MD24AG000225100013104168")), F(new e("ME", 22, "F03F13F02", "ME25505000012345678951")), F(new e("MK", 19, "F03A10F02", "MK07250120000058984")), F(new e("MR", 27, "F05F05F11F02", "MR1300020001010000123456753")), F(new e("MT", 31, "U04F05A18", "MT84MALT011000012345MTLCAST001S")), F(new e("MU", 30, "U04F02F02F12F03U03", "MU17BOMM0101101030300200000MUR")), F(new e("NL", 18, "U04F10", "NL91ABNA0417164300")), F(new e("NO", 15, "F04F06F01", "NO9386011117947")), F(new e("PK", 24, "U04A16", "PK36SCBL0000001123456702")), F(new e("PL", 28, "F08F16", "PL61109010140000071219812874")), F(new e("PS", 29, "U04A21", "PS92PALS000000000400123456702")), F(new e("PT", 25, "F04F04F11F02", "PT50000201231234567890154")), F(new e("QA", 29, "U04A21", "QA30AAAA123456789012345678901")), F(new e("RO", 24, "U04A16", "RO49AAAA1B31007593840000")), F(new e("RS", 22, "F03F13F02", "RS35260005601001611379")), F(new e("SA", 24, "F02A18", "SA0380000000608010167519")), F(new e("SC", 31, "U04F04F16U03", "SC18SSCB11010000000000001497USD")), F(new e("SE", 24, "F03F16F01", "SE4550000000058398257466")), F(new e("SI", 19, "F05F08F02", "SI56263300012039086")), F(new e("SK", 24, "F04F06F10", "SK3112000000198742637541")), F(new e("SM", 27, "U01F05F05A12", "SM86U0322509800000000270100")), F(new e("ST", 25, "F08F11F02", "ST68000100010051845310112")), F(new e("SV", 28, "U04F20", "SV62CENR00000000000000700025")), F(new e("TL", 23, "F03F14F02", "TL380080012345678910157")), F(new e("TN", 24, "F02F03F13F02", "TN5910006035183598478831")), F(new e("TR", 26, "F05F01A16", "TR330006100519786457841326")), F(new e("UA", 29, "F25", "UA511234567890123456789012345")), F(new e("VA", 22, "F18", "VA59001123000012345678")), F(new e("VG", 24, "U04F16", "VG96VPVG0000012345678901")), F(new e("XK", 20, "F04F10F02", "XK051212012345678906")), F(new e("AO", 25, "F21", "AO69123456789012345678901")), F(new e("BF", 27, "F23", "BF2312345678901234567890123")), F(new e("BI", 16, "F12", "BI41123456789012")), F(new e("BJ", 28, "F24", "BJ39123456789012345678901234")), F(new e("CI", 28, "U02F22", "CI70CI1234567890123456789012")), F(new e("CM", 27, "F23", "CM9012345678901234567890123")), F(new e("CV", 25, "F21", "CV30123456789012345678901")), F(new e("DZ", 24, "F20", "DZ8612345678901234567890")), F(new e("IR", 26, "F22", "IR861234568790123456789012")), F(new e("MG", 27, "F23", "MG1812345678901234567890123")), F(new e("ML", 28, "U01F23", "ML15A12345678901234567890123")), F(new e("MZ", 25, "F21", "MZ25123456789012345678901")), F(new e("SN", 28, "U01F23", "SN52A12345678901234567890123")), F(new e("GF", 27, "F05F05A11F02", "GF121234512345123456789AB13")), F(new e("GP", 27, "F05F05A11F02", "GP791234512345123456789AB13")), F(new e("MQ", 27, "F05F05A11F02", "MQ221234512345123456789AB13")), F(new e("RE", 27, "F05F05A11F02", "RE131234512345123456789AB13")), F(new e("PF", 27, "F05F05A11F02", "PF281234512345123456789AB13")), F(new e("TF", 27, "F05F05A11F02", "TF891234512345123456789AB13")), F(new e("YT", 27, "F05F05A11F02", "YT021234512345123456789AB13")), F(new e("NC", 27, "F05F05A11F02", "NC551234512345123456789AB13")), F(new e("BL", 27, "F05F05A11F02", "BL391234512345123456789AB13")), F(new e("MF", 27, "F05F05A11F02", "MF551234512345123456789AB13")), F(new e("PM", 27, "F05F05A11F02", "PM071234512345123456789AB13")), F(new e("WF", 27, "F05F05A11F02", "WF621234512345123456789AB13"));
84
+ var S = /[^a-zA-Z0-9]/g, M = /(.{4})(?!$)/g;
85
+ function U(n) {
86
+ return typeof n == "string" || n instanceof String;
87
+ }
88
+ w.isValid = function(n) {
89
+ if (!U(n))
90
+ return !1;
91
+ n = o(n);
92
+ var r = c[n.slice(0, 2)];
93
+ return !!r && r.isValid(n);
94
+ }, w.toBBAN = function(n, r) {
95
+ typeof r > "u" && (r = " "), n = o(n);
96
+ var t = c[n.slice(0, 2)];
97
+ if (!t)
98
+ throw new Error("No country with code " + n.slice(0, 2));
99
+ return t.toBBAN(n, r);
100
+ }, w.fromBBAN = function(n, r) {
101
+ var t = c[n];
102
+ if (!t)
103
+ throw new Error("No country with code " + n);
104
+ return t.fromBBAN(o(r));
105
+ }, w.isValidBBAN = function(n, r) {
106
+ if (!U(r))
107
+ return !1;
108
+ var t = c[n];
109
+ return t && t.isValidBBAN(o(r));
110
+ }, w.printFormat = function(n, r) {
111
+ return typeof r > "u" && (r = " "), o(n).replace(M, "$1" + r);
112
+ }, w.electronicFormat = o, w.countries = c;
113
+ });
114
+ })(N);