@abgov/angular-components 4.10.0 → 4.11.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/abgov-angular-components.mjs +3127 -110
- package/fesm2022/abgov-angular-components.mjs.map +1 -1
- package/index.d.ts +766 -70
- package/package.json +1 -1
|
@@ -210,11 +210,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
210
210
|
}]
|
|
211
211
|
}] });
|
|
212
212
|
|
|
213
|
-
class GoabBaseComponent {
|
|
213
|
+
let GoabBaseComponent$1 = class GoabBaseComponent {
|
|
214
214
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
215
215
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabBaseComponent, isStandalone: true, selector: "ng-component", inputs: { mt: "mt", mb: "mb", ml: "ml", mr: "mr", testId: "testId" }, ngImport: i0, template: ``, isInline: true }); }
|
|
216
|
-
}
|
|
217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabBaseComponent, decorators: [{
|
|
216
|
+
};
|
|
217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabBaseComponent$1, decorators: [{
|
|
218
218
|
type: Component,
|
|
219
219
|
args: [{
|
|
220
220
|
standalone: true,
|
|
@@ -278,7 +278,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
278
278
|
* - `fcChange?`: A function to handle changes in the form control value.
|
|
279
279
|
* - `fcTouched?`: A function to handle touch events on the form control.
|
|
280
280
|
*/
|
|
281
|
-
class GoabControlValueAccessor extends GoabBaseComponent {
|
|
281
|
+
let GoabControlValueAccessor$1 = class GoabControlValueAccessor extends GoabBaseComponent$1 {
|
|
282
282
|
/**
|
|
283
283
|
* Marks the component as touched. If the component is not already marked as touched,
|
|
284
284
|
* it triggers the `fcTouched` callback (if defined) and sets the `touched` property to `true`.
|
|
@@ -342,8 +342,8 @@ class GoabControlValueAccessor extends GoabBaseComponent {
|
|
|
342
342
|
}
|
|
343
343
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabControlValueAccessor, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
344
344
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabControlValueAccessor, isStandalone: true, selector: "ng-component", inputs: { id: "id", disabled: ["disabled", "disabled", booleanAttribute], error: ["error", "error", booleanAttribute], value: "value" }, viewQueries: [{ propertyName: "goaComponentRef", first: true, predicate: ["goaComponentRef"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
345
|
-
}
|
|
346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabControlValueAccessor, decorators: [{
|
|
345
|
+
};
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabControlValueAccessor$1, decorators: [{
|
|
347
347
|
type: Component,
|
|
348
348
|
args: [{
|
|
349
349
|
standalone: true,
|
|
@@ -364,7 +364,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
364
364
|
args: ["goaComponentRef", { static: false, read: ElementRef }]
|
|
365
365
|
}] } });
|
|
366
366
|
|
|
367
|
-
class GoabAccordion extends GoabBaseComponent {
|
|
367
|
+
class GoabAccordion extends GoabBaseComponent$1 {
|
|
368
368
|
constructor(cdr) {
|
|
369
369
|
super();
|
|
370
370
|
this.cdr = cdr;
|
|
@@ -456,7 +456,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
456
456
|
type: Output
|
|
457
457
|
}] } });
|
|
458
458
|
|
|
459
|
-
class GoabBadge extends GoabBaseComponent {
|
|
459
|
+
class GoabBadge extends GoabBaseComponent$1 {
|
|
460
460
|
constructor(cdr) {
|
|
461
461
|
super();
|
|
462
462
|
this.cdr = cdr;
|
|
@@ -519,7 +519,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
519
519
|
type: Input
|
|
520
520
|
}] } });
|
|
521
521
|
|
|
522
|
-
class GoabBlock extends GoabBaseComponent {
|
|
522
|
+
class GoabBlock extends GoabBaseComponent$1 {
|
|
523
523
|
constructor(cdr) {
|
|
524
524
|
super();
|
|
525
525
|
this.cdr = cdr;
|
|
@@ -593,7 +593,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
593
593
|
type: Input
|
|
594
594
|
}] } });
|
|
595
595
|
|
|
596
|
-
class GoabButton extends GoabBaseComponent {
|
|
596
|
+
class GoabButton extends GoabBaseComponent$1 {
|
|
597
597
|
constructor(cdr) {
|
|
598
598
|
super();
|
|
599
599
|
this.cdr = cdr;
|
|
@@ -694,7 +694,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
694
694
|
type: Output
|
|
695
695
|
}] } });
|
|
696
696
|
|
|
697
|
-
class GoabButtonGroup extends GoabBaseComponent {
|
|
697
|
+
class GoabButtonGroup extends GoabBaseComponent$1 {
|
|
698
698
|
constructor(cdr) {
|
|
699
699
|
super();
|
|
700
700
|
this.cdr = cdr;
|
|
@@ -752,7 +752,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
752
752
|
type: Input
|
|
753
753
|
}] } });
|
|
754
754
|
|
|
755
|
-
class GoabCalendar extends GoabBaseComponent {
|
|
755
|
+
class GoabCalendar extends GoabBaseComponent$1 {
|
|
756
756
|
constructor(cdr) {
|
|
757
757
|
super();
|
|
758
758
|
this.cdr = cdr;
|
|
@@ -827,7 +827,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
827
827
|
type: Output
|
|
828
828
|
}] } });
|
|
829
829
|
|
|
830
|
-
class GoabCallout extends GoabBaseComponent {
|
|
830
|
+
class GoabCallout extends GoabBaseComponent$1 {
|
|
831
831
|
constructor(cdr) {
|
|
832
832
|
super();
|
|
833
833
|
this.cdr = cdr;
|
|
@@ -906,7 +906,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
906
906
|
type: Input
|
|
907
907
|
}] } });
|
|
908
908
|
|
|
909
|
-
class GoabCard extends GoabBaseComponent {
|
|
909
|
+
class GoabCard extends GoabBaseComponent$1 {
|
|
910
910
|
constructor(cdr) {
|
|
911
911
|
super();
|
|
912
912
|
this.cdr = cdr;
|
|
@@ -1084,7 +1084,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1084
1084
|
args: [{ required: true }]
|
|
1085
1085
|
}] } });
|
|
1086
1086
|
|
|
1087
|
-
class GoabCheckbox extends GoabControlValueAccessor {
|
|
1087
|
+
class GoabCheckbox extends GoabControlValueAccessor$1 {
|
|
1088
1088
|
constructor(cdr, renderer) {
|
|
1089
1089
|
super(renderer);
|
|
1090
1090
|
this.cdr = cdr;
|
|
@@ -1232,7 +1232,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1232
1232
|
type: Output
|
|
1233
1233
|
}] } });
|
|
1234
1234
|
|
|
1235
|
-
class GoabCheckboxList extends GoabControlValueAccessor {
|
|
1235
|
+
class GoabCheckboxList extends GoabControlValueAccessor$1 {
|
|
1236
1236
|
constructor(cdr, renderer) {
|
|
1237
1237
|
super(renderer);
|
|
1238
1238
|
this.cdr = cdr;
|
|
@@ -1338,7 +1338,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1338
1338
|
type: Output
|
|
1339
1339
|
}] } });
|
|
1340
1340
|
|
|
1341
|
-
class GoabChip extends GoabBaseComponent {
|
|
1341
|
+
class GoabChip extends GoabBaseComponent$1 {
|
|
1342
1342
|
constructor(cdr) {
|
|
1343
1343
|
super();
|
|
1344
1344
|
this.cdr = cdr;
|
|
@@ -1518,7 +1518,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1518
1518
|
}]
|
|
1519
1519
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }] });
|
|
1520
1520
|
|
|
1521
|
-
class GoabContainer extends GoabBaseComponent {
|
|
1521
|
+
class GoabContainer extends GoabBaseComponent$1 {
|
|
1522
1522
|
constructor(cdr) {
|
|
1523
1523
|
super();
|
|
1524
1524
|
this.cdr = cdr;
|
|
@@ -1537,7 +1537,7 @@ class GoabContainer extends GoabBaseComponent {
|
|
|
1537
1537
|
}, 0);
|
|
1538
1538
|
}
|
|
1539
1539
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabContainer, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1540
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1540
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: GoabContainer, isStandalone: true, selector: "goab-container", inputs: { type: "type", accent: "accent", padding: "padding", width: "width", maxWidth: "maxWidth", minHeight: "minHeight", maxHeight: "maxHeight", title: "title", actions: "actions" }, usesInheritance: true, ngImport: i0, template: `<goa-container
|
|
1541
1541
|
*ngIf="isReady"
|
|
1542
1542
|
[attr.type]="type"
|
|
1543
1543
|
[attr.accent]="accent"
|
|
@@ -1552,13 +1552,17 @@ class GoabContainer extends GoabBaseComponent {
|
|
|
1552
1552
|
[attr.ml]="ml"
|
|
1553
1553
|
[attr.mr]="mr"
|
|
1554
1554
|
>
|
|
1555
|
-
|
|
1556
|
-
<
|
|
1557
|
-
|
|
1555
|
+
@if (title) {
|
|
1556
|
+
<div slot="title">
|
|
1557
|
+
<ng-container [ngTemplateOutlet]="title"></ng-container>
|
|
1558
|
+
</div>
|
|
1559
|
+
}
|
|
1558
1560
|
<ng-content />
|
|
1559
|
-
|
|
1560
|
-
<
|
|
1561
|
-
|
|
1561
|
+
@if (actions) {
|
|
1562
|
+
<div slot="actions">
|
|
1563
|
+
<ng-container [ngTemplateOutlet]="actions"></ng-container>
|
|
1564
|
+
</div>
|
|
1565
|
+
}
|
|
1562
1566
|
</goa-container>`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
1563
1567
|
}
|
|
1564
1568
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabContainer, decorators: [{
|
|
@@ -1582,13 +1586,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1582
1586
|
[attr.ml]="ml"
|
|
1583
1587
|
[attr.mr]="mr"
|
|
1584
1588
|
>
|
|
1585
|
-
|
|
1586
|
-
<
|
|
1587
|
-
|
|
1589
|
+
@if (title) {
|
|
1590
|
+
<div slot="title">
|
|
1591
|
+
<ng-container [ngTemplateOutlet]="title"></ng-container>
|
|
1592
|
+
</div>
|
|
1593
|
+
}
|
|
1588
1594
|
<ng-content />
|
|
1589
|
-
|
|
1590
|
-
<
|
|
1591
|
-
|
|
1595
|
+
@if (actions) {
|
|
1596
|
+
<div slot="actions">
|
|
1597
|
+
<ng-container [ngTemplateOutlet]="actions"></ng-container>
|
|
1598
|
+
</div>
|
|
1599
|
+
}
|
|
1592
1600
|
</goa-container>`,
|
|
1593
1601
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1594
1602
|
}]
|
|
@@ -1666,7 +1674,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1666
1674
|
args: [{ required: true }]
|
|
1667
1675
|
}] } });
|
|
1668
1676
|
|
|
1669
|
-
class GoabDatePicker extends GoabControlValueAccessor {
|
|
1677
|
+
class GoabDatePicker extends GoabControlValueAccessor$1 {
|
|
1670
1678
|
formatValue(val) {
|
|
1671
1679
|
if (!val)
|
|
1672
1680
|
return "";
|
|
@@ -1802,7 +1810,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1802
1810
|
args: ["disabledChange", ["$event.detail.disabled"]]
|
|
1803
1811
|
}] } });
|
|
1804
1812
|
|
|
1805
|
-
class GoabDetails extends GoabBaseComponent {
|
|
1813
|
+
class GoabDetails extends GoabBaseComponent$1 {
|
|
1806
1814
|
constructor(cdr) {
|
|
1807
1815
|
super();
|
|
1808
1816
|
this.cdr = cdr;
|
|
@@ -1866,7 +1874,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1866
1874
|
type: Input
|
|
1867
1875
|
}] } });
|
|
1868
1876
|
|
|
1869
|
-
class GoabDivider extends GoabBaseComponent {
|
|
1877
|
+
class GoabDivider extends GoabBaseComponent$1 {
|
|
1870
1878
|
constructor(cdr) {
|
|
1871
1879
|
super();
|
|
1872
1880
|
this.cdr = cdr;
|
|
@@ -2006,7 +2014,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2006
2014
|
}] } });
|
|
2007
2015
|
|
|
2008
2016
|
// "disabled", "value", "id" is an exposed property of HTMLInputElement, no need to bind with attr
|
|
2009
|
-
class GoabDropdown extends GoabControlValueAccessor {
|
|
2017
|
+
class GoabDropdown extends GoabControlValueAccessor$1 {
|
|
2010
2018
|
constructor(cdr, renderer) {
|
|
2011
2019
|
super(renderer);
|
|
2012
2020
|
this.cdr = cdr;
|
|
@@ -2280,7 +2288,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2280
2288
|
type: Output
|
|
2281
2289
|
}] } });
|
|
2282
2290
|
|
|
2283
|
-
class GoabFileUploadInput extends GoabBaseComponent {
|
|
2291
|
+
class GoabFileUploadInput extends GoabBaseComponent$1 {
|
|
2284
2292
|
constructor(cdr) {
|
|
2285
2293
|
super();
|
|
2286
2294
|
this.cdr = cdr;
|
|
@@ -2352,7 +2360,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2352
2360
|
type: Output
|
|
2353
2361
|
}] } });
|
|
2354
2362
|
|
|
2355
|
-
class GoabFilterChip extends GoabBaseComponent {
|
|
2363
|
+
class GoabFilterChip extends GoabBaseComponent$1 {
|
|
2356
2364
|
constructor(cdr) {
|
|
2357
2365
|
super();
|
|
2358
2366
|
this.cdr = cdr;
|
|
@@ -2622,7 +2630,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2622
2630
|
type: Output
|
|
2623
2631
|
}] } });
|
|
2624
2632
|
|
|
2625
|
-
class GoabPublicFormPage extends GoabBaseComponent {
|
|
2633
|
+
class GoabPublicFormPage extends GoabBaseComponent$1 {
|
|
2626
2634
|
constructor() {
|
|
2627
2635
|
super(...arguments);
|
|
2628
2636
|
this.id = "";
|
|
@@ -2741,7 +2749,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2741
2749
|
type: Input
|
|
2742
2750
|
}] } });
|
|
2743
2751
|
|
|
2744
|
-
class GoabPublicSubform extends GoabBaseComponent {
|
|
2752
|
+
class GoabPublicSubform extends GoabBaseComponent$1 {
|
|
2745
2753
|
constructor() {
|
|
2746
2754
|
super(...arguments);
|
|
2747
2755
|
this.id = "";
|
|
@@ -2807,7 +2815,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2807
2815
|
type: Output
|
|
2808
2816
|
}] } });
|
|
2809
2817
|
|
|
2810
|
-
class GoabPublicSubformIndex extends GoabBaseComponent {
|
|
2818
|
+
class GoabPublicSubformIndex extends GoabBaseComponent$1 {
|
|
2811
2819
|
constructor() {
|
|
2812
2820
|
super(...arguments);
|
|
2813
2821
|
this.heading = "";
|
|
@@ -2893,7 +2901,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2893
2901
|
type: Input
|
|
2894
2902
|
}] } });
|
|
2895
2903
|
|
|
2896
|
-
class GoabPublicFormTaskList extends GoabBaseComponent {
|
|
2904
|
+
class GoabPublicFormTaskList extends GoabBaseComponent$1 {
|
|
2897
2905
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabPublicFormTaskList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2898
2906
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabPublicFormTaskList, isStandalone: true, selector: "goab-public-form-task-list", inputs: { heading: "heading" }, usesInheritance: true, ngImport: i0, template: `
|
|
2899
2907
|
<goa-public-form-task-list
|
|
@@ -2975,7 +2983,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2975
2983
|
type: Output
|
|
2976
2984
|
}] } });
|
|
2977
2985
|
|
|
2978
|
-
class GoabFormItem extends GoabBaseComponent {
|
|
2986
|
+
class GoabFormItem extends GoabBaseComponent$1 {
|
|
2979
2987
|
constructor(cdr) {
|
|
2980
2988
|
super();
|
|
2981
2989
|
this.cdr = cdr;
|
|
@@ -3124,7 +3132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
3124
3132
|
type: Input
|
|
3125
3133
|
}] } });
|
|
3126
3134
|
|
|
3127
|
-
class GoabFormStepper extends GoabBaseComponent {
|
|
3135
|
+
class GoabFormStepper extends GoabBaseComponent$1 {
|
|
3128
3136
|
constructor(cdr) {
|
|
3129
3137
|
super();
|
|
3130
3138
|
this.cdr = cdr;
|
|
@@ -3186,7 +3194,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
3186
3194
|
type: Output
|
|
3187
3195
|
}] } });
|
|
3188
3196
|
|
|
3189
|
-
class GoabGrid extends GoabBaseComponent {
|
|
3197
|
+
class GoabGrid extends GoabBaseComponent$1 {
|
|
3190
3198
|
constructor(cdr) {
|
|
3191
3199
|
super();
|
|
3192
3200
|
this.cdr = cdr;
|
|
@@ -3433,7 +3441,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
3433
3441
|
type: Input
|
|
3434
3442
|
}] } });
|
|
3435
3443
|
|
|
3436
|
-
class GoabIcon extends GoabBaseComponent {
|
|
3444
|
+
class GoabIcon extends GoabBaseComponent$1 {
|
|
3437
3445
|
constructor(cdr) {
|
|
3438
3446
|
super();
|
|
3439
3447
|
this.cdr = cdr;
|
|
@@ -3510,7 +3518,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
3510
3518
|
type: Input
|
|
3511
3519
|
}] } });
|
|
3512
3520
|
|
|
3513
|
-
class GoabIconButton extends GoabBaseComponent {
|
|
3521
|
+
class GoabIconButton extends GoabBaseComponent$1 {
|
|
3514
3522
|
constructor(cdr) {
|
|
3515
3523
|
super();
|
|
3516
3524
|
this.cdr = cdr;
|
|
@@ -3606,7 +3614,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
3606
3614
|
type: Output
|
|
3607
3615
|
}] } });
|
|
3608
3616
|
|
|
3609
|
-
class GoabInput extends GoabControlValueAccessor {
|
|
3617
|
+
class GoabInput extends GoabControlValueAccessor$1 {
|
|
3610
3618
|
constructor(cdr, renderer) {
|
|
3611
3619
|
super(renderer);
|
|
3612
3620
|
this.cdr = cdr;
|
|
@@ -4759,7 +4767,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
4759
4767
|
type: Input
|
|
4760
4768
|
}] } });
|
|
4761
4769
|
|
|
4762
|
-
class GoabPages extends GoabBaseComponent {
|
|
4770
|
+
class GoabPages extends GoabBaseComponent$1 {
|
|
4763
4771
|
constructor(cdr) {
|
|
4764
4772
|
super();
|
|
4765
4773
|
this.cdr = cdr;
|
|
@@ -4810,7 +4818,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
4810
4818
|
args: [{ transform: numberAttribute }]
|
|
4811
4819
|
}] } });
|
|
4812
4820
|
|
|
4813
|
-
class GoabPagination extends GoabBaseComponent {
|
|
4821
|
+
class GoabPagination extends GoabBaseComponent$1 {
|
|
4814
4822
|
constructor(cdr) {
|
|
4815
4823
|
super();
|
|
4816
4824
|
this.cdr = cdr;
|
|
@@ -4885,7 +4893,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
4885
4893
|
type: Output
|
|
4886
4894
|
}] } });
|
|
4887
4895
|
|
|
4888
|
-
class GoabPopover extends GoabBaseComponent {
|
|
4896
|
+
class GoabPopover extends GoabBaseComponent$1 {
|
|
4889
4897
|
constructor(cdr) {
|
|
4890
4898
|
super();
|
|
4891
4899
|
this.cdr = cdr;
|
|
@@ -4964,7 +4972,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
4964
4972
|
args: [{ required: true }]
|
|
4965
4973
|
}] } });
|
|
4966
4974
|
|
|
4967
|
-
class GoabRadioGroup extends GoabControlValueAccessor {
|
|
4975
|
+
class GoabRadioGroup extends GoabControlValueAccessor$1 {
|
|
4968
4976
|
constructor(cdr, renderer) {
|
|
4969
4977
|
super(renderer);
|
|
4970
4978
|
this.cdr = cdr;
|
|
@@ -5058,7 +5066,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5058
5066
|
type: Output
|
|
5059
5067
|
}] } });
|
|
5060
5068
|
|
|
5061
|
-
class GoabRadioItem extends GoabBaseComponent {
|
|
5069
|
+
class GoabRadioItem extends GoabBaseComponent$1 {
|
|
5062
5070
|
constructor(cdr) {
|
|
5063
5071
|
super();
|
|
5064
5072
|
this.cdr = cdr;
|
|
@@ -5214,7 +5222,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5214
5222
|
type: Input
|
|
5215
5223
|
}] } });
|
|
5216
5224
|
|
|
5217
|
-
class GoabSideMenuGroup extends GoabBaseComponent {
|
|
5225
|
+
class GoabSideMenuGroup extends GoabBaseComponent$1 {
|
|
5218
5226
|
constructor(cdr) {
|
|
5219
5227
|
super();
|
|
5220
5228
|
this.cdr = cdr;
|
|
@@ -5316,7 +5324,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5316
5324
|
type: Input
|
|
5317
5325
|
}] } });
|
|
5318
5326
|
|
|
5319
|
-
class GoabSkeleton extends GoabBaseComponent {
|
|
5327
|
+
class GoabSkeleton extends GoabBaseComponent$1 {
|
|
5320
5328
|
constructor(cdr) {
|
|
5321
5329
|
super();
|
|
5322
5330
|
this.cdr = cdr;
|
|
@@ -5448,13 +5456,19 @@ class GoabTab {
|
|
|
5448
5456
|
return this.heading instanceof TemplateRef ? this.heading : null;
|
|
5449
5457
|
}
|
|
5450
5458
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabTab, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5451
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5452
|
-
<goa-tab
|
|
5459
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: GoabTab, isStandalone: true, selector: "goab-tab", inputs: { heading: "heading", disabled: ["disabled", "disabled", booleanAttribute], slug: "slug" }, ngImport: i0, template: `
|
|
5460
|
+
<goa-tab
|
|
5461
|
+
*ngIf="isReady"
|
|
5462
|
+
[attr.slug]="slug"
|
|
5463
|
+
[attr.disabled]="disabled || null"
|
|
5464
|
+
[attr.heading]="getHeadingAsString()"
|
|
5465
|
+
>
|
|
5453
5466
|
<ng-content />
|
|
5454
|
-
|
|
5455
|
-
<
|
|
5456
|
-
|
|
5457
|
-
|
|
5467
|
+
@if (typeof heading !== "string") {
|
|
5468
|
+
<div slot="heading">
|
|
5469
|
+
<ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
|
|
5470
|
+
</div>
|
|
5471
|
+
}
|
|
5458
5472
|
</goa-tab>
|
|
5459
5473
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
5460
5474
|
}
|
|
@@ -5464,25 +5478,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5464
5478
|
standalone: true,
|
|
5465
5479
|
selector: "goab-tab",
|
|
5466
5480
|
template: `
|
|
5467
|
-
<goa-tab
|
|
5481
|
+
<goa-tab
|
|
5482
|
+
*ngIf="isReady"
|
|
5483
|
+
[attr.slug]="slug"
|
|
5484
|
+
[attr.disabled]="disabled || null"
|
|
5485
|
+
[attr.heading]="getHeadingAsString()"
|
|
5486
|
+
>
|
|
5468
5487
|
<ng-content />
|
|
5469
|
-
|
|
5470
|
-
<
|
|
5471
|
-
|
|
5472
|
-
|
|
5488
|
+
@if (typeof heading !== "string") {
|
|
5489
|
+
<div slot="heading">
|
|
5490
|
+
<ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
|
|
5491
|
+
</div>
|
|
5492
|
+
}
|
|
5473
5493
|
</goa-tab>
|
|
5474
5494
|
`,
|
|
5475
5495
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
5476
|
-
imports: [NgTemplateOutlet, CommonModule]
|
|
5496
|
+
imports: [NgTemplateOutlet, CommonModule],
|
|
5477
5497
|
}]
|
|
5478
5498
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
|
|
5479
5499
|
type: Input
|
|
5480
5500
|
}], disabled: [{
|
|
5481
5501
|
type: Input,
|
|
5482
5502
|
args: [{ transform: booleanAttribute }]
|
|
5503
|
+
}], slug: [{
|
|
5504
|
+
type: Input
|
|
5483
5505
|
}] } });
|
|
5484
5506
|
|
|
5485
|
-
class GoabTable extends GoabBaseComponent {
|
|
5507
|
+
class GoabTable extends GoabBaseComponent$1 {
|
|
5486
5508
|
constructor(cdr) {
|
|
5487
5509
|
super();
|
|
5488
5510
|
this.cdr = cdr;
|
|
@@ -5788,7 +5810,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5788
5810
|
type: Input
|
|
5789
5811
|
}] } });
|
|
5790
5812
|
|
|
5791
|
-
class GoabTextArea extends GoabControlValueAccessor {
|
|
5813
|
+
class GoabTextArea extends GoabControlValueAccessor$1 {
|
|
5792
5814
|
constructor(cdr, renderer) {
|
|
5793
5815
|
super(renderer);
|
|
5794
5816
|
this.cdr = cdr;
|
|
@@ -5933,7 +5955,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5933
5955
|
type: Output
|
|
5934
5956
|
}] } });
|
|
5935
5957
|
|
|
5936
|
-
class GoabTooltip extends GoabBaseComponent {
|
|
5958
|
+
class GoabTooltip extends GoabBaseComponent$1 {
|
|
5937
5959
|
constructor(cdr) {
|
|
5938
5960
|
super();
|
|
5939
5961
|
this.cdr = cdr;
|
|
@@ -6019,11 +6041,168 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6019
6041
|
type: Input
|
|
6020
6042
|
}] } });
|
|
6021
6043
|
|
|
6022
|
-
class
|
|
6044
|
+
class GoabBaseComponent {
|
|
6045
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6046
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabBaseComponent, isStandalone: true, selector: "ng-component", inputs: { mt: "mt", mb: "mb", ml: "ml", mr: "mr", testId: "testId" }, ngImport: i0, template: ``, isInline: true }); }
|
|
6047
|
+
}
|
|
6048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabBaseComponent, decorators: [{
|
|
6049
|
+
type: Component,
|
|
6050
|
+
args: [{
|
|
6051
|
+
standalone: true,
|
|
6052
|
+
template: ``, //** IMPLEMENT IN SUBCLASS
|
|
6053
|
+
}]
|
|
6054
|
+
}], propDecorators: { mt: [{
|
|
6055
|
+
type: Input
|
|
6056
|
+
}], mb: [{
|
|
6057
|
+
type: Input
|
|
6058
|
+
}], ml: [{
|
|
6059
|
+
type: Input
|
|
6060
|
+
}], mr: [{
|
|
6061
|
+
type: Input
|
|
6062
|
+
}], testId: [{
|
|
6063
|
+
type: Input
|
|
6064
|
+
}] } });
|
|
6065
|
+
/**
|
|
6066
|
+
* An abstract base class that extends `GoabBaseComponent` and implements the `ControlValueAccessor` interface.
|
|
6067
|
+
* This class provides a foundation for creating custom form controls in Angular, enabling them to integrate
|
|
6068
|
+
* seamlessly with Angular forms. It includes support for handling value changes, touch events, and disabled states.
|
|
6069
|
+
*
|
|
6070
|
+
* ## Features
|
|
6071
|
+
* - Supports `disabled="true"` and `error="true` attribute bindings for convenience.
|
|
6072
|
+
* - Handles form control value changes and touch events via `ControlValueAccessor` methods.
|
|
6073
|
+
* - Allows for flexible value types (`unknown`), making it suitable for various data types like integers, dates, or booleans.
|
|
6074
|
+
* - Uses ViewChild to capture a reference to the native GOA web component element via `#goaComponentRef`.
|
|
6075
|
+
* - Uses Renderer2 for safe DOM manipulation (compatible with SSR and security best practices).
|
|
6076
|
+
*
|
|
6077
|
+
* ## Usage
|
|
6078
|
+
* Extend this class to create custom form controls. Child components must:
|
|
6079
|
+
* 1. Add `#goaComponentRef` template reference to their `goa-*` element in the template
|
|
6080
|
+
* 2. Inject `Renderer2` in their constructor and pass it to `super(renderer)`
|
|
6081
|
+
*
|
|
6082
|
+
* ### Example:
|
|
6083
|
+
* ```typescript
|
|
6084
|
+
* @Component({
|
|
6085
|
+
* template: `<goa-input #goaComponentRef [value]="value" ...></goa-input>`
|
|
6086
|
+
* })
|
|
6087
|
+
* export class GoabInput extends GoabControlValueAccessor {
|
|
6088
|
+
* constructor(private cdr: ChangeDetectorRef, renderer: Renderer2) {
|
|
6089
|
+
* super(renderer); // Required: pass Renderer2 to base class
|
|
6090
|
+
* }
|
|
6091
|
+
* }
|
|
6092
|
+
* ```
|
|
6093
|
+
*
|
|
6094
|
+
* ## Properties
|
|
6095
|
+
* - `id?`: An optional identifier for the component.
|
|
6096
|
+
* - `disabled?`: A boolean indicating whether the component is disabled.
|
|
6097
|
+
* - `error?`: A boolean indicating whether the component is in an error state.
|
|
6098
|
+
* - `value?`: The current value of the component, which can be of any type.
|
|
6099
|
+
*
|
|
6100
|
+
* ## Methods
|
|
6101
|
+
* - `markAsTouched()`: Marks the component as touched and triggers the `fcTouched` callback if defined.
|
|
6102
|
+
* - `writeValue(value: unknown)`: Writes a new value to the form control (can be overridden for special behavior like checkbox).
|
|
6103
|
+
* - `registerOnChange(fn: any)`: Registers a function to handle changes in the form control value.
|
|
6104
|
+
* - `registerOnTouched(fn: any)`: Registers a function to handle touch events on the form control.
|
|
6105
|
+
* - `setDisabledState?(isDisabled: boolean)`: Sets the disabled state of the component.
|
|
6106
|
+
* - `convertValueToString(value: unknown)`: Converts a value to a string for DOM attribute assignment (can be overridden).
|
|
6107
|
+
*
|
|
6108
|
+
* ## Callbacks
|
|
6109
|
+
* - `fcChange?`: A function to handle changes in the form control value.
|
|
6110
|
+
* - `fcTouched?`: A function to handle touch events on the form control.
|
|
6111
|
+
*/
|
|
6112
|
+
class GoabControlValueAccessor extends GoabBaseComponent {
|
|
6113
|
+
/**
|
|
6114
|
+
* Marks the component as touched. If the component is not already marked as touched,
|
|
6115
|
+
* it triggers the `fcTouched` callback (if defined) and sets the `touched` property to `true`.
|
|
6116
|
+
*/
|
|
6117
|
+
markAsTouched() {
|
|
6118
|
+
if (!this.touched) {
|
|
6119
|
+
this.fcTouched?.();
|
|
6120
|
+
this.touched = true;
|
|
6121
|
+
}
|
|
6122
|
+
}
|
|
6123
|
+
constructor(renderer) {
|
|
6124
|
+
super();
|
|
6125
|
+
this.renderer = renderer;
|
|
6126
|
+
this.touched = false;
|
|
6127
|
+
}
|
|
6128
|
+
/**
|
|
6129
|
+
* Convert an arbitrary value into a string for DOM attribute assignment.
|
|
6130
|
+
* Child classes can override when they need special formatting.
|
|
6131
|
+
* @param value The value to convert
|
|
6132
|
+
* @returns string representation or empty string for nullish/empty
|
|
6133
|
+
*/
|
|
6134
|
+
convertValueToString(value) {
|
|
6135
|
+
if (value === null || value === undefined || value === "") {
|
|
6136
|
+
return "";
|
|
6137
|
+
}
|
|
6138
|
+
return String(value);
|
|
6139
|
+
}
|
|
6140
|
+
/**
|
|
6141
|
+
* Writes a new value to the form control.
|
|
6142
|
+
* @param {unknown} value - The value to write.
|
|
6143
|
+
*/
|
|
6144
|
+
writeValue(value) {
|
|
6145
|
+
this.value = value;
|
|
6146
|
+
const el = this.goaComponentRef?.nativeElement;
|
|
6147
|
+
if (el) {
|
|
6148
|
+
const stringValue = this.convertValueToString(value);
|
|
6149
|
+
this.renderer.setAttribute(el, "value", stringValue);
|
|
6150
|
+
}
|
|
6151
|
+
}
|
|
6152
|
+
/**
|
|
6153
|
+
* Registers a function to call when the form control value changes.
|
|
6154
|
+
* @param {function} fn - The function to call.
|
|
6155
|
+
*/
|
|
6156
|
+
registerOnChange(fn) {
|
|
6157
|
+
this.fcChange = fn;
|
|
6158
|
+
}
|
|
6159
|
+
/**
|
|
6160
|
+
* Registers a function to call when the form control is touched.
|
|
6161
|
+
* @param {function} fn - The function to call.
|
|
6162
|
+
*/
|
|
6163
|
+
registerOnTouched(fn) {
|
|
6164
|
+
this.fcTouched = fn;
|
|
6165
|
+
}
|
|
6166
|
+
/**
|
|
6167
|
+
* Sets the disabled state of the component.
|
|
6168
|
+
*
|
|
6169
|
+
* @param isDisabled - A boolean indicating whether the component should be disabled.
|
|
6170
|
+
*/
|
|
6171
|
+
setDisabledState(isDisabled) {
|
|
6172
|
+
this.disabled = isDisabled;
|
|
6173
|
+
}
|
|
6174
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabControlValueAccessor, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6175
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabControlValueAccessor, isStandalone: true, selector: "ng-component", inputs: { id: "id", disabled: ["disabled", "disabled", booleanAttribute], error: ["error", "error", booleanAttribute], value: "value" }, viewQueries: [{ propertyName: "goaComponentRef", first: true, predicate: ["goaComponentRef"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
6176
|
+
}
|
|
6177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabControlValueAccessor, decorators: [{
|
|
6178
|
+
type: Component,
|
|
6179
|
+
args: [{
|
|
6180
|
+
standalone: true,
|
|
6181
|
+
template: ``, //** IMPLEMENT IN SUBCLASS
|
|
6182
|
+
}]
|
|
6183
|
+
}], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { id: [{
|
|
6184
|
+
type: Input
|
|
6185
|
+
}], disabled: [{
|
|
6186
|
+
type: Input,
|
|
6187
|
+
args: [{ transform: booleanAttribute }]
|
|
6188
|
+
}], error: [{
|
|
6189
|
+
type: Input,
|
|
6190
|
+
args: [{ transform: booleanAttribute }]
|
|
6191
|
+
}], value: [{
|
|
6192
|
+
type: Input
|
|
6193
|
+
}], goaComponentRef: [{
|
|
6194
|
+
type: ViewChild,
|
|
6195
|
+
args: ["goaComponentRef", { static: false, read: ElementRef }]
|
|
6196
|
+
}] } });
|
|
6197
|
+
|
|
6198
|
+
class GoabxBadge extends GoabBaseComponent {
|
|
6023
6199
|
constructor(cdr) {
|
|
6200
|
+
super();
|
|
6024
6201
|
this.cdr = cdr;
|
|
6025
|
-
this.
|
|
6202
|
+
this.size = "medium";
|
|
6203
|
+
this.emphasis = "strong";
|
|
6026
6204
|
this.isReady = false;
|
|
6205
|
+
this.version = "2";
|
|
6027
6206
|
}
|
|
6028
6207
|
ngOnInit() {
|
|
6029
6208
|
// For Angular 20, we need to delay rendering the web component
|
|
@@ -6033,52 +6212,2837 @@ class GoabxWorkSideMenu {
|
|
|
6033
6212
|
this.cdr.detectChanges();
|
|
6034
6213
|
}, 0);
|
|
6035
6214
|
}
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenu, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6040
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxWorkSideMenu, isStandalone: true, selector: "goabx-work-side-menu", inputs: { heading: "heading", url: "url", userName: "userName", userSecondaryText: "userSecondaryText", open: ["open", "open", booleanAttribute], testId: "testId", primaryContent: "primaryContent", secondaryContent: "secondaryContent", accountContent: "accountContent" }, outputs: { onToggle: "onToggle" }, ngImport: i0, template: `
|
|
6041
|
-
<goa-work-side-menu
|
|
6215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxBadge, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6216
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxBadge, isStandalone: true, selector: "goabx-badge", inputs: { type: "type", content: "content", icon: ["icon", "icon", booleanAttribute], iconType: "iconType", size: "size", emphasis: "emphasis", ariaLabel: "ariaLabel" }, usesInheritance: true, ngImport: i0, template: `
|
|
6217
|
+
<goa-badge
|
|
6042
6218
|
*ngIf="isReady"
|
|
6043
|
-
[
|
|
6044
|
-
[attr.
|
|
6045
|
-
[attr.
|
|
6046
|
-
[attr.
|
|
6047
|
-
[attr.
|
|
6219
|
+
[attr.version]="version"
|
|
6220
|
+
[attr.size]="size"
|
|
6221
|
+
[attr.emphasis]="emphasis"
|
|
6222
|
+
[attr.type]="type"
|
|
6223
|
+
[attr.icon]="icon ? 'true' : 'false'"
|
|
6224
|
+
[attr.icontype]="iconType"
|
|
6225
|
+
[attr.arialabel]="ariaLabel"
|
|
6226
|
+
[attr.content]="content"
|
|
6048
6227
|
[attr.testid]="testId"
|
|
6049
|
-
|
|
6228
|
+
[attr.mt]="mt"
|
|
6229
|
+
[attr.mb]="mb"
|
|
6230
|
+
[attr.ml]="ml"
|
|
6231
|
+
[attr.mr]="mr"
|
|
6050
6232
|
>
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
</div>
|
|
6054
|
-
<div slot="secondary">
|
|
6055
|
-
<ng-container [ngTemplateOutlet]="secondaryContent"></ng-container>
|
|
6056
|
-
</div>
|
|
6057
|
-
<div slot="account">
|
|
6058
|
-
<ng-container [ngTemplateOutlet]="accountContent"></ng-container>
|
|
6059
|
-
</div>
|
|
6060
|
-
</goa-work-side-menu>
|
|
6061
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
6233
|
+
</goa-badge>
|
|
6234
|
+
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
6062
6235
|
}
|
|
6063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type:
|
|
6236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxBadge, decorators: [{
|
|
6064
6237
|
type: Component,
|
|
6065
|
-
args: [{
|
|
6066
|
-
|
|
6067
|
-
selector: "goabx-work-side-menu", // eslint-disable-line
|
|
6068
|
-
imports: [NgTemplateOutlet, CommonModule],
|
|
6069
|
-
template: `
|
|
6070
|
-
<goa-work-side-menu
|
|
6238
|
+
args: [{ standalone: true, selector: "goabx-badge", template: `
|
|
6239
|
+
<goa-badge
|
|
6071
6240
|
*ngIf="isReady"
|
|
6072
|
-
[
|
|
6073
|
-
[attr.
|
|
6074
|
-
[attr.
|
|
6075
|
-
[attr.
|
|
6076
|
-
[attr.
|
|
6241
|
+
[attr.version]="version"
|
|
6242
|
+
[attr.size]="size"
|
|
6243
|
+
[attr.emphasis]="emphasis"
|
|
6244
|
+
[attr.type]="type"
|
|
6245
|
+
[attr.icon]="icon ? 'true' : 'false'"
|
|
6246
|
+
[attr.icontype]="iconType"
|
|
6247
|
+
[attr.arialabel]="ariaLabel"
|
|
6248
|
+
[attr.content]="content"
|
|
6077
6249
|
[attr.testid]="testId"
|
|
6078
|
-
|
|
6250
|
+
[attr.mt]="mt"
|
|
6251
|
+
[attr.mb]="mb"
|
|
6252
|
+
[attr.ml]="ml"
|
|
6253
|
+
[attr.mr]="mr"
|
|
6079
6254
|
>
|
|
6080
|
-
|
|
6081
|
-
|
|
6255
|
+
</goa-badge>
|
|
6256
|
+
`, schemas: [CUSTOM_ELEMENTS_SCHEMA], imports: [CommonModule], styles: [":host{display:contents}\n"] }]
|
|
6257
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { type: [{
|
|
6258
|
+
type: Input
|
|
6259
|
+
}], content: [{
|
|
6260
|
+
type: Input
|
|
6261
|
+
}], icon: [{
|
|
6262
|
+
type: Input,
|
|
6263
|
+
args: [{ transform: booleanAttribute }]
|
|
6264
|
+
}], iconType: [{
|
|
6265
|
+
type: Input
|
|
6266
|
+
}], size: [{
|
|
6267
|
+
type: Input
|
|
6268
|
+
}], emphasis: [{
|
|
6269
|
+
type: Input
|
|
6270
|
+
}], ariaLabel: [{
|
|
6271
|
+
type: Input
|
|
6272
|
+
}] } });
|
|
6273
|
+
|
|
6274
|
+
class GoabxButton extends GoabBaseComponent {
|
|
6275
|
+
constructor(cdr) {
|
|
6276
|
+
super();
|
|
6277
|
+
this.cdr = cdr;
|
|
6278
|
+
this.type = "primary";
|
|
6279
|
+
this.onClick = new EventEmitter();
|
|
6280
|
+
this.isReady = false;
|
|
6281
|
+
this.version = "2";
|
|
6282
|
+
this.JSON = JSON;
|
|
6283
|
+
}
|
|
6284
|
+
ngOnInit() {
|
|
6285
|
+
// For Angular 20, we need to delay rendering the web component
|
|
6286
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
6287
|
+
setTimeout(() => {
|
|
6288
|
+
this.isReady = true;
|
|
6289
|
+
this.cdr.detectChanges();
|
|
6290
|
+
}, 0);
|
|
6291
|
+
}
|
|
6292
|
+
_onClick() {
|
|
6293
|
+
this.onClick.emit();
|
|
6294
|
+
}
|
|
6295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxButton, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6296
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxButton, isStandalone: true, selector: "goabx-button", inputs: { type: "type", size: "size", variant: "variant", disabled: ["disabled", "disabled", booleanAttribute], leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", width: "width", action: "action", actionArg: "actionArg", actionArgs: "actionArgs" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `
|
|
6297
|
+
<goa-button
|
|
6298
|
+
*ngIf="isReady"
|
|
6299
|
+
[attr.version]="version"
|
|
6300
|
+
[attr.type]="type"
|
|
6301
|
+
[attr.size]="size"
|
|
6302
|
+
[attr.variant]="variant"
|
|
6303
|
+
[disabled]="disabled"
|
|
6304
|
+
[attr.leadingicon]="leadingIcon"
|
|
6305
|
+
[attr.trailingicon]="trailingIcon"
|
|
6306
|
+
[attr.width]="width"
|
|
6307
|
+
[attr.testid]="testId"
|
|
6308
|
+
[attr.action]="action"
|
|
6309
|
+
[attr.action-arg]="actionArg"
|
|
6310
|
+
[attr.action-args]="JSON.stringify(actionArgs)"
|
|
6311
|
+
[attr.mt]="mt"
|
|
6312
|
+
[attr.mb]="mb"
|
|
6313
|
+
[attr.ml]="ml"
|
|
6314
|
+
[attr.mr]="mr"
|
|
6315
|
+
(_click)="_onClick()"
|
|
6316
|
+
>
|
|
6317
|
+
<ng-content />
|
|
6318
|
+
</goa-button>
|
|
6319
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
6320
|
+
}
|
|
6321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxButton, decorators: [{
|
|
6322
|
+
type: Component,
|
|
6323
|
+
args: [{
|
|
6324
|
+
standalone: true,
|
|
6325
|
+
selector: "goabx-button",
|
|
6326
|
+
imports: [CommonModule],
|
|
6327
|
+
template: `
|
|
6328
|
+
<goa-button
|
|
6329
|
+
*ngIf="isReady"
|
|
6330
|
+
[attr.version]="version"
|
|
6331
|
+
[attr.type]="type"
|
|
6332
|
+
[attr.size]="size"
|
|
6333
|
+
[attr.variant]="variant"
|
|
6334
|
+
[disabled]="disabled"
|
|
6335
|
+
[attr.leadingicon]="leadingIcon"
|
|
6336
|
+
[attr.trailingicon]="trailingIcon"
|
|
6337
|
+
[attr.width]="width"
|
|
6338
|
+
[attr.testid]="testId"
|
|
6339
|
+
[attr.action]="action"
|
|
6340
|
+
[attr.action-arg]="actionArg"
|
|
6341
|
+
[attr.action-args]="JSON.stringify(actionArgs)"
|
|
6342
|
+
[attr.mt]="mt"
|
|
6343
|
+
[attr.mb]="mb"
|
|
6344
|
+
[attr.ml]="ml"
|
|
6345
|
+
[attr.mr]="mr"
|
|
6346
|
+
(_click)="_onClick()"
|
|
6347
|
+
>
|
|
6348
|
+
<ng-content />
|
|
6349
|
+
</goa-button>
|
|
6350
|
+
`,
|
|
6351
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6352
|
+
}]
|
|
6353
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { type: [{
|
|
6354
|
+
type: Input
|
|
6355
|
+
}], size: [{
|
|
6356
|
+
type: Input
|
|
6357
|
+
}], variant: [{
|
|
6358
|
+
type: Input
|
|
6359
|
+
}], disabled: [{
|
|
6360
|
+
type: Input,
|
|
6361
|
+
args: [{ transform: booleanAttribute }]
|
|
6362
|
+
}], leadingIcon: [{
|
|
6363
|
+
type: Input
|
|
6364
|
+
}], trailingIcon: [{
|
|
6365
|
+
type: Input
|
|
6366
|
+
}], width: [{
|
|
6367
|
+
type: Input
|
|
6368
|
+
}], action: [{
|
|
6369
|
+
type: Input
|
|
6370
|
+
}], actionArg: [{
|
|
6371
|
+
type: Input
|
|
6372
|
+
}], actionArgs: [{
|
|
6373
|
+
type: Input
|
|
6374
|
+
}], onClick: [{
|
|
6375
|
+
type: Output
|
|
6376
|
+
}] } });
|
|
6377
|
+
|
|
6378
|
+
class GoabxCalendar extends GoabBaseComponent {
|
|
6379
|
+
constructor(cdr) {
|
|
6380
|
+
super();
|
|
6381
|
+
this.cdr = cdr;
|
|
6382
|
+
this.version = 2;
|
|
6383
|
+
this.onChange = new EventEmitter();
|
|
6384
|
+
this.isReady = false;
|
|
6385
|
+
}
|
|
6386
|
+
ngOnInit() {
|
|
6387
|
+
// For Angular 20, we need to delay rendering the web component
|
|
6388
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
6389
|
+
setTimeout(() => {
|
|
6390
|
+
this.isReady = true;
|
|
6391
|
+
this.cdr.detectChanges();
|
|
6392
|
+
}, 0);
|
|
6393
|
+
}
|
|
6394
|
+
_onChange(e) {
|
|
6395
|
+
const details = e.detail;
|
|
6396
|
+
this.onChange.emit(details);
|
|
6397
|
+
}
|
|
6398
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCalendar, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6399
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxCalendar, isStandalone: true, selector: "goabx-calendar", inputs: { name: "name", value: "value", min: "min", max: "max" }, outputs: { onChange: "onChange" }, usesInheritance: true, ngImport: i0, template: `
|
|
6400
|
+
<goa-calendar
|
|
6401
|
+
*ngIf="isReady"
|
|
6402
|
+
[attr.name]="name"
|
|
6403
|
+
[value]="value"
|
|
6404
|
+
[attr.min]="min"
|
|
6405
|
+
[attr.max]="max"
|
|
6406
|
+
[attr.testid]="testId"
|
|
6407
|
+
[attr.mt]="mt"
|
|
6408
|
+
[attr.mb]="mb"
|
|
6409
|
+
[attr.ml]="ml"
|
|
6410
|
+
[attr.mr]="mr"
|
|
6411
|
+
[attr.version]="version"
|
|
6412
|
+
(_change)="_onChange($event)"
|
|
6413
|
+
>
|
|
6414
|
+
<ng-content />
|
|
6415
|
+
</goa-calendar>
|
|
6416
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
6417
|
+
}
|
|
6418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCalendar, decorators: [{
|
|
6419
|
+
type: Component,
|
|
6420
|
+
args: [{
|
|
6421
|
+
standalone: true,
|
|
6422
|
+
selector: "goabx-calendar",
|
|
6423
|
+
imports: [CommonModule],
|
|
6424
|
+
template: `
|
|
6425
|
+
<goa-calendar
|
|
6426
|
+
*ngIf="isReady"
|
|
6427
|
+
[attr.name]="name"
|
|
6428
|
+
[value]="value"
|
|
6429
|
+
[attr.min]="min"
|
|
6430
|
+
[attr.max]="max"
|
|
6431
|
+
[attr.testid]="testId"
|
|
6432
|
+
[attr.mt]="mt"
|
|
6433
|
+
[attr.mb]="mb"
|
|
6434
|
+
[attr.ml]="ml"
|
|
6435
|
+
[attr.mr]="mr"
|
|
6436
|
+
[attr.version]="version"
|
|
6437
|
+
(_change)="_onChange($event)"
|
|
6438
|
+
>
|
|
6439
|
+
<ng-content />
|
|
6440
|
+
</goa-calendar>
|
|
6441
|
+
`,
|
|
6442
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6443
|
+
}]
|
|
6444
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { name: [{
|
|
6445
|
+
type: Input
|
|
6446
|
+
}], value: [{
|
|
6447
|
+
type: Input
|
|
6448
|
+
}], min: [{
|
|
6449
|
+
type: Input
|
|
6450
|
+
}], max: [{
|
|
6451
|
+
type: Input
|
|
6452
|
+
}], onChange: [{
|
|
6453
|
+
type: Output
|
|
6454
|
+
}] } });
|
|
6455
|
+
|
|
6456
|
+
class GoabxCallout extends GoabBaseComponent {
|
|
6457
|
+
constructor(cdr) {
|
|
6458
|
+
super();
|
|
6459
|
+
this.cdr = cdr;
|
|
6460
|
+
this.isReady = false;
|
|
6461
|
+
this.version = "2";
|
|
6462
|
+
this.type = "information";
|
|
6463
|
+
this.heading = "";
|
|
6464
|
+
this.size = "large";
|
|
6465
|
+
this.ariaLive = "off";
|
|
6466
|
+
this.iconTheme = "outline";
|
|
6467
|
+
this.emphasis = "medium";
|
|
6468
|
+
}
|
|
6469
|
+
ngOnInit() {
|
|
6470
|
+
// For Angular 20, we need to delay rendering the web component
|
|
6471
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
6472
|
+
setTimeout(() => {
|
|
6473
|
+
this.isReady = true;
|
|
6474
|
+
this.cdr.detectChanges();
|
|
6475
|
+
}, 0);
|
|
6476
|
+
}
|
|
6477
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCallout, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6478
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxCallout, isStandalone: true, selector: "goabx-callout", inputs: { type: "type", heading: "heading", size: "size", maxWidth: "maxWidth", ariaLive: "ariaLive", iconTheme: "iconTheme", emphasis: "emphasis" }, usesInheritance: true, ngImport: i0, template: `
|
|
6479
|
+
<goa-callout
|
|
6480
|
+
*ngIf="isReady"
|
|
6481
|
+
[attr.version]="version"
|
|
6482
|
+
[attr.type]="type"
|
|
6483
|
+
[attr.heading]="heading"
|
|
6484
|
+
[attr.size]="size"
|
|
6485
|
+
[attr.maxwidth]="maxWidth"
|
|
6486
|
+
[attr.arialive]="ariaLive"
|
|
6487
|
+
[attr.icontheme]="iconTheme"
|
|
6488
|
+
[attr.emphasis]="emphasis"
|
|
6489
|
+
[attr.testid]="testId"
|
|
6490
|
+
[attr.mt]="mt"
|
|
6491
|
+
[attr.mb]="mb"
|
|
6492
|
+
[attr.ml]="ml"
|
|
6493
|
+
[attr.mr]="mr"
|
|
6494
|
+
>
|
|
6495
|
+
<ng-content />
|
|
6496
|
+
</goa-callout>
|
|
6497
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
6498
|
+
}
|
|
6499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCallout, decorators: [{
|
|
6500
|
+
type: Component,
|
|
6501
|
+
args: [{
|
|
6502
|
+
standalone: true,
|
|
6503
|
+
selector: "goabx-callout",
|
|
6504
|
+
imports: [CommonModule],
|
|
6505
|
+
template: `
|
|
6506
|
+
<goa-callout
|
|
6507
|
+
*ngIf="isReady"
|
|
6508
|
+
[attr.version]="version"
|
|
6509
|
+
[attr.type]="type"
|
|
6510
|
+
[attr.heading]="heading"
|
|
6511
|
+
[attr.size]="size"
|
|
6512
|
+
[attr.maxwidth]="maxWidth"
|
|
6513
|
+
[attr.arialive]="ariaLive"
|
|
6514
|
+
[attr.icontheme]="iconTheme"
|
|
6515
|
+
[attr.emphasis]="emphasis"
|
|
6516
|
+
[attr.testid]="testId"
|
|
6517
|
+
[attr.mt]="mt"
|
|
6518
|
+
[attr.mb]="mb"
|
|
6519
|
+
[attr.ml]="ml"
|
|
6520
|
+
[attr.mr]="mr"
|
|
6521
|
+
>
|
|
6522
|
+
<ng-content />
|
|
6523
|
+
</goa-callout>
|
|
6524
|
+
`,
|
|
6525
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6526
|
+
}]
|
|
6527
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { type: [{
|
|
6528
|
+
type: Input
|
|
6529
|
+
}], heading: [{
|
|
6530
|
+
type: Input
|
|
6531
|
+
}], size: [{
|
|
6532
|
+
type: Input
|
|
6533
|
+
}], maxWidth: [{
|
|
6534
|
+
type: Input
|
|
6535
|
+
}], ariaLive: [{
|
|
6536
|
+
type: Input
|
|
6537
|
+
}], iconTheme: [{
|
|
6538
|
+
type: Input
|
|
6539
|
+
}], emphasis: [{
|
|
6540
|
+
type: Input
|
|
6541
|
+
}] } });
|
|
6542
|
+
|
|
6543
|
+
class GoabxCheckbox extends GoabControlValueAccessor {
|
|
6544
|
+
constructor(cdr, renderer) {
|
|
6545
|
+
super(renderer);
|
|
6546
|
+
this.cdr = cdr;
|
|
6547
|
+
this.isReady = false;
|
|
6548
|
+
this.version = "2";
|
|
6549
|
+
this.size = "default";
|
|
6550
|
+
this.onChange = new EventEmitter();
|
|
6551
|
+
}
|
|
6552
|
+
ngOnInit() {
|
|
6553
|
+
// For Angular 20, we need to delay rendering the web component
|
|
6554
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
6555
|
+
setTimeout(() => {
|
|
6556
|
+
this.isReady = true;
|
|
6557
|
+
this.cdr.detectChanges();
|
|
6558
|
+
}, 0);
|
|
6559
|
+
}
|
|
6560
|
+
getDescriptionAsString() {
|
|
6561
|
+
return typeof this.description === "string" ? this.description : "";
|
|
6562
|
+
}
|
|
6563
|
+
getDescriptionAsTemplate() {
|
|
6564
|
+
if (this.description) {
|
|
6565
|
+
return typeof this.description === "string" ? null : this.description;
|
|
6566
|
+
}
|
|
6567
|
+
return null;
|
|
6568
|
+
}
|
|
6569
|
+
_onChange(e) {
|
|
6570
|
+
const detail = { ...e.detail, event: e };
|
|
6571
|
+
this.onChange.emit(detail);
|
|
6572
|
+
this.markAsTouched();
|
|
6573
|
+
this.fcChange?.(detail.binding === "check" ? detail.checked : detail.value || "");
|
|
6574
|
+
}
|
|
6575
|
+
// Checkbox is a special case: it uses `checked` instead of `value`.
|
|
6576
|
+
writeValue(value) {
|
|
6577
|
+
this.value = value;
|
|
6578
|
+
this.checked = !!value;
|
|
6579
|
+
const el = this.goaComponentRef?.nativeElement;
|
|
6580
|
+
if (el) {
|
|
6581
|
+
this.renderer.setAttribute(el, "checked", this.checked ? "true" : "false");
|
|
6582
|
+
}
|
|
6583
|
+
}
|
|
6584
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6585
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxCheckbox, isStandalone: true, selector: "goabx-checkbox", inputs: { name: "name", checked: ["checked", "checked", booleanAttribute], indeterminate: ["indeterminate", "indeterminate", booleanAttribute], text: "text", value: "value", ariaLabel: "ariaLabel", description: "description", reveal: "reveal", revealArialLabel: "revealArialLabel", maxWidth: "maxWidth", size: "size" }, outputs: { onChange: "onChange" }, providers: [
|
|
6586
|
+
{
|
|
6587
|
+
provide: NG_VALUE_ACCESSOR,
|
|
6588
|
+
multi: true,
|
|
6589
|
+
useExisting: forwardRef(() => GoabxCheckbox),
|
|
6590
|
+
},
|
|
6591
|
+
], usesInheritance: true, ngImport: i0, template: ` <goa-checkbox
|
|
6592
|
+
#goaComponentRef
|
|
6593
|
+
*ngIf="isReady"
|
|
6594
|
+
[attr.version]="version"
|
|
6595
|
+
[attr.name]="name"
|
|
6596
|
+
[checked]="checked"
|
|
6597
|
+
[disabled]="disabled"
|
|
6598
|
+
[attr.indeterminate]="indeterminate ? 'true' : undefined"
|
|
6599
|
+
[attr.error]="error"
|
|
6600
|
+
[attr.text]="text"
|
|
6601
|
+
[value]="value"
|
|
6602
|
+
[attr.testid]="testId"
|
|
6603
|
+
[attr.arialabel]="ariaLabel"
|
|
6604
|
+
[attr.description]="getDescriptionAsString()"
|
|
6605
|
+
[attr.revealarialabel]="revealArialLabel"
|
|
6606
|
+
[id]="id"
|
|
6607
|
+
[attr.maxwidth]="maxWidth"
|
|
6608
|
+
[attr.size]="size"
|
|
6609
|
+
[attr.mt]="mt"
|
|
6610
|
+
[attr.mb]="mb"
|
|
6611
|
+
[attr.ml]="ml"
|
|
6612
|
+
[attr.mr]="mr"
|
|
6613
|
+
(_change)="_onChange($event)"
|
|
6614
|
+
>
|
|
6615
|
+
<ng-content />
|
|
6616
|
+
<div slot="description">
|
|
6617
|
+
<ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
|
|
6618
|
+
</div>
|
|
6619
|
+
<div slot="reveal">
|
|
6620
|
+
<ng-container *ngIf="reveal" [ngTemplateOutlet]="reveal"></ng-container>
|
|
6621
|
+
</div>
|
|
6622
|
+
</goa-checkbox>`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
6623
|
+
}
|
|
6624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCheckbox, decorators: [{
|
|
6625
|
+
type: Component,
|
|
6626
|
+
args: [{
|
|
6627
|
+
standalone: true,
|
|
6628
|
+
selector: "goabx-checkbox",
|
|
6629
|
+
template: ` <goa-checkbox
|
|
6630
|
+
#goaComponentRef
|
|
6631
|
+
*ngIf="isReady"
|
|
6632
|
+
[attr.version]="version"
|
|
6633
|
+
[attr.name]="name"
|
|
6634
|
+
[checked]="checked"
|
|
6635
|
+
[disabled]="disabled"
|
|
6636
|
+
[attr.indeterminate]="indeterminate ? 'true' : undefined"
|
|
6637
|
+
[attr.error]="error"
|
|
6638
|
+
[attr.text]="text"
|
|
6639
|
+
[value]="value"
|
|
6640
|
+
[attr.testid]="testId"
|
|
6641
|
+
[attr.arialabel]="ariaLabel"
|
|
6642
|
+
[attr.description]="getDescriptionAsString()"
|
|
6643
|
+
[attr.revealarialabel]="revealArialLabel"
|
|
6644
|
+
[id]="id"
|
|
6645
|
+
[attr.maxwidth]="maxWidth"
|
|
6646
|
+
[attr.size]="size"
|
|
6647
|
+
[attr.mt]="mt"
|
|
6648
|
+
[attr.mb]="mb"
|
|
6649
|
+
[attr.ml]="ml"
|
|
6650
|
+
[attr.mr]="mr"
|
|
6651
|
+
(_change)="_onChange($event)"
|
|
6652
|
+
>
|
|
6653
|
+
<ng-content />
|
|
6654
|
+
<div slot="description">
|
|
6655
|
+
<ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
|
|
6656
|
+
</div>
|
|
6657
|
+
<div slot="reveal">
|
|
6658
|
+
<ng-container *ngIf="reveal" [ngTemplateOutlet]="reveal"></ng-container>
|
|
6659
|
+
</div>
|
|
6660
|
+
</goa-checkbox>`,
|
|
6661
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6662
|
+
providers: [
|
|
6663
|
+
{
|
|
6664
|
+
provide: NG_VALUE_ACCESSOR,
|
|
6665
|
+
multi: true,
|
|
6666
|
+
useExisting: forwardRef(() => GoabxCheckbox),
|
|
6667
|
+
},
|
|
6668
|
+
],
|
|
6669
|
+
imports: [NgTemplateOutlet, CommonModule],
|
|
6670
|
+
}]
|
|
6671
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { name: [{
|
|
6672
|
+
type: Input
|
|
6673
|
+
}], checked: [{
|
|
6674
|
+
type: Input,
|
|
6675
|
+
args: [{ transform: booleanAttribute }]
|
|
6676
|
+
}], indeterminate: [{
|
|
6677
|
+
type: Input,
|
|
6678
|
+
args: [{ transform: booleanAttribute }]
|
|
6679
|
+
}], text: [{
|
|
6680
|
+
type: Input
|
|
6681
|
+
}], value: [{
|
|
6682
|
+
type: Input
|
|
6683
|
+
}], ariaLabel: [{
|
|
6684
|
+
type: Input
|
|
6685
|
+
}], description: [{
|
|
6686
|
+
type: Input
|
|
6687
|
+
}], reveal: [{
|
|
6688
|
+
type: Input
|
|
6689
|
+
}], revealArialLabel: [{
|
|
6690
|
+
type: Input
|
|
6691
|
+
}], maxWidth: [{
|
|
6692
|
+
type: Input
|
|
6693
|
+
}], size: [{
|
|
6694
|
+
type: Input
|
|
6695
|
+
}], onChange: [{
|
|
6696
|
+
type: Output
|
|
6697
|
+
}] } });
|
|
6698
|
+
|
|
6699
|
+
class GoabxDatePicker extends GoabControlValueAccessor {
|
|
6700
|
+
formatValue(val) {
|
|
6701
|
+
if (!val)
|
|
6702
|
+
return "";
|
|
6703
|
+
if (val instanceof Date) {
|
|
6704
|
+
return val.toISOString();
|
|
6705
|
+
}
|
|
6706
|
+
return val;
|
|
6707
|
+
}
|
|
6708
|
+
_onChange(e) {
|
|
6709
|
+
const detail = { ...e.detail, event: e };
|
|
6710
|
+
this.onChange.emit(detail);
|
|
6711
|
+
this.markAsTouched();
|
|
6712
|
+
this.fcChange?.(detail.value);
|
|
6713
|
+
}
|
|
6714
|
+
constructor(elementRef, cdr, renderer) {
|
|
6715
|
+
super(renderer);
|
|
6716
|
+
this.elementRef = elementRef;
|
|
6717
|
+
this.cdr = cdr;
|
|
6718
|
+
this.isReady = false;
|
|
6719
|
+
this.version = 2;
|
|
6720
|
+
this.onChange = new EventEmitter();
|
|
6721
|
+
}
|
|
6722
|
+
ngOnInit() {
|
|
6723
|
+
// For Angular 20, we need to delay rendering the web component
|
|
6724
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
6725
|
+
setTimeout(() => {
|
|
6726
|
+
this.isReady = true;
|
|
6727
|
+
this.cdr.detectChanges();
|
|
6728
|
+
}, 0);
|
|
6729
|
+
if (this.value && typeof this.value !== "string") {
|
|
6730
|
+
console.warn("Using a `Date` type for value is deprecated. Instead use a string of the format `yyyy-mm-dd`");
|
|
6731
|
+
}
|
|
6732
|
+
}
|
|
6733
|
+
setDisabledState(isDisabled) {
|
|
6734
|
+
this.disabled = isDisabled;
|
|
6735
|
+
this.elementRef.nativeElement.disabled = isDisabled;
|
|
6736
|
+
}
|
|
6737
|
+
listenDisabledChange(isDisabled) {
|
|
6738
|
+
this.setDisabledState(isDisabled);
|
|
6739
|
+
}
|
|
6740
|
+
writeValue(value) {
|
|
6741
|
+
this.value = value;
|
|
6742
|
+
const datePickerEl = this.goaComponentRef?.nativeElement;
|
|
6743
|
+
if (datePickerEl) {
|
|
6744
|
+
if (!value) {
|
|
6745
|
+
this.renderer.setAttribute(datePickerEl, "value", "");
|
|
6746
|
+
}
|
|
6747
|
+
else {
|
|
6748
|
+
this.renderer.setAttribute(datePickerEl, "value", value instanceof Date ? value.toISOString() : value);
|
|
6749
|
+
}
|
|
6750
|
+
}
|
|
6751
|
+
}
|
|
6752
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDatePicker, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6753
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxDatePicker, isStandalone: true, selector: "goabx-date-picker", inputs: { name: "name", value: "value", min: "min", max: "max", type: "type", relative: "relative", width: "width" }, outputs: { onChange: "onChange" }, host: { listeners: { "disabledChange": "listenDisabledChange($event.detail.disabled)" } }, providers: [
|
|
6754
|
+
{
|
|
6755
|
+
provide: NG_VALUE_ACCESSOR,
|
|
6756
|
+
multi: true,
|
|
6757
|
+
useExisting: forwardRef(() => GoabxDatePicker),
|
|
6758
|
+
},
|
|
6759
|
+
], usesInheritance: true, ngImport: i0, template: ` <goa-date-picker
|
|
6760
|
+
#goaComponentRef
|
|
6761
|
+
*ngIf="isReady"
|
|
6762
|
+
[attr.name]="name"
|
|
6763
|
+
[attr.value]="formatValue(value)"
|
|
6764
|
+
[attr.min]="min"
|
|
6765
|
+
[attr.max]="max"
|
|
6766
|
+
[attr.error]="error"
|
|
6767
|
+
[attr.disabled]="disabled"
|
|
6768
|
+
[attr.relative]="relative"
|
|
6769
|
+
[attr.type]="type"
|
|
6770
|
+
[attr.testid]="testId"
|
|
6771
|
+
[attr.width]="width"
|
|
6772
|
+
[attr.mt]="mt"
|
|
6773
|
+
[attr.mb]="mb"
|
|
6774
|
+
[attr.ml]="ml"
|
|
6775
|
+
[attr.mr]="mr"
|
|
6776
|
+
[attr.version]="version"
|
|
6777
|
+
(_change)="_onChange($event)"
|
|
6778
|
+
>
|
|
6779
|
+
</goa-date-picker>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
6780
|
+
}
|
|
6781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDatePicker, decorators: [{
|
|
6782
|
+
type: Component,
|
|
6783
|
+
args: [{
|
|
6784
|
+
standalone: true,
|
|
6785
|
+
selector: "goabx-date-picker",
|
|
6786
|
+
imports: [CommonModule],
|
|
6787
|
+
template: ` <goa-date-picker
|
|
6788
|
+
#goaComponentRef
|
|
6789
|
+
*ngIf="isReady"
|
|
6790
|
+
[attr.name]="name"
|
|
6791
|
+
[attr.value]="formatValue(value)"
|
|
6792
|
+
[attr.min]="min"
|
|
6793
|
+
[attr.max]="max"
|
|
6794
|
+
[attr.error]="error"
|
|
6795
|
+
[attr.disabled]="disabled"
|
|
6796
|
+
[attr.relative]="relative"
|
|
6797
|
+
[attr.type]="type"
|
|
6798
|
+
[attr.testid]="testId"
|
|
6799
|
+
[attr.width]="width"
|
|
6800
|
+
[attr.mt]="mt"
|
|
6801
|
+
[attr.mb]="mb"
|
|
6802
|
+
[attr.ml]="ml"
|
|
6803
|
+
[attr.mr]="mr"
|
|
6804
|
+
[attr.version]="version"
|
|
6805
|
+
(_change)="_onChange($event)"
|
|
6806
|
+
>
|
|
6807
|
+
</goa-date-picker>`,
|
|
6808
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6809
|
+
providers: [
|
|
6810
|
+
{
|
|
6811
|
+
provide: NG_VALUE_ACCESSOR,
|
|
6812
|
+
multi: true,
|
|
6813
|
+
useExisting: forwardRef(() => GoabxDatePicker),
|
|
6814
|
+
},
|
|
6815
|
+
],
|
|
6816
|
+
}]
|
|
6817
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { name: [{
|
|
6818
|
+
type: Input
|
|
6819
|
+
}], value: [{
|
|
6820
|
+
type: Input
|
|
6821
|
+
}], min: [{
|
|
6822
|
+
type: Input
|
|
6823
|
+
}], max: [{
|
|
6824
|
+
type: Input
|
|
6825
|
+
}], type: [{
|
|
6826
|
+
type: Input
|
|
6827
|
+
}], relative: [{
|
|
6828
|
+
type: Input
|
|
6829
|
+
}], width: [{
|
|
6830
|
+
type: Input
|
|
6831
|
+
}], onChange: [{
|
|
6832
|
+
type: Output
|
|
6833
|
+
}], listenDisabledChange: [{
|
|
6834
|
+
type: HostListener,
|
|
6835
|
+
args: ["disabledChange", ["$event.detail.disabled"]]
|
|
6836
|
+
}] } });
|
|
6837
|
+
|
|
6838
|
+
class GoabxDrawer {
|
|
6839
|
+
constructor(cdr) {
|
|
6840
|
+
this.cdr = cdr;
|
|
6841
|
+
this.version = "2";
|
|
6842
|
+
this.onClose = new EventEmitter();
|
|
6843
|
+
this.isReady = false;
|
|
6844
|
+
}
|
|
6845
|
+
ngOnInit() {
|
|
6846
|
+
// For Angular 20, we need to delay rendering the web component
|
|
6847
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
6848
|
+
setTimeout(() => {
|
|
6849
|
+
this.isReady = true;
|
|
6850
|
+
this.cdr.detectChanges();
|
|
6851
|
+
}, 0);
|
|
6852
|
+
}
|
|
6853
|
+
_onClose() {
|
|
6854
|
+
this.onClose.emit();
|
|
6855
|
+
}
|
|
6856
|
+
getHeadingAsString() {
|
|
6857
|
+
return this.heading instanceof TemplateRef ? "" : this.heading;
|
|
6858
|
+
}
|
|
6859
|
+
getHeadingAsTemplate() {
|
|
6860
|
+
if (!this.heading)
|
|
6861
|
+
return null;
|
|
6862
|
+
return this.heading instanceof TemplateRef ? this.heading : null;
|
|
6863
|
+
}
|
|
6864
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDrawer, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6865
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxDrawer, isStandalone: true, selector: "goabx-drawer", inputs: { open: ["open", "open", booleanAttribute], position: "position", heading: "heading", maxSize: "maxSize", testId: "testId", actions: "actions" }, outputs: { onClose: "onClose" }, ngImport: i0, template: `
|
|
6866
|
+
<goa-drawer
|
|
6867
|
+
*ngIf="isReady"
|
|
6868
|
+
[open]="open"
|
|
6869
|
+
[attr.position]="position"
|
|
6870
|
+
[attr.heading]="getHeadingAsString()"
|
|
6871
|
+
[attr.maxsize]="maxSize"
|
|
6872
|
+
[attr.testid]="testId"
|
|
6873
|
+
[attr.version]="version"
|
|
6874
|
+
(_close)="_onClose()"
|
|
6875
|
+
>
|
|
6876
|
+
<ng-content></ng-content>
|
|
6877
|
+
<div slot="heading">
|
|
6878
|
+
<ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
|
|
6879
|
+
</div>
|
|
6880
|
+
<div slot="actions">
|
|
6881
|
+
<ng-container [ngTemplateOutlet]="actions"></ng-container>
|
|
6882
|
+
</div>
|
|
6883
|
+
</goa-drawer>
|
|
6884
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
6885
|
+
}
|
|
6886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDrawer, decorators: [{
|
|
6887
|
+
type: Component,
|
|
6888
|
+
args: [{
|
|
6889
|
+
standalone: true,
|
|
6890
|
+
selector: "goabx-drawer",
|
|
6891
|
+
imports: [NgTemplateOutlet, CommonModule],
|
|
6892
|
+
template: `
|
|
6893
|
+
<goa-drawer
|
|
6894
|
+
*ngIf="isReady"
|
|
6895
|
+
[open]="open"
|
|
6896
|
+
[attr.position]="position"
|
|
6897
|
+
[attr.heading]="getHeadingAsString()"
|
|
6898
|
+
[attr.maxsize]="maxSize"
|
|
6899
|
+
[attr.testid]="testId"
|
|
6900
|
+
[attr.version]="version"
|
|
6901
|
+
(_close)="_onClose()"
|
|
6902
|
+
>
|
|
6903
|
+
<ng-content></ng-content>
|
|
6904
|
+
<div slot="heading">
|
|
6905
|
+
<ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
|
|
6906
|
+
</div>
|
|
6907
|
+
<div slot="actions">
|
|
6908
|
+
<ng-container [ngTemplateOutlet]="actions"></ng-container>
|
|
6909
|
+
</div>
|
|
6910
|
+
</goa-drawer>
|
|
6911
|
+
`,
|
|
6912
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
6913
|
+
}]
|
|
6914
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { open: [{
|
|
6915
|
+
type: Input,
|
|
6916
|
+
args: [{ required: true, transform: booleanAttribute }]
|
|
6917
|
+
}], position: [{
|
|
6918
|
+
type: Input,
|
|
6919
|
+
args: [{ required: true }]
|
|
6920
|
+
}], heading: [{
|
|
6921
|
+
type: Input
|
|
6922
|
+
}], maxSize: [{
|
|
6923
|
+
type: Input
|
|
6924
|
+
}], testId: [{
|
|
6925
|
+
type: Input
|
|
6926
|
+
}], actions: [{
|
|
6927
|
+
type: Input
|
|
6928
|
+
}], onClose: [{
|
|
6929
|
+
type: Output
|
|
6930
|
+
}] } });
|
|
6931
|
+
|
|
6932
|
+
// "disabled", "value", "id" is an exposed property of HTMLInputElement, no need to bind with attr
|
|
6933
|
+
class GoabxDropdown extends GoabControlValueAccessor {
|
|
6934
|
+
constructor(cdr, renderer) {
|
|
6935
|
+
super(renderer);
|
|
6936
|
+
this.cdr = cdr;
|
|
6937
|
+
this.size = "default";
|
|
6938
|
+
this.onChange = new EventEmitter();
|
|
6939
|
+
this.isReady = false;
|
|
6940
|
+
this.version = "2";
|
|
6941
|
+
}
|
|
6942
|
+
ngOnInit() {
|
|
6943
|
+
// For Angular 20, we need to delay rendering the web component
|
|
6944
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
6945
|
+
setTimeout(() => {
|
|
6946
|
+
this.isReady = true;
|
|
6947
|
+
this.cdr.detectChanges();
|
|
6948
|
+
}, 0);
|
|
6949
|
+
}
|
|
6950
|
+
_onChange(e) {
|
|
6951
|
+
const detail = { ...e.detail, event: e };
|
|
6952
|
+
// Keep local value in sync with emitted detail
|
|
6953
|
+
this.value = detail.value || null;
|
|
6954
|
+
this.onChange.emit(detail);
|
|
6955
|
+
this.markAsTouched();
|
|
6956
|
+
this.fcChange?.(detail.value || "");
|
|
6957
|
+
}
|
|
6958
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6959
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxDropdown, isStandalone: true, selector: "goabx-dropdown", inputs: { name: "name", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", filterable: ["filterable", "filterable", booleanAttribute], leadingIcon: "leadingIcon", maxHeight: "maxHeight", multiselect: ["multiselect", "multiselect", booleanAttribute], native: ["native", "native", booleanAttribute], placeholder: "placeholder", width: "width", maxWidth: "maxWidth", autoComplete: "autoComplete", size: "size", relative: "relative" }, outputs: { onChange: "onChange" }, providers: [
|
|
6960
|
+
{
|
|
6961
|
+
provide: NG_VALUE_ACCESSOR,
|
|
6962
|
+
multi: true,
|
|
6963
|
+
useExisting: forwardRef(() => GoabxDropdown),
|
|
6964
|
+
},
|
|
6965
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
6966
|
+
<goa-dropdown
|
|
6967
|
+
#goaComponentRef
|
|
6968
|
+
*ngIf="isReady"
|
|
6969
|
+
[attr.version]="version"
|
|
6970
|
+
[attr.name]="name"
|
|
6971
|
+
[value]="value"
|
|
6972
|
+
[attr.arialabel]="ariaLabel"
|
|
6973
|
+
[attr.arialabelledby]="ariaLabelledBy"
|
|
6974
|
+
[disabled]="disabled"
|
|
6975
|
+
[attr.error]="error"
|
|
6976
|
+
[attr.filterable]="filterable"
|
|
6977
|
+
[attr.leadingicon]="leadingIcon"
|
|
6978
|
+
[attr.maxheight]="maxHeight"
|
|
6979
|
+
[attr.mb]="mb"
|
|
6980
|
+
[attr.ml]="ml"
|
|
6981
|
+
[attr.mr]="mr"
|
|
6982
|
+
[attr.mt]="mt"
|
|
6983
|
+
[attr.multiselect]="multiselect"
|
|
6984
|
+
[attr.native]="native"
|
|
6985
|
+
[attr.placeholder]="placeholder"
|
|
6986
|
+
[attr.testid]="testId"
|
|
6987
|
+
[attr.width]="width"
|
|
6988
|
+
[attr.maxwidth]="maxWidth"
|
|
6989
|
+
[attr.relative]="relative"
|
|
6990
|
+
[attr.autocomplete]="autoComplete"
|
|
6991
|
+
[attr.size]="size"
|
|
6992
|
+
[id]="id"
|
|
6993
|
+
(_change)="_onChange($event)"
|
|
6994
|
+
>
|
|
6995
|
+
<ng-content />
|
|
6996
|
+
</goa-dropdown>
|
|
6997
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
6998
|
+
}
|
|
6999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDropdown, decorators: [{
|
|
7000
|
+
type: Component,
|
|
7001
|
+
args: [{
|
|
7002
|
+
standalone: true,
|
|
7003
|
+
selector: "goabx-dropdown",
|
|
7004
|
+
imports: [CommonModule],
|
|
7005
|
+
template: `
|
|
7006
|
+
<goa-dropdown
|
|
7007
|
+
#goaComponentRef
|
|
7008
|
+
*ngIf="isReady"
|
|
7009
|
+
[attr.version]="version"
|
|
7010
|
+
[attr.name]="name"
|
|
7011
|
+
[value]="value"
|
|
7012
|
+
[attr.arialabel]="ariaLabel"
|
|
7013
|
+
[attr.arialabelledby]="ariaLabelledBy"
|
|
7014
|
+
[disabled]="disabled"
|
|
7015
|
+
[attr.error]="error"
|
|
7016
|
+
[attr.filterable]="filterable"
|
|
7017
|
+
[attr.leadingicon]="leadingIcon"
|
|
7018
|
+
[attr.maxheight]="maxHeight"
|
|
7019
|
+
[attr.mb]="mb"
|
|
7020
|
+
[attr.ml]="ml"
|
|
7021
|
+
[attr.mr]="mr"
|
|
7022
|
+
[attr.mt]="mt"
|
|
7023
|
+
[attr.multiselect]="multiselect"
|
|
7024
|
+
[attr.native]="native"
|
|
7025
|
+
[attr.placeholder]="placeholder"
|
|
7026
|
+
[attr.testid]="testId"
|
|
7027
|
+
[attr.width]="width"
|
|
7028
|
+
[attr.maxwidth]="maxWidth"
|
|
7029
|
+
[attr.relative]="relative"
|
|
7030
|
+
[attr.autocomplete]="autoComplete"
|
|
7031
|
+
[attr.size]="size"
|
|
7032
|
+
[id]="id"
|
|
7033
|
+
(_change)="_onChange($event)"
|
|
7034
|
+
>
|
|
7035
|
+
<ng-content />
|
|
7036
|
+
</goa-dropdown>
|
|
7037
|
+
`,
|
|
7038
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
7039
|
+
providers: [
|
|
7040
|
+
{
|
|
7041
|
+
provide: NG_VALUE_ACCESSOR,
|
|
7042
|
+
multi: true,
|
|
7043
|
+
useExisting: forwardRef(() => GoabxDropdown),
|
|
7044
|
+
},
|
|
7045
|
+
],
|
|
7046
|
+
}]
|
|
7047
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { name: [{
|
|
7048
|
+
type: Input
|
|
7049
|
+
}], ariaLabel: [{
|
|
7050
|
+
type: Input
|
|
7051
|
+
}], ariaLabelledBy: [{
|
|
7052
|
+
type: Input
|
|
7053
|
+
}], filterable: [{
|
|
7054
|
+
type: Input,
|
|
7055
|
+
args: [{ transform: booleanAttribute }]
|
|
7056
|
+
}], leadingIcon: [{
|
|
7057
|
+
type: Input
|
|
7058
|
+
}], maxHeight: [{
|
|
7059
|
+
type: Input
|
|
7060
|
+
}], multiselect: [{
|
|
7061
|
+
type: Input,
|
|
7062
|
+
args: [{ transform: booleanAttribute }]
|
|
7063
|
+
}], native: [{
|
|
7064
|
+
type: Input,
|
|
7065
|
+
args: [{ transform: booleanAttribute }]
|
|
7066
|
+
}], placeholder: [{
|
|
7067
|
+
type: Input
|
|
7068
|
+
}], width: [{
|
|
7069
|
+
type: Input
|
|
7070
|
+
}], maxWidth: [{
|
|
7071
|
+
type: Input
|
|
7072
|
+
}], autoComplete: [{
|
|
7073
|
+
type: Input
|
|
7074
|
+
}], size: [{
|
|
7075
|
+
type: Input
|
|
7076
|
+
}], relative: [{
|
|
7077
|
+
type: Input
|
|
7078
|
+
}], onChange: [{
|
|
7079
|
+
type: Output
|
|
7080
|
+
}] } });
|
|
7081
|
+
|
|
7082
|
+
class GoabxDropdownItem {
|
|
7083
|
+
constructor(cdr) {
|
|
7084
|
+
this.cdr = cdr;
|
|
7085
|
+
this.isReady = false;
|
|
7086
|
+
}
|
|
7087
|
+
ngOnInit() {
|
|
7088
|
+
// For Angular 20, we need to delay rendering the web component
|
|
7089
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
7090
|
+
setTimeout(() => {
|
|
7091
|
+
this.isReady = true;
|
|
7092
|
+
this.cdr.detectChanges();
|
|
7093
|
+
}, 0);
|
|
7094
|
+
}
|
|
7095
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDropdownItem, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7096
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxDropdownItem, isStandalone: true, selector: "goabx-dropdown-item", inputs: { value: "value", filter: "filter", label: "label", name: "name", mountType: "mountType" }, ngImport: i0, template: `
|
|
7097
|
+
<goa-dropdown-item
|
|
7098
|
+
*ngIf="isReady"
|
|
7099
|
+
[value]="value"
|
|
7100
|
+
[label]="label"
|
|
7101
|
+
[attr.filter]="filter"
|
|
7102
|
+
[attr.name]="name"
|
|
7103
|
+
[attr.mount]="mountType"
|
|
7104
|
+
>
|
|
7105
|
+
</goa-dropdown-item>
|
|
7106
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
7107
|
+
}
|
|
7108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDropdownItem, decorators: [{
|
|
7109
|
+
type: Component,
|
|
7110
|
+
args: [{
|
|
7111
|
+
standalone: true,
|
|
7112
|
+
selector: "goabx-dropdown-item",
|
|
7113
|
+
template: `
|
|
7114
|
+
<goa-dropdown-item
|
|
7115
|
+
*ngIf="isReady"
|
|
7116
|
+
[value]="value"
|
|
7117
|
+
[label]="label"
|
|
7118
|
+
[attr.filter]="filter"
|
|
7119
|
+
[attr.name]="name"
|
|
7120
|
+
[attr.mount]="mountType"
|
|
7121
|
+
>
|
|
7122
|
+
</goa-dropdown-item>
|
|
7123
|
+
`,
|
|
7124
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
7125
|
+
imports: [CommonModule],
|
|
7126
|
+
}]
|
|
7127
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { value: [{
|
|
7128
|
+
type: Input
|
|
7129
|
+
}], filter: [{
|
|
7130
|
+
type: Input
|
|
7131
|
+
}], label: [{
|
|
7132
|
+
type: Input
|
|
7133
|
+
}], name: [{
|
|
7134
|
+
type: Input
|
|
7135
|
+
}], mountType: [{
|
|
7136
|
+
type: Input
|
|
7137
|
+
}] } });
|
|
7138
|
+
|
|
7139
|
+
class GoabxFileUploadCard {
|
|
7140
|
+
constructor(cdr) {
|
|
7141
|
+
this.cdr = cdr;
|
|
7142
|
+
this.onCancel = new EventEmitter();
|
|
7143
|
+
this.onDelete = new EventEmitter();
|
|
7144
|
+
this.isReady = false;
|
|
7145
|
+
this.version = "2";
|
|
7146
|
+
}
|
|
7147
|
+
ngOnInit() {
|
|
7148
|
+
// For Angular 20, we need to delay rendering the web component
|
|
7149
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
7150
|
+
setTimeout(() => {
|
|
7151
|
+
this.isReady = true;
|
|
7152
|
+
this.cdr.detectChanges();
|
|
7153
|
+
}, 0);
|
|
7154
|
+
}
|
|
7155
|
+
_onCancel(event) {
|
|
7156
|
+
this.onCancel.emit({ filename: this.filename, event });
|
|
7157
|
+
}
|
|
7158
|
+
_onDelete(event) {
|
|
7159
|
+
this.onDelete.emit({ filename: this.filename, event });
|
|
7160
|
+
}
|
|
7161
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFileUploadCard, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7162
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxFileUploadCard, isStandalone: true, selector: "goabx-file-upload-card", inputs: { filename: "filename", size: ["size", "size", numberAttribute], type: "type", progress: ["progress", "progress", numberAttribute], error: "error", testId: "testId" }, outputs: { onCancel: "onCancel", onDelete: "onDelete" }, ngImport: i0, template: `<goa-file-upload-card
|
|
7163
|
+
*ngIf="isReady"
|
|
7164
|
+
[attr.version]="version"
|
|
7165
|
+
[attr.filename]="filename"
|
|
7166
|
+
[attr.size]="size"
|
|
7167
|
+
[attr.type]="type"
|
|
7168
|
+
[attr.progress]="progress"
|
|
7169
|
+
[attr.error]="error"
|
|
7170
|
+
[attr.testid]="testId"
|
|
7171
|
+
(_cancel)="_onCancel($event)"
|
|
7172
|
+
(_delete)="_onDelete($event)"
|
|
7173
|
+
>
|
|
7174
|
+
</goa-file-upload-card>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
7175
|
+
}
|
|
7176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFileUploadCard, decorators: [{
|
|
7177
|
+
type: Component,
|
|
7178
|
+
args: [{
|
|
7179
|
+
standalone: true,
|
|
7180
|
+
selector: "goabx-file-upload-card",
|
|
7181
|
+
template: `<goa-file-upload-card
|
|
7182
|
+
*ngIf="isReady"
|
|
7183
|
+
[attr.version]="version"
|
|
7184
|
+
[attr.filename]="filename"
|
|
7185
|
+
[attr.size]="size"
|
|
7186
|
+
[attr.type]="type"
|
|
7187
|
+
[attr.progress]="progress"
|
|
7188
|
+
[attr.error]="error"
|
|
7189
|
+
[attr.testid]="testId"
|
|
7190
|
+
(_cancel)="_onCancel($event)"
|
|
7191
|
+
(_delete)="_onDelete($event)"
|
|
7192
|
+
>
|
|
7193
|
+
</goa-file-upload-card>`,
|
|
7194
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
7195
|
+
imports: [CommonModule],
|
|
7196
|
+
}]
|
|
7197
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { filename: [{
|
|
7198
|
+
type: Input,
|
|
7199
|
+
args: [{ required: true }]
|
|
7200
|
+
}], size: [{
|
|
7201
|
+
type: Input,
|
|
7202
|
+
args: [{ transform: numberAttribute }]
|
|
7203
|
+
}], type: [{
|
|
7204
|
+
type: Input
|
|
7205
|
+
}], progress: [{
|
|
7206
|
+
type: Input,
|
|
7207
|
+
args: [{ transform: numberAttribute }]
|
|
7208
|
+
}], error: [{
|
|
7209
|
+
type: Input
|
|
7210
|
+
}], testId: [{
|
|
7211
|
+
type: Input
|
|
7212
|
+
}], onCancel: [{
|
|
7213
|
+
type: Output
|
|
7214
|
+
}], onDelete: [{
|
|
7215
|
+
type: Output
|
|
7216
|
+
}] } });
|
|
7217
|
+
|
|
7218
|
+
class GoabxFileUploadInput extends GoabBaseComponent {
|
|
7219
|
+
constructor(cdr) {
|
|
7220
|
+
super();
|
|
7221
|
+
this.cdr = cdr;
|
|
7222
|
+
this.id = "";
|
|
7223
|
+
this.maxFileSize = "5MB";
|
|
7224
|
+
this.onSelectFile = new EventEmitter();
|
|
7225
|
+
this.isReady = false;
|
|
7226
|
+
this.version = "2";
|
|
7227
|
+
}
|
|
7228
|
+
ngOnInit() {
|
|
7229
|
+
// For Angular 20, we need to delay rendering the web component
|
|
7230
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
7231
|
+
setTimeout(() => {
|
|
7232
|
+
this.isReady = true;
|
|
7233
|
+
this.cdr.detectChanges();
|
|
7234
|
+
}, 0);
|
|
7235
|
+
}
|
|
7236
|
+
_onSelectFile(e) {
|
|
7237
|
+
const detail = { ...e.detail, event: e };
|
|
7238
|
+
this.onSelectFile.emit(detail);
|
|
7239
|
+
}
|
|
7240
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFileUploadInput, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7241
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxFileUploadInput, isStandalone: true, selector: "goabx-file-upload-input", inputs: { id: "id", variant: "variant", maxFileSize: "maxFileSize", accept: "accept" }, outputs: { onSelectFile: "onSelectFile" }, usesInheritance: true, ngImport: i0, template: `<goa-file-upload-input
|
|
7242
|
+
*ngIf="isReady"
|
|
7243
|
+
[attr.version]="version"
|
|
7244
|
+
[attr.variant]="variant"
|
|
7245
|
+
[attr.accept]="accept"
|
|
7246
|
+
[attr.maxfilesize]="maxFileSize"
|
|
7247
|
+
[attr.testid]="testId"
|
|
7248
|
+
[id]="id"
|
|
7249
|
+
[attr.mt]="mt"
|
|
7250
|
+
[attr.mb]="mb"
|
|
7251
|
+
[attr.mr]="mr"
|
|
7252
|
+
[attr.ml]="ml"
|
|
7253
|
+
(_selectFile)="_onSelectFile($event)"
|
|
7254
|
+
>
|
|
7255
|
+
</goa-file-upload-input>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
7256
|
+
}
|
|
7257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFileUploadInput, decorators: [{
|
|
7258
|
+
type: Component,
|
|
7259
|
+
args: [{
|
|
7260
|
+
standalone: true,
|
|
7261
|
+
selector: "goabx-file-upload-input",
|
|
7262
|
+
template: `<goa-file-upload-input
|
|
7263
|
+
*ngIf="isReady"
|
|
7264
|
+
[attr.version]="version"
|
|
7265
|
+
[attr.variant]="variant"
|
|
7266
|
+
[attr.accept]="accept"
|
|
7267
|
+
[attr.maxfilesize]="maxFileSize"
|
|
7268
|
+
[attr.testid]="testId"
|
|
7269
|
+
[id]="id"
|
|
7270
|
+
[attr.mt]="mt"
|
|
7271
|
+
[attr.mb]="mb"
|
|
7272
|
+
[attr.mr]="mr"
|
|
7273
|
+
[attr.ml]="ml"
|
|
7274
|
+
(_selectFile)="_onSelectFile($event)"
|
|
7275
|
+
>
|
|
7276
|
+
</goa-file-upload-input>`,
|
|
7277
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
7278
|
+
imports: [CommonModule],
|
|
7279
|
+
}]
|
|
7280
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { id: [{
|
|
7281
|
+
type: Input
|
|
7282
|
+
}], variant: [{
|
|
7283
|
+
type: Input,
|
|
7284
|
+
args: [{ required: true }]
|
|
7285
|
+
}], maxFileSize: [{
|
|
7286
|
+
type: Input
|
|
7287
|
+
}], accept: [{
|
|
7288
|
+
type: Input
|
|
7289
|
+
}], onSelectFile: [{
|
|
7290
|
+
type: Output
|
|
7291
|
+
}] } });
|
|
7292
|
+
|
|
7293
|
+
class GoabxFilterChip extends GoabBaseComponent {
|
|
7294
|
+
constructor(cdr) {
|
|
7295
|
+
super();
|
|
7296
|
+
this.cdr = cdr;
|
|
7297
|
+
this.content = "";
|
|
7298
|
+
this.secondaryText = "";
|
|
7299
|
+
this.leadingIcon = null;
|
|
7300
|
+
this.onClick = new EventEmitter();
|
|
7301
|
+
this.isReady = false;
|
|
7302
|
+
this.version = "2";
|
|
7303
|
+
}
|
|
7304
|
+
ngOnInit() {
|
|
7305
|
+
// For Angular 20, we need to delay rendering the web component
|
|
7306
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
7307
|
+
setTimeout(() => {
|
|
7308
|
+
this.isReady = true;
|
|
7309
|
+
this.cdr.detectChanges();
|
|
7310
|
+
}, 0);
|
|
7311
|
+
}
|
|
7312
|
+
_onClick() {
|
|
7313
|
+
this.onClick.emit();
|
|
7314
|
+
}
|
|
7315
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFilterChip, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7316
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxFilterChip, isStandalone: true, selector: "goabx-filter-chip", inputs: { error: ["error", "error", booleanAttribute], deletable: ["deletable", "deletable", booleanAttribute], content: "content", iconTheme: "iconTheme", secondaryText: "secondaryText", leadingIcon: "leadingIcon" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `<goa-filter-chip
|
|
7317
|
+
*ngIf="isReady"
|
|
7318
|
+
[attr.version]="version"
|
|
7319
|
+
[attr.error]="error"
|
|
7320
|
+
[attr.icontheme]="iconTheme"
|
|
7321
|
+
[attr.content]="content"
|
|
7322
|
+
[attr.secondarytext]="secondaryText"
|
|
7323
|
+
[attr.leadingicon]="leadingIcon"
|
|
7324
|
+
[attr.testid]="testId"
|
|
7325
|
+
[attr.mt]="mt"
|
|
7326
|
+
[attr.mb]="mb"
|
|
7327
|
+
[attr.ml]="ml"
|
|
7328
|
+
[attr.mr]="mr"
|
|
7329
|
+
(_click)="_onClick()"
|
|
7330
|
+
>
|
|
7331
|
+
<ng-content />
|
|
7332
|
+
</goa-filter-chip>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
7333
|
+
}
|
|
7334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFilterChip, decorators: [{
|
|
7335
|
+
type: Component,
|
|
7336
|
+
args: [{
|
|
7337
|
+
standalone: true,
|
|
7338
|
+
selector: "goabx-filter-chip",
|
|
7339
|
+
template: `<goa-filter-chip
|
|
7340
|
+
*ngIf="isReady"
|
|
7341
|
+
[attr.version]="version"
|
|
7342
|
+
[attr.error]="error"
|
|
7343
|
+
[attr.icontheme]="iconTheme"
|
|
7344
|
+
[attr.content]="content"
|
|
7345
|
+
[attr.secondarytext]="secondaryText"
|
|
7346
|
+
[attr.leadingicon]="leadingIcon"
|
|
7347
|
+
[attr.testid]="testId"
|
|
7348
|
+
[attr.mt]="mt"
|
|
7349
|
+
[attr.mb]="mb"
|
|
7350
|
+
[attr.ml]="ml"
|
|
7351
|
+
[attr.mr]="mr"
|
|
7352
|
+
(_click)="_onClick()"
|
|
7353
|
+
>
|
|
7354
|
+
<ng-content />
|
|
7355
|
+
</goa-filter-chip>`,
|
|
7356
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
7357
|
+
imports: [CommonModule],
|
|
7358
|
+
}]
|
|
7359
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { error: [{
|
|
7360
|
+
type: Input,
|
|
7361
|
+
args: [{ transform: booleanAttribute }]
|
|
7362
|
+
}], deletable: [{
|
|
7363
|
+
type: Input,
|
|
7364
|
+
args: [{ transform: booleanAttribute }]
|
|
7365
|
+
}], content: [{
|
|
7366
|
+
type: Input
|
|
7367
|
+
}], iconTheme: [{
|
|
7368
|
+
type: Input
|
|
7369
|
+
}], secondaryText: [{
|
|
7370
|
+
type: Input
|
|
7371
|
+
}], leadingIcon: [{
|
|
7372
|
+
type: Input
|
|
7373
|
+
}], onClick: [{
|
|
7374
|
+
type: Output
|
|
7375
|
+
}] } });
|
|
7376
|
+
|
|
7377
|
+
class GoabxFormItem extends GoabBaseComponent {
|
|
7378
|
+
constructor(cdr) {
|
|
7379
|
+
super();
|
|
7380
|
+
this.cdr = cdr;
|
|
7381
|
+
this.type = "";
|
|
7382
|
+
this.isReady = false;
|
|
7383
|
+
this.version = "2";
|
|
7384
|
+
}
|
|
7385
|
+
ngOnInit() {
|
|
7386
|
+
// For Angular 20, we need to delay rendering the web component
|
|
7387
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
7388
|
+
setTimeout(() => {
|
|
7389
|
+
this.isReady = true;
|
|
7390
|
+
this.cdr.detectChanges();
|
|
7391
|
+
}, 0);
|
|
7392
|
+
}
|
|
7393
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFormItem, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7394
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxFormItem, isStandalone: true, selector: "goabx-form-item", inputs: { label: "label", labelSize: "labelSize", helpText: "helpText", error: "error", requirement: "requirement", maxWidth: "maxWidth", id: "id", type: "type", publicFormSummaryOrder: "publicFormSummaryOrder", name: "name" }, usesInheritance: true, ngImport: i0, template: `
|
|
7395
|
+
<goa-form-item
|
|
7396
|
+
*ngIf="isReady"
|
|
7397
|
+
[attr.version]="version"
|
|
7398
|
+
[attr.label]="label"
|
|
7399
|
+
[attr.labelsize]="labelSize"
|
|
7400
|
+
[attr.helptext]="helpText"
|
|
7401
|
+
[attr.error]="error"
|
|
7402
|
+
[attr.testid]="testId"
|
|
7403
|
+
[attr.type]="type"
|
|
7404
|
+
[id]="id"
|
|
7405
|
+
[attr.name]="name"
|
|
7406
|
+
[attr.requirement]="requirement"
|
|
7407
|
+
[attr.maxwidth]="maxWidth"
|
|
7408
|
+
[attr.public-form-summary-order]="publicFormSummaryOrder"
|
|
7409
|
+
[attr.mt]="mt"
|
|
7410
|
+
[attr.mb]="mb"
|
|
7411
|
+
[attr.mr]="mr"
|
|
7412
|
+
[attr.ml]="ml"
|
|
7413
|
+
>
|
|
7414
|
+
<ng-content />
|
|
7415
|
+
<ng-content select="goab-form-item-slot"></ng-content>
|
|
7416
|
+
</goa-form-item>
|
|
7417
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
7418
|
+
}
|
|
7419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFormItem, decorators: [{
|
|
7420
|
+
type: Component,
|
|
7421
|
+
args: [{
|
|
7422
|
+
standalone: true,
|
|
7423
|
+
selector: "goabx-form-item",
|
|
7424
|
+
template: `
|
|
7425
|
+
<goa-form-item
|
|
7426
|
+
*ngIf="isReady"
|
|
7427
|
+
[attr.version]="version"
|
|
7428
|
+
[attr.label]="label"
|
|
7429
|
+
[attr.labelsize]="labelSize"
|
|
7430
|
+
[attr.helptext]="helpText"
|
|
7431
|
+
[attr.error]="error"
|
|
7432
|
+
[attr.testid]="testId"
|
|
7433
|
+
[attr.type]="type"
|
|
7434
|
+
[id]="id"
|
|
7435
|
+
[attr.name]="name"
|
|
7436
|
+
[attr.requirement]="requirement"
|
|
7437
|
+
[attr.maxwidth]="maxWidth"
|
|
7438
|
+
[attr.public-form-summary-order]="publicFormSummaryOrder"
|
|
7439
|
+
[attr.mt]="mt"
|
|
7440
|
+
[attr.mb]="mb"
|
|
7441
|
+
[attr.mr]="mr"
|
|
7442
|
+
[attr.ml]="ml"
|
|
7443
|
+
>
|
|
7444
|
+
<ng-content />
|
|
7445
|
+
<ng-content select="goab-form-item-slot"></ng-content>
|
|
7446
|
+
</goa-form-item>
|
|
7447
|
+
`,
|
|
7448
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
7449
|
+
imports: [CommonModule],
|
|
7450
|
+
}]
|
|
7451
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { label: [{
|
|
7452
|
+
type: Input
|
|
7453
|
+
}], labelSize: [{
|
|
7454
|
+
type: Input
|
|
7455
|
+
}], helpText: [{
|
|
7456
|
+
type: Input
|
|
7457
|
+
}], error: [{
|
|
7458
|
+
type: Input
|
|
7459
|
+
}], requirement: [{
|
|
7460
|
+
type: Input
|
|
7461
|
+
}], maxWidth: [{
|
|
7462
|
+
type: Input
|
|
7463
|
+
}], id: [{
|
|
7464
|
+
type: Input
|
|
7465
|
+
}], type: [{
|
|
7466
|
+
type: Input
|
|
7467
|
+
}], publicFormSummaryOrder: [{
|
|
7468
|
+
type: Input
|
|
7469
|
+
}], name: [{
|
|
7470
|
+
type: Input
|
|
7471
|
+
}] } });
|
|
7472
|
+
|
|
7473
|
+
class GoabxAppFooter {
|
|
7474
|
+
constructor(cdr) {
|
|
7475
|
+
this.cdr = cdr;
|
|
7476
|
+
this.isReady = false;
|
|
7477
|
+
this.version = 2;
|
|
7478
|
+
}
|
|
7479
|
+
ngOnInit() {
|
|
7480
|
+
// For Angular 20, we need to delay rendering the web component
|
|
7481
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
7482
|
+
setTimeout(() => {
|
|
7483
|
+
this.isReady = true;
|
|
7484
|
+
this.cdr.detectChanges();
|
|
7485
|
+
}, 0);
|
|
7486
|
+
}
|
|
7487
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooter, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7488
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxAppFooter, isStandalone: true, selector: "goabx-app-footer", inputs: { maxContentWidth: "maxContentWidth", testId: "testId", url: "url" }, ngImport: i0, template: `
|
|
7489
|
+
<goa-app-footer
|
|
7490
|
+
*ngIf="isReady"
|
|
7491
|
+
[attr.maxcontentwidth]="maxContentWidth"
|
|
7492
|
+
[attr.url]="url"
|
|
7493
|
+
[attr.testid]="testId"
|
|
7494
|
+
[attr.version]="version"
|
|
7495
|
+
>
|
|
7496
|
+
<ng-content select="[slot=nav]" />
|
|
7497
|
+
<ng-content select="goabx-app-footer-meta-section"></ng-content>
|
|
7498
|
+
<ng-content></ng-content>
|
|
7499
|
+
</goa-app-footer>
|
|
7500
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
7501
|
+
}
|
|
7502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooter, decorators: [{
|
|
7503
|
+
type: Component,
|
|
7504
|
+
args: [{
|
|
7505
|
+
standalone: true,
|
|
7506
|
+
selector: "goabx-app-footer",
|
|
7507
|
+
template: `
|
|
7508
|
+
<goa-app-footer
|
|
7509
|
+
*ngIf="isReady"
|
|
7510
|
+
[attr.maxcontentwidth]="maxContentWidth"
|
|
7511
|
+
[attr.url]="url"
|
|
7512
|
+
[attr.testid]="testId"
|
|
7513
|
+
[attr.version]="version"
|
|
7514
|
+
>
|
|
7515
|
+
<ng-content select="[slot=nav]" />
|
|
7516
|
+
<ng-content select="goabx-app-footer-meta-section"></ng-content>
|
|
7517
|
+
<ng-content></ng-content>
|
|
7518
|
+
</goa-app-footer>
|
|
7519
|
+
`,
|
|
7520
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
7521
|
+
imports: [CommonModule],
|
|
7522
|
+
}]
|
|
7523
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { maxContentWidth: [{
|
|
7524
|
+
type: Input
|
|
7525
|
+
}], testId: [{
|
|
7526
|
+
type: Input
|
|
7527
|
+
}], url: [{
|
|
7528
|
+
type: Input
|
|
7529
|
+
}] } });
|
|
7530
|
+
|
|
7531
|
+
class GoabxAppFooterMetaSection {
|
|
7532
|
+
constructor(cdr) {
|
|
7533
|
+
this.cdr = cdr;
|
|
7534
|
+
this.isReady = false;
|
|
7535
|
+
}
|
|
7536
|
+
ngOnInit() {
|
|
7537
|
+
// For Angular 20, we need to delay rendering the web component
|
|
7538
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
7539
|
+
setTimeout(() => {
|
|
7540
|
+
this.isReady = true;
|
|
7541
|
+
this.cdr.detectChanges();
|
|
7542
|
+
}, 0);
|
|
7543
|
+
}
|
|
7544
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooterMetaSection, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7545
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxAppFooterMetaSection, isStandalone: true, selector: "goabx-app-footer-meta-section", inputs: { testId: "testId", slot: "slot" }, ngImport: i0, template: `
|
|
7546
|
+
<goa-app-footer-meta-section *ngIf="isReady" [attr.testid]="testId">
|
|
7547
|
+
<ng-content />
|
|
7548
|
+
</goa-app-footer-meta-section>
|
|
7549
|
+
`, isInline: true, styles: [":host{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
7550
|
+
}
|
|
7551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooterMetaSection, decorators: [{
|
|
7552
|
+
type: Component,
|
|
7553
|
+
args: [{ standalone: true, selector: "goabx-app-footer-meta-section", template: `
|
|
7554
|
+
<goa-app-footer-meta-section *ngIf="isReady" [attr.testid]="testId">
|
|
7555
|
+
<ng-content />
|
|
7556
|
+
</goa-app-footer-meta-section>
|
|
7557
|
+
`, schemas: [CUSTOM_ELEMENTS_SCHEMA], imports: [CommonModule], styles: [":host{width:100%}\n"] }]
|
|
7558
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { testId: [{
|
|
7559
|
+
type: Input
|
|
7560
|
+
}], slot: [{
|
|
7561
|
+
type: Input,
|
|
7562
|
+
args: [{ required: true }]
|
|
7563
|
+
}] } });
|
|
7564
|
+
|
|
7565
|
+
class GoabxAppFooterNavSection {
|
|
7566
|
+
constructor(cdr) {
|
|
7567
|
+
this.cdr = cdr;
|
|
7568
|
+
this.maxColumnCount = 1;
|
|
7569
|
+
this.isReady = false;
|
|
7570
|
+
}
|
|
7571
|
+
ngOnInit() {
|
|
7572
|
+
// For Angular 20, we need to delay rendering the web component
|
|
7573
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
7574
|
+
setTimeout(() => {
|
|
7575
|
+
this.isReady = true;
|
|
7576
|
+
this.cdr.detectChanges();
|
|
7577
|
+
}, 0);
|
|
7578
|
+
}
|
|
7579
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooterNavSection, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7580
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxAppFooterNavSection, isStandalone: true, selector: "goabx-app-footer-nav-section", inputs: { heading: "heading", maxColumnCount: "maxColumnCount", testId: "testId", slot: "slot" }, ngImport: i0, template: `
|
|
7581
|
+
<goa-app-footer-nav-section
|
|
7582
|
+
*ngIf="isReady"
|
|
7583
|
+
[attr.maxcolumncount]="maxColumnCount"
|
|
7584
|
+
[attr.heading]="heading"
|
|
7585
|
+
[attr.testid]="testId"
|
|
7586
|
+
>
|
|
7587
|
+
<ng-content />
|
|
7588
|
+
</goa-app-footer-nav-section>
|
|
7589
|
+
`, isInline: true, styles: [":host{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
7590
|
+
}
|
|
7591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooterNavSection, decorators: [{
|
|
7592
|
+
type: Component,
|
|
7593
|
+
args: [{ standalone: true, selector: "goabx-app-footer-nav-section", template: `
|
|
7594
|
+
<goa-app-footer-nav-section
|
|
7595
|
+
*ngIf="isReady"
|
|
7596
|
+
[attr.maxcolumncount]="maxColumnCount"
|
|
7597
|
+
[attr.heading]="heading"
|
|
7598
|
+
[attr.testid]="testId"
|
|
7599
|
+
>
|
|
7600
|
+
<ng-content />
|
|
7601
|
+
</goa-app-footer-nav-section>
|
|
7602
|
+
`, schemas: [CUSTOM_ELEMENTS_SCHEMA], imports: [CommonModule], styles: [":host{width:100%}\n"] }]
|
|
7603
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
|
|
7604
|
+
type: Input
|
|
7605
|
+
}], maxColumnCount: [{
|
|
7606
|
+
type: Input
|
|
7607
|
+
}], testId: [{
|
|
7608
|
+
type: Input
|
|
7609
|
+
}], slot: [{
|
|
7610
|
+
type: Input,
|
|
7611
|
+
args: [{ required: true }]
|
|
7612
|
+
}] } });
|
|
7613
|
+
|
|
7614
|
+
class GoabxInput extends GoabControlValueAccessor {
|
|
7615
|
+
constructor(cdr, renderer) {
|
|
7616
|
+
super(renderer);
|
|
7617
|
+
this.cdr = cdr;
|
|
7618
|
+
this.type = "text";
|
|
7619
|
+
this.textAlign = "left";
|
|
7620
|
+
this.size = "default";
|
|
7621
|
+
this.onTrailingIconClick = new EventEmitter();
|
|
7622
|
+
this.onFocus = new EventEmitter();
|
|
7623
|
+
this.onBlur = new EventEmitter();
|
|
7624
|
+
this.onKeyPress = new EventEmitter();
|
|
7625
|
+
this.onChange = new EventEmitter();
|
|
7626
|
+
this.isReady = false;
|
|
7627
|
+
this.version = "2";
|
|
7628
|
+
this.handleTrailingIconClick = false;
|
|
7629
|
+
}
|
|
7630
|
+
ngOnInit() {
|
|
7631
|
+
// For Angular 20, we need to delay rendering the web component
|
|
7632
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
7633
|
+
setTimeout(() => {
|
|
7634
|
+
this.isReady = true;
|
|
7635
|
+
this.cdr.detectChanges();
|
|
7636
|
+
}, 0);
|
|
7637
|
+
this.handleTrailingIconClick = this.onTrailingIconClick.observed;
|
|
7638
|
+
if (typeof this.value === "number") {
|
|
7639
|
+
console.warn("For numeric values use goab-input-number.");
|
|
7640
|
+
}
|
|
7641
|
+
}
|
|
7642
|
+
_onTrailingIconClick(_) {
|
|
7643
|
+
if (this.handleTrailingIconClick) {
|
|
7644
|
+
this.onTrailingIconClick.emit();
|
|
7645
|
+
}
|
|
7646
|
+
}
|
|
7647
|
+
_onChange(e) {
|
|
7648
|
+
this.markAsTouched();
|
|
7649
|
+
const detail = { ...e.detail, event: e };
|
|
7650
|
+
this.onChange.emit(detail);
|
|
7651
|
+
this.fcChange?.(detail.value);
|
|
7652
|
+
}
|
|
7653
|
+
_onKeyPress(e) {
|
|
7654
|
+
this.markAsTouched();
|
|
7655
|
+
const detail = { ...e.detail, event: e };
|
|
7656
|
+
this.onKeyPress.emit(detail);
|
|
7657
|
+
this.fcTouched?.();
|
|
7658
|
+
}
|
|
7659
|
+
_onFocus(e) {
|
|
7660
|
+
this.markAsTouched();
|
|
7661
|
+
const detail = { ...e.detail, event: e };
|
|
7662
|
+
this.onFocus.emit(detail);
|
|
7663
|
+
}
|
|
7664
|
+
_onBlur(e) {
|
|
7665
|
+
const detail = { ...e.detail, event: e };
|
|
7666
|
+
this.onBlur.emit(detail);
|
|
7667
|
+
}
|
|
7668
|
+
getLeadingContentAsString() {
|
|
7669
|
+
return this.leadingContent instanceof TemplateRef ? "" : this.leadingContent;
|
|
7670
|
+
}
|
|
7671
|
+
getLeadingContentAsTemplate() {
|
|
7672
|
+
if (!this.leadingContent)
|
|
7673
|
+
return null;
|
|
7674
|
+
return this.leadingContent instanceof TemplateRef ? this.leadingContent : null;
|
|
7675
|
+
}
|
|
7676
|
+
getTrailingContentAsString() {
|
|
7677
|
+
return this.trailingContent instanceof TemplateRef ? "" : this.trailingContent;
|
|
7678
|
+
}
|
|
7679
|
+
getTrailingContentAsTemplate() {
|
|
7680
|
+
if (!this.trailingContent)
|
|
7681
|
+
return null;
|
|
7682
|
+
return this.trailingContent instanceof TemplateRef ? this.trailingContent : null;
|
|
7683
|
+
}
|
|
7684
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7685
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxInput, isStandalone: true, selector: "goabx-input", inputs: { type: "type", name: "name", debounce: ["debounce", "debounce", numberAttribute], autoCapitalize: "autoCapitalize", autoComplete: "autoComplete", placeholder: "placeholder", leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", variant: "variant", focused: ["focused", "focused", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], width: "width", prefix: "prefix", suffix: "suffix", ariaLabel: "ariaLabel", maxLength: ["maxLength", "maxLength", numberAttribute], min: "min", max: "max", step: ["step", "step", numberAttribute], ariaLabelledBy: "ariaLabelledBy", trailingIconAriaLabel: "trailingIconAriaLabel", textAlign: "textAlign", leadingContent: "leadingContent", trailingContent: "trailingContent", size: "size" }, outputs: { onTrailingIconClick: "onTrailingIconClick", onFocus: "onFocus", onBlur: "onBlur", onKeyPress: "onKeyPress", onChange: "onChange" }, providers: [
|
|
7686
|
+
{
|
|
7687
|
+
provide: NG_VALUE_ACCESSOR,
|
|
7688
|
+
multi: true,
|
|
7689
|
+
useExisting: forwardRef(() => GoabxInput),
|
|
7690
|
+
},
|
|
7691
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
7692
|
+
<goa-input
|
|
7693
|
+
#goaComponentRef
|
|
7694
|
+
*ngIf="isReady"
|
|
7695
|
+
[attr.version]="version"
|
|
7696
|
+
[attr.type]="type"
|
|
7697
|
+
[attr.name]="name"
|
|
7698
|
+
[attr.focused]="focused"
|
|
7699
|
+
[attr.value]="value"
|
|
7700
|
+
[attr.autocapitalize]="autoCapitalize"
|
|
7701
|
+
[attr.autocomplete]="autoComplete"
|
|
7702
|
+
[attr.placeholder]="placeholder"
|
|
7703
|
+
[attr.leadingicon]="leadingIcon"
|
|
7704
|
+
[attr.trailingicon]="trailingIcon"
|
|
7705
|
+
[attr.variant]="variant"
|
|
7706
|
+
[disabled]="disabled"
|
|
7707
|
+
[attr.readonly]="readonly"
|
|
7708
|
+
[attr.error]="error"
|
|
7709
|
+
[attr.data-testid]="testId"
|
|
7710
|
+
[attr.width]="width"
|
|
7711
|
+
[attr.arialabel]="ariaLabel"
|
|
7712
|
+
[attr.arialabelledby]="ariaLabelledBy"
|
|
7713
|
+
[attr.min]="min"
|
|
7714
|
+
[attr.max]="max"
|
|
7715
|
+
[attr.step]="step"
|
|
7716
|
+
[attr.prefix]="prefix"
|
|
7717
|
+
[attr.suffix]="suffix"
|
|
7718
|
+
[attr.debounce]="debounce"
|
|
7719
|
+
[attr.maxlength]="maxLength"
|
|
7720
|
+
[attr.id]="id"
|
|
7721
|
+
[attr.mt]="mt"
|
|
7722
|
+
[attr.mr]="mr"
|
|
7723
|
+
[attr.mb]="mb"
|
|
7724
|
+
[attr.ml]="ml"
|
|
7725
|
+
[attr.handletrailingiconclick]="handleTrailingIconClick"
|
|
7726
|
+
[attr.textalign]="textAlign"
|
|
7727
|
+
[attr.size]="size"
|
|
7728
|
+
(_trailingIconClick)="_onTrailingIconClick($event)"
|
|
7729
|
+
(_change)="_onChange($event)"
|
|
7730
|
+
(_focus)="_onFocus($event)"
|
|
7731
|
+
(_blur)="_onBlur($event)"
|
|
7732
|
+
(_keyPress)="_onKeyPress($event)"
|
|
7733
|
+
[attr.trailingiconarialabel]="trailingIconAriaLabel"
|
|
7734
|
+
>
|
|
7735
|
+
<div slot="leadingContent">
|
|
7736
|
+
<ng-container *ngIf="leadingContent">
|
|
7737
|
+
<ng-container *ngIf="getLeadingContentAsTemplate(); else stringLeading">
|
|
7738
|
+
<ng-container
|
|
7739
|
+
[ngTemplateOutlet]="getLeadingContentAsTemplate()"
|
|
7740
|
+
></ng-container>
|
|
7741
|
+
</ng-container>
|
|
7742
|
+
<ng-template #stringLeading>{{ getLeadingContentAsString() }}</ng-template>
|
|
7743
|
+
</ng-container>
|
|
7744
|
+
</div>
|
|
7745
|
+
|
|
7746
|
+
<ng-content />
|
|
7747
|
+
|
|
7748
|
+
<div slot="trailingContent">
|
|
7749
|
+
<ng-container *ngIf="trailingContent">
|
|
7750
|
+
<ng-container *ngIf="getTrailingContentAsTemplate(); else stringTrailing">
|
|
7751
|
+
<ng-container
|
|
7752
|
+
[ngTemplateOutlet]="getTrailingContentAsTemplate()"
|
|
7753
|
+
></ng-container>
|
|
7754
|
+
</ng-container>
|
|
7755
|
+
<ng-template #stringTrailing>{{ getTrailingContentAsString() }}</ng-template>
|
|
7756
|
+
</ng-container>
|
|
7757
|
+
</div>
|
|
7758
|
+
</goa-input>
|
|
7759
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }] }); }
|
|
7760
|
+
}
|
|
7761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxInput, decorators: [{
|
|
7762
|
+
type: Component,
|
|
7763
|
+
args: [{
|
|
7764
|
+
standalone: true,
|
|
7765
|
+
selector: "goabx-input",
|
|
7766
|
+
imports: [NgIf, NgTemplateOutlet, CommonModule],
|
|
7767
|
+
template: `
|
|
7768
|
+
<goa-input
|
|
7769
|
+
#goaComponentRef
|
|
7770
|
+
*ngIf="isReady"
|
|
7771
|
+
[attr.version]="version"
|
|
7772
|
+
[attr.type]="type"
|
|
7773
|
+
[attr.name]="name"
|
|
7774
|
+
[attr.focused]="focused"
|
|
7775
|
+
[attr.value]="value"
|
|
7776
|
+
[attr.autocapitalize]="autoCapitalize"
|
|
7777
|
+
[attr.autocomplete]="autoComplete"
|
|
7778
|
+
[attr.placeholder]="placeholder"
|
|
7779
|
+
[attr.leadingicon]="leadingIcon"
|
|
7780
|
+
[attr.trailingicon]="trailingIcon"
|
|
7781
|
+
[attr.variant]="variant"
|
|
7782
|
+
[disabled]="disabled"
|
|
7783
|
+
[attr.readonly]="readonly"
|
|
7784
|
+
[attr.error]="error"
|
|
7785
|
+
[attr.data-testid]="testId"
|
|
7786
|
+
[attr.width]="width"
|
|
7787
|
+
[attr.arialabel]="ariaLabel"
|
|
7788
|
+
[attr.arialabelledby]="ariaLabelledBy"
|
|
7789
|
+
[attr.min]="min"
|
|
7790
|
+
[attr.max]="max"
|
|
7791
|
+
[attr.step]="step"
|
|
7792
|
+
[attr.prefix]="prefix"
|
|
7793
|
+
[attr.suffix]="suffix"
|
|
7794
|
+
[attr.debounce]="debounce"
|
|
7795
|
+
[attr.maxlength]="maxLength"
|
|
7796
|
+
[attr.id]="id"
|
|
7797
|
+
[attr.mt]="mt"
|
|
7798
|
+
[attr.mr]="mr"
|
|
7799
|
+
[attr.mb]="mb"
|
|
7800
|
+
[attr.ml]="ml"
|
|
7801
|
+
[attr.handletrailingiconclick]="handleTrailingIconClick"
|
|
7802
|
+
[attr.textalign]="textAlign"
|
|
7803
|
+
[attr.size]="size"
|
|
7804
|
+
(_trailingIconClick)="_onTrailingIconClick($event)"
|
|
7805
|
+
(_change)="_onChange($event)"
|
|
7806
|
+
(_focus)="_onFocus($event)"
|
|
7807
|
+
(_blur)="_onBlur($event)"
|
|
7808
|
+
(_keyPress)="_onKeyPress($event)"
|
|
7809
|
+
[attr.trailingiconarialabel]="trailingIconAriaLabel"
|
|
7810
|
+
>
|
|
7811
|
+
<div slot="leadingContent">
|
|
7812
|
+
<ng-container *ngIf="leadingContent">
|
|
7813
|
+
<ng-container *ngIf="getLeadingContentAsTemplate(); else stringLeading">
|
|
7814
|
+
<ng-container
|
|
7815
|
+
[ngTemplateOutlet]="getLeadingContentAsTemplate()"
|
|
7816
|
+
></ng-container>
|
|
7817
|
+
</ng-container>
|
|
7818
|
+
<ng-template #stringLeading>{{ getLeadingContentAsString() }}</ng-template>
|
|
7819
|
+
</ng-container>
|
|
7820
|
+
</div>
|
|
7821
|
+
|
|
7822
|
+
<ng-content />
|
|
7823
|
+
|
|
7824
|
+
<div slot="trailingContent">
|
|
7825
|
+
<ng-container *ngIf="trailingContent">
|
|
7826
|
+
<ng-container *ngIf="getTrailingContentAsTemplate(); else stringTrailing">
|
|
7827
|
+
<ng-container
|
|
7828
|
+
[ngTemplateOutlet]="getTrailingContentAsTemplate()"
|
|
7829
|
+
></ng-container>
|
|
7830
|
+
</ng-container>
|
|
7831
|
+
<ng-template #stringTrailing>{{ getTrailingContentAsString() }}</ng-template>
|
|
7832
|
+
</ng-container>
|
|
7833
|
+
</div>
|
|
7834
|
+
</goa-input>
|
|
7835
|
+
`,
|
|
7836
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
7837
|
+
providers: [
|
|
7838
|
+
{
|
|
7839
|
+
provide: NG_VALUE_ACCESSOR,
|
|
7840
|
+
multi: true,
|
|
7841
|
+
useExisting: forwardRef(() => GoabxInput),
|
|
7842
|
+
},
|
|
7843
|
+
],
|
|
7844
|
+
}]
|
|
7845
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { type: [{
|
|
7846
|
+
type: Input
|
|
7847
|
+
}], name: [{
|
|
7848
|
+
type: Input
|
|
7849
|
+
}], debounce: [{
|
|
7850
|
+
type: Input,
|
|
7851
|
+
args: [{ transform: numberAttribute }]
|
|
7852
|
+
}], autoCapitalize: [{
|
|
7853
|
+
type: Input
|
|
7854
|
+
}], autoComplete: [{
|
|
7855
|
+
type: Input
|
|
7856
|
+
}], placeholder: [{
|
|
7857
|
+
type: Input
|
|
7858
|
+
}], leadingIcon: [{
|
|
7859
|
+
type: Input
|
|
7860
|
+
}], trailingIcon: [{
|
|
7861
|
+
type: Input
|
|
7862
|
+
}], variant: [{
|
|
7863
|
+
type: Input
|
|
7864
|
+
}], focused: [{
|
|
7865
|
+
type: Input,
|
|
7866
|
+
args: [{ transform: booleanAttribute }]
|
|
7867
|
+
}], readonly: [{
|
|
7868
|
+
type: Input,
|
|
7869
|
+
args: [{ transform: booleanAttribute }]
|
|
7870
|
+
}], width: [{
|
|
7871
|
+
type: Input
|
|
7872
|
+
}], prefix: [{
|
|
7873
|
+
type: Input
|
|
7874
|
+
}], suffix: [{
|
|
7875
|
+
type: Input
|
|
7876
|
+
}], ariaLabel: [{
|
|
7877
|
+
type: Input
|
|
7878
|
+
}], maxLength: [{
|
|
7879
|
+
type: Input,
|
|
7880
|
+
args: [{ transform: numberAttribute }]
|
|
7881
|
+
}], min: [{
|
|
7882
|
+
type: Input
|
|
7883
|
+
}], max: [{
|
|
7884
|
+
type: Input
|
|
7885
|
+
}], step: [{
|
|
7886
|
+
type: Input,
|
|
7887
|
+
args: [{ transform: numberAttribute }]
|
|
7888
|
+
}], ariaLabelledBy: [{
|
|
7889
|
+
type: Input
|
|
7890
|
+
}], trailingIconAriaLabel: [{
|
|
7891
|
+
type: Input
|
|
7892
|
+
}], textAlign: [{
|
|
7893
|
+
type: Input
|
|
7894
|
+
}], leadingContent: [{
|
|
7895
|
+
type: Input
|
|
7896
|
+
}], trailingContent: [{
|
|
7897
|
+
type: Input
|
|
7898
|
+
}], size: [{
|
|
7899
|
+
type: Input
|
|
7900
|
+
}], onTrailingIconClick: [{
|
|
7901
|
+
type: Output
|
|
7902
|
+
}], onFocus: [{
|
|
7903
|
+
type: Output
|
|
7904
|
+
}], onBlur: [{
|
|
7905
|
+
type: Output
|
|
7906
|
+
}], onKeyPress: [{
|
|
7907
|
+
type: Output
|
|
7908
|
+
}], onChange: [{
|
|
7909
|
+
type: Output
|
|
7910
|
+
}] } });
|
|
7911
|
+
|
|
7912
|
+
class GoabxLink {
|
|
7913
|
+
constructor(cdr) {
|
|
7914
|
+
this.cdr = cdr;
|
|
7915
|
+
this.isReady = false;
|
|
7916
|
+
this.color = "interactive";
|
|
7917
|
+
this.size = "medium";
|
|
7918
|
+
this.JSON = JSON;
|
|
7919
|
+
}
|
|
7920
|
+
ngOnInit() {
|
|
7921
|
+
setTimeout(() => {
|
|
7922
|
+
this.isReady = true;
|
|
7923
|
+
this.cdr.detectChanges();
|
|
7924
|
+
});
|
|
7925
|
+
}
|
|
7926
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxLink, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7927
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxLink, isStandalone: true, selector: "goabx-link", inputs: { leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", testId: "testId", action: "action", color: "color", size: "size", actionArg: "actionArg", actionArgs: "actionArgs", mt: "mt", mb: "mb", ml: "ml", mr: "mr" }, ngImport: i0, template: `
|
|
7928
|
+
<goa-link
|
|
7929
|
+
*ngIf="isReady"
|
|
7930
|
+
[attr.leadingicon]="leadingIcon"
|
|
7931
|
+
[attr.trailingicon]="trailingIcon"
|
|
7932
|
+
[attr.testid]="testId"
|
|
7933
|
+
[attr.action]="action"
|
|
7934
|
+
[attr.color]="color"
|
|
7935
|
+
[attr.size]="size"
|
|
7936
|
+
[attr.action-arg]="actionArg"
|
|
7937
|
+
[attr.action-args]="JSON.stringify(actionArgs)"
|
|
7938
|
+
[attr.mt]="mt"
|
|
7939
|
+
[attr.mb]="mb"
|
|
7940
|
+
[attr.ml]="ml"
|
|
7941
|
+
[attr.mr]="mr"
|
|
7942
|
+
>
|
|
7943
|
+
<ng-content />
|
|
7944
|
+
</goa-link>
|
|
7945
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
7946
|
+
}
|
|
7947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxLink, decorators: [{
|
|
7948
|
+
type: Component,
|
|
7949
|
+
args: [{
|
|
7950
|
+
standalone: true,
|
|
7951
|
+
selector: "goabx-link",
|
|
7952
|
+
template: `
|
|
7953
|
+
<goa-link
|
|
7954
|
+
*ngIf="isReady"
|
|
7955
|
+
[attr.leadingicon]="leadingIcon"
|
|
7956
|
+
[attr.trailingicon]="trailingIcon"
|
|
7957
|
+
[attr.testid]="testId"
|
|
7958
|
+
[attr.action]="action"
|
|
7959
|
+
[attr.color]="color"
|
|
7960
|
+
[attr.size]="size"
|
|
7961
|
+
[attr.action-arg]="actionArg"
|
|
7962
|
+
[attr.action-args]="JSON.stringify(actionArgs)"
|
|
7963
|
+
[attr.mt]="mt"
|
|
7964
|
+
[attr.mb]="mb"
|
|
7965
|
+
[attr.ml]="ml"
|
|
7966
|
+
[attr.mr]="mr"
|
|
7967
|
+
>
|
|
7968
|
+
<ng-content />
|
|
7969
|
+
</goa-link>
|
|
7970
|
+
`,
|
|
7971
|
+
imports: [CommonModule],
|
|
7972
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
7973
|
+
}]
|
|
7974
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { leadingIcon: [{
|
|
7975
|
+
type: Input
|
|
7976
|
+
}], trailingIcon: [{
|
|
7977
|
+
type: Input
|
|
7978
|
+
}], testId: [{
|
|
7979
|
+
type: Input
|
|
7980
|
+
}], action: [{
|
|
7981
|
+
type: Input
|
|
7982
|
+
}], color: [{
|
|
7983
|
+
type: Input
|
|
7984
|
+
}], size: [{
|
|
7985
|
+
type: Input
|
|
7986
|
+
}], actionArg: [{
|
|
7987
|
+
type: Input
|
|
7988
|
+
}], actionArgs: [{
|
|
7989
|
+
type: Input
|
|
7990
|
+
}], mt: [{
|
|
7991
|
+
type: Input
|
|
7992
|
+
}], mb: [{
|
|
7993
|
+
type: Input
|
|
7994
|
+
}], ml: [{
|
|
7995
|
+
type: Input
|
|
7996
|
+
}], mr: [{
|
|
7997
|
+
type: Input
|
|
7998
|
+
}] } });
|
|
7999
|
+
|
|
8000
|
+
class GoabxModal {
|
|
8001
|
+
constructor(cdr) {
|
|
8002
|
+
this.cdr = cdr;
|
|
8003
|
+
this.isReady = false;
|
|
8004
|
+
this.version = "2";
|
|
8005
|
+
this.closable = false;
|
|
8006
|
+
this.onClose = new EventEmitter();
|
|
8007
|
+
}
|
|
8008
|
+
ngOnInit() {
|
|
8009
|
+
// For Angular 20, we need to delay rendering the web component
|
|
8010
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
8011
|
+
setTimeout(() => {
|
|
8012
|
+
this.isReady = true;
|
|
8013
|
+
this.cdr.detectChanges();
|
|
8014
|
+
}, 0);
|
|
8015
|
+
}
|
|
8016
|
+
getHeadingAsString() {
|
|
8017
|
+
return this.heading instanceof TemplateRef ? "" : this.heading;
|
|
8018
|
+
}
|
|
8019
|
+
getHeadingAsTemplate() {
|
|
8020
|
+
if (!this.heading)
|
|
8021
|
+
return null;
|
|
8022
|
+
return this.heading instanceof TemplateRef ? this.heading : null;
|
|
8023
|
+
}
|
|
8024
|
+
_onClose() {
|
|
8025
|
+
this.onClose.emit();
|
|
8026
|
+
}
|
|
8027
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxModal, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8028
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxModal, isStandalone: true, selector: "goabx-modal", inputs: { calloutVariant: "calloutVariant", open: ["open", "open", booleanAttribute], maxWidth: "maxWidth", closable: "closable", transition: "transition", testId: "testId", role: "role", heading: "heading", actions: "actions" }, outputs: { onClose: "onClose" }, ngImport: i0, template: `
|
|
8029
|
+
<goa-modal
|
|
8030
|
+
*ngIf="isReady"
|
|
8031
|
+
[attr.version]="version"
|
|
8032
|
+
[attr.calloutvariant]="calloutVariant"
|
|
8033
|
+
[attr.open]="open"
|
|
8034
|
+
[attr.maxwidth]="maxWidth"
|
|
8035
|
+
[attr.testid]="testId"
|
|
8036
|
+
[attr.role]="role"
|
|
8037
|
+
[attr.closable]="closable"
|
|
8038
|
+
[attr.transition]="transition"
|
|
8039
|
+
[attr.heading]="getHeadingAsString()"
|
|
8040
|
+
(_close)="_onClose()"
|
|
8041
|
+
>
|
|
8042
|
+
<div slot="heading">
|
|
8043
|
+
<ng-container *ngIf="this.heading !== '' && getHeadingAsTemplate() !== null" [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
|
|
8044
|
+
</div>
|
|
8045
|
+
|
|
8046
|
+
<ng-content></ng-content>
|
|
8047
|
+
|
|
8048
|
+
<div slot="actions">
|
|
8049
|
+
<ng-container *ngIf="this.actions" [ngTemplateOutlet]="actions"></ng-container>
|
|
8050
|
+
</div>
|
|
8051
|
+
</goa-modal>
|
|
8052
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8053
|
+
}
|
|
8054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxModal, decorators: [{
|
|
8055
|
+
type: Component,
|
|
8056
|
+
args: [{
|
|
8057
|
+
standalone: true,
|
|
8058
|
+
selector: "goabx-modal",
|
|
8059
|
+
imports: [NgTemplateOutlet, CommonModule],
|
|
8060
|
+
template: `
|
|
8061
|
+
<goa-modal
|
|
8062
|
+
*ngIf="isReady"
|
|
8063
|
+
[attr.version]="version"
|
|
8064
|
+
[attr.calloutvariant]="calloutVariant"
|
|
8065
|
+
[attr.open]="open"
|
|
8066
|
+
[attr.maxwidth]="maxWidth"
|
|
8067
|
+
[attr.testid]="testId"
|
|
8068
|
+
[attr.role]="role"
|
|
8069
|
+
[attr.closable]="closable"
|
|
8070
|
+
[attr.transition]="transition"
|
|
8071
|
+
[attr.heading]="getHeadingAsString()"
|
|
8072
|
+
(_close)="_onClose()"
|
|
8073
|
+
>
|
|
8074
|
+
<div slot="heading">
|
|
8075
|
+
<ng-container *ngIf="this.heading !== '' && getHeadingAsTemplate() !== null" [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
|
|
8076
|
+
</div>
|
|
8077
|
+
|
|
8078
|
+
<ng-content></ng-content>
|
|
8079
|
+
|
|
8080
|
+
<div slot="actions">
|
|
8081
|
+
<ng-container *ngIf="this.actions" [ngTemplateOutlet]="actions"></ng-container>
|
|
8082
|
+
</div>
|
|
8083
|
+
</goa-modal>
|
|
8084
|
+
`,
|
|
8085
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8086
|
+
}]
|
|
8087
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { calloutVariant: [{
|
|
8088
|
+
type: Input
|
|
8089
|
+
}], open: [{
|
|
8090
|
+
type: Input,
|
|
8091
|
+
args: [{ transform: booleanAttribute }]
|
|
8092
|
+
}], maxWidth: [{
|
|
8093
|
+
type: Input
|
|
8094
|
+
}], closable: [{
|
|
8095
|
+
type: Input
|
|
8096
|
+
}], transition: [{
|
|
8097
|
+
type: Input
|
|
8098
|
+
}], testId: [{
|
|
8099
|
+
type: Input
|
|
8100
|
+
}], role: [{
|
|
8101
|
+
type: Input
|
|
8102
|
+
}], heading: [{
|
|
8103
|
+
type: Input
|
|
8104
|
+
}], actions: [{
|
|
8105
|
+
type: Input
|
|
8106
|
+
}], onClose: [{
|
|
8107
|
+
type: Output
|
|
8108
|
+
}] } });
|
|
8109
|
+
|
|
8110
|
+
class GoabxNotification {
|
|
8111
|
+
constructor(cdr) {
|
|
8112
|
+
this.cdr = cdr;
|
|
8113
|
+
this.isReady = false;
|
|
8114
|
+
this.version = "2";
|
|
8115
|
+
this.type = "information";
|
|
8116
|
+
this.emphasis = "high";
|
|
8117
|
+
this.onDismiss = new EventEmitter();
|
|
8118
|
+
}
|
|
8119
|
+
ngOnInit() {
|
|
8120
|
+
setTimeout(() => {
|
|
8121
|
+
this.isReady = true;
|
|
8122
|
+
this.cdr.detectChanges();
|
|
8123
|
+
});
|
|
8124
|
+
}
|
|
8125
|
+
_onDismiss() {
|
|
8126
|
+
this.onDismiss.emit();
|
|
8127
|
+
}
|
|
8128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxNotification, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8129
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxNotification, isStandalone: true, selector: "goabx-notification", inputs: { type: "type", ariaLive: "ariaLive", maxContentWidth: "maxContentWidth", emphasis: "emphasis", compact: ["compact", "compact", booleanAttribute], testId: "testId" }, outputs: { onDismiss: "onDismiss" }, ngImport: i0, template: `
|
|
8130
|
+
<goa-notification
|
|
8131
|
+
*ngIf="isReady"
|
|
8132
|
+
[attr.version]="version"
|
|
8133
|
+
[attr.type]="type"
|
|
8134
|
+
[attr.arialive]="ariaLive"
|
|
8135
|
+
[attr.maxcontentwidth]="maxContentWidth"
|
|
8136
|
+
[attr.emphasis]="emphasis"
|
|
8137
|
+
[attr.compact]="compact"
|
|
8138
|
+
[attr.testid]="testId"
|
|
8139
|
+
(_dismiss)="_onDismiss()"
|
|
8140
|
+
>
|
|
8141
|
+
<ng-content />
|
|
8142
|
+
</goa-notification>
|
|
8143
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8144
|
+
}
|
|
8145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxNotification, decorators: [{
|
|
8146
|
+
type: Component,
|
|
8147
|
+
args: [{
|
|
8148
|
+
standalone: true,
|
|
8149
|
+
selector: "goabx-notification",
|
|
8150
|
+
template: `
|
|
8151
|
+
<goa-notification
|
|
8152
|
+
*ngIf="isReady"
|
|
8153
|
+
[attr.version]="version"
|
|
8154
|
+
[attr.type]="type"
|
|
8155
|
+
[attr.arialive]="ariaLive"
|
|
8156
|
+
[attr.maxcontentwidth]="maxContentWidth"
|
|
8157
|
+
[attr.emphasis]="emphasis"
|
|
8158
|
+
[attr.compact]="compact"
|
|
8159
|
+
[attr.testid]="testId"
|
|
8160
|
+
(_dismiss)="_onDismiss()"
|
|
8161
|
+
>
|
|
8162
|
+
<ng-content />
|
|
8163
|
+
</goa-notification>
|
|
8164
|
+
`,
|
|
8165
|
+
imports: [CommonModule],
|
|
8166
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8167
|
+
}]
|
|
8168
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { type: [{
|
|
8169
|
+
type: Input
|
|
8170
|
+
}], ariaLive: [{
|
|
8171
|
+
type: Input
|
|
8172
|
+
}], maxContentWidth: [{
|
|
8173
|
+
type: Input
|
|
8174
|
+
}], emphasis: [{
|
|
8175
|
+
type: Input
|
|
8176
|
+
}], compact: [{
|
|
8177
|
+
type: Input,
|
|
8178
|
+
args: [{ transform: booleanAttribute }]
|
|
8179
|
+
}], testId: [{
|
|
8180
|
+
type: Input
|
|
8181
|
+
}], onDismiss: [{
|
|
8182
|
+
type: Output
|
|
8183
|
+
}] } });
|
|
8184
|
+
|
|
8185
|
+
class GoabxPagination extends GoabBaseComponent {
|
|
8186
|
+
constructor(cdr) {
|
|
8187
|
+
super();
|
|
8188
|
+
this.cdr = cdr;
|
|
8189
|
+
this.isReady = false;
|
|
8190
|
+
this.version = "2";
|
|
8191
|
+
this.perPageCount = 10;
|
|
8192
|
+
this.variant = "all";
|
|
8193
|
+
this.onChange = new EventEmitter();
|
|
8194
|
+
}
|
|
8195
|
+
ngOnInit() {
|
|
8196
|
+
setTimeout(() => {
|
|
8197
|
+
this.isReady = true;
|
|
8198
|
+
this.cdr.detectChanges();
|
|
8199
|
+
});
|
|
8200
|
+
}
|
|
8201
|
+
_onChange(e) {
|
|
8202
|
+
const detail = e.detail;
|
|
8203
|
+
this.onChange.emit(detail);
|
|
8204
|
+
}
|
|
8205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxPagination, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8206
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxPagination, isStandalone: true, selector: "goabx-pagination", inputs: { itemCount: "itemCount", pageNumber: "pageNumber", perPageCount: "perPageCount", variant: "variant" }, outputs: { onChange: "onChange" }, usesInheritance: true, ngImport: i0, template: `
|
|
8207
|
+
<goa-pagination
|
|
8208
|
+
*ngIf="isReady"
|
|
8209
|
+
[attr.version]="version"
|
|
8210
|
+
[attr.itemcount]="itemCount"
|
|
8211
|
+
[attr.perpagecount]="perPageCount"
|
|
8212
|
+
[attr.pagenumber]="pageNumber"
|
|
8213
|
+
[attr.variant]="variant"
|
|
8214
|
+
[attr.testid]="testId"
|
|
8215
|
+
[attr.mt]="mt"
|
|
8216
|
+
[attr.mb]="mb"
|
|
8217
|
+
[attr.ml]="ml"
|
|
8218
|
+
[attr.mr]="mr"
|
|
8219
|
+
(_change)="_onChange($event)"
|
|
8220
|
+
>
|
|
8221
|
+
</goa-pagination>
|
|
8222
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8223
|
+
}
|
|
8224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxPagination, decorators: [{
|
|
8225
|
+
type: Component,
|
|
8226
|
+
args: [{
|
|
8227
|
+
standalone: true,
|
|
8228
|
+
selector: "goabx-pagination",
|
|
8229
|
+
template: `
|
|
8230
|
+
<goa-pagination
|
|
8231
|
+
*ngIf="isReady"
|
|
8232
|
+
[attr.version]="version"
|
|
8233
|
+
[attr.itemcount]="itemCount"
|
|
8234
|
+
[attr.perpagecount]="perPageCount"
|
|
8235
|
+
[attr.pagenumber]="pageNumber"
|
|
8236
|
+
[attr.variant]="variant"
|
|
8237
|
+
[attr.testid]="testId"
|
|
8238
|
+
[attr.mt]="mt"
|
|
8239
|
+
[attr.mb]="mb"
|
|
8240
|
+
[attr.ml]="ml"
|
|
8241
|
+
[attr.mr]="mr"
|
|
8242
|
+
(_change)="_onChange($event)"
|
|
8243
|
+
>
|
|
8244
|
+
</goa-pagination>
|
|
8245
|
+
`,
|
|
8246
|
+
imports: [CommonModule],
|
|
8247
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8248
|
+
}]
|
|
8249
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { itemCount: [{
|
|
8250
|
+
type: Input,
|
|
8251
|
+
args: [{ required: true }]
|
|
8252
|
+
}], pageNumber: [{
|
|
8253
|
+
type: Input,
|
|
8254
|
+
args: [{ required: true }]
|
|
8255
|
+
}], perPageCount: [{
|
|
8256
|
+
type: Input
|
|
8257
|
+
}], variant: [{
|
|
8258
|
+
type: Input
|
|
8259
|
+
}], onChange: [{
|
|
8260
|
+
type: Output
|
|
8261
|
+
}] } });
|
|
8262
|
+
|
|
8263
|
+
class GoabxRadioGroup extends GoabControlValueAccessor {
|
|
8264
|
+
constructor(cdr, renderer) {
|
|
8265
|
+
super(renderer);
|
|
8266
|
+
this.cdr = cdr;
|
|
8267
|
+
this.isReady = false;
|
|
8268
|
+
this.version = "2";
|
|
8269
|
+
this.size = "default";
|
|
8270
|
+
this.onChange = new EventEmitter();
|
|
8271
|
+
}
|
|
8272
|
+
ngOnInit() {
|
|
8273
|
+
setTimeout(() => {
|
|
8274
|
+
this.isReady = true;
|
|
8275
|
+
this.cdr.detectChanges();
|
|
8276
|
+
});
|
|
8277
|
+
}
|
|
8278
|
+
_onChange(e) {
|
|
8279
|
+
const detail = { ...e.detail, event: e };
|
|
8280
|
+
this.markAsTouched();
|
|
8281
|
+
this.onChange.emit(detail);
|
|
8282
|
+
this.fcChange?.(detail.value);
|
|
8283
|
+
}
|
|
8284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8285
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxRadioGroup, isStandalone: true, selector: "goabx-radio-group", inputs: { name: "name", orientation: "orientation", ariaLabel: "ariaLabel", size: "size" }, outputs: { onChange: "onChange" }, providers: [
|
|
8286
|
+
{
|
|
8287
|
+
provide: NG_VALUE_ACCESSOR,
|
|
8288
|
+
multi: true,
|
|
8289
|
+
useExisting: forwardRef(() => GoabxRadioGroup),
|
|
8290
|
+
},
|
|
8291
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
8292
|
+
<goa-radio-group
|
|
8293
|
+
#goaComponentRef
|
|
8294
|
+
*ngIf="isReady"
|
|
8295
|
+
[attr.version]="version"
|
|
8296
|
+
[attr.name]="name"
|
|
8297
|
+
[attr.value]="value"
|
|
8298
|
+
[disabled]="disabled"
|
|
8299
|
+
[attr.orientation]="orientation"
|
|
8300
|
+
[attr.error]="error"
|
|
8301
|
+
[attr.arialabel]="ariaLabel"
|
|
8302
|
+
[attr.size]="size"
|
|
8303
|
+
[id]="id"
|
|
8304
|
+
[attr.testid]="testId"
|
|
8305
|
+
[attr.mt]="mt"
|
|
8306
|
+
[attr.mb]="mb"
|
|
8307
|
+
[attr.ml]="ml"
|
|
8308
|
+
[attr.mr]="mr"
|
|
8309
|
+
(_change)="_onChange($event)"
|
|
8310
|
+
>
|
|
8311
|
+
<ng-content />
|
|
8312
|
+
</goa-radio-group>
|
|
8313
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8314
|
+
}
|
|
8315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxRadioGroup, decorators: [{
|
|
8316
|
+
type: Component,
|
|
8317
|
+
args: [{
|
|
8318
|
+
standalone: true,
|
|
8319
|
+
selector: "goabx-radio-group",
|
|
8320
|
+
template: `
|
|
8321
|
+
<goa-radio-group
|
|
8322
|
+
#goaComponentRef
|
|
8323
|
+
*ngIf="isReady"
|
|
8324
|
+
[attr.version]="version"
|
|
8325
|
+
[attr.name]="name"
|
|
8326
|
+
[attr.value]="value"
|
|
8327
|
+
[disabled]="disabled"
|
|
8328
|
+
[attr.orientation]="orientation"
|
|
8329
|
+
[attr.error]="error"
|
|
8330
|
+
[attr.arialabel]="ariaLabel"
|
|
8331
|
+
[attr.size]="size"
|
|
8332
|
+
[id]="id"
|
|
8333
|
+
[attr.testid]="testId"
|
|
8334
|
+
[attr.mt]="mt"
|
|
8335
|
+
[attr.mb]="mb"
|
|
8336
|
+
[attr.ml]="ml"
|
|
8337
|
+
[attr.mr]="mr"
|
|
8338
|
+
(_change)="_onChange($event)"
|
|
8339
|
+
>
|
|
8340
|
+
<ng-content />
|
|
8341
|
+
</goa-radio-group>
|
|
8342
|
+
`,
|
|
8343
|
+
imports: [CommonModule],
|
|
8344
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8345
|
+
providers: [
|
|
8346
|
+
{
|
|
8347
|
+
provide: NG_VALUE_ACCESSOR,
|
|
8348
|
+
multi: true,
|
|
8349
|
+
useExisting: forwardRef(() => GoabxRadioGroup),
|
|
8350
|
+
},
|
|
8351
|
+
],
|
|
8352
|
+
}]
|
|
8353
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { name: [{
|
|
8354
|
+
type: Input
|
|
8355
|
+
}], orientation: [{
|
|
8356
|
+
type: Input
|
|
8357
|
+
}], ariaLabel: [{
|
|
8358
|
+
type: Input
|
|
8359
|
+
}], size: [{
|
|
8360
|
+
type: Input
|
|
8361
|
+
}], onChange: [{
|
|
8362
|
+
type: Output
|
|
8363
|
+
}] } });
|
|
8364
|
+
|
|
8365
|
+
class GoabxRadioItem extends GoabBaseComponent {
|
|
8366
|
+
constructor(cdr) {
|
|
8367
|
+
super();
|
|
8368
|
+
this.cdr = cdr;
|
|
8369
|
+
this.isReady = false;
|
|
8370
|
+
this.version = "2";
|
|
8371
|
+
}
|
|
8372
|
+
ngOnInit() {
|
|
8373
|
+
// For Angular 20, we need to delay rendering the web component
|
|
8374
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
8375
|
+
setTimeout(() => {
|
|
8376
|
+
this.isReady = true;
|
|
8377
|
+
this.cdr.detectChanges();
|
|
8378
|
+
}, 0);
|
|
8379
|
+
}
|
|
8380
|
+
getDescriptionAsString() {
|
|
8381
|
+
return !this.description || this.description instanceof TemplateRef
|
|
8382
|
+
? ""
|
|
8383
|
+
: this.description;
|
|
8384
|
+
}
|
|
8385
|
+
getDescriptionAsTemplate() {
|
|
8386
|
+
if (!this.description)
|
|
8387
|
+
return null;
|
|
8388
|
+
return this.description instanceof TemplateRef ? this.description : null;
|
|
8389
|
+
}
|
|
8390
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxRadioItem, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8391
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxRadioItem, isStandalone: true, selector: "goabx-radio-item", inputs: { value: "value", label: "label", name: "name", description: "description", reveal: "reveal", ariaLabel: "ariaLabel", revealAriaLabel: "revealAriaLabel", disabled: ["disabled", "disabled", booleanAttribute], checked: ["checked", "checked", booleanAttribute], error: ["error", "error", booleanAttribute], maxWidth: "maxWidth", compact: ["compact", "compact", booleanAttribute] }, usesInheritance: true, ngImport: i0, template: `
|
|
8392
|
+
<goa-radio-item
|
|
8393
|
+
*ngIf="isReady"
|
|
8394
|
+
[attr.version]="version"
|
|
8395
|
+
[attr.name]="name"
|
|
8396
|
+
[attr.value]="value"
|
|
8397
|
+
[attr.label]="label"
|
|
8398
|
+
[attr.description]="getDescriptionAsString()"
|
|
8399
|
+
[attr.arialabel]="ariaLabel"
|
|
8400
|
+
[attr.revealarialabel]="revealAriaLabel"
|
|
8401
|
+
[disabled]="disabled"
|
|
8402
|
+
[attr.compact]="compact"
|
|
8403
|
+
[attr.maxwidth]="maxWidth"
|
|
8404
|
+
[attr.checked]="checked"
|
|
8405
|
+
[attr.error]="error"
|
|
8406
|
+
[attr.mt]="mt"
|
|
8407
|
+
[attr.mb]="mb"
|
|
8408
|
+
[attr.ml]="ml"
|
|
8409
|
+
[attr.mr]="mr"
|
|
8410
|
+
>
|
|
8411
|
+
<ng-content />
|
|
8412
|
+
<div slot="description">
|
|
8413
|
+
<ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
|
|
8414
|
+
</div>
|
|
8415
|
+
<div slot="reveal">
|
|
8416
|
+
<ng-container *ngIf="this.reveal" [ngTemplateOutlet]="reveal"></ng-container>
|
|
8417
|
+
</div>
|
|
8418
|
+
</goa-radio-item>
|
|
8419
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8420
|
+
}
|
|
8421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxRadioItem, decorators: [{
|
|
8422
|
+
type: Component,
|
|
8423
|
+
args: [{
|
|
8424
|
+
standalone: true,
|
|
8425
|
+
selector: "goabx-radio-item",
|
|
8426
|
+
template: `
|
|
8427
|
+
<goa-radio-item
|
|
8428
|
+
*ngIf="isReady"
|
|
8429
|
+
[attr.version]="version"
|
|
8430
|
+
[attr.name]="name"
|
|
8431
|
+
[attr.value]="value"
|
|
8432
|
+
[attr.label]="label"
|
|
8433
|
+
[attr.description]="getDescriptionAsString()"
|
|
8434
|
+
[attr.arialabel]="ariaLabel"
|
|
8435
|
+
[attr.revealarialabel]="revealAriaLabel"
|
|
8436
|
+
[disabled]="disabled"
|
|
8437
|
+
[attr.compact]="compact"
|
|
8438
|
+
[attr.maxwidth]="maxWidth"
|
|
8439
|
+
[attr.checked]="checked"
|
|
8440
|
+
[attr.error]="error"
|
|
8441
|
+
[attr.mt]="mt"
|
|
8442
|
+
[attr.mb]="mb"
|
|
8443
|
+
[attr.ml]="ml"
|
|
8444
|
+
[attr.mr]="mr"
|
|
8445
|
+
>
|
|
8446
|
+
<ng-content />
|
|
8447
|
+
<div slot="description">
|
|
8448
|
+
<ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
|
|
8449
|
+
</div>
|
|
8450
|
+
<div slot="reveal">
|
|
8451
|
+
<ng-container *ngIf="this.reveal" [ngTemplateOutlet]="reveal"></ng-container>
|
|
8452
|
+
</div>
|
|
8453
|
+
</goa-radio-item>
|
|
8454
|
+
`,
|
|
8455
|
+
imports: [NgTemplateOutlet, CommonModule],
|
|
8456
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8457
|
+
}]
|
|
8458
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { value: [{
|
|
8459
|
+
type: Input
|
|
8460
|
+
}], label: [{
|
|
8461
|
+
type: Input
|
|
8462
|
+
}], name: [{
|
|
8463
|
+
type: Input
|
|
8464
|
+
}], description: [{
|
|
8465
|
+
type: Input
|
|
8466
|
+
}], reveal: [{
|
|
8467
|
+
type: Input
|
|
8468
|
+
}], ariaLabel: [{
|
|
8469
|
+
type: Input
|
|
8470
|
+
}], revealAriaLabel: [{
|
|
8471
|
+
type: Input
|
|
8472
|
+
}], disabled: [{
|
|
8473
|
+
type: Input,
|
|
8474
|
+
args: [{ transform: booleanAttribute }]
|
|
8475
|
+
}], checked: [{
|
|
8476
|
+
type: Input,
|
|
8477
|
+
args: [{ transform: booleanAttribute }]
|
|
8478
|
+
}], error: [{
|
|
8479
|
+
type: Input,
|
|
8480
|
+
args: [{ transform: booleanAttribute }]
|
|
8481
|
+
}], maxWidth: [{
|
|
8482
|
+
type: Input
|
|
8483
|
+
}], compact: [{
|
|
8484
|
+
type: Input,
|
|
8485
|
+
args: [{ transform: booleanAttribute }]
|
|
8486
|
+
}] } });
|
|
8487
|
+
|
|
8488
|
+
class GoabxSideMenu {
|
|
8489
|
+
constructor(cdr) {
|
|
8490
|
+
this.cdr = cdr;
|
|
8491
|
+
this.isReady = false;
|
|
8492
|
+
this.version = "2";
|
|
8493
|
+
}
|
|
8494
|
+
ngOnInit() {
|
|
8495
|
+
setTimeout(() => {
|
|
8496
|
+
this.isReady = true;
|
|
8497
|
+
this.cdr.detectChanges();
|
|
8498
|
+
});
|
|
8499
|
+
}
|
|
8500
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenu, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8501
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxSideMenu, isStandalone: true, selector: "goabx-side-menu", inputs: { testId: "testId" }, ngImport: i0, template: `
|
|
8502
|
+
<goa-side-menu
|
|
8503
|
+
*ngIf="isReady"
|
|
8504
|
+
[attr.version]="version"
|
|
8505
|
+
[attr.testid]="testId"
|
|
8506
|
+
>
|
|
8507
|
+
<ng-content />
|
|
8508
|
+
</goa-side-menu>
|
|
8509
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8510
|
+
}
|
|
8511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenu, decorators: [{
|
|
8512
|
+
type: Component,
|
|
8513
|
+
args: [{
|
|
8514
|
+
standalone: true,
|
|
8515
|
+
selector: "goabx-side-menu",
|
|
8516
|
+
template: `
|
|
8517
|
+
<goa-side-menu
|
|
8518
|
+
*ngIf="isReady"
|
|
8519
|
+
[attr.version]="version"
|
|
8520
|
+
[attr.testid]="testId"
|
|
8521
|
+
>
|
|
8522
|
+
<ng-content />
|
|
8523
|
+
</goa-side-menu>
|
|
8524
|
+
`,
|
|
8525
|
+
imports: [CommonModule],
|
|
8526
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
8527
|
+
}]
|
|
8528
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { testId: [{
|
|
8529
|
+
type: Input
|
|
8530
|
+
}] } });
|
|
8531
|
+
|
|
8532
|
+
class GoabxSideMenuGroup extends GoabBaseComponent {
|
|
8533
|
+
constructor(cdr) {
|
|
8534
|
+
super();
|
|
8535
|
+
this.cdr = cdr;
|
|
8536
|
+
this.isReady = false;
|
|
8537
|
+
this.version = "2";
|
|
8538
|
+
}
|
|
8539
|
+
ngOnInit() {
|
|
8540
|
+
setTimeout(() => {
|
|
8541
|
+
this.isReady = true;
|
|
8542
|
+
this.cdr.detectChanges();
|
|
8543
|
+
});
|
|
8544
|
+
}
|
|
8545
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenuGroup, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8546
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxSideMenuGroup, isStandalone: true, selector: "goabx-side-menu-group", inputs: { heading: "heading", icon: "icon" }, usesInheritance: true, ngImport: i0, template: `
|
|
8547
|
+
<goa-side-menu-group
|
|
8548
|
+
*ngIf="isReady"
|
|
8549
|
+
[attr.version]="version"
|
|
8550
|
+
[attr.heading]="heading"
|
|
8551
|
+
[attr.testid]="testId"
|
|
8552
|
+
[attr.icon]="icon"
|
|
8553
|
+
[attr.mt]="mt"
|
|
8554
|
+
[attr.mb]="mb"
|
|
8555
|
+
[attr.ml]="ml"
|
|
8556
|
+
[attr.mr]="mr"
|
|
8557
|
+
>
|
|
8558
|
+
<ng-content />
|
|
8559
|
+
</goa-side-menu-group>
|
|
8560
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8561
|
+
}
|
|
8562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenuGroup, decorators: [{
|
|
8563
|
+
type: Component,
|
|
8564
|
+
args: [{
|
|
8565
|
+
standalone: true,
|
|
8566
|
+
selector: "goabx-side-menu-group",
|
|
8567
|
+
template: `
|
|
8568
|
+
<goa-side-menu-group
|
|
8569
|
+
*ngIf="isReady"
|
|
8570
|
+
[attr.version]="version"
|
|
8571
|
+
[attr.heading]="heading"
|
|
8572
|
+
[attr.testid]="testId"
|
|
8573
|
+
[attr.icon]="icon"
|
|
8574
|
+
[attr.mt]="mt"
|
|
8575
|
+
[attr.mb]="mb"
|
|
8576
|
+
[attr.ml]="ml"
|
|
8577
|
+
[attr.mr]="mr"
|
|
8578
|
+
>
|
|
8579
|
+
<ng-content />
|
|
8580
|
+
</goa-side-menu-group>
|
|
8581
|
+
`,
|
|
8582
|
+
imports: [CommonModule],
|
|
8583
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8584
|
+
}]
|
|
8585
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
|
|
8586
|
+
type: Input,
|
|
8587
|
+
args: [{ required: true }]
|
|
8588
|
+
}], icon: [{
|
|
8589
|
+
type: Input
|
|
8590
|
+
}] } });
|
|
8591
|
+
|
|
8592
|
+
class GoabxSideMenuHeading {
|
|
8593
|
+
constructor(cdr) {
|
|
8594
|
+
this.cdr = cdr;
|
|
8595
|
+
this.isReady = false;
|
|
8596
|
+
this.version = "2";
|
|
8597
|
+
}
|
|
8598
|
+
ngOnInit() {
|
|
8599
|
+
setTimeout(() => {
|
|
8600
|
+
this.isReady = true;
|
|
8601
|
+
this.cdr.detectChanges();
|
|
8602
|
+
});
|
|
8603
|
+
}
|
|
8604
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenuHeading, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8605
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxSideMenuHeading, isStandalone: true, selector: "goabx-side-menu-heading", inputs: { icon: "icon", testId: "testId", meta: "meta" }, ngImport: i0, template: `
|
|
8606
|
+
<goa-side-menu-heading
|
|
8607
|
+
*ngIf="isReady"
|
|
8608
|
+
[attr.version]="version"
|
|
8609
|
+
[attr.testid]="testId"
|
|
8610
|
+
[attr.icon]="icon"
|
|
8611
|
+
>
|
|
8612
|
+
<ng-content />
|
|
8613
|
+
<span slot="meta">
|
|
8614
|
+
<ng-container [ngTemplateOutlet]="meta"></ng-container>
|
|
8615
|
+
</span>
|
|
8616
|
+
</goa-side-menu-heading>
|
|
8617
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8618
|
+
}
|
|
8619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenuHeading, decorators: [{
|
|
8620
|
+
type: Component,
|
|
8621
|
+
args: [{
|
|
8622
|
+
standalone: true,
|
|
8623
|
+
selector: "goabx-side-menu-heading",
|
|
8624
|
+
imports: [NgTemplateOutlet, CommonModule],
|
|
8625
|
+
template: `
|
|
8626
|
+
<goa-side-menu-heading
|
|
8627
|
+
*ngIf="isReady"
|
|
8628
|
+
[attr.version]="version"
|
|
8629
|
+
[attr.testid]="testId"
|
|
8630
|
+
[attr.icon]="icon"
|
|
8631
|
+
>
|
|
8632
|
+
<ng-content />
|
|
8633
|
+
<span slot="meta">
|
|
8634
|
+
<ng-container [ngTemplateOutlet]="meta"></ng-container>
|
|
8635
|
+
</span>
|
|
8636
|
+
</goa-side-menu-heading>
|
|
8637
|
+
`,
|
|
8638
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8639
|
+
}]
|
|
8640
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { icon: [{
|
|
8641
|
+
type: Input
|
|
8642
|
+
}], testId: [{
|
|
8643
|
+
type: Input
|
|
8644
|
+
}], meta: [{
|
|
8645
|
+
type: Input
|
|
8646
|
+
}] } });
|
|
8647
|
+
|
|
8648
|
+
class GoabxTable extends GoabBaseComponent {
|
|
8649
|
+
constructor(cdr) {
|
|
8650
|
+
super();
|
|
8651
|
+
this.cdr = cdr;
|
|
8652
|
+
this.isReady = false;
|
|
8653
|
+
this.version = "2";
|
|
8654
|
+
this.onSort = new EventEmitter();
|
|
8655
|
+
}
|
|
8656
|
+
ngOnInit() {
|
|
8657
|
+
setTimeout(() => {
|
|
8658
|
+
this.isReady = true;
|
|
8659
|
+
this.cdr.detectChanges();
|
|
8660
|
+
});
|
|
8661
|
+
}
|
|
8662
|
+
_onSort(e) {
|
|
8663
|
+
const detail = e.detail;
|
|
8664
|
+
this.onSort.emit(detail);
|
|
8665
|
+
}
|
|
8666
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTable, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8667
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxTable, isStandalone: true, selector: "goabx-table", inputs: { width: "width", variant: "variant", striped: ["striped", "striped", booleanAttribute] }, outputs: { onSort: "onSort" }, usesInheritance: true, ngImport: i0, template: `
|
|
8668
|
+
<goa-table
|
|
8669
|
+
*ngIf="isReady"
|
|
8670
|
+
[attr.version]="version"
|
|
8671
|
+
[attr.width]="width"
|
|
8672
|
+
[attr.variant]="variant"
|
|
8673
|
+
[attr.striped]="striped"
|
|
8674
|
+
[attr.testid]="testId"
|
|
8675
|
+
[attr.mt]="mt"
|
|
8676
|
+
[attr.mb]="mb"
|
|
8677
|
+
[attr.ml]="ml"
|
|
8678
|
+
[attr.mr]="mr"
|
|
8679
|
+
(_sort)="_onSort($event)"
|
|
8680
|
+
>
|
|
8681
|
+
<table style="width: 100%;">
|
|
8682
|
+
<ng-content />
|
|
8683
|
+
</table>
|
|
8684
|
+
</goa-table>
|
|
8685
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8686
|
+
}
|
|
8687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTable, decorators: [{
|
|
8688
|
+
type: Component,
|
|
8689
|
+
args: [{
|
|
8690
|
+
standalone: true,
|
|
8691
|
+
selector: "goabx-table",
|
|
8692
|
+
template: `
|
|
8693
|
+
<goa-table
|
|
8694
|
+
*ngIf="isReady"
|
|
8695
|
+
[attr.version]="version"
|
|
8696
|
+
[attr.width]="width"
|
|
8697
|
+
[attr.variant]="variant"
|
|
8698
|
+
[attr.striped]="striped"
|
|
8699
|
+
[attr.testid]="testId"
|
|
8700
|
+
[attr.mt]="mt"
|
|
8701
|
+
[attr.mb]="mb"
|
|
8702
|
+
[attr.ml]="ml"
|
|
8703
|
+
[attr.mr]="mr"
|
|
8704
|
+
(_sort)="_onSort($event)"
|
|
8705
|
+
>
|
|
8706
|
+
<table style="width: 100%;">
|
|
8707
|
+
<ng-content />
|
|
8708
|
+
</table>
|
|
8709
|
+
</goa-table>
|
|
8710
|
+
`,
|
|
8711
|
+
imports: [CommonModule],
|
|
8712
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8713
|
+
}]
|
|
8714
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { width: [{
|
|
8715
|
+
type: Input
|
|
8716
|
+
}], variant: [{
|
|
8717
|
+
type: Input
|
|
8718
|
+
}], striped: [{
|
|
8719
|
+
type: Input,
|
|
8720
|
+
args: [{ transform: booleanAttribute }]
|
|
8721
|
+
}], onSort: [{
|
|
8722
|
+
type: Output
|
|
8723
|
+
}] } });
|
|
8724
|
+
|
|
8725
|
+
class GoabxTableSortHeader {
|
|
8726
|
+
constructor(cdr) {
|
|
8727
|
+
this.cdr = cdr;
|
|
8728
|
+
this.isReady = false;
|
|
8729
|
+
this.direction = "none";
|
|
8730
|
+
}
|
|
8731
|
+
ngOnInit() {
|
|
8732
|
+
setTimeout(() => {
|
|
8733
|
+
this.isReady = true;
|
|
8734
|
+
this.cdr.detectChanges();
|
|
8735
|
+
});
|
|
8736
|
+
}
|
|
8737
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTableSortHeader, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8738
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxTableSortHeader, isStandalone: true, selector: "goabx-table-sort-header", inputs: { name: "name", direction: "direction" }, ngImport: i0, template: `
|
|
8739
|
+
<goa-table-sort-header
|
|
8740
|
+
*ngIf="isReady"
|
|
8741
|
+
[attr.name]="name"
|
|
8742
|
+
[attr.direction]="direction"
|
|
8743
|
+
>
|
|
8744
|
+
<ng-content />
|
|
8745
|
+
</goa-table-sort-header>
|
|
8746
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8747
|
+
}
|
|
8748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTableSortHeader, decorators: [{
|
|
8749
|
+
type: Component,
|
|
8750
|
+
args: [{
|
|
8751
|
+
standalone: true,
|
|
8752
|
+
selector: "goabx-table-sort-header",
|
|
8753
|
+
template: `
|
|
8754
|
+
<goa-table-sort-header
|
|
8755
|
+
*ngIf="isReady"
|
|
8756
|
+
[attr.name]="name"
|
|
8757
|
+
[attr.direction]="direction"
|
|
8758
|
+
>
|
|
8759
|
+
<ng-content />
|
|
8760
|
+
</goa-table-sort-header>
|
|
8761
|
+
`,
|
|
8762
|
+
imports: [CommonModule],
|
|
8763
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8764
|
+
}]
|
|
8765
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { name: [{
|
|
8766
|
+
type: Input
|
|
8767
|
+
}], direction: [{
|
|
8768
|
+
type: Input
|
|
8769
|
+
}] } });
|
|
8770
|
+
|
|
8771
|
+
class GoabxTextArea extends GoabControlValueAccessor {
|
|
8772
|
+
constructor(cdr, renderer) {
|
|
8773
|
+
super(renderer);
|
|
8774
|
+
this.cdr = cdr;
|
|
8775
|
+
this.countBy = "";
|
|
8776
|
+
this.maxCount = -1;
|
|
8777
|
+
this.autoComplete = "on";
|
|
8778
|
+
this.size = "default";
|
|
8779
|
+
this.onChange = new EventEmitter();
|
|
8780
|
+
this.onKeyPress = new EventEmitter();
|
|
8781
|
+
this.onBlur = new EventEmitter();
|
|
8782
|
+
this.isReady = false;
|
|
8783
|
+
this.version = "2";
|
|
8784
|
+
}
|
|
8785
|
+
ngOnInit() {
|
|
8786
|
+
// For Angular 20, we need to delay rendering the web component
|
|
8787
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
8788
|
+
setTimeout(() => {
|
|
8789
|
+
this.isReady = true;
|
|
8790
|
+
this.cdr.detectChanges();
|
|
8791
|
+
}, 0);
|
|
8792
|
+
}
|
|
8793
|
+
_onChange(e) {
|
|
8794
|
+
const detail = { ...e.detail, event: e };
|
|
8795
|
+
this.onChange.emit(detail);
|
|
8796
|
+
this.markAsTouched();
|
|
8797
|
+
this.fcChange?.(detail.value);
|
|
8798
|
+
}
|
|
8799
|
+
_onKeyPress(e) {
|
|
8800
|
+
const detail = { ...e.detail, event: e };
|
|
8801
|
+
this.markAsTouched();
|
|
8802
|
+
this.onKeyPress.emit(detail);
|
|
8803
|
+
}
|
|
8804
|
+
_onBlur(e) {
|
|
8805
|
+
const detail = { ...e.detail, event: e };
|
|
8806
|
+
this.markAsTouched();
|
|
8807
|
+
this.onBlur.emit(detail);
|
|
8808
|
+
}
|
|
8809
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTextArea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8810
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxTextArea, isStandalone: true, selector: "goabx-textarea", inputs: { name: "name", placeholder: "placeholder", rows: ["rows", "rows", numberAttribute], readOnly: ["readOnly", "readOnly", booleanAttribute], width: "width", ariaLabel: "ariaLabel", countBy: "countBy", maxCount: "maxCount", maxWidth: "maxWidth", autoComplete: "autoComplete", size: "size" }, outputs: { onChange: "onChange", onKeyPress: "onKeyPress", onBlur: "onBlur" }, providers: [
|
|
8811
|
+
{
|
|
8812
|
+
provide: NG_VALUE_ACCESSOR,
|
|
8813
|
+
multi: true,
|
|
8814
|
+
useExisting: forwardRef(() => GoabxTextArea),
|
|
8815
|
+
},
|
|
8816
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
8817
|
+
<goa-textarea
|
|
8818
|
+
#goaComponentRef
|
|
8819
|
+
*ngIf="isReady"
|
|
8820
|
+
[attr.version]="version"
|
|
8821
|
+
[attr.name]="name"
|
|
8822
|
+
[attr.value]="value"
|
|
8823
|
+
[attr.placeholder]="placeholder"
|
|
8824
|
+
[attr.rows]="rows"
|
|
8825
|
+
[attr.error]="error"
|
|
8826
|
+
[disabled]="disabled"
|
|
8827
|
+
[attr.readonly]="readOnly"
|
|
8828
|
+
[attr.width]="width"
|
|
8829
|
+
[attr.maxwidth]="maxWidth"
|
|
8830
|
+
[attr.arialabel]="ariaLabel"
|
|
8831
|
+
[attr.countby]="countBy"
|
|
8832
|
+
[attr.maxcount]="maxCount"
|
|
8833
|
+
[attr.autocomplete]="autoComplete"
|
|
8834
|
+
[attr.size]="size"
|
|
8835
|
+
[attr.testid]="testId"
|
|
8836
|
+
[attr.mt]="mt"
|
|
8837
|
+
[attr.mb]="mb"
|
|
8838
|
+
[attr.ml]="ml"
|
|
8839
|
+
[attr.mr]="mr"
|
|
8840
|
+
(_change)="_onChange($event)"
|
|
8841
|
+
(_keyPress)="_onKeyPress($event)"
|
|
8842
|
+
(_blur)="_onBlur($event)"
|
|
8843
|
+
>
|
|
8844
|
+
</goa-textarea>
|
|
8845
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8846
|
+
}
|
|
8847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTextArea, decorators: [{
|
|
8848
|
+
type: Component,
|
|
8849
|
+
args: [{
|
|
8850
|
+
standalone: true,
|
|
8851
|
+
selector: "goabx-textarea",
|
|
8852
|
+
imports: [CommonModule],
|
|
8853
|
+
template: `
|
|
8854
|
+
<goa-textarea
|
|
8855
|
+
#goaComponentRef
|
|
8856
|
+
*ngIf="isReady"
|
|
8857
|
+
[attr.version]="version"
|
|
8858
|
+
[attr.name]="name"
|
|
8859
|
+
[attr.value]="value"
|
|
8860
|
+
[attr.placeholder]="placeholder"
|
|
8861
|
+
[attr.rows]="rows"
|
|
8862
|
+
[attr.error]="error"
|
|
8863
|
+
[disabled]="disabled"
|
|
8864
|
+
[attr.readonly]="readOnly"
|
|
8865
|
+
[attr.width]="width"
|
|
8866
|
+
[attr.maxwidth]="maxWidth"
|
|
8867
|
+
[attr.arialabel]="ariaLabel"
|
|
8868
|
+
[attr.countby]="countBy"
|
|
8869
|
+
[attr.maxcount]="maxCount"
|
|
8870
|
+
[attr.autocomplete]="autoComplete"
|
|
8871
|
+
[attr.size]="size"
|
|
8872
|
+
[attr.testid]="testId"
|
|
8873
|
+
[attr.mt]="mt"
|
|
8874
|
+
[attr.mb]="mb"
|
|
8875
|
+
[attr.ml]="ml"
|
|
8876
|
+
[attr.mr]="mr"
|
|
8877
|
+
(_change)="_onChange($event)"
|
|
8878
|
+
(_keyPress)="_onKeyPress($event)"
|
|
8879
|
+
(_blur)="_onBlur($event)"
|
|
8880
|
+
>
|
|
8881
|
+
</goa-textarea>
|
|
8882
|
+
`,
|
|
8883
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8884
|
+
providers: [
|
|
8885
|
+
{
|
|
8886
|
+
provide: NG_VALUE_ACCESSOR,
|
|
8887
|
+
multi: true,
|
|
8888
|
+
useExisting: forwardRef(() => GoabxTextArea),
|
|
8889
|
+
},
|
|
8890
|
+
],
|
|
8891
|
+
}]
|
|
8892
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { name: [{
|
|
8893
|
+
type: Input
|
|
8894
|
+
}], placeholder: [{
|
|
8895
|
+
type: Input
|
|
8896
|
+
}], rows: [{
|
|
8897
|
+
type: Input,
|
|
8898
|
+
args: [{ transform: numberAttribute }]
|
|
8899
|
+
}], readOnly: [{
|
|
8900
|
+
type: Input,
|
|
8901
|
+
args: [{ transform: booleanAttribute }]
|
|
8902
|
+
}], width: [{
|
|
8903
|
+
type: Input
|
|
8904
|
+
}], ariaLabel: [{
|
|
8905
|
+
type: Input
|
|
8906
|
+
}], countBy: [{
|
|
8907
|
+
type: Input
|
|
8908
|
+
}], maxCount: [{
|
|
8909
|
+
type: Input
|
|
8910
|
+
}], maxWidth: [{
|
|
8911
|
+
type: Input
|
|
8912
|
+
}], autoComplete: [{
|
|
8913
|
+
type: Input
|
|
8914
|
+
}], size: [{
|
|
8915
|
+
type: Input
|
|
8916
|
+
}], onChange: [{
|
|
8917
|
+
type: Output
|
|
8918
|
+
}], onKeyPress: [{
|
|
8919
|
+
type: Output
|
|
8920
|
+
}], onBlur: [{
|
|
8921
|
+
type: Output
|
|
8922
|
+
}] } });
|
|
8923
|
+
|
|
8924
|
+
class GoabxTabs {
|
|
8925
|
+
constructor(cdr) {
|
|
8926
|
+
this.cdr = cdr;
|
|
8927
|
+
this.isReady = false;
|
|
8928
|
+
this.version = "2";
|
|
8929
|
+
this.onChange = new EventEmitter();
|
|
8930
|
+
}
|
|
8931
|
+
ngOnInit() {
|
|
8932
|
+
setTimeout(() => {
|
|
8933
|
+
this.isReady = true;
|
|
8934
|
+
this.cdr.detectChanges();
|
|
8935
|
+
});
|
|
8936
|
+
}
|
|
8937
|
+
_onChange(e) {
|
|
8938
|
+
const detail = e.detail;
|
|
8939
|
+
this.onChange.emit(detail);
|
|
8940
|
+
}
|
|
8941
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTabs, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8942
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxTabs, isStandalone: true, selector: "goabx-tabs", inputs: { initialTab: ["initialTab", "initialTab", numberAttribute], testId: "testId", variant: "variant" }, outputs: { onChange: "onChange" }, ngImport: i0, template: `
|
|
8943
|
+
<goa-tabs
|
|
8944
|
+
*ngIf="isReady"
|
|
8945
|
+
[attr.version]="version"
|
|
8946
|
+
[attr.initialtab]="initialTab"
|
|
8947
|
+
[attr.testid]="testId"
|
|
8948
|
+
[attr.variant]="variant"
|
|
8949
|
+
(_change)="_onChange($event)"
|
|
8950
|
+
>
|
|
8951
|
+
<ng-content />
|
|
8952
|
+
</goa-tabs>
|
|
8953
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
8954
|
+
}
|
|
8955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTabs, decorators: [{
|
|
8956
|
+
type: Component,
|
|
8957
|
+
args: [{
|
|
8958
|
+
standalone: true,
|
|
8959
|
+
selector: "goabx-tabs",
|
|
8960
|
+
template: `
|
|
8961
|
+
<goa-tabs
|
|
8962
|
+
*ngIf="isReady"
|
|
8963
|
+
[attr.version]="version"
|
|
8964
|
+
[attr.initialtab]="initialTab"
|
|
8965
|
+
[attr.testid]="testId"
|
|
8966
|
+
[attr.variant]="variant"
|
|
8967
|
+
(_change)="_onChange($event)"
|
|
8968
|
+
>
|
|
8969
|
+
<ng-content />
|
|
8970
|
+
</goa-tabs>
|
|
8971
|
+
`,
|
|
8972
|
+
imports: [CommonModule],
|
|
8973
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
8974
|
+
}]
|
|
8975
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { initialTab: [{
|
|
8976
|
+
type: Input,
|
|
8977
|
+
args: [{ transform: numberAttribute }]
|
|
8978
|
+
}], testId: [{
|
|
8979
|
+
type: Input
|
|
8980
|
+
}], variant: [{
|
|
8981
|
+
type: Input
|
|
8982
|
+
}], onChange: [{
|
|
8983
|
+
type: Output
|
|
8984
|
+
}] } });
|
|
8985
|
+
|
|
8986
|
+
class GoabxWorkSideMenu {
|
|
8987
|
+
constructor(cdr) {
|
|
8988
|
+
this.cdr = cdr;
|
|
8989
|
+
this.onToggle = new EventEmitter();
|
|
8990
|
+
this.isReady = false;
|
|
8991
|
+
}
|
|
8992
|
+
ngOnInit() {
|
|
8993
|
+
// For Angular 20, we need to delay rendering the web component
|
|
8994
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
8995
|
+
setTimeout(() => {
|
|
8996
|
+
this.isReady = true;
|
|
8997
|
+
this.cdr.detectChanges();
|
|
8998
|
+
}, 0);
|
|
8999
|
+
}
|
|
9000
|
+
_onToggle() {
|
|
9001
|
+
this.onToggle.emit();
|
|
9002
|
+
}
|
|
9003
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenu, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9004
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxWorkSideMenu, isStandalone: true, selector: "goabx-work-side-menu", inputs: { heading: "heading", url: "url", userName: "userName", userSecondaryText: "userSecondaryText", open: ["open", "open", booleanAttribute], testId: "testId", primaryContent: "primaryContent", secondaryContent: "secondaryContent", accountContent: "accountContent" }, outputs: { onToggle: "onToggle" }, ngImport: i0, template: `
|
|
9005
|
+
<goa-work-side-menu
|
|
9006
|
+
*ngIf="isReady"
|
|
9007
|
+
[open]="open ?? false"
|
|
9008
|
+
[attr.heading]="heading"
|
|
9009
|
+
[attr.url]="url"
|
|
9010
|
+
[attr.user-name]="userName"
|
|
9011
|
+
[attr.user-secondary-text]="userSecondaryText"
|
|
9012
|
+
[attr.testid]="testId"
|
|
9013
|
+
(_toggle)="_onToggle()"
|
|
9014
|
+
>
|
|
9015
|
+
<div slot="primary">
|
|
9016
|
+
<ng-container [ngTemplateOutlet]="primaryContent"></ng-container>
|
|
9017
|
+
</div>
|
|
9018
|
+
<div slot="secondary">
|
|
9019
|
+
<ng-container [ngTemplateOutlet]="secondaryContent"></ng-container>
|
|
9020
|
+
</div>
|
|
9021
|
+
<div slot="account">
|
|
9022
|
+
<ng-container [ngTemplateOutlet]="accountContent"></ng-container>
|
|
9023
|
+
</div>
|
|
9024
|
+
</goa-work-side-menu>
|
|
9025
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
9026
|
+
}
|
|
9027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenu, decorators: [{
|
|
9028
|
+
type: Component,
|
|
9029
|
+
args: [{
|
|
9030
|
+
standalone: true,
|
|
9031
|
+
selector: "goabx-work-side-menu", // eslint-disable-line
|
|
9032
|
+
imports: [NgTemplateOutlet, CommonModule],
|
|
9033
|
+
template: `
|
|
9034
|
+
<goa-work-side-menu
|
|
9035
|
+
*ngIf="isReady"
|
|
9036
|
+
[open]="open ?? false"
|
|
9037
|
+
[attr.heading]="heading"
|
|
9038
|
+
[attr.url]="url"
|
|
9039
|
+
[attr.user-name]="userName"
|
|
9040
|
+
[attr.user-secondary-text]="userSecondaryText"
|
|
9041
|
+
[attr.testid]="testId"
|
|
9042
|
+
(_toggle)="_onToggle()"
|
|
9043
|
+
>
|
|
9044
|
+
<div slot="primary">
|
|
9045
|
+
<ng-container [ngTemplateOutlet]="primaryContent"></ng-container>
|
|
6082
9046
|
</div>
|
|
6083
9047
|
<div slot="secondary">
|
|
6084
9048
|
<ng-container [ngTemplateOutlet]="secondaryContent"></ng-container>
|
|
@@ -6189,9 +9153,62 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6189
9153
|
type: Input
|
|
6190
9154
|
}] } });
|
|
6191
9155
|
|
|
9156
|
+
class GoabxWorkSideMenuGroup {
|
|
9157
|
+
constructor(cdr) {
|
|
9158
|
+
this.cdr = cdr;
|
|
9159
|
+
this.isReady = false;
|
|
9160
|
+
}
|
|
9161
|
+
ngOnInit() {
|
|
9162
|
+
// For Angular 20, we need to delay rendering the web component
|
|
9163
|
+
// to ensure all attributes are properly bound before the component initializes
|
|
9164
|
+
setTimeout(() => {
|
|
9165
|
+
this.isReady = true;
|
|
9166
|
+
this.cdr.detectChanges();
|
|
9167
|
+
}, 0);
|
|
9168
|
+
}
|
|
9169
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenuGroup, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9170
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxWorkSideMenuGroup, isStandalone: true, selector: "goabx-work-side-menu-group", inputs: { heading: "heading", icon: "icon", testId: "testId" }, ngImport: i0, template: `
|
|
9171
|
+
<goa-work-side-menu-group
|
|
9172
|
+
*ngIf="isReady"
|
|
9173
|
+
[attr.heading]="heading"
|
|
9174
|
+
[attr.icon]="icon"
|
|
9175
|
+
[attr.testid]="testId"
|
|
9176
|
+
>
|
|
9177
|
+
<ng-content />
|
|
9178
|
+
</goa-work-side-menu-group>
|
|
9179
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
9180
|
+
}
|
|
9181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenuGroup, decorators: [{
|
|
9182
|
+
type: Component,
|
|
9183
|
+
args: [{
|
|
9184
|
+
standalone: true,
|
|
9185
|
+
selector: "goabx-work-side-menu-group", // eslint-disable-line
|
|
9186
|
+
imports: [CommonModule],
|
|
9187
|
+
template: `
|
|
9188
|
+
<goa-work-side-menu-group
|
|
9189
|
+
*ngIf="isReady"
|
|
9190
|
+
[attr.heading]="heading"
|
|
9191
|
+
[attr.icon]="icon"
|
|
9192
|
+
[attr.testid]="testId"
|
|
9193
|
+
>
|
|
9194
|
+
<ng-content />
|
|
9195
|
+
</goa-work-side-menu-group>
|
|
9196
|
+
`,
|
|
9197
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
9198
|
+
}]
|
|
9199
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
|
|
9200
|
+
type: Input,
|
|
9201
|
+
args: [{ required: true }]
|
|
9202
|
+
}], icon: [{
|
|
9203
|
+
type: Input,
|
|
9204
|
+
args: [{ required: true }]
|
|
9205
|
+
}], testId: [{
|
|
9206
|
+
type: Input
|
|
9207
|
+
}] } });
|
|
9208
|
+
|
|
6192
9209
|
/**
|
|
6193
9210
|
* Generated bundle index. Do not edit.
|
|
6194
9211
|
*/
|
|
6195
9212
|
|
|
6196
|
-
export { AngularComponentsModule, CheckedDirective, GoabAccordion, GoabAppFooter, GoabAppFooterMetaSection, GoabAppFooterNavSection, GoabAppHeader, GoabAppHeaderMenu, GoabBadge, GoabBlock, GoabButton, GoabButtonGroup, GoabCalendar, GoabCallout, GoabCard, GoabCardActions, GoabCardContent, GoabCardImage, GoabCheckbox, GoabCheckboxList, GoabChip, GoabCircularProgress, GoabColumnLayout, GoabContainer, GoabDataGrid, GoabDatePicker, GoabDetails, GoabDivider, GoabDrawer, GoabDropdown, GoabDropdownItem, GoabFieldset, GoabFileUploadCard, GoabFileUploadInput, GoabFilterChip, GoabFormItem, GoabFormItemSlot, GoabFormStep, GoabFormStepper, GoabGrid, GoabHeroBanner, GoabIcon, GoabIconButton, GoabInput, GoabInputNumber, GoabLinearProgress, GoabLink, GoabMenuAction, GoabMenuButton, GoabMicrositeHeader, GoabModal, GoabNotification, GoabPageBlock, GoabPages, GoabPagination, GoabPopover, GoabPublicForm, GoabPublicFormPage, GoabPublicFormSummary, GoabPublicFormTask, GoabPublicFormTaskList, GoabPublicSubform, GoabPublicSubformIndex, GoabRadioGroup, GoabRadioItem, GoabSideMenu, GoabSideMenuGroup, GoabSideMenuHeading, GoabSkeleton, GoabSpacer, GoabTab, GoabTable, GoabTableSortHeader, GoabTabs, GoabTemporaryNotificationCtrl, GoabText, GoabTextArea, GoabTooltip, GoabxWorkSideMenu, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
|
|
9213
|
+
export { AngularComponentsModule, CheckedDirective, GoabAccordion, GoabAppFooter, GoabAppFooterMetaSection, GoabAppFooterNavSection, GoabAppHeader, GoabAppHeaderMenu, GoabBadge, GoabBlock, GoabButton, GoabButtonGroup, GoabCalendar, GoabCallout, GoabCard, GoabCardActions, GoabCardContent, GoabCardImage, GoabCheckbox, GoabCheckboxList, GoabChip, GoabCircularProgress, GoabColumnLayout, GoabContainer, GoabDataGrid, GoabDatePicker, GoabDetails, GoabDivider, GoabDrawer, GoabDropdown, GoabDropdownItem, GoabFieldset, GoabFileUploadCard, GoabFileUploadInput, GoabFilterChip, GoabFormItem, GoabFormItemSlot, GoabFormStep, GoabFormStepper, GoabGrid, GoabHeroBanner, GoabIcon, GoabIconButton, GoabInput, GoabInputNumber, GoabLinearProgress, GoabLink, GoabMenuAction, GoabMenuButton, GoabMicrositeHeader, GoabModal, GoabNotification, GoabPageBlock, GoabPages, GoabPagination, GoabPopover, GoabPublicForm, GoabPublicFormPage, GoabPublicFormSummary, GoabPublicFormTask, GoabPublicFormTaskList, GoabPublicSubform, GoabPublicSubformIndex, GoabRadioGroup, GoabRadioItem, GoabSideMenu, GoabSideMenuGroup, GoabSideMenuHeading, GoabSkeleton, GoabSpacer, GoabTab, GoabTable, GoabTableSortHeader, GoabTabs, GoabTemporaryNotificationCtrl, GoabText, GoabTextArea, GoabTooltip, GoabxAppFooter, GoabxAppFooterMetaSection, GoabxAppFooterNavSection, GoabxBadge, GoabxButton, GoabxCalendar, GoabxCallout, GoabxCheckbox, GoabxDatePicker, GoabxDrawer, GoabxDropdown, GoabxDropdownItem, GoabxFileUploadCard, GoabxFileUploadInput, GoabxFilterChip, GoabxFormItem, GoabxInput, GoabxLink, GoabxModal, GoabxNotification, GoabxPagination, GoabxRadioGroup, GoabxRadioItem, GoabxSideMenu, GoabxSideMenuGroup, GoabxSideMenuHeading, GoabxTable, GoabxTableSortHeader, GoabxTabs, GoabxTextArea, GoabxWorkSideMenu, GoabxWorkSideMenuGroup, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
|
|
6197
9214
|
//# sourceMappingURL=abgov-angular-components.mjs.map
|