@aaamb/ngx-design-system 1.4.1 → 1.4.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.
- package/fesm2022/aaamb-ngx-design-system.mjs +4118 -0
- package/fesm2022/aaamb-ngx-design-system.mjs.map +1 -0
- package/package.json +14 -58
- package/styles/compiled.css +2 -0
- package/types/aaamb-ngx-design-system.d.ts +1149 -0
- package/.editorconfig +0 -17
- package/.nvmrc +0 -1
- package/.postcssrc.json +0 -5
- package/.storybook/main.ts +0 -20
- package/.storybook/preview.ts +0 -23
- package/.storybook/storybook.css +0 -1
- package/.storybook/tsconfig.json +0 -19
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/CHANGELOG.md +0 -10
- package/LOCAL_DEVELOPMENT.md +0 -129
- package/angular.json +0 -74
- package/bitbucket-pipelines.yml +0 -41
- package/iac/bin/app.ts +0 -42
- package/iac/cdk.json +0 -82
- package/iac/lib/config/environments.ts +0 -19
- package/iac/lib/config/types.ts +0 -13
- package/iac/lib/stacks/certificate-stack.ts +0 -34
- package/iac/lib/stacks/frontend-stack.ts +0 -120
- package/iac/lib/stacks/index.ts +0 -2
- package/iac/package-lock.json +0 -726
- package/iac/package.json +0 -25
- package/iac/tsconfig.json +0 -24
- package/ng-package.json +0 -8
- package/src/components/button/button-green.stories.ts +0 -101
- package/src/components/button/button-text.stories.ts +0 -105
- package/src/components/button/button-white.stories.ts +0 -105
- package/src/components/button/button.component.stories.ts +0 -91
- package/src/components/button/button.component.ts +0 -93
- package/src/components/checkbox/checkbox.component.html +0 -30
- package/src/components/checkbox/checkbox.component.stories.ts +0 -183
- package/src/components/checkbox/checkbox.component.ts +0 -211
- package/src/components/datepicker-selector/datepicker-selector.component.html +0 -103
- package/src/components/datepicker-selector/datepicker-selector.component.stories.ts +0 -123
- package/src/components/datepicker-selector/datepicker-selector.component.ts +0 -337
- package/src/components/error-message/error-message.component.html +0 -3
- package/src/components/error-message/error-message.component.ts +0 -13
- package/src/components/filter-button/filter-button.component.html +0 -286
- package/src/components/filter-button/filter-button.component.stories.ts +0 -123
- package/src/components/filter-button/filter-button.component.ts +0 -582
- package/src/components/icon/icon.component.ts +0 -20
- package/src/components/icon/icon.html +0 -1424
- package/src/components/icon/icon.stories.ts +0 -49
- package/src/components/icon/icons-list.stories.ts +0 -42
- package/src/components/input/input.component.stories.ts +0 -101
- package/src/components/input/input.component.ts +0 -317
- package/src/components/input/input.html +0 -160
- package/src/components/input-datepicker/input-datepicker.component.ts +0 -356
- package/src/components/input-datepicker/input-datepicker.html +0 -69
- package/src/components/input-datepicker/input-datepicker.stories.ts +0 -99
- package/src/components/input-rangepicker/input-rangepicker.component.ts +0 -365
- package/src/components/input-rangepicker/input-rangepicker.html +0 -54
- package/src/components/input-rangepicker/input-rangepicker.stories.ts +0 -88
- package/src/components/input-weekpicker/input-weekpicker.component.ts +0 -417
- package/src/components/input-weekpicker/input-weekpicker.html +0 -54
- package/src/components/input-weekpicker/input-weekpicker.stories.ts +0 -103
- package/src/components/label/label.component.html +0 -20
- package/src/components/label/label.component.ts +0 -22
- package/src/components/modals/delicate-confirmation-modal/delicate-confirmation-modal.component.html +0 -32
- package/src/components/modals/delicate-confirmation-modal/delicate-confirmation-modal.component.stories.ts +0 -57
- package/src/components/modals/delicate-confirmation-modal/delicate-confirmation-modal.component.ts +0 -48
- package/src/components/modals/feedback-modal/feedback-modal.component.html +0 -118
- package/src/components/modals/feedback-modal/feedback-modal.component.stories.ts +0 -93
- package/src/components/modals/feedback-modal/feedback-modal.component.ts +0 -187
- package/src/components/modals/help-modal/help-modal.component.html +0 -32
- package/src/components/modals/help-modal/help-modal.component.stories.ts +0 -76
- package/src/components/modals/help-modal/help-modal.component.ts +0 -54
- package/src/components/modals/information-modal/information-modal.component.html +0 -24
- package/src/components/modals/information-modal/information-modal.component.stories.ts +0 -62
- package/src/components/modals/information-modal/information-modal.component.ts +0 -35
- package/src/components/modals/main-modal/main-modal.component.html +0 -85
- package/src/components/modals/main-modal/main-modal.component.stories.ts +0 -127
- package/src/components/modals/main-modal/main-modal.component.ts +0 -85
- package/src/components/modals/notification-modal/notification-modal.component.html +0 -22
- package/src/components/modals/notification-modal/notification-modal.component.stories.ts +0 -59
- package/src/components/modals/notification-modal/notification-modal.component.ts +0 -37
- package/src/components/selectors/multiple-selector/multiple-selector.component.html +0 -51
- package/src/components/selectors/multiple-selector/multiple-selector.component.stories.ts +0 -306
- package/src/components/selectors/multiple-selector/multiple-selector.component.ts +0 -308
- package/src/components/selectors/single-selector/single-selector.component.html +0 -46
- package/src/components/selectors/single-selector/single-selector.component.stories.ts +0 -294
- package/src/components/selectors/single-selector/single-selector.component.ts +0 -239
- package/src/components/side-nav/side-nav.component.stories.ts +0 -176
- package/src/components/side-nav/side-nav.component.ts +0 -325
- package/src/components/snackbar/snackbar.component.ts +0 -150
- package/src/components/snackbar/snackbar.html +0 -21
- package/src/components/snackbar/snackbar.stories.ts +0 -51
- package/src/components/state/state.component.ts +0 -30
- package/src/components/state/state.html +0 -13
- package/src/components/state/state.stories.ts +0 -74
- package/src/components/table/table.component.html +0 -466
- package/src/components/table/table.component.scss +0 -28
- package/src/components/table/table.component.stories.ts +0 -655
- package/src/components/table/table.component.ts +0 -475
- package/src/components/tabs/tabs.component.stories.ts +0 -114
- package/src/components/tabs/tabs.component.ts +0 -69
- package/src/core/types.ts +0 -494
- package/src/public-api.ts +0 -23
- package/tsconfig.json +0 -37
- package/tsconfig.lib.json +0 -17
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -13
|
@@ -0,0 +1,1149 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { ElementRef, OnDestroy, EventEmitter } from '@angular/core';
|
|
4
|
+
import * as _angular_forms from '@angular/forms';
|
|
5
|
+
import { ControlValueAccessor, FormGroup, FormBuilder, FormArray } from '@angular/forms';
|
|
6
|
+
import { NzFilterOptionType } from 'ng-zorro-antd/select';
|
|
7
|
+
import { Table, Row } from '@tanstack/angular-table';
|
|
8
|
+
|
|
9
|
+
type AdsButtonVariant = 'primary' | 'secondary';
|
|
10
|
+
type AdsButtonColor = 'green' | 'white' | 'text';
|
|
11
|
+
type AdsButtonType = 'button' | 'submit' | 'reset';
|
|
12
|
+
type AdsInputType = 'text' | 'text_area' | 'number' | 'cellphone' | 'password' | 'rate' | 'search' | 'payment_card';
|
|
13
|
+
declare const ICONS: {
|
|
14
|
+
add_square: string;
|
|
15
|
+
administrator_solid: string;
|
|
16
|
+
ambulance: string;
|
|
17
|
+
arrow_right: string;
|
|
18
|
+
blood_type: string;
|
|
19
|
+
chart_bars: string;
|
|
20
|
+
chart_grid: string;
|
|
21
|
+
book: string;
|
|
22
|
+
bookmark: string;
|
|
23
|
+
branchs: string;
|
|
24
|
+
building: string;
|
|
25
|
+
calendar: string;
|
|
26
|
+
calendar_check: string;
|
|
27
|
+
chat: string;
|
|
28
|
+
error: string;
|
|
29
|
+
check: string;
|
|
30
|
+
check_list: string;
|
|
31
|
+
clipboard: string;
|
|
32
|
+
controller_frame: string;
|
|
33
|
+
copy: string;
|
|
34
|
+
delete: string;
|
|
35
|
+
delete_trash: string;
|
|
36
|
+
device_add: string;
|
|
37
|
+
document: string;
|
|
38
|
+
document_upload: string;
|
|
39
|
+
download_rounded: string;
|
|
40
|
+
edit: string;
|
|
41
|
+
edit_calendar: string;
|
|
42
|
+
eye: string;
|
|
43
|
+
folder: string;
|
|
44
|
+
folder_management: string;
|
|
45
|
+
group: string;
|
|
46
|
+
hamburger: string;
|
|
47
|
+
hide: string;
|
|
48
|
+
history_rounded: string;
|
|
49
|
+
home: string;
|
|
50
|
+
home_solid: string;
|
|
51
|
+
ia_agent: string;
|
|
52
|
+
info: string;
|
|
53
|
+
lightbulb: string;
|
|
54
|
+
mail: string;
|
|
55
|
+
medical_user: string;
|
|
56
|
+
menu_list: string;
|
|
57
|
+
microphone: string;
|
|
58
|
+
minus: string;
|
|
59
|
+
move_down: string;
|
|
60
|
+
open: string;
|
|
61
|
+
paper_edit: string;
|
|
62
|
+
pause: string;
|
|
63
|
+
people: string;
|
|
64
|
+
phone: string;
|
|
65
|
+
play: string;
|
|
66
|
+
play_filled: string;
|
|
67
|
+
plus: string;
|
|
68
|
+
queue_play: string;
|
|
69
|
+
receipt: string;
|
|
70
|
+
replay: string;
|
|
71
|
+
reset_settings: string;
|
|
72
|
+
scanner: string;
|
|
73
|
+
search: string;
|
|
74
|
+
settings: string;
|
|
75
|
+
sharp: string;
|
|
76
|
+
sorting: string;
|
|
77
|
+
stop: string;
|
|
78
|
+
table: string;
|
|
79
|
+
tune: string;
|
|
80
|
+
upload_file: string;
|
|
81
|
+
upload_rounded: string;
|
|
82
|
+
user: string;
|
|
83
|
+
user_key: string;
|
|
84
|
+
users: string;
|
|
85
|
+
vital_sign: string;
|
|
86
|
+
warning: string;
|
|
87
|
+
dolar_sign: string;
|
|
88
|
+
icon_card: string;
|
|
89
|
+
mastercard: string;
|
|
90
|
+
visa: string;
|
|
91
|
+
amex: string;
|
|
92
|
+
discover: string;
|
|
93
|
+
toggle_active: string;
|
|
94
|
+
toggle_inactive: string;
|
|
95
|
+
};
|
|
96
|
+
type AdsIconName = keyof typeof ICONS;
|
|
97
|
+
declare enum containerShapes {
|
|
98
|
+
ROUNDED = "rounded",
|
|
99
|
+
SQUARE = "square"
|
|
100
|
+
}
|
|
101
|
+
declare enum stateBorderColors {
|
|
102
|
+
NEUTRAL = "border-neutral-disabled-bg",
|
|
103
|
+
BORDER_AQUA1 = "border-aqua-1",
|
|
104
|
+
BORDER_AQUA2 = "border-aqua-2",
|
|
105
|
+
BORDER_AQUA3 = "border-aqua-3",
|
|
106
|
+
BORDER_AQUA4 = "border-aqua-4",
|
|
107
|
+
BORDER_AQUA5 = "border-aqua-5",
|
|
108
|
+
BORDER_AQUA6 = "border-aqua-6",
|
|
109
|
+
BORDER_AQUA7 = "border-aqua-7",
|
|
110
|
+
BORDER_RED1 = "border-red-1",
|
|
111
|
+
BORDER_RED2 = "border-red-2",
|
|
112
|
+
BORDER_RED3 = "border-red-3",
|
|
113
|
+
BORDER_RED4 = "border-red-4",
|
|
114
|
+
BORDER_RED5 = "border-red-5",
|
|
115
|
+
BORDER_RED6 = "border-red-6",
|
|
116
|
+
BORDER_GREEN1 = "border-green-1",
|
|
117
|
+
BORDER_GREEN2 = "border-green-2",
|
|
118
|
+
BORDER_GREEN3 = "border-green-3",
|
|
119
|
+
BORDER_GREEN4 = "border-green-4",
|
|
120
|
+
BORDER_GREEN5 = "border-green-5",
|
|
121
|
+
BORDER_GREEN6 = "border-green-6",
|
|
122
|
+
BORDER_YELLOW1 = "border-yellow-1",
|
|
123
|
+
BORDER_YELLOW2 = "border-yellow-2",
|
|
124
|
+
BORDER_PURPLE1 = "border-purple-1",
|
|
125
|
+
BORDER_PURPLE2 = "border-purple-2",
|
|
126
|
+
BORDER_PURPLE3 = "border-purple-3"
|
|
127
|
+
}
|
|
128
|
+
declare enum stateBackgroundColors {
|
|
129
|
+
NEUTRAL = "bg-neutral-disabled-bg",
|
|
130
|
+
BG_AQUA1 = "bg-aqua-1",
|
|
131
|
+
BG_AQUA2 = "bg-aqua-2",
|
|
132
|
+
BG_AQUA3 = "bg-aqua-3",
|
|
133
|
+
BG_AQUA4 = "bg-aqua-4",
|
|
134
|
+
BG_AQUA5 = "bg-aqua-5",
|
|
135
|
+
BG_AQUA6 = "bg-aqua-6",
|
|
136
|
+
BG_AQUA7 = "bg-aqua-7",
|
|
137
|
+
BG_RED1 = "bg-red-1",
|
|
138
|
+
BG_RED2 = "bg-red-2",
|
|
139
|
+
BG_RED3 = "bg-red-3",
|
|
140
|
+
BG_RED4 = "bg-red-4",
|
|
141
|
+
BG_RED5 = "bg-red-5",
|
|
142
|
+
BG_RED6 = "bg-red-6",
|
|
143
|
+
BG_GREEN1 = "bg-green-1",
|
|
144
|
+
BG_GREEN2 = "bg-green-2",
|
|
145
|
+
BG_GREEN3 = "bg-green-3",
|
|
146
|
+
BG_GREEN4 = "bg-green-4",
|
|
147
|
+
BG_GREEN5 = "bg-green-5",
|
|
148
|
+
BG_GREEN6 = "bg-green-6",
|
|
149
|
+
BG_YELLOW1 = "bg-yellow-1",
|
|
150
|
+
BG_YELLOW2 = "bg-yellow-2",
|
|
151
|
+
BG_PURPLE1 = "bg-purple-1",
|
|
152
|
+
BG_PURPLE2 = "bg-purple-2",
|
|
153
|
+
BG_PURPLE3 = "bg-purple-3"
|
|
154
|
+
}
|
|
155
|
+
declare enum stateTextColors {
|
|
156
|
+
WHITE = "text-white-base",
|
|
157
|
+
BLACK = "text-aqua-base",
|
|
158
|
+
TEXT_AQUA1 = "text-aqua-1",
|
|
159
|
+
TEXT_AQUA2 = "text-aqua-2",
|
|
160
|
+
TEXT_AQUA3 = "text-aqua-3",
|
|
161
|
+
TEXT_AQUA4 = "text-aqua-4",
|
|
162
|
+
TEXT_AQUA5 = "text-aqua-5",
|
|
163
|
+
TEXT_AQUA6 = "text-aqua-6",
|
|
164
|
+
TEXT_AQUA7 = "text-aqua-7",
|
|
165
|
+
TEXT_RED1 = "text-red-1",
|
|
166
|
+
TEXT_RED2 = "text-red-2",
|
|
167
|
+
TEXT_RED3 = "text-red-3",
|
|
168
|
+
TEXT_RED4 = "text-red-4",
|
|
169
|
+
TEXT_RED5 = "text-red-5",
|
|
170
|
+
TEXT_RED6 = "text-red-6",
|
|
171
|
+
TEXT_GREEN1 = "text-green-1",
|
|
172
|
+
TEXT_GREEN2 = "text-green-2",
|
|
173
|
+
TEXT_GREEN3 = "text-green-3",
|
|
174
|
+
TEXT_GREEN4 = "text-green-4",
|
|
175
|
+
TEXT_GREEN5 = "text-green-5",
|
|
176
|
+
TEXT_GREEN6 = "text-green-6",
|
|
177
|
+
TEXT_YELLOW1 = "text-yellow-1",
|
|
178
|
+
TEXT_YELLOW2 = "text-yellow-2",
|
|
179
|
+
TEXT_PURPLE1 = "text-purple-1",
|
|
180
|
+
TEXT_PURPLE2 = "text-purple-2",
|
|
181
|
+
TEXT_PURPLE3 = "text-purple-3"
|
|
182
|
+
}
|
|
183
|
+
type SnackbarAlertType = 'error' | 'info' | 'warning' | 'success';
|
|
184
|
+
type SnackbarAlert = {
|
|
185
|
+
id: number;
|
|
186
|
+
type: SnackbarAlertType;
|
|
187
|
+
message: string;
|
|
188
|
+
icon?: AdsIconName;
|
|
189
|
+
remainingMs: number;
|
|
190
|
+
};
|
|
191
|
+
type AdsMainModalAction = {
|
|
192
|
+
id?: string;
|
|
193
|
+
text: string;
|
|
194
|
+
variant?: AdsButtonVariant;
|
|
195
|
+
color?: AdsButtonColor;
|
|
196
|
+
buttonType?: AdsButtonType;
|
|
197
|
+
disabled?: boolean;
|
|
198
|
+
callback?: () => void;
|
|
199
|
+
};
|
|
200
|
+
type AdsMainModalActionsAlign = 'start' | 'center' | 'end';
|
|
201
|
+
type AdsCheckboxAppearance = 'square' | 'toggle' | 'radio';
|
|
202
|
+
type AdsCheckboxLabelPosition = 'left' | 'right';
|
|
203
|
+
type AdsCheckboxLabelColor = 'green' | 'white';
|
|
204
|
+
type PaymentCardBrand = 'visa' | 'mastercard' | 'amex' | 'discover' | 'icon_card';
|
|
205
|
+
type PickerMode = 'annually' | 'monthly' | 'weekly' | 'quarterly' | 'daily';
|
|
206
|
+
type DatepickerSelectorButtonLabelMode = 'option' | 'selection';
|
|
207
|
+
type PickerOption = {
|
|
208
|
+
mode: PickerMode;
|
|
209
|
+
label: string;
|
|
210
|
+
};
|
|
211
|
+
type FeedbackPayload = {
|
|
212
|
+
subject: string;
|
|
213
|
+
category: string;
|
|
214
|
+
description: string;
|
|
215
|
+
};
|
|
216
|
+
type FeedbackResponseType = 'success' | 'error';
|
|
217
|
+
type AdsSingleSelectorValue = string | number | boolean | null;
|
|
218
|
+
type AdsSingleSelectorOption = {
|
|
219
|
+
label: string;
|
|
220
|
+
value: AdsSingleSelectorValue;
|
|
221
|
+
disabled?: boolean;
|
|
222
|
+
};
|
|
223
|
+
type AdsSingleSelectorOptionGroup = {
|
|
224
|
+
label: string;
|
|
225
|
+
children: AdsSingleSelectorOption[];
|
|
226
|
+
};
|
|
227
|
+
type AdsSingleSelectorOptionOrGroup = AdsSingleSelectorOption | AdsSingleSelectorOptionGroup;
|
|
228
|
+
type AdsSingleSelectorAsyncOptions = Promise<AdsSingleSelectorOptionOrGroup[]> | Observable<AdsSingleSelectorOptionOrGroup[]>;
|
|
229
|
+
type AdsMultipleSelectorValue = string | number;
|
|
230
|
+
type AdsMultipleSelectorOption = {
|
|
231
|
+
label: string;
|
|
232
|
+
value: AdsMultipleSelectorValue;
|
|
233
|
+
disabled?: boolean;
|
|
234
|
+
};
|
|
235
|
+
type AdsMultipleSelectorOptionGroup = {
|
|
236
|
+
label: string;
|
|
237
|
+
children: AdsMultipleSelectorOption[];
|
|
238
|
+
};
|
|
239
|
+
type AdsMultipleSelectorOptionOrGroup = AdsMultipleSelectorOption | AdsMultipleSelectorOptionGroup;
|
|
240
|
+
type AdsMultipleSelectorAsyncOptions = Promise<AdsMultipleSelectorOptionOrGroup[]> | Observable<AdsMultipleSelectorOptionOrGroup[]>;
|
|
241
|
+
type AdsSideNavFooterButton = {
|
|
242
|
+
icon: AdsIconName;
|
|
243
|
+
text: string;
|
|
244
|
+
callback: () => void;
|
|
245
|
+
disabled?: boolean;
|
|
246
|
+
};
|
|
247
|
+
type AdsSideNavRoute = string | string[] | readonly string[];
|
|
248
|
+
type AdsSideNavChildOption = {
|
|
249
|
+
name: string;
|
|
250
|
+
url: string;
|
|
251
|
+
};
|
|
252
|
+
type AdsSideNavOption = {
|
|
253
|
+
icon?: AdsIconName;
|
|
254
|
+
name: string;
|
|
255
|
+
url?: AdsSideNavRoute;
|
|
256
|
+
children?: AdsSideNavChildOption[];
|
|
257
|
+
};
|
|
258
|
+
type AdsFilterButtonValueType = 'text' | 'number' | 'date' | 'boolean' | 'status' | 'codes' | 'custom';
|
|
259
|
+
type AdsFilterButtonOption = AdsSingleSelectorOption & {
|
|
260
|
+
valueType?: AdsFilterButtonValueType;
|
|
261
|
+
customOptions?: AdsSingleSelectorOption[];
|
|
262
|
+
};
|
|
263
|
+
type AdsFilterButtonRow = {
|
|
264
|
+
column: AdsSingleSelectorValue | null;
|
|
265
|
+
value: string;
|
|
266
|
+
valueType: AdsFilterButtonValueType;
|
|
267
|
+
};
|
|
268
|
+
type AdsFilterButtonSortDirection = 'ASC' | 'DESC';
|
|
269
|
+
type AdsFilterButtonSortRow = {
|
|
270
|
+
column: AdsSingleSelectorValue | null;
|
|
271
|
+
direction: AdsFilterButtonSortDirection;
|
|
272
|
+
};
|
|
273
|
+
interface Tab {
|
|
274
|
+
id: string;
|
|
275
|
+
name: string;
|
|
276
|
+
description?: string;
|
|
277
|
+
}
|
|
278
|
+
type TableDragDropEvent = {
|
|
279
|
+
previousIndex: number;
|
|
280
|
+
currentIndex: number;
|
|
281
|
+
};
|
|
282
|
+
type TableActionButton<T = any> = {
|
|
283
|
+
icon: string;
|
|
284
|
+
tooltip: string | ((row: T) => string);
|
|
285
|
+
callback: (row: T) => void;
|
|
286
|
+
condition?: (row: T) => boolean;
|
|
287
|
+
disabled?: (row: T) => boolean;
|
|
288
|
+
type?: 'icon' | 'image';
|
|
289
|
+
imagePath?: string;
|
|
290
|
+
};
|
|
291
|
+
type TableSortDirection = 'ASC' | 'DESC';
|
|
292
|
+
type TableSortCriterion = {
|
|
293
|
+
field: string;
|
|
294
|
+
direction: TableSortDirection;
|
|
295
|
+
};
|
|
296
|
+
type TablePropertyType = 'text' | 'number' | 'currency' | 'date' | 'boolean' | 'status';
|
|
297
|
+
type TableStateStyle = {
|
|
298
|
+
text?: string;
|
|
299
|
+
borderColor: stateBorderColors;
|
|
300
|
+
bgColor: stateBackgroundColors;
|
|
301
|
+
textColor: stateTextColors;
|
|
302
|
+
shape?: containerShapes;
|
|
303
|
+
boldText?: boolean;
|
|
304
|
+
fullWidth?: boolean;
|
|
305
|
+
};
|
|
306
|
+
type TableStateStylesMap = Record<string, TableStateStyle>;
|
|
307
|
+
type StoryTableRowData = {
|
|
308
|
+
id: number;
|
|
309
|
+
patient: string;
|
|
310
|
+
encounter: string;
|
|
311
|
+
amount: string;
|
|
312
|
+
status: string;
|
|
313
|
+
active: boolean;
|
|
314
|
+
};
|
|
315
|
+
type StoryTableColumn = {
|
|
316
|
+
id: string;
|
|
317
|
+
header: string;
|
|
318
|
+
size: number;
|
|
319
|
+
meta: {
|
|
320
|
+
originalProperty: string;
|
|
321
|
+
isSortable: boolean;
|
|
322
|
+
propertyType: TablePropertyType;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
type StoryTableCellContext = {
|
|
326
|
+
getValue: () => unknown;
|
|
327
|
+
row: StoryTableRow;
|
|
328
|
+
column: StoryTableColumn;
|
|
329
|
+
};
|
|
330
|
+
type StoryTableCell = {
|
|
331
|
+
id: string;
|
|
332
|
+
column: {
|
|
333
|
+
columnDef: {
|
|
334
|
+
cell: (context: StoryTableCellContext) => string;
|
|
335
|
+
meta: StoryTableColumn['meta'];
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
getContext: () => StoryTableCellContext;
|
|
339
|
+
};
|
|
340
|
+
type StoryTableRow = {
|
|
341
|
+
original: StoryTableRowData;
|
|
342
|
+
getVisibleCells: () => StoryTableCell[];
|
|
343
|
+
};
|
|
344
|
+
type StoryTableHeader = {
|
|
345
|
+
id: string;
|
|
346
|
+
getSize: () => number;
|
|
347
|
+
column: {
|
|
348
|
+
columnDef: {
|
|
349
|
+
header: string;
|
|
350
|
+
meta: StoryTableColumn['meta'];
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
type StoryTable = {
|
|
355
|
+
getHeaderGroups: () => Array<{
|
|
356
|
+
headers: StoryTableHeader[];
|
|
357
|
+
}>;
|
|
358
|
+
getRowModel: () => {
|
|
359
|
+
rows: StoryTableRow[];
|
|
360
|
+
};
|
|
361
|
+
getState: () => {
|
|
362
|
+
columnSizing: Record<string, number>;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
declare class ButtonComponent {
|
|
367
|
+
variant: _angular_core.InputSignal<AdsButtonVariant>;
|
|
368
|
+
color: _angular_core.InputSignal<AdsButtonColor>;
|
|
369
|
+
buttonType: _angular_core.InputSignal<AdsButtonType>;
|
|
370
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
371
|
+
fullWidth: _angular_core.InputSignal<boolean>;
|
|
372
|
+
iconButton: _angular_core.InputSignal<string>;
|
|
373
|
+
onlyIconButton: _angular_core.InputSignal<boolean>;
|
|
374
|
+
iconColor: _angular_core.InputSignal<string>;
|
|
375
|
+
clicked: _angular_core.OutputEmitterRef<void>;
|
|
376
|
+
resolvedIconColor: _angular_core.Signal<string>;
|
|
377
|
+
hostClasses: _angular_core.Signal<string>;
|
|
378
|
+
handleClick(): void;
|
|
379
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
380
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "button[ads-button]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "buttonType": { "alias": "buttonType"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "iconButton": { "alias": "iconButton"; "required": false; "isSignal": true; }; "onlyIconButton": { "alias": "onlyIconButton"; "required": false; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
declare class IconComponent {
|
|
384
|
+
iconName: _angular_core.InputSignal<"search" | "add_square" | "administrator_solid" | "ambulance" | "arrow_right" | "blood_type" | "chart_bars" | "chart_grid" | "book" | "bookmark" | "branchs" | "building" | "calendar" | "calendar_check" | "chat" | "error" | "check" | "check_list" | "clipboard" | "controller_frame" | "copy" | "delete" | "delete_trash" | "device_add" | "document" | "document_upload" | "download_rounded" | "edit" | "edit_calendar" | "eye" | "folder" | "folder_management" | "group" | "hamburger" | "hide" | "history_rounded" | "home" | "home_solid" | "ia_agent" | "info" | "lightbulb" | "mail" | "medical_user" | "menu_list" | "microphone" | "minus" | "move_down" | "open" | "paper_edit" | "pause" | "people" | "phone" | "play" | "play_filled" | "plus" | "queue_play" | "receipt" | "replay" | "reset_settings" | "scanner" | "settings" | "sharp" | "sorting" | "stop" | "table" | "tune" | "upload_file" | "upload_rounded" | "user" | "user_key" | "users" | "vital_sign" | "warning" | "icon_card" | "mastercard" | "visa" | "amex" | "discover" | "toggle_active" | "toggle_inactive" | "dolar_sign">;
|
|
385
|
+
size: _angular_core.InputSignal<30 | 24 | 16>;
|
|
386
|
+
title: _angular_core.InputSignal<string>;
|
|
387
|
+
color: _angular_core.InputSignal<string>;
|
|
388
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
389
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconComponent, "ads-icon", never, { "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
declare class CheckboxComponent implements ControlValueAccessor {
|
|
393
|
+
appearance: _angular_core.InputSignal<AdsCheckboxAppearance>;
|
|
394
|
+
label: _angular_core.InputSignal<string>;
|
|
395
|
+
labelPosition: _angular_core.InputSignal<AdsCheckboxLabelPosition>;
|
|
396
|
+
labelColor: _angular_core.InputSignal<AdsCheckboxLabelColor>;
|
|
397
|
+
checked: _angular_core.InputSignal<boolean>;
|
|
398
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
399
|
+
checkedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
400
|
+
private cvaMode;
|
|
401
|
+
private cvaDisabled;
|
|
402
|
+
currentChecked: _angular_core.WritableSignal<boolean>;
|
|
403
|
+
private onChange;
|
|
404
|
+
private onTouched;
|
|
405
|
+
constructor();
|
|
406
|
+
isDisabled(): boolean;
|
|
407
|
+
wrapperClasses(): string;
|
|
408
|
+
labelClasses(): string;
|
|
409
|
+
controlClasses(): string;
|
|
410
|
+
toggleThumbClasses(): string;
|
|
411
|
+
radioDotClasses(): string;
|
|
412
|
+
controlRole(): 'checkbox' | 'switch' | 'radio';
|
|
413
|
+
onControlClick(): void;
|
|
414
|
+
writeValue(value: unknown): void;
|
|
415
|
+
registerOnChange(fn: (value: boolean) => void): void;
|
|
416
|
+
registerOnTouched(fn: () => void): void;
|
|
417
|
+
setDisabledState(isDisabled: boolean): void;
|
|
418
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
419
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxComponent, "ads-checkbox", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "labelColor": { "alias": "labelColor"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "checkedChange": "checkedChange"; }, never, never, true, never>;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
declare class InputComponent implements ControlValueAccessor {
|
|
423
|
+
label: _angular_core.InputSignal<string>;
|
|
424
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
425
|
+
inputType: _angular_core.InputSignal<AdsInputType>;
|
|
426
|
+
textAreaRows: _angular_core.InputSignal<number>;
|
|
427
|
+
value: _angular_core.InputSignal<string>;
|
|
428
|
+
hasError: _angular_core.InputSignal<boolean>;
|
|
429
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
430
|
+
errorMessage: _angular_core.InputSignal<string>;
|
|
431
|
+
showPassword: _angular_core.WritableSignal<boolean>;
|
|
432
|
+
passwordIconNames: {
|
|
433
|
+
show: AdsIconName;
|
|
434
|
+
hide: AdsIconName;
|
|
435
|
+
};
|
|
436
|
+
moneyIconName: AdsIconName;
|
|
437
|
+
basicClass: string;
|
|
438
|
+
valueChange: _angular_core.OutputEmitterRef<string>;
|
|
439
|
+
private cvaMode;
|
|
440
|
+
private cvaDisabled;
|
|
441
|
+
currentValue: _angular_core.WritableSignal<string>;
|
|
442
|
+
textAreaRef?: ElementRef<HTMLTextAreaElement>;
|
|
443
|
+
private onChange;
|
|
444
|
+
private onTouched;
|
|
445
|
+
constructor();
|
|
446
|
+
isDisabled(): boolean;
|
|
447
|
+
activeInputClass(): string;
|
|
448
|
+
errorActiveClass(): string;
|
|
449
|
+
inputStateClass(): string;
|
|
450
|
+
rateClass(): string;
|
|
451
|
+
cardInputClass(): string;
|
|
452
|
+
resolvedPlaceholder(): string;
|
|
453
|
+
maskPattern(): string | null;
|
|
454
|
+
onInputValue(value: string): void;
|
|
455
|
+
onInputBlur(): void;
|
|
456
|
+
onTextAreaInput(value: string, textArea: HTMLTextAreaElement): void;
|
|
457
|
+
writeValue(value: unknown): void;
|
|
458
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
459
|
+
registerOnTouched(fn: () => void): void;
|
|
460
|
+
setDisabledState(isDisabled: boolean): void;
|
|
461
|
+
toggleShowPassword(): void;
|
|
462
|
+
private scheduleTextAreaResize;
|
|
463
|
+
private resizeTextArea;
|
|
464
|
+
private sanitizeCardNumber;
|
|
465
|
+
private sanitizeNumericPreserveDot;
|
|
466
|
+
private sanitizeOutput;
|
|
467
|
+
detectPaymentCardBrand(value?: string): PaymentCardBrand;
|
|
468
|
+
paymentCardIconName(): AdsIconName;
|
|
469
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
470
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputComponent, "ads-input", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "inputType": { "alias": "inputType"; "required": false; "isSignal": true; }; "textAreaRows": { "alias": "textAreaRows"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
declare class StateComponent {
|
|
474
|
+
SHAPES: typeof containerShapes;
|
|
475
|
+
boldText: _angular_core.InputSignal<boolean>;
|
|
476
|
+
fullWidth: _angular_core.InputSignal<boolean>;
|
|
477
|
+
shape: _angular_core.InputSignal<containerShapes>;
|
|
478
|
+
text: _angular_core.InputSignal<string>;
|
|
479
|
+
borderColor: _angular_core.InputSignal<stateBorderColors>;
|
|
480
|
+
bgColor: _angular_core.InputSignal<stateBackgroundColors>;
|
|
481
|
+
textColor: _angular_core.InputSignal<stateTextColors>;
|
|
482
|
+
containerShapes: _angular_core.InputSignal<containerShapes>;
|
|
483
|
+
baseClases: string;
|
|
484
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StateComponent, never>;
|
|
485
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StateComponent, "ads-state", never, { "boldText": { "alias": "boldText"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "borderColor": { "alias": "borderColor"; "required": false; "isSignal": true; }; "bgColor": { "alias": "bgColor"; "required": false; "isSignal": true; }; "textColor": { "alias": "textColor"; "required": false; "isSignal": true; }; "containerShapes": { "alias": "containerShapes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
declare class SnackbarComponent implements OnDestroy {
|
|
489
|
+
private static readonly AUTO_CLOSE_MS;
|
|
490
|
+
alerts: _angular_core.WritableSignal<SnackbarAlert[]>;
|
|
491
|
+
private nextId;
|
|
492
|
+
private paused;
|
|
493
|
+
private tickStartedAt;
|
|
494
|
+
private intervalId;
|
|
495
|
+
addAlert(type: SnackbarAlertType, message: string, remainingMs?: number): void;
|
|
496
|
+
private iconForType;
|
|
497
|
+
closeAlert(id: number): void;
|
|
498
|
+
onHoverStart(): void;
|
|
499
|
+
onHoverEnd(): void;
|
|
500
|
+
alertClasses(type: SnackbarAlertType): string;
|
|
501
|
+
visualAlerts(): SnackbarAlert[];
|
|
502
|
+
ngOnDestroy(): void;
|
|
503
|
+
private ensureTicker;
|
|
504
|
+
private tick;
|
|
505
|
+
private stopTickerIfEmpty;
|
|
506
|
+
private clearTicker;
|
|
507
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SnackbarComponent, never>;
|
|
508
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SnackbarComponent, "ads-snackbar", never, {}, {}, never, never, true, never>;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
declare class InputDatepickerComponent implements ControlValueAccessor {
|
|
512
|
+
private elementRef;
|
|
513
|
+
isPickerDisabled: _angular_core.InputSignal<boolean>;
|
|
514
|
+
datePickerPlaceholder: _angular_core.InputSignal<string>;
|
|
515
|
+
hasError: _angular_core.InputSignal<boolean>;
|
|
516
|
+
errorMessage: _angular_core.InputSignal<string>;
|
|
517
|
+
isDatePickerOpen: boolean;
|
|
518
|
+
selectedDate: _angular_core.WritableSignal<string>;
|
|
519
|
+
selectedDateObj: _angular_core.WritableSignal<Date>;
|
|
520
|
+
invalidInput: _angular_core.WritableSignal<boolean>;
|
|
521
|
+
futureDatesAllowed: _angular_core.InputSignal<boolean>;
|
|
522
|
+
label: _angular_core.InputSignal<string>;
|
|
523
|
+
monthlyPicker: _angular_core.InputSignal<boolean>;
|
|
524
|
+
datePickerRef: any;
|
|
525
|
+
private cvaDisabled;
|
|
526
|
+
private onChange;
|
|
527
|
+
private onTouched;
|
|
528
|
+
basicClass: string;
|
|
529
|
+
isDisabled(): boolean;
|
|
530
|
+
activeInputClass(): string;
|
|
531
|
+
errorActiveClass(): string;
|
|
532
|
+
inputStateClass(): string;
|
|
533
|
+
onInputValue(value: any): void;
|
|
534
|
+
onInputTextChange(text: string): void;
|
|
535
|
+
private normalizeToUsDateFormat;
|
|
536
|
+
private parseDate;
|
|
537
|
+
private toDate;
|
|
538
|
+
private isIsoDateString;
|
|
539
|
+
private formatDate;
|
|
540
|
+
openDatePicker(): void;
|
|
541
|
+
onOpenChange(isOpen: boolean): void;
|
|
542
|
+
onInputBlur(): void;
|
|
543
|
+
writeValue(value: unknown): void;
|
|
544
|
+
hasVisualError(): boolean;
|
|
545
|
+
resolvedErrorMessage(): string;
|
|
546
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
547
|
+
registerOnTouched(fn: () => void): void;
|
|
548
|
+
setDisabledState(isDisabled: boolean): void;
|
|
549
|
+
onDocumentClick(event: MouseEvent): void;
|
|
550
|
+
disabledDate: (current: Date) => boolean;
|
|
551
|
+
private isFutureDate;
|
|
552
|
+
constructor(elementRef: ElementRef);
|
|
553
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputDatepickerComponent, never>;
|
|
554
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputDatepickerComponent, "ads-input-datepicker", never, { "isPickerDisabled": { "alias": "isPickerDisabled"; "required": false; "isSignal": true; }; "datePickerPlaceholder": { "alias": "datePickerPlaceholder"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "futureDatesAllowed": { "alias": "futureDatesAllowed"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "monthlyPicker": { "alias": "monthlyPicker"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
declare class InputRangepickerComponent implements ControlValueAccessor {
|
|
558
|
+
private elementRef;
|
|
559
|
+
isPickerDisabled: _angular_core.InputSignal<boolean>;
|
|
560
|
+
rangePickerPlaceholder: _angular_core.InputSignal<string>;
|
|
561
|
+
hasError: _angular_core.InputSignal<boolean>;
|
|
562
|
+
errorMessage: _angular_core.InputSignal<string>;
|
|
563
|
+
label: _angular_core.InputSignal<string>;
|
|
564
|
+
allowFutureDates: _angular_core.InputSignal<boolean>;
|
|
565
|
+
isDatePickerOpen: boolean;
|
|
566
|
+
selectedRange: _angular_core.WritableSignal<string>;
|
|
567
|
+
selectedRangeObj: _angular_core.WritableSignal<[Date, Date]>;
|
|
568
|
+
invalidInput: _angular_core.WritableSignal<boolean>;
|
|
569
|
+
private cvaDisabled;
|
|
570
|
+
private onChange;
|
|
571
|
+
private onTouched;
|
|
572
|
+
basicClass: string;
|
|
573
|
+
constructor(elementRef: ElementRef);
|
|
574
|
+
isDisabled(): boolean;
|
|
575
|
+
activeInputClass(): string;
|
|
576
|
+
errorActiveClass(): string;
|
|
577
|
+
inputStateClass(): string;
|
|
578
|
+
openDatePicker(): void;
|
|
579
|
+
onOpenChange(isOpen: boolean): void;
|
|
580
|
+
onInputBlur(): void;
|
|
581
|
+
onRangeValue(value: unknown): void;
|
|
582
|
+
onInputTextChange(text: string): void;
|
|
583
|
+
writeValue(value: unknown): void;
|
|
584
|
+
hasVisualError(): boolean;
|
|
585
|
+
resolvedErrorMessage(): string;
|
|
586
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
587
|
+
registerOnTouched(fn: () => void): void;
|
|
588
|
+
setDisabledState(isDisabled: boolean): void;
|
|
589
|
+
onDocumentClick(event: MouseEvent): void;
|
|
590
|
+
disabledDate: (current: Date) => boolean;
|
|
591
|
+
private normalizeToUsRangeFormat;
|
|
592
|
+
private parseRange;
|
|
593
|
+
private toDateRange;
|
|
594
|
+
private parseDate;
|
|
595
|
+
private toDate;
|
|
596
|
+
private formatDate;
|
|
597
|
+
private isFutureDate;
|
|
598
|
+
private hasFutureDateInRange;
|
|
599
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputRangepickerComponent, never>;
|
|
600
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputRangepickerComponent, "ads-input-rangepicker", never, { "isPickerDisabled": { "alias": "isPickerDisabled"; "required": false; "isSignal": true; }; "rangePickerPlaceholder": { "alias": "rangePickerPlaceholder"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "allowFutureDates": { "alias": "allowFutureDates"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
declare class InputWeekpickerComponent implements ControlValueAccessor {
|
|
604
|
+
private elementRef;
|
|
605
|
+
isPickerDisabled: _angular_core.InputSignal<boolean>;
|
|
606
|
+
weekPickerPlaceholder: _angular_core.InputSignal<string>;
|
|
607
|
+
hasError: _angular_core.InputSignal<boolean>;
|
|
608
|
+
errorMessage: _angular_core.InputSignal<string>;
|
|
609
|
+
isDatePickerOpen: boolean;
|
|
610
|
+
selectedWeek: _angular_core.WritableSignal<string>;
|
|
611
|
+
selectedWeekRange: _angular_core.WritableSignal<[Date, Date]>;
|
|
612
|
+
invalidInput: _angular_core.WritableSignal<boolean>;
|
|
613
|
+
futureDatesAllowed: _angular_core.InputSignal<boolean>;
|
|
614
|
+
label: _angular_core.InputSignal<string>;
|
|
615
|
+
datePickerRef: any;
|
|
616
|
+
private cvaDisabled;
|
|
617
|
+
private onChange;
|
|
618
|
+
private onTouched;
|
|
619
|
+
basicClass: string;
|
|
620
|
+
isDisabled(): boolean;
|
|
621
|
+
activeInputClass(): string;
|
|
622
|
+
errorActiveClass(): string;
|
|
623
|
+
inputStateClass(): string;
|
|
624
|
+
onInputValue(value: any): void;
|
|
625
|
+
onInputTextChange(text: string): void;
|
|
626
|
+
private normalizeToUsRangeFormat;
|
|
627
|
+
private parseRange;
|
|
628
|
+
private toDateRange;
|
|
629
|
+
private parseDate;
|
|
630
|
+
private formatDate;
|
|
631
|
+
private toDate;
|
|
632
|
+
private isIsoDateString;
|
|
633
|
+
private getISOWeek;
|
|
634
|
+
private getISOYear;
|
|
635
|
+
private getDateFromISOWeek;
|
|
636
|
+
openDatePicker(): void;
|
|
637
|
+
onOpenChange(isOpen: boolean): void;
|
|
638
|
+
onInputBlur(): void;
|
|
639
|
+
onInputKeyDown(event: KeyboardEvent): void;
|
|
640
|
+
private clearSelection;
|
|
641
|
+
writeValue(value: unknown): void;
|
|
642
|
+
hasVisualError(): boolean;
|
|
643
|
+
resolvedErrorMessage(): string;
|
|
644
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
645
|
+
registerOnTouched(fn: () => void): void;
|
|
646
|
+
setDisabledState(isDisabled: boolean): void;
|
|
647
|
+
onDocumentClick(event: MouseEvent): void;
|
|
648
|
+
disabledDate: (current: Date) => boolean;
|
|
649
|
+
private isFutureDate;
|
|
650
|
+
private hasFutureDateInRange;
|
|
651
|
+
constructor(elementRef: ElementRef);
|
|
652
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputWeekpickerComponent, never>;
|
|
653
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputWeekpickerComponent, "ads-input-weekpicker", never, { "isPickerDisabled": { "alias": "isPickerDisabled"; "required": false; "isSignal": true; }; "weekPickerPlaceholder": { "alias": "weekPickerPlaceholder"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "futureDatesAllowed": { "alias": "futureDatesAllowed"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
declare class DatepickerSelectorComponent implements ControlValueAccessor {
|
|
657
|
+
private elementRef;
|
|
658
|
+
isPickerDisabled: _angular_core.InputSignal<boolean>;
|
|
659
|
+
buttonVariant: _angular_core.InputSignal<AdsButtonVariant>;
|
|
660
|
+
buttonColor: _angular_core.InputSignal<AdsButtonColor>;
|
|
661
|
+
buttonOnlyIconButton: _angular_core.InputSignal<boolean>;
|
|
662
|
+
buttonIcon: _angular_core.InputSignal<"search" | "add_square" | "administrator_solid" | "ambulance" | "arrow_right" | "blood_type" | "chart_bars" | "chart_grid" | "book" | "bookmark" | "branchs" | "building" | "calendar" | "calendar_check" | "chat" | "error" | "check" | "check_list" | "clipboard" | "controller_frame" | "copy" | "delete" | "delete_trash" | "device_add" | "document" | "document_upload" | "download_rounded" | "edit" | "edit_calendar" | "eye" | "folder" | "folder_management" | "group" | "hamburger" | "hide" | "history_rounded" | "home" | "home_solid" | "ia_agent" | "info" | "lightbulb" | "mail" | "medical_user" | "menu_list" | "microphone" | "minus" | "move_down" | "open" | "paper_edit" | "pause" | "people" | "phone" | "play" | "play_filled" | "plus" | "queue_play" | "receipt" | "replay" | "reset_settings" | "scanner" | "settings" | "sharp" | "sorting" | "stop" | "table" | "tune" | "upload_file" | "upload_rounded" | "user" | "user_key" | "users" | "vital_sign" | "warning" | "icon_card" | "mastercard" | "visa" | "amex" | "discover" | "toggle_active" | "toggle_inactive" | "dolar_sign">;
|
|
663
|
+
buttonLabelMode: _angular_core.InputSignal<DatepickerSelectorButtonLabelMode>;
|
|
664
|
+
selectorTriggerRef?: ElementRef<HTMLButtonElement>;
|
|
665
|
+
readonly dateOptions: {
|
|
666
|
+
readonly annually: "annually";
|
|
667
|
+
readonly monthly: "monthly";
|
|
668
|
+
readonly weekly: "weekly";
|
|
669
|
+
readonly quarterly: "quarterly";
|
|
670
|
+
readonly daily: "daily";
|
|
671
|
+
};
|
|
672
|
+
readonly pickerOptions: PickerOption[];
|
|
673
|
+
readonly selectedTimeFrame: _angular_core.WritableSignal<PickerMode>;
|
|
674
|
+
readonly hoveredTimeFrame: _angular_core.WritableSignal<PickerMode>;
|
|
675
|
+
readonly isSelectorOpen: _angular_core.WritableSignal<boolean>;
|
|
676
|
+
readonly openToLeft: _angular_core.WritableSignal<boolean>;
|
|
677
|
+
readonly selectedDate: _angular_core.WritableSignal<Date>;
|
|
678
|
+
readonly currentTimeFrameLabel: _angular_core.Signal<string>;
|
|
679
|
+
readonly buttonLabel: _angular_core.Signal<string>;
|
|
680
|
+
readonly activePreviewTimeFrame: _angular_core.Signal<PickerMode>;
|
|
681
|
+
date: Date | null;
|
|
682
|
+
private cvaDisabled;
|
|
683
|
+
private hasReceivedInitialWrite;
|
|
684
|
+
private onChange;
|
|
685
|
+
private onTouched;
|
|
686
|
+
constructor(elementRef: ElementRef<HTMLElement>);
|
|
687
|
+
isDisabled(): boolean;
|
|
688
|
+
toggleSelector(): void;
|
|
689
|
+
previewTimeFrame(mode: PickerMode): void;
|
|
690
|
+
clearPreview(): void;
|
|
691
|
+
onDateChange(mode: PickerMode, value: Date | null): void;
|
|
692
|
+
private formatSelectionLabel;
|
|
693
|
+
private formatNumericDate;
|
|
694
|
+
private normalizeDateByMode;
|
|
695
|
+
private getStartOfWeek;
|
|
696
|
+
private toDate;
|
|
697
|
+
private getToday;
|
|
698
|
+
disableFutureDates: (current: Date) => boolean;
|
|
699
|
+
closeSelector(): void;
|
|
700
|
+
onWindowResize(): void;
|
|
701
|
+
private updatePopoverDirection;
|
|
702
|
+
writeValue(value: Date | string | null): void;
|
|
703
|
+
registerOnChange(fn: (value: Date | null) => void): void;
|
|
704
|
+
registerOnTouched(fn: () => void): void;
|
|
705
|
+
setDisabledState(isDisabled: boolean): void;
|
|
706
|
+
onDocumentClick(event: MouseEvent): void;
|
|
707
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DatepickerSelectorComponent, never>;
|
|
708
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatepickerSelectorComponent, "ads-datepicker-selector", never, { "isPickerDisabled": { "alias": "isPickerDisabled"; "required": false; "isSignal": true; }; "buttonVariant": { "alias": "buttonVariant"; "required": false; "isSignal": true; }; "buttonColor": { "alias": "buttonColor"; "required": false; "isSignal": true; }; "buttonOnlyIconButton": { "alias": "buttonOnlyIconButton"; "required": false; "isSignal": true; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; "isSignal": true; }; "buttonLabelMode": { "alias": "buttonLabelMode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
declare class FilterButtonComponent {
|
|
712
|
+
private readonly el;
|
|
713
|
+
private readonly fb;
|
|
714
|
+
private readonly codesValueOptions;
|
|
715
|
+
private readonly booleanValueOptions;
|
|
716
|
+
private readonly statusValueOptions;
|
|
717
|
+
buttonLabel: _angular_core.InputSignal<string>;
|
|
718
|
+
buttonIcon: _angular_core.InputSignal<"search" | "add_square" | "administrator_solid" | "ambulance" | "arrow_right" | "blood_type" | "chart_bars" | "chart_grid" | "book" | "bookmark" | "branchs" | "building" | "calendar" | "calendar_check" | "chat" | "error" | "check" | "check_list" | "clipboard" | "controller_frame" | "copy" | "delete" | "delete_trash" | "device_add" | "document" | "document_upload" | "download_rounded" | "edit" | "edit_calendar" | "eye" | "folder" | "folder_management" | "group" | "hamburger" | "hide" | "history_rounded" | "home" | "home_solid" | "ia_agent" | "info" | "lightbulb" | "mail" | "medical_user" | "menu_list" | "microphone" | "minus" | "move_down" | "open" | "paper_edit" | "pause" | "people" | "phone" | "play" | "play_filled" | "plus" | "queue_play" | "receipt" | "replay" | "reset_settings" | "scanner" | "settings" | "sharp" | "sorting" | "stop" | "table" | "tune" | "upload_file" | "upload_rounded" | "user" | "user_key" | "users" | "vital_sign" | "warning" | "icon_card" | "mastercard" | "visa" | "amex" | "discover" | "toggle_active" | "toggle_inactive" | "dolar_sign">;
|
|
719
|
+
showButtonIcon: _angular_core.InputSignal<boolean>;
|
|
720
|
+
buttonVariant: _angular_core.InputSignal<AdsButtonVariant>;
|
|
721
|
+
buttonColor: _angular_core.InputSignal<AdsButtonColor>;
|
|
722
|
+
buttonOpenVariant: _angular_core.InputSignal<AdsButtonVariant>;
|
|
723
|
+
buttonOpenColor: _angular_core.InputSignal<AdsButtonColor>;
|
|
724
|
+
buttonDisabled: _angular_core.InputSignal<boolean>;
|
|
725
|
+
panelTitle: _angular_core.InputSignal<string>;
|
|
726
|
+
addFilterLabel: _angular_core.InputSignal<string>;
|
|
727
|
+
resetLabel: _angular_core.InputSignal<string>;
|
|
728
|
+
applyLabel: _angular_core.InputSignal<string>;
|
|
729
|
+
columnOptions: _angular_core.InputSignal<AdsFilterButtonOption[]>;
|
|
730
|
+
columnPlaceholder: _angular_core.InputSignal<string>;
|
|
731
|
+
valuePlaceholder: _angular_core.InputSignal<string>;
|
|
732
|
+
noFiltersText: _angular_core.InputSignal<string>;
|
|
733
|
+
sortableColumnOptions: _angular_core.InputSignal<AdsFilterButtonOption[]>;
|
|
734
|
+
noSortText: _angular_core.InputSignal<string>;
|
|
735
|
+
addFilter: _angular_core.OutputEmitterRef<void>;
|
|
736
|
+
resetFilters: _angular_core.OutputEmitterRef<void>;
|
|
737
|
+
applyFilters: _angular_core.OutputEmitterRef<AdsFilterButtonRow[]>;
|
|
738
|
+
addSort: _angular_core.OutputEmitterRef<void>;
|
|
739
|
+
resetSorts: _angular_core.OutputEmitterRef<void>;
|
|
740
|
+
applySorts: _angular_core.OutputEmitterRef<AdsFilterButtonSortRow[]>;
|
|
741
|
+
openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
742
|
+
isOpen: _angular_core.WritableSignal<boolean>;
|
|
743
|
+
filterForm: FormGroup;
|
|
744
|
+
private readonly sortDirectionOptions;
|
|
745
|
+
constructor(el: ElementRef<HTMLElement>, fb: FormBuilder);
|
|
746
|
+
get filtersArray(): FormArray;
|
|
747
|
+
get sortsArray(): FormArray;
|
|
748
|
+
rowValueType(index: number): AdsFilterButtonValueType;
|
|
749
|
+
valueOptionsForRow(index: number): AdsSingleSelectorOption[];
|
|
750
|
+
hasFilters(): boolean;
|
|
751
|
+
hasSorts(): boolean;
|
|
752
|
+
canApplyFilters(): boolean;
|
|
753
|
+
canAddFilter(): boolean;
|
|
754
|
+
canAddSort(): boolean;
|
|
755
|
+
columnOptionsForRow(index: number): AdsFilterButtonOption[];
|
|
756
|
+
togglePanel(): void;
|
|
757
|
+
resolvedButtonVariant(): AdsButtonVariant;
|
|
758
|
+
resolvedButtonColor(): AdsButtonColor;
|
|
759
|
+
resolvedIconGapValue(): string;
|
|
760
|
+
closePanel(): void;
|
|
761
|
+
onAddFilterClick(): void;
|
|
762
|
+
onAddSortClick(): void;
|
|
763
|
+
onRemoveFilterClick(index: number): void;
|
|
764
|
+
onRemoveSortClick(index: number): void;
|
|
765
|
+
onColumnChange(index: number, columnValue: AdsSingleSelectorValue | null): void;
|
|
766
|
+
onResetClick(): void;
|
|
767
|
+
onApplyClick(): void;
|
|
768
|
+
private createFilterRow;
|
|
769
|
+
private createSortRow;
|
|
770
|
+
private rowColumnValue;
|
|
771
|
+
private selectedColumnValues;
|
|
772
|
+
private selectedSortColumnValues;
|
|
773
|
+
private findColumnOption;
|
|
774
|
+
private getColumnCustomOptions;
|
|
775
|
+
sortColumnOptionsForRow(index: number): AdsFilterButtonOption[];
|
|
776
|
+
sortValueOptions(): AdsSingleSelectorOption[];
|
|
777
|
+
private rowSortColumnValue;
|
|
778
|
+
private findSortColumnOption;
|
|
779
|
+
private isValidDateValue;
|
|
780
|
+
hasDateError(index: number): boolean;
|
|
781
|
+
onDocumentClick(event: Event): void;
|
|
782
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterButtonComponent, never>;
|
|
783
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterButtonComponent, "ads-filter-button", never, { "buttonLabel": { "alias": "buttonLabel"; "required": false; "isSignal": true; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; "isSignal": true; }; "showButtonIcon": { "alias": "showButtonIcon"; "required": false; "isSignal": true; }; "buttonVariant": { "alias": "buttonVariant"; "required": false; "isSignal": true; }; "buttonColor": { "alias": "buttonColor"; "required": false; "isSignal": true; }; "buttonOpenVariant": { "alias": "buttonOpenVariant"; "required": false; "isSignal": true; }; "buttonOpenColor": { "alias": "buttonOpenColor"; "required": false; "isSignal": true; }; "buttonDisabled": { "alias": "buttonDisabled"; "required": false; "isSignal": true; }; "panelTitle": { "alias": "panelTitle"; "required": false; "isSignal": true; }; "addFilterLabel": { "alias": "addFilterLabel"; "required": false; "isSignal": true; }; "resetLabel": { "alias": "resetLabel"; "required": false; "isSignal": true; }; "applyLabel": { "alias": "applyLabel"; "required": false; "isSignal": true; }; "columnOptions": { "alias": "columnOptions"; "required": false; "isSignal": true; }; "columnPlaceholder": { "alias": "columnPlaceholder"; "required": false; "isSignal": true; }; "valuePlaceholder": { "alias": "valuePlaceholder"; "required": false; "isSignal": true; }; "noFiltersText": { "alias": "noFiltersText"; "required": false; "isSignal": true; }; "sortableColumnOptions": { "alias": "sortableColumnOptions"; "required": false; "isSignal": true; }; "noSortText": { "alias": "noSortText"; "required": false; "isSignal": true; }; }, { "addFilter": "addFilter"; "resetFilters": "resetFilters"; "applyFilters": "applyFilters"; "addSort": "addSort"; "resetSorts": "resetSorts"; "applySorts": "applySorts"; "openChange": "openChange"; }, never, ["[filter-button-extra]"], true, never>;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
declare class TabsComponent {
|
|
787
|
+
tabs: _angular_core.InputSignal<Tab[]>;
|
|
788
|
+
selectedTabId: _angular_core.InputSignal<string>;
|
|
789
|
+
tabChanged: _angular_core.OutputEmitterRef<string>;
|
|
790
|
+
selectTab(tabId: string): void;
|
|
791
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
792
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsComponent, "ads-tabs", never, { "tabs": { "alias": "tabs"; "required": true; "isSignal": true; }; "selectedTabId": { "alias": "selectedTabId"; "required": false; "isSignal": true; }; }, { "tabChanged": "tabChanged"; }, never, never, true, never>;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
declare class SideNavComponent {
|
|
796
|
+
isCollapsed: _angular_core.InputSignal<boolean>;
|
|
797
|
+
options: _angular_core.InputSignal<AdsSideNavOption[]>;
|
|
798
|
+
activePath: _angular_core.InputSignal<string>;
|
|
799
|
+
logoSrc: _angular_core.InputSignal<string>;
|
|
800
|
+
footerLogoSrc: _angular_core.InputSignal<string>;
|
|
801
|
+
collapsedLogoSrc: _angular_core.InputSignal<string>;
|
|
802
|
+
footerButton: _angular_core.InputSignal<AdsSideNavFooterButton>;
|
|
803
|
+
footerButtons: _angular_core.InputSignal<AdsSideNavFooterButton[]>;
|
|
804
|
+
logoAlt: _angular_core.InputSignal<string>;
|
|
805
|
+
optionSelected: _angular_core.OutputEmitterRef<AdsSideNavRoute>;
|
|
806
|
+
childSelected: _angular_core.OutputEmitterRef<string>;
|
|
807
|
+
activePathChange: _angular_core.OutputEmitterRef<string>;
|
|
808
|
+
expandedMenus: _angular_core.WritableSignal<Record<string, boolean>>;
|
|
809
|
+
private internalActivePath;
|
|
810
|
+
readonly currentLogoSrc: _angular_core.Signal<string>;
|
|
811
|
+
onOptionClick(option: AdsSideNavOption): void;
|
|
812
|
+
onChildClick(childUrl: string): void;
|
|
813
|
+
toggleMenu(menuName: string): void;
|
|
814
|
+
isOptionActive(option: AdsSideNavOption): boolean;
|
|
815
|
+
isPathActive(path: string): boolean;
|
|
816
|
+
optionButtonClasses(option: AdsSideNavOption): string;
|
|
817
|
+
childButtonClasses(path: string, collapsed: boolean): string;
|
|
818
|
+
private isRouteActive;
|
|
819
|
+
private normalizeRoute;
|
|
820
|
+
private currentActivePath;
|
|
821
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SideNavComponent, never>;
|
|
822
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SideNavComponent, "ads-side-nav", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "activePath": { "alias": "activePath"; "required": false; "isSignal": true; }; "logoSrc": { "alias": "logoSrc"; "required": false; "isSignal": true; }; "footerLogoSrc": { "alias": "footerLogoSrc"; "required": false; "isSignal": true; }; "collapsedLogoSrc": { "alias": "collapsedLogoSrc"; "required": false; "isSignal": true; }; "footerButton": { "alias": "footerButton"; "required": false; "isSignal": true; }; "footerButtons": { "alias": "footerButtons"; "required": false; "isSignal": true; }; "logoAlt": { "alias": "logoAlt"; "required": false; "isSignal": true; }; }, { "optionSelected": "optionSelected"; "childSelected": "childSelected"; "activePathChange": "activePathChange"; }, never, never, true, never>;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
declare class SingleSelectorComponent implements ControlValueAccessor {
|
|
826
|
+
label: _angular_core.InputSignal<string>;
|
|
827
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
828
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
829
|
+
allowClear: _angular_core.InputSignal<boolean>;
|
|
830
|
+
loading: _angular_core.InputSignal<boolean>;
|
|
831
|
+
options: _angular_core.InputSignal<AdsSingleSelectorOptionOrGroup[]>;
|
|
832
|
+
asyncOptions: _angular_core.InputSignal<AdsSingleSelectorAsyncOptions>;
|
|
833
|
+
value: _angular_core.InputSignal<AdsSingleSelectorValue>;
|
|
834
|
+
errorMessage: _angular_core.InputSignal<string>;
|
|
835
|
+
labelIconName: _angular_core.InputSignal<"search" | "add_square" | "administrator_solid" | "ambulance" | "arrow_right" | "blood_type" | "chart_bars" | "chart_grid" | "book" | "bookmark" | "branchs" | "building" | "calendar" | "calendar_check" | "chat" | "error" | "check" | "check_list" | "clipboard" | "controller_frame" | "copy" | "delete" | "delete_trash" | "device_add" | "document" | "document_upload" | "download_rounded" | "edit" | "edit_calendar" | "eye" | "folder" | "folder_management" | "group" | "hamburger" | "hide" | "history_rounded" | "home" | "home_solid" | "ia_agent" | "info" | "lightbulb" | "mail" | "medical_user" | "menu_list" | "microphone" | "minus" | "move_down" | "open" | "paper_edit" | "pause" | "people" | "phone" | "play" | "play_filled" | "plus" | "queue_play" | "receipt" | "replay" | "reset_settings" | "scanner" | "settings" | "sharp" | "sorting" | "stop" | "table" | "tune" | "upload_file" | "upload_rounded" | "user" | "user_key" | "users" | "vital_sign" | "warning" | "icon_card" | "mastercard" | "visa" | "amex" | "discover" | "toggle_active" | "toggle_inactive" | "dolar_sign">;
|
|
836
|
+
onLabelButtonClick: _angular_core.OutputEmitterRef<void>;
|
|
837
|
+
valueChange: _angular_core.OutputEmitterRef<AdsSingleSelectorValue>;
|
|
838
|
+
private cvaMode;
|
|
839
|
+
private cvaDisabled;
|
|
840
|
+
private asyncLoading;
|
|
841
|
+
private optionsSubscription;
|
|
842
|
+
private asyncRequestId;
|
|
843
|
+
currentValue: _angular_core.WritableSignal<AdsSingleSelectorValue>;
|
|
844
|
+
resolvedOptions: _angular_core.WritableSignal<AdsSingleSelectorOptionOrGroup[]>;
|
|
845
|
+
private onChange;
|
|
846
|
+
private onTouched;
|
|
847
|
+
readonly filterOption: NzFilterOptionType;
|
|
848
|
+
constructor();
|
|
849
|
+
ngOnDestroy(): void;
|
|
850
|
+
isDisabled(): boolean;
|
|
851
|
+
onSelectionChange(value: AdsSingleSelectorValue | null): void;
|
|
852
|
+
onBlur(): void;
|
|
853
|
+
isLoading(): boolean;
|
|
854
|
+
writeValue(value: any): void;
|
|
855
|
+
registerOnChange(fn: (value: AdsSingleSelectorValue | null) => void): void;
|
|
856
|
+
registerOnTouched(fn: () => void): void;
|
|
857
|
+
setDisabledState(isDisabled: boolean): void;
|
|
858
|
+
private loadAsyncOptions;
|
|
859
|
+
private applyAsyncOptionsResult;
|
|
860
|
+
private finishAsyncOptionsRequest;
|
|
861
|
+
private cancelAsyncOptionsSubscription;
|
|
862
|
+
private isPromise;
|
|
863
|
+
onLabelClicked(): void;
|
|
864
|
+
isOptionGroup(item: AdsSingleSelectorOptionOrGroup): item is {
|
|
865
|
+
label: string;
|
|
866
|
+
children: AdsSingleSelectorOption[];
|
|
867
|
+
};
|
|
868
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SingleSelectorComponent, never>;
|
|
869
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SingleSelectorComponent, "ads-single-selector", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "allowClear": { "alias": "allowClear"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "asyncOptions": { "alias": "asyncOptions"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "labelIconName": { "alias": "labelIconName"; "required": false; "isSignal": true; }; }, { "onLabelButtonClick": "onLabelButtonClick"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
declare class MultipleSelectorComponent implements ControlValueAccessor, OnDestroy {
|
|
873
|
+
label: _angular_core.InputSignal<string>;
|
|
874
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
875
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
876
|
+
allowClear: _angular_core.InputSignal<boolean>;
|
|
877
|
+
loading: _angular_core.InputSignal<boolean>;
|
|
878
|
+
options: _angular_core.InputSignal<AdsMultipleSelectorOptionOrGroup[]>;
|
|
879
|
+
asyncOptions: _angular_core.InputSignal<AdsMultipleSelectorAsyncOptions>;
|
|
880
|
+
value: _angular_core.InputSignal<AdsMultipleSelectorValue[]>;
|
|
881
|
+
itemName: _angular_core.InputSignal<string>;
|
|
882
|
+
pluralItemName: _angular_core.InputSignal<string>;
|
|
883
|
+
errorMessage: _angular_core.InputSignal<string>;
|
|
884
|
+
labelIconName: _angular_core.InputSignal<"search" | "add_square" | "administrator_solid" | "ambulance" | "arrow_right" | "blood_type" | "chart_bars" | "chart_grid" | "book" | "bookmark" | "branchs" | "building" | "calendar" | "calendar_check" | "chat" | "error" | "check" | "check_list" | "clipboard" | "controller_frame" | "copy" | "delete" | "delete_trash" | "device_add" | "document" | "document_upload" | "download_rounded" | "edit" | "edit_calendar" | "eye" | "folder" | "folder_management" | "group" | "hamburger" | "hide" | "history_rounded" | "home" | "home_solid" | "ia_agent" | "info" | "lightbulb" | "mail" | "medical_user" | "menu_list" | "microphone" | "minus" | "move_down" | "open" | "paper_edit" | "pause" | "people" | "phone" | "play" | "play_filled" | "plus" | "queue_play" | "receipt" | "replay" | "reset_settings" | "scanner" | "settings" | "sharp" | "sorting" | "stop" | "table" | "tune" | "upload_file" | "upload_rounded" | "user" | "user_key" | "users" | "vital_sign" | "warning" | "icon_card" | "mastercard" | "visa" | "amex" | "discover" | "toggle_active" | "toggle_inactive" | "dolar_sign">;
|
|
885
|
+
onLabelButtonClick: _angular_core.OutputEmitterRef<void>;
|
|
886
|
+
valueChange: _angular_core.OutputEmitterRef<AdsMultipleSelectorValue[]>;
|
|
887
|
+
private cvaMode;
|
|
888
|
+
private cvaDisabled;
|
|
889
|
+
private asyncLoading;
|
|
890
|
+
private optionsSubscription;
|
|
891
|
+
private asyncRequestId;
|
|
892
|
+
private baseOptions;
|
|
893
|
+
currentValue: _angular_core.WritableSignal<AdsMultipleSelectorValue[]>;
|
|
894
|
+
resolvedOptions: _angular_core.WritableSignal<AdsMultipleSelectorOptionOrGroup[]>;
|
|
895
|
+
private onChange;
|
|
896
|
+
private onTouched;
|
|
897
|
+
readonly filterOption: NzFilterOptionType;
|
|
898
|
+
constructor();
|
|
899
|
+
ngOnDestroy(): void;
|
|
900
|
+
isDisabled(): boolean;
|
|
901
|
+
isLoading(): boolean;
|
|
902
|
+
onSelectionChange(values: AdsMultipleSelectorValue[]): void;
|
|
903
|
+
onBlur(): void;
|
|
904
|
+
selectedItemsSummary(selectedCount: number): string;
|
|
905
|
+
writeValue(value: unknown): void;
|
|
906
|
+
registerOnChange(fn: (value: AdsMultipleSelectorValue[]) => void): void;
|
|
907
|
+
registerOnTouched(fn: () => void): void;
|
|
908
|
+
setDisabledState(isDisabled: boolean): void;
|
|
909
|
+
private loadAsyncOptions;
|
|
910
|
+
private applyAsyncOptionsResult;
|
|
911
|
+
private finishAsyncOptionsRequest;
|
|
912
|
+
private reorderOptions;
|
|
913
|
+
private normalizeValues;
|
|
914
|
+
private cancelAsyncOptionsSubscription;
|
|
915
|
+
private isPromise;
|
|
916
|
+
onLabelClicked(): void;
|
|
917
|
+
isOptionGroup(item: AdsMultipleSelectorOptionOrGroup): item is {
|
|
918
|
+
label: string;
|
|
919
|
+
children: AdsMultipleSelectorOption[];
|
|
920
|
+
};
|
|
921
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultipleSelectorComponent, never>;
|
|
922
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultipleSelectorComponent, "ads-multiple-selector", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "allowClear": { "alias": "allowClear"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "asyncOptions": { "alias": "asyncOptions"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "itemName": { "alias": "itemName"; "required": false; "isSignal": true; }; "pluralItemName": { "alias": "pluralItemName"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "labelIconName": { "alias": "labelIconName"; "required": false; "isSignal": true; }; }, { "onLabelButtonClick": "onLabelButtonClick"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
declare class MainModalComponent {
|
|
926
|
+
open: _angular_core.InputSignal<boolean>;
|
|
927
|
+
title: _angular_core.InputSignal<string>;
|
|
928
|
+
subtitle: _angular_core.InputSignal<string>;
|
|
929
|
+
width: _angular_core.InputSignal<string>;
|
|
930
|
+
buttonsFullWidth: _angular_core.InputSignal<boolean>;
|
|
931
|
+
closeOnBackdrop: _angular_core.InputSignal<boolean>;
|
|
932
|
+
closeOnEsc: _angular_core.InputSignal<boolean>;
|
|
933
|
+
showCloseButton: _angular_core.InputSignal<boolean>;
|
|
934
|
+
actions: _angular_core.InputSignal<AdsMainModalAction[]>;
|
|
935
|
+
actionsAlign: _angular_core.InputSignal<AdsMainModalActionsAlign>;
|
|
936
|
+
closed: _angular_core.OutputEmitterRef<void>;
|
|
937
|
+
onEscapeKey(): void;
|
|
938
|
+
onBackdropClick(): void;
|
|
939
|
+
onCloseButtonClick(): void;
|
|
940
|
+
onActionClick(action: AdsMainModalAction): void;
|
|
941
|
+
actionTrackBy(index: number, action: AdsMainModalAction): string;
|
|
942
|
+
actionsJustifyClass(): string;
|
|
943
|
+
private requestClose;
|
|
944
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MainModalComponent, never>;
|
|
945
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MainModalComponent, "ads-main-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "buttonsFullWidth": { "alias": "buttonsFullWidth"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "actionsAlign": { "alias": "actionsAlign"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["[ads-main-modal-header-extra]", "*", "[ads-main-modal-footer]"], true, never>;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
declare class DelicateConfirmationModalComponent {
|
|
949
|
+
open: _angular_core.InputSignal<boolean>;
|
|
950
|
+
buttonsFullWidth: _angular_core.InputSignal<boolean>;
|
|
951
|
+
title: _angular_core.InputSignal<string>;
|
|
952
|
+
description: _angular_core.InputSignal<string>;
|
|
953
|
+
iconName: _angular_core.InputSignal<"search" | "add_square" | "administrator_solid" | "ambulance" | "arrow_right" | "blood_type" | "chart_bars" | "chart_grid" | "book" | "bookmark" | "branchs" | "building" | "calendar" | "calendar_check" | "chat" | "error" | "check" | "check_list" | "clipboard" | "controller_frame" | "copy" | "delete" | "delete_trash" | "device_add" | "document" | "document_upload" | "download_rounded" | "edit" | "edit_calendar" | "eye" | "folder" | "folder_management" | "group" | "hamburger" | "hide" | "history_rounded" | "home" | "home_solid" | "ia_agent" | "info" | "lightbulb" | "mail" | "medical_user" | "menu_list" | "microphone" | "minus" | "move_down" | "open" | "paper_edit" | "pause" | "people" | "phone" | "play" | "play_filled" | "plus" | "queue_play" | "receipt" | "replay" | "reset_settings" | "scanner" | "settings" | "sharp" | "sorting" | "stop" | "table" | "tune" | "upload_file" | "upload_rounded" | "user" | "user_key" | "users" | "vital_sign" | "warning" | "icon_card" | "mastercard" | "visa" | "amex" | "discover" | "toggle_active" | "toggle_inactive" | "dolar_sign">;
|
|
954
|
+
cancelText: _angular_core.InputSignal<string>;
|
|
955
|
+
confirmText: _angular_core.InputSignal<string>;
|
|
956
|
+
closeOnBackdrop: _angular_core.InputSignal<boolean>;
|
|
957
|
+
closeOnEsc: _angular_core.InputSignal<boolean>;
|
|
958
|
+
closed: _angular_core.OutputEmitterRef<void>;
|
|
959
|
+
cancel: _angular_core.OutputEmitterRef<void>;
|
|
960
|
+
confirm: _angular_core.OutputEmitterRef<void>;
|
|
961
|
+
actions: _angular_core.Signal<AdsMainModalAction[]>;
|
|
962
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DelicateConfirmationModalComponent, never>;
|
|
963
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DelicateConfirmationModalComponent, "ads-delicate-confirmation-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "buttonsFullWidth": { "alias": "buttonsFullWidth"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "cancelText": { "alias": "cancelText"; "required": false; "isSignal": true; }; "confirmText": { "alias": "confirmText"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "cancel": "cancel"; "confirm": "confirm"; }, never, never, true, never>;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
declare class InformationModalComponent {
|
|
967
|
+
open: _angular_core.InputSignal<boolean>;
|
|
968
|
+
buttonsFullWidth: _angular_core.InputSignal<boolean>;
|
|
969
|
+
actionsAlign: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
970
|
+
title: _angular_core.InputSignal<string>;
|
|
971
|
+
description: _angular_core.InputSignal<string>;
|
|
972
|
+
continueText: _angular_core.InputSignal<string>;
|
|
973
|
+
closeOnBackdrop: _angular_core.InputSignal<boolean>;
|
|
974
|
+
closeOnEsc: _angular_core.InputSignal<boolean>;
|
|
975
|
+
closed: _angular_core.OutputEmitterRef<void>;
|
|
976
|
+
continue: _angular_core.OutputEmitterRef<void>;
|
|
977
|
+
actions: _angular_core.Signal<AdsMainModalAction[]>;
|
|
978
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InformationModalComponent, never>;
|
|
979
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InformationModalComponent, "ads-information-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "buttonsFullWidth": { "alias": "buttonsFullWidth"; "required": false; "isSignal": true; }; "actionsAlign": { "alias": "actionsAlign"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "continueText": { "alias": "continueText"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "continue": "continue"; }, never, never, true, never>;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
declare class NotificationModalComponent {
|
|
983
|
+
open: _angular_core.InputSignal<boolean>;
|
|
984
|
+
buttonsFullWidth: _angular_core.InputSignal<boolean>;
|
|
985
|
+
actionsAlign: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
986
|
+
title: _angular_core.InputSignal<string>;
|
|
987
|
+
description: _angular_core.InputSignal<string>;
|
|
988
|
+
continueText: _angular_core.InputSignal<string>;
|
|
989
|
+
closeOnBackdrop: _angular_core.InputSignal<boolean>;
|
|
990
|
+
closeOnEsc: _angular_core.InputSignal<boolean>;
|
|
991
|
+
closed: _angular_core.OutputEmitterRef<void>;
|
|
992
|
+
continue: _angular_core.OutputEmitterRef<void>;
|
|
993
|
+
actions: _angular_core.Signal<AdsMainModalAction[]>;
|
|
994
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NotificationModalComponent, never>;
|
|
995
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NotificationModalComponent, "ads-notification-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "buttonsFullWidth": { "alias": "buttonsFullWidth"; "required": false; "isSignal": true; }; "actionsAlign": { "alias": "actionsAlign"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "continueText": { "alias": "continueText"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "continue": "continue"; }, never, never, true, never>;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
declare class HelpModalComponent {
|
|
999
|
+
open: _angular_core.InputSignal<boolean>;
|
|
1000
|
+
buttonsFullWidth: _angular_core.InputSignal<boolean>;
|
|
1001
|
+
actionsAlign: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
1002
|
+
continueText: _angular_core.InputSignal<string>;
|
|
1003
|
+
title: _angular_core.InputSignal<string>;
|
|
1004
|
+
description: _angular_core.InputSignal<string>;
|
|
1005
|
+
checkboxLabel: _angular_core.InputSignal<string>;
|
|
1006
|
+
checkboxChecked: _angular_core.InputSignal<boolean>;
|
|
1007
|
+
closeOnBackdrop: _angular_core.InputSignal<boolean>;
|
|
1008
|
+
closeOnEsc: _angular_core.InputSignal<boolean>;
|
|
1009
|
+
closed: _angular_core.OutputEmitterRef<void>;
|
|
1010
|
+
checkedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1011
|
+
continue: _angular_core.OutputEmitterRef<boolean>;
|
|
1012
|
+
checkedState: _angular_core.WritableSignal<boolean>;
|
|
1013
|
+
actions: _angular_core.Signal<AdsMainModalAction[]>;
|
|
1014
|
+
constructor();
|
|
1015
|
+
onCheckboxChange(value: boolean): void;
|
|
1016
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HelpModalComponent, never>;
|
|
1017
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HelpModalComponent, "ads-help-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "buttonsFullWidth": { "alias": "buttonsFullWidth"; "required": false; "isSignal": true; }; "actionsAlign": { "alias": "actionsAlign"; "required": false; "isSignal": true; }; "continueText": { "alias": "continueText"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "checkboxLabel": { "alias": "checkboxLabel"; "required": false; "isSignal": true; }; "checkboxChecked": { "alias": "checkboxChecked"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "checkedChange": "checkedChange"; "continue": "continue"; }, never, never, true, never>;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
declare class FeedbackModalComponent {
|
|
1021
|
+
private readonly fb;
|
|
1022
|
+
open: _angular_core.InputSignal<boolean>;
|
|
1023
|
+
width: _angular_core.InputSignal<string>;
|
|
1024
|
+
top: _angular_core.InputSignal<string>;
|
|
1025
|
+
right: _angular_core.InputSignal<string>;
|
|
1026
|
+
bottom: _angular_core.InputSignal<string>;
|
|
1027
|
+
left: _angular_core.InputSignal<string>;
|
|
1028
|
+
title: _angular_core.InputSignal<string>;
|
|
1029
|
+
subtitle: _angular_core.InputSignal<string>;
|
|
1030
|
+
categoryOptions: _angular_core.InputSignal<AdsSingleSelectorOption[]>;
|
|
1031
|
+
responseOpen: _angular_core.InputSignal<boolean>;
|
|
1032
|
+
responseType: _angular_core.InputSignal<FeedbackResponseType>;
|
|
1033
|
+
responseTitle: _angular_core.InputSignal<string>;
|
|
1034
|
+
responseDescription: _angular_core.InputSignal<string>;
|
|
1035
|
+
responseButtonText: _angular_core.InputSignal<string>;
|
|
1036
|
+
closed: _angular_core.OutputEmitterRef<void>;
|
|
1037
|
+
submitted: _angular_core.OutputEmitterRef<FeedbackPayload>;
|
|
1038
|
+
responseAction: _angular_core.OutputEmitterRef<void>;
|
|
1039
|
+
form: _angular_forms.FormGroup<{
|
|
1040
|
+
subject: _angular_forms.FormControl<string>;
|
|
1041
|
+
category: _angular_forms.FormControl<string>;
|
|
1042
|
+
description: _angular_forms.FormControl<string>;
|
|
1043
|
+
}>;
|
|
1044
|
+
actions: _angular_core.Signal<AdsMainModalAction[]>;
|
|
1045
|
+
modalPositionStyles: _angular_core.Signal<Record<string, string>>;
|
|
1046
|
+
responseIconStyles: _angular_core.Signal<{
|
|
1047
|
+
containerClass: string;
|
|
1048
|
+
iconName: AdsIconName;
|
|
1049
|
+
}>;
|
|
1050
|
+
constructor();
|
|
1051
|
+
closeModal(): void;
|
|
1052
|
+
onBackdropClick(event: MouseEvent): void;
|
|
1053
|
+
submitFeedback(): void;
|
|
1054
|
+
onResponseButtonClick(): void;
|
|
1055
|
+
subjectError(): string;
|
|
1056
|
+
descriptionError(): string;
|
|
1057
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeedbackModalComponent, never>;
|
|
1058
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeedbackModalComponent, "ads-feedback-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "top": { "alias": "top"; "required": false; "isSignal": true; }; "right": { "alias": "right"; "required": false; "isSignal": true; }; "bottom": { "alias": "bottom"; "required": false; "isSignal": true; }; "left": { "alias": "left"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "categoryOptions": { "alias": "categoryOptions"; "required": false; "isSignal": true; }; "responseOpen": { "alias": "responseOpen"; "required": false; "isSignal": true; }; "responseType": { "alias": "responseType"; "required": false; "isSignal": true; }; "responseTitle": { "alias": "responseTitle"; "required": false; "isSignal": true; }; "responseDescription": { "alias": "responseDescription"; "required": false; "isSignal": true; }; "responseButtonText": { "alias": "responseButtonText"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "submitted": "submitted"; "responseAction": "responseAction"; }, never, never, true, never>;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
declare class TableComponent {
|
|
1062
|
+
private readonly hostTestId;
|
|
1063
|
+
readonly statusShape = containerShapes.ROUNDED;
|
|
1064
|
+
private readonly defaultStatusStateStyles;
|
|
1065
|
+
private readonly defaultActiveStateStyles;
|
|
1066
|
+
sortEvent: EventEmitter<any>;
|
|
1067
|
+
columnOrderChange: EventEmitter<TableDragDropEvent>;
|
|
1068
|
+
pageChange: EventEmitter<number>;
|
|
1069
|
+
columnSizingChange: EventEmitter<{
|
|
1070
|
+
[key: string]: number;
|
|
1071
|
+
}>;
|
|
1072
|
+
pageSizeChange: EventEmitter<number>;
|
|
1073
|
+
multiSortEvent: EventEmitter<any>;
|
|
1074
|
+
table: Table<any> | null;
|
|
1075
|
+
isLoading: boolean;
|
|
1076
|
+
selectedSortingHeader: string;
|
|
1077
|
+
sortDirection: string | null;
|
|
1078
|
+
showButtons: boolean;
|
|
1079
|
+
allContentLeft: boolean;
|
|
1080
|
+
totalRegisters: number;
|
|
1081
|
+
areColumnsDraggable: boolean;
|
|
1082
|
+
currentPage: number;
|
|
1083
|
+
totalPages: number;
|
|
1084
|
+
pageSize: number;
|
|
1085
|
+
enableMultiSort: boolean;
|
|
1086
|
+
multiSortCriteria: Array<{
|
|
1087
|
+
field: string;
|
|
1088
|
+
direction: string;
|
|
1089
|
+
}>;
|
|
1090
|
+
actionButtons: TableActionButton[];
|
|
1091
|
+
statusStateStyles: TableStateStylesMap;
|
|
1092
|
+
activeStateStyles: TableStateStylesMap;
|
|
1093
|
+
headerRenderVersion: number;
|
|
1094
|
+
constructor(hostTestId: string | null);
|
|
1095
|
+
get testId(): string;
|
|
1096
|
+
get contentTestId(): string;
|
|
1097
|
+
getHeaderGroups(): Array<{
|
|
1098
|
+
headers: any[];
|
|
1099
|
+
}>;
|
|
1100
|
+
getHeaderCells(): any[];
|
|
1101
|
+
getRows(): Row<any>[];
|
|
1102
|
+
getOriginalColumnProperty(column: any): string;
|
|
1103
|
+
isColumnSortable(column: any): boolean;
|
|
1104
|
+
isStatusColumn(column: any): boolean;
|
|
1105
|
+
columnDirectionByType(column: any): string;
|
|
1106
|
+
trackByFn(index: number, row: Row<any>): string | number;
|
|
1107
|
+
sort(column: any, event: MouseEvent): void;
|
|
1108
|
+
getSortEntry(column: any): {
|
|
1109
|
+
index: number;
|
|
1110
|
+
direction: string;
|
|
1111
|
+
} | null;
|
|
1112
|
+
drop(event: {
|
|
1113
|
+
previousIndex: number;
|
|
1114
|
+
currentIndex: number;
|
|
1115
|
+
}): void;
|
|
1116
|
+
previousPage(): void;
|
|
1117
|
+
nextPage(): void;
|
|
1118
|
+
goToPage(page: number): void;
|
|
1119
|
+
getPageNumbers(): (number | null)[];
|
|
1120
|
+
startResize(event: MouseEvent | TouchEvent, column: any): void;
|
|
1121
|
+
getColumnHeaderStyles(column: any): {
|
|
1122
|
+
[key: string]: any;
|
|
1123
|
+
};
|
|
1124
|
+
getTooltipText(button: TableActionButton, row: any): string;
|
|
1125
|
+
isActionButtonDisabled(button: TableActionButton, row: any): boolean;
|
|
1126
|
+
iconNameFor(value: string): any;
|
|
1127
|
+
getHeaderTestId(column: any): string;
|
|
1128
|
+
getRowTestId(row: Row<any>, index: number): string;
|
|
1129
|
+
getActionButtonTestId(row: Row<any>, button: TableActionButton, index: number): string;
|
|
1130
|
+
onPageSizeChange(event: Event): void;
|
|
1131
|
+
headerAlignmentClass(column: any): string;
|
|
1132
|
+
isSortIconLeading(column: any): boolean;
|
|
1133
|
+
cellAlignmentClass(column: any): string;
|
|
1134
|
+
isStatusCell(cell: any): boolean;
|
|
1135
|
+
isActiveCell(cell: any): boolean;
|
|
1136
|
+
isStateCell(cell: any): boolean;
|
|
1137
|
+
getCellText(cell: any): string;
|
|
1138
|
+
getStateStyle(cell: any): TableStateStyle;
|
|
1139
|
+
getStateText(cell: any): string;
|
|
1140
|
+
getStatusBorderColor(status: string): stateBorderColors;
|
|
1141
|
+
getStatusBackgroundColor(status: string): stateBackgroundColors;
|
|
1142
|
+
getStatusTextColor(status: string): stateTextColors;
|
|
1143
|
+
getEmptyColspan(): number;
|
|
1144
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent, [{ attribute: "data-testid"; }]>;
|
|
1145
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent, "ads-table", never, { "table": { "alias": "table"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "selectedSortingHeader": { "alias": "selectedSortingHeader"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "showButtons": { "alias": "showButtons"; "required": false; }; "allContentLeft": { "alias": "allContentLeft"; "required": false; }; "totalRegisters": { "alias": "totalRegisters"; "required": false; }; "areColumnsDraggable": { "alias": "areColumnsDraggable"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "enableMultiSort": { "alias": "enableMultiSort"; "required": false; }; "multiSortCriteria": { "alias": "multiSortCriteria"; "required": false; }; "actionButtons": { "alias": "actionButtons"; "required": false; }; "statusStateStyles": { "alias": "statusStateStyles"; "required": false; }; "activeStateStyles": { "alias": "activeStateStyles"; "required": false; }; }, { "sortEvent": "sortEvent"; "columnOrderChange": "columnOrderChange"; "pageChange": "pageChange"; "columnSizingChange": "columnSizingChange"; "pageSizeChange": "pageSizeChange"; "multiSortEvent": "multiSortEvent"; }, never, never, true, never>;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
export { ButtonComponent, CheckboxComponent, DatepickerSelectorComponent, DelicateConfirmationModalComponent, FeedbackModalComponent, FilterButtonComponent, HelpModalComponent, ICONS, IconComponent, InformationModalComponent, InputComponent, InputDatepickerComponent, InputRangepickerComponent, InputWeekpickerComponent, MainModalComponent, MultipleSelectorComponent, NotificationModalComponent, SideNavComponent, SingleSelectorComponent, SnackbarComponent, StateComponent, TableComponent, TabsComponent, containerShapes, stateBackgroundColors, stateBorderColors, stateTextColors };
|
|
1149
|
+
export type { AdsButtonColor, AdsButtonType, AdsButtonVariant, AdsCheckboxAppearance, AdsCheckboxLabelColor, AdsCheckboxLabelPosition, AdsFilterButtonOption, AdsFilterButtonRow, AdsFilterButtonSortDirection, AdsFilterButtonSortRow, AdsFilterButtonValueType, AdsIconName, AdsInputType, AdsMainModalAction, AdsMainModalActionsAlign, AdsMultipleSelectorAsyncOptions, AdsMultipleSelectorOption, AdsMultipleSelectorOptionGroup, AdsMultipleSelectorOptionOrGroup, AdsMultipleSelectorValue, AdsSideNavChildOption, AdsSideNavFooterButton, AdsSideNavOption, AdsSideNavRoute, AdsSingleSelectorAsyncOptions, AdsSingleSelectorOption, AdsSingleSelectorOptionGroup, AdsSingleSelectorOptionOrGroup, AdsSingleSelectorValue, DatepickerSelectorButtonLabelMode, FeedbackPayload, FeedbackResponseType, PaymentCardBrand, PickerMode, PickerOption, SnackbarAlert, SnackbarAlertType, StoryTable, StoryTableCell, StoryTableCellContext, StoryTableColumn, StoryTableHeader, StoryTableRow, StoryTableRowData, Tab, TableActionButton, TableDragDropEvent, TablePropertyType, TableSortCriterion, TableSortDirection, TableStateStyle, TableStateStylesMap };
|