@tooark/angular 1.0.0 → 1.1.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/.npmignore +2 -0
- package/README.md +12 -9
- package/README.pt-BR.md +12 -9
- package/fesm2022/tooark-angular.mjs +236 -199
- package/fesm2022/tooark-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/types/tooark-angular.d.ts +69 -45
|
@@ -39,8 +39,8 @@ class ArkAlertComponent {
|
|
|
39
39
|
ngOnDestroy() {
|
|
40
40
|
this.alertRef?.nativeElement?.removeEventListener("ark-dismiss", this.dismissHandler);
|
|
41
41
|
}
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
43
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
43
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkAlertComponent, isStandalone: true, selector: "ark-alert-wrapper", inputs: { testid: "testid", intent: "intent", variant: "variant", heading: "heading", dismissible: "dismissible", live: "live", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { arkDismiss: "arkDismiss" }, viewQueries: [{ propertyName: "alertRef", first: true, predicate: ["alert"], descendants: true }], ngImport: i0, template: `
|
|
44
44
|
<ark-alert
|
|
45
45
|
#alert
|
|
46
46
|
[attr.testid]="testid"
|
|
@@ -55,7 +55,7 @@ class ArkAlertComponent {
|
|
|
55
55
|
<ng-content></ng-content>
|
|
56
56
|
</ark-alert>`, isInline: true }); }
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkAlertComponent, decorators: [{
|
|
59
59
|
type: Component,
|
|
60
60
|
args: [{
|
|
61
61
|
selector: "ark-alert-wrapper",
|
|
@@ -109,10 +109,11 @@ class ArkAvatarComponent {
|
|
|
109
109
|
this.theme = "auto";
|
|
110
110
|
ensureTooarkComponentsRegistered();
|
|
111
111
|
}
|
|
112
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
113
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
113
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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
114
|
<ark-avatar
|
|
115
115
|
[attr.testid]="testid"
|
|
116
|
+
[attr.aria-label]="ariaLabel"
|
|
116
117
|
[attr.name]="name"
|
|
117
118
|
[attr.src]="src"
|
|
118
119
|
[attr.size]="size"
|
|
@@ -121,7 +122,7 @@ class ArkAvatarComponent {
|
|
|
121
122
|
[attr.theme]="theme">
|
|
122
123
|
</ark-avatar>`, isInline: true }); }
|
|
123
124
|
}
|
|
124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkAvatarComponent, decorators: [{
|
|
125
126
|
type: Component,
|
|
126
127
|
args: [{
|
|
127
128
|
selector: "ark-avatar-wrapper",
|
|
@@ -130,6 +131,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
130
131
|
template: `
|
|
131
132
|
<ark-avatar
|
|
132
133
|
[attr.testid]="testid"
|
|
134
|
+
[attr.aria-label]="ariaLabel"
|
|
133
135
|
[attr.name]="name"
|
|
134
136
|
[attr.src]="src"
|
|
135
137
|
[attr.size]="size"
|
|
@@ -140,6 +142,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
140
142
|
}]
|
|
141
143
|
}], ctorParameters: () => [], propDecorators: { testid: [{
|
|
142
144
|
type: Input
|
|
145
|
+
}], ariaLabel: [{
|
|
146
|
+
type: Input
|
|
143
147
|
}], name: [{
|
|
144
148
|
type: Input
|
|
145
149
|
}], src: [{
|
|
@@ -163,8 +167,8 @@ class ArkBadgeComponent {
|
|
|
163
167
|
this.theme = "auto";
|
|
164
168
|
ensureTooarkComponentsRegistered();
|
|
165
169
|
}
|
|
166
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
167
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
170
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
171
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
168
172
|
<ark-badge
|
|
169
173
|
[attr.testid]="testid"
|
|
170
174
|
[attr.intent]="intent"
|
|
@@ -176,7 +180,7 @@ class ArkBadgeComponent {
|
|
|
176
180
|
<ng-content></ng-content>
|
|
177
181
|
</ark-badge>`, isInline: true }); }
|
|
178
182
|
}
|
|
179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkBadgeComponent, decorators: [{
|
|
180
184
|
type: Component,
|
|
181
185
|
args: [{
|
|
182
186
|
selector: "ark-badge-wrapper",
|
|
@@ -218,16 +222,16 @@ class ArkButtonComponent {
|
|
|
218
222
|
this.iconOnly = false;
|
|
219
223
|
this.fullWidth = false;
|
|
220
224
|
this.variant = "primary";
|
|
221
|
-
this.intent = "primary";
|
|
222
225
|
this.theme = "auto";
|
|
223
226
|
this.size = "md";
|
|
224
227
|
this.rounded = "md";
|
|
225
228
|
ensureTooarkComponentsRegistered();
|
|
226
229
|
}
|
|
227
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
228
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
231
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
229
232
|
<ark-button
|
|
230
233
|
[attr.testid]="testid"
|
|
234
|
+
[attr.aria-label]="ariaLabel"
|
|
231
235
|
[attr.type]="type"
|
|
232
236
|
[attr.disabled]="disabled ? '' : null"
|
|
233
237
|
[attr.loading]="loading ? '' : null"
|
|
@@ -247,7 +251,7 @@ class ArkButtonComponent {
|
|
|
247
251
|
<ng-content></ng-content>
|
|
248
252
|
</ark-button>`, isInline: true }); }
|
|
249
253
|
}
|
|
250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkButtonComponent, decorators: [{
|
|
251
255
|
type: Component,
|
|
252
256
|
args: [{
|
|
253
257
|
selector: "ark-button-wrapper",
|
|
@@ -256,6 +260,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
256
260
|
template: `
|
|
257
261
|
<ark-button
|
|
258
262
|
[attr.testid]="testid"
|
|
263
|
+
[attr.aria-label]="ariaLabel"
|
|
259
264
|
[attr.type]="type"
|
|
260
265
|
[attr.disabled]="disabled ? '' : null"
|
|
261
266
|
[attr.loading]="loading ? '' : null"
|
|
@@ -277,6 +282,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
277
282
|
}]
|
|
278
283
|
}], ctorParameters: () => [], propDecorators: { testid: [{
|
|
279
284
|
type: Input
|
|
285
|
+
}], ariaLabel: [{
|
|
286
|
+
type: Input
|
|
280
287
|
}], type: [{
|
|
281
288
|
type: Input
|
|
282
289
|
}], disabled: [{
|
|
@@ -332,8 +339,8 @@ class ArkCalendarComponent {
|
|
|
332
339
|
ngOnDestroy() {
|
|
333
340
|
this.calendarRef?.nativeElement?.removeEventListener("ark-change", this.handler);
|
|
334
341
|
}
|
|
335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
336
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
343
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkCalendarComponent, isStandalone: true, selector: "ark-calendar-wrapper", inputs: { testid: "testid", lang: "lang", localeJson: "localeJson", theme: "theme", intent: "intent", accentColor: "accentColor", value: "value", min: "min", max: "max", events: "events", eventDisplay: "eventDisplay" }, outputs: { arkChange: "arkChange" }, viewQueries: [{ propertyName: "calendarRef", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
337
344
|
<ark-calendar
|
|
338
345
|
#calendar
|
|
339
346
|
[attr.testid]="testid"
|
|
@@ -349,7 +356,7 @@ class ArkCalendarComponent {
|
|
|
349
356
|
[attr.event-display]="eventDisplay">
|
|
350
357
|
</ark-calendar>`, isInline: true }); }
|
|
351
358
|
}
|
|
352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCalendarComponent, decorators: [{
|
|
353
360
|
type: Component,
|
|
354
361
|
args: [{
|
|
355
362
|
selector: "ark-calendar-wrapper",
|
|
@@ -405,8 +412,8 @@ class ArkCardComponent {
|
|
|
405
412
|
this.theme = "auto";
|
|
406
413
|
ensureTooarkComponentsRegistered();
|
|
407
414
|
}
|
|
408
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
409
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
415
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
416
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkCardComponent, isStandalone: true, selector: "ark-card-wrapper", inputs: { testid: "testid", heading: "heading", padding: "padding", rounded: "rounded", theme: "theme" }, ngImport: i0, template: `
|
|
410
417
|
<ark-card
|
|
411
418
|
[attr.testid]="testid"
|
|
412
419
|
[attr.heading]="heading"
|
|
@@ -416,7 +423,7 @@ class ArkCardComponent {
|
|
|
416
423
|
<ng-content></ng-content>
|
|
417
424
|
</ark-card>`, isInline: true }); }
|
|
418
425
|
}
|
|
419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCardComponent, decorators: [{
|
|
420
427
|
type: Component,
|
|
421
428
|
args: [{
|
|
422
429
|
selector: "ark-card-wrapper",
|
|
@@ -468,8 +475,8 @@ class ArkCarouselComponent {
|
|
|
468
475
|
ngOnDestroy() {
|
|
469
476
|
this.carouselRef?.nativeElement?.removeEventListener("ark-slide-change", this.handler);
|
|
470
477
|
}
|
|
471
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
472
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
478
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
479
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkCarouselComponent, isStandalone: true, selector: "ark-carousel-wrapper", inputs: { testid: "testid", theme: "theme", intent: "intent", accentColor: "accentColor", slidesPerView: "slidesPerView", gap: "gap", startIndex: "startIndex", loop: "loop", autoplay: "autoplay", autoplayDelay: "autoplayDelay", showDots: "showDots", showArrows: "showArrows", dragFree: "dragFree", snap: "snap" }, outputs: { arkSlideChange: "arkSlideChange" }, viewQueries: [{ propertyName: "carouselRef", first: true, predicate: ["carousel"], descendants: true }], ngImport: i0, template: `
|
|
473
480
|
<ark-carousel
|
|
474
481
|
#carousel
|
|
475
482
|
[attr.testid]="testid"
|
|
@@ -489,7 +496,7 @@ class ArkCarouselComponent {
|
|
|
489
496
|
<ng-content></ng-content>
|
|
490
497
|
</ark-carousel>`, isInline: true }); }
|
|
491
498
|
}
|
|
492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCarouselComponent, decorators: [{
|
|
493
500
|
type: Component,
|
|
494
501
|
args: [{
|
|
495
502
|
selector: "ark-carousel-wrapper",
|
|
@@ -565,10 +572,11 @@ class ArkCheckboxComponent {
|
|
|
565
572
|
onChange(event) {
|
|
566
573
|
this.changed.emit(event);
|
|
567
574
|
}
|
|
568
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
569
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
575
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
576
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
570
577
|
<ark-checkbox
|
|
571
578
|
[attr.testid]="testid"
|
|
579
|
+
[attr.aria-label]="ariaLabel"
|
|
572
580
|
[attr.checked]="checked ? '' : null"
|
|
573
581
|
[attr.indeterminate]="indeterminate ? '' : null"
|
|
574
582
|
[attr.disabled]="disabled ? '' : null"
|
|
@@ -582,7 +590,7 @@ class ArkCheckboxComponent {
|
|
|
582
590
|
<ng-content></ng-content>
|
|
583
591
|
</ark-checkbox>`, isInline: true }); }
|
|
584
592
|
}
|
|
585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCheckboxComponent, decorators: [{
|
|
586
594
|
type: Component,
|
|
587
595
|
args: [{
|
|
588
596
|
selector: "ark-checkbox-wrapper",
|
|
@@ -591,6 +599,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
591
599
|
template: `
|
|
592
600
|
<ark-checkbox
|
|
593
601
|
[attr.testid]="testid"
|
|
602
|
+
[attr.aria-label]="ariaLabel"
|
|
594
603
|
[attr.checked]="checked ? '' : null"
|
|
595
604
|
[attr.indeterminate]="indeterminate ? '' : null"
|
|
596
605
|
[attr.disabled]="disabled ? '' : null"
|
|
@@ -606,6 +615,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
606
615
|
}]
|
|
607
616
|
}], ctorParameters: () => [], propDecorators: { testid: [{
|
|
608
617
|
type: Input
|
|
618
|
+
}], ariaLabel: [{
|
|
619
|
+
type: Input
|
|
609
620
|
}], checked: [{
|
|
610
621
|
type: Input
|
|
611
622
|
}], indeterminate: [{
|
|
@@ -645,8 +656,8 @@ class ArkClockComponent {
|
|
|
645
656
|
ngOnDestroy() {
|
|
646
657
|
this.clockRef?.nativeElement?.removeEventListener("ark-change", this.handler);
|
|
647
658
|
}
|
|
648
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
649
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
659
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkClockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
660
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkClockComponent, isStandalone: true, selector: "ark-clock-wrapper", inputs: { testid: "testid", value: "value", lang: "lang", theme: "theme", intent: "intent", seconds: "seconds", stepMinutes: "stepMinutes", hoursFormat: "hoursFormat" }, outputs: { arkChange: "arkChange" }, viewQueries: [{ propertyName: "clockRef", first: true, predicate: ["clock"], descendants: true }], ngImport: i0, template: `
|
|
650
661
|
<ark-clock
|
|
651
662
|
#clock
|
|
652
663
|
[attr.testid]="testid"
|
|
@@ -659,7 +670,7 @@ class ArkClockComponent {
|
|
|
659
670
|
[attr.hours-format]="hoursFormat">
|
|
660
671
|
</ark-clock>`, isInline: true }); }
|
|
661
672
|
}
|
|
662
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkClockComponent, decorators: [{
|
|
663
674
|
type: Component,
|
|
664
675
|
args: [{
|
|
665
676
|
selector: "ark-clock-wrapper",
|
|
@@ -716,10 +727,11 @@ class ArkColorSwatchesComponent {
|
|
|
716
727
|
onChange(event) {
|
|
717
728
|
this.changed.emit(event);
|
|
718
729
|
}
|
|
719
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
720
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
730
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkColorSwatchesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
731
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkColorSwatchesComponent, isStandalone: true, selector: "ark-color-swatches-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", value: "value", colors: "colors", label: "label", disabled: "disabled", size: "size", theme: "theme" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
721
732
|
<ark-color-swatches
|
|
722
733
|
[attr.testid]="testid"
|
|
734
|
+
[attr.aria-label]="ariaLabel"
|
|
723
735
|
[attr.value]="value"
|
|
724
736
|
[attr.colors]="colorsJson"
|
|
725
737
|
[attr.label]="label"
|
|
@@ -729,7 +741,7 @@ class ArkColorSwatchesComponent {
|
|
|
729
741
|
(change)="onChange($event)">
|
|
730
742
|
</ark-color-swatches>`, isInline: true }); }
|
|
731
743
|
}
|
|
732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkColorSwatchesComponent, decorators: [{
|
|
733
745
|
type: Component,
|
|
734
746
|
args: [{
|
|
735
747
|
selector: "ark-color-swatches-wrapper",
|
|
@@ -738,6 +750,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
738
750
|
template: `
|
|
739
751
|
<ark-color-swatches
|
|
740
752
|
[attr.testid]="testid"
|
|
753
|
+
[attr.aria-label]="ariaLabel"
|
|
741
754
|
[attr.value]="value"
|
|
742
755
|
[attr.colors]="colorsJson"
|
|
743
756
|
[attr.label]="label"
|
|
@@ -749,6 +762,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
749
762
|
}]
|
|
750
763
|
}], ctorParameters: () => [], propDecorators: { testid: [{
|
|
751
764
|
type: Input
|
|
765
|
+
}], ariaLabel: [{
|
|
766
|
+
type: Input
|
|
752
767
|
}], value: [{
|
|
753
768
|
type: Input
|
|
754
769
|
}], colors: [{
|
|
@@ -778,30 +793,17 @@ class ArkCommandPaletteComponent {
|
|
|
778
793
|
this.arkQuery = new EventEmitter();
|
|
779
794
|
this.arkOpen = new EventEmitter();
|
|
780
795
|
this.arkClose = new EventEmitter();
|
|
796
|
+
// Ligados no template, e não no ngAfterViewInit: o listener existe desde a criação da view, então o ark-open de um
|
|
797
|
+
// overlay que já nasce aberto (o elemento o emite num microtask) não se perde, nem na hidratação de SSR.
|
|
781
798
|
this.selectHandler = (event) => this.arkSelect.emit(event);
|
|
782
799
|
this.queryHandler = (event) => this.arkQuery.emit(event);
|
|
783
800
|
this.openHandler = (event) => this.arkOpen.emit(event);
|
|
784
801
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
785
802
|
ensureTooarkComponentsRegistered();
|
|
786
803
|
}
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
el?.addEventListener("ark-select", this.selectHandler);
|
|
790
|
-
el?.addEventListener("ark-query", this.queryHandler);
|
|
791
|
-
el?.addEventListener("ark-open", this.openHandler);
|
|
792
|
-
el?.addEventListener("ark-close", this.closeHandler);
|
|
793
|
-
}
|
|
794
|
-
ngOnDestroy() {
|
|
795
|
-
const el = this.paletteRef?.nativeElement;
|
|
796
|
-
el?.removeEventListener("ark-select", this.selectHandler);
|
|
797
|
-
el?.removeEventListener("ark-query", this.queryHandler);
|
|
798
|
-
el?.removeEventListener("ark-open", this.openHandler);
|
|
799
|
-
el?.removeEventListener("ark-close", this.closeHandler);
|
|
800
|
-
}
|
|
801
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
802
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", 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" }, viewQueries: [{ propertyName: "paletteRef", first: true, predicate: ["palette"], descendants: true }], ngImport: i0, template: `
|
|
804
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
805
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
803
806
|
<ark-command-palette
|
|
804
|
-
#palette
|
|
805
807
|
[attr.testid]="testid"
|
|
806
808
|
[attr.open]="open ? '' : null"
|
|
807
809
|
[attr.placeholder]="placeholder"
|
|
@@ -813,11 +815,15 @@ class ArkCommandPaletteComponent {
|
|
|
813
815
|
[attr.theme]="theme"
|
|
814
816
|
[attr.lang]="lang"
|
|
815
817
|
[attr.locale-json]="localeJson"
|
|
816
|
-
[attr.aria-label]="ariaLabel"
|
|
818
|
+
[attr.aria-label]="ariaLabel"
|
|
819
|
+
(ark-select)="selectHandler($event)"
|
|
820
|
+
(ark-query)="queryHandler($event)"
|
|
821
|
+
(ark-open)="openHandler($event)"
|
|
822
|
+
(ark-close)="closeHandler($event)">
|
|
817
823
|
<ng-content></ng-content>
|
|
818
824
|
</ark-command-palette>`, isInline: true }); }
|
|
819
825
|
}
|
|
820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCommandPaletteComponent, decorators: [{
|
|
821
827
|
type: Component,
|
|
822
828
|
args: [{
|
|
823
829
|
selector: "ark-command-palette-wrapper",
|
|
@@ -825,7 +831,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
825
831
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
826
832
|
template: `
|
|
827
833
|
<ark-command-palette
|
|
828
|
-
#palette
|
|
829
834
|
[attr.testid]="testid"
|
|
830
835
|
[attr.open]="open ? '' : null"
|
|
831
836
|
[attr.placeholder]="placeholder"
|
|
@@ -837,7 +842,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
837
842
|
[attr.theme]="theme"
|
|
838
843
|
[attr.lang]="lang"
|
|
839
844
|
[attr.locale-json]="localeJson"
|
|
840
|
-
[attr.aria-label]="ariaLabel"
|
|
845
|
+
[attr.aria-label]="ariaLabel"
|
|
846
|
+
(ark-select)="selectHandler($event)"
|
|
847
|
+
(ark-query)="queryHandler($event)"
|
|
848
|
+
(ark-open)="openHandler($event)"
|
|
849
|
+
(ark-close)="closeHandler($event)">
|
|
841
850
|
<ng-content></ng-content>
|
|
842
851
|
</ark-command-palette>`
|
|
843
852
|
}]
|
|
@@ -873,9 +882,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
873
882
|
type: Output
|
|
874
883
|
}], arkClose: [{
|
|
875
884
|
type: Output
|
|
876
|
-
}], paletteRef: [{
|
|
877
|
-
type: ViewChild,
|
|
878
|
-
args: ["palette", { static: false }]
|
|
879
885
|
}] } });
|
|
880
886
|
class ArkCommandItemComponent {
|
|
881
887
|
constructor() {
|
|
@@ -883,8 +889,8 @@ class ArkCommandItemComponent {
|
|
|
883
889
|
this.disabled = false;
|
|
884
890
|
ensureTooarkComponentsRegistered();
|
|
885
891
|
}
|
|
886
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
887
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
892
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCommandItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
893
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
888
894
|
<ark-command-item
|
|
889
895
|
[attr.testid]="testid"
|
|
890
896
|
[attr.value]="value"
|
|
@@ -894,12 +900,14 @@ class ArkCommandItemComponent {
|
|
|
894
900
|
<ng-content></ng-content>
|
|
895
901
|
</ark-command-item>`, isInline: true }); }
|
|
896
902
|
}
|
|
897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCommandItemComponent, decorators: [{
|
|
898
904
|
type: Component,
|
|
899
905
|
args: [{
|
|
900
906
|
selector: "ark-command-item-wrapper",
|
|
901
907
|
standalone: true,
|
|
902
908
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
909
|
+
// Sem caixa própria: o item entra no layout da paleta, que o ordena por grupo com `order`.
|
|
910
|
+
host: { style: "display: contents" },
|
|
903
911
|
template: `
|
|
904
912
|
<ark-command-item
|
|
905
913
|
[attr.testid]="testid"
|
|
@@ -925,7 +933,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
925
933
|
class ArkCopyButtonComponent {
|
|
926
934
|
constructor() {
|
|
927
935
|
this.variant = "primary";
|
|
928
|
-
this.intent = "primary";
|
|
929
936
|
this.theme = "auto";
|
|
930
937
|
this.size = "md";
|
|
931
938
|
this.rounded = "md";
|
|
@@ -943,11 +950,12 @@ class ArkCopyButtonComponent {
|
|
|
943
950
|
ngOnDestroy() {
|
|
944
951
|
this.buttonRef?.nativeElement?.removeEventListener("ark-copy", this.copyHandler);
|
|
945
952
|
}
|
|
946
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
947
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
953
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCopyButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
954
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkCopyButtonComponent, isStandalone: true, selector: "ark-copy-button-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", value: "value", for: "for", feedbackMs: "feedbackMs", variant: "variant", intent: "intent", theme: "theme", size: "size", rounded: "rounded", disabled: "disabled", loading: "loading", iconOnly: "iconOnly", fullWidth: "fullWidth", color: "color", textColor: "textColor", lang: "lang", localeJson: "localeJson" }, outputs: { arkCopy: "arkCopy" }, viewQueries: [{ propertyName: "buttonRef", first: true, predicate: ["button"], descendants: true }], ngImport: i0, template: `
|
|
948
955
|
<ark-copy-button
|
|
949
956
|
#button
|
|
950
957
|
[attr.testid]="testid"
|
|
958
|
+
[attr.aria-label]="ariaLabel"
|
|
951
959
|
[attr.value]="value"
|
|
952
960
|
[attr.for]="for"
|
|
953
961
|
[attr.feedback-ms]="feedbackMs"
|
|
@@ -967,7 +975,7 @@ class ArkCopyButtonComponent {
|
|
|
967
975
|
<ng-content></ng-content>
|
|
968
976
|
</ark-copy-button>`, isInline: true }); }
|
|
969
977
|
}
|
|
970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkCopyButtonComponent, decorators: [{
|
|
971
979
|
type: Component,
|
|
972
980
|
args: [{
|
|
973
981
|
selector: "ark-copy-button-wrapper",
|
|
@@ -977,6 +985,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
977
985
|
<ark-copy-button
|
|
978
986
|
#button
|
|
979
987
|
[attr.testid]="testid"
|
|
988
|
+
[attr.aria-label]="ariaLabel"
|
|
980
989
|
[attr.value]="value"
|
|
981
990
|
[attr.for]="for"
|
|
982
991
|
[attr.feedback-ms]="feedbackMs"
|
|
@@ -998,6 +1007,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
998
1007
|
}]
|
|
999
1008
|
}], ctorParameters: () => [], propDecorators: { testid: [{
|
|
1000
1009
|
type: Input
|
|
1010
|
+
}], ariaLabel: [{
|
|
1011
|
+
type: Input
|
|
1001
1012
|
}], value: [{
|
|
1002
1013
|
type: Input
|
|
1003
1014
|
}], for: [{
|
|
@@ -1062,8 +1073,8 @@ class ArkDatepickerComponent {
|
|
|
1062
1073
|
ngOnDestroy() {
|
|
1063
1074
|
this.pickerRef?.nativeElement?.removeEventListener("ark-change", this.handler);
|
|
1064
1075
|
}
|
|
1065
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1066
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1076
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkDatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1077
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkDatepickerComponent, isStandalone: true, selector: "ark-datepicker-wrapper", inputs: { testid: "testid", lang: "lang", localeJson: "localeJson", theme: "theme", intent: "intent", accentColor: "accentColor", value: "value", min: "min", max: "max", mode: "mode", input: "input", seconds: "seconds", placeholder: "placeholder", name: "name", format: "format", disabled: "disabled", events: "events", eventDisplay: "eventDisplay", stepMinutes: "stepMinutes", hoursFormat: "hoursFormat" }, outputs: { arkChange: "arkChange" }, viewQueries: [{ propertyName: "pickerRef", first: true, predicate: ["picker"], descendants: true }], ngImport: i0, template: `
|
|
1067
1078
|
<ark-datepicker
|
|
1068
1079
|
#picker
|
|
1069
1080
|
[attr.testid]="testid"
|
|
@@ -1088,7 +1099,7 @@ class ArkDatepickerComponent {
|
|
|
1088
1099
|
[attr.hours-format]="hoursFormat">
|
|
1089
1100
|
</ark-datepicker>`, isInline: true }); }
|
|
1090
1101
|
}
|
|
1091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkDatepickerComponent, decorators: [{
|
|
1092
1103
|
type: Component,
|
|
1093
1104
|
args: [{
|
|
1094
1105
|
selector: "ark-datepicker-wrapper",
|
|
@@ -1182,22 +1193,15 @@ class ArkDialogComponent {
|
|
|
1182
1193
|
this.arkOpen = new EventEmitter();
|
|
1183
1194
|
/** O fechamento começou; detail.reason diz por que (escape, backdrop, close-button, api). */
|
|
1184
1195
|
this.arkClose = new EventEmitter();
|
|
1196
|
+
// Ligados no template, e não no ngAfterViewInit: o listener existe desde a criação da view, então o ark-open de um
|
|
1197
|
+
// overlay que já nasce aberto (o elemento o emite num microtask) não se perde, nem na hidratação de SSR.
|
|
1185
1198
|
this.openHandler = (event) => this.arkOpen.emit(event);
|
|
1186
1199
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1187
1200
|
ensureTooarkComponentsRegistered();
|
|
1188
1201
|
}
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
this.dialogRef?.nativeElement?.addEventListener("ark-close", this.closeHandler);
|
|
1192
|
-
}
|
|
1193
|
-
ngOnDestroy() {
|
|
1194
|
-
this.dialogRef?.nativeElement?.removeEventListener("ark-open", this.openHandler);
|
|
1195
|
-
this.dialogRef?.nativeElement?.removeEventListener("ark-close", this.closeHandler);
|
|
1196
|
-
}
|
|
1197
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1198
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", 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" }, viewQueries: [{ propertyName: "dialogRef", first: true, predicate: ["dialog"], descendants: true }], ngImport: i0, template: `
|
|
1202
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1203
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
1199
1204
|
<ark-dialog
|
|
1200
|
-
#dialog
|
|
1201
1205
|
[attr.testid]="testid"
|
|
1202
1206
|
[attr.open]="open ? '' : null"
|
|
1203
1207
|
[attr.label]="label"
|
|
@@ -1210,11 +1214,13 @@ class ArkDialogComponent {
|
|
|
1210
1214
|
[attr.theme]="theme"
|
|
1211
1215
|
[attr.lang]="lang"
|
|
1212
1216
|
[attr.locale-json]="localeJson"
|
|
1213
|
-
[attr.aria-label]="ariaLabel"
|
|
1217
|
+
[attr.aria-label]="ariaLabel"
|
|
1218
|
+
(ark-open)="openHandler($event)"
|
|
1219
|
+
(ark-close)="closeHandler($event)">
|
|
1214
1220
|
<ng-content></ng-content>
|
|
1215
1221
|
</ark-dialog>`, isInline: true }); }
|
|
1216
1222
|
}
|
|
1217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkDialogComponent, decorators: [{
|
|
1218
1224
|
type: Component,
|
|
1219
1225
|
args: [{
|
|
1220
1226
|
selector: "ark-dialog-wrapper",
|
|
@@ -1222,7 +1228,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
1222
1228
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1223
1229
|
template: `
|
|
1224
1230
|
<ark-dialog
|
|
1225
|
-
#dialog
|
|
1226
1231
|
[attr.testid]="testid"
|
|
1227
1232
|
[attr.open]="open ? '' : null"
|
|
1228
1233
|
[attr.label]="label"
|
|
@@ -1235,7 +1240,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
1235
1240
|
[attr.theme]="theme"
|
|
1236
1241
|
[attr.lang]="lang"
|
|
1237
1242
|
[attr.locale-json]="localeJson"
|
|
1238
|
-
[attr.aria-label]="ariaLabel"
|
|
1243
|
+
[attr.aria-label]="ariaLabel"
|
|
1244
|
+
(ark-open)="openHandler($event)"
|
|
1245
|
+
(ark-close)="closeHandler($event)">
|
|
1239
1246
|
<ng-content></ng-content>
|
|
1240
1247
|
</ark-dialog>`
|
|
1241
1248
|
}]
|
|
@@ -1269,9 +1276,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
1269
1276
|
type: Output
|
|
1270
1277
|
}], arkClose: [{
|
|
1271
1278
|
type: Output
|
|
1272
|
-
}], dialogRef: [{
|
|
1273
|
-
type: ViewChild,
|
|
1274
|
-
args: ["dialog", { static: false }]
|
|
1275
1279
|
}] } });
|
|
1276
1280
|
|
|
1277
1281
|
class ArkDrawerComponent {
|
|
@@ -1292,22 +1296,15 @@ class ArkDrawerComponent {
|
|
|
1292
1296
|
this.arkOpen = new EventEmitter();
|
|
1293
1297
|
/** O fechamento começou; detail.reason diz por quê (escape, backdrop, close-button, api). */
|
|
1294
1298
|
this.arkClose = new EventEmitter();
|
|
1299
|
+
// Ligados no template, e não no ngAfterViewInit: o listener existe desde a criação da view, então o ark-open de um
|
|
1300
|
+
// overlay que já nasce aberto (o elemento o emite num microtask) não se perde, nem na hidratação de SSR.
|
|
1295
1301
|
this.openHandler = (event) => this.arkOpen.emit(event);
|
|
1296
1302
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1297
1303
|
ensureTooarkComponentsRegistered();
|
|
1298
1304
|
}
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
this.drawerRef?.nativeElement?.addEventListener("ark-close", this.closeHandler);
|
|
1302
|
-
}
|
|
1303
|
-
ngOnDestroy() {
|
|
1304
|
-
this.drawerRef?.nativeElement?.removeEventListener("ark-open", this.openHandler);
|
|
1305
|
-
this.drawerRef?.nativeElement?.removeEventListener("ark-close", this.closeHandler);
|
|
1306
|
-
}
|
|
1307
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1308
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", 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" }, viewQueries: [{ propertyName: "drawerRef", first: true, predicate: ["drawer"], descendants: true }], ngImport: i0, template: `
|
|
1305
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1306
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
1309
1307
|
<ark-drawer
|
|
1310
|
-
#drawer
|
|
1311
1308
|
[attr.testid]="testid"
|
|
1312
1309
|
[attr.open]="open ? '' : null"
|
|
1313
1310
|
[attr.side]="side"
|
|
@@ -1320,11 +1317,13 @@ class ArkDrawerComponent {
|
|
|
1320
1317
|
[attr.theme]="theme"
|
|
1321
1318
|
[attr.lang]="lang"
|
|
1322
1319
|
[attr.locale-json]="localeJson"
|
|
1323
|
-
[attr.aria-label]="ariaLabel"
|
|
1320
|
+
[attr.aria-label]="ariaLabel"
|
|
1321
|
+
(ark-open)="openHandler($event)"
|
|
1322
|
+
(ark-close)="closeHandler($event)">
|
|
1324
1323
|
<ng-content></ng-content>
|
|
1325
1324
|
</ark-drawer>`, isInline: true }); }
|
|
1326
1325
|
}
|
|
1327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkDrawerComponent, decorators: [{
|
|
1328
1327
|
type: Component,
|
|
1329
1328
|
args: [{
|
|
1330
1329
|
selector: "ark-drawer-wrapper",
|
|
@@ -1332,7 +1331,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
1332
1331
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1333
1332
|
template: `
|
|
1334
1333
|
<ark-drawer
|
|
1335
|
-
#drawer
|
|
1336
1334
|
[attr.testid]="testid"
|
|
1337
1335
|
[attr.open]="open ? '' : null"
|
|
1338
1336
|
[attr.side]="side"
|
|
@@ -1345,7 +1343,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
1345
1343
|
[attr.theme]="theme"
|
|
1346
1344
|
[attr.lang]="lang"
|
|
1347
1345
|
[attr.locale-json]="localeJson"
|
|
1348
|
-
[attr.aria-label]="ariaLabel"
|
|
1346
|
+
[attr.aria-label]="ariaLabel"
|
|
1347
|
+
(ark-open)="openHandler($event)"
|
|
1348
|
+
(ark-close)="closeHandler($event)">
|
|
1349
1349
|
<ng-content></ng-content>
|
|
1350
1350
|
</ark-drawer>`
|
|
1351
1351
|
}]
|
|
@@ -1379,9 +1379,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
1379
1379
|
type: Output
|
|
1380
1380
|
}], arkClose: [{
|
|
1381
1381
|
type: Output
|
|
1382
|
-
}], drawerRef: [{
|
|
1383
|
-
type: ViewChild,
|
|
1384
|
-
args: ["drawer", { static: false }]
|
|
1385
1382
|
}] } });
|
|
1386
1383
|
|
|
1387
1384
|
class ArkEmptyComponent {
|
|
@@ -1389,8 +1386,8 @@ class ArkEmptyComponent {
|
|
|
1389
1386
|
this.theme = "auto";
|
|
1390
1387
|
ensureTooarkComponentsRegistered();
|
|
1391
1388
|
}
|
|
1392
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1393
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1389
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkEmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1390
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkEmptyComponent, isStandalone: true, selector: "ark-empty-wrapper", inputs: { testid: "testid", heading: "heading", description: "description", theme: "theme" }, ngImport: i0, template: `
|
|
1394
1391
|
<ark-empty
|
|
1395
1392
|
[attr.testid]="testid"
|
|
1396
1393
|
[attr.heading]="heading"
|
|
@@ -1399,7 +1396,7 @@ class ArkEmptyComponent {
|
|
|
1399
1396
|
<ng-content></ng-content>
|
|
1400
1397
|
</ark-empty>`, isInline: true }); }
|
|
1401
1398
|
}
|
|
1402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkEmptyComponent, decorators: [{
|
|
1403
1400
|
type: Component,
|
|
1404
1401
|
args: [{
|
|
1405
1402
|
selector: "ark-empty-wrapper",
|
|
@@ -1428,6 +1425,8 @@ class ArkFileInputComponent {
|
|
|
1428
1425
|
constructor() {
|
|
1429
1426
|
/** Aceita vários arquivos; sem ele o drop fica com o primeiro. */
|
|
1430
1427
|
this.multiple = false;
|
|
1428
|
+
/** Estado de erro sem mensagem (borda danger e aria-invalid). */
|
|
1429
|
+
this.error = false;
|
|
1431
1430
|
this.disabled = false;
|
|
1432
1431
|
this.required = false;
|
|
1433
1432
|
this.intent = "primary";
|
|
@@ -1440,8 +1439,8 @@ class ArkFileInputComponent {
|
|
|
1440
1439
|
onChange(event) {
|
|
1441
1440
|
this.changed.emit(event);
|
|
1442
1441
|
}
|
|
1443
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1444
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1442
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkFileInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1443
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkFileInputComponent, isStandalone: true, selector: "ark-file-input-wrapper", inputs: { testid: "testid", accept: "accept", multiple: "multiple", label: "label", helper: "helper", errorMessage: "errorMessage", error: "error", disabled: "disabled", required: "required", name: "name", intent: "intent", size: "size", rounded: "rounded", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
1445
1444
|
<ark-file-input
|
|
1446
1445
|
[attr.testid]="testid"
|
|
1447
1446
|
[attr.accept]="accept"
|
|
@@ -1449,6 +1448,7 @@ class ArkFileInputComponent {
|
|
|
1449
1448
|
[attr.label]="label"
|
|
1450
1449
|
[attr.helper]="helper"
|
|
1451
1450
|
[attr.error-message]="errorMessage"
|
|
1451
|
+
[attr.error]="error ? '' : null"
|
|
1452
1452
|
[attr.disabled]="disabled ? '' : null"
|
|
1453
1453
|
[attr.required]="required ? '' : null"
|
|
1454
1454
|
[attr.name]="name"
|
|
@@ -1461,7 +1461,7 @@ class ArkFileInputComponent {
|
|
|
1461
1461
|
(change)="onChange($event)">
|
|
1462
1462
|
</ark-file-input>`, isInline: true }); }
|
|
1463
1463
|
}
|
|
1464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkFileInputComponent, decorators: [{
|
|
1465
1465
|
type: Component,
|
|
1466
1466
|
args: [{
|
|
1467
1467
|
selector: "ark-file-input-wrapper",
|
|
@@ -1475,6 +1475,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
1475
1475
|
[attr.label]="label"
|
|
1476
1476
|
[attr.helper]="helper"
|
|
1477
1477
|
[attr.error-message]="errorMessage"
|
|
1478
|
+
[attr.error]="error ? '' : null"
|
|
1478
1479
|
[attr.disabled]="disabled ? '' : null"
|
|
1479
1480
|
[attr.required]="required ? '' : null"
|
|
1480
1481
|
[attr.name]="name"
|
|
@@ -1499,6 +1500,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
1499
1500
|
type: Input
|
|
1500
1501
|
}], errorMessage: [{
|
|
1501
1502
|
type: Input
|
|
1503
|
+
}], error: [{
|
|
1504
|
+
type: Input
|
|
1502
1505
|
}], disabled: [{
|
|
1503
1506
|
type: Input
|
|
1504
1507
|
}], required: [{
|
|
@@ -1540,8 +1543,8 @@ class ArkInputComponent {
|
|
|
1540
1543
|
get spellcheckAttr() {
|
|
1541
1544
|
return this.spellcheck === undefined ? null : String(this.spellcheck);
|
|
1542
1545
|
}
|
|
1543
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1544
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1546
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1547
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkInputComponent, isStandalone: true, selector: "ark-input-wrapper", inputs: { testid: "testid", type: "type", label: "label", placeholder: "placeholder", value: "value", name: "name", size: "size", intent: "intent", theme: "theme", rounded: "rounded", helper: "helper", error: "error", errorMessage: "errorMessage", disabled: "disabled", required: "required", readonly: "readonly", reveal: "reveal", lang: "lang", localeJson: "localeJson", autocomplete: "autocomplete", autofocus: "autofocus", inputmode: "inputmode", maxlength: "maxlength", minlength: "minlength", pattern: "pattern", min: "min", max: "max", step: "step", spellcheck: "spellcheck", ariaLabel: "ariaLabel" }, ngImport: i0, template: `
|
|
1545
1548
|
<ark-input
|
|
1546
1549
|
[attr.testid]="testid"
|
|
1547
1550
|
[attr.type]="type"
|
|
@@ -1576,7 +1579,7 @@ class ArkInputComponent {
|
|
|
1576
1579
|
<ng-content></ng-content>
|
|
1577
1580
|
</ark-input>`, isInline: true }); }
|
|
1578
1581
|
}
|
|
1579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkInputComponent, decorators: [{
|
|
1580
1583
|
type: Component,
|
|
1581
1584
|
args: [{
|
|
1582
1585
|
selector: "ark-input-wrapper",
|
|
@@ -1685,8 +1688,8 @@ class ArkKbdComponent {
|
|
|
1685
1688
|
this.theme = "auto";
|
|
1686
1689
|
ensureTooarkComponentsRegistered();
|
|
1687
1690
|
}
|
|
1688
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1689
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1691
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkKbdComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1692
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkKbdComponent, isStandalone: true, selector: "ark-kbd-wrapper", inputs: { testid: "testid", size: "size", theme: "theme" }, ngImport: i0, template: `
|
|
1690
1693
|
<ark-kbd
|
|
1691
1694
|
[attr.testid]="testid"
|
|
1692
1695
|
[attr.size]="size"
|
|
@@ -1694,7 +1697,7 @@ class ArkKbdComponent {
|
|
|
1694
1697
|
<ng-content></ng-content>
|
|
1695
1698
|
</ark-kbd>`, isInline: true }); }
|
|
1696
1699
|
}
|
|
1697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkKbdComponent, decorators: [{
|
|
1698
1701
|
type: Component,
|
|
1699
1702
|
args: [{
|
|
1700
1703
|
selector: "ark-kbd-wrapper",
|
|
@@ -1743,8 +1746,10 @@ class ArkKvEditorComponent {
|
|
|
1743
1746
|
this.editorRef?.nativeElement?.addEventListener("ark-add", this.addHandler);
|
|
1744
1747
|
this.editorRef?.nativeElement?.addEventListener("ark-delete", this.deleteHandler);
|
|
1745
1748
|
}
|
|
1746
|
-
ngOnChanges() {
|
|
1747
|
-
|
|
1749
|
+
ngOnChanges(changes) {
|
|
1750
|
+
// Só um `rows` novo substitui o modelo: bulk, readonly ou theme mudando não podem apagar o que o usuário editou.
|
|
1751
|
+
if (changes.rows)
|
|
1752
|
+
this.syncRows();
|
|
1748
1753
|
}
|
|
1749
1754
|
ngOnDestroy() {
|
|
1750
1755
|
this.editorRef?.nativeElement?.removeEventListener("ark-add", this.addHandler);
|
|
@@ -1758,8 +1763,8 @@ class ArkKvEditorComponent {
|
|
|
1758
1763
|
if (el && this.rows)
|
|
1759
1764
|
el.rows = this.rows;
|
|
1760
1765
|
}
|
|
1761
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1762
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1766
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkKvEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1767
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
1763
1768
|
<ark-kv-editor
|
|
1764
1769
|
#editor
|
|
1765
1770
|
[attr.testid]="testid"
|
|
@@ -1779,7 +1784,7 @@ class ArkKvEditorComponent {
|
|
|
1779
1784
|
(change)="onChange($event)">
|
|
1780
1785
|
</ark-kv-editor>`, isInline: true }); }
|
|
1781
1786
|
}
|
|
1782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkKvEditorComponent, decorators: [{
|
|
1783
1788
|
type: Component,
|
|
1784
1789
|
args: [{
|
|
1785
1790
|
selector: "ark-kv-editor-wrapper",
|
|
@@ -1853,8 +1858,8 @@ class ArkMarkComponent {
|
|
|
1853
1858
|
this.theme = "auto";
|
|
1854
1859
|
ensureTooarkComponentsRegistered();
|
|
1855
1860
|
}
|
|
1856
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1857
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1861
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkMarkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1862
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkMarkComponent, isStandalone: true, selector: "ark-mark-wrapper", inputs: { testid: "testid", shape: "shape", color: "color", size: "size", label: "label", theme: "theme" }, ngImport: i0, template: `
|
|
1858
1863
|
<ark-mark
|
|
1859
1864
|
[attr.testid]="testid"
|
|
1860
1865
|
[attr.shape]="shape"
|
|
@@ -1864,7 +1869,7 @@ class ArkMarkComponent {
|
|
|
1864
1869
|
[attr.theme]="theme">
|
|
1865
1870
|
</ark-mark>`, isInline: true }); }
|
|
1866
1871
|
}
|
|
1867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkMarkComponent, decorators: [{
|
|
1868
1873
|
type: Component,
|
|
1869
1874
|
args: [{
|
|
1870
1875
|
selector: "ark-mark-wrapper",
|
|
@@ -1908,27 +1913,16 @@ class ArkMenuComponent {
|
|
|
1908
1913
|
this.arkSelect = new EventEmitter();
|
|
1909
1914
|
this.arkOpen = new EventEmitter();
|
|
1910
1915
|
this.arkClose = new EventEmitter();
|
|
1916
|
+
// Ligados no template, e não no ngAfterViewInit: o listener existe desde a criação da view, então o ark-open de um
|
|
1917
|
+
// overlay que já nasce aberto (o elemento o emite num microtask) não se perde, nem na hidratação de SSR.
|
|
1911
1918
|
this.selectHandler = (event) => this.arkSelect.emit(event);
|
|
1912
1919
|
this.openHandler = (event) => this.arkOpen.emit(event);
|
|
1913
1920
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1914
1921
|
ensureTooarkComponentsRegistered();
|
|
1915
1922
|
}
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
el?.addEventListener("ark-select", this.selectHandler);
|
|
1919
|
-
el?.addEventListener("ark-open", this.openHandler);
|
|
1920
|
-
el?.addEventListener("ark-close", this.closeHandler);
|
|
1921
|
-
}
|
|
1922
|
-
ngOnDestroy() {
|
|
1923
|
-
const el = this.menuRef?.nativeElement;
|
|
1924
|
-
el?.removeEventListener("ark-select", this.selectHandler);
|
|
1925
|
-
el?.removeEventListener("ark-open", this.openHandler);
|
|
1926
|
-
el?.removeEventListener("ark-close", this.closeHandler);
|
|
1927
|
-
}
|
|
1928
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1929
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", 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" }, viewQueries: [{ propertyName: "menuRef", first: true, predicate: ["menu"], descendants: true }], ngImport: i0, template: `
|
|
1923
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1924
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
1930
1925
|
<ark-menu
|
|
1931
|
-
#menu
|
|
1932
1926
|
[attr.testid]="testid"
|
|
1933
1927
|
[attr.for]="for"
|
|
1934
1928
|
[attr.open]="open ? '' : null"
|
|
@@ -1936,11 +1930,14 @@ class ArkMenuComponent {
|
|
|
1936
1930
|
[attr.direction]="direction"
|
|
1937
1931
|
[attr.size]="size"
|
|
1938
1932
|
[attr.theme]="theme"
|
|
1939
|
-
[attr.aria-label]="ariaLabel"
|
|
1933
|
+
[attr.aria-label]="ariaLabel"
|
|
1934
|
+
(ark-select)="selectHandler($event)"
|
|
1935
|
+
(ark-open)="openHandler($event)"
|
|
1936
|
+
(ark-close)="closeHandler($event)">
|
|
1940
1937
|
<ng-content></ng-content>
|
|
1941
1938
|
</ark-menu>`, isInline: true }); }
|
|
1942
1939
|
}
|
|
1943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkMenuComponent, decorators: [{
|
|
1944
1941
|
type: Component,
|
|
1945
1942
|
args: [{
|
|
1946
1943
|
selector: "ark-menu-wrapper",
|
|
@@ -1948,7 +1945,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
1948
1945
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1949
1946
|
template: `
|
|
1950
1947
|
<ark-menu
|
|
1951
|
-
#menu
|
|
1952
1948
|
[attr.testid]="testid"
|
|
1953
1949
|
[attr.for]="for"
|
|
1954
1950
|
[attr.open]="open ? '' : null"
|
|
@@ -1956,7 +1952,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
1956
1952
|
[attr.direction]="direction"
|
|
1957
1953
|
[attr.size]="size"
|
|
1958
1954
|
[attr.theme]="theme"
|
|
1959
|
-
[attr.aria-label]="ariaLabel"
|
|
1955
|
+
[attr.aria-label]="ariaLabel"
|
|
1956
|
+
(ark-select)="selectHandler($event)"
|
|
1957
|
+
(ark-open)="openHandler($event)"
|
|
1958
|
+
(ark-close)="closeHandler($event)">
|
|
1960
1959
|
<ng-content></ng-content>
|
|
1961
1960
|
</ark-menu>`
|
|
1962
1961
|
}]
|
|
@@ -1982,9 +1981,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
1982
1981
|
type: Output
|
|
1983
1982
|
}], arkClose: [{
|
|
1984
1983
|
type: Output
|
|
1985
|
-
}], menuRef: [{
|
|
1986
|
-
type: ViewChild,
|
|
1987
|
-
args: ["menu", { static: false }]
|
|
1988
1984
|
}] } });
|
|
1989
1985
|
class ArkMenuItemComponent {
|
|
1990
1986
|
constructor() {
|
|
@@ -2000,8 +1996,8 @@ class ArkMenuItemComponent {
|
|
|
2000
1996
|
return null;
|
|
2001
1997
|
return this.checked ? "" : "false";
|
|
2002
1998
|
}
|
|
2003
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2004
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1999
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2000
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkMenuItemComponent, isStandalone: true, selector: "ark-menu-item-wrapper", inputs: { testid: "testid", value: "value", intent: "intent", disabled: "disabled", checked: "checked", divider: "divider", static: "static" }, ngImport: i0, template: `
|
|
2005
2001
|
<ark-menu-item
|
|
2006
2002
|
[attr.testid]="testid"
|
|
2007
2003
|
[attr.value]="value"
|
|
@@ -2013,7 +2009,7 @@ class ArkMenuItemComponent {
|
|
|
2013
2009
|
<ng-content></ng-content>
|
|
2014
2010
|
</ark-menu-item>`, isInline: true }); }
|
|
2015
2011
|
}
|
|
2016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkMenuItemComponent, decorators: [{
|
|
2017
2013
|
type: Component,
|
|
2018
2014
|
args: [{
|
|
2019
2015
|
selector: "ark-menu-item-wrapper",
|
|
@@ -2058,8 +2054,8 @@ class ArkProgressComponent {
|
|
|
2058
2054
|
this.theme = "auto";
|
|
2059
2055
|
ensureTooarkComponentsRegistered();
|
|
2060
2056
|
}
|
|
2061
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2062
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2057
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2058
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
2063
2059
|
<ark-progress
|
|
2064
2060
|
[attr.testid]="testid"
|
|
2065
2061
|
[attr.value]="value"
|
|
@@ -2072,7 +2068,7 @@ class ArkProgressComponent {
|
|
|
2072
2068
|
[attr.theme]="theme">
|
|
2073
2069
|
</ark-progress>`, isInline: true }); }
|
|
2074
2070
|
}
|
|
2075
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkProgressComponent, decorators: [{
|
|
2076
2072
|
type: Component,
|
|
2077
2073
|
args: [{
|
|
2078
2074
|
selector: "ark-progress-wrapper",
|
|
@@ -2125,10 +2121,11 @@ class ArkRadioComponent {
|
|
|
2125
2121
|
onChange(event) {
|
|
2126
2122
|
this.changed.emit(event);
|
|
2127
2123
|
}
|
|
2128
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2129
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2124
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2125
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
2130
2126
|
<ark-radio
|
|
2131
2127
|
[attr.testid]="testid"
|
|
2128
|
+
[attr.aria-label]="ariaLabel"
|
|
2132
2129
|
[attr.checked]="checked ? '' : null"
|
|
2133
2130
|
[attr.disabled]="disabled ? '' : null"
|
|
2134
2131
|
[attr.intent]="intent"
|
|
@@ -2141,7 +2138,7 @@ class ArkRadioComponent {
|
|
|
2141
2138
|
<ng-content></ng-content>
|
|
2142
2139
|
</ark-radio>`, isInline: true }); }
|
|
2143
2140
|
}
|
|
2144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkRadioComponent, decorators: [{
|
|
2145
2142
|
type: Component,
|
|
2146
2143
|
args: [{
|
|
2147
2144
|
selector: "ark-radio-wrapper",
|
|
@@ -2150,6 +2147,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
2150
2147
|
template: `
|
|
2151
2148
|
<ark-radio
|
|
2152
2149
|
[attr.testid]="testid"
|
|
2150
|
+
[attr.aria-label]="ariaLabel"
|
|
2153
2151
|
[attr.checked]="checked ? '' : null"
|
|
2154
2152
|
[attr.disabled]="disabled ? '' : null"
|
|
2155
2153
|
[attr.intent]="intent"
|
|
@@ -2164,6 +2162,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
2164
2162
|
}]
|
|
2165
2163
|
}], ctorParameters: () => [], propDecorators: { testid: [{
|
|
2166
2164
|
type: Input
|
|
2165
|
+
}], ariaLabel: [{
|
|
2166
|
+
type: Input
|
|
2167
2167
|
}], checked: [{
|
|
2168
2168
|
type: Input
|
|
2169
2169
|
}], disabled: [{
|
|
@@ -2221,8 +2221,8 @@ class ArkSchedulerComponent {
|
|
|
2221
2221
|
el.removeEventListener("ark-view-change", this.viewChangeHandler);
|
|
2222
2222
|
el.removeEventListener("ark-range-change", this.rangeChangeHandler);
|
|
2223
2223
|
}
|
|
2224
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2225
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSchedulerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2225
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkSchedulerComponent, isStandalone: true, selector: "ark-scheduler-wrapper", inputs: { testid: "testid", view: "view", date: "date", events: "events", lang: "lang", localeJson: "localeJson", theme: "theme", intent: "intent", views: "views", hourStart: "hourStart", hourEnd: "hourEnd", slotMinutes: "slotMinutes", hoursFormat: "hoursFormat" }, outputs: { arkEventClick: "arkEventClick", arkSlotClick: "arkSlotClick", arkViewChange: "arkViewChange", arkRangeChange: "arkRangeChange" }, viewQueries: [{ propertyName: "schedulerRef", first: true, predicate: ["scheduler"], descendants: true }], ngImport: i0, template: `
|
|
2226
2226
|
<ark-scheduler
|
|
2227
2227
|
#scheduler
|
|
2228
2228
|
[attr.testid]="testid"
|
|
@@ -2230,6 +2230,7 @@ class ArkSchedulerComponent {
|
|
|
2230
2230
|
[attr.date]="date"
|
|
2231
2231
|
[attr.events]="eventsStr"
|
|
2232
2232
|
[attr.lang]="lang"
|
|
2233
|
+
[attr.locale-json]="localeJson"
|
|
2233
2234
|
[attr.theme]="theme"
|
|
2234
2235
|
[attr.intent]="intent"
|
|
2235
2236
|
[attr.views]="views"
|
|
@@ -2239,7 +2240,7 @@ class ArkSchedulerComponent {
|
|
|
2239
2240
|
[attr.hours-format]="hoursFormat">
|
|
2240
2241
|
</ark-scheduler>`, isInline: true }); }
|
|
2241
2242
|
}
|
|
2242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSchedulerComponent, decorators: [{
|
|
2243
2244
|
type: Component,
|
|
2244
2245
|
args: [{
|
|
2245
2246
|
selector: "ark-scheduler-wrapper",
|
|
@@ -2253,6 +2254,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
2253
2254
|
[attr.date]="date"
|
|
2254
2255
|
[attr.events]="eventsStr"
|
|
2255
2256
|
[attr.lang]="lang"
|
|
2257
|
+
[attr.locale-json]="localeJson"
|
|
2256
2258
|
[attr.theme]="theme"
|
|
2257
2259
|
[attr.intent]="intent"
|
|
2258
2260
|
[attr.views]="views"
|
|
@@ -2272,6 +2274,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
2272
2274
|
type: Input
|
|
2273
2275
|
}], lang: [{
|
|
2274
2276
|
type: Input
|
|
2277
|
+
}], localeJson: [{
|
|
2278
|
+
type: Input
|
|
2275
2279
|
}], theme: [{
|
|
2276
2280
|
type: Input
|
|
2277
2281
|
}], intent: [{
|
|
@@ -2317,10 +2321,11 @@ class ArkSelectComponent {
|
|
|
2317
2321
|
onChange(event) {
|
|
2318
2322
|
this.changed.emit(event);
|
|
2319
2323
|
}
|
|
2320
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2321
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2324
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2325
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkSelectComponent, isStandalone: true, selector: "ark-select-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", label: "label", placeholder: "placeholder", options: "options", value: "value", name: "name", size: "size", intent: "intent", theme: "theme", rounded: "rounded", helper: "helper", error: "error", errorMessage: "errorMessage", disabled: "disabled", required: "required" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
2322
2326
|
<ark-select
|
|
2323
2327
|
[attr.testid]="testid"
|
|
2328
|
+
[attr.aria-label]="ariaLabel"
|
|
2324
2329
|
[attr.label]="label"
|
|
2325
2330
|
[attr.placeholder]="placeholder"
|
|
2326
2331
|
[attr.options]="optionsStr"
|
|
@@ -2339,7 +2344,7 @@ class ArkSelectComponent {
|
|
|
2339
2344
|
<ng-content></ng-content>
|
|
2340
2345
|
</ark-select>`, isInline: true }); }
|
|
2341
2346
|
}
|
|
2342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSelectComponent, decorators: [{
|
|
2343
2348
|
type: Component,
|
|
2344
2349
|
args: [{
|
|
2345
2350
|
selector: "ark-select-wrapper",
|
|
@@ -2348,6 +2353,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
2348
2353
|
template: `
|
|
2349
2354
|
<ark-select
|
|
2350
2355
|
[attr.testid]="testid"
|
|
2356
|
+
[attr.aria-label]="ariaLabel"
|
|
2351
2357
|
[attr.label]="label"
|
|
2352
2358
|
[attr.placeholder]="placeholder"
|
|
2353
2359
|
[attr.options]="optionsStr"
|
|
@@ -2368,6 +2374,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
2368
2374
|
}]
|
|
2369
2375
|
}], ctorParameters: () => [], propDecorators: { testid: [{
|
|
2370
2376
|
type: Input
|
|
2377
|
+
}], ariaLabel: [{
|
|
2378
|
+
type: Input
|
|
2371
2379
|
}], label: [{
|
|
2372
2380
|
type: Input
|
|
2373
2381
|
}], placeholder: [{
|
|
@@ -2412,10 +2420,11 @@ class ArkShapePickerComponent {
|
|
|
2412
2420
|
onChange(event) {
|
|
2413
2421
|
this.changed.emit(event);
|
|
2414
2422
|
}
|
|
2415
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2416
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2423
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkShapePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2424
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
2417
2425
|
<ark-shape-picker
|
|
2418
2426
|
[attr.testid]="testid"
|
|
2427
|
+
[attr.aria-label]="ariaLabel"
|
|
2419
2428
|
[attr.value]="value"
|
|
2420
2429
|
[attr.color]="color"
|
|
2421
2430
|
[attr.label]="label"
|
|
@@ -2427,7 +2436,7 @@ class ArkShapePickerComponent {
|
|
|
2427
2436
|
(change)="onChange($event)">
|
|
2428
2437
|
</ark-shape-picker>`, isInline: true }); }
|
|
2429
2438
|
}
|
|
2430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkShapePickerComponent, decorators: [{
|
|
2431
2440
|
type: Component,
|
|
2432
2441
|
args: [{
|
|
2433
2442
|
selector: "ark-shape-picker-wrapper",
|
|
@@ -2436,6 +2445,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
2436
2445
|
template: `
|
|
2437
2446
|
<ark-shape-picker
|
|
2438
2447
|
[attr.testid]="testid"
|
|
2448
|
+
[attr.aria-label]="ariaLabel"
|
|
2439
2449
|
[attr.value]="value"
|
|
2440
2450
|
[attr.color]="color"
|
|
2441
2451
|
[attr.label]="label"
|
|
@@ -2449,6 +2459,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
2449
2459
|
}]
|
|
2450
2460
|
}], ctorParameters: () => [], propDecorators: { testid: [{
|
|
2451
2461
|
type: Input
|
|
2462
|
+
}], ariaLabel: [{
|
|
2463
|
+
type: Input
|
|
2452
2464
|
}], value: [{
|
|
2453
2465
|
type: Input
|
|
2454
2466
|
}], color: [{
|
|
@@ -2476,8 +2488,8 @@ class ArkSkeletonComponent {
|
|
|
2476
2488
|
this.theme = "auto";
|
|
2477
2489
|
ensureTooarkComponentsRegistered();
|
|
2478
2490
|
}
|
|
2479
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2480
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2492
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
2481
2493
|
<ark-skeleton
|
|
2482
2494
|
[attr.testid]="testid"
|
|
2483
2495
|
[attr.rows]="rows"
|
|
@@ -2489,7 +2501,7 @@ class ArkSkeletonComponent {
|
|
|
2489
2501
|
<ng-content></ng-content>
|
|
2490
2502
|
</ark-skeleton>`, isInline: true }); }
|
|
2491
2503
|
}
|
|
2492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSkeletonComponent, decorators: [{
|
|
2493
2505
|
type: Component,
|
|
2494
2506
|
args: [{
|
|
2495
2507
|
selector: "ark-skeleton-wrapper",
|
|
@@ -2529,8 +2541,8 @@ class ArkSpinnerComponent {
|
|
|
2529
2541
|
this.theme = "auto";
|
|
2530
2542
|
ensureTooarkComponentsRegistered();
|
|
2531
2543
|
}
|
|
2532
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2533
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2544
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2545
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", 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: `
|
|
2534
2546
|
<ark-spinner
|
|
2535
2547
|
[attr.testid]="testid"
|
|
2536
2548
|
[attr.size]="size"
|
|
@@ -2541,7 +2553,7 @@ class ArkSpinnerComponent {
|
|
|
2541
2553
|
[attr.locale-json]="localeJson">
|
|
2542
2554
|
</ark-spinner>`, isInline: true }); }
|
|
2543
2555
|
}
|
|
2544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSpinnerComponent, decorators: [{
|
|
2545
2557
|
type: Component,
|
|
2546
2558
|
args: [{
|
|
2547
2559
|
selector: "ark-spinner-wrapper",
|
|
@@ -2593,8 +2605,8 @@ class ArkSplitPaneComponent {
|
|
|
2593
2605
|
ngOnDestroy() {
|
|
2594
2606
|
this.paneRef?.nativeElement?.removeEventListener("ark-resize", this.resizeHandler);
|
|
2595
2607
|
}
|
|
2596
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2597
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2608
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSplitPaneComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2609
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkSplitPaneComponent, isStandalone: true, selector: "ark-split-pane-wrapper", inputs: { testid: "testid", direction: "direction", sizes: "sizes", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { arkResize: "arkResize" }, viewQueries: [{ propertyName: "paneRef", first: true, predicate: ["pane"], descendants: true }], ngImport: i0, template: `
|
|
2598
2610
|
<ark-split-pane
|
|
2599
2611
|
#pane
|
|
2600
2612
|
[attr.testid]="testid"
|
|
@@ -2606,7 +2618,7 @@ class ArkSplitPaneComponent {
|
|
|
2606
2618
|
<ng-content></ng-content>
|
|
2607
2619
|
</ark-split-pane>`, isInline: true }); }
|
|
2608
2620
|
}
|
|
2609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSplitPaneComponent, decorators: [{
|
|
2610
2622
|
type: Component,
|
|
2611
2623
|
args: [{
|
|
2612
2624
|
selector: "ark-split-pane-wrapper",
|
|
@@ -2651,8 +2663,8 @@ class ArkStatusDotComponent {
|
|
|
2651
2663
|
this.theme = "auto";
|
|
2652
2664
|
ensureTooarkComponentsRegistered();
|
|
2653
2665
|
}
|
|
2654
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2655
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2666
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkStatusDotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2667
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkStatusDotComponent, isStandalone: true, selector: "ark-status-dot-wrapper", inputs: { testid: "testid", intent: "intent", label: "label", size: "size", theme: "theme" }, ngImport: i0, template: `
|
|
2656
2668
|
<ark-status-dot
|
|
2657
2669
|
[attr.testid]="testid"
|
|
2658
2670
|
[attr.intent]="intent"
|
|
@@ -2661,7 +2673,7 @@ class ArkStatusDotComponent {
|
|
|
2661
2673
|
[attr.theme]="theme">
|
|
2662
2674
|
</ark-status-dot>`, isInline: true }); }
|
|
2663
2675
|
}
|
|
2664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkStatusDotComponent, decorators: [{
|
|
2665
2677
|
type: Component,
|
|
2666
2678
|
args: [{
|
|
2667
2679
|
selector: "ark-status-dot-wrapper",
|
|
@@ -2703,10 +2715,11 @@ class ArkSwitchComponent {
|
|
|
2703
2715
|
onChange(event) {
|
|
2704
2716
|
this.changed.emit(event);
|
|
2705
2717
|
}
|
|
2706
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2707
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2718
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2719
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkSwitchComponent, isStandalone: true, selector: "ark-switch-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", checked: "checked", disabled: "disabled", labels: "labels", icons: "icons", intent: "intent", theme: "theme", size: "size", color: "color", name: "name", value: "value", label: "label", labelOn: "labelOn", labelOff: "labelOff" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
2708
2720
|
<ark-switch
|
|
2709
2721
|
[attr.testid]="testid"
|
|
2722
|
+
[attr.aria-label]="ariaLabel"
|
|
2710
2723
|
[attr.checked]="checked ? '' : null"
|
|
2711
2724
|
[attr.disabled]="disabled ? '' : null"
|
|
2712
2725
|
[attr.labels]="labels ? '' : null"
|
|
@@ -2723,7 +2736,7 @@ class ArkSwitchComponent {
|
|
|
2723
2736
|
(change)="onChange($event)">
|
|
2724
2737
|
</ark-switch>`, isInline: true }); }
|
|
2725
2738
|
}
|
|
2726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkSwitchComponent, decorators: [{
|
|
2727
2740
|
type: Component,
|
|
2728
2741
|
args: [{
|
|
2729
2742
|
selector: "ark-switch-wrapper",
|
|
@@ -2732,6 +2745,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
2732
2745
|
template: `
|
|
2733
2746
|
<ark-switch
|
|
2734
2747
|
[attr.testid]="testid"
|
|
2748
|
+
[attr.aria-label]="ariaLabel"
|
|
2735
2749
|
[attr.checked]="checked ? '' : null"
|
|
2736
2750
|
[attr.disabled]="disabled ? '' : null"
|
|
2737
2751
|
[attr.labels]="labels ? '' : null"
|
|
@@ -2750,6 +2764,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
2750
2764
|
}]
|
|
2751
2765
|
}], ctorParameters: () => [], propDecorators: { testid: [{
|
|
2752
2766
|
type: Input
|
|
2767
|
+
}], ariaLabel: [{
|
|
2768
|
+
type: Input
|
|
2753
2769
|
}], checked: [{
|
|
2754
2770
|
type: Input
|
|
2755
2771
|
}], disabled: [{
|
|
@@ -2801,8 +2817,8 @@ class ArkTabsComponent {
|
|
|
2801
2817
|
onChange(event) {
|
|
2802
2818
|
this.changed.emit(event);
|
|
2803
2819
|
}
|
|
2804
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2805
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2820
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2821
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkTabsComponent, isStandalone: true, selector: "ark-tabs-wrapper", inputs: { testid: "testid", value: "value", variant: "variant", size: "size", intent: "intent", rounded: "rounded", fill: "fill", theme: "theme", label: "label", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed", arkClose: "arkClose" }, viewQueries: [{ propertyName: "tabsRef", first: true, predicate: ["tabs"], descendants: true }], ngImport: i0, template: `
|
|
2806
2822
|
<ark-tabs
|
|
2807
2823
|
#tabs
|
|
2808
2824
|
[attr.testid]="testid"
|
|
@@ -2820,7 +2836,7 @@ class ArkTabsComponent {
|
|
|
2820
2836
|
<ng-content></ng-content>
|
|
2821
2837
|
</ark-tabs>`, isInline: true }); }
|
|
2822
2838
|
}
|
|
2823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkTabsComponent, decorators: [{
|
|
2824
2840
|
type: Component,
|
|
2825
2841
|
args: [{
|
|
2826
2842
|
selector: "ark-tabs-wrapper",
|
|
@@ -2884,8 +2900,8 @@ class ArkTabComponent {
|
|
|
2884
2900
|
this.dirty = false;
|
|
2885
2901
|
ensureTooarkComponentsRegistered();
|
|
2886
2902
|
}
|
|
2887
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2888
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2903
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2904
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkTabComponent, isStandalone: true, selector: "ark-tab-wrapper", inputs: { testid: "testid", value: "value", disabled: "disabled", controls: "controls", closable: "closable", dirty: "dirty" }, ngImport: i0, template: `
|
|
2889
2905
|
<ark-tab
|
|
2890
2906
|
[attr.testid]="testid"
|
|
2891
2907
|
[attr.value]="value"
|
|
@@ -2896,7 +2912,7 @@ class ArkTabComponent {
|
|
|
2896
2912
|
<ng-content></ng-content>
|
|
2897
2913
|
</ark-tab>`, isInline: true }); }
|
|
2898
2914
|
}
|
|
2899
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkTabComponent, decorators: [{
|
|
2900
2916
|
type: Component,
|
|
2901
2917
|
args: [{
|
|
2902
2918
|
selector: "ark-tab-wrapper",
|
|
@@ -2948,8 +2964,8 @@ class ArkTextareaComponent {
|
|
|
2948
2964
|
get spellcheckAttr() {
|
|
2949
2965
|
return this.spellcheck === undefined ? null : String(this.spellcheck);
|
|
2950
2966
|
}
|
|
2951
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2952
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2967
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2968
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkTextareaComponent, isStandalone: true, selector: "ark-textarea-wrapper", inputs: { testid: "testid", label: "label", placeholder: "placeholder", value: "value", name: "name", rows: "rows", autosize: "autosize", monospace: "monospace", resize: "resize", size: "size", intent: "intent", theme: "theme", rounded: "rounded", helper: "helper", error: "error", errorMessage: "errorMessage", disabled: "disabled", required: "required", readonly: "readonly", autocomplete: "autocomplete", autofocus: "autofocus", maxlength: "maxlength", minlength: "minlength", spellcheck: "spellcheck", wrap: "wrap", ariaLabel: "ariaLabel" }, ngImport: i0, template: `
|
|
2953
2969
|
<ark-textarea
|
|
2954
2970
|
[attr.testid]="testid"
|
|
2955
2971
|
[attr.label]="label"
|
|
@@ -2975,11 +2991,12 @@ class ArkTextareaComponent {
|
|
|
2975
2991
|
[attr.maxlength]="maxlength"
|
|
2976
2992
|
[attr.minlength]="minlength"
|
|
2977
2993
|
[attr.spellcheck]="spellcheckAttr"
|
|
2994
|
+
[attr.wrap]="wrap"
|
|
2978
2995
|
[attr.aria-label]="ariaLabel">
|
|
2979
2996
|
<ng-content></ng-content>
|
|
2980
2997
|
</ark-textarea>`, isInline: true }); }
|
|
2981
2998
|
}
|
|
2982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkTextareaComponent, decorators: [{
|
|
2983
3000
|
type: Component,
|
|
2984
3001
|
args: [{
|
|
2985
3002
|
selector: "ark-textarea-wrapper",
|
|
@@ -3011,6 +3028,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
3011
3028
|
[attr.maxlength]="maxlength"
|
|
3012
3029
|
[attr.minlength]="minlength"
|
|
3013
3030
|
[attr.spellcheck]="spellcheckAttr"
|
|
3031
|
+
[attr.wrap]="wrap"
|
|
3014
3032
|
[attr.aria-label]="ariaLabel">
|
|
3015
3033
|
<ng-content></ng-content>
|
|
3016
3034
|
</ark-textarea>`
|
|
@@ -3063,6 +3081,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
3063
3081
|
type: Input
|
|
3064
3082
|
}], spellcheck: [{
|
|
3065
3083
|
type: Input
|
|
3084
|
+
}], wrap: [{
|
|
3085
|
+
type: Input
|
|
3066
3086
|
}], ariaLabel: [{
|
|
3067
3087
|
type: Input
|
|
3068
3088
|
}] } });
|
|
@@ -3075,10 +3095,15 @@ class ArkToasterComponent {
|
|
|
3075
3095
|
this.closeButton = true;
|
|
3076
3096
|
this.maxVisible = 4;
|
|
3077
3097
|
this.duration = 4000;
|
|
3098
|
+
/** Botão de ação de um toast: detail traz o id do toast e o actionId das opções. */
|
|
3099
|
+
this.arkToastAction = new EventEmitter();
|
|
3078
3100
|
ensureTooarkComponentsRegistered();
|
|
3079
3101
|
}
|
|
3080
|
-
|
|
3081
|
-
|
|
3102
|
+
onAction(event) {
|
|
3103
|
+
this.arkToastAction.emit(event);
|
|
3104
|
+
}
|
|
3105
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkToasterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3106
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkToasterComponent, isStandalone: true, selector: "ark-toaster-wrapper", inputs: { testid: "testid", theme: "theme", position: "position", richColors: "richColors", closeButton: "closeButton", maxVisible: "maxVisible", duration: "duration", lang: "lang" }, outputs: { arkToastAction: "arkToastAction" }, ngImport: i0, template: `
|
|
3082
3107
|
<ark-toaster
|
|
3083
3108
|
[attr.testid]="testid"
|
|
3084
3109
|
[attr.theme]="theme"
|
|
@@ -3086,10 +3111,12 @@ class ArkToasterComponent {
|
|
|
3086
3111
|
[attr.max-visible]="maxVisible"
|
|
3087
3112
|
[attr.duration]="duration"
|
|
3088
3113
|
[attr.rich-colors]="richColors ? '' : null"
|
|
3089
|
-
[attr.close-button]="closeButton ? null : 'false'"
|
|
3114
|
+
[attr.close-button]="closeButton ? null : 'false'"
|
|
3115
|
+
[attr.lang]="lang"
|
|
3116
|
+
(ark-toast-action)="onAction($event)">
|
|
3090
3117
|
</ark-toaster>`, isInline: true }); }
|
|
3091
3118
|
}
|
|
3092
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkToasterComponent, decorators: [{
|
|
3093
3120
|
type: Component,
|
|
3094
3121
|
args: [{
|
|
3095
3122
|
selector: "ark-toaster-wrapper",
|
|
@@ -3103,7 +3130,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
3103
3130
|
[attr.max-visible]="maxVisible"
|
|
3104
3131
|
[attr.duration]="duration"
|
|
3105
3132
|
[attr.rich-colors]="richColors ? '' : null"
|
|
3106
|
-
[attr.close-button]="closeButton ? null : 'false'"
|
|
3133
|
+
[attr.close-button]="closeButton ? null : 'false'"
|
|
3134
|
+
[attr.lang]="lang"
|
|
3135
|
+
(ark-toast-action)="onAction($event)">
|
|
3107
3136
|
</ark-toaster>`
|
|
3108
3137
|
}]
|
|
3109
3138
|
}], ctorParameters: () => [], propDecorators: { testid: [{
|
|
@@ -3120,6 +3149,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
3120
3149
|
type: Input
|
|
3121
3150
|
}], duration: [{
|
|
3122
3151
|
type: Input
|
|
3152
|
+
}], lang: [{
|
|
3153
|
+
type: Input
|
|
3154
|
+
}], arkToastAction: [{
|
|
3155
|
+
type: Output
|
|
3123
3156
|
}] } });
|
|
3124
3157
|
|
|
3125
3158
|
class ArkToggleComponent {
|
|
@@ -3135,10 +3168,11 @@ class ArkToggleComponent {
|
|
|
3135
3168
|
onChange(event) {
|
|
3136
3169
|
this.changed.emit(event);
|
|
3137
3170
|
}
|
|
3138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3139
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3171
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3172
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkToggleComponent, isStandalone: true, selector: "ark-toggle-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", pressed: "pressed", disabled: "disabled", intent: "intent", theme: "theme", size: "size", value: "value" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
3140
3173
|
<ark-toggle
|
|
3141
3174
|
[attr.testid]="testid"
|
|
3175
|
+
[attr.aria-label]="ariaLabel"
|
|
3142
3176
|
[attr.pressed]="pressed ? '' : null"
|
|
3143
3177
|
[attr.disabled]="disabled ? '' : null"
|
|
3144
3178
|
[attr.intent]="intent"
|
|
@@ -3149,7 +3183,7 @@ class ArkToggleComponent {
|
|
|
3149
3183
|
<ng-content></ng-content>
|
|
3150
3184
|
</ark-toggle>`, isInline: true }); }
|
|
3151
3185
|
}
|
|
3152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkToggleComponent, decorators: [{
|
|
3153
3187
|
type: Component,
|
|
3154
3188
|
args: [{
|
|
3155
3189
|
selector: "ark-toggle-wrapper",
|
|
@@ -3158,6 +3192,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
3158
3192
|
template: `
|
|
3159
3193
|
<ark-toggle
|
|
3160
3194
|
[attr.testid]="testid"
|
|
3195
|
+
[attr.aria-label]="ariaLabel"
|
|
3161
3196
|
[attr.pressed]="pressed ? '' : null"
|
|
3162
3197
|
[attr.disabled]="disabled ? '' : null"
|
|
3163
3198
|
[attr.intent]="intent"
|
|
@@ -3170,6 +3205,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
3170
3205
|
}]
|
|
3171
3206
|
}], ctorParameters: () => [], propDecorators: { testid: [{
|
|
3172
3207
|
type: Input
|
|
3208
|
+
}], ariaLabel: [{
|
|
3209
|
+
type: Input
|
|
3173
3210
|
}], pressed: [{
|
|
3174
3211
|
type: Input
|
|
3175
3212
|
}], disabled: [{
|
|
@@ -3195,8 +3232,8 @@ class ArkToggleGroupComponent {
|
|
|
3195
3232
|
onChange(event) {
|
|
3196
3233
|
this.changed.emit(event);
|
|
3197
3234
|
}
|
|
3198
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3199
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3235
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkToggleGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3236
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkToggleGroupComponent, isStandalone: true, selector: "ark-toggle-group-wrapper", inputs: { testid: "testid", value: "value", multiple: "multiple", disabled: "disabled", intent: "intent", theme: "theme", size: "size" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
3200
3237
|
<ark-toggle-group
|
|
3201
3238
|
[attr.testid]="testid"
|
|
3202
3239
|
[attr.value]="value"
|
|
@@ -3209,7 +3246,7 @@ class ArkToggleGroupComponent {
|
|
|
3209
3246
|
<ng-content></ng-content>
|
|
3210
3247
|
</ark-toggle-group>`, isInline: true }); }
|
|
3211
3248
|
}
|
|
3212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkToggleGroupComponent, decorators: [{
|
|
3213
3250
|
type: Component,
|
|
3214
3251
|
args: [{
|
|
3215
3252
|
selector: "ark-toggle-group-wrapper",
|
|
@@ -3255,8 +3292,8 @@ class ArkTooltipComponent {
|
|
|
3255
3292
|
this.theme = "auto";
|
|
3256
3293
|
ensureTooarkComponentsRegistered();
|
|
3257
3294
|
}
|
|
3258
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3259
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3296
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ArkTooltipComponent, isStandalone: true, selector: "ark-tooltip-wrapper", inputs: { testid: "testid", content: "content", side: "side", delay: "delay", open: "open", theme: "theme" }, ngImport: i0, template: `
|
|
3260
3297
|
<ark-tooltip
|
|
3261
3298
|
[attr.testid]="testid"
|
|
3262
3299
|
[attr.content]="content"
|
|
@@ -3267,7 +3304,7 @@ class ArkTooltipComponent {
|
|
|
3267
3304
|
<ng-content></ng-content>
|
|
3268
3305
|
</ark-tooltip>`, isInline: true }); }
|
|
3269
3306
|
}
|
|
3270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ArkTooltipComponent, decorators: [{
|
|
3271
3308
|
type: Component,
|
|
3272
3309
|
args: [{
|
|
3273
3310
|
selector: "ark-tooltip-wrapper",
|