@abgov/angular-components 5.0.0-dev.5 → 5.0.0-dev.7
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.
|
@@ -232,6 +232,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
232
232
|
}]
|
|
233
233
|
}] });
|
|
234
234
|
|
|
235
|
+
/** Provides shared margin and test id inputs for Angular GoA wrapper components. */
|
|
235
236
|
class GoabBaseComponent {
|
|
236
237
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
237
238
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabBaseComponent, isStandalone: true, selector: "ng-component", inputs: { mt: "mt", mb: "mb", ml: "ml", mr: "mr", testId: "testId" }, ngImport: i0, template: ``, isInline: true }); }
|
|
@@ -386,10 +387,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
386
387
|
args: ["goaComponentRef", { static: false, read: ElementRef }]
|
|
387
388
|
}] } });
|
|
388
389
|
|
|
390
|
+
/** Let users show and hide sections of related content on a page. */
|
|
389
391
|
class GoabAccordion extends GoabBaseComponent {
|
|
390
392
|
constructor() {
|
|
391
393
|
super(...arguments);
|
|
392
394
|
this.cdr = inject(ChangeDetectorRef);
|
|
395
|
+
/** Emits when the accordion opens or closes. Emits the new open state as a boolean. */
|
|
393
396
|
this.onChange = new EventEmitter();
|
|
394
397
|
this.isReady = false;
|
|
395
398
|
}
|
|
@@ -480,11 +483,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
480
483
|
type: Output
|
|
481
484
|
}] } });
|
|
482
485
|
|
|
486
|
+
/** Small labels which hold small amounts of information, system feedback, or states. */
|
|
483
487
|
class GoabBadge extends GoabBaseComponent {
|
|
484
488
|
constructor() {
|
|
485
489
|
super(...arguments);
|
|
486
490
|
this.cdr = inject(ChangeDetectorRef);
|
|
491
|
+
/** Sets the size of the badge. @default "medium" */
|
|
487
492
|
this.size = "medium";
|
|
493
|
+
/** Sets the visual emphasis. 'subtle' for less prominent, 'strong' for more emphasis. @default "strong" */
|
|
488
494
|
this.emphasis = "strong";
|
|
489
495
|
this.isReady = false;
|
|
490
496
|
this.version = "2";
|
|
@@ -558,6 +564,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
558
564
|
type: Input
|
|
559
565
|
}] } });
|
|
560
566
|
|
|
567
|
+
/** Group components into a block with consistent space between. */
|
|
561
568
|
class GoabBlock extends GoabBaseComponent {
|
|
562
569
|
constructor() {
|
|
563
570
|
super(...arguments);
|
|
@@ -633,11 +640,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
633
640
|
type: Input
|
|
634
641
|
}] } });
|
|
635
642
|
|
|
643
|
+
/** Carry out an important action or navigate to another page. */
|
|
636
644
|
class GoabButton extends GoabBaseComponent {
|
|
637
645
|
constructor() {
|
|
638
646
|
super(...arguments);
|
|
639
647
|
this.cdr = inject(ChangeDetectorRef);
|
|
648
|
+
/** Sets the visual style of the button. Use "primary" for main actions, "secondary" for alternative actions, "tertiary" for low-emphasis actions, and "start" for prominent call-to-action buttons. @default "primary" */
|
|
640
649
|
this.type = "primary";
|
|
650
|
+
/** Emits when the button is clicked. */
|
|
641
651
|
this.onClick = new EventEmitter();
|
|
642
652
|
this.isReady = false;
|
|
643
653
|
this.version = "2";
|
|
@@ -738,6 +748,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
738
748
|
type: Output
|
|
739
749
|
}] } });
|
|
740
750
|
|
|
751
|
+
/** Display multiple related actions stacked or in a horizontal row to help with arrangement and spacing. */
|
|
741
752
|
class GoabButtonGroup extends GoabBaseComponent {
|
|
742
753
|
constructor() {
|
|
743
754
|
super(...arguments);
|
|
@@ -797,11 +808,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
797
808
|
type: Input
|
|
798
809
|
}] } });
|
|
799
810
|
|
|
811
|
+
/** Visual calendar for date selection. */
|
|
800
812
|
class GoabCalendar extends GoabBaseComponent {
|
|
801
813
|
constructor() {
|
|
802
814
|
super(...arguments);
|
|
803
815
|
this.cdr = inject(ChangeDetectorRef);
|
|
804
816
|
this.version = "2";
|
|
817
|
+
/** Emits when the selected date changes. Emits the selected date details as GoabCalendarOnChangeDetail. */
|
|
805
818
|
this.onChange = new EventEmitter();
|
|
806
819
|
this.isReady = false;
|
|
807
820
|
this.once = new Once();
|
|
@@ -894,17 +907,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
894
907
|
type: Output
|
|
895
908
|
}] } });
|
|
896
909
|
|
|
910
|
+
/** Communicate important information through a strong visual emphasis. */
|
|
897
911
|
class GoabCallout extends GoabBaseComponent {
|
|
898
912
|
constructor() {
|
|
899
913
|
super(...arguments);
|
|
900
914
|
this.cdr = inject(ChangeDetectorRef);
|
|
901
915
|
this.isReady = false;
|
|
902
916
|
this.version = "2";
|
|
917
|
+
/** Define the context and colour of the callout. @default "information" */
|
|
903
918
|
this.type = "information";
|
|
919
|
+
/** Callout heading text. */
|
|
904
920
|
this.heading = "";
|
|
921
|
+
/** Sets the size of the callout. 'medium' has reduced padding and type size for compact areas. @default "large" */
|
|
905
922
|
this.size = "large";
|
|
923
|
+
/** Indicates how assistive technology should handle updates to the live region. @default "off" */
|
|
906
924
|
this.ariaLive = "off";
|
|
925
|
+
/** Sets the icon theme. 'outline' for stroked icons, 'filled' for solid icons. @default "outline" */
|
|
907
926
|
this.iconTheme = "outline";
|
|
927
|
+
/** Sets the visual prominence. 'high' for full background, 'medium' for subtle, 'low' for minimal. @default "medium" */
|
|
908
928
|
this.emphasis = "medium";
|
|
909
929
|
}
|
|
910
930
|
ngOnInit() {
|
|
@@ -982,6 +1002,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
982
1002
|
type: Input
|
|
983
1003
|
}] } });
|
|
984
1004
|
|
|
1005
|
+
/** A container that groups related content and actions. */
|
|
985
1006
|
class GoabCard extends GoabBaseComponent {
|
|
986
1007
|
constructor() {
|
|
987
1008
|
super(...arguments);
|
|
@@ -1042,6 +1063,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1042
1063
|
type: Input
|
|
1043
1064
|
}] } });
|
|
1044
1065
|
|
|
1066
|
+
/** A container that groups related content and actions. */
|
|
1045
1067
|
class GoabCardContent {
|
|
1046
1068
|
constructor() {
|
|
1047
1069
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -1080,6 +1102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1080
1102
|
}]
|
|
1081
1103
|
}] });
|
|
1082
1104
|
|
|
1105
|
+
/** A container that groups related content and actions. */
|
|
1083
1106
|
class GoabCardActions {
|
|
1084
1107
|
constructor() {
|
|
1085
1108
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -1118,6 +1141,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1118
1141
|
}]
|
|
1119
1142
|
}] });
|
|
1120
1143
|
|
|
1144
|
+
/** A container that groups related content and actions. */
|
|
1121
1145
|
class GoabCardImage {
|
|
1122
1146
|
constructor() {
|
|
1123
1147
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -1162,13 +1186,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1162
1186
|
args: [{ required: true }]
|
|
1163
1187
|
}] } });
|
|
1164
1188
|
|
|
1189
|
+
/** Let the user select one or more options. */
|
|
1165
1190
|
class GoabCheckbox extends GoabControlValueAccessor {
|
|
1166
1191
|
constructor() {
|
|
1167
1192
|
super(...arguments);
|
|
1168
1193
|
this.cdr = inject(ChangeDetectorRef);
|
|
1169
1194
|
this.isReady = false;
|
|
1170
1195
|
this.version = "2";
|
|
1196
|
+
/** Sets the size of the checkbox. 'compact' reduces spacing for dense layouts. @default "default" */
|
|
1171
1197
|
this.size = "default";
|
|
1198
|
+
/** Emits when the checkbox value changes. Emits the new checkbox state as a GoabCheckboxOnChangeDetail object. */
|
|
1172
1199
|
this.onChange = new EventEmitter();
|
|
1173
1200
|
}
|
|
1174
1201
|
ngOnInit() {
|
|
@@ -1324,13 +1351,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1324
1351
|
type: Output
|
|
1325
1352
|
}] } });
|
|
1326
1353
|
|
|
1354
|
+
/** A multiple selection input. */
|
|
1327
1355
|
class GoabCheckboxList extends GoabControlValueAccessor {
|
|
1328
1356
|
constructor() {
|
|
1329
1357
|
super(...arguments);
|
|
1330
1358
|
this.cdr = inject(ChangeDetectorRef);
|
|
1331
1359
|
this.isReady = false;
|
|
1332
1360
|
this.version = "2";
|
|
1361
|
+
/** Sets the size of the checkbox list. 'compact' reduces spacing between items. @default "default" */
|
|
1333
1362
|
this.size = "default";
|
|
1363
|
+
/** Emits when a checkbox selection changes. Emits the change detail including name, value array, and event. */
|
|
1334
1364
|
this.onChange = new EventEmitter();
|
|
1335
1365
|
}
|
|
1336
1366
|
ngOnInit() {
|
|
@@ -1431,12 +1461,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1431
1461
|
type: Output
|
|
1432
1462
|
}] } });
|
|
1433
1463
|
|
|
1464
|
+
/** Compact element for labels, tags, or selections. */
|
|
1434
1465
|
class GoabChip extends GoabBaseComponent {
|
|
1435
1466
|
constructor() {
|
|
1436
1467
|
super(...arguments);
|
|
1437
1468
|
this.cdr = inject(ChangeDetectorRef);
|
|
1438
1469
|
this.isReady = false;
|
|
1470
|
+
/** @deprecated Use GoAFilterChip instead. The text content displayed in the chip. */
|
|
1439
1471
|
this.content = "";
|
|
1472
|
+
/** Emits when the chip is clicked. */
|
|
1440
1473
|
this.onClick = new EventEmitter();
|
|
1441
1474
|
}
|
|
1442
1475
|
ngOnInit() {
|
|
@@ -1513,6 +1546,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1513
1546
|
type: Output
|
|
1514
1547
|
}] } });
|
|
1515
1548
|
|
|
1549
|
+
/** Provide feedback of progress to users while loading. */
|
|
1516
1550
|
class GoabCircularProgress {
|
|
1517
1551
|
constructor() {
|
|
1518
1552
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -1577,6 +1611,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1577
1611
|
type: Input
|
|
1578
1612
|
}] } });
|
|
1579
1613
|
|
|
1614
|
+
/** Organizes page content in one, two, or three responsive columns. */
|
|
1580
1615
|
class GoabColumnLayout {
|
|
1581
1616
|
constructor() {
|
|
1582
1617
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -1616,13 +1651,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1616
1651
|
}]
|
|
1617
1652
|
}] });
|
|
1618
1653
|
|
|
1654
|
+
/** Group information, create hierarchy, and show related information. */
|
|
1619
1655
|
class GoabContainer extends GoabBaseComponent {
|
|
1620
1656
|
constructor() {
|
|
1621
1657
|
super(...arguments);
|
|
1622
1658
|
this.cdr = inject(ChangeDetectorRef);
|
|
1659
|
+
/** Sets the container and accent bar styling. @default "interactive" */
|
|
1623
1660
|
this.type = "interactive";
|
|
1661
|
+
/** Sets the style of accent on the container. @default "filled" */
|
|
1624
1662
|
this.accent = "filled";
|
|
1663
|
+
/** Sets the amount of white space in the container. @default "relaxed" */
|
|
1625
1664
|
this.padding = "relaxed";
|
|
1665
|
+
/** Sets the width of the container. @default "full" */
|
|
1626
1666
|
this.width = "full";
|
|
1627
1667
|
this.isReady = false;
|
|
1628
1668
|
}
|
|
@@ -1720,10 +1760,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1720
1760
|
type: Input
|
|
1721
1761
|
}] } });
|
|
1722
1762
|
|
|
1763
|
+
/** Advanced table with sorting and selection. */
|
|
1723
1764
|
class GoabDataGrid {
|
|
1724
1765
|
constructor() {
|
|
1725
1766
|
this.cdr = inject(ChangeDetectorRef);
|
|
1767
|
+
/** Controls visibility of the keyboard navigation indicator icon. Use "visible" to show or "hidden" to hide. @default "visible" */
|
|
1726
1768
|
this.keyboardIconVisibility = "visible";
|
|
1769
|
+
/** Position of the keyboard navigation indicator icon. @default "left" */
|
|
1727
1770
|
this.keyboardIconPosition = "left";
|
|
1728
1771
|
this.isReady = false;
|
|
1729
1772
|
}
|
|
@@ -1775,6 +1818,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1775
1818
|
args: [{ required: true }]
|
|
1776
1819
|
}] } });
|
|
1777
1820
|
|
|
1821
|
+
/** Lets users select a date through a calendar without the need to manually type it in a field. */
|
|
1778
1822
|
class GoabDatePicker extends GoabControlValueAccessor {
|
|
1779
1823
|
constructor() {
|
|
1780
1824
|
super(...arguments);
|
|
@@ -1782,6 +1826,7 @@ class GoabDatePicker extends GoabControlValueAccessor {
|
|
|
1782
1826
|
this.cdr = inject(ChangeDetectorRef);
|
|
1783
1827
|
this.isReady = false;
|
|
1784
1828
|
this.version = "2";
|
|
1829
|
+
/** Emits when the selected date changes. Emits the date picker change detail including name and value. */
|
|
1785
1830
|
this.onChange = new EventEmitter();
|
|
1786
1831
|
this.once = new Once();
|
|
1787
1832
|
}
|
|
@@ -1929,6 +1974,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1929
1974
|
args: ["disabledChange", ["$event"]]
|
|
1930
1975
|
}] } });
|
|
1931
1976
|
|
|
1977
|
+
/** Let users reveal more detailed information when they need it. */
|
|
1932
1978
|
class GoabDetails extends GoabBaseComponent {
|
|
1933
1979
|
constructor() {
|
|
1934
1980
|
super(...arguments);
|
|
@@ -1994,6 +2040,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
1994
2040
|
type: Input
|
|
1995
2041
|
}] } });
|
|
1996
2042
|
|
|
2043
|
+
/** Indicate a separation of layout, or to distinguish large chunks of information on a page. */
|
|
1997
2044
|
class GoabDivider extends GoabBaseComponent {
|
|
1998
2045
|
constructor() {
|
|
1999
2046
|
super(...arguments);
|
|
@@ -2043,10 +2090,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2043
2090
|
}]
|
|
2044
2091
|
}] });
|
|
2045
2092
|
|
|
2093
|
+
/** A panel that slides in from the side of the screen to display additional content or actions without navigating away from the current view. */
|
|
2046
2094
|
class GoabDrawer {
|
|
2047
2095
|
constructor() {
|
|
2048
2096
|
this.cdr = inject(ChangeDetectorRef);
|
|
2049
2097
|
this.version = "2";
|
|
2098
|
+
/** Emits when the drawer is closed. */
|
|
2050
2099
|
this.onClose = new EventEmitter();
|
|
2051
2100
|
this.isReady = false;
|
|
2052
2101
|
}
|
|
@@ -2136,11 +2185,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2136
2185
|
}] } });
|
|
2137
2186
|
|
|
2138
2187
|
// "disabled", "value", "id" is an exposed property of HTMLInputElement, no need to bind with attr
|
|
2188
|
+
/** Present a list of options to the user to select from. */
|
|
2139
2189
|
class GoabDropdown extends GoabControlValueAccessor {
|
|
2140
2190
|
constructor() {
|
|
2141
2191
|
super(...arguments);
|
|
2142
2192
|
this.cdr = inject(ChangeDetectorRef);
|
|
2193
|
+
/** Sets the size of the dropdown. Compact reduces height for dense layouts. @default "default" */
|
|
2143
2194
|
this.size = "default";
|
|
2195
|
+
/** Emits when the user selects a value from the dropdown. Emits a GoabDropdownOnChangeDetail object with the new value. */
|
|
2144
2196
|
this.onChange = new EventEmitter();
|
|
2145
2197
|
this.isReady = false;
|
|
2146
2198
|
this.version = "2";
|
|
@@ -2286,6 +2338,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2286
2338
|
type: Output
|
|
2287
2339
|
}] } });
|
|
2288
2340
|
|
|
2341
|
+
/** Present a list of options to the user to select from. */
|
|
2289
2342
|
class GoabDropdownItem {
|
|
2290
2343
|
constructor() {
|
|
2291
2344
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -2340,10 +2393,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2340
2393
|
type: Input
|
|
2341
2394
|
}] } });
|
|
2342
2395
|
|
|
2396
|
+
/** Display uploaded file with actions. */
|
|
2343
2397
|
class GoabFileUploadCard {
|
|
2344
2398
|
constructor() {
|
|
2345
2399
|
this.cdr = inject(ChangeDetectorRef);
|
|
2400
|
+
/** Emits when the user cancels a file upload. Emits a GoabFileUploadOnCancelDetail object with the filename. */
|
|
2346
2401
|
this.onCancel = new EventEmitter();
|
|
2402
|
+
/** Emits when the user removes an uploaded file. Emits a GoabFileUploadOnDeleteDetail object with the filename. */
|
|
2347
2403
|
this.onDelete = new EventEmitter();
|
|
2348
2404
|
this.isReady = false;
|
|
2349
2405
|
this.version = "2";
|
|
@@ -2404,7 +2460,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2404
2460
|
args: [{ required: true }]
|
|
2405
2461
|
}], size: [{
|
|
2406
2462
|
type: Input,
|
|
2407
|
-
args: [{ transform: numberAttribute }]
|
|
2463
|
+
args: [{ required: true, transform: numberAttribute }]
|
|
2408
2464
|
}], type: [{
|
|
2409
2465
|
type: Input
|
|
2410
2466
|
}], progress: [{
|
|
@@ -2420,12 +2476,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2420
2476
|
type: Output
|
|
2421
2477
|
}] } });
|
|
2422
2478
|
|
|
2479
|
+
/** Help users select and upload a file. */
|
|
2423
2480
|
class GoabFileUploadInput extends GoabBaseComponent {
|
|
2424
2481
|
constructor() {
|
|
2425
2482
|
super(...arguments);
|
|
2426
2483
|
this.cdr = inject(ChangeDetectorRef);
|
|
2484
|
+
/** Sets the id attribute on the file upload input element. */
|
|
2427
2485
|
this.id = "";
|
|
2486
|
+
/** Maximum file size with unit (e.g., "5MB", "100KB", "1GB"). Files exceeding this will be rejected. @default "5MB" */
|
|
2428
2487
|
this.maxFileSize = "5MB";
|
|
2488
|
+
/** Emits when a file is selected. Emits the selected file details. */
|
|
2429
2489
|
this.onSelectFile = new EventEmitter();
|
|
2430
2490
|
this.isReady = false;
|
|
2431
2491
|
this.version = "2";
|
|
@@ -2489,8 +2549,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2489
2549
|
}], propDecorators: { id: [{
|
|
2490
2550
|
type: Input
|
|
2491
2551
|
}], variant: [{
|
|
2492
|
-
type: Input
|
|
2493
|
-
args: [{ required: true }]
|
|
2552
|
+
type: Input
|
|
2494
2553
|
}], maxFileSize: [{
|
|
2495
2554
|
type: Input
|
|
2496
2555
|
}], accept: [{
|
|
@@ -2499,13 +2558,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2499
2558
|
type: Output
|
|
2500
2559
|
}] } });
|
|
2501
2560
|
|
|
2561
|
+
/** Allow the user to enter information, filter content, and make selections. */
|
|
2502
2562
|
class GoabFilterChip extends GoabBaseComponent {
|
|
2503
2563
|
constructor() {
|
|
2504
2564
|
super(...arguments);
|
|
2505
2565
|
this.cdr = inject(ChangeDetectorRef);
|
|
2566
|
+
/** Text label of the chip. */
|
|
2506
2567
|
this.content = "";
|
|
2568
|
+
/** Secondary text displayed in a smaller size before the main content. */
|
|
2507
2569
|
this.secondaryText = "";
|
|
2570
|
+
/** Icon displayed at the start of the chip. */
|
|
2508
2571
|
this.leadingIcon = null;
|
|
2572
|
+
/** Emits when the filter chip delete button is clicked. */
|
|
2509
2573
|
this.onClick = new EventEmitter();
|
|
2510
2574
|
this.isReady = false;
|
|
2511
2575
|
this.version = "2";
|
|
@@ -2584,6 +2648,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2584
2648
|
type: Output
|
|
2585
2649
|
}] } });
|
|
2586
2650
|
|
|
2651
|
+
/** Provides information related your service at the bottom of every page. */
|
|
2587
2652
|
class GoabAppFooter {
|
|
2588
2653
|
constructor() {
|
|
2589
2654
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -2639,6 +2704,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2639
2704
|
type: Input
|
|
2640
2705
|
}] } });
|
|
2641
2706
|
|
|
2707
|
+
/** Copyright and legal links in footer. */
|
|
2642
2708
|
class GoabAppFooterMetaSection {
|
|
2643
2709
|
constructor() {
|
|
2644
2710
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -2673,9 +2739,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2673
2739
|
args: [{ required: true }]
|
|
2674
2740
|
}] } });
|
|
2675
2741
|
|
|
2742
|
+
/** Navigation links section in footer. */
|
|
2676
2743
|
class GoabAppFooterNavSection {
|
|
2677
2744
|
constructor() {
|
|
2678
2745
|
this.cdr = inject(ChangeDetectorRef);
|
|
2746
|
+
/** Maximum number of columns to display links in on larger screens. @default 1 */
|
|
2679
2747
|
this.maxColumnCount = 1;
|
|
2680
2748
|
this.isReady = false;
|
|
2681
2749
|
}
|
|
@@ -2720,11 +2788,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2720
2788
|
args: [{ required: true }]
|
|
2721
2789
|
}] } });
|
|
2722
2790
|
|
|
2791
|
+
/** Container for form inputs and validation. */
|
|
2723
2792
|
class GoabPublicForm {
|
|
2724
2793
|
constructor() {
|
|
2794
|
+
/** The initialization status of the form. Set to "initializing" while loading external state, then "complete" when ready. @default "complete" */
|
|
2725
2795
|
this.status = "complete";
|
|
2796
|
+
/** Emits when the form is initialized. */
|
|
2726
2797
|
this.onInit = new EventEmitter();
|
|
2798
|
+
/** Emits when the form is complete. Emits the form state. */
|
|
2727
2799
|
this.onComplete = new EventEmitter();
|
|
2800
|
+
/** Emits when the form state changes. Emits the updated form state. */
|
|
2728
2801
|
this.onStateChange = new EventEmitter();
|
|
2729
2802
|
}
|
|
2730
2803
|
_onInit(e) {
|
|
@@ -2781,21 +2854,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2781
2854
|
type: Output
|
|
2782
2855
|
}] } });
|
|
2783
2856
|
|
|
2857
|
+
/** Container for form inputs and validation. */
|
|
2784
2858
|
class GoabPublicFormPage extends GoabBaseComponent {
|
|
2785
2859
|
constructor() {
|
|
2786
2860
|
super(...arguments);
|
|
2861
|
+
/** Sets the id of the form page. */
|
|
2787
2862
|
this.id = "";
|
|
2863
|
+
/** Sets the main heading text of the form page. */
|
|
2788
2864
|
this.heading = "";
|
|
2865
|
+
/** Sets the sub-heading text displayed below the main heading. */
|
|
2789
2866
|
this.subHeading = "";
|
|
2867
|
+
/** Sets the heading used in the summary view for this page. */
|
|
2790
2868
|
this.summaryHeading = "";
|
|
2869
|
+
/** Sets the section title displayed above the heading. */
|
|
2791
2870
|
this.sectionTitle = "";
|
|
2871
|
+
/** Sets the URL for the back navigation link. */
|
|
2792
2872
|
this.backUrl = "";
|
|
2873
|
+
/** Sets the type of the form page step. @default "step" */
|
|
2793
2874
|
this.type = "step";
|
|
2875
|
+
/** Sets the text for the continue or confirm button. */
|
|
2794
2876
|
this.buttonText = "";
|
|
2877
|
+
/** Sets the visibility of the continue button. @default "visible" */
|
|
2795
2878
|
this.buttonVisibility = "visible";
|
|
2796
|
-
/**
|
|
2797
|
-
* triggers when the form page continues to the next step
|
|
2798
|
-
*/
|
|
2879
|
+
/** Emits when the form page continues to the next step. */
|
|
2799
2880
|
this.onContinue = new EventEmitter();
|
|
2800
2881
|
}
|
|
2801
2882
|
_onContinue(event) {
|
|
@@ -2872,6 +2953,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2872
2953
|
type: Output
|
|
2873
2954
|
}] } });
|
|
2874
2955
|
|
|
2956
|
+
/** Container for form inputs and validation. */
|
|
2875
2957
|
class GoabPublicFormSummary {
|
|
2876
2958
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicFormSummary, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2877
2959
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabPublicFormSummary, isStandalone: true, selector: "goab-public-form-summary", inputs: { heading: "heading" }, ngImport: i0, template: `
|
|
@@ -2896,13 +2978,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2896
2978
|
type: Input
|
|
2897
2979
|
}] } });
|
|
2898
2980
|
|
|
2981
|
+
/** Container for form inputs and validation. */
|
|
2899
2982
|
class GoabPublicSubform extends GoabBaseComponent {
|
|
2900
2983
|
constructor() {
|
|
2901
2984
|
super(...arguments);
|
|
2985
|
+
/** Sets the id of the subform. */
|
|
2902
2986
|
this.id = "";
|
|
2987
|
+
/** Sets the name identifier for the subform. */
|
|
2903
2988
|
this.name = "";
|
|
2989
|
+
/** Sets the text for the continue button. */
|
|
2904
2990
|
this.continueMsg = "";
|
|
2991
|
+
/** Emits when the subform is initialized. */
|
|
2905
2992
|
this.onInit = new EventEmitter();
|
|
2993
|
+
/** Emits when the subform state changes. */
|
|
2906
2994
|
this.onStateChange = new EventEmitter();
|
|
2907
2995
|
}
|
|
2908
2996
|
_onInit(e) {
|
|
@@ -2962,12 +3050,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2962
3050
|
type: Output
|
|
2963
3051
|
}] } });
|
|
2964
3052
|
|
|
3053
|
+
/** Container for form inputs and validation. */
|
|
2965
3054
|
class GoabPublicSubformIndex extends GoabBaseComponent {
|
|
2966
3055
|
constructor() {
|
|
2967
3056
|
super(...arguments);
|
|
3057
|
+
/** Sets the heading text of the subform index page. */
|
|
2968
3058
|
this.heading = "";
|
|
3059
|
+
/** Sets the section title displayed above the heading. */
|
|
2969
3060
|
this.sectionTitle = "";
|
|
3061
|
+
/** Sets the text for the action button that navigates to the subform. */
|
|
2970
3062
|
this.actionButtonText = "";
|
|
3063
|
+
/** Sets the visibility of the continue button. @default "hidden" */
|
|
2971
3064
|
this.buttonVisibility = "hidden";
|
|
2972
3065
|
}
|
|
2973
3066
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicSubformIndex, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -3020,6 +3113,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3020
3113
|
type: Input
|
|
3021
3114
|
}] } });
|
|
3022
3115
|
|
|
3116
|
+
/** Container for form inputs and validation. */
|
|
3023
3117
|
class GoabPublicFormTask {
|
|
3024
3118
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicFormTask, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3025
3119
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabPublicFormTask, isStandalone: true, selector: "goab-public-form-task", inputs: { status: "status" }, ngImport: i0, template: `
|
|
@@ -3044,6 +3138,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3044
3138
|
type: Input
|
|
3045
3139
|
}] } });
|
|
3046
3140
|
|
|
3141
|
+
/** Container for form inputs and validation. */
|
|
3047
3142
|
class GoabPublicFormTaskList extends GoabBaseComponent {
|
|
3048
3143
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabPublicFormTaskList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3049
3144
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabPublicFormTaskList, isStandalone: true, selector: "goab-public-form-task-list", inputs: { heading: "heading" }, usesInheritance: true, ngImport: i0, template: `
|
|
@@ -3080,9 +3175,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3080
3175
|
type: Input
|
|
3081
3176
|
}] } });
|
|
3082
3177
|
|
|
3178
|
+
/** Container for form inputs and validation. */
|
|
3083
3179
|
class GoabFieldset {
|
|
3084
3180
|
constructor() {
|
|
3181
|
+
/** Sets when changes will be dispatched to the form. @default "continue" */
|
|
3085
3182
|
this.dispatchOn = "continue";
|
|
3183
|
+
/** Emits when the fieldset continues to the next step. Emits the continue detail. */
|
|
3086
3184
|
this.onContinue = new EventEmitter();
|
|
3087
3185
|
}
|
|
3088
3186
|
_onContinue(event) {
|
|
@@ -3124,14 +3222,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3124
3222
|
type: Output
|
|
3125
3223
|
}] } });
|
|
3126
3224
|
|
|
3225
|
+
/** Wraps an input control with a text label, requirement label, helper text, and error text. */
|
|
3127
3226
|
class GoabFormItem extends GoabBaseComponent {
|
|
3128
3227
|
constructor() {
|
|
3129
3228
|
super(...arguments);
|
|
3130
3229
|
this.cdr = inject(ChangeDetectorRef);
|
|
3230
|
+
/** Specifies the input type for appropriate message spacing. Used with checkbox-list or radio-group. */
|
|
3131
3231
|
this.type = "";
|
|
3132
3232
|
this.isReady = false;
|
|
3133
3233
|
this.version = "2";
|
|
3134
3234
|
}
|
|
3235
|
+
getHelpTextAsString() {
|
|
3236
|
+
return typeof this.helpText === "string" ? this.helpText : undefined;
|
|
3237
|
+
}
|
|
3238
|
+
getHelpTextAsTemplate() {
|
|
3239
|
+
return this.helpText instanceof TemplateRef ? this.helpText : null;
|
|
3240
|
+
}
|
|
3241
|
+
getErrorAsString() {
|
|
3242
|
+
return typeof this.error === "string" ? this.error : undefined;
|
|
3243
|
+
}
|
|
3244
|
+
getErrorAsTemplate() {
|
|
3245
|
+
return this.error instanceof TemplateRef ? this.error : null;
|
|
3246
|
+
}
|
|
3135
3247
|
ngOnInit() {
|
|
3136
3248
|
// For Angular 20, we need to delay rendering the web component
|
|
3137
3249
|
// to ensure all attributes are properly bound before the component initializes
|
|
@@ -3146,8 +3258,8 @@ class GoabFormItem extends GoabBaseComponent {
|
|
|
3146
3258
|
[attr.version]="version"
|
|
3147
3259
|
[attr.label]="label"
|
|
3148
3260
|
[attr.labelsize]="labelSize"
|
|
3149
|
-
[attr.helptext]="
|
|
3150
|
-
[attr.error]="
|
|
3261
|
+
[attr.helptext]="getHelpTextAsString()"
|
|
3262
|
+
[attr.error]="getErrorAsString()"
|
|
3151
3263
|
[attr.testid]="testId"
|
|
3152
3264
|
[attr.type]="type"
|
|
3153
3265
|
[id]="id"
|
|
@@ -3160,23 +3272,33 @@ class GoabFormItem extends GoabBaseComponent {
|
|
|
3160
3272
|
[attr.mr]="mr"
|
|
3161
3273
|
[attr.ml]="ml"
|
|
3162
3274
|
>
|
|
3275
|
+
@if (getErrorAsTemplate()) {
|
|
3276
|
+
<div slot="error">
|
|
3277
|
+
<ng-container [ngTemplateOutlet]="getErrorAsTemplate()"></ng-container>
|
|
3278
|
+
</div>
|
|
3279
|
+
}
|
|
3280
|
+
@if (getHelpTextAsTemplate()) {
|
|
3281
|
+
<div slot="helptext">
|
|
3282
|
+
<ng-container [ngTemplateOutlet]="getHelpTextAsTemplate()"></ng-container>
|
|
3283
|
+
</div>
|
|
3284
|
+
}
|
|
3163
3285
|
<ng-content />
|
|
3164
|
-
<ng-content select="goab-form-item-slot"></ng-content>
|
|
3165
3286
|
</goa-form-item>
|
|
3166
|
-
}`, isInline: true }); }
|
|
3287
|
+
}`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
3167
3288
|
}
|
|
3168
3289
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormItem, decorators: [{
|
|
3169
3290
|
type: Component,
|
|
3170
3291
|
args: [{
|
|
3171
3292
|
standalone: true,
|
|
3172
3293
|
selector: "goab-form-item",
|
|
3294
|
+
imports: [NgTemplateOutlet],
|
|
3173
3295
|
template: `@if (isReady) {
|
|
3174
3296
|
<goa-form-item
|
|
3175
3297
|
[attr.version]="version"
|
|
3176
3298
|
[attr.label]="label"
|
|
3177
3299
|
[attr.labelsize]="labelSize"
|
|
3178
|
-
[attr.helptext]="
|
|
3179
|
-
[attr.error]="
|
|
3300
|
+
[attr.helptext]="getHelpTextAsString()"
|
|
3301
|
+
[attr.error]="getErrorAsString()"
|
|
3180
3302
|
[attr.testid]="testId"
|
|
3181
3303
|
[attr.type]="type"
|
|
3182
3304
|
[id]="id"
|
|
@@ -3189,8 +3311,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3189
3311
|
[attr.mr]="mr"
|
|
3190
3312
|
[attr.ml]="ml"
|
|
3191
3313
|
>
|
|
3314
|
+
@if (getErrorAsTemplate()) {
|
|
3315
|
+
<div slot="error">
|
|
3316
|
+
<ng-container [ngTemplateOutlet]="getErrorAsTemplate()"></ng-container>
|
|
3317
|
+
</div>
|
|
3318
|
+
}
|
|
3319
|
+
@if (getHelpTextAsTemplate()) {
|
|
3320
|
+
<div slot="helptext">
|
|
3321
|
+
<ng-container [ngTemplateOutlet]="getHelpTextAsTemplate()"></ng-container>
|
|
3322
|
+
</div>
|
|
3323
|
+
}
|
|
3192
3324
|
<ng-content />
|
|
3193
|
-
<ng-content select="goab-form-item-slot"></ng-content>
|
|
3194
3325
|
</goa-form-item>
|
|
3195
3326
|
}`,
|
|
3196
3327
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
@@ -3218,10 +3349,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3218
3349
|
}] } });
|
|
3219
3350
|
|
|
3220
3351
|
/**
|
|
3221
|
-
*
|
|
3222
|
-
* We need to use a separate component with a required attribute `slot` because
|
|
3223
|
-
* svelte component renders based on the `slot` of the wrapper component (which is `div` before)
|
|
3224
|
-
* // similar to app-footer-meta-section & app-footer-nav-section
|
|
3352
|
+
* @deprecated Use `TemplateRef` inputs on `goab-form-item` (`[helpText]` / `[error]`) instead.
|
|
3225
3353
|
*/
|
|
3226
3354
|
class GoabFormItemSlot {
|
|
3227
3355
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabFormItemSlot, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -3239,6 +3367,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3239
3367
|
args: [{ required: true }]
|
|
3240
3368
|
}] } });
|
|
3241
3369
|
|
|
3370
|
+
/** Individual step in a multi-step form. */
|
|
3242
3371
|
class GoabFormStep {
|
|
3243
3372
|
constructor() {
|
|
3244
3373
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -3275,11 +3404,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3275
3404
|
type: Input
|
|
3276
3405
|
}] } });
|
|
3277
3406
|
|
|
3407
|
+
/** Provides a visual representation of a form through a series of steps. */
|
|
3278
3408
|
class GoabFormStepper extends GoabBaseComponent {
|
|
3279
3409
|
constructor() {
|
|
3280
3410
|
super(...arguments);
|
|
3281
3411
|
this.cdr = inject(ChangeDetectorRef);
|
|
3412
|
+
/** The current step state value (1-based index). Leaving it blank (-1) will allow any step to be accessed. @default -1 */
|
|
3282
3413
|
this.step = -1;
|
|
3414
|
+
/** Emits when the form stepper step changes. Emits the new step as GoabFormStepperOnChangeDetail. */
|
|
3283
3415
|
this.onChange = new EventEmitter();
|
|
3284
3416
|
this.isReady = false;
|
|
3285
3417
|
}
|
|
@@ -3338,6 +3470,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3338
3470
|
type: Output
|
|
3339
3471
|
}] } });
|
|
3340
3472
|
|
|
3473
|
+
/** Arrange a number of components into a responsive grid pattern. */
|
|
3341
3474
|
class GoabGrid extends GoabBaseComponent {
|
|
3342
3475
|
constructor() {
|
|
3343
3476
|
super(...arguments);
|
|
@@ -3396,12 +3529,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3396
3529
|
type: Input
|
|
3397
3530
|
}] } });
|
|
3398
3531
|
|
|
3532
|
+
/** Provide structure to help users find their way around the service. */
|
|
3399
3533
|
class GoabAppHeader extends GoabBaseComponent {
|
|
3400
3534
|
constructor() {
|
|
3401
3535
|
super(...arguments);
|
|
3402
3536
|
this.cdr = inject(ChangeDetectorRef);
|
|
3403
3537
|
this.isReady = false;
|
|
3404
3538
|
this.version = "2";
|
|
3539
|
+
/** Emits when the menu button is clicked. Used for custom menu handling. */
|
|
3405
3540
|
this.onMenuClick = new EventEmitter();
|
|
3406
3541
|
}
|
|
3407
3542
|
ngOnInit() {
|
|
@@ -3467,6 +3602,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3467
3602
|
type: Output
|
|
3468
3603
|
}] } });
|
|
3469
3604
|
|
|
3605
|
+
/** Menu items within the app header. */
|
|
3470
3606
|
class GoabAppHeaderMenu extends GoabBaseComponent {
|
|
3471
3607
|
constructor() {
|
|
3472
3608
|
super(...arguments);
|
|
@@ -3520,6 +3656,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3520
3656
|
args: ["attr.slot"]
|
|
3521
3657
|
}] } });
|
|
3522
3658
|
|
|
3659
|
+
/** A visual band of text, including an image and a call to action. */
|
|
3523
3660
|
class GoabHeroBanner {
|
|
3524
3661
|
constructor() {
|
|
3525
3662
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -3595,6 +3732,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3595
3732
|
type: Input
|
|
3596
3733
|
}] } });
|
|
3597
3734
|
|
|
3735
|
+
/** A simple and universal graphic symbol representing an action, object, or concept to help guide the user. */
|
|
3598
3736
|
class GoabIcon extends GoabBaseComponent {
|
|
3599
3737
|
constructor() {
|
|
3600
3738
|
super(...arguments);
|
|
@@ -3610,7 +3748,7 @@ class GoabIcon extends GoabBaseComponent {
|
|
|
3610
3748
|
}, 0);
|
|
3611
3749
|
}
|
|
3612
3750
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabIcon, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3613
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabIcon, isStandalone: true, selector: "goab-icon", inputs: { type: "type", size: "size", theme: "theme", inverted: ["inverted", "inverted", booleanAttribute], fillColor: "fillColor", opacity: ["opacity", "opacity", numberAttribute], title: "title", ariaLabel: "ariaLabel" }, usesInheritance: true, ngImport: i0, template: `
|
|
3751
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabIcon, isStandalone: true, selector: "goab-icon", inputs: { type: "type", size: "size", theme: "theme", inverted: ["inverted", "inverted", booleanAttribute], fillColor: "fillColor", opacity: ["opacity", "opacity", numberAttribute], title: "title", ariaLabel: "ariaLabel", role: "role" }, usesInheritance: true, ngImport: i0, template: `
|
|
3614
3752
|
@if (isReady) {
|
|
3615
3753
|
<goa-icon
|
|
3616
3754
|
[attr.type]="type"
|
|
@@ -3621,6 +3759,7 @@ class GoabIcon extends GoabBaseComponent {
|
|
|
3621
3759
|
[attr.opacity]="opacity"
|
|
3622
3760
|
[attr.title]="title"
|
|
3623
3761
|
[attr.arialabel]="ariaLabel"
|
|
3762
|
+
[attr.role]="role"
|
|
3624
3763
|
[attr.mt]="mt"
|
|
3625
3764
|
[attr.mb]="mb"
|
|
3626
3765
|
[attr.ml]="ml"
|
|
@@ -3644,6 +3783,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3644
3783
|
[attr.opacity]="opacity"
|
|
3645
3784
|
[attr.title]="title"
|
|
3646
3785
|
[attr.arialabel]="ariaLabel"
|
|
3786
|
+
[attr.role]="role"
|
|
3647
3787
|
[attr.mt]="mt"
|
|
3648
3788
|
[attr.mb]="mb"
|
|
3649
3789
|
[attr.ml]="ml"
|
|
@@ -3672,15 +3812,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3672
3812
|
type: Input
|
|
3673
3813
|
}], ariaLabel: [{
|
|
3674
3814
|
type: Input
|
|
3815
|
+
}], role: [{
|
|
3816
|
+
type: Input
|
|
3675
3817
|
}] } });
|
|
3676
3818
|
|
|
3819
|
+
/** A compact button with an icon and no text. */
|
|
3677
3820
|
class GoabIconButton extends GoabBaseComponent {
|
|
3678
3821
|
constructor() {
|
|
3679
3822
|
super(...arguments);
|
|
3680
3823
|
this.cdr = inject(ChangeDetectorRef);
|
|
3681
3824
|
this.isReady = false;
|
|
3682
3825
|
this.JSON = JSON;
|
|
3826
|
+
/** Sets the size of button. @default "medium" */
|
|
3683
3827
|
this.size = "medium";
|
|
3828
|
+
/** Sets the icon theme. "outline" for stroked icons, "filled" for solid icons. @default "outline" */
|
|
3829
|
+
this.theme = "outline";
|
|
3830
|
+
/** Emits when the icon button is clicked. */
|
|
3684
3831
|
this.onClick = new EventEmitter();
|
|
3685
3832
|
}
|
|
3686
3833
|
ngOnInit() {
|
|
@@ -3693,12 +3840,13 @@ class GoabIconButton extends GoabBaseComponent {
|
|
|
3693
3840
|
this.onClick.emit();
|
|
3694
3841
|
}
|
|
3695
3842
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabIconButton, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3696
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabIconButton, isStandalone: true, selector: "goab-icon-button", inputs: { icon: "icon", size: "size", variant: "variant", title: "title", disabled: ["disabled", "disabled", booleanAttribute], ariaLabel: "ariaLabel", action: "action", actionArg: "actionArg", actionArgs: "actionArgs" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `
|
|
3843
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabIconButton, isStandalone: true, selector: "goab-icon-button", inputs: { icon: "icon", size: "size", variant: "variant", theme: "theme", title: "title", disabled: ["disabled", "disabled", booleanAttribute], ariaLabel: "ariaLabel", action: "action", actionArg: "actionArg", actionArgs: "actionArgs" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `
|
|
3697
3844
|
@if (isReady) {
|
|
3698
3845
|
<goa-icon-button
|
|
3699
3846
|
[attr.icon]="icon"
|
|
3700
3847
|
[disabled]="disabled"
|
|
3701
3848
|
[attr.size]="size"
|
|
3849
|
+
[attr.theme]="theme"
|
|
3702
3850
|
[attr.variant]="variant"
|
|
3703
3851
|
[title]="title"
|
|
3704
3852
|
[attr.arialabel]="ariaLabel"
|
|
@@ -3728,6 +3876,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3728
3876
|
[attr.icon]="icon"
|
|
3729
3877
|
[disabled]="disabled"
|
|
3730
3878
|
[attr.size]="size"
|
|
3879
|
+
[attr.theme]="theme"
|
|
3731
3880
|
[attr.variant]="variant"
|
|
3732
3881
|
[title]="title"
|
|
3733
3882
|
[attr.arialabel]="ariaLabel"
|
|
@@ -3754,6 +3903,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3754
3903
|
type: Input
|
|
3755
3904
|
}], variant: [{
|
|
3756
3905
|
type: Input
|
|
3906
|
+
}], theme: [{
|
|
3907
|
+
type: Input
|
|
3757
3908
|
}], title: [{
|
|
3758
3909
|
type: Input
|
|
3759
3910
|
}], disabled: [{
|
|
@@ -3771,17 +3922,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3771
3922
|
type: Output
|
|
3772
3923
|
}] } });
|
|
3773
3924
|
|
|
3925
|
+
/** A single-line field where users can input and edit text. */
|
|
3774
3926
|
class GoabInput extends GoabControlValueAccessor {
|
|
3775
3927
|
constructor() {
|
|
3776
3928
|
super(...arguments);
|
|
3777
3929
|
this.cdr = inject(ChangeDetectorRef);
|
|
3930
|
+
/** Sets the type of the input field. @default "text" */
|
|
3778
3931
|
this.type = "text";
|
|
3932
|
+
/** Sets the text alignment within the input field. @default "left" */
|
|
3779
3933
|
this.textAlign = "left";
|
|
3934
|
+
/** Sets the size of the input. 'compact' reduces height for dense layouts. @default "default" */
|
|
3780
3935
|
this.size = "default";
|
|
3936
|
+
/** Emits when the trailing icon is clicked. */
|
|
3781
3937
|
this.onTrailingIconClick = new EventEmitter();
|
|
3938
|
+
/** Emits when the input receives focus. Emits focus detail including the current value. */
|
|
3782
3939
|
this.onFocus = new EventEmitter();
|
|
3940
|
+
/** Emits when the input loses focus. Emits blur detail including the current value. */
|
|
3783
3941
|
this.onBlur = new EventEmitter();
|
|
3942
|
+
/** Emits when a key is pressed in the input. Emits key press detail including the value and key pressed. */
|
|
3784
3943
|
this.onKeyPress = new EventEmitter();
|
|
3944
|
+
/** Emits when the input value changes. Emits change detail including the new value. */
|
|
3785
3945
|
this.onChange = new EventEmitter();
|
|
3786
3946
|
this.version = "2";
|
|
3787
3947
|
this.isReady = false;
|
|
@@ -4069,17 +4229,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4069
4229
|
type: Output
|
|
4070
4230
|
}] } });
|
|
4071
4231
|
|
|
4232
|
+
/** A single-line field where users can input and edit numeric values. */
|
|
4072
4233
|
class GoabInputNumber {
|
|
4073
4234
|
constructor() {
|
|
4074
4235
|
this.cdr = inject(ChangeDetectorRef);
|
|
4075
4236
|
this.isReady = false;
|
|
4237
|
+
/** Sets the type of the input field. @default "number" */
|
|
4076
4238
|
this.type = "number";
|
|
4239
|
+
/** Sets the text alignment within the input field. @default "right" */
|
|
4077
4240
|
this.textAlign = "right"; // Default to right for numbers
|
|
4241
|
+
/** Bound to value. */
|
|
4078
4242
|
this.value = null;
|
|
4243
|
+
/** Emits when the trailing icon is clicked. */
|
|
4079
4244
|
this.onTrailingIconClick = new EventEmitter(); // Keep void type
|
|
4245
|
+
/** Emits when the input receives focus. Emits focus detail including the current value. */
|
|
4080
4246
|
this.onFocus = new EventEmitter();
|
|
4247
|
+
/** Emits when the input loses focus. Emits blur detail including the current value. */
|
|
4081
4248
|
this.onBlur = new EventEmitter();
|
|
4249
|
+
/** Emits when a key is pressed in the input. Emits key press detail including the value and key pressed. */
|
|
4082
4250
|
this.onKeyPress = new EventEmitter();
|
|
4251
|
+
/** Emits when the input value changes. Emits change detail including the new value. */
|
|
4083
4252
|
this.onChange = new EventEmitter();
|
|
4084
4253
|
this.handleTrailingIconClick = false;
|
|
4085
4254
|
this.touched = false;
|
|
@@ -4404,6 +4573,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4404
4573
|
type: Output
|
|
4405
4574
|
}] } });
|
|
4406
4575
|
|
|
4576
|
+
/** Provide visual feedback to users while loading. */
|
|
4407
4577
|
class GoabLinearProgress {
|
|
4408
4578
|
constructor() {
|
|
4409
4579
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -4462,11 +4632,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4462
4632
|
type: Input
|
|
4463
4633
|
}] } });
|
|
4464
4634
|
|
|
4635
|
+
/** Wraps an anchor element to add icons or margins. */
|
|
4465
4636
|
class GoabLink {
|
|
4466
4637
|
constructor() {
|
|
4467
4638
|
this.cdr = inject(ChangeDetectorRef);
|
|
4468
4639
|
this.isReady = false;
|
|
4640
|
+
/** Sets the color theme. 'interactive' for blue, 'dark' for black, 'light' for white text. @default "interactive" */
|
|
4469
4641
|
this.color = "interactive";
|
|
4642
|
+
/** Sets the text size and corresponding icon size. @default "medium" */
|
|
4470
4643
|
this.size = "medium";
|
|
4471
4644
|
this.JSON = JSON;
|
|
4472
4645
|
}
|
|
@@ -4551,10 +4724,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4551
4724
|
type: Input
|
|
4552
4725
|
}] } });
|
|
4553
4726
|
|
|
4727
|
+
/** Communicate what stage the service is at, connect to Alberta.ca, and gather feedback on your service. */
|
|
4554
4728
|
class GoabMicrositeHeader {
|
|
4555
4729
|
constructor() {
|
|
4556
4730
|
this.cdr = inject(ChangeDetectorRef);
|
|
4557
4731
|
this.isReady = false;
|
|
4732
|
+
/** Emits when the feedback link is clicked. */
|
|
4558
4733
|
this.onFeedbackClick = new EventEmitter();
|
|
4559
4734
|
}
|
|
4560
4735
|
ngOnInit() {
|
|
@@ -4641,12 +4816,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4641
4816
|
type: Output
|
|
4642
4817
|
}] } });
|
|
4643
4818
|
|
|
4819
|
+
/** An overlay that appears in front of all other content, and requires a user to take an action before continuing. */
|
|
4644
4820
|
class GoabModal {
|
|
4645
4821
|
constructor() {
|
|
4646
4822
|
this.cdr = inject(ChangeDetectorRef);
|
|
4647
4823
|
this.isReady = false;
|
|
4648
4824
|
this.version = "2";
|
|
4825
|
+
/** Show close icon and allow clicking the background to close the modal. */
|
|
4649
4826
|
this.closable = false;
|
|
4827
|
+
/** Emits when the modal is closed. */
|
|
4650
4828
|
this.onClose = new EventEmitter();
|
|
4651
4829
|
}
|
|
4652
4830
|
ngOnInit() {
|
|
@@ -4761,8 +4939,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4761
4939
|
type: Output
|
|
4762
4940
|
}] } });
|
|
4763
4941
|
|
|
4942
|
+
/** A button with more than one action. */
|
|
4764
4943
|
class GoabMenuButton {
|
|
4765
4944
|
constructor() {
|
|
4945
|
+
/** Emits when a menu action is clicked. Emits the action detail. */
|
|
4766
4946
|
this.onAction = new EventEmitter();
|
|
4767
4947
|
}
|
|
4768
4948
|
_onAction(e) {
|
|
@@ -4830,6 +5010,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4830
5010
|
type: Output
|
|
4831
5011
|
}] } });
|
|
4832
5012
|
|
|
5013
|
+
/** Individual action item within a menu button. */
|
|
4833
5014
|
class GoabMenuAction {
|
|
4834
5015
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMenuAction, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4835
5016
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: GoabMenuAction, isStandalone: true, selector: "goab-menu-action", inputs: { text: "text", action: "action", icon: "icon", testId: "testId" }, ngImport: i0, template: `
|
|
@@ -4870,13 +5051,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4870
5051
|
type: Input
|
|
4871
5052
|
}] } });
|
|
4872
5053
|
|
|
5054
|
+
/** Display important page level information or notifications. */
|
|
4873
5055
|
class GoabNotification {
|
|
4874
5056
|
constructor() {
|
|
4875
5057
|
this.cdr = inject(ChangeDetectorRef);
|
|
4876
5058
|
this.isReady = false;
|
|
4877
5059
|
this.version = "2";
|
|
5060
|
+
/** Define the context and colour of the notification. @default "information" */
|
|
4878
5061
|
this.type = "information";
|
|
5062
|
+
/** Sets the visual prominence. 'high' for full background, 'low' for medium. @default "high" */
|
|
4879
5063
|
this.emphasis = "high";
|
|
5064
|
+
/** Emits when the notification is dismissed. */
|
|
4880
5065
|
this.onDismiss = new EventEmitter();
|
|
4881
5066
|
}
|
|
4882
5067
|
ngOnInit() {
|
|
@@ -4946,6 +5131,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4946
5131
|
type: Output
|
|
4947
5132
|
}] } });
|
|
4948
5133
|
|
|
5134
|
+
/** Full-width section with optional background. */
|
|
4949
5135
|
class GoabPageBlock {
|
|
4950
5136
|
constructor() {
|
|
4951
5137
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -4986,6 +5172,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4986
5172
|
type: Input
|
|
4987
5173
|
}] } });
|
|
4988
5174
|
|
|
5175
|
+
/** Container for paginated content views. */
|
|
4989
5176
|
class GoabPages extends GoabBaseComponent {
|
|
4990
5177
|
constructor() {
|
|
4991
5178
|
super(...arguments);
|
|
@@ -5038,14 +5225,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5038
5225
|
args: [{ transform: numberAttribute }]
|
|
5039
5226
|
}] } });
|
|
5040
5227
|
|
|
5228
|
+
/** Help users navigation between multiple pages or screens as part of a set. */
|
|
5041
5229
|
class GoabPagination extends GoabBaseComponent {
|
|
5042
5230
|
constructor() {
|
|
5043
5231
|
super(...arguments);
|
|
5044
5232
|
this.cdr = inject(ChangeDetectorRef);
|
|
5045
5233
|
this.isReady = false;
|
|
5046
5234
|
this.version = "2";
|
|
5235
|
+
/** Number of data items shown per page. @default 10 */
|
|
5047
5236
|
this.perPageCount = 10;
|
|
5237
|
+
/** Controls which nav controls are visible. @default "all" */
|
|
5048
5238
|
this.variant = "all";
|
|
5239
|
+
/** Emits when the page changes. Emits the new page number as part of the change detail. */
|
|
5049
5240
|
this.onChange = new EventEmitter();
|
|
5050
5241
|
}
|
|
5051
5242
|
ngOnInit() {
|
|
@@ -5117,12 +5308,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5117
5308
|
type: Output
|
|
5118
5309
|
}] } });
|
|
5119
5310
|
|
|
5311
|
+
/** A small overlay that opens on demand, used in other components. */
|
|
5120
5312
|
class GoabPopover extends GoabBaseComponent {
|
|
5121
5313
|
constructor() {
|
|
5122
5314
|
super(...arguments);
|
|
5123
5315
|
this.cdr = inject(ChangeDetectorRef);
|
|
5124
5316
|
this.isReady = false;
|
|
5317
|
+
/** Sets the maximum width of the popover container. @default "320px" */
|
|
5125
5318
|
this.maxWidth = "320px";
|
|
5319
|
+
/** Sets if the popover has padding. Use false when content needs to be flush with boundaries. @default true */
|
|
5126
5320
|
this.padded = true;
|
|
5127
5321
|
}
|
|
5128
5322
|
ngOnInit() {
|
|
@@ -5198,10 +5392,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5198
5392
|
args: [{ required: true }]
|
|
5199
5393
|
}] } });
|
|
5200
5394
|
|
|
5395
|
+
/** A panel that pushes the main page content aside on desktop, falling back to an overlay drawer on smaller screens. */
|
|
5201
5396
|
class GoabPushDrawer {
|
|
5202
5397
|
constructor() {
|
|
5203
5398
|
this.cdr = inject(ChangeDetectorRef);
|
|
5204
5399
|
this.version = "2";
|
|
5400
|
+
/** Emits when the push drawer closes. */
|
|
5205
5401
|
this.onClose = new EventEmitter();
|
|
5206
5402
|
this.isReady = false;
|
|
5207
5403
|
}
|
|
@@ -5287,13 +5483,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5287
5483
|
type: Output
|
|
5288
5484
|
}] } });
|
|
5289
5485
|
|
|
5486
|
+
/** Allow users to select one option from a set. */
|
|
5290
5487
|
class GoabRadioGroup extends GoabControlValueAccessor {
|
|
5291
5488
|
constructor() {
|
|
5292
5489
|
super(...arguments);
|
|
5293
5490
|
this.cdr = inject(ChangeDetectorRef);
|
|
5294
5491
|
this.isReady = false;
|
|
5295
5492
|
this.version = "2";
|
|
5493
|
+
/** Sets the size of all radio items. 'compact' reduces spacing for dense layouts (V2 only). @default "default" */
|
|
5296
5494
|
this.size = "default";
|
|
5495
|
+
/** Emits when the selected radio item changes. Emits the name, value, and event of the selected item. */
|
|
5297
5496
|
this.onChange = new EventEmitter();
|
|
5298
5497
|
}
|
|
5299
5498
|
ngOnInit() {
|
|
@@ -5393,6 +5592,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5393
5592
|
type: Output
|
|
5394
5593
|
}] } });
|
|
5395
5594
|
|
|
5595
|
+
/** Individual radio option within a group. */
|
|
5396
5596
|
class GoabRadioItem extends GoabBaseComponent {
|
|
5397
5597
|
constructor() {
|
|
5398
5598
|
super(...arguments);
|
|
@@ -5522,6 +5722,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5522
5722
|
args: [{ transform: booleanAttribute }]
|
|
5523
5723
|
}] } });
|
|
5524
5724
|
|
|
5725
|
+
/** A side navigation that helps the user navigate between pages. */
|
|
5525
5726
|
class GoabSideMenu {
|
|
5526
5727
|
constructor() {
|
|
5527
5728
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -5561,6 +5762,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5561
5762
|
type: Input
|
|
5562
5763
|
}] } });
|
|
5563
5764
|
|
|
5765
|
+
/** Group of related side menu items. */
|
|
5564
5766
|
class GoabSideMenuGroup extends GoabBaseComponent {
|
|
5565
5767
|
constructor() {
|
|
5566
5768
|
super(...arguments);
|
|
@@ -5622,6 +5824,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5622
5824
|
type: Input
|
|
5623
5825
|
}] } });
|
|
5624
5826
|
|
|
5827
|
+
/** Section heading in side menu. */
|
|
5625
5828
|
class GoabSideMenuHeading {
|
|
5626
5829
|
constructor() {
|
|
5627
5830
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -5680,11 +5883,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5680
5883
|
type: Input
|
|
5681
5884
|
}] } });
|
|
5682
5885
|
|
|
5886
|
+
/** Provide visual feedback to users while loading a content heavy page or page element. */
|
|
5683
5887
|
class GoabSkeleton extends GoabBaseComponent {
|
|
5684
5888
|
constructor() {
|
|
5685
5889
|
super(...arguments);
|
|
5686
5890
|
this.cdr = inject(ChangeDetectorRef);
|
|
5687
5891
|
this.isReady = false;
|
|
5892
|
+
/** Sets the maximum width. Currently only used in card skeleton type. @default "300px" */
|
|
5688
5893
|
this.maxWidth = "300px";
|
|
5689
5894
|
}
|
|
5690
5895
|
ngOnInit() {
|
|
@@ -5746,6 +5951,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5746
5951
|
args: [{ transform: numberAttribute }]
|
|
5747
5952
|
}] } });
|
|
5748
5953
|
|
|
5954
|
+
/** Negative area between the components and the interface. */
|
|
5749
5955
|
class GoabSpacer {
|
|
5750
5956
|
constructor() {
|
|
5751
5957
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -5794,6 +6000,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5794
6000
|
type: Input
|
|
5795
6001
|
}] } });
|
|
5796
6002
|
|
|
6003
|
+
/** Individual tab within a tabs component. */
|
|
5797
6004
|
class GoabTab {
|
|
5798
6005
|
constructor() {
|
|
5799
6006
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -5864,13 +6071,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5864
6071
|
type: Input
|
|
5865
6072
|
}] } });
|
|
5866
6073
|
|
|
6074
|
+
/** A set of structured data that is easy for a user to scan, examine, and compare. */
|
|
5867
6075
|
class GoabTable extends GoabBaseComponent {
|
|
5868
6076
|
constructor() {
|
|
5869
6077
|
super(...arguments);
|
|
5870
6078
|
this.cdr = inject(ChangeDetectorRef);
|
|
5871
6079
|
this.isReady = false;
|
|
5872
6080
|
this.version = "2";
|
|
6081
|
+
/** Emits when a table column is sorted. Emits the sort column and direction as GoabTableOnSortDetail. */
|
|
5873
6082
|
this.onSort = new EventEmitter();
|
|
6083
|
+
/** Emits when multi-column sorting changes. Emits an array of sort entries as GoabTableOnMultiSortDetail. */
|
|
5874
6084
|
this.onMultiSort = new EventEmitter();
|
|
5875
6085
|
}
|
|
5876
6086
|
ngOnInit() {
|
|
@@ -5955,10 +6165,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5955
6165
|
type: Output
|
|
5956
6166
|
}] } });
|
|
5957
6167
|
|
|
6168
|
+
/** A set of structured data that is easy for a user to scan, examine, and compare. */
|
|
5958
6169
|
class GoabTableSortHeader {
|
|
5959
6170
|
constructor() {
|
|
5960
6171
|
this.cdr = inject(ChangeDetectorRef);
|
|
5961
6172
|
this.isReady = false;
|
|
6173
|
+
/** Sets the sort direction indicator. @default "none" */
|
|
5962
6174
|
this.direction = "none";
|
|
5963
6175
|
}
|
|
5964
6176
|
ngOnInit() {
|
|
@@ -6006,11 +6218,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6006
6218
|
type: Input
|
|
6007
6219
|
}] } });
|
|
6008
6220
|
|
|
6221
|
+
/** Let users navigate between related sections of content, displaying one section at a time. */
|
|
6009
6222
|
class GoabTabs {
|
|
6010
6223
|
constructor() {
|
|
6011
6224
|
this.cdr = inject(ChangeDetectorRef);
|
|
6012
6225
|
this.isReady = false;
|
|
6013
6226
|
this.version = "2";
|
|
6227
|
+
/** Emits when the active tab changes. Emits the new tab index as GoabTabsOnChangeDetail. */
|
|
6014
6228
|
this.onChange = new EventEmitter();
|
|
6015
6229
|
}
|
|
6016
6230
|
ngOnInit() {
|
|
@@ -6077,11 +6291,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6077
6291
|
type: Output
|
|
6078
6292
|
}] } });
|
|
6079
6293
|
|
|
6294
|
+
/** A notification that appears at the bottom of the screen. */
|
|
6080
6295
|
class GoabTemporaryNotificationCtrl {
|
|
6081
6296
|
constructor() {
|
|
6082
6297
|
this.cdr = inject(ChangeDetectorRef);
|
|
6083
6298
|
this.isReady = false;
|
|
6299
|
+
/** Vertical position of the notification container. @default "bottom" */
|
|
6084
6300
|
this.verticalPosition = "bottom";
|
|
6301
|
+
/** Horizontal position of the notification container. @default "center" */
|
|
6085
6302
|
this.horizontalPosition = "center";
|
|
6086
6303
|
}
|
|
6087
6304
|
ngOnInit() {
|
|
@@ -6127,6 +6344,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6127
6344
|
type: Input
|
|
6128
6345
|
}] } });
|
|
6129
6346
|
|
|
6347
|
+
/** Provides consistent sizing, spacing, and colour to written content. */
|
|
6130
6348
|
class GoabText {
|
|
6131
6349
|
constructor() {
|
|
6132
6350
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -6211,16 +6429,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6211
6429
|
type: Input
|
|
6212
6430
|
}] } });
|
|
6213
6431
|
|
|
6432
|
+
/** A multi-line field where users can input and edit text. */
|
|
6214
6433
|
class GoabTextArea extends GoabControlValueAccessor {
|
|
6215
6434
|
constructor() {
|
|
6216
6435
|
super(...arguments);
|
|
6217
6436
|
this.cdr = inject(ChangeDetectorRef);
|
|
6437
|
+
/** Counting interval for characters or words, specifying whether to count every character or word. @default "" */
|
|
6218
6438
|
this.countBy = "";
|
|
6439
|
+
/** Maximum number of characters or words allowed. @default -1 */
|
|
6219
6440
|
this.maxCount = -1;
|
|
6441
|
+
/** Specifies the autocomplete attribute for the textarea input. @default "on" */
|
|
6220
6442
|
this.autoComplete = "on";
|
|
6443
|
+
/** Sets the size variant of the textarea. @default "default" */
|
|
6221
6444
|
this.size = "default";
|
|
6445
|
+
/** Emits when the textarea value changes. Emits the name and new value. */
|
|
6222
6446
|
this.onChange = new EventEmitter();
|
|
6447
|
+
/** Emits when a key is pressed in the textarea. Emits the name, value, and key. */
|
|
6223
6448
|
this.onKeyPress = new EventEmitter();
|
|
6449
|
+
/** Emits when the textarea loses focus. Emits the name and current value. */
|
|
6224
6450
|
this.onBlur = new EventEmitter();
|
|
6225
6451
|
this.isReady = false;
|
|
6226
6452
|
this.version = "2";
|
|
@@ -6368,6 +6594,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6368
6594
|
type: Output
|
|
6369
6595
|
}] } });
|
|
6370
6596
|
|
|
6597
|
+
/** A small popover that displays more information about an item. */
|
|
6371
6598
|
class GoabTooltip extends GoabBaseComponent {
|
|
6372
6599
|
constructor() {
|
|
6373
6600
|
super(...arguments);
|
|
@@ -6454,10 +6681,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6454
6681
|
type: Input
|
|
6455
6682
|
}] } });
|
|
6456
6683
|
|
|
6684
|
+
/** Side menu variant for worker applications. */
|
|
6457
6685
|
class GoabWorkSideMenu {
|
|
6458
6686
|
constructor() {
|
|
6459
6687
|
this.cdr = inject(ChangeDetectorRef);
|
|
6688
|
+
/** Emits when the side menu is toggled open or closed. */
|
|
6460
6689
|
this.onToggle = new EventEmitter();
|
|
6690
|
+
/** Emits when a navigation link is clicked. Emits the URL as a string. */
|
|
6461
6691
|
this.onNavigate = new EventEmitter();
|
|
6462
6692
|
this.isReady = false;
|
|
6463
6693
|
}
|
|
@@ -6560,6 +6790,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6560
6790
|
type: Output
|
|
6561
6791
|
}] } });
|
|
6562
6792
|
|
|
6793
|
+
/** Collapsible group of items within the work side menu. */
|
|
6563
6794
|
class GoabWorkSideMenuGroup {
|
|
6564
6795
|
constructor() {
|
|
6565
6796
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -6618,9 +6849,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6618
6849
|
type: Input
|
|
6619
6850
|
}] } });
|
|
6620
6851
|
|
|
6852
|
+
/** Individual menu item within the work side menu. */
|
|
6621
6853
|
class GoabWorkSideMenuItem {
|
|
6622
6854
|
constructor() {
|
|
6623
6855
|
this.cdr = inject(ChangeDetectorRef);
|
|
6856
|
+
/** Sets the visual style of the badge. Use "emergency" for urgent items, "success" for positive status. @default "normal" */
|
|
6624
6857
|
this.type = "normal";
|
|
6625
6858
|
this.isReady = false;
|
|
6626
6859
|
}
|
|
@@ -6705,9 +6938,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6705
6938
|
type: Input
|
|
6706
6939
|
}] } });
|
|
6707
6940
|
|
|
6941
|
+
/** Displays an individual notification item in the work-side notification panel. */
|
|
6708
6942
|
class GoabWorkSideNotificationItem {
|
|
6709
6943
|
constructor() {
|
|
6710
6944
|
this.cdr = inject(ChangeDetectorRef);
|
|
6945
|
+
/** Emits when the notification item is clicked. */
|
|
6711
6946
|
this.onClick = new EventEmitter();
|
|
6712
6947
|
this.isReady = false;
|
|
6713
6948
|
}
|
|
@@ -6776,10 +7011,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6776
7011
|
type: Output
|
|
6777
7012
|
}] } });
|
|
6778
7013
|
|
|
7014
|
+
/** Displays a panel of work-side notifications. */
|
|
6779
7015
|
class GoabWorkSideNotificationPanel {
|
|
6780
7016
|
constructor() {
|
|
6781
7017
|
this.cdr = inject(ChangeDetectorRef);
|
|
7018
|
+
/** Emits when the user clicks "Mark all as read". */
|
|
6782
7019
|
this.onMarkAllRead = new EventEmitter();
|
|
7020
|
+
/** Emits when the user clicks "View all". */
|
|
6783
7021
|
this.onViewAll = new EventEmitter();
|
|
6784
7022
|
this.isReady = false;
|
|
6785
7023
|
}
|