@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
|
@@ -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,14 +108,19 @@ 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
|
-
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: `
|
|
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", variant: "variant", theme: "theme" }, ngImport: i0, template: `
|
|
114
124
|
<ark-avatar
|
|
115
125
|
[attr.testid]="testid"
|
|
116
126
|
[attr.aria-label]="ariaLabel"
|
|
@@ -119,6 +129,7 @@ class ArkAvatarComponent {
|
|
|
119
129
|
[attr.size]="size"
|
|
120
130
|
[attr.shape]="shape"
|
|
121
131
|
[attr.color]="color"
|
|
132
|
+
[attr.variant]="variant"
|
|
122
133
|
[attr.theme]="theme">
|
|
123
134
|
</ark-avatar>`, isInline: true }); }
|
|
124
135
|
}
|
|
@@ -137,6 +148,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
137
148
|
[attr.size]="size"
|
|
138
149
|
[attr.shape]="shape"
|
|
139
150
|
[attr.color]="color"
|
|
151
|
+
[attr.variant]="variant"
|
|
140
152
|
[attr.theme]="theme">
|
|
141
153
|
</ark-avatar>`
|
|
142
154
|
}]
|
|
@@ -154,12 +166,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
154
166
|
type: Input
|
|
155
167
|
}], color: [{
|
|
156
168
|
type: Input
|
|
169
|
+
}], variant: [{
|
|
170
|
+
type: Input
|
|
157
171
|
}], theme: [{
|
|
158
172
|
type: Input
|
|
159
173
|
}] } });
|
|
160
174
|
|
|
161
175
|
class ArkBadgeComponent {
|
|
162
176
|
constructor() {
|
|
177
|
+
this.host = inject(ElementRef);
|
|
163
178
|
this.intent = "neutral";
|
|
164
179
|
this.variant = "soft";
|
|
165
180
|
this.size = "md";
|
|
@@ -167,6 +182,10 @@ class ArkBadgeComponent {
|
|
|
167
182
|
this.theme = "auto";
|
|
168
183
|
ensureTooarkComponentsRegistered();
|
|
169
184
|
}
|
|
185
|
+
/** O `ark-badge` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
186
|
+
get element() {
|
|
187
|
+
return this.host.nativeElement.querySelector(":scope > ark-badge");
|
|
188
|
+
}
|
|
170
189
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
171
190
|
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
191
|
<ark-badge
|
|
@@ -216,6 +235,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
216
235
|
|
|
217
236
|
class ArkButtonComponent {
|
|
218
237
|
constructor() {
|
|
238
|
+
this.host = inject(ElementRef);
|
|
219
239
|
this.type = "button";
|
|
220
240
|
this.disabled = false;
|
|
221
241
|
this.loading = false;
|
|
@@ -227,6 +247,10 @@ class ArkButtonComponent {
|
|
|
227
247
|
this.rounded = "md";
|
|
228
248
|
ensureTooarkComponentsRegistered();
|
|
229
249
|
}
|
|
250
|
+
/** O `ark-button` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
251
|
+
get element() {
|
|
252
|
+
return this.host.nativeElement.querySelector(":scope > ark-button");
|
|
253
|
+
}
|
|
230
254
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
231
255
|
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
256
|
<ark-button
|
|
@@ -320,6 +344,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
320
344
|
|
|
321
345
|
class ArkCalendarComponent {
|
|
322
346
|
constructor() {
|
|
347
|
+
this.host = inject(ElementRef);
|
|
323
348
|
this.lang = "en";
|
|
324
349
|
this.theme = "auto";
|
|
325
350
|
this.intent = "primary";
|
|
@@ -327,6 +352,10 @@ class ArkCalendarComponent {
|
|
|
327
352
|
this.handler = (e) => this.arkChange.emit(e.detail);
|
|
328
353
|
ensureTooarkComponentsRegistered();
|
|
329
354
|
}
|
|
355
|
+
/** O `ark-calendar` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
356
|
+
get element() {
|
|
357
|
+
return this.host.nativeElement.querySelector(":scope > ark-calendar");
|
|
358
|
+
}
|
|
330
359
|
get eventsStr() {
|
|
331
360
|
return this.events ? JSON.stringify(this.events) : undefined;
|
|
332
361
|
}
|
|
@@ -409,9 +438,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
409
438
|
|
|
410
439
|
class ArkCardComponent {
|
|
411
440
|
constructor() {
|
|
441
|
+
this.host = inject(ElementRef);
|
|
412
442
|
this.theme = "auto";
|
|
413
443
|
ensureTooarkComponentsRegistered();
|
|
414
444
|
}
|
|
445
|
+
/** O `ark-card` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
446
|
+
get element() {
|
|
447
|
+
return this.host.nativeElement.querySelector(":scope > ark-card");
|
|
448
|
+
}
|
|
415
449
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
416
450
|
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
451
|
<ark-card
|
|
@@ -453,6 +487,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
453
487
|
|
|
454
488
|
class ArkCarouselComponent {
|
|
455
489
|
constructor() {
|
|
490
|
+
this.host = inject(ElementRef);
|
|
456
491
|
this.theme = "auto";
|
|
457
492
|
this.intent = "primary";
|
|
458
493
|
this.slidesPerView = 1;
|
|
@@ -469,6 +504,10 @@ class ArkCarouselComponent {
|
|
|
469
504
|
this.handler = (e) => this.arkSlideChange.emit(e.detail);
|
|
470
505
|
ensureTooarkComponentsRegistered();
|
|
471
506
|
}
|
|
507
|
+
/** O `ark-carousel` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
508
|
+
get element() {
|
|
509
|
+
return this.host.nativeElement.querySelector(":scope > ark-carousel");
|
|
510
|
+
}
|
|
472
511
|
ngAfterViewInit() {
|
|
473
512
|
this.carouselRef?.nativeElement?.addEventListener("ark-slide-change", this.handler);
|
|
474
513
|
}
|
|
@@ -559,6 +598,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
559
598
|
|
|
560
599
|
class ArkCheckboxComponent {
|
|
561
600
|
constructor() {
|
|
601
|
+
this.host = inject(ElementRef);
|
|
562
602
|
this.checked = false;
|
|
563
603
|
/** Estado misto (aria-checked="mixed", traço); o próximo clique o limpa. */
|
|
564
604
|
this.indeterminate = false;
|
|
@@ -569,11 +609,15 @@ class ArkCheckboxComponent {
|
|
|
569
609
|
this.changed = new EventEmitter();
|
|
570
610
|
ensureTooarkComponentsRegistered();
|
|
571
611
|
}
|
|
612
|
+
/** O `ark-checkbox` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
613
|
+
get element() {
|
|
614
|
+
return this.host.nativeElement.querySelector(":scope > ark-checkbox");
|
|
615
|
+
}
|
|
572
616
|
onChange(event) {
|
|
573
617
|
this.changed.emit(event);
|
|
574
618
|
}
|
|
575
619
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
576
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkCheckboxComponent, isStandalone: true, selector: "ark-checkbox-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", checked: "checked", indeterminate: "indeterminate", disabled: "disabled", intent: "intent", theme: "theme", size: "size", name: "name", value: "value", label: "label" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
620
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkCheckboxComponent, isStandalone: true, selector: "ark-checkbox-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", checked: "checked", indeterminate: "indeterminate", disabled: "disabled", intent: "intent", theme: "theme", size: "size", name: "name", value: "value", label: "label", helper: "helper" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
577
621
|
<ark-checkbox
|
|
578
622
|
[attr.testid]="testid"
|
|
579
623
|
[attr.aria-label]="ariaLabel"
|
|
@@ -586,6 +630,7 @@ class ArkCheckboxComponent {
|
|
|
586
630
|
[attr.name]="name"
|
|
587
631
|
[attr.value]="value"
|
|
588
632
|
[attr.label]="label"
|
|
633
|
+
[attr.helper]="helper"
|
|
589
634
|
(change)="onChange($event)">
|
|
590
635
|
<ng-content></ng-content>
|
|
591
636
|
</ark-checkbox>`, isInline: true }); }
|
|
@@ -609,6 +654,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
609
654
|
[attr.name]="name"
|
|
610
655
|
[attr.value]="value"
|
|
611
656
|
[attr.label]="label"
|
|
657
|
+
[attr.helper]="helper"
|
|
612
658
|
(change)="onChange($event)">
|
|
613
659
|
<ng-content></ng-content>
|
|
614
660
|
</ark-checkbox>`
|
|
@@ -635,12 +681,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
635
681
|
type: Input
|
|
636
682
|
}], label: [{
|
|
637
683
|
type: Input
|
|
684
|
+
}], helper: [{
|
|
685
|
+
type: Input
|
|
638
686
|
}], changed: [{
|
|
639
687
|
type: Output
|
|
640
688
|
}] } });
|
|
641
689
|
|
|
642
690
|
class ArkClockComponent {
|
|
643
691
|
constructor() {
|
|
692
|
+
this.host = inject(ElementRef);
|
|
644
693
|
this.lang = "en";
|
|
645
694
|
this.theme = "auto";
|
|
646
695
|
this.intent = "primary";
|
|
@@ -650,6 +699,10 @@ class ArkClockComponent {
|
|
|
650
699
|
this.handler = (e) => this.arkChange.emit(e.detail);
|
|
651
700
|
ensureTooarkComponentsRegistered();
|
|
652
701
|
}
|
|
702
|
+
/** O `ark-clock` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
703
|
+
get element() {
|
|
704
|
+
return this.host.nativeElement.querySelector(":scope > ark-clock");
|
|
705
|
+
}
|
|
653
706
|
ngAfterViewInit() {
|
|
654
707
|
this.clockRef?.nativeElement?.addEventListener("ark-change", this.handler);
|
|
655
708
|
}
|
|
@@ -714,6 +767,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
714
767
|
|
|
715
768
|
class ArkColorSwatchesComponent {
|
|
716
769
|
constructor() {
|
|
770
|
+
this.host = inject(ElementRef);
|
|
717
771
|
this.disabled = false;
|
|
718
772
|
this.size = "md";
|
|
719
773
|
this.theme = "auto";
|
|
@@ -721,6 +775,10 @@ class ArkColorSwatchesComponent {
|
|
|
721
775
|
this.changed = new EventEmitter();
|
|
722
776
|
ensureTooarkComponentsRegistered();
|
|
723
777
|
}
|
|
778
|
+
/** O `ark-color-swatches` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
779
|
+
get element() {
|
|
780
|
+
return this.host.nativeElement.querySelector(":scope > ark-color-swatches");
|
|
781
|
+
}
|
|
724
782
|
get colorsJson() {
|
|
725
783
|
return this.colors ? JSON.stringify(this.colors) : null;
|
|
726
784
|
}
|
|
@@ -782,12 +840,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
782
840
|
|
|
783
841
|
class ArkCommandPaletteComponent {
|
|
784
842
|
constructor() {
|
|
843
|
+
this.host = inject(ElementRef);
|
|
785
844
|
/** Aberta; a saída anima antes de sair do top layer. */
|
|
786
845
|
this.open = false;
|
|
787
846
|
/** A página continua rolando com a paleta aberta. */
|
|
788
847
|
this.noScrollLock = false;
|
|
789
848
|
/** Filtra localmente pelo label dos itens. */
|
|
790
849
|
this.filter = false;
|
|
850
|
+
/** Busca assíncrona em andamento: sem opções a mensagem vira `searching`, e o listbox fica aria-busy. */
|
|
851
|
+
this.busy = false;
|
|
791
852
|
this.theme = "auto";
|
|
792
853
|
this.arkSelect = new EventEmitter();
|
|
793
854
|
this.arkQuery = new EventEmitter();
|
|
@@ -801,8 +862,12 @@ class ArkCommandPaletteComponent {
|
|
|
801
862
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
802
863
|
ensureTooarkComponentsRegistered();
|
|
803
864
|
}
|
|
865
|
+
/** O `ark-command-palette` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
866
|
+
get element() {
|
|
867
|
+
return this.host.nativeElement.querySelector(":scope > ark-command-palette");
|
|
868
|
+
}
|
|
804
869
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
805
|
-
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: `
|
|
870
|
+
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", hint: "hint", busy: "busy", theme: "theme", lang: "lang", localeJson: "localeJson", ariaLabel: "ariaLabel" }, outputs: { arkSelect: "arkSelect", arkQuery: "arkQuery", arkOpen: "arkOpen", arkClose: "arkClose" }, ngImport: i0, template: `
|
|
806
871
|
<ark-command-palette
|
|
807
872
|
[attr.testid]="testid"
|
|
808
873
|
[attr.open]="open ? '' : null"
|
|
@@ -812,6 +877,8 @@ class ArkCommandPaletteComponent {
|
|
|
812
877
|
[attr.filter]="filter ? '' : null"
|
|
813
878
|
[attr.query-delay]="queryDelay"
|
|
814
879
|
[attr.label]="label"
|
|
880
|
+
[attr.hint]="hint"
|
|
881
|
+
[attr.busy]="busy ? '' : null"
|
|
815
882
|
[attr.theme]="theme"
|
|
816
883
|
[attr.lang]="lang"
|
|
817
884
|
[attr.locale-json]="localeJson"
|
|
@@ -839,6 +906,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
839
906
|
[attr.filter]="filter ? '' : null"
|
|
840
907
|
[attr.query-delay]="queryDelay"
|
|
841
908
|
[attr.label]="label"
|
|
909
|
+
[attr.hint]="hint"
|
|
910
|
+
[attr.busy]="busy ? '' : null"
|
|
842
911
|
[attr.theme]="theme"
|
|
843
912
|
[attr.lang]="lang"
|
|
844
913
|
[attr.locale-json]="localeJson"
|
|
@@ -866,6 +935,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
866
935
|
type: Input
|
|
867
936
|
}], label: [{
|
|
868
937
|
type: Input
|
|
938
|
+
}], hint: [{
|
|
939
|
+
type: Input
|
|
940
|
+
}], busy: [{
|
|
941
|
+
type: Input
|
|
869
942
|
}], theme: [{
|
|
870
943
|
type: Input
|
|
871
944
|
}], lang: [{
|
|
@@ -885,10 +958,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
885
958
|
}] } });
|
|
886
959
|
class ArkCommandItemComponent {
|
|
887
960
|
constructor() {
|
|
961
|
+
this.host = inject(ElementRef);
|
|
888
962
|
this.value = "";
|
|
889
963
|
this.disabled = false;
|
|
890
964
|
ensureTooarkComponentsRegistered();
|
|
891
965
|
}
|
|
966
|
+
/** O `ark-command-item` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
967
|
+
get element() {
|
|
968
|
+
return this.host.nativeElement.querySelector(":scope > ark-command-item");
|
|
969
|
+
}
|
|
892
970
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCommandItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
893
971
|
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
972
|
<ark-command-item
|
|
@@ -932,6 +1010,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
932
1010
|
|
|
933
1011
|
class ArkCopyButtonComponent {
|
|
934
1012
|
constructor() {
|
|
1013
|
+
this.host = inject(ElementRef);
|
|
935
1014
|
this.variant = "primary";
|
|
936
1015
|
this.theme = "auto";
|
|
937
1016
|
this.size = "md";
|
|
@@ -944,6 +1023,10 @@ class ArkCopyButtonComponent {
|
|
|
944
1023
|
this.copyHandler = (event) => this.arkCopy.emit(event);
|
|
945
1024
|
ensureTooarkComponentsRegistered();
|
|
946
1025
|
}
|
|
1026
|
+
/** O `ark-copy-button` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1027
|
+
get element() {
|
|
1028
|
+
return this.host.nativeElement.querySelector(":scope > ark-copy-button");
|
|
1029
|
+
}
|
|
947
1030
|
ngAfterViewInit() {
|
|
948
1031
|
this.buttonRef?.nativeElement?.addEventListener("ark-copy", this.copyHandler);
|
|
949
1032
|
}
|
|
@@ -1050,6 +1133,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1050
1133
|
|
|
1051
1134
|
class ArkDatepickerComponent {
|
|
1052
1135
|
constructor() {
|
|
1136
|
+
this.host = inject(ElementRef);
|
|
1053
1137
|
this.lang = "en";
|
|
1054
1138
|
this.theme = "auto";
|
|
1055
1139
|
this.intent = "primary";
|
|
@@ -1061,6 +1145,10 @@ class ArkDatepickerComponent {
|
|
|
1061
1145
|
this.handler = (e) => this.arkChange.emit(e.detail);
|
|
1062
1146
|
ensureTooarkComponentsRegistered();
|
|
1063
1147
|
}
|
|
1148
|
+
/** O `ark-datepicker` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1149
|
+
get element() {
|
|
1150
|
+
return this.host.nativeElement.querySelector(":scope > ark-datepicker");
|
|
1151
|
+
}
|
|
1064
1152
|
get eventsStr() {
|
|
1065
1153
|
return this.events ? JSON.stringify(this.events) : undefined;
|
|
1066
1154
|
}
|
|
@@ -1179,6 +1267,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1179
1267
|
|
|
1180
1268
|
class ArkDialogComponent {
|
|
1181
1269
|
constructor() {
|
|
1270
|
+
this.host = inject(ElementRef);
|
|
1182
1271
|
/** Aberto; a saída anima antes de sair do top layer. */
|
|
1183
1272
|
this.open = false;
|
|
1184
1273
|
/** Esconde o botão de fechar do cabeçalho. */
|
|
@@ -1199,6 +1288,10 @@ class ArkDialogComponent {
|
|
|
1199
1288
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1200
1289
|
ensureTooarkComponentsRegistered();
|
|
1201
1290
|
}
|
|
1291
|
+
/** O `ark-dialog` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1292
|
+
get element() {
|
|
1293
|
+
return this.host.nativeElement.querySelector(":scope > ark-dialog");
|
|
1294
|
+
}
|
|
1202
1295
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1203
1296
|
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
1297
|
<ark-dialog
|
|
@@ -1280,6 +1373,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1280
1373
|
|
|
1281
1374
|
class ArkDrawerComponent {
|
|
1282
1375
|
constructor() {
|
|
1376
|
+
this.host = inject(ElementRef);
|
|
1283
1377
|
/** Aberta; a saída anima antes de esconder. */
|
|
1284
1378
|
this.open = false;
|
|
1285
1379
|
/** Borda onde a gaveta encosta. Padrão: "right". */
|
|
@@ -1302,6 +1396,10 @@ class ArkDrawerComponent {
|
|
|
1302
1396
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1303
1397
|
ensureTooarkComponentsRegistered();
|
|
1304
1398
|
}
|
|
1399
|
+
/** O `ark-drawer` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1400
|
+
get element() {
|
|
1401
|
+
return this.host.nativeElement.querySelector(":scope > ark-drawer");
|
|
1402
|
+
}
|
|
1305
1403
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1306
1404
|
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
1405
|
<ark-drawer
|
|
@@ -1383,9 +1481,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1383
1481
|
|
|
1384
1482
|
class ArkEmptyComponent {
|
|
1385
1483
|
constructor() {
|
|
1484
|
+
this.host = inject(ElementRef);
|
|
1386
1485
|
this.theme = "auto";
|
|
1387
1486
|
ensureTooarkComponentsRegistered();
|
|
1388
1487
|
}
|
|
1488
|
+
/** O `ark-empty` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1489
|
+
get element() {
|
|
1490
|
+
return this.host.nativeElement.querySelector(":scope > ark-empty");
|
|
1491
|
+
}
|
|
1389
1492
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkEmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1390
1493
|
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
1494
|
<ark-empty
|
|
@@ -1423,6 +1526,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1423
1526
|
|
|
1424
1527
|
class ArkFileInputComponent {
|
|
1425
1528
|
constructor() {
|
|
1529
|
+
this.host = inject(ElementRef);
|
|
1426
1530
|
/** Aceita vários arquivos; sem ele o drop fica com o primeiro. */
|
|
1427
1531
|
this.multiple = false;
|
|
1428
1532
|
/** Estado de erro sem mensagem (borda danger e aria-invalid). */
|
|
@@ -1436,6 +1540,10 @@ class ArkFileInputComponent {
|
|
|
1436
1540
|
this.changed = new EventEmitter();
|
|
1437
1541
|
ensureTooarkComponentsRegistered();
|
|
1438
1542
|
}
|
|
1543
|
+
/** O `ark-file-input` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1544
|
+
get element() {
|
|
1545
|
+
return this.host.nativeElement.querySelector(":scope > ark-file-input");
|
|
1546
|
+
}
|
|
1439
1547
|
onChange(event) {
|
|
1440
1548
|
this.changed.emit(event);
|
|
1441
1549
|
}
|
|
@@ -1526,6 +1634,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1526
1634
|
|
|
1527
1635
|
class ArkInputComponent {
|
|
1528
1636
|
constructor() {
|
|
1637
|
+
this.host = inject(ElementRef);
|
|
1529
1638
|
this.type = "text";
|
|
1530
1639
|
this.size = "md";
|
|
1531
1640
|
this.intent = "primary";
|
|
@@ -1540,6 +1649,10 @@ class ArkInputComponent {
|
|
|
1540
1649
|
this.autofocus = false;
|
|
1541
1650
|
ensureTooarkComponentsRegistered();
|
|
1542
1651
|
}
|
|
1652
|
+
/** O `ark-input` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1653
|
+
get element() {
|
|
1654
|
+
return this.host.nativeElement.querySelector(":scope > ark-input");
|
|
1655
|
+
}
|
|
1543
1656
|
get spellcheckAttr() {
|
|
1544
1657
|
return this.spellcheck === undefined ? null : String(this.spellcheck);
|
|
1545
1658
|
}
|
|
@@ -1684,10 +1797,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1684
1797
|
|
|
1685
1798
|
class ArkKbdComponent {
|
|
1686
1799
|
constructor() {
|
|
1800
|
+
this.host = inject(ElementRef);
|
|
1687
1801
|
this.size = "md";
|
|
1688
1802
|
this.theme = "auto";
|
|
1689
1803
|
ensureTooarkComponentsRegistered();
|
|
1690
1804
|
}
|
|
1805
|
+
/** O `ark-kbd` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1806
|
+
get element() {
|
|
1807
|
+
return this.host.nativeElement.querySelector(":scope > ark-kbd");
|
|
1808
|
+
}
|
|
1691
1809
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkKbdComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1692
1810
|
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
1811
|
<ark-kbd
|
|
@@ -1721,6 +1839,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1721
1839
|
|
|
1722
1840
|
class ArkKvEditorComponent {
|
|
1723
1841
|
constructor() {
|
|
1842
|
+
this.host = inject(ElementRef);
|
|
1724
1843
|
/** Modo de edição em massa (textarea). */
|
|
1725
1844
|
this.bulk = false;
|
|
1726
1845
|
/** Mostra a coluna de descrição. */
|
|
@@ -1738,11 +1857,16 @@ class ArkKvEditorComponent {
|
|
|
1738
1857
|
this.deleteHandler = (event) => this.arkDelete.emit(event);
|
|
1739
1858
|
ensureTooarkComponentsRegistered();
|
|
1740
1859
|
}
|
|
1860
|
+
/** O `ark-kv-editor` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1861
|
+
get element() {
|
|
1862
|
+
return this.host.nativeElement.querySelector(":scope > ark-kv-editor");
|
|
1863
|
+
}
|
|
1741
1864
|
get typesAttr() {
|
|
1742
1865
|
return this.types && this.types.length > 0 ? this.types.join(",") : null;
|
|
1743
1866
|
}
|
|
1744
1867
|
ngAfterViewInit() {
|
|
1745
1868
|
this.syncRows();
|
|
1869
|
+
this.syncValueField();
|
|
1746
1870
|
this.editorRef?.nativeElement?.addEventListener("ark-add", this.addHandler);
|
|
1747
1871
|
this.editorRef?.nativeElement?.addEventListener("ark-delete", this.deleteHandler);
|
|
1748
1872
|
}
|
|
@@ -1750,6 +1874,8 @@ class ArkKvEditorComponent {
|
|
|
1750
1874
|
// Só um `rows` novo substitui o modelo: bulk, readonly ou theme mudando não podem apagar o que o usuário editou.
|
|
1751
1875
|
if (changes.rows)
|
|
1752
1876
|
this.syncRows();
|
|
1877
|
+
if (changes.valueField)
|
|
1878
|
+
this.syncValueField();
|
|
1753
1879
|
}
|
|
1754
1880
|
ngOnDestroy() {
|
|
1755
1881
|
this.editorRef?.nativeElement?.removeEventListener("ark-add", this.addHandler);
|
|
@@ -1763,8 +1889,14 @@ class ArkKvEditorComponent {
|
|
|
1763
1889
|
if (el && this.rows)
|
|
1764
1890
|
el.rows = this.rows;
|
|
1765
1891
|
}
|
|
1892
|
+
// Função, então propriedade; só é gravada quando o app dá uma, para o editor sem ela não recriar as linhas.
|
|
1893
|
+
syncValueField() {
|
|
1894
|
+
const el = this.editorRef?.nativeElement;
|
|
1895
|
+
if (el && (this.valueField || el.valueField))
|
|
1896
|
+
el.valueField = this.valueField ?? null;
|
|
1897
|
+
}
|
|
1766
1898
|
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: `
|
|
1899
|
+
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
1900
|
<ark-kv-editor
|
|
1769
1901
|
#editor
|
|
1770
1902
|
[attr.testid]="testid"
|
|
@@ -1832,6 +1964,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1832
1964
|
type: Input
|
|
1833
1965
|
}], readonly: [{
|
|
1834
1966
|
type: Input
|
|
1967
|
+
}], valueField: [{
|
|
1968
|
+
type: Input
|
|
1835
1969
|
}], size: [{
|
|
1836
1970
|
type: Input
|
|
1837
1971
|
}], theme: [{
|
|
@@ -1853,11 +1987,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1853
1987
|
|
|
1854
1988
|
class ArkMarkComponent {
|
|
1855
1989
|
constructor() {
|
|
1990
|
+
this.host = inject(ElementRef);
|
|
1856
1991
|
/** Forma desenhada. Padrão: "circle". */
|
|
1857
1992
|
this.shape = "circle";
|
|
1858
1993
|
this.theme = "auto";
|
|
1859
1994
|
ensureTooarkComponentsRegistered();
|
|
1860
1995
|
}
|
|
1996
|
+
/** O `ark-mark` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1997
|
+
get element() {
|
|
1998
|
+
return this.host.nativeElement.querySelector(":scope > ark-mark");
|
|
1999
|
+
}
|
|
1861
2000
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkMarkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1862
2001
|
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
2002
|
<ark-mark
|
|
@@ -1901,6 +2040,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1901
2040
|
|
|
1902
2041
|
class ArkMenuComponent {
|
|
1903
2042
|
constructor() {
|
|
2043
|
+
this.host = inject(ElementRef);
|
|
1904
2044
|
/** Aberto; refletido do estado do popover. */
|
|
1905
2045
|
this.open = false;
|
|
1906
2046
|
/** Alinhamento em relação ao gatilho. Padrão: "start". */
|
|
@@ -1920,6 +2060,10 @@ class ArkMenuComponent {
|
|
|
1920
2060
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1921
2061
|
ensureTooarkComponentsRegistered();
|
|
1922
2062
|
}
|
|
2063
|
+
/** O `ark-menu` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2064
|
+
get element() {
|
|
2065
|
+
return this.host.nativeElement.querySelector(":scope > ark-menu");
|
|
2066
|
+
}
|
|
1923
2067
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1924
2068
|
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
2069
|
<ark-menu
|
|
@@ -1984,6 +2128,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1984
2128
|
}] } });
|
|
1985
2129
|
class ArkMenuItemComponent {
|
|
1986
2130
|
constructor() {
|
|
2131
|
+
this.host = inject(ElementRef);
|
|
1987
2132
|
this.disabled = false;
|
|
1988
2133
|
/** Linha separadora (role separator). */
|
|
1989
2134
|
this.divider = false;
|
|
@@ -1991,6 +2136,10 @@ class ArkMenuItemComponent {
|
|
|
1991
2136
|
this.static = false;
|
|
1992
2137
|
ensureTooarkComponentsRegistered();
|
|
1993
2138
|
}
|
|
2139
|
+
/** O `ark-menu-item` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2140
|
+
get element() {
|
|
2141
|
+
return this.host.nativeElement.querySelector(":scope > ark-menu-item");
|
|
2142
|
+
}
|
|
1994
2143
|
get checkedAttr() {
|
|
1995
2144
|
if (this.checked === undefined)
|
|
1996
2145
|
return null;
|
|
@@ -2045,6 +2194,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2045
2194
|
|
|
2046
2195
|
class ArkProgressComponent {
|
|
2047
2196
|
constructor() {
|
|
2197
|
+
this.host = inject(ElementRef);
|
|
2048
2198
|
/** Segmento em loop no lugar do valor (loader contínuo, isento de movimento reduzido). */
|
|
2049
2199
|
this.indeterminate = false;
|
|
2050
2200
|
/** Mostra a porcentagem ao lado do trilho. */
|
|
@@ -2054,6 +2204,10 @@ class ArkProgressComponent {
|
|
|
2054
2204
|
this.theme = "auto";
|
|
2055
2205
|
ensureTooarkComponentsRegistered();
|
|
2056
2206
|
}
|
|
2207
|
+
/** O `ark-progress` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2208
|
+
get element() {
|
|
2209
|
+
return this.host.nativeElement.querySelector(":scope > ark-progress");
|
|
2210
|
+
}
|
|
2057
2211
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2058
2212
|
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
2213
|
<ark-progress
|
|
@@ -2109,6 +2263,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2109
2263
|
|
|
2110
2264
|
class ArkRadioComponent {
|
|
2111
2265
|
constructor() {
|
|
2266
|
+
this.host = inject(ElementRef);
|
|
2112
2267
|
this.checked = false;
|
|
2113
2268
|
this.disabled = false;
|
|
2114
2269
|
this.intent = "primary";
|
|
@@ -2118,11 +2273,15 @@ class ArkRadioComponent {
|
|
|
2118
2273
|
this.changed = new EventEmitter();
|
|
2119
2274
|
ensureTooarkComponentsRegistered();
|
|
2120
2275
|
}
|
|
2276
|
+
/** O `ark-radio` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2277
|
+
get element() {
|
|
2278
|
+
return this.host.nativeElement.querySelector(":scope > ark-radio");
|
|
2279
|
+
}
|
|
2121
2280
|
onChange(event) {
|
|
2122
2281
|
this.changed.emit(event);
|
|
2123
2282
|
}
|
|
2124
2283
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2125
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkRadioComponent, isStandalone: true, selector: "ark-radio-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", checked: "checked", disabled: "disabled", intent: "intent", theme: "theme", size: "size", name: "name", value: "value", label: "label" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
2284
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkRadioComponent, isStandalone: true, selector: "ark-radio-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", checked: "checked", disabled: "disabled", intent: "intent", theme: "theme", size: "size", name: "name", value: "value", label: "label", helper: "helper" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
2126
2285
|
<ark-radio
|
|
2127
2286
|
[attr.testid]="testid"
|
|
2128
2287
|
[attr.aria-label]="ariaLabel"
|
|
@@ -2134,6 +2293,7 @@ class ArkRadioComponent {
|
|
|
2134
2293
|
[attr.name]="name"
|
|
2135
2294
|
[attr.value]="value"
|
|
2136
2295
|
[attr.label]="label"
|
|
2296
|
+
[attr.helper]="helper"
|
|
2137
2297
|
(change)="onChange($event)">
|
|
2138
2298
|
<ng-content></ng-content>
|
|
2139
2299
|
</ark-radio>`, isInline: true }); }
|
|
@@ -2156,6 +2316,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2156
2316
|
[attr.name]="name"
|
|
2157
2317
|
[attr.value]="value"
|
|
2158
2318
|
[attr.label]="label"
|
|
2319
|
+
[attr.helper]="helper"
|
|
2159
2320
|
(change)="onChange($event)">
|
|
2160
2321
|
<ng-content></ng-content>
|
|
2161
2322
|
</ark-radio>`
|
|
@@ -2180,12 +2341,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2180
2341
|
type: Input
|
|
2181
2342
|
}], label: [{
|
|
2182
2343
|
type: Input
|
|
2344
|
+
}], helper: [{
|
|
2345
|
+
type: Input
|
|
2183
2346
|
}], changed: [{
|
|
2184
2347
|
type: Output
|
|
2185
2348
|
}] } });
|
|
2186
2349
|
|
|
2187
2350
|
class ArkSchedulerComponent {
|
|
2188
2351
|
constructor() {
|
|
2352
|
+
this.host = inject(ElementRef);
|
|
2189
2353
|
this.view = "week";
|
|
2190
2354
|
this.lang = "en";
|
|
2191
2355
|
this.theme = "auto";
|
|
@@ -2200,6 +2364,10 @@ class ArkSchedulerComponent {
|
|
|
2200
2364
|
this.rangeChangeHandler = (e) => this.arkRangeChange.emit(e.detail);
|
|
2201
2365
|
ensureTooarkComponentsRegistered();
|
|
2202
2366
|
}
|
|
2367
|
+
/** O `ark-scheduler` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2368
|
+
get element() {
|
|
2369
|
+
return this.host.nativeElement.querySelector(":scope > ark-scheduler");
|
|
2370
|
+
}
|
|
2203
2371
|
get eventsStr() {
|
|
2204
2372
|
return this.events ? JSON.stringify(this.events) : undefined;
|
|
2205
2373
|
}
|
|
@@ -2305,6 +2473,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2305
2473
|
|
|
2306
2474
|
class ArkSelectComponent {
|
|
2307
2475
|
constructor() {
|
|
2476
|
+
this.host = inject(ElementRef);
|
|
2308
2477
|
this.size = "md";
|
|
2309
2478
|
this.intent = "primary";
|
|
2310
2479
|
this.theme = "auto";
|
|
@@ -2315,6 +2484,10 @@ class ArkSelectComponent {
|
|
|
2315
2484
|
this.changed = new EventEmitter();
|
|
2316
2485
|
ensureTooarkComponentsRegistered();
|
|
2317
2486
|
}
|
|
2487
|
+
/** O `ark-select` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2488
|
+
get element() {
|
|
2489
|
+
return this.host.nativeElement.querySelector(":scope > ark-select");
|
|
2490
|
+
}
|
|
2318
2491
|
get optionsStr() {
|
|
2319
2492
|
return this.options ? JSON.stringify(this.options) : undefined;
|
|
2320
2493
|
}
|
|
@@ -2410,6 +2583,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2410
2583
|
|
|
2411
2584
|
class ArkShapePickerComponent {
|
|
2412
2585
|
constructor() {
|
|
2586
|
+
this.host = inject(ElementRef);
|
|
2413
2587
|
this.disabled = false;
|
|
2414
2588
|
this.size = "md";
|
|
2415
2589
|
this.theme = "auto";
|
|
@@ -2417,15 +2591,25 @@ class ArkShapePickerComponent {
|
|
|
2417
2591
|
this.changed = new EventEmitter();
|
|
2418
2592
|
ensureTooarkComponentsRegistered();
|
|
2419
2593
|
}
|
|
2594
|
+
/** O `ark-shape-picker` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2595
|
+
get element() {
|
|
2596
|
+
return this.host.nativeElement.querySelector(":scope > ark-shape-picker");
|
|
2597
|
+
}
|
|
2598
|
+
get shapesAttr() {
|
|
2599
|
+
if (Array.isArray(this.shapes))
|
|
2600
|
+
return this.shapes.length > 0 ? this.shapes.join(",") : null;
|
|
2601
|
+
return this.shapes ?? null;
|
|
2602
|
+
}
|
|
2420
2603
|
onChange(event) {
|
|
2421
2604
|
this.changed.emit(event);
|
|
2422
2605
|
}
|
|
2423
2606
|
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: `
|
|
2607
|
+
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
2608
|
<ark-shape-picker
|
|
2426
2609
|
[attr.testid]="testid"
|
|
2427
2610
|
[attr.aria-label]="ariaLabel"
|
|
2428
2611
|
[attr.value]="value"
|
|
2612
|
+
[attr.shapes]="shapesAttr"
|
|
2429
2613
|
[attr.color]="color"
|
|
2430
2614
|
[attr.label]="label"
|
|
2431
2615
|
[attr.disabled]="disabled ? '' : null"
|
|
@@ -2447,6 +2631,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2447
2631
|
[attr.testid]="testid"
|
|
2448
2632
|
[attr.aria-label]="ariaLabel"
|
|
2449
2633
|
[attr.value]="value"
|
|
2634
|
+
[attr.shapes]="shapesAttr"
|
|
2450
2635
|
[attr.color]="color"
|
|
2451
2636
|
[attr.label]="label"
|
|
2452
2637
|
[attr.disabled]="disabled ? '' : null"
|
|
@@ -2463,6 +2648,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2463
2648
|
type: Input
|
|
2464
2649
|
}], value: [{
|
|
2465
2650
|
type: Input
|
|
2651
|
+
}], shapes: [{
|
|
2652
|
+
type: Input
|
|
2466
2653
|
}], color: [{
|
|
2467
2654
|
type: Input
|
|
2468
2655
|
}], label: [{
|
|
@@ -2483,11 +2670,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2483
2670
|
|
|
2484
2671
|
class ArkSkeletonComponent {
|
|
2485
2672
|
constructor() {
|
|
2673
|
+
this.host = inject(ElementRef);
|
|
2486
2674
|
/** Liga o brilho que varre (opt-in; para sob movimento reduzido). */
|
|
2487
2675
|
this.animated = false;
|
|
2488
2676
|
this.theme = "auto";
|
|
2489
2677
|
ensureTooarkComponentsRegistered();
|
|
2490
2678
|
}
|
|
2679
|
+
/** O `ark-skeleton` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2680
|
+
get element() {
|
|
2681
|
+
return this.host.nativeElement.querySelector(":scope > ark-skeleton");
|
|
2682
|
+
}
|
|
2491
2683
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2492
2684
|
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
2685
|
<ark-skeleton
|
|
@@ -2537,10 +2729,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2537
2729
|
|
|
2538
2730
|
class ArkSpinnerComponent {
|
|
2539
2731
|
constructor() {
|
|
2732
|
+
this.host = inject(ElementRef);
|
|
2540
2733
|
this.size = "md";
|
|
2541
2734
|
this.theme = "auto";
|
|
2542
2735
|
ensureTooarkComponentsRegistered();
|
|
2543
2736
|
}
|
|
2737
|
+
/** O `ark-spinner` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2738
|
+
get element() {
|
|
2739
|
+
return this.host.nativeElement.querySelector(":scope > ark-spinner");
|
|
2740
|
+
}
|
|
2544
2741
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2545
2742
|
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
2743
|
<ark-spinner
|
|
@@ -2588,6 +2785,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2588
2785
|
|
|
2589
2786
|
class ArkSplitPaneComponent {
|
|
2590
2787
|
constructor() {
|
|
2788
|
+
this.host = inject(ElementRef);
|
|
2591
2789
|
/** Painéis lado a lado (horizontal) ou empilhados (vertical). Padrão: "horizontal". */
|
|
2592
2790
|
this.direction = "horizontal";
|
|
2593
2791
|
this.theme = "auto";
|
|
@@ -2596,6 +2794,10 @@ class ArkSplitPaneComponent {
|
|
|
2596
2794
|
this.resizeHandler = (event) => this.arkResize.emit(event);
|
|
2597
2795
|
ensureTooarkComponentsRegistered();
|
|
2598
2796
|
}
|
|
2797
|
+
/** O `ark-split-pane` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2798
|
+
get element() {
|
|
2799
|
+
return this.host.nativeElement.querySelector(":scope > ark-split-pane");
|
|
2800
|
+
}
|
|
2599
2801
|
get sizesAttr() {
|
|
2600
2802
|
return this.sizes ? this.sizes.join(",") : null;
|
|
2601
2803
|
}
|
|
@@ -2657,12 +2859,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2657
2859
|
|
|
2658
2860
|
class ArkStatusDotComponent {
|
|
2659
2861
|
constructor() {
|
|
2862
|
+
this.host = inject(ElementRef);
|
|
2660
2863
|
/** Cor do ponto. Padrão: "neutral". */
|
|
2661
2864
|
this.intent = "neutral";
|
|
2662
2865
|
this.size = "md";
|
|
2663
2866
|
this.theme = "auto";
|
|
2664
2867
|
ensureTooarkComponentsRegistered();
|
|
2665
2868
|
}
|
|
2869
|
+
/** O `ark-status-dot` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2870
|
+
get element() {
|
|
2871
|
+
return this.host.nativeElement.querySelector(":scope > ark-status-dot");
|
|
2872
|
+
}
|
|
2666
2873
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkStatusDotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2667
2874
|
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
2875
|
<ark-status-dot
|
|
@@ -2702,6 +2909,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2702
2909
|
|
|
2703
2910
|
class ArkSwitchComponent {
|
|
2704
2911
|
constructor() {
|
|
2912
|
+
this.host = inject(ElementRef);
|
|
2705
2913
|
this.checked = false;
|
|
2706
2914
|
this.disabled = false;
|
|
2707
2915
|
this.labels = false;
|
|
@@ -2712,6 +2920,10 @@ class ArkSwitchComponent {
|
|
|
2712
2920
|
this.changed = new EventEmitter();
|
|
2713
2921
|
ensureTooarkComponentsRegistered();
|
|
2714
2922
|
}
|
|
2923
|
+
/** O `ark-switch` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2924
|
+
get element() {
|
|
2925
|
+
return this.host.nativeElement.querySelector(":scope > ark-switch");
|
|
2926
|
+
}
|
|
2715
2927
|
onChange(event) {
|
|
2716
2928
|
this.changed.emit(event);
|
|
2717
2929
|
}
|
|
@@ -2798,6 +3010,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2798
3010
|
|
|
2799
3011
|
class ArkTabsComponent {
|
|
2800
3012
|
constructor() {
|
|
3013
|
+
this.host = inject(ElementRef);
|
|
2801
3014
|
this.variant = "underline";
|
|
2802
3015
|
this.size = "md";
|
|
2803
3016
|
this.intent = "primary";
|
|
@@ -2808,6 +3021,10 @@ class ArkTabsComponent {
|
|
|
2808
3021
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
2809
3022
|
ensureTooarkComponentsRegistered();
|
|
2810
3023
|
}
|
|
3024
|
+
/** O `ark-tabs` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3025
|
+
get element() {
|
|
3026
|
+
return this.host.nativeElement.querySelector(":scope > ark-tabs");
|
|
3027
|
+
}
|
|
2811
3028
|
ngAfterViewInit() {
|
|
2812
3029
|
this.tabsRef?.nativeElement?.addEventListener("ark-close", this.closeHandler);
|
|
2813
3030
|
}
|
|
@@ -2892,6 +3109,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2892
3109
|
}] } });
|
|
2893
3110
|
class ArkTabComponent {
|
|
2894
3111
|
constructor() {
|
|
3112
|
+
this.host = inject(ElementRef);
|
|
2895
3113
|
this.value = "";
|
|
2896
3114
|
this.disabled = false;
|
|
2897
3115
|
/** Botão de fechar, clique do meio e Delete (só na variante editor). */
|
|
@@ -2900,6 +3118,10 @@ class ArkTabComponent {
|
|
|
2900
3118
|
this.dirty = false;
|
|
2901
3119
|
ensureTooarkComponentsRegistered();
|
|
2902
3120
|
}
|
|
3121
|
+
/** O `ark-tab` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3122
|
+
get element() {
|
|
3123
|
+
return this.host.nativeElement.querySelector(":scope > ark-tab");
|
|
3124
|
+
}
|
|
2903
3125
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2904
3126
|
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
3127
|
<ark-tab
|
|
@@ -2945,6 +3167,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
2945
3167
|
|
|
2946
3168
|
class ArkTextareaComponent {
|
|
2947
3169
|
constructor() {
|
|
3170
|
+
this.host = inject(ElementRef);
|
|
2948
3171
|
/** Cresce com o conteúdo (field-sizing nativo, fallback por JS). */
|
|
2949
3172
|
this.autosize = false;
|
|
2950
3173
|
/** Fonte monoespaçada, para código e dados. */
|
|
@@ -2961,6 +3184,10 @@ class ArkTextareaComponent {
|
|
|
2961
3184
|
this.autofocus = false;
|
|
2962
3185
|
ensureTooarkComponentsRegistered();
|
|
2963
3186
|
}
|
|
3187
|
+
/** O `ark-textarea` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3188
|
+
get element() {
|
|
3189
|
+
return this.host.nativeElement.querySelector(":scope > ark-textarea");
|
|
3190
|
+
}
|
|
2964
3191
|
get spellcheckAttr() {
|
|
2965
3192
|
return this.spellcheck === undefined ? null : String(this.spellcheck);
|
|
2966
3193
|
}
|
|
@@ -3089,6 +3316,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
3089
3316
|
|
|
3090
3317
|
class ArkToasterComponent {
|
|
3091
3318
|
constructor() {
|
|
3319
|
+
this.host = inject(ElementRef);
|
|
3092
3320
|
this.theme = "auto";
|
|
3093
3321
|
this.position = "bottom-right";
|
|
3094
3322
|
this.richColors = false;
|
|
@@ -3099,6 +3327,10 @@ class ArkToasterComponent {
|
|
|
3099
3327
|
this.arkToastAction = new EventEmitter();
|
|
3100
3328
|
ensureTooarkComponentsRegistered();
|
|
3101
3329
|
}
|
|
3330
|
+
/** O `ark-toaster` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3331
|
+
get element() {
|
|
3332
|
+
return this.host.nativeElement.querySelector(":scope > ark-toaster");
|
|
3333
|
+
}
|
|
3102
3334
|
onAction(event) {
|
|
3103
3335
|
this.arkToastAction.emit(event);
|
|
3104
3336
|
}
|
|
@@ -3157,6 +3389,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
3157
3389
|
|
|
3158
3390
|
class ArkToggleComponent {
|
|
3159
3391
|
constructor() {
|
|
3392
|
+
this.host = inject(ElementRef);
|
|
3160
3393
|
this.pressed = false;
|
|
3161
3394
|
this.disabled = false;
|
|
3162
3395
|
this.intent = "primary";
|
|
@@ -3165,6 +3398,10 @@ class ArkToggleComponent {
|
|
|
3165
3398
|
this.changed = new EventEmitter();
|
|
3166
3399
|
ensureTooarkComponentsRegistered();
|
|
3167
3400
|
}
|
|
3401
|
+
/** O `ark-toggle` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3402
|
+
get element() {
|
|
3403
|
+
return this.host.nativeElement.querySelector(":scope > ark-toggle");
|
|
3404
|
+
}
|
|
3168
3405
|
onChange(event) {
|
|
3169
3406
|
this.changed.emit(event);
|
|
3170
3407
|
}
|
|
@@ -3224,11 +3461,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
3224
3461
|
}] } });
|
|
3225
3462
|
class ArkToggleGroupComponent {
|
|
3226
3463
|
constructor() {
|
|
3464
|
+
this.host = inject(ElementRef);
|
|
3227
3465
|
this.multiple = false;
|
|
3228
3466
|
this.disabled = false;
|
|
3229
3467
|
this.changed = new EventEmitter();
|
|
3230
3468
|
ensureTooarkComponentsRegistered();
|
|
3231
3469
|
}
|
|
3470
|
+
/** O `ark-toggle-group` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3471
|
+
get element() {
|
|
3472
|
+
return this.host.nativeElement.querySelector(":scope > ark-toggle-group");
|
|
3473
|
+
}
|
|
3232
3474
|
onChange(event) {
|
|
3233
3475
|
this.changed.emit(event);
|
|
3234
3476
|
}
|
|
@@ -3285,6 +3527,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
3285
3527
|
|
|
3286
3528
|
class ArkTooltipComponent {
|
|
3287
3529
|
constructor() {
|
|
3530
|
+
this.host = inject(ElementRef);
|
|
3288
3531
|
/** Lado do gatilho; vira quando não cabe. Padrão: "top". */
|
|
3289
3532
|
this.side = "top";
|
|
3290
3533
|
/** Aberto; refletido do estado do balão. */
|
|
@@ -3292,6 +3535,10 @@ class ArkTooltipComponent {
|
|
|
3292
3535
|
this.theme = "auto";
|
|
3293
3536
|
ensureTooarkComponentsRegistered();
|
|
3294
3537
|
}
|
|
3538
|
+
/** O `ark-tooltip` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3539
|
+
get element() {
|
|
3540
|
+
return this.host.nativeElement.querySelector(":scope > ark-tooltip");
|
|
3541
|
+
}
|
|
3295
3542
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3296
3543
|
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
3544
|
<ark-tooltip
|