@tooark/angular 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/README.pt-BR.md +4 -3
- package/fesm2022/tooark-angular.mjs +349 -124
- package/fesm2022/tooark-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/types/tooark-angular.d.ts +134 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { dismissToast, showToast, toast } from '@tooark/core';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { EventEmitter, ViewChild, Output, Input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import { inject, ElementRef, EventEmitter, ViewChild, Output, Input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
4
4
|
import { registerTooarkComponents } from '@tooark/web-components';
|
|
5
5
|
|
|
6
6
|
let isRegistered = false;
|
|
@@ -22,6 +22,7 @@ function ensureTooarkComponentsRegistered() {
|
|
|
22
22
|
|
|
23
23
|
class ArkAlertComponent {
|
|
24
24
|
constructor() {
|
|
25
|
+
this.host = inject(ElementRef);
|
|
25
26
|
this.intent = "info";
|
|
26
27
|
/** Caixa arredondada ou banner de largura toda. Padrão: "box". */
|
|
27
28
|
this.variant = "box";
|
|
@@ -33,14 +34,18 @@ class ArkAlertComponent {
|
|
|
33
34
|
this.dismissHandler = (event) => this.arkDismiss.emit(event);
|
|
34
35
|
ensureTooarkComponentsRegistered();
|
|
35
36
|
}
|
|
37
|
+
/** O `ark-alert` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
38
|
+
get element() {
|
|
39
|
+
return this.host.nativeElement.querySelector(":scope > ark-alert");
|
|
40
|
+
}
|
|
36
41
|
ngAfterViewInit() {
|
|
37
42
|
this.alertRef?.nativeElement?.addEventListener("ark-dismiss", this.dismissHandler);
|
|
38
43
|
}
|
|
39
44
|
ngOnDestroy() {
|
|
40
45
|
this.alertRef?.nativeElement?.removeEventListener("ark-dismiss", this.dismissHandler);
|
|
41
46
|
}
|
|
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.
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
48
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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
49
|
<ark-alert
|
|
45
50
|
#alert
|
|
46
51
|
[attr.testid]="testid"
|
|
@@ -55,7 +60,7 @@ class ArkAlertComponent {
|
|
|
55
60
|
<ng-content></ng-content>
|
|
56
61
|
</ark-alert>`, isInline: true }); }
|
|
57
62
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkAlertComponent, decorators: [{
|
|
59
64
|
type: Component,
|
|
60
65
|
args: [{
|
|
61
66
|
selector: "ark-alert-wrapper",
|
|
@@ -103,14 +108,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
103
108
|
|
|
104
109
|
class ArkAvatarComponent {
|
|
105
110
|
constructor() {
|
|
111
|
+
this.host = inject(ElementRef);
|
|
106
112
|
this.size = "md";
|
|
107
113
|
/** Círculo ou quadrado de cantos arredondados. Padrão: "circle". */
|
|
108
114
|
this.shape = "circle";
|
|
109
115
|
this.theme = "auto";
|
|
110
116
|
ensureTooarkComponentsRegistered();
|
|
111
117
|
}
|
|
112
|
-
|
|
113
|
-
|
|
118
|
+
/** O `ark-avatar` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
119
|
+
get element() {
|
|
120
|
+
return this.host.nativeElement.querySelector(":scope > ark-avatar");
|
|
121
|
+
}
|
|
122
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
123
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkAvatarComponent, isStandalone: true, selector: "ark-avatar-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", name: "name", src: "src", size: "size", shape: "shape", color: "color", theme: "theme" }, ngImport: i0, template: `
|
|
114
124
|
<ark-avatar
|
|
115
125
|
[attr.testid]="testid"
|
|
116
126
|
[attr.aria-label]="ariaLabel"
|
|
@@ -122,7 +132,7 @@ class ArkAvatarComponent {
|
|
|
122
132
|
[attr.theme]="theme">
|
|
123
133
|
</ark-avatar>`, isInline: true }); }
|
|
124
134
|
}
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkAvatarComponent, decorators: [{
|
|
126
136
|
type: Component,
|
|
127
137
|
args: [{
|
|
128
138
|
selector: "ark-avatar-wrapper",
|
|
@@ -160,6 +170,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
160
170
|
|
|
161
171
|
class ArkBadgeComponent {
|
|
162
172
|
constructor() {
|
|
173
|
+
this.host = inject(ElementRef);
|
|
163
174
|
this.intent = "neutral";
|
|
164
175
|
this.variant = "soft";
|
|
165
176
|
this.size = "md";
|
|
@@ -167,8 +178,12 @@ class ArkBadgeComponent {
|
|
|
167
178
|
this.theme = "auto";
|
|
168
179
|
ensureTooarkComponentsRegistered();
|
|
169
180
|
}
|
|
170
|
-
|
|
171
|
-
|
|
181
|
+
/** O `ark-badge` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
182
|
+
get element() {
|
|
183
|
+
return this.host.nativeElement.querySelector(":scope > ark-badge");
|
|
184
|
+
}
|
|
185
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
186
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkBadgeComponent, isStandalone: true, selector: "ark-badge-wrapper", inputs: { testid: "testid", intent: "intent", variant: "variant", size: "size", rounded: "rounded", color: "color", theme: "theme" }, ngImport: i0, template: `
|
|
172
187
|
<ark-badge
|
|
173
188
|
[attr.testid]="testid"
|
|
174
189
|
[attr.intent]="intent"
|
|
@@ -180,7 +195,7 @@ class ArkBadgeComponent {
|
|
|
180
195
|
<ng-content></ng-content>
|
|
181
196
|
</ark-badge>`, isInline: true }); }
|
|
182
197
|
}
|
|
183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkBadgeComponent, decorators: [{
|
|
184
199
|
type: Component,
|
|
185
200
|
args: [{
|
|
186
201
|
selector: "ark-badge-wrapper",
|
|
@@ -216,6 +231,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
216
231
|
|
|
217
232
|
class ArkButtonComponent {
|
|
218
233
|
constructor() {
|
|
234
|
+
this.host = inject(ElementRef);
|
|
219
235
|
this.type = "button";
|
|
220
236
|
this.disabled = false;
|
|
221
237
|
this.loading = false;
|
|
@@ -227,8 +243,12 @@ class ArkButtonComponent {
|
|
|
227
243
|
this.rounded = "md";
|
|
228
244
|
ensureTooarkComponentsRegistered();
|
|
229
245
|
}
|
|
230
|
-
|
|
231
|
-
|
|
246
|
+
/** O `ark-button` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
247
|
+
get element() {
|
|
248
|
+
return this.host.nativeElement.querySelector(":scope > ark-button");
|
|
249
|
+
}
|
|
250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
251
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkButtonComponent, isStandalone: true, selector: "ark-button-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", type: "type", disabled: "disabled", loading: "loading", status: "status", statusLabel: "statusLabel", iconOnly: "iconOnly", fullWidth: "fullWidth", variant: "variant", intent: "intent", theme: "theme", size: "size", rounded: "rounded", href: "href", target: "target", color: "color", textColor: "textColor" }, ngImport: i0, template: `
|
|
232
252
|
<ark-button
|
|
233
253
|
[attr.testid]="testid"
|
|
234
254
|
[attr.aria-label]="ariaLabel"
|
|
@@ -251,7 +271,7 @@ class ArkButtonComponent {
|
|
|
251
271
|
<ng-content></ng-content>
|
|
252
272
|
</ark-button>`, isInline: true }); }
|
|
253
273
|
}
|
|
254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkButtonComponent, decorators: [{
|
|
255
275
|
type: Component,
|
|
256
276
|
args: [{
|
|
257
277
|
selector: "ark-button-wrapper",
|
|
@@ -320,6 +340,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
320
340
|
|
|
321
341
|
class ArkCalendarComponent {
|
|
322
342
|
constructor() {
|
|
343
|
+
this.host = inject(ElementRef);
|
|
323
344
|
this.lang = "en";
|
|
324
345
|
this.theme = "auto";
|
|
325
346
|
this.intent = "primary";
|
|
@@ -327,6 +348,10 @@ class ArkCalendarComponent {
|
|
|
327
348
|
this.handler = (e) => this.arkChange.emit(e.detail);
|
|
328
349
|
ensureTooarkComponentsRegistered();
|
|
329
350
|
}
|
|
351
|
+
/** O `ark-calendar` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
352
|
+
get element() {
|
|
353
|
+
return this.host.nativeElement.querySelector(":scope > ark-calendar");
|
|
354
|
+
}
|
|
330
355
|
get eventsStr() {
|
|
331
356
|
return this.events ? JSON.stringify(this.events) : undefined;
|
|
332
357
|
}
|
|
@@ -339,8 +364,8 @@ class ArkCalendarComponent {
|
|
|
339
364
|
ngOnDestroy() {
|
|
340
365
|
this.calendarRef?.nativeElement?.removeEventListener("ark-change", this.handler);
|
|
341
366
|
}
|
|
342
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
343
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
367
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
368
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
344
369
|
<ark-calendar
|
|
345
370
|
#calendar
|
|
346
371
|
[attr.testid]="testid"
|
|
@@ -356,7 +381,7 @@ class ArkCalendarComponent {
|
|
|
356
381
|
[attr.event-display]="eventDisplay">
|
|
357
382
|
</ark-calendar>`, isInline: true }); }
|
|
358
383
|
}
|
|
359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCalendarComponent, decorators: [{
|
|
360
385
|
type: Component,
|
|
361
386
|
args: [{
|
|
362
387
|
selector: "ark-calendar-wrapper",
|
|
@@ -409,11 +434,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
409
434
|
|
|
410
435
|
class ArkCardComponent {
|
|
411
436
|
constructor() {
|
|
437
|
+
this.host = inject(ElementRef);
|
|
412
438
|
this.theme = "auto";
|
|
413
439
|
ensureTooarkComponentsRegistered();
|
|
414
440
|
}
|
|
415
|
-
|
|
416
|
-
|
|
441
|
+
/** O `ark-card` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
442
|
+
get element() {
|
|
443
|
+
return this.host.nativeElement.querySelector(":scope > ark-card");
|
|
444
|
+
}
|
|
445
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
446
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkCardComponent, isStandalone: true, selector: "ark-card-wrapper", inputs: { testid: "testid", heading: "heading", padding: "padding", rounded: "rounded", theme: "theme" }, ngImport: i0, template: `
|
|
417
447
|
<ark-card
|
|
418
448
|
[attr.testid]="testid"
|
|
419
449
|
[attr.heading]="heading"
|
|
@@ -423,7 +453,7 @@ class ArkCardComponent {
|
|
|
423
453
|
<ng-content></ng-content>
|
|
424
454
|
</ark-card>`, isInline: true }); }
|
|
425
455
|
}
|
|
426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCardComponent, decorators: [{
|
|
427
457
|
type: Component,
|
|
428
458
|
args: [{
|
|
429
459
|
selector: "ark-card-wrapper",
|
|
@@ -453,6 +483,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
453
483
|
|
|
454
484
|
class ArkCarouselComponent {
|
|
455
485
|
constructor() {
|
|
486
|
+
this.host = inject(ElementRef);
|
|
456
487
|
this.theme = "auto";
|
|
457
488
|
this.intent = "primary";
|
|
458
489
|
this.slidesPerView = 1;
|
|
@@ -469,14 +500,18 @@ class ArkCarouselComponent {
|
|
|
469
500
|
this.handler = (e) => this.arkSlideChange.emit(e.detail);
|
|
470
501
|
ensureTooarkComponentsRegistered();
|
|
471
502
|
}
|
|
503
|
+
/** O `ark-carousel` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
504
|
+
get element() {
|
|
505
|
+
return this.host.nativeElement.querySelector(":scope > ark-carousel");
|
|
506
|
+
}
|
|
472
507
|
ngAfterViewInit() {
|
|
473
508
|
this.carouselRef?.nativeElement?.addEventListener("ark-slide-change", this.handler);
|
|
474
509
|
}
|
|
475
510
|
ngOnDestroy() {
|
|
476
511
|
this.carouselRef?.nativeElement?.removeEventListener("ark-slide-change", this.handler);
|
|
477
512
|
}
|
|
478
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
479
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
513
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
514
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
480
515
|
<ark-carousel
|
|
481
516
|
#carousel
|
|
482
517
|
[attr.testid]="testid"
|
|
@@ -496,7 +531,7 @@ class ArkCarouselComponent {
|
|
|
496
531
|
<ng-content></ng-content>
|
|
497
532
|
</ark-carousel>`, isInline: true }); }
|
|
498
533
|
}
|
|
499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCarouselComponent, decorators: [{
|
|
500
535
|
type: Component,
|
|
501
536
|
args: [{
|
|
502
537
|
selector: "ark-carousel-wrapper",
|
|
@@ -559,6 +594,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
559
594
|
|
|
560
595
|
class ArkCheckboxComponent {
|
|
561
596
|
constructor() {
|
|
597
|
+
this.host = inject(ElementRef);
|
|
562
598
|
this.checked = false;
|
|
563
599
|
/** Estado misto (aria-checked="mixed", traço); o próximo clique o limpa. */
|
|
564
600
|
this.indeterminate = false;
|
|
@@ -569,11 +605,15 @@ class ArkCheckboxComponent {
|
|
|
569
605
|
this.changed = new EventEmitter();
|
|
570
606
|
ensureTooarkComponentsRegistered();
|
|
571
607
|
}
|
|
608
|
+
/** O `ark-checkbox` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
609
|
+
get element() {
|
|
610
|
+
return this.host.nativeElement.querySelector(":scope > ark-checkbox");
|
|
611
|
+
}
|
|
572
612
|
onChange(event) {
|
|
573
613
|
this.changed.emit(event);
|
|
574
614
|
}
|
|
575
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
576
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
615
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
616
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkCheckboxComponent, isStandalone: true, selector: "ark-checkbox-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", checked: "checked", indeterminate: "indeterminate", disabled: "disabled", intent: "intent", theme: "theme", size: "size", name: "name", value: "value", label: "label" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
577
617
|
<ark-checkbox
|
|
578
618
|
[attr.testid]="testid"
|
|
579
619
|
[attr.aria-label]="ariaLabel"
|
|
@@ -590,7 +630,7 @@ class ArkCheckboxComponent {
|
|
|
590
630
|
<ng-content></ng-content>
|
|
591
631
|
</ark-checkbox>`, isInline: true }); }
|
|
592
632
|
}
|
|
593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCheckboxComponent, decorators: [{
|
|
594
634
|
type: Component,
|
|
595
635
|
args: [{
|
|
596
636
|
selector: "ark-checkbox-wrapper",
|
|
@@ -641,6 +681,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
641
681
|
|
|
642
682
|
class ArkClockComponent {
|
|
643
683
|
constructor() {
|
|
684
|
+
this.host = inject(ElementRef);
|
|
644
685
|
this.lang = "en";
|
|
645
686
|
this.theme = "auto";
|
|
646
687
|
this.intent = "primary";
|
|
@@ -650,14 +691,18 @@ class ArkClockComponent {
|
|
|
650
691
|
this.handler = (e) => this.arkChange.emit(e.detail);
|
|
651
692
|
ensureTooarkComponentsRegistered();
|
|
652
693
|
}
|
|
694
|
+
/** O `ark-clock` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
695
|
+
get element() {
|
|
696
|
+
return this.host.nativeElement.querySelector(":scope > ark-clock");
|
|
697
|
+
}
|
|
653
698
|
ngAfterViewInit() {
|
|
654
699
|
this.clockRef?.nativeElement?.addEventListener("ark-change", this.handler);
|
|
655
700
|
}
|
|
656
701
|
ngOnDestroy() {
|
|
657
702
|
this.clockRef?.nativeElement?.removeEventListener("ark-change", this.handler);
|
|
658
703
|
}
|
|
659
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
660
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
704
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkClockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
705
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
661
706
|
<ark-clock
|
|
662
707
|
#clock
|
|
663
708
|
[attr.testid]="testid"
|
|
@@ -670,7 +715,7 @@ class ArkClockComponent {
|
|
|
670
715
|
[attr.hours-format]="hoursFormat">
|
|
671
716
|
</ark-clock>`, isInline: true }); }
|
|
672
717
|
}
|
|
673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
718
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkClockComponent, decorators: [{
|
|
674
719
|
type: Component,
|
|
675
720
|
args: [{
|
|
676
721
|
selector: "ark-clock-wrapper",
|
|
@@ -714,6 +759,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
714
759
|
|
|
715
760
|
class ArkColorSwatchesComponent {
|
|
716
761
|
constructor() {
|
|
762
|
+
this.host = inject(ElementRef);
|
|
717
763
|
this.disabled = false;
|
|
718
764
|
this.size = "md";
|
|
719
765
|
this.theme = "auto";
|
|
@@ -721,14 +767,18 @@ class ArkColorSwatchesComponent {
|
|
|
721
767
|
this.changed = new EventEmitter();
|
|
722
768
|
ensureTooarkComponentsRegistered();
|
|
723
769
|
}
|
|
770
|
+
/** O `ark-color-swatches` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
771
|
+
get element() {
|
|
772
|
+
return this.host.nativeElement.querySelector(":scope > ark-color-swatches");
|
|
773
|
+
}
|
|
724
774
|
get colorsJson() {
|
|
725
775
|
return this.colors ? JSON.stringify(this.colors) : null;
|
|
726
776
|
}
|
|
727
777
|
onChange(event) {
|
|
728
778
|
this.changed.emit(event);
|
|
729
779
|
}
|
|
730
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
731
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
780
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkColorSwatchesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
781
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
732
782
|
<ark-color-swatches
|
|
733
783
|
[attr.testid]="testid"
|
|
734
784
|
[attr.aria-label]="ariaLabel"
|
|
@@ -741,7 +791,7 @@ class ArkColorSwatchesComponent {
|
|
|
741
791
|
(change)="onChange($event)">
|
|
742
792
|
</ark-color-swatches>`, isInline: true }); }
|
|
743
793
|
}
|
|
744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkColorSwatchesComponent, decorators: [{
|
|
745
795
|
type: Component,
|
|
746
796
|
args: [{
|
|
747
797
|
selector: "ark-color-swatches-wrapper",
|
|
@@ -782,6 +832,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
782
832
|
|
|
783
833
|
class ArkCommandPaletteComponent {
|
|
784
834
|
constructor() {
|
|
835
|
+
this.host = inject(ElementRef);
|
|
785
836
|
/** Aberta; a saída anima antes de sair do top layer. */
|
|
786
837
|
this.open = false;
|
|
787
838
|
/** A página continua rolando com a paleta aberta. */
|
|
@@ -801,8 +852,12 @@ class ArkCommandPaletteComponent {
|
|
|
801
852
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
802
853
|
ensureTooarkComponentsRegistered();
|
|
803
854
|
}
|
|
804
|
-
|
|
805
|
-
|
|
855
|
+
/** O `ark-command-palette` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
856
|
+
get element() {
|
|
857
|
+
return this.host.nativeElement.querySelector(":scope > ark-command-palette");
|
|
858
|
+
}
|
|
859
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
860
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkCommandPaletteComponent, isStandalone: true, selector: "ark-command-palette-wrapper", inputs: { testid: "testid", open: "open", placeholder: "placeholder", hotkey: "hotkey", noScrollLock: "noScrollLock", filter: "filter", queryDelay: "queryDelay", label: "label", theme: "theme", lang: "lang", localeJson: "localeJson", ariaLabel: "ariaLabel" }, outputs: { arkSelect: "arkSelect", arkQuery: "arkQuery", arkOpen: "arkOpen", arkClose: "arkClose" }, ngImport: i0, template: `
|
|
806
861
|
<ark-command-palette
|
|
807
862
|
[attr.testid]="testid"
|
|
808
863
|
[attr.open]="open ? '' : null"
|
|
@@ -823,7 +878,7 @@ class ArkCommandPaletteComponent {
|
|
|
823
878
|
<ng-content></ng-content>
|
|
824
879
|
</ark-command-palette>`, isInline: true }); }
|
|
825
880
|
}
|
|
826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCommandPaletteComponent, decorators: [{
|
|
827
882
|
type: Component,
|
|
828
883
|
args: [{
|
|
829
884
|
selector: "ark-command-palette-wrapper",
|
|
@@ -885,12 +940,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
885
940
|
}] } });
|
|
886
941
|
class ArkCommandItemComponent {
|
|
887
942
|
constructor() {
|
|
943
|
+
this.host = inject(ElementRef);
|
|
888
944
|
this.value = "";
|
|
889
945
|
this.disabled = false;
|
|
890
946
|
ensureTooarkComponentsRegistered();
|
|
891
947
|
}
|
|
892
|
-
|
|
893
|
-
|
|
948
|
+
/** O `ark-command-item` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
949
|
+
get element() {
|
|
950
|
+
return this.host.nativeElement.querySelector(":scope > ark-command-item");
|
|
951
|
+
}
|
|
952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCommandItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
953
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkCommandItemComponent, isStandalone: true, selector: "ark-command-item-wrapper", inputs: { testid: "testid", value: "value", group: "group", label: "label", disabled: "disabled" }, host: { styleAttribute: "display: contents" }, ngImport: i0, template: `
|
|
894
954
|
<ark-command-item
|
|
895
955
|
[attr.testid]="testid"
|
|
896
956
|
[attr.value]="value"
|
|
@@ -900,7 +960,7 @@ class ArkCommandItemComponent {
|
|
|
900
960
|
<ng-content></ng-content>
|
|
901
961
|
</ark-command-item>`, isInline: true }); }
|
|
902
962
|
}
|
|
903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCommandItemComponent, decorators: [{
|
|
904
964
|
type: Component,
|
|
905
965
|
args: [{
|
|
906
966
|
selector: "ark-command-item-wrapper",
|
|
@@ -932,6 +992,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
932
992
|
|
|
933
993
|
class ArkCopyButtonComponent {
|
|
934
994
|
constructor() {
|
|
995
|
+
this.host = inject(ElementRef);
|
|
935
996
|
this.variant = "primary";
|
|
936
997
|
this.theme = "auto";
|
|
937
998
|
this.size = "md";
|
|
@@ -944,14 +1005,18 @@ class ArkCopyButtonComponent {
|
|
|
944
1005
|
this.copyHandler = (event) => this.arkCopy.emit(event);
|
|
945
1006
|
ensureTooarkComponentsRegistered();
|
|
946
1007
|
}
|
|
1008
|
+
/** O `ark-copy-button` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1009
|
+
get element() {
|
|
1010
|
+
return this.host.nativeElement.querySelector(":scope > ark-copy-button");
|
|
1011
|
+
}
|
|
947
1012
|
ngAfterViewInit() {
|
|
948
1013
|
this.buttonRef?.nativeElement?.addEventListener("ark-copy", this.copyHandler);
|
|
949
1014
|
}
|
|
950
1015
|
ngOnDestroy() {
|
|
951
1016
|
this.buttonRef?.nativeElement?.removeEventListener("ark-copy", this.copyHandler);
|
|
952
1017
|
}
|
|
953
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
954
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1018
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCopyButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1019
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
955
1020
|
<ark-copy-button
|
|
956
1021
|
#button
|
|
957
1022
|
[attr.testid]="testid"
|
|
@@ -975,7 +1040,7 @@ class ArkCopyButtonComponent {
|
|
|
975
1040
|
<ng-content></ng-content>
|
|
976
1041
|
</ark-copy-button>`, isInline: true }); }
|
|
977
1042
|
}
|
|
978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkCopyButtonComponent, decorators: [{
|
|
979
1044
|
type: Component,
|
|
980
1045
|
args: [{
|
|
981
1046
|
selector: "ark-copy-button-wrapper",
|
|
@@ -1050,6 +1115,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1050
1115
|
|
|
1051
1116
|
class ArkDatepickerComponent {
|
|
1052
1117
|
constructor() {
|
|
1118
|
+
this.host = inject(ElementRef);
|
|
1053
1119
|
this.lang = "en";
|
|
1054
1120
|
this.theme = "auto";
|
|
1055
1121
|
this.intent = "primary";
|
|
@@ -1061,6 +1127,10 @@ class ArkDatepickerComponent {
|
|
|
1061
1127
|
this.handler = (e) => this.arkChange.emit(e.detail);
|
|
1062
1128
|
ensureTooarkComponentsRegistered();
|
|
1063
1129
|
}
|
|
1130
|
+
/** O `ark-datepicker` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1131
|
+
get element() {
|
|
1132
|
+
return this.host.nativeElement.querySelector(":scope > ark-datepicker");
|
|
1133
|
+
}
|
|
1064
1134
|
get eventsStr() {
|
|
1065
1135
|
return this.events ? JSON.stringify(this.events) : undefined;
|
|
1066
1136
|
}
|
|
@@ -1073,8 +1143,8 @@ class ArkDatepickerComponent {
|
|
|
1073
1143
|
ngOnDestroy() {
|
|
1074
1144
|
this.pickerRef?.nativeElement?.removeEventListener("ark-change", this.handler);
|
|
1075
1145
|
}
|
|
1076
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1077
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1146
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkDatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1147
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
1078
1148
|
<ark-datepicker
|
|
1079
1149
|
#picker
|
|
1080
1150
|
[attr.testid]="testid"
|
|
@@ -1099,7 +1169,7 @@ class ArkDatepickerComponent {
|
|
|
1099
1169
|
[attr.hours-format]="hoursFormat">
|
|
1100
1170
|
</ark-datepicker>`, isInline: true }); }
|
|
1101
1171
|
}
|
|
1102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkDatepickerComponent, decorators: [{
|
|
1103
1173
|
type: Component,
|
|
1104
1174
|
args: [{
|
|
1105
1175
|
selector: "ark-datepicker-wrapper",
|
|
@@ -1179,6 +1249,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1179
1249
|
|
|
1180
1250
|
class ArkDialogComponent {
|
|
1181
1251
|
constructor() {
|
|
1252
|
+
this.host = inject(ElementRef);
|
|
1182
1253
|
/** Aberto; a saída anima antes de sair do top layer. */
|
|
1183
1254
|
this.open = false;
|
|
1184
1255
|
/** Esconde o botão de fechar do cabeçalho. */
|
|
@@ -1199,8 +1270,12 @@ class ArkDialogComponent {
|
|
|
1199
1270
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1200
1271
|
ensureTooarkComponentsRegistered();
|
|
1201
1272
|
}
|
|
1202
|
-
|
|
1203
|
-
|
|
1273
|
+
/** O `ark-dialog` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1274
|
+
get element() {
|
|
1275
|
+
return this.host.nativeElement.querySelector(":scope > ark-dialog");
|
|
1276
|
+
}
|
|
1277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1278
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkDialogComponent, isStandalone: true, selector: "ark-dialog-wrapper", inputs: { testid: "testid", open: "open", label: "label", noCloseButton: "noCloseButton", persistent: "persistent", noScrollLock: "noScrollLock", size: "size", width: "width", height: "height", theme: "theme", lang: "lang", localeJson: "localeJson", ariaLabel: "ariaLabel" }, outputs: { arkOpen: "arkOpen", arkClose: "arkClose" }, ngImport: i0, template: `
|
|
1204
1279
|
<ark-dialog
|
|
1205
1280
|
[attr.testid]="testid"
|
|
1206
1281
|
[attr.open]="open ? '' : null"
|
|
@@ -1220,7 +1295,7 @@ class ArkDialogComponent {
|
|
|
1220
1295
|
<ng-content></ng-content>
|
|
1221
1296
|
</ark-dialog>`, isInline: true }); }
|
|
1222
1297
|
}
|
|
1223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkDialogComponent, decorators: [{
|
|
1224
1299
|
type: Component,
|
|
1225
1300
|
args: [{
|
|
1226
1301
|
selector: "ark-dialog-wrapper",
|
|
@@ -1280,6 +1355,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1280
1355
|
|
|
1281
1356
|
class ArkDrawerComponent {
|
|
1282
1357
|
constructor() {
|
|
1358
|
+
this.host = inject(ElementRef);
|
|
1283
1359
|
/** Aberta; a saída anima antes de esconder. */
|
|
1284
1360
|
this.open = false;
|
|
1285
1361
|
/** Borda onde a gaveta encosta. Padrão: "right". */
|
|
@@ -1302,8 +1378,12 @@ class ArkDrawerComponent {
|
|
|
1302
1378
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1303
1379
|
ensureTooarkComponentsRegistered();
|
|
1304
1380
|
}
|
|
1305
|
-
|
|
1306
|
-
|
|
1381
|
+
/** O `ark-drawer` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1382
|
+
get element() {
|
|
1383
|
+
return this.host.nativeElement.querySelector(":scope > ark-drawer");
|
|
1384
|
+
}
|
|
1385
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1386
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkDrawerComponent, isStandalone: true, selector: "ark-drawer-wrapper", inputs: { testid: "testid", open: "open", side: "side", mode: "mode", size: "size", label: "label", noCloseButton: "noCloseButton", persistent: "persistent", noScrollLock: "noScrollLock", theme: "theme", lang: "lang", localeJson: "localeJson", ariaLabel: "ariaLabel" }, outputs: { arkOpen: "arkOpen", arkClose: "arkClose" }, ngImport: i0, template: `
|
|
1307
1387
|
<ark-drawer
|
|
1308
1388
|
[attr.testid]="testid"
|
|
1309
1389
|
[attr.open]="open ? '' : null"
|
|
@@ -1323,7 +1403,7 @@ class ArkDrawerComponent {
|
|
|
1323
1403
|
<ng-content></ng-content>
|
|
1324
1404
|
</ark-drawer>`, isInline: true }); }
|
|
1325
1405
|
}
|
|
1326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkDrawerComponent, decorators: [{
|
|
1327
1407
|
type: Component,
|
|
1328
1408
|
args: [{
|
|
1329
1409
|
selector: "ark-drawer-wrapper",
|
|
@@ -1383,11 +1463,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1383
1463
|
|
|
1384
1464
|
class ArkEmptyComponent {
|
|
1385
1465
|
constructor() {
|
|
1466
|
+
this.host = inject(ElementRef);
|
|
1386
1467
|
this.theme = "auto";
|
|
1387
1468
|
ensureTooarkComponentsRegistered();
|
|
1388
1469
|
}
|
|
1389
|
-
|
|
1390
|
-
|
|
1470
|
+
/** O `ark-empty` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1471
|
+
get element() {
|
|
1472
|
+
return this.host.nativeElement.querySelector(":scope > ark-empty");
|
|
1473
|
+
}
|
|
1474
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkEmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1475
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkEmptyComponent, isStandalone: true, selector: "ark-empty-wrapper", inputs: { testid: "testid", heading: "heading", description: "description", theme: "theme" }, ngImport: i0, template: `
|
|
1391
1476
|
<ark-empty
|
|
1392
1477
|
[attr.testid]="testid"
|
|
1393
1478
|
[attr.heading]="heading"
|
|
@@ -1396,7 +1481,7 @@ class ArkEmptyComponent {
|
|
|
1396
1481
|
<ng-content></ng-content>
|
|
1397
1482
|
</ark-empty>`, isInline: true }); }
|
|
1398
1483
|
}
|
|
1399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkEmptyComponent, decorators: [{
|
|
1400
1485
|
type: Component,
|
|
1401
1486
|
args: [{
|
|
1402
1487
|
selector: "ark-empty-wrapper",
|
|
@@ -1423,6 +1508,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1423
1508
|
|
|
1424
1509
|
class ArkFileInputComponent {
|
|
1425
1510
|
constructor() {
|
|
1511
|
+
this.host = inject(ElementRef);
|
|
1426
1512
|
/** Aceita vários arquivos; sem ele o drop fica com o primeiro. */
|
|
1427
1513
|
this.multiple = false;
|
|
1428
1514
|
/** Estado de erro sem mensagem (borda danger e aria-invalid). */
|
|
@@ -1436,11 +1522,15 @@ class ArkFileInputComponent {
|
|
|
1436
1522
|
this.changed = new EventEmitter();
|
|
1437
1523
|
ensureTooarkComponentsRegistered();
|
|
1438
1524
|
}
|
|
1525
|
+
/** O `ark-file-input` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1526
|
+
get element() {
|
|
1527
|
+
return this.host.nativeElement.querySelector(":scope > ark-file-input");
|
|
1528
|
+
}
|
|
1439
1529
|
onChange(event) {
|
|
1440
1530
|
this.changed.emit(event);
|
|
1441
1531
|
}
|
|
1442
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1443
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1532
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkFileInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1533
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
1444
1534
|
<ark-file-input
|
|
1445
1535
|
[attr.testid]="testid"
|
|
1446
1536
|
[attr.accept]="accept"
|
|
@@ -1461,7 +1551,7 @@ class ArkFileInputComponent {
|
|
|
1461
1551
|
(change)="onChange($event)">
|
|
1462
1552
|
</ark-file-input>`, isInline: true }); }
|
|
1463
1553
|
}
|
|
1464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkFileInputComponent, decorators: [{
|
|
1465
1555
|
type: Component,
|
|
1466
1556
|
args: [{
|
|
1467
1557
|
selector: "ark-file-input-wrapper",
|
|
@@ -1526,6 +1616,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1526
1616
|
|
|
1527
1617
|
class ArkInputComponent {
|
|
1528
1618
|
constructor() {
|
|
1619
|
+
this.host = inject(ElementRef);
|
|
1529
1620
|
this.type = "text";
|
|
1530
1621
|
this.size = "md";
|
|
1531
1622
|
this.intent = "primary";
|
|
@@ -1540,11 +1631,15 @@ class ArkInputComponent {
|
|
|
1540
1631
|
this.autofocus = false;
|
|
1541
1632
|
ensureTooarkComponentsRegistered();
|
|
1542
1633
|
}
|
|
1634
|
+
/** O `ark-input` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1635
|
+
get element() {
|
|
1636
|
+
return this.host.nativeElement.querySelector(":scope > ark-input");
|
|
1637
|
+
}
|
|
1543
1638
|
get spellcheckAttr() {
|
|
1544
1639
|
return this.spellcheck === undefined ? null : String(this.spellcheck);
|
|
1545
1640
|
}
|
|
1546
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1547
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1641
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1642
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
1548
1643
|
<ark-input
|
|
1549
1644
|
[attr.testid]="testid"
|
|
1550
1645
|
[attr.type]="type"
|
|
@@ -1579,7 +1674,7 @@ class ArkInputComponent {
|
|
|
1579
1674
|
<ng-content></ng-content>
|
|
1580
1675
|
</ark-input>`, isInline: true }); }
|
|
1581
1676
|
}
|
|
1582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkInputComponent, decorators: [{
|
|
1583
1678
|
type: Component,
|
|
1584
1679
|
args: [{
|
|
1585
1680
|
selector: "ark-input-wrapper",
|
|
@@ -1684,12 +1779,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1684
1779
|
|
|
1685
1780
|
class ArkKbdComponent {
|
|
1686
1781
|
constructor() {
|
|
1782
|
+
this.host = inject(ElementRef);
|
|
1687
1783
|
this.size = "md";
|
|
1688
1784
|
this.theme = "auto";
|
|
1689
1785
|
ensureTooarkComponentsRegistered();
|
|
1690
1786
|
}
|
|
1691
|
-
|
|
1692
|
-
|
|
1787
|
+
/** O `ark-kbd` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1788
|
+
get element() {
|
|
1789
|
+
return this.host.nativeElement.querySelector(":scope > ark-kbd");
|
|
1790
|
+
}
|
|
1791
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkKbdComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1792
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkKbdComponent, isStandalone: true, selector: "ark-kbd-wrapper", inputs: { testid: "testid", size: "size", theme: "theme" }, ngImport: i0, template: `
|
|
1693
1793
|
<ark-kbd
|
|
1694
1794
|
[attr.testid]="testid"
|
|
1695
1795
|
[attr.size]="size"
|
|
@@ -1697,7 +1797,7 @@ class ArkKbdComponent {
|
|
|
1697
1797
|
<ng-content></ng-content>
|
|
1698
1798
|
</ark-kbd>`, isInline: true }); }
|
|
1699
1799
|
}
|
|
1700
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkKbdComponent, decorators: [{
|
|
1701
1801
|
type: Component,
|
|
1702
1802
|
args: [{
|
|
1703
1803
|
selector: "ark-kbd-wrapper",
|
|
@@ -1721,6 +1821,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1721
1821
|
|
|
1722
1822
|
class ArkKvEditorComponent {
|
|
1723
1823
|
constructor() {
|
|
1824
|
+
this.host = inject(ElementRef);
|
|
1724
1825
|
/** Modo de edição em massa (textarea). */
|
|
1725
1826
|
this.bulk = false;
|
|
1726
1827
|
/** Mostra a coluna de descrição. */
|
|
@@ -1738,11 +1839,16 @@ class ArkKvEditorComponent {
|
|
|
1738
1839
|
this.deleteHandler = (event) => this.arkDelete.emit(event);
|
|
1739
1840
|
ensureTooarkComponentsRegistered();
|
|
1740
1841
|
}
|
|
1842
|
+
/** O `ark-kv-editor` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1843
|
+
get element() {
|
|
1844
|
+
return this.host.nativeElement.querySelector(":scope > ark-kv-editor");
|
|
1845
|
+
}
|
|
1741
1846
|
get typesAttr() {
|
|
1742
1847
|
return this.types && this.types.length > 0 ? this.types.join(",") : null;
|
|
1743
1848
|
}
|
|
1744
1849
|
ngAfterViewInit() {
|
|
1745
1850
|
this.syncRows();
|
|
1851
|
+
this.syncValueField();
|
|
1746
1852
|
this.editorRef?.nativeElement?.addEventListener("ark-add", this.addHandler);
|
|
1747
1853
|
this.editorRef?.nativeElement?.addEventListener("ark-delete", this.deleteHandler);
|
|
1748
1854
|
}
|
|
@@ -1750,6 +1856,8 @@ class ArkKvEditorComponent {
|
|
|
1750
1856
|
// Só um `rows` novo substitui o modelo: bulk, readonly ou theme mudando não podem apagar o que o usuário editou.
|
|
1751
1857
|
if (changes.rows)
|
|
1752
1858
|
this.syncRows();
|
|
1859
|
+
if (changes.valueField)
|
|
1860
|
+
this.syncValueField();
|
|
1753
1861
|
}
|
|
1754
1862
|
ngOnDestroy() {
|
|
1755
1863
|
this.editorRef?.nativeElement?.removeEventListener("ark-add", this.addHandler);
|
|
@@ -1763,8 +1871,14 @@ class ArkKvEditorComponent {
|
|
|
1763
1871
|
if (el && this.rows)
|
|
1764
1872
|
el.rows = this.rows;
|
|
1765
1873
|
}
|
|
1766
|
-
|
|
1767
|
-
|
|
1874
|
+
// Função, então propriedade; só é gravada quando o app dá uma, para o editor sem ela não recriar as linhas.
|
|
1875
|
+
syncValueField() {
|
|
1876
|
+
const el = this.editorRef?.nativeElement;
|
|
1877
|
+
if (el && (this.valueField || el.valueField))
|
|
1878
|
+
el.valueField = this.valueField ?? null;
|
|
1879
|
+
}
|
|
1880
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkKvEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1881
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkKvEditorComponent, isStandalone: true, selector: "ark-kv-editor-wrapper", inputs: { testid: "testid", rows: "rows", bulk: "bulk", bulkFormat: "bulkFormat", types: "types", description: "description", secret: "secret", keyPlaceholder: "keyPlaceholder", valuePlaceholder: "valuePlaceholder", descriptionPlaceholder: "descriptionPlaceholder", readonly: "readonly", valueField: "valueField", size: "size", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed", arkAdd: "arkAdd", arkDelete: "arkDelete" }, viewQueries: [{ propertyName: "editorRef", first: true, predicate: ["editor"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
1768
1882
|
<ark-kv-editor
|
|
1769
1883
|
#editor
|
|
1770
1884
|
[attr.testid]="testid"
|
|
@@ -1784,7 +1898,7 @@ class ArkKvEditorComponent {
|
|
|
1784
1898
|
(change)="onChange($event)">
|
|
1785
1899
|
</ark-kv-editor>`, isInline: true }); }
|
|
1786
1900
|
}
|
|
1787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkKvEditorComponent, decorators: [{
|
|
1788
1902
|
type: Component,
|
|
1789
1903
|
args: [{
|
|
1790
1904
|
selector: "ark-kv-editor-wrapper",
|
|
@@ -1832,6 +1946,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1832
1946
|
type: Input
|
|
1833
1947
|
}], readonly: [{
|
|
1834
1948
|
type: Input
|
|
1949
|
+
}], valueField: [{
|
|
1950
|
+
type: Input
|
|
1835
1951
|
}], size: [{
|
|
1836
1952
|
type: Input
|
|
1837
1953
|
}], theme: [{
|
|
@@ -1853,13 +1969,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1853
1969
|
|
|
1854
1970
|
class ArkMarkComponent {
|
|
1855
1971
|
constructor() {
|
|
1972
|
+
this.host = inject(ElementRef);
|
|
1856
1973
|
/** Forma desenhada. Padrão: "circle". */
|
|
1857
1974
|
this.shape = "circle";
|
|
1858
1975
|
this.theme = "auto";
|
|
1859
1976
|
ensureTooarkComponentsRegistered();
|
|
1860
1977
|
}
|
|
1861
|
-
|
|
1862
|
-
|
|
1978
|
+
/** O `ark-mark` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
1979
|
+
get element() {
|
|
1980
|
+
return this.host.nativeElement.querySelector(":scope > ark-mark");
|
|
1981
|
+
}
|
|
1982
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkMarkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1983
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkMarkComponent, isStandalone: true, selector: "ark-mark-wrapper", inputs: { testid: "testid", shape: "shape", color: "color", size: "size", label: "label", theme: "theme" }, ngImport: i0, template: `
|
|
1863
1984
|
<ark-mark
|
|
1864
1985
|
[attr.testid]="testid"
|
|
1865
1986
|
[attr.shape]="shape"
|
|
@@ -1869,7 +1990,7 @@ class ArkMarkComponent {
|
|
|
1869
1990
|
[attr.theme]="theme">
|
|
1870
1991
|
</ark-mark>`, isInline: true }); }
|
|
1871
1992
|
}
|
|
1872
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkMarkComponent, decorators: [{
|
|
1873
1994
|
type: Component,
|
|
1874
1995
|
args: [{
|
|
1875
1996
|
selector: "ark-mark-wrapper",
|
|
@@ -1901,6 +2022,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1901
2022
|
|
|
1902
2023
|
class ArkMenuComponent {
|
|
1903
2024
|
constructor() {
|
|
2025
|
+
this.host = inject(ElementRef);
|
|
1904
2026
|
/** Aberto; refletido do estado do popover. */
|
|
1905
2027
|
this.open = false;
|
|
1906
2028
|
/** Alinhamento em relação ao gatilho. Padrão: "start". */
|
|
@@ -1920,8 +2042,12 @@ class ArkMenuComponent {
|
|
|
1920
2042
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
1921
2043
|
ensureTooarkComponentsRegistered();
|
|
1922
2044
|
}
|
|
1923
|
-
|
|
1924
|
-
|
|
2045
|
+
/** O `ark-menu` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2046
|
+
get element() {
|
|
2047
|
+
return this.host.nativeElement.querySelector(":scope > ark-menu");
|
|
2048
|
+
}
|
|
2049
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2050
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkMenuComponent, isStandalone: true, selector: "ark-menu-wrapper", inputs: { testid: "testid", for: "for", open: "open", align: "align", direction: "direction", size: "size", theme: "theme", ariaLabel: "ariaLabel" }, outputs: { arkSelect: "arkSelect", arkOpen: "arkOpen", arkClose: "arkClose" }, ngImport: i0, template: `
|
|
1925
2051
|
<ark-menu
|
|
1926
2052
|
[attr.testid]="testid"
|
|
1927
2053
|
[attr.for]="for"
|
|
@@ -1937,7 +2063,7 @@ class ArkMenuComponent {
|
|
|
1937
2063
|
<ng-content></ng-content>
|
|
1938
2064
|
</ark-menu>`, isInline: true }); }
|
|
1939
2065
|
}
|
|
1940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkMenuComponent, decorators: [{
|
|
1941
2067
|
type: Component,
|
|
1942
2068
|
args: [{
|
|
1943
2069
|
selector: "ark-menu-wrapper",
|
|
@@ -1984,6 +2110,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
1984
2110
|
}] } });
|
|
1985
2111
|
class ArkMenuItemComponent {
|
|
1986
2112
|
constructor() {
|
|
2113
|
+
this.host = inject(ElementRef);
|
|
1987
2114
|
this.disabled = false;
|
|
1988
2115
|
/** Linha separadora (role separator). */
|
|
1989
2116
|
this.divider = false;
|
|
@@ -1991,13 +2118,17 @@ class ArkMenuItemComponent {
|
|
|
1991
2118
|
this.static = false;
|
|
1992
2119
|
ensureTooarkComponentsRegistered();
|
|
1993
2120
|
}
|
|
2121
|
+
/** O `ark-menu-item` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2122
|
+
get element() {
|
|
2123
|
+
return this.host.nativeElement.querySelector(":scope > ark-menu-item");
|
|
2124
|
+
}
|
|
1994
2125
|
get checkedAttr() {
|
|
1995
2126
|
if (this.checked === undefined)
|
|
1996
2127
|
return null;
|
|
1997
2128
|
return this.checked ? "" : "false";
|
|
1998
2129
|
}
|
|
1999
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2000
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2131
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
2001
2132
|
<ark-menu-item
|
|
2002
2133
|
[attr.testid]="testid"
|
|
2003
2134
|
[attr.value]="value"
|
|
@@ -2009,7 +2140,7 @@ class ArkMenuItemComponent {
|
|
|
2009
2140
|
<ng-content></ng-content>
|
|
2010
2141
|
</ark-menu-item>`, isInline: true }); }
|
|
2011
2142
|
}
|
|
2012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkMenuItemComponent, decorators: [{
|
|
2013
2144
|
type: Component,
|
|
2014
2145
|
args: [{
|
|
2015
2146
|
selector: "ark-menu-item-wrapper",
|
|
@@ -2045,6 +2176,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2045
2176
|
|
|
2046
2177
|
class ArkProgressComponent {
|
|
2047
2178
|
constructor() {
|
|
2179
|
+
this.host = inject(ElementRef);
|
|
2048
2180
|
/** Segmento em loop no lugar do valor (loader contínuo, isento de movimento reduzido). */
|
|
2049
2181
|
this.indeterminate = false;
|
|
2050
2182
|
/** Mostra a porcentagem ao lado do trilho. */
|
|
@@ -2054,8 +2186,12 @@ class ArkProgressComponent {
|
|
|
2054
2186
|
this.theme = "auto";
|
|
2055
2187
|
ensureTooarkComponentsRegistered();
|
|
2056
2188
|
}
|
|
2057
|
-
|
|
2058
|
-
|
|
2189
|
+
/** O `ark-progress` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2190
|
+
get element() {
|
|
2191
|
+
return this.host.nativeElement.querySelector(":scope > ark-progress");
|
|
2192
|
+
}
|
|
2193
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2194
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkProgressComponent, isStandalone: true, selector: "ark-progress-wrapper", inputs: { testid: "testid", value: "value", max: "max", indeterminate: "indeterminate", label: "label", showValue: "showValue", intent: "intent", size: "size", theme: "theme" }, ngImport: i0, template: `
|
|
2059
2195
|
<ark-progress
|
|
2060
2196
|
[attr.testid]="testid"
|
|
2061
2197
|
[attr.value]="value"
|
|
@@ -2068,7 +2204,7 @@ class ArkProgressComponent {
|
|
|
2068
2204
|
[attr.theme]="theme">
|
|
2069
2205
|
</ark-progress>`, isInline: true }); }
|
|
2070
2206
|
}
|
|
2071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkProgressComponent, decorators: [{
|
|
2072
2208
|
type: Component,
|
|
2073
2209
|
args: [{
|
|
2074
2210
|
selector: "ark-progress-wrapper",
|
|
@@ -2109,6 +2245,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2109
2245
|
|
|
2110
2246
|
class ArkRadioComponent {
|
|
2111
2247
|
constructor() {
|
|
2248
|
+
this.host = inject(ElementRef);
|
|
2112
2249
|
this.checked = false;
|
|
2113
2250
|
this.disabled = false;
|
|
2114
2251
|
this.intent = "primary";
|
|
@@ -2118,11 +2255,15 @@ class ArkRadioComponent {
|
|
|
2118
2255
|
this.changed = new EventEmitter();
|
|
2119
2256
|
ensureTooarkComponentsRegistered();
|
|
2120
2257
|
}
|
|
2258
|
+
/** O `ark-radio` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2259
|
+
get element() {
|
|
2260
|
+
return this.host.nativeElement.querySelector(":scope > ark-radio");
|
|
2261
|
+
}
|
|
2121
2262
|
onChange(event) {
|
|
2122
2263
|
this.changed.emit(event);
|
|
2123
2264
|
}
|
|
2124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2125
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2265
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2266
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkRadioComponent, isStandalone: true, selector: "ark-radio-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", checked: "checked", disabled: "disabled", intent: "intent", theme: "theme", size: "size", name: "name", value: "value", label: "label" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
2126
2267
|
<ark-radio
|
|
2127
2268
|
[attr.testid]="testid"
|
|
2128
2269
|
[attr.aria-label]="ariaLabel"
|
|
@@ -2138,7 +2279,7 @@ class ArkRadioComponent {
|
|
|
2138
2279
|
<ng-content></ng-content>
|
|
2139
2280
|
</ark-radio>`, isInline: true }); }
|
|
2140
2281
|
}
|
|
2141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkRadioComponent, decorators: [{
|
|
2142
2283
|
type: Component,
|
|
2143
2284
|
args: [{
|
|
2144
2285
|
selector: "ark-radio-wrapper",
|
|
@@ -2186,6 +2327,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2186
2327
|
|
|
2187
2328
|
class ArkSchedulerComponent {
|
|
2188
2329
|
constructor() {
|
|
2330
|
+
this.host = inject(ElementRef);
|
|
2189
2331
|
this.view = "week";
|
|
2190
2332
|
this.lang = "en";
|
|
2191
2333
|
this.theme = "auto";
|
|
@@ -2200,6 +2342,10 @@ class ArkSchedulerComponent {
|
|
|
2200
2342
|
this.rangeChangeHandler = (e) => this.arkRangeChange.emit(e.detail);
|
|
2201
2343
|
ensureTooarkComponentsRegistered();
|
|
2202
2344
|
}
|
|
2345
|
+
/** O `ark-scheduler` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2346
|
+
get element() {
|
|
2347
|
+
return this.host.nativeElement.querySelector(":scope > ark-scheduler");
|
|
2348
|
+
}
|
|
2203
2349
|
get eventsStr() {
|
|
2204
2350
|
return this.events ? JSON.stringify(this.events) : undefined;
|
|
2205
2351
|
}
|
|
@@ -2221,8 +2367,8 @@ class ArkSchedulerComponent {
|
|
|
2221
2367
|
el.removeEventListener("ark-view-change", this.viewChangeHandler);
|
|
2222
2368
|
el.removeEventListener("ark-range-change", this.rangeChangeHandler);
|
|
2223
2369
|
}
|
|
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.
|
|
2370
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSchedulerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2371
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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
2372
|
<ark-scheduler
|
|
2227
2373
|
#scheduler
|
|
2228
2374
|
[attr.testid]="testid"
|
|
@@ -2240,7 +2386,7 @@ class ArkSchedulerComponent {
|
|
|
2240
2386
|
[attr.hours-format]="hoursFormat">
|
|
2241
2387
|
</ark-scheduler>`, isInline: true }); }
|
|
2242
2388
|
}
|
|
2243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSchedulerComponent, decorators: [{
|
|
2244
2390
|
type: Component,
|
|
2245
2391
|
args: [{
|
|
2246
2392
|
selector: "ark-scheduler-wrapper",
|
|
@@ -2305,6 +2451,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2305
2451
|
|
|
2306
2452
|
class ArkSelectComponent {
|
|
2307
2453
|
constructor() {
|
|
2454
|
+
this.host = inject(ElementRef);
|
|
2308
2455
|
this.size = "md";
|
|
2309
2456
|
this.intent = "primary";
|
|
2310
2457
|
this.theme = "auto";
|
|
@@ -2315,14 +2462,18 @@ class ArkSelectComponent {
|
|
|
2315
2462
|
this.changed = new EventEmitter();
|
|
2316
2463
|
ensureTooarkComponentsRegistered();
|
|
2317
2464
|
}
|
|
2465
|
+
/** O `ark-select` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2466
|
+
get element() {
|
|
2467
|
+
return this.host.nativeElement.querySelector(":scope > ark-select");
|
|
2468
|
+
}
|
|
2318
2469
|
get optionsStr() {
|
|
2319
2470
|
return this.options ? JSON.stringify(this.options) : undefined;
|
|
2320
2471
|
}
|
|
2321
2472
|
onChange(event) {
|
|
2322
2473
|
this.changed.emit(event);
|
|
2323
2474
|
}
|
|
2324
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2325
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2476
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
2326
2477
|
<ark-select
|
|
2327
2478
|
[attr.testid]="testid"
|
|
2328
2479
|
[attr.aria-label]="ariaLabel"
|
|
@@ -2344,7 +2495,7 @@ class ArkSelectComponent {
|
|
|
2344
2495
|
<ng-content></ng-content>
|
|
2345
2496
|
</ark-select>`, isInline: true }); }
|
|
2346
2497
|
}
|
|
2347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSelectComponent, decorators: [{
|
|
2348
2499
|
type: Component,
|
|
2349
2500
|
args: [{
|
|
2350
2501
|
selector: "ark-select-wrapper",
|
|
@@ -2410,6 +2561,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2410
2561
|
|
|
2411
2562
|
class ArkShapePickerComponent {
|
|
2412
2563
|
constructor() {
|
|
2564
|
+
this.host = inject(ElementRef);
|
|
2413
2565
|
this.disabled = false;
|
|
2414
2566
|
this.size = "md";
|
|
2415
2567
|
this.theme = "auto";
|
|
@@ -2417,15 +2569,25 @@ class ArkShapePickerComponent {
|
|
|
2417
2569
|
this.changed = new EventEmitter();
|
|
2418
2570
|
ensureTooarkComponentsRegistered();
|
|
2419
2571
|
}
|
|
2572
|
+
/** O `ark-shape-picker` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2573
|
+
get element() {
|
|
2574
|
+
return this.host.nativeElement.querySelector(":scope > ark-shape-picker");
|
|
2575
|
+
}
|
|
2576
|
+
get shapesAttr() {
|
|
2577
|
+
if (Array.isArray(this.shapes))
|
|
2578
|
+
return this.shapes.length > 0 ? this.shapes.join(",") : null;
|
|
2579
|
+
return this.shapes ?? null;
|
|
2580
|
+
}
|
|
2420
2581
|
onChange(event) {
|
|
2421
2582
|
this.changed.emit(event);
|
|
2422
2583
|
}
|
|
2423
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2424
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2584
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkShapePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2585
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkShapePickerComponent, isStandalone: true, selector: "ark-shape-picker-wrapper", inputs: { testid: "testid", ariaLabel: "ariaLabel", value: "value", shapes: "shapes", color: "color", label: "label", disabled: "disabled", size: "size", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed" }, ngImport: i0, template: `
|
|
2425
2586
|
<ark-shape-picker
|
|
2426
2587
|
[attr.testid]="testid"
|
|
2427
2588
|
[attr.aria-label]="ariaLabel"
|
|
2428
2589
|
[attr.value]="value"
|
|
2590
|
+
[attr.shapes]="shapesAttr"
|
|
2429
2591
|
[attr.color]="color"
|
|
2430
2592
|
[attr.label]="label"
|
|
2431
2593
|
[attr.disabled]="disabled ? '' : null"
|
|
@@ -2436,7 +2598,7 @@ class ArkShapePickerComponent {
|
|
|
2436
2598
|
(change)="onChange($event)">
|
|
2437
2599
|
</ark-shape-picker>`, isInline: true }); }
|
|
2438
2600
|
}
|
|
2439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkShapePickerComponent, decorators: [{
|
|
2440
2602
|
type: Component,
|
|
2441
2603
|
args: [{
|
|
2442
2604
|
selector: "ark-shape-picker-wrapper",
|
|
@@ -2447,6 +2609,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2447
2609
|
[attr.testid]="testid"
|
|
2448
2610
|
[attr.aria-label]="ariaLabel"
|
|
2449
2611
|
[attr.value]="value"
|
|
2612
|
+
[attr.shapes]="shapesAttr"
|
|
2450
2613
|
[attr.color]="color"
|
|
2451
2614
|
[attr.label]="label"
|
|
2452
2615
|
[attr.disabled]="disabled ? '' : null"
|
|
@@ -2463,6 +2626,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2463
2626
|
type: Input
|
|
2464
2627
|
}], value: [{
|
|
2465
2628
|
type: Input
|
|
2629
|
+
}], shapes: [{
|
|
2630
|
+
type: Input
|
|
2466
2631
|
}], color: [{
|
|
2467
2632
|
type: Input
|
|
2468
2633
|
}], label: [{
|
|
@@ -2483,13 +2648,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2483
2648
|
|
|
2484
2649
|
class ArkSkeletonComponent {
|
|
2485
2650
|
constructor() {
|
|
2651
|
+
this.host = inject(ElementRef);
|
|
2486
2652
|
/** Liga o brilho que varre (opt-in; para sob movimento reduzido). */
|
|
2487
2653
|
this.animated = false;
|
|
2488
2654
|
this.theme = "auto";
|
|
2489
2655
|
ensureTooarkComponentsRegistered();
|
|
2490
2656
|
}
|
|
2491
|
-
|
|
2492
|
-
|
|
2657
|
+
/** O `ark-skeleton` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2658
|
+
get element() {
|
|
2659
|
+
return this.host.nativeElement.querySelector(":scope > ark-skeleton");
|
|
2660
|
+
}
|
|
2661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2662
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkSkeletonComponent, isStandalone: true, selector: "ark-skeleton-wrapper", inputs: { testid: "testid", rows: "rows", animated: "animated", rounded: "rounded", color: "color", ratio: "ratio", theme: "theme" }, ngImport: i0, template: `
|
|
2493
2663
|
<ark-skeleton
|
|
2494
2664
|
[attr.testid]="testid"
|
|
2495
2665
|
[attr.rows]="rows"
|
|
@@ -2501,7 +2671,7 @@ class ArkSkeletonComponent {
|
|
|
2501
2671
|
<ng-content></ng-content>
|
|
2502
2672
|
</ark-skeleton>`, isInline: true }); }
|
|
2503
2673
|
}
|
|
2504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSkeletonComponent, decorators: [{
|
|
2505
2675
|
type: Component,
|
|
2506
2676
|
args: [{
|
|
2507
2677
|
selector: "ark-skeleton-wrapper",
|
|
@@ -2537,12 +2707,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2537
2707
|
|
|
2538
2708
|
class ArkSpinnerComponent {
|
|
2539
2709
|
constructor() {
|
|
2710
|
+
this.host = inject(ElementRef);
|
|
2540
2711
|
this.size = "md";
|
|
2541
2712
|
this.theme = "auto";
|
|
2542
2713
|
ensureTooarkComponentsRegistered();
|
|
2543
2714
|
}
|
|
2544
|
-
|
|
2545
|
-
|
|
2715
|
+
/** O `ark-spinner` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2716
|
+
get element() {
|
|
2717
|
+
return this.host.nativeElement.querySelector(":scope > ark-spinner");
|
|
2718
|
+
}
|
|
2719
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2720
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkSpinnerComponent, isStandalone: true, selector: "ark-spinner-wrapper", inputs: { testid: "testid", size: "size", intent: "intent", label: "label", theme: "theme", lang: "lang", localeJson: "localeJson" }, ngImport: i0, template: `
|
|
2546
2721
|
<ark-spinner
|
|
2547
2722
|
[attr.testid]="testid"
|
|
2548
2723
|
[attr.size]="size"
|
|
@@ -2553,7 +2728,7 @@ class ArkSpinnerComponent {
|
|
|
2553
2728
|
[attr.locale-json]="localeJson">
|
|
2554
2729
|
</ark-spinner>`, isInline: true }); }
|
|
2555
2730
|
}
|
|
2556
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSpinnerComponent, decorators: [{
|
|
2557
2732
|
type: Component,
|
|
2558
2733
|
args: [{
|
|
2559
2734
|
selector: "ark-spinner-wrapper",
|
|
@@ -2588,6 +2763,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2588
2763
|
|
|
2589
2764
|
class ArkSplitPaneComponent {
|
|
2590
2765
|
constructor() {
|
|
2766
|
+
this.host = inject(ElementRef);
|
|
2591
2767
|
/** Painéis lado a lado (horizontal) ou empilhados (vertical). Padrão: "horizontal". */
|
|
2592
2768
|
this.direction = "horizontal";
|
|
2593
2769
|
this.theme = "auto";
|
|
@@ -2596,6 +2772,10 @@ class ArkSplitPaneComponent {
|
|
|
2596
2772
|
this.resizeHandler = (event) => this.arkResize.emit(event);
|
|
2597
2773
|
ensureTooarkComponentsRegistered();
|
|
2598
2774
|
}
|
|
2775
|
+
/** O `ark-split-pane` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2776
|
+
get element() {
|
|
2777
|
+
return this.host.nativeElement.querySelector(":scope > ark-split-pane");
|
|
2778
|
+
}
|
|
2599
2779
|
get sizesAttr() {
|
|
2600
2780
|
return this.sizes ? this.sizes.join(",") : null;
|
|
2601
2781
|
}
|
|
@@ -2605,8 +2785,8 @@ class ArkSplitPaneComponent {
|
|
|
2605
2785
|
ngOnDestroy() {
|
|
2606
2786
|
this.paneRef?.nativeElement?.removeEventListener("ark-resize", this.resizeHandler);
|
|
2607
2787
|
}
|
|
2608
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2609
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2788
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSplitPaneComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2789
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
2610
2790
|
<ark-split-pane
|
|
2611
2791
|
#pane
|
|
2612
2792
|
[attr.testid]="testid"
|
|
@@ -2618,7 +2798,7 @@ class ArkSplitPaneComponent {
|
|
|
2618
2798
|
<ng-content></ng-content>
|
|
2619
2799
|
</ark-split-pane>`, isInline: true }); }
|
|
2620
2800
|
}
|
|
2621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSplitPaneComponent, decorators: [{
|
|
2622
2802
|
type: Component,
|
|
2623
2803
|
args: [{
|
|
2624
2804
|
selector: "ark-split-pane-wrapper",
|
|
@@ -2657,14 +2837,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2657
2837
|
|
|
2658
2838
|
class ArkStatusDotComponent {
|
|
2659
2839
|
constructor() {
|
|
2840
|
+
this.host = inject(ElementRef);
|
|
2660
2841
|
/** Cor do ponto. Padrão: "neutral". */
|
|
2661
2842
|
this.intent = "neutral";
|
|
2662
2843
|
this.size = "md";
|
|
2663
2844
|
this.theme = "auto";
|
|
2664
2845
|
ensureTooarkComponentsRegistered();
|
|
2665
2846
|
}
|
|
2666
|
-
|
|
2667
|
-
|
|
2847
|
+
/** O `ark-status-dot` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2848
|
+
get element() {
|
|
2849
|
+
return this.host.nativeElement.querySelector(":scope > ark-status-dot");
|
|
2850
|
+
}
|
|
2851
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkStatusDotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2852
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkStatusDotComponent, isStandalone: true, selector: "ark-status-dot-wrapper", inputs: { testid: "testid", intent: "intent", label: "label", size: "size", theme: "theme" }, ngImport: i0, template: `
|
|
2668
2853
|
<ark-status-dot
|
|
2669
2854
|
[attr.testid]="testid"
|
|
2670
2855
|
[attr.intent]="intent"
|
|
@@ -2673,7 +2858,7 @@ class ArkStatusDotComponent {
|
|
|
2673
2858
|
[attr.theme]="theme">
|
|
2674
2859
|
</ark-status-dot>`, isInline: true }); }
|
|
2675
2860
|
}
|
|
2676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkStatusDotComponent, decorators: [{
|
|
2677
2862
|
type: Component,
|
|
2678
2863
|
args: [{
|
|
2679
2864
|
selector: "ark-status-dot-wrapper",
|
|
@@ -2702,6 +2887,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2702
2887
|
|
|
2703
2888
|
class ArkSwitchComponent {
|
|
2704
2889
|
constructor() {
|
|
2890
|
+
this.host = inject(ElementRef);
|
|
2705
2891
|
this.checked = false;
|
|
2706
2892
|
this.disabled = false;
|
|
2707
2893
|
this.labels = false;
|
|
@@ -2712,11 +2898,15 @@ class ArkSwitchComponent {
|
|
|
2712
2898
|
this.changed = new EventEmitter();
|
|
2713
2899
|
ensureTooarkComponentsRegistered();
|
|
2714
2900
|
}
|
|
2901
|
+
/** O `ark-switch` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
2902
|
+
get element() {
|
|
2903
|
+
return this.host.nativeElement.querySelector(":scope > ark-switch");
|
|
2904
|
+
}
|
|
2715
2905
|
onChange(event) {
|
|
2716
2906
|
this.changed.emit(event);
|
|
2717
2907
|
}
|
|
2718
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2719
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2908
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2909
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
2720
2910
|
<ark-switch
|
|
2721
2911
|
[attr.testid]="testid"
|
|
2722
2912
|
[attr.aria-label]="ariaLabel"
|
|
@@ -2736,7 +2926,7 @@ class ArkSwitchComponent {
|
|
|
2736
2926
|
(change)="onChange($event)">
|
|
2737
2927
|
</ark-switch>`, isInline: true }); }
|
|
2738
2928
|
}
|
|
2739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkSwitchComponent, decorators: [{
|
|
2740
2930
|
type: Component,
|
|
2741
2931
|
args: [{
|
|
2742
2932
|
selector: "ark-switch-wrapper",
|
|
@@ -2798,6 +2988,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2798
2988
|
|
|
2799
2989
|
class ArkTabsComponent {
|
|
2800
2990
|
constructor() {
|
|
2991
|
+
this.host = inject(ElementRef);
|
|
2801
2992
|
this.variant = "underline";
|
|
2802
2993
|
this.size = "md";
|
|
2803
2994
|
this.intent = "primary";
|
|
@@ -2808,6 +2999,10 @@ class ArkTabsComponent {
|
|
|
2808
2999
|
this.closeHandler = (event) => this.arkClose.emit(event);
|
|
2809
3000
|
ensureTooarkComponentsRegistered();
|
|
2810
3001
|
}
|
|
3002
|
+
/** O `ark-tabs` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3003
|
+
get element() {
|
|
3004
|
+
return this.host.nativeElement.querySelector(":scope > ark-tabs");
|
|
3005
|
+
}
|
|
2811
3006
|
ngAfterViewInit() {
|
|
2812
3007
|
this.tabsRef?.nativeElement?.addEventListener("ark-close", this.closeHandler);
|
|
2813
3008
|
}
|
|
@@ -2817,8 +3012,8 @@ class ArkTabsComponent {
|
|
|
2817
3012
|
onChange(event) {
|
|
2818
3013
|
this.changed.emit(event);
|
|
2819
3014
|
}
|
|
2820
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2821
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3015
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3016
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
2822
3017
|
<ark-tabs
|
|
2823
3018
|
#tabs
|
|
2824
3019
|
[attr.testid]="testid"
|
|
@@ -2836,7 +3031,7 @@ class ArkTabsComponent {
|
|
|
2836
3031
|
<ng-content></ng-content>
|
|
2837
3032
|
</ark-tabs>`, isInline: true }); }
|
|
2838
3033
|
}
|
|
2839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTabsComponent, decorators: [{
|
|
2840
3035
|
type: Component,
|
|
2841
3036
|
args: [{
|
|
2842
3037
|
selector: "ark-tabs-wrapper",
|
|
@@ -2892,6 +3087,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2892
3087
|
}] } });
|
|
2893
3088
|
class ArkTabComponent {
|
|
2894
3089
|
constructor() {
|
|
3090
|
+
this.host = inject(ElementRef);
|
|
2895
3091
|
this.value = "";
|
|
2896
3092
|
this.disabled = false;
|
|
2897
3093
|
/** Botão de fechar, clique do meio e Delete (só na variante editor). */
|
|
@@ -2900,8 +3096,12 @@ class ArkTabComponent {
|
|
|
2900
3096
|
this.dirty = false;
|
|
2901
3097
|
ensureTooarkComponentsRegistered();
|
|
2902
3098
|
}
|
|
2903
|
-
|
|
2904
|
-
|
|
3099
|
+
/** O `ark-tab` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3100
|
+
get element() {
|
|
3101
|
+
return this.host.nativeElement.querySelector(":scope > ark-tab");
|
|
3102
|
+
}
|
|
3103
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3104
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkTabComponent, isStandalone: true, selector: "ark-tab-wrapper", inputs: { testid: "testid", value: "value", disabled: "disabled", controls: "controls", closable: "closable", dirty: "dirty" }, ngImport: i0, template: `
|
|
2905
3105
|
<ark-tab
|
|
2906
3106
|
[attr.testid]="testid"
|
|
2907
3107
|
[attr.value]="value"
|
|
@@ -2912,7 +3112,7 @@ class ArkTabComponent {
|
|
|
2912
3112
|
<ng-content></ng-content>
|
|
2913
3113
|
</ark-tab>`, isInline: true }); }
|
|
2914
3114
|
}
|
|
2915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTabComponent, decorators: [{
|
|
2916
3116
|
type: Component,
|
|
2917
3117
|
args: [{
|
|
2918
3118
|
selector: "ark-tab-wrapper",
|
|
@@ -2945,6 +3145,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
2945
3145
|
|
|
2946
3146
|
class ArkTextareaComponent {
|
|
2947
3147
|
constructor() {
|
|
3148
|
+
this.host = inject(ElementRef);
|
|
2948
3149
|
/** Cresce com o conteúdo (field-sizing nativo, fallback por JS). */
|
|
2949
3150
|
this.autosize = false;
|
|
2950
3151
|
/** Fonte monoespaçada, para código e dados. */
|
|
@@ -2961,11 +3162,15 @@ class ArkTextareaComponent {
|
|
|
2961
3162
|
this.autofocus = false;
|
|
2962
3163
|
ensureTooarkComponentsRegistered();
|
|
2963
3164
|
}
|
|
3165
|
+
/** O `ark-textarea` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3166
|
+
get element() {
|
|
3167
|
+
return this.host.nativeElement.querySelector(":scope > ark-textarea");
|
|
3168
|
+
}
|
|
2964
3169
|
get spellcheckAttr() {
|
|
2965
3170
|
return this.spellcheck === undefined ? null : String(this.spellcheck);
|
|
2966
3171
|
}
|
|
2967
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2968
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3172
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3173
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
2969
3174
|
<ark-textarea
|
|
2970
3175
|
[attr.testid]="testid"
|
|
2971
3176
|
[attr.label]="label"
|
|
@@ -2996,7 +3201,7 @@ class ArkTextareaComponent {
|
|
|
2996
3201
|
<ng-content></ng-content>
|
|
2997
3202
|
</ark-textarea>`, isInline: true }); }
|
|
2998
3203
|
}
|
|
2999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTextareaComponent, decorators: [{
|
|
3000
3205
|
type: Component,
|
|
3001
3206
|
args: [{
|
|
3002
3207
|
selector: "ark-textarea-wrapper",
|
|
@@ -3089,6 +3294,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
3089
3294
|
|
|
3090
3295
|
class ArkToasterComponent {
|
|
3091
3296
|
constructor() {
|
|
3297
|
+
this.host = inject(ElementRef);
|
|
3092
3298
|
this.theme = "auto";
|
|
3093
3299
|
this.position = "bottom-right";
|
|
3094
3300
|
this.richColors = false;
|
|
@@ -3099,11 +3305,15 @@ class ArkToasterComponent {
|
|
|
3099
3305
|
this.arkToastAction = new EventEmitter();
|
|
3100
3306
|
ensureTooarkComponentsRegistered();
|
|
3101
3307
|
}
|
|
3308
|
+
/** O `ark-toaster` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3309
|
+
get element() {
|
|
3310
|
+
return this.host.nativeElement.querySelector(":scope > ark-toaster");
|
|
3311
|
+
}
|
|
3102
3312
|
onAction(event) {
|
|
3103
3313
|
this.arkToastAction.emit(event);
|
|
3104
3314
|
}
|
|
3105
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3106
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3315
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkToasterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3316
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
3107
3317
|
<ark-toaster
|
|
3108
3318
|
[attr.testid]="testid"
|
|
3109
3319
|
[attr.theme]="theme"
|
|
@@ -3116,7 +3326,7 @@ class ArkToasterComponent {
|
|
|
3116
3326
|
(ark-toast-action)="onAction($event)">
|
|
3117
3327
|
</ark-toaster>`, isInline: true }); }
|
|
3118
3328
|
}
|
|
3119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkToasterComponent, decorators: [{
|
|
3120
3330
|
type: Component,
|
|
3121
3331
|
args: [{
|
|
3122
3332
|
selector: "ark-toaster-wrapper",
|
|
@@ -3157,6 +3367,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
3157
3367
|
|
|
3158
3368
|
class ArkToggleComponent {
|
|
3159
3369
|
constructor() {
|
|
3370
|
+
this.host = inject(ElementRef);
|
|
3160
3371
|
this.pressed = false;
|
|
3161
3372
|
this.disabled = false;
|
|
3162
3373
|
this.intent = "primary";
|
|
@@ -3165,11 +3376,15 @@ class ArkToggleComponent {
|
|
|
3165
3376
|
this.changed = new EventEmitter();
|
|
3166
3377
|
ensureTooarkComponentsRegistered();
|
|
3167
3378
|
}
|
|
3379
|
+
/** O `ark-toggle` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3380
|
+
get element() {
|
|
3381
|
+
return this.host.nativeElement.querySelector(":scope > ark-toggle");
|
|
3382
|
+
}
|
|
3168
3383
|
onChange(event) {
|
|
3169
3384
|
this.changed.emit(event);
|
|
3170
3385
|
}
|
|
3171
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3172
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3386
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3387
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
3173
3388
|
<ark-toggle
|
|
3174
3389
|
[attr.testid]="testid"
|
|
3175
3390
|
[attr.aria-label]="ariaLabel"
|
|
@@ -3183,7 +3398,7 @@ class ArkToggleComponent {
|
|
|
3183
3398
|
<ng-content></ng-content>
|
|
3184
3399
|
</ark-toggle>`, isInline: true }); }
|
|
3185
3400
|
}
|
|
3186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkToggleComponent, decorators: [{
|
|
3187
3402
|
type: Component,
|
|
3188
3403
|
args: [{
|
|
3189
3404
|
selector: "ark-toggle-wrapper",
|
|
@@ -3224,16 +3439,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
3224
3439
|
}] } });
|
|
3225
3440
|
class ArkToggleGroupComponent {
|
|
3226
3441
|
constructor() {
|
|
3442
|
+
this.host = inject(ElementRef);
|
|
3227
3443
|
this.multiple = false;
|
|
3228
3444
|
this.disabled = false;
|
|
3229
3445
|
this.changed = new EventEmitter();
|
|
3230
3446
|
ensureTooarkComponentsRegistered();
|
|
3231
3447
|
}
|
|
3448
|
+
/** O `ark-toggle-group` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3449
|
+
get element() {
|
|
3450
|
+
return this.host.nativeElement.querySelector(":scope > ark-toggle-group");
|
|
3451
|
+
}
|
|
3232
3452
|
onChange(event) {
|
|
3233
3453
|
this.changed.emit(event);
|
|
3234
3454
|
}
|
|
3235
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3236
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3455
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkToggleGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3456
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", 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: `
|
|
3237
3457
|
<ark-toggle-group
|
|
3238
3458
|
[attr.testid]="testid"
|
|
3239
3459
|
[attr.value]="value"
|
|
@@ -3246,7 +3466,7 @@ class ArkToggleGroupComponent {
|
|
|
3246
3466
|
<ng-content></ng-content>
|
|
3247
3467
|
</ark-toggle-group>`, isInline: true }); }
|
|
3248
3468
|
}
|
|
3249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkToggleGroupComponent, decorators: [{
|
|
3250
3470
|
type: Component,
|
|
3251
3471
|
args: [{
|
|
3252
3472
|
selector: "ark-toggle-group-wrapper",
|
|
@@ -3285,6 +3505,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
|
|
|
3285
3505
|
|
|
3286
3506
|
class ArkTooltipComponent {
|
|
3287
3507
|
constructor() {
|
|
3508
|
+
this.host = inject(ElementRef);
|
|
3288
3509
|
/** Lado do gatilho; vira quando não cabe. Padrão: "top". */
|
|
3289
3510
|
this.side = "top";
|
|
3290
3511
|
/** Aberto; refletido do estado do balão. */
|
|
@@ -3292,8 +3513,12 @@ class ArkTooltipComponent {
|
|
|
3292
3513
|
this.theme = "auto";
|
|
3293
3514
|
ensureTooarkComponentsRegistered();
|
|
3294
3515
|
}
|
|
3295
|
-
|
|
3296
|
-
|
|
3516
|
+
/** O `ark-tooltip` que este wrapper renderiza, com os métodos e propriedades do elemento; `null` antes da view. */
|
|
3517
|
+
get element() {
|
|
3518
|
+
return this.host.nativeElement.querySelector(":scope > ark-tooltip");
|
|
3519
|
+
}
|
|
3520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3521
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.24", type: ArkTooltipComponent, isStandalone: true, selector: "ark-tooltip-wrapper", inputs: { testid: "testid", content: "content", side: "side", delay: "delay", open: "open", theme: "theme" }, ngImport: i0, template: `
|
|
3297
3522
|
<ark-tooltip
|
|
3298
3523
|
[attr.testid]="testid"
|
|
3299
3524
|
[attr.content]="content"
|
|
@@ -3304,7 +3529,7 @@ class ArkTooltipComponent {
|
|
|
3304
3529
|
<ng-content></ng-content>
|
|
3305
3530
|
</ark-tooltip>`, isInline: true }); }
|
|
3306
3531
|
}
|
|
3307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ArkTooltipComponent, decorators: [{
|
|
3308
3533
|
type: Component,
|
|
3309
3534
|
args: [{
|
|
3310
3535
|
selector: "ark-tooltip-wrapper",
|