@ieeesa-npm/presentation 0.33.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/esm2022/lib/assets/constants.json +13 -561
  2. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +28 -60
  3. package/esm2022/lib/components/checkbox/checkbox.component.mjs +16 -77
  4. package/esm2022/lib/components/date-picker/date-picker.component.mjs +10 -27
  5. package/esm2022/lib/components/date-picker-header/date-picker-header.component.mjs +11 -6
  6. package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +14 -275
  7. package/esm2022/lib/components/form-error/form-error.component.mjs +6 -6
  8. package/esm2022/lib/components/input/input.component.mjs +13 -34
  9. package/esm2022/lib/components/notification/notification.component.mjs +6 -18
  10. package/esm2022/lib/components/radio/radio.component.mjs +6 -12
  11. package/esm2022/lib/components/search/search.component.mjs +10 -62
  12. package/esm2022/lib/components/select/select.component.mjs +9 -32
  13. package/esm2022/lib/components/text-area/text-area.component.mjs +7 -65
  14. package/esm2022/lib/date-formats.mjs +2 -2
  15. package/esm2022/lib/directives/dynamic-form-field/dynamic-form-field.directive.mjs +5 -206
  16. package/esm2022/lib/models/checkbox-option.model.mjs +2 -0
  17. package/esm2022/lib/models/confirmation-modal-data.model.mjs +2 -0
  18. package/esm2022/lib/models/date-picker.model.mjs +1 -1
  19. package/esm2022/lib/models/field-config.model.mjs +1 -1
  20. package/esm2022/lib/models/footer-config.model.mjs +1 -1
  21. package/esm2022/lib/models/form-control-types.model.mjs +9 -9
  22. package/esm2022/lib/models/header-config.model.mjs +1 -1
  23. package/esm2022/lib/models/navigation-menu.model.mjs +1 -1
  24. package/esm2022/lib/models/select-option.model.mjs +2 -0
  25. package/esm2022/lib/models/toggle-button.model.mjs +1 -1
  26. package/esm2022/lib/presentation.module.mjs +5 -5
  27. package/esm2022/lib/services/datepicker.service.mjs +4 -4
  28. package/esm2022/lib/services/form-utility.service.mjs +5 -17
  29. package/esm2022/public-api.mjs +17 -97
  30. package/fesm2022/ieeesa-npm-presentation.mjs +599 -7589
  31. package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
  32. package/lib/components/autocomplete/autocomplete.component.d.ts +13 -27
  33. package/lib/components/checkbox/checkbox.component.d.ts +6 -32
  34. package/lib/components/date-picker/date-picker.component.d.ts +2 -11
  35. package/lib/components/dynamic-form/dynamic-form.component.d.ts +11 -157
  36. package/lib/components/input/input.component.d.ts +2 -9
  37. package/lib/components/notification/notification.component.d.ts +1 -4
  38. package/lib/components/radio/radio.component.d.ts +1 -3
  39. package/lib/components/search/search.component.d.ts +4 -13
  40. package/lib/components/select/select.component.d.ts +2 -5
  41. package/lib/components/text-area/text-area.component.d.ts +2 -24
  42. package/lib/directives/dynamic-form-field/dynamic-form-field.directive.d.ts +3 -36
  43. package/lib/models/checkbox-option.model.d.ts +6 -0
  44. package/lib/models/confirmation-modal-data.model.d.ts +5 -0
  45. package/lib/models/date-picker.model.d.ts +0 -3
  46. package/lib/models/field-config.model.d.ts +2 -54
  47. package/lib/models/footer-config.model.d.ts +0 -1
  48. package/lib/models/form-control-types.model.d.ts +1 -8
  49. package/lib/models/header-config.model.d.ts +0 -6
  50. package/lib/models/navigation-menu.model.d.ts +1 -1
  51. package/lib/models/select-option.model.d.ts +5 -0
  52. package/lib/models/toggle-button.model.d.ts +0 -4
  53. package/lib/services/form-utility.service.d.ts +1 -1
  54. package/package.json +2 -4
  55. package/public-api.d.ts +16 -95
  56. package/src/lib/assets/constants.json +13 -561
  57. package/esm2022/lib/components/accordion/accordion.component.mjs +0 -61
  58. package/esm2022/lib/components/add-form-group/add-form-group.component.mjs +0 -34
  59. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -129
  60. package/esm2022/lib/components/card/card.component.mjs +0 -74
  61. package/esm2022/lib/components/chips/chips.component.mjs +0 -162
  62. package/esm2022/lib/components/color-picker/color-picker.component.mjs +0 -314
  63. package/esm2022/lib/components/data-table/data-table.component.mjs +0 -781
  64. package/esm2022/lib/components/export-format-popover/export-format-popover.component.mjs +0 -75
  65. package/esm2022/lib/components/export-success-dialog/export-success-dialog.component.mjs +0 -39
  66. package/esm2022/lib/components/file-download/file-download.component.mjs +0 -176
  67. package/esm2022/lib/components/file-upload/file-upload.component.mjs +0 -474
  68. package/esm2022/lib/components/filter/filter.component.mjs +0 -302
  69. package/esm2022/lib/components/filter-popover/filter-popover.component.mjs +0 -198
  70. package/esm2022/lib/components/footer/footer.component.mjs +0 -55
  71. package/esm2022/lib/components/form-support-text/form-support-text.component.mjs +0 -63
  72. package/esm2022/lib/components/header/header.component.mjs +0 -193
  73. package/esm2022/lib/components/icon-button/icon-button.component.mjs +0 -38
  74. package/esm2022/lib/components/image-preview/image-preview.component.mjs +0 -30
  75. package/esm2022/lib/components/inactive-tenant/inactive-tenant.component.mjs +0 -44
  76. package/esm2022/lib/components/legend/legend.component.mjs +0 -37
  77. package/esm2022/lib/components/list/list.component.mjs +0 -199
  78. package/esm2022/lib/components/loader/loader.component.mjs +0 -22
  79. package/esm2022/lib/components/menu/menu.component.mjs +0 -75
  80. package/esm2022/lib/components/modal/modal.component.mjs +0 -166
  81. package/esm2022/lib/components/modal-confirmation/modal-confirmation.component.mjs +0 -45
  82. package/esm2022/lib/components/modal-info/modal-info.component.mjs +0 -41
  83. package/esm2022/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.mjs +0 -321
  84. package/esm2022/lib/components/navigation-menu/navigation-menu.component.mjs +0 -89
  85. package/esm2022/lib/components/policy-confirmation-dialog/policy-confirmation-dialog.component.mjs +0 -81
  86. package/esm2022/lib/components/rich-text-editor/rich-text-editor.component.mjs +0 -214
  87. package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +0 -98
  88. package/esm2022/lib/components/stepper/stepper.component.mjs +0 -69
  89. package/esm2022/lib/components/tabs/tabs.component.mjs +0 -210
  90. package/esm2022/lib/components/tile/tile.component.mjs +0 -70
  91. package/esm2022/lib/components/time-picker/time-picker.component.mjs +0 -59
  92. package/esm2022/lib/components/toggle-button/toggle-button.component.mjs +0 -76
  93. package/esm2022/lib/components/welcome/welcome.component.mjs +0 -85
  94. package/esm2022/lib/directives/file-upload/file-upload.directive.mjs +0 -85
  95. package/esm2022/lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive.mjs +0 -34
  96. package/esm2022/lib/directives/observe-dom-change/observe-dom-change.directive.mjs +0 -54
  97. package/esm2022/lib/directives/set-background/set-background.directive.mjs +0 -53
  98. package/esm2022/lib/directives/text-truncated/text-truncated.directive.mjs +0 -72
  99. package/esm2022/lib/models/accordion-info.model.mjs +0 -14
  100. package/esm2022/lib/models/align-browsed-files.model.mjs +0 -7
  101. package/esm2022/lib/models/allowed-file-types.model.mjs +0 -8
  102. package/esm2022/lib/models/app-config-info.model.mjs +0 -2
  103. package/esm2022/lib/models/breadcrumb.model.mjs +0 -2
  104. package/esm2022/lib/models/button-type.model.mjs +0 -7
  105. package/esm2022/lib/models/card-button.model.mjs +0 -2
  106. package/esm2022/lib/models/card-info.model.mjs +0 -2
  107. package/esm2022/lib/models/chip-option.model.mjs +0 -21
  108. package/esm2022/lib/models/color-format.model.mjs +0 -13
  109. package/esm2022/lib/models/custom-properties.model.mjs +0 -14
  110. package/esm2022/lib/models/download-file.model.mjs +0 -2
  111. package/esm2022/lib/models/event-emit-type.model.mjs +0 -2
  112. package/esm2022/lib/models/export-format-popover.model.mjs +0 -10
  113. package/esm2022/lib/models/export-success-dialog.model.mjs +0 -2
  114. package/esm2022/lib/models/file-download-config.model.mjs +0 -2
  115. package/esm2022/lib/models/file-info.model.mjs +0 -2
  116. package/esm2022/lib/models/file-upload-payload-model.mjs +0 -2
  117. package/esm2022/lib/models/file-upload-presigned-url-res.model.mjs +0 -2
  118. package/esm2022/lib/models/file-upload-response.model.mjs +0 -2
  119. package/esm2022/lib/models/file-upload-status.model.mjs +0 -2
  120. package/esm2022/lib/models/filter-popover.model.mjs +0 -2
  121. package/esm2022/lib/models/filters-options.model.mjs +0 -2
  122. package/esm2022/lib/models/inactive-tenant.model.mjs +0 -2
  123. package/esm2022/lib/models/input-field-type.model.mjs +0 -8
  124. package/esm2022/lib/models/legend.model.mjs +0 -2
  125. package/esm2022/lib/models/link-type.model.mjs +0 -6
  126. package/esm2022/lib/models/list-item.model.mjs +0 -2
  127. package/esm2022/lib/models/menu.model.mjs +0 -2
  128. package/esm2022/lib/models/paginator-config.model.mjs +0 -2
  129. package/esm2022/lib/models/policy-confirmation-dialog.model.mjs +0 -2
  130. package/esm2022/lib/models/profile-menu.model.mjs +0 -8
  131. package/esm2022/lib/models/select-opened-state.model.mjs +0 -2
  132. package/esm2022/lib/models/selected-date.model.mjs +0 -2
  133. package/esm2022/lib/models/selected-time.model.mjs +0 -2
  134. package/esm2022/lib/models/slide-toggle-options.model.mjs +0 -2
  135. package/esm2022/lib/models/tab.model.mjs +0 -2
  136. package/esm2022/lib/models/table-actions.model.mjs +0 -2
  137. package/esm2022/lib/models/table-column-menu-info.model.mjs +0 -2
  138. package/esm2022/lib/models/table-schema.model.mjs +0 -20
  139. package/esm2022/lib/models/tile.model.mjs +0 -2
  140. package/esm2022/lib/pipes/safe.pipe.mjs +0 -44
  141. package/esm2022/lib/services/break-point-observer.service.mjs +0 -36
  142. package/esm2022/lib/services/file-upload.service.mjs +0 -378
  143. package/lib/components/accordion/accordion.component.d.ts +0 -30
  144. package/lib/components/add-form-group/add-form-group.component.d.ts +0 -19
  145. package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -61
  146. package/lib/components/card/card.component.d.ts +0 -39
  147. package/lib/components/chips/chips.component.d.ts +0 -374
  148. package/lib/components/color-picker/color-picker.component.d.ts +0 -88
  149. package/lib/components/data-table/data-table.component.d.ts +0 -326
  150. package/lib/components/export-format-popover/export-format-popover.component.d.ts +0 -45
  151. package/lib/components/export-success-dialog/export-success-dialog.component.d.ts +0 -24
  152. package/lib/components/file-download/file-download.component.d.ts +0 -383
  153. package/lib/components/file-upload/file-upload.component.d.ts +0 -522
  154. package/lib/components/filter/filter.component.d.ts +0 -113
  155. package/lib/components/filter-popover/filter-popover.component.d.ts +0 -84
  156. package/lib/components/footer/footer.component.d.ts +0 -37
  157. package/lib/components/form-support-text/form-support-text.component.d.ts +0 -32
  158. package/lib/components/header/header.component.d.ts +0 -86
  159. package/lib/components/icon-button/icon-button.component.d.ts +0 -21
  160. package/lib/components/image-preview/image-preview.component.d.ts +0 -11
  161. package/lib/components/inactive-tenant/inactive-tenant.component.d.ts +0 -21
  162. package/lib/components/legend/legend.component.d.ts +0 -13
  163. package/lib/components/list/list.component.d.ts +0 -95
  164. package/lib/components/loader/loader.component.d.ts +0 -7
  165. package/lib/components/menu/menu.component.d.ts +0 -36
  166. package/lib/components/modal/modal.component.d.ts +0 -75
  167. package/lib/components/modal-confirmation/modal-confirmation.component.d.ts +0 -24
  168. package/lib/components/modal-info/modal-info.component.d.ts +0 -23
  169. package/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.d.ts +0 -130
  170. package/lib/components/navigation-menu/navigation-menu.component.d.ts +0 -45
  171. package/lib/components/policy-confirmation-dialog/policy-confirmation-dialog.component.d.ts +0 -46
  172. package/lib/components/rich-text-editor/rich-text-editor.component.d.ts +0 -75
  173. package/lib/components/slide-toggle/slide-toggle.component.d.ts +0 -45
  174. package/lib/components/stepper/stepper.component.d.ts +0 -46
  175. package/lib/components/tabs/tabs.component.d.ts +0 -86
  176. package/lib/components/tile/tile.component.d.ts +0 -39
  177. package/lib/components/time-picker/time-picker.component.d.ts +0 -20
  178. package/lib/components/toggle-button/toggle-button.component.d.ts +0 -51
  179. package/lib/components/welcome/welcome.component.d.ts +0 -41
  180. package/lib/directives/file-upload/file-upload.directive.d.ts +0 -42
  181. package/lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive.d.ts +0 -18
  182. package/lib/directives/observe-dom-change/observe-dom-change.directive.d.ts +0 -23
  183. package/lib/directives/set-background/set-background.directive.d.ts +0 -28
  184. package/lib/directives/text-truncated/text-truncated.directive.d.ts +0 -30
  185. package/lib/models/accordion-info.model.d.ts +0 -12
  186. package/lib/models/align-browsed-files.model.d.ts +0 -4
  187. package/lib/models/allowed-file-types.model.d.ts +0 -5
  188. package/lib/models/app-config-info.model.d.ts +0 -16
  189. package/lib/models/breadcrumb.model.d.ts +0 -6
  190. package/lib/models/button-type.model.d.ts +0 -4
  191. package/lib/models/card-button.model.d.ts +0 -6
  192. package/lib/models/card-info.model.d.ts +0 -8
  193. package/lib/models/chip-option.model.d.ts +0 -25
  194. package/lib/models/color-format.model.d.ts +0 -13
  195. package/lib/models/custom-properties.model.d.ts +0 -11
  196. package/lib/models/download-file.model.d.ts +0 -4
  197. package/lib/models/event-emit-type.model.d.ts +0 -5
  198. package/lib/models/export-format-popover.model.d.ts +0 -15
  199. package/lib/models/export-success-dialog.model.d.ts +0 -8
  200. package/lib/models/file-download-config.model.d.ts +0 -9
  201. package/lib/models/file-info.model.d.ts +0 -12
  202. package/lib/models/file-upload-payload-model.d.ts +0 -10
  203. package/lib/models/file-upload-presigned-url-res.model.d.ts +0 -35
  204. package/lib/models/file-upload-response.model.d.ts +0 -13
  205. package/lib/models/file-upload-status.model.d.ts +0 -8
  206. package/lib/models/filter-popover.model.d.ts +0 -24
  207. package/lib/models/filters-options.model.d.ts +0 -4
  208. package/lib/models/inactive-tenant.model.d.ts +0 -5
  209. package/lib/models/input-field-type.model.d.ts +0 -5
  210. package/lib/models/legend.model.d.ts +0 -6
  211. package/lib/models/link-type.model.d.ts +0 -3
  212. package/lib/models/list-item.model.d.ts +0 -24
  213. package/lib/models/menu.model.d.ts +0 -9
  214. package/lib/models/paginator-config.model.d.ts +0 -5
  215. package/lib/models/policy-confirmation-dialog.model.d.ts +0 -13
  216. package/lib/models/profile-menu.model.d.ts +0 -4
  217. package/lib/models/select-opened-state.model.d.ts +0 -4
  218. package/lib/models/selected-date.model.d.ts +0 -4
  219. package/lib/models/selected-time.model.d.ts +0 -4
  220. package/lib/models/slide-toggle-options.model.d.ts +0 -6
  221. package/lib/models/tab.model.d.ts +0 -6
  222. package/lib/models/table-actions.model.d.ts +0 -8
  223. package/lib/models/table-column-menu-info.model.d.ts +0 -6
  224. package/lib/models/table-schema.model.d.ts +0 -32
  225. package/lib/models/tile.model.d.ts +0 -12
  226. package/lib/pipes/safe.pipe.d.ts +0 -16
  227. package/lib/services/break-point-observer.service.d.ts +0 -21
  228. package/lib/services/file-upload.service.d.ts +0 -462
@@ -1,374 +0,0 @@
1
- import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
2
- import { MatChipListbox } from '@angular/material/chips';
3
- import { Subject } from 'rxjs';
4
- import { BreakpointObserverService } from '../../services/break-point-observer.service';
5
- import { ChipOption, ChipOrientation, ChipsType } from '../../models/chip-option.model';
6
- import { IconButton } from '@ieeesa-npm/models';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * Chips component allow users to view information, make selections, filter content.
10
- * @export
11
- * @class ChipComponent
12
- * @implements {OnInit}
13
- * @implements {OnDestroy}
14
- */
15
- export declare class ChipsComponent implements OnInit, OnDestroy {
16
- breakpointObserverService: BreakpointObserverService;
17
- defaultVisibleChips: ChipOption[];
18
- isMobileView: boolean;
19
- labelViewAllOrLess: string;
20
- constants: {
21
- ariaLabel: {
22
- clear: string;
23
- warning: string;
24
- previousMonth: string;
25
- nextMonth: string;
26
- menuIcon: string;
27
- close: string;
28
- search: string;
29
- addFormGroup: string;
30
- };
31
- button: {
32
- cancel: string;
33
- ok: string;
34
- add: string;
35
- };
36
- modalConfig: {
37
- ariaLabel: string;
38
- autoFocus: string;
39
- width: string;
40
- };
41
- chips: {
42
- noOfDefaultVisibleChips: number;
43
- label: {
44
- viewAll: string;
45
- viewLess: string;
46
- };
47
- ariaLabel: {
48
- chipsList: string;
49
- };
50
- icons: {
51
- arrow: {
52
- id: number;
53
- iconURL: string;
54
- toolTip: string;
55
- ariaLabel: string;
56
- };
57
- remove: {
58
- id: number;
59
- iconURL: string;
60
- toolTip: string;
61
- ariaLabel: string;
62
- };
63
- check: {
64
- id: number;
65
- iconURL: string;
66
- toolTip: string;
67
- ariaLabel: string;
68
- };
69
- };
70
- };
71
- dataTable: {
72
- label: {
73
- clearAll: string;
74
- };
75
- message: {
76
- noRecordFound: string;
77
- };
78
- ariaLabel: {
79
- search: string;
80
- selectAll: string;
81
- select: string;
82
- link: string;
83
- pagination: string;
84
- };
85
- buttons: {
86
- id: number;
87
- iconURL: string;
88
- toolTip: string;
89
- ariaLabel: string;
90
- }[];
91
- };
92
- datePicker: {
93
- selectDateLabel: string;
94
- dateFormatLabel: string;
95
- startDateLabel: string;
96
- endDateLabel: string;
97
- datePickerIcon: string;
98
- };
99
- dropdown: {
100
- placeholderText: string;
101
- };
102
- filter: {
103
- label: {
104
- filterBy: string;
105
- applyButton: string;
106
- clearAll: string;
107
- };
108
- buttons: {
109
- id: number;
110
- iconURL: string;
111
- toolTip: string;
112
- ariaLabel: string;
113
- }[];
114
- };
115
- textarea: {
116
- maxLengthDefault: number;
117
- leftCharacters: string;
118
- };
119
- autocomplete: {
120
- minCharToSearch: number;
121
- debounceTime: number;
122
- };
123
- multiSelectAutoComplete: {
124
- label: {
125
- clearAll: string;
126
- };
127
- ariaLabel: {
128
- selectedOption: string;
129
- removeOption: string;
130
- };
131
- icons: {
132
- remove: string;
133
- clearAll: string;
134
- };
135
- };
136
- header: {
137
- alt: {
138
- logo: string;
139
- };
140
- ariaLabel: {
141
- helpLink: string;
142
- hamburgerMenu: string;
143
- };
144
- label: {
145
- signOut: string;
146
- };
147
- buttons: {
148
- id: number;
149
- iconURL: string;
150
- toolTip: string;
151
- ariaLabel: string;
152
- }[];
153
- userProfileMenuOptions: {
154
- id: number;
155
- iconURL: string;
156
- label: string;
157
- ariaLabel: string;
158
- toolTip: string;
159
- isToolTipNeeded: boolean;
160
- }[];
161
- errors: {
162
- "2029": string;
163
- };
164
- };
165
- footer: {
166
- alt: {
167
- logo: string;
168
- };
169
- links: {
170
- label: string;
171
- ariaLabel: string;
172
- redirectUrl: string;
173
- }[];
174
- ieeeLogo: string;
175
- copyright: {
176
- link: string;
177
- textPart1: string;
178
- textPart2: string;
179
- hyperLinkPart3: string;
180
- textPart4: string;
181
- };
182
- };
183
- welcome: {
184
- buttons: {
185
- label: string;
186
- ariaLabel: string;
187
- url: string;
188
- }[];
189
- };
190
- breadcrumb: {
191
- label: {
192
- initial: string;
193
- };
194
- };
195
- loader: {
196
- ariaLabel: {
197
- spinner: string;
198
- };
199
- };
200
- defaultWelcomeBgColor: string;
201
- timePicker: {
202
- defaultTimeFormat: number;
203
- timePickerIcon: string;
204
- };
205
- colorPicker: {
206
- label: {
207
- select: string;
208
- cancel: string;
209
- };
210
- ariaLabel: {
211
- colorPicker: string;
212
- next: string;
213
- back: string;
214
- select: string;
215
- cancel: string;
216
- hexCodeInput: string;
217
- palette: string;
218
- };
219
- defaultColor: string;
220
- ariaDescription: string;
221
- ariaDescribedById: string;
222
- paletteColors: {
223
- name: string;
224
- hexCode: string;
225
- }[];
226
- };
227
- fileUpload: {
228
- label: {
229
- fileUpload: string;
230
- allowedFileSize1: string;
231
- allowedFileSize2: string;
232
- allowedFileFormat: string;
233
- browseFiles: string;
234
- uploadProgress: string;
235
- upload: string;
236
- mb: string;
237
- uploadFor: string;
238
- uploadErrorMsg: string;
239
- of: string;
240
- filesUploaded: string;
241
- fileAlreadyExists: string;
242
- };
243
- ariaLabel: {
244
- fileUpload: string;
245
- browseFiles: string;
246
- fileUploadIcon: string;
247
- removeFileIcon: string;
248
- deleteFileIcon: string;
249
- fileDownload: string;
250
- fileUploadInput: string;
251
- };
252
- iconUrl: {
253
- fileUploadIcon: string;
254
- fileRemoveIcon: string;
255
- deleteIcon: string;
256
- };
257
- buttons: {
258
- id: number;
259
- ariaLabel: string;
260
- iconURL: string;
261
- toolTip: string;
262
- disabled: boolean;
263
- }[];
264
- message: {
265
- error: {
266
- ER1002: string;
267
- invalidFileFormat: string;
268
- invalidFileSize: string;
269
- "2026": string;
270
- "2059": string;
271
- "2060": string;
272
- "2061": string;
273
- "2062": string;
274
- "2063": string;
275
- "2064": string;
276
- };
277
- };
278
- limit: {
279
- maxFilesUploadedOnce: number;
280
- };
281
- };
282
- list: {
283
- defaultIndentation: number;
284
- dragAndDropIconUrl: string;
285
- };
286
- search: {
287
- minCharToSearch: number;
288
- searchIcon: string;
289
- };
290
- richTextEditor: {
291
- label: {
292
- editor: string;
293
- };
294
- ariaLabel: {
295
- editor: string;
296
- colorPicker: string;
297
- };
298
- };
299
- fileDownload: {
300
- buttons: {
301
- id: number;
302
- ariaLabel: string;
303
- iconURL: string;
304
- toolTip: string;
305
- disabled: boolean;
306
- }[];
307
- preSignedDuration: string;
308
- message: {
309
- errors: {
310
- ER1002: string;
311
- "5038": string;
312
- "6027": string;
313
- "6028": string;
314
- };
315
- };
316
- };
317
- breakPointMaxWidth: string;
318
- };
319
- chipsType: typeof ChipsType;
320
- orientations: typeof ChipOrientation;
321
- activeLabel: string;
322
- destroy$: Subject<boolean>;
323
- private chips;
324
- set chipGroup(value: ChipOption[]);
325
- get chipGroup(): ChipOption[];
326
- chipOrientation: ChipOrientation;
327
- noOfDefaultVisibleChips: number;
328
- hasViewMoreForDesktop: boolean;
329
- hasViewMoreForMobile: boolean;
330
- avatar: IconButton;
331
- arrow: IconButton;
332
- check: IconButton;
333
- chipListBox: MatChipListbox;
334
- isViewMoreNeeded: boolean;
335
- private hasChipToggledInfo;
336
- get hasChipToggled(): boolean;
337
- set hasChipToggled(value: boolean);
338
- viewAllLabel: string;
339
- viewLessLabel: string;
340
- selectedChip: EventEmitter<any>;
341
- constructor(breakpointObserverService: BreakpointObserverService);
342
- ngOnInit(): void;
343
- /**
344
- * Onclick the chip, it emits selectedChip event with selected chip.
345
- * @param {ChipOption} chip
346
- * @memberof ChipComponent
347
- */
348
- onChipClick(chip: ChipOption): void;
349
- /**
350
- * Shows list of chips on the basis of view more/less button state.
351
- * @memberof ChipComponent
352
- */
353
- viewChips(clickedLabel: string): void;
354
- /**
355
- * Sets the isViewMoreNeeded value based on hasViewMore and isMobileView values.
356
- * @memberof ChipsComponent
357
- */
358
- getViewMore(): void;
359
- /**
360
- * Allows Angular to detect the specific chip option that needs to change or be added by tracking option unique Id.
361
- * @param {number} index
362
- * @param {ChipOption} option
363
- * @return {*} {(number | string)}
364
- * @memberof ChipComponent
365
- */
366
- trackById(index: number, option: ChipOption): number | string;
367
- /**
368
- * NgOnDestroy performs necessary cleanup tasks, such as unsubscribing from subscription when the component is being destroyed.
369
- * @memberof GroupsComponent
370
- */
371
- ngOnDestroy(): void;
372
- static ɵfac: i0.ɵɵFactoryDeclaration<ChipsComponent, never>;
373
- static ɵcmp: i0.ɵɵComponentDeclaration<ChipsComponent, "ieeesa-chips", never, { "chipGroup": { "alias": "chipGroup"; "required": false; }; "chipOrientation": { "alias": "chipOrientation"; "required": false; }; "noOfDefaultVisibleChips": { "alias": "noOfDefaultVisibleChips"; "required": false; }; "hasViewMoreForDesktop": { "alias": "hasViewMoreForDesktop"; "required": false; }; "hasViewMoreForMobile": { "alias": "hasViewMoreForMobile"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "arrow": { "alias": "arrow"; "required": false; }; "check": { "alias": "check"; "required": false; }; "isViewMoreNeeded": { "alias": "isViewMoreNeeded"; "required": false; }; "hasChipToggled": { "alias": "hasChipToggled"; "required": false; }; "viewAllLabel": { "alias": "viewAllLabel"; "required": false; }; "viewLessLabel": { "alias": "viewLessLabel"; "required": false; }; }, { "selectedChip": "selectedChip"; }, never, never, true, never>;
374
- }
@@ -1,88 +0,0 @@
1
- import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { NgxColorsTriggerDirective } from 'ngx-colors';
3
- import { FormGroup } from '@angular/forms';
4
- import { ColorFormat, ColorsAnimation, PaletteColor } from '../../models/color-format.model';
5
- import { FieldConfig } from '../../models/field-config.model';
6
- import { FormUtilityService } from '../../services/form-utility.service';
7
- import * as i0 from "@angular/core";
8
- export declare class ColorPickerComponent implements OnInit, OnDestroy {
9
- private elementRef;
10
- private formUtilityService;
11
- colorPickerDirective: NgxColorsTriggerDirective;
12
- colorPickerTexts: any;
13
- paletteColors: PaletteColor[];
14
- paletteContainer: HTMLElement;
15
- group: FormGroup;
16
- config: FieldConfig;
17
- colorPickerChange: EventEmitter<string>;
18
- colorPickerSliderChange: EventEmitter<string>;
19
- defaultColor: string;
20
- canShowPalette: boolean;
21
- palette: string[];
22
- overlayClassName: string;
23
- colorFormat: ColorFormat;
24
- colorAnimation: ColorsAnimation;
25
- formControlName: string;
26
- paletteSelectLabel: any;
27
- paletteCancelLabel: any;
28
- colorPickerLabel: string;
29
- isColorCodeLabelNeeded: boolean;
30
- isArrowIconNeeded: boolean;
31
- canHideTextInput: boolean;
32
- canHideColorPicker: boolean;
33
- constructor(elementRef: ElementRef, formUtilityService: FormUtilityService);
34
- ngOnInit(): void;
35
- /**
36
- * Sets the color to form group control.
37
- * @memberof ColorPickerComponent
38
- * @param {string} color
39
- * @returns {void}
40
- */
41
- inputChange(color: string): void;
42
- /**
43
- * Sets canShowPalette to true when the palette is opened.
44
- * @memberof ColorPickerComponent
45
- * @returns {void}
46
- */
47
- onOpenPalette(): void;
48
- /**
49
- * Sets canShowPalette to false when the palette is closed.
50
- * @memberof ColorPickerComponent
51
- * @returns {void}
52
- */
53
- onClosePalette(): void;
54
- /**
55
- * Gets triggered when the the alpha, hue or Lightness sliders are changed
56
- * @param {string} color
57
- */
58
- onSliderChange(color: string): void;
59
- /**
60
- * Toggles the palette panel.
61
- * @memberof ColorPickerComponent
62
- * @returns {void}
63
- */
64
- togglePalette(): void;
65
- /**
66
- * Listening the color picker events to achieve the accessibility for color palette.
67
- * canAddListener false remove the event listeners which we calls in ngDestroy,
68
- * canAddListener true adding the event listeners while opening the color palette.
69
- * @memberof ColorPickerComponent
70
- * @param {boolean} canAddListener
71
- * @returns {void}
72
- */
73
- colorPickerEventHandlers(canAddListener: boolean): void;
74
- /**
75
- * Listens keydown event handles to make the palette focusable.
76
- * @memberof ColorPickerComponent
77
- * @param {HTMLElement[]} colorPallettesList
78
- * @param {KeyboardEvent} event
79
- * @returns {void}
80
- */
81
- colorPickerKeyDownHandler(colorPallettesList: HTMLElement[], event: KeyboardEvent): void;
82
- /**
83
- * Removing the active listeners while component get destroyed.
84
- */
85
- ngOnDestroy(): void;
86
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
87
- static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "ieeesa-color-picker", never, { "defaultColor": { "alias": "defaultColor"; "required": false; }; "palette": { "alias": "palette"; "required": false; }; "overlayClassName": { "alias": "overlayClassName"; "required": false; }; "colorFormat": { "alias": "colorFormat"; "required": false; }; "colorAnimation": { "alias": "colorAnimation"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "paletteSelectLabel": { "alias": "paletteSelectLabel"; "required": false; }; "paletteCancelLabel": { "alias": "paletteCancelLabel"; "required": false; }; "colorPickerLabel": { "alias": "colorPickerLabel"; "required": false; }; "isColorCodeLabelNeeded": { "alias": "isColorCodeLabelNeeded"; "required": false; }; "isArrowIconNeeded": { "alias": "isArrowIconNeeded"; "required": false; }; "canHideTextInput": { "alias": "canHideTextInput"; "required": false; }; "canHideColorPicker": { "alias": "canHideColorPicker"; "required": false; }; }, { "colorPickerChange": "colorPickerChange"; "colorPickerSliderChange": "colorPickerSliderChange"; }, never, never, true, never>;
88
- }