@testgorilla/tgo-ui 2.10.999 → 2.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1002) hide show
  1. package/.circleci/config.yml +112 -0
  2. package/.editorconfig +16 -0
  3. package/.eslintignore +5 -0
  4. package/.eslintrc.js +301 -0
  5. package/.github/README.md +81 -0
  6. package/.husky/pre-commit +4 -0
  7. package/.prettierignore +2 -0
  8. package/.prettierrc +13 -0
  9. package/.storybook/main.js +25 -0
  10. package/.storybook/preview-head.html +10 -0
  11. package/.storybook/preview.js +107 -0
  12. package/.storybook/tsconfig.json +24 -0
  13. package/.storybook/typings.d.ts +4 -0
  14. package/.stylelintrc.json +30 -0
  15. package/.vscode/extensions.json +4 -0
  16. package/.vscode/launch.json +20 -0
  17. package/.vscode/tasks.json +42 -0
  18. package/CHANGELOG.md +149 -0
  19. package/angular.json +174 -0
  20. package/e2e/bannerAction.spec.ts +46 -0
  21. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--default-chromium-darwin.png +0 -0
  22. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--default-chromium-linux.png +0 -0
  23. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--error-chromium-darwin.png +0 -0
  24. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--error-chromium-linux.png +0 -0
  25. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--info-chromium-darwin.png +0 -0
  26. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--info-chromium-linux.png +0 -0
  27. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--warning-chromium-darwin.png +0 -0
  28. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--warning-chromium-linux.png +0 -0
  29. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--with-relative-width-chromium-darwin.png +0 -0
  30. package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--with-relative-width-chromium-linux.png +0 -0
  31. package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--default-chromium-linux.png +0 -0
  32. package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--error-chromium-linux.png +0 -0
  33. package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--info-chromium-linux.png +0 -0
  34. package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--warning-chromium-linux.png +0 -0
  35. package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--with-relative-width-chromium-linux.png +0 -0
  36. package/e2e/button.spec.ts +53 -0
  37. package/e2e/button.spec.ts-snapshots/id-button--basic-chromium-linux.png +0 -0
  38. package/e2e/button.spec.ts-snapshots/id-button--button-as-link-chromium-linux.png +0 -0
  39. package/e2e/button.spec.ts-snapshots/id-button--button-only-label-chromium-linux.png +0 -0
  40. package/e2e/button.spec.ts-snapshots/id-button--disabled-chromium-linux.png +0 -0
  41. package/e2e/button.spec.ts-snapshots/id-button--full-width-chromium-linux.png +0 -0
  42. package/e2e/button.spec.ts-snapshots/id-button--label-icon-left-chromium-linux.png +0 -0
  43. package/e2e/button.spec.ts-snapshots/id-button--label-icon-right-chromium-linux.png +0 -0
  44. package/e2e/button.spec.ts-snapshots/id-button--loading-chromium-linux.png +0 -0
  45. package/e2e/button.spec.ts-snapshots/id-button--menu-cell-chromium-linux.png +0 -0
  46. package/e2e/button.spec.ts-snapshots/id-button--menu-trigger-chromium-linux.png +0 -0
  47. package/e2e/button.spec.ts-snapshots/id-button--only-icon-chromium-linux.png +0 -0
  48. package/e2e/button.spec.ts-snapshots/id-button--small-chromium-linux.png +0 -0
  49. package/e2e/card.spec.ts +43 -0
  50. package/e2e/card.spec.ts-snapshots/id-card--default-chromium-linux.png +0 -0
  51. package/e2e/colors.spec.ts +47 -0
  52. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--greysacale-chromium-linux.png +0 -0
  53. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-error-chromium-linux.png +0 -0
  54. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-petrol-chromium-linux.png +0 -0
  55. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-teal-chromium-linux.png +0 -0
  56. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-warning-chromium-linux.png +0 -0
  57. package/e2e/colors.spec.ts-snapshots/id-foundations-colors--secondary-colors-chromium-linux.png +0 -0
  58. package/e2e/createAccount.spec.ts +102 -0
  59. package/e2e/createAccount.spec.ts-snapshots/id-create-account--default-chromium-linux.png +0 -0
  60. package/e2e/createAccount.spec.ts-snapshots/id-deprecated-create-account--default-chromium-linux.png +0 -0
  61. package/e2e/createAccount.spec.ts-snapshots/register-with-errors-chromium-linux.png +0 -0
  62. package/e2e/createAccount.spec.ts-snapshots/register-with-texts-chromium-linux.png +0 -0
  63. package/e2e/createPassword.spec.ts +94 -0
  64. package/e2e/createPassword.spec.ts-snapshots/createPassword-with-errors-chromium-linux.png +0 -0
  65. package/e2e/createPassword.spec.ts-snapshots/createPassword-with-texts-chromium-linux.png +0 -0
  66. package/e2e/createPassword.spec.ts-snapshots/id-createpassword--default-args-viewMode-story-chromium-linux.png +0 -0
  67. package/e2e/createPassword.spec.ts-snapshots/id-createpassword--default-chromium-linux.png +0 -0
  68. package/e2e/createPassword.spec.ts-snapshots/id-deprecated-create-password--default-chromium-linux.png +0 -0
  69. package/e2e/dialog.spec.ts +43 -0
  70. package/e2e/dialog.spec.ts-snapshots/id-dialog-dialog--default-chromium-darwin.png +0 -0
  71. package/e2e/dialog.spec.ts-snapshots/id-dialog-dialog--default-chromium-linux.png +0 -0
  72. package/e2e/field.spec.ts +51 -0
  73. package/e2e/field.spec.ts-snapshots/id-forms-field--email-chromium-linux.png +0 -0
  74. package/e2e/field.spec.ts-snapshots/id-forms-field--number-type-chromium-linux.png +0 -0
  75. package/e2e/field.spec.ts-snapshots/id-forms-field--password-chromium-linux.png +0 -0
  76. package/e2e/field.spec.ts-snapshots/id-forms-field--search-chromium-linux.png +0 -0
  77. package/e2e/field.spec.ts-snapshots/id-forms-field--tel-chromium-linux.png +0 -0
  78. package/e2e/field.spec.ts-snapshots/id-forms-field--text-chromium-linux.png +0 -0
  79. package/e2e/field.spec.ts-snapshots/id-forms-field--with-disable-chromium-linux.png +0 -0
  80. package/e2e/field.spec.ts-snapshots/id-forms-field--with-errors-chromium-linux.png +0 -0
  81. package/e2e/field.spec.ts-snapshots/id-forms-field--with-require-chromium-linux.png +0 -0
  82. package/e2e/field.spec.ts-snapshots/id-forms-field--without-label-chromium-linux.png +0 -0
  83. package/e2e/forgotPassword.spec.ts +94 -0
  84. package/e2e/forgotPassword.spec.ts-snapshots/forgotPassword-with-errors-chromium-linux.png +0 -0
  85. package/e2e/forgotPassword.spec.ts-snapshots/forgotPassword-with-texts-chromium-linux.png +0 -0
  86. package/e2e/forgotPassword.spec.ts-snapshots/id-deprecated-forgot-password--default-chromium-linux.png +0 -0
  87. package/e2e/forgotPassword.spec.ts-snapshots/id-forgotpassword--default-args-viewMode-story-chromium-linux.png +0 -0
  88. package/e2e/forgotPassword.spec.ts-snapshots/id-forgotpassword--default-chromium-linux.png +0 -0
  89. package/e2e/label.spec.ts +47 -0
  90. package/e2e/label.spec.ts-snapshots/id-label--big-chromium-linux.png +0 -0
  91. package/e2e/label.spec.ts-snapshots/id-label--huge-chromium-linux.png +0 -0
  92. package/e2e/label.spec.ts-snapshots/id-label--large-chromium-linux.png +0 -0
  93. package/e2e/label.spec.ts-snapshots/id-label--medium-chromium-linux.png +0 -0
  94. package/e2e/label.spec.ts-snapshots/id-label--small-chromium-linux.png +0 -0
  95. package/e2e/label.spec.ts-snapshots/id-under-review-label--big-chromium-linux.png +0 -0
  96. package/e2e/label.spec.ts-snapshots/id-under-review-label--huge-chromium-linux.png +0 -0
  97. package/e2e/label.spec.ts-snapshots/id-under-review-label--large-chromium-linux.png +0 -0
  98. package/e2e/label.spec.ts-snapshots/id-under-review-label--medium-chromium-linux.png +0 -0
  99. package/e2e/label.spec.ts-snapshots/id-under-review-label--small-chromium-linux.png +0 -0
  100. package/e2e/login.spec.ts +102 -0
  101. package/e2e/login.spec.ts-snapshots/id-deprecated-login--default-chromium-linux.png +0 -0
  102. package/e2e/login.spec.ts-snapshots/id-login--default-chromium-linux.png +0 -0
  103. package/e2e/login.spec.ts-snapshots/login-with-errors-chromium-linux.png +0 -0
  104. package/e2e/login.spec.ts-snapshots/login-with-texts-chromium-linux.png +0 -0
  105. package/e2e/logo.spec.ts +45 -0
  106. package/e2e/logo.spec.ts-snapshots/id-logo--default-chromium-linux.png +0 -0
  107. package/e2e/logo.spec.ts-snapshots/id-logo--powered-by-chromium-linux.png +0 -0
  108. package/e2e/logo.spec.ts-snapshots/id-logo--reverse-chromium-linux.png +0 -0
  109. package/e2e/navbar.spec.ts +42 -0
  110. package/e2e/navbar.spec.ts-snapshots/id-navbar--default-chromium-linux.png +0 -0
  111. package/e2e/navigation.spec.ts +43 -0
  112. package/e2e/navigation.spec.ts-snapshots/id-navigation--default-chromium-linux.png +0 -0
  113. package/e2e/paginator.spec.ts +42 -0
  114. package/e2e/paginator.spec.ts-snapshots/id-paginator--default-chromium-linux.png +0 -0
  115. package/e2e/progressBar.spec.ts +42 -0
  116. package/e2e/progressBar.spec.ts-snapshots/id-progressbar--determinate-chromium-linux.png +0 -0
  117. package/e2e/table.spec.ts +47 -0
  118. package/e2e/table.spec.ts-snapshots/id-deprecated-table--default-chromium-linux.png +0 -0
  119. package/e2e/table.spec.ts-snapshots/id-table--default-chromium-darwin.png +0 -0
  120. package/e2e/table.spec.ts-snapshots/id-table--default-chromium-linux.png +0 -0
  121. package/e2e/table.spec.ts-snapshots/id-table--expandable-chromium-darwin.png +0 -0
  122. package/e2e/table.spec.ts-snapshots/id-table--expandable-chromium-linux.png +0 -0
  123. package/e2e/typography.spec.ts +42 -0
  124. package/e2e/typography.spec.ts-snapshots/id-foundations-typography--page-args-viewMode-story-chromium-linux.png +0 -0
  125. package/globalSetup.js +9 -0
  126. package/jest.config.js +69 -0
  127. package/ng-package.json +9 -0
  128. package/package.json +68 -17
  129. package/projects/client/src/app/app.component.html +1 -0
  130. package/projects/client/src/app/app.component.scss +8 -0
  131. package/projects/client/src/app/app.component.spec.ts +27 -0
  132. package/projects/client/src/app/app.component.ts +37 -0
  133. package/projects/client/src/app/app.routes.ts +11 -0
  134. package/projects/client/src/app/components/avatar/avatar.component.html +10 -0
  135. package/projects/client/src/app/components/avatar/avatar.component.scss +0 -0
  136. package/projects/client/src/app/components/avatar/avatar.component.ts +25 -0
  137. package/projects/client/src/app/components/badge/badge.component.html +11 -0
  138. package/projects/client/src/app/components/badge/badge.component.scss +0 -0
  139. package/projects/client/src/app/components/badge/badge.component.ts +22 -0
  140. package/projects/client/src/app/components/checkbox/checkbox.component.html +13 -0
  141. package/projects/client/src/app/components/checkbox/checkbox.component.scss +0 -0
  142. package/projects/client/src/app/components/checkbox/checkbox.component.ts +23 -0
  143. package/projects/client/src/app/components/icon/icon.component.html +10 -0
  144. package/projects/client/src/app/components/icon/icon.component.scss +0 -0
  145. package/projects/client/src/app/components/icon/icon.component.ts +19 -0
  146. package/projects/client/src/assets/.gitkeep +0 -0
  147. package/projects/client/src/assets/Avatar.png +0 -0
  148. package/projects/client/src/favicon.ico +0 -0
  149. package/projects/client/src/index.html +13 -0
  150. package/projects/client/src/main.ts +15 -0
  151. package/projects/client/src/styles.scss +10 -0
  152. package/projects/client/tsconfig.app.json +14 -0
  153. package/projects/client/tsconfig.spec.json +14 -0
  154. package/projects/tgo-canopy-ui/__mocks__/alert-bar.mock.ts +18 -0
  155. package/projects/tgo-canopy-ui/__mocks__/button.mock.ts +34 -0
  156. package/projects/tgo-canopy-ui/__mocks__/field.mock.ts +10 -0
  157. package/projects/tgo-canopy-ui/__mocks__/icon.mock.ts +14 -0
  158. package/projects/tgo-canopy-ui/__mocks__/tag.mock.ts +9 -0
  159. package/projects/tgo-canopy-ui/assets/.gitkeep +0 -0
  160. package/projects/tgo-canopy-ui/components/accordion/accordion.component.html +35 -0
  161. package/projects/tgo-canopy-ui/components/accordion/accordion.component.module.ts +26 -0
  162. package/projects/tgo-canopy-ui/components/accordion/accordion.component.scss +284 -0
  163. package/projects/tgo-canopy-ui/components/accordion/accordion.component.spec.ts +37 -0
  164. package/projects/tgo-canopy-ui/components/accordion/accordion.component.stories.ts +176 -0
  165. package/projects/tgo-canopy-ui/components/accordion/accordion.component.ts +97 -0
  166. package/projects/tgo-canopy-ui/components/alert-banner/__snapshots__/alert-banner.component.spec.ts.snap +42 -0
  167. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.html +22 -0
  168. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.module.ts +12 -0
  169. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.scss +39 -0
  170. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.spec.ts +177 -0
  171. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.stories.ts +100 -0
  172. package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.ts +130 -0
  173. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.html +219 -0
  174. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.module.ts +40 -0
  175. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.scss +283 -0
  176. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.spec.ts +238 -0
  177. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.stories.ts +135 -0
  178. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.ts +541 -0
  179. package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.model.ts +22 -0
  180. package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.spec.ts +33 -0
  181. package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.ts +15 -0
  182. package/projects/tgo-canopy-ui/components/autocomplete/transform-Item.pipe.ts +21 -0
  183. package/projects/tgo-canopy-ui/components/autocomplete/transform-item.pipe.spec.ts +24 -0
  184. package/projects/tgo-canopy-ui/components/avatar/avatar.component.html +23 -0
  185. package/projects/tgo-canopy-ui/components/avatar/avatar.component.module.ts +14 -0
  186. package/projects/tgo-canopy-ui/components/avatar/avatar.component.scss +75 -0
  187. package/projects/tgo-canopy-ui/components/avatar/avatar.component.spec.ts +39 -0
  188. package/projects/tgo-canopy-ui/components/avatar/avatar.component.stories.ts +111 -0
  189. package/projects/tgo-canopy-ui/components/avatar/avatar.component.ts +76 -0
  190. package/projects/tgo-canopy-ui/components/avatar/avatar.model.ts +13 -0
  191. package/projects/tgo-canopy-ui/components/badge/badge.component.html +10 -0
  192. package/projects/tgo-canopy-ui/components/badge/badge.component.module.ts +11 -0
  193. package/projects/tgo-canopy-ui/components/badge/badge.component.scss +147 -0
  194. package/projects/tgo-canopy-ui/components/badge/badge.component.spec.ts +57 -0
  195. package/projects/tgo-canopy-ui/components/badge/badge.component.stories.ts +61 -0
  196. package/projects/tgo-canopy-ui/components/badge/badge.component.ts +99 -0
  197. package/projects/tgo-canopy-ui/components/badge/badge.model.ts +40 -0
  198. package/projects/tgo-canopy-ui/components/button/__snapshots__/button.component.spec.ts.snap +64 -0
  199. package/projects/tgo-canopy-ui/components/button/button.component.html +80 -0
  200. package/projects/tgo-canopy-ui/components/button/button.component.module.ts +23 -0
  201. package/projects/tgo-canopy-ui/components/button/button.component.scss +1012 -0
  202. package/projects/tgo-canopy-ui/components/button/button.component.spec.ts +274 -0
  203. package/projects/tgo-canopy-ui/components/button/button.component.stories.ts +455 -0
  204. package/projects/tgo-canopy-ui/components/button/button.component.ts +393 -0
  205. package/projects/tgo-canopy-ui/components/button/button.model.ts +28 -0
  206. package/projects/tgo-canopy-ui/components/card/card.component.html +9 -0
  207. package/projects/tgo-canopy-ui/components/card/card.component.module.ts +11 -0
  208. package/projects/tgo-canopy-ui/components/card/card.component.scss +91 -0
  209. package/projects/tgo-canopy-ui/components/card/card.component.spec.ts +76 -0
  210. package/projects/tgo-canopy-ui/components/card/card.component.stories.ts +88 -0
  211. package/projects/tgo-canopy-ui/components/card/card.component.ts +72 -0
  212. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.html +23 -0
  213. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.module.ts +17 -0
  214. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.scss +233 -0
  215. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.spec.ts +193 -0
  216. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.stories.ts +122 -0
  217. package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.ts +242 -0
  218. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.html +16 -0
  219. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.module.ts +18 -0
  220. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.scss +3 -0
  221. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.spec.ts +42 -0
  222. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.ts +43 -0
  223. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.model.ts +10 -0
  224. package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.stories.ts +37 -0
  225. package/projects/tgo-canopy-ui/components/datepicker/__snapshots__/datepicker.component.spec.ts.snap +56 -0
  226. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.html +98 -0
  227. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.module.ts +33 -0
  228. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.scss +195 -0
  229. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.spec.ts +249 -0
  230. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.stories.ts +138 -0
  231. package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.ts +358 -0
  232. package/projects/tgo-canopy-ui/components/datepicker/no-date-format.directive.spec.ts +35 -0
  233. package/projects/tgo-canopy-ui/components/datepicker/no-date-format.directive.ts +43 -0
  234. package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.html +5 -0
  235. package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.module.ts +12 -0
  236. package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.scss +32 -0
  237. package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.stories.ts +31 -0
  238. package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.ts +54 -0
  239. package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.html +113 -0
  240. package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.module.ts +25 -0
  241. package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.scss +188 -0
  242. package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.stories.ts +620 -0
  243. package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.ts +160 -0
  244. package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.model.ts +51 -0
  245. package/projects/tgo-canopy-ui/components/deprecated-table/directives/dynamic-component.directive.ts +41 -0
  246. package/projects/tgo-canopy-ui/components/dialog/__snapshots__/dialog.component.spec.ts.snap +51 -0
  247. package/projects/tgo-canopy-ui/components/dialog/dialog.component.html +41 -0
  248. package/projects/tgo-canopy-ui/components/dialog/dialog.component.module.ts +15 -0
  249. package/projects/tgo-canopy-ui/components/dialog/dialog.component.scss +133 -0
  250. package/projects/tgo-canopy-ui/components/dialog/dialog.component.spec.ts +230 -0
  251. package/projects/tgo-canopy-ui/components/dialog/dialog.component.stories.ts +60 -0
  252. package/projects/tgo-canopy-ui/components/dialog/dialog.component.ts +184 -0
  253. package/projects/tgo-canopy-ui/components/dialog/dialog.service.spec.ts +55 -0
  254. package/projects/tgo-canopy-ui/components/dialog/dialog.service.ts +33 -0
  255. package/projects/tgo-canopy-ui/components/dialog-custom/__snapshots__/dialog-custom.component.spec.ts.snap +28 -0
  256. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom +0 -0
  257. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.html +38 -0
  258. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.mdx +38 -0
  259. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.module.ts +11 -0
  260. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.scss +0 -0
  261. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.spec.ts +56 -0
  262. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.stories.ts +27 -0
  263. package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.ts +45 -0
  264. package/projects/tgo-canopy-ui/components/dialog-demo/__snapshots__/dialog-demo.component.spec.ts.snap +21 -0
  265. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.html +4 -0
  266. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.mdx +28 -0
  267. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.module.ts +15 -0
  268. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.scss +12 -0
  269. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.spec.ts +58 -0
  270. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.stories.ts +30 -0
  271. package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.ts +33 -0
  272. package/projects/tgo-canopy-ui/components/divider/divider.component.html +13 -0
  273. package/projects/tgo-canopy-ui/components/divider/divider.component.module.ts +11 -0
  274. package/projects/tgo-canopy-ui/components/divider/divider.component.scss +57 -0
  275. package/projects/tgo-canopy-ui/components/divider/divider.component.spec.ts +21 -0
  276. package/projects/tgo-canopy-ui/components/divider/divider.component.stories.ts +48 -0
  277. package/projects/tgo-canopy-ui/components/divider/divider.component.ts +54 -0
  278. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.html +43 -0
  279. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.module.ts +31 -0
  280. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.scss +237 -0
  281. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.spec.ts +104 -0
  282. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.stories.ts +248 -0
  283. package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.ts +264 -0
  284. package/projects/tgo-canopy-ui/components/dropdown/dropdown.model.ts +5 -0
  285. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.html +3 -0
  286. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.module.ts +10 -0
  287. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.scss +41 -0
  288. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.spec.ts +39 -0
  289. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.stories.ts +59 -0
  290. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.ts +38 -0
  291. package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.constant.ts +9 -0
  292. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.html +25 -0
  293. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.module.ts +13 -0
  294. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.scss +70 -0
  295. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.spec.ts +80 -0
  296. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.stories.ts +159 -0
  297. package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.ts +174 -0
  298. package/projects/tgo-canopy-ui/components/field/__snapshots__/field.component.spec.ts.snap +55 -0
  299. package/projects/tgo-canopy-ui/components/field/field.component.html +105 -0
  300. package/projects/tgo-canopy-ui/components/field/field.component.module.ts +32 -0
  301. package/projects/tgo-canopy-ui/components/field/field.component.scss +492 -0
  302. package/projects/tgo-canopy-ui/components/field/field.component.spec.ts +268 -0
  303. package/projects/tgo-canopy-ui/components/field/field.component.stories.ts +212 -0
  304. package/projects/tgo-canopy-ui/components/field/field.component.ts +430 -0
  305. package/projects/tgo-canopy-ui/components/field/field.model.ts +11 -0
  306. package/projects/tgo-canopy-ui/components/file-upload/__snapshots__/file-upload.component.spec.ts.snap +59 -0
  307. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.html +94 -0
  308. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.module.ts +23 -0
  309. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.scss +182 -0
  310. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.spec.ts +142 -0
  311. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.stories.ts +96 -0
  312. package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.ts +284 -0
  313. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.html +32 -0
  314. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.module.ts +14 -0
  315. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.scss +23 -0
  316. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.spec.ts +111 -0
  317. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.stories.ts +28 -0
  318. package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.ts +74 -0
  319. package/projects/tgo-canopy-ui/components/form-demo/form-demo-component.stories.ts +41 -0
  320. package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.html +210 -0
  321. package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.module.ts +34 -0
  322. package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.scss +59 -0
  323. package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.spec.ts +127 -0
  324. package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.ts +217 -0
  325. package/projects/tgo-canopy-ui/components/form-demo/form-demo.model.ts +6 -0
  326. package/projects/tgo-canopy-ui/components/icon/__snapshots__/icon.component.spec.ts.snap +20 -0
  327. package/projects/tgo-canopy-ui/components/icon/icon.component.html +1 -0
  328. package/projects/tgo-canopy-ui/components/icon/icon.component.module.ts +13 -0
  329. package/projects/tgo-canopy-ui/components/icon/icon.component.scss +66 -0
  330. package/projects/tgo-canopy-ui/components/icon/icon.component.spec.ts +150 -0
  331. package/projects/tgo-canopy-ui/components/icon/icon.component.stories.ts +68 -0
  332. package/projects/tgo-canopy-ui/components/icon/icon.component.ts +147 -0
  333. package/projects/tgo-canopy-ui/components/icon/icon.config.ts +658 -0
  334. package/projects/tgo-canopy-ui/components/icon/icon.model.ts +8 -0
  335. package/projects/tgo-canopy-ui/components/icon-label/__snapshots__/icon-label.component.spec.ts.snap +15 -0
  336. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.html +2 -0
  337. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.module.ts +12 -0
  338. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.scss +8 -0
  339. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.spec.ts +64 -0
  340. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.stories.ts +48 -0
  341. package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.ts +53 -0
  342. package/projects/tgo-canopy-ui/components/icons-showcase/__snapshots__/icons-showcase.component.spec.ts.snap +3487 -0
  343. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.html +17 -0
  344. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.module.ts +12 -0
  345. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.scss +25 -0
  346. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.spec.ts +40 -0
  347. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.stories.ts +44 -0
  348. package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.ts +43 -0
  349. package/projects/tgo-canopy-ui/components/login/login.component.scss +0 -0
  350. package/projects/tgo-canopy-ui/components/logo/logo.component.html +14 -0
  351. package/projects/tgo-canopy-ui/components/logo/logo.component.module.ts +10 -0
  352. package/projects/tgo-canopy-ui/components/logo/logo.component.scss +13 -0
  353. package/projects/tgo-canopy-ui/components/logo/logo.component.spec.ts +162 -0
  354. package/projects/tgo-canopy-ui/components/logo/logo.component.stories.ts +55 -0
  355. package/projects/tgo-canopy-ui/components/logo/logo.component.ts +148 -0
  356. package/projects/tgo-canopy-ui/components/logo/logo.model.ts +30 -0
  357. package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.html +36 -0
  358. package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.scss +70 -0
  359. package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.spec.ts +58 -0
  360. package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.ts +58 -0
  361. package/projects/tgo-canopy-ui/components/navbar/navbar.component.html +62 -0
  362. package/projects/tgo-canopy-ui/components/navbar/navbar.component.module.ts +36 -0
  363. package/projects/tgo-canopy-ui/components/navbar/navbar.component.scss +240 -0
  364. package/projects/tgo-canopy-ui/components/navbar/navbar.component.spec.ts +136 -0
  365. package/projects/tgo-canopy-ui/components/navbar/navbar.component.stories.ts +134 -0
  366. package/projects/tgo-canopy-ui/components/navbar/navbar.component.ts +206 -0
  367. package/projects/tgo-canopy-ui/components/navbar/navbar.model.ts +12 -0
  368. package/projects/tgo-canopy-ui/components/overflow-menu/__snapshots__/overflow-menu.component.spec.ts.snap +28 -0
  369. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.html +47 -0
  370. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.module.ts +13 -0
  371. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.scss +98 -0
  372. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.spec.ts +124 -0
  373. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.stories.ts +58 -0
  374. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.ts +88 -0
  375. package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.model.ts +11 -0
  376. package/projects/tgo-canopy-ui/components/page-header/page-header.component.html +35 -0
  377. package/projects/tgo-canopy-ui/components/page-header/page-header.component.module.ts +12 -0
  378. package/projects/tgo-canopy-ui/components/page-header/page-header.component.scss +61 -0
  379. package/projects/tgo-canopy-ui/components/page-header/page-header.component.spec.ts +34 -0
  380. package/projects/tgo-canopy-ui/components/page-header/page-header.component.stories.ts +56 -0
  381. package/projects/tgo-canopy-ui/components/page-header/page-header.component.ts +64 -0
  382. package/projects/tgo-canopy-ui/components/paginator/paginator.component.html +10 -0
  383. package/projects/tgo-canopy-ui/components/paginator/paginator.component.module.ts +11 -0
  384. package/projects/tgo-canopy-ui/components/paginator/paginator.component.scss +159 -0
  385. package/projects/tgo-canopy-ui/components/paginator/paginator.component.spec.ts +29 -0
  386. package/projects/tgo-canopy-ui/components/paginator/paginator.component.stories.ts +36 -0
  387. package/projects/tgo-canopy-ui/components/paginator/paginator.component.ts +67 -0
  388. package/projects/tgo-canopy-ui/components/password-criteria/password.component.html +31 -0
  389. package/projects/tgo-canopy-ui/components/password-criteria/password.component.module.ts +22 -0
  390. package/projects/tgo-canopy-ui/components/password-criteria/password.component.scss +56 -0
  391. package/projects/tgo-canopy-ui/components/password-criteria/password.component.spec.ts +45 -0
  392. package/projects/tgo-canopy-ui/components/password-criteria/password.component.stories.ts +49 -0
  393. package/projects/tgo-canopy-ui/components/password-criteria/password.component.ts +106 -0
  394. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.html +19 -0
  395. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.module.ts +13 -0
  396. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.scss +54 -0
  397. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.spec.ts +40 -0
  398. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.stories.ts +50 -0
  399. package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.ts +98 -0
  400. package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.html +2 -0
  401. package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.scss +0 -0
  402. package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.spec.ts +28 -0
  403. package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.stories.ts +40 -0
  404. package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.ts +20 -0
  405. package/projects/tgo-canopy-ui/components/phone-input/join-string.pipe.spec.ts +9 -0
  406. package/projects/tgo-canopy-ui/components/phone-input/join-strings.pipe.ts +8 -0
  407. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.html +64 -0
  408. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.module.ts +35 -0
  409. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.scss +133 -0
  410. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.spec.ts +212 -0
  411. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.stories.ts +89 -0
  412. package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.ts +427 -0
  413. package/projects/tgo-canopy-ui/components/phone-input/phone-input.model.ts +8 -0
  414. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.html +9 -0
  415. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.module.ts +12 -0
  416. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.scss +152 -0
  417. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.spec.ts +76 -0
  418. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.stories.ts +48 -0
  419. package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.ts +82 -0
  420. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.html +26 -0
  421. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.module.ts +12 -0
  422. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.scss +41 -0
  423. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.spec.ts +102 -0
  424. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.stories.ts +69 -0
  425. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.ts +114 -0
  426. package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.model.ts +13 -0
  427. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.html +18 -0
  428. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.module.ts +13 -0
  429. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.scss +189 -0
  430. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.spec.ts +139 -0
  431. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.stories.ts +126 -0
  432. package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.ts +190 -0
  433. package/projects/tgo-canopy-ui/components/radio-button/radio-button.model.ts +4 -0
  434. package/projects/tgo-canopy-ui/components/rating/__snapshots__/rating.component.spec.ts.snap +47 -0
  435. package/projects/tgo-canopy-ui/components/rating/half-star.pipe.spec.ts +33 -0
  436. package/projects/tgo-canopy-ui/components/rating/half-star.pipe.ts +17 -0
  437. package/projects/tgo-canopy-ui/components/rating/rating.component.html +31 -0
  438. package/projects/tgo-canopy-ui/components/rating/rating.component.module.ts +12 -0
  439. package/projects/tgo-canopy-ui/components/rating/rating.component.scss +139 -0
  440. package/projects/tgo-canopy-ui/components/rating/rating.component.spec.ts +142 -0
  441. package/projects/tgo-canopy-ui/components/rating/rating.component.stories.ts +87 -0
  442. package/projects/tgo-canopy-ui/components/rating/rating.component.ts +97 -0
  443. package/projects/tgo-canopy-ui/components/scale/__snapshots__/scale.component.spec.ts.snap +42 -0
  444. package/projects/tgo-canopy-ui/components/scale/scale.component.html +7 -0
  445. package/projects/tgo-canopy-ui/components/scale/scale.component.module.ts +12 -0
  446. package/projects/tgo-canopy-ui/components/scale/scale.component.scss +71 -0
  447. package/projects/tgo-canopy-ui/components/scale/scale.component.spec.ts +125 -0
  448. package/projects/tgo-canopy-ui/components/scale/scale.component.stories.ts +60 -0
  449. package/projects/tgo-canopy-ui/components/scale/scale.component.ts +57 -0
  450. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.html +16 -0
  451. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.module.ts +12 -0
  452. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.scss +86 -0
  453. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.spec.ts +69 -0
  454. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.stories.ts +98 -0
  455. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.ts +69 -0
  456. package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.model.ts +8 -0
  457. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.html +11 -0
  458. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.module.ts +22 -0
  459. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.scss +67 -0
  460. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.spec.ts +50 -0
  461. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.stories.ts +59 -0
  462. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.ts +67 -0
  463. package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.model.ts +8 -0
  464. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.html +37 -0
  465. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.module.ts +24 -0
  466. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.scss +97 -0
  467. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.spec.ts +176 -0
  468. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.ts +110 -0
  469. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.model.ts +12 -0
  470. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.service.spec.ts +88 -0
  471. package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.service.ts +28 -0
  472. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.html +5 -0
  473. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.scss +14 -0
  474. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.spec.ts +26 -0
  475. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.stories.ts +54 -0
  476. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.ts +98 -0
  477. package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.module.ts +12 -0
  478. package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.html +5 -0
  479. package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.scss +0 -0
  480. package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.spec.ts +75 -0
  481. package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.stories.ts +47 -0
  482. package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.ts +66 -0
  483. package/projects/tgo-canopy-ui/components/skeleton/skeleton.model.ts +3 -0
  484. package/projects/tgo-canopy-ui/components/slider/slider.component.html +75 -0
  485. package/projects/tgo-canopy-ui/components/slider/slider.component.module.ts +24 -0
  486. package/projects/tgo-canopy-ui/components/slider/slider.component.scss +223 -0
  487. package/projects/tgo-canopy-ui/components/slider/slider.component.spec.ts +103 -0
  488. package/projects/tgo-canopy-ui/components/slider/slider.component.stories.ts +87 -0
  489. package/projects/tgo-canopy-ui/components/slider/slider.component.ts +185 -0
  490. package/projects/tgo-canopy-ui/components/slider/slider.model.ts +4 -0
  491. package/projects/tgo-canopy-ui/components/snackbar/__snapshots__/snackbar.component.spec.ts.snap +44 -0
  492. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.html +33 -0
  493. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.module.ts +16 -0
  494. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.scss +45 -0
  495. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.spec.ts +214 -0
  496. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.stories.ts +159 -0
  497. package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.ts +196 -0
  498. package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.spec.ts +52 -0
  499. package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.ts +37 -0
  500. package/projects/tgo-canopy-ui/components/spinner/spinner.component.html +6 -0
  501. package/projects/tgo-canopy-ui/components/spinner/spinner.component.scss +75 -0
  502. package/projects/tgo-canopy-ui/components/spinner/spinner.component.spec.ts +82 -0
  503. package/projects/tgo-canopy-ui/components/spinner/spinner.component.stories.ts +46 -0
  504. package/projects/tgo-canopy-ui/components/spinner/spinner.component.ts +59 -0
  505. package/projects/tgo-canopy-ui/components/spinner/spinner.module.ts +10 -0
  506. package/projects/tgo-canopy-ui/components/step/step.component.html +100 -0
  507. package/projects/tgo-canopy-ui/components/step/step.component.module.ts +11 -0
  508. package/projects/tgo-canopy-ui/components/step/step.component.scss +315 -0
  509. package/projects/tgo-canopy-ui/components/step/step.component.spec.ts +61 -0
  510. package/projects/tgo-canopy-ui/components/step/step.component.ts +134 -0
  511. package/projects/tgo-canopy-ui/components/stepper/stepper.component.html +79 -0
  512. package/projects/tgo-canopy-ui/components/stepper/stepper.component.module.ts +25 -0
  513. package/projects/tgo-canopy-ui/components/stepper/stepper.component.scss +144 -0
  514. package/projects/tgo-canopy-ui/components/stepper/stepper.component.spec.ts +64 -0
  515. package/projects/tgo-canopy-ui/components/stepper/stepper.component.stories.ts +84 -0
  516. package/projects/tgo-canopy-ui/components/stepper/stepper.component.ts +118 -0
  517. package/projects/tgo-canopy-ui/components/stepper/stepper.model.ts +10 -0
  518. package/projects/tgo-canopy-ui/components/table/sentence-case.pipe.ts +13 -0
  519. package/projects/tgo-canopy-ui/components/table/sentence-case.spec.ts +53 -0
  520. package/projects/tgo-canopy-ui/components/table/table.component.html +290 -0
  521. package/projects/tgo-canopy-ui/components/table/table.component.module.ts +35 -0
  522. package/projects/tgo-canopy-ui/components/table/table.component.scss +201 -0
  523. package/projects/tgo-canopy-ui/components/table/table.component.spec.ts +187 -0
  524. package/projects/tgo-canopy-ui/components/table/table.component.stories.ts +427 -0
  525. package/projects/tgo-canopy-ui/components/table/table.component.ts +242 -0
  526. package/projects/tgo-canopy-ui/components/table/table.model.ts +103 -0
  527. package/projects/tgo-canopy-ui/components/tabs/tab.directive.ts +33 -0
  528. package/projects/tgo-canopy-ui/components/tabs/tabs.component.html +19 -0
  529. package/projects/tgo-canopy-ui/components/tabs/tabs.component.module.ts +22 -0
  530. package/projects/tgo-canopy-ui/components/tabs/tabs.component.scss +234 -0
  531. package/projects/tgo-canopy-ui/components/tabs/tabs.component.spec.ts +85 -0
  532. package/projects/tgo-canopy-ui/components/tabs/tabs.component.stories.ts +73 -0
  533. package/projects/tgo-canopy-ui/components/tabs/tabs.component.ts +79 -0
  534. package/projects/tgo-canopy-ui/components/tabs/tabs.directive.spec.ts +90 -0
  535. package/projects/tgo-canopy-ui/components/tabs/tabs.model.ts +11 -0
  536. package/projects/tgo-canopy-ui/components/tag/__snapshots__/tag.component.spec.ts.snap +42 -0
  537. package/projects/tgo-canopy-ui/components/tag/tag.component.html +26 -0
  538. package/projects/tgo-canopy-ui/components/tag/tag.component.module.ts +15 -0
  539. package/projects/tgo-canopy-ui/components/tag/tag.component.scss +161 -0
  540. package/projects/tgo-canopy-ui/components/tag/tag.component.spec.ts +193 -0
  541. package/projects/tgo-canopy-ui/components/tag/tag.component.stories.ts +125 -0
  542. package/projects/tgo-canopy-ui/components/tag/tag.component.ts +213 -0
  543. package/projects/tgo-canopy-ui/components/toggle/toggle.component.html +24 -0
  544. package/projects/tgo-canopy-ui/components/toggle/toggle.component.module.ts +14 -0
  545. package/projects/tgo-canopy-ui/components/toggle/toggle.component.scss +202 -0
  546. package/projects/tgo-canopy-ui/components/toggle/toggle.component.spec.ts +197 -0
  547. package/projects/tgo-canopy-ui/components/toggle/toggle.component.stories.ts +97 -0
  548. package/projects/tgo-canopy-ui/components/toggle/toggle.component.ts +179 -0
  549. package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.html +9 -0
  550. package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.module.ts +10 -0
  551. package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.spec.ts +53 -0
  552. package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.stories.ts +235 -0
  553. package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.ts +81 -0
  554. package/projects/tgo-canopy-ui/components/tooltip/tooltip.model.ts +6 -0
  555. package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.html +29 -0
  556. package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.scss +0 -0
  557. package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.spec.ts +75 -0
  558. package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.ts +53 -0
  559. package/projects/tgo-canopy-ui/components/validation-error/validation-error.module.ts +12 -0
  560. package/projects/tgo-canopy-ui/directives/digits-only.directive.spec.ts +121 -0
  561. package/projects/tgo-canopy-ui/directives/digits-only.directive.ts +42 -0
  562. package/projects/tgo-canopy-ui/directives/drag-drop.directive.spec.ts +84 -0
  563. package/projects/tgo-canopy-ui/directives/drag-drop.directive.ts +39 -0
  564. package/projects/tgo-canopy-ui/directives/ellipse-text.directive.spec.ts +57 -0
  565. package/projects/tgo-canopy-ui/directives/ellipse-text.directive.ts +27 -0
  566. package/projects/tgo-canopy-ui/directives/select-text.directive.spec.ts +54 -0
  567. package/projects/tgo-canopy-ui/directives/select-text.directive.ts +37 -0
  568. package/projects/tgo-canopy-ui/directives/step-line-width.directive.spec.ts +59 -0
  569. package/projects/tgo-canopy-ui/directives/step-line-width.directive.ts +31 -0
  570. package/projects/tgo-canopy-ui/foundations/colors/colors.component.html +4 -0
  571. package/projects/tgo-canopy-ui/foundations/colors/colors.component.module.ts +10 -0
  572. package/projects/tgo-canopy-ui/foundations/colors/colors.component.scss +318 -0
  573. package/projects/tgo-canopy-ui/foundations/colors/colors.component.spec.ts +47 -0
  574. package/projects/tgo-canopy-ui/foundations/colors/colors.component.ts +22 -0
  575. package/projects/tgo-canopy-ui/foundations/colors/colors.stories.ts +426 -0
  576. package/projects/tgo-canopy-ui/foundations/typography/typography.stories.ts +195 -0
  577. package/projects/tgo-canopy-ui/mocked-assets/images/some_progress.svg +4 -0
  578. package/projects/tgo-canopy-ui/models/colors.model.ts +88 -0
  579. package/projects/tgo-canopy-ui/models/screen-breakpoints.model.ts +4 -0
  580. package/projects/tgo-canopy-ui/pipes/data-property-getter.spec.ts +42 -0
  581. package/projects/tgo-canopy-ui/pipes/data-property-getter.ts +31 -0
  582. package/projects/tgo-canopy-ui/pipes/has-validation-error.pipe.spec.ts +32 -0
  583. package/projects/tgo-canopy-ui/pipes/has-validation-error.pipe.ts +20 -0
  584. package/projects/tgo-canopy-ui/pipes/memoize-func.pipe.spec.ts +19 -0
  585. package/projects/tgo-canopy-ui/pipes/memoize-func.pipe.ts +34 -0
  586. package/projects/tgo-canopy-ui/pipes/name-initials.pipe.spec.ts +44 -0
  587. package/projects/tgo-canopy-ui/pipes/name-initials.pipe.ts +18 -0
  588. package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.spec.ts +45 -0
  589. package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.ts +71 -0
  590. package/projects/tgo-canopy-ui/polyfills.ts +51 -0
  591. package/projects/tgo-canopy-ui/providers/is-mobile.ts +11 -0
  592. package/projects/tgo-canopy-ui/public-api.ts +184 -0
  593. package/projects/tgo-canopy-ui/services/custom-event-manager.service.spec.ts +57 -0
  594. package/projects/tgo-canopy-ui/services/custom-event-manager.service.ts +28 -0
  595. package/projects/tgo-canopy-ui/test-utils/mock-file.spec.ts +44 -0
  596. package/projects/tgo-canopy-ui/test-utils/mock-file.ts +24 -0
  597. package/projects/tgo-canopy-ui/test.ts +20 -0
  598. package/projects/tgo-canopy-ui/theme/_input.scss +12 -0
  599. package/projects/tgo-canopy-ui/utils/alert-bars.utils.spec.ts +47 -0
  600. package/projects/tgo-canopy-ui/utils/alert-bars.utils.ts +36 -0
  601. package/projects/tgo-canopy-ui/utils/autocomplete-utils.spec.ts +68 -0
  602. package/projects/tgo-canopy-ui/utils/autocomplete-utils.ts +66 -0
  603. package/projects/tgo-canopy-ui/utils/color-contrast.spec.ts +46 -0
  604. package/projects/tgo-canopy-ui/utils/color-contrast.ts +135 -0
  605. package/projects/tgo-canopy-ui/utils/localization/language.model.ts +14 -0
  606. package/projects/tgo-canopy-ui/utils/localization/language.service.mocks.ts +6 -0
  607. package/projects/tgo-canopy-ui/utils/localization/language.service.spec.ts +25 -0
  608. package/projects/tgo-canopy-ui/utils/localization/language.service.ts +32 -0
  609. package/projects/tgo-canopy-ui/utils/table.utils.spec.ts +47 -0
  610. package/projects/tgo-canopy-ui/utils/table.utils.ts +22 -0
  611. package/projects/tgo-canopy-ui/utils/transform-theme.ts +9 -0
  612. package/projects/tgo-canopy-ui/utils/transform.theme.spec.ts +16 -0
  613. package/projects/tgo-canopy-ui/utils/validators.utils.spec.ts +16 -0
  614. package/projects/tgo-canopy-ui/utils/validators.utils.ts +9 -0
  615. package/setupJest.ts +1 -0
  616. package/transloco.config.js +5 -0
  617. package/tsconfig.json +46 -0
  618. package/tsconfig.spec.json +17 -0
  619. package/tsconfig.ui.json +24 -0
  620. package/tsconfig.ui.prod.json +10 -0
  621. package/visual-tests/component-page-objects/avatar-component.ts +30 -0
  622. package/visual-tests/component-page-objects/badge-component.ts +33 -0
  623. package/visual-tests/component-page-objects/base-component.ts +44 -0
  624. package/visual-tests/component-page-objects/checkbox-component.ts +38 -0
  625. package/visual-tests/component-page-objects/icon-component.ts +32 -0
  626. package/visual-tests/component-tests/avatar.spec.ts +91 -0
  627. 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
  628. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-large-avatar-1-chromium-linux.png +0 -0
  629. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-medium-avatar-1-chromium-linux.png +0 -0
  630. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-small-avatar-1-chromium-linux.png +0 -0
  631. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-the-avatar-correctly-1-chromium-linux.png +0 -0
  632. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-the-avatar-image-1-chromium-linux.png +0 -0
  633. package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-emit-edit-click-event-1-chromium-linux.png +0 -0
  634. package/visual-tests/component-tests/badge.spec.ts +56 -0
  635. package/visual-tests/component-tests/badge.spec.ts-snapshots/Badge-Component-Visual-Tests-should-display-notification-badge-1-chromium-linux.png +0 -0
  636. package/visual-tests/component-tests/badge.spec.ts-snapshots/Badge-Component-Visual-Tests-should-display-secondary-badge-1-chromium-linux.png +0 -0
  637. package/visual-tests/component-tests/badge.spec.ts-snapshots/Badge-Component-Visual-Tests-should-display-the-badge-correctly-1-chromium-linux.png +0 -0
  638. 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
  639. package/visual-tests/component-tests/checkbox.spec.ts +151 -0
  640. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-checked-1-chromium-linux.png +0 -0
  641. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-correctly-1-chromium-linux.png +0 -0
  642. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-disabled-1-chromium-linux.png +0 -0
  643. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-error-1-chromium-linux.png +0 -0
  644. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-indeterminate-1-chromium-linux.png +0 -0
  645. package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-multiple-1-chromium-linux.png +0 -0
  646. 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
  647. 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
  648. 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
  649. package/visual-tests/component-tests/icon.spec.ts +41 -0
  650. 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
  651. package/visual-tests/component-tests/icon.spec.ts-snapshots/Icon-Component-Visual-Tests-should-display-the-icon-correctly-1-chromium-linux.png +0 -0
  652. 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
  653. package/visual-tests/playwright.config.ts +45 -0
  654. package/visual-tests/runConfig.ts +1 -0
  655. package/components/accordion/accordion.component.d.ts +0 -76
  656. package/components/accordion/accordion.component.module.d.ts +0 -12
  657. package/components/alert-banner/alert-banner.component.d.ts +0 -89
  658. package/components/alert-banner/alert-banner.component.module.d.ts +0 -10
  659. package/components/autocomplete/autocomplete.component.d.ts +0 -211
  660. package/components/autocomplete/autocomplete.component.module.d.ts +0 -22
  661. package/components/autocomplete/autocomplete.model.d.ts +0 -18
  662. package/components/autocomplete/includes.pipe.d.ts +0 -12
  663. package/components/autocomplete/transform-Item.pipe.d.ts +0 -11
  664. package/components/avatar/avatar.component.d.ts +0 -58
  665. package/components/avatar/avatar.component.module.d.ts +0 -12
  666. package/components/avatar/avatar.model.d.ts +0 -7
  667. package/components/badge/badge.component.d.ts +0 -58
  668. package/components/badge/badge.component.module.d.ts +0 -9
  669. package/components/badge/badge.model.d.ts +0 -27
  670. package/components/button/button.component.d.ts +0 -190
  671. package/components/button/button.component.module.d.ts +0 -13
  672. package/components/button/button.model.d.ts +0 -14
  673. package/components/card/card.component.d.ts +0 -46
  674. package/components/card/card.component.module.d.ts +0 -9
  675. package/components/checkbox/checkbox.component.d.ts +0 -147
  676. package/components/checkbox/checkbox.component.module.d.ts +0 -15
  677. package/components/confirm-dialog/confirm-dialog.component.d.ts +0 -25
  678. package/components/confirm-dialog/confirm-dialog.component.module.d.ts +0 -12
  679. package/components/confirm-dialog/confirm-dialog.model.d.ts +0 -9
  680. package/components/datepicker/datepicker.component.d.ts +0 -205
  681. package/components/datepicker/datepicker.component.module.d.ts +0 -18
  682. package/components/datepicker/no-date-format.directive.d.ts +0 -11
  683. package/components/deprecated-paginator/deprecated-paginator.component.d.ts +0 -38
  684. package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +0 -9
  685. package/components/deprecated-table/deprecated-table.component.d.ts +0 -91
  686. package/components/deprecated-table/deprecated-table.component.module.d.ts +0 -14
  687. package/components/deprecated-table/deprecated-table.model.d.ts +0 -45
  688. package/components/deprecated-table/directives/dynamic-component.directive.d.ts +0 -13
  689. package/components/dialog/dialog.component.d.ts +0 -108
  690. package/components/dialog/dialog.component.module.d.ts +0 -11
  691. package/components/dialog/dialog.service.d.ts +0 -13
  692. package/components/divider/divider.component.d.ts +0 -39
  693. package/components/divider/divider.component.module.d.ts +0 -9
  694. package/components/dropdown/dropdown.component.d.ts +0 -157
  695. package/components/dropdown/dropdown.component.module.d.ts +0 -17
  696. package/components/dropdown/dropdown.model.d.ts +0 -5
  697. package/components/elevation-shadow/elevation-shadow.component.d.ts +0 -26
  698. package/components/elevation-shadow/elevation-shadow.component.module.d.ts +0 -8
  699. package/components/elevation-shadow/elevation-shadow.constant.d.ts +0 -8
  700. package/components/empty-state/empty-state.component.d.ts +0 -124
  701. package/components/empty-state/empty-state.component.module.d.ts +0 -11
  702. package/components/field/field.component.d.ts +0 -238
  703. package/components/field/field.component.module.d.ts +0 -18
  704. package/components/field/field.model.d.ts +0 -1
  705. package/components/file-upload/file-upload.component.d.ts +0 -124
  706. package/components/file-upload/file-upload.component.module.d.ts +0 -14
  707. package/components/icon/icon.component.d.ts +0 -65
  708. package/components/icon/icon.component.module.d.ts +0 -10
  709. package/components/icon/icon.config.d.ts +0 -10
  710. package/components/icon/icon.model.d.ts +0 -7
  711. package/components/icon-label/icon-label.component.d.ts +0 -39
  712. package/components/icon-label/icon-label.component.module.d.ts +0 -9
  713. package/components/logo/logo.component.d.ts +0 -57
  714. package/components/logo/logo.component.module.d.ts +0 -8
  715. package/components/logo/logo.model.d.ts +0 -29
  716. package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +0 -22
  717. package/components/navbar/navbar.component.d.ts +0 -113
  718. package/components/navbar/navbar.component.module.d.ts +0 -20
  719. package/components/navbar/navbar.model.d.ts +0 -10
  720. package/components/overflow-menu/overflow-menu.component.d.ts +0 -55
  721. package/components/overflow-menu/overflow-menu.component.module.d.ts +0 -11
  722. package/components/overflow-menu/overflow-menu.model.d.ts +0 -10
  723. package/components/page-header/page-header.component.d.ts +0 -45
  724. package/components/page-header/page-header.component.module.d.ts +0 -10
  725. package/components/paginator/paginator.component.d.ts +0 -49
  726. package/components/paginator/paginator.component.module.d.ts +0 -9
  727. package/components/password-criteria/password.component.d.ts +0 -49
  728. package/components/password-criteria/password.component.module.d.ts +0 -13
  729. package/components/password-strength/password-strength.component.d.ts +0 -52
  730. package/components/password-strength/password-strength.component.module.d.ts +0 -11
  731. package/components/phone-input/join-strings.pipe.d.ts +0 -7
  732. package/components/phone-input/phone-input.component.d.ts +0 -154
  733. package/components/phone-input/phone-input.component.module.d.ts +0 -20
  734. package/components/phone-input/phone-input.model.d.ts +0 -8
  735. package/components/progress-bar/progress-bar.component.d.ts +0 -52
  736. package/components/progress-bar/progress-bar.component.module.d.ts +0 -9
  737. package/components/radial-progress/radial-progress.component.d.ts +0 -68
  738. package/components/radial-progress/radial-progress.component.module.d.ts +0 -10
  739. package/components/radial-progress/radial-progress.model.d.ts +0 -10
  740. package/components/radio-button/radio-button.component.d.ts +0 -116
  741. package/components/radio-button/radio-button.component.module.d.ts +0 -11
  742. package/components/radio-button/radio-button.model.d.ts +0 -4
  743. package/components/rating/half-star.pipe.d.ts +0 -14
  744. package/components/rating/rating.component.d.ts +0 -64
  745. package/components/rating/rating.component.module.d.ts +0 -10
  746. package/components/scale/scale.component.d.ts +0 -34
  747. package/components/scale/scale.component.module.d.ts +0 -8
  748. package/components/segmented-bar/segmented-bar.component.d.ts +0 -54
  749. package/components/segmented-bar/segmented-bar.component.module.d.ts +0 -10
  750. package/components/segmented-bar/segmented-bar.model.d.ts +0 -7
  751. package/components/segmented-button/segmented-button.component.d.ts +0 -23
  752. package/components/segmented-button/segmented-button.component.module.d.ts +0 -10
  753. package/components/segmented-button/segmented-button.model.d.ts +0 -6
  754. package/components/side-sheet/side-sheet.component.d.ts +0 -49
  755. package/components/side-sheet/side-sheet.component.module.d.ts +0 -14
  756. package/components/side-sheet/side-sheet.model.d.ts +0 -10
  757. package/components/side-sheet/side-sheet.service.d.ts +0 -14
  758. package/components/skeleton/skeleton.component.d.ts +0 -26
  759. package/components/skeleton/skeleton.model.d.ts +0 -2
  760. package/components/slider/slider.component.d.ts +0 -103
  761. package/components/slider/slider.component.module.d.ts +0 -14
  762. package/components/slider/slider.model.d.ts +0 -4
  763. package/components/snackbar/snackbar.component.d.ts +0 -111
  764. package/components/snackbar/snackbar.component.module.d.ts +0 -12
  765. package/components/snackbar/snackbar.service.d.ts +0 -12
  766. package/components/spinner/spinner.component.d.ts +0 -38
  767. package/components/spinner/spinner.module.d.ts +0 -8
  768. package/components/step/step.component.d.ts +0 -104
  769. package/components/step/step.component.module.d.ts +0 -9
  770. package/components/stepper/stepper.component.d.ts +0 -76
  771. package/components/stepper/stepper.component.module.d.ts +0 -15
  772. package/components/stepper/stepper.model.d.ts +0 -9
  773. package/components/table/sentence-case.pipe.d.ts +0 -7
  774. package/components/table/table.component.d.ts +0 -93
  775. package/components/table/table.component.module.d.ts +0 -19
  776. package/components/table/table.model.d.ts +0 -92
  777. package/components/tabs/tab.directive.d.ts +0 -18
  778. package/components/tabs/tabs.component.d.ts +0 -59
  779. package/components/tabs/tabs.component.module.d.ts +0 -11
  780. package/components/tabs/tabs.model.d.ts +0 -9
  781. package/components/tag/tag.component.d.ts +0 -129
  782. package/components/tag/tag.component.module.d.ts +0 -12
  783. package/components/toggle/toggle.component.d.ts +0 -105
  784. package/components/toggle/toggle.component.module.d.ts +0 -12
  785. package/components/tooltip/tooltip.component.d.ts +0 -44
  786. package/components/tooltip/tooltip.component.module.d.ts +0 -8
  787. package/components/tooltip/tooltip.model.d.ts +0 -6
  788. package/components/validation-error/validation-error.component.d.ts +0 -27
  789. package/components/validation-error/validation-error.module.d.ts +0 -10
  790. package/directives/digits-only.directive.d.ts +0 -15
  791. package/directives/drag-drop.directive.d.ts +0 -12
  792. package/directives/ellipse-text.directive.d.ts +0 -16
  793. package/directives/select-text.directive.d.ts +0 -19
  794. package/directives/step-line-width.directive.d.ts +0 -15
  795. package/esm2022/assets/i18n/da-dk.json +0 -77
  796. package/esm2022/assets/i18n/de.json +0 -77
  797. package/esm2022/assets/i18n/en.json +0 -100
  798. package/esm2022/assets/i18n/es.json +0 -77
  799. package/esm2022/assets/i18n/fr.json +0 -77
  800. package/esm2022/assets/i18n/it-it.json +0 -77
  801. package/esm2022/assets/i18n/ja-jp.json +0 -77
  802. package/esm2022/assets/i18n/nb-no.json +0 -77
  803. package/esm2022/assets/i18n/nl.json +0 -77
  804. package/esm2022/assets/i18n/pl-pl.json +0 -77
  805. package/esm2022/assets/i18n/pt-br.json +0 -77
  806. package/esm2022/assets/i18n/sv-se.json +0 -77
  807. package/esm2022/components/accordion/accordion.component.mjs +0 -105
  808. package/esm2022/components/accordion/accordion.component.module.mjs +0 -40
  809. package/esm2022/components/accordion/accordion.model.mjs +0 -2
  810. package/esm2022/components/alert-banner/alert-banner.component.mjs +0 -127
  811. package/esm2022/components/alert-banner/alert-banner.component.module.mjs +0 -20
  812. package/esm2022/components/alert-banner/alert-banner.model.mjs +0 -2
  813. package/esm2022/components/autocomplete/autocomplete.component.mjs +0 -506
  814. package/esm2022/components/autocomplete/autocomplete.component.module.mjs +0 -70
  815. package/esm2022/components/autocomplete/autocomplete.model.mjs +0 -22
  816. package/esm2022/components/autocomplete/includes.pipe.mjs +0 -21
  817. package/esm2022/components/autocomplete/transform-Item.pipe.mjs +0 -29
  818. package/esm2022/components/avatar/avatar.component.mjs +0 -91
  819. package/esm2022/components/avatar/avatar.component.module.mjs +0 -22
  820. package/esm2022/components/avatar/avatar.model.mjs +0 -12
  821. package/esm2022/components/badge/badge.component.mjs +0 -102
  822. package/esm2022/components/badge/badge.component.module.mjs +0 -19
  823. package/esm2022/components/badge/badge.model.mjs +0 -28
  824. package/esm2022/components/button/button.component.mjs +0 -352
  825. package/esm2022/components/button/button.component.module.mjs +0 -41
  826. package/esm2022/components/button/button.model.mjs +0 -2
  827. package/esm2022/components/card/card.component.mjs +0 -75
  828. package/esm2022/components/card/card.component.module.mjs +0 -19
  829. package/esm2022/components/card/card.model.mjs +0 -2
  830. package/esm2022/components/checkbox/checkbox.component.mjs +0 -228
  831. package/esm2022/components/checkbox/checkbox.component.module.mjs +0 -25
  832. package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +0 -48
  833. package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +0 -29
  834. package/esm2022/components/confirm-dialog/confirm-dialog.model.mjs +0 -2
  835. package/esm2022/components/datepicker/datepicker.component.mjs +0 -302
  836. package/esm2022/components/datepicker/datepicker.component.module.mjs +0 -60
  837. package/esm2022/components/datepicker/no-date-format.directive.mjs +0 -56
  838. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +0 -55
  839. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.module.mjs +0 -20
  840. package/esm2022/components/deprecated-table/deprecated-table.component.mjs +0 -158
  841. package/esm2022/components/deprecated-table/deprecated-table.component.module.mjs +0 -43
  842. package/esm2022/components/deprecated-table/deprecated-table.model.mjs +0 -13
  843. package/esm2022/components/deprecated-table/directives/dynamic-component.directive.mjs +0 -40
  844. package/esm2022/components/dialog/dialog.component.mjs +0 -193
  845. package/esm2022/components/dialog/dialog.component.module.mjs +0 -23
  846. package/esm2022/components/dialog/dialog.service.mjs +0 -32
  847. package/esm2022/components/divider/divider.component.mjs +0 -65
  848. package/esm2022/components/divider/divider.component.module.mjs +0 -19
  849. package/esm2022/components/divider/divider.model.mjs +0 -2
  850. package/esm2022/components/dropdown/dropdown.component.mjs +0 -228
  851. package/esm2022/components/dropdown/dropdown.component.module.mjs +0 -57
  852. package/esm2022/components/dropdown/dropdown.model.mjs +0 -2
  853. package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +0 -45
  854. package/esm2022/components/elevation-shadow/elevation-shadow.component.module.mjs +0 -18
  855. package/esm2022/components/elevation-shadow/elevation-shadow.constant.mjs +0 -9
  856. package/esm2022/components/empty-state/empty-state.component.mjs +0 -195
  857. package/esm2022/components/empty-state/empty-state.component.module.mjs +0 -21
  858. package/esm2022/components/empty-state/empty-state.model.mjs +0 -2
  859. package/esm2022/components/field/field.component.mjs +0 -409
  860. package/esm2022/components/field/field.component.module.mjs +0 -58
  861. package/esm2022/components/field/field.model.mjs +0 -2
  862. package/esm2022/components/file-upload/file-upload.component.mjs +0 -271
  863. package/esm2022/components/file-upload/file-upload.component.module.mjs +0 -40
  864. package/esm2022/components/icon/icon.component.mjs +0 -127
  865. package/esm2022/components/icon/icon.component.module.mjs +0 -21
  866. package/esm2022/components/icon/icon.config.mjs +0 -657
  867. package/esm2022/components/icon/icon.model.mjs +0 -2
  868. package/esm2022/components/icon-label/icon-label.component.mjs +0 -53
  869. package/esm2022/components/icon-label/icon-label.component.module.mjs +0 -20
  870. package/esm2022/components/logo/logo.component.mjs +0 -149
  871. package/esm2022/components/logo/logo.component.module.mjs +0 -18
  872. package/esm2022/components/logo/logo.model.mjs +0 -32
  873. package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +0 -75
  874. package/esm2022/components/navbar/navbar.component.mjs +0 -200
  875. package/esm2022/components/navbar/navbar.component.module.mjs +0 -67
  876. package/esm2022/components/navbar/navbar.model.mjs +0 -2
  877. package/esm2022/components/overflow-menu/overflow-menu.component.mjs +0 -73
  878. package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +0 -21
  879. package/esm2022/components/overflow-menu/overflow-menu.model.mjs +0 -2
  880. package/esm2022/components/page-header/page-header.component.mjs +0 -81
  881. package/esm2022/components/page-header/page-header.component.module.mjs +0 -20
  882. package/esm2022/components/paginator/paginator.component.mjs +0 -76
  883. package/esm2022/components/paginator/paginator.component.module.mjs +0 -19
  884. package/esm2022/components/password-criteria/password.component.mjs +0 -115
  885. package/esm2022/components/password-criteria/password.component.module.mjs +0 -39
  886. package/esm2022/components/password-strength/password-strength.component.mjs +0 -103
  887. package/esm2022/components/password-strength/password-strength.component.module.mjs +0 -21
  888. package/esm2022/components/phone-input/join-strings.pipe.mjs +0 -14
  889. package/esm2022/components/phone-input/phone-input.component.mjs +0 -363
  890. package/esm2022/components/phone-input/phone-input.component.module.mjs +0 -63
  891. package/esm2022/components/phone-input/phone-input.model.mjs +0 -2
  892. package/esm2022/components/progress-bar/progress-bar.component.mjs +0 -74
  893. package/esm2022/components/progress-bar/progress-bar.component.module.mjs +0 -20
  894. package/esm2022/components/radial-progress/radial-progress.component.mjs +0 -106
  895. package/esm2022/components/radial-progress/radial-progress.component.module.mjs +0 -20
  896. package/esm2022/components/radial-progress/radial-progress.model.mjs +0 -11
  897. package/esm2022/components/radio-button/radio-button.component.mjs +0 -176
  898. package/esm2022/components/radio-button/radio-button.component.module.mjs +0 -21
  899. package/esm2022/components/radio-button/radio-button.model.mjs +0 -2
  900. package/esm2022/components/rating/half-star.pipe.mjs +0 -23
  901. package/esm2022/components/rating/rating.component.mjs +0 -92
  902. package/esm2022/components/rating/rating.component.module.mjs +0 -20
  903. package/esm2022/components/scale/scale.component.mjs +0 -58
  904. package/esm2022/components/scale/scale.component.module.mjs +0 -18
  905. package/esm2022/components/segmented-bar/segmented-bar.component.mjs +0 -75
  906. package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +0 -20
  907. package/esm2022/components/segmented-bar/segmented-bar.model.mjs +0 -2
  908. package/esm2022/components/segmented-button/segmented-button.component.mjs +0 -53
  909. package/esm2022/components/segmented-button/segmented-button.component.module.mjs +0 -32
  910. package/esm2022/components/segmented-button/segmented-button.model.mjs +0 -2
  911. package/esm2022/components/side-sheet/side-sheet.component.mjs +0 -109
  912. package/esm2022/components/side-sheet/side-sheet.component.module.mjs +0 -43
  913. package/esm2022/components/side-sheet/side-sheet.model.mjs +0 -2
  914. package/esm2022/components/side-sheet/side-sheet.service.mjs +0 -31
  915. package/esm2022/components/skeleton/skeleton.component.mjs +0 -71
  916. package/esm2022/components/skeleton/skeleton.model.mjs +0 -2
  917. package/esm2022/components/slider/slider.component.mjs +0 -191
  918. package/esm2022/components/slider/slider.component.module.mjs +0 -43
  919. package/esm2022/components/slider/slider.model.mjs +0 -2
  920. package/esm2022/components/snackbar/snackbar.component.mjs +0 -208
  921. package/esm2022/components/snackbar/snackbar.component.module.mjs +0 -24
  922. package/esm2022/components/snackbar/snackbar.model.mjs +0 -2
  923. package/esm2022/components/snackbar/snackbar.service.mjs +0 -41
  924. package/esm2022/components/spinner/spinner.component.mjs +0 -62
  925. package/esm2022/components/spinner/spinner.model.mjs +0 -2
  926. package/esm2022/components/spinner/spinner.module.mjs +0 -18
  927. package/esm2022/components/step/step.component.mjs +0 -110
  928. package/esm2022/components/step/step.component.module.mjs +0 -19
  929. package/esm2022/components/stepper/stepper.component.mjs +0 -124
  930. package/esm2022/components/stepper/stepper.component.module.mjs +0 -44
  931. package/esm2022/components/stepper/stepper.model.mjs +0 -2
  932. package/esm2022/components/table/sentence-case.pipe.mjs +0 -19
  933. package/esm2022/components/table/table.component.mjs +0 -220
  934. package/esm2022/components/table/table.component.module.mjs +0 -58
  935. package/esm2022/components/table/table.model.mjs +0 -13
  936. package/esm2022/components/tabs/tab.directive.mjs +0 -42
  937. package/esm2022/components/tabs/tabs.component.mjs +0 -99
  938. package/esm2022/components/tabs/tabs.component.module.mjs +0 -33
  939. package/esm2022/components/tabs/tabs.model.mjs +0 -2
  940. package/esm2022/components/tag/tag.component.mjs +0 -201
  941. package/esm2022/components/tag/tag.component.module.mjs +0 -23
  942. package/esm2022/components/tag/tag.model.mjs +0 -2
  943. package/esm2022/components/toggle/toggle.component.mjs +0 -169
  944. package/esm2022/components/toggle/toggle.component.module.mjs +0 -22
  945. package/esm2022/components/toggle/toggle.model.mjs +0 -2
  946. package/esm2022/components/tooltip/tooltip.component.mjs +0 -79
  947. package/esm2022/components/tooltip/tooltip.component.module.mjs +0 -18
  948. package/esm2022/components/tooltip/tooltip.model.mjs +0 -8
  949. package/esm2022/components/validation-error/validation-error.component.mjs +0 -59
  950. package/esm2022/components/validation-error/validation-error.model.mjs +0 -2
  951. package/esm2022/components/validation-error/validation-error.module.mjs +0 -20
  952. package/esm2022/directives/digits-only.directive.mjs +0 -52
  953. package/esm2022/directives/drag-drop.directive.mjs +0 -55
  954. package/esm2022/directives/ellipse-text.directive.mjs +0 -37
  955. package/esm2022/directives/select-text.directive.mjs +0 -41
  956. package/esm2022/directives/step-line-width.directive.mjs +0 -38
  957. package/esm2022/models/application-theme.model.mjs +0 -2
  958. package/esm2022/models/colors.model.mjs +0 -78
  959. package/esm2022/models/screen-breakpoints.model.mjs +0 -6
  960. package/esm2022/pipes/data-property-getter.mjs +0 -33
  961. package/esm2022/pipes/has-validation-error.pipe.mjs +0 -27
  962. package/esm2022/pipes/name-initials.pipe.mjs +0 -25
  963. package/esm2022/pipes/ui-translate.pipe.mjs +0 -76
  964. package/esm2022/providers/is-mobile.mjs +0 -11
  965. package/esm2022/public-api.mjs +0 -184
  966. package/esm2022/testgorilla-tgo-ui.mjs +0 -5
  967. package/esm2022/utils/alert-bar.model.mjs +0 -2
  968. package/esm2022/utils/alert-bars.utils.mjs +0 -33
  969. package/esm2022/utils/autocomplete-utils.mjs +0 -61
  970. package/esm2022/utils/color-contrast.mjs +0 -131
  971. package/esm2022/utils/localization/language.model.mjs +0 -16
  972. package/esm2022/utils/localization/language.service.mjs +0 -33
  973. package/esm2022/utils/table.utils.mjs +0 -19
  974. package/fesm2022/testgorilla-tgo-ui.mjs +0 -11103
  975. package/fesm2022/testgorilla-tgo-ui.mjs.map +0 -1
  976. package/index.d.ts +0 -5
  977. package/models/colors.model.d.ts +0 -63
  978. package/models/screen-breakpoints.model.d.ts +0 -4
  979. package/pipes/data-property-getter.d.ts +0 -8
  980. package/pipes/has-validation-error.pipe.d.ts +0 -15
  981. package/pipes/name-initials.pipe.d.ts +0 -7
  982. package/pipes/ui-translate.pipe.d.ts +0 -28
  983. package/providers/is-mobile.d.ts +0 -2
  984. package/public-api.d.ts +0 -130
  985. package/utils/alert-bars.utils.d.ts +0 -7
  986. package/utils/autocomplete-utils.d.ts +0 -11
  987. package/utils/color-contrast.d.ts +0 -28
  988. package/utils/localization/language.model.d.ts +0 -14
  989. package/utils/localization/language.service.d.ts +0 -16
  990. package/utils/table.utils.d.ts +0 -6
  991. /package/{components/accordion/accordion.model.d.ts → projects/tgo-canopy-ui/components/accordion/accordion.model.ts} +0 -0
  992. /package/{components/alert-banner/alert-banner.model.d.ts → projects/tgo-canopy-ui/components/alert-banner/alert-banner.model.ts} +0 -0
  993. /package/{components/card/card.model.d.ts → projects/tgo-canopy-ui/components/card/card.model.ts} +0 -0
  994. /package/{components/divider/divider.model.d.ts → projects/tgo-canopy-ui/components/divider/divider.model.ts} +0 -0
  995. /package/{components/empty-state/empty-state.model.d.ts → projects/tgo-canopy-ui/components/empty-state/empty-state.model.ts} +0 -0
  996. /package/{components/snackbar/snackbar.model.d.ts → projects/tgo-canopy-ui/components/snackbar/snackbar.model.ts} +0 -0
  997. /package/{components/spinner/spinner.model.d.ts → projects/tgo-canopy-ui/components/spinner/spinner.model.ts} +0 -0
  998. /package/{components/tag/tag.model.d.ts → projects/tgo-canopy-ui/components/tag/tag.model.ts} +0 -0
  999. /package/{components/toggle/toggle.model.d.ts → projects/tgo-canopy-ui/components/toggle/toggle.model.ts} +0 -0
  1000. /package/{components/validation-error/validation-error.model.d.ts → projects/tgo-canopy-ui/components/validation-error/validation-error.model.ts} +0 -0
  1001. /package/{models/application-theme.model.d.ts → projects/tgo-canopy-ui/models/application-theme.model.ts} +0 -0
  1002. /package/{utils/alert-bar.model.d.ts → projects/tgo-canopy-ui/utils/alert-bar.model.ts} +0 -0
@@ -1,23 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class HalfStarPipe {
4
- /**
5
- * @description Used to indicate whether display half-star icon.
6
- * Returns true if the rounded value of the current element
7
- * is equal to it's index, and value is not integer (e.g. index = 4, value = 3.5),
8
- * @param index the index of the current element
9
- * @param value the value of the current element
10
- */
11
- transform(index, value) {
12
- return Math.ceil(value) === index && !Number.isInteger(value);
13
- }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HalfStarPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
15
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: HalfStarPipe, name: "halfStar" }); }
16
- }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HalfStarPipe, decorators: [{
18
- type: Pipe,
19
- args: [{
20
- name: 'halfStar',
21
- }]
22
- }] });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFsZi1zdGFyLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvcmF0aW5nL2hhbGYtc3Rhci5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOztBQUtwRCxNQUFNLE9BQU8sWUFBWTtJQUN2Qjs7Ozs7O09BTUc7SUFDSCxTQUFTLENBQUMsS0FBYSxFQUFFLEtBQWE7UUFDcEMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxLQUFLLEtBQUssSUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDaEUsQ0FBQzsrR0FWVSxZQUFZOzZHQUFaLFlBQVk7OzRGQUFaLFlBQVk7a0JBSHhCLElBQUk7bUJBQUM7b0JBQ0osSUFBSSxFQUFFLFVBQVU7aUJBQ2pCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AUGlwZSh7XG4gIG5hbWU6ICdoYWxmU3RhcicsXG59KVxuZXhwb3J0IGNsYXNzIEhhbGZTdGFyUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICAvKipcbiAgICogQGRlc2NyaXB0aW9uIFVzZWQgdG8gaW5kaWNhdGUgd2hldGhlciBkaXNwbGF5IGhhbGYtc3RhciBpY29uLlxuICAgKiBSZXR1cm5zIHRydWUgaWYgdGhlIHJvdW5kZWQgdmFsdWUgb2YgdGhlIGN1cnJlbnQgZWxlbWVudFxuICAgKiBpcyBlcXVhbCB0byBpdCdzIGluZGV4LCBhbmQgdmFsdWUgaXMgbm90IGludGVnZXIgKGUuZy4gaW5kZXggPSA0LCB2YWx1ZSA9IDMuNSksXG4gICAqIEBwYXJhbSBpbmRleCB0aGUgaW5kZXggb2YgdGhlIGN1cnJlbnQgZWxlbWVudFxuICAgKiBAcGFyYW0gdmFsdWUgdGhlIHZhbHVlIG9mIHRoZSBjdXJyZW50IGVsZW1lbnRcbiAgICovXG4gIHRyYW5zZm9ybShpbmRleDogbnVtYmVyLCB2YWx1ZTogbnVtYmVyKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIE1hdGguY2VpbCh2YWx1ZSkgPT09IGluZGV4ICYmICFOdW1iZXIuaXNJbnRlZ2VyKHZhbHVlKTtcbiAgfVxufVxuIl19
@@ -1,92 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "./half-star.pipe";
5
- export class RatingComponent {
6
- set length(length) {
7
- this.items = Array(Math.max(length, this.MIN_LENGTH))
8
- .fill(0)
9
- .map((x, i) => i);
10
- }
11
- constructor(defaultAppTheme) {
12
- this.defaultAppTheme = defaultAppTheme;
13
- this.MIN_LENGTH = 0;
14
- this.DEFAULT_LENGTH = 5;
15
- this.items = [];
16
- /**
17
- *
18
- * Defines the application theme where accordion is used
19
- *
20
- * @type {ApplicationTheme}
21
- * @memberof AccordionComponent
22
- */
23
- this.applicationTheme = 'light';
24
- /**
25
- * The theme of the rating component. Defaults "block".
26
- * @type {RatingComponentTheme}
27
- * @memberof RatingComponent
28
- */
29
- this.theme = 'block';
30
- /**
31
- * A flag indicating whether the rating component is disabled.
32
- * @type {boolean}
33
- * @memberof RatingComponent
34
- */
35
- this.disabled = false;
36
- /**
37
- * A string representing the ARIA requirement for accessibility.
38
- * This attribute is used to indicate whether an input field is required for form submission.
39
- * @type {boolean}
40
- * @memberof RatingComponent
41
- */
42
- this.ariaRequired = false;
43
- /**
44
- * The width of the rating bar.
45
- * @type {number}
46
- * @memberof RatingComponent
47
- */
48
- this.barWidth = 35;
49
- this.valueChange = new EventEmitter();
50
- if (defaultAppTheme) {
51
- this.applicationTheme = defaultAppTheme;
52
- }
53
- this.length = this.DEFAULT_LENGTH;
54
- }
55
- select(index) {
56
- this.value = this.value === index + 1 ? 0 : index + 1;
57
- this.valueChange.emit(this.value);
58
- }
59
- onHover(index) {
60
- this.hoverIndex = index + 1;
61
- }
62
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RatingComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
63
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RatingComponent, selector: "ui-rating", inputs: { applicationTheme: "applicationTheme", value: "value", theme: "theme", disabled: "disabled", ariaLabel: "ariaLabel", ariaRequired: "ariaRequired", barWidth: "barWidth", length: "length" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: "<div class=\"rating\"\n (mouseleave)=\"onHover(-1)\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-required]=\"ariaRequired\"\n>\n <ng-container *ngIf=\"theme === 'block';else stars\">\n <div class=\"rating-item\" [attr.theme]=\"applicationTheme\" *ngFor=\"let item of items\" (click)=\"select(item)\" (mouseenter)=\"onHover(item)\"\n [ngClass]=\"{ 'rating-item-selected': item < value, 'rating-item-hover': item < hoverIndex }\"\n [ngStyle]=\"{'width.px': barWidth}\">\n </div>\n </ng-container>\n\n <ng-template #stars>\n <div class=\"star-container\" [attr.theme]=\"applicationTheme\">\n <div\n class=\"star\"\n [tabIndex]=\"0\"\n (mouseenter)=\"onHover(item)\"\n (mouseleave)=\"onHover(-1)\"\n [ngClass]=\"{\n filled: value > i,\n hover: item < hoverIndex && (value ? item >= value : true),\n disabled,\n 'filled-half': i + 1 | halfStar : value\n }\"\n *ngFor=\"let item of items; index as i\"\n (click)=\"select(item)\"\n ></div>\n </div>\n </ng-template>\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}.rating{display:flex;align-content:center;justify-content:flex-start;align-items:center}.rating-item{width:35px;height:16px;border:1px solid #E0E0E0;border-left:0;cursor:pointer}.rating-item-hover{border:0;background-color:#b5ddd5}.rating-item-hover[theme=dark],.rating-item-hover[theme=light]{background-color:#ffb3ee}.rating-item-hover:not(:first-child){border-left:1px solid #ffffff}.rating-item:first-child{border-radius:4px 0 0 4px}.rating-item:first-child:not(.rating-item-selected):not(.rating-item-hover){border-left:1px solid #E0E0E0}.rating-item:last-child{border-radius:0 4px 4px 0}.rating-item:first-child:last-child{border-radius:4px}.rating-item-selected{border:0;background-color:#46a997}.rating-item-selected[theme=dark],.rating-item-selected[theme=light]{background-color:#d410aa}.rating-item-selected:not(:first-child){border-left:1px solid #ffffff}.rating .star-container{display:flex;flex-direction:row;min-height:24px}.rating .star-container .star{width:24px;height:24px;background:url(/icons/rating-icons/Star-outline.svg) no-repeat center;background-size:100%;margin-right:4px}.rating .star-container .star:last-child{margin-right:0}.rating .star-container .star:focus{outline:1px dashed #888888}.rating .star-container .star:hover,.rating .star-container .star.hover,.rating .star-container .star:focus{opacity:.5}.rating .star-container .star.filled-half{background-image:url(/icons/rating-icons/Star-half.svg)!important}.rating .star-container .star.disabled{pointer-events:none;background-image:url(/icons/rating-icons/Star-filled-disabled.svg)}.rating .star-container .star:active{opacity:1}.rating .star-container .star-filled,.rating .star-container[theme=dark] .star.filled,.rating .star-container[theme=light] .star.filled,.rating .star-container[theme=dark] .star:hover,.rating .star-container[theme=dark] .star.hover,.rating .star-container[theme=dark] .star:focus,.rating .star-container[theme=light] .star:hover,.rating .star-container[theme=light] .star.hover,.rating .star-container[theme=light] .star:focus,.rating .star-container .star:hover,.rating .star-container .star.hover,.rating .star-container .star:focus,.rating .star-container .star.filled,.rating .star-container .star:active{background-image:url(/icons/rating-icons/Star-filled.svg)}.rating .star-container[theme=dark] .star,.rating .star-container[theme=light] .star{cursor:pointer;background:url(/icons/rebrand/Review-star-in-line.svg) no-repeat center}.rating .star-container[theme=dark] .star:hover,.rating .star-container[theme=dark] .star.hover,.rating .star-container[theme=dark] .star:focus,.rating .star-container[theme=light] .star:hover,.rating .star-container[theme=light] .star.hover,.rating .star-container[theme=light] .star:focus{opacity:.5}.rating .star-container[theme=dark] .star:focus,.rating .star-container[theme=light] .star:focus{outline-offset:4px}.rating .star-container[theme=dark] .star.filled-half,.rating .star-container[theme=light] .star.filled-half{background-image:url(/icons/rebrand/Review-half-star-filled.svg)!important}.rating .star-container[theme=dark] .star.disabled,.rating .star-container[theme=light] .star.disabled{background-image:url(/icons/rebrand/Review-star-filled-disabled.svg)}.rating .star-container[theme=dark] .star-filled,.rating .star-container[theme=dark] .star:hover,.rating .star-container[theme=dark] .star.hover,.rating .star-container[theme=dark] .star:focus,.rating .star-container[theme=dark] .star.filled,.rating .star-container[theme=dark] .star:active,.rating .star-container[theme=light] .star-filled,.rating .star-container[theme=light] .star:hover,.rating .star-container[theme=light] .star.hover,.rating .star-container[theme=light] .star:focus,.rating .star-container[theme=light] .star.filled,.rating .star-container[theme=light] .star:active{background-image:url(/icons/rebrand/Review-star-filled.svg)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "pipe", type: i2.HalfStarPipe, name: "halfStar" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
64
- }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RatingComponent, decorators: [{
66
- type: Component,
67
- args: [{ selector: 'ui-rating', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"rating\"\n (mouseleave)=\"onHover(-1)\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-required]=\"ariaRequired\"\n>\n <ng-container *ngIf=\"theme === 'block';else stars\">\n <div class=\"rating-item\" [attr.theme]=\"applicationTheme\" *ngFor=\"let item of items\" (click)=\"select(item)\" (mouseenter)=\"onHover(item)\"\n [ngClass]=\"{ 'rating-item-selected': item < value, 'rating-item-hover': item < hoverIndex }\"\n [ngStyle]=\"{'width.px': barWidth}\">\n </div>\n </ng-container>\n\n <ng-template #stars>\n <div class=\"star-container\" [attr.theme]=\"applicationTheme\">\n <div\n class=\"star\"\n [tabIndex]=\"0\"\n (mouseenter)=\"onHover(item)\"\n (mouseleave)=\"onHover(-1)\"\n [ngClass]=\"{\n filled: value > i,\n hover: item < hoverIndex && (value ? item >= value : true),\n disabled,\n 'filled-half': i + 1 | halfStar : value\n }\"\n *ngFor=\"let item of items; index as i\"\n (click)=\"select(item)\"\n ></div>\n </div>\n </ng-template>\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}.rating{display:flex;align-content:center;justify-content:flex-start;align-items:center}.rating-item{width:35px;height:16px;border:1px solid #E0E0E0;border-left:0;cursor:pointer}.rating-item-hover{border:0;background-color:#b5ddd5}.rating-item-hover[theme=dark],.rating-item-hover[theme=light]{background-color:#ffb3ee}.rating-item-hover:not(:first-child){border-left:1px solid #ffffff}.rating-item:first-child{border-radius:4px 0 0 4px}.rating-item:first-child:not(.rating-item-selected):not(.rating-item-hover){border-left:1px solid #E0E0E0}.rating-item:last-child{border-radius:0 4px 4px 0}.rating-item:first-child:last-child{border-radius:4px}.rating-item-selected{border:0;background-color:#46a997}.rating-item-selected[theme=dark],.rating-item-selected[theme=light]{background-color:#d410aa}.rating-item-selected:not(:first-child){border-left:1px solid #ffffff}.rating .star-container{display:flex;flex-direction:row;min-height:24px}.rating .star-container .star{width:24px;height:24px;background:url(/icons/rating-icons/Star-outline.svg) no-repeat center;background-size:100%;margin-right:4px}.rating .star-container .star:last-child{margin-right:0}.rating .star-container .star:focus{outline:1px dashed #888888}.rating .star-container .star:hover,.rating .star-container .star.hover,.rating .star-container .star:focus{opacity:.5}.rating .star-container .star.filled-half{background-image:url(/icons/rating-icons/Star-half.svg)!important}.rating .star-container .star.disabled{pointer-events:none;background-image:url(/icons/rating-icons/Star-filled-disabled.svg)}.rating .star-container .star:active{opacity:1}.rating .star-container .star-filled,.rating .star-container[theme=dark] .star.filled,.rating .star-container[theme=light] .star.filled,.rating .star-container[theme=dark] .star:hover,.rating .star-container[theme=dark] .star.hover,.rating .star-container[theme=dark] .star:focus,.rating .star-container[theme=light] .star:hover,.rating .star-container[theme=light] .star.hover,.rating .star-container[theme=light] .star:focus,.rating .star-container .star:hover,.rating .star-container .star.hover,.rating .star-container .star:focus,.rating .star-container .star.filled,.rating .star-container .star:active{background-image:url(/icons/rating-icons/Star-filled.svg)}.rating .star-container[theme=dark] .star,.rating .star-container[theme=light] .star{cursor:pointer;background:url(/icons/rebrand/Review-star-in-line.svg) no-repeat center}.rating .star-container[theme=dark] .star:hover,.rating .star-container[theme=dark] .star.hover,.rating .star-container[theme=dark] .star:focus,.rating .star-container[theme=light] .star:hover,.rating .star-container[theme=light] .star.hover,.rating .star-container[theme=light] .star:focus{opacity:.5}.rating .star-container[theme=dark] .star:focus,.rating .star-container[theme=light] .star:focus{outline-offset:4px}.rating .star-container[theme=dark] .star.filled-half,.rating .star-container[theme=light] .star.filled-half{background-image:url(/icons/rebrand/Review-half-star-filled.svg)!important}.rating .star-container[theme=dark] .star.disabled,.rating .star-container[theme=light] .star.disabled{background-image:url(/icons/rebrand/Review-star-filled-disabled.svg)}.rating .star-container[theme=dark] .star-filled,.rating .star-container[theme=dark] .star:hover,.rating .star-container[theme=dark] .star.hover,.rating .star-container[theme=dark] .star:focus,.rating .star-container[theme=dark] .star.filled,.rating .star-container[theme=dark] .star:active,.rating .star-container[theme=light] .star-filled,.rating .star-container[theme=light] .star:hover,.rating .star-container[theme=light] .star.hover,.rating .star-container[theme=light] .star:focus,.rating .star-container[theme=light] .star.filled,.rating .star-container[theme=light] .star:active{background-image:url(/icons/rebrand/Review-star-filled.svg)}\n"] }]
68
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
69
- type: Optional
70
- }, {
71
- type: Inject,
72
- args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
73
- }] }]; }, propDecorators: { applicationTheme: [{
74
- type: Input
75
- }], value: [{
76
- type: Input
77
- }], theme: [{
78
- type: Input
79
- }], disabled: [{
80
- type: Input
81
- }], ariaLabel: [{
82
- type: Input
83
- }], ariaRequired: [{
84
- type: Input
85
- }], barWidth: [{
86
- type: Input
87
- }], length: [{
88
- type: Input
89
- }], valueChange: [{
90
- type: Output
91
- }] } });
92
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0aW5nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9yYXRpbmcvcmF0aW5nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4u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4gICAgPGRpdiBjbGFzcz1cInN0YXItY29udGFpbmVyXCIgW2F0dHIudGhlbWVdPVwiYXBwbGljYXRpb25UaGVtZVwiPlxuICAgICAgPGRpdlxuICAgICAgICBjbGFzcz1cInN0YXJcIlxuICAgICAgICBbdGFiSW5kZXhdPVwiMFwiXG4gICAgICAgIChtb3VzZWVudGVyKT1cIm9uSG92ZXIoaXRlbSlcIlxuICAgICAgICAobW91c2VsZWF2ZSk9XCJvbkhvdmVyKC0xKVwiXG4gICAgICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICBmaWxsZWQ6IHZhbHVlID4gaSxcbiAgICAgICAgICBob3ZlcjogaXRlbSA8IGhvdmVySW5kZXggJiYgKHZhbHVlID8gaXRlbSA+PSB2YWx1ZSA6IHRydWUpLFxuICAgICAgICAgIGRpc2FibGVkLFxuICAgICAgICAgICdmaWxsZWQtaGFsZic6IGkgKyAxIHwgaGFsZlN0YXIgOiB2YWx1ZVxuICAgICAgICB9XCJcbiAgICAgICAgKm5nRm9yPVwibGV0IGl0ZW0gb2YgaXRlbXM7IGluZGV4IGFzIGlcIlxuICAgICAgICAoY2xpY2spPVwic2VsZWN0KGl0ZW0pXCJcbiAgICAgID48L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9uZy10ZW1wbGF0ZT5cbjwvZGl2PlxuIl19
@@ -1,20 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { RatingComponent } from './rating.component';
4
- import { HalfStarPipe } from './half-star.pipe';
5
- import { MatInputModule } from '@angular/material/input';
6
- import * as i0 from "@angular/core";
7
- export class RatingComponentModule {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RatingComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: RatingComponentModule, declarations: [RatingComponent, HalfStarPipe], imports: [CommonModule, MatInputModule], exports: [RatingComponent] }); }
10
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RatingComponentModule, imports: [CommonModule, MatInputModule] }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RatingComponentModule, decorators: [{
13
- type: NgModule,
14
- args: [{
15
- declarations: [RatingComponent, HalfStarPipe],
16
- imports: [CommonModule, MatInputModule],
17
- exports: [RatingComponent],
18
- }]
19
- }] });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0aW5nLmNvbXBvbmVudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvcmF0aW5nL3JhdGluZy5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDaEQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHlCQUF5QixDQUFDOztBQU96RCxNQUFNLE9BQU8scUJBQXFCOytHQUFyQixxQkFBcUI7Z0hBQXJCLHFCQUFxQixpQkFKakIsZUFBZSxFQUFFLFlBQVksYUFDbEMsWUFBWSxFQUFFLGNBQWMsYUFDNUIsZUFBZTtnSEFFZCxxQkFBcUIsWUFIdEIsWUFBWSxFQUFFLGNBQWM7OzRGQUczQixxQkFBcUI7a0JBTGpDLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMsZUFBZSxFQUFFLFlBQVksQ0FBQztvQkFDN0MsT0FBTyxFQUFFLENBQUMsWUFBWSxFQUFFLGNBQWMsQ0FBQztvQkFDdkMsT0FBTyxFQUFFLENBQUMsZUFBZSxDQUFDO2lCQUMzQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgUmF0aW5nQ29tcG9uZW50IH0gZnJvbSAnLi9yYXRpbmcuY29tcG9uZW50JztcbmltcG9ydCB7IEhhbGZTdGFyUGlwZSB9IGZyb20gJy4vaGFsZi1zdGFyLnBpcGUnO1xuaW1wb3J0IHsgTWF0SW5wdXRNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9tYXRlcmlhbC9pbnB1dCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1JhdGluZ0NvbXBvbmVudCwgSGFsZlN0YXJQaXBlXSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgTWF0SW5wdXRNb2R1bGVdLFxuICBleHBvcnRzOiBbUmF0aW5nQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgUmF0aW5nQ29tcG9uZW50TW9kdWxlIHt9XG4iXX0=
@@ -1,58 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- export class ScaleComponent {
5
- /**
6
- * The max number of items in the scale.
7
- * @type {number}
8
- * @memberof ScaleComponent
9
- */
10
- set length(length) {
11
- this.items = Array(Math.max(length, this.MIN_LENGTH))
12
- .fill(0)
13
- .map((_, i) => i);
14
- }
15
- constructor(defaultAppTheme) {
16
- this.defaultAppTheme = defaultAppTheme;
17
- this.MIN_LENGTH = 1;
18
- this.DEFAULT_LENGTH = 5;
19
- this.items = [];
20
- /**
21
- *
22
- * Defines the application theme
23
- *
24
- * @type {ApplicationTheme}
25
- * @memberof ScaleComponent
26
- */
27
- this.applicationTheme = 'light';
28
- this.selectedIndexChange = new EventEmitter();
29
- if (defaultAppTheme) {
30
- this.applicationTheme = defaultAppTheme;
31
- }
32
- this.length = this.DEFAULT_LENGTH;
33
- }
34
- select(index) {
35
- this.selectedIndex = index;
36
- this.selectedIndexChange.emit(this.selectedIndex);
37
- }
38
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScaleComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
39
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ScaleComponent, selector: "ui-scale", inputs: { selectedIndex: "selectedIndex", length: "length", applicationTheme: "applicationTheme" }, outputs: { selectedIndexChange: "selectedIndexChange" }, ngImport: i0, template: "<div class=\"scale\"\n [ngClass]=\"{ 'scale-classic': applicationTheme === 'classic' }\">\n <div class=\"scale-item\" *ngFor=\"let item of items\" (click)=\"select(item)\"\n [ngClass]=\"{ 'scale-item-selected': item === selectedIndex }\">\n {{ item + 1 }}\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}.scale{display:flex;align-content:center;justify-content:flex-start;align-items:center}.scale-item{display:flex;align-items:center;justify-content:center;width:72px;height:48px;border:1px solid #919191;border-left:0;cursor:pointer;font-size:16px;font-weight:400;font-family:ModernGothic,serif;background-color:#fff}.scale-item:hover:not(.scale-item-selected){background-color:#ffb3ee}.scale-item:first-child{border-radius:10px 0 0 10px;border-left:1px solid #919191}.scale-item:last-child{border-radius:0 10px 10px 0}.scale-item-selected{background-color:#d410aa;color:#fff;font-weight:700}.scale-classic .scale-item{border-color:#e0e0e0;font-family:Open Sans,serif}.scale-classic .scale-item:first-child{border-radius:4px 0 0 4px;border-left:1px solid #E0E0E0}.scale-classic .scale-item:last-child{border-radius:0 4px 4px 0}.scale-classic .scale-item:not(.scale-item-selected){color:#242424}.scale-classic .scale-item:hover:not(.scale-item-selected){background-color:#b5ddd5}.scale-classic .scale-item-selected{background-color:#46a997}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
40
- }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScaleComponent, decorators: [{
42
- type: Component,
43
- args: [{ selector: 'ui-scale', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"scale\"\n [ngClass]=\"{ 'scale-classic': applicationTheme === 'classic' }\">\n <div class=\"scale-item\" *ngFor=\"let item of items\" (click)=\"select(item)\"\n [ngClass]=\"{ 'scale-item-selected': item === selectedIndex }\">\n {{ item + 1 }}\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}.scale{display:flex;align-content:center;justify-content:flex-start;align-items:center}.scale-item{display:flex;align-items:center;justify-content:center;width:72px;height:48px;border:1px solid #919191;border-left:0;cursor:pointer;font-size:16px;font-weight:400;font-family:ModernGothic,serif;background-color:#fff}.scale-item:hover:not(.scale-item-selected){background-color:#ffb3ee}.scale-item:first-child{border-radius:10px 0 0 10px;border-left:1px solid #919191}.scale-item:last-child{border-radius:0 10px 10px 0}.scale-item-selected{background-color:#d410aa;color:#fff;font-weight:700}.scale-classic .scale-item{border-color:#e0e0e0;font-family:Open Sans,serif}.scale-classic .scale-item:first-child{border-radius:4px 0 0 4px;border-left:1px solid #E0E0E0}.scale-classic .scale-item:last-child{border-radius:0 4px 4px 0}.scale-classic .scale-item:not(.scale-item-selected){color:#242424}.scale-classic .scale-item:hover:not(.scale-item-selected){background-color:#b5ddd5}.scale-classic .scale-item-selected{background-color:#46a997}\n"] }]
44
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
45
- type: Optional
46
- }, {
47
- type: Inject,
48
- args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
49
- }] }]; }, propDecorators: { selectedIndex: [{
50
- type: Input
51
- }], length: [{
52
- type: Input
53
- }], applicationTheme: [{
54
- type: Input
55
- }], selectedIndexChange: [{
56
- type: Output
57
- }] } });
58
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NhbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL3NjYWxlL3NjYWxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9zY2FsZS9zY2FsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQVNsSCxNQUFNLE9BQU8sY0FBYztJQVl6Qjs7OztPQUlHO0lBQ0gsSUFBYSxNQUFNLENBQUMsTUFBYztRQUNoQyxJQUFJLENBQUMsS0FBSy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gIHRoaXMuc2VsZWN0ZWRJbmRleCA9IGluZGV4O1xuICAgIHRoaXMuc2VsZWN0ZWRJbmRleENoYW5nZS5lbWl0KHRoaXMuc2VsZWN0ZWRJbmRleCk7XG4gIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJzY2FsZVwiXG4gICAgIFtuZ0NsYXNzXT1cInsgJ3NjYWxlLWNsYXNzaWMnOiBhcHBsaWNhdGlvblRoZW1lID09PSAnY2xhc3NpYycgfVwiPlxuICA8ZGl2IGNsYXNzPVwic2NhbGUtaXRlbVwiICpuZ0Zvcj1cImxldCBpdGVtIG9mIGl0ZW1zXCIgKGNsaWNrKT1cInNlbGVjdChpdGVtKVwiXG4gICAgICAgW25nQ2xhc3NdPVwieyAnc2NhbGUtaXRlbS1zZWxlY3RlZCc6IGl0ZW0gPT09IHNlbGVjdGVkSW5kZXggfVwiPlxuICAgIHt7IGl0ZW0gKyAxIH19XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -1,18 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { ScaleComponent } from './scale.component';
4
- import * as i0 from "@angular/core";
5
- export class ScaleComponentModule {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScaleComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ScaleComponentModule, declarations: [ScaleComponent], imports: [CommonModule], exports: [ScaleComponent] }); }
8
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScaleComponentModule, imports: [CommonModule] }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScaleComponentModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- declarations: [ScaleComponent],
14
- imports: [CommonModule],
15
- exports: [ScaleComponent]
16
- }]
17
- }] });
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NhbGUuY29tcG9uZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9zY2FsZS9zY2FsZS5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQzs7QUFRbkQsTUFBTSxPQUFPLG9CQUFvQjsrR0FBcEIsb0JBQW9CO2dIQUFwQixvQkFBb0IsaUJBSmhCLGNBQWMsYUFDbkIsWUFBWSxhQUNaLGNBQWM7Z0hBRWIsb0JBQW9CLFlBSHJCLFlBQVk7OzRGQUdYLG9CQUFvQjtrQkFMaEMsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxjQUFjLENBQUM7b0JBQzlCLE9BQU8sRUFBRSxDQUFDLFlBQVksQ0FBQztvQkFDdkIsT0FBTyxFQUFFLENBQUMsY0FBYyxDQUFDO2lCQUMxQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgU2NhbGVDb21wb25lbnQgfSBmcm9tICcuL3NjYWxlLmNvbXBvbmVudCc7XG5cblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbU2NhbGVDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgZXhwb3J0czogW1NjYWxlQ29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBTY2FsZUNvbXBvbmVudE1vZHVsZSB7XG59XG4iXX0=
@@ -1,75 +0,0 @@
1
- import { Component, Inject, Input, Optional } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "@angular/material/tooltip";
5
- export class SegmentedBarComponent {
6
- constructor(defaultAppTheme) {
7
- this.defaultAppTheme = defaultAppTheme;
8
- /**
9
- * The width of the segmented bar. Defaults to '100%'.
10
- * You can use '100%' or '100px' for this field. 100 is just an example
11
- * @default '100%'
12
- * @type {string}
13
- * @memberof SegmentedBarComponent
14
- */
15
- this.width = '100%';
16
- /**
17
- * The size variant of the segmented bar. Can be 'small' or 'large'.
18
- * Defaults to 'large'.
19
- * @default 'large'
20
- * @type {SegmentedBarVariant}
21
- * @memberof SegmentedBarComponent
22
- */
23
- this.size = 'large';
24
- /**
25
- * The segments to be displayed in the segmented bar.
26
- * @required true
27
- * @type {SegmentedBar}
28
- * @memberof SegmentedBarComponent
29
- */
30
- this.segments = [];
31
- /**
32
- *
33
- * Defines the application theme
34
- *
35
- * @type {ApplicationTheme}
36
- * @memberof SegmentedBarComponent
37
- */
38
- this.applicationTheme = 'light';
39
- /**
40
- * A string representing the ARIA requirement for accessibility.
41
- * This attribute is used to indicate whether an input field is required for form submission.
42
- * @type {boolean}
43
- * @memberof SegmentedBarComponent
44
- */
45
- this.ariaRequired = false;
46
- if (defaultAppTheme) {
47
- this.applicationTheme = defaultAppTheme;
48
- }
49
- }
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SegmentedBarComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
51
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SegmentedBarComponent, selector: "ui-segmented-bar", inputs: { width: "width", size: "size", segments: "segments", applicationTheme: "applicationTheme", ariaLabel: "ariaLabel", ariaRequired: "ariaRequired" }, ngImport: i0, template: "<div class=\"segmented-bar-container\" [attr.theme]=\"applicationTheme\" [ngClass]=\"'segment-size-' + size\" [style.width]=\"width\">\n <ng-container *ngFor=\"let segment of segments\">\n <div\n class=\"segmented-bar\"\n *ngIf=\"segment.value\"\n [ngClass]=\"segment.color\"\n [ngStyle]=\"{ flex: segment.value }\"\n [matTooltip]=\"segment.tooltip ?? ''\"\n [matTooltipClass]=\"applicationTheme\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-required]=\"ariaRequired\"\n >\n <span>{{ segment.value }}</span>\n </div>\n </ng-container>\n</div>\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}.segmented-bar-container{width:100%;display:flex;flex-direction:row}.segmented-bar-container.segment-size-small{height:16px}.segmented-bar-container.segment-size-large{height:30px}.segmented-bar-container .segmented-bar{color:#000;font-weight:700;display:flex;justify-content:center;align-items:center;background:#46a997}.segmented-bar-container .segmented-bar.teal{background:#46a997}.segmented-bar-container .segmented-bar.rhubarb{background:#cb7b7a}.segmented-bar-container .segmented-bar.light-teal{background:#cbd6cb}.segmented-bar-container .segmented-bar.grey{background:#ededed}.segmented-bar-container[theme=dark].segment-size-small,.segmented-bar-container[theme=light].segment-size-small{font-size:12px}.segmented-bar-container[theme=dark].segment-size-large,.segmented-bar-container[theme=light].segment-size-large{font-size:14px}.segmented-bar-container[theme=dark] .segmented-bar,.segmented-bar-container[theme=light] .segmented-bar{color:#242424;background:#c6e866}.segmented-bar-container[theme=dark] .segmented-bar.teal,.segmented-bar-container[theme=light] .segmented-bar.teal{background:#c6e866}.segmented-bar-container[theme=dark] .segmented-bar.rhubarb,.segmented-bar-container[theme=light] .segmented-bar.rhubarb{background:#ffac9a}.segmented-bar-container[theme=dark] .segmented-bar.light-teal,.segmented-bar-container[theme=light] .segmented-bar.light-teal{background:#ffe1b3}.segmented-bar-container[theme=dark] .segmented-bar.grey,.segmented-bar-container[theme=light] .segmented-bar.grey{background:#e9e9e9}::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: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] }); }
52
- }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SegmentedBarComponent, decorators: [{
54
- type: Component,
55
- args: [{ selector: 'ui-segmented-bar', template: "<div class=\"segmented-bar-container\" [attr.theme]=\"applicationTheme\" [ngClass]=\"'segment-size-' + size\" [style.width]=\"width\">\n <ng-container *ngFor=\"let segment of segments\">\n <div\n class=\"segmented-bar\"\n *ngIf=\"segment.value\"\n [ngClass]=\"segment.color\"\n [ngStyle]=\"{ flex: segment.value }\"\n [matTooltip]=\"segment.tooltip ?? ''\"\n [matTooltipClass]=\"applicationTheme\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-required]=\"ariaRequired\"\n >\n <span>{{ segment.value }}</span>\n </div>\n </ng-container>\n</div>\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}.segmented-bar-container{width:100%;display:flex;flex-direction:row}.segmented-bar-container.segment-size-small{height:16px}.segmented-bar-container.segment-size-large{height:30px}.segmented-bar-container .segmented-bar{color:#000;font-weight:700;display:flex;justify-content:center;align-items:center;background:#46a997}.segmented-bar-container .segmented-bar.teal{background:#46a997}.segmented-bar-container .segmented-bar.rhubarb{background:#cb7b7a}.segmented-bar-container .segmented-bar.light-teal{background:#cbd6cb}.segmented-bar-container .segmented-bar.grey{background:#ededed}.segmented-bar-container[theme=dark].segment-size-small,.segmented-bar-container[theme=light].segment-size-small{font-size:12px}.segmented-bar-container[theme=dark].segment-size-large,.segmented-bar-container[theme=light].segment-size-large{font-size:14px}.segmented-bar-container[theme=dark] .segmented-bar,.segmented-bar-container[theme=light] .segmented-bar{color:#242424;background:#c6e866}.segmented-bar-container[theme=dark] .segmented-bar.teal,.segmented-bar-container[theme=light] .segmented-bar.teal{background:#c6e866}.segmented-bar-container[theme=dark] .segmented-bar.rhubarb,.segmented-bar-container[theme=light] .segmented-bar.rhubarb{background:#ffac9a}.segmented-bar-container[theme=dark] .segmented-bar.light-teal,.segmented-bar-container[theme=light] .segmented-bar.light-teal{background:#ffe1b3}.segmented-bar-container[theme=dark] .segmented-bar.grey,.segmented-bar-container[theme=light] .segmented-bar.grey{background:#e9e9e9}::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"] }]
56
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
57
- type: Optional
58
- }, {
59
- type: Inject,
60
- args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
61
- }] }]; }, propDecorators: { width: [{
62
- type: Input
63
- }], size: [{
64
- type: Input
65
- }], segments: [{
66
- type: Input,
67
- args: [{ required: true }]
68
- }], applicationTheme: [{
69
- type: Input
70
- }], ariaLabel: [{
71
- type: Input
72
- }], ariaRequired: [{
73
- type: Input
74
- }] } });
75
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VnbWVudGVkLWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvc2VnbWVudGVkLWJhci9zZWdtZW50ZWQtYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9zZWdtZW50ZWQtYmFyL3NlZ21lbnRlZC1iYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQVNuRSxNQUFNLE9BQU8scUJBQXFCO0lBb0RoQyxZQUM2RSxlQUFpQztRQUFqQyxvQkFBZSxHQUFmLGVBQWUsQ0FBa0I7UUFwRDlHOzs7Ozs7V0FNRztRQUNNLFVBQUssR0FBRyxNQUFNLENBQUM7UUFFeEI7Ozs7OztXQU1HO1FBQ00sU0FBSSxHQUF3QixPQUFPLENBQUM7UUFFN0M7Ozs7O1dBS0c7UUFDd0IsYUFBUSxHQUFtQixFQUFFLENBQUM7UUFFekQ7Ozs7Ozt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GUgcmVhZG9ubHkgZGVmYXVsdEFwcFRoZW1lOiBBcHBsaWNhdGlvblRoZW1lLFxuICApIHtcbiAgICBpZiAoZGVmYXVsdEFwcFRoZW1lKSB7XG4gICAgICB0aGlzLmFwcGxpY2F0aW9uVGhlbWUgPSBkZWZhdWx0QXBwVGhlbWU7XG4gICAgfVxuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwic2VnbWVudGVkLWJhci1jb250YWluZXJcIiBbYXR0ci50aGVtZV09XCJhcHBsaWNhdGlvblRoZW1lXCIgW25nQ2xhc3NdPVwiJ3NlZ21lbnQtc2l6ZS0nICsgc2l6ZVwiIFtzdHlsZS53aWR0aF09XCJ3aWR0aFwiPlxuICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBzZWdtZW50IG9mIHNlZ21lbnRzXCI+XG4gICAgPGRpdlxuICAgICAgY2xhc3M9XCJzZWdtZW50ZWQtYmFyXCJcbiAgICAgICpuZ0lmPVwic2VnbWVudC52YWx1ZVwiXG4gICAgICBbbmdDbGFzc109XCJzZWdtZW50LmNvbG9yXCJcbiAgICAgIFtuZ1N0eWxlXT1cInsgZmxleDogc2VnbWVudC52YWx1ZSB9XCJcbiAgICAgIFttYXRUb29sdGlwXT1cInNlZ21lbnQudG9vbHRpcCA/PyAnJ1wiXG4gICAgICBbbWF0VG9vbHRpcENsYXNzXT1cImFwcGxpY2F0aW9uVGhlbWVcIlxuICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJhcmlhTGFiZWxcIlxuICAgICAgW2F0dHIuYXJpYS1yZXF1aXJlZF09XCJhcmlhUmVxdWlyZWRcIlxuICAgID5cbiAgICAgIDxzcGFuPnt7IHNlZ21lbnQudmFsdWUgfX08L3NwYW4+XG4gICAgPC9kaXY+XG4gIDwvbmctY29udGFpbmVyPlxuPC9kaXY+XG4iXX0=
@@ -1,20 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { SegmentedBarComponent } from './segmented-bar.component';
4
- import { MatTooltipModule } from '@angular/material/tooltip';
5
- import { MatInputModule } from '@angular/material/input';
6
- import * as i0 from "@angular/core";
7
- export class SegmentedBarComponentModule {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SegmentedBarComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SegmentedBarComponentModule, declarations: [SegmentedBarComponent], imports: [CommonModule, MatTooltipModule, MatInputModule], exports: [SegmentedBarComponent] }); }
10
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SegmentedBarComponentModule, imports: [CommonModule, MatTooltipModule, MatInputModule] }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SegmentedBarComponentModule, decorators: [{
13
- type: NgModule,
14
- args: [{
15
- declarations: [SegmentedBarComponent],
16
- imports: [CommonModule, MatTooltipModule, MatInputModule],
17
- exports: [SegmentedBarComponent],
18
- }]
19
- }] });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VnbWVudGVkLWJhci5jb21wb25lbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL3NlZ21lbnRlZC1iYXIvc2VnbWVudGVkLWJhci5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sR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lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBNYXRUb29sdGlwTW9kdWxlLCBNYXRJbnB1dE1vZHVsZV0sXG4gIGV4cG9ydHM6IFtTZWdtZW50ZWRCYXJDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBTZWdtZW50ZWRCYXJDb21wb25lbnRNb2R1bGUge31cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VnbWVudGVkLWJhci5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9zZWdtZW50ZWQtYmFyL3NlZ21lbnRlZC1iYXIubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIFNlZ21lbnRlZEJhclZhcmlhbnQgPSAnbGFyZ2UnIHwgJ3NtYWxsJztcbmV4cG9ydCB0eXBlIFNlZ21lbnRlZEJhckNvbG9yID0gJ3RlYWwnIHwgJ3JodWJhcmInIHwgJ2xpZ2h0LXRlYWwnIHwgJ2dyZXknO1xuXG5leHBvcnQgaW50ZXJmYWNlIFNlZ21lbnRlZEJhciB7XG4gIHZhbHVlOiBudW1iZXI7XG4gIGNvbG9yOiBTZWdtZW50ZWRCYXJDb2xvcjtcbiAgdG9vbHRpcD86IHN0cmluZztcbn1cbiJdfQ==
@@ -1,53 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, Input, Output } from '@angular/core';
2
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/material/button-toggle";
6
- export class SegmentedButtonComponent {
7
- constructor() {
8
- this.buttonSelected = new EventEmitter();
9
- this.onChange = (v) => { };
10
- this.onTouch = () => { };
11
- }
12
- set value(v) {
13
- this._value = v;
14
- this.onChange(v);
15
- this.buttonSelected.emit(v);
16
- }
17
- get value() {
18
- return this._value;
19
- }
20
- writeValue(obj) {
21
- this.value = obj;
22
- }
23
- registerOnChange(fn) {
24
- this.onChange = fn;
25
- }
26
- registerOnTouched(fn) {
27
- this.onTouch = fn;
28
- }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SegmentedButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SegmentedButtonComponent, selector: "ui-segmented-button", inputs: { buttonConfig: "buttonConfig" }, outputs: { buttonSelected: "buttonSelected" }, providers: [
31
- {
32
- provide: NG_VALUE_ACCESSOR,
33
- useExisting: forwardRef(() => SegmentedButtonComponent),
34
- multi: true,
35
- },
36
- ], ngImport: i0, template: "<mat-button-toggle-group class=\"segmented-button-container\" [(value)]=\"value\">\n <mat-button-toggle\n class=\"start-button\"\n [disableRipple]=\"true\"\n *ngFor=\"let button of buttonConfig\"\n [value]=\"button.value\"\n >\n <ng-container *ngIf=\"button.template; else label\" [ngTemplateOutlet]=\"button.template\"></ng-container>\n <ng-template #label>{{ button.label }}</ng-template>\n </mat-button-toggle>\n</mat-button-toggle-group>\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}h1,h2,h3,.h1,.h2,.h3{font-weight:400;margin:0}h4,h5,h6,.h4,.h5,.h6{font-weight:700;margin:0}h1,.h1{font-size:40px;line-height:60px;font-weight:700}h2,.h2{font-size:24px;line-height:36px}h2.bold,.h2.bold{font-weight:700}h3,.h3{font-size:20px;line-height:28px}h3.bold,.h3.bold{font-weight:700}h4,.h4{font-size:16px;line-height:24px}h5,.h5{font-size:14px;line-height:20px}h6,.h6{font-size:12px;line-height:16px;text-transform:uppercase}body{font-size:14px;line-height:20px}strong,b{font-weight:700}.featured{font-size:16px;line-height:24px}p .semibold,.featured .semibold,.caption .semibold{font-weight:600;color:#46a997}small{font-size:8px;line-height:12px}caption,.caption{font-size:12px;line-height:16px;display:inline-block}*[theme=dark] h1,*[theme=dark] .h1,*[theme=light] h1,*[theme=light] .h1{color:#242424;font-size:32px;line-height:48px;font-weight:400}*[theme=dark] h1.black,*[theme=dark] .h1.black,*[theme=light] h1.black,*[theme=light] .h1.black{font-family:ModernGothic,sans-serif!important;font-weight:900}*[theme=dark] h2,*[theme=dark] .h2,*[theme=light] h2,*[theme=light] .h2{color:#242424;font-size:24px;line-height:30px;font-weight:900;font-family:ModernGothic,sans-serif!important}*[theme=dark] h3,*[theme=dark] .h3,*[theme=light] h3,*[theme=light] .h3{font-size:20px;line-height:26px;font-weight:400;color:#242424}*[theme=dark] h3.bold,*[theme=dark] .h3.bold,*[theme=light] h3.bold,*[theme=light] .h3.bold{font-family:ModernGothic,sans-serif!important;font-weight:700}*[theme=dark] h4,*[theme=dark] .h4,*[theme=light] h4,*[theme=light] .h4{font-size:16px;line-height:20px;font-weight:700;color:#242424;font-family:ModernGothic,sans-serif!important}*[theme=dark] h5,*[theme=dark] .h5,*[theme=light] h5,*[theme=light] .h5{font-size:14px;line-height:18px;font-weight:700;color:#242424;font-family:ModernGothic,sans-serif!important}*[theme=dark] .body-large,*[theme=light] .body-large{font-weight:700;font-size:14px;line-height:22px}*[theme=dark] .body-large-bold,*[theme=light] .body-large-bold{font-weight:700;font-size:16px;line-height:24px}*[theme=dark] .body-large-regular,*[theme=light] .body-large-regular{font-weight:400;font-size:16px;line-height:24px}*[theme=dark] .body-small-bold,*[theme=light] .body-small-bold{font-weight:700;font-size:12px;line-height:16px}*[theme=dark] .hyperlink-large,*[theme=light] .hyperlink-large{font-weight:500;font-size:16px;line-height:24px}*[theme=dark] .hyperlink,*[theme=light] .hyperlink{font-weight:500;font-size:14px;line-height:22px}*[theme=dark] .hyperlink-small,*[theme=light] .hyperlink-small{font-weight:500;font-size:12px;line-height:16px}*[theme=dark] .button-label,*[theme=light] .button-label{font-weight:500;font-size:14px;font-feature-settings:\"capb\"}*[theme=dark] .label,*[theme=light] .label{font-weight:400;font-size:14px;font-feature-settings:\"capb\"}*[theme=dark] .large-hover-state,*[theme=light] .large-hover-state{font-weight:700;text-decoration:underline;font-size:16px;line-height:24px}*[theme=dark] .hover-state,*[theme=light] .hover-state{font-weight:700;text-decoration:underline;font-size:14px;line-height:22px}*[theme=dark] h1,*[theme=dark] .h1,*[theme=dark] h2,*[theme=dark] .h2,*[theme=dark] h3,*[theme=dark] .h3,*[theme=dark] h4,*[theme=dark] .h4,*[theme=dark] h5,*[theme=dark] .h5{color:#fff}.segmented-button-container{border-color:#919191}.segmented-button-container:first-child{border-bottom-left-radius:10px;border-top-left-radius:10px}.segmented-button-container:last-child{border-bottom-right-radius:10px;border-top-right-radius:10px}.segmented-button-container .mat-button-toggle{min-width:80px;min-height:48px;border-color:#919191}.segmented-button-container .mat-button-toggle ::ng-deep .mat-button-toggle-label-content{color:#242424;font-weight:400;font-size:14px;font-feature-settings:\"capb\"}.segmented-button-container .mat-button-toggle:hover{background:#fff2fc}.segmented-button-container .mat-button-toggle.mat-button-toggle-checked{background:#ffe6fa}.segmented-button-container .mat-button-toggle.mat-button-toggle-checked ::ng-deep .mat-button-toggle-label-content{font-weight:700}.segmented-button-container .mat-button-toggle ::ng-deep .mat-button-toggle-focus-overlay{display:none}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i2.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
- }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SegmentedButtonComponent, decorators: [{
39
- type: Component,
40
- args: [{ selector: 'ui-segmented-button', providers: [
41
- {
42
- provide: NG_VALUE_ACCESSOR,
43
- useExisting: forwardRef(() => SegmentedButtonComponent),
44
- multi: true,
45
- },
46
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-button-toggle-group class=\"segmented-button-container\" [(value)]=\"value\">\n <mat-button-toggle\n class=\"start-button\"\n [disableRipple]=\"true\"\n *ngFor=\"let button of buttonConfig\"\n [value]=\"button.value\"\n >\n <ng-container *ngIf=\"button.template; else label\" [ngTemplateOutlet]=\"button.template\"></ng-container>\n <ng-template #label>{{ button.label }}</ng-template>\n </mat-button-toggle>\n</mat-button-toggle-group>\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}h1,h2,h3,.h1,.h2,.h3{font-weight:400;margin:0}h4,h5,h6,.h4,.h5,.h6{font-weight:700;margin:0}h1,.h1{font-size:40px;line-height:60px;font-weight:700}h2,.h2{font-size:24px;line-height:36px}h2.bold,.h2.bold{font-weight:700}h3,.h3{font-size:20px;line-height:28px}h3.bold,.h3.bold{font-weight:700}h4,.h4{font-size:16px;line-height:24px}h5,.h5{font-size:14px;line-height:20px}h6,.h6{font-size:12px;line-height:16px;text-transform:uppercase}body{font-size:14px;line-height:20px}strong,b{font-weight:700}.featured{font-size:16px;line-height:24px}p .semibold,.featured .semibold,.caption .semibold{font-weight:600;color:#46a997}small{font-size:8px;line-height:12px}caption,.caption{font-size:12px;line-height:16px;display:inline-block}*[theme=dark] h1,*[theme=dark] .h1,*[theme=light] h1,*[theme=light] .h1{color:#242424;font-size:32px;line-height:48px;font-weight:400}*[theme=dark] h1.black,*[theme=dark] .h1.black,*[theme=light] h1.black,*[theme=light] .h1.black{font-family:ModernGothic,sans-serif!important;font-weight:900}*[theme=dark] h2,*[theme=dark] .h2,*[theme=light] h2,*[theme=light] .h2{color:#242424;font-size:24px;line-height:30px;font-weight:900;font-family:ModernGothic,sans-serif!important}*[theme=dark] h3,*[theme=dark] .h3,*[theme=light] h3,*[theme=light] .h3{font-size:20px;line-height:26px;font-weight:400;color:#242424}*[theme=dark] h3.bold,*[theme=dark] .h3.bold,*[theme=light] h3.bold,*[theme=light] .h3.bold{font-family:ModernGothic,sans-serif!important;font-weight:700}*[theme=dark] h4,*[theme=dark] .h4,*[theme=light] h4,*[theme=light] .h4{font-size:16px;line-height:20px;font-weight:700;color:#242424;font-family:ModernGothic,sans-serif!important}*[theme=dark] h5,*[theme=dark] .h5,*[theme=light] h5,*[theme=light] .h5{font-size:14px;line-height:18px;font-weight:700;color:#242424;font-family:ModernGothic,sans-serif!important}*[theme=dark] .body-large,*[theme=light] .body-large{font-weight:700;font-size:14px;line-height:22px}*[theme=dark] .body-large-bold,*[theme=light] .body-large-bold{font-weight:700;font-size:16px;line-height:24px}*[theme=dark] .body-large-regular,*[theme=light] .body-large-regular{font-weight:400;font-size:16px;line-height:24px}*[theme=dark] .body-small-bold,*[theme=light] .body-small-bold{font-weight:700;font-size:12px;line-height:16px}*[theme=dark] .hyperlink-large,*[theme=light] .hyperlink-large{font-weight:500;font-size:16px;line-height:24px}*[theme=dark] .hyperlink,*[theme=light] .hyperlink{font-weight:500;font-size:14px;line-height:22px}*[theme=dark] .hyperlink-small,*[theme=light] .hyperlink-small{font-weight:500;font-size:12px;line-height:16px}*[theme=dark] .button-label,*[theme=light] .button-label{font-weight:500;font-size:14px;font-feature-settings:\"capb\"}*[theme=dark] .label,*[theme=light] .label{font-weight:400;font-size:14px;font-feature-settings:\"capb\"}*[theme=dark] .large-hover-state,*[theme=light] .large-hover-state{font-weight:700;text-decoration:underline;font-size:16px;line-height:24px}*[theme=dark] .hover-state,*[theme=light] .hover-state{font-weight:700;text-decoration:underline;font-size:14px;line-height:22px}*[theme=dark] h1,*[theme=dark] .h1,*[theme=dark] h2,*[theme=dark] .h2,*[theme=dark] h3,*[theme=dark] .h3,*[theme=dark] h4,*[theme=dark] .h4,*[theme=dark] h5,*[theme=dark] .h5{color:#fff}.segmented-button-container{border-color:#919191}.segmented-button-container:first-child{border-bottom-left-radius:10px;border-top-left-radius:10px}.segmented-button-container:last-child{border-bottom-right-radius:10px;border-top-right-radius:10px}.segmented-button-container .mat-button-toggle{min-width:80px;min-height:48px;border-color:#919191}.segmented-button-container .mat-button-toggle ::ng-deep .mat-button-toggle-label-content{color:#242424;font-weight:400;font-size:14px;font-feature-settings:\"capb\"}.segmented-button-container .mat-button-toggle:hover{background:#fff2fc}.segmented-button-container .mat-button-toggle.mat-button-toggle-checked{background:#ffe6fa}.segmented-button-container .mat-button-toggle.mat-button-toggle-checked ::ng-deep .mat-button-toggle-label-content{font-weight:700}.segmented-button-container .mat-button-toggle ::ng-deep .mat-button-toggle-focus-overlay{display:none}\n"] }]
47
- }], propDecorators: { buttonConfig: [{
48
- type: Input,
49
- args: [{ required: true }]
50
- }], buttonSelected: [{
51
- type: Output
52
- }] } });
53
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VnbWVudGVkLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5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XR0b24tdG9nZ2xlLWdyb3VwPlxuIl19
@@ -1,32 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { SegmentedButtonComponent } from './segmented-button.component';
4
- import { MatButtonToggleModule } from "@angular/material/button-toggle";
5
- import { FormsModule } from "@angular/forms";
6
- import * as i0 from "@angular/core";
7
- export class SegmentedButtonComponentModule {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SegmentedButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SegmentedButtonComponentModule, declarations: [SegmentedButtonComponent], imports: [CommonModule,
10
- MatButtonToggleModule,
11
- FormsModule], exports: [SegmentedButtonComponent] }); }
12
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SegmentedButtonComponentModule, imports: [CommonModule,
13
- MatButtonToggleModule,
14
- FormsModule] }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SegmentedButtonComponentModule, decorators: [{
17
- type: NgModule,
18
- args: [{
19
- declarations: [
20
- SegmentedButtonComponent
21
- ],
22
- exports: [
23
- SegmentedButtonComponent
24
- ],
25
- imports: [
26
- CommonModule,
27
- MatButtonToggleModule,
28
- FormsModule
29
- ]
30
- }]
31
- }] });
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VnbWVudGVkLWJ1dHRvbi5jb21wb25lbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL3NlZ21lbnRlZC1idXR0b24vc2VnbWVudGVkLWJ1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