@testgorilla/tgo-ui 2.24.9999 → 2.25.0

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 (347) hide show
  1. package/components/accordion/accordion.component.d.ts +100 -0
  2. package/components/accordion/accordion.component.module.d.ts +12 -0
  3. package/components/accordion/accordion.model.d.ts +2 -0
  4. package/components/autocomplete/autocomplete.component.d.ts +294 -0
  5. package/components/autocomplete/autocomplete.component.module.d.ts +23 -0
  6. package/components/autocomplete/autocomplete.model.d.ts +22 -0
  7. package/components/autocomplete/includes.pipe.d.ts +12 -0
  8. package/components/autocomplete/prevent-input.directive.d.ts +7 -0
  9. package/components/autocomplete/transform-Item.pipe.d.ts +11 -0
  10. package/components/button/button.component.d.ts +8 -1
  11. package/components/checklist/checklist.component.d.ts +78 -0
  12. package/components/checklist/checklist.model.d.ts +7 -0
  13. package/components/confirm-dialog/confirm-dialog.component.d.ts +29 -0
  14. package/components/confirm-dialog/confirm-dialog.component.module.d.ts +12 -0
  15. package/components/confirm-dialog/confirm-dialog.model.d.ts +11 -0
  16. package/components/datepicker/date-adapter.d.ts +30 -0
  17. package/components/datepicker/datepicker.component.d.ts +214 -0
  18. package/components/datepicker/datepicker.component.module.d.ts +18 -0
  19. package/components/datepicker/datepicker.service.d.ts +8 -0
  20. package/components/datepicker/no-date-format.directive.d.ts +11 -0
  21. package/components/deprecated-paginator/deprecated-paginator.component.d.ts +38 -0
  22. package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +9 -0
  23. package/components/deprecated-table/deprecated-table.component.d.ts +91 -0
  24. package/components/deprecated-table/deprecated-table.component.module.d.ts +14 -0
  25. package/components/deprecated-table/deprecated-table.model.d.ts +45 -0
  26. package/components/deprecated-table/directives/dynamic-component.directive.d.ts +13 -0
  27. package/components/dialog/dialog.component.d.ts +147 -0
  28. package/components/dialog/dialog.component.module.d.ts +11 -0
  29. package/components/dialog/dialog.service.d.ts +13 -0
  30. package/components/divider/divider.component.d.ts +39 -0
  31. package/components/divider/divider.component.module.d.ts +9 -0
  32. package/components/divider/divider.model.d.ts +1 -0
  33. package/components/dropdown/dropdown.component.d.ts +189 -0
  34. package/components/dropdown/dropdown.component.module.d.ts +17 -0
  35. package/components/dropdown/dropdown.model.d.ts +5 -0
  36. package/components/elevation-shadow/elevation-shadow.component.d.ts +26 -0
  37. package/components/elevation-shadow/elevation-shadow.component.module.d.ts +8 -0
  38. package/components/elevation-shadow/elevation-shadow.constant.d.ts +8 -0
  39. package/components/empty-state/empty-state.component.d.ts +118 -0
  40. package/components/empty-state/empty-state.component.module.d.ts +11 -0
  41. package/components/empty-state/empty-state.model.d.ts +3 -0
  42. package/components/file-upload/file-upload.component.d.ts +120 -0
  43. package/components/file-upload/file-upload.component.module.d.ts +14 -0
  44. package/components/icon-label/icon-label.component.d.ts +39 -0
  45. package/components/icon-label/icon-label.component.module.d.ts +9 -0
  46. package/components/media-card/media-card.component.d.ts +32 -0
  47. package/components/multi-input/multi-input.component.d.ts +164 -0
  48. package/components/multi-input/multi-input.component.module.d.ts +18 -0
  49. package/components/multi-input/multi-input.model.d.ts +1 -0
  50. package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +25 -0
  51. package/components/navbar/navbar.component.d.ts +119 -0
  52. package/components/navbar/navbar.component.module.d.ts +21 -0
  53. package/components/navbar/navbar.model.d.ts +21 -0
  54. package/components/overflow-menu/overflow-menu.component.d.ts +86 -0
  55. package/components/overflow-menu/overflow-menu.component.module.d.ts +15 -0
  56. package/components/overflow-menu/overflow-menu.model.d.ts +20 -0
  57. package/components/page-header/page-header.component.d.ts +38 -0
  58. package/components/page-header/page-header.component.module.d.ts +10 -0
  59. package/components/paginator/paginator.component.d.ts +58 -0
  60. package/components/paginator/paginator.component.module.d.ts +9 -0
  61. package/components/password-criteria/password.component.d.ts +42 -0
  62. package/components/password-criteria/password.component.module.d.ts +13 -0
  63. package/components/password-strength/password-strength.component.d.ts +45 -0
  64. package/components/password-strength/password-strength.component.module.d.ts +11 -0
  65. package/components/phone-input/join-strings.pipe.d.ts +7 -0
  66. package/components/phone-input/phone-input.component.d.ts +147 -0
  67. package/components/phone-input/phone-input.component.module.d.ts +20 -0
  68. package/components/phone-input/phone-input.model.d.ts +8 -0
  69. package/components/progress-bar/progress-bar.component.d.ts +73 -0
  70. package/components/progress-bar/progress-bar.component.module.d.ts +10 -0
  71. package/components/radial-progress/radial-progress.component.d.ts +68 -0
  72. package/components/radial-progress/radial-progress.component.module.d.ts +10 -0
  73. package/components/radial-progress/radial-progress.model.d.ts +10 -0
  74. package/components/rating/half-star.pipe.d.ts +14 -0
  75. package/components/rating/rating.component.d.ts +64 -0
  76. package/components/rating/rating.component.module.d.ts +10 -0
  77. package/components/scale/scale.component.d.ts +53 -0
  78. package/components/scale/scale.component.module.d.ts +8 -0
  79. package/components/segmented-bar/segmented-bar.component.d.ts +63 -0
  80. package/components/segmented-bar/segmented-bar.component.module.d.ts +13 -0
  81. package/components/segmented-bar/segmented-bar.model.d.ts +12 -0
  82. package/components/segmented-button/segmented-button.component.d.ts +55 -0
  83. package/components/segmented-button/segmented-button.component.module.d.ts +11 -0
  84. package/components/segmented-button/segmented-button.model.d.ts +8 -0
  85. package/components/side-panel/side-panel.component.d.ts +1 -1
  86. package/components/side-sheet/side-sheet.component.d.ts +43 -0
  87. package/components/side-sheet/side-sheet.component.module.d.ts +14 -0
  88. package/components/side-sheet/side-sheet.model.d.ts +10 -0
  89. package/components/side-sheet/side-sheet.service.d.ts +14 -0
  90. package/components/skeleton/skeleton.component.d.ts +26 -0
  91. package/components/skeleton/skeleton.model.d.ts +2 -0
  92. package/components/slider/slider.component.d.ts +105 -0
  93. package/components/slider/slider.component.module.d.ts +14 -0
  94. package/components/slider/slider.model.d.ts +5 -0
  95. package/components/spider-chart/spider-chart.component.d.ts +88 -0
  96. package/components/spider-chart/spider-chart.model.d.ts +12 -0
  97. package/components/spider-chart/spider-chart.module.d.ts +12 -0
  98. package/components/step/step.component.d.ts +161 -0
  99. package/components/step/step.component.module.d.ts +10 -0
  100. package/components/stepper/stepper.component.d.ts +86 -0
  101. package/components/stepper/stepper.component.module.d.ts +15 -0
  102. package/components/stepper/stepper.model.d.ts +22 -0
  103. package/components/table/sentence-case.pipe.d.ts +7 -0
  104. package/components/table/table.component.d.ts +96 -0
  105. package/components/table/table.component.module.d.ts +20 -0
  106. package/components/table/table.model.d.ts +94 -0
  107. package/components/tabs/tab.directive.d.ts +24 -0
  108. package/components/tabs/tabs.component.d.ts +73 -0
  109. package/components/tabs/tabs.component.module.d.ts +11 -0
  110. package/components/tabs/tabs.model.d.ts +15 -0
  111. package/components/tag/tag.component.d.ts +131 -0
  112. package/components/tag/tag.component.module.d.ts +13 -0
  113. package/components/tag/tag.model.d.ts +1 -0
  114. package/components/toggle/toggle.component.d.ts +113 -0
  115. package/components/toggle/toggle.component.module.d.ts +14 -0
  116. package/components/toggle/toggle.model.d.ts +1 -0
  117. package/components/universal-skills-report/universal-skills-report.component.d.ts +33 -0
  118. package/components/universal-skills-report/universal-skills-report.component.module.d.ts +14 -0
  119. package/components/universal-skills-report/universal-skills-report.model.d.ts +33 -0
  120. package/directives/drag-drop.directive.d.ts +12 -0
  121. package/directives/select-text.directive.d.ts +19 -0
  122. package/directives/step-line-element.directive.d.ts +17 -0
  123. package/esm2022/assets/i18n/da-dk.json +62 -1
  124. package/esm2022/assets/i18n/de.json +62 -1
  125. package/esm2022/assets/i18n/es.json +62 -1
  126. package/esm2022/assets/i18n/fr.json +62 -1
  127. package/esm2022/assets/i18n/it-it.json +62 -1
  128. package/esm2022/assets/i18n/ja-jp.json +62 -1
  129. package/esm2022/assets/i18n/nb-no.json +62 -1
  130. package/esm2022/assets/i18n/nl.json +62 -1
  131. package/esm2022/assets/i18n/pl-pl.json +62 -1
  132. package/esm2022/assets/i18n/pt-br.json +62 -1
  133. package/esm2022/assets/i18n/sv-se.json +62 -1
  134. package/esm2022/components/accordion/accordion.component.mjs +135 -0
  135. package/esm2022/components/accordion/accordion.component.module.mjs +40 -0
  136. package/esm2022/components/accordion/accordion.model.mjs +2 -0
  137. package/esm2022/components/alert-banner/alert-banner.component.mjs +2 -2
  138. package/esm2022/components/autocomplete/autocomplete.component.mjs +720 -0
  139. package/esm2022/components/autocomplete/autocomplete.component.module.mjs +73 -0
  140. package/esm2022/components/autocomplete/autocomplete.model.mjs +25 -0
  141. package/esm2022/components/autocomplete/includes.pipe.mjs +25 -0
  142. package/esm2022/components/autocomplete/prevent-input.directive.mjs +27 -0
  143. package/esm2022/components/autocomplete/transform-Item.pipe.mjs +32 -0
  144. package/esm2022/components/avatar/avatar.component.mjs +1 -1
  145. package/esm2022/components/button/button.component.mjs +15 -3
  146. package/esm2022/components/checklist/checklist.component.mjs +147 -0
  147. package/esm2022/components/checklist/checklist.model.mjs +2 -0
  148. package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +54 -0
  149. package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +29 -0
  150. package/esm2022/components/confirm-dialog/confirm-dialog.model.mjs +2 -0
  151. package/esm2022/components/datepicker/date-adapter.mjs +30 -0
  152. package/esm2022/components/datepicker/datepicker.component.mjs +333 -0
  153. package/esm2022/components/datepicker/datepicker.component.module.mjs +60 -0
  154. package/esm2022/components/datepicker/datepicker.service.mjs +20 -0
  155. package/esm2022/components/datepicker/no-date-format.directive.mjs +56 -0
  156. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +55 -0
  157. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.module.mjs +20 -0
  158. package/esm2022/components/deprecated-table/deprecated-table.component.mjs +158 -0
  159. package/esm2022/components/deprecated-table/deprecated-table.component.module.mjs +43 -0
  160. package/esm2022/components/deprecated-table/deprecated-table.model.mjs +13 -0
  161. package/esm2022/components/deprecated-table/directives/dynamic-component.directive.mjs +40 -0
  162. package/esm2022/components/dialog/dialog.component.mjs +253 -0
  163. package/esm2022/components/dialog/dialog.component.module.mjs +23 -0
  164. package/esm2022/components/dialog/dialog.service.mjs +35 -0
  165. package/esm2022/components/divider/divider.component.mjs +65 -0
  166. package/esm2022/components/divider/divider.component.module.mjs +19 -0
  167. package/esm2022/components/divider/divider.model.mjs +2 -0
  168. package/esm2022/components/dropdown/dropdown.component.mjs +351 -0
  169. package/esm2022/components/dropdown/dropdown.component.module.mjs +57 -0
  170. package/esm2022/components/dropdown/dropdown.model.mjs +2 -0
  171. package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +45 -0
  172. package/esm2022/components/elevation-shadow/elevation-shadow.component.module.mjs +18 -0
  173. package/esm2022/components/elevation-shadow/elevation-shadow.constant.mjs +9 -0
  174. package/esm2022/components/empty-state/empty-state.component.mjs +186 -0
  175. package/esm2022/components/empty-state/empty-state.component.module.mjs +21 -0
  176. package/esm2022/components/empty-state/empty-state.model.mjs +2 -0
  177. package/esm2022/components/field/field.component.mjs +1 -1
  178. package/esm2022/components/file-upload/file-upload.component.mjs +282 -0
  179. package/esm2022/components/file-upload/file-upload.component.module.mjs +40 -0
  180. package/esm2022/components/icon-label/icon-label.component.mjs +53 -0
  181. package/esm2022/components/icon-label/icon-label.component.module.mjs +20 -0
  182. package/esm2022/components/media-card/media-card.component.mjs +47 -0
  183. package/esm2022/components/multi-input/multi-input.component.mjs +318 -0
  184. package/esm2022/components/multi-input/multi-input.component.module.mjs +58 -0
  185. package/esm2022/components/multi-input/multi-input.model.mjs +2 -0
  186. package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +82 -0
  187. package/esm2022/components/navbar/navbar.component.mjs +209 -0
  188. package/esm2022/components/navbar/navbar.component.module.mjs +71 -0
  189. package/esm2022/components/navbar/navbar.model.mjs +2 -0
  190. package/esm2022/components/overflow-menu/overflow-menu.component.mjs +195 -0
  191. package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +25 -0
  192. package/esm2022/components/overflow-menu/overflow-menu.model.mjs +2 -0
  193. package/esm2022/components/page-header/page-header.component.mjs +71 -0
  194. package/esm2022/components/page-header/page-header.component.module.mjs +20 -0
  195. package/esm2022/components/paginator/paginator.component.mjs +87 -0
  196. package/esm2022/components/paginator/paginator.component.module.mjs +19 -0
  197. package/esm2022/components/password-criteria/password.component.mjs +105 -0
  198. package/esm2022/components/password-criteria/password.component.module.mjs +39 -0
  199. package/esm2022/components/password-strength/password-strength.component.mjs +93 -0
  200. package/esm2022/components/password-strength/password-strength.component.module.mjs +21 -0
  201. package/esm2022/components/phone-input/join-strings.pipe.mjs +14 -0
  202. package/esm2022/components/phone-input/phone-input.component.mjs +353 -0
  203. package/esm2022/components/phone-input/phone-input.component.module.mjs +63 -0
  204. package/esm2022/components/phone-input/phone-input.model.mjs +2 -0
  205. package/esm2022/components/progress-bar/progress-bar.component.mjs +103 -0
  206. package/esm2022/components/progress-bar/progress-bar.component.module.mjs +21 -0
  207. package/esm2022/components/radial-progress/radial-progress.component.mjs +106 -0
  208. package/esm2022/components/radial-progress/radial-progress.component.module.mjs +20 -0
  209. package/esm2022/components/radial-progress/radial-progress.model.mjs +11 -0
  210. package/esm2022/components/rating/half-star.pipe.mjs +23 -0
  211. package/esm2022/components/rating/rating.component.mjs +92 -0
  212. package/esm2022/components/rating/rating.component.module.mjs +20 -0
  213. package/esm2022/components/scale/scale.component.mjs +124 -0
  214. package/esm2022/components/scale/scale.component.module.mjs +18 -0
  215. package/esm2022/components/segmented-bar/segmented-bar.component.mjs +106 -0
  216. package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +23 -0
  217. package/esm2022/components/segmented-bar/segmented-bar.model.mjs +2 -0
  218. package/esm2022/components/segmented-button/segmented-button.component.mjs +104 -0
  219. package/esm2022/components/segmented-button/segmented-button.component.module.mjs +21 -0
  220. package/esm2022/components/segmented-button/segmented-button.model.mjs +2 -0
  221. package/esm2022/components/side-panel/side-panel.component.mjs +2 -2
  222. package/esm2022/components/side-sheet/side-sheet.component.mjs +105 -0
  223. package/esm2022/components/side-sheet/side-sheet.component.module.mjs +43 -0
  224. package/esm2022/components/side-sheet/side-sheet.model.mjs +2 -0
  225. package/esm2022/components/side-sheet/side-sheet.service.mjs +31 -0
  226. package/esm2022/components/skeleton/skeleton.component.mjs +71 -0
  227. package/esm2022/components/skeleton/skeleton.model.mjs +2 -0
  228. package/esm2022/components/slider/slider.component.mjs +198 -0
  229. package/esm2022/components/slider/slider.component.module.mjs +43 -0
  230. package/esm2022/components/slider/slider.model.mjs +2 -0
  231. package/esm2022/components/snackbar/snackbar.component.mjs +2 -2
  232. package/esm2022/components/spider-chart/spider-chart.component.mjs +425 -0
  233. package/esm2022/components/spider-chart/spider-chart.model.mjs +4 -0
  234. package/esm2022/components/spider-chart/spider-chart.module.mjs +41 -0
  235. package/esm2022/components/step/step.component.mjs +149 -0
  236. package/esm2022/components/step/step.component.module.mjs +20 -0
  237. package/esm2022/components/stepper/stepper.component.mjs +150 -0
  238. package/esm2022/components/stepper/stepper.component.module.mjs +44 -0
  239. package/esm2022/components/stepper/stepper.model.mjs +2 -0
  240. package/esm2022/components/table/sentence-case.pipe.mjs +19 -0
  241. package/esm2022/components/table/table.component.mjs +237 -0
  242. package/esm2022/components/table/table.component.module.mjs +61 -0
  243. package/esm2022/components/table/table.model.mjs +13 -0
  244. package/esm2022/components/tabs/tab.directive.mjs +54 -0
  245. package/esm2022/components/tabs/tabs.component.mjs +188 -0
  246. package/esm2022/components/tabs/tabs.component.module.mjs +21 -0
  247. package/esm2022/components/tabs/tabs.model.mjs +2 -0
  248. package/esm2022/components/tag/tag.component.mjs +212 -0
  249. package/esm2022/components/tag/tag.component.module.mjs +24 -0
  250. package/esm2022/components/tag/tag.model.mjs +2 -0
  251. package/esm2022/components/toggle/toggle.component.mjs +190 -0
  252. package/esm2022/components/toggle/toggle.component.module.mjs +24 -0
  253. package/esm2022/components/toggle/toggle.model.mjs +2 -0
  254. package/esm2022/components/universal-skills-report/universal-skills-report.component.mjs +115 -0
  255. package/esm2022/components/universal-skills-report/universal-skills-report.component.module.mjs +43 -0
  256. package/esm2022/components/universal-skills-report/universal-skills-report.model.mjs +19 -0
  257. package/esm2022/directives/drag-drop.directive.mjs +55 -0
  258. package/esm2022/directives/select-text.directive.mjs +40 -0
  259. package/esm2022/directives/step-line-element.directive.mjs +51 -0
  260. package/esm2022/models/keyboard-events.model.mjs +13 -0
  261. package/esm2022/models/screen-breakpoints.model.mjs +6 -0
  262. package/esm2022/pipes/data-property-getter.mjs +33 -0
  263. package/esm2022/pipes/ui-ordinal-suffix.pipe.mjs +31 -0
  264. package/esm2022/providers/is-mobile.mjs +11 -0
  265. package/esm2022/public-api.mjs +214 -184
  266. package/esm2022/utils/autocomplete-utils.mjs +78 -0
  267. package/esm2022/utils/hex-to-rgb.mjs +9 -0
  268. package/esm2022/utils/table.utils.mjs +19 -0
  269. package/fesm2022/testgorilla-tgo-ui.mjs +12106 -3000
  270. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  271. package/models/keyboard-events.model.d.ts +11 -0
  272. package/models/screen-breakpoints.model.d.ts +4 -0
  273. package/package.json +2 -3
  274. package/pipes/data-property-getter.d.ts +8 -0
  275. package/pipes/ui-ordinal-suffix.pipe.d.ts +7 -0
  276. package/projects/tgo-canopy-ui/assets/i18n/da-dk.json +62 -1
  277. package/projects/tgo-canopy-ui/assets/i18n/de.json +62 -1
  278. package/projects/tgo-canopy-ui/assets/i18n/es.json +62 -1
  279. package/projects/tgo-canopy-ui/assets/i18n/fr.json +62 -1
  280. package/projects/tgo-canopy-ui/assets/i18n/it-it.json +62 -1
  281. package/projects/tgo-canopy-ui/assets/i18n/ja-jp.json +62 -1
  282. package/projects/tgo-canopy-ui/assets/i18n/nb-no.json +62 -1
  283. package/projects/tgo-canopy-ui/assets/i18n/nl.json +62 -1
  284. package/projects/tgo-canopy-ui/assets/i18n/pl-pl.json +62 -1
  285. package/projects/tgo-canopy-ui/assets/i18n/pt-br.json +62 -1
  286. package/projects/tgo-canopy-ui/assets/i18n/sv-se.json +62 -1
  287. package/providers/is-mobile.d.ts +2 -0
  288. package/public-api.d.ts +151 -14
  289. package/utils/autocomplete-utils.d.ts +12 -0
  290. package/utils/hex-to-rgb.d.ts +1 -0
  291. package/utils/table.utils.d.ts +6 -0
  292. package/components/alert-banner/index.d.ts +0 -1
  293. package/components/alert-banner/public-api.d.ts +0 -2
  294. package/components/avatar/index.d.ts +0 -1
  295. package/components/avatar/public-api.d.ts +0 -3
  296. package/components/badge/index.d.ts +0 -1
  297. package/components/badge/public-api.d.ts +0 -3
  298. package/components/button/index.d.ts +0 -1
  299. package/components/button/public-api.d.ts +0 -3
  300. package/components/card/index.d.ts +0 -1
  301. package/components/card/public-api.d.ts +0 -3
  302. package/components/checkbox/index.d.ts +0 -1
  303. package/components/checkbox/public-api.d.ts +0 -2
  304. package/components/field/index.d.ts +0 -1
  305. package/components/field/public-api.d.ts +0 -3
  306. package/components/icon/index.d.ts +0 -1
  307. package/components/icon/public-api.d.ts +0 -3
  308. package/components/logo/index.d.ts +0 -1
  309. package/components/logo/public-api.d.ts +0 -3
  310. package/components/radio-button/index.d.ts +0 -1
  311. package/components/radio-button/public-api.d.ts +0 -2
  312. package/components/side-panel/index.d.ts +0 -1
  313. package/components/side-panel/public-api.d.ts +0 -3
  314. package/components/snackbar/index.d.ts +0 -1
  315. package/components/snackbar/public-api.d.ts +0 -4
  316. package/components/spinner/index.d.ts +0 -1
  317. package/components/spinner/public-api.d.ts +0 -3
  318. package/components/tooltip/index.d.ts +0 -1
  319. package/components/tooltip/public-api.d.ts +0 -3
  320. package/esm2022/components/alert-banner/index.mjs +0 -2
  321. package/esm2022/components/alert-banner/public-api.mjs +0 -3
  322. package/esm2022/components/avatar/index.mjs +0 -2
  323. package/esm2022/components/avatar/public-api.mjs +0 -4
  324. package/esm2022/components/badge/index.mjs +0 -2
  325. package/esm2022/components/badge/public-api.mjs +0 -4
  326. package/esm2022/components/button/index.mjs +0 -2
  327. package/esm2022/components/button/public-api.mjs +0 -4
  328. package/esm2022/components/card/index.mjs +0 -2
  329. package/esm2022/components/card/public-api.mjs +0 -4
  330. package/esm2022/components/checkbox/index.mjs +0 -2
  331. package/esm2022/components/checkbox/public-api.mjs +0 -3
  332. package/esm2022/components/field/index.mjs +0 -2
  333. package/esm2022/components/field/public-api.mjs +0 -4
  334. package/esm2022/components/icon/index.mjs +0 -2
  335. package/esm2022/components/icon/public-api.mjs +0 -4
  336. package/esm2022/components/logo/index.mjs +0 -2
  337. package/esm2022/components/logo/public-api.mjs +0 -4
  338. package/esm2022/components/radio-button/index.mjs +0 -2
  339. package/esm2022/components/radio-button/public-api.mjs +0 -3
  340. package/esm2022/components/side-panel/index.mjs +0 -2
  341. package/esm2022/components/side-panel/public-api.mjs +0 -4
  342. package/esm2022/components/snackbar/index.mjs +0 -2
  343. package/esm2022/components/snackbar/public-api.mjs +0 -5
  344. package/esm2022/components/spinner/index.mjs +0 -2
  345. package/esm2022/components/spinner/public-api.mjs +0 -4
  346. package/esm2022/components/tooltip/index.mjs +0 -2
  347. package/esm2022/components/tooltip/public-api.mjs +0 -4
@@ -0,0 +1,13 @@
1
+ import { ComponentType } from '@angular/cdk/portal';
2
+ import { MatDialog, MatDialogConfig, MatDialogRef } from '@angular/material/dialog';
3
+ import { ApplicationTheme } from '../../models/application-theme.model';
4
+ import * as i0 from "@angular/core";
5
+ export type DialogSize = 'small' | 'large';
6
+ export declare class DialogService {
7
+ private matDialog;
8
+ private readonly defaultAppTheme;
9
+ constructor(matDialog: MatDialog, defaultAppTheme: ApplicationTheme);
10
+ open(dialogComponent: ComponentType<any>, applicationTheme?: ApplicationTheme, size?: DialogSize, panelClass?: string, extraData?: any, backdropClass?: string, keyboardOpen?: boolean, config?: MatDialogConfig): MatDialogRef<any>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, [null, { optional: true; }]>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
13
+ }
@@ -0,0 +1,39 @@
1
+ import { DividerSize } from './divider.model';
2
+ import { ApplicationTheme } from '../../models/application-theme.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DividerComponent {
5
+ private readonly defaultAppTheme;
6
+ /**
7
+ * Divider size
8
+ *
9
+ * @type {DividerSize}
10
+ * @memberof DividerComponent
11
+ */
12
+ size: DividerSize;
13
+ /**
14
+ * Determines whether the checkbox color.
15
+ * Default: Test Gorilla primary color.
16
+ *
17
+ * @type {string}
18
+ * @memberof DividerComponent
19
+ */
20
+ companyColor: string | null;
21
+ /**
22
+ *
23
+ * Defines the application theme
24
+ *
25
+ * @type {ApplicationTheme}
26
+ * @memberof DividerComponent
27
+ */
28
+ applicationTheme: ApplicationTheme;
29
+ /**
30
+ * Text content in the center of the divider
31
+ *
32
+ * @type {string}
33
+ * @memberof DividerComponent
34
+ */
35
+ label: string;
36
+ constructor(defaultAppTheme: ApplicationTheme);
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, [{ optional: true; }]>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "ui-divider", never, { "size": { "alias": "size"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, false, never>;
39
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./divider.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/divider";
5
+ export declare class DividerComponentModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponentModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DividerComponentModule, [typeof i1.DividerComponent], [typeof i2.CommonModule, typeof i3.MatDividerModule], [typeof i1.DividerComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<DividerComponentModule>;
9
+ }
@@ -0,0 +1 @@
1
+ export type DividerSize = 'small' | 'large';
@@ -0,0 +1,189 @@
1
+ import { ChangeDetectorRef, DestroyRef, DoCheck, EventEmitter, NgZone, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
+ import { FloatLabelType } from '@angular/material/form-field';
4
+ import { OptionType } from './dropdown.model';
5
+ import { ApplicationTheme } from '../../models/application-theme.model';
6
+ import { FocusMonitor } from "@angular/cdk/a11y";
7
+ import { MatSelect } from "@angular/material/select";
8
+ import * as i0 from "@angular/core";
9
+ export declare class DropdownComponent implements OnInit, ControlValueAccessor, DoCheck, OnChanges {
10
+ private readonly defaultAppTheme;
11
+ private readonly cdr;
12
+ ngControl: NgControl;
13
+ private readonly renderer2;
14
+ private readonly focusMonitor;
15
+ private readonly destroyRef;
16
+ private readonly ngZone;
17
+ class: string;
18
+ /**
19
+ * Text content will be applied to the input element if present.
20
+ *
21
+ * @type {string}
22
+ * @memberof DropdownComponent
23
+ */
24
+ label?: string | undefined;
25
+ /**
26
+ * Input name attribute
27
+ *
28
+ * @type {string}
29
+ * @memberof DropdownComponent
30
+ */
31
+ name: string;
32
+ /**
33
+ * Placeholder to be shown if no value has been selected.
34
+ *
35
+ * @type {string}
36
+ * @memberof DropdownComponent
37
+ */
38
+ placeholder: string;
39
+ /**
40
+ * Unique id of the element.
41
+ *
42
+ * @type {string}
43
+ * @memberof DropdownComponent
44
+ */
45
+ id?: string | undefined;
46
+ /**
47
+ * Input value
48
+ *
49
+ * @type {string}
50
+ * @memberof DropdownComponent
51
+ */
52
+ value?: string;
53
+ /**
54
+ * Whether the component is in an error state.
55
+ *
56
+ * @type {string[]}
57
+ * @memberof DropdownComponent
58
+ */
59
+ errors?: string[];
60
+ /**
61
+ * Whether the component is disabled.
62
+ * Default: false.
63
+ *
64
+ * @type {boolean}
65
+ * @memberof DropdownComponent
66
+ */
67
+ disabled: boolean;
68
+ /**
69
+ * List of options.
70
+ *
71
+ * @type {OptionType}
72
+ * @memberof DropdownComponent
73
+ */
74
+ valueList: OptionType[];
75
+ /**
76
+ * Whether the user should be allowed to clear the values.
77
+ * Default: true.
78
+ *
79
+ * @type {boolean}
80
+ * @memberof DropdownComponent
81
+ */
82
+ allowClear: boolean;
83
+ /**
84
+ * This will allow the user to select multiple values at once.
85
+ * Default: true.
86
+ *
87
+ * @type {boolean}
88
+ * @memberof DropdownComponent
89
+ */
90
+ allowMultipleSelection?: boolean | undefined;
91
+ /**
92
+ * Whether the component is required.
93
+ * Default: false.
94
+ *
95
+ * @type {boolean}
96
+ * @memberof DropdownComponent
97
+ */
98
+ required: boolean;
99
+ /**
100
+ * Show reserved content below form field
101
+ * @property showBottomContent
102
+ * @type {boolean}
103
+ * @memberof DropdownComponent
104
+ */
105
+ showBottomContent: boolean;
106
+ /**
107
+ *
108
+ * Defines the application theme
109
+ *
110
+ * @type {ApplicationTheme}
111
+ * @memberof DropdownComponent
112
+ */
113
+ applicationTheme: ApplicationTheme;
114
+ /**
115
+ * Hide in build errors for Reactive Forms
116
+ *
117
+ * @type {number}
118
+ * @memberof DropdownComponent
119
+ */
120
+ hideBuiltInErrors: boolean;
121
+ /**
122
+ * Hide label in errors
123
+ *
124
+ * @type {number}
125
+ * @memberof DropdownComponent
126
+ */
127
+ hideLabelInErrors: boolean;
128
+ /**
129
+ * @property textField
130
+ * @description The field to be used as the display text in the dropdown.
131
+ * @memberof DropdownComponent
132
+ */
133
+ textField: string;
134
+ /**
135
+ * @property valueField
136
+ * @description The field to be used as the value in the dropdown.
137
+ * @memberof DropdownComponent
138
+ */
139
+ valueField: string;
140
+ hasError: boolean;
141
+ /**
142
+ * Color of the option hover.
143
+ * Defaults to Test Gorilla primary color.
144
+ *
145
+ * @type {string}
146
+ * @memberof DropdownComponent
147
+ */
148
+ companyColor: string;
149
+ closed: EventEmitter<void>;
150
+ opened: EventEmitter<void>;
151
+ matSelect: MatSelect;
152
+ /**
153
+ * @ignore
154
+ */
155
+ onChange: (_: any) => void;
156
+ /**
157
+ * @ignore
158
+ */
159
+ onTouch: () => void;
160
+ constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, ngControl: NgControl, renderer2: Renderer2, focusMonitor: FocusMonitor, destroyRef: DestroyRef, ngZone: NgZone);
161
+ floatLabel: FloatLabelType;
162
+ classError: string;
163
+ errorsLength: boolean;
164
+ showCheck: boolean;
165
+ optionSelected: any;
166
+ keyboardFocused: import("@angular/core").WritableSignal<boolean>;
167
+ isOpen: import("@angular/core").WritableSignal<boolean>;
168
+ /**
169
+ * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
170
+ * to display validation errors that might happen (e.g. required)
171
+ */
172
+ ngDoCheck(): void;
173
+ ngOnInit(): void;
174
+ ngOnChanges(changes: SimpleChanges): void;
175
+ ngAfterViewInit(): void;
176
+ clearValue(event: Event): void;
177
+ onChangeOption(event: any): void;
178
+ setErrorsLength(): boolean;
179
+ writeValue(value?: any): void;
180
+ registerOnChange(fn: any): void;
181
+ registerOnTouched(fn: any): void;
182
+ setDisabledState(isDisabled: boolean): void;
183
+ onClosed(): void;
184
+ onOpened(): void;
185
+ setStyleVariable(): void;
186
+ onKeydown($event: KeyboardEvent): void;
187
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, [{ optional: true; }, null, { optional: true; self: true; }, null, null, null, null]>;
188
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "ui-dropdown", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "valueList": { "alias": "valueList"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "allowMultipleSelection": { "alias": "allowMultipleSelection"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, never, never, false, never>;
189
+ }
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dropdown.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/form-field";
5
+ import * as i4 from "@angular/material/input";
6
+ import * as i5 from "../icon/icon.component.module";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "../button/button.component.module";
9
+ import * as i8 from "@angular/material/select";
10
+ import * as i9 from "../../pipes/ui-translate.pipe";
11
+ import * as i10 from "../validation-error/validation-error.module";
12
+ import * as i11 from "../../pipes/has-validation-error.pipe";
13
+ export declare class DropdownComponentModule {
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponentModule, never>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownComponentModule, [typeof i1.DropdownComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.ButtonComponentModule, typeof i8.MatSelectModule, typeof i9.UiTranslatePipe, typeof i10.ValidationErrorModule, typeof i11.HasValidationErrorPipe], [typeof i1.DropdownComponent]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<DropdownComponentModule>;
17
+ }
@@ -0,0 +1,5 @@
1
+ export type OptionType = {
2
+ value?: string;
3
+ displayValue?: string;
4
+ sectionTitle?: string;
5
+ } & Record<string, any>;
@@ -0,0 +1,26 @@
1
+ import { Elevation } from './elevation-shadow.constant';
2
+ import { ApplicationTheme } from '../../models/application-theme.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ElevationShadowComponent {
5
+ private readonly defaultAppTheme;
6
+ /**
7
+ * The type of elevation shadow.
8
+ * Default: default.
9
+ * @description Types: Page Card, Notification and Hover State only for Dark and Light theme.
10
+ *
11
+ * @type {ElevationType}
12
+ * @memberof ElevationShadowComponent
13
+ */
14
+ elevationType: Elevation;
15
+ /**
16
+ *
17
+ * Defines the application theme
18
+ *
19
+ * @type {ApplicationTheme}
20
+ * @memberof ElevationShadowComponent
21
+ */
22
+ applicationTheme: ApplicationTheme;
23
+ constructor(defaultAppTheme: ApplicationTheme);
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElevationShadowComponent, [{ optional: true; }]>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<ElevationShadowComponent, "ui-elevation-shadow", never, { "elevationType": { "alias": "elevationType"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, ["*"], false, never>;
26
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./elevation-shadow.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class ElevationShadowComponentModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElevationShadowComponentModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElevationShadowComponentModule, [typeof i1.ElevationShadowComponent], [typeof i2.CommonModule], [typeof i1.ElevationShadowComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ElevationShadowComponentModule>;
8
+ }
@@ -0,0 +1,8 @@
1
+ export declare enum ElevationType {
2
+ DEFAULT = "default",
3
+ MODAL = "modal",
4
+ HOVER_STATE = "hover-state",
5
+ NOTIFICATION = "notification",
6
+ PAGE_CARD = "page-card"
7
+ }
8
+ export type Elevation = 'default' | 'modal' | 'hover-state' | 'notification' | 'page-card';
@@ -0,0 +1,118 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { IconName } from '../icon/icon.model';
3
+ import { ApplicationTheme } from '../../models/application-theme.model';
4
+ import { ButtonVariant, EmptyStateVariant, IllustrationVariant } from './empty-state.model';
5
+ import * as i0 from "@angular/core";
6
+ export declare class EmptyStateComponent {
7
+ private readonly defaultAppTheme;
8
+ /**
9
+ * @description If the default image should be displayed.
10
+ * @type {boolean}
11
+ * @memberof EmptyStateComponent
12
+ */
13
+ showIllustration: boolean;
14
+ /**
15
+ * @description If the default image should be displayed.
16
+ * @type {IllustrationVariant}
17
+ * @memberof EmptyStateComponent
18
+ */
19
+ illustrationVariant: IllustrationVariant;
20
+ /**
21
+ * @description The icon to be displayed in the empty state.
22
+ * @type {IconName}
23
+ * @memberof EmptyStateComponent
24
+ */
25
+ icon: IconName;
26
+ /**
27
+ * @description The empty state variant.
28
+ * @type {EmptyStateVariant}
29
+ * @memberof EmptyStateComponent
30
+ */
31
+ emptyStateVariant: EmptyStateVariant;
32
+ /**
33
+ * @description The title of the empty state.
34
+ * @type {string}
35
+ * @memberof EmptyStateComponent
36
+ */
37
+ title: string;
38
+ /**
39
+ * @description The body text or description of the empty state.
40
+ * @type {string}
41
+ * @memberof EmptyStateComponent
42
+ */
43
+ bodyText: string;
44
+ /**
45
+ * @description Displays primary button if passed.
46
+ * @type {string}
47
+ * @memberof EmptyStateComponent
48
+ */
49
+ primaryButtonText: string;
50
+ /**
51
+ * Primary button variant - only for new theme.
52
+ * @type {ButtonVariant}
53
+ * @memberof EmptyStateComponent
54
+ */
55
+ primaryButtonVariant: ButtonVariant;
56
+ /**
57
+ * @description Displays secondary button if passed.
58
+ * @type {string}
59
+ * @memberof EmptyStateComponent
60
+ */
61
+ secondaryButtonText: string;
62
+ /**
63
+ * Secondary button variant - only for new theme.
64
+ * @type {ButtonVariant}
65
+ * @memberof EmptyStateComponent
66
+ */
67
+ secondaryButtonVariant: ButtonVariant;
68
+ /**
69
+ * @description Displays tertiary button if passed.
70
+ * @type {string}
71
+ * @memberof EmptyStateComponent
72
+ */
73
+ tertiaryButtonText: string;
74
+ /**
75
+ * Tertiary button variant - only for new theme.
76
+ * @type {ButtonVariant}
77
+ * @memberof EmptyStateComponent
78
+ */
79
+ tertiaryButtonVariant: ButtonVariant;
80
+ /**
81
+ *
82
+ * Defines the application theme
83
+ *
84
+ * @type {ApplicationTheme}
85
+ * @memberof EmptyStateComponent
86
+ */
87
+ applicationTheme: ApplicationTheme;
88
+ /**
89
+ * Event triggered when the primary button is clicked.
90
+ * @type {Event}
91
+ * @event
92
+ * @memberof TagComponent
93
+ */
94
+ primaryButtonClick: EventEmitter<Event>;
95
+ /**
96
+ * Event triggered when the secondary button is clicked.
97
+ * @type {Event}
98
+ * @event
99
+ * @memberof TagComponent
100
+ */
101
+ secondaryButtonClick: EventEmitter<Event>;
102
+ /**
103
+ * Event triggered when the tertiary button is clicked.
104
+ * @type {Event}
105
+ * @event
106
+ * @memberof TagComponent
107
+ */
108
+ tertiaryButtonClick: EventEmitter<Event>;
109
+ buttonApplicationTheme: ApplicationTheme;
110
+ constructor(defaultAppTheme: ApplicationTheme);
111
+ ngOnInit(): void;
112
+ onPrimaryButtonClick(event: Event): void;
113
+ onSecondaryButtonClick(event: Event): void;
114
+ onTertiaryButtonClick(event: Event): void;
115
+ getVariant(variant: ButtonVariant): "primary" | "secondary" | "ghost";
116
+ static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, [{ optional: true; }]>;
117
+ static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "ui-empty-state", never, { "showIllustration": { "alias": "showIllustration"; "required": false; }; "illustrationVariant": { "alias": "illustrationVariant"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "emptyStateVariant": { "alias": "emptyStateVariant"; "required": false; }; "title": { "alias": "title"; "required": false; }; "bodyText": { "alias": "bodyText"; "required": false; }; "primaryButtonText": { "alias": "primaryButtonText"; "required": false; }; "primaryButtonVariant": { "alias": "primaryButtonVariant"; "required": false; }; "secondaryButtonText": { "alias": "secondaryButtonText"; "required": false; }; "secondaryButtonVariant": { "alias": "secondaryButtonVariant"; "required": false; }; "tertiaryButtonText": { "alias": "tertiaryButtonText"; "required": false; }; "tertiaryButtonVariant": { "alias": "tertiaryButtonVariant"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "primaryButtonClick": "primaryButtonClick"; "secondaryButtonClick": "secondaryButtonClick"; "tertiaryButtonClick": "tertiaryButtonClick"; }, never, never, false, never>;
118
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./empty-state.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.component.module";
5
+ import * as i4 from "../button/button.component.module";
6
+ import * as i5 from "../../pipes/ui-translate.pipe";
7
+ export declare class EmptyStateComponentModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponentModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EmptyStateComponentModule, [typeof i1.EmptyStateComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i2.NgOptimizedImage, typeof i4.ButtonComponentModule, typeof i5.UiTranslatePipe], [typeof i1.EmptyStateComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<EmptyStateComponentModule>;
11
+ }
@@ -0,0 +1,3 @@
1
+ export type ButtonVariant = 'pink' | 'black' | 'ghost';
2
+ export type IllustrationVariant = 'Empty-search' | 'Lost-found-404' | 'Disconnected';
3
+ export type EmptyStateVariant = 'mobile' | 'desktop';
@@ -0,0 +1,120 @@
1
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges, ElementRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { ApplicationTheme } from '../../models/application-theme.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FileUploadComponent implements OnInit, OnChanges, ControlValueAccessor {
6
+ private readonly defaultAppTheme;
7
+ class: string;
8
+ /**
9
+ *
10
+ * @type {number}
11
+ * @memberof FileUploadComponent
12
+ */
13
+ maxFileSizeMB: number;
14
+ /**
15
+ *
16
+ * @type {number}
17
+ * @memberof FileUploadComponent
18
+ */
19
+ minFileSizeMB: number;
20
+ /**
21
+ * Supported files for input field
22
+ *
23
+ * @type {string}
24
+ * @memberof FileUploadComponent
25
+ */
26
+ supportedFileTypes?: string;
27
+ /**
28
+ * Upload progress
29
+ *
30
+ * @type {number}
31
+ * @memberof FileUploadComponent
32
+ */
33
+ uploadProgress: number;
34
+ /**
35
+ * File upload errors
36
+ *
37
+ * @type {string[]}
38
+ * @memberof FileUploadComponent
39
+ */
40
+ errors?: string[] | null;
41
+ /**
42
+ * File upload disabled
43
+ *
44
+ * @type {boolean}
45
+ * @memberof FileUploadComponent
46
+ */
47
+ disabled: boolean;
48
+ /**
49
+ * Existing file information
50
+ *
51
+ * @type {(File | null)}
52
+ * @memberof FileUploadComponent
53
+ */
54
+ file: File | null;
55
+ /**
56
+ * Color of the file upload.
57
+ * Defaults to Test Gorilla primary color.
58
+ *
59
+ * @type {string}
60
+ * @memberof FileUploadComponent
61
+ */
62
+ companyColor: string | null;
63
+ compColor: string;
64
+ /**
65
+ *
66
+ * Defines the application theme
67
+ *
68
+ * @type {ApplicationTheme}
69
+ * @memberof FileUploadComponent
70
+ */
71
+ applicationTheme: ApplicationTheme;
72
+ /**
73
+ * A string representing the ARIA label for accessibility.
74
+ * This label is used to provide an accessible name for the input element.
75
+ * @type {string}
76
+ * @memberof FileUploadComponent
77
+ */
78
+ ariaLabel: string;
79
+ /**
80
+ * A string representing the ARIA requirement for accessibility.
81
+ * This attribute is used to indicate whether an input field is required for form submission.
82
+ * @type {boolean}
83
+ * @memberof FileUploadComponent
84
+ */
85
+ ariaRequired: boolean;
86
+ OnDrop: EventEmitter<File>;
87
+ fileDrop: ElementRef<HTMLInputElement>;
88
+ protected readonly translationContext = "FILE_UPLOAD.";
89
+ /**
90
+ * @ignore
91
+ */
92
+ onChange: (_: any) => void;
93
+ /**
94
+ * @ignore
95
+ */
96
+ onTouch: () => void;
97
+ isMissedMinSize: boolean;
98
+ progress: boolean;
99
+ success: boolean;
100
+ browse: boolean;
101
+ isCanceled: boolean;
102
+ constructor(defaultAppTheme: ApplicationTheme);
103
+ ngOnInit(): void;
104
+ onFileDropped(files: FileList): void;
105
+ onChangeUpload(event: Event): void;
106
+ emitFile(files: FileList): void;
107
+ showProgress(): boolean;
108
+ showSuccess(): boolean;
109
+ showBrowse(): boolean;
110
+ ngOnChanges(changes: SimpleChanges): void;
111
+ writeValue(value?: File): void;
112
+ registerOnChange(fn: any): void;
113
+ registerOnTouched(fn: any): void;
114
+ setDisabledState(isDisabled: boolean): void;
115
+ private getCompanyColor;
116
+ private fileSizeToMB;
117
+ onKeydown(ev: KeyboardEvent): void;
118
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, [{ optional: true; }]>;
119
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": { "alias": "maxFileSizeMB"; "required": false; }; "minFileSizeMB": { "alias": "minFileSizeMB"; "required": false; }; "supportedFileTypes": { "alias": "supportedFileTypes"; "required": false; }; "uploadProgress": { "alias": "uploadProgress"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "file": { "alias": "file"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; }, { "OnDrop": "OnDrop"; }, never, never, false, never>;
120
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./file-upload.component";
3
+ import * as i2 from "../../directives/drag-drop.directive";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/material/form-field";
6
+ import * as i5 from "@angular/material/input";
7
+ import * as i6 from "../icon/icon.component.module";
8
+ import * as i7 from "../progress-bar/progress-bar.component.module";
9
+ import * as i8 from "../../pipes/ui-translate.pipe";
10
+ export declare class FileUploadComponentModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponentModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadComponentModule, [typeof i1.FileUploadComponent, typeof i2.DragDropDirective], [typeof i3.CommonModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.IconComponentModule, typeof i7.ProgressBarComponentModule, typeof i8.UiTranslatePipe], [typeof i1.FileUploadComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<FileUploadComponentModule>;
14
+ }
@@ -0,0 +1,39 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { IconName, IconSize } from '../../components/icon/icon.model';
3
+ import { ApplicationTheme } from "../../models/application-theme.model";
4
+ import * as i0 from "@angular/core";
5
+ export declare class IconLabelComponent implements OnInit {
6
+ private readonly defaultAppTheme;
7
+ /**
8
+ * Icon size
9
+ *
10
+ * @type {IconSize}
11
+ * @memberof IconLabelComponent
12
+ */
13
+ iconSize: IconSize;
14
+ /**
15
+ * Icon name
16
+ *
17
+ * @type {IconName}
18
+ * @memberof IconLabelComponent
19
+ */
20
+ iconName: IconName;
21
+ /**
22
+ * Label
23
+ *
24
+ * @memberof IconLabelComponent
25
+ */
26
+ text: string;
27
+ /**
28
+ *
29
+ * Defines the application theme
30
+ *
31
+ * @type {ApplicationTheme}
32
+ * @memberof IconLabelComponent
33
+ */
34
+ applicationTheme: ApplicationTheme;
35
+ constructor(defaultAppTheme: ApplicationTheme);
36
+ ngOnInit(): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconLabelComponent, [{ optional: true; }]>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconLabelComponent, "ui-icon-label", never, { "iconSize": { "alias": "iconSize"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "text": { "alias": "text"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
39
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./icon-label.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.component.module";
5
+ export declare class IconLabelComponentModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconLabelComponentModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IconLabelComponentModule, [typeof i1.IconLabelComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule], [typeof i1.IconLabelComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<IconLabelComponentModule>;
9
+ }