@tooark/angular 1.2.2 → 1.4.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.
- package/README.md +25 -4
- package/README.pt-BR.md +25 -4
- package/fesm2022/tooark-angular.mjs +254 -7
- package/fesm2022/tooark-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/types/tooark-angular.d.ts +149 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tooark/angular",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Tooark Angular — standalone wrappers for ark-* components for Angular",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tooark",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@angular/core": ">=21.2.19"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@tooark/core": "^1.
|
|
52
|
-
"@tooark/web-components": "^1.
|
|
51
|
+
"@tooark/core": "^1.4.0",
|
|
52
|
+
"@tooark/web-components": "^1.4.0",
|
|
53
53
|
"tslib": "^2.8.1"
|
|
54
54
|
},
|
|
55
55
|
"module": "fesm2022/tooark-angular.mjs",
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { ArkIntent, ArkAlertVariant, ArkAlertLive, ArkTheme, ArkLang, ArkSize, ArkAvatarShape, ArkBadgeVariant, ArkBadgeSize, ArkRounded, ArkButtonType, ArkButtonStatus, ArkButtonVariant, ArkDatepickerLang, ArkCalendarEvent, ArkCardPadding, ArkCarouselSnap, ArkColorSwatch, ArkDialogSize, ArkDialogCloseReason, ArkDrawerSide, ArkDrawerMode, ArkDrawerCloseReason, ArkKvRow, ArkKvBulkFormat, ArkMarkShape, ArkMenuAlign, ArkMenuDirection, ArkSchedulerView, ArkSchedulerEvent, ArkSelectOption, ArkSplitPaneDirection, ArkTabsVariant, ArkTabsFill, ArkTextareaResize, ArkToastPosition, ArkTooltipSide } from '@tooark/core';
|
|
1
|
+
import { ArkIntent, ArkAlertVariant, ArkAlertLive, ArkTheme, ArkLang, ArkSize, ArkAvatarShape, ArkAvatarVariant, ArkBadgeVariant, ArkBadgeSize, ArkRounded, ArkButtonType, ArkButtonStatus, ArkButtonVariant, ArkDatepickerLang, ArkCalendarEvent, ArkCardPadding, ArkCarouselSnap, ArkColorSwatch, ArkDialogSize, ArkDialogCloseReason, ArkDrawerSide, ArkDrawerMode, ArkDrawerCloseReason, ArkKvRow, ArkKvBulkFormat, ArkKvValueField, ArkMarkShape, ArkMenuAlign, ArkMenuDirection, ArkSchedulerView, ArkSchedulerEvent, ArkSelectOption, ArkSplitPaneDirection, ArkTabsVariant, ArkTabsFill, ArkTextareaResize, ArkToastPosition, ArkTooltipSide } from '@tooark/core';
|
|
2
2
|
export { dismissToast, showToast, toast } from '@tooark/core';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { AfterViewInit, OnDestroy, EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
5
|
+
import { ArkAlert, ArkAvatar, ArkBadge, ArkButton, ArkCalendar, ArkCard, ArkCarousel, ArkCheckbox, ArkClock, ArkColorSwatches, ArkCommandItem, ArkCommandPalette, ArkCopyButton, ArkDatepicker, ArkDialog, ArkDrawer, ArkEmpty, ArkFileInput, ArkInput, ArkKbd, ArkKvEditor, ArkMark, ArkMenu, ArkMenuItem, ArkProgress, ArkRadio, ArkScheduler, ArkSelect, ArkShapePicker, ArkSkeleton, ArkSpinner, ArkSplitPane, ArkStatusDot, ArkSwitch, ArkTab, ArkTabs, ArkTextarea, ArkToaster, ArkToggle, ArkToggleGroup, ArkTooltip } from '@tooark/web-components';
|
|
5
6
|
|
|
6
7
|
declare class ArkAlertComponent implements AfterViewInit, OnDestroy {
|
|
7
8
|
constructor();
|
|
9
|
+
private readonly host;
|
|
10
|
+
/** O `ark-alert` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
11
|
+
get element(): ArkAlert | null;
|
|
8
12
|
testid: string | undefined;
|
|
9
13
|
intent: ArkIntent;
|
|
10
14
|
/** Caixa arredondada ou banner de largura toda. Padrão: "box". */
|
|
@@ -30,6 +34,9 @@ declare class ArkAlertComponent implements AfterViewInit, OnDestroy {
|
|
|
30
34
|
|
|
31
35
|
declare class ArkAvatarComponent {
|
|
32
36
|
constructor();
|
|
37
|
+
private readonly host;
|
|
38
|
+
/** O `ark-avatar` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
39
|
+
get element(): ArkAvatar | null;
|
|
33
40
|
testid: string | undefined;
|
|
34
41
|
/** Nome acessível, repassado ao elemento (o aria-label no wrapper ficaria no host errado). */
|
|
35
42
|
ariaLabel: string | undefined;
|
|
@@ -40,15 +47,20 @@ declare class ArkAvatarComponent {
|
|
|
40
47
|
size: ArkSize;
|
|
41
48
|
/** Círculo ou quadrado de cantos arredondados. Padrão: "circle". */
|
|
42
49
|
shape: ArkAvatarShape;
|
|
43
|
-
/** Cor CSS própria
|
|
50
|
+
/** Cor CSS própria: em `soft` o texto na cor e fundo suave, em `solid` o fundo. Padrão: o primary. */
|
|
44
51
|
color: string | undefined;
|
|
52
|
+
/** Preenchimento: fundo suave ou fundo na cor com texto claro. Padrão: "soft". */
|
|
53
|
+
variant: ArkAvatarVariant | undefined;
|
|
45
54
|
theme: ArkTheme;
|
|
46
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArkAvatarComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArkAvatarComponent, "ark-avatar-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "name": { "alias": "name"; "required": false; }; "src": { "alias": "src"; "required": false; }; "size": { "alias": "size"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "color": { "alias": "color"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, never, true, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArkAvatarComponent, "ark-avatar-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "name": { "alias": "name"; "required": false; }; "src": { "alias": "src"; "required": false; }; "size": { "alias": "size"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "color": { "alias": "color"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, never, true, never>;
|
|
48
57
|
}
|
|
49
58
|
|
|
50
59
|
declare class ArkBadgeComponent {
|
|
51
60
|
constructor();
|
|
61
|
+
private readonly host;
|
|
62
|
+
/** O `ark-badge` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
63
|
+
get element(): ArkBadge | null;
|
|
52
64
|
testid: string | undefined;
|
|
53
65
|
intent: ArkIntent;
|
|
54
66
|
variant: ArkBadgeVariant;
|
|
@@ -62,6 +74,9 @@ declare class ArkBadgeComponent {
|
|
|
62
74
|
|
|
63
75
|
declare class ArkButtonComponent {
|
|
64
76
|
constructor();
|
|
77
|
+
private readonly host;
|
|
78
|
+
/** O `ark-button` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
79
|
+
get element(): ArkButton | null;
|
|
65
80
|
testid: string | undefined;
|
|
66
81
|
/** Nome acessível, repassado ao elemento (o aria-label no wrapper ficaria no host errado). */
|
|
67
82
|
ariaLabel: string | undefined;
|
|
@@ -90,6 +105,9 @@ declare class ArkButtonComponent {
|
|
|
90
105
|
|
|
91
106
|
declare class ArkCalendarComponent implements AfterViewInit, OnDestroy {
|
|
92
107
|
constructor();
|
|
108
|
+
private readonly host;
|
|
109
|
+
/** O `ark-calendar` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
110
|
+
get element(): ArkCalendar | null;
|
|
93
111
|
testid: string | undefined;
|
|
94
112
|
lang: ArkDatepickerLang;
|
|
95
113
|
localeJson: Record<string, unknown> | undefined;
|
|
@@ -118,6 +136,9 @@ declare class ArkCalendarComponent implements AfterViewInit, OnDestroy {
|
|
|
118
136
|
|
|
119
137
|
declare class ArkCardComponent {
|
|
120
138
|
constructor();
|
|
139
|
+
private readonly host;
|
|
140
|
+
/** O `ark-card` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
141
|
+
get element(): ArkCard | null;
|
|
121
142
|
testid: string | undefined;
|
|
122
143
|
/** Título (h2) na linha de cima; com ele o filho slot="header" vira a linha seguinte do cabeçalho. */
|
|
123
144
|
heading: string | undefined;
|
|
@@ -132,6 +153,9 @@ declare class ArkCardComponent {
|
|
|
132
153
|
|
|
133
154
|
declare class ArkCarouselComponent implements AfterViewInit, OnDestroy {
|
|
134
155
|
constructor();
|
|
156
|
+
private readonly host;
|
|
157
|
+
/** O `ark-carousel` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
158
|
+
get element(): ArkCarousel | null;
|
|
135
159
|
testid: string | undefined;
|
|
136
160
|
theme: ArkTheme;
|
|
137
161
|
intent: ArkIntent;
|
|
@@ -159,6 +183,9 @@ declare class ArkCarouselComponent implements AfterViewInit, OnDestroy {
|
|
|
159
183
|
|
|
160
184
|
declare class ArkCheckboxComponent {
|
|
161
185
|
constructor();
|
|
186
|
+
private readonly host;
|
|
187
|
+
/** O `ark-checkbox` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
188
|
+
get element(): ArkCheckbox | null;
|
|
162
189
|
testid: string | undefined;
|
|
163
190
|
/** Nome acessível, repassado ao elemento (o aria-label no wrapper ficaria no host errado). */
|
|
164
191
|
ariaLabel: string | undefined;
|
|
@@ -175,16 +202,21 @@ declare class ArkCheckboxComponent {
|
|
|
175
202
|
value: string | undefined;
|
|
176
203
|
/** Rótulo próprio (<label for>); sem ele use aria-label ou o conteúdo projetado como rótulo livre. */
|
|
177
204
|
label: string | undefined;
|
|
205
|
+
/** Dica abaixo do rótulo, ligada ao controle por aria-describedby. */
|
|
206
|
+
helper: string | undefined;
|
|
178
207
|
changed: EventEmitter<CustomEvent<{
|
|
179
208
|
checked: boolean;
|
|
180
209
|
}>>;
|
|
181
210
|
onChange(event: Event): void;
|
|
182
211
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArkCheckboxComponent, never>;
|
|
183
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArkCheckboxComponent, "ark-checkbox-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "intent": { "alias": "intent"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "size": { "alias": "size"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "changed": "changed"; }, never, ["*"], true, never>;
|
|
212
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArkCheckboxComponent, "ark-checkbox-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "intent": { "alias": "intent"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "size": { "alias": "size"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "helper": { "alias": "helper"; "required": false; }; }, { "changed": "changed"; }, never, ["*"], true, never>;
|
|
184
213
|
}
|
|
185
214
|
|
|
186
215
|
declare class ArkClockComponent implements AfterViewInit, OnDestroy {
|
|
187
216
|
constructor();
|
|
217
|
+
private readonly host;
|
|
218
|
+
/** O `ark-clock` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
219
|
+
get element(): ArkClock | null;
|
|
188
220
|
testid: string | undefined;
|
|
189
221
|
value: string | undefined;
|
|
190
222
|
lang: ArkDatepickerLang;
|
|
@@ -206,6 +238,9 @@ declare class ArkClockComponent implements AfterViewInit, OnDestroy {
|
|
|
206
238
|
|
|
207
239
|
declare class ArkColorSwatchesComponent {
|
|
208
240
|
constructor();
|
|
241
|
+
private readonly host;
|
|
242
|
+
/** O `ark-color-swatches` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
243
|
+
get element(): ArkColorSwatches | null;
|
|
209
244
|
testid: string | undefined;
|
|
210
245
|
/** Nome acessível, repassado ao elemento (o aria-label no wrapper ficaria no host errado). */
|
|
211
246
|
ariaLabel: string | undefined;
|
|
@@ -230,6 +265,9 @@ declare class ArkColorSwatchesComponent {
|
|
|
230
265
|
|
|
231
266
|
declare class ArkCommandPaletteComponent {
|
|
232
267
|
constructor();
|
|
268
|
+
private readonly host;
|
|
269
|
+
/** O `ark-command-palette` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
270
|
+
get element(): ArkCommandPalette | null;
|
|
233
271
|
testid: string | undefined;
|
|
234
272
|
/** Aberta; a saída anima antes de sair do top layer. */
|
|
235
273
|
open: boolean;
|
|
@@ -245,6 +283,10 @@ declare class ArkCommandPaletteComponent {
|
|
|
245
283
|
queryDelay: number | undefined;
|
|
246
284
|
/** Nome acessível do diálogo. */
|
|
247
285
|
label: string | undefined;
|
|
286
|
+
/** Mensagem sem opções enquanto o campo está vazio (no lugar de `noResults`). */
|
|
287
|
+
hint: string | undefined;
|
|
288
|
+
/** Busca assíncrona em andamento: sem opções a mensagem vira `searching`, e o listbox fica aria-busy. */
|
|
289
|
+
busy: boolean;
|
|
248
290
|
theme: ArkTheme;
|
|
249
291
|
lang: ArkLang | undefined;
|
|
250
292
|
localeJson: string | undefined;
|
|
@@ -262,10 +304,13 @@ declare class ArkCommandPaletteComponent {
|
|
|
262
304
|
protected openHandler: (event: Event) => void;
|
|
263
305
|
protected closeHandler: (event: Event) => void;
|
|
264
306
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArkCommandPaletteComponent, never>;
|
|
265
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArkCommandPaletteComponent, "ark-command-palette-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "open": { "alias": "open"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hotkey": { "alias": "hotkey"; "required": false; }; "noScrollLock": { "alias": "noScrollLock"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "queryDelay": { "alias": "queryDelay"; "required": false; }; "label": { "alias": "label"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "localeJson": { "alias": "localeJson"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "arkSelect": "arkSelect"; "arkQuery": "arkQuery"; "arkOpen": "arkOpen"; "arkClose": "arkClose"; }, never, ["*"], true, never>;
|
|
307
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArkCommandPaletteComponent, "ark-command-palette-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "open": { "alias": "open"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hotkey": { "alias": "hotkey"; "required": false; }; "noScrollLock": { "alias": "noScrollLock"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "queryDelay": { "alias": "queryDelay"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "localeJson": { "alias": "localeJson"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "arkSelect": "arkSelect"; "arkQuery": "arkQuery"; "arkOpen": "arkOpen"; "arkClose": "arkClose"; }, never, ["*"], true, never>;
|
|
266
308
|
}
|
|
267
309
|
declare class ArkCommandItemComponent {
|
|
268
310
|
constructor();
|
|
311
|
+
private readonly host;
|
|
312
|
+
/** O `ark-command-item` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
313
|
+
get element(): ArkCommandItem | null;
|
|
269
314
|
testid: string | undefined;
|
|
270
315
|
value: string;
|
|
271
316
|
/** Seção em que a paleta lista o item. */
|
|
@@ -279,6 +324,9 @@ declare class ArkCommandItemComponent {
|
|
|
279
324
|
|
|
280
325
|
declare class ArkCopyButtonComponent implements AfterViewInit, OnDestroy {
|
|
281
326
|
constructor();
|
|
327
|
+
private readonly host;
|
|
328
|
+
/** O `ark-copy-button` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
329
|
+
get element(): ArkCopyButton | null;
|
|
282
330
|
testid: string | undefined;
|
|
283
331
|
/** Nome acessível, repassado ao elemento (o aria-label no wrapper ficaria no host errado). */
|
|
284
332
|
ariaLabel: string | undefined;
|
|
@@ -315,6 +363,9 @@ declare class ArkCopyButtonComponent implements AfterViewInit, OnDestroy {
|
|
|
315
363
|
|
|
316
364
|
declare class ArkDatepickerComponent implements AfterViewInit, OnDestroy {
|
|
317
365
|
constructor();
|
|
366
|
+
private readonly host;
|
|
367
|
+
/** O `ark-datepicker` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
368
|
+
get element(): ArkDatepicker | null;
|
|
318
369
|
testid: string | undefined;
|
|
319
370
|
lang: ArkDatepickerLang;
|
|
320
371
|
localeJson: Record<string, unknown> | undefined;
|
|
@@ -351,6 +402,9 @@ declare class ArkDatepickerComponent implements AfterViewInit, OnDestroy {
|
|
|
351
402
|
|
|
352
403
|
declare class ArkDialogComponent {
|
|
353
404
|
constructor();
|
|
405
|
+
private readonly host;
|
|
406
|
+
/** O `ark-dialog` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
407
|
+
get element(): ArkDialog | null;
|
|
354
408
|
testid: string | undefined;
|
|
355
409
|
/** Aberto; a saída anima antes de sair do top layer. */
|
|
356
410
|
open: boolean;
|
|
@@ -385,6 +439,9 @@ declare class ArkDialogComponent {
|
|
|
385
439
|
|
|
386
440
|
declare class ArkDrawerComponent {
|
|
387
441
|
constructor();
|
|
442
|
+
private readonly host;
|
|
443
|
+
/** O `ark-drawer` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
444
|
+
get element(): ArkDrawer | null;
|
|
388
445
|
testid: string | undefined;
|
|
389
446
|
/** Aberta; a saída anima antes de esconder. */
|
|
390
447
|
open: boolean;
|
|
@@ -419,6 +476,9 @@ declare class ArkDrawerComponent {
|
|
|
419
476
|
|
|
420
477
|
declare class ArkEmptyComponent {
|
|
421
478
|
constructor();
|
|
479
|
+
private readonly host;
|
|
480
|
+
/** O `ark-empty` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
481
|
+
get element(): ArkEmpty | null;
|
|
422
482
|
testid: string | undefined;
|
|
423
483
|
/** Título (h3). */
|
|
424
484
|
heading: string | undefined;
|
|
@@ -431,6 +491,9 @@ declare class ArkEmptyComponent {
|
|
|
431
491
|
|
|
432
492
|
declare class ArkFileInputComponent {
|
|
433
493
|
constructor();
|
|
494
|
+
private readonly host;
|
|
495
|
+
/** O `ark-file-input` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
496
|
+
get element(): ArkFileInput | null;
|
|
434
497
|
testid: string | undefined;
|
|
435
498
|
/** Tipos aceitos pelo seletor nativo (accept). */
|
|
436
499
|
accept: string | undefined;
|
|
@@ -465,6 +528,9 @@ declare class ArkFileInputComponent {
|
|
|
465
528
|
|
|
466
529
|
declare class ArkInputComponent {
|
|
467
530
|
constructor();
|
|
531
|
+
private readonly host;
|
|
532
|
+
/** O `ark-input` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
533
|
+
get element(): ArkInput | null;
|
|
468
534
|
testid: string | undefined;
|
|
469
535
|
type: string;
|
|
470
536
|
label: string | undefined;
|
|
@@ -503,6 +569,9 @@ declare class ArkInputComponent {
|
|
|
503
569
|
|
|
504
570
|
declare class ArkKbdComponent {
|
|
505
571
|
constructor();
|
|
572
|
+
private readonly host;
|
|
573
|
+
/** O `ark-kbd` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
574
|
+
get element(): ArkKbd | null;
|
|
506
575
|
testid: string | undefined;
|
|
507
576
|
size: ArkSize;
|
|
508
577
|
theme: ArkTheme;
|
|
@@ -512,6 +581,9 @@ declare class ArkKbdComponent {
|
|
|
512
581
|
|
|
513
582
|
declare class ArkKvEditorComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
514
583
|
constructor();
|
|
584
|
+
private readonly host;
|
|
585
|
+
/** O `ark-kv-editor` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
586
|
+
get element(): ArkKvEditor | null;
|
|
515
587
|
testid: string | undefined;
|
|
516
588
|
/** Linhas { id, key, value, enabled }; atribuir substitui tudo e renderiza de novo (propriedade, não atributo). */
|
|
517
589
|
rows: ArkKvRow[] | undefined;
|
|
@@ -529,6 +601,8 @@ declare class ArkKvEditorComponent implements AfterViewInit, OnChanges, OnDestro
|
|
|
529
601
|
valuePlaceholder: string | undefined;
|
|
530
602
|
descriptionPlaceholder: string | undefined;
|
|
531
603
|
readonly: boolean;
|
|
604
|
+
/** Cria a célula de valor de cada linha no lugar do ark-input; linhas secretas mantêm o campo de senha. */
|
|
605
|
+
valueField: ArkKvValueField | undefined;
|
|
532
606
|
size: ArkSize;
|
|
533
607
|
theme: ArkTheme;
|
|
534
608
|
lang: ArkLang | undefined;
|
|
@@ -545,6 +619,7 @@ declare class ArkKvEditorComponent implements AfterViewInit, OnChanges, OnDestro
|
|
|
545
619
|
}>>;
|
|
546
620
|
editorRef: ElementRef<HTMLElement & {
|
|
547
621
|
rows: ArkKvRow[];
|
|
622
|
+
valueField: ArkKvValueField | null;
|
|
548
623
|
}>;
|
|
549
624
|
get typesAttr(): string | null;
|
|
550
625
|
private addHandler;
|
|
@@ -554,12 +629,16 @@ declare class ArkKvEditorComponent implements AfterViewInit, OnChanges, OnDestro
|
|
|
554
629
|
ngOnDestroy(): void;
|
|
555
630
|
onChange(event: Event): void;
|
|
556
631
|
private syncRows;
|
|
632
|
+
private syncValueField;
|
|
557
633
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArkKvEditorComponent, never>;
|
|
558
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArkKvEditorComponent, "ark-kv-editor-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "bulk": { "alias": "bulk"; "required": false; }; "bulkFormat": { "alias": "bulkFormat"; "required": false; }; "types": { "alias": "types"; "required": false; }; "description": { "alias": "description"; "required": false; }; "secret": { "alias": "secret"; "required": false; }; "keyPlaceholder": { "alias": "keyPlaceholder"; "required": false; }; "valuePlaceholder": { "alias": "valuePlaceholder"; "required": false; }; "descriptionPlaceholder": { "alias": "descriptionPlaceholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "size": { "alias": "size"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "localeJson": { "alias": "localeJson"; "required": false; }; }, { "changed": "changed"; "arkAdd": "arkAdd"; "arkDelete": "arkDelete"; }, never, never, true, never>;
|
|
634
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArkKvEditorComponent, "ark-kv-editor-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "bulk": { "alias": "bulk"; "required": false; }; "bulkFormat": { "alias": "bulkFormat"; "required": false; }; "types": { "alias": "types"; "required": false; }; "description": { "alias": "description"; "required": false; }; "secret": { "alias": "secret"; "required": false; }; "keyPlaceholder": { "alias": "keyPlaceholder"; "required": false; }; "valuePlaceholder": { "alias": "valuePlaceholder"; "required": false; }; "descriptionPlaceholder": { "alias": "descriptionPlaceholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "size": { "alias": "size"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "localeJson": { "alias": "localeJson"; "required": false; }; }, { "changed": "changed"; "arkAdd": "arkAdd"; "arkDelete": "arkDelete"; }, never, never, true, never>;
|
|
559
635
|
}
|
|
560
636
|
|
|
561
637
|
declare class ArkMarkComponent {
|
|
562
638
|
constructor();
|
|
639
|
+
private readonly host;
|
|
640
|
+
/** O `ark-mark` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
641
|
+
get element(): ArkMark | null;
|
|
563
642
|
testid: string | undefined;
|
|
564
643
|
/** Forma desenhada. Padrão: "circle". */
|
|
565
644
|
shape: ArkMarkShape;
|
|
@@ -576,6 +655,9 @@ declare class ArkMarkComponent {
|
|
|
576
655
|
|
|
577
656
|
declare class ArkMenuComponent {
|
|
578
657
|
constructor();
|
|
658
|
+
private readonly host;
|
|
659
|
+
/** O `ark-menu` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
660
|
+
get element(): ArkMenu | null;
|
|
579
661
|
testid: string | undefined;
|
|
580
662
|
/** id do gatilho: o menu escreve aria-* nele e escuta clique e setas. */
|
|
581
663
|
for: string | undefined;
|
|
@@ -602,6 +684,9 @@ declare class ArkMenuComponent {
|
|
|
602
684
|
}
|
|
603
685
|
declare class ArkMenuItemComponent {
|
|
604
686
|
constructor();
|
|
687
|
+
private readonly host;
|
|
688
|
+
/** O `ark-menu-item` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
689
|
+
get element(): ArkMenuItem | null;
|
|
605
690
|
testid: string | undefined;
|
|
606
691
|
value: string | undefined;
|
|
607
692
|
/** Cor do texto e do hover; "danger" para ações destrutivas. */
|
|
@@ -620,6 +705,9 @@ declare class ArkMenuItemComponent {
|
|
|
620
705
|
|
|
621
706
|
declare class ArkProgressComponent {
|
|
622
707
|
constructor();
|
|
708
|
+
private readonly host;
|
|
709
|
+
/** O `ark-progress` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
710
|
+
get element(): ArkProgress | null;
|
|
623
711
|
testid: string | undefined;
|
|
624
712
|
/** Valor atual, de 0 a max. Padrão: 0. */
|
|
625
713
|
value: number | undefined;
|
|
@@ -640,6 +728,9 @@ declare class ArkProgressComponent {
|
|
|
640
728
|
|
|
641
729
|
declare class ArkRadioComponent {
|
|
642
730
|
constructor();
|
|
731
|
+
private readonly host;
|
|
732
|
+
/** O `ark-radio` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
733
|
+
get element(): ArkRadio | null;
|
|
643
734
|
testid: string | undefined;
|
|
644
735
|
/** Nome acessível, repassado ao elemento (o aria-label no wrapper ficaria no host errado). */
|
|
645
736
|
ariaLabel: string | undefined;
|
|
@@ -654,17 +745,22 @@ declare class ArkRadioComponent {
|
|
|
654
745
|
value: string | undefined;
|
|
655
746
|
/** Rótulo próprio (<label for>); sem ele use aria-label ou o conteúdo projetado como rótulo livre. */
|
|
656
747
|
label: string | undefined;
|
|
748
|
+
/** Dica abaixo do rótulo, ligada ao controle por aria-describedby. */
|
|
749
|
+
helper: string | undefined;
|
|
657
750
|
/** Dispara só no radio que ganhou a marca. */
|
|
658
751
|
changed: EventEmitter<CustomEvent<{
|
|
659
752
|
value: string;
|
|
660
753
|
}>>;
|
|
661
754
|
onChange(event: Event): void;
|
|
662
755
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArkRadioComponent, never>;
|
|
663
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArkRadioComponent, "ark-radio-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "intent": { "alias": "intent"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "size": { "alias": "size"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "changed": "changed"; }, never, ["*"], true, never>;
|
|
756
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArkRadioComponent, "ark-radio-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "intent": { "alias": "intent"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "size": { "alias": "size"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "helper": { "alias": "helper"; "required": false; }; }, { "changed": "changed"; }, never, ["*"], true, never>;
|
|
664
757
|
}
|
|
665
758
|
|
|
666
759
|
declare class ArkSchedulerComponent implements AfterViewInit, OnDestroy {
|
|
667
760
|
constructor();
|
|
761
|
+
private readonly host;
|
|
762
|
+
/** O `ark-scheduler` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
763
|
+
get element(): ArkScheduler | null;
|
|
668
764
|
testid: string | undefined;
|
|
669
765
|
view: ArkSchedulerView;
|
|
670
766
|
date: string | undefined;
|
|
@@ -710,6 +806,9 @@ declare class ArkSchedulerComponent implements AfterViewInit, OnDestroy {
|
|
|
710
806
|
|
|
711
807
|
declare class ArkSelectComponent {
|
|
712
808
|
constructor();
|
|
809
|
+
private readonly host;
|
|
810
|
+
/** O `ark-select` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
811
|
+
get element(): ArkSelect | null;
|
|
713
812
|
testid: string | undefined;
|
|
714
813
|
/** Nome acessível, repassado ao elemento (o aria-label no wrapper ficaria no host errado). */
|
|
715
814
|
ariaLabel: string | undefined;
|
|
@@ -738,11 +837,16 @@ declare class ArkSelectComponent {
|
|
|
738
837
|
|
|
739
838
|
declare class ArkShapePickerComponent {
|
|
740
839
|
constructor();
|
|
840
|
+
private readonly host;
|
|
841
|
+
/** O `ark-shape-picker` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
842
|
+
get element(): ArkShapePicker | null;
|
|
741
843
|
testid: string | undefined;
|
|
742
844
|
/** Nome acessível, repassado ao elemento (o aria-label no wrapper ficaria no host errado). */
|
|
743
845
|
ariaLabel: string | undefined;
|
|
744
846
|
/** Forma selecionada. */
|
|
745
847
|
value: ArkMarkShape | undefined;
|
|
848
|
+
/** Formas oferecidas, na ordem (ou "all"). Padrão: as dez. */
|
|
849
|
+
shapes: ArkMarkShape[] | "all" | undefined;
|
|
746
850
|
/** Cor CSS em que as formas são desenhadas. Padrão: a cor do texto ao redor. */
|
|
747
851
|
color: string | undefined;
|
|
748
852
|
/** Nome acessível do radiogroup. */
|
|
@@ -756,13 +860,17 @@ declare class ArkShapePickerComponent {
|
|
|
756
860
|
changed: EventEmitter<CustomEvent<{
|
|
757
861
|
value: ArkMarkShape;
|
|
758
862
|
}>>;
|
|
863
|
+
get shapesAttr(): string | null;
|
|
759
864
|
onChange(event: Event): void;
|
|
760
865
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArkShapePickerComponent, never>;
|
|
761
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArkShapePickerComponent, "ark-shape-picker-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "localeJson": { "alias": "localeJson"; "required": false; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
866
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArkShapePickerComponent, "ark-shape-picker-wrapper", never, { "testid": { "alias": "testid"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "value": { "alias": "value"; "required": false; }; "shapes": { "alias": "shapes"; "required": false; }; "color": { "alias": "color"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "localeJson": { "alias": "localeJson"; "required": false; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
762
867
|
}
|
|
763
868
|
|
|
764
869
|
declare class ArkSkeletonComponent {
|
|
765
870
|
constructor();
|
|
871
|
+
private readonly host;
|
|
872
|
+
/** O `ark-skeleton` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
873
|
+
get element(): ArkSkeleton | null;
|
|
766
874
|
testid: string | undefined;
|
|
767
875
|
/** Número de barras; acima de 1 troca o bloco por barras em coluna. Padrão: 1. */
|
|
768
876
|
rows: number | undefined;
|
|
@@ -781,6 +889,9 @@ declare class ArkSkeletonComponent {
|
|
|
781
889
|
|
|
782
890
|
declare class ArkSpinnerComponent {
|
|
783
891
|
constructor();
|
|
892
|
+
private readonly host;
|
|
893
|
+
/** O `ark-spinner` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
894
|
+
get element(): ArkSpinner | null;
|
|
784
895
|
testid: string | undefined;
|
|
785
896
|
size: ArkSize;
|
|
786
897
|
/** Cor pelo intent. Padrão: herda a cor do texto ao redor. */
|
|
@@ -796,6 +907,9 @@ declare class ArkSpinnerComponent {
|
|
|
796
907
|
|
|
797
908
|
declare class ArkSplitPaneComponent implements AfterViewInit, OnDestroy {
|
|
798
909
|
constructor();
|
|
910
|
+
private readonly host;
|
|
911
|
+
/** O `ark-split-pane` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
912
|
+
get element(): ArkSplitPane | null;
|
|
799
913
|
testid: string | undefined;
|
|
800
914
|
/** Painéis lado a lado (horizontal) ou empilhados (vertical). Padrão: "horizontal". */
|
|
801
915
|
direction: ArkSplitPaneDirection;
|
|
@@ -819,6 +933,9 @@ declare class ArkSplitPaneComponent implements AfterViewInit, OnDestroy {
|
|
|
819
933
|
|
|
820
934
|
declare class ArkStatusDotComponent {
|
|
821
935
|
constructor();
|
|
936
|
+
private readonly host;
|
|
937
|
+
/** O `ark-status-dot` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
938
|
+
get element(): ArkStatusDot | null;
|
|
822
939
|
testid: string | undefined;
|
|
823
940
|
/** Cor do ponto. Padrão: "neutral". */
|
|
824
941
|
intent: ArkIntent;
|
|
@@ -832,6 +949,9 @@ declare class ArkStatusDotComponent {
|
|
|
832
949
|
|
|
833
950
|
declare class ArkSwitchComponent {
|
|
834
951
|
constructor();
|
|
952
|
+
private readonly host;
|
|
953
|
+
/** O `ark-switch` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
954
|
+
get element(): ArkSwitch | null;
|
|
835
955
|
testid: string | undefined;
|
|
836
956
|
/** Nome acessível, repassado ao elemento (o aria-label no wrapper ficaria no host errado). */
|
|
837
957
|
ariaLabel: string | undefined;
|
|
@@ -858,6 +978,9 @@ declare class ArkSwitchComponent {
|
|
|
858
978
|
|
|
859
979
|
declare class ArkTabsComponent implements AfterViewInit, OnDestroy {
|
|
860
980
|
constructor();
|
|
981
|
+
private readonly host;
|
|
982
|
+
/** O `ark-tabs` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
983
|
+
get element(): ArkTabs | null;
|
|
861
984
|
testid: string | undefined;
|
|
862
985
|
/** Value da aba ativa; sem ele a primeira habilitada assume. */
|
|
863
986
|
value: string | undefined;
|
|
@@ -890,6 +1013,9 @@ declare class ArkTabsComponent implements AfterViewInit, OnDestroy {
|
|
|
890
1013
|
}
|
|
891
1014
|
declare class ArkTabComponent {
|
|
892
1015
|
constructor();
|
|
1016
|
+
private readonly host;
|
|
1017
|
+
/** O `ark-tab` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1018
|
+
get element(): ArkTab | null;
|
|
893
1019
|
testid: string | undefined;
|
|
894
1020
|
value: string;
|
|
895
1021
|
disabled: boolean;
|
|
@@ -905,6 +1031,9 @@ declare class ArkTabComponent {
|
|
|
905
1031
|
|
|
906
1032
|
declare class ArkTextareaComponent {
|
|
907
1033
|
constructor();
|
|
1034
|
+
private readonly host;
|
|
1035
|
+
/** O `ark-textarea` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1036
|
+
get element(): ArkTextarea | null;
|
|
908
1037
|
testid: string | undefined;
|
|
909
1038
|
label: string | undefined;
|
|
910
1039
|
placeholder: string | undefined;
|
|
@@ -942,6 +1071,9 @@ declare class ArkTextareaComponent {
|
|
|
942
1071
|
|
|
943
1072
|
declare class ArkToasterComponent {
|
|
944
1073
|
constructor();
|
|
1074
|
+
private readonly host;
|
|
1075
|
+
/** O `ark-toaster` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1076
|
+
get element(): ArkToaster | null;
|
|
945
1077
|
testid: string | undefined;
|
|
946
1078
|
theme: ArkTheme;
|
|
947
1079
|
position: ArkToastPosition;
|
|
@@ -963,6 +1095,9 @@ declare class ArkToasterComponent {
|
|
|
963
1095
|
|
|
964
1096
|
declare class ArkToggleComponent {
|
|
965
1097
|
constructor();
|
|
1098
|
+
private readonly host;
|
|
1099
|
+
/** O `ark-toggle` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1100
|
+
get element(): ArkToggle | null;
|
|
966
1101
|
testid: string | undefined;
|
|
967
1102
|
/** Nome acessível, repassado ao elemento (o aria-label no wrapper ficaria no host errado). */
|
|
968
1103
|
ariaLabel: string | undefined;
|
|
@@ -982,6 +1117,9 @@ declare class ArkToggleComponent {
|
|
|
982
1117
|
}
|
|
983
1118
|
declare class ArkToggleGroupComponent {
|
|
984
1119
|
constructor();
|
|
1120
|
+
private readonly host;
|
|
1121
|
+
/** O `ark-toggle-group` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1122
|
+
get element(): ArkToggleGroup | null;
|
|
985
1123
|
testid: string | undefined;
|
|
986
1124
|
value: string | undefined;
|
|
987
1125
|
multiple: boolean;
|
|
@@ -1000,6 +1138,9 @@ declare class ArkToggleGroupComponent {
|
|
|
1000
1138
|
|
|
1001
1139
|
declare class ArkTooltipComponent {
|
|
1002
1140
|
constructor();
|
|
1141
|
+
private readonly host;
|
|
1142
|
+
/** O `ark-tooltip` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1143
|
+
get element(): ArkTooltip | null;
|
|
1003
1144
|
testid: string | undefined;
|
|
1004
1145
|
/** Texto do balão; para conteúdo rico, projete um filho com slot="content". */
|
|
1005
1146
|
content: string | undefined;
|