@testgorilla/tgo-ui 2.31.1 → 2.31.3-beta.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 (1254) 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/alert-banner/alert-banner.component.d.ts +123 -0
  4. package/components/alert-banner/alert-banner.component.module.d.ts +11 -0
  5. package/components/autocomplete/autocomplete.component.d.ts +306 -0
  6. package/components/autocomplete/autocomplete.component.module.d.ts +24 -0
  7. package/components/autocomplete/autocomplete.model.d.ts +22 -0
  8. package/components/autocomplete/includes.pipe.d.ts +12 -0
  9. package/components/autocomplete/prevent-input.directive.d.ts +7 -0
  10. package/components/autocomplete/transform-Item.pipe.d.ts +11 -0
  11. package/components/avatar/avatar.component.d.ts +67 -0
  12. package/components/avatar/avatar.component.module.d.ts +13 -0
  13. package/components/avatar/avatar.model.d.ts +16 -0
  14. package/components/badge/badge.component.d.ts +59 -0
  15. package/components/badge/badge.component.module.d.ts +10 -0
  16. package/components/badge/badge.model.d.ts +35 -0
  17. package/components/button/button.component.d.ts +234 -0
  18. package/components/button/button.component.module.d.ts +16 -0
  19. package/components/button/button.model.d.ts +14 -0
  20. package/components/card/card.component.d.ts +66 -0
  21. package/components/card/card.component.module.d.ts +9 -0
  22. package/components/checkbox/checkbox.component.d.ts +192 -0
  23. package/components/checkbox/checkbox.component.module.d.ts +18 -0
  24. package/components/checkbox/focus-visible.directive.d.ts +12 -0
  25. package/components/checklist/checklist.component.d.ts +78 -0
  26. package/components/checklist/checklist.model.d.ts +8 -0
  27. package/components/confirm-dialog/confirm-dialog.component.d.ts +30 -0
  28. package/components/confirm-dialog/confirm-dialog.component.module.d.ts +12 -0
  29. package/components/confirm-dialog/confirm-dialog.model.d.ts +12 -0
  30. package/components/datepicker/date-adapter.d.ts +30 -0
  31. package/components/datepicker/datepicker.component.d.ts +214 -0
  32. package/components/datepicker/datepicker.component.module.d.ts +18 -0
  33. package/components/datepicker/datepicker.service.d.ts +8 -0
  34. package/components/datepicker/no-date-format.directive.d.ts +11 -0
  35. package/components/deprecated-paginator/deprecated-paginator.component.d.ts +38 -0
  36. package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +9 -0
  37. package/components/dialog/dialog.component.d.ts +149 -0
  38. package/components/dialog/dialog.component.module.d.ts +11 -0
  39. package/components/dialog/dialog.model.d.ts +12 -0
  40. package/components/dialog/dialog.service.d.ts +14 -0
  41. package/components/divider/divider.component.d.ts +39 -0
  42. package/components/divider/divider.component.module.d.ts +9 -0
  43. package/components/dropdown/dropdown.component.d.ts +190 -0
  44. package/components/dropdown/dropdown.component.module.d.ts +17 -0
  45. package/components/dropdown/dropdown.model.d.ts +5 -0
  46. package/components/elevation-shadow/elevation-shadow.component.d.ts +26 -0
  47. package/components/elevation-shadow/elevation-shadow.component.module.d.ts +8 -0
  48. package/components/elevation-shadow/elevation-shadow.constant.d.ts +8 -0
  49. package/components/empty-state/empty-state.component.d.ts +155 -0
  50. package/components/empty-state/empty-state.component.module.d.ts +11 -0
  51. package/components/field/field.component.d.ts +295 -0
  52. package/components/field/field.component.module.d.ts +18 -0
  53. package/components/field/field.model.d.ts +1 -0
  54. package/components/file-upload/file-upload.component.d.ts +120 -0
  55. package/components/file-upload/file-upload.component.module.d.ts +14 -0
  56. package/components/filter-button/filter-button.component.d.ts +126 -0
  57. package/components/filter-button/filter-button.component.module.d.ts +18 -0
  58. package/components/filter-button/filter-button.model.d.ts +8 -0
  59. package/components/gaussian-chart/gaussian-chart.component.d.ts +75 -0
  60. package/components/gaussian-chart/gaussian-chart.module.d.ts +13 -0
  61. package/components/icon/icon.component.d.ts +71 -0
  62. package/components/icon/icon.component.module.d.ts +10 -0
  63. package/components/icon/icon.config.d.ts +10 -0
  64. package/components/icon/icon.model.d.ts +7 -0
  65. package/components/icon-label/icon-label.component.d.ts +39 -0
  66. package/components/icon-label/icon-label.component.module.d.ts +9 -0
  67. package/components/logo/logo.component.d.ts +66 -0
  68. package/components/logo/logo.component.module.d.ts +8 -0
  69. package/components/logo/logo.model.d.ts +29 -0
  70. package/components/media-card/media-card.component.d.ts +32 -0
  71. package/components/multi-input/multi-input.component.d.ts +171 -0
  72. package/components/multi-input/multi-input.component.module.d.ts +18 -0
  73. package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +26 -0
  74. package/components/navbar/navbar.component.d.ts +120 -0
  75. package/components/navbar/navbar.component.module.d.ts +21 -0
  76. package/components/navbar/navbar.model.d.ts +21 -0
  77. package/components/overflow-menu/overflow-menu.component.d.ts +86 -0
  78. package/components/overflow-menu/overflow-menu.component.module.d.ts +15 -0
  79. package/components/overflow-menu/overflow-menu.model.d.ts +20 -0
  80. package/components/page-header/page-header.component.d.ts +38 -0
  81. package/components/page-header/page-header.component.module.d.ts +10 -0
  82. package/components/paginator/paginator.component.d.ts +58 -0
  83. package/components/paginator/paginator.component.module.d.ts +9 -0
  84. package/components/password-criteria/password.component.d.ts +44 -0
  85. package/components/password-criteria/password.component.module.d.ts +13 -0
  86. package/components/password-strength/password-strength.component.d.ts +45 -0
  87. package/components/password-strength/password-strength.component.module.d.ts +11 -0
  88. package/components/phone-input/join-strings.pipe.d.ts +7 -0
  89. package/components/phone-input/phone-input.component.d.ts +147 -0
  90. package/components/phone-input/phone-input.component.module.d.ts +20 -0
  91. package/components/phone-input/phone-input.model.d.ts +8 -0
  92. package/components/progress-bar/progress-bar.component.d.ts +73 -0
  93. package/components/progress-bar/progress-bar.component.module.d.ts +10 -0
  94. package/components/radial-progress/radial-progress.component.d.ts +68 -0
  95. package/components/radial-progress/radial-progress.component.module.d.ts +10 -0
  96. package/components/radial-progress/radial-progress.model.d.ts +10 -0
  97. package/components/radio-button/radio-button.component.d.ts +182 -0
  98. package/components/radio-button/radio-button.component.module.d.ts +15 -0
  99. package/components/radio-button/radio-button.model.d.ts +4 -0
  100. package/components/rating/half-star.pipe.d.ts +14 -0
  101. package/components/rating/rating.component.d.ts +64 -0
  102. package/components/rating/rating.component.module.d.ts +10 -0
  103. package/components/scale/scale.component.d.ts +53 -0
  104. package/components/scale/scale.component.module.d.ts +8 -0
  105. package/components/segmented-bar/segmented-bar.component.d.ts +63 -0
  106. package/components/segmented-bar/segmented-bar.component.module.d.ts +13 -0
  107. package/components/segmented-bar/segmented-bar.model.d.ts +12 -0
  108. package/components/segmented-button/segmented-button.component.d.ts +55 -0
  109. package/components/segmented-button/segmented-button.component.module.d.ts +11 -0
  110. package/components/segmented-button/segmented-button.model.d.ts +8 -0
  111. package/components/side-panel/side-panel.animations.d.ts +3 -0
  112. package/components/side-panel/side-panel.component.d.ts +21 -0
  113. package/components/side-panel/side-panel.model.d.ts +15 -0
  114. package/components/side-panel/side-panel.service.d.ts +20 -0
  115. package/components/side-sheet/side-sheet.component.d.ts +43 -0
  116. package/components/side-sheet/side-sheet.component.module.d.ts +14 -0
  117. package/components/side-sheet/side-sheet.model.d.ts +10 -0
  118. package/components/side-sheet/side-sheet.service.d.ts +14 -0
  119. package/components/skeleton/skeleton.component.d.ts +26 -0
  120. package/components/skeleton/skeleton.model.d.ts +2 -0
  121. package/components/slider/slider.component.d.ts +116 -0
  122. package/components/slider/slider.component.module.d.ts +7 -0
  123. package/components/slider/slider.model.d.ts +5 -0
  124. package/components/snackbar/snackbar.component.d.ts +119 -0
  125. package/components/snackbar/snackbar.component.module.d.ts +13 -0
  126. package/components/snackbar/snackbar.service.d.ts +16 -0
  127. package/components/spider-chart/spider-chart.component.d.ts +90 -0
  128. package/components/spider-chart/spider-chart.model.d.ts +12 -0
  129. package/components/spider-chart/spider-chart.module.d.ts +13 -0
  130. package/components/spinner/spinner.component.d.ts +44 -0
  131. package/components/spinner/spinner.module.d.ts +9 -0
  132. package/components/step/step.component.d.ts +169 -0
  133. package/components/step/step.component.module.d.ts +10 -0
  134. package/components/stepper/stepper.component.d.ts +94 -0
  135. package/components/stepper/stepper.component.module.d.ts +15 -0
  136. package/components/stepper/stepper.model.d.ts +22 -0
  137. package/components/table/sentence-case.pipe.d.ts +7 -0
  138. package/components/table/table.component.d.ts +117 -0
  139. package/components/table/table.component.module.d.ts +20 -0
  140. package/components/table/table.model.d.ts +104 -0
  141. package/components/tabs/tab.directive.d.ts +24 -0
  142. package/components/tabs/tabs.component.d.ts +73 -0
  143. package/components/tabs/tabs.component.module.d.ts +12 -0
  144. package/components/tabs/tabs.model.d.ts +16 -0
  145. package/components/tag/tag.component.d.ts +131 -0
  146. package/components/tag/tag.component.module.d.ts +13 -0
  147. package/components/toggle/toggle.component.d.ts +113 -0
  148. package/components/toggle/toggle.component.module.d.ts +14 -0
  149. package/components/tooltip/tooltip-template.directive.d.ts +27 -0
  150. package/components/tooltip/tooltip.component.d.ts +64 -0
  151. package/components/tooltip/tooltip.component.module.d.ts +12 -0
  152. package/components/tooltip/tooltip.model.d.ts +8 -0
  153. package/components/universal-skills-report/universal-skills-report.component.d.ts +33 -0
  154. package/components/universal-skills-report/universal-skills-report.component.module.d.ts +14 -0
  155. package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.d.ts +47 -0
  156. package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.d.ts +16 -0
  157. package/components/validation-error/validation-error.component.d.ts +22 -0
  158. package/components/validation-error/validation-error.module.d.ts +10 -0
  159. package/directives/digits-only.directive.d.ts +17 -0
  160. package/directives/drag-drop.directive.d.ts +12 -0
  161. package/directives/dynamic-component.directive.d.ts +20 -0
  162. package/directives/ellipse-text.directive.d.ts +20 -0
  163. package/directives/select-text.directive.d.ts +19 -0
  164. package/directives/step-line-element.directive.d.ts +17 -0
  165. package/esm2022/assets/i18n/da-dk.json +181 -0
  166. package/esm2022/assets/i18n/de.json +181 -0
  167. package/esm2022/assets/i18n/en.json +817 -0
  168. package/esm2022/assets/i18n/es.json +181 -0
  169. package/esm2022/assets/i18n/fr.json +181 -0
  170. package/esm2022/assets/i18n/it-it.json +181 -0
  171. package/esm2022/assets/i18n/ja-jp.json +181 -0
  172. package/esm2022/assets/i18n/nb-no.json +181 -0
  173. package/esm2022/assets/i18n/nl.json +181 -0
  174. package/esm2022/assets/i18n/pl-pl.json +181 -0
  175. package/esm2022/assets/i18n/pt-br.json +181 -0
  176. package/esm2022/assets/i18n/sv-se.json +181 -0
  177. package/esm2022/components/accordion/accordion.component.mjs +135 -0
  178. package/esm2022/components/accordion/accordion.component.module.mjs +40 -0
  179. package/esm2022/components/accordion/accordion.model.mjs +2 -0
  180. package/esm2022/components/alert-banner/alert-banner.component.mjs +180 -0
  181. package/esm2022/components/alert-banner/alert-banner.component.module.mjs +21 -0
  182. package/esm2022/components/alert-banner/alert-banner.model.mjs +2 -0
  183. package/esm2022/components/autocomplete/autocomplete.component.mjs +808 -0
  184. package/esm2022/components/autocomplete/autocomplete.component.module.mjs +77 -0
  185. package/esm2022/components/autocomplete/autocomplete.model.mjs +25 -0
  186. package/esm2022/components/autocomplete/includes.pipe.mjs +25 -0
  187. package/esm2022/components/autocomplete/prevent-input.directive.mjs +27 -0
  188. package/esm2022/components/autocomplete/transform-Item.pipe.mjs +32 -0
  189. package/esm2022/components/avatar/avatar.component.mjs +104 -0
  190. package/esm2022/components/avatar/avatar.component.module.mjs +23 -0
  191. package/esm2022/components/avatar/avatar.model.mjs +21 -0
  192. package/esm2022/components/badge/badge.component.mjs +109 -0
  193. package/esm2022/components/badge/badge.component.module.mjs +20 -0
  194. package/esm2022/components/badge/badge.model.mjs +36 -0
  195. package/esm2022/components/button/button.component.mjs +449 -0
  196. package/esm2022/components/button/button.component.module.mjs +51 -0
  197. package/esm2022/components/button/button.model.mjs +2 -0
  198. package/esm2022/components/card/card.component.mjs +119 -0
  199. package/esm2022/components/card/card.component.module.mjs +19 -0
  200. package/esm2022/components/card/card.model.mjs +2 -0
  201. package/esm2022/components/checkbox/checkbox.component.mjs +319 -0
  202. package/esm2022/components/checkbox/checkbox.component.module.mjs +28 -0
  203. package/esm2022/components/checkbox/focus-visible.directive.mjs +40 -0
  204. package/esm2022/components/checklist/checklist.component.mjs +147 -0
  205. package/esm2022/components/checklist/checklist.model.mjs +2 -0
  206. package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +56 -0
  207. package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +29 -0
  208. package/esm2022/components/confirm-dialog/confirm-dialog.model.mjs +2 -0
  209. package/esm2022/components/datepicker/date-adapter.mjs +30 -0
  210. package/esm2022/components/datepicker/datepicker.component.mjs +333 -0
  211. package/esm2022/components/datepicker/datepicker.component.module.mjs +60 -0
  212. package/esm2022/components/datepicker/datepicker.service.mjs +20 -0
  213. package/esm2022/components/datepicker/no-date-format.directive.mjs +56 -0
  214. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +55 -0
  215. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.module.mjs +20 -0
  216. package/esm2022/components/dialog/dialog.component.mjs +259 -0
  217. package/esm2022/components/dialog/dialog.component.module.mjs +23 -0
  218. package/esm2022/components/dialog/dialog.model.mjs +2 -0
  219. package/esm2022/components/dialog/dialog.service.mjs +36 -0
  220. package/esm2022/components/divider/divider.component.mjs +65 -0
  221. package/esm2022/components/divider/divider.component.module.mjs +19 -0
  222. package/esm2022/components/divider/divider.model.mjs +2 -0
  223. package/esm2022/components/dropdown/dropdown.component.mjs +353 -0
  224. package/esm2022/components/dropdown/dropdown.component.module.mjs +57 -0
  225. package/esm2022/components/dropdown/dropdown.model.mjs +2 -0
  226. package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +45 -0
  227. package/esm2022/components/elevation-shadow/elevation-shadow.component.module.mjs +18 -0
  228. package/esm2022/components/elevation-shadow/elevation-shadow.constant.mjs +9 -0
  229. package/esm2022/components/empty-state/empty-state.component.mjs +234 -0
  230. package/esm2022/components/empty-state/empty-state.component.module.mjs +21 -0
  231. package/esm2022/components/empty-state/empty-state.model.mjs +2 -0
  232. package/esm2022/components/field/field.component.mjs +488 -0
  233. package/esm2022/components/field/field.component.module.mjs +60 -0
  234. package/esm2022/components/field/field.model.mjs +2 -0
  235. package/esm2022/components/file-upload/file-upload.component.mjs +282 -0
  236. package/esm2022/components/file-upload/file-upload.component.module.mjs +40 -0
  237. package/esm2022/components/filter-button/filter-button.component.mjs +236 -0
  238. package/esm2022/components/filter-button/filter-button.component.module.mjs +58 -0
  239. package/esm2022/components/filter-button/filter-button.model.mjs +2 -0
  240. package/esm2022/components/gaussian-chart/gaussian-chart.component.mjs +246 -0
  241. package/esm2022/components/gaussian-chart/gaussian-chart.module.mjs +42 -0
  242. package/esm2022/components/icon/icon.component.mjs +149 -0
  243. package/esm2022/components/icon/icon.component.module.mjs +21 -0
  244. package/esm2022/components/icon/icon.config.mjs +699 -0
  245. package/esm2022/components/icon/icon.model.mjs +2 -0
  246. package/esm2022/components/icon-label/icon-label.component.mjs +53 -0
  247. package/esm2022/components/icon-label/icon-label.component.module.mjs +20 -0
  248. package/esm2022/components/logo/logo.component.mjs +165 -0
  249. package/esm2022/components/logo/logo.component.module.mjs +18 -0
  250. package/esm2022/components/logo/logo.model.mjs +32 -0
  251. package/esm2022/components/media-card/media-card.component.mjs +47 -0
  252. package/esm2022/components/multi-input/multi-input.component.mjs +331 -0
  253. package/esm2022/components/multi-input/multi-input.component.module.mjs +58 -0
  254. package/esm2022/components/multi-input/multi-input.model.mjs +2 -0
  255. package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +84 -0
  256. package/esm2022/components/navbar/navbar.component.mjs +211 -0
  257. package/esm2022/components/navbar/navbar.component.module.mjs +71 -0
  258. package/esm2022/components/navbar/navbar.model.mjs +2 -0
  259. package/esm2022/components/overflow-menu/overflow-menu.component.mjs +195 -0
  260. package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +25 -0
  261. package/esm2022/components/overflow-menu/overflow-menu.model.mjs +2 -0
  262. package/esm2022/components/page-header/page-header.component.mjs +71 -0
  263. package/esm2022/components/page-header/page-header.component.module.mjs +20 -0
  264. package/esm2022/components/paginator/paginator.component.mjs +87 -0
  265. package/esm2022/components/paginator/paginator.component.module.mjs +19 -0
  266. package/esm2022/components/password-criteria/password.component.mjs +111 -0
  267. package/esm2022/components/password-criteria/password.component.module.mjs +39 -0
  268. package/esm2022/components/password-strength/password-strength.component.mjs +93 -0
  269. package/esm2022/components/password-strength/password-strength.component.module.mjs +21 -0
  270. package/esm2022/components/phone-input/join-strings.pipe.mjs +14 -0
  271. package/esm2022/components/phone-input/phone-input.component.mjs +353 -0
  272. package/esm2022/components/phone-input/phone-input.component.module.mjs +63 -0
  273. package/esm2022/components/phone-input/phone-input.model.mjs +2 -0
  274. package/esm2022/components/progress-bar/progress-bar.component.mjs +103 -0
  275. package/esm2022/components/progress-bar/progress-bar.component.module.mjs +21 -0
  276. package/esm2022/components/radial-progress/radial-progress.component.mjs +106 -0
  277. package/esm2022/components/radial-progress/radial-progress.component.module.mjs +20 -0
  278. package/esm2022/components/radial-progress/radial-progress.model.mjs +11 -0
  279. package/esm2022/components/radio-button/radio-button.component.mjs +329 -0
  280. package/esm2022/components/radio-button/radio-button.component.module.mjs +25 -0
  281. package/esm2022/components/radio-button/radio-button.model.mjs +2 -0
  282. package/esm2022/components/rating/half-star.pipe.mjs +23 -0
  283. package/esm2022/components/rating/rating.component.mjs +92 -0
  284. package/esm2022/components/rating/rating.component.module.mjs +20 -0
  285. package/esm2022/components/scale/scale.component.mjs +124 -0
  286. package/esm2022/components/scale/scale.component.module.mjs +18 -0
  287. package/esm2022/components/segmented-bar/segmented-bar.component.mjs +106 -0
  288. package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +23 -0
  289. package/esm2022/components/segmented-bar/segmented-bar.model.mjs +2 -0
  290. package/esm2022/components/segmented-button/segmented-button.component.mjs +104 -0
  291. package/esm2022/components/segmented-button/segmented-button.component.module.mjs +21 -0
  292. package/esm2022/components/segmented-button/segmented-button.model.mjs +2 -0
  293. package/esm2022/components/side-panel/side-panel.animations.mjs +26 -0
  294. package/esm2022/components/side-panel/side-panel.component.mjs +55 -0
  295. package/esm2022/components/side-panel/side-panel.model.mjs +20 -0
  296. package/esm2022/components/side-panel/side-panel.service.mjs +76 -0
  297. package/esm2022/components/side-sheet/side-sheet.component.mjs +105 -0
  298. package/esm2022/components/side-sheet/side-sheet.component.module.mjs +43 -0
  299. package/esm2022/components/side-sheet/side-sheet.model.mjs +2 -0
  300. package/esm2022/components/side-sheet/side-sheet.service.mjs +31 -0
  301. package/esm2022/components/skeleton/skeleton.component.mjs +71 -0
  302. package/esm2022/components/skeleton/skeleton.model.mjs +2 -0
  303. package/esm2022/components/slider/slider.component.mjs +256 -0
  304. package/esm2022/components/slider/slider.component.module.mjs +16 -0
  305. package/esm2022/components/slider/slider.model.mjs +2 -0
  306. package/esm2022/components/snackbar/snackbar.component.mjs +218 -0
  307. package/esm2022/components/snackbar/snackbar.component.module.mjs +25 -0
  308. package/esm2022/components/snackbar/snackbar.model.mjs +2 -0
  309. package/esm2022/components/snackbar/snackbar.service.mjs +40 -0
  310. package/esm2022/components/spider-chart/spider-chart.component.mjs +443 -0
  311. package/esm2022/components/spider-chart/spider-chart.model.mjs +4 -0
  312. package/esm2022/components/spider-chart/spider-chart.module.mjs +44 -0
  313. package/esm2022/components/spinner/spinner.component.mjs +72 -0
  314. package/esm2022/components/spinner/spinner.model.mjs +2 -0
  315. package/esm2022/components/spinner/spinner.module.mjs +19 -0
  316. package/esm2022/components/step/step.component.mjs +189 -0
  317. package/esm2022/components/step/step.component.module.mjs +20 -0
  318. package/esm2022/components/stepper/stepper.component.mjs +184 -0
  319. package/esm2022/components/stepper/stepper.component.module.mjs +44 -0
  320. package/esm2022/components/stepper/stepper.model.mjs +2 -0
  321. package/esm2022/components/table/sentence-case.pipe.mjs +19 -0
  322. package/esm2022/components/table/table.component.mjs +273 -0
  323. package/esm2022/components/table/table.component.module.mjs +61 -0
  324. package/esm2022/components/table/table.model.mjs +25 -0
  325. package/esm2022/components/tabs/tab.directive.mjs +54 -0
  326. package/esm2022/components/tabs/tabs.component.mjs +189 -0
  327. package/esm2022/components/tabs/tabs.component.module.mjs +22 -0
  328. package/esm2022/components/tabs/tabs.model.mjs +2 -0
  329. package/esm2022/components/tag/tag.component.mjs +212 -0
  330. package/esm2022/components/tag/tag.component.module.mjs +24 -0
  331. package/esm2022/components/tag/tag.model.mjs +2 -0
  332. package/esm2022/components/toggle/toggle.component.mjs +190 -0
  333. package/esm2022/components/toggle/toggle.component.module.mjs +24 -0
  334. package/esm2022/components/toggle/toggle.model.mjs +2 -0
  335. package/esm2022/components/tooltip/tooltip-template.directive.mjs +133 -0
  336. package/esm2022/components/tooltip/tooltip.component.mjs +108 -0
  337. package/esm2022/components/tooltip/tooltip.component.module.mjs +27 -0
  338. package/esm2022/components/tooltip/tooltip.model.mjs +8 -0
  339. package/esm2022/components/universal-skills-report/universal-skills-report.component.mjs +80 -0
  340. package/esm2022/components/universal-skills-report/universal-skills-report.component.module.mjs +43 -0
  341. package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.mjs +109 -0
  342. package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.mjs +52 -0
  343. package/esm2022/components/validation-error/validation-error.component.mjs +55 -0
  344. package/esm2022/components/validation-error/validation-error.model.mjs +2 -0
  345. package/esm2022/components/validation-error/validation-error.module.mjs +20 -0
  346. package/esm2022/directives/digits-only.directive.mjs +77 -0
  347. package/esm2022/directives/drag-drop.directive.mjs +55 -0
  348. package/esm2022/directives/dynamic-component.directive.mjs +40 -0
  349. package/esm2022/directives/ellipse-text.directive.mjs +51 -0
  350. package/esm2022/directives/select-text.directive.mjs +40 -0
  351. package/esm2022/directives/step-line-element.directive.mjs +51 -0
  352. package/esm2022/models/application-theme.model.mjs +2 -0
  353. package/esm2022/models/checkbox.model.mjs +2 -0
  354. package/esm2022/models/colors.model.mjs +78 -0
  355. package/esm2022/models/keyboard-events.model.mjs +13 -0
  356. package/esm2022/models/screen-breakpoints.model.mjs +6 -0
  357. package/esm2022/models/universal-skills-report.model.mjs +33 -0
  358. package/esm2022/pipes/data-property-getter.mjs +33 -0
  359. package/esm2022/pipes/has-validation-error.pipe.mjs +27 -0
  360. package/esm2022/pipes/memoize-func.pipe.mjs +39 -0
  361. package/esm2022/pipes/name-initials.pipe.mjs +25 -0
  362. package/esm2022/pipes/ui-ordinal-suffix.pipe.mjs +31 -0
  363. package/esm2022/pipes/ui-translate.pipe.mjs +81 -0
  364. package/esm2022/providers/is-mobile.mjs +11 -0
  365. package/esm2022/public-api.mjs +227 -0
  366. package/esm2022/services/icons.service.mjs +22 -0
  367. package/esm2022/services/universal-skills.service.mjs +85 -0
  368. package/esm2022/testgorilla-tgo-ui.mjs +5 -0
  369. package/esm2022/utils/alert-bar.model.mjs +2 -0
  370. package/esm2022/utils/alert-bars.utils.mjs +34 -0
  371. package/esm2022/utils/autocomplete-utils.mjs +78 -0
  372. package/esm2022/utils/color-contrast.mjs +131 -0
  373. package/esm2022/utils/hex-to-rgb.mjs +9 -0
  374. package/esm2022/utils/localization/language.model.mjs +16 -0
  375. package/esm2022/utils/localization/language.service.mjs +44 -0
  376. package/esm2022/utils/table.utils.mjs +19 -0
  377. package/fesm2022/testgorilla-tgo-ui.mjs +17408 -0
  378. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -0
  379. package/index.d.ts +5 -0
  380. package/models/colors.model.d.ts +63 -0
  381. package/models/keyboard-events.model.d.ts +11 -0
  382. package/models/screen-breakpoints.model.d.ts +4 -0
  383. package/models/universal-skills-report.model.d.ts +44 -0
  384. package/package.json +17 -77
  385. package/pipes/data-property-getter.d.ts +8 -0
  386. package/pipes/has-validation-error.pipe.d.ts +15 -0
  387. package/pipes/memoize-func.pipe.d.ts +26 -0
  388. package/pipes/name-initials.pipe.d.ts +7 -0
  389. package/pipes/ui-ordinal-suffix.pipe.d.ts +7 -0
  390. package/pipes/ui-translate.pipe.d.ts +32 -0
  391. package/providers/is-mobile.d.ts +2 -0
  392. package/public-api.d.ts +159 -0
  393. package/services/icons.service.d.ts +8 -0
  394. package/services/universal-skills.service.d.ts +13 -0
  395. package/utils/alert-bars.utils.d.ts +7 -0
  396. package/utils/autocomplete-utils.d.ts +12 -0
  397. package/utils/color-contrast.d.ts +28 -0
  398. package/utils/hex-to-rgb.d.ts +1 -0
  399. package/utils/localization/language.model.d.ts +14 -0
  400. package/utils/localization/language.service.d.ts +20 -0
  401. package/utils/table.utils.d.ts +6 -0
  402. package/.circleci/config.yml +0 -349
  403. package/.editorconfig +0 -16
  404. package/.eslintignore +0 -5
  405. package/.eslintrc-a11y.js +0 -23
  406. package/.eslintrc.js +0 -301
  407. package/.github/CODEOWNERS +0 -22
  408. package/.github/README.md +0 -81
  409. package/.husky/pre-commit +0 -4
  410. package/.prettierignore +0 -2
  411. package/.prettierrc +0 -14
  412. package/.storybook/main.js +0 -24
  413. package/.storybook/preview-head.html +0 -10
  414. package/.storybook/preview.js +0 -112
  415. package/.storybook/tsconfig.json +0 -24
  416. package/.storybook/typings.d.ts +0 -4
  417. package/.stylelintrc.json +0 -30
  418. package/.vscode/extensions.json +0 -4
  419. package/.vscode/launch.json +0 -20
  420. package/.vscode/tasks.json +0 -42
  421. package/CHANGELOG.md +0 -1386
  422. package/angular.json +0 -174
  423. package/blob-report/report.zip +0 -0
  424. package/e2e/bannerAction.spec.ts +0 -46
  425. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--default-chromium-darwin.png +0 -0
  426. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--default-chromium-linux.png +0 -0
  427. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--error-chromium-darwin.png +0 -0
  428. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--error-chromium-linux.png +0 -0
  429. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--info-chromium-darwin.png +0 -0
  430. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--info-chromium-linux.png +0 -0
  431. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--warning-chromium-darwin.png +0 -0
  432. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--warning-chromium-linux.png +0 -0
  433. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--with-relative-width-chromium-darwin.png +0 -0
  434. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--with-relative-width-chromium-linux.png +0 -0
  435. package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--default-chromium-linux.png +0 -0
  436. package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--error-chromium-linux.png +0 -0
  437. package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--info-chromium-linux.png +0 -0
  438. package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--warning-chromium-linux.png +0 -0
  439. package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--with-relative-width-chromium-linux.png +0 -0
  440. package/e2e/button.spec.ts +0 -53
  441. package/e2e/button.spec.ts-snapshots/id-button--basic-chromium-linux.png +0 -0
  442. package/e2e/button.spec.ts-snapshots/id-button--button-as-link-chromium-linux.png +0 -0
  443. package/e2e/button.spec.ts-snapshots/id-button--button-only-label-chromium-linux.png +0 -0
  444. package/e2e/button.spec.ts-snapshots/id-button--disabled-chromium-linux.png +0 -0
  445. package/e2e/button.spec.ts-snapshots/id-button--full-width-chromium-linux.png +0 -0
  446. package/e2e/button.spec.ts-snapshots/id-button--label-icon-left-chromium-linux.png +0 -0
  447. package/e2e/button.spec.ts-snapshots/id-button--label-icon-right-chromium-linux.png +0 -0
  448. package/e2e/button.spec.ts-snapshots/id-button--loading-chromium-linux.png +0 -0
  449. package/e2e/button.spec.ts-snapshots/id-button--menu-cell-chromium-linux.png +0 -0
  450. package/e2e/button.spec.ts-snapshots/id-button--menu-trigger-chromium-linux.png +0 -0
  451. package/e2e/button.spec.ts-snapshots/id-button--only-icon-chromium-linux.png +0 -0
  452. package/e2e/button.spec.ts-snapshots/id-button--small-chromium-linux.png +0 -0
  453. package/e2e/card.spec.ts +0 -43
  454. package/e2e/card.spec.ts-snapshots/id-card--default-chromium-linux.png +0 -0
  455. package/e2e/colors.spec.ts +0 -47
  456. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--greysacale-chromium-linux.png +0 -0
  457. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-error-chromium-linux.png +0 -0
  458. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-petrol-chromium-linux.png +0 -0
  459. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-teal-chromium-linux.png +0 -0
  460. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-warning-chromium-linux.png +0 -0
  461. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--secondary-colors-chromium-linux.png +0 -0
  462. package/e2e/createAccount.spec.ts +0 -102
  463. package/e2e/createAccount.spec.ts-snapshots/id-create-account--default-chromium-linux.png +0 -0
  464. package/e2e/createAccount.spec.ts-snapshots/id-deprecated-create-account--default-chromium-linux.png +0 -0
  465. package/e2e/createAccount.spec.ts-snapshots/register-with-errors-chromium-linux.png +0 -0
  466. package/e2e/createAccount.spec.ts-snapshots/register-with-texts-chromium-linux.png +0 -0
  467. package/e2e/createPassword.spec.ts +0 -94
  468. package/e2e/createPassword.spec.ts-snapshots/createPassword-with-errors-chromium-linux.png +0 -0
  469. package/e2e/createPassword.spec.ts-snapshots/createPassword-with-texts-chromium-linux.png +0 -0
  470. package/e2e/createPassword.spec.ts-snapshots/id-createpassword--default-args-viewMode-story-chromium-linux.png +0 -0
  471. package/e2e/createPassword.spec.ts-snapshots/id-createpassword--default-chromium-linux.png +0 -0
  472. package/e2e/createPassword.spec.ts-snapshots/id-deprecated-create-password--default-chromium-linux.png +0 -0
  473. package/e2e/dialog.spec.ts +0 -43
  474. package/e2e/dialog.spec.ts-snapshots/id-dialog-dialog--default-chromium-darwin.png +0 -0
  475. package/e2e/dialog.spec.ts-snapshots/id-dialog-dialog--default-chromium-linux.png +0 -0
  476. package/e2e/field.spec.ts +0 -51
  477. package/e2e/field.spec.ts-snapshots/id-forms-field--email-chromium-linux.png +0 -0
  478. package/e2e/field.spec.ts-snapshots/id-forms-field--number-type-chromium-linux.png +0 -0
  479. package/e2e/field.spec.ts-snapshots/id-forms-field--password-chromium-linux.png +0 -0
  480. package/e2e/field.spec.ts-snapshots/id-forms-field--search-chromium-linux.png +0 -0
  481. package/e2e/field.spec.ts-snapshots/id-forms-field--tel-chromium-linux.png +0 -0
  482. package/e2e/field.spec.ts-snapshots/id-forms-field--text-chromium-linux.png +0 -0
  483. package/e2e/field.spec.ts-snapshots/id-forms-field--with-disable-chromium-linux.png +0 -0
  484. package/e2e/field.spec.ts-snapshots/id-forms-field--with-errors-chromium-linux.png +0 -0
  485. package/e2e/field.spec.ts-snapshots/id-forms-field--with-require-chromium-linux.png +0 -0
  486. package/e2e/field.spec.ts-snapshots/id-forms-field--without-label-chromium-linux.png +0 -0
  487. package/e2e/forgotPassword.spec.ts +0 -94
  488. package/e2e/forgotPassword.spec.ts-snapshots/forgotPassword-with-errors-chromium-linux.png +0 -0
  489. package/e2e/forgotPassword.spec.ts-snapshots/forgotPassword-with-texts-chromium-linux.png +0 -0
  490. package/e2e/forgotPassword.spec.ts-snapshots/id-deprecated-forgot-password--default-chromium-linux.png +0 -0
  491. package/e2e/forgotPassword.spec.ts-snapshots/id-forgotpassword--default-args-viewMode-story-chromium-linux.png +0 -0
  492. package/e2e/forgotPassword.spec.ts-snapshots/id-forgotpassword--default-chromium-linux.png +0 -0
  493. package/e2e/label.spec.ts +0 -47
  494. package/e2e/label.spec.ts-snapshots/id-label--big-chromium-linux.png +0 -0
  495. package/e2e/label.spec.ts-snapshots/id-label--huge-chromium-linux.png +0 -0
  496. package/e2e/label.spec.ts-snapshots/id-label--large-chromium-linux.png +0 -0
  497. package/e2e/label.spec.ts-snapshots/id-label--medium-chromium-linux.png +0 -0
  498. package/e2e/label.spec.ts-snapshots/id-label--small-chromium-linux.png +0 -0
  499. package/e2e/label.spec.ts-snapshots/id-under-review-label--big-chromium-linux.png +0 -0
  500. package/e2e/label.spec.ts-snapshots/id-under-review-label--huge-chromium-linux.png +0 -0
  501. package/e2e/label.spec.ts-snapshots/id-under-review-label--large-chromium-linux.png +0 -0
  502. package/e2e/label.spec.ts-snapshots/id-under-review-label--medium-chromium-linux.png +0 -0
  503. package/e2e/label.spec.ts-snapshots/id-under-review-label--small-chromium-linux.png +0 -0
  504. package/e2e/login.spec.ts +0 -102
  505. package/e2e/login.spec.ts-snapshots/id-deprecated-login--default-chromium-linux.png +0 -0
  506. package/e2e/login.spec.ts-snapshots/id-login--default-chromium-linux.png +0 -0
  507. package/e2e/login.spec.ts-snapshots/login-with-errors-chromium-linux.png +0 -0
  508. package/e2e/login.spec.ts-snapshots/login-with-texts-chromium-linux.png +0 -0
  509. package/e2e/logo.spec.ts +0 -45
  510. package/e2e/logo.spec.ts-snapshots/id-logo--default-chromium-linux.png +0 -0
  511. package/e2e/logo.spec.ts-snapshots/id-logo--powered-by-chromium-linux.png +0 -0
  512. package/e2e/logo.spec.ts-snapshots/id-logo--reverse-chromium-linux.png +0 -0
  513. package/e2e/navbar.spec.ts +0 -42
  514. package/e2e/navbar.spec.ts-snapshots/id-navbar--default-chromium-linux.png +0 -0
  515. package/e2e/navigation.spec.ts +0 -43
  516. package/e2e/navigation.spec.ts-snapshots/id-navigation--default-chromium-linux.png +0 -0
  517. package/e2e/paginator.spec.ts +0 -42
  518. package/e2e/paginator.spec.ts-snapshots/id-paginator--default-chromium-linux.png +0 -0
  519. package/e2e/progressBar.spec.ts +0 -42
  520. package/e2e/progressBar.spec.ts-snapshots/id-progressbar--determinate-chromium-linux.png +0 -0
  521. package/e2e/table.spec.ts +0 -47
  522. package/e2e/table.spec.ts-snapshots/id-deprecated-table--default-chromium-linux.png +0 -0
  523. package/e2e/table.spec.ts-snapshots/id-table--default-chromium-darwin.png +0 -0
  524. package/e2e/table.spec.ts-snapshots/id-table--default-chromium-linux.png +0 -0
  525. package/e2e/table.spec.ts-snapshots/id-table--expandable-chromium-darwin.png +0 -0
  526. package/e2e/table.spec.ts-snapshots/id-table--expandable-chromium-linux.png +0 -0
  527. package/e2e/typography.spec.ts +0 -42
  528. package/e2e/typography.spec.ts-snapshots/id-foundations-typography--page-args-viewMode-story-chromium-linux.png +0 -0
  529. package/globalSetup.js +0 -9
  530. package/jest.config.js +0 -56
  531. package/ng-package.json +0 -9
  532. package/parse-a11y-linter.js +0 -79
  533. package/projects/client/src/app/app.component.html +0 -1
  534. package/projects/client/src/app/app.component.scss +0 -8
  535. package/projects/client/src/app/app.component.spec.ts +0 -27
  536. package/projects/client/src/app/app.component.ts +0 -37
  537. package/projects/client/src/app/app.routes.ts +0 -48
  538. package/projects/client/src/app/components/alert-banner/alert-banner.component.html +0 -15
  539. package/projects/client/src/app/components/alert-banner/alert-banner.component.scss +0 -0
  540. package/projects/client/src/app/components/alert-banner/alert-banner.component.ts +0 -26
  541. package/projects/client/src/app/components/avatar/avatar.component.html +0 -10
  542. package/projects/client/src/app/components/avatar/avatar.component.scss +0 -0
  543. package/projects/client/src/app/components/avatar/avatar.component.ts +0 -25
  544. package/projects/client/src/app/components/badge/badge.component.html +0 -11
  545. package/projects/client/src/app/components/badge/badge.component.scss +0 -0
  546. package/projects/client/src/app/components/badge/badge.component.ts +0 -22
  547. package/projects/client/src/app/components/button/button.component.html +0 -23
  548. package/projects/client/src/app/components/button/button.component.scss +0 -0
  549. package/projects/client/src/app/components/button/button.component.ts +0 -40
  550. package/projects/client/src/app/components/card/card.component.html +0 -8
  551. package/projects/client/src/app/components/card/card.component.scss +0 -0
  552. package/projects/client/src/app/components/card/card.component.ts +0 -17
  553. package/projects/client/src/app/components/checkbox/checkbox.component.html +0 -13
  554. package/projects/client/src/app/components/checkbox/checkbox.component.scss +0 -0
  555. package/projects/client/src/app/components/checkbox/checkbox.component.ts +0 -23
  556. package/projects/client/src/app/components/disabled-inputs/disabled-inputs.component.html +0 -169
  557. package/projects/client/src/app/components/disabled-inputs/disabled-inputs.component.scss +0 -19
  558. package/projects/client/src/app/components/disabled-inputs/disabled-inputs.component.spec.ts +0 -23
  559. package/projects/client/src/app/components/disabled-inputs/disabled-inputs.component.ts +0 -78
  560. package/projects/client/src/app/components/field/field.component.html +0 -28
  561. package/projects/client/src/app/components/field/field.component.scss +0 -0
  562. package/projects/client/src/app/components/field/field.component.ts +0 -37
  563. package/projects/client/src/app/components/icon/icon.component.html +0 -10
  564. package/projects/client/src/app/components/icon/icon.component.scss +0 -0
  565. package/projects/client/src/app/components/icon/icon.component.ts +0 -19
  566. package/projects/client/src/app/components/localisation/localisation.component.html +0 -8
  567. package/projects/client/src/app/components/localisation/localisation.component.scss +0 -0
  568. package/projects/client/src/app/components/localisation/localisation.component.spec.ts +0 -23
  569. package/projects/client/src/app/components/localisation/localisation.component.ts +0 -31
  570. package/projects/client/src/app/components/logo/logo.component.html +0 -8
  571. package/projects/client/src/app/components/logo/logo.component.scss +0 -0
  572. package/projects/client/src/app/components/logo/logo.component.ts +0 -18
  573. package/projects/client/src/app/components/radio/radio.component.html +0 -16
  574. package/projects/client/src/app/components/radio/radio.component.scss +0 -0
  575. package/projects/client/src/app/components/radio/radio.component.ts +0 -28
  576. package/projects/client/src/app/components/side-panel/side-panel.component.html +0 -2
  577. package/projects/client/src/app/components/side-panel/side-panel.component.scss +0 -0
  578. package/projects/client/src/app/components/side-panel/side-panel.component.ts +0 -28
  579. package/projects/client/src/app/components/snackbar/snackbar.component.html +0 -15
  580. package/projects/client/src/app/components/snackbar/snackbar.component.scss +0 -0
  581. package/projects/client/src/app/components/snackbar/snackbar.component.ts +0 -35
  582. package/projects/client/src/app/components/spinner/spinner.component.html +0 -7
  583. package/projects/client/src/app/components/spinner/spinner.component.scss +0 -0
  584. package/projects/client/src/app/components/spinner/spinner.component.ts +0 -16
  585. package/projects/client/src/app/components/tooltip/tooltip.component.html +0 -12
  586. package/projects/client/src/app/components/tooltip/tooltip.component.scss +0 -0
  587. package/projects/client/src/app/components/tooltip/tooltip.component.ts +0 -15
  588. package/projects/client/src/assets/.gitkeep +0 -0
  589. package/projects/client/src/assets/Avatar.png +0 -0
  590. package/projects/client/src/favicon.ico +0 -0
  591. package/projects/client/src/index.html +0 -13
  592. package/projects/client/src/main.ts +0 -15
  593. package/projects/client/src/styles.scss +0 -10
  594. package/projects/client/tsconfig.app.json +0 -14
  595. package/projects/client/tsconfig.spec.json +0 -14
  596. package/projects/tgo-canopy-ui/__mocks__/alert-bar.mock.ts +0 -18
  597. package/projects/tgo-canopy-ui/__mocks__/button.mock.ts +0 -34
  598. package/projects/tgo-canopy-ui/__mocks__/field.mock.ts +0 -10
  599. package/projects/tgo-canopy-ui/__mocks__/icon.mock.ts +0 -14
  600. package/projects/tgo-canopy-ui/__mocks__/tag.mock.ts +0 -9
  601. package/projects/tgo-canopy-ui/assets/.gitkeep +0 -0
  602. package/projects/tgo-canopy-ui/components/accordion/accordion.component.html +0 -44
  603. package/projects/tgo-canopy-ui/components/accordion/accordion.component.module.ts +0 -26
  604. package/projects/tgo-canopy-ui/components/accordion/accordion.component.scss +0 -326
  605. package/projects/tgo-canopy-ui/components/accordion/accordion.component.spec.ts +0 -37
  606. package/projects/tgo-canopy-ui/components/accordion/accordion.component.stories.ts +0 -245
  607. package/projects/tgo-canopy-ui/components/accordion/accordion.component.ts +0 -126
  608. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.html +0 -50
  609. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.module.ts +0 -13
  610. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.scss +0 -62
  611. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.spec.ts +0 -200
  612. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.stories.ts +0 -121
  613. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.ts +0 -184
  614. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.html +0 -391
  615. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.module.ts +0 -44
  616. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.scss +0 -338
  617. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.spec.ts +0 -532
  618. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.stories.ts +0 -152
  619. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.ts +0 -855
  620. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.model.ts +0 -28
  621. package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.spec.ts +0 -33
  622. package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.ts +0 -19
  623. package/projects/tgo-canopy-ui/components/autocomplete/prevent-input.directive.spec.ts +0 -46
  624. package/projects/tgo-canopy-ui/components/autocomplete/prevent-input.directive.ts +0 -18
  625. package/projects/tgo-canopy-ui/components/autocomplete/transform-Item.pipe.ts +0 -25
  626. package/projects/tgo-canopy-ui/components/autocomplete/transform-item.pipe.spec.ts +0 -25
  627. package/projects/tgo-canopy-ui/components/avatar/avatar.component.html +0 -32
  628. package/projects/tgo-canopy-ui/components/avatar/avatar.component.module.ts +0 -15
  629. package/projects/tgo-canopy-ui/components/avatar/avatar.component.scss +0 -81
  630. package/projects/tgo-canopy-ui/components/avatar/avatar.component.spec.ts +0 -58
  631. package/projects/tgo-canopy-ui/components/avatar/avatar.component.stories.ts +0 -113
  632. package/projects/tgo-canopy-ui/components/avatar/avatar.component.ts +0 -93
  633. package/projects/tgo-canopy-ui/components/avatar/avatar.model.ts +0 -27
  634. package/projects/tgo-canopy-ui/components/badge/badge.component.html +0 -16
  635. package/projects/tgo-canopy-ui/components/badge/badge.component.module.ts +0 -12
  636. package/projects/tgo-canopy-ui/components/badge/badge.component.scss +0 -203
  637. package/projects/tgo-canopy-ui/components/badge/badge.component.spec.ts +0 -67
  638. package/projects/tgo-canopy-ui/components/badge/badge.component.stories.ts +0 -69
  639. package/projects/tgo-canopy-ui/components/badge/badge.component.ts +0 -104
  640. package/projects/tgo-canopy-ui/components/badge/badge.model.ts +0 -64
  641. package/projects/tgo-canopy-ui/components/bars-demo/bars-demo.component.html +0 -11
  642. package/projects/tgo-canopy-ui/components/bars-demo/bars-demo.component.module.ts +0 -25
  643. package/projects/tgo-canopy-ui/components/bars-demo/bars-demo.component.scss +0 -0
  644. package/projects/tgo-canopy-ui/components/bars-demo/bars-demo.component.stories.ts +0 -30
  645. package/projects/tgo-canopy-ui/components/bars-demo/bars-demo.component.ts +0 -31
  646. package/projects/tgo-canopy-ui/components/button/button.component.html +0 -146
  647. package/projects/tgo-canopy-ui/components/button/button.component.module.ts +0 -29
  648. package/projects/tgo-canopy-ui/components/button/button.component.scss +0 -1051
  649. package/projects/tgo-canopy-ui/components/button/button.component.spec.ts +0 -288
  650. package/projects/tgo-canopy-ui/components/button/button.component.stories.ts +0 -516
  651. package/projects/tgo-canopy-ui/components/button/button.component.ts +0 -489
  652. package/projects/tgo-canopy-ui/components/button/button.model.ts +0 -28
  653. package/projects/tgo-canopy-ui/components/card/card.component.html +0 -17
  654. package/projects/tgo-canopy-ui/components/card/card.component.module.ts +0 -11
  655. package/projects/tgo-canopy-ui/components/card/card.component.scss +0 -153
  656. package/projects/tgo-canopy-ui/components/card/card.component.spec.ts +0 -116
  657. package/projects/tgo-canopy-ui/components/card/card.component.stories.ts +0 -102
  658. package/projects/tgo-canopy-ui/components/card/card.component.ts +0 -129
  659. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.html +0 -46
  660. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.module.ts +0 -20
  661. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.scss +0 -312
  662. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.spec.ts +0 -263
  663. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.stories.ts +0 -125
  664. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.ts +0 -343
  665. package/projects/tgo-canopy-ui/components/checkbox/focus-visible.directive.spec.ts +0 -26
  666. package/projects/tgo-canopy-ui/components/checkbox/focus-visible.directive.ts +0 -29
  667. package/projects/tgo-canopy-ui/components/checklist/checklist.component.html +0 -63
  668. package/projects/tgo-canopy-ui/components/checklist/checklist.component.scss +0 -145
  669. package/projects/tgo-canopy-ui/components/checklist/checklist.component.spec.ts +0 -212
  670. package/projects/tgo-canopy-ui/components/checklist/checklist.component.stories.ts +0 -85
  671. package/projects/tgo-canopy-ui/components/checklist/checklist.component.ts +0 -169
  672. package/projects/tgo-canopy-ui/components/checklist/checklist.model.ts +0 -8
  673. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.html +0 -20
  674. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.module.ts +0 -18
  675. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.scss +0 -3
  676. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.spec.ts +0 -42
  677. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.ts +0 -51
  678. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.model.ts +0 -13
  679. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.stories.ts +0 -37
  680. package/projects/tgo-canopy-ui/components/datepicker/date-adapter.spec.ts +0 -80
  681. package/projects/tgo-canopy-ui/components/datepicker/date-adapter.ts +0 -34
  682. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.html +0 -98
  683. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.module.ts +0 -33
  684. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.scss +0 -195
  685. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.spec.ts +0 -242
  686. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.stories.ts +0 -141
  687. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.ts +0 -391
  688. package/projects/tgo-canopy-ui/components/datepicker/datepicker.service.spec.ts +0 -30
  689. package/projects/tgo-canopy-ui/components/datepicker/datepicker.service.ts +0 -16
  690. package/projects/tgo-canopy-ui/components/datepicker/no-date-format.directive.spec.ts +0 -35
  691. package/projects/tgo-canopy-ui/components/datepicker/no-date-format.directive.ts +0 -43
  692. package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.html +0 -5
  693. package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.module.ts +0 -12
  694. package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.scss +0 -32
  695. package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.stories.ts +0 -31
  696. package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.ts +0 -54
  697. package/projects/tgo-canopy-ui/components/dialog/dialog.component.html +0 -62
  698. package/projects/tgo-canopy-ui/components/dialog/dialog.component.module.ts +0 -15
  699. package/projects/tgo-canopy-ui/components/dialog/dialog.component.scss +0 -133
  700. package/projects/tgo-canopy-ui/components/dialog/dialog.component.spec.ts +0 -225
  701. package/projects/tgo-canopy-ui/components/dialog/dialog.component.stories.ts +0 -60
  702. package/projects/tgo-canopy-ui/components/dialog/dialog.component.ts +0 -251
  703. package/projects/tgo-canopy-ui/components/dialog/dialog.model.ts +0 -13
  704. package/projects/tgo-canopy-ui/components/dialog/dialog.service.spec.ts +0 -58
  705. package/projects/tgo-canopy-ui/components/dialog/dialog.service.ts +0 -43
  706. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.html +0 -38
  707. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.module.ts +0 -12
  708. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.scss +0 -10
  709. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.spec.ts +0 -56
  710. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.stories.ts +0 -27
  711. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.ts +0 -47
  712. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.html +0 -33
  713. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.module.ts +0 -15
  714. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.scss +0 -12
  715. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.spec.ts +0 -80
  716. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.stories.ts +0 -30
  717. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.ts +0 -62
  718. package/projects/tgo-canopy-ui/components/divider/divider.component.html +0 -13
  719. package/projects/tgo-canopy-ui/components/divider/divider.component.module.ts +0 -11
  720. package/projects/tgo-canopy-ui/components/divider/divider.component.scss +0 -57
  721. package/projects/tgo-canopy-ui/components/divider/divider.component.spec.ts +0 -21
  722. package/projects/tgo-canopy-ui/components/divider/divider.component.stories.ts +0 -48
  723. package/projects/tgo-canopy-ui/components/divider/divider.component.ts +0 -54
  724. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.html +0 -43
  725. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.module.ts +0 -31
  726. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.scss +0 -281
  727. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.spec.ts +0 -232
  728. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.stories.ts +0 -248
  729. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.ts +0 -381
  730. package/projects/tgo-canopy-ui/components/dropdown/dropdown.model.ts +0 -5
  731. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.html +0 -3
  732. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.module.ts +0 -10
  733. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.scss +0 -41
  734. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.spec.ts +0 -39
  735. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.stories.ts +0 -59
  736. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.ts +0 -38
  737. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.constant.ts +0 -9
  738. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.html +0 -25
  739. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.module.ts +0 -13
  740. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.scss +0 -72
  741. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.spec.ts +0 -110
  742. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.stories.ts +0 -183
  743. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.ts +0 -210
  744. package/projects/tgo-canopy-ui/components/field/field.component.html +0 -137
  745. package/projects/tgo-canopy-ui/components/field/field.component.module.ts +0 -33
  746. package/projects/tgo-canopy-ui/components/field/field.component.scss +0 -538
  747. package/projects/tgo-canopy-ui/components/field/field.component.spec.ts +0 -264
  748. package/projects/tgo-canopy-ui/components/field/field.component.stories.ts +0 -215
  749. package/projects/tgo-canopy-ui/components/field/field.component.ts +0 -523
  750. package/projects/tgo-canopy-ui/components/field/field.model.ts +0 -11
  751. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.html +0 -110
  752. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.module.ts +0 -23
  753. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.scss +0 -206
  754. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.spec.ts +0 -135
  755. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.stories.ts +0 -96
  756. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.ts +0 -299
  757. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.html +0 -32
  758. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.module.ts +0 -14
  759. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.scss +0 -34
  760. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.spec.ts +0 -111
  761. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.stories.ts +0 -28
  762. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.ts +0 -74
  763. package/projects/tgo-canopy-ui/components/filter-button/filter-button.component.html +0 -122
  764. package/projects/tgo-canopy-ui/components/filter-button/filter-button.component.module.ts +0 -32
  765. package/projects/tgo-canopy-ui/components/filter-button/filter-button.component.scss +0 -113
  766. package/projects/tgo-canopy-ui/components/filter-button/filter-button.component.spec.ts +0 -189
  767. package/projects/tgo-canopy-ui/components/filter-button/filter-button.component.stories.ts +0 -172
  768. package/projects/tgo-canopy-ui/components/filter-button/filter-button.component.ts +0 -243
  769. package/projects/tgo-canopy-ui/components/filter-button/filter-button.model.ts +0 -9
  770. package/projects/tgo-canopy-ui/components/form-demo/form-demo-component.stories.ts +0 -45
  771. package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.html +0 -220
  772. package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.module.ts +0 -36
  773. package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.scss +0 -59
  774. package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.spec.ts +0 -129
  775. package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.ts +0 -228
  776. package/projects/tgo-canopy-ui/components/form-demo/form-demo.model.ts +0 -6
  777. package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.component.html +0 -92
  778. package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.component.scss +0 -161
  779. package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.component.spec.ts +0 -182
  780. package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.component.stories.ts +0 -113
  781. package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.component.ts +0 -275
  782. package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.module.ts +0 -26
  783. package/projects/tgo-canopy-ui/components/icon/icon.component.html +0 -5
  784. package/projects/tgo-canopy-ui/components/icon/icon.component.module.ts +0 -13
  785. package/projects/tgo-canopy-ui/components/icon/icon.component.scss +0 -72
  786. package/projects/tgo-canopy-ui/components/icon/icon.component.spec.ts +0 -156
  787. package/projects/tgo-canopy-ui/components/icon/icon.component.stories.ts +0 -68
  788. package/projects/tgo-canopy-ui/components/icon/icon.component.ts +0 -171
  789. package/projects/tgo-canopy-ui/components/icon/icon.config.ts +0 -700
  790. package/projects/tgo-canopy-ui/components/icon/icon.model.ts +0 -8
  791. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.html +0 -2
  792. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.module.ts +0 -12
  793. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.scss +0 -8
  794. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.spec.ts +0 -59
  795. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.stories.ts +0 -48
  796. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.ts +0 -53
  797. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.html +0 -17
  798. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.module.ts +0 -12
  799. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.scss +0 -25
  800. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.spec.ts +0 -60
  801. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.stories.ts +0 -44
  802. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.ts +0 -43
  803. package/projects/tgo-canopy-ui/components/login/login.component.scss +0 -0
  804. package/projects/tgo-canopy-ui/components/logo/logo.component.html +0 -14
  805. package/projects/tgo-canopy-ui/components/logo/logo.component.module.ts +0 -10
  806. package/projects/tgo-canopy-ui/components/logo/logo.component.scss +0 -13
  807. package/projects/tgo-canopy-ui/components/logo/logo.component.spec.ts +0 -166
  808. package/projects/tgo-canopy-ui/components/logo/logo.component.stories.ts +0 -55
  809. package/projects/tgo-canopy-ui/components/logo/logo.component.ts +0 -172
  810. package/projects/tgo-canopy-ui/components/logo/logo.model.ts +0 -30
  811. package/projects/tgo-canopy-ui/components/media-card/media-card.component.html +0 -17
  812. package/projects/tgo-canopy-ui/components/media-card/media-card.component.scss +0 -46
  813. package/projects/tgo-canopy-ui/components/media-card/media-card.component.spec.ts +0 -23
  814. package/projects/tgo-canopy-ui/components/media-card/media-card.component.stories.ts +0 -38
  815. package/projects/tgo-canopy-ui/components/media-card/media-card.component.ts +0 -46
  816. package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.html +0 -48
  817. package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.module.ts +0 -34
  818. package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.scss +0 -127
  819. package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.spec.ts +0 -87
  820. package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.stories.ts +0 -70
  821. package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.ts +0 -335
  822. package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.html +0 -84
  823. package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.scss +0 -150
  824. package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.spec.ts +0 -58
  825. package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.ts +0 -79
  826. package/projects/tgo-canopy-ui/components/navbar/navbar.component.html +0 -142
  827. package/projects/tgo-canopy-ui/components/navbar/navbar.component.module.ts +0 -38
  828. package/projects/tgo-canopy-ui/components/navbar/navbar.component.scss +0 -341
  829. package/projects/tgo-canopy-ui/components/navbar/navbar.component.spec.ts +0 -164
  830. package/projects/tgo-canopy-ui/components/navbar/navbar.component.stories.ts +0 -166
  831. package/projects/tgo-canopy-ui/components/navbar/navbar.component.ts +0 -227
  832. package/projects/tgo-canopy-ui/components/navbar/navbar.model.ts +0 -26
  833. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.html +0 -83
  834. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.module.ts +0 -17
  835. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.scss +0 -212
  836. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.spec.ts +0 -149
  837. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.stories.ts +0 -73
  838. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.ts +0 -221
  839. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.model.ts +0 -22
  840. package/projects/tgo-canopy-ui/components/page-header/page-header.component.html +0 -38
  841. package/projects/tgo-canopy-ui/components/page-header/page-header.component.module.ts +0 -12
  842. package/projects/tgo-canopy-ui/components/page-header/page-header.component.scss +0 -83
  843. package/projects/tgo-canopy-ui/components/page-header/page-header.component.spec.ts +0 -36
  844. package/projects/tgo-canopy-ui/components/page-header/page-header.component.stories.ts +0 -56
  845. package/projects/tgo-canopy-ui/components/page-header/page-header.component.ts +0 -55
  846. package/projects/tgo-canopy-ui/components/paginator/paginator.component.html +0 -11
  847. package/projects/tgo-canopy-ui/components/paginator/paginator.component.module.ts +0 -11
  848. package/projects/tgo-canopy-ui/components/paginator/paginator.component.scss +0 -159
  849. package/projects/tgo-canopy-ui/components/paginator/paginator.component.spec.ts +0 -80
  850. package/projects/tgo-canopy-ui/components/paginator/paginator.component.stories.ts +0 -36
  851. package/projects/tgo-canopy-ui/components/paginator/paginator.component.ts +0 -77
  852. package/projects/tgo-canopy-ui/components/password-criteria/password.component.html +0 -36
  853. package/projects/tgo-canopy-ui/components/password-criteria/password.component.module.ts +0 -22
  854. package/projects/tgo-canopy-ui/components/password-criteria/password.component.scss +0 -56
  855. package/projects/tgo-canopy-ui/components/password-criteria/password.component.spec.ts +0 -90
  856. package/projects/tgo-canopy-ui/components/password-criteria/password.component.stories.ts +0 -49
  857. package/projects/tgo-canopy-ui/components/password-criteria/password.component.ts +0 -116
  858. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.html +0 -19
  859. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.module.ts +0 -13
  860. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.scss +0 -54
  861. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.spec.ts +0 -81
  862. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.stories.ts +0 -50
  863. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.ts +0 -89
  864. package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.html +0 -2
  865. package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.scss +0 -0
  866. package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.spec.ts +0 -28
  867. package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.stories.ts +0 -40
  868. package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.ts +0 -20
  869. package/projects/tgo-canopy-ui/components/phone-input/join-string.pipe.spec.ts +0 -9
  870. package/projects/tgo-canopy-ui/components/phone-input/join-strings.pipe.ts +0 -8
  871. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.html +0 -64
  872. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.module.ts +0 -35
  873. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.scss +0 -133
  874. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.spec.ts +0 -264
  875. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.stories.ts +0 -89
  876. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.ts +0 -418
  877. package/projects/tgo-canopy-ui/components/phone-input/phone-input.model.ts +0 -8
  878. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.html +0 -22
  879. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.module.ts +0 -13
  880. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.scss +0 -164
  881. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.spec.ts +0 -76
  882. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.stories.ts +0 -49
  883. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.ts +0 -107
  884. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.html +0 -26
  885. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.module.ts +0 -12
  886. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.scss +0 -41
  887. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.spec.ts +0 -199
  888. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.stories.ts +0 -69
  889. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.ts +0 -114
  890. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.model.ts +0 -13
  891. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.html +0 -38
  892. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.module.ts +0 -17
  893. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.scss +0 -273
  894. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.spec.ts +0 -179
  895. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.stories.ts +0 -129
  896. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.ts +0 -358
  897. package/projects/tgo-canopy-ui/components/radio-button/radio-button.model.ts +0 -4
  898. package/projects/tgo-canopy-ui/components/rating/half-star.pipe.spec.ts +0 -33
  899. package/projects/tgo-canopy-ui/components/rating/half-star.pipe.ts +0 -17
  900. package/projects/tgo-canopy-ui/components/rating/rating.component.html +0 -32
  901. package/projects/tgo-canopy-ui/components/rating/rating.component.module.ts +0 -12
  902. package/projects/tgo-canopy-ui/components/rating/rating.component.scss +0 -139
  903. package/projects/tgo-canopy-ui/components/rating/rating.component.spec.ts +0 -137
  904. package/projects/tgo-canopy-ui/components/rating/rating.component.stories.ts +0 -87
  905. package/projects/tgo-canopy-ui/components/rating/rating.component.ts +0 -97
  906. package/projects/tgo-canopy-ui/components/scale/scale.component.html +0 -15
  907. package/projects/tgo-canopy-ui/components/scale/scale.component.module.ts +0 -12
  908. package/projects/tgo-canopy-ui/components/scale/scale.component.scss +0 -94
  909. package/projects/tgo-canopy-ui/components/scale/scale.component.spec.ts +0 -208
  910. package/projects/tgo-canopy-ui/components/scale/scale.component.stories.ts +0 -60
  911. package/projects/tgo-canopy-ui/components/scale/scale.component.ts +0 -140
  912. package/projects/tgo-canopy-ui/components/scale-table/__snapshots__/scale-table.component.spec.ts.snap +0 -37
  913. package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.html +0 -34
  914. package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.module.ts +0 -12
  915. package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.scss +0 -69
  916. package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.spec.ts +0 -54
  917. package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.stories.ts +0 -53
  918. package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.ts +0 -67
  919. package/projects/tgo-canopy-ui/components/scale-table/scale-table.model.ts +0 -10
  920. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.html +0 -84
  921. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.module.ts +0 -15
  922. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.scss +0 -247
  923. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.spec.ts +0 -81
  924. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.stories.ts +0 -115
  925. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.ts +0 -99
  926. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.model.ts +0 -13
  927. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.html +0 -18
  928. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.module.ts +0 -13
  929. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.scss +0 -97
  930. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.spec.ts +0 -104
  931. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.stories.ts +0 -87
  932. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.ts +0 -110
  933. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.model.ts +0 -9
  934. package/projects/tgo-canopy-ui/components/side-panel/side-panel.animations.ts +0 -28
  935. package/projects/tgo-canopy-ui/components/side-panel/side-panel.component.html +0 -31
  936. package/projects/tgo-canopy-ui/components/side-panel/side-panel.component.scss +0 -76
  937. package/projects/tgo-canopy-ui/components/side-panel/side-panel.component.spec.ts +0 -100
  938. package/projects/tgo-canopy-ui/components/side-panel/side-panel.component.ts +0 -72
  939. package/projects/tgo-canopy-ui/components/side-panel/side-panel.model.ts +0 -27
  940. package/projects/tgo-canopy-ui/components/side-panel/side-panel.service.spec.ts +0 -115
  941. package/projects/tgo-canopy-ui/components/side-panel/side-panel.service.ts +0 -97
  942. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.html +0 -37
  943. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.module.ts +0 -24
  944. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.scss +0 -96
  945. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.spec.ts +0 -177
  946. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.ts +0 -106
  947. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.model.ts +0 -12
  948. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.service.spec.ts +0 -117
  949. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.service.ts +0 -28
  950. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.html +0 -5
  951. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.scss +0 -14
  952. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.spec.ts +0 -26
  953. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.stories.ts +0 -54
  954. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.ts +0 -98
  955. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.module.ts +0 -12
  956. package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.html +0 -5
  957. package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.scss +0 -0
  958. package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.spec.ts +0 -75
  959. package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.stories.ts +0 -47
  960. package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.ts +0 -66
  961. package/projects/tgo-canopy-ui/components/skeleton/skeleton.model.ts +0 -3
  962. package/projects/tgo-canopy-ui/components/slider/slider.component.html +0 -185
  963. package/projects/tgo-canopy-ui/components/slider/slider.component.module.ts +0 -8
  964. package/projects/tgo-canopy-ui/components/slider/slider.component.scss +0 -230
  965. package/projects/tgo-canopy-ui/components/slider/slider.component.spec.ts +0 -210
  966. package/projects/tgo-canopy-ui/components/slider/slider.component.stories.ts +0 -117
  967. package/projects/tgo-canopy-ui/components/slider/slider.component.ts +0 -264
  968. package/projects/tgo-canopy-ui/components/slider/slider.model.ts +0 -6
  969. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.html +0 -53
  970. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.module.ts +0 -17
  971. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.scss +0 -44
  972. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.spec.ts +0 -211
  973. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.stories.ts +0 -160
  974. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.ts +0 -204
  975. package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.spec.ts +0 -138
  976. package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.ts +0 -40
  977. package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.component.html +0 -91
  978. package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.component.scss +0 -74
  979. package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.component.spec.ts +0 -261
  980. package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.component.stories.ts +0 -273
  981. package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.component.ts +0 -442
  982. package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.model.ts +0 -13
  983. package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.module.ts +0 -27
  984. package/projects/tgo-canopy-ui/components/spinner/spinner.component.html +0 -14
  985. package/projects/tgo-canopy-ui/components/spinner/spinner.component.scss +0 -98
  986. package/projects/tgo-canopy-ui/components/spinner/spinner.component.spec.ts +0 -122
  987. package/projects/tgo-canopy-ui/components/spinner/spinner.component.stories.ts +0 -52
  988. package/projects/tgo-canopy-ui/components/spinner/spinner.component.ts +0 -70
  989. package/projects/tgo-canopy-ui/components/spinner/spinner.module.ts +0 -11
  990. package/projects/tgo-canopy-ui/components/step/step.component.html +0 -131
  991. package/projects/tgo-canopy-ui/components/step/step.component.module.ts +0 -12
  992. package/projects/tgo-canopy-ui/components/step/step.component.scss +0 -431
  993. package/projects/tgo-canopy-ui/components/step/step.component.spec.ts +0 -61
  994. package/projects/tgo-canopy-ui/components/step/step.component.ts +0 -253
  995. package/projects/tgo-canopy-ui/components/stepper/stepper.component.html +0 -111
  996. package/projects/tgo-canopy-ui/components/stepper/stepper.component.module.ts +0 -25
  997. package/projects/tgo-canopy-ui/components/stepper/stepper.component.scss +0 -200
  998. package/projects/tgo-canopy-ui/components/stepper/stepper.component.spec.ts +0 -153
  999. package/projects/tgo-canopy-ui/components/stepper/stepper.component.stories.ts +0 -97
  1000. package/projects/tgo-canopy-ui/components/stepper/stepper.component.ts +0 -189
  1001. package/projects/tgo-canopy-ui/components/stepper/stepper.model.ts +0 -25
  1002. package/projects/tgo-canopy-ui/components/table/sentence-case.pipe.ts +0 -13
  1003. package/projects/tgo-canopy-ui/components/table/sentence-case.spec.ts +0 -53
  1004. package/projects/tgo-canopy-ui/components/table/table.component.html +0 -345
  1005. package/projects/tgo-canopy-ui/components/table/table.component.module.ts +0 -35
  1006. package/projects/tgo-canopy-ui/components/table/table.component.scss +0 -344
  1007. package/projects/tgo-canopy-ui/components/table/table.component.spec.ts +0 -187
  1008. package/projects/tgo-canopy-ui/components/table/table.component.stories.ts +0 -780
  1009. package/projects/tgo-canopy-ui/components/table/table.component.ts +0 -305
  1010. package/projects/tgo-canopy-ui/components/table/table.model.ts +0 -117
  1011. package/projects/tgo-canopy-ui/components/tabs/tab.directive.spec.ts +0 -77
  1012. package/projects/tgo-canopy-ui/components/tabs/tab.directive.ts +0 -53
  1013. package/projects/tgo-canopy-ui/components/tabs/tabs.component.html +0 -47
  1014. package/projects/tgo-canopy-ui/components/tabs/tabs.component.module.ts +0 -14
  1015. package/projects/tgo-canopy-ui/components/tabs/tabs.component.scss +0 -264
  1016. package/projects/tgo-canopy-ui/components/tabs/tabs.component.spec.ts +0 -308
  1017. package/projects/tgo-canopy-ui/components/tabs/tabs.component.stories.ts +0 -73
  1018. package/projects/tgo-canopy-ui/components/tabs/tabs.component.ts +0 -186
  1019. package/projects/tgo-canopy-ui/components/tabs/tabs.model.ts +0 -15
  1020. package/projects/tgo-canopy-ui/components/tag/tag.component.html +0 -30
  1021. package/projects/tgo-canopy-ui/components/tag/tag.component.module.ts +0 -16
  1022. package/projects/tgo-canopy-ui/components/tag/tag.component.scss +0 -148
  1023. package/projects/tgo-canopy-ui/components/tag/tag.component.spec.ts +0 -288
  1024. package/projects/tgo-canopy-ui/components/tag/tag.component.stories.ts +0 -128
  1025. package/projects/tgo-canopy-ui/components/tag/tag.component.ts +0 -225
  1026. package/projects/tgo-canopy-ui/components/toggle/toggle.component.html +0 -37
  1027. package/projects/tgo-canopy-ui/components/toggle/toggle.component.module.ts +0 -16
  1028. package/projects/tgo-canopy-ui/components/toggle/toggle.component.scss +0 -273
  1029. package/projects/tgo-canopy-ui/components/toggle/toggle.component.spec.ts +0 -240
  1030. package/projects/tgo-canopy-ui/components/toggle/toggle.component.stories.ts +0 -105
  1031. package/projects/tgo-canopy-ui/components/toggle/toggle.component.ts +0 -201
  1032. package/projects/tgo-canopy-ui/components/tooltip/tooltip-template.directive.spec.ts +0 -84
  1033. package/projects/tgo-canopy-ui/components/tooltip/tooltip-template.directive.ts +0 -148
  1034. package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.html +0 -52
  1035. package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.module.ts +0 -17
  1036. package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.spec.ts +0 -53
  1037. package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.stories.ts +0 -296
  1038. package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.ts +0 -105
  1039. package/projects/tgo-canopy-ui/components/tooltip/tooltip.model.ts +0 -9
  1040. package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.html +0 -80
  1041. package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.module.ts +0 -26
  1042. package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.scss +0 -135
  1043. package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.spec.ts +0 -61
  1044. package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.stories.ts +0 -109
  1045. package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.ts +0 -88
  1046. package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.html +0 -8
  1047. package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.ts +0 -30
  1048. package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.scss +0 -12
  1049. package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.spec.ts +0 -130
  1050. package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.stories.ts +0 -168
  1051. package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.ts +0 -125
  1052. package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.html +0 -34
  1053. package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.scss +0 -0
  1054. package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.spec.ts +0 -75
  1055. package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.ts +0 -46
  1056. package/projects/tgo-canopy-ui/components/validation-error/validation-error.module.ts +0 -12
  1057. package/projects/tgo-canopy-ui/directives/digits-only.directive.spec.ts +0 -156
  1058. package/projects/tgo-canopy-ui/directives/digits-only.directive.ts +0 -65
  1059. package/projects/tgo-canopy-ui/directives/drag-drop.directive.spec.ts +0 -84
  1060. package/projects/tgo-canopy-ui/directives/drag-drop.directive.ts +0 -39
  1061. package/projects/tgo-canopy-ui/directives/dynamic-component.directive.ts +0 -46
  1062. package/projects/tgo-canopy-ui/directives/ellipse-text.directive.spec.ts +0 -57
  1063. package/projects/tgo-canopy-ui/directives/ellipse-text.directive.ts +0 -40
  1064. package/projects/tgo-canopy-ui/directives/select-text.directive.spec.ts +0 -54
  1065. package/projects/tgo-canopy-ui/directives/select-text.directive.ts +0 -37
  1066. package/projects/tgo-canopy-ui/directives/step-line-element.directive.spec.ts +0 -97
  1067. package/projects/tgo-canopy-ui/directives/step-line-element.directive.ts +0 -43
  1068. package/projects/tgo-canopy-ui/foundations/colors/colors.component.html +0 -4
  1069. package/projects/tgo-canopy-ui/foundations/colors/colors.component.module.ts +0 -10
  1070. package/projects/tgo-canopy-ui/foundations/colors/colors.component.scss +0 -322
  1071. package/projects/tgo-canopy-ui/foundations/colors/colors.component.spec.ts +0 -47
  1072. package/projects/tgo-canopy-ui/foundations/colors/colors.component.ts +0 -22
  1073. package/projects/tgo-canopy-ui/foundations/colors/colors.stories.ts +0 -437
  1074. package/projects/tgo-canopy-ui/foundations/typography/typography.stories.ts +0 -195
  1075. package/projects/tgo-canopy-ui/mocked-assets/images/some_progress.svg +0 -4
  1076. package/projects/tgo-canopy-ui/models/colors.model.ts +0 -88
  1077. package/projects/tgo-canopy-ui/models/keyboard-events.model.ts +0 -11
  1078. package/projects/tgo-canopy-ui/models/screen-breakpoints.model.ts +0 -4
  1079. package/projects/tgo-canopy-ui/models/universal-skills-report.model.ts +0 -53
  1080. package/projects/tgo-canopy-ui/pipes/data-property-getter.spec.ts +0 -63
  1081. package/projects/tgo-canopy-ui/pipes/data-property-getter.ts +0 -31
  1082. package/projects/tgo-canopy-ui/pipes/has-validation-error.pipe.spec.ts +0 -32
  1083. package/projects/tgo-canopy-ui/pipes/has-validation-error.pipe.ts +0 -20
  1084. package/projects/tgo-canopy-ui/pipes/memoize-func.pipe.spec.ts +0 -28
  1085. package/projects/tgo-canopy-ui/pipes/memoize-func.pipe.ts +0 -34
  1086. package/projects/tgo-canopy-ui/pipes/name-initials.pipe.spec.ts +0 -44
  1087. package/projects/tgo-canopy-ui/pipes/name-initials.pipe.ts +0 -18
  1088. package/projects/tgo-canopy-ui/pipes/ui-ordinal-suffix.pipe.spec.ts +0 -43
  1089. package/projects/tgo-canopy-ui/pipes/ui-ordinal-suffix.pipe.ts +0 -28
  1090. package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.spec.ts +0 -66
  1091. package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.ts +0 -79
  1092. package/projects/tgo-canopy-ui/polyfills.ts +0 -51
  1093. package/projects/tgo-canopy-ui/providers/is-mobile.ts +0 -11
  1094. package/projects/tgo-canopy-ui/public-api.ts +0 -227
  1095. package/projects/tgo-canopy-ui/services/custom-event-manager.service.spec.ts +0 -57
  1096. package/projects/tgo-canopy-ui/services/custom-event-manager.service.ts +0 -28
  1097. package/projects/tgo-canopy-ui/services/icons.service.spec.ts +0 -35
  1098. package/projects/tgo-canopy-ui/services/icons.service.ts +0 -16
  1099. package/projects/tgo-canopy-ui/services/universal-skills.service.spec.ts +0 -50
  1100. package/projects/tgo-canopy-ui/services/universal-skills.service.ts +0 -91
  1101. package/projects/tgo-canopy-ui/test-utils/mock-file.spec.ts +0 -44
  1102. package/projects/tgo-canopy-ui/test-utils/mock-file.ts +0 -24
  1103. package/projects/tgo-canopy-ui/test.ts +0 -20
  1104. package/projects/tgo-canopy-ui/utils/alert-bars.utils.spec.ts +0 -47
  1105. package/projects/tgo-canopy-ui/utils/alert-bars.utils.ts +0 -37
  1106. package/projects/tgo-canopy-ui/utils/autocomplete-utils.spec.ts +0 -68
  1107. package/projects/tgo-canopy-ui/utils/autocomplete-utils.ts +0 -84
  1108. package/projects/tgo-canopy-ui/utils/color-contrast.spec.ts +0 -46
  1109. package/projects/tgo-canopy-ui/utils/color-contrast.ts +0 -135
  1110. package/projects/tgo-canopy-ui/utils/hex-to-rgb.spec.ts +0 -23
  1111. package/projects/tgo-canopy-ui/utils/hex-to-rgb.ts +0 -10
  1112. package/projects/tgo-canopy-ui/utils/localization/language.model.ts +0 -14
  1113. package/projects/tgo-canopy-ui/utils/localization/language.service.mocks.ts +0 -6
  1114. package/projects/tgo-canopy-ui/utils/localization/language.service.spec.ts +0 -25
  1115. package/projects/tgo-canopy-ui/utils/localization/language.service.ts +0 -43
  1116. package/projects/tgo-canopy-ui/utils/table.utils.spec.ts +0 -47
  1117. package/projects/tgo-canopy-ui/utils/table.utils.ts +0 -22
  1118. package/projects/tgo-canopy-ui/utils/transform-theme.ts +0 -9
  1119. package/projects/tgo-canopy-ui/utils/transform.theme.spec.ts +0 -16
  1120. package/projects/tgo-canopy-ui/utils/validators.utils.spec.ts +0 -16
  1121. package/projects/tgo-canopy-ui/utils/validators.utils.ts +0 -9
  1122. package/setupJest.ts +0 -1
  1123. package/transloco.config.js +0 -5
  1124. package/tsconfig.json +0 -46
  1125. package/tsconfig.spec.json +0 -17
  1126. package/tsconfig.ui.json +0 -24
  1127. package/tsconfig.ui.prod.json +0 -10
  1128. package/visual-tests/component-page-objects/alert-banner-component.ts +0 -44
  1129. package/visual-tests/component-page-objects/avatar-component.ts +0 -30
  1130. package/visual-tests/component-page-objects/badge-component.ts +0 -33
  1131. package/visual-tests/component-page-objects/base-component.ts +0 -44
  1132. package/visual-tests/component-page-objects/button-component.ts +0 -58
  1133. package/visual-tests/component-page-objects/card-component.ts +0 -28
  1134. package/visual-tests/component-page-objects/checkbox-component.ts +0 -38
  1135. package/visual-tests/component-page-objects/field-component.ts +0 -68
  1136. package/visual-tests/component-page-objects/icon-component.ts +0 -32
  1137. package/visual-tests/component-page-objects/logo-component.ts +0 -28
  1138. package/visual-tests/component-page-objects/radio-button-component.ts +0 -44
  1139. package/visual-tests/component-page-objects/snackbar-component.ts +0 -43
  1140. package/visual-tests/component-page-objects/spinner-component.ts +0 -26
  1141. package/visual-tests/component-page-objects/tooltip-component.ts +0 -26
  1142. package/visual-tests/component-tests/alert-banner.spec.ts +0 -64
  1143. package/visual-tests/component-tests/alert-banner.spec.ts-snapshots/Alert-Banner-Component-Visual-Tests-should-display-the-Alert-Banner-correctly-1-chromium-linux.png +0 -0
  1144. package/visual-tests/component-tests/alert-banner.spec.ts-snapshots/Alert-Banner-Component-Visual-Tests-should-display-the-Alert-Banner-with-dismiss-button-1-chromium-linux.png +0 -0
  1145. package/visual-tests/component-tests/alert-banner.spec.ts-snapshots/Alert-Banner-Component-Visual-Tests-should-display-the-Alert-Banner-with-link-1-chromium-linux.png +0 -0
  1146. package/visual-tests/component-tests/alert-banner.spec.ts-snapshots/Alert-Banner-Component-Visual-Tests-should-display-the-Alert-Callout-correctly-1-chromium-linux.png +0 -0
  1147. package/visual-tests/component-tests/avatar.spec.ts +0 -91
  1148. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-allow-edit-for-the-avatar-1-chromium-linux.png +0 -0
  1149. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-large-avatar-1-chromium-linux.png +0 -0
  1150. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-medium-avatar-1-chromium-linux.png +0 -0
  1151. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-small-avatar-1-chromium-linux.png +0 -0
  1152. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-the-avatar-correctly-1-chromium-linux.png +0 -0
  1153. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-the-avatar-image-1-chromium-linux.png +0 -0
  1154. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-emit-edit-click-event-1-chromium-linux.png +0 -0
  1155. package/visual-tests/component-tests/badge.spec.ts +0 -56
  1156. package/visual-tests/component-tests/badge.spec.ts-snapshots/Badge-Component-Visual-Tests-should-display-notification-badge-1-chromium-linux.png +0 -0
  1157. package/visual-tests/component-tests/badge.spec.ts-snapshots/Badge-Component-Visual-Tests-should-display-secondary-badge-1-chromium-linux.png +0 -0
  1158. package/visual-tests/component-tests/badge.spec.ts-snapshots/Badge-Component-Visual-Tests-should-display-the-badge-correctly-1-chromium-linux.png +0 -0
  1159. package/visual-tests/component-tests/badge.spec.ts-snapshots/Badge-Component-Visual-Tests-should-display-the-badge-with-icon-1-chromium-linux.png +0 -0
  1160. package/visual-tests/component-tests/button.spec.ts +0 -371
  1161. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-Button-full-width-1-chromium-linux.png +0 -0
  1162. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-Button-icon-left-1-chromium-linux.png +0 -0
  1163. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-Button-icon-right-1-chromium-linux.png +0 -0
  1164. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-Button-menu-cell-1-chromium-linux.png +0 -0
  1165. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-Button-menu-trigger-1-chromium-linux.png +0 -0
  1166. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-destructive-button-1-chromium-linux.png +0 -0
  1167. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-disabled-Button-1-chromium-linux.png +0 -0
  1168. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-disabled-scale-1-chromium-linux.png +0 -0
  1169. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-ghost-button-1-chromium-linux.png +0 -0
  1170. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-only-Button-icon-1-chromium-linux.png +0 -0
  1171. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-premium-Button-1-chromium-linux.png +0 -0
  1172. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-secondary-button-1-chromium-linux.png +0 -0
  1173. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-tertiary-button-1-chromium-linux.png +0 -0
  1174. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-text-button-1-chromium-linux.png +0 -0
  1175. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-the-Button-correctly-1-chromium-linux.png +0 -0
  1176. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-the-Button-link-1-chromium-linux.png +0 -0
  1177. package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-emit-edit-click-event-1-chromium-linux.png +0 -0
  1178. package/visual-tests/component-tests/card.spec.ts +0 -64
  1179. package/visual-tests/component-tests/card.spec.ts-snapshots/Card-Component-Visual-Tests-should-display-the-card-correctly-1-chromium-linux.png +0 -0
  1180. package/visual-tests/component-tests/card.spec.ts-snapshots/Card-Component-Visual-Tests-should-display-the-card-with-errors-1-chromium-linux.png +0 -0
  1181. package/visual-tests/component-tests/card.spec.ts-snapshots/Card-Component-Visual-Tests-should-display-the-large-card-1-chromium-linux.png +0 -0
  1182. package/visual-tests/component-tests/card.spec.ts-snapshots/Card-Component-Visual-Tests-should-display-the-small-card-1-chromium-linux.png +0 -0
  1183. package/visual-tests/component-tests/card.spec.ts-snapshots/Card-Component-Visual-Tests-should-display-the-state-card-1-chromium-linux.png +0 -0
  1184. package/visual-tests/component-tests/checkbox.spec.ts +0 -151
  1185. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-checked-1-chromium-linux.png +0 -0
  1186. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-correctly-1-chromium-linux.png +0 -0
  1187. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-disabled-1-chromium-linux.png +0 -0
  1188. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-error-1-chromium-linux.png +0 -0
  1189. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-indeterminate-1-chromium-linux.png +0 -0
  1190. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-multiple-1-chromium-linux.png +0 -0
  1191. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-multiple-error-1-chromium-linux.png +0 -0
  1192. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-set-company-color-1-chromium-linux.png +0 -0
  1193. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-without-lable-1-chromium-linux.png +0 -0
  1194. package/visual-tests/component-tests/field.spec.ts +0 -514
  1195. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-Collapsed-search-1-chromium-linux.png +0 -0
  1196. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-correctly-1-chromium-linux.png +0 -0
  1197. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-disable-1-chromium-linux.png +0 -0
  1198. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-email-1-chromium-linux.png +0 -0
  1199. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-loading-1-chromium-linux.png +0 -0
  1200. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-multi-line-1-chromium-linux.png +0 -0
  1201. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-number-1-chromium-linux.png +0 -0
  1202. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-password-1-chromium-linux.png +0 -0
  1203. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-required-1-chromium-linux.png +0 -0
  1204. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-search-1-chromium-linux.png +0 -0
  1205. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-tel-1-chromium-linux.png +0 -0
  1206. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-textarea-1-chromium-linux.png +0 -0
  1207. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-validation-text-1-chromium-linux.png +0 -0
  1208. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-with-errors-1-chromium-linux.png +0 -0
  1209. package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-without-label-1-chromium-linux.png +0 -0
  1210. package/visual-tests/component-tests/icon.spec.ts +0 -41
  1211. package/visual-tests/component-tests/icon.spec.ts-snapshots/Icon-Component-Visual-Tests-should-display-red-the-icon-color-1-chromium-linux.png +0 -0
  1212. package/visual-tests/component-tests/icon.spec.ts-snapshots/Icon-Component-Visual-Tests-should-display-the-icon-correctly-1-chromium-linux.png +0 -0
  1213. package/visual-tests/component-tests/icon.spec.ts-snapshots/Icon-Component-Visual-Tests-should-display-the-icon-small-size-1-chromium-linux.png +0 -0
  1214. package/visual-tests/component-tests/logo.spec.ts +0 -54
  1215. package/visual-tests/component-tests/logo.spec.ts-snapshots/Logo-Component-Visual-Tests-should-display-the-logo-correctly-1-chromium-linux.png +0 -0
  1216. package/visual-tests/component-tests/logo.spec.ts-snapshots/Logo-Component-Visual-Tests-should-display-the-logo-custom-width-1-chromium-linux.png +0 -0
  1217. package/visual-tests/component-tests/logo.spec.ts-snapshots/Logo-Component-Visual-Tests-should-display-the-logo-powered-by-1-chromium-linux.png +0 -0
  1218. package/visual-tests/component-tests/logo.spec.ts-snapshots/Logo-Component-Visual-Tests-should-display-the-logo-reverse-1-chromium-linux.png +0 -0
  1219. package/visual-tests/component-tests/radio-button.spec.ts +0 -115
  1220. package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-correctly-1-chromium-linux.png +0 -0
  1221. package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-disable-1-chromium-linux.png +0 -0
  1222. package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-multiple-error-1-chromium-linux.png +0 -0
  1223. package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-selected-1-chromium-linux.png +0 -0
  1224. package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-single-error-1-chromium-linux.png +0 -0
  1225. package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-with-label-1-chromium-linux.png +0 -0
  1226. package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-with-label-multiple-1-chromium-linux.png +0 -0
  1227. package/visual-tests/component-tests/snackbar.spec.ts +0 -107
  1228. package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-correctly-1-chromium-linux.png +0 -0
  1229. package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-error-1-chromium-linux.png +0 -0
  1230. package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-hyperlink-1-chromium-linux.png +0 -0
  1231. package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-info-1-chromium-linux.png +0 -0
  1232. package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-mobile-variant-1-chromium-linux.png +0 -0
  1233. package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-without-dismiss-button-1-chromium-linux.png +0 -0
  1234. package/visual-tests/component-tests/spinner.spec.ts +0 -25
  1235. package/visual-tests/component-tests/spinner.spec.ts-snapshots/Spinner-Component-Visual-Tests-should-display-the-spinner-correctly-1-chromium-linux.png +0 -0
  1236. package/visual-tests/component-tests/spinner.spec.ts-snapshots/Spinner-Component-Visual-Tests-should-display-the-spinner-small-1-chromium-linux.png +0 -0
  1237. package/visual-tests/component-tests/tooltip.spec.ts +0 -17
  1238. package/visual-tests/component-tests/tooltip.spec.ts-snapshots/Tooltip-Component-Visual-Tests-should-display-the-tooltip-correctly-1-chromium-linux.png +0 -0
  1239. package/visual-tests/playwright.config.ts +0 -45
  1240. package/visual-tests/runConfig.ts +0 -1
  1241. /package/{projects/tgo-canopy-ui/components/accordion/accordion.model.ts → components/accordion/accordion.model.d.ts} +0 -0
  1242. /package/{projects/tgo-canopy-ui/components/alert-banner/alert-banner.model.ts → components/alert-banner/alert-banner.model.d.ts} +0 -0
  1243. /package/{projects/tgo-canopy-ui/components/card/card.model.ts → components/card/card.model.d.ts} +0 -0
  1244. /package/{projects/tgo-canopy-ui/components/divider/divider.model.ts → components/divider/divider.model.d.ts} +0 -0
  1245. /package/{projects/tgo-canopy-ui/components/empty-state/empty-state.model.ts → components/empty-state/empty-state.model.d.ts} +0 -0
  1246. /package/{projects/tgo-canopy-ui/components/multi-input/multi-input.model.ts → components/multi-input/multi-input.model.d.ts} +0 -0
  1247. /package/{projects/tgo-canopy-ui/components/snackbar/snackbar.model.ts → components/snackbar/snackbar.model.d.ts} +0 -0
  1248. /package/{projects/tgo-canopy-ui/components/spinner/spinner.model.ts → components/spinner/spinner.model.d.ts} +0 -0
  1249. /package/{projects/tgo-canopy-ui/components/tag/tag.model.ts → components/tag/tag.model.d.ts} +0 -0
  1250. /package/{projects/tgo-canopy-ui/components/toggle/toggle.model.ts → components/toggle/toggle.model.d.ts} +0 -0
  1251. /package/{projects/tgo-canopy-ui/components/validation-error/validation-error.model.ts → components/validation-error/validation-error.model.d.ts} +0 -0
  1252. /package/{projects/tgo-canopy-ui/models/application-theme.model.ts → models/application-theme.model.d.ts} +0 -0
  1253. /package/{projects/tgo-canopy-ui/models/checkbox.model.ts → models/checkbox.model.d.ts} +0 -0
  1254. /package/{projects/tgo-canopy-ui/utils/alert-bar.model.ts → utils/alert-bar.model.d.ts} +0 -0
@@ -0,0 +1,26 @@
1
+ import { animate, state, style, transition, trigger } from '@angular/animations';
2
+ import { SidePanelAnimationState } from './side-panel.model';
3
+ export const sidePanelAnimationDuration = 150;
4
+ export const sidePanelAnimation = [
5
+ trigger('slideInOut', [
6
+ state(`${SidePanelAnimationState.Open}`, style({ transform: 'translateX(0)' })),
7
+ state(`${SidePanelAnimationState.ClosedRight}`, style({ transform: 'translateX(100%)' })),
8
+ state(`${SidePanelAnimationState.ClosedLeft}`, style({ transform: 'translateX(-100%)' })),
9
+ transition(`${SidePanelAnimationState.Open} <=> ${SidePanelAnimationState.ClosedRight}`, [
10
+ animate(`${sidePanelAnimationDuration}ms ease-in-out`),
11
+ ]),
12
+ transition(`${SidePanelAnimationState.Open} <=> ${SidePanelAnimationState.ClosedLeft}`, [
13
+ animate(`${sidePanelAnimationDuration}ms ease-in-out`),
14
+ ]),
15
+ ]),
16
+ ];
17
+ export const backdropAnimation = [
18
+ trigger('fadeInOut', [
19
+ state(`${SidePanelAnimationState.Open}`, style({ opacity: 0.25 })),
20
+ state(`${SidePanelAnimationState.Closed}`, style({ opacity: 0 })),
21
+ transition(`${SidePanelAnimationState.Open} <=> ${SidePanelAnimationState.Closed}`, [
22
+ animate(`${sidePanelAnimationDuration}ms ease-in-out`),
23
+ ]),
24
+ ]),
25
+ ];
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1wYW5lbC5hbmltYXRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL3NpZGUtcGFuZWwvc2lkZS1wYW5lbC5hbmltYXRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDakYsT0FBTyxFQUFFLH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+ import { AsyncPipe } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, computed, inject, signal, viewChild, ViewContainerRef } from '@angular/core';
3
+ import { UiTranslatePipe } from '../../pipes/ui-translate.pipe';
4
+ import { LanguageService } from '../../utils/localization/language.service';
5
+ import { ButtonComponentModule } from '../button/button.component.module';
6
+ import { TooltipComponentModule } from '../tooltip/tooltip.component.module';
7
+ import { backdropAnimation, sidePanelAnimation, sidePanelAnimationDuration } from './side-panel.animations';
8
+ import { SidePanelAnimationState, SidePanelConfig } from './side-panel.model';
9
+ import { SidePanelService } from './side-panel.service';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "../button/button.component";
12
+ export class SidePanelComponent {
13
+ constructor() {
14
+ this.title = '';
15
+ this.showBackButton = false;
16
+ this.sidePanelPosition = signal('right');
17
+ this.sidePanelContainer = viewChild.required('sidePanelContainer', { read: ViewContainerRef });
18
+ this.sidePanel = viewChild.required('sidePanel');
19
+ this.backdrop = viewChild.required('sidePanelBackdrop');
20
+ this.language = LanguageService.defaultLanguage;
21
+ this.isOpen = signal(false);
22
+ this.animation = computed(() => {
23
+ if (this.isOpen()) {
24
+ return SidePanelAnimationState.Open;
25
+ }
26
+ return this.sidePanelPosition() === 'left'
27
+ ? SidePanelAnimationState.ClosedLeft
28
+ : SidePanelAnimationState.ClosedRight;
29
+ });
30
+ this.sidePanelService = inject(SidePanelService);
31
+ this.sidePanelConfig = inject(SidePanelConfig);
32
+ const { position, showBackButton, title } = this.sidePanelConfig;
33
+ this.sidePanelPosition.set(position);
34
+ this.showBackButton = showBackButton;
35
+ this.title = title;
36
+ }
37
+ open() {
38
+ setTimeout(() => {
39
+ this.isOpen.set(true);
40
+ });
41
+ }
42
+ close() {
43
+ this.isOpen.set(false);
44
+ setTimeout(() => {
45
+ this.sidePanelService.destroyComponent();
46
+ }, sidePanelAnimationDuration);
47
+ }
48
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SidePanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
49
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SidePanelComponent, isStandalone: true, selector: "ui-side-panel", viewQueries: [{ propertyName: "sidePanelContainer", first: true, predicate: ["sidePanelContainer"], descendants: true, read: ViewContainerRef, isSignal: true }, { propertyName: "sidePanel", first: true, predicate: ["sidePanel"], descendants: true, isSignal: true }, { propertyName: "backdrop", first: true, predicate: ["sidePanelBackdrop"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"side-panel-backdrop\" #sidePanelBackdrop (click)=\"close()\" [@fadeInOut]=\"isOpen() ? 'open' : 'closed'\"></div>\n<div class=\"side-panel\" #sidePanel [@slideInOut]=\"animation()\">\n <div class=\"side-panel-header\">\n <div class=\"side-panel-title-container\">\n @if (showBackButton) {\n <ui-button\n class=\"side-panel-action\"\n [variant]=\"'icon-button'\"\n [iconName]=\"'Arrow-chevron-left-filled'\"\n (click)=\"close()\"\n [tooltip]=\"(('COMMON.BACK') | uiTranslate | async)!\"\n size=\"medium\"\n ></ui-button>\n }\n <span class=\"side-panel-title\">{{ title }}</span>\n </div>\n\n <ui-button\n class=\"side-panel-action\"\n [variant]=\"'icon-button'\"\n [iconName]=\"'Close'\"\n [tooltip]=\"(('COMMON.CLOSE') | uiTranslate | async)!\"\n (click)=\"close()\"\n size=\"medium\"\n ></ui-button>\n </div>\n\n <div class=\"side-panel-content\">\n <ng-container #sidePanelContainer></ng-container>\n </div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.side-panel{position:fixed;top:0;bottom:0;width:600px;background-color:#fff;padding:32px;box-shadow:2px 24px 48px 8px #00000014;z-index:999999;display:flex;flex-direction:column;will-change:transform;transform:translate(100%)}@media (max-width: 600px){.side-panel{width:100%}}.side-panel-action{margin-top:1px}.side-panel-title-container{display:flex;gap:8px}.side-panel.left{left:0}.side-panel.right{right:0}.side-panel-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#000;z-index:899;opacity:0}.side-panel-title{font-weight:900;font-size:24px;display:block;display:-webkit-box;max-height:3em;line-height:1.5em;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal}.side-panel-content{margin-top:40px;overflow:auto}.side-panel-header{position:sticky;min-height:30px;display:flex;justify-content:space-between}\n"], dependencies: [{ kind: "ngmodule", type: TooltipComponentModule }, { kind: "ngmodule", type: ButtonComponentModule }, { kind: "component", type: i1.ButtonComponent, selector: "ui-button", inputs: ["size", "variant", "label", "iconPosition", "justIcon", "iconName", "disabled", "loading", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaRequired", "ariaLabelledby", "ariaDescribedby", "preventDefault", "hasBackground", "tooltipPosition", "role"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "pipe", type: UiTranslatePipe, name: "uiTranslate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [sidePanelAnimation, backdropAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
50
+ }
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SidePanelComponent, decorators: [{
52
+ type: Component,
53
+ args: [{ selector: 'ui-side-panel', animations: [sidePanelAnimation, backdropAnimation], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [TooltipComponentModule, ButtonComponentModule, UiTranslatePipe, AsyncPipe], template: "<div class=\"side-panel-backdrop\" #sidePanelBackdrop (click)=\"close()\" [@fadeInOut]=\"isOpen() ? 'open' : 'closed'\"></div>\n<div class=\"side-panel\" #sidePanel [@slideInOut]=\"animation()\">\n <div class=\"side-panel-header\">\n <div class=\"side-panel-title-container\">\n @if (showBackButton) {\n <ui-button\n class=\"side-panel-action\"\n [variant]=\"'icon-button'\"\n [iconName]=\"'Arrow-chevron-left-filled'\"\n (click)=\"close()\"\n [tooltip]=\"(('COMMON.BACK') | uiTranslate | async)!\"\n size=\"medium\"\n ></ui-button>\n }\n <span class=\"side-panel-title\">{{ title }}</span>\n </div>\n\n <ui-button\n class=\"side-panel-action\"\n [variant]=\"'icon-button'\"\n [iconName]=\"'Close'\"\n [tooltip]=\"(('COMMON.CLOSE') | uiTranslate | async)!\"\n (click)=\"close()\"\n size=\"medium\"\n ></ui-button>\n </div>\n\n <div class=\"side-panel-content\">\n <ng-container #sidePanelContainer></ng-container>\n </div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.side-panel{position:fixed;top:0;bottom:0;width:600px;background-color:#fff;padding:32px;box-shadow:2px 24px 48px 8px #00000014;z-index:999999;display:flex;flex-direction:column;will-change:transform;transform:translate(100%)}@media (max-width: 600px){.side-panel{width:100%}}.side-panel-action{margin-top:1px}.side-panel-title-container{display:flex;gap:8px}.side-panel.left{left:0}.side-panel.right{right:0}.side-panel-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#000;z-index:899;opacity:0}.side-panel-title{font-weight:900;font-size:24px;display:block;display:-webkit-box;max-height:3em;line-height:1.5em;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal}.side-panel-content{margin-top:40px;overflow:auto}.side-panel-header{position:sticky;min-height:30px;display:flex;justify-content:space-between}\n"] }]
54
+ }], ctorParameters: () => [] });
55
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1wYW5lbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy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c2UoKVwiXG4gICAgICBzaXplPVwibWVkaXVtXCJcbiAgICA+PC91aS1idXR0b24+XG4gIDwvZGl2PlxuXG4gIDxkaXYgY2xhc3M9XCJzaWRlLXBhbmVsLWNvbnRlbnRcIj5cbiAgICA8bmctY29udGFpbmVyICNzaWRlUGFuZWxDb250YWluZXI+PC9uZy1jb250YWluZXI+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,20 @@
1
+ import { InjectionToken } from "@angular/core";
2
+ export var SidePanelAnimationState;
3
+ (function (SidePanelAnimationState) {
4
+ SidePanelAnimationState["Open"] = "open";
5
+ SidePanelAnimationState["Closed"] = "closed";
6
+ SidePanelAnimationState["ClosedRight"] = "closedRight";
7
+ SidePanelAnimationState["ClosedLeft"] = "closedLeft";
8
+ })(SidePanelAnimationState || (SidePanelAnimationState = {}));
9
+ export class SidePanelConfig {
10
+ }
11
+ export const defaultSidePanelConfig = {
12
+ position: 'right',
13
+ showBackButton: false,
14
+ title: '',
15
+ };
16
+ export const SIDE_PANEL_CONFIG = new InjectionToken('SIDE_PANEL_CONFIG', {
17
+ providedIn: 'root',
18
+ factory: () => defaultSidePanelConfig,
19
+ });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1wYW5lbC5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9zaWRlLXBhbmVsL3NpZGUtcGFuZWwubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUkvQyxNQUFNLENBQU4sSUFBWSx1QkFLWDtBQUxELFdBQVksdUJBQXVCO0lBQ2pDLHdDQUFhLENBQUE7SUFDYiw0Q0FBaUIsQ0FBQTtJQUNqQix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biAgc2hvd0JhY2tCdXR0b246IGZhbHNlLFxuICB0aXRsZTogJycsXG59O1xuXG5leHBvcnQgY29uc3QgU0lERV9QQU5FTF9DT05GSUcgPSBuZXcgSW5qZWN0aW9uVG9rZW48U2lkZVBhbmVsQ29uZmlnPignU0lERV9QQU5FTF9DT05GSUcnLCB7XG4gIHByb3ZpZGVkSW46ICdyb290JyxcbiAgZmFjdG9yeTogKCkgPT4gZGVmYXVsdFNpZGVQYW5lbENvbmZpZyxcbn0pO1xuIl19
@@ -0,0 +1,76 @@
1
+ import { ApplicationRef, createComponent, EnvironmentInjector, inject, Injectable, Injector, TemplateRef, } from '@angular/core';
2
+ import { SidePanelComponent } from './side-panel.component';
3
+ import { SIDE_PANEL_CONFIG, SidePanelConfig } from './side-panel.model';
4
+ import * as i0 from "@angular/core";
5
+ export class SidePanelService {
6
+ constructor() {
7
+ this.defaultSidePanelConfig = inject(SIDE_PANEL_CONFIG);
8
+ this.injector = inject(EnvironmentInjector);
9
+ this.appRef = inject(ApplicationRef);
10
+ }
11
+ open(content, config, providers = []) {
12
+ const panelConfig = { ...this.defaultSidePanelConfig, ...config };
13
+ if (!this.SidePanelComponentRef) {
14
+ const injector = this.createSidePanelInjector(panelConfig, providers);
15
+ const SidePanelComponentRef = this.createSidePanelComponent(panelConfig.position, injector);
16
+ this.SidePanelComponentRef = SidePanelComponentRef;
17
+ }
18
+ if (content instanceof TemplateRef) {
19
+ this.loadTemplate(content);
20
+ }
21
+ else {
22
+ this.loadComponent(content);
23
+ }
24
+ this.SidePanelComponentRef.instance.open();
25
+ }
26
+ destroyComponent() {
27
+ if (this.SidePanelComponentRef) {
28
+ this.appRef.detachView(this.SidePanelComponentRef.hostView);
29
+ this.SidePanelComponentRef.destroy();
30
+ this.SidePanelComponentRef = undefined;
31
+ }
32
+ if (this.contentComponentRef) {
33
+ this.contentComponentRef.destroy();
34
+ this.contentComponentRef = undefined;
35
+ }
36
+ }
37
+ createSidePanelInjector(config, providers = []) {
38
+ return Injector.create({
39
+ providers: [{ provide: SidePanelConfig, useValue: config }, ...providers],
40
+ });
41
+ }
42
+ createSidePanelComponent(position, injector) {
43
+ const sidePanelComponentRef = createComponent(SidePanelComponent, {
44
+ environmentInjector: this.injector,
45
+ elementInjector: injector,
46
+ });
47
+ this.appRef.attachView(sidePanelComponentRef.hostView);
48
+ const sidePanelEl = sidePanelComponentRef.hostView.rootNodes[0];
49
+ sidePanelEl.querySelector('.side-panel')?.classList.add(position);
50
+ document.body.appendChild(sidePanelEl);
51
+ return sidePanelComponentRef;
52
+ }
53
+ loadComponent(component) {
54
+ const viewContainerRef = this.SidePanelComponentRef?.instance.sidePanelContainer;
55
+ if (viewContainerRef) {
56
+ viewContainerRef().clear();
57
+ this.contentComponentRef = viewContainerRef().createComponent(component);
58
+ }
59
+ }
60
+ loadTemplate(template) {
61
+ const viewContainerRef = this.SidePanelComponentRef?.instance.sidePanelContainer;
62
+ if (viewContainerRef) {
63
+ viewContainerRef().clear();
64
+ this.embeddedViewRef = viewContainerRef().createEmbeddedView(template);
65
+ }
66
+ }
67
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SidePanelService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
68
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SidePanelService, providedIn: 'root' }); }
69
+ }
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SidePanelService, decorators: [{
71
+ type: Injectable,
72
+ args: [{
73
+ providedIn: 'root',
74
+ }]
75
+ }], ctorParameters: () => [] });
76
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1wYW5lbC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGd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UgbG9hZFRlbXBsYXRlKHRlbXBsYXRlOiBUZW1wbGF0ZVJlZjxhbnk+KTogdm9pZCB7XG4gICAgY29uc3Qgdmlld0NvbnRhaW5lclJlZiA9IHRoaXMuU2lkZVBhbmVsQ29tcG9uZW50UmVmPy5pbnN0YW5jZS5zaWRlUGFuZWxDb250YWluZXI7XG4gICAgaWYgKHZpZXdDb250YWluZXJSZWYpIHtcbiAgICAgIHZpZXdDb250YWluZXJSZWYoKS5jbGVhcigpO1xuICAgICAgdGhpcy5lbWJlZGRlZFZpZXdSZWYgPSB2aWV3Q29udGFpbmVyUmVmKCkuY3JlYXRlRW1iZWRkZWRWaWV3KHRlbXBsYXRlKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,105 @@
1
+ import { Component, EventEmitter, HostListener, Inject, Input, Optional, Output, ViewChild, ViewContainerRef, } from '@angular/core';
2
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "./side-sheet.service";
5
+ import * as i2 from "@angular/common";
6
+ import * as i3 from "../button/button.component";
7
+ import * as i4 from "@angular/material/tooltip";
8
+ import * as i5 from "@angular/material/sidenav";
9
+ import * as i6 from "../logo/logo.component";
10
+ import * as i7 from "../../pipes/ui-translate.pipe";
11
+ export class SideSheetComponent {
12
+ onEscPress(_) {
13
+ void this.drawer.close();
14
+ }
15
+ constructor(defaultAppTheme, sideSheetService, destroyRef) {
16
+ this.defaultAppTheme = defaultAppTheme;
17
+ this.sideSheetService = sideSheetService;
18
+ this.destroyRef = destroyRef;
19
+ /**
20
+ * Set position. Defaults "end"
21
+ *
22
+ * @type {SideSheetPosition}
23
+ * @memberof SideSheetComponent
24
+ */
25
+ this.position = 'end';
26
+ /**
27
+ *
28
+ * Defines the application theme
29
+ *
30
+ * @type {ApplicationTheme}
31
+ * @memberof SideSheetComponent
32
+ */
33
+ this.applicationTheme = 'light';
34
+ this.openChange = new EventEmitter();
35
+ this.title = '';
36
+ this.showBackButton = false;
37
+ this.showTitleTooltip = false;
38
+ this.showLogo = false;
39
+ this.componentRef$ = this.sideSheetService.getComponentRef();
40
+ if (defaultAppTheme) {
41
+ this.applicationTheme = defaultAppTheme;
42
+ }
43
+ }
44
+ ngOnInit() {
45
+ this.setComponentRef();
46
+ }
47
+ setComponentRef() {
48
+ this.componentRef$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(config => {
49
+ if (config && config.componentRef && this.container && this.drawer) {
50
+ this.setConfig(config);
51
+ this.drawer.toggle();
52
+ this.container.clear();
53
+ this.container.insert(config.componentRef.hostView);
54
+ }
55
+ else if (!config) {
56
+ this.drawer.toggle();
57
+ this.container.clear();
58
+ }
59
+ });
60
+ }
61
+ setConfig(config) {
62
+ this.title = config.title ?? '';
63
+ this.showLogo = config.showLogo ?? false;
64
+ this.showBackButton = config.showBackButton ?? false;
65
+ this.showTitleTooltip = config.showTitleTooltip ?? false;
66
+ if (config.closed) {
67
+ config.closed.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
68
+ void this.drawer.close();
69
+ });
70
+ }
71
+ }
72
+ onClose() {
73
+ this.drawer.toggle();
74
+ }
75
+ onOpenChange(isOpened) {
76
+ this.openChange.emit(isOpened);
77
+ }
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SideSheetComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }, { token: i1.SideSheetService }, { token: i0.DestroyRef }], target: i0.ɵɵFactoryTarget.Component }); }
79
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SideSheetComponent, selector: "ui-side-sheet", inputs: { position: "position", applicationTheme: "applicationTheme" }, outputs: { openChange: "openChange" }, host: { listeners: { "keydown.esc": "onEscPress($event)" } }, viewQueries: [{ propertyName: "drawer", first: true, predicate: ["drawer"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<ng-container>\n <mat-drawer-container class=\"side-sheet-container\" [attr.theme]=\"applicationTheme\" [hasBackdrop]=\"true\">\n <mat-drawer (closedStart)=\"onOpenChange(false)\" (openedStart)=\"onOpenChange(true)\" #drawer [mode]=\"'over'\" [autoFocus]=\"false\" class=\"side-sheet-content\" [position]=\"position\">\n <div class=\"header\">\n <div class=\"title\">\n <ui-button\n *ngIf=\"showBackButton\"\n [variant]=\"'icon-button'\"\n [iconName]=\"applicationTheme === 'classic' ? 'Arrow_left' : 'Arrow-chevron-left-filled'\"\n [companyColor]=\"applicationTheme === 'classic' ? '#000' : '#242424'\"\n [applicationTheme]=\"applicationTheme\"\n [tooltip]=\"(('COMMON.BACK') | uiTranslate | async)!\"\n (click)=\"onClose()\"\n ></ui-button>\n <span\n *ngIf=\"title\"\n [matTooltip]=\"showTitleTooltip ? title : ''\"\n [matTooltipClass]=\"applicationTheme\"\n >{{ title }}</span>\n <ui-logo *ngIf=\"showLogo\"></ui-logo>\n </div>\n <ui-button\n [variant]=\"'icon-button'\"\n [iconName]=\"'Close'\"\n [companyColor]=\"applicationTheme === 'classic' ? '#000' : '#242424'\"\n [applicationTheme]=\"applicationTheme\"\n [tooltip]=\"(('COMMON.CLOSE') | uiTranslate | async)!\"\n (click)=\"onClose()\"\n ></ui-button>\n </div>\n <ng-container #container></ng-container>\n </mat-drawer>\n <mat-drawer-content>\n <ng-content></ng-content>\n </mat-drawer-content>\n </mat-drawer-container>\n</ng-container>\n", styles: ["@import\"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap\";.bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.side-sheet-container{position:absolute;inset:0;background:transparent}.side-sheet-container ::ng-deep .mat-drawer-backdrop{background-color:#000;opacity:25%}.side-sheet-container .side-sheet-content{width:600px;box-shadow:2px 24px 48px 8px #00000014;padding:0 32px 32px;align-items:flex-start;flex-direction:column;z-index:3;background:#f6f6f6}.side-sheet-container .side-sheet-content .header{background:#f6f6f6;padding:32px 5px;width:100%;display:flex;top:0;position:sticky;justify-content:center}.side-sheet-container .side-sheet-content .header ui-button{margin-top:-5px}.side-sheet-container .side-sheet-content .header .title{display:flex;justify-content:left;margin-right:8px;width:100%;gap:8px}.side-sheet-container .side-sheet-content .header .title span{line-height:28px;font-size:20px;font-weight:700;-webkit-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}@media (max-width: 600px){.side-sheet-container .side-sheet-content{padding:0 16px 16px;width:100%}.side-sheet-container .side-sheet-content .header{padding:32px 16px}}.side-sheet-container[theme=dark] .side-sheet-content,.side-sheet-container[theme=light] .side-sheet-content{box-shadow:0 4px 100px #24242414}.side-sheet-container[theme=dark] .side-sheet-content .header .title span,.side-sheet-container[theme=light] .side-sheet-content .header .title span{color:#242424}::ng-deep .mat-mdc-tooltip{background-color:#a9c2c9;font-family:Open Sans,serif;font-weight:400;font-size:12px;border-radius:4px;overflow:visible;max-width:248px;padding:6px 2px;--mdc-plain-tooltip-container-color: none;--mdc-plain-tooltip-supporting-text-color: $tgo-black}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.ButtonComponent, selector: "ui-button", inputs: ["size", "variant", "label", "iconPosition", "justIcon", "iconName", "disabled", "loading", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaRequired", "ariaLabelledby", "ariaDescribedby", "preventDefault", "hasBackground", "tooltipPosition", "role"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i5.MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { kind: "component", type: i5.MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: i5.MatDrawerContent, selector: "mat-drawer-content" }, { kind: "component", type: i6.LogoComponent, selector: "ui-logo", inputs: ["type", "applicationTheme", "label", "width", "allowResizing"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.UiTranslatePipe, name: "uiTranslate" }] }); }
80
+ }
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SideSheetComponent, decorators: [{
82
+ type: Component,
83
+ args: [{ selector: 'ui-side-sheet', template: "<ng-container>\n <mat-drawer-container class=\"side-sheet-container\" [attr.theme]=\"applicationTheme\" [hasBackdrop]=\"true\">\n <mat-drawer (closedStart)=\"onOpenChange(false)\" (openedStart)=\"onOpenChange(true)\" #drawer [mode]=\"'over'\" [autoFocus]=\"false\" class=\"side-sheet-content\" [position]=\"position\">\n <div class=\"header\">\n <div class=\"title\">\n <ui-button\n *ngIf=\"showBackButton\"\n [variant]=\"'icon-button'\"\n [iconName]=\"applicationTheme === 'classic' ? 'Arrow_left' : 'Arrow-chevron-left-filled'\"\n [companyColor]=\"applicationTheme === 'classic' ? '#000' : '#242424'\"\n [applicationTheme]=\"applicationTheme\"\n [tooltip]=\"(('COMMON.BACK') | uiTranslate | async)!\"\n (click)=\"onClose()\"\n ></ui-button>\n <span\n *ngIf=\"title\"\n [matTooltip]=\"showTitleTooltip ? title : ''\"\n [matTooltipClass]=\"applicationTheme\"\n >{{ title }}</span>\n <ui-logo *ngIf=\"showLogo\"></ui-logo>\n </div>\n <ui-button\n [variant]=\"'icon-button'\"\n [iconName]=\"'Close'\"\n [companyColor]=\"applicationTheme === 'classic' ? '#000' : '#242424'\"\n [applicationTheme]=\"applicationTheme\"\n [tooltip]=\"(('COMMON.CLOSE') | uiTranslate | async)!\"\n (click)=\"onClose()\"\n ></ui-button>\n </div>\n <ng-container #container></ng-container>\n </mat-drawer>\n <mat-drawer-content>\n <ng-content></ng-content>\n </mat-drawer-content>\n </mat-drawer-container>\n</ng-container>\n", styles: ["@import\"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap\";.bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.side-sheet-container{position:absolute;inset:0;background:transparent}.side-sheet-container ::ng-deep .mat-drawer-backdrop{background-color:#000;opacity:25%}.side-sheet-container .side-sheet-content{width:600px;box-shadow:2px 24px 48px 8px #00000014;padding:0 32px 32px;align-items:flex-start;flex-direction:column;z-index:3;background:#f6f6f6}.side-sheet-container .side-sheet-content .header{background:#f6f6f6;padding:32px 5px;width:100%;display:flex;top:0;position:sticky;justify-content:center}.side-sheet-container .side-sheet-content .header ui-button{margin-top:-5px}.side-sheet-container .side-sheet-content .header .title{display:flex;justify-content:left;margin-right:8px;width:100%;gap:8px}.side-sheet-container .side-sheet-content .header .title span{line-height:28px;font-size:20px;font-weight:700;-webkit-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}@media (max-width: 600px){.side-sheet-container .side-sheet-content{padding:0 16px 16px;width:100%}.side-sheet-container .side-sheet-content .header{padding:32px 16px}}.side-sheet-container[theme=dark] .side-sheet-content,.side-sheet-container[theme=light] .side-sheet-content{box-shadow:0 4px 100px #24242414}.side-sheet-container[theme=dark] .side-sheet-content .header .title span,.side-sheet-container[theme=light] .side-sheet-content .header .title span{color:#242424}::ng-deep .mat-mdc-tooltip{background-color:#a9c2c9;font-family:Open Sans,serif;font-weight:400;font-size:12px;border-radius:4px;overflow:visible;max-width:248px;padding:6px 2px;--mdc-plain-tooltip-container-color: none;--mdc-plain-tooltip-supporting-text-color: $tgo-black}\n"] }]
84
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
85
+ type: Optional
86
+ }, {
87
+ type: Inject,
88
+ args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
89
+ }] }, { type: i1.SideSheetService }, { type: i0.DestroyRef }], propDecorators: { position: [{
90
+ type: Input
91
+ }], applicationTheme: [{
92
+ type: Input
93
+ }], openChange: [{
94
+ type: Output
95
+ }], drawer: [{
96
+ type: ViewChild,
97
+ args: ['drawer']
98
+ }], container: [{
99
+ type: ViewChild,
100
+ args: ['container', { read: ViewContainerRef, static: false }]
101
+ }], onEscPress: [{
102
+ type: HostListener,
103
+ args: ['keydown.esc', ['$event']]
104
+ }] } });
105
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1zaGVldC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvc2lkZS1zaGVldC9zaWRlLXNoZWV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9zaWRlLXNoZWV0L3NpZGUtc2hlZXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFFVCxZQUFZLEVBQUUsWUFBWSxFQUMxQixNQUFNLEVBQ04sS0FBSyxFQUVMLFFBQVEsRUFDUixNQUFNLEVBQ04sU0FBUyxFQUNULGdCQUFnQixHQUNqQixNQUFNLGVBQWUsQ0FBQztBQUl2QixPQUFPLEVBQUUsa0JBQW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1aS1idXR0b25cbiAgICAgICAgICBbdmFyaWFudF09XCInaWNvbi1idXR0b24nXCJcbiAgICAgICAgICBbaWNvbk5hbWVdPVwiJ0Nsb3NlJ1wiXG4gICAgICAgICAgW2NvbXBhbnlDb2xvcl09XCJhcHBsaWNhdGlvblRoZW1lID09PSAnY2xhc3NpYycgPyAnIzAwMCcgOiAnIzI0MjQyNCdcIlxuICAgICAgICAgIFthcHBsaWNhdGlvblRoZW1lXT1cImFwcGxpY2F0aW9uVGhlbWVcIlxuICAgICAgICAgIFt0b29sdGlwXT1cIigoJ0NPTU1PTi5DTE9TRScpIHwgdWlUcmFuc2xhdGUgfCBhc3luYykhXCJcbiAgICAgICAgICAoY2xpY2spPVwib25DbG9zZSgpXCJcbiAgICAgICAgPjwvdWktYnV0dG9uPlxuICAgICAgPC9kaXY+XG4gICAgICA8bmctY29udGFpbmVyICNjb250YWluZXI+PC9uZy1jb250YWluZXI+XG4gICAgPC9tYXQtZHJhd2VyPlxuICAgIDxtYXQtZHJhd2VyLWNvbnRlbnQ+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9tYXQtZHJhd2VyLWNvbnRlbnQ+XG4gIDwvbWF0LWRyYXdlci1jb250YWluZXI+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
@@ -0,0 +1,43 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { SideSheetComponent } from './side-sheet.component';
4
+ import { IconComponentModule } from '../icon/icon.component.module';
5
+ import { ButtonComponentModule } from '../button/button.component.module';
6
+ import { MatTooltipModule } from '@angular/material/tooltip';
7
+ import { MatSidenavModule } from '@angular/material/sidenav';
8
+ import { UiTranslatePipe } from '../../pipes/ui-translate.pipe';
9
+ import { LogoComponentModule } from "../logo/logo.component.module";
10
+ import * as i0 from "@angular/core";
11
+ export class SideSheetComponentModule {
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SideSheetComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
13
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SideSheetComponentModule, declarations: [SideSheetComponent], imports: [CommonModule,
14
+ IconComponentModule,
15
+ ButtonComponentModule,
16
+ MatTooltipModule,
17
+ MatSidenavModule,
18
+ UiTranslatePipe,
19
+ LogoComponentModule], exports: [SideSheetComponent] }); }
20
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SideSheetComponentModule, imports: [CommonModule,
21
+ IconComponentModule,
22
+ ButtonComponentModule,
23
+ MatTooltipModule,
24
+ MatSidenavModule,
25
+ LogoComponentModule] }); }
26
+ }
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SideSheetComponentModule, decorators: [{
28
+ type: NgModule,
29
+ args: [{
30
+ declarations: [SideSheetComponent],
31
+ exports: [SideSheetComponent],
32
+ imports: [
33
+ CommonModule,
34
+ IconComponentModule,
35
+ ButtonComponentModule,
36
+ MatTooltipModule,
37
+ MatSidenavModule,
38
+ UiTranslatePipe,
39
+ LogoComponentModule,
40
+ ],
41
+ }]
42
+ }] });
43
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1zaGVldC5jb21wb25lbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL3NpZGUtc2hlZXQvc2lkZS1zaGVldC5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVks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ICAgICAgIE1hdFRvb2x0aXBNb2R1bGUsXG4gICAgICAgIE1hdFNpZGVuYXZNb2R1bGUsXG4gICAgICAgIFVpVHJhbnNsYXRlUGlwZSxcbiAgICAgICAgTG9nb0NvbXBvbmVudE1vZHVsZSxcbiAgICBdLFxufSlcbmV4cG9ydCBjbGFzcyBTaWRlU2hlZXRDb21wb25lbnRNb2R1bGUge31cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1zaGVldC5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9zaWRlLXNoZWV0L3NpZGUtc2hlZXQubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE9ic2VydmFibGUgfSBmcm9tICdyeGpzJztcblxuZXhwb3J0IGludGVyZmFjZSBTaWRlU2hlZXRDb25maWcge1xuICBjb21wb25lbnRSZWY6IGFueTtcbiAgdGl0bGU/OiBzdHJpbmc7XG4gIHNob3dMb2dvPzogYm9vbGVhbjtcbiAgc2hvd0JhY2tCdXR0b24/OiBib29sZWFuO1xuICBzaG93VGl0bGVUb29sdGlwPzogYm9vbGVhbjtcbiAgY2xvc2VkPzogT2JzZXJ2YWJsZTx2b2lkPjtcbn1cblxuZXhwb3J0IHR5cGUgU2lkZVNoZWV0UG9zaXRpb24gPSAnc3RhcnQnIHwgJ2VuZCc7XG4iXX0=
@@ -0,0 +1,31 @@
1
+ import { Injectable, ViewContainerRef } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export class SideSheetService {
5
+ constructor(applicationRef) {
6
+ this.applicationRef = applicationRef;
7
+ this.componentRef$ = new Subject();
8
+ }
9
+ open(config) {
10
+ const { componentRef, ...configFields } = config;
11
+ const rootViewContainerRef = this.applicationRef.components[0].injector.get(ViewContainerRef);
12
+ const componentReference = rootViewContainerRef.createComponent(config.componentRef);
13
+ this.componentRef$.next({ ...configFields, componentRef: componentReference });
14
+ return componentReference.instance;
15
+ }
16
+ close() {
17
+ this.componentRef$.next(null);
18
+ }
19
+ getComponentRef() {
20
+ return this.componentRef$.asObservable();
21
+ }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SideSheetService, deps: [{ token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable }); }
23
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SideSheetService, providedIn: 'root' }); }
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SideSheetService, decorators: [{
26
+ type: Injectable,
27
+ args: [{
28
+ providedIn: 'root',
29
+ }]
30
+ }], ctorParameters: () => [{ type: i0.ApplicationRef }] });
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1zaGVldC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL3NpZGUtc2hlZXQvc2lkZS1zaGVldC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBa0IsVUFBVSxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTdFLE9BQU8sRUFBYyxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7O0FBSzNDLE1BQU0sT0FBTyxnQkFBZ0I7SUFHM0IsWUFBb0IsY0FBOEI7UUFBOUIsbUJBQWM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ZTxTaWRlU2hlZXRDb25maWcgfCBudWxsPiB7XG4gICAgcmV0dXJuIHRoaXMuY29tcG9uZW50UmVmJC5hc09ic2VydmFibGUoKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,71 @@
1
+ import { Component, Inject, Input, Optional } from '@angular/core';
2
+ import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
3
+ import { CommonModule } from '@angular/common';
4
+ import { BehaviorSubject, combineLatest, map } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
7
+ import * as i2 from "ngx-skeleton-loader";
8
+ export class SkeletonComponent {
9
+ set theme(value) {
10
+ this.theme$.next(value ?? {});
11
+ }
12
+ set appearance(value) {
13
+ this.appearance$.next(value ?? 'line');
14
+ }
15
+ constructor(defaultAppTheme) {
16
+ this.defaultAppTheme = defaultAppTheme;
17
+ this.count = '';
18
+ /**
19
+ *
20
+ * Defines the application theme
21
+ *
22
+ * @type {ApplicationTheme}
23
+ * @memberof SkeletonComponent
24
+ */
25
+ this.applicationTheme = 'light';
26
+ this.theme$ = new BehaviorSubject({});
27
+ this.appearance$ = new BehaviorSubject('line');
28
+ this.currentTheme$ = combineLatest([this.theme$, this.appearance$]).pipe(map(([theme, appearance]) => this.getThemeWithDefaultValues(theme, appearance)));
29
+ if (defaultAppTheme) {
30
+ this.applicationTheme = defaultAppTheme;
31
+ }
32
+ }
33
+ getThemeWithDefaultValues(theme, appearance) {
34
+ if (theme && appearance === 'circle') {
35
+ return {
36
+ ...theme,
37
+ height: theme['height'] || theme['width'] || '48px',
38
+ width: theme['width'] || theme['height'] || '48px',
39
+ };
40
+ }
41
+ else if (theme && appearance !== 'circle' && !theme['height']) {
42
+ return {
43
+ ...theme,
44
+ height: '24px',
45
+ };
46
+ }
47
+ else {
48
+ return theme;
49
+ }
50
+ }
51
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SkeletonComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
52
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SkeletonComponent, isStandalone: true, selector: "ui-skeleton", inputs: { count: "count", theme: "theme", appearance: "appearance", applicationTheme: "applicationTheme" }, ngImport: i0, template: "<ngx-skeleton-loader\n [count]=\"count\"\n [theme]=\"currentTheme$ | async\"\n [appearance]=\"(appearance$ | async) || 'line'\"\n></ngx-skeleton-loader>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: NgxSkeletonLoaderModule }, { kind: "component", type: i2.NgxSkeletonLoaderComponent, selector: "ngx-skeleton-loader", inputs: ["count", "loadingText", "appearance", "animation", "ariaLabel", "theme"] }] }); }
53
+ }
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SkeletonComponent, decorators: [{
55
+ type: Component,
56
+ args: [{ selector: 'ui-skeleton', standalone: true, imports: [CommonModule, NgxSkeletonLoaderModule], template: "<ngx-skeleton-loader\n [count]=\"count\"\n [theme]=\"currentTheme$ | async\"\n [appearance]=\"(appearance$ | async) || 'line'\"\n></ngx-skeleton-loader>\n" }]
57
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
58
+ type: Optional
59
+ }, {
60
+ type: Inject,
61
+ args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
62
+ }] }], propDecorators: { count: [{
63
+ type: Input
64
+ }], theme: [{
65
+ type: Input
66
+ }], appearance: [{
67
+ type: Input
68
+ }], applicationTheme: [{
69
+ type: Input
70
+ }] } });
71
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2tlbGV0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vL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