@tooark/angular 1.2.2 → 1.3.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 +4 -3
- package/README.pt-BR.md +4 -3
- package/fesm2022/tooark-angular.mjs +228 -3
- package/fesm2022/tooark-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/types/tooark-angular.d.ts +134 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { dismissToast, showToast, toast } from '@tooark/core';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { EventEmitter, ViewChild, Output, Input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import { inject, ElementRef, EventEmitter, ViewChild, Output, Input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
4
4
|
import { registerTooarkComponents } from '@tooark/web-components';
|
|
5
5
|
|
|
6
6
|
let isRegistered = false;
|
|
@@ -22,6 +22,7 @@ function ensureTooarkComponentsRegistered() {
|
|
|
22
22
|
|
|
23
23
|
class ArkAlertComponent {
|
|
24
24
|
constructor() {
|
|
25
|
+
this.host = inject(ElementRef);
|
|
25
26
|
this.intent = "info";
|
|
26
27
|
/** Caixa arredondada ou banner de largura toda. Padrão: "box". */
|
|
27
28
|
this.variant = "box";
|
|
@@ -33,6 +34,10 @@ class ArkAlertComponent {
|
|
|
33
34
|
this.dismissHandler = (event) => this.arkDismiss.emit(event);
|
|
34
35
|
ensureTooarkComponentsRegistered();
|
|
35
36
|
}
|
|
37
|
+
/** O `ark-alert` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
38
|
+
get element() {
|
|
39
|
+
return this.host.nativeElement.querySelector(":scope > ark-alert");
|
|
40
|
+
}
|
|
36
41
|
ngAfterViewInit() {
|
|
37
42
|
this.alertRef?.nativeElement?.addEventListener("ark-dismiss", this.dismissHandler);
|
|
38
43
|
}
|
|
@@ -103,12 +108,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
103
108
|
|
|
104
109
|
class ArkAvatarComponent {
|
|
105
110
|
constructor() {
|
|
111
|
+
this.host = inject(ElementRef);
|
|
106
112
|
this.size = "md";
|
|
107
113
|
/** Círculo ou quadrado de cantos arredondados. Padrão: "circle". */
|
|
108
114
|
this.shape = "circle";
|
|
109
115
|
this.theme = "auto";
|
|
110
116
|
ensureTooarkComponentsRegistered();
|
|
111
117
|
}
|
|
118
|
+
/** O `ark-avatar` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
119
|
+
get element() {
|
|
120
|
+
return this.host.nativeElement.querySelector(":scope > ark-avatar");
|
|
121
|
+
}
|
|
112
122
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
113
123
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkAvatarComponent, isStandalone: true, selector: "ark-avatar-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", name: "name", src: "src", size: "size", shape: "shape", color: "color", theme: "theme" }, ngImport: i0, template: `
|
|
114
124
|
<ark-avatar
|
|
@@ -160,6 +170,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
160
170
|
|
|
161
171
|
class ArkBadgeComponent {
|
|
162
172
|
constructor() {
|
|
173
|
+
this.host = inject(ElementRef);
|
|
163
174
|
this.intent = "neutral";
|
|
164
175
|
this.variant = "soft";
|
|
165
176
|
this.size = "md";
|
|
@@ -167,6 +178,10 @@ class ArkBadgeComponent {
|
|
|
167
178
|
this.theme = "auto";
|
|
168
179
|
ensureTooarkComponentsRegistered();
|
|
169
180
|
}
|
|
181
|
+
/** O `ark-badge` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
182
|
+
get element() {
|
|
183
|
+
return this.host.nativeElement.querySelector(":scope > ark-badge");
|
|
184
|
+
}
|
|
170
185
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
171
186
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkBadgeComponent, isStandalone: true, selector: "ark-badge-wrapper", inputs: { testid: "testid", intent: "intent", variant: "variant", size: "size", rounded: "rounded", color: "color", theme: "theme" }, ngImport: i0, template: `
|
|
172
187
|
<ark-badge
|
|
@@ -216,6 +231,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
216
231
|
|
|
217
232
|
class ArkButtonComponent {
|
|
218
233
|
constructor() {
|
|
234
|
+
this.host = inject(ElementRef);
|
|
219
235
|
this.type = "button";
|
|
220
236
|
this.disabled = false;
|
|
221
237
|
this.loading = false;
|
|
@@ -227,6 +243,10 @@ class ArkButtonComponent {
|
|
|
227
243
|
this.rounded = "md";
|
|
228
244
|
ensureTooarkComponentsRegistered();
|
|
229
245
|
}
|
|
246
|
+
/** O `ark-button` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
247
|
+
get element() {
|
|
248
|
+
return this.host.nativeElement.querySelector(":scope > ark-button");
|
|
249
|
+
}
|
|
230
250
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
231
251
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkButtonComponent, isStandalone: true, selector: "ark-button-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", type: "type", disabled: "disabled", loading: "loading", status: "status", statusLabel: "statusLabel", iconOnly: "iconOnly", fullWidth: "fullWidth", variant: "variant", intent: "intent", theme: "theme", size: "size", rounded: "rounded", href: "href", target: "target", color: "color", textColor: "textColor" }, ngImport: i0, template: `
|
|
232
252
|
<ark-button
|
|
@@ -320,6 +340,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
320
340
|
|
|
321
341
|
class ArkCalendarComponent {
|
|
322
342
|
constructor() {
|
|
343
|
+
this.host = inject(ElementRef);
|
|
323
344
|
this.lang = "en";
|
|
324
345
|
this.theme = "auto";
|
|
325
346
|
this.intent = "primary";
|
|
@@ -327,6 +348,10 @@ class ArkCalendarComponent {
|
|
|
327
348
|
this.handler = (e) => this.arkChange.emit(e.detail);
|
|
328
349
|
ensureTooarkComponentsRegistered();
|
|
329
350
|
}
|
|
351
|
+
/** O `ark-calendar` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
352
|
+
get element() {
|
|
353
|
+
return this.host.nativeElement.querySelector(":scope > ark-calendar");
|
|
354
|
+
}
|
|
330
355
|
get eventsStr() {
|
|
331
356
|
return this.events ? JSON.stringify(this.events) : undefined;
|
|
332
357
|
}
|
|
@@ -409,9 +434,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
409
434
|
|
|
410
435
|
class ArkCardComponent {
|
|
411
436
|
constructor() {
|
|
437
|
+
this.host = inject(ElementRef);
|
|
412
438
|
this.theme = "auto";
|
|
413
439
|
ensureTooarkComponentsRegistered();
|
|
414
440
|
}
|
|
441
|
+
/** O `ark-card` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
442
|
+
get element() {
|
|
443
|
+
return this.host.nativeElement.querySelector(":scope > ark-card");
|
|
444
|
+
}
|
|
415
445
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
416
446
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkCardComponent, isStandalone: true, selector: "ark-card-wrapper", inputs: { testid: "testid", heading: "heading", padding: "padding", rounded: "rounded", theme: "theme" }, ngImport: i0, template: `
|
|
417
447
|
<ark-card
|
|
@@ -453,6 +483,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
453
483
|
|
|
454
484
|
class ArkCarouselComponent {
|
|
455
485
|
constructor() {
|
|
486
|
+
this.host = inject(ElementRef);
|
|
456
487
|
this.theme = "auto";
|
|
457
488
|
this.intent = "primary";
|
|
458
489
|
this.slidesPerView = 1;
|
|
@@ -469,6 +500,10 @@ class ArkCarouselComponent {
|
|
|
469
500
|
this.handler = (e) => this.arkSlideChange.emit(e.detail);
|
|
470
501
|
ensureTooarkComponentsRegistered();
|
|
471
502
|
}
|
|
503
|
+
/** O `ark-carousel` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
504
|
+
get element() {
|
|
505
|
+
return this.host.nativeElement.querySelector(":scope > ark-carousel");
|
|
506
|
+
}
|
|
472
507
|
ngAfterViewInit() {
|
|
473
508
|
this.carouselRef?.nativeElement?.addEventListener("ark-slide-change", this.handler);
|
|
474
509
|
}
|
|
@@ -559,6 +594,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
559
594
|
|
|
560
595
|
class ArkCheckboxComponent {
|
|
561
596
|
constructor() {
|
|
597
|
+
this.host = inject(ElementRef);
|
|
562
598
|
this.checked = false;
|
|
563
599
|
/** Estado misto (aria-checked="mixed", traço); o próximo clique o limpa. */
|
|
564
600
|
this.indeterminate = false;
|
|
@@ -569,6 +605,10 @@ class ArkCheckboxComponent {
|
|
|
569
605
|
this.changed = new EventEmitter();
|
|
570
606
|
ensureTooarkComponentsRegistered();
|
|
571
607
|
}
|
|
608
|
+
/** O `ark-checkbox` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
609
|
+
get element() {
|
|
610
|
+
return this.host.nativeElement.querySelector(":scope > ark-checkbox");
|
|
611
|
+
}
|
|
572
612
|
onChange(event) {
|
|
573
613
|
this.changed.emit(event);
|
|
574
614
|
}
|
|
@@ -641,6 +681,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
641
681
|
|
|
642
682
|
class ArkClockComponent {
|
|
643
683
|
constructor() {
|
|
684
|
+
this.host = inject(ElementRef);
|
|
644
685
|
this.lang = "en";
|
|
645
686
|
this.theme = "auto";
|
|
646
687
|
this.intent = "primary";
|
|
@@ -650,6 +691,10 @@ class ArkClockComponent {
|
|
|
650
691
|
this.handler = (e) => this.arkChange.emit(e.detail);
|
|
651
692
|
ensureTooarkComponentsRegistered();
|
|
652
693
|
}
|
|
694
|
+
/** O `ark-clock` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
695
|
+
get element() {
|
|
696
|
+
return this.host.nativeElement.querySelector(":scope > ark-clock");
|
|
697
|
+
}
|
|
653
698
|
ngAfterViewInit() {
|
|
654
699
|
this.clockRef?.nativeElement?.addEventListener("ark-change", this.handler);
|
|
655
700
|
}
|
|
@@ -714,6 +759,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
714
759
|
|
|
715
760
|
class ArkColorSwatchesComponent {
|
|
716
761
|
constructor() {
|
|
762
|
+
this.host = inject(ElementRef);
|
|
717
763
|
this.disabled = false;
|
|
718
764
|
this.size = "md";
|
|
719
765
|
this.theme = "auto";
|
|
@@ -721,6 +767,10 @@ class ArkColorSwatchesComponent {
|
|
|
721
767
|
this.changed = new EventEmitter();
|
|
722
768
|
ensureTooarkComponentsRegistered();
|
|
723
769
|
}
|
|
770
|
+
/** O `ark-color-swatches` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
771
|
+
get element() {
|
|
772
|
+
return this.host.nativeElement.querySelector(":scope > ark-color-swatches");
|
|
773
|
+
}
|
|
724
774
|
get colorsJson() {
|
|
725
775
|
return this.colors ? JSON.stringify(this.colors) : null;
|
|
726
776
|
}
|
|
@@ -782,6 +832,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
782
832
|
|
|
783
833
|
class ArkCommandPaletteComponent {
|
|
784
834
|
constructor() {
|
|
835
|
+
this.host = inject(ElementRef);
|
|
785
836
|
/** Aberta; a saída anima antes de sair do top layer. */
|
|
786
837
|
this.open = false;
|
|
787
838
|
/** A página continua rolando com a paleta aberta. */
|
|
@@ -801,6 +852,10 @@ class ArkCommandPaletteComponent {
|
|
|
801
852
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
802
853
|
ensureTooarkComponentsRegistered();
|
|
803
854
|
}
|
|
855
|
+
/** O `ark-command-palette` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
856
|
+
get element() {
|
|
857
|
+
return this.host.nativeElement.querySelector(":scope > ark-command-palette");
|
|
858
|
+
}
|
|
804
859
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
805
860
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkCommandPaletteComponent, isStandalone: true, selector: "ark-command-palette-wrapper", inputs: { testid: "testid", open: "open", placeholder: "placeholder", hotkey: "hotkey", noScrollLock: "noScrollLock", filter: "filter", queryDelay: "queryDelay", label: "label", theme: "theme", lang: "lang", localeJson: "localeJson", ariaLabel: "ariaLabel" }, outputs: { arkSelect: "arkSelect", arkQuery: "arkQuery", arkOpen: "arkOpen", arkClose: "arkClose" }, ngImport: i0, template: `
|
|
806
861
|
<ark-command-palette
|
|
@@ -885,10 +940,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
885
940
|
}] } });
|
|
886
941
|
class ArkCommandItemComponent {
|
|
887
942
|
constructor() {
|
|
943
|
+
this.host = inject(ElementRef);
|
|
888
944
|
this.value = "";
|
|
889
945
|
this.disabled = false;
|
|
890
946
|
ensureTooarkComponentsRegistered();
|
|
891
947
|
}
|
|
948
|
+
/** O `ark-command-item` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
949
|
+
get element() {
|
|
950
|
+
return this.host.nativeElement.querySelector(":scope > ark-command-item");
|
|
951
|
+
}
|
|
892
952
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCommandItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
893
953
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkCommandItemComponent, isStandalone: true, selector: "ark-command-item-wrapper", inputs: { testid: "testid", value: "value", group: "group", label: "label", disabled: "disabled" }, host: { styleAttribute: "display: contents" }, ngImport: i0, template: `
|
|
894
954
|
<ark-command-item
|
|
@@ -932,6 +992,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
932
992
|
|
|
933
993
|
class ArkCopyButtonComponent {
|
|
934
994
|
constructor() {
|
|
995
|
+
this.host = inject(ElementRef);
|
|
935
996
|
this.variant = "primary";
|
|
936
997
|
this.theme = "auto";
|
|
937
998
|
this.size = "md";
|
|
@@ -944,6 +1005,10 @@ class ArkCopyButtonComponent {
|
|
|
944
1005
|
this.copyHandler = (event) => this.arkCopy.emit(event);
|
|
945
1006
|
ensureTooarkComponentsRegistered();
|
|
946
1007
|
}
|
|
1008
|
+
/** O `ark-copy-button` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1009
|
+
get element() {
|
|
1010
|
+
return this.host.nativeElement.querySelector(":scope > ark-copy-button");
|
|
1011
|
+
}
|
|
947
1012
|
ngAfterViewInit() {
|
|
948
1013
|
this.buttonRef?.nativeElement?.addEventListener("ark-copy", this.copyHandler);
|
|
949
1014
|
}
|
|
@@ -1050,6 +1115,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1050
1115
|
|
|
1051
1116
|
class ArkDatepickerComponent {
|
|
1052
1117
|
constructor() {
|
|
1118
|
+
this.host = inject(ElementRef);
|
|
1053
1119
|
this.lang = "en";
|
|
1054
1120
|
this.theme = "auto";
|
|
1055
1121
|
this.intent = "primary";
|
|
@@ -1061,6 +1127,10 @@ class ArkDatepickerComponent {
|
|
|
1061
1127
|
this.handler = (e) => this.arkChange.emit(e.detail);
|
|
1062
1128
|
ensureTooarkComponentsRegistered();
|
|
1063
1129
|
}
|
|
1130
|
+
/** O `ark-datepicker` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1131
|
+
get element() {
|
|
1132
|
+
return this.host.nativeElement.querySelector(":scope > ark-datepicker");
|
|
1133
|
+
}
|
|
1064
1134
|
get eventsStr() {
|
|
1065
1135
|
return this.events ? JSON.stringify(this.events) : undefined;
|
|
1066
1136
|
}
|
|
@@ -1179,6 +1249,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1179
1249
|
|
|
1180
1250
|
class ArkDialogComponent {
|
|
1181
1251
|
constructor() {
|
|
1252
|
+
this.host = inject(ElementRef);
|
|
1182
1253
|
/** Aberto; a saída anima antes de sair do top layer. */
|
|
1183
1254
|
this.open = false;
|
|
1184
1255
|
/** Esconde o botão de fechar do cabeçalho. */
|
|
@@ -1199,6 +1270,10 @@ class ArkDialogComponent {
|
|
|
1199
1270
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1200
1271
|
ensureTooarkComponentsRegistered();
|
|
1201
1272
|
}
|
|
1273
|
+
/** O `ark-dialog` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1274
|
+
get element() {
|
|
1275
|
+
return this.host.nativeElement.querySelector(":scope > ark-dialog");
|
|
1276
|
+
}
|
|
1202
1277
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1203
1278
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkDialogComponent, isStandalone: true, selector: "ark-dialog-wrapper", inputs: { testid: "testid", open: "open", label: "label", noCloseButton: "noCloseButton", persistent: "persistent", noScrollLock: "noScrollLock", size: "size", width: "width", height: "height", theme: "theme", lang: "lang", localeJson: "localeJson", ariaLabel: "ariaLabel" }, outputs: { arkOpen: "arkOpen", arkClose: "arkClose" }, ngImport: i0, template: `
|
|
1204
1279
|
<ark-dialog
|
|
@@ -1280,6 +1355,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1280
1355
|
|
|
1281
1356
|
class ArkDrawerComponent {
|
|
1282
1357
|
constructor() {
|
|
1358
|
+
this.host = inject(ElementRef);
|
|
1283
1359
|
/** Aberta; a saída anima antes de esconder. */
|
|
1284
1360
|
this.open = false;
|
|
1285
1361
|
/** Borda onde a gaveta encosta. Padrão: "right". */
|
|
@@ -1302,6 +1378,10 @@ class ArkDrawerComponent {
|
|
|
1302
1378
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1303
1379
|
ensureTooarkComponentsRegistered();
|
|
1304
1380
|
}
|
|
1381
|
+
/** O `ark-drawer` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1382
|
+
get element() {
|
|
1383
|
+
return this.host.nativeElement.querySelector(":scope > ark-drawer");
|
|
1384
|
+
}
|
|
1305
1385
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1306
1386
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkDrawerComponent, isStandalone: true, selector: "ark-drawer-wrapper", inputs: { testid: "testid", open: "open", side: "side", mode: "mode", size: "size", label: "label", noCloseButton: "noCloseButton", persistent: "persistent", noScrollLock: "noScrollLock", theme: "theme", lang: "lang", localeJson: "localeJson", ariaLabel: "ariaLabel" }, outputs: { arkOpen: "arkOpen", arkClose: "arkClose" }, ngImport: i0, template: `
|
|
1307
1387
|
<ark-drawer
|
|
@@ -1383,9 +1463,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1383
1463
|
|
|
1384
1464
|
class ArkEmptyComponent {
|
|
1385
1465
|
constructor() {
|
|
1466
|
+
this.host = inject(ElementRef);
|
|
1386
1467
|
this.theme = "auto";
|
|
1387
1468
|
ensureTooarkComponentsRegistered();
|
|
1388
1469
|
}
|
|
1470
|
+
/** O `ark-empty` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1471
|
+
get element() {
|
|
1472
|
+
return this.host.nativeElement.querySelector(":scope > ark-empty");
|
|
1473
|
+
}
|
|
1389
1474
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkEmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1390
1475
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkEmptyComponent, isStandalone: true, selector: "ark-empty-wrapper", inputs: { testid: "testid", heading: "heading", description: "description", theme: "theme" }, ngImport: i0, template: `
|
|
1391
1476
|
<ark-empty
|
|
@@ -1423,6 +1508,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1423
1508
|
|
|
1424
1509
|
class ArkFileInputComponent {
|
|
1425
1510
|
constructor() {
|
|
1511
|
+
this.host = inject(ElementRef);
|
|
1426
1512
|
/** Aceita vários arquivos; sem ele o drop fica com o primeiro. */
|
|
1427
1513
|
this.multiple = false;
|
|
1428
1514
|
/** Estado de erro sem mensagem (borda danger e aria-invalid). */
|
|
@@ -1436,6 +1522,10 @@ class ArkFileInputComponent {
|
|
|
1436
1522
|
this.changed = new EventEmitter();
|
|
1437
1523
|
ensureTooarkComponentsRegistered();
|
|
1438
1524
|
}
|
|
1525
|
+
/** O `ark-file-input` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1526
|
+
get element() {
|
|
1527
|
+
return this.host.nativeElement.querySelector(":scope > ark-file-input");
|
|
1528
|
+
}
|
|
1439
1529
|
onChange(event) {
|
|
1440
1530
|
this.changed.emit(event);
|
|
1441
1531
|
}
|
|
@@ -1526,6 +1616,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1526
1616
|
|
|
1527
1617
|
class ArkInputComponent {
|
|
1528
1618
|
constructor() {
|
|
1619
|
+
this.host = inject(ElementRef);
|
|
1529
1620
|
this.type = "text";
|
|
1530
1621
|
this.size = "md";
|
|
1531
1622
|
this.intent = "primary";
|
|
@@ -1540,6 +1631,10 @@ class ArkInputComponent {
|
|
|
1540
1631
|
this.autofocus = false;
|
|
1541
1632
|
ensureTooarkComponentsRegistered();
|
|
1542
1633
|
}
|
|
1634
|
+
/** O `ark-input` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1635
|
+
get element() {
|
|
1636
|
+
return this.host.nativeElement.querySelector(":scope > ark-input");
|
|
1637
|
+
}
|
|
1543
1638
|
get spellcheckAttr() {
|
|
1544
1639
|
return this.spellcheck === undefined ? null : String(this.spellcheck);
|
|
1545
1640
|
}
|
|
@@ -1684,10 +1779,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1684
1779
|
|
|
1685
1780
|
class ArkKbdComponent {
|
|
1686
1781
|
constructor() {
|
|
1782
|
+
this.host = inject(ElementRef);
|
|
1687
1783
|
this.size = "md";
|
|
1688
1784
|
this.theme = "auto";
|
|
1689
1785
|
ensureTooarkComponentsRegistered();
|
|
1690
1786
|
}
|
|
1787
|
+
/** O `ark-kbd` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1788
|
+
get element() {
|
|
1789
|
+
return this.host.nativeElement.querySelector(":scope > ark-kbd");
|
|
1790
|
+
}
|
|
1691
1791
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkKbdComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1692
1792
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkKbdComponent, isStandalone: true, selector: "ark-kbd-wrapper", inputs: { testid: "testid", size: "size", theme: "theme" }, ngImport: i0, template: `
|
|
1693
1793
|
<ark-kbd
|
|
@@ -1721,6 +1821,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1721
1821
|
|
|
1722
1822
|
class ArkKvEditorComponent {
|
|
1723
1823
|
constructor() {
|
|
1824
|
+
this.host = inject(ElementRef);
|
|
1724
1825
|
/** Modo de edição em massa (textarea). */
|
|
1725
1826
|
this.bulk = false;
|
|
1726
1827
|
/** Mostra a coluna de descrição. */
|
|
@@ -1738,11 +1839,16 @@ class ArkKvEditorComponent {
|
|
|
1738
1839
|
this.deleteHandler = (event) => this.arkDelete.emit(event);
|
|
1739
1840
|
ensureTooarkComponentsRegistered();
|
|
1740
1841
|
}
|
|
1842
|
+
/** O `ark-kv-editor` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1843
|
+
get element() {
|
|
1844
|
+
return this.host.nativeElement.querySelector(":scope > ark-kv-editor");
|
|
1845
|
+
}
|
|
1741
1846
|
get typesAttr() {
|
|
1742
1847
|
return this.types && this.types.length > 0 ? this.types.join(",") : null;
|
|
1743
1848
|
}
|
|
1744
1849
|
ngAfterViewInit() {
|
|
1745
1850
|
this.syncRows();
|
|
1851
|
+
this.syncValueField();
|
|
1746
1852
|
this.editorRef?.nativeElement?.addEventListener("ark-add", this.addHandler);
|
|
1747
1853
|
this.editorRef?.nativeElement?.addEventListener("ark-delete", this.deleteHandler);
|
|
1748
1854
|
}
|
|
@@ -1750,6 +1856,8 @@ class ArkKvEditorComponent {
|
|
|
1750
1856
|
// Só um `rows` novo substitui o modelo: bulk, readonly ou theme mudando não podem apagar o que o usuário editou.
|
|
1751
1857
|
if (changes.rows)
|
|
1752
1858
|
this.syncRows();
|
|
1859
|
+
if (changes.valueField)
|
|
1860
|
+
this.syncValueField();
|
|
1753
1861
|
}
|
|
1754
1862
|
ngOnDestroy() {
|
|
1755
1863
|
this.editorRef?.nativeElement?.removeEventListener("ark-add", this.addHandler);
|
|
@@ -1763,8 +1871,14 @@ class ArkKvEditorComponent {
|
|
|
1763
1871
|
if (el && this.rows)
|
|
1764
1872
|
el.rows = this.rows;
|
|
1765
1873
|
}
|
|
1874
|
+
// Função, então propriedade; só é gravada quando o app dá uma, para o editor sem ela não recriar as linhas.
|
|
1875
|
+
syncValueField() {
|
|
1876
|
+
const el = this.editorRef?.nativeElement;
|
|
1877
|
+
if (el && (this.valueField || el.valueField))
|
|
1878
|
+
el.valueField = this.valueField ?? null;
|
|
1879
|
+
}
|
|
1766
1880
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkKvEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1767
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkKvEditorComponent, isStandalone: true, selector: "ark-kv-editor-wrapper", inputs: { testid: "testid", rows: "rows", bulk: "bulk", bulkFormat: "bulkFormat", types: "types", description: "description", secret: "secret", keyPlaceholder: "keyPlaceholder", valuePlaceholder: "valuePlaceholder", descriptionPlaceholder: "descriptionPlaceholder", readonly: "readonly", size: "size", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed", arkAdd: "arkAdd", arkDelete: "arkDelete" }, viewQueries: [{ propertyName: "editorRef", first: true, predicate: ["editor"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
1881
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkKvEditorComponent, isStandalone: true, selector: "ark-kv-editor-wrapper", inputs: { testid: "testid", rows: "rows", bulk: "bulk", bulkFormat: "bulkFormat", types: "types", description: "description", secret: "secret", keyPlaceholder: "keyPlaceholder", valuePlaceholder: "valuePlaceholder", descriptionPlaceholder: "descriptionPlaceholder", readonly: "readonly", valueField: "valueField", size: "size", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed", arkAdd: "arkAdd", arkDelete: "arkDelete" }, viewQueries: [{ propertyName: "editorRef", first: true, predicate: ["editor"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
1768
1882
|
<ark-kv-editor
|
|
1769
1883
|
#editor
|
|
1770
1884
|
[attr.testid]="testid"
|
|
@@ -1832,6 +1946,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1832
1946
|
type: Input
|
|
1833
1947
|
}], readonly: [{
|
|
1834
1948
|
type: Input
|
|
1949
|
+
}], valueField: [{
|
|
1950
|
+
type: Input
|
|
1835
1951
|
}], size: [{
|
|
1836
1952
|
type: Input
|
|
1837
1953
|
}], theme: [{
|
|
@@ -1853,11 +1969,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1853
1969
|
|
|
1854
1970
|
class ArkMarkComponent {
|
|
1855
1971
|
constructor() {
|
|
1972
|
+
this.host = inject(ElementRef);
|
|
1856
1973
|
/** Forma desenhada. Padrão: "circle". */
|
|
1857
1974
|
this.shape = "circle";
|
|
1858
1975
|
this.theme = "auto";
|
|
1859
1976
|
ensureTooarkComponentsRegistered();
|
|
1860
1977
|
}
|
|
1978
|
+
/** O `ark-mark` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1979
|
+
get element() {
|
|
1980
|
+
return this.host.nativeElement.querySelector(":scope > ark-mark");
|
|
1981
|
+
}
|
|
1861
1982
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkMarkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1862
1983
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkMarkComponent, isStandalone: true, selector: "ark-mark-wrapper", inputs: { testid: "testid", shape: "shape", color: "color", size: "size", label: "label", theme: "theme" }, ngImport: i0, template: `
|
|
1863
1984
|
<ark-mark
|
|
@@ -1901,6 +2022,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1901
2022
|
|
|
1902
2023
|
class ArkMenuComponent {
|
|
1903
2024
|
constructor() {
|
|
2025
|
+
this.host = inject(ElementRef);
|
|
1904
2026
|
/** Aberto; refletido do estado do popover. */
|
|
1905
2027
|
this.open = false;
|
|
1906
2028
|
/** Alinhamento em relação ao gatilho. Padrão: "start". */
|
|
@@ -1920,6 +2042,10 @@ class ArkMenuComponent {
|
|
|
1920
2042
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1921
2043
|
ensureTooarkComponentsRegistered();
|
|
1922
2044
|
}
|
|
2045
|
+
/** O `ark-menu` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2046
|
+
get element() {
|
|
2047
|
+
return this.host.nativeElement.querySelector(":scope > ark-menu");
|
|
2048
|
+
}
|
|
1923
2049
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1924
2050
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkMenuComponent, isStandalone: true, selector: "ark-menu-wrapper", inputs: { testid: "testid", for: "for", open: "open", align: "align", direction: "direction", size: "size", theme: "theme", ariaLabel: "ariaLabel" }, outputs: { arkSelect: "arkSelect", arkOpen: "arkOpen", arkClose: "arkClose" }, ngImport: i0, template: `
|
|
1925
2051
|
<ark-menu
|
|
@@ -1984,6 +2110,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1984
2110
|
}] } });
|
|
1985
2111
|
class ArkMenuItemComponent {
|
|
1986
2112
|
constructor() {
|
|
2113
|
+
this.host = inject(ElementRef);
|
|
1987
2114
|
this.disabled = false;
|
|
1988
2115
|
/** Linha separadora (role separator). */
|
|
1989
2116
|
this.divider = false;
|
|
@@ -1991,6 +2118,10 @@ class ArkMenuItemComponent {
|
|
|
1991
2118
|
this.static = false;
|
|
1992
2119
|
ensureTooarkComponentsRegistered();
|
|
1993
2120
|
}
|
|
2121
|
+
/** O `ark-menu-item` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2122
|
+
get element() {
|
|
2123
|
+
return this.host.nativeElement.querySelector(":scope > ark-menu-item");
|
|
2124
|
+
}
|
|
1994
2125
|
get checkedAttr() {
|
|
1995
2126
|
if (this.checked === undefined)
|
|
1996
2127
|
return null;
|
|
@@ -2045,6 +2176,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2045
2176
|
|
|
2046
2177
|
class ArkProgressComponent {
|
|
2047
2178
|
constructor() {
|
|
2179
|
+
this.host = inject(ElementRef);
|
|
2048
2180
|
/** Segmento em loop no lugar do valor (loader contínuo, isento de movimento reduzido). */
|
|
2049
2181
|
this.indeterminate = false;
|
|
2050
2182
|
/** Mostra a porcentagem ao lado do trilho. */
|
|
@@ -2054,6 +2186,10 @@ class ArkProgressComponent {
|
|
|
2054
2186
|
this.theme = "auto";
|
|
2055
2187
|
ensureTooarkComponentsRegistered();
|
|
2056
2188
|
}
|
|
2189
|
+
/** O `ark-progress` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2190
|
+
get element() {
|
|
2191
|
+
return this.host.nativeElement.querySelector(":scope > ark-progress");
|
|
2192
|
+
}
|
|
2057
2193
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2058
2194
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkProgressComponent, isStandalone: true, selector: "ark-progress-wrapper", inputs: { testid: "testid", value: "value", max: "max", indeterminate: "indeterminate", label: "label", showValue: "showValue", intent: "intent", size: "size", theme: "theme" }, ngImport: i0, template: `
|
|
2059
2195
|
<ark-progress
|
|
@@ -2109,6 +2245,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2109
2245
|
|
|
2110
2246
|
class ArkRadioComponent {
|
|
2111
2247
|
constructor() {
|
|
2248
|
+
this.host = inject(ElementRef);
|
|
2112
2249
|
this.checked = false;
|
|
2113
2250
|
this.disabled = false;
|
|
2114
2251
|
this.intent = "primary";
|
|
@@ -2118,6 +2255,10 @@ class ArkRadioComponent {
|
|
|
2118
2255
|
this.changed = new EventEmitter();
|
|
2119
2256
|
ensureTooarkComponentsRegistered();
|
|
2120
2257
|
}
|
|
2258
|
+
/** O `ark-radio` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2259
|
+
get element() {
|
|
2260
|
+
return this.host.nativeElement.querySelector(":scope > ark-radio");
|
|
2261
|
+
}
|
|
2121
2262
|
onChange(event) {
|
|
2122
2263
|
this.changed.emit(event);
|
|
2123
2264
|
}
|
|
@@ -2186,6 +2327,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2186
2327
|
|
|
2187
2328
|
class ArkSchedulerComponent {
|
|
2188
2329
|
constructor() {
|
|
2330
|
+
this.host = inject(ElementRef);
|
|
2189
2331
|
this.view = "week";
|
|
2190
2332
|
this.lang = "en";
|
|
2191
2333
|
this.theme = "auto";
|
|
@@ -2200,6 +2342,10 @@ class ArkSchedulerComponent {
|
|
|
2200
2342
|
this.rangeChangeHandler = (e) => this.arkRangeChange.emit(e.detail);
|
|
2201
2343
|
ensureTooarkComponentsRegistered();
|
|
2202
2344
|
}
|
|
2345
|
+
/** O `ark-scheduler` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2346
|
+
get element() {
|
|
2347
|
+
return this.host.nativeElement.querySelector(":scope > ark-scheduler");
|
|
2348
|
+
}
|
|
2203
2349
|
get eventsStr() {
|
|
2204
2350
|
return this.events ? JSON.stringify(this.events) : undefined;
|
|
2205
2351
|
}
|
|
@@ -2305,6 +2451,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2305
2451
|
|
|
2306
2452
|
class ArkSelectComponent {
|
|
2307
2453
|
constructor() {
|
|
2454
|
+
this.host = inject(ElementRef);
|
|
2308
2455
|
this.size = "md";
|
|
2309
2456
|
this.intent = "primary";
|
|
2310
2457
|
this.theme = "auto";
|
|
@@ -2315,6 +2462,10 @@ class ArkSelectComponent {
|
|
|
2315
2462
|
this.changed = new EventEmitter();
|
|
2316
2463
|
ensureTooarkComponentsRegistered();
|
|
2317
2464
|
}
|
|
2465
|
+
/** O `ark-select` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2466
|
+
get element() {
|
|
2467
|
+
return this.host.nativeElement.querySelector(":scope > ark-select");
|
|
2468
|
+
}
|
|
2318
2469
|
get optionsStr() {
|
|
2319
2470
|
return this.options ? JSON.stringify(this.options) : undefined;
|
|
2320
2471
|
}
|
|
@@ -2410,6 +2561,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2410
2561
|
|
|
2411
2562
|
class ArkShapePickerComponent {
|
|
2412
2563
|
constructor() {
|
|
2564
|
+
this.host = inject(ElementRef);
|
|
2413
2565
|
this.disabled = false;
|
|
2414
2566
|
this.size = "md";
|
|
2415
2567
|
this.theme = "auto";
|
|
@@ -2417,15 +2569,25 @@ class ArkShapePickerComponent {
|
|
|
2417
2569
|
this.changed = new EventEmitter();
|
|
2418
2570
|
ensureTooarkComponentsRegistered();
|
|
2419
2571
|
}
|
|
2572
|
+
/** O `ark-shape-picker` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2573
|
+
get element() {
|
|
2574
|
+
return this.host.nativeElement.querySelector(":scope > ark-shape-picker");
|
|
2575
|
+
}
|
|
2576
|
+
get shapesAttr() {
|
|
2577
|
+
if (Array.isArray(this.shapes))
|
|
2578
|
+
return this.shapes.length > 0 ? this.shapes.join(",") : null;
|
|
2579
|
+
return this.shapes ?? null;
|
|
2580
|
+
}
|
|
2420
2581
|
onChange(event) {
|
|
2421
2582
|
this.changed.emit(event);
|
|
2422
2583
|
}
|
|
2423
2584
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkShapePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2424
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkShapePickerComponent, isStandalone: true, selector: "ark-shape-picker-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", value: "value", color: "color", label: "label", disabled: "disabled", size: "size", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
2585
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkShapePickerComponent, isStandalone: true, selector: "ark-shape-picker-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", value: "value", shapes: "shapes", color: "color", label: "label", disabled: "disabled", size: "size", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
2425
2586
|
<ark-shape-picker
|
|
2426
2587
|
[attr.testid]="testid"
|
|
2427
2588
|
[attr.aria-label]="ariaLabel"
|
|
2428
2589
|
[attr.value]="value"
|
|
2590
|
+
[attr.shapes]="shapesAttr"
|
|
2429
2591
|
[attr.color]="color"
|
|
2430
2592
|
[attr.label]="label"
|
|
2431
2593
|
[attr.disabled]="disabled ? '' : null"
|
|
@@ -2447,6 +2609,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2447
2609
|
[attr.testid]="testid"
|
|
2448
2610
|
[attr.aria-label]="ariaLabel"
|
|
2449
2611
|
[attr.value]="value"
|
|
2612
|
+
[attr.shapes]="shapesAttr"
|
|
2450
2613
|
[attr.color]="color"
|
|
2451
2614
|
[attr.label]="label"
|
|
2452
2615
|
[attr.disabled]="disabled ? '' : null"
|
|
@@ -2463,6 +2626,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2463
2626
|
type: Input
|
|
2464
2627
|
}], value: [{
|
|
2465
2628
|
type: Input
|
|
2629
|
+
}], shapes: [{
|
|
2630
|
+
type: Input
|
|
2466
2631
|
}], color: [{
|
|
2467
2632
|
type: Input
|
|
2468
2633
|
}], label: [{
|
|
@@ -2483,11 +2648,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2483
2648
|
|
|
2484
2649
|
class ArkSkeletonComponent {
|
|
2485
2650
|
constructor() {
|
|
2651
|
+
this.host = inject(ElementRef);
|
|
2486
2652
|
/** Liga o brilho que varre (opt-in; para sob movimento reduzido). */
|
|
2487
2653
|
this.animated = false;
|
|
2488
2654
|
this.theme = "auto";
|
|
2489
2655
|
ensureTooarkComponentsRegistered();
|
|
2490
2656
|
}
|
|
2657
|
+
/** O `ark-skeleton` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2658
|
+
get element() {
|
|
2659
|
+
return this.host.nativeElement.querySelector(":scope > ark-skeleton");
|
|
2660
|
+
}
|
|
2491
2661
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2492
2662
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkSkeletonComponent, isStandalone: true, selector: "ark-skeleton-wrapper", inputs: { testid: "testid", rows: "rows", animated: "animated", rounded: "rounded", color: "color", ratio: "ratio", theme: "theme" }, ngImport: i0, template: `
|
|
2493
2663
|
<ark-skeleton
|
|
@@ -2537,10 +2707,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2537
2707
|
|
|
2538
2708
|
class ArkSpinnerComponent {
|
|
2539
2709
|
constructor() {
|
|
2710
|
+
this.host = inject(ElementRef);
|
|
2540
2711
|
this.size = "md";
|
|
2541
2712
|
this.theme = "auto";
|
|
2542
2713
|
ensureTooarkComponentsRegistered();
|
|
2543
2714
|
}
|
|
2715
|
+
/** O `ark-spinner` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2716
|
+
get element() {
|
|
2717
|
+
return this.host.nativeElement.querySelector(":scope > ark-spinner");
|
|
2718
|
+
}
|
|
2544
2719
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2545
2720
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkSpinnerComponent, isStandalone: true, selector: "ark-spinner-wrapper", inputs: { testid: "testid", size: "size", intent: "intent", label: "label", theme: "theme", lang: "lang", localeJson: "localeJson" }, ngImport: i0, template: `
|
|
2546
2721
|
<ark-spinner
|
|
@@ -2588,6 +2763,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2588
2763
|
|
|
2589
2764
|
class ArkSplitPaneComponent {
|
|
2590
2765
|
constructor() {
|
|
2766
|
+
this.host = inject(ElementRef);
|
|
2591
2767
|
/** Painéis lado a lado (horizontal) ou empilhados (vertical). Padrão: "horizontal". */
|
|
2592
2768
|
this.direction = "horizontal";
|
|
2593
2769
|
this.theme = "auto";
|
|
@@ -2596,6 +2772,10 @@ class ArkSplitPaneComponent {
|
|
|
2596
2772
|
this.resizeHandler = (event) => this.arkResize.emit(event);
|
|
2597
2773
|
ensureTooarkComponentsRegistered();
|
|
2598
2774
|
}
|
|
2775
|
+
/** O `ark-split-pane` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2776
|
+
get element() {
|
|
2777
|
+
return this.host.nativeElement.querySelector(":scope > ark-split-pane");
|
|
2778
|
+
}
|
|
2599
2779
|
get sizesAttr() {
|
|
2600
2780
|
return this.sizes ? this.sizes.join(",") : null;
|
|
2601
2781
|
}
|
|
@@ -2657,12 +2837,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2657
2837
|
|
|
2658
2838
|
class ArkStatusDotComponent {
|
|
2659
2839
|
constructor() {
|
|
2840
|
+
this.host = inject(ElementRef);
|
|
2660
2841
|
/** Cor do ponto. Padrão: "neutral". */
|
|
2661
2842
|
this.intent = "neutral";
|
|
2662
2843
|
this.size = "md";
|
|
2663
2844
|
this.theme = "auto";
|
|
2664
2845
|
ensureTooarkComponentsRegistered();
|
|
2665
2846
|
}
|
|
2847
|
+
/** O `ark-status-dot` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2848
|
+
get element() {
|
|
2849
|
+
return this.host.nativeElement.querySelector(":scope > ark-status-dot");
|
|
2850
|
+
}
|
|
2666
2851
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkStatusDotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2667
2852
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkStatusDotComponent, isStandalone: true, selector: "ark-status-dot-wrapper", inputs: { testid: "testid", intent: "intent", label: "label", size: "size", theme: "theme" }, ngImport: i0, template: `
|
|
2668
2853
|
<ark-status-dot
|
|
@@ -2702,6 +2887,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2702
2887
|
|
|
2703
2888
|
class ArkSwitchComponent {
|
|
2704
2889
|
constructor() {
|
|
2890
|
+
this.host = inject(ElementRef);
|
|
2705
2891
|
this.checked = false;
|
|
2706
2892
|
this.disabled = false;
|
|
2707
2893
|
this.labels = false;
|
|
@@ -2712,6 +2898,10 @@ class ArkSwitchComponent {
|
|
|
2712
2898
|
this.changed = new EventEmitter();
|
|
2713
2899
|
ensureTooarkComponentsRegistered();
|
|
2714
2900
|
}
|
|
2901
|
+
/** O `ark-switch` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2902
|
+
get element() {
|
|
2903
|
+
return this.host.nativeElement.querySelector(":scope > ark-switch");
|
|
2904
|
+
}
|
|
2715
2905
|
onChange(event) {
|
|
2716
2906
|
this.changed.emit(event);
|
|
2717
2907
|
}
|
|
@@ -2798,6 +2988,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2798
2988
|
|
|
2799
2989
|
class ArkTabsComponent {
|
|
2800
2990
|
constructor() {
|
|
2991
|
+
this.host = inject(ElementRef);
|
|
2801
2992
|
this.variant = "underline";
|
|
2802
2993
|
this.size = "md";
|
|
2803
2994
|
this.intent = "primary";
|
|
@@ -2808,6 +2999,10 @@ class ArkTabsComponent {
|
|
|
2808
2999
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
2809
3000
|
ensureTooarkComponentsRegistered();
|
|
2810
3001
|
}
|
|
3002
|
+
/** O `ark-tabs` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3003
|
+
get element() {
|
|
3004
|
+
return this.host.nativeElement.querySelector(":scope > ark-tabs");
|
|
3005
|
+
}
|
|
2811
3006
|
ngAfterViewInit() {
|
|
2812
3007
|
this.tabsRef?.nativeElement?.addEventListener("ark-close", this.closeHandler);
|
|
2813
3008
|
}
|
|
@@ -2892,6 +3087,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2892
3087
|
}] } });
|
|
2893
3088
|
class ArkTabComponent {
|
|
2894
3089
|
constructor() {
|
|
3090
|
+
this.host = inject(ElementRef);
|
|
2895
3091
|
this.value = "";
|
|
2896
3092
|
this.disabled = false;
|
|
2897
3093
|
/** Botão de fechar, clique do meio e Delete (só na variante editor). */
|
|
@@ -2900,6 +3096,10 @@ class ArkTabComponent {
|
|
|
2900
3096
|
this.dirty = false;
|
|
2901
3097
|
ensureTooarkComponentsRegistered();
|
|
2902
3098
|
}
|
|
3099
|
+
/** O `ark-tab` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3100
|
+
get element() {
|
|
3101
|
+
return this.host.nativeElement.querySelector(":scope > ark-tab");
|
|
3102
|
+
}
|
|
2903
3103
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2904
3104
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkTabComponent, isStandalone: true, selector: "ark-tab-wrapper", inputs: { testid: "testid", value: "value", disabled: "disabled", controls: "controls", closable: "closable", dirty: "dirty" }, ngImport: i0, template: `
|
|
2905
3105
|
<ark-tab
|
|
@@ -2945,6 +3145,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2945
3145
|
|
|
2946
3146
|
class ArkTextareaComponent {
|
|
2947
3147
|
constructor() {
|
|
3148
|
+
this.host = inject(ElementRef);
|
|
2948
3149
|
/** Cresce com o conteúdo (field-sizing nativo, fallback por JS). */
|
|
2949
3150
|
this.autosize = false;
|
|
2950
3151
|
/** Fonte monoespaçada, para código e dados. */
|
|
@@ -2961,6 +3162,10 @@ class ArkTextareaComponent {
|
|
|
2961
3162
|
this.autofocus = false;
|
|
2962
3163
|
ensureTooarkComponentsRegistered();
|
|
2963
3164
|
}
|
|
3165
|
+
/** O `ark-textarea` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3166
|
+
get element() {
|
|
3167
|
+
return this.host.nativeElement.querySelector(":scope > ark-textarea");
|
|
3168
|
+
}
|
|
2964
3169
|
get spellcheckAttr() {
|
|
2965
3170
|
return this.spellcheck === undefined ? null : String(this.spellcheck);
|
|
2966
3171
|
}
|
|
@@ -3089,6 +3294,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
3089
3294
|
|
|
3090
3295
|
class ArkToasterComponent {
|
|
3091
3296
|
constructor() {
|
|
3297
|
+
this.host = inject(ElementRef);
|
|
3092
3298
|
this.theme = "auto";
|
|
3093
3299
|
this.position = "bottom-right";
|
|
3094
3300
|
this.richColors = false;
|
|
@@ -3099,6 +3305,10 @@ class ArkToasterComponent {
|
|
|
3099
3305
|
this.arkToastAction = new EventEmitter();
|
|
3100
3306
|
ensureTooarkComponentsRegistered();
|
|
3101
3307
|
}
|
|
3308
|
+
/** O `ark-toaster` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3309
|
+
get element() {
|
|
3310
|
+
return this.host.nativeElement.querySelector(":scope > ark-toaster");
|
|
3311
|
+
}
|
|
3102
3312
|
onAction(event) {
|
|
3103
3313
|
this.arkToastAction.emit(event);
|
|
3104
3314
|
}
|
|
@@ -3157,6 +3367,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
3157
3367
|
|
|
3158
3368
|
class ArkToggleComponent {
|
|
3159
3369
|
constructor() {
|
|
3370
|
+
this.host = inject(ElementRef);
|
|
3160
3371
|
this.pressed = false;
|
|
3161
3372
|
this.disabled = false;
|
|
3162
3373
|
this.intent = "primary";
|
|
@@ -3165,6 +3376,10 @@ class ArkToggleComponent {
|
|
|
3165
3376
|
this.changed = new EventEmitter();
|
|
3166
3377
|
ensureTooarkComponentsRegistered();
|
|
3167
3378
|
}
|
|
3379
|
+
/** O `ark-toggle` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3380
|
+
get element() {
|
|
3381
|
+
return this.host.nativeElement.querySelector(":scope > ark-toggle");
|
|
3382
|
+
}
|
|
3168
3383
|
onChange(event) {
|
|
3169
3384
|
this.changed.emit(event);
|
|
3170
3385
|
}
|
|
@@ -3224,11 +3439,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
3224
3439
|
}] } });
|
|
3225
3440
|
class ArkToggleGroupComponent {
|
|
3226
3441
|
constructor() {
|
|
3442
|
+
this.host = inject(ElementRef);
|
|
3227
3443
|
this.multiple = false;
|
|
3228
3444
|
this.disabled = false;
|
|
3229
3445
|
this.changed = new EventEmitter();
|
|
3230
3446
|
ensureTooarkComponentsRegistered();
|
|
3231
3447
|
}
|
|
3448
|
+
/** O `ark-toggle-group` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3449
|
+
get element() {
|
|
3450
|
+
return this.host.nativeElement.querySelector(":scope > ark-toggle-group");
|
|
3451
|
+
}
|
|
3232
3452
|
onChange(event) {
|
|
3233
3453
|
this.changed.emit(event);
|
|
3234
3454
|
}
|
|
@@ -3285,6 +3505,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
3285
3505
|
|
|
3286
3506
|
class ArkTooltipComponent {
|
|
3287
3507
|
constructor() {
|
|
3508
|
+
this.host = inject(ElementRef);
|
|
3288
3509
|
/** Lado do gatilho; vira quando não cabe. Padrão: "top". */
|
|
3289
3510
|
this.side = "top";
|
|
3290
3511
|
/** Aberto; refletido do estado do balão. */
|
|
@@ -3292,6 +3513,10 @@ class ArkTooltipComponent {
|
|
|
3292
3513
|
this.theme = "auto";
|
|
3293
3514
|
ensureTooarkComponentsRegistered();
|
|
3294
3515
|
}
|
|
3516
|
+
/** O `ark-tooltip` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3517
|
+
get element() {
|
|
3518
|
+
return this.host.nativeElement.querySelector(":scope > ark-tooltip");
|
|
3519
|
+
}
|
|
3295
3520
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3296
3521
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkTooltipComponent, isStandalone: true, selector: "ark-tooltip-wrapper", inputs: { testid: "testid", content: "content", side: "side", delay: "delay", open: "open", theme: "theme" }, ngImport: i0, template: `
|
|
3297
3522
|
<ark-tooltip
|