@tooark/angular 1.0.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.
@@ -0,0 +1,3306 @@
1
+ export { dismissToast, showToast, toast } from '@tooark/core';
2
+ import * as i0 from '@angular/core';
3
+ import { EventEmitter, ViewChild, Output, Input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
4
+ import { registerTooarkComponents } from '@tooark/web-components';
5
+
6
+ let isRegistered = false;
7
+ /**
8
+ * Registra os custom elements uma única vez. É chamado no construtor de cada
9
+ * wrapper (e não no top-level do módulo) para que importar o pacote não tenha
10
+ * efeito colateral e para funcionar em SSR: no servidor não há
11
+ * `customElements`, então a chamada é ignorada e o registro acontece na
12
+ * hidratação do cliente.
13
+ */
14
+ function ensureTooarkComponentsRegistered() {
15
+ if (isRegistered)
16
+ return;
17
+ if (typeof window === "undefined" || typeof customElements === "undefined")
18
+ return;
19
+ registerTooarkComponents();
20
+ isRegistered = true;
21
+ }
22
+
23
+ class ArkAlertComponent {
24
+ constructor() {
25
+ this.intent = "info";
26
+ /** Caixa arredondada ou banner de largura toda. Padrão: "box". */
27
+ this.variant = "box";
28
+ /** Botão de dispensar (rótulo por lang/localeJson). */
29
+ this.dismissible = false;
30
+ this.theme = "auto";
31
+ /** Depois da saída animada: o host ganha `hidden`; desmontar é do app. */
32
+ this.arkDismiss = new EventEmitter();
33
+ this.dismissHandler = (event) => this.arkDismiss.emit(event);
34
+ ensureTooarkComponentsRegistered();
35
+ }
36
+ ngAfterViewInit() {
37
+ this.alertRef?.nativeElement?.addEventListener("ark-dismiss", this.dismissHandler);
38
+ }
39
+ ngOnDestroy() {
40
+ this.alertRef?.nativeElement?.removeEventListener("ark-dismiss", this.dismissHandler);
41
+ }
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
43
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", 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
+ <ark-alert
45
+ #alert
46
+ [attr.testid]="testid"
47
+ [attr.intent]="intent"
48
+ [attr.variant]="variant"
49
+ [attr.heading]="heading"
50
+ [attr.dismissible]="dismissible ? '' : null"
51
+ [attr.live]="live"
52
+ [attr.theme]="theme"
53
+ [attr.lang]="lang"
54
+ [attr.locale-json]="localeJson">
55
+ <ng-content></ng-content>
56
+ </ark-alert>`, isInline: true }); }
57
+ }
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkAlertComponent, decorators: [{
59
+ type: Component,
60
+ args: [{
61
+ selector: "ark-alert-wrapper",
62
+ standalone: true,
63
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
64
+ template: `
65
+ <ark-alert
66
+ #alert
67
+ [attr.testid]="testid"
68
+ [attr.intent]="intent"
69
+ [attr.variant]="variant"
70
+ [attr.heading]="heading"
71
+ [attr.dismissible]="dismissible ? '' : null"
72
+ [attr.live]="live"
73
+ [attr.theme]="theme"
74
+ [attr.lang]="lang"
75
+ [attr.locale-json]="localeJson">
76
+ <ng-content></ng-content>
77
+ </ark-alert>`
78
+ }]
79
+ }], ctorParameters: () => [], propDecorators: { testid: [{
80
+ type: Input
81
+ }], intent: [{
82
+ type: Input
83
+ }], variant: [{
84
+ type: Input
85
+ }], heading: [{
86
+ type: Input
87
+ }], dismissible: [{
88
+ type: Input
89
+ }], live: [{
90
+ type: Input
91
+ }], theme: [{
92
+ type: Input
93
+ }], lang: [{
94
+ type: Input
95
+ }], localeJson: [{
96
+ type: Input
97
+ }], arkDismiss: [{
98
+ type: Output
99
+ }], alertRef: [{
100
+ type: ViewChild,
101
+ args: ["alert", { static: false }]
102
+ }] } });
103
+
104
+ class ArkAvatarComponent {
105
+ constructor() {
106
+ this.size = "md";
107
+ /** Círculo ou quadrado de cantos arredondados. Padrão: "circle". */
108
+ this.shape = "circle";
109
+ this.theme = "auto";
110
+ ensureTooarkComponentsRegistered();
111
+ }
112
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
113
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkAvatarComponent, isStandalone: true, selector: "ark-avatar-wrapper", inputs: { testid: "testid", name: "name", src: "src", size: "size", shape: "shape", color: "color", theme: "theme" }, ngImport: i0, template: `
114
+ <ark-avatar
115
+ [attr.testid]="testid"
116
+ [attr.name]="name"
117
+ [attr.src]="src"
118
+ [attr.size]="size"
119
+ [attr.shape]="shape"
120
+ [attr.color]="color"
121
+ [attr.theme]="theme">
122
+ </ark-avatar>`, isInline: true }); }
123
+ }
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkAvatarComponent, decorators: [{
125
+ type: Component,
126
+ args: [{
127
+ selector: "ark-avatar-wrapper",
128
+ standalone: true,
129
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
130
+ template: `
131
+ <ark-avatar
132
+ [attr.testid]="testid"
133
+ [attr.name]="name"
134
+ [attr.src]="src"
135
+ [attr.size]="size"
136
+ [attr.shape]="shape"
137
+ [attr.color]="color"
138
+ [attr.theme]="theme">
139
+ </ark-avatar>`
140
+ }]
141
+ }], ctorParameters: () => [], propDecorators: { testid: [{
142
+ type: Input
143
+ }], name: [{
144
+ type: Input
145
+ }], src: [{
146
+ type: Input
147
+ }], size: [{
148
+ type: Input
149
+ }], shape: [{
150
+ type: Input
151
+ }], color: [{
152
+ type: Input
153
+ }], theme: [{
154
+ type: Input
155
+ }] } });
156
+
157
+ class ArkBadgeComponent {
158
+ constructor() {
159
+ this.intent = "neutral";
160
+ this.variant = "soft";
161
+ this.size = "md";
162
+ this.rounded = "full";
163
+ this.theme = "auto";
164
+ ensureTooarkComponentsRegistered();
165
+ }
166
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
167
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkBadgeComponent, isStandalone: true, selector: "ark-badge-wrapper", inputs: { testid: "testid", intent: "intent", variant: "variant", size: "size", rounded: "rounded", color: "color", theme: "theme" }, ngImport: i0, template: `
168
+ <ark-badge
169
+ [attr.testid]="testid"
170
+ [attr.intent]="intent"
171
+ [attr.variant]="variant"
172
+ [attr.size]="size"
173
+ [attr.rounded]="rounded"
174
+ [attr.color]="color"
175
+ [attr.theme]="theme">
176
+ <ng-content></ng-content>
177
+ </ark-badge>`, isInline: true }); }
178
+ }
179
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkBadgeComponent, decorators: [{
180
+ type: Component,
181
+ args: [{
182
+ selector: "ark-badge-wrapper",
183
+ standalone: true,
184
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
185
+ template: `
186
+ <ark-badge
187
+ [attr.testid]="testid"
188
+ [attr.intent]="intent"
189
+ [attr.variant]="variant"
190
+ [attr.size]="size"
191
+ [attr.rounded]="rounded"
192
+ [attr.color]="color"
193
+ [attr.theme]="theme">
194
+ <ng-content></ng-content>
195
+ </ark-badge>`
196
+ }]
197
+ }], ctorParameters: () => [], propDecorators: { testid: [{
198
+ type: Input
199
+ }], intent: [{
200
+ type: Input
201
+ }], variant: [{
202
+ type: Input
203
+ }], size: [{
204
+ type: Input
205
+ }], rounded: [{
206
+ type: Input
207
+ }], color: [{
208
+ type: Input
209
+ }], theme: [{
210
+ type: Input
211
+ }] } });
212
+
213
+ class ArkButtonComponent {
214
+ constructor() {
215
+ this.type = "button";
216
+ this.disabled = false;
217
+ this.loading = false;
218
+ this.iconOnly = false;
219
+ this.fullWidth = false;
220
+ this.variant = "primary";
221
+ this.intent = "primary";
222
+ this.theme = "auto";
223
+ this.size = "md";
224
+ this.rounded = "md";
225
+ ensureTooarkComponentsRegistered();
226
+ }
227
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
228
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkButtonComponent, isStandalone: true, selector: "ark-button-wrapper", inputs: { testid: "testid", type: "type", disabled: "disabled", loading: "loading", status: "status", statusLabel: "statusLabel", iconOnly: "iconOnly", fullWidth: "fullWidth", variant: "variant", intent: "intent", theme: "theme", size: "size", rounded: "rounded", href: "href", target: "target", color: "color", textColor: "textColor" }, ngImport: i0, template: `
229
+ <ark-button
230
+ [attr.testid]="testid"
231
+ [attr.type]="type"
232
+ [attr.disabled]="disabled ? '' : null"
233
+ [attr.loading]="loading ? '' : null"
234
+ [attr.status]="status"
235
+ [attr.status-label]="statusLabel"
236
+ [attr.icon-only]="iconOnly ? '' : null"
237
+ [attr.full-width]="fullWidth ? '' : null"
238
+ [attr.variant]="variant"
239
+ [attr.intent]="intent"
240
+ [attr.theme]="theme"
241
+ [attr.rounded]="rounded"
242
+ [attr.href]="href"
243
+ [attr.target]="target"
244
+ [attr.color]="color"
245
+ [attr.text-color]="textColor"
246
+ [attr.size]="size">
247
+ <ng-content></ng-content>
248
+ </ark-button>`, isInline: true }); }
249
+ }
250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkButtonComponent, decorators: [{
251
+ type: Component,
252
+ args: [{
253
+ selector: "ark-button-wrapper",
254
+ standalone: true,
255
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
256
+ template: `
257
+ <ark-button
258
+ [attr.testid]="testid"
259
+ [attr.type]="type"
260
+ [attr.disabled]="disabled ? '' : null"
261
+ [attr.loading]="loading ? '' : null"
262
+ [attr.status]="status"
263
+ [attr.status-label]="statusLabel"
264
+ [attr.icon-only]="iconOnly ? '' : null"
265
+ [attr.full-width]="fullWidth ? '' : null"
266
+ [attr.variant]="variant"
267
+ [attr.intent]="intent"
268
+ [attr.theme]="theme"
269
+ [attr.rounded]="rounded"
270
+ [attr.href]="href"
271
+ [attr.target]="target"
272
+ [attr.color]="color"
273
+ [attr.text-color]="textColor"
274
+ [attr.size]="size">
275
+ <ng-content></ng-content>
276
+ </ark-button>`
277
+ }]
278
+ }], ctorParameters: () => [], propDecorators: { testid: [{
279
+ type: Input
280
+ }], type: [{
281
+ type: Input
282
+ }], disabled: [{
283
+ type: Input
284
+ }], loading: [{
285
+ type: Input
286
+ }], status: [{
287
+ type: Input
288
+ }], statusLabel: [{
289
+ type: Input
290
+ }], iconOnly: [{
291
+ type: Input
292
+ }], fullWidth: [{
293
+ type: Input
294
+ }], variant: [{
295
+ type: Input
296
+ }], intent: [{
297
+ type: Input
298
+ }], theme: [{
299
+ type: Input
300
+ }], size: [{
301
+ type: Input
302
+ }], rounded: [{
303
+ type: Input
304
+ }], href: [{
305
+ type: Input
306
+ }], target: [{
307
+ type: Input
308
+ }], color: [{
309
+ type: Input
310
+ }], textColor: [{
311
+ type: Input
312
+ }] } });
313
+
314
+ class ArkCalendarComponent {
315
+ constructor() {
316
+ this.lang = "en";
317
+ this.theme = "auto";
318
+ this.intent = "primary";
319
+ this.arkChange = new EventEmitter();
320
+ this.handler = (e) => this.arkChange.emit(e.detail);
321
+ ensureTooarkComponentsRegistered();
322
+ }
323
+ get eventsStr() {
324
+ return this.events ? JSON.stringify(this.events) : undefined;
325
+ }
326
+ get localeJsonStr() {
327
+ return this.localeJson ? JSON.stringify(this.localeJson) : undefined;
328
+ }
329
+ ngAfterViewInit() {
330
+ this.calendarRef?.nativeElement?.addEventListener("ark-change", this.handler);
331
+ }
332
+ ngOnDestroy() {
333
+ this.calendarRef?.nativeElement?.removeEventListener("ark-change", this.handler);
334
+ }
335
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
336
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkCalendarComponent, isStandalone: true, selector: "ark-calendar-wrapper", inputs: { testid: "testid", lang: "lang", localeJson: "localeJson", theme: "theme", intent: "intent", accentColor: "accentColor", value: "value", min: "min", max: "max", events: "events", eventDisplay: "eventDisplay" }, outputs: { arkChange: "arkChange" }, viewQueries: [{ propertyName: "calendarRef", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
337
+ <ark-calendar
338
+ #calendar
339
+ [attr.testid]="testid"
340
+ [attr.lang]="lang"
341
+ [attr.locale-json]="localeJsonStr"
342
+ [attr.theme]="theme"
343
+ [attr.intent]="intent"
344
+ [attr.accent-color]="accentColor"
345
+ [attr.value]="value"
346
+ [attr.min]="min"
347
+ [attr.max]="max"
348
+ [attr.events]="eventsStr"
349
+ [attr.event-display]="eventDisplay">
350
+ </ark-calendar>`, isInline: true }); }
351
+ }
352
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCalendarComponent, decorators: [{
353
+ type: Component,
354
+ args: [{
355
+ selector: "ark-calendar-wrapper",
356
+ standalone: true,
357
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
358
+ template: `
359
+ <ark-calendar
360
+ #calendar
361
+ [attr.testid]="testid"
362
+ [attr.lang]="lang"
363
+ [attr.locale-json]="localeJsonStr"
364
+ [attr.theme]="theme"
365
+ [attr.intent]="intent"
366
+ [attr.accent-color]="accentColor"
367
+ [attr.value]="value"
368
+ [attr.min]="min"
369
+ [attr.max]="max"
370
+ [attr.events]="eventsStr"
371
+ [attr.event-display]="eventDisplay">
372
+ </ark-calendar>`
373
+ }]
374
+ }], ctorParameters: () => [], propDecorators: { testid: [{
375
+ type: Input
376
+ }], lang: [{
377
+ type: Input
378
+ }], localeJson: [{
379
+ type: Input
380
+ }], theme: [{
381
+ type: Input
382
+ }], intent: [{
383
+ type: Input
384
+ }], accentColor: [{
385
+ type: Input
386
+ }], value: [{
387
+ type: Input
388
+ }], min: [{
389
+ type: Input
390
+ }], max: [{
391
+ type: Input
392
+ }], events: [{
393
+ type: Input
394
+ }], eventDisplay: [{
395
+ type: Input
396
+ }], arkChange: [{
397
+ type: Output
398
+ }], calendarRef: [{
399
+ type: ViewChild,
400
+ args: ["calendar", { static: false }]
401
+ }] } });
402
+
403
+ class ArkCardComponent {
404
+ constructor() {
405
+ this.theme = "auto";
406
+ ensureTooarkComponentsRegistered();
407
+ }
408
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
409
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkCardComponent, isStandalone: true, selector: "ark-card-wrapper", inputs: { testid: "testid", heading: "heading", padding: "padding", rounded: "rounded", theme: "theme" }, ngImport: i0, template: `
410
+ <ark-card
411
+ [attr.testid]="testid"
412
+ [attr.heading]="heading"
413
+ [attr.padding]="padding"
414
+ [attr.rounded]="rounded"
415
+ [attr.theme]="theme">
416
+ <ng-content></ng-content>
417
+ </ark-card>`, isInline: true }); }
418
+ }
419
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCardComponent, decorators: [{
420
+ type: Component,
421
+ args: [{
422
+ selector: "ark-card-wrapper",
423
+ standalone: true,
424
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
425
+ template: `
426
+ <ark-card
427
+ [attr.testid]="testid"
428
+ [attr.heading]="heading"
429
+ [attr.padding]="padding"
430
+ [attr.rounded]="rounded"
431
+ [attr.theme]="theme">
432
+ <ng-content></ng-content>
433
+ </ark-card>`
434
+ }]
435
+ }], ctorParameters: () => [], propDecorators: { testid: [{
436
+ type: Input
437
+ }], heading: [{
438
+ type: Input
439
+ }], padding: [{
440
+ type: Input
441
+ }], rounded: [{
442
+ type: Input
443
+ }], theme: [{
444
+ type: Input
445
+ }] } });
446
+
447
+ class ArkCarouselComponent {
448
+ constructor() {
449
+ this.theme = "auto";
450
+ this.intent = "primary";
451
+ this.slidesPerView = 1;
452
+ this.gap = 12;
453
+ this.startIndex = 0;
454
+ this.loop = false;
455
+ this.autoplay = false;
456
+ this.autoplayDelay = 4200;
457
+ this.showDots = true;
458
+ this.showArrows = true;
459
+ this.dragFree = false;
460
+ this.snap = "mandatory";
461
+ this.arkSlideChange = new EventEmitter();
462
+ this.handler = (e) => this.arkSlideChange.emit(e.detail);
463
+ ensureTooarkComponentsRegistered();
464
+ }
465
+ ngAfterViewInit() {
466
+ this.carouselRef?.nativeElement?.addEventListener("ark-slide-change", this.handler);
467
+ }
468
+ ngOnDestroy() {
469
+ this.carouselRef?.nativeElement?.removeEventListener("ark-slide-change", this.handler);
470
+ }
471
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
472
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkCarouselComponent, isStandalone: true, selector: "ark-carousel-wrapper", inputs: { testid: "testid", theme: "theme", intent: "intent", accentColor: "accentColor", slidesPerView: "slidesPerView", gap: "gap", startIndex: "startIndex", loop: "loop", autoplay: "autoplay", autoplayDelay: "autoplayDelay", showDots: "showDots", showArrows: "showArrows", dragFree: "dragFree", snap: "snap" }, outputs: { arkSlideChange: "arkSlideChange" }, viewQueries: [{ propertyName: "carouselRef", first: true, predicate: ["carousel"], descendants: true }], ngImport: i0, template: `
473
+ <ark-carousel
474
+ #carousel
475
+ [attr.testid]="testid"
476
+ [attr.theme]="theme"
477
+ [attr.intent]="intent"
478
+ [attr.accent-color]="accentColor"
479
+ [attr.slides-per-view]="slidesPerView"
480
+ [attr.gap]="gap"
481
+ [attr.start-index]="startIndex"
482
+ [attr.autoplay-delay]="autoplayDelay"
483
+ [attr.snap]="snap"
484
+ [attr.loop]="loop ? '' : null"
485
+ [attr.autoplay]="autoplay ? '' : null"
486
+ [attr.drag-free]="dragFree ? '' : null"
487
+ [attr.show-dots]="showDots ? null : 'false'"
488
+ [attr.show-arrows]="showArrows ? null : 'false'">
489
+ <ng-content></ng-content>
490
+ </ark-carousel>`, isInline: true }); }
491
+ }
492
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCarouselComponent, decorators: [{
493
+ type: Component,
494
+ args: [{
495
+ selector: "ark-carousel-wrapper",
496
+ standalone: true,
497
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
498
+ template: `
499
+ <ark-carousel
500
+ #carousel
501
+ [attr.testid]="testid"
502
+ [attr.theme]="theme"
503
+ [attr.intent]="intent"
504
+ [attr.accent-color]="accentColor"
505
+ [attr.slides-per-view]="slidesPerView"
506
+ [attr.gap]="gap"
507
+ [attr.start-index]="startIndex"
508
+ [attr.autoplay-delay]="autoplayDelay"
509
+ [attr.snap]="snap"
510
+ [attr.loop]="loop ? '' : null"
511
+ [attr.autoplay]="autoplay ? '' : null"
512
+ [attr.drag-free]="dragFree ? '' : null"
513
+ [attr.show-dots]="showDots ? null : 'false'"
514
+ [attr.show-arrows]="showArrows ? null : 'false'">
515
+ <ng-content></ng-content>
516
+ </ark-carousel>`
517
+ }]
518
+ }], ctorParameters: () => [], propDecorators: { testid: [{
519
+ type: Input
520
+ }], theme: [{
521
+ type: Input
522
+ }], intent: [{
523
+ type: Input
524
+ }], accentColor: [{
525
+ type: Input
526
+ }], slidesPerView: [{
527
+ type: Input
528
+ }], gap: [{
529
+ type: Input
530
+ }], startIndex: [{
531
+ type: Input
532
+ }], loop: [{
533
+ type: Input
534
+ }], autoplay: [{
535
+ type: Input
536
+ }], autoplayDelay: [{
537
+ type: Input
538
+ }], showDots: [{
539
+ type: Input
540
+ }], showArrows: [{
541
+ type: Input
542
+ }], dragFree: [{
543
+ type: Input
544
+ }], snap: [{
545
+ type: Input
546
+ }], arkSlideChange: [{
547
+ type: Output
548
+ }], carouselRef: [{
549
+ type: ViewChild,
550
+ args: ["carousel", { static: false }]
551
+ }] } });
552
+
553
+ class ArkCheckboxComponent {
554
+ constructor() {
555
+ this.checked = false;
556
+ /** Estado misto (aria-checked="mixed", traço); o próximo clique o limpa. */
557
+ this.indeterminate = false;
558
+ this.disabled = false;
559
+ this.intent = "primary";
560
+ this.theme = "auto";
561
+ this.size = "md";
562
+ this.changed = new EventEmitter();
563
+ ensureTooarkComponentsRegistered();
564
+ }
565
+ onChange(event) {
566
+ this.changed.emit(event);
567
+ }
568
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
569
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkCheckboxComponent, isStandalone: true, selector: "ark-checkbox-wrapper", inputs: { testid: "testid", checked: "checked", indeterminate: "indeterminate", disabled: "disabled", intent: "intent", theme: "theme", size: "size", name: "name", value: "value", label: "label" }, outputs: { changed: "changed" }, ngImport: i0, template: `
570
+ <ark-checkbox
571
+ [attr.testid]="testid"
572
+ [attr.checked]="checked ? '' : null"
573
+ [attr.indeterminate]="indeterminate ? '' : null"
574
+ [attr.disabled]="disabled ? '' : null"
575
+ [attr.intent]="intent"
576
+ [attr.theme]="theme"
577
+ [attr.size]="size"
578
+ [attr.name]="name"
579
+ [attr.value]="value"
580
+ [attr.label]="label"
581
+ (change)="onChange($event)">
582
+ <ng-content></ng-content>
583
+ </ark-checkbox>`, isInline: true }); }
584
+ }
585
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCheckboxComponent, decorators: [{
586
+ type: Component,
587
+ args: [{
588
+ selector: "ark-checkbox-wrapper",
589
+ standalone: true,
590
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
591
+ template: `
592
+ <ark-checkbox
593
+ [attr.testid]="testid"
594
+ [attr.checked]="checked ? '' : null"
595
+ [attr.indeterminate]="indeterminate ? '' : null"
596
+ [attr.disabled]="disabled ? '' : null"
597
+ [attr.intent]="intent"
598
+ [attr.theme]="theme"
599
+ [attr.size]="size"
600
+ [attr.name]="name"
601
+ [attr.value]="value"
602
+ [attr.label]="label"
603
+ (change)="onChange($event)">
604
+ <ng-content></ng-content>
605
+ </ark-checkbox>`
606
+ }]
607
+ }], ctorParameters: () => [], propDecorators: { testid: [{
608
+ type: Input
609
+ }], checked: [{
610
+ type: Input
611
+ }], indeterminate: [{
612
+ type: Input
613
+ }], disabled: [{
614
+ type: Input
615
+ }], intent: [{
616
+ type: Input
617
+ }], theme: [{
618
+ type: Input
619
+ }], size: [{
620
+ type: Input
621
+ }], name: [{
622
+ type: Input
623
+ }], value: [{
624
+ type: Input
625
+ }], label: [{
626
+ type: Input
627
+ }], changed: [{
628
+ type: Output
629
+ }] } });
630
+
631
+ class ArkClockComponent {
632
+ constructor() {
633
+ this.lang = "en";
634
+ this.theme = "auto";
635
+ this.intent = "primary";
636
+ this.seconds = false;
637
+ this.hoursFormat = "24";
638
+ this.arkChange = new EventEmitter();
639
+ this.handler = (e) => this.arkChange.emit(e.detail);
640
+ ensureTooarkComponentsRegistered();
641
+ }
642
+ ngAfterViewInit() {
643
+ this.clockRef?.nativeElement?.addEventListener("ark-change", this.handler);
644
+ }
645
+ ngOnDestroy() {
646
+ this.clockRef?.nativeElement?.removeEventListener("ark-change", this.handler);
647
+ }
648
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkClockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
649
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkClockComponent, isStandalone: true, selector: "ark-clock-wrapper", inputs: { testid: "testid", value: "value", lang: "lang", theme: "theme", intent: "intent", seconds: "seconds", stepMinutes: "stepMinutes", hoursFormat: "hoursFormat" }, outputs: { arkChange: "arkChange" }, viewQueries: [{ propertyName: "clockRef", first: true, predicate: ["clock"], descendants: true }], ngImport: i0, template: `
650
+ <ark-clock
651
+ #clock
652
+ [attr.testid]="testid"
653
+ [attr.value]="value"
654
+ [attr.lang]="lang"
655
+ [attr.theme]="theme"
656
+ [attr.intent]="intent"
657
+ [attr.seconds]="seconds ? '' : null"
658
+ [attr.step-minutes]="stepMinutes"
659
+ [attr.hours-format]="hoursFormat">
660
+ </ark-clock>`, isInline: true }); }
661
+ }
662
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkClockComponent, decorators: [{
663
+ type: Component,
664
+ args: [{
665
+ selector: "ark-clock-wrapper",
666
+ standalone: true,
667
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
668
+ template: `
669
+ <ark-clock
670
+ #clock
671
+ [attr.testid]="testid"
672
+ [attr.value]="value"
673
+ [attr.lang]="lang"
674
+ [attr.theme]="theme"
675
+ [attr.intent]="intent"
676
+ [attr.seconds]="seconds ? '' : null"
677
+ [attr.step-minutes]="stepMinutes"
678
+ [attr.hours-format]="hoursFormat">
679
+ </ark-clock>`
680
+ }]
681
+ }], ctorParameters: () => [], propDecorators: { testid: [{
682
+ type: Input
683
+ }], value: [{
684
+ type: Input
685
+ }], lang: [{
686
+ type: Input
687
+ }], theme: [{
688
+ type: Input
689
+ }], intent: [{
690
+ type: Input
691
+ }], seconds: [{
692
+ type: Input
693
+ }], stepMinutes: [{
694
+ type: Input
695
+ }], hoursFormat: [{
696
+ type: Input
697
+ }], arkChange: [{
698
+ type: Output
699
+ }], clockRef: [{
700
+ type: ViewChild,
701
+ args: ["clock", { static: false }]
702
+ }] } });
703
+
704
+ class ArkColorSwatchesComponent {
705
+ constructor() {
706
+ this.disabled = false;
707
+ this.size = "md";
708
+ this.theme = "auto";
709
+ /** Seleção mudou pelo usuário: detail.value é a cor. */
710
+ this.changed = new EventEmitter();
711
+ ensureTooarkComponentsRegistered();
712
+ }
713
+ get colorsJson() {
714
+ return this.colors ? JSON.stringify(this.colors) : null;
715
+ }
716
+ onChange(event) {
717
+ this.changed.emit(event);
718
+ }
719
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkColorSwatchesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
720
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkColorSwatchesComponent, isStandalone: true, selector: "ark-color-swatches-wrapper", inputs: { testid: "testid", value: "value", colors: "colors", label: "label", disabled: "disabled", size: "size", theme: "theme" }, outputs: { changed: "changed" }, ngImport: i0, template: `
721
+ <ark-color-swatches
722
+ [attr.testid]="testid"
723
+ [attr.value]="value"
724
+ [attr.colors]="colorsJson"
725
+ [attr.label]="label"
726
+ [attr.disabled]="disabled ? '' : null"
727
+ [attr.size]="size"
728
+ [attr.theme]="theme"
729
+ (change)="onChange($event)">
730
+ </ark-color-swatches>`, isInline: true }); }
731
+ }
732
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkColorSwatchesComponent, decorators: [{
733
+ type: Component,
734
+ args: [{
735
+ selector: "ark-color-swatches-wrapper",
736
+ standalone: true,
737
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
738
+ template: `
739
+ <ark-color-swatches
740
+ [attr.testid]="testid"
741
+ [attr.value]="value"
742
+ [attr.colors]="colorsJson"
743
+ [attr.label]="label"
744
+ [attr.disabled]="disabled ? '' : null"
745
+ [attr.size]="size"
746
+ [attr.theme]="theme"
747
+ (change)="onChange($event)">
748
+ </ark-color-swatches>`
749
+ }]
750
+ }], ctorParameters: () => [], propDecorators: { testid: [{
751
+ type: Input
752
+ }], value: [{
753
+ type: Input
754
+ }], colors: [{
755
+ type: Input
756
+ }], label: [{
757
+ type: Input
758
+ }], disabled: [{
759
+ type: Input
760
+ }], size: [{
761
+ type: Input
762
+ }], theme: [{
763
+ type: Input
764
+ }], changed: [{
765
+ type: Output
766
+ }] } });
767
+
768
+ class ArkCommandPaletteComponent {
769
+ constructor() {
770
+ /** Aberta; a saída anima antes de sair do top layer. */
771
+ this.open = false;
772
+ /** A página continua rolando com a paleta aberta. */
773
+ this.noScrollLock = false;
774
+ /** Filtra localmente pelo label dos itens. */
775
+ this.filter = false;
776
+ this.theme = "auto";
777
+ this.arkSelect = new EventEmitter();
778
+ this.arkQuery = new EventEmitter();
779
+ this.arkOpen = new EventEmitter();
780
+ this.arkClose = new EventEmitter();
781
+ this.selectHandler = (event) => this.arkSelect.emit(event);
782
+ this.queryHandler = (event) => this.arkQuery.emit(event);
783
+ this.openHandler = (event) => this.arkOpen.emit(event);
784
+ this.closeHandler = (event) => this.arkClose.emit(event);
785
+ ensureTooarkComponentsRegistered();
786
+ }
787
+ ngAfterViewInit() {
788
+ const el = this.paletteRef?.nativeElement;
789
+ el?.addEventListener("ark-select", this.selectHandler);
790
+ el?.addEventListener("ark-query", this.queryHandler);
791
+ el?.addEventListener("ark-open", this.openHandler);
792
+ el?.addEventListener("ark-close", this.closeHandler);
793
+ }
794
+ ngOnDestroy() {
795
+ const el = this.paletteRef?.nativeElement;
796
+ el?.removeEventListener("ark-select", this.selectHandler);
797
+ el?.removeEventListener("ark-query", this.queryHandler);
798
+ el?.removeEventListener("ark-open", this.openHandler);
799
+ el?.removeEventListener("ark-close", this.closeHandler);
800
+ }
801
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
802
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkCommandPaletteComponent, isStandalone: true, selector: "ark-command-palette-wrapper", inputs: { testid: "testid", open: "open", placeholder: "placeholder", hotkey: "hotkey", noScrollLock: "noScrollLock", filter: "filter", queryDelay: "queryDelay", label: "label", theme: "theme", lang: "lang", localeJson: "localeJson", ariaLabel: "ariaLabel" }, outputs: { arkSelect: "arkSelect", arkQuery: "arkQuery", arkOpen: "arkOpen", arkClose: "arkClose" }, viewQueries: [{ propertyName: "paletteRef", first: true, predicate: ["palette"], descendants: true }], ngImport: i0, template: `
803
+ <ark-command-palette
804
+ #palette
805
+ [attr.testid]="testid"
806
+ [attr.open]="open ? '' : null"
807
+ [attr.placeholder]="placeholder"
808
+ [attr.hotkey]="hotkey"
809
+ [attr.no-scroll-lock]="noScrollLock ? '' : null"
810
+ [attr.filter]="filter ? '' : null"
811
+ [attr.query-delay]="queryDelay"
812
+ [attr.label]="label"
813
+ [attr.theme]="theme"
814
+ [attr.lang]="lang"
815
+ [attr.locale-json]="localeJson"
816
+ [attr.aria-label]="ariaLabel">
817
+ <ng-content></ng-content>
818
+ </ark-command-palette>`, isInline: true }); }
819
+ }
820
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCommandPaletteComponent, decorators: [{
821
+ type: Component,
822
+ args: [{
823
+ selector: "ark-command-palette-wrapper",
824
+ standalone: true,
825
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
826
+ template: `
827
+ <ark-command-palette
828
+ #palette
829
+ [attr.testid]="testid"
830
+ [attr.open]="open ? '' : null"
831
+ [attr.placeholder]="placeholder"
832
+ [attr.hotkey]="hotkey"
833
+ [attr.no-scroll-lock]="noScrollLock ? '' : null"
834
+ [attr.filter]="filter ? '' : null"
835
+ [attr.query-delay]="queryDelay"
836
+ [attr.label]="label"
837
+ [attr.theme]="theme"
838
+ [attr.lang]="lang"
839
+ [attr.locale-json]="localeJson"
840
+ [attr.aria-label]="ariaLabel">
841
+ <ng-content></ng-content>
842
+ </ark-command-palette>`
843
+ }]
844
+ }], ctorParameters: () => [], propDecorators: { testid: [{
845
+ type: Input
846
+ }], open: [{
847
+ type: Input
848
+ }], placeholder: [{
849
+ type: Input
850
+ }], hotkey: [{
851
+ type: Input
852
+ }], noScrollLock: [{
853
+ type: Input
854
+ }], filter: [{
855
+ type: Input
856
+ }], queryDelay: [{
857
+ type: Input
858
+ }], label: [{
859
+ type: Input
860
+ }], theme: [{
861
+ type: Input
862
+ }], lang: [{
863
+ type: Input
864
+ }], localeJson: [{
865
+ type: Input
866
+ }], ariaLabel: [{
867
+ type: Input
868
+ }], arkSelect: [{
869
+ type: Output
870
+ }], arkQuery: [{
871
+ type: Output
872
+ }], arkOpen: [{
873
+ type: Output
874
+ }], arkClose: [{
875
+ type: Output
876
+ }], paletteRef: [{
877
+ type: ViewChild,
878
+ args: ["palette", { static: false }]
879
+ }] } });
880
+ class ArkCommandItemComponent {
881
+ constructor() {
882
+ this.value = "";
883
+ this.disabled = false;
884
+ ensureTooarkComponentsRegistered();
885
+ }
886
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCommandItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
887
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkCommandItemComponent, isStandalone: true, selector: "ark-command-item-wrapper", inputs: { testid: "testid", value: "value", group: "group", label: "label", disabled: "disabled" }, ngImport: i0, template: `
888
+ <ark-command-item
889
+ [attr.testid]="testid"
890
+ [attr.value]="value"
891
+ [attr.group]="group"
892
+ [attr.label]="label"
893
+ [attr.disabled]="disabled ? '' : null">
894
+ <ng-content></ng-content>
895
+ </ark-command-item>`, isInline: true }); }
896
+ }
897
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCommandItemComponent, decorators: [{
898
+ type: Component,
899
+ args: [{
900
+ selector: "ark-command-item-wrapper",
901
+ standalone: true,
902
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
903
+ template: `
904
+ <ark-command-item
905
+ [attr.testid]="testid"
906
+ [attr.value]="value"
907
+ [attr.group]="group"
908
+ [attr.label]="label"
909
+ [attr.disabled]="disabled ? '' : null">
910
+ <ng-content></ng-content>
911
+ </ark-command-item>`
912
+ }]
913
+ }], ctorParameters: () => [], propDecorators: { testid: [{
914
+ type: Input
915
+ }], value: [{
916
+ type: Input
917
+ }], group: [{
918
+ type: Input
919
+ }], label: [{
920
+ type: Input
921
+ }], disabled: [{
922
+ type: Input
923
+ }] } });
924
+
925
+ class ArkCopyButtonComponent {
926
+ constructor() {
927
+ this.variant = "primary";
928
+ this.intent = "primary";
929
+ this.theme = "auto";
930
+ this.size = "md";
931
+ this.rounded = "md";
932
+ this.disabled = false;
933
+ this.loading = false;
934
+ this.iconOnly = false;
935
+ this.fullWidth = false;
936
+ this.arkCopy = new EventEmitter();
937
+ this.copyHandler = (event) => this.arkCopy.emit(event);
938
+ ensureTooarkComponentsRegistered();
939
+ }
940
+ ngAfterViewInit() {
941
+ this.buttonRef?.nativeElement?.addEventListener("ark-copy", this.copyHandler);
942
+ }
943
+ ngOnDestroy() {
944
+ this.buttonRef?.nativeElement?.removeEventListener("ark-copy", this.copyHandler);
945
+ }
946
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCopyButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
947
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkCopyButtonComponent, isStandalone: true, selector: "ark-copy-button-wrapper", inputs: { testid: "testid", value: "value", for: "for", feedbackMs: "feedbackMs", variant: "variant", intent: "intent", theme: "theme", size: "size", rounded: "rounded", disabled: "disabled", loading: "loading", iconOnly: "iconOnly", fullWidth: "fullWidth", color: "color", textColor: "textColor", lang: "lang", localeJson: "localeJson" }, outputs: { arkCopy: "arkCopy" }, viewQueries: [{ propertyName: "buttonRef", first: true, predicate: ["button"], descendants: true }], ngImport: i0, template: `
948
+ <ark-copy-button
949
+ #button
950
+ [attr.testid]="testid"
951
+ [attr.value]="value"
952
+ [attr.for]="for"
953
+ [attr.feedback-ms]="feedbackMs"
954
+ [attr.variant]="variant"
955
+ [attr.intent]="intent"
956
+ [attr.theme]="theme"
957
+ [attr.size]="size"
958
+ [attr.rounded]="rounded"
959
+ [attr.disabled]="disabled ? '' : null"
960
+ [attr.loading]="loading ? '' : null"
961
+ [attr.icon-only]="iconOnly ? '' : null"
962
+ [attr.full-width]="fullWidth ? '' : null"
963
+ [attr.color]="color"
964
+ [attr.text-color]="textColor"
965
+ [attr.lang]="lang"
966
+ [attr.locale-json]="localeJson">
967
+ <ng-content></ng-content>
968
+ </ark-copy-button>`, isInline: true }); }
969
+ }
970
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkCopyButtonComponent, decorators: [{
971
+ type: Component,
972
+ args: [{
973
+ selector: "ark-copy-button-wrapper",
974
+ standalone: true,
975
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
976
+ template: `
977
+ <ark-copy-button
978
+ #button
979
+ [attr.testid]="testid"
980
+ [attr.value]="value"
981
+ [attr.for]="for"
982
+ [attr.feedback-ms]="feedbackMs"
983
+ [attr.variant]="variant"
984
+ [attr.intent]="intent"
985
+ [attr.theme]="theme"
986
+ [attr.size]="size"
987
+ [attr.rounded]="rounded"
988
+ [attr.disabled]="disabled ? '' : null"
989
+ [attr.loading]="loading ? '' : null"
990
+ [attr.icon-only]="iconOnly ? '' : null"
991
+ [attr.full-width]="fullWidth ? '' : null"
992
+ [attr.color]="color"
993
+ [attr.text-color]="textColor"
994
+ [attr.lang]="lang"
995
+ [attr.locale-json]="localeJson">
996
+ <ng-content></ng-content>
997
+ </ark-copy-button>`
998
+ }]
999
+ }], ctorParameters: () => [], propDecorators: { testid: [{
1000
+ type: Input
1001
+ }], value: [{
1002
+ type: Input
1003
+ }], for: [{
1004
+ type: Input
1005
+ }], feedbackMs: [{
1006
+ type: Input
1007
+ }], variant: [{
1008
+ type: Input
1009
+ }], intent: [{
1010
+ type: Input
1011
+ }], theme: [{
1012
+ type: Input
1013
+ }], size: [{
1014
+ type: Input
1015
+ }], rounded: [{
1016
+ type: Input
1017
+ }], disabled: [{
1018
+ type: Input
1019
+ }], loading: [{
1020
+ type: Input
1021
+ }], iconOnly: [{
1022
+ type: Input
1023
+ }], fullWidth: [{
1024
+ type: Input
1025
+ }], color: [{
1026
+ type: Input
1027
+ }], textColor: [{
1028
+ type: Input
1029
+ }], lang: [{
1030
+ type: Input
1031
+ }], localeJson: [{
1032
+ type: Input
1033
+ }], arkCopy: [{
1034
+ type: Output
1035
+ }], buttonRef: [{
1036
+ type: ViewChild,
1037
+ args: ["button", { static: false }]
1038
+ }] } });
1039
+
1040
+ class ArkDatepickerComponent {
1041
+ constructor() {
1042
+ this.lang = "en";
1043
+ this.theme = "auto";
1044
+ this.intent = "primary";
1045
+ this.mode = "datetime";
1046
+ this.input = false;
1047
+ this.seconds = false;
1048
+ this.disabled = false;
1049
+ this.arkChange = new EventEmitter();
1050
+ this.handler = (e) => this.arkChange.emit(e.detail);
1051
+ ensureTooarkComponentsRegistered();
1052
+ }
1053
+ get eventsStr() {
1054
+ return this.events ? JSON.stringify(this.events) : undefined;
1055
+ }
1056
+ get localeJsonStr() {
1057
+ return this.localeJson ? JSON.stringify(this.localeJson) : undefined;
1058
+ }
1059
+ ngAfterViewInit() {
1060
+ this.pickerRef?.nativeElement?.addEventListener("ark-change", this.handler);
1061
+ }
1062
+ ngOnDestroy() {
1063
+ this.pickerRef?.nativeElement?.removeEventListener("ark-change", this.handler);
1064
+ }
1065
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkDatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1066
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkDatepickerComponent, isStandalone: true, selector: "ark-datepicker-wrapper", inputs: { testid: "testid", lang: "lang", localeJson: "localeJson", theme: "theme", intent: "intent", accentColor: "accentColor", value: "value", min: "min", max: "max", mode: "mode", input: "input", seconds: "seconds", placeholder: "placeholder", name: "name", format: "format", disabled: "disabled", events: "events", eventDisplay: "eventDisplay", stepMinutes: "stepMinutes", hoursFormat: "hoursFormat" }, outputs: { arkChange: "arkChange" }, viewQueries: [{ propertyName: "pickerRef", first: true, predicate: ["picker"], descendants: true }], ngImport: i0, template: `
1067
+ <ark-datepicker
1068
+ #picker
1069
+ [attr.testid]="testid"
1070
+ [attr.lang]="lang"
1071
+ [attr.locale-json]="localeJsonStr"
1072
+ [attr.theme]="theme"
1073
+ [attr.intent]="intent"
1074
+ [attr.accent-color]="accentColor"
1075
+ [attr.value]="value"
1076
+ [attr.min]="min"
1077
+ [attr.max]="max"
1078
+ [attr.mode]="mode"
1079
+ [attr.input]="input ? '' : null"
1080
+ [attr.seconds]="seconds ? '' : null"
1081
+ [attr.placeholder]="placeholder"
1082
+ [attr.name]="name"
1083
+ [attr.format]="format"
1084
+ [attr.disabled]="disabled ? '' : null"
1085
+ [attr.events]="eventsStr"
1086
+ [attr.event-display]="eventDisplay"
1087
+ [attr.step-minutes]="stepMinutes"
1088
+ [attr.hours-format]="hoursFormat">
1089
+ </ark-datepicker>`, isInline: true }); }
1090
+ }
1091
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkDatepickerComponent, decorators: [{
1092
+ type: Component,
1093
+ args: [{
1094
+ selector: "ark-datepicker-wrapper",
1095
+ standalone: true,
1096
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
1097
+ template: `
1098
+ <ark-datepicker
1099
+ #picker
1100
+ [attr.testid]="testid"
1101
+ [attr.lang]="lang"
1102
+ [attr.locale-json]="localeJsonStr"
1103
+ [attr.theme]="theme"
1104
+ [attr.intent]="intent"
1105
+ [attr.accent-color]="accentColor"
1106
+ [attr.value]="value"
1107
+ [attr.min]="min"
1108
+ [attr.max]="max"
1109
+ [attr.mode]="mode"
1110
+ [attr.input]="input ? '' : null"
1111
+ [attr.seconds]="seconds ? '' : null"
1112
+ [attr.placeholder]="placeholder"
1113
+ [attr.name]="name"
1114
+ [attr.format]="format"
1115
+ [attr.disabled]="disabled ? '' : null"
1116
+ [attr.events]="eventsStr"
1117
+ [attr.event-display]="eventDisplay"
1118
+ [attr.step-minutes]="stepMinutes"
1119
+ [attr.hours-format]="hoursFormat">
1120
+ </ark-datepicker>`
1121
+ }]
1122
+ }], ctorParameters: () => [], propDecorators: { testid: [{
1123
+ type: Input
1124
+ }], lang: [{
1125
+ type: Input
1126
+ }], localeJson: [{
1127
+ type: Input
1128
+ }], theme: [{
1129
+ type: Input
1130
+ }], intent: [{
1131
+ type: Input
1132
+ }], accentColor: [{
1133
+ type: Input
1134
+ }], value: [{
1135
+ type: Input
1136
+ }], min: [{
1137
+ type: Input
1138
+ }], max: [{
1139
+ type: Input
1140
+ }], mode: [{
1141
+ type: Input
1142
+ }], input: [{
1143
+ type: Input
1144
+ }], seconds: [{
1145
+ type: Input
1146
+ }], placeholder: [{
1147
+ type: Input
1148
+ }], name: [{
1149
+ type: Input
1150
+ }], format: [{
1151
+ type: Input
1152
+ }], disabled: [{
1153
+ type: Input
1154
+ }], events: [{
1155
+ type: Input
1156
+ }], eventDisplay: [{
1157
+ type: Input
1158
+ }], stepMinutes: [{
1159
+ type: Input
1160
+ }], hoursFormat: [{
1161
+ type: Input
1162
+ }], arkChange: [{
1163
+ type: Output
1164
+ }], pickerRef: [{
1165
+ type: ViewChild,
1166
+ args: ["picker", { static: false }]
1167
+ }] } });
1168
+
1169
+ class ArkDialogComponent {
1170
+ constructor() {
1171
+ /** Aberto; a saída anima antes de sair do top layer. */
1172
+ this.open = false;
1173
+ /** Esconde o botão de fechar do cabeçalho. */
1174
+ this.noCloseButton = false;
1175
+ /** Esc e clique no scrim não fecham. */
1176
+ this.persistent = false;
1177
+ /** A página continua rolando com o diálogo aberto. */
1178
+ this.noScrollLock = false;
1179
+ /** Largura máxima do painel; "full" ocupa a viewport inteira. Padrão: "md". */
1180
+ this.size = "md";
1181
+ this.theme = "auto";
1182
+ this.arkOpen = new EventEmitter();
1183
+ /** O fechamento começou; detail.reason diz por que (escape, backdrop, close-button, api). */
1184
+ this.arkClose = new EventEmitter();
1185
+ this.openHandler = (event) => this.arkOpen.emit(event);
1186
+ this.closeHandler = (event) => this.arkClose.emit(event);
1187
+ ensureTooarkComponentsRegistered();
1188
+ }
1189
+ ngAfterViewInit() {
1190
+ this.dialogRef?.nativeElement?.addEventListener("ark-open", this.openHandler);
1191
+ this.dialogRef?.nativeElement?.addEventListener("ark-close", this.closeHandler);
1192
+ }
1193
+ ngOnDestroy() {
1194
+ this.dialogRef?.nativeElement?.removeEventListener("ark-open", this.openHandler);
1195
+ this.dialogRef?.nativeElement?.removeEventListener("ark-close", this.closeHandler);
1196
+ }
1197
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1198
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkDialogComponent, isStandalone: true, selector: "ark-dialog-wrapper", inputs: { testid: "testid", open: "open", label: "label", noCloseButton: "noCloseButton", persistent: "persistent", noScrollLock: "noScrollLock", size: "size", width: "width", height: "height", theme: "theme", lang: "lang", localeJson: "localeJson", ariaLabel: "ariaLabel" }, outputs: { arkOpen: "arkOpen", arkClose: "arkClose" }, viewQueries: [{ propertyName: "dialogRef", first: true, predicate: ["dialog"], descendants: true }], ngImport: i0, template: `
1199
+ <ark-dialog
1200
+ #dialog
1201
+ [attr.testid]="testid"
1202
+ [attr.open]="open ? '' : null"
1203
+ [attr.label]="label"
1204
+ [attr.no-close-button]="noCloseButton ? '' : null"
1205
+ [attr.persistent]="persistent ? '' : null"
1206
+ [attr.no-scroll-lock]="noScrollLock ? '' : null"
1207
+ [attr.size]="size"
1208
+ [attr.width]="width"
1209
+ [attr.height]="height"
1210
+ [attr.theme]="theme"
1211
+ [attr.lang]="lang"
1212
+ [attr.locale-json]="localeJson"
1213
+ [attr.aria-label]="ariaLabel">
1214
+ <ng-content></ng-content>
1215
+ </ark-dialog>`, isInline: true }); }
1216
+ }
1217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkDialogComponent, decorators: [{
1218
+ type: Component,
1219
+ args: [{
1220
+ selector: "ark-dialog-wrapper",
1221
+ standalone: true,
1222
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
1223
+ template: `
1224
+ <ark-dialog
1225
+ #dialog
1226
+ [attr.testid]="testid"
1227
+ [attr.open]="open ? '' : null"
1228
+ [attr.label]="label"
1229
+ [attr.no-close-button]="noCloseButton ? '' : null"
1230
+ [attr.persistent]="persistent ? '' : null"
1231
+ [attr.no-scroll-lock]="noScrollLock ? '' : null"
1232
+ [attr.size]="size"
1233
+ [attr.width]="width"
1234
+ [attr.height]="height"
1235
+ [attr.theme]="theme"
1236
+ [attr.lang]="lang"
1237
+ [attr.locale-json]="localeJson"
1238
+ [attr.aria-label]="ariaLabel">
1239
+ <ng-content></ng-content>
1240
+ </ark-dialog>`
1241
+ }]
1242
+ }], ctorParameters: () => [], propDecorators: { testid: [{
1243
+ type: Input
1244
+ }], open: [{
1245
+ type: Input
1246
+ }], label: [{
1247
+ type: Input
1248
+ }], noCloseButton: [{
1249
+ type: Input
1250
+ }], persistent: [{
1251
+ type: Input
1252
+ }], noScrollLock: [{
1253
+ type: Input
1254
+ }], size: [{
1255
+ type: Input
1256
+ }], width: [{
1257
+ type: Input
1258
+ }], height: [{
1259
+ type: Input
1260
+ }], theme: [{
1261
+ type: Input
1262
+ }], lang: [{
1263
+ type: Input
1264
+ }], localeJson: [{
1265
+ type: Input
1266
+ }], ariaLabel: [{
1267
+ type: Input
1268
+ }], arkOpen: [{
1269
+ type: Output
1270
+ }], arkClose: [{
1271
+ type: Output
1272
+ }], dialogRef: [{
1273
+ type: ViewChild,
1274
+ args: ["dialog", { static: false }]
1275
+ }] } });
1276
+
1277
+ class ArkDrawerComponent {
1278
+ constructor() {
1279
+ /** Aberta; a saída anima antes de esconder. */
1280
+ this.open = false;
1281
+ /** Borda onde a gaveta encosta. Padrão: "right". */
1282
+ this.side = "right";
1283
+ /** overlay (popover modal com scrim) ou inline (no fluxo, só anima). Padrão: "overlay". */
1284
+ this.mode = "overlay";
1285
+ /** Esconde o botão de fechar do cabeçalho. */
1286
+ this.noCloseButton = false;
1287
+ /** Esc e clique no scrim não fecham (só no overlay). */
1288
+ this.persistent = false;
1289
+ /** A página continua rolando com a gaveta aberta em overlay. */
1290
+ this.noScrollLock = false;
1291
+ this.theme = "auto";
1292
+ this.arkOpen = new EventEmitter();
1293
+ /** O fechamento começou; detail.reason diz por quê (escape, backdrop, close-button, api). */
1294
+ this.arkClose = new EventEmitter();
1295
+ this.openHandler = (event) => this.arkOpen.emit(event);
1296
+ this.closeHandler = (event) => this.arkClose.emit(event);
1297
+ ensureTooarkComponentsRegistered();
1298
+ }
1299
+ ngAfterViewInit() {
1300
+ this.drawerRef?.nativeElement?.addEventListener("ark-open", this.openHandler);
1301
+ this.drawerRef?.nativeElement?.addEventListener("ark-close", this.closeHandler);
1302
+ }
1303
+ ngOnDestroy() {
1304
+ this.drawerRef?.nativeElement?.removeEventListener("ark-open", this.openHandler);
1305
+ this.drawerRef?.nativeElement?.removeEventListener("ark-close", this.closeHandler);
1306
+ }
1307
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1308
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkDrawerComponent, isStandalone: true, selector: "ark-drawer-wrapper", inputs: { testid: "testid", open: "open", side: "side", mode: "mode", size: "size", label: "label", noCloseButton: "noCloseButton", persistent: "persistent", noScrollLock: "noScrollLock", theme: "theme", lang: "lang", localeJson: "localeJson", ariaLabel: "ariaLabel" }, outputs: { arkOpen: "arkOpen", arkClose: "arkClose" }, viewQueries: [{ propertyName: "drawerRef", first: true, predicate: ["drawer"], descendants: true }], ngImport: i0, template: `
1309
+ <ark-drawer
1310
+ #drawer
1311
+ [attr.testid]="testid"
1312
+ [attr.open]="open ? '' : null"
1313
+ [attr.side]="side"
1314
+ [attr.mode]="mode"
1315
+ [attr.size]="size"
1316
+ [attr.label]="label"
1317
+ [attr.no-close-button]="noCloseButton ? '' : null"
1318
+ [attr.persistent]="persistent ? '' : null"
1319
+ [attr.no-scroll-lock]="noScrollLock ? '' : null"
1320
+ [attr.theme]="theme"
1321
+ [attr.lang]="lang"
1322
+ [attr.locale-json]="localeJson"
1323
+ [attr.aria-label]="ariaLabel">
1324
+ <ng-content></ng-content>
1325
+ </ark-drawer>`, isInline: true }); }
1326
+ }
1327
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkDrawerComponent, decorators: [{
1328
+ type: Component,
1329
+ args: [{
1330
+ selector: "ark-drawer-wrapper",
1331
+ standalone: true,
1332
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
1333
+ template: `
1334
+ <ark-drawer
1335
+ #drawer
1336
+ [attr.testid]="testid"
1337
+ [attr.open]="open ? '' : null"
1338
+ [attr.side]="side"
1339
+ [attr.mode]="mode"
1340
+ [attr.size]="size"
1341
+ [attr.label]="label"
1342
+ [attr.no-close-button]="noCloseButton ? '' : null"
1343
+ [attr.persistent]="persistent ? '' : null"
1344
+ [attr.no-scroll-lock]="noScrollLock ? '' : null"
1345
+ [attr.theme]="theme"
1346
+ [attr.lang]="lang"
1347
+ [attr.locale-json]="localeJson"
1348
+ [attr.aria-label]="ariaLabel">
1349
+ <ng-content></ng-content>
1350
+ </ark-drawer>`
1351
+ }]
1352
+ }], ctorParameters: () => [], propDecorators: { testid: [{
1353
+ type: Input
1354
+ }], open: [{
1355
+ type: Input
1356
+ }], side: [{
1357
+ type: Input
1358
+ }], mode: [{
1359
+ type: Input
1360
+ }], size: [{
1361
+ type: Input
1362
+ }], label: [{
1363
+ type: Input
1364
+ }], noCloseButton: [{
1365
+ type: Input
1366
+ }], persistent: [{
1367
+ type: Input
1368
+ }], noScrollLock: [{
1369
+ type: Input
1370
+ }], theme: [{
1371
+ type: Input
1372
+ }], lang: [{
1373
+ type: Input
1374
+ }], localeJson: [{
1375
+ type: Input
1376
+ }], ariaLabel: [{
1377
+ type: Input
1378
+ }], arkOpen: [{
1379
+ type: Output
1380
+ }], arkClose: [{
1381
+ type: Output
1382
+ }], drawerRef: [{
1383
+ type: ViewChild,
1384
+ args: ["drawer", { static: false }]
1385
+ }] } });
1386
+
1387
+ class ArkEmptyComponent {
1388
+ constructor() {
1389
+ this.theme = "auto";
1390
+ ensureTooarkComponentsRegistered();
1391
+ }
1392
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkEmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1393
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkEmptyComponent, isStandalone: true, selector: "ark-empty-wrapper", inputs: { testid: "testid", heading: "heading", description: "description", theme: "theme" }, ngImport: i0, template: `
1394
+ <ark-empty
1395
+ [attr.testid]="testid"
1396
+ [attr.heading]="heading"
1397
+ [attr.description]="description"
1398
+ [attr.theme]="theme">
1399
+ <ng-content></ng-content>
1400
+ </ark-empty>`, isInline: true }); }
1401
+ }
1402
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkEmptyComponent, decorators: [{
1403
+ type: Component,
1404
+ args: [{
1405
+ selector: "ark-empty-wrapper",
1406
+ standalone: true,
1407
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
1408
+ template: `
1409
+ <ark-empty
1410
+ [attr.testid]="testid"
1411
+ [attr.heading]="heading"
1412
+ [attr.description]="description"
1413
+ [attr.theme]="theme">
1414
+ <ng-content></ng-content>
1415
+ </ark-empty>`
1416
+ }]
1417
+ }], ctorParameters: () => [], propDecorators: { testid: [{
1418
+ type: Input
1419
+ }], heading: [{
1420
+ type: Input
1421
+ }], description: [{
1422
+ type: Input
1423
+ }], theme: [{
1424
+ type: Input
1425
+ }] } });
1426
+
1427
+ class ArkFileInputComponent {
1428
+ constructor() {
1429
+ /** Aceita vários arquivos; sem ele o drop fica com o primeiro. */
1430
+ this.multiple = false;
1431
+ this.disabled = false;
1432
+ this.required = false;
1433
+ this.intent = "primary";
1434
+ this.size = "md";
1435
+ this.theme = "auto";
1436
+ /** Arquivos escolhidos ou soltos: detail.files é um array de File. */
1437
+ this.changed = new EventEmitter();
1438
+ ensureTooarkComponentsRegistered();
1439
+ }
1440
+ onChange(event) {
1441
+ this.changed.emit(event);
1442
+ }
1443
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkFileInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1444
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkFileInputComponent, isStandalone: true, selector: "ark-file-input-wrapper", inputs: { testid: "testid", accept: "accept", multiple: "multiple", label: "label", helper: "helper", errorMessage: "errorMessage", disabled: "disabled", required: "required", name: "name", intent: "intent", size: "size", rounded: "rounded", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed" }, ngImport: i0, template: `
1445
+ <ark-file-input
1446
+ [attr.testid]="testid"
1447
+ [attr.accept]="accept"
1448
+ [attr.multiple]="multiple ? '' : null"
1449
+ [attr.label]="label"
1450
+ [attr.helper]="helper"
1451
+ [attr.error-message]="errorMessage"
1452
+ [attr.disabled]="disabled ? '' : null"
1453
+ [attr.required]="required ? '' : null"
1454
+ [attr.name]="name"
1455
+ [attr.intent]="intent"
1456
+ [attr.size]="size"
1457
+ [attr.rounded]="rounded"
1458
+ [attr.theme]="theme"
1459
+ [attr.lang]="lang"
1460
+ [attr.locale-json]="localeJson"
1461
+ (change)="onChange($event)">
1462
+ </ark-file-input>`, isInline: true }); }
1463
+ }
1464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkFileInputComponent, decorators: [{
1465
+ type: Component,
1466
+ args: [{
1467
+ selector: "ark-file-input-wrapper",
1468
+ standalone: true,
1469
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
1470
+ template: `
1471
+ <ark-file-input
1472
+ [attr.testid]="testid"
1473
+ [attr.accept]="accept"
1474
+ [attr.multiple]="multiple ? '' : null"
1475
+ [attr.label]="label"
1476
+ [attr.helper]="helper"
1477
+ [attr.error-message]="errorMessage"
1478
+ [attr.disabled]="disabled ? '' : null"
1479
+ [attr.required]="required ? '' : null"
1480
+ [attr.name]="name"
1481
+ [attr.intent]="intent"
1482
+ [attr.size]="size"
1483
+ [attr.rounded]="rounded"
1484
+ [attr.theme]="theme"
1485
+ [attr.lang]="lang"
1486
+ [attr.locale-json]="localeJson"
1487
+ (change)="onChange($event)">
1488
+ </ark-file-input>`
1489
+ }]
1490
+ }], ctorParameters: () => [], propDecorators: { testid: [{
1491
+ type: Input
1492
+ }], accept: [{
1493
+ type: Input
1494
+ }], multiple: [{
1495
+ type: Input
1496
+ }], label: [{
1497
+ type: Input
1498
+ }], helper: [{
1499
+ type: Input
1500
+ }], errorMessage: [{
1501
+ type: Input
1502
+ }], disabled: [{
1503
+ type: Input
1504
+ }], required: [{
1505
+ type: Input
1506
+ }], name: [{
1507
+ type: Input
1508
+ }], intent: [{
1509
+ type: Input
1510
+ }], size: [{
1511
+ type: Input
1512
+ }], rounded: [{
1513
+ type: Input
1514
+ }], theme: [{
1515
+ type: Input
1516
+ }], lang: [{
1517
+ type: Input
1518
+ }], localeJson: [{
1519
+ type: Input
1520
+ }], changed: [{
1521
+ type: Output
1522
+ }] } });
1523
+
1524
+ class ArkInputComponent {
1525
+ constructor() {
1526
+ this.type = "text";
1527
+ this.size = "md";
1528
+ this.intent = "primary";
1529
+ this.theme = "auto";
1530
+ this.rounded = "lg";
1531
+ this.error = false;
1532
+ this.disabled = false;
1533
+ this.required = false;
1534
+ this.readonly = false;
1535
+ /** Com type="password", botão de mostrar/ocultar na ponta direita. */
1536
+ this.reveal = false;
1537
+ this.autofocus = false;
1538
+ ensureTooarkComponentsRegistered();
1539
+ }
1540
+ get spellcheckAttr() {
1541
+ return this.spellcheck === undefined ? null : String(this.spellcheck);
1542
+ }
1543
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1544
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkInputComponent, isStandalone: true, selector: "ark-input-wrapper", inputs: { testid: "testid", type: "type", label: "label", placeholder: "placeholder", value: "value", name: "name", size: "size", intent: "intent", theme: "theme", rounded: "rounded", helper: "helper", error: "error", errorMessage: "errorMessage", disabled: "disabled", required: "required", readonly: "readonly", reveal: "reveal", lang: "lang", localeJson: "localeJson", autocomplete: "autocomplete", autofocus: "autofocus", inputmode: "inputmode", maxlength: "maxlength", minlength: "minlength", pattern: "pattern", min: "min", max: "max", step: "step", spellcheck: "spellcheck", ariaLabel: "ariaLabel" }, ngImport: i0, template: `
1545
+ <ark-input
1546
+ [attr.testid]="testid"
1547
+ [attr.type]="type"
1548
+ [attr.label]="label"
1549
+ [attr.placeholder]="placeholder"
1550
+ [attr.value]="value"
1551
+ [attr.name]="name"
1552
+ [attr.size]="size"
1553
+ [attr.intent]="intent"
1554
+ [attr.theme]="theme"
1555
+ [attr.rounded]="rounded"
1556
+ [attr.helper]="helper"
1557
+ [attr.error]="error ? '' : null"
1558
+ [attr.error-message]="errorMessage"
1559
+ [attr.disabled]="disabled ? '' : null"
1560
+ [attr.required]="required ? '' : null"
1561
+ [attr.readonly]="readonly ? '' : null"
1562
+ [attr.reveal]="reveal ? '' : null"
1563
+ [attr.lang]="lang"
1564
+ [attr.locale-json]="localeJson"
1565
+ [attr.autocomplete]="autocomplete"
1566
+ [attr.autofocus]="autofocus ? '' : null"
1567
+ [attr.inputmode]="inputmode"
1568
+ [attr.maxlength]="maxlength"
1569
+ [attr.minlength]="minlength"
1570
+ [attr.pattern]="pattern"
1571
+ [attr.min]="min"
1572
+ [attr.max]="max"
1573
+ [attr.step]="step"
1574
+ [attr.spellcheck]="spellcheckAttr"
1575
+ [attr.aria-label]="ariaLabel">
1576
+ <ng-content></ng-content>
1577
+ </ark-input>`, isInline: true }); }
1578
+ }
1579
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkInputComponent, decorators: [{
1580
+ type: Component,
1581
+ args: [{
1582
+ selector: "ark-input-wrapper",
1583
+ standalone: true,
1584
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
1585
+ template: `
1586
+ <ark-input
1587
+ [attr.testid]="testid"
1588
+ [attr.type]="type"
1589
+ [attr.label]="label"
1590
+ [attr.placeholder]="placeholder"
1591
+ [attr.value]="value"
1592
+ [attr.name]="name"
1593
+ [attr.size]="size"
1594
+ [attr.intent]="intent"
1595
+ [attr.theme]="theme"
1596
+ [attr.rounded]="rounded"
1597
+ [attr.helper]="helper"
1598
+ [attr.error]="error ? '' : null"
1599
+ [attr.error-message]="errorMessage"
1600
+ [attr.disabled]="disabled ? '' : null"
1601
+ [attr.required]="required ? '' : null"
1602
+ [attr.readonly]="readonly ? '' : null"
1603
+ [attr.reveal]="reveal ? '' : null"
1604
+ [attr.lang]="lang"
1605
+ [attr.locale-json]="localeJson"
1606
+ [attr.autocomplete]="autocomplete"
1607
+ [attr.autofocus]="autofocus ? '' : null"
1608
+ [attr.inputmode]="inputmode"
1609
+ [attr.maxlength]="maxlength"
1610
+ [attr.minlength]="minlength"
1611
+ [attr.pattern]="pattern"
1612
+ [attr.min]="min"
1613
+ [attr.max]="max"
1614
+ [attr.step]="step"
1615
+ [attr.spellcheck]="spellcheckAttr"
1616
+ [attr.aria-label]="ariaLabel">
1617
+ <ng-content></ng-content>
1618
+ </ark-input>`
1619
+ }]
1620
+ }], ctorParameters: () => [], propDecorators: { testid: [{
1621
+ type: Input
1622
+ }], type: [{
1623
+ type: Input
1624
+ }], label: [{
1625
+ type: Input
1626
+ }], placeholder: [{
1627
+ type: Input
1628
+ }], value: [{
1629
+ type: Input
1630
+ }], name: [{
1631
+ type: Input
1632
+ }], size: [{
1633
+ type: Input
1634
+ }], intent: [{
1635
+ type: Input
1636
+ }], theme: [{
1637
+ type: Input
1638
+ }], rounded: [{
1639
+ type: Input
1640
+ }], helper: [{
1641
+ type: Input
1642
+ }], error: [{
1643
+ type: Input
1644
+ }], errorMessage: [{
1645
+ type: Input
1646
+ }], disabled: [{
1647
+ type: Input
1648
+ }], required: [{
1649
+ type: Input
1650
+ }], readonly: [{
1651
+ type: Input
1652
+ }], reveal: [{
1653
+ type: Input
1654
+ }], lang: [{
1655
+ type: Input
1656
+ }], localeJson: [{
1657
+ type: Input
1658
+ }], autocomplete: [{
1659
+ type: Input
1660
+ }], autofocus: [{
1661
+ type: Input
1662
+ }], inputmode: [{
1663
+ type: Input
1664
+ }], maxlength: [{
1665
+ type: Input
1666
+ }], minlength: [{
1667
+ type: Input
1668
+ }], pattern: [{
1669
+ type: Input
1670
+ }], min: [{
1671
+ type: Input
1672
+ }], max: [{
1673
+ type: Input
1674
+ }], step: [{
1675
+ type: Input
1676
+ }], spellcheck: [{
1677
+ type: Input
1678
+ }], ariaLabel: [{
1679
+ type: Input
1680
+ }] } });
1681
+
1682
+ class ArkKbdComponent {
1683
+ constructor() {
1684
+ this.size = "md";
1685
+ this.theme = "auto";
1686
+ ensureTooarkComponentsRegistered();
1687
+ }
1688
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkKbdComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1689
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkKbdComponent, isStandalone: true, selector: "ark-kbd-wrapper", inputs: { testid: "testid", size: "size", theme: "theme" }, ngImport: i0, template: `
1690
+ <ark-kbd
1691
+ [attr.testid]="testid"
1692
+ [attr.size]="size"
1693
+ [attr.theme]="theme">
1694
+ <ng-content></ng-content>
1695
+ </ark-kbd>`, isInline: true }); }
1696
+ }
1697
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkKbdComponent, decorators: [{
1698
+ type: Component,
1699
+ args: [{
1700
+ selector: "ark-kbd-wrapper",
1701
+ standalone: true,
1702
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
1703
+ template: `
1704
+ <ark-kbd
1705
+ [attr.testid]="testid"
1706
+ [attr.size]="size"
1707
+ [attr.theme]="theme">
1708
+ <ng-content></ng-content>
1709
+ </ark-kbd>`
1710
+ }]
1711
+ }], ctorParameters: () => [], propDecorators: { testid: [{
1712
+ type: Input
1713
+ }], size: [{
1714
+ type: Input
1715
+ }], theme: [{
1716
+ type: Input
1717
+ }] } });
1718
+
1719
+ class ArkKvEditorComponent {
1720
+ constructor() {
1721
+ /** Modo de edição em massa (textarea). */
1722
+ this.bulk = false;
1723
+ /** Mostra a coluna de descrição. */
1724
+ this.description = false;
1725
+ /** Mostra o cadeado por linha: fechado mascara o valor como senha, com o olho para revelar. */
1726
+ this.secret = false;
1727
+ this.readonly = false;
1728
+ this.size = "md";
1729
+ this.theme = "auto";
1730
+ /** Qualquer edição, inclusive ao sair do modo em massa: detail.rows são as linhas. */
1731
+ this.changed = new EventEmitter();
1732
+ this.arkAdd = new EventEmitter();
1733
+ this.arkDelete = new EventEmitter();
1734
+ this.addHandler = (event) => this.arkAdd.emit(event);
1735
+ this.deleteHandler = (event) => this.arkDelete.emit(event);
1736
+ ensureTooarkComponentsRegistered();
1737
+ }
1738
+ get typesAttr() {
1739
+ return this.types && this.types.length > 0 ? this.types.join(",") : null;
1740
+ }
1741
+ ngAfterViewInit() {
1742
+ this.syncRows();
1743
+ this.editorRef?.nativeElement?.addEventListener("ark-add", this.addHandler);
1744
+ this.editorRef?.nativeElement?.addEventListener("ark-delete", this.deleteHandler);
1745
+ }
1746
+ ngOnChanges() {
1747
+ this.syncRows();
1748
+ }
1749
+ ngOnDestroy() {
1750
+ this.editorRef?.nativeElement?.removeEventListener("ark-add", this.addHandler);
1751
+ this.editorRef?.nativeElement?.removeEventListener("ark-delete", this.deleteHandler);
1752
+ }
1753
+ onChange(event) {
1754
+ this.changed.emit(event);
1755
+ }
1756
+ syncRows() {
1757
+ const el = this.editorRef?.nativeElement;
1758
+ if (el && this.rows)
1759
+ el.rows = this.rows;
1760
+ }
1761
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkKvEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1762
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkKvEditorComponent, isStandalone: true, selector: "ark-kv-editor-wrapper", inputs: { testid: "testid", rows: "rows", bulk: "bulk", bulkFormat: "bulkFormat", types: "types", description: "description", secret: "secret", keyPlaceholder: "keyPlaceholder", valuePlaceholder: "valuePlaceholder", descriptionPlaceholder: "descriptionPlaceholder", readonly: "readonly", size: "size", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed", arkAdd: "arkAdd", arkDelete: "arkDelete" }, viewQueries: [{ propertyName: "editorRef", first: true, predicate: ["editor"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
1763
+ <ark-kv-editor
1764
+ #editor
1765
+ [attr.testid]="testid"
1766
+ [attr.bulk]="bulk ? '' : null"
1767
+ [attr.bulk-format]="bulkFormat"
1768
+ [attr.types]="typesAttr"
1769
+ [attr.description]="description ? '' : null"
1770
+ [attr.secret]="secret ? '' : null"
1771
+ [attr.key-placeholder]="keyPlaceholder"
1772
+ [attr.value-placeholder]="valuePlaceholder"
1773
+ [attr.description-placeholder]="descriptionPlaceholder"
1774
+ [attr.readonly]="readonly ? '' : null"
1775
+ [attr.size]="size"
1776
+ [attr.theme]="theme"
1777
+ [attr.lang]="lang"
1778
+ [attr.locale-json]="localeJson"
1779
+ (change)="onChange($event)">
1780
+ </ark-kv-editor>`, isInline: true }); }
1781
+ }
1782
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkKvEditorComponent, decorators: [{
1783
+ type: Component,
1784
+ args: [{
1785
+ selector: "ark-kv-editor-wrapper",
1786
+ standalone: true,
1787
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
1788
+ template: `
1789
+ <ark-kv-editor
1790
+ #editor
1791
+ [attr.testid]="testid"
1792
+ [attr.bulk]="bulk ? '' : null"
1793
+ [attr.bulk-format]="bulkFormat"
1794
+ [attr.types]="typesAttr"
1795
+ [attr.description]="description ? '' : null"
1796
+ [attr.secret]="secret ? '' : null"
1797
+ [attr.key-placeholder]="keyPlaceholder"
1798
+ [attr.value-placeholder]="valuePlaceholder"
1799
+ [attr.description-placeholder]="descriptionPlaceholder"
1800
+ [attr.readonly]="readonly ? '' : null"
1801
+ [attr.size]="size"
1802
+ [attr.theme]="theme"
1803
+ [attr.lang]="lang"
1804
+ [attr.locale-json]="localeJson"
1805
+ (change)="onChange($event)">
1806
+ </ark-kv-editor>`
1807
+ }]
1808
+ }], ctorParameters: () => [], propDecorators: { testid: [{
1809
+ type: Input
1810
+ }], rows: [{
1811
+ type: Input
1812
+ }], bulk: [{
1813
+ type: Input
1814
+ }], bulkFormat: [{
1815
+ type: Input
1816
+ }], types: [{
1817
+ type: Input
1818
+ }], description: [{
1819
+ type: Input
1820
+ }], secret: [{
1821
+ type: Input
1822
+ }], keyPlaceholder: [{
1823
+ type: Input
1824
+ }], valuePlaceholder: [{
1825
+ type: Input
1826
+ }], descriptionPlaceholder: [{
1827
+ type: Input
1828
+ }], readonly: [{
1829
+ type: Input
1830
+ }], size: [{
1831
+ type: Input
1832
+ }], theme: [{
1833
+ type: Input
1834
+ }], lang: [{
1835
+ type: Input
1836
+ }], localeJson: [{
1837
+ type: Input
1838
+ }], changed: [{
1839
+ type: Output
1840
+ }], arkAdd: [{
1841
+ type: Output
1842
+ }], arkDelete: [{
1843
+ type: Output
1844
+ }], editorRef: [{
1845
+ type: ViewChild,
1846
+ args: ["editor", { static: false }]
1847
+ }] } });
1848
+
1849
+ class ArkMarkComponent {
1850
+ constructor() {
1851
+ /** Forma desenhada. Padrão: "circle". */
1852
+ this.shape = "circle";
1853
+ this.theme = "auto";
1854
+ ensureTooarkComponentsRegistered();
1855
+ }
1856
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkMarkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1857
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkMarkComponent, isStandalone: true, selector: "ark-mark-wrapper", inputs: { testid: "testid", shape: "shape", color: "color", size: "size", label: "label", theme: "theme" }, ngImport: i0, template: `
1858
+ <ark-mark
1859
+ [attr.testid]="testid"
1860
+ [attr.shape]="shape"
1861
+ [attr.color]="color"
1862
+ [attr.size]="size"
1863
+ [attr.label]="label"
1864
+ [attr.theme]="theme">
1865
+ </ark-mark>`, isInline: true }); }
1866
+ }
1867
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkMarkComponent, decorators: [{
1868
+ type: Component,
1869
+ args: [{
1870
+ selector: "ark-mark-wrapper",
1871
+ standalone: true,
1872
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
1873
+ template: `
1874
+ <ark-mark
1875
+ [attr.testid]="testid"
1876
+ [attr.shape]="shape"
1877
+ [attr.color]="color"
1878
+ [attr.size]="size"
1879
+ [attr.label]="label"
1880
+ [attr.theme]="theme">
1881
+ </ark-mark>`
1882
+ }]
1883
+ }], ctorParameters: () => [], propDecorators: { testid: [{
1884
+ type: Input
1885
+ }], shape: [{
1886
+ type: Input
1887
+ }], color: [{
1888
+ type: Input
1889
+ }], size: [{
1890
+ type: Input
1891
+ }], label: [{
1892
+ type: Input
1893
+ }], theme: [{
1894
+ type: Input
1895
+ }] } });
1896
+
1897
+ class ArkMenuComponent {
1898
+ constructor() {
1899
+ /** Aberto; refletido do estado do popover. */
1900
+ this.open = false;
1901
+ /** Alinhamento em relação ao gatilho. Padrão: "start". */
1902
+ this.align = "start";
1903
+ /** Lado do gatilho; vira quando não cabe. Padrão: "down". */
1904
+ this.direction = "down";
1905
+ this.size = "md";
1906
+ this.theme = "auto";
1907
+ /** Um item foi escolhido; o menu fecha em seguida. */
1908
+ this.arkSelect = new EventEmitter();
1909
+ this.arkOpen = new EventEmitter();
1910
+ this.arkClose = new EventEmitter();
1911
+ this.selectHandler = (event) => this.arkSelect.emit(event);
1912
+ this.openHandler = (event) => this.arkOpen.emit(event);
1913
+ this.closeHandler = (event) => this.arkClose.emit(event);
1914
+ ensureTooarkComponentsRegistered();
1915
+ }
1916
+ ngAfterViewInit() {
1917
+ const el = this.menuRef?.nativeElement;
1918
+ el?.addEventListener("ark-select", this.selectHandler);
1919
+ el?.addEventListener("ark-open", this.openHandler);
1920
+ el?.addEventListener("ark-close", this.closeHandler);
1921
+ }
1922
+ ngOnDestroy() {
1923
+ const el = this.menuRef?.nativeElement;
1924
+ el?.removeEventListener("ark-select", this.selectHandler);
1925
+ el?.removeEventListener("ark-open", this.openHandler);
1926
+ el?.removeEventListener("ark-close", this.closeHandler);
1927
+ }
1928
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1929
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkMenuComponent, isStandalone: true, selector: "ark-menu-wrapper", inputs: { testid: "testid", for: "for", open: "open", align: "align", direction: "direction", size: "size", theme: "theme", ariaLabel: "ariaLabel" }, outputs: { arkSelect: "arkSelect", arkOpen: "arkOpen", arkClose: "arkClose" }, viewQueries: [{ propertyName: "menuRef", first: true, predicate: ["menu"], descendants: true }], ngImport: i0, template: `
1930
+ <ark-menu
1931
+ #menu
1932
+ [attr.testid]="testid"
1933
+ [attr.for]="for"
1934
+ [attr.open]="open ? '' : null"
1935
+ [attr.align]="align"
1936
+ [attr.direction]="direction"
1937
+ [attr.size]="size"
1938
+ [attr.theme]="theme"
1939
+ [attr.aria-label]="ariaLabel">
1940
+ <ng-content></ng-content>
1941
+ </ark-menu>`, isInline: true }); }
1942
+ }
1943
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkMenuComponent, decorators: [{
1944
+ type: Component,
1945
+ args: [{
1946
+ selector: "ark-menu-wrapper",
1947
+ standalone: true,
1948
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
1949
+ template: `
1950
+ <ark-menu
1951
+ #menu
1952
+ [attr.testid]="testid"
1953
+ [attr.for]="for"
1954
+ [attr.open]="open ? '' : null"
1955
+ [attr.align]="align"
1956
+ [attr.direction]="direction"
1957
+ [attr.size]="size"
1958
+ [attr.theme]="theme"
1959
+ [attr.aria-label]="ariaLabel">
1960
+ <ng-content></ng-content>
1961
+ </ark-menu>`
1962
+ }]
1963
+ }], ctorParameters: () => [], propDecorators: { testid: [{
1964
+ type: Input
1965
+ }], for: [{
1966
+ type: Input
1967
+ }], open: [{
1968
+ type: Input
1969
+ }], align: [{
1970
+ type: Input
1971
+ }], direction: [{
1972
+ type: Input
1973
+ }], size: [{
1974
+ type: Input
1975
+ }], theme: [{
1976
+ type: Input
1977
+ }], ariaLabel: [{
1978
+ type: Input
1979
+ }], arkSelect: [{
1980
+ type: Output
1981
+ }], arkOpen: [{
1982
+ type: Output
1983
+ }], arkClose: [{
1984
+ type: Output
1985
+ }], menuRef: [{
1986
+ type: ViewChild,
1987
+ args: ["menu", { static: false }]
1988
+ }] } });
1989
+ class ArkMenuItemComponent {
1990
+ constructor() {
1991
+ this.disabled = false;
1992
+ /** Linha separadora (role separator). */
1993
+ this.divider = false;
1994
+ /** Conteúdo não interativo (nome e e-mail), sem role de item. */
1995
+ this.static = false;
1996
+ ensureTooarkComponentsRegistered();
1997
+ }
1998
+ get checkedAttr() {
1999
+ if (this.checked === undefined)
2000
+ return null;
2001
+ return this.checked ? "" : "false";
2002
+ }
2003
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2004
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkMenuItemComponent, isStandalone: true, selector: "ark-menu-item-wrapper", inputs: { testid: "testid", value: "value", intent: "intent", disabled: "disabled", checked: "checked", divider: "divider", static: "static" }, ngImport: i0, template: `
2005
+ <ark-menu-item
2006
+ [attr.testid]="testid"
2007
+ [attr.value]="value"
2008
+ [attr.intent]="intent"
2009
+ [attr.disabled]="disabled ? '' : null"
2010
+ [attr.checked]="checkedAttr"
2011
+ [attr.divider]="divider ? '' : null"
2012
+ [attr.static]="static ? '' : null">
2013
+ <ng-content></ng-content>
2014
+ </ark-menu-item>`, isInline: true }); }
2015
+ }
2016
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkMenuItemComponent, decorators: [{
2017
+ type: Component,
2018
+ args: [{
2019
+ selector: "ark-menu-item-wrapper",
2020
+ standalone: true,
2021
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2022
+ template: `
2023
+ <ark-menu-item
2024
+ [attr.testid]="testid"
2025
+ [attr.value]="value"
2026
+ [attr.intent]="intent"
2027
+ [attr.disabled]="disabled ? '' : null"
2028
+ [attr.checked]="checkedAttr"
2029
+ [attr.divider]="divider ? '' : null"
2030
+ [attr.static]="static ? '' : null">
2031
+ <ng-content></ng-content>
2032
+ </ark-menu-item>`
2033
+ }]
2034
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2035
+ type: Input
2036
+ }], value: [{
2037
+ type: Input
2038
+ }], intent: [{
2039
+ type: Input
2040
+ }], disabled: [{
2041
+ type: Input
2042
+ }], checked: [{
2043
+ type: Input
2044
+ }], divider: [{
2045
+ type: Input
2046
+ }], static: [{
2047
+ type: Input
2048
+ }] } });
2049
+
2050
+ class ArkProgressComponent {
2051
+ constructor() {
2052
+ /** Segmento em loop no lugar do valor (loader contínuo, isento de movimento reduzido). */
2053
+ this.indeterminate = false;
2054
+ /** Mostra a porcentagem ao lado do trilho. */
2055
+ this.showValue = false;
2056
+ this.intent = "primary";
2057
+ this.size = "md";
2058
+ this.theme = "auto";
2059
+ ensureTooarkComponentsRegistered();
2060
+ }
2061
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2062
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkProgressComponent, isStandalone: true, selector: "ark-progress-wrapper", inputs: { testid: "testid", value: "value", max: "max", indeterminate: "indeterminate", label: "label", showValue: "showValue", intent: "intent", size: "size", theme: "theme" }, ngImport: i0, template: `
2063
+ <ark-progress
2064
+ [attr.testid]="testid"
2065
+ [attr.value]="value"
2066
+ [attr.max]="max"
2067
+ [attr.indeterminate]="indeterminate ? '' : null"
2068
+ [attr.label]="label"
2069
+ [attr.show-value]="showValue ? '' : null"
2070
+ [attr.intent]="intent"
2071
+ [attr.size]="size"
2072
+ [attr.theme]="theme">
2073
+ </ark-progress>`, isInline: true }); }
2074
+ }
2075
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkProgressComponent, decorators: [{
2076
+ type: Component,
2077
+ args: [{
2078
+ selector: "ark-progress-wrapper",
2079
+ standalone: true,
2080
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2081
+ template: `
2082
+ <ark-progress
2083
+ [attr.testid]="testid"
2084
+ [attr.value]="value"
2085
+ [attr.max]="max"
2086
+ [attr.indeterminate]="indeterminate ? '' : null"
2087
+ [attr.label]="label"
2088
+ [attr.show-value]="showValue ? '' : null"
2089
+ [attr.intent]="intent"
2090
+ [attr.size]="size"
2091
+ [attr.theme]="theme">
2092
+ </ark-progress>`
2093
+ }]
2094
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2095
+ type: Input
2096
+ }], value: [{
2097
+ type: Input
2098
+ }], max: [{
2099
+ type: Input
2100
+ }], indeterminate: [{
2101
+ type: Input
2102
+ }], label: [{
2103
+ type: Input
2104
+ }], showValue: [{
2105
+ type: Input
2106
+ }], intent: [{
2107
+ type: Input
2108
+ }], size: [{
2109
+ type: Input
2110
+ }], theme: [{
2111
+ type: Input
2112
+ }] } });
2113
+
2114
+ class ArkRadioComponent {
2115
+ constructor() {
2116
+ this.checked = false;
2117
+ this.disabled = false;
2118
+ this.intent = "primary";
2119
+ this.theme = "auto";
2120
+ this.size = "md";
2121
+ /** Dispara só no radio que ganhou a marca. */
2122
+ this.changed = new EventEmitter();
2123
+ ensureTooarkComponentsRegistered();
2124
+ }
2125
+ onChange(event) {
2126
+ this.changed.emit(event);
2127
+ }
2128
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2129
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkRadioComponent, isStandalone: true, selector: "ark-radio-wrapper", inputs: { testid: "testid", checked: "checked", disabled: "disabled", intent: "intent", theme: "theme", size: "size", name: "name", value: "value", label: "label" }, outputs: { changed: "changed" }, ngImport: i0, template: `
2130
+ <ark-radio
2131
+ [attr.testid]="testid"
2132
+ [attr.checked]="checked ? '' : null"
2133
+ [attr.disabled]="disabled ? '' : null"
2134
+ [attr.intent]="intent"
2135
+ [attr.theme]="theme"
2136
+ [attr.size]="size"
2137
+ [attr.name]="name"
2138
+ [attr.value]="value"
2139
+ [attr.label]="label"
2140
+ (change)="onChange($event)">
2141
+ <ng-content></ng-content>
2142
+ </ark-radio>`, isInline: true }); }
2143
+ }
2144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkRadioComponent, decorators: [{
2145
+ type: Component,
2146
+ args: [{
2147
+ selector: "ark-radio-wrapper",
2148
+ standalone: true,
2149
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2150
+ template: `
2151
+ <ark-radio
2152
+ [attr.testid]="testid"
2153
+ [attr.checked]="checked ? '' : null"
2154
+ [attr.disabled]="disabled ? '' : null"
2155
+ [attr.intent]="intent"
2156
+ [attr.theme]="theme"
2157
+ [attr.size]="size"
2158
+ [attr.name]="name"
2159
+ [attr.value]="value"
2160
+ [attr.label]="label"
2161
+ (change)="onChange($event)">
2162
+ <ng-content></ng-content>
2163
+ </ark-radio>`
2164
+ }]
2165
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2166
+ type: Input
2167
+ }], checked: [{
2168
+ type: Input
2169
+ }], disabled: [{
2170
+ type: Input
2171
+ }], intent: [{
2172
+ type: Input
2173
+ }], theme: [{
2174
+ type: Input
2175
+ }], size: [{
2176
+ type: Input
2177
+ }], name: [{
2178
+ type: Input
2179
+ }], value: [{
2180
+ type: Input
2181
+ }], label: [{
2182
+ type: Input
2183
+ }], changed: [{
2184
+ type: Output
2185
+ }] } });
2186
+
2187
+ class ArkSchedulerComponent {
2188
+ constructor() {
2189
+ this.view = "week";
2190
+ this.lang = "en";
2191
+ this.theme = "auto";
2192
+ this.intent = "primary";
2193
+ this.arkEventClick = new EventEmitter();
2194
+ this.arkSlotClick = new EventEmitter();
2195
+ this.arkViewChange = new EventEmitter();
2196
+ this.arkRangeChange = new EventEmitter();
2197
+ this.eventClickHandler = (e) => this.arkEventClick.emit(e.detail);
2198
+ this.slotClickHandler = (e) => this.arkSlotClick.emit(e.detail);
2199
+ this.viewChangeHandler = (e) => this.arkViewChange.emit(e.detail);
2200
+ this.rangeChangeHandler = (e) => this.arkRangeChange.emit(e.detail);
2201
+ ensureTooarkComponentsRegistered();
2202
+ }
2203
+ get eventsStr() {
2204
+ return this.events ? JSON.stringify(this.events) : undefined;
2205
+ }
2206
+ ngAfterViewInit() {
2207
+ const el = this.schedulerRef?.nativeElement;
2208
+ if (!el)
2209
+ return;
2210
+ el.addEventListener("ark-event-click", this.eventClickHandler);
2211
+ el.addEventListener("ark-slot-click", this.slotClickHandler);
2212
+ el.addEventListener("ark-view-change", this.viewChangeHandler);
2213
+ el.addEventListener("ark-range-change", this.rangeChangeHandler);
2214
+ }
2215
+ ngOnDestroy() {
2216
+ const el = this.schedulerRef?.nativeElement;
2217
+ if (!el)
2218
+ return;
2219
+ el.removeEventListener("ark-event-click", this.eventClickHandler);
2220
+ el.removeEventListener("ark-slot-click", this.slotClickHandler);
2221
+ el.removeEventListener("ark-view-change", this.viewChangeHandler);
2222
+ el.removeEventListener("ark-range-change", this.rangeChangeHandler);
2223
+ }
2224
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSchedulerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2225
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkSchedulerComponent, isStandalone: true, selector: "ark-scheduler-wrapper", inputs: { testid: "testid", view: "view", date: "date", events: "events", lang: "lang", 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
+ <ark-scheduler
2227
+ #scheduler
2228
+ [attr.testid]="testid"
2229
+ [attr.view]="view"
2230
+ [attr.date]="date"
2231
+ [attr.events]="eventsStr"
2232
+ [attr.lang]="lang"
2233
+ [attr.theme]="theme"
2234
+ [attr.intent]="intent"
2235
+ [attr.views]="views"
2236
+ [attr.hour-start]="hourStart"
2237
+ [attr.hour-end]="hourEnd"
2238
+ [attr.slot-minutes]="slotMinutes"
2239
+ [attr.hours-format]="hoursFormat">
2240
+ </ark-scheduler>`, isInline: true }); }
2241
+ }
2242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSchedulerComponent, decorators: [{
2243
+ type: Component,
2244
+ args: [{
2245
+ selector: "ark-scheduler-wrapper",
2246
+ standalone: true,
2247
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2248
+ template: `
2249
+ <ark-scheduler
2250
+ #scheduler
2251
+ [attr.testid]="testid"
2252
+ [attr.view]="view"
2253
+ [attr.date]="date"
2254
+ [attr.events]="eventsStr"
2255
+ [attr.lang]="lang"
2256
+ [attr.theme]="theme"
2257
+ [attr.intent]="intent"
2258
+ [attr.views]="views"
2259
+ [attr.hour-start]="hourStart"
2260
+ [attr.hour-end]="hourEnd"
2261
+ [attr.slot-minutes]="slotMinutes"
2262
+ [attr.hours-format]="hoursFormat">
2263
+ </ark-scheduler>`
2264
+ }]
2265
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2266
+ type: Input
2267
+ }], view: [{
2268
+ type: Input
2269
+ }], date: [{
2270
+ type: Input
2271
+ }], events: [{
2272
+ type: Input
2273
+ }], lang: [{
2274
+ type: Input
2275
+ }], theme: [{
2276
+ type: Input
2277
+ }], intent: [{
2278
+ type: Input
2279
+ }], views: [{
2280
+ type: Input
2281
+ }], hourStart: [{
2282
+ type: Input
2283
+ }], hourEnd: [{
2284
+ type: Input
2285
+ }], slotMinutes: [{
2286
+ type: Input
2287
+ }], hoursFormat: [{
2288
+ type: Input
2289
+ }], arkEventClick: [{
2290
+ type: Output
2291
+ }], arkSlotClick: [{
2292
+ type: Output
2293
+ }], arkViewChange: [{
2294
+ type: Output
2295
+ }], arkRangeChange: [{
2296
+ type: Output
2297
+ }], schedulerRef: [{
2298
+ type: ViewChild,
2299
+ args: ["scheduler", { static: false }]
2300
+ }] } });
2301
+
2302
+ class ArkSelectComponent {
2303
+ constructor() {
2304
+ this.size = "md";
2305
+ this.intent = "primary";
2306
+ this.theme = "auto";
2307
+ this.rounded = "lg";
2308
+ this.error = false;
2309
+ this.disabled = false;
2310
+ this.required = false;
2311
+ this.changed = new EventEmitter();
2312
+ ensureTooarkComponentsRegistered();
2313
+ }
2314
+ get optionsStr() {
2315
+ return this.options ? JSON.stringify(this.options) : undefined;
2316
+ }
2317
+ onChange(event) {
2318
+ this.changed.emit(event);
2319
+ }
2320
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2321
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkSelectComponent, isStandalone: true, selector: "ark-select-wrapper", inputs: { testid: "testid", label: "label", placeholder: "placeholder", options: "options", value: "value", name: "name", size: "size", intent: "intent", theme: "theme", rounded: "rounded", helper: "helper", error: "error", errorMessage: "errorMessage", disabled: "disabled", required: "required" }, outputs: { changed: "changed" }, ngImport: i0, template: `
2322
+ <ark-select
2323
+ [attr.testid]="testid"
2324
+ [attr.label]="label"
2325
+ [attr.placeholder]="placeholder"
2326
+ [attr.options]="optionsStr"
2327
+ [attr.value]="value"
2328
+ [attr.name]="name"
2329
+ [attr.size]="size"
2330
+ [attr.intent]="intent"
2331
+ [attr.theme]="theme"
2332
+ [attr.rounded]="rounded"
2333
+ [attr.helper]="helper"
2334
+ [attr.error]="error ? '' : null"
2335
+ [attr.error-message]="errorMessage"
2336
+ [attr.disabled]="disabled ? '' : null"
2337
+ [attr.required]="required ? '' : null"
2338
+ (change)="onChange($event)">
2339
+ <ng-content></ng-content>
2340
+ </ark-select>`, isInline: true }); }
2341
+ }
2342
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSelectComponent, decorators: [{
2343
+ type: Component,
2344
+ args: [{
2345
+ selector: "ark-select-wrapper",
2346
+ standalone: true,
2347
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2348
+ template: `
2349
+ <ark-select
2350
+ [attr.testid]="testid"
2351
+ [attr.label]="label"
2352
+ [attr.placeholder]="placeholder"
2353
+ [attr.options]="optionsStr"
2354
+ [attr.value]="value"
2355
+ [attr.name]="name"
2356
+ [attr.size]="size"
2357
+ [attr.intent]="intent"
2358
+ [attr.theme]="theme"
2359
+ [attr.rounded]="rounded"
2360
+ [attr.helper]="helper"
2361
+ [attr.error]="error ? '' : null"
2362
+ [attr.error-message]="errorMessage"
2363
+ [attr.disabled]="disabled ? '' : null"
2364
+ [attr.required]="required ? '' : null"
2365
+ (change)="onChange($event)">
2366
+ <ng-content></ng-content>
2367
+ </ark-select>`
2368
+ }]
2369
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2370
+ type: Input
2371
+ }], label: [{
2372
+ type: Input
2373
+ }], placeholder: [{
2374
+ type: Input
2375
+ }], options: [{
2376
+ type: Input
2377
+ }], value: [{
2378
+ type: Input
2379
+ }], name: [{
2380
+ type: Input
2381
+ }], size: [{
2382
+ type: Input
2383
+ }], intent: [{
2384
+ type: Input
2385
+ }], theme: [{
2386
+ type: Input
2387
+ }], rounded: [{
2388
+ type: Input
2389
+ }], helper: [{
2390
+ type: Input
2391
+ }], error: [{
2392
+ type: Input
2393
+ }], errorMessage: [{
2394
+ type: Input
2395
+ }], disabled: [{
2396
+ type: Input
2397
+ }], required: [{
2398
+ type: Input
2399
+ }], changed: [{
2400
+ type: Output
2401
+ }] } });
2402
+
2403
+ class ArkShapePickerComponent {
2404
+ constructor() {
2405
+ this.disabled = false;
2406
+ this.size = "md";
2407
+ this.theme = "auto";
2408
+ /** Seleção mudou pelo usuário: detail.value é a forma. */
2409
+ this.changed = new EventEmitter();
2410
+ ensureTooarkComponentsRegistered();
2411
+ }
2412
+ onChange(event) {
2413
+ this.changed.emit(event);
2414
+ }
2415
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkShapePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2416
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkShapePickerComponent, isStandalone: true, selector: "ark-shape-picker-wrapper", inputs: { testid: "testid", value: "value", color: "color", label: "label", disabled: "disabled", size: "size", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed" }, ngImport: i0, template: `
2417
+ <ark-shape-picker
2418
+ [attr.testid]="testid"
2419
+ [attr.value]="value"
2420
+ [attr.color]="color"
2421
+ [attr.label]="label"
2422
+ [attr.disabled]="disabled ? '' : null"
2423
+ [attr.size]="size"
2424
+ [attr.theme]="theme"
2425
+ [attr.lang]="lang"
2426
+ [attr.locale-json]="localeJson"
2427
+ (change)="onChange($event)">
2428
+ </ark-shape-picker>`, isInline: true }); }
2429
+ }
2430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkShapePickerComponent, decorators: [{
2431
+ type: Component,
2432
+ args: [{
2433
+ selector: "ark-shape-picker-wrapper",
2434
+ standalone: true,
2435
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2436
+ template: `
2437
+ <ark-shape-picker
2438
+ [attr.testid]="testid"
2439
+ [attr.value]="value"
2440
+ [attr.color]="color"
2441
+ [attr.label]="label"
2442
+ [attr.disabled]="disabled ? '' : null"
2443
+ [attr.size]="size"
2444
+ [attr.theme]="theme"
2445
+ [attr.lang]="lang"
2446
+ [attr.locale-json]="localeJson"
2447
+ (change)="onChange($event)">
2448
+ </ark-shape-picker>`
2449
+ }]
2450
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2451
+ type: Input
2452
+ }], value: [{
2453
+ type: Input
2454
+ }], color: [{
2455
+ type: Input
2456
+ }], label: [{
2457
+ type: Input
2458
+ }], disabled: [{
2459
+ type: Input
2460
+ }], size: [{
2461
+ type: Input
2462
+ }], theme: [{
2463
+ type: Input
2464
+ }], lang: [{
2465
+ type: Input
2466
+ }], localeJson: [{
2467
+ type: Input
2468
+ }], changed: [{
2469
+ type: Output
2470
+ }] } });
2471
+
2472
+ class ArkSkeletonComponent {
2473
+ constructor() {
2474
+ /** Liga o brilho que varre (opt-in; para sob movimento reduzido). */
2475
+ this.animated = false;
2476
+ this.theme = "auto";
2477
+ ensureTooarkComponentsRegistered();
2478
+ }
2479
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2480
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkSkeletonComponent, isStandalone: true, selector: "ark-skeleton-wrapper", inputs: { testid: "testid", rows: "rows", animated: "animated", rounded: "rounded", color: "color", ratio: "ratio", theme: "theme" }, ngImport: i0, template: `
2481
+ <ark-skeleton
2482
+ [attr.testid]="testid"
2483
+ [attr.rows]="rows"
2484
+ [attr.animated]="animated ? '' : null"
2485
+ [attr.rounded]="rounded"
2486
+ [attr.color]="color"
2487
+ [attr.ratio]="ratio"
2488
+ [attr.theme]="theme">
2489
+ <ng-content></ng-content>
2490
+ </ark-skeleton>`, isInline: true }); }
2491
+ }
2492
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSkeletonComponent, decorators: [{
2493
+ type: Component,
2494
+ args: [{
2495
+ selector: "ark-skeleton-wrapper",
2496
+ standalone: true,
2497
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2498
+ template: `
2499
+ <ark-skeleton
2500
+ [attr.testid]="testid"
2501
+ [attr.rows]="rows"
2502
+ [attr.animated]="animated ? '' : null"
2503
+ [attr.rounded]="rounded"
2504
+ [attr.color]="color"
2505
+ [attr.ratio]="ratio"
2506
+ [attr.theme]="theme">
2507
+ <ng-content></ng-content>
2508
+ </ark-skeleton>`
2509
+ }]
2510
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2511
+ type: Input
2512
+ }], rows: [{
2513
+ type: Input
2514
+ }], animated: [{
2515
+ type: Input
2516
+ }], rounded: [{
2517
+ type: Input
2518
+ }], color: [{
2519
+ type: Input
2520
+ }], ratio: [{
2521
+ type: Input
2522
+ }], theme: [{
2523
+ type: Input
2524
+ }] } });
2525
+
2526
+ class ArkSpinnerComponent {
2527
+ constructor() {
2528
+ this.size = "md";
2529
+ this.theme = "auto";
2530
+ ensureTooarkComponentsRegistered();
2531
+ }
2532
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2533
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkSpinnerComponent, isStandalone: true, selector: "ark-spinner-wrapper", inputs: { testid: "testid", size: "size", intent: "intent", label: "label", theme: "theme", lang: "lang", localeJson: "localeJson" }, ngImport: i0, template: `
2534
+ <ark-spinner
2535
+ [attr.testid]="testid"
2536
+ [attr.size]="size"
2537
+ [attr.intent]="intent"
2538
+ [attr.label]="label"
2539
+ [attr.theme]="theme"
2540
+ [attr.lang]="lang"
2541
+ [attr.locale-json]="localeJson">
2542
+ </ark-spinner>`, isInline: true }); }
2543
+ }
2544
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSpinnerComponent, decorators: [{
2545
+ type: Component,
2546
+ args: [{
2547
+ selector: "ark-spinner-wrapper",
2548
+ standalone: true,
2549
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2550
+ template: `
2551
+ <ark-spinner
2552
+ [attr.testid]="testid"
2553
+ [attr.size]="size"
2554
+ [attr.intent]="intent"
2555
+ [attr.label]="label"
2556
+ [attr.theme]="theme"
2557
+ [attr.lang]="lang"
2558
+ [attr.locale-json]="localeJson">
2559
+ </ark-spinner>`
2560
+ }]
2561
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2562
+ type: Input
2563
+ }], size: [{
2564
+ type: Input
2565
+ }], intent: [{
2566
+ type: Input
2567
+ }], label: [{
2568
+ type: Input
2569
+ }], theme: [{
2570
+ type: Input
2571
+ }], lang: [{
2572
+ type: Input
2573
+ }], localeJson: [{
2574
+ type: Input
2575
+ }] } });
2576
+
2577
+ class ArkSplitPaneComponent {
2578
+ constructor() {
2579
+ /** Painéis lado a lado (horizontal) ou empilhados (vertical). Padrão: "horizontal". */
2580
+ this.direction = "horizontal";
2581
+ this.theme = "auto";
2582
+ /** Tamanhos mudaram por arrasto ou teclado: detail.sizes é a lista normalizada. Persistir é do app. */
2583
+ this.arkResize = new EventEmitter();
2584
+ this.resizeHandler = (event) => this.arkResize.emit(event);
2585
+ ensureTooarkComponentsRegistered();
2586
+ }
2587
+ get sizesAttr() {
2588
+ return this.sizes ? this.sizes.join(",") : null;
2589
+ }
2590
+ ngAfterViewInit() {
2591
+ this.paneRef?.nativeElement?.addEventListener("ark-resize", this.resizeHandler);
2592
+ }
2593
+ ngOnDestroy() {
2594
+ this.paneRef?.nativeElement?.removeEventListener("ark-resize", this.resizeHandler);
2595
+ }
2596
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSplitPaneComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2597
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkSplitPaneComponent, isStandalone: true, selector: "ark-split-pane-wrapper", inputs: { testid: "testid", direction: "direction", sizes: "sizes", theme: "theme", lang: "lang", localeJson: "localeJson" }, outputs: { arkResize: "arkResize" }, viewQueries: [{ propertyName: "paneRef", first: true, predicate: ["pane"], descendants: true }], ngImport: i0, template: `
2598
+ <ark-split-pane
2599
+ #pane
2600
+ [attr.testid]="testid"
2601
+ [attr.direction]="direction"
2602
+ [attr.sizes]="sizesAttr"
2603
+ [attr.theme]="theme"
2604
+ [attr.lang]="lang"
2605
+ [attr.locale-json]="localeJson">
2606
+ <ng-content></ng-content>
2607
+ </ark-split-pane>`, isInline: true }); }
2608
+ }
2609
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSplitPaneComponent, decorators: [{
2610
+ type: Component,
2611
+ args: [{
2612
+ selector: "ark-split-pane-wrapper",
2613
+ standalone: true,
2614
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2615
+ template: `
2616
+ <ark-split-pane
2617
+ #pane
2618
+ [attr.testid]="testid"
2619
+ [attr.direction]="direction"
2620
+ [attr.sizes]="sizesAttr"
2621
+ [attr.theme]="theme"
2622
+ [attr.lang]="lang"
2623
+ [attr.locale-json]="localeJson">
2624
+ <ng-content></ng-content>
2625
+ </ark-split-pane>`
2626
+ }]
2627
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2628
+ type: Input
2629
+ }], direction: [{
2630
+ type: Input
2631
+ }], sizes: [{
2632
+ type: Input
2633
+ }], theme: [{
2634
+ type: Input
2635
+ }], lang: [{
2636
+ type: Input
2637
+ }], localeJson: [{
2638
+ type: Input
2639
+ }], arkResize: [{
2640
+ type: Output
2641
+ }], paneRef: [{
2642
+ type: ViewChild,
2643
+ args: ["pane", { static: false }]
2644
+ }] } });
2645
+
2646
+ class ArkStatusDotComponent {
2647
+ constructor() {
2648
+ /** Cor do ponto. Padrão: "neutral". */
2649
+ this.intent = "neutral";
2650
+ this.size = "md";
2651
+ this.theme = "auto";
2652
+ ensureTooarkComponentsRegistered();
2653
+ }
2654
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkStatusDotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2655
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkStatusDotComponent, isStandalone: true, selector: "ark-status-dot-wrapper", inputs: { testid: "testid", intent: "intent", label: "label", size: "size", theme: "theme" }, ngImport: i0, template: `
2656
+ <ark-status-dot
2657
+ [attr.testid]="testid"
2658
+ [attr.intent]="intent"
2659
+ [attr.label]="label"
2660
+ [attr.size]="size"
2661
+ [attr.theme]="theme">
2662
+ </ark-status-dot>`, isInline: true }); }
2663
+ }
2664
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkStatusDotComponent, decorators: [{
2665
+ type: Component,
2666
+ args: [{
2667
+ selector: "ark-status-dot-wrapper",
2668
+ standalone: true,
2669
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2670
+ template: `
2671
+ <ark-status-dot
2672
+ [attr.testid]="testid"
2673
+ [attr.intent]="intent"
2674
+ [attr.label]="label"
2675
+ [attr.size]="size"
2676
+ [attr.theme]="theme">
2677
+ </ark-status-dot>`
2678
+ }]
2679
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2680
+ type: Input
2681
+ }], intent: [{
2682
+ type: Input
2683
+ }], label: [{
2684
+ type: Input
2685
+ }], size: [{
2686
+ type: Input
2687
+ }], theme: [{
2688
+ type: Input
2689
+ }] } });
2690
+
2691
+ class ArkSwitchComponent {
2692
+ constructor() {
2693
+ this.checked = false;
2694
+ this.disabled = false;
2695
+ this.labels = false;
2696
+ this.icons = false;
2697
+ this.intent = "primary";
2698
+ this.theme = "auto";
2699
+ this.size = "md";
2700
+ this.changed = new EventEmitter();
2701
+ ensureTooarkComponentsRegistered();
2702
+ }
2703
+ onChange(event) {
2704
+ this.changed.emit(event);
2705
+ }
2706
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2707
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkSwitchComponent, isStandalone: true, selector: "ark-switch-wrapper", inputs: { testid: "testid", checked: "checked", disabled: "disabled", labels: "labels", icons: "icons", intent: "intent", theme: "theme", size: "size", color: "color", name: "name", value: "value", label: "label", labelOn: "labelOn", labelOff: "labelOff" }, outputs: { changed: "changed" }, ngImport: i0, template: `
2708
+ <ark-switch
2709
+ [attr.testid]="testid"
2710
+ [attr.checked]="checked ? '' : null"
2711
+ [attr.disabled]="disabled ? '' : null"
2712
+ [attr.labels]="labels ? '' : null"
2713
+ [attr.icons]="icons ? '' : null"
2714
+ [attr.intent]="intent"
2715
+ [attr.theme]="theme"
2716
+ [attr.size]="size"
2717
+ [attr.color]="color"
2718
+ [attr.name]="name"
2719
+ [attr.value]="value"
2720
+ [attr.label]="label"
2721
+ [attr.label-on]="labelOn"
2722
+ [attr.label-off]="labelOff"
2723
+ (change)="onChange($event)">
2724
+ </ark-switch>`, isInline: true }); }
2725
+ }
2726
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkSwitchComponent, decorators: [{
2727
+ type: Component,
2728
+ args: [{
2729
+ selector: "ark-switch-wrapper",
2730
+ standalone: true,
2731
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2732
+ template: `
2733
+ <ark-switch
2734
+ [attr.testid]="testid"
2735
+ [attr.checked]="checked ? '' : null"
2736
+ [attr.disabled]="disabled ? '' : null"
2737
+ [attr.labels]="labels ? '' : null"
2738
+ [attr.icons]="icons ? '' : null"
2739
+ [attr.intent]="intent"
2740
+ [attr.theme]="theme"
2741
+ [attr.size]="size"
2742
+ [attr.color]="color"
2743
+ [attr.name]="name"
2744
+ [attr.value]="value"
2745
+ [attr.label]="label"
2746
+ [attr.label-on]="labelOn"
2747
+ [attr.label-off]="labelOff"
2748
+ (change)="onChange($event)">
2749
+ </ark-switch>`
2750
+ }]
2751
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2752
+ type: Input
2753
+ }], checked: [{
2754
+ type: Input
2755
+ }], disabled: [{
2756
+ type: Input
2757
+ }], labels: [{
2758
+ type: Input
2759
+ }], icons: [{
2760
+ type: Input
2761
+ }], intent: [{
2762
+ type: Input
2763
+ }], theme: [{
2764
+ type: Input
2765
+ }], size: [{
2766
+ type: Input
2767
+ }], color: [{
2768
+ type: Input
2769
+ }], name: [{
2770
+ type: Input
2771
+ }], value: [{
2772
+ type: Input
2773
+ }], label: [{
2774
+ type: Input
2775
+ }], labelOn: [{
2776
+ type: Input
2777
+ }], labelOff: [{
2778
+ type: Input
2779
+ }], changed: [{
2780
+ type: Output
2781
+ }] } });
2782
+
2783
+ class ArkTabsComponent {
2784
+ constructor() {
2785
+ this.variant = "underline";
2786
+ this.size = "md";
2787
+ this.intent = "primary";
2788
+ this.theme = "auto";
2789
+ this.changed = new EventEmitter();
2790
+ /** Uma aba fechável pediu para fechar; remover a aba é do app. */
2791
+ this.arkClose = new EventEmitter();
2792
+ this.closeHandler = (event) => this.arkClose.emit(event);
2793
+ ensureTooarkComponentsRegistered();
2794
+ }
2795
+ ngAfterViewInit() {
2796
+ this.tabsRef?.nativeElement?.addEventListener("ark-close", this.closeHandler);
2797
+ }
2798
+ ngOnDestroy() {
2799
+ this.tabsRef?.nativeElement?.removeEventListener("ark-close", this.closeHandler);
2800
+ }
2801
+ onChange(event) {
2802
+ this.changed.emit(event);
2803
+ }
2804
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2805
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkTabsComponent, isStandalone: true, selector: "ark-tabs-wrapper", inputs: { testid: "testid", value: "value", variant: "variant", size: "size", intent: "intent", rounded: "rounded", fill: "fill", theme: "theme", label: "label", lang: "lang", localeJson: "localeJson" }, outputs: { changed: "changed", arkClose: "arkClose" }, viewQueries: [{ propertyName: "tabsRef", first: true, predicate: ["tabs"], descendants: true }], ngImport: i0, template: `
2806
+ <ark-tabs
2807
+ #tabs
2808
+ [attr.testid]="testid"
2809
+ [attr.value]="value"
2810
+ [attr.variant]="variant"
2811
+ [attr.size]="size"
2812
+ [attr.intent]="intent"
2813
+ [attr.rounded]="rounded"
2814
+ [attr.fill]="fill"
2815
+ [attr.theme]="theme"
2816
+ [attr.label]="label"
2817
+ [attr.lang]="lang"
2818
+ [attr.locale-json]="localeJson"
2819
+ (change)="onChange($event)">
2820
+ <ng-content></ng-content>
2821
+ </ark-tabs>`, isInline: true }); }
2822
+ }
2823
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkTabsComponent, decorators: [{
2824
+ type: Component,
2825
+ args: [{
2826
+ selector: "ark-tabs-wrapper",
2827
+ standalone: true,
2828
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2829
+ template: `
2830
+ <ark-tabs
2831
+ #tabs
2832
+ [attr.testid]="testid"
2833
+ [attr.value]="value"
2834
+ [attr.variant]="variant"
2835
+ [attr.size]="size"
2836
+ [attr.intent]="intent"
2837
+ [attr.rounded]="rounded"
2838
+ [attr.fill]="fill"
2839
+ [attr.theme]="theme"
2840
+ [attr.label]="label"
2841
+ [attr.lang]="lang"
2842
+ [attr.locale-json]="localeJson"
2843
+ (change)="onChange($event)">
2844
+ <ng-content></ng-content>
2845
+ </ark-tabs>`
2846
+ }]
2847
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2848
+ type: Input
2849
+ }], value: [{
2850
+ type: Input
2851
+ }], variant: [{
2852
+ type: Input
2853
+ }], size: [{
2854
+ type: Input
2855
+ }], intent: [{
2856
+ type: Input
2857
+ }], rounded: [{
2858
+ type: Input
2859
+ }], fill: [{
2860
+ type: Input
2861
+ }], theme: [{
2862
+ type: Input
2863
+ }], label: [{
2864
+ type: Input
2865
+ }], lang: [{
2866
+ type: Input
2867
+ }], localeJson: [{
2868
+ type: Input
2869
+ }], changed: [{
2870
+ type: Output
2871
+ }], arkClose: [{
2872
+ type: Output
2873
+ }], tabsRef: [{
2874
+ type: ViewChild,
2875
+ args: ["tabs", { static: false }]
2876
+ }] } });
2877
+ class ArkTabComponent {
2878
+ constructor() {
2879
+ this.value = "";
2880
+ this.disabled = false;
2881
+ /** Botão de fechar, clique do meio e Delete (só na variante editor). */
2882
+ this.closable = false;
2883
+ /** Ponto de alterações não salvas. */
2884
+ this.dirty = false;
2885
+ ensureTooarkComponentsRegistered();
2886
+ }
2887
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2888
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkTabComponent, isStandalone: true, selector: "ark-tab-wrapper", inputs: { testid: "testid", value: "value", disabled: "disabled", controls: "controls", closable: "closable", dirty: "dirty" }, ngImport: i0, template: `
2889
+ <ark-tab
2890
+ [attr.testid]="testid"
2891
+ [attr.value]="value"
2892
+ [attr.disabled]="disabled ? '' : null"
2893
+ [attr.controls]="controls"
2894
+ [attr.closable]="closable ? '' : null"
2895
+ [attr.dirty]="dirty ? '' : null">
2896
+ <ng-content></ng-content>
2897
+ </ark-tab>`, isInline: true }); }
2898
+ }
2899
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkTabComponent, decorators: [{
2900
+ type: Component,
2901
+ args: [{
2902
+ selector: "ark-tab-wrapper",
2903
+ standalone: true,
2904
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2905
+ template: `
2906
+ <ark-tab
2907
+ [attr.testid]="testid"
2908
+ [attr.value]="value"
2909
+ [attr.disabled]="disabled ? '' : null"
2910
+ [attr.controls]="controls"
2911
+ [attr.closable]="closable ? '' : null"
2912
+ [attr.dirty]="dirty ? '' : null">
2913
+ <ng-content></ng-content>
2914
+ </ark-tab>`
2915
+ }]
2916
+ }], ctorParameters: () => [], propDecorators: { testid: [{
2917
+ type: Input
2918
+ }], value: [{
2919
+ type: Input
2920
+ }], disabled: [{
2921
+ type: Input
2922
+ }], controls: [{
2923
+ type: Input
2924
+ }], closable: [{
2925
+ type: Input
2926
+ }], dirty: [{
2927
+ type: Input
2928
+ }] } });
2929
+
2930
+ class ArkTextareaComponent {
2931
+ constructor() {
2932
+ /** Cresce com o conteúdo (field-sizing nativo, fallback por JS). */
2933
+ this.autosize = false;
2934
+ /** Fonte monoespaçada, para código e dados. */
2935
+ this.monospace = false;
2936
+ this.resize = "vertical";
2937
+ this.size = "md";
2938
+ this.intent = "primary";
2939
+ this.theme = "auto";
2940
+ this.rounded = "lg";
2941
+ this.error = false;
2942
+ this.disabled = false;
2943
+ this.required = false;
2944
+ this.readonly = false;
2945
+ this.autofocus = false;
2946
+ ensureTooarkComponentsRegistered();
2947
+ }
2948
+ get spellcheckAttr() {
2949
+ return this.spellcheck === undefined ? null : String(this.spellcheck);
2950
+ }
2951
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2952
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", 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", ariaLabel: "ariaLabel" }, ngImport: i0, template: `
2953
+ <ark-textarea
2954
+ [attr.testid]="testid"
2955
+ [attr.label]="label"
2956
+ [attr.placeholder]="placeholder"
2957
+ [attr.value]="value"
2958
+ [attr.name]="name"
2959
+ [attr.rows]="rows"
2960
+ [attr.autosize]="autosize ? '' : null"
2961
+ [attr.monospace]="monospace ? '' : null"
2962
+ [attr.resize]="resize"
2963
+ [attr.size]="size"
2964
+ [attr.intent]="intent"
2965
+ [attr.theme]="theme"
2966
+ [attr.rounded]="rounded"
2967
+ [attr.helper]="helper"
2968
+ [attr.error]="error ? '' : null"
2969
+ [attr.error-message]="errorMessage"
2970
+ [attr.disabled]="disabled ? '' : null"
2971
+ [attr.required]="required ? '' : null"
2972
+ [attr.readonly]="readonly ? '' : null"
2973
+ [attr.autocomplete]="autocomplete"
2974
+ [attr.autofocus]="autofocus ? '' : null"
2975
+ [attr.maxlength]="maxlength"
2976
+ [attr.minlength]="minlength"
2977
+ [attr.spellcheck]="spellcheckAttr"
2978
+ [attr.aria-label]="ariaLabel">
2979
+ <ng-content></ng-content>
2980
+ </ark-textarea>`, isInline: true }); }
2981
+ }
2982
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkTextareaComponent, decorators: [{
2983
+ type: Component,
2984
+ args: [{
2985
+ selector: "ark-textarea-wrapper",
2986
+ standalone: true,
2987
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2988
+ template: `
2989
+ <ark-textarea
2990
+ [attr.testid]="testid"
2991
+ [attr.label]="label"
2992
+ [attr.placeholder]="placeholder"
2993
+ [attr.value]="value"
2994
+ [attr.name]="name"
2995
+ [attr.rows]="rows"
2996
+ [attr.autosize]="autosize ? '' : null"
2997
+ [attr.monospace]="monospace ? '' : null"
2998
+ [attr.resize]="resize"
2999
+ [attr.size]="size"
3000
+ [attr.intent]="intent"
3001
+ [attr.theme]="theme"
3002
+ [attr.rounded]="rounded"
3003
+ [attr.helper]="helper"
3004
+ [attr.error]="error ? '' : null"
3005
+ [attr.error-message]="errorMessage"
3006
+ [attr.disabled]="disabled ? '' : null"
3007
+ [attr.required]="required ? '' : null"
3008
+ [attr.readonly]="readonly ? '' : null"
3009
+ [attr.autocomplete]="autocomplete"
3010
+ [attr.autofocus]="autofocus ? '' : null"
3011
+ [attr.maxlength]="maxlength"
3012
+ [attr.minlength]="minlength"
3013
+ [attr.spellcheck]="spellcheckAttr"
3014
+ [attr.aria-label]="ariaLabel">
3015
+ <ng-content></ng-content>
3016
+ </ark-textarea>`
3017
+ }]
3018
+ }], ctorParameters: () => [], propDecorators: { testid: [{
3019
+ type: Input
3020
+ }], label: [{
3021
+ type: Input
3022
+ }], placeholder: [{
3023
+ type: Input
3024
+ }], value: [{
3025
+ type: Input
3026
+ }], name: [{
3027
+ type: Input
3028
+ }], rows: [{
3029
+ type: Input
3030
+ }], autosize: [{
3031
+ type: Input
3032
+ }], monospace: [{
3033
+ type: Input
3034
+ }], resize: [{
3035
+ type: Input
3036
+ }], size: [{
3037
+ type: Input
3038
+ }], intent: [{
3039
+ type: Input
3040
+ }], theme: [{
3041
+ type: Input
3042
+ }], rounded: [{
3043
+ type: Input
3044
+ }], helper: [{
3045
+ type: Input
3046
+ }], error: [{
3047
+ type: Input
3048
+ }], errorMessage: [{
3049
+ type: Input
3050
+ }], disabled: [{
3051
+ type: Input
3052
+ }], required: [{
3053
+ type: Input
3054
+ }], readonly: [{
3055
+ type: Input
3056
+ }], autocomplete: [{
3057
+ type: Input
3058
+ }], autofocus: [{
3059
+ type: Input
3060
+ }], maxlength: [{
3061
+ type: Input
3062
+ }], minlength: [{
3063
+ type: Input
3064
+ }], spellcheck: [{
3065
+ type: Input
3066
+ }], ariaLabel: [{
3067
+ type: Input
3068
+ }] } });
3069
+
3070
+ class ArkToasterComponent {
3071
+ constructor() {
3072
+ this.theme = "auto";
3073
+ this.position = "bottom-right";
3074
+ this.richColors = false;
3075
+ this.closeButton = true;
3076
+ this.maxVisible = 4;
3077
+ this.duration = 4000;
3078
+ ensureTooarkComponentsRegistered();
3079
+ }
3080
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkToasterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3081
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkToasterComponent, isStandalone: true, selector: "ark-toaster-wrapper", inputs: { testid: "testid", theme: "theme", position: "position", richColors: "richColors", closeButton: "closeButton", maxVisible: "maxVisible", duration: "duration" }, ngImport: i0, template: `
3082
+ <ark-toaster
3083
+ [attr.testid]="testid"
3084
+ [attr.theme]="theme"
3085
+ [attr.position]="position"
3086
+ [attr.max-visible]="maxVisible"
3087
+ [attr.duration]="duration"
3088
+ [attr.rich-colors]="richColors ? '' : null"
3089
+ [attr.close-button]="closeButton ? null : 'false'">
3090
+ </ark-toaster>`, isInline: true }); }
3091
+ }
3092
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkToasterComponent, decorators: [{
3093
+ type: Component,
3094
+ args: [{
3095
+ selector: "ark-toaster-wrapper",
3096
+ standalone: true,
3097
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
3098
+ template: `
3099
+ <ark-toaster
3100
+ [attr.testid]="testid"
3101
+ [attr.theme]="theme"
3102
+ [attr.position]="position"
3103
+ [attr.max-visible]="maxVisible"
3104
+ [attr.duration]="duration"
3105
+ [attr.rich-colors]="richColors ? '' : null"
3106
+ [attr.close-button]="closeButton ? null : 'false'">
3107
+ </ark-toaster>`
3108
+ }]
3109
+ }], ctorParameters: () => [], propDecorators: { testid: [{
3110
+ type: Input
3111
+ }], theme: [{
3112
+ type: Input
3113
+ }], position: [{
3114
+ type: Input
3115
+ }], richColors: [{
3116
+ type: Input
3117
+ }], closeButton: [{
3118
+ type: Input
3119
+ }], maxVisible: [{
3120
+ type: Input
3121
+ }], duration: [{
3122
+ type: Input
3123
+ }] } });
3124
+
3125
+ class ArkToggleComponent {
3126
+ constructor() {
3127
+ this.pressed = false;
3128
+ this.disabled = false;
3129
+ this.intent = "primary";
3130
+ this.theme = "auto";
3131
+ this.size = "md";
3132
+ this.changed = new EventEmitter();
3133
+ ensureTooarkComponentsRegistered();
3134
+ }
3135
+ onChange(event) {
3136
+ this.changed.emit(event);
3137
+ }
3138
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3139
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkToggleComponent, isStandalone: true, selector: "ark-toggle-wrapper", inputs: { testid: "testid", pressed: "pressed", disabled: "disabled", intent: "intent", theme: "theme", size: "size", value: "value" }, outputs: { changed: "changed" }, ngImport: i0, template: `
3140
+ <ark-toggle
3141
+ [attr.testid]="testid"
3142
+ [attr.pressed]="pressed ? '' : null"
3143
+ [attr.disabled]="disabled ? '' : null"
3144
+ [attr.intent]="intent"
3145
+ [attr.theme]="theme"
3146
+ [attr.size]="size"
3147
+ [attr.value]="value"
3148
+ (change)="onChange($event)">
3149
+ <ng-content></ng-content>
3150
+ </ark-toggle>`, isInline: true }); }
3151
+ }
3152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkToggleComponent, decorators: [{
3153
+ type: Component,
3154
+ args: [{
3155
+ selector: "ark-toggle-wrapper",
3156
+ standalone: true,
3157
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
3158
+ template: `
3159
+ <ark-toggle
3160
+ [attr.testid]="testid"
3161
+ [attr.pressed]="pressed ? '' : null"
3162
+ [attr.disabled]="disabled ? '' : null"
3163
+ [attr.intent]="intent"
3164
+ [attr.theme]="theme"
3165
+ [attr.size]="size"
3166
+ [attr.value]="value"
3167
+ (change)="onChange($event)">
3168
+ <ng-content></ng-content>
3169
+ </ark-toggle>`
3170
+ }]
3171
+ }], ctorParameters: () => [], propDecorators: { testid: [{
3172
+ type: Input
3173
+ }], pressed: [{
3174
+ type: Input
3175
+ }], disabled: [{
3176
+ type: Input
3177
+ }], intent: [{
3178
+ type: Input
3179
+ }], theme: [{
3180
+ type: Input
3181
+ }], size: [{
3182
+ type: Input
3183
+ }], value: [{
3184
+ type: Input
3185
+ }], changed: [{
3186
+ type: Output
3187
+ }] } });
3188
+ class ArkToggleGroupComponent {
3189
+ constructor() {
3190
+ this.multiple = false;
3191
+ this.disabled = false;
3192
+ this.changed = new EventEmitter();
3193
+ ensureTooarkComponentsRegistered();
3194
+ }
3195
+ onChange(event) {
3196
+ this.changed.emit(event);
3197
+ }
3198
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkToggleGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3199
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkToggleGroupComponent, isStandalone: true, selector: "ark-toggle-group-wrapper", inputs: { testid: "testid", value: "value", multiple: "multiple", disabled: "disabled", intent: "intent", theme: "theme", size: "size" }, outputs: { changed: "changed" }, ngImport: i0, template: `
3200
+ <ark-toggle-group
3201
+ [attr.testid]="testid"
3202
+ [attr.value]="value"
3203
+ [attr.multiple]="multiple ? '' : null"
3204
+ [attr.disabled]="disabled ? '' : null"
3205
+ [attr.intent]="intent"
3206
+ [attr.theme]="theme"
3207
+ [attr.size]="size"
3208
+ (change)="onChange($event)">
3209
+ <ng-content></ng-content>
3210
+ </ark-toggle-group>`, isInline: true }); }
3211
+ }
3212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkToggleGroupComponent, decorators: [{
3213
+ type: Component,
3214
+ args: [{
3215
+ selector: "ark-toggle-group-wrapper",
3216
+ standalone: true,
3217
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
3218
+ template: `
3219
+ <ark-toggle-group
3220
+ [attr.testid]="testid"
3221
+ [attr.value]="value"
3222
+ [attr.multiple]="multiple ? '' : null"
3223
+ [attr.disabled]="disabled ? '' : null"
3224
+ [attr.intent]="intent"
3225
+ [attr.theme]="theme"
3226
+ [attr.size]="size"
3227
+ (change)="onChange($event)">
3228
+ <ng-content></ng-content>
3229
+ </ark-toggle-group>`
3230
+ }]
3231
+ }], ctorParameters: () => [], propDecorators: { testid: [{
3232
+ type: Input
3233
+ }], value: [{
3234
+ type: Input
3235
+ }], multiple: [{
3236
+ type: Input
3237
+ }], disabled: [{
3238
+ type: Input
3239
+ }], intent: [{
3240
+ type: Input
3241
+ }], theme: [{
3242
+ type: Input
3243
+ }], size: [{
3244
+ type: Input
3245
+ }], changed: [{
3246
+ type: Output
3247
+ }] } });
3248
+
3249
+ class ArkTooltipComponent {
3250
+ constructor() {
3251
+ /** Lado do gatilho; vira quando não cabe. Padrão: "top". */
3252
+ this.side = "top";
3253
+ /** Aberto; refletido do estado do balão. */
3254
+ this.open = false;
3255
+ this.theme = "auto";
3256
+ ensureTooarkComponentsRegistered();
3257
+ }
3258
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3259
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: ArkTooltipComponent, isStandalone: true, selector: "ark-tooltip-wrapper", inputs: { testid: "testid", content: "content", side: "side", delay: "delay", open: "open", theme: "theme" }, ngImport: i0, template: `
3260
+ <ark-tooltip
3261
+ [attr.testid]="testid"
3262
+ [attr.content]="content"
3263
+ [attr.side]="side"
3264
+ [attr.delay]="delay"
3265
+ [attr.open]="open ? '' : null"
3266
+ [attr.theme]="theme">
3267
+ <ng-content></ng-content>
3268
+ </ark-tooltip>`, isInline: true }); }
3269
+ }
3270
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: ArkTooltipComponent, decorators: [{
3271
+ type: Component,
3272
+ args: [{
3273
+ selector: "ark-tooltip-wrapper",
3274
+ standalone: true,
3275
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
3276
+ template: `
3277
+ <ark-tooltip
3278
+ [attr.testid]="testid"
3279
+ [attr.content]="content"
3280
+ [attr.side]="side"
3281
+ [attr.delay]="delay"
3282
+ [attr.open]="open ? '' : null"
3283
+ [attr.theme]="theme">
3284
+ <ng-content></ng-content>
3285
+ </ark-tooltip>`
3286
+ }]
3287
+ }], ctorParameters: () => [], propDecorators: { testid: [{
3288
+ type: Input
3289
+ }], content: [{
3290
+ type: Input
3291
+ }], side: [{
3292
+ type: Input
3293
+ }], delay: [{
3294
+ type: Input
3295
+ }], open: [{
3296
+ type: Input
3297
+ }], theme: [{
3298
+ type: Input
3299
+ }] } });
3300
+
3301
+ /**
3302
+ * Generated bundle index. Do not edit.
3303
+ */
3304
+
3305
+ export { ArkAlertComponent, ArkAvatarComponent, ArkBadgeComponent, ArkButtonComponent, ArkCalendarComponent, ArkCardComponent, ArkCarouselComponent, ArkCheckboxComponent, ArkClockComponent, ArkColorSwatchesComponent, ArkCommandItemComponent, ArkCommandPaletteComponent, ArkCopyButtonComponent, ArkDatepickerComponent, ArkDialogComponent, ArkDrawerComponent, ArkEmptyComponent, ArkFileInputComponent, ArkInputComponent, ArkKbdComponent, ArkKvEditorComponent, ArkMarkComponent, ArkMenuComponent, ArkMenuItemComponent, ArkProgressComponent, ArkRadioComponent, ArkSchedulerComponent, ArkSelectComponent, ArkShapePickerComponent, ArkSkeletonComponent, ArkSpinnerComponent, ArkSplitPaneComponent, ArkStatusDotComponent, ArkSwitchComponent, ArkTabComponent, ArkTabsComponent, ArkTextareaComponent, ArkToasterComponent, ArkToggleComponent, ArkToggleGroupComponent, ArkTooltipComponent };
3306
+ //# sourceMappingURL=tooark-angular.mjs.map