@testgorilla/tgo-ui 2.24.9999 → 2.99.1

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 (326) 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 +289 -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/checklist/checklist.component.d.ts +78 -0
  11. package/components/checklist/checklist.model.d.ts +7 -0
  12. package/components/confirm-dialog/confirm-dialog.component.d.ts +29 -0
  13. package/components/confirm-dialog/confirm-dialog.component.module.d.ts +12 -0
  14. package/components/confirm-dialog/confirm-dialog.model.d.ts +11 -0
  15. package/components/datepicker/DateAdapter.d.ts +30 -0
  16. package/components/datepicker/datepicker.component.d.ts +214 -0
  17. package/components/datepicker/datepicker.component.module.d.ts +18 -0
  18. package/components/datepicker/datepicker.service.d.ts +8 -0
  19. package/components/datepicker/no-date-format.directive.d.ts +11 -0
  20. package/components/deprecated-paginator/deprecated-paginator.component.d.ts +38 -0
  21. package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +9 -0
  22. package/components/deprecated-table/deprecated-table.component.d.ts +91 -0
  23. package/components/deprecated-table/deprecated-table.component.module.d.ts +14 -0
  24. package/components/deprecated-table/deprecated-table.model.d.ts +45 -0
  25. package/components/deprecated-table/directives/dynamic-component.directive.d.ts +13 -0
  26. package/components/dialog/dialog.component.d.ts +147 -0
  27. package/components/dialog/dialog.component.module.d.ts +11 -0
  28. package/components/dialog/dialog.service.d.ts +13 -0
  29. package/components/divider/divider.component.d.ts +39 -0
  30. package/components/divider/divider.component.module.d.ts +9 -0
  31. package/components/divider/divider.model.d.ts +1 -0
  32. package/components/dropdown/dropdown.component.d.ts +189 -0
  33. package/components/dropdown/dropdown.component.module.d.ts +17 -0
  34. package/components/dropdown/dropdown.model.d.ts +5 -0
  35. package/components/elevation-shadow/elevation-shadow.component.d.ts +26 -0
  36. package/components/elevation-shadow/elevation-shadow.component.module.d.ts +8 -0
  37. package/components/elevation-shadow/elevation-shadow.constant.d.ts +8 -0
  38. package/components/empty-state/empty-state.component.d.ts +118 -0
  39. package/components/empty-state/empty-state.component.module.d.ts +11 -0
  40. package/components/empty-state/empty-state.model.d.ts +3 -0
  41. package/components/file-upload/file-upload.component.d.ts +120 -0
  42. package/components/file-upload/file-upload.component.module.d.ts +14 -0
  43. package/components/icon-label/icon-label.component.d.ts +39 -0
  44. package/components/icon-label/icon-label.component.module.d.ts +9 -0
  45. package/components/media-card/media-card.component.d.ts +32 -0
  46. package/components/multi-input/multi-input.component.d.ts +164 -0
  47. package/components/multi-input/multi-input.component.module.d.ts +18 -0
  48. package/components/multi-input/multi-input.model.d.ts +1 -0
  49. package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +25 -0
  50. package/components/navbar/navbar.component.d.ts +119 -0
  51. package/components/navbar/navbar.component.module.d.ts +21 -0
  52. package/components/navbar/navbar.model.d.ts +21 -0
  53. package/components/overflow-menu/overflow-menu.component.d.ts +86 -0
  54. package/components/overflow-menu/overflow-menu.component.module.d.ts +15 -0
  55. package/components/overflow-menu/overflow-menu.model.d.ts +20 -0
  56. package/components/page-header/page-header.component.d.ts +38 -0
  57. package/components/page-header/page-header.component.module.d.ts +10 -0
  58. package/components/paginator/paginator.component.d.ts +58 -0
  59. package/components/paginator/paginator.component.module.d.ts +9 -0
  60. package/components/password-criteria/password.component.d.ts +42 -0
  61. package/components/password-criteria/password.component.module.d.ts +13 -0
  62. package/components/password-strength/password-strength.component.d.ts +45 -0
  63. package/components/password-strength/password-strength.component.module.d.ts +11 -0
  64. package/components/phone-input/join-strings.pipe.d.ts +7 -0
  65. package/components/phone-input/phone-input.component.d.ts +147 -0
  66. package/components/phone-input/phone-input.component.module.d.ts +20 -0
  67. package/components/phone-input/phone-input.model.d.ts +8 -0
  68. package/components/progress-bar/progress-bar.component.d.ts +73 -0
  69. package/components/progress-bar/progress-bar.component.module.d.ts +10 -0
  70. package/components/radial-progress/radial-progress.component.d.ts +68 -0
  71. package/components/radial-progress/radial-progress.component.module.d.ts +10 -0
  72. package/components/radial-progress/radial-progress.model.d.ts +10 -0
  73. package/components/rating/half-star.pipe.d.ts +14 -0
  74. package/components/rating/rating.component.d.ts +64 -0
  75. package/components/rating/rating.component.module.d.ts +10 -0
  76. package/components/scale/scale.component.d.ts +53 -0
  77. package/components/scale/scale.component.module.d.ts +8 -0
  78. package/components/segmented-bar/segmented-bar.component.d.ts +63 -0
  79. package/components/segmented-bar/segmented-bar.component.module.d.ts +13 -0
  80. package/components/segmented-bar/segmented-bar.model.d.ts +12 -0
  81. package/components/segmented-button/segmented-button.component.d.ts +55 -0
  82. package/components/segmented-button/segmented-button.component.module.d.ts +11 -0
  83. package/components/segmented-button/segmented-button.model.d.ts +8 -0
  84. package/components/side-panel/side-panel.component.d.ts +1 -1
  85. package/components/side-sheet/side-sheet.component.d.ts +43 -0
  86. package/components/side-sheet/side-sheet.component.module.d.ts +14 -0
  87. package/components/side-sheet/side-sheet.model.d.ts +10 -0
  88. package/components/side-sheet/side-sheet.service.d.ts +14 -0
  89. package/components/skeleton/skeleton.component.d.ts +26 -0
  90. package/components/skeleton/skeleton.model.d.ts +2 -0
  91. package/components/slider/slider.component.d.ts +105 -0
  92. package/components/slider/slider.component.module.d.ts +14 -0
  93. package/components/slider/slider.model.d.ts +5 -0
  94. package/components/spider-chart/spider-chart.component.d.ts +88 -0
  95. package/components/spider-chart/spider-chart.model.d.ts +12 -0
  96. package/components/spider-chart/spider-chart.module.d.ts +12 -0
  97. package/components/step/step.component.d.ts +161 -0
  98. package/components/step/step.component.module.d.ts +10 -0
  99. package/components/stepper/stepper.component.d.ts +86 -0
  100. package/components/stepper/stepper.component.module.d.ts +15 -0
  101. package/components/stepper/stepper.model.d.ts +22 -0
  102. package/components/table/sentence-case.pipe.d.ts +7 -0
  103. package/components/table/table.component.d.ts +94 -0
  104. package/components/table/table.component.module.d.ts +20 -0
  105. package/components/table/table.model.d.ts +95 -0
  106. package/components/tabs/tab.directive.d.ts +24 -0
  107. package/components/tabs/tabs.component.d.ts +73 -0
  108. package/components/tabs/tabs.component.module.d.ts +11 -0
  109. package/components/tabs/tabs.model.d.ts +15 -0
  110. package/components/tag/tag.component.d.ts +131 -0
  111. package/components/tag/tag.component.module.d.ts +13 -0
  112. package/components/tag/tag.model.d.ts +1 -0
  113. package/components/toggle/toggle.component.d.ts +113 -0
  114. package/components/toggle/toggle.component.module.d.ts +14 -0
  115. package/components/toggle/toggle.model.d.ts +1 -0
  116. package/components/universal-skills-report/universal-skills-report.component.d.ts +33 -0
  117. package/components/universal-skills-report/universal-skills-report.component.module.d.ts +14 -0
  118. package/components/universal-skills-report/universal-skills-report.model.d.ts +33 -0
  119. package/directives/drag-drop.directive.d.ts +12 -0
  120. package/directives/select-text.directive.d.ts +19 -0
  121. package/directives/step-line-element.directive.d.ts +17 -0
  122. package/esm2022/assets/i18n/en.json +7 -24
  123. package/esm2022/components/accordion/accordion.component.mjs +135 -0
  124. package/esm2022/components/accordion/accordion.component.module.mjs +40 -0
  125. package/esm2022/components/accordion/accordion.model.mjs +2 -0
  126. package/esm2022/components/autocomplete/autocomplete.component.mjs +716 -0
  127. package/esm2022/components/autocomplete/autocomplete.component.module.mjs +73 -0
  128. package/esm2022/components/autocomplete/autocomplete.model.mjs +25 -0
  129. package/esm2022/components/autocomplete/includes.pipe.mjs +25 -0
  130. package/esm2022/components/autocomplete/prevent-input.directive.mjs +27 -0
  131. package/esm2022/components/autocomplete/transform-Item.pipe.mjs +32 -0
  132. package/esm2022/components/checklist/checklist.component.mjs +147 -0
  133. package/esm2022/components/checklist/checklist.model.mjs +2 -0
  134. package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +54 -0
  135. package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +29 -0
  136. package/esm2022/components/confirm-dialog/confirm-dialog.model.mjs +2 -0
  137. package/esm2022/components/datepicker/DateAdapter.mjs +30 -0
  138. package/esm2022/components/datepicker/datepicker.component.mjs +335 -0
  139. package/esm2022/components/datepicker/datepicker.component.module.mjs +60 -0
  140. package/esm2022/components/datepicker/datepicker.service.mjs +20 -0
  141. package/esm2022/components/datepicker/no-date-format.directive.mjs +56 -0
  142. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +55 -0
  143. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.module.mjs +20 -0
  144. package/esm2022/components/deprecated-table/deprecated-table.component.mjs +158 -0
  145. package/esm2022/components/deprecated-table/deprecated-table.component.module.mjs +43 -0
  146. package/esm2022/components/deprecated-table/deprecated-table.model.mjs +13 -0
  147. package/esm2022/components/deprecated-table/directives/dynamic-component.directive.mjs +40 -0
  148. package/esm2022/components/dialog/dialog.component.mjs +253 -0
  149. package/esm2022/components/dialog/dialog.component.module.mjs +23 -0
  150. package/esm2022/components/dialog/dialog.service.mjs +35 -0
  151. package/esm2022/components/divider/divider.component.mjs +65 -0
  152. package/esm2022/components/divider/divider.component.module.mjs +19 -0
  153. package/esm2022/components/divider/divider.model.mjs +2 -0
  154. package/esm2022/components/dropdown/dropdown.component.mjs +349 -0
  155. package/esm2022/components/dropdown/dropdown.component.module.mjs +57 -0
  156. package/esm2022/components/dropdown/dropdown.model.mjs +2 -0
  157. package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +45 -0
  158. package/esm2022/components/elevation-shadow/elevation-shadow.component.module.mjs +18 -0
  159. package/esm2022/components/elevation-shadow/elevation-shadow.constant.mjs +9 -0
  160. package/esm2022/components/empty-state/empty-state.component.mjs +186 -0
  161. package/esm2022/components/empty-state/empty-state.component.module.mjs +21 -0
  162. package/esm2022/components/empty-state/empty-state.model.mjs +2 -0
  163. package/esm2022/components/file-upload/file-upload.component.mjs +282 -0
  164. package/esm2022/components/file-upload/file-upload.component.module.mjs +40 -0
  165. package/esm2022/components/icon/icon.component.mjs +2 -2
  166. package/esm2022/components/icon-label/icon-label.component.mjs +53 -0
  167. package/esm2022/components/icon-label/icon-label.component.module.mjs +20 -0
  168. package/esm2022/components/media-card/media-card.component.mjs +47 -0
  169. package/esm2022/components/multi-input/multi-input.component.mjs +318 -0
  170. package/esm2022/components/multi-input/multi-input.component.module.mjs +58 -0
  171. package/esm2022/components/multi-input/multi-input.model.mjs +2 -0
  172. package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +82 -0
  173. package/esm2022/components/navbar/navbar.component.mjs +209 -0
  174. package/esm2022/components/navbar/navbar.component.module.mjs +71 -0
  175. package/esm2022/components/navbar/navbar.model.mjs +2 -0
  176. package/esm2022/components/overflow-menu/overflow-menu.component.mjs +195 -0
  177. package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +25 -0
  178. package/esm2022/components/overflow-menu/overflow-menu.model.mjs +2 -0
  179. package/esm2022/components/page-header/page-header.component.mjs +71 -0
  180. package/esm2022/components/page-header/page-header.component.module.mjs +20 -0
  181. package/esm2022/components/paginator/paginator.component.mjs +87 -0
  182. package/esm2022/components/paginator/paginator.component.module.mjs +19 -0
  183. package/esm2022/components/password-criteria/password.component.mjs +105 -0
  184. package/esm2022/components/password-criteria/password.component.module.mjs +39 -0
  185. package/esm2022/components/password-strength/password-strength.component.mjs +93 -0
  186. package/esm2022/components/password-strength/password-strength.component.module.mjs +21 -0
  187. package/esm2022/components/phone-input/join-strings.pipe.mjs +14 -0
  188. package/esm2022/components/phone-input/phone-input.component.mjs +353 -0
  189. package/esm2022/components/phone-input/phone-input.component.module.mjs +63 -0
  190. package/esm2022/components/phone-input/phone-input.model.mjs +2 -0
  191. package/esm2022/components/progress-bar/progress-bar.component.mjs +103 -0
  192. package/esm2022/components/progress-bar/progress-bar.component.module.mjs +21 -0
  193. package/esm2022/components/radial-progress/radial-progress.component.mjs +106 -0
  194. package/esm2022/components/radial-progress/radial-progress.component.module.mjs +20 -0
  195. package/esm2022/components/radial-progress/radial-progress.model.mjs +11 -0
  196. package/esm2022/components/rating/half-star.pipe.mjs +23 -0
  197. package/esm2022/components/rating/rating.component.mjs +92 -0
  198. package/esm2022/components/rating/rating.component.module.mjs +20 -0
  199. package/esm2022/components/scale/scale.component.mjs +124 -0
  200. package/esm2022/components/scale/scale.component.module.mjs +18 -0
  201. package/esm2022/components/segmented-bar/segmented-bar.component.mjs +106 -0
  202. package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +23 -0
  203. package/esm2022/components/segmented-bar/segmented-bar.model.mjs +2 -0
  204. package/esm2022/components/segmented-button/segmented-button.component.mjs +104 -0
  205. package/esm2022/components/segmented-button/segmented-button.component.module.mjs +21 -0
  206. package/esm2022/components/segmented-button/segmented-button.model.mjs +2 -0
  207. package/esm2022/components/side-sheet/side-sheet.component.mjs +105 -0
  208. package/esm2022/components/side-sheet/side-sheet.component.module.mjs +43 -0
  209. package/esm2022/components/side-sheet/side-sheet.model.mjs +2 -0
  210. package/esm2022/components/side-sheet/side-sheet.service.mjs +31 -0
  211. package/esm2022/components/skeleton/skeleton.component.mjs +71 -0
  212. package/esm2022/components/skeleton/skeleton.model.mjs +2 -0
  213. package/esm2022/components/slider/slider.component.mjs +198 -0
  214. package/esm2022/components/slider/slider.component.module.mjs +43 -0
  215. package/esm2022/components/slider/slider.model.mjs +2 -0
  216. package/esm2022/components/spider-chart/spider-chart.component.mjs +425 -0
  217. package/esm2022/components/spider-chart/spider-chart.model.mjs +4 -0
  218. package/esm2022/components/spider-chart/spider-chart.module.mjs +41 -0
  219. package/esm2022/components/step/step.component.mjs +149 -0
  220. package/esm2022/components/step/step.component.module.mjs +20 -0
  221. package/esm2022/components/stepper/stepper.component.mjs +150 -0
  222. package/esm2022/components/stepper/stepper.component.module.mjs +44 -0
  223. package/esm2022/components/stepper/stepper.model.mjs +2 -0
  224. package/esm2022/components/table/sentence-case.pipe.mjs +19 -0
  225. package/esm2022/components/table/table.component.mjs +226 -0
  226. package/esm2022/components/table/table.component.module.mjs +61 -0
  227. package/esm2022/components/table/table.model.mjs +13 -0
  228. package/esm2022/components/tabs/tab.directive.mjs +54 -0
  229. package/esm2022/components/tabs/tabs.component.mjs +188 -0
  230. package/esm2022/components/tabs/tabs.component.module.mjs +21 -0
  231. package/esm2022/components/tabs/tabs.model.mjs +2 -0
  232. package/esm2022/components/tag/tag.component.mjs +212 -0
  233. package/esm2022/components/tag/tag.component.module.mjs +24 -0
  234. package/esm2022/components/tag/tag.model.mjs +2 -0
  235. package/esm2022/components/toggle/toggle.component.mjs +190 -0
  236. package/esm2022/components/toggle/toggle.component.module.mjs +24 -0
  237. package/esm2022/components/toggle/toggle.model.mjs +2 -0
  238. package/esm2022/components/tooltip/tooltip-template.directive.mjs +9 -11
  239. package/esm2022/components/universal-skills-report/universal-skills-report.component.mjs +115 -0
  240. package/esm2022/components/universal-skills-report/universal-skills-report.component.module.mjs +43 -0
  241. package/esm2022/components/universal-skills-report/universal-skills-report.model.mjs +19 -0
  242. package/esm2022/directives/drag-drop.directive.mjs +55 -0
  243. package/esm2022/directives/select-text.directive.mjs +40 -0
  244. package/esm2022/directives/step-line-element.directive.mjs +51 -0
  245. package/esm2022/models/keyboard-events.model.mjs +13 -0
  246. package/esm2022/models/screen-breakpoints.model.mjs +6 -0
  247. package/esm2022/pipes/data-property-getter.mjs +33 -0
  248. package/esm2022/pipes/ui-ordinal-suffix.pipe.mjs +31 -0
  249. package/esm2022/providers/is-mobile.mjs +11 -0
  250. package/esm2022/public-api.mjs +214 -189
  251. package/esm2022/utils/autocomplete-utils.mjs +66 -0
  252. package/esm2022/utils/hex-to-rgb.mjs +9 -0
  253. package/esm2022/utils/table.utils.mjs +19 -0
  254. package/fesm2022/testgorilla-tgo-ui.mjs +11137 -3138
  255. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  256. package/models/keyboard-events.model.d.ts +11 -0
  257. package/models/screen-breakpoints.model.d.ts +4 -0
  258. package/package.json +2 -4
  259. package/pipes/data-property-getter.d.ts +8 -0
  260. package/pipes/ui-ordinal-suffix.pipe.d.ts +7 -0
  261. package/projects/tgo-canopy-ui/assets/i18n/en.json +7 -24
  262. package/providers/is-mobile.d.ts +2 -0
  263. package/public-api.d.ts +151 -17
  264. package/utils/autocomplete-utils.d.ts +12 -0
  265. package/utils/hex-to-rgb.d.ts +1 -0
  266. package/utils/table.utils.d.ts +6 -0
  267. package/components/alert-banner/index.d.ts +0 -1
  268. package/components/alert-banner/public-api.d.ts +0 -2
  269. package/components/avatar/index.d.ts +0 -1
  270. package/components/avatar/public-api.d.ts +0 -3
  271. package/components/badge/index.d.ts +0 -1
  272. package/components/badge/public-api.d.ts +0 -3
  273. package/components/button/index.d.ts +0 -1
  274. package/components/button/public-api.d.ts +0 -3
  275. package/components/card/index.d.ts +0 -1
  276. package/components/card/public-api.d.ts +0 -3
  277. package/components/checkbox/index.d.ts +0 -1
  278. package/components/checkbox/public-api.d.ts +0 -2
  279. package/components/field/index.d.ts +0 -1
  280. package/components/field/public-api.d.ts +0 -3
  281. package/components/gaussian-chart/gaussian-chart.component.d.ts +0 -75
  282. package/components/gaussian-chart/gaussian-chart.module.d.ts +0 -13
  283. package/components/icon/index.d.ts +0 -1
  284. package/components/icon/public-api.d.ts +0 -3
  285. package/components/logo/index.d.ts +0 -1
  286. package/components/logo/public-api.d.ts +0 -3
  287. package/components/radio-button/index.d.ts +0 -1
  288. package/components/radio-button/public-api.d.ts +0 -2
  289. package/components/side-panel/index.d.ts +0 -1
  290. package/components/side-panel/public-api.d.ts +0 -3
  291. package/components/snackbar/index.d.ts +0 -1
  292. package/components/snackbar/public-api.d.ts +0 -4
  293. package/components/spinner/index.d.ts +0 -1
  294. package/components/spinner/public-api.d.ts +0 -3
  295. package/components/tooltip/index.d.ts +0 -1
  296. package/components/tooltip/public-api.d.ts +0 -3
  297. package/esm2022/components/alert-banner/index.mjs +0 -2
  298. package/esm2022/components/alert-banner/public-api.mjs +0 -3
  299. package/esm2022/components/avatar/index.mjs +0 -2
  300. package/esm2022/components/avatar/public-api.mjs +0 -4
  301. package/esm2022/components/badge/index.mjs +0 -2
  302. package/esm2022/components/badge/public-api.mjs +0 -4
  303. package/esm2022/components/button/index.mjs +0 -2
  304. package/esm2022/components/button/public-api.mjs +0 -4
  305. package/esm2022/components/card/index.mjs +0 -2
  306. package/esm2022/components/card/public-api.mjs +0 -4
  307. package/esm2022/components/checkbox/index.mjs +0 -2
  308. package/esm2022/components/checkbox/public-api.mjs +0 -3
  309. package/esm2022/components/field/index.mjs +0 -2
  310. package/esm2022/components/field/public-api.mjs +0 -4
  311. package/esm2022/components/gaussian-chart/gaussian-chart.component.mjs +0 -246
  312. package/esm2022/components/gaussian-chart/gaussian-chart.module.mjs +0 -42
  313. package/esm2022/components/icon/index.mjs +0 -2
  314. package/esm2022/components/icon/public-api.mjs +0 -4
  315. package/esm2022/components/logo/index.mjs +0 -2
  316. package/esm2022/components/logo/public-api.mjs +0 -4
  317. package/esm2022/components/radio-button/index.mjs +0 -2
  318. package/esm2022/components/radio-button/public-api.mjs +0 -3
  319. package/esm2022/components/side-panel/index.mjs +0 -2
  320. package/esm2022/components/side-panel/public-api.mjs +0 -4
  321. package/esm2022/components/snackbar/index.mjs +0 -2
  322. package/esm2022/components/snackbar/public-api.mjs +0 -5
  323. package/esm2022/components/spinner/index.mjs +0 -2
  324. package/esm2022/components/spinner/public-api.mjs +0 -4
  325. package/esm2022/components/tooltip/index.mjs +0 -2
  326. package/esm2022/components/tooltip/public-api.mjs +0 -4
@@ -0,0 +1,214 @@
1
+ import { ChangeDetectorRef, DoCheck, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessor, FormControl, FormGroup, NgControl } from '@angular/forms';
3
+ import { ApplicationTheme } from '../../models/application-theme.model';
4
+ import { MatDatepicker } from '@angular/material/datepicker';
5
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
+ import { DatepickerService } from "./datepicker.service";
7
+ import * as i0 from "@angular/core";
8
+ export declare class DatepickerComponent implements OnChanges, ControlValueAccessor, DoCheck {
9
+ private readonly defaultAppTheme;
10
+ private cdr;
11
+ private sanitizer;
12
+ ngControl: NgControl;
13
+ private datepickerService;
14
+ class: string;
15
+ /**
16
+ * Form field label
17
+ *
18
+ * @type {string}
19
+ * @memberof DatepickerComponent
20
+ */
21
+ label?: string | undefined;
22
+ /**
23
+ * Input name attribute
24
+ *
25
+ * @type {string}
26
+ * @memberof DatepickerComponent
27
+ */
28
+ fieldName?: string;
29
+ /**
30
+ * Input placeholder
31
+ *
32
+ * @type {string}
33
+ * @memberof DatepickerComponent
34
+ */
35
+ placeholder?: string | undefined;
36
+ /**
37
+ * Input id
38
+ *
39
+ * @type {string}
40
+ * @memberof DatepickerComponent
41
+ */
42
+ id?: string | undefined;
43
+ /**
44
+ * Input value
45
+ *
46
+ * @type {string}
47
+ * @memberof DatepickerComponent
48
+ */
49
+ value?: Date[] | Date;
50
+ _errors: SafeHtml[];
51
+ /**
52
+ * Input field errors
53
+ *
54
+ * @type {string}
55
+ * @memberof DatepickerComponent
56
+ */
57
+ set errors(errors: string[]);
58
+ /**
59
+ * Determines if input is date range
60
+ *
61
+ * @type {boolean}
62
+ * @memberof DatepickerComponent
63
+ */
64
+ isRange: boolean;
65
+ /**
66
+ * Determines if input is disabled
67
+ *
68
+ * @type {boolean}
69
+ * @memberof DatepickerComponent
70
+ */
71
+ disabled: boolean;
72
+ /**
73
+ * Input is required or not
74
+ *
75
+ * @type {boolean}
76
+ * @memberof DatepickerComponent
77
+ */
78
+ required: boolean;
79
+ /**
80
+ * Hint text
81
+ *
82
+ * @type {string}
83
+ * @memberof DatepickerComponent
84
+ */
85
+ hintMessage: string;
86
+ /**
87
+ * Input is update only on blur
88
+ *
89
+ * @type {Boolean}
90
+ * @memberof DatepickerComponent
91
+ */
92
+ updateOnBlur: boolean;
93
+ /**
94
+ * Show reserved content below form field
95
+ *
96
+ * @type {boolean}
97
+ * @memberof DatepickerComponent
98
+ */
99
+ showBottomContent: boolean;
100
+ /**
101
+ * Set full width DatepickerComponent
102
+ *
103
+ * @type {boolean}
104
+ * @memberof DatepickerComponent
105
+ */
106
+ fullWidth: boolean;
107
+ /**
108
+ * Set min date for Datepicker
109
+ *
110
+ * @type {Date}
111
+ * @memberof DatepickerComponent
112
+ */
113
+ minDate: Date | undefined;
114
+ /**
115
+ * Set max date for Datepicker
116
+ *
117
+ * @type {Date}
118
+ * @memberof DatepickerComponent
119
+ */
120
+ maxDate: Date | undefined;
121
+ /**
122
+ * Show and pick date without day
123
+ * @default false
124
+ * @type {boolean}
125
+ * @memberof DatepickerComponent
126
+ */
127
+ monthPicker: boolean;
128
+ /**
129
+ *
130
+ * Defines the application theme
131
+ *
132
+ * @type {ApplicationTheme}
133
+ * @memberof DatepickerComponent
134
+ */
135
+ applicationTheme: ApplicationTheme;
136
+ /**
137
+ * Hide in-build errors for Reactive Forms
138
+ *
139
+ * @type {number}
140
+ * @memberof DatepickerComponent
141
+ */
142
+ hideBuiltInErrors: boolean;
143
+ /**
144
+ * Hide label in errors
145
+ *
146
+ * @type {number}
147
+ * @memberof DatepickerComponent
148
+ */
149
+ hideLabelInErrors: boolean;
150
+ /**
151
+ * Prevent user input
152
+ *
153
+ * @type {boolean}
154
+ * @memberof DatepickerComponent
155
+ */
156
+ preventUserInput: boolean;
157
+ /**
158
+ * Color of the option hover.
159
+ * Defaults to Test Gorilla primary color.
160
+ *
161
+ * @type {string}
162
+ * @memberof DatepickerComponent
163
+ */
164
+ companyColor: string;
165
+ /**
166
+ * Use browser timezone
167
+ * @type boolean
168
+ * @memberof DatepickerComponent
169
+ */
170
+ set browserTimezone(value: boolean);
171
+ /**
172
+ * @ignore
173
+ */
174
+ onChange: (_: any) => void;
175
+ /**
176
+ * @ignore
177
+ */
178
+ onTouch: () => void;
179
+ /**
180
+ * Event emitted when the value is change - when used outside of form
181
+ *
182
+ * @type {Date}
183
+ * @memberof DatepickerComponent
184
+ */
185
+ changed: EventEmitter<Date | Date[]>;
186
+ range: FormGroup<{
187
+ start: FormControl<Date | null>;
188
+ end: FormControl<Date | null>;
189
+ }>;
190
+ errorsLength: boolean;
191
+ protected translationContext: string;
192
+ constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, sanitizer: DomSanitizer, ngControl: NgControl, datepickerService: DatepickerService);
193
+ get hint(): string;
194
+ /**
195
+ * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
196
+ * to display validation errors that might happen (e.g. required)
197
+ */
198
+ ngDoCheck(): void;
199
+ ngOnInit(): void;
200
+ ngOnChanges(changes: SimpleChanges): void;
201
+ setErrorsLength(): boolean;
202
+ onValueChange(value: Date | Date[]): void;
203
+ writeValue(value?: Date | Date[]): void;
204
+ registerOnChange(fn: any): void;
205
+ registerOnTouched(fn: any): void;
206
+ setDisabledState(isDisabled: boolean): void;
207
+ dateRangeChange(): void;
208
+ setMonthAndYear(normalizedMonthAndYear: any, datepicker: MatDatepicker<Date>): void;
209
+ private setRange;
210
+ onInput(event: Event): void;
211
+ private setStyleVariable;
212
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [{ optional: true; }, null, null, { optional: true; self: true; }, null]>;
213
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ui-datepicker", never, { "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "preventUserInput": { "alias": "preventUserInput"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "browserTimezone": { "alias": "browserTimezone"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
214
+ }
@@ -0,0 +1,18 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./datepicker.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 "@angular/material/datepicker";
9
+ import * as i8 from "@angular/material/core";
10
+ import * as i9 from "../../pipes/ui-translate.pipe";
11
+ import * as i10 from "./no-date-format.directive";
12
+ import * as i11 from "../../pipes/has-validation-error.pipe";
13
+ import * as i12 from "../validation-error/validation-error.module";
14
+ export declare class DatepickerComponentModule {
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponentModule, never>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerComponentModule, [typeof i1.DatepickerComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.MatDatepickerModule, typeof i8.MatNativeDateModule, typeof i9.UiTranslatePipe, typeof i10.NoDateFormatDirective, typeof i11.HasValidationErrorPipe, typeof i12.ValidationErrorModule], [typeof i1.DatepickerComponent]>;
17
+ static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerComponentModule>;
18
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DatepickerService {
3
+ #private;
4
+ set useBrowserTimezone(value: boolean);
5
+ get useBrowserTimezone(): boolean;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<DatepickerService>;
8
+ }
@@ -0,0 +1,11 @@
1
+ import { NativeDateAdapter } from '@angular/material/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CustomDateAdapter extends NativeDateAdapter {
4
+ format(date: Date): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomDateAdapter, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<CustomDateAdapter>;
7
+ }
8
+ export declare class NoDateFormatDirective {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoDateFormatDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NoDateFormatDirective, "[appNoDateFormat]", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,38 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { PageEvent } from '@angular/material/paginator';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DeprecatedPaginatorComponent implements OnInit {
5
+ /**
6
+ * Paginator size options
7
+ *
8
+ * @type {number[]}
9
+ * @memberof PaginatorComponent
10
+ */
11
+ readonly pageSizeOptions: number[];
12
+ /**
13
+ * Data length
14
+ *
15
+ * @type {number}
16
+ * @memberof PaginatorComponent
17
+ */
18
+ length: number;
19
+ /**
20
+ * Default page size
21
+ *
22
+ * @type {number}
23
+ * @memberof PaginatorComponent
24
+ */
25
+ defaultPageSize: number;
26
+ /**
27
+ * @ignore
28
+ */
29
+ paginatorChangedEvent: EventEmitter<PageEvent>;
30
+ /**
31
+ * @ignore
32
+ */
33
+ ngOnInit(): void;
34
+ constructor();
35
+ paginatorChanged(paginator: PageEvent): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeprecatedPaginatorComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeprecatedPaginatorComponent, "ui-paginator", never, { "length": { "alias": "length"; "required": false; }; "defaultPageSize": { "alias": "defaultPageSize"; "required": false; }; }, { "paginatorChangedEvent": "paginatorChangedEvent"; }, never, never, false, never>;
38
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./deprecated-paginator.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/paginator";
5
+ export declare class DeprecatedPaginatorComponentModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeprecatedPaginatorComponentModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeprecatedPaginatorComponentModule, [typeof i1.DeprecatedPaginatorComponent], [typeof i2.CommonModule, typeof i3.MatPaginatorModule], [typeof i1.DeprecatedPaginatorComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeprecatedPaginatorComponentModule>;
9
+ }
@@ -0,0 +1,91 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { MatSort, Sort } from '@angular/material/sort';
3
+ import { MatTableDataSource } from '@angular/material/table';
4
+ import { DataPropertyGetterPipe } from '../../pipes/data-property-getter';
5
+ import { ColumnTypeEnum, IDataSource, ITableColumn, ITableDetailColumn } from './deprecated-table.model';
6
+ import * as i0 from "@angular/core";
7
+ export declare class DeprecatedTableComponent<T extends IDataSource, TDetail extends IDataSource> implements OnInit {
8
+ private dataPropertyGetterPipe;
9
+ /**
10
+ * @ignore
11
+ */
12
+ set matSort(matSort: MatSort);
13
+ /**
14
+ * @ignore
15
+ */
16
+ tableDetails: boolean;
17
+ /**
18
+ * Data to be rendered
19
+ *
20
+ * @ignore
21
+ * @type {IDataSource}
22
+ * @memberof TableComponent
23
+ */
24
+ set tableData(data: T[] | null);
25
+ /**
26
+ * Data structure to select which columns should be rendered and their capabilities
27
+ *
28
+ * @type {ITableColumn}
29
+ * @memberof TableComponent
30
+ */
31
+ tableColumns: ITableColumn<T>[];
32
+ /**
33
+ * Data structure to select which columns should be rendered and their capabilities
34
+ *
35
+ * @type {ITableColumn}
36
+ * @memberof TableComponent
37
+ */
38
+ tableDetailColumns: ITableDetailColumn<T, TDetail>;
39
+ /**
40
+ * @ignore
41
+ */
42
+ onSortEvent: EventEmitter<Sort>;
43
+ /**
44
+ * @ignore
45
+ */
46
+ onRowClickEvent: EventEmitter<any>;
47
+ /**
48
+ * @ignore
49
+ */
50
+ onDetailRowClickEvent: EventEmitter<any>;
51
+ /**
52
+ * @ignore
53
+ */
54
+ dataSource: MatTableDataSource<any, import("@angular/material/table").MatTableDataSourcePaginator>;
55
+ /**
56
+ * @ignore
57
+ */
58
+ dataSourceDetail: MatTableDataSource<any, import("@angular/material/table").MatTableDataSourcePaginator>;
59
+ /**
60
+ * @ignore
61
+ */
62
+ elementDetail: any;
63
+ /**
64
+ * @ignore
65
+ */
66
+ columnsToDisplay: string[];
67
+ /**
68
+ * @ignore
69
+ */
70
+ columnsDetailToDisplay: string[];
71
+ /**
72
+ * @ignore
73
+ */
74
+ DataType: typeof ColumnTypeEnum;
75
+ ngOnInit(): void;
76
+ constructor(dataPropertyGetterPipe: DataPropertyGetterPipe);
77
+ onSort(sortParams: Sort): void;
78
+ onRowClick(rowParams: any): void;
79
+ onDetailRowClick(rowParams: any): void;
80
+ toggleRow(element: T): void;
81
+ /**
82
+ * @ignore
83
+ */
84
+ private setTableDataSource;
85
+ /**
86
+ * @ignore
87
+ */
88
+ private setTableDetailDataSource;
89
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeprecatedTableComponent<any, any>, never>;
90
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeprecatedTableComponent<any, any>, "ui-deprecated-table", never, { "tableDetails": { "alias": "tableDetails"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "tableColumns": { "alias": "tableColumns"; "required": false; }; "tableDetailColumns": { "alias": "tableDetailColumns"; "required": false; }; }, { "onSortEvent": "onSortEvent"; "onRowClickEvent": "onRowClickEvent"; "onDetailRowClickEvent": "onDetailRowClickEvent"; }, never, never, false, never>;
91
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./deprecated-table.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/table";
5
+ import * as i4 from "@angular/material/sort";
6
+ import * as i5 from "@angular/material/icon";
7
+ import * as i6 from "@angular/material/tooltip";
8
+ import * as i7 from "./directives/dynamic-component.directive";
9
+ import * as i8 from "../../pipes/data-property-getter";
10
+ export declare class DeprecatedTableComponentModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeprecatedTableComponentModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeprecatedTableComponentModule, [typeof i1.DeprecatedTableComponent], [typeof i2.CommonModule, typeof i3.MatTableModule, typeof i4.MatSortModule, typeof i5.MatIconModule, typeof i6.MatTooltipModule, typeof i7.DynamicComponentDirective, typeof i8.DataPropertyGetterPipe], [typeof i1.DeprecatedTableComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeprecatedTableComponentModule>;
14
+ }
@@ -0,0 +1,45 @@
1
+ import { Type } from '@angular/core';
2
+ export type IDataSource = {
3
+ [key: string]: any;
4
+ };
5
+ export interface ITableColumn<T> {
6
+ headerName: string;
7
+ headerTooltip?: string;
8
+ field?: string;
9
+ type?: ColumnTypeEnum;
10
+ function?: (v: T) => string;
11
+ renderer?: (v: T) => IComponentRenderer | string;
12
+ sortable?: boolean;
13
+ styles?: IColumnStyles;
14
+ }
15
+ export interface IComponentRenderer {
16
+ component: Type<any>;
17
+ inputs?: any;
18
+ outputs?: {
19
+ [key: string]: any;
20
+ };
21
+ }
22
+ export interface IDetailRowDataParams<T, TDetail> {
23
+ data: T;
24
+ setDetailDataSource(rowData: TDetail[]): void;
25
+ }
26
+ export interface ITableDetailColumn<T, TDetail> {
27
+ columnDefs: ITableColumn<TDetail>[];
28
+ setDetailRowData: (params: IDetailRowDataParams<T, TDetail>) => void;
29
+ }
30
+ export interface IColumnStyles {
31
+ alignment?: ColumnAlignmentEnum;
32
+ width?: string;
33
+ 'min-width'?: string;
34
+ padding?: string;
35
+ }
36
+ export declare enum ColumnTypeEnum {
37
+ FIELD = "field",
38
+ FUNCTION = "function",
39
+ RENDERER = "renderer"
40
+ }
41
+ export declare enum ColumnAlignmentEnum {
42
+ LEFT = "left",
43
+ RIGHT = "right",
44
+ CENTER = "center"
45
+ }
@@ -0,0 +1,13 @@
1
+ import { OnDestroy, ViewContainerRef } from '@angular/core';
2
+ import { IComponentRenderer } from '../deprecated-table.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DynamicComponentDirective implements OnDestroy {
5
+ private vcr;
6
+ private subscription;
7
+ private compRef;
8
+ set dynamicComponent(componentRenderer: IComponentRenderer);
9
+ constructor(vcr: ViewContainerRef);
10
+ ngOnDestroy(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicComponentDirective, "[dynamicComponent]", never, { "dynamicComponent": { "alias": "dynamicComponent"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,147 @@
1
+ import { AfterViewInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { ButtonColor } from '../button/button.model';
4
+ import { ApplicationTheme } from '../../models/application-theme.model';
5
+ import { ButtonComponent } from '../button/button.component';
6
+ import * as i0 from "@angular/core";
7
+ export declare class DialogComponent implements OnInit, OnChanges, AfterViewInit {
8
+ private readonly defaultAppTheme;
9
+ dialogRef: MatDialogRef<DialogComponent>;
10
+ private data;
11
+ /**
12
+ * Dialog title
13
+ *
14
+ * @memberof DialogComponent
15
+ */
16
+ title?: string | undefined;
17
+ /**
18
+ * Show close button
19
+ *
20
+ * @memberof DialogComponent
21
+ */
22
+ showCloseButton: boolean;
23
+ /**
24
+ * Fuction called before dialgo is closed
25
+ *
26
+ * @memberof DialogComponent
27
+ */
28
+ canCloseFn: () => boolean;
29
+ /**
30
+ * Secondary button label
31
+ *
32
+ * @memberof DialogComponent
33
+ */
34
+ secondaryButtonLabel?: string | undefined;
35
+ /**
36
+ * Primary button label
37
+ *
38
+ * @memberof DialogComponent
39
+ */
40
+ primaryButtonLabel?: string | undefined;
41
+ /**
42
+ * Secondary button type
43
+ *
44
+ * @memberof DialogComponent
45
+ */
46
+ secondaryButtonType: ButtonColor;
47
+ /**
48
+ * Primary button type
49
+ *
50
+ * @memberof DialogComponent
51
+ */
52
+ primaryButtonType: ButtonColor;
53
+ /**
54
+ * Primary button test id
55
+ *
56
+ * @memberof DialogComponent
57
+ */
58
+ primaryButtonDataTestId: string | null;
59
+ /**
60
+ * Secondary button test id
61
+ *
62
+ * @memberof DialogComponent
63
+ */
64
+ secondaryButtonDataTestId: string | null;
65
+ /**
66
+ * Color of the dialog.
67
+ * Defaults to Test Gorilla primary color.
68
+ *
69
+ * @type {string}
70
+ * @memberof DialogComponent
71
+ */
72
+ companyColor: string | null;
73
+ /**
74
+ *
75
+ * Defines the application theme
76
+ *
77
+ * @type {ApplicationTheme}
78
+ * @memberof DialogComponent
79
+ */
80
+ applicationTheme: ApplicationTheme;
81
+ /**
82
+ *
83
+ * Disable primary button
84
+ *
85
+ * @type {boolean}
86
+ * @memberof DialogComponent
87
+ */
88
+ disablePrimaryButton: boolean;
89
+ /**
90
+ *
91
+ * Disable close button
92
+ *
93
+ * @type {boolean}
94
+ * @memberof DialogComponent
95
+ */
96
+ disableClose: boolean;
97
+ /**
98
+ *
99
+ * Disable button when canCloseFn is used
100
+ *
101
+ * @type {boolean}
102
+ * @memberof DialogComponent
103
+ */
104
+ shouldDisableButtons: boolean;
105
+ /**
106
+ * A string representing the ARIA requirement for accessibility.
107
+ * This attribute is used to indicate whether an input field is required for form submission.
108
+ * @type {string}
109
+ * @memberof DialogComponent
110
+ */
111
+ ariaLabelledby: string;
112
+ /**
113
+ * A string representing the ARIA requirement for accessibility.
114
+ * This attribute is used to indicate whether an input field is required for form submission.
115
+ * @type {string}
116
+ * @memberof DialogComponent
117
+ */
118
+ ariaDescribedby: string;
119
+ /**
120
+ * Defines how modal was opened (with keyboard or not)
121
+ *
122
+ * @type {boolean}
123
+ * @memberof DialogComponent
124
+ */
125
+ keyboardOpen: boolean;
126
+ closeEvent: EventEmitter<Event>;
127
+ secondaryButtonClickEvent: EventEmitter<Event>;
128
+ primaryButtonClickEvent: EventEmitter<Event>;
129
+ closeButton: ButtonComponent;
130
+ modalClosed: boolean;
131
+ onEsc(_: KeyboardEvent): void;
132
+ constructor(defaultAppTheme: ApplicationTheme, dialogRef: MatDialogRef<DialogComponent>, data: {
133
+ applicationTheme: ApplicationTheme;
134
+ });
135
+ disableButtons: boolean;
136
+ protected readonly translationContext = "DIALOG.";
137
+ ngOnInit(): void;
138
+ ngOnChanges(changes: SimpleChanges): void;
139
+ ngAfterViewInit(): void;
140
+ areButtonsDisabled(): void;
141
+ dismiss(): void;
142
+ onClose(event: Event): void;
143
+ onSecondaryButtonClick(event: Event): void;
144
+ onPrimaryButtonClick(event: Event): void;
145
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, [{ optional: true; }, null, null]>;
146
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "canCloseFn": { "alias": "canCloseFn"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "secondaryButtonType": { "alias": "secondaryButtonType"; "required": false; }; "primaryButtonType": { "alias": "primaryButtonType"; "required": false; }; "primaryButtonDataTestId": { "alias": "primaryButtonDataTestId"; "required": false; }; "secondaryButtonDataTestId": { "alias": "secondaryButtonDataTestId"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disablePrimaryButton": { "alias": "disablePrimaryButton"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "shouldDisableButtons": { "alias": "shouldDisableButtons"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "keyboardOpen": { "alias": "keyboardOpen"; "required": false; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, never, ["*"], false, never>;
147
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dialog.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/dialog";
5
+ import * as i4 from "../button/button.component.module";
6
+ import * as i5 from "../../pipes/ui-translate.pipe";
7
+ export declare class DialogComponentModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponentModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, [typeof i1.DialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.UiTranslatePipe], [typeof i1.DialogComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<DialogComponentModule>;
11
+ }
@@ -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
+ }