@testgorilla/tgo-ui 0.0.34 → 1.0.2

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 (300) hide show
  1. package/components/alert-banner/alert-banner.component.d.ts +66 -0
  2. package/components/alert-banner/alert-banner.component.module.d.ts +10 -0
  3. package/components/alert-banner/alert-banner.model.d.ts +1 -0
  4. package/components/banner-action/banner-action.component.d.ts +23 -17
  5. package/components/banner-action/banner-action.component.module.d.ts +3 -3
  6. package/components/button/button.component.d.ts +57 -11
  7. package/components/button/button.component.module.d.ts +2 -2
  8. package/components/button/button.model.d.ts +4 -2
  9. package/components/card/card.component.d.ts +1 -1
  10. package/components/checkbox/checkbox.component.d.ts +87 -0
  11. package/components/checkbox/checkbox.component.module.d.ts +10 -0
  12. package/components/create-account/create-account.component.d.ts +12 -4
  13. package/components/create-account/create-account.component.module.d.ts +2 -2
  14. package/components/create-password/create-password.component.d.ts +4 -4
  15. package/components/dialog/dialog.component.d.ts +45 -6
  16. package/components/dialog/dialog.component.module.d.ts +4 -7
  17. package/components/dialog/dialog.service.d.ts +2 -5
  18. package/components/elevation-shadow/elevation-shadow.component.d.ts +14 -0
  19. package/components/elevation-shadow/elevation-shadow.component.module.d.ts +8 -0
  20. package/components/elevation-shadow/elevation-shadow.constant.d.ts +4 -0
  21. package/components/field/field.component.d.ts +40 -37
  22. package/components/field/field.component.module.d.ts +3 -2
  23. package/components/field/field.model.d.ts +1 -0
  24. package/components/file-upload/file-upload.component.d.ts +68 -0
  25. package/components/file-upload/file-upload.component.module.d.ts +13 -0
  26. package/components/forgot-password/forgot-password.component.d.ts +4 -4
  27. package/components/icon/icon.component.d.ts +44 -0
  28. package/components/icon/icon.component.module.d.ts +10 -0
  29. package/components/icon/icon.config.d.ts +1 -0
  30. package/components/icon/icon.model.d.ts +4 -0
  31. package/components/icon-label/icon-label.component.d.ts +29 -0
  32. package/components/icon-label/icon-label.component.module.d.ts +9 -0
  33. package/components/label/label.component.d.ts +1 -1
  34. package/components/login/login.component.d.ts +4 -4
  35. package/components/login/login.component.module.d.ts +2 -2
  36. package/components/logo/logo.component.d.ts +25 -2
  37. package/components/logo/logo.model.d.ts +10 -0
  38. package/components/navbar/navbar.component.d.ts +1 -1
  39. package/components/navigation/navigation.component.d.ts +1 -1
  40. package/components/paginator/paginator.component.d.ts +1 -1
  41. package/components/progress-bar/progress-bar.component.d.ts +16 -12
  42. package/components/radio-button/radio-button.component.d.ts +84 -0
  43. package/components/radio-button/radio-button.component.module.d.ts +10 -0
  44. package/components/radio-button/radio-button.model.d.ts +4 -0
  45. package/components/snackbar/snackbar.component.d.ts +55 -0
  46. package/components/snackbar/snackbar.component.module.d.ts +10 -0
  47. package/components/snackbar/snackbar.model.d.ts +1 -0
  48. package/components/table/directives/dynamic-component.directive.d.ts +1 -1
  49. package/components/table/pipes/data-property-getter.d.ts +1 -1
  50. package/components/table/table.component.d.ts +3 -3
  51. package/components/table/table.model.d.ts +1 -1
  52. package/components/tag/tag.component.d.ts +20 -0
  53. package/components/tag/tag.component.module.d.ts +8 -0
  54. package/components/tag/tag.model.d.ts +1 -0
  55. package/components/tooltip/tooltip.component.d.ts +25 -0
  56. package/components/tooltip/tooltip.component.module.d.ts +8 -0
  57. package/components/tooltip/tooltip.model.d.ts +6 -0
  58. package/directives/drag-drop.directive.d.ts +12 -0
  59. package/esm2020/components/alert-banner/alert-banner.component.mjs +98 -0
  60. package/esm2020/components/alert-banner/alert-banner.component.module.mjs +21 -0
  61. package/esm2020/components/alert-banner/alert-banner.model.mjs +2 -0
  62. package/esm2020/components/banner-action/banner-action.component.mjs +42 -21
  63. package/esm2020/components/banner-action/banner-action.component.module.mjs +7 -7
  64. package/esm2020/components/button/button.component.mjs +97 -16
  65. package/esm2020/components/button/button.component.module.mjs +7 -7
  66. package/esm2020/components/button/button.model.mjs +1 -1
  67. package/esm2020/components/card/card.component.mjs +5 -5
  68. package/esm2020/components/card/card.component.module.mjs +5 -5
  69. package/esm2020/components/checkbox/checkbox.component.mjs +151 -0
  70. package/esm2020/components/checkbox/checkbox.component.module.mjs +20 -0
  71. package/esm2020/components/create-account/create-account.component.mjs +40 -27
  72. package/esm2020/components/create-account/create-account.component.module.mjs +15 -17
  73. package/esm2020/components/create-password/create-password.component.mjs +16 -16
  74. package/esm2020/components/create-password/create-password.component.module.mjs +11 -13
  75. package/esm2020/components/dialog/dialog.component.mjs +92 -23
  76. package/esm2020/components/dialog/dialog.component.module.mjs +10 -13
  77. package/esm2020/components/dialog/dialog.service.mjs +6 -10
  78. package/esm2020/components/elevation-shadow/elevation-shadow.component.mjs +25 -0
  79. package/esm2020/components/elevation-shadow/elevation-shadow.component.module.mjs +18 -0
  80. package/esm2020/components/elevation-shadow/elevation-shadow.constant.mjs +6 -0
  81. package/esm2020/components/field/field.component.mjs +97 -35
  82. package/esm2020/components/field/field.component.module.mjs +28 -7
  83. package/esm2020/components/field/field.model.mjs +2 -0
  84. package/esm2020/components/file-upload/file-upload.component.mjs +183 -0
  85. package/esm2020/components/file-upload/file-upload.component.module.mjs +24 -0
  86. package/esm2020/components/forgot-password/forgot-password.component.mjs +17 -17
  87. package/esm2020/components/forgot-password/forgot-password.component.module.mjs +11 -13
  88. package/esm2020/components/icon/icon.component.mjs +69 -0
  89. package/esm2020/components/icon/icon.component.module.mjs +21 -0
  90. package/esm2020/components/icon/icon.config.mjs +146 -0
  91. package/esm2020/components/icon/icon.model.mjs +2 -0
  92. package/esm2020/components/icon-label/icon-label.component.mjs +34 -0
  93. package/esm2020/components/icon-label/icon-label.component.module.mjs +20 -0
  94. package/esm2020/components/label/label.component.mjs +4 -4
  95. package/esm2020/components/label/label.component.module.mjs +5 -5
  96. package/esm2020/components/login/login.component.mjs +14 -14
  97. package/esm2020/components/login/login.component.module.mjs +14 -16
  98. package/esm2020/components/logo/logo.component.mjs +51 -8
  99. package/esm2020/components/logo/logo.component.module.mjs +5 -5
  100. package/esm2020/components/logo/logo.model.mjs +14 -0
  101. package/esm2020/components/navbar/navbar.component.mjs +10 -10
  102. package/esm2020/components/navbar/navbar.component.module.mjs +11 -13
  103. package/esm2020/components/navigation/navigation.component.mjs +7 -7
  104. package/esm2020/components/navigation/navigation.component.module.mjs +5 -5
  105. package/esm2020/components/paginator/paginator.component.mjs +9 -9
  106. package/esm2020/components/paginator/paginator.component.module.mjs +5 -5
  107. package/esm2020/components/progress-bar/progress-bar.component.mjs +46 -10
  108. package/esm2020/components/progress-bar/progress-bar.component.module.mjs +5 -5
  109. package/esm2020/components/radio-button/radio-button.component.mjs +138 -0
  110. package/esm2020/components/radio-button/radio-button.component.module.mjs +20 -0
  111. package/esm2020/components/radio-button/radio-button.model.mjs +2 -0
  112. package/esm2020/components/snackbar/snackbar.component.mjs +123 -0
  113. package/esm2020/components/snackbar/snackbar.component.module.mjs +21 -0
  114. package/esm2020/components/snackbar/snackbar.model.mjs +2 -0
  115. package/esm2020/components/table/directives/dynamic-component.directive.mjs +8 -8
  116. package/esm2020/components/table/pipes/data-property-getter.mjs +4 -4
  117. package/esm2020/components/table/table.component.mjs +36 -36
  118. package/esm2020/components/table/table.component.module.mjs +5 -5
  119. package/esm2020/components/tag/tag.component.mjs +24 -0
  120. package/esm2020/components/tag/tag.component.module.mjs +19 -0
  121. package/esm2020/components/tag/tag.model.mjs +2 -0
  122. package/esm2020/components/tooltip/tooltip.component.mjs +50 -0
  123. package/esm2020/components/tooltip/tooltip.component.module.mjs +18 -0
  124. package/esm2020/components/tooltip/tooltip.model.mjs +8 -0
  125. package/esm2020/directives/drag-drop.directive.mjs +55 -0
  126. package/esm2020/public-api.mjs +43 -4
  127. package/esm2020/utils/alert-bar.model.mjs +2 -0
  128. package/esm2020/utils/alert-bars.utils.mjs +33 -0
  129. package/fesm2015/testgorilla-tgo-ui.mjs +1949 -436
  130. package/fesm2015/testgorilla-tgo-ui.mjs.map +1 -1
  131. package/fesm2020/testgorilla-tgo-ui.mjs +1947 -435
  132. package/fesm2020/testgorilla-tgo-ui.mjs.map +1 -1
  133. package/package.json +15 -15
  134. package/public-api.d.ts +31 -2
  135. package/src/assets/icons/Add.svg +3 -0
  136. package/src/assets/icons/Archive.svg +3 -0
  137. package/src/assets/icons/Arrow_down.svg +3 -0
  138. package/src/assets/icons/Arrow_left.svg +3 -0
  139. package/src/assets/icons/Arrow_right.svg +3 -0
  140. package/src/assets/icons/Arrow_up.svg +3 -0
  141. package/src/assets/icons/Assessment.svg +3 -0
  142. package/src/assets/icons/Attempts.svg +3 -0
  143. package/src/assets/icons/Book.svg +3 -0
  144. package/src/assets/icons/Calendar.svg +3 -0
  145. package/src/assets/icons/Candidates.svg +8 -0
  146. package/src/assets/icons/Chat-notifications.svg +4 -0
  147. package/src/assets/icons/Chat.svg +3 -0
  148. package/src/assets/icons/Check.svg +3 -0
  149. package/src/assets/icons/Clone.svg +3 -0
  150. package/src/assets/icons/Close.svg +3 -0
  151. package/src/assets/icons/Code.svg +3 -0
  152. package/src/assets/icons/Company.svg +3 -0
  153. package/src/assets/icons/Copy.svg +3 -0
  154. package/src/assets/icons/Custom-questions.svg +3 -0
  155. package/src/assets/icons/Delete.svg +3 -0
  156. package/src/assets/icons/Devices.svg +3 -0
  157. package/src/assets/icons/Document.svg +3 -0
  158. package/src/assets/icons/Download.svg +3 -0
  159. package/src/assets/icons/Edit.svg +3 -0
  160. package/src/assets/icons/Email-message.svg +3 -0
  161. package/src/assets/icons/Empty-placeholder.svg +3 -0
  162. package/src/assets/icons/Error.svg +3 -0
  163. package/src/assets/icons/Essay.svg +3 -0
  164. package/src/assets/icons/Eye-hide.svg +3 -0
  165. package/src/assets/icons/Eye-view.svg +3 -0
  166. package/src/assets/icons/Feedback-1.svg +3 -0
  167. package/src/assets/icons/Feedback-2.svg +3 -0
  168. package/src/assets/icons/Feedback-3.svg +6 -0
  169. package/src/assets/icons/Feedback-4.svg +3 -0
  170. package/src/assets/icons/Feedback-5.svg +3 -0
  171. package/src/assets/icons/File-attach.svg +3 -0
  172. package/src/assets/icons/File-upload.svg +3 -0
  173. package/src/assets/icons/Filter.svg +3 -0
  174. package/src/assets/icons/Folder.svg +3 -0
  175. package/src/assets/icons/Format-add-file.svg +3 -0
  176. package/src/assets/icons/Format-add-table.svg +3 -0
  177. package/src/assets/icons/Format-align-L.svg +3 -0
  178. package/src/assets/icons/Format-align-R.svg +3 -0
  179. package/src/assets/icons/Format-align-center.svg +3 -0
  180. package/src/assets/icons/Format-align-justify.svg +3 -0
  181. package/src/assets/icons/Format-bold.svg +3 -0
  182. package/src/assets/icons/Format-code-active.svg +3 -0
  183. package/src/assets/icons/Format-code-block.svg +3 -0
  184. package/src/assets/icons/Format-edit-table.svg +3 -0
  185. package/src/assets/icons/Format-format.svg +3 -0
  186. package/src/assets/icons/Format-function.svg +3 -0
  187. package/src/assets/icons/Format-italics.svg +3 -0
  188. package/src/assets/icons/Format-list-bulleted.svg +3 -0
  189. package/src/assets/icons/Format-list-numbered.svg +3 -0
  190. package/src/assets/icons/Format-picker.svg +3 -0
  191. package/src/assets/icons/Format-quote.svg +3 -0
  192. package/src/assets/icons/Format-subscript.svg +3 -0
  193. package/src/assets/icons/Format-superscript.svg +3 -0
  194. package/src/assets/icons/Format-text-direction-L.svg +3 -0
  195. package/src/assets/icons/Format-text-direction-R.svg +3 -0
  196. package/src/assets/icons/Format-text-size.svg +3 -0
  197. package/src/assets/icons/Format-underline.svg +3 -0
  198. package/src/assets/icons/Format-variable.svg +3 -0
  199. package/src/assets/icons/Full-screen.svg +3 -0
  200. package/src/assets/icons/Gender-female.svg +3 -0
  201. package/src/assets/icons/Gender-male.svg +3 -0
  202. package/src/assets/icons/Help-2.svg +3 -0
  203. package/src/assets/icons/Help.svg +3 -0
  204. package/src/assets/icons/Image.svg +3 -0
  205. package/src/assets/icons/Info.svg +3 -0
  206. package/src/assets/icons/Integration.svg +3 -0
  207. package/src/assets/icons/Language.svg +3 -0
  208. package/src/assets/icons/Layout.svg +3 -0
  209. package/src/assets/icons/Learn.svg +3 -0
  210. package/src/assets/icons/Level.svg +3 -0
  211. package/src/assets/icons/Light-bulb.svg +3 -0
  212. package/src/assets/icons/Link.svg +3 -0
  213. package/src/assets/icons/Loading-spinner.svg +10 -0
  214. package/src/assets/icons/Localisation.svg +3 -0
  215. package/src/assets/icons/Location.svg +3 -0
  216. package/src/assets/icons/Lock.svg +3 -0
  217. package/src/assets/icons/Log-out.svg +3 -0
  218. package/src/assets/icons/Menu-burger.svg +3 -0
  219. package/src/assets/icons/Menu-ellipsis.svg +3 -0
  220. package/src/assets/icons/Microphone.svg +3 -0
  221. package/src/assets/icons/Minus.svg +3 -0
  222. package/src/assets/icons/Mouse-cursor.svg +3 -0
  223. package/src/assets/icons/Mouse-grab-cursor.svg +3 -0
  224. package/src/assets/icons/Mouse.svg +3 -0
  225. package/src/assets/icons/Multi-choice.svg +3 -0
  226. package/src/assets/icons/Notifications.svg +3 -0
  227. package/src/assets/icons/Password.svg +4 -0
  228. package/src/assets/icons/Path.svg +3 -0
  229. package/src/assets/icons/Plan-billing.svg +3 -0
  230. package/src/assets/icons/Plus.svg +3 -0
  231. package/src/assets/icons/Premium.svg +4 -0
  232. package/src/assets/icons/Promotion.svg +3 -0
  233. package/src/assets/icons/Question-count.svg +3 -0
  234. package/src/assets/icons/Refer.svg +3 -0
  235. package/src/assets/icons/Reset.svg +3 -0
  236. package/src/assets/icons/Review.svg +3 -0
  237. package/src/assets/icons/Round-check-filled.svg +3 -0
  238. package/src/assets/icons/Round-check.svg +3 -0
  239. package/src/assets/icons/Search.svg +3 -0
  240. package/src/assets/icons/Secure-checkout.svg +3 -0
  241. package/src/assets/icons/Send.svg +3 -0
  242. package/src/assets/icons/Settings.svg +8 -0
  243. package/src/assets/icons/Social-facebook.svg +3 -0
  244. package/src/assets/icons/Social-instagram.svg +3 -0
  245. package/src/assets/icons/Social-linkedin.svg +3 -0
  246. package/src/assets/icons/Sorting-down-1.svg +3 -0
  247. package/src/assets/icons/Sorting-down.svg +3 -0
  248. package/src/assets/icons/Speedometer.svg +3 -0
  249. package/src/assets/icons/Star-filled.svg +3 -0
  250. package/src/assets/icons/Star-half.svg +3 -0
  251. package/src/assets/icons/Star-outline.svg +3 -0
  252. package/src/assets/icons/Support.svg +3 -0
  253. package/src/assets/icons/Sync.svg +3 -0
  254. package/src/assets/icons/Team.svg +3 -0
  255. package/src/assets/icons/Test.svg +3 -0
  256. package/src/assets/icons/Thunder.svg +3 -0
  257. package/src/assets/icons/Timer.svg +3 -0
  258. package/src/assets/icons/Type.svg +3 -0
  259. package/src/assets/icons/Unarchive.svg +3 -0
  260. package/src/assets/icons/Unlock.svg +3 -0
  261. package/src/assets/icons/Upgrade.svg +3 -0
  262. package/src/assets/icons/Upload.svg +3 -0
  263. package/src/assets/icons/User-access.svg +3 -0
  264. package/src/assets/icons/User-add.svg +3 -0
  265. package/src/assets/icons/User-invite.svg +3 -0
  266. package/src/assets/icons/User-profile.svg +3 -0
  267. package/src/assets/icons/User-reject.svg +4 -0
  268. package/src/assets/icons/User-switch.svg +3 -0
  269. package/src/assets/icons/Video-pause.svg +3 -0
  270. package/src/assets/icons/Video-play.svg +3 -0
  271. package/src/assets/icons/Video-record.svg +3 -0
  272. package/src/assets/icons/Video.svg +3 -0
  273. package/src/assets/icons/Volume.svg +3 -0
  274. package/src/assets/icons/Warning.svg +3 -0
  275. package/src/assets/icons/Zoom-in.svg +6 -0
  276. package/src/assets/icons/Zoom-out.svg +5 -0
  277. package/src/assets/images/poweredbyTG.svg +37 -0
  278. package/src/assets/images/reverseTG.svg +84 -0
  279. package/src/assets/images/testgorilla.svg +75 -8
  280. package/src/theme/_alert-bars.scss +88 -0
  281. package/src/theme/_breakpoints-mixin.scss +12 -0
  282. package/src/theme/_core.scss +0 -1
  283. package/src/theme/_palette.scss +73 -73
  284. package/src/theme/_tooltip.scss +75 -0
  285. package/src/theme/_typography.scss +59 -16
  286. package/src/theme/_variables.scss +49 -0
  287. package/src/theme/theme.scss +4 -73
  288. package/utils/alert-bar.model.d.ts +1 -0
  289. package/utils/alert-bars.utils.d.ts +6 -0
  290. package/.github/README.md +0 -79
  291. package/components/banner/banner.component.d.ts +0 -27
  292. package/components/banner/banner.component.module.d.ts +0 -9
  293. package/components/dialog/dialog.model.d.ts +0 -4
  294. package/components/dialog/launch-dialog.component.d.ts +0 -9
  295. package/esm2020/components/banner/banner.component.mjs +0 -44
  296. package/esm2020/components/banner/banner.component.module.mjs +0 -20
  297. package/esm2020/components/dialog/dialog.model.mjs +0 -2
  298. package/esm2020/components/dialog/launch-dialog.component.mjs +0 -24
  299. package/src/assets/.gitkeep +0 -0
  300. /package/{testgorilla-tgo-ui.d.ts → index.d.ts} +0 -0
@@ -1,6 +1,8 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { FieldType } from '../../components/field/field.model';
2
4
  import * as i0 from "@angular/core";
3
- export declare class FieldComponent implements OnInit {
5
+ export declare class FieldComponent implements OnInit, ControlValueAccessor {
4
6
  class: string;
5
7
  /**
6
8
  * Form field label
@@ -8,77 +10,71 @@ export declare class FieldComponent implements OnInit {
8
10
  * @type {string}
9
11
  * @memberof FieldComponent
10
12
  */
11
- label: string;
13
+ label?: string | undefined;
12
14
  /**
13
- * Preffix icon (before input text)
15
+ * Input name attribute
14
16
  *
15
17
  * @type {string}
16
18
  * @memberof FieldComponent
17
19
  */
18
- preffixIcon: string;
20
+ fieldName?: string;
19
21
  /**
20
- * Suffix icon (after input text)
22
+ * Input placeholder
21
23
  *
22
24
  * @type {string}
23
25
  * @memberof FieldComponent
24
26
  */
25
- suffixIcon: string;
26
- /**
27
- * Input is required or not
28
- *
29
- * @type {boolean}
30
- * @memberof FieldComponent
31
- */
32
- required: boolean;
27
+ placeholder?: string | undefined;
33
28
  /**
34
- * Hint text
29
+ * Input id
35
30
  *
36
31
  * @type {string}
37
32
  * @memberof FieldComponent
38
33
  */
39
- hint: string;
34
+ id?: string | undefined;
40
35
  /**
41
- * Error text (will replace hint)
36
+ * Input value
42
37
  *
43
38
  * @type {string}
44
39
  * @memberof FieldComponent
45
40
  */
46
- error: string | undefined;
41
+ value: string;
42
+ _errors: string[];
47
43
  /**
48
- * Input placeholder
44
+ * Input field errors
49
45
  *
50
46
  * @type {string}
51
47
  * @memberof FieldComponent
52
48
  */
53
- placeholder: string;
49
+ set errors(errors: string[]);
54
50
  /**
55
- * Input type
51
+ * Determines if input is disabled
56
52
  *
57
- * @type {string}
53
+ * @type {boolean}
58
54
  * @memberof FieldComponent
59
55
  */
60
- type: string;
56
+ disabled: boolean;
61
57
  /**
62
- * Input value
58
+ * Input is required or not
63
59
  *
64
- * @type {string}
60
+ * @type {boolean}
65
61
  * @memberof FieldComponent
66
62
  */
67
- value: string;
63
+ required: boolean;
68
64
  /**
69
- * Determines if input is disabled
65
+ * Hint text
70
66
  *
71
- * @type {boolean}
67
+ * @type {string}
72
68
  * @memberof FieldComponent
73
69
  */
74
- isDisabled: boolean;
70
+ hintMessage: string;
75
71
  /**
76
- * Determines if field will be a password input. Will work if input type is set to 'password'
72
+ * Input type
77
73
  *
78
- * @type {boolean}
74
+ * @type {FieldType}
79
75
  * @memberof FieldComponent
80
76
  */
81
- passwordField: boolean;
77
+ type: FieldType;
82
78
  /**
83
79
  * @ignore
84
80
  */
@@ -88,16 +84,23 @@ export declare class FieldComponent implements OnInit {
88
84
  */
89
85
  onTouch: () => void;
90
86
  constructor();
87
+ showSearch: boolean;
88
+ showClose: boolean;
89
+ showPassword: boolean;
90
+ currentType: string;
91
+ errorsLength: boolean;
91
92
  ngOnInit(): void;
92
- /**
93
- * @ignore
94
- */
93
+ setSearchInput(): void;
94
+ getType(): string;
95
+ clearValue(): void;
96
+ showPasswordClick(): void;
97
+ onChangeInputSearch(): void;
98
+ setErrorsLength(): boolean;
95
99
  onInput(event: any): void;
96
- writeValue(value: any): void;
100
+ writeValue(value?: any): void;
97
101
  registerOnChange(fn: any): void;
98
102
  registerOnTouched(fn: any): void;
99
103
  setDisabledState(isDisabled: boolean): void;
100
- suffixIconClicked(): void;
101
104
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, never>;
102
- static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "label": "label"; "preffixIcon": "preffixIcon"; "suffixIcon": "suffixIcon"; "required": "required"; "hint": "hint"; "error": "error"; "placeholder": "placeholder"; "type": "type"; }, {}, never, never>;
105
+ static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "label": "label"; "fieldName": "fieldName"; "placeholder": "placeholder"; "id": "id"; "value": "value"; "errors": "errors"; "disabled": "disabled"; "required": "required"; "hintMessage": "hintMessage"; "type": "type"; }, {}, never, never, false, never>;
103
106
  }
@@ -3,10 +3,11 @@ import * as i1 from "./field.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/form-field";
5
5
  import * as i4 from "@angular/material/input";
6
- import * as i5 from "@angular/material/icon";
6
+ import * as i5 from "../icon/icon.component.module";
7
7
  import * as i6 from "@angular/forms";
8
+ import * as i7 from "../button/button.component.module";
8
9
  export declare class FieldComponentModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponentModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FieldComponentModule, [typeof i1.FieldComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.MatIconModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule], [typeof i1.FieldComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FieldComponentModule, [typeof i1.FieldComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.ButtonComponentModule], [typeof i1.FieldComponent]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<FieldComponentModule>;
12
13
  }
@@ -0,0 +1 @@
1
+ export type FieldType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'search';
@@ -0,0 +1,68 @@
1
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FileUploadComponent implements OnInit, OnChanges, ControlValueAccessor {
5
+ class: string;
6
+ /**
7
+ *
8
+ * @type {number}
9
+ * @memberof FileUploadComponent
10
+ */
11
+ maxFileSizeMB: number;
12
+ /**
13
+ * Supported files for input field
14
+ *
15
+ * @type {string}
16
+ * @memberof FileUploadComponent
17
+ */
18
+ supportedFileTypes?: string;
19
+ /**
20
+ * Upload progress
21
+ *
22
+ * @type {number}
23
+ * @memberof FileUploadComponent
24
+ */
25
+ uploadProgress: number;
26
+ /**
27
+ * File upload errors
28
+ *
29
+ * @type {string[]}
30
+ * @memberof FileUploadComponent
31
+ */
32
+ errors?: string[] | null;
33
+ /**
34
+ * File upload disabled
35
+ *
36
+ * @type {boolean}
37
+ * @memberof FileUploadComponent
38
+ */
39
+ disabled?: boolean;
40
+ OnDrop: EventEmitter<File>;
41
+ /**
42
+ * @ignore
43
+ */
44
+ onChange: (_: any) => void;
45
+ /**
46
+ * @ignore
47
+ */
48
+ onTouch: () => void;
49
+ file: File | null;
50
+ progress: boolean;
51
+ success: boolean;
52
+ browse: boolean;
53
+ constructor();
54
+ ngOnInit(): void;
55
+ onFileDropped(files: FileList): void;
56
+ onChangeUpload(event: Event): void;
57
+ emitFile(files: FileList): void;
58
+ showProgress(): boolean;
59
+ showSuccess(): boolean;
60
+ showBrowse(): boolean;
61
+ ngOnChanges(changes: SimpleChanges): void;
62
+ writeValue(value?: File): void;
63
+ registerOnChange(fn: any): void;
64
+ registerOnTouched(fn: any): void;
65
+ setDisabledState(isDisabled: boolean): void;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": "maxFileSizeMB"; "supportedFileTypes": "supportedFileTypes"; "uploadProgress": "uploadProgress"; "errors": "errors"; "disabled": "disabled"; }, { "OnDrop": "OnDrop"; }, never, never, false, never>;
68
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./file-upload.component";
3
+ import * as i2 from "../../directives/drag-drop.directive";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/material/form-field";
6
+ import * as i5 from "@angular/material/input";
7
+ import * as i6 from "../icon/icon.component.module";
8
+ import * as i7 from "../progress-bar/progress-bar.component.module";
9
+ export declare class FileUploadComponentModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponentModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadComponentModule, [typeof i1.FileUploadComponent, typeof i2.DragDropDirective], [typeof i3.CommonModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.IconComponentModule, typeof i7.ProgressBarComponentModule], [typeof i1.FileUploadComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<FileUploadComponentModule>;
13
+ }
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { FormBuilder } from '@angular/forms';
2
+ import { UntypedFormBuilder } from '@angular/forms';
3
3
  import { ForgotPasswordCredentials, Ii18nForgotPassword } from './forgot-password.model';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ForgotPasswordComponent implements OnInit {
@@ -7,7 +7,7 @@ export declare class ForgotPasswordComponent implements OnInit {
7
7
  /**
8
8
  * @ignore
9
9
  */
10
- forgotPasswordForm: import("@angular/forms").FormGroup;
10
+ forgotPasswordForm: import("@angular/forms").UntypedFormGroup;
11
11
  /**
12
12
  * @ignore
13
13
  */
@@ -39,10 +39,10 @@ export declare class ForgotPasswordComponent implements OnInit {
39
39
  * @ignore
40
40
  */
41
41
  ngOnInit(): void;
42
- constructor(fb: FormBuilder);
42
+ constructor(fb: UntypedFormBuilder);
43
43
  submit(): void;
44
44
  backToLogin(): void;
45
45
  checkErrors(field: string): void;
46
46
  static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<ForgotPasswordComponent, "ui-forgot-password", never, { "formErrors": "formErrors"; "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; "backToLoginEvent": "backToLoginEvent"; }, never, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<ForgotPasswordComponent, "ui-forgot-password", never, { "formErrors": "formErrors"; "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; "backToLoginEvent": "backToLoginEvent"; }, never, never, false, never>;
48
48
  }
@@ -0,0 +1,44 @@
1
+ import { OnInit, SimpleChanges } from '@angular/core';
2
+ import { MatIconRegistry } from '@angular/material/icon';
3
+ import { DomSanitizer } from '@angular/platform-browser';
4
+ import { IconColor, IconName, IconSize } from './icon.model';
5
+ import * as i0 from "@angular/core";
6
+ export declare class IconComponent implements OnInit {
7
+ private matIconRegistry;
8
+ private domSanitzer;
9
+ /**
10
+ * Icon size
11
+ *
12
+ * @type {IconSize}
13
+ * @memberof IconComponent
14
+ */
15
+ size: IconSize;
16
+ /**
17
+ * Icon css class
18
+ *
19
+ * @memberof IconComponent
20
+ */
21
+ cssClass: string;
22
+ /**
23
+ * Icon name
24
+ *
25
+ * @type {IconName}
26
+ * @memberof IconComponent
27
+ */
28
+ name: IconName;
29
+ /**
30
+ * Icon color
31
+ *
32
+ * @type {IconColor}
33
+ * @memberof IconComponent
34
+ */
35
+ color?: IconColor;
36
+ customCssClass: string;
37
+ constructor(matIconRegistry: MatIconRegistry, domSanitzer: DomSanitizer);
38
+ ngOnInit(): void;
39
+ ngOnChanges(changes: SimpleChanges): void;
40
+ setCssClass(): string;
41
+ addIcon(): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "ui-icon", never, { "size": "size"; "cssClass": "cssClass"; "name": "name"; "color": "color"; }, {}, never, never, false, never>;
44
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./icon.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/icon";
5
+ import * as i4 from "@angular/common/http";
6
+ export declare class IconComponentModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconComponentModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IconComponentModule, [typeof i1.IconComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.HttpClientModule], [typeof i1.IconComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<IconComponentModule>;
10
+ }
@@ -0,0 +1 @@
1
+ export declare const tgoIcons: readonly ["Add", "Archive", "Arrow_down", "Arrow_left", "Arrow_right", "Arrow_up", "Assessment", "Attempts", "Book", "Calendar", "Candidates", "Chat-notifications", "Chat", "Check", "Clone", "Close", "Code", "Company", "Copy", "Custom-questions", "Delete", "Devices", "Document", "Download", "Edit", "Email-message", "Empty-placeholder", "Error", "Essay", "Eye-hide", "Eye-view", "Feedback-1", "Feedback-2", "Feedback-3", "Feedback-4", "Feedback-5", "File-attach", "File-upload", "Filter", "Folder", "Format-add-file", "Format-add-table", "Format-align-L", "Format-align-R", "Format-align-center", "Format-align-justify", "Format-bold", "Format-code-active", "Format-code-block", "Format-edit-table", "Format-format", "Format-function", "Format-italics", "Format-list-bulleted", "Format-list-numbered", "Format-picker", "Format-quote", "Format-subscript", "Format-superscript", "Format-text-direction-L", "Format-text-direction-R", "Format-text-size", "Format-underline", "Format-variable", "Full-screen", "Gender-female", "Gender-male", "Help-2", "Help", "Image", "Info", "Integration", "Language", "Layout", "Learn", "Level", "Light-bulb", "Link", "Loading-spinner", "Localisation", "Location", "Lock", "Log-out", "Menu-burger", "Menu-ellipsis", "Microphone", "Minus", "Mouse-cursor", "Mouse-grab-cursor", "Mouse", "Multi-choice", "Notifications", "Password", "Path", "Plan-billing", "Plus", "Premium", "Promotion", "Question-count", "Refer", "Reset", "Review", "Round-check-filled", "Round-check", "Search", "Secure-checkout", "Send", "Settings", "Social-facebook", "Social-instagram", "Social-linkedin", "Sorting-down-1", "Sorting-down", "Speedometer", "Star-filled", "Star-half", "Star-outline", "Support", "Sync", "Team", "Test", "Thunder", "Timer", "Type", "Unarchive", "Unlock", "Upgrade", "Upload", "User-access", "User-add", "User-invite", "User-profile", "User-reject", "User-switch", "Video-pause", "Video-play", "Video-record", "Video", "Volume", "Warning", "Zoom-in", "Zoom-out"];
@@ -0,0 +1,4 @@
1
+ import { tgoIcons } from '../../components/icon/icon.config';
2
+ export type IconSize = '16' | '24';
3
+ export type IconName = typeof tgoIcons[number] | '';
4
+ export type IconColor = 'teal' | 'petrol' | 'dark' | 'white' | 'black';
@@ -0,0 +1,29 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { IconName, IconSize } from '../../components/icon/icon.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class IconLabelComponent implements OnInit {
5
+ /**
6
+ * Icon size
7
+ *
8
+ * @type {IconSize}
9
+ * @memberof IconLabelComponent
10
+ */
11
+ iconSize: IconSize;
12
+ /**
13
+ * Icon name
14
+ *
15
+ * @type {IconName}
16
+ * @memberof IconLabelComponent
17
+ */
18
+ iconName: IconName;
19
+ /**
20
+ * Label
21
+ *
22
+ * @memberof IconLabelComponent
23
+ */
24
+ text: string;
25
+ constructor();
26
+ ngOnInit(): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconLabelComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconLabelComponent, "ui-icon-label", never, { "iconSize": "iconSize"; "iconName": "iconName"; "text": "text"; }, {}, never, never, false, never>;
29
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./icon-label.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.component.module";
5
+ export declare class IconLabelComponentModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconLabelComponentModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IconLabelComponentModule, [typeof i1.IconLabelComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule], [typeof i1.IconLabelComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<IconLabelComponentModule>;
9
+ }
@@ -42,5 +42,5 @@ export declare class LabelComponent {
42
42
  size: LabelSizeEnum;
43
43
  constructor();
44
44
  static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "ui-label", never, { "backgroundColor": "backgroundColor"; "textColor": "textColor"; "title": "title"; "description": "description"; "size": "size"; }, {}, never, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "ui-label", never, { "backgroundColor": "backgroundColor"; "textColor": "textColor"; "title": "title"; "description": "description"; "size": "size"; }, {}, never, never, false, never>;
46
46
  }
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { FormBuilder } from '@angular/forms';
2
+ import { UntypedFormBuilder } from '@angular/forms';
3
3
  import { Ii18nLogin, LoginCredentials } from './login.model';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class LoginComponent implements OnInit {
@@ -7,7 +7,7 @@ export declare class LoginComponent implements OnInit {
7
7
  /**
8
8
  * @ignore
9
9
  */
10
- loginForm: import("@angular/forms").FormGroup;
10
+ loginForm: import("@angular/forms").UntypedFormGroup;
11
11
  /**
12
12
  * @ignore
13
13
  */
@@ -43,11 +43,11 @@ export declare class LoginComponent implements OnInit {
43
43
  * @ignore
44
44
  */
45
45
  ngOnInit(): void;
46
- constructor(fb: FormBuilder);
46
+ constructor(fb: UntypedFormBuilder);
47
47
  submit(): void;
48
48
  forgotPassword(): void;
49
49
  createAccount(): void;
50
50
  checkErrors(field: string): void;
51
51
  static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "ui-login", never, { "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; "forgotPasswordEvent": "forgotPasswordEvent"; "createAccountEvent": "createAccountEvent"; }, never, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "ui-login", never, { "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; "forgotPasswordEvent": "forgotPasswordEvent"; "createAccountEvent": "createAccountEvent"; }, never, never, false, never>;
53
53
  }
@@ -4,10 +4,10 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "../field/field.component.module";
6
6
  import * as i5 from "../button/button.component.module";
7
- import * as i6 from "@angular/material/checkbox";
7
+ import * as i6 from "../checkbox/checkbox.component.module";
8
8
  import * as i7 from "../logo/logo.component.module";
9
9
  export declare class LoginComponentModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponentModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<LoginComponentModule, [typeof i1.LoginComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.FieldComponentModule, typeof i5.ButtonComponentModule, typeof i6.MatCheckboxModule, typeof i7.LogoComponentModule], [typeof i1.LoginComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LoginComponentModule, [typeof i1.LoginComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.FieldComponentModule, typeof i5.ButtonComponentModule, typeof i6.CheckboxComponentModule, typeof i7.LogoComponentModule], [typeof i1.LoginComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<LoginComponentModule>;
13
13
  }
@@ -1,6 +1,29 @@
1
+ import { LogoTypeEnum } from './logo.model';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class LogoComponent {
3
- constructor();
4
+ /**
5
+ * Logo type
6
+ *
7
+ * @type {LogoTypeEnum}
8
+ * @memberof LogoComponent
9
+ */
10
+ type: LogoTypeEnum;
11
+ /**
12
+ * @ignore
13
+ */
14
+ logoURL: String;
15
+ /**
16
+ * @ignore
17
+ */
18
+ setURL: () => void;
19
+ /**
20
+ * @ignore
21
+ */
22
+ ngOnInit(): void;
23
+ /**
24
+ * @ignore
25
+ */
26
+ ngOnChanges(): void;
4
27
  static ɵfac: i0.ɵɵFactoryDeclaration<LogoComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<LogoComponent, "ui-logo", never, {}, {}, never, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<LogoComponent, "ui-logo", never, { "type": "type"; }, {}, never, never, false, never>;
6
29
  }
@@ -0,0 +1,10 @@
1
+ export declare enum LogoTypeEnum {
2
+ DEFAULT = "default",
3
+ POWEREDBY = "poweredby",
4
+ REVERSE = "reverse"
5
+ }
6
+ export declare enum LogoPathEnum {
7
+ DEFAULT = "/images/testgorilla.svg",
8
+ POWEREDBY = "/images/poweredbyTG.svg",
9
+ REVERSE = "/images/reverseTG.svg"
10
+ }
@@ -36,5 +36,5 @@ export declare class NavbarComponent {
36
36
  navigate(routeId: string): void;
37
37
  logout(): void;
38
38
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": "routes"; "activedRoute": "activedRoute"; "userName": "userName"; }, { "navigateEvent": "navigateEvent"; "logoutEvent": "logoutEvent"; }, never, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": "routes"; "activedRoute": "activedRoute"; "userName": "userName"; }, { "navigateEvent": "navigateEvent"; "logoutEvent": "logoutEvent"; }, never, never, false, never>;
40
40
  }
@@ -31,5 +31,5 @@ export declare class NavigationComponent {
31
31
  constructor();
32
32
  goBackClicked(): void;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<NavigationComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<NavigationComponent, "ui-navigation", never, { "title": "title"; "subtitle": "subtitle"; "labelItem": "labelItem"; }, { "goBackClickedEvent": "goBackClickedEvent"; }, never, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavigationComponent, "ui-navigation", never, { "title": "title"; "subtitle": "subtitle"; "labelItem": "labelItem"; }, { "goBackClickedEvent": "goBackClickedEvent"; }, never, never, false, never>;
35
35
  }
@@ -34,5 +34,5 @@ export declare class PaginatorComponent implements OnInit {
34
34
  constructor();
35
35
  paginatorChanged(paginator: PageEvent): void;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "ui-paginator", never, { "length": "length"; "defaultPageSize": "defaultPageSize"; }, { "paginatorChangedEvent": "paginatorChangedEvent"; }, never, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "ui-paginator", never, { "length": "length"; "defaultPageSize": "defaultPageSize"; }, { "paginatorChangedEvent": "paginatorChangedEvent"; }, never, never, false, never>;
38
38
  }
@@ -1,30 +1,34 @@
1
- import { ThemePalette } from '@angular/material/core';
2
1
  import { ProgressBarMode } from '@angular/material/progress-bar';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class ProgressBarComponent {
5
4
  /**
6
- * Progress Bar using Angular Material theme color. If no color is passed, a default gray will be shown
5
+ * Color of the progress bar.
6
+ * Defaults to Test Gorilla primary color.
7
7
  *
8
- * @type {ThemePalette}
8
+ * @type {string}
9
9
  * @memberof ProgressBarComponent
10
10
  */
11
- color: ThemePalette;
11
+ color: string;
12
12
  /**
13
- * Progress Bar mode
13
+ * Progress value of the progress bar.
14
+ * Defaults to zero.
14
15
  *
15
- * @type {ProgressBarMode}
16
+ * @type {number}
16
17
  * @memberof ProgressBarComponent
17
18
  */
18
- mode: ProgressBarMode;
19
+ progress: number;
19
20
  /**
20
- * Progress Bar value
21
+ * Mode of the progress bar.
22
+ * Mode must be one of these values: determinate, indeterminate, buffer, query.
23
+ * Defaults to 'determinate'.
21
24
  *
22
- * @type {number}
25
+ * @type {ProgressBarMode}
23
26
  * @memberof ProgressBarComponent
24
27
  */
25
- value: number;
28
+ mode: ProgressBarMode;
26
29
  /**
27
- * Progress Bar buffer value
30
+ * Buffer value of the progress bar.
31
+ * Defaults to zero.
28
32
  *
29
33
  * @type {number}
30
34
  * @memberof ProgressBarComponent
@@ -32,5 +36,5 @@ export declare class ProgressBarComponent {
32
36
  buffer: number;
33
37
  constructor();
34
38
  static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ui-progress-bar", never, { "color": "color"; "mode": "mode"; "value": "value"; "buffer": "buffer"; }, {}, never, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ui-progress-bar", never, { "color": "color"; "progress": "progress"; "mode": "mode"; "buffer": "buffer"; }, {}, never, never, false, never>;
36
40
  }
@@ -0,0 +1,84 @@
1
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { MatRadioButton } from '@angular/material/radio';
3
+ import { RadioButtonEventType } from './radio-button.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class RadioButtonComponent implements OnInit, OnChanges {
6
+ /**
7
+ * Determines whether the radio button is disabled.
8
+ * Default: false.
9
+ *
10
+ * @type {boolean}
11
+ * @memberof RadioButtonComponent
12
+ */
13
+ disabled: boolean;
14
+ /**
15
+ * Determines whether the radio button is checked.
16
+ * Default: false.
17
+ *
18
+ * @type {boolean}
19
+ * @memberof RadioButtonComponent
20
+ */
21
+ _selected: boolean;
22
+ get selected(): boolean;
23
+ set selected(selected: boolean);
24
+ /**
25
+ * Determines whether the radio button can be unchecked.
26
+ * Default: false.
27
+ *
28
+ * @type {boolean}
29
+ * @memberof RadioButtonComponent
30
+ */
31
+ allowUnselect: boolean;
32
+ /**
33
+ * Determines the radio button color.
34
+ * Default: Test Gorilla primary color.
35
+ *
36
+ * @type {string}
37
+ * @memberof RadioButtonComponent
38
+ */
39
+ color: string;
40
+ /**
41
+ * Used to group radios for unique selection.
42
+ *
43
+ * @type {string}
44
+ * @memberof RadioButtonComponent
45
+ */
46
+ name: string;
47
+ /**
48
+ * Text content will be applied to the input element if present.
49
+ *
50
+ * @type {string}
51
+ * @memberof RadioButtonComponent
52
+ */
53
+ label: string;
54
+ /**
55
+ * Determines whether the radio button is a multiple choice cell.
56
+ * Default: false
57
+ *
58
+ * @type {boolean}
59
+ * @memberof RadioButtonComponent
60
+ */
61
+ multiple: boolean;
62
+ /**
63
+ * Determines value of the radio button.
64
+ * Default: false
65
+ *
66
+ * @type {any}
67
+ * @memberof RadioButtonComponent
68
+ */
69
+ value: any;
70
+ /**
71
+ * Event emitted when the checked state of the radio button changes.
72
+ *
73
+ * @type {boolean}
74
+ * @memberof RadioButtonComponent
75
+ */
76
+ changeRadio: EventEmitter<RadioButtonEventType>;
77
+ classMultiple: string;
78
+ ngOnInit(): void;
79
+ ngOnChanges(changes: SimpleChanges): void;
80
+ clickRadio(element: MatRadioButton, event: MouseEvent): void;
81
+ setClass(): string;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "ui-radio-button", never, { "disabled": "disabled"; "selected": "selected"; "allowUnselect": "allowUnselect"; "color": "color"; "name": "name"; "label": "label"; "multiple": "multiple"; "value": "value"; }, { "changeRadio": "changeRadio"; }, never, never, false, never>;
84
+ }