valtech-components 2.0.46 → 2.0.47

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 (331) hide show
  1. package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +31 -0
  2. package/esm2022/lib/components/atoms/avatar/types.mjs +2 -0
  3. package/esm2022/lib/components/atoms/box/box.component.mjs +47 -0
  4. package/esm2022/lib/components/atoms/box/types.mjs +2 -0
  5. package/esm2022/lib/components/atoms/button/button.component.mjs +69 -0
  6. package/esm2022/lib/components/atoms/button/factory.mjs +217 -0
  7. package/esm2022/lib/components/atoms/display/display.component.mjs +28 -0
  8. package/esm2022/lib/components/atoms/display/types.mjs +2 -0
  9. package/esm2022/lib/components/atoms/divider/divider.component.mjs +17 -0
  10. package/esm2022/lib/components/atoms/divider/types.mjs +2 -0
  11. package/esm2022/lib/components/atoms/href/href.component.mjs +51 -0
  12. package/esm2022/lib/components/atoms/href/types.mjs +2 -0
  13. package/esm2022/lib/components/atoms/icon/icon.component.mjs +19 -0
  14. package/esm2022/lib/components/atoms/icon/types.mjs +2 -0
  15. package/esm2022/lib/components/atoms/image/image.component.mjs +50 -0
  16. package/esm2022/lib/components/atoms/image/types.mjs +2 -0
  17. package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +36 -0
  18. package/esm2022/lib/components/atoms/progress-bar/types.mjs +2 -0
  19. package/esm2022/lib/components/atoms/text/text.component.mjs +24 -0
  20. package/esm2022/lib/components/atoms/text/types.mjs +2 -0
  21. package/esm2022/lib/components/atoms/title/title.component.mjs +31 -0
  22. package/esm2022/lib/components/atoms/title/types.mjs +2 -0
  23. package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +32 -0
  24. package/esm2022/lib/components/molecules/alert-box/types.mjs +2 -0
  25. package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +49 -0
  26. package/esm2022/lib/components/molecules/button-group/types.mjs +2 -0
  27. package/esm2022/lib/components/molecules/card/card.component.mjs +365 -0
  28. package/esm2022/lib/components/molecules/card/types.mjs +16 -0
  29. package/esm2022/lib/components/molecules/check-input/check-input.component.mjs +15 -0
  30. package/esm2022/lib/components/molecules/comment-input/comment-input.component.mjs +23 -0
  31. package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +32 -0
  32. package/esm2022/lib/components/molecules/content-loader/types.mjs +2 -0
  33. package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +73 -0
  34. package/esm2022/lib/components/molecules/email-input/email-input.component.mjs +19 -0
  35. package/esm2022/lib/components/molecules/expandable-text/expandable-text.component.mjs +58 -0
  36. package/esm2022/lib/components/molecules/expandable-text/types.mjs +2 -0
  37. package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +69 -0
  38. package/esm2022/lib/components/molecules/hint/hint.component.mjs +52 -0
  39. package/esm2022/lib/components/molecules/hour-input/hour-input.component.mjs +18 -0
  40. package/esm2022/lib/components/molecules/link/link.component.mjs +53 -0
  41. package/esm2022/lib/components/molecules/link/types.mjs +2 -0
  42. package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +37 -0
  43. package/esm2022/lib/components/molecules/links-cake/types.mjs +2 -0
  44. package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +33 -0
  45. package/esm2022/lib/components/molecules/notes-box/types.mjs +2 -0
  46. package/esm2022/lib/components/molecules/number-input/number-input.component.mjs +18 -0
  47. package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +44 -0
  48. package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +45 -0
  49. package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +94 -0
  50. package/esm2022/lib/components/molecules/progress-status/types.mjs +2 -0
  51. package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +84 -0
  52. package/esm2022/lib/components/molecules/prompter/types.mjs +2 -0
  53. package/esm2022/lib/components/molecules/radio-input/radio-input.component.mjs +33 -0
  54. package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +61 -0
  55. package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +18 -0
  56. package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +77 -0
  57. package/esm2022/lib/components/molecules/title-block/types.mjs +2 -0
  58. package/esm2022/lib/components/organisms/banner/banner.component.mjs +75 -0
  59. package/esm2022/lib/components/organisms/banner/types.mjs +2 -0
  60. package/esm2022/lib/components/organisms/footer/footer.component.mjs +50 -0
  61. package/esm2022/lib/components/organisms/footer/types.mjs +2 -0
  62. package/esm2022/lib/components/organisms/form/factory.mjs +8 -0
  63. package/esm2022/lib/components/organisms/form/form-footer/form-footer.component.mjs +76 -0
  64. package/esm2022/lib/components/organisms/form/form.component.mjs +230 -0
  65. package/esm2022/lib/components/organisms/header/header.component.mjs +32 -0
  66. package/esm2022/lib/components/organisms/header/types.mjs +2 -0
  67. package/esm2022/lib/components/organisms/item-list/item-list.component.mjs +362 -0
  68. package/esm2022/lib/components/organisms/item-list/types.mjs +2 -0
  69. package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +44 -0
  70. package/esm2022/lib/components/organisms/no-content/types.mjs +2 -0
  71. package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +171 -0
  72. package/esm2022/lib/components/organisms/toolbar/types.mjs +2 -0
  73. package/esm2022/lib/components/organisms/wizard/types.mjs +7 -0
  74. package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +107 -0
  75. package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +103 -0
  76. package/esm2022/lib/components/templates/layout/layout.component.mjs +19 -0
  77. package/esm2022/lib/components/templates/simple/simple.component.mjs +102 -0
  78. package/esm2022/lib/components/templates/simple/types.mjs +2 -0
  79. package/esm2022/lib/components/types.mjs +36 -0
  80. package/esm2022/lib/services/download.service.mjs +63 -0
  81. package/esm2022/lib/services/icons.service.mjs +30 -0
  82. package/esm2022/lib/services/in-app-browser.service.mjs +24 -0
  83. package/esm2022/lib/services/lang-provider/components/lang-settings.mjs +13 -0
  84. package/esm2022/lib/services/lang-provider/components/theme-settings.mjs +15 -0
  85. package/esm2022/lib/services/lang-provider/content.mjs +8 -0
  86. package/esm2022/lib/services/lang-provider/lang-provider.service.mjs +39 -0
  87. package/esm2022/lib/services/lang-provider/types.mjs +14 -0
  88. package/esm2022/lib/services/local-storage.service.mjs +16 -0
  89. package/esm2022/lib/services/navigation.service.mjs +39 -0
  90. package/esm2022/lib/services/theme.service.mjs +97 -0
  91. package/esm2022/lib/services/types.mjs +3 -0
  92. package/esm2022/lib/shared/constants/storage.mjs +3 -0
  93. package/esm2022/lib/shared/utils/dom.mjs +17 -0
  94. package/esm2022/lib/shared/utils/styles.mjs +25 -0
  95. package/esm2022/public-api.mjs +95 -0
  96. package/esm2022/valtech-components.mjs +5 -0
  97. package/fesm2022/valtech-components.mjs +3556 -0
  98. package/fesm2022/valtech-components.mjs.map +1 -0
  99. package/index.d.ts +5 -0
  100. package/lib/components/atoms/avatar/avatar.component.d.ts +12 -0
  101. package/lib/components/atoms/avatar/types.d.ts +6 -0
  102. package/lib/components/atoms/box/box.component.d.ts +12 -0
  103. package/lib/components/atoms/box/types.d.ts +7 -0
  104. package/lib/components/atoms/button/button.component.d.ts +20 -0
  105. package/lib/components/atoms/button/factory.d.ts +71 -0
  106. package/lib/components/atoms/display/display.component.d.ts +10 -0
  107. package/lib/components/atoms/display/types.d.ts +6 -0
  108. package/lib/components/atoms/divider/divider.component.d.ts +10 -0
  109. package/lib/components/atoms/divider/types.d.ts +5 -0
  110. package/lib/components/atoms/href/href.component.d.ts +15 -0
  111. package/lib/components/atoms/href/types.d.ts +9 -0
  112. package/lib/components/atoms/icon/icon.component.d.ts +11 -0
  113. package/lib/components/atoms/icon/types.d.ts +6 -0
  114. package/lib/components/atoms/image/image.component.d.ts +12 -0
  115. package/lib/components/atoms/image/types.d.ts +11 -0
  116. package/lib/components/atoms/progress-bar/progress-bar.component.d.ts +10 -0
  117. package/lib/components/atoms/progress-bar/types.d.ts +9 -0
  118. package/lib/components/atoms/text/text.component.d.ts +10 -0
  119. package/lib/components/atoms/text/types.d.ts +7 -0
  120. package/lib/components/atoms/title/title.component.d.ts +10 -0
  121. package/lib/components/atoms/title/types.d.ts +7 -0
  122. package/lib/components/molecules/alert-box/alert-box.component.d.ts +10 -0
  123. package/{src/lib/components/molecules/alert-box/types.ts → lib/components/molecules/alert-box/types.d.ts} +3 -4
  124. package/lib/components/molecules/button-group/button-group.component.d.ts +13 -0
  125. package/lib/components/molecules/button-group/types.d.ts +6 -0
  126. package/lib/components/molecules/card/card.component.d.ts +16 -0
  127. package/lib/components/molecules/card/types.d.ts +32 -0
  128. package/lib/components/molecules/check-input/check-input.component.d.ts +8 -0
  129. package/lib/components/molecules/comment-input/comment-input.component.d.ts +10 -0
  130. package/lib/components/molecules/content-loader/content-loader.component.d.ts +10 -0
  131. package/lib/components/molecules/content-loader/types.d.ts +7 -0
  132. package/lib/components/molecules/date-input/date-input.component.d.ts +10 -0
  133. package/lib/components/molecules/email-input/email-input.component.d.ts +10 -0
  134. package/lib/components/molecules/expandable-text/expandable-text.component.d.ts +13 -0
  135. package/lib/components/molecules/expandable-text/types.d.ts +6 -0
  136. package/lib/components/molecules/file-input/file-input.component.d.ts +15 -0
  137. package/lib/components/molecules/hint/hint.component.d.ts +11 -0
  138. package/lib/components/molecules/hour-input/hour-input.component.d.ts +10 -0
  139. package/lib/components/molecules/link/link.component.d.ts +14 -0
  140. package/lib/components/molecules/link/types.d.ts +9 -0
  141. package/lib/components/molecules/links-cake/links-cake.component.d.ts +10 -0
  142. package/{src/lib/components/molecules/links-cake/types.ts → lib/components/molecules/links-cake/types.d.ts} +3 -4
  143. package/lib/components/molecules/notes-box/notes-box.component.d.ts +10 -0
  144. package/lib/components/molecules/notes-box/types.d.ts +8 -0
  145. package/lib/components/molecules/number-input/number-input.component.d.ts +10 -0
  146. package/lib/components/molecules/password-input/password-input.component.d.ts +11 -0
  147. package/lib/components/molecules/pin-input/pin-input.component.d.ts +15 -0
  148. package/lib/components/molecules/progress-status/progress-status.component.d.ts +14 -0
  149. package/lib/components/molecules/progress-status/types.d.ts +10 -0
  150. package/lib/components/molecules/prompter/prompter.component.d.ts +12 -0
  151. package/{src/lib/components/molecules/prompter/types.ts → lib/components/molecules/prompter/types.d.ts} +6 -7
  152. package/lib/components/molecules/radio-input/radio-input.component.d.ts +10 -0
  153. package/lib/components/molecules/searchbar/searchbar.component.d.ts +14 -0
  154. package/lib/components/molecules/text-input/text-input.component.d.ts +10 -0
  155. package/lib/components/molecules/title-block/title-block.component.d.ts +10 -0
  156. package/lib/components/molecules/title-block/types.d.ts +12 -0
  157. package/lib/components/organisms/banner/banner.component.d.ts +14 -0
  158. package/lib/components/organisms/banner/types.d.ts +12 -0
  159. package/lib/components/organisms/footer/footer.component.d.ts +12 -0
  160. package/{src/lib/components/organisms/footer/types.ts → lib/components/organisms/footer/types.d.ts} +3 -4
  161. package/lib/components/organisms/form/factory.d.ts +5 -0
  162. package/lib/components/organisms/form/form-footer/form-footer.component.d.ts +15 -0
  163. package/lib/components/organisms/form/form.component.d.ts +23 -0
  164. package/lib/components/organisms/header/header.component.d.ts +12 -0
  165. package/{src/lib/components/organisms/header/types.ts → lib/components/organisms/header/types.d.ts} +3 -4
  166. package/lib/components/organisms/item-list/item-list.component.d.ts +23 -0
  167. package/lib/components/organisms/item-list/types.d.ts +38 -0
  168. package/lib/components/organisms/no-content/no-content.component.d.ts +12 -0
  169. package/{src/lib/components/organisms/no-content/types.ts → lib/components/organisms/no-content/types.d.ts} +3 -4
  170. package/lib/components/organisms/toolbar/toolbar.component.d.ts +21 -0
  171. package/lib/components/organisms/toolbar/types.d.ts +11 -0
  172. package/lib/components/organisms/wizard/types.d.ts +20 -0
  173. package/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.d.ts +21 -0
  174. package/lib/components/organisms/wizard/wizard.component.d.ts +22 -0
  175. package/lib/components/templates/layout/layout.component.d.ts +5 -0
  176. package/lib/components/templates/simple/simple.component.d.ts +10 -0
  177. package/{src/lib/components/templates/simple/types.ts → lib/components/templates/simple/types.d.ts} +5 -6
  178. package/lib/components/types.d.ts +113 -0
  179. package/lib/services/download.service.d.ts +8 -0
  180. package/lib/services/icons.service.d.ts +6 -0
  181. package/lib/services/in-app-browser.service.d.ts +9 -0
  182. package/lib/services/lang-provider/components/lang-settings.d.ts +3 -0
  183. package/lib/services/lang-provider/components/theme-settings.d.ts +3 -0
  184. package/lib/services/lang-provider/content.d.ts +6 -0
  185. package/lib/services/lang-provider/lang-provider.service.d.ts +17 -0
  186. package/lib/services/lang-provider/types.d.ts +15 -0
  187. package/lib/services/local-storage.service.d.ts +6 -0
  188. package/lib/services/navigation.service.d.ts +15 -0
  189. package/lib/services/theme.service.d.ts +27 -0
  190. package/{src/lib/services/types.ts → lib/services/types.d.ts} +2 -4
  191. package/lib/shared/constants/storage.d.ts +2 -0
  192. package/lib/shared/utils/dom.d.ts +3 -0
  193. package/lib/shared/utils/styles.d.ts +1 -0
  194. package/package.json +13 -15
  195. package/{src/public-api.ts → public-api.d.ts} +0 -13
  196. package/ng-package.json +0 -10
  197. package/release.sh +0 -76
  198. package/src/lib/components/atoms/avatar/avatar.component.scss +0 -20
  199. package/src/lib/components/atoms/avatar/avatar.component.ts +0 -29
  200. package/src/lib/components/atoms/avatar/types.ts +0 -6
  201. package/src/lib/components/atoms/box/box.component.scss +0 -57
  202. package/src/lib/components/atoms/box/box.component.ts +0 -38
  203. package/src/lib/components/atoms/box/types.ts +0 -8
  204. package/src/lib/components/atoms/button/button.component.scss +0 -5
  205. package/src/lib/components/atoms/button/button.component.ts +0 -53
  206. package/src/lib/components/atoms/button/factory.ts +0 -444
  207. package/src/lib/components/atoms/display/display.component.scss +0 -17
  208. package/src/lib/components/atoms/display/display.component.ts +0 -25
  209. package/src/lib/components/atoms/display/types.ts +0 -7
  210. package/src/lib/components/atoms/divider/divider.component.scss +0 -62
  211. package/src/lib/components/atoms/divider/divider.component.ts +0 -18
  212. package/src/lib/components/atoms/divider/types.ts +0 -5
  213. package/src/lib/components/atoms/href/href.component.scss +0 -25
  214. package/src/lib/components/atoms/href/href.component.ts +0 -43
  215. package/src/lib/components/atoms/href/types.ts +0 -10
  216. package/src/lib/components/atoms/icon/icon.component.scss +0 -33
  217. package/src/lib/components/atoms/icon/icon.component.ts +0 -21
  218. package/src/lib/components/atoms/icon/types.ts +0 -7
  219. package/src/lib/components/atoms/image/image.component.scss +0 -70
  220. package/src/lib/components/atoms/image/image.component.ts +0 -40
  221. package/src/lib/components/atoms/image/types.ts +0 -11
  222. package/src/lib/components/atoms/progress-bar/progress-bar.component.scss +0 -22
  223. package/src/lib/components/atoms/progress-bar/progress-bar.component.ts +0 -29
  224. package/src/lib/components/atoms/progress-bar/types.ts +0 -10
  225. package/src/lib/components/atoms/text/text.component.scss +0 -33
  226. package/src/lib/components/atoms/text/text.component.ts +0 -23
  227. package/src/lib/components/atoms/text/types.ts +0 -8
  228. package/src/lib/components/atoms/title/title.component.scss +0 -17
  229. package/src/lib/components/atoms/title/title.component.ts +0 -27
  230. package/src/lib/components/atoms/title/types.ts +0 -8
  231. package/src/lib/components/molecules/alert-box/alert-box.component.scss +0 -10
  232. package/src/lib/components/molecules/alert-box/alert-box.component.ts +0 -28
  233. package/src/lib/components/molecules/button-group/button-group.component.scss +0 -31
  234. package/src/lib/components/molecules/button-group/button-group.component.ts +0 -44
  235. package/src/lib/components/molecules/button-group/types.ts +0 -7
  236. package/src/lib/components/molecules/card/card.component.scss +0 -46
  237. package/src/lib/components/molecules/card/card.component.ts +0 -218
  238. package/src/lib/components/molecules/card/types.ts +0 -36
  239. package/src/lib/components/molecules/check-input/check-input.component.scss +0 -0
  240. package/src/lib/components/molecules/check-input/check-input.component.ts +0 -16
  241. package/src/lib/components/molecules/comment-input/comment-input.component.scss +0 -0
  242. package/src/lib/components/molecules/comment-input/comment-input.component.ts +0 -22
  243. package/src/lib/components/molecules/content-loader/content-loader.component.scss +0 -42
  244. package/src/lib/components/molecules/content-loader/content-loader.component.ts +0 -27
  245. package/src/lib/components/molecules/content-loader/types.ts +0 -8
  246. package/src/lib/components/molecules/date-input/date-input.component.scss +0 -11
  247. package/src/lib/components/molecules/date-input/date-input.component.ts +0 -47
  248. package/src/lib/components/molecules/email-input/email-input.component.scss +0 -0
  249. package/src/lib/components/molecules/email-input/email-input.component.ts +0 -20
  250. package/src/lib/components/molecules/expandable-text/expandable-text.component.ts +0 -89
  251. package/src/lib/components/molecules/expandable-text/types.ts +0 -6
  252. package/src/lib/components/molecules/file-input/file-input.component.scss +0 -11
  253. package/src/lib/components/molecules/file-input/file-input.component.ts +0 -56
  254. package/src/lib/components/molecules/hint/hint.component.scss +0 -5
  255. package/src/lib/components/molecules/hint/hint.component.ts +0 -42
  256. package/src/lib/components/molecules/hour-input/hour-input.component.scss +0 -0
  257. package/src/lib/components/molecules/hour-input/hour-input.component.ts +0 -19
  258. package/src/lib/components/molecules/link/link.component.scss +0 -5
  259. package/src/lib/components/molecules/link/link.component.ts +0 -52
  260. package/src/lib/components/molecules/link/types.ts +0 -10
  261. package/src/lib/components/molecules/links-cake/links-cake.component.scss +0 -9
  262. package/src/lib/components/molecules/links-cake/links-cake.component.ts +0 -30
  263. package/src/lib/components/molecules/notes-box/notes-box.component.scss +0 -5
  264. package/src/lib/components/molecules/notes-box/notes-box.component.ts +0 -28
  265. package/src/lib/components/molecules/notes-box/types.ts +0 -9
  266. package/src/lib/components/molecules/number-input/number-input.component.scss +0 -0
  267. package/src/lib/components/molecules/number-input/number-input.component.ts +0 -19
  268. package/src/lib/components/molecules/password-input/password-input.component.scss +0 -7
  269. package/src/lib/components/molecules/password-input/password-input.component.ts +0 -33
  270. package/src/lib/components/molecules/pin-input/pin-input.component.scss +0 -13
  271. package/src/lib/components/molecules/pin-input/pin-input.component.ts +0 -42
  272. package/src/lib/components/molecules/progress-status/progress-status.component.scss +0 -41
  273. package/src/lib/components/molecules/progress-status/progress-status.component.ts +0 -70
  274. package/src/lib/components/molecules/progress-status/types.ts +0 -11
  275. package/src/lib/components/molecules/prompter/prompter.component.scss +0 -34
  276. package/src/lib/components/molecules/prompter/prompter.component.ts +0 -58
  277. package/src/lib/components/molecules/radio-input/radio-input.component.scss +0 -0
  278. package/src/lib/components/molecules/radio-input/radio-input.component.ts +0 -27
  279. package/src/lib/components/molecules/searchbar/searchbar.component.scss +0 -9
  280. package/src/lib/components/molecules/searchbar/searchbar.component.ts +0 -47
  281. package/src/lib/components/molecules/text-input/text-input.component.scss +0 -1
  282. package/src/lib/components/molecules/text-input/text-input.component.ts +0 -19
  283. package/src/lib/components/molecules/title-block/title-block.component.scss +0 -36
  284. package/src/lib/components/molecules/title-block/title-block.component.ts +0 -50
  285. package/src/lib/components/molecules/title-block/types.ts +0 -14
  286. package/src/lib/components/organisms/banner/banner.component.scss +0 -45
  287. package/src/lib/components/organisms/banner/banner.component.ts +0 -57
  288. package/src/lib/components/organisms/banner/types.ts +0 -13
  289. package/src/lib/components/organisms/footer/footer.component.scss +0 -3
  290. package/src/lib/components/organisms/footer/footer.component.ts +0 -40
  291. package/src/lib/components/organisms/form/factory.ts +0 -11
  292. package/src/lib/components/organisms/form/form-footer/form-footer.component.scss +0 -0
  293. package/src/lib/components/organisms/form/form-footer/form-footer.component.ts +0 -63
  294. package/src/lib/components/organisms/form/form.component.scss +0 -16
  295. package/src/lib/components/organisms/form/form.component.ts +0 -183
  296. package/src/lib/components/organisms/header/header.component.scss +0 -0
  297. package/src/lib/components/organisms/header/header.component.ts +0 -31
  298. package/src/lib/components/organisms/item-list/item-list.component.scss +0 -41
  299. package/src/lib/components/organisms/item-list/item-list.component.ts +0 -223
  300. package/src/lib/components/organisms/item-list/types.ts +0 -42
  301. package/src/lib/components/organisms/no-content/no-content.component.scss +0 -11
  302. package/src/lib/components/organisms/no-content/no-content.component.ts +0 -37
  303. package/src/lib/components/organisms/toolbar/toolbar.component.scss +0 -13
  304. package/src/lib/components/organisms/toolbar/toolbar.component.ts +0 -123
  305. package/src/lib/components/organisms/toolbar/types.ts +0 -12
  306. package/src/lib/components/organisms/wizard/types.ts +0 -24
  307. package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.scss +0 -0
  308. package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.ts +0 -90
  309. package/src/lib/components/organisms/wizard/wizard.component.scss +0 -15
  310. package/src/lib/components/organisms/wizard/wizard.component.ts +0 -99
  311. package/src/lib/components/templates/layout/layout.component.scss +0 -22
  312. package/src/lib/components/templates/layout/layout.component.ts +0 -14
  313. package/src/lib/components/templates/simple/simple.component.ts +0 -75
  314. package/src/lib/components/types.ts +0 -122
  315. package/src/lib/services/download.service.ts +0 -58
  316. package/src/lib/services/icons.service.ts +0 -36
  317. package/src/lib/services/in-app-browser.service.ts +0 -19
  318. package/src/lib/services/lang-provider/components/lang-settings.ts +0 -14
  319. package/src/lib/services/lang-provider/components/theme-settings.ts +0 -16
  320. package/src/lib/services/lang-provider/content.ts +0 -14
  321. package/src/lib/services/lang-provider/lang-provider.service.ts +0 -38
  322. package/src/lib/services/lang-provider/types.ts +0 -25
  323. package/src/lib/services/local-storage.service.ts +0 -18
  324. package/src/lib/services/navigation.service.ts +0 -39
  325. package/src/lib/services/theme.service.ts +0 -102
  326. package/src/lib/shared/constants/storage.ts +0 -2
  327. package/src/lib/shared/utils/dom.ts +0 -19
  328. package/src/lib/shared/utils/styles.ts +0 -27
  329. package/tsconfig.lib.json +0 -14
  330. package/tsconfig.lib.prod.json +0 -10
  331. package/tsconfig.spec.json +0 -14
@@ -0,0 +1,15 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { NgOtpInputComponent, NgOtpInputConfig } from 'ng-otp-input';
3
+ import { InputMetadata } from '../../types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PinInputComponent implements OnInit {
6
+ pinCode: NgOtpInputComponent | undefined;
7
+ props: InputMetadata;
8
+ codeLength: number;
9
+ otpInputConfig: NgOtpInputConfig;
10
+ constructor();
11
+ ngOnInit(): void;
12
+ reset(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<PinInputComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<PinInputComponent, "val-pin-input", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,14 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ProgressStatusMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ProgressStatusComponent implements OnInit {
5
+ props: ProgressStatusMetadata;
6
+ currentIndex: number;
7
+ blinking: boolean;
8
+ constructor();
9
+ ngOnInit(): void;
10
+ get Content(): string;
11
+ getNextMessage(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressStatusComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressStatusComponent, "val-progress-status", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,10 @@
1
+ import { Color } from '@ionic/core';
2
+ import { TitleBlockMetada } from '../title-block/types';
3
+ export type ProgressStatusMetadata = {
4
+ progress: number;
5
+ titles: TitleBlockMetada;
6
+ color: Color;
7
+ size?: 'small' | 'medium' | 'large' | 'xlarge';
8
+ type?: 'determinate' | 'indeterminate';
9
+ messages: string[];
10
+ };
@@ -0,0 +1,12 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { PrompterMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PrompterComponent implements OnInit {
5
+ props: PrompterMetadata;
6
+ onClick: EventEmitter<string>;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ clickHandler(token?: string): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrompterComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<PrompterComponent, "val-prompter", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
12
+ }
@@ -1,12 +1,11 @@
1
1
  import { Color } from '@ionic/core';
2
2
  import { HrefMetadata } from '../../atoms/href/types';
3
3
  import { ButtonMetadata } from '../../types';
4
-
5
4
  export type PrompterMetadata = {
6
- teleprompter: boolean;
7
- bordered: boolean;
8
- color?: Color;
9
- content: string;
10
- buttons?: ButtonMetadata[];
11
- hrefs?: HrefMetadata[];
5
+ teleprompter: boolean;
6
+ bordered: boolean;
7
+ color?: Color;
8
+ content: string;
9
+ buttons?: ButtonMetadata[];
10
+ hrefs?: HrefMetadata[];
12
11
  };
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { InputMetadata } from '../../types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RadioInputComponent implements OnInit {
5
+ props: InputMetadata;
6
+ constructor();
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioInputComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioInputComponent, "val-radio-input", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SearchbarComponent {
4
+ disabled: boolean;
5
+ focusEvent: EventEmitter<void>;
6
+ blurEvent: EventEmitter<void>;
7
+ filterEvent: EventEmitter<string>;
8
+ constructor();
9
+ onSearch($event: any): void;
10
+ onFocus(): void;
11
+ onBlur(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchbarComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchbarComponent, "app-searchbar", never, { "disabled": { "alias": "disabled"; "required": false; }; }, { "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "filterEvent": "filterEvent"; }, never, never, true, never>;
14
+ }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { InputMetadata } from '../../types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TextInputComponent implements OnInit {
5
+ props: InputMetadata;
6
+ constructor();
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "val-text-input", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { TitleBlockMetada } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TitleBlockComponent implements OnInit {
5
+ props: TitleBlockMetada;
6
+ constructor();
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TitleBlockComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TitleBlockComponent, "val-title-block", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,12 @@
1
+ import { Color } from '@ionic/core';
2
+ export type TitleMetada = {
3
+ text: string;
4
+ color: Color;
5
+ size: 'small' | 'medium' | 'large' | 'xlarge';
6
+ };
7
+ export type TitleBlockMetada = {
8
+ position: 'center' | 'left' | 'right';
9
+ title?: TitleMetada;
10
+ aboveTitle?: TitleMetada;
11
+ bellowTitle?: TitleMetada;
12
+ };
@@ -0,0 +1,14 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { BannerMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BannerComponent implements OnInit {
5
+ props: BannerMetadata;
6
+ onClick: EventEmitter<string>;
7
+ onClose: EventEmitter<any>;
8
+ constructor();
9
+ ngOnInit(): void;
10
+ clickHandler(token?: string): void;
11
+ closeHandler(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<BannerComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "val-banner", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; "onClose": "onClose"; }, never, never, true, never>;
14
+ }
@@ -0,0 +1,12 @@
1
+ import { Color } from '@ionic/core';
2
+ import { TitleBlockMetada } from '../../molecules/title-block/types';
3
+ import { ButtonMetadata } from '../../types';
4
+ export type BannerMetadata = {
5
+ color: Color;
6
+ bordered: boolean;
7
+ closable: boolean;
8
+ mode: 'row' | 'column' | 'hybrid' | 'center';
9
+ alignment: 'center' | 'middle' | 'bottom';
10
+ actions: ButtonMetadata[];
11
+ content: TitleBlockMetada;
12
+ };
@@ -0,0 +1,12 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FooterMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FooterComponent implements OnInit {
5
+ props: FooterMetadata;
6
+ onClick: EventEmitter<string>;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ clickHandler(token?: string): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "val-footer", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, ["[extra]"], true, never>;
12
+ }
@@ -1,7 +1,6 @@
1
1
  import { ToolbarMetadata } from '../toolbar/types';
2
-
3
2
  export type FooterMetadata = {
4
- translucent?: boolean;
5
- bordered?: boolean;
6
- toolbar: ToolbarMetadata;
3
+ translucent?: boolean;
4
+ bordered?: boolean;
5
+ toolbar: ToolbarMetadata;
7
6
  };
@@ -0,0 +1,5 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ export declare const maxLength: (field: string, max: number) => {
3
+ validator: ValidatorFn;
4
+ error: string;
5
+ };
@@ -0,0 +1,15 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { ButtonMetadata, FormSubmit } from '../../../types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FormFooterComponent implements OnInit {
6
+ form: FormGroup;
7
+ action: ButtonMetadata;
8
+ onSubmit: EventEmitter<FormSubmit>;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ submitHandler(token?: string): Promise<void>;
12
+ get actions(): ButtonMetadata[];
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFooterComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFooterComponent, "val-form-footer", never, { "form": { "alias": "form"; "required": false; }; "action": { "alias": "action"; "required": false; }; }, { "onSubmit": "onSubmit"; }, never, never, true, never>;
15
+ }
@@ -0,0 +1,23 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
3
+ import { ButtonMetadata, FormMetadata, FormSubmit, InputMetadata, InputType } from '../../types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FormComponent implements OnInit {
6
+ private fb;
7
+ private elementRef;
8
+ props: FormMetadata;
9
+ onSubmit: EventEmitter<FormSubmit>;
10
+ onInvalid: EventEmitter<any>;
11
+ form: FormGroup;
12
+ types: typeof InputType;
13
+ constructor(fb: FormBuilder, elementRef: ElementRef);
14
+ ngOnInit(): void;
15
+ submitHandler(token?: string): Promise<void>;
16
+ getControl(field: string): FormControl;
17
+ getFieldProp(field: InputMetadata): InputMetadata;
18
+ get isAtEndOfForm(): boolean;
19
+ get Form(): FormGroup;
20
+ get actions(): ButtonMetadata[];
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "val-form", never, { "props": { "alias": "props"; "required": false; }; }, { "onSubmit": "onSubmit"; "onInvalid": "onInvalid"; }, never, never, true, never>;
23
+ }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { HeaderMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class HeaderComponent implements OnInit {
5
+ props: HeaderMetadata;
6
+ onClick: EventEmitter<string>;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ clickHandler(token?: string): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "val-header", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
12
+ }
@@ -1,7 +1,6 @@
1
1
  import { ToolbarMetadata } from '../toolbar/types';
2
-
3
2
  export type HeaderMetadata = {
4
- translucent?: boolean;
5
- bordered?: boolean;
6
- toolbar: ToolbarMetadata;
3
+ translucent?: boolean;
4
+ bordered?: boolean;
5
+ toolbar: ToolbarMetadata;
7
6
  };
@@ -0,0 +1,23 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { IconService } from '../../../services/icons.service';
3
+ import { ListMetadata } from './types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ItemListComponent implements OnInit {
6
+ states: {
7
+ ENABLED: "ENABLED";
8
+ DISABLED: "DISABLED";
9
+ WORKING: "WORKING";
10
+ ERROR: "ERROR";
11
+ };
12
+ defaultColor: string;
13
+ props: ListMetadata;
14
+ onClick: EventEmitter<string>;
15
+ onActionClick: EventEmitter<string>;
16
+ constructor(icon: IconService);
17
+ ngOnInit(): void;
18
+ clickHandler(token?: string): void;
19
+ onActionClickHandler(token?: string): void;
20
+ color(): string;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItemListComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItemListComponent, "val-item-list", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; "onActionClick": "onActionClick"; }, never, never, true, never>;
23
+ }
@@ -0,0 +1,38 @@
1
+ import { Color } from '@ionic/core';
2
+ import { ComponentState } from '../../types';
3
+ export type ItemAction = {
4
+ token: string;
5
+ icon?: string;
6
+ description: string;
7
+ state: ComponentState;
8
+ };
9
+ export interface ItemMetadata {
10
+ token?: string;
11
+ mode: 'justext' | 'subtitule' | 'avatar' | 'icon' | 'route' | 'actionable';
12
+ text: string;
13
+ image?: string;
14
+ icon?: string;
15
+ comments?: string;
16
+ subtitle?: string;
17
+ endNote?: string;
18
+ actions?: ItemAction[];
19
+ color?: string;
20
+ lines?: 'full' | 'inset' | 'none';
21
+ button?: boolean;
22
+ detail?: boolean;
23
+ clickable?: boolean;
24
+ detailIcon?: string;
25
+ disabled?: boolean;
26
+ ellipsis?: boolean;
27
+ href?: string;
28
+ routerLink?: string | any[];
29
+ unreadIndicator?: boolean;
30
+ }
31
+ export interface ListMetadata {
32
+ color: Color;
33
+ bordered: boolean;
34
+ rounded: boolean;
35
+ shadowed: boolean;
36
+ title: string;
37
+ items: ItemMetadata[];
38
+ }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { NoContentMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NoContentComponent implements OnInit {
5
+ props: NoContentMetadata;
6
+ onClick: EventEmitter<string>;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ onClickHandler(token: string): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoContentComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<NoContentComponent, "val-no-content", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
12
+ }
@@ -1,8 +1,7 @@
1
1
  import { ImageMetadata } from '../../atoms/image/types';
2
2
  import { BannerMetadata } from '../../organisms/banner/types';
3
-
4
3
  export type NoContentMetadata = {
5
- image: ImageMetadata;
6
- topContent?: BannerMetadata;
7
- bottomContent: BannerMetadata;
4
+ image: ImageMetadata;
5
+ topContent?: BannerMetadata;
6
+ bottomContent: BannerMetadata;
8
7
  };
@@ -0,0 +1,21 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { NavController } from '@ionic/angular';
3
+ import { ToolbarAction, ToolbarActionType } from '../../types';
4
+ import { ToolbarMetadata } from './types';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ToolbarComponent implements OnInit {
7
+ private navCtrl;
8
+ props: ToolbarMetadata;
9
+ onClick: EventEmitter<string>;
10
+ actionTypes: typeof ToolbarActionType;
11
+ constructor(navCtrl: NavController);
12
+ ngOnInit(): void;
13
+ goBack(): void;
14
+ rightActions(): ToolbarAction[];
15
+ leftActions(): ToolbarAction[];
16
+ someInRight(): boolean;
17
+ someInLeft(): boolean;
18
+ clickHandler(token?: string): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "val-toolbar", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, ["[toolbar-bottom]"], true, never>;
21
+ }
@@ -0,0 +1,11 @@
1
+ import { Color } from '@ionic/core';
2
+ import { ToolbarAction } from '../../types';
3
+ export type ToolbarMetadata = {
4
+ withBack: boolean;
5
+ backText?: string;
6
+ withActions: boolean;
7
+ color?: Color;
8
+ textColor?: Color;
9
+ title: string;
10
+ actions: ToolbarAction[];
11
+ };
@@ -0,0 +1,20 @@
1
+ import { ButtonMetadata, ComponentState } from '../../types';
2
+ import { NoContentMetadata } from '../no-content/types';
3
+ export type WizardMetadata = {
4
+ state: ComponentState;
5
+ current: number;
6
+ steps: Steps;
7
+ error: Step;
8
+ };
9
+ export type Step = {
10
+ titles: NoContentMetadata;
11
+ buttons: ButtonMetadata[];
12
+ };
13
+ export type Steps = {
14
+ [step: number]: Step;
15
+ };
16
+ export declare enum MOTION {
17
+ BACKWARD = 0,
18
+ FORWARD = 1,
19
+ RETRY = 2
20
+ }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ButtonMetadata } from '../../../types';
3
+ import { MOTION, Step, WizardMetadata } from '../types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class WizardFooterComponent implements OnInit {
6
+ props: WizardMetadata;
7
+ onClick: EventEmitter<{
8
+ current: number;
9
+ motion: MOTION;
10
+ }>;
11
+ wrapperId: string;
12
+ constructor();
13
+ ngOnInit(): void;
14
+ clickHandler(token?: string): void;
15
+ get Current(): Step;
16
+ get Progress(): number;
17
+ get actions(): ButtonMetadata[];
18
+ tryToStep(motion: MOTION): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<WizardFooterComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<WizardFooterComponent, "val-wizard-footer", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
21
+ }
@@ -0,0 +1,22 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { MOTION, Step, WizardMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class WizardComponent implements OnInit {
5
+ props: WizardMetadata;
6
+ onClick: EventEmitter<{
7
+ current: number;
8
+ motion: MOTION;
9
+ }>;
10
+ wrapperId: string;
11
+ constructor();
12
+ ngOnInit(): void;
13
+ working(): void;
14
+ done(): void;
15
+ get Current(): Step;
16
+ setCurrent(newStep: number): void;
17
+ setError(error: string): void;
18
+ reset(): void;
19
+ clickHandler(token?: string): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "val-wizard", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, ["[step]"], true, never>;
22
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class LayoutComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "val-layout", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { SimpleMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SimpleComponent {
5
+ props: SimpleMetadata;
6
+ onClick: EventEmitter<string>;
7
+ onClickHandler(token?: string): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SimpleComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimpleComponent, "val-simple", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
10
+ }
@@ -1,10 +1,9 @@
1
1
  import { LinkMetadata } from '../../molecules/link/types';
2
2
  import { HeaderMetadata } from '../../organisms/header/types';
3
-
4
3
  export interface SimpleMetadata {
5
- header: HeaderMetadata;
6
- pageTitle: string;
7
- pageDescription: string;
8
- withDivider: boolean;
9
- link?: LinkMetadata;
4
+ header: HeaderMetadata;
5
+ pageTitle: string;
6
+ pageDescription: string;
7
+ withDivider: boolean;
8
+ link?: LinkMetadata;
10
9
  }
@@ -0,0 +1,113 @@
1
+ import { FormControl, ValidatorFn } from '@angular/forms';
2
+ import { ImageMetadata } from './atoms/image/types';
3
+ import { Color } from '@ionic/core';
4
+ export type ComponentState = 'ENABLED' | 'DISABLED' | 'WORKING' | 'ERROR';
5
+ export declare const ComponentStates: {
6
+ ENABLED: "ENABLED";
7
+ DISABLED: "DISABLED";
8
+ WORKING: "WORKING";
9
+ ERROR: "ERROR";
10
+ };
11
+ export declare enum ActionType {
12
+ BROWSER_NEW_TAB = 0,
13
+ BROWSER_DOWNLOAD = 1,
14
+ NATIVE_DOWNLOAD = 2,
15
+ APP_NAVIGATION = 3,
16
+ BROWSER_NAVIGATION = 4
17
+ }
18
+ export type Action = {
19
+ description: string;
20
+ type: ActionType;
21
+ source: string;
22
+ };
23
+ export declare enum InputType {
24
+ TEXT = 0,
25
+ EMAIL = 1,
26
+ PASSWORD = 2,
27
+ COMMENT = 3,
28
+ NUMBER = 4,
29
+ PIN_CODE = 5,
30
+ DATE = 6,
31
+ HOUR = 7,
32
+ CHECK = 8,
33
+ RADIO = 9,
34
+ SELECT = 10,
35
+ FILE = 11
36
+ }
37
+ export type InputOption = {
38
+ id: string;
39
+ name: string;
40
+ selected?: boolean;
41
+ order: number;
42
+ };
43
+ export type InputMetadata = {
44
+ control: FormControl;
45
+ token: string;
46
+ label: string;
47
+ name: string;
48
+ hint: string;
49
+ placeholder: string;
50
+ type: InputType;
51
+ order: number;
52
+ validators: ValidatorFn[];
53
+ options?: InputOption[];
54
+ range?: {
55
+ min: number;
56
+ max: number;
57
+ };
58
+ errors: {
59
+ [key: string]: string;
60
+ };
61
+ value?: string;
62
+ };
63
+ export type FormSection = {
64
+ name: string;
65
+ order: number;
66
+ fields: InputMetadata[];
67
+ };
68
+ export type FormSubmit = {
69
+ fields: {
70
+ key: string;
71
+ value: string;
72
+ }[];
73
+ token?: string;
74
+ };
75
+ export type FormMetadata = {
76
+ name: string;
77
+ sections: FormSection[];
78
+ actions: ButtonMetadata;
79
+ state: ComponentState;
80
+ };
81
+ export declare enum ToolbarActionType {
82
+ AVATAR = "AVATAR",
83
+ ICON = "ICON",
84
+ IMAGE = "IMAGE",
85
+ BUTTON = "BUTTON"
86
+ }
87
+ export type ToolbarAction = {
88
+ type: 'AVATAR' | 'ICON' | 'IMAGE' | 'BUTTON';
89
+ token?: string;
90
+ position: 'left' | 'right' | 'center';
91
+ description?: string;
92
+ image?: ImageMetadata;
93
+ };
94
+ export interface IconMetada {
95
+ name: string;
96
+ slot: 'start' | 'end';
97
+ }
98
+ export interface ButtonMetadata {
99
+ actionType?: ActionType;
100
+ expand?: 'full' | 'block';
101
+ href?: string;
102
+ target?: '_blank' | '_self' | '_parent' | '_top';
103
+ download?: string;
104
+ color: Color;
105
+ state: ComponentState;
106
+ text: string;
107
+ icon?: IconMetada;
108
+ shape?: 'round';
109
+ size?: 'small' | 'default' | 'large';
110
+ fill?: 'clear' | 'outline' | 'solid' | 'default';
111
+ type: 'button' | 'submit' | 'reset';
112
+ token?: string;
113
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DownloadService {
3
+ getFileNameFromUrl(url: string): string;
4
+ openNewTab(url: string): void;
5
+ downloadLinkFromBrowser(url: string): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DownloadService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<DownloadService>;
8
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class IconService {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<IconService>;
6
+ }
@@ -0,0 +1,9 @@
1
+ import { OpenOptions } from '@capacitor/browser';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InAppBrowserService {
4
+ options: OpenOptions;
5
+ constructor();
6
+ openWithInAppBrowser(url: string): Promise<void>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<InAppBrowserService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<InAppBrowserService>;
9
+ }
@@ -0,0 +1,3 @@
1
+ import { TextContent } from '../types';
2
+ declare const _default: TextContent;
3
+ export default _default;