@abgov/angular-components 5.0.0-dev.3 → 5.0.0-dev.4
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,10 +3222,12 @@ 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";
|
|
@@ -3239,6 +3339,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3239
3339
|
args: [{ required: true }]
|
|
3240
3340
|
}] } });
|
|
3241
3341
|
|
|
3342
|
+
/** Individual step in a multi-step form. */
|
|
3242
3343
|
class GoabFormStep {
|
|
3243
3344
|
constructor() {
|
|
3244
3345
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -3275,11 +3376,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3275
3376
|
type: Input
|
|
3276
3377
|
}] } });
|
|
3277
3378
|
|
|
3379
|
+
/** Provides a visual representation of a form through a series of steps. */
|
|
3278
3380
|
class GoabFormStepper extends GoabBaseComponent {
|
|
3279
3381
|
constructor() {
|
|
3280
3382
|
super(...arguments);
|
|
3281
3383
|
this.cdr = inject(ChangeDetectorRef);
|
|
3384
|
+
/** The current step state value (1-based index). Leaving it blank (-1) will allow any step to be accessed. @default -1 */
|
|
3282
3385
|
this.step = -1;
|
|
3386
|
+
/** Emits when the form stepper step changes. Emits the new step as GoabFormStepperOnChangeDetail. */
|
|
3283
3387
|
this.onChange = new EventEmitter();
|
|
3284
3388
|
this.isReady = false;
|
|
3285
3389
|
}
|
|
@@ -3338,6 +3442,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3338
3442
|
type: Output
|
|
3339
3443
|
}] } });
|
|
3340
3444
|
|
|
3445
|
+
/** Arrange a number of components into a responsive grid pattern. */
|
|
3341
3446
|
class GoabGrid extends GoabBaseComponent {
|
|
3342
3447
|
constructor() {
|
|
3343
3448
|
super(...arguments);
|
|
@@ -3396,12 +3501,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3396
3501
|
type: Input
|
|
3397
3502
|
}] } });
|
|
3398
3503
|
|
|
3504
|
+
/** Provide structure to help users find their way around the service. */
|
|
3399
3505
|
class GoabAppHeader extends GoabBaseComponent {
|
|
3400
3506
|
constructor() {
|
|
3401
3507
|
super(...arguments);
|
|
3402
3508
|
this.cdr = inject(ChangeDetectorRef);
|
|
3403
3509
|
this.isReady = false;
|
|
3404
3510
|
this.version = "2";
|
|
3511
|
+
/** Emits when the menu button is clicked. Used for custom menu handling. */
|
|
3405
3512
|
this.onMenuClick = new EventEmitter();
|
|
3406
3513
|
}
|
|
3407
3514
|
ngOnInit() {
|
|
@@ -3467,6 +3574,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3467
3574
|
type: Output
|
|
3468
3575
|
}] } });
|
|
3469
3576
|
|
|
3577
|
+
/** Menu items within the app header. */
|
|
3470
3578
|
class GoabAppHeaderMenu extends GoabBaseComponent {
|
|
3471
3579
|
constructor() {
|
|
3472
3580
|
super(...arguments);
|
|
@@ -3520,6 +3628,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3520
3628
|
args: ["attr.slot"]
|
|
3521
3629
|
}] } });
|
|
3522
3630
|
|
|
3631
|
+
/** A visual band of text, including an image and a call to action. */
|
|
3523
3632
|
class GoabHeroBanner {
|
|
3524
3633
|
constructor() {
|
|
3525
3634
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -3595,6 +3704,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3595
3704
|
type: Input
|
|
3596
3705
|
}] } });
|
|
3597
3706
|
|
|
3707
|
+
/** A simple and universal graphic symbol representing an action, object, or concept to help guide the user. */
|
|
3598
3708
|
class GoabIcon extends GoabBaseComponent {
|
|
3599
3709
|
constructor() {
|
|
3600
3710
|
super(...arguments);
|
|
@@ -3674,13 +3784,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3674
3784
|
type: Input
|
|
3675
3785
|
}] } });
|
|
3676
3786
|
|
|
3787
|
+
/** A compact button with an icon and no text. */
|
|
3677
3788
|
class GoabIconButton extends GoabBaseComponent {
|
|
3678
3789
|
constructor() {
|
|
3679
3790
|
super(...arguments);
|
|
3680
3791
|
this.cdr = inject(ChangeDetectorRef);
|
|
3681
3792
|
this.isReady = false;
|
|
3682
3793
|
this.JSON = JSON;
|
|
3794
|
+
/** Sets the size of button. @default "medium" */
|
|
3683
3795
|
this.size = "medium";
|
|
3796
|
+
/** Emits when the icon button is clicked. */
|
|
3684
3797
|
this.onClick = new EventEmitter();
|
|
3685
3798
|
}
|
|
3686
3799
|
ngOnInit() {
|
|
@@ -3771,17 +3884,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
3771
3884
|
type: Output
|
|
3772
3885
|
}] } });
|
|
3773
3886
|
|
|
3887
|
+
/** A single-line field where users can input and edit text. */
|
|
3774
3888
|
class GoabInput extends GoabControlValueAccessor {
|
|
3775
3889
|
constructor() {
|
|
3776
3890
|
super(...arguments);
|
|
3777
3891
|
this.cdr = inject(ChangeDetectorRef);
|
|
3892
|
+
/** Sets the type of the input field. @default "text" */
|
|
3778
3893
|
this.type = "text";
|
|
3894
|
+
/** Sets the text alignment within the input field. @default "left" */
|
|
3779
3895
|
this.textAlign = "left";
|
|
3896
|
+
/** Sets the size of the input. 'compact' reduces height for dense layouts. @default "default" */
|
|
3780
3897
|
this.size = "default";
|
|
3898
|
+
/** Emits when the trailing icon is clicked. */
|
|
3781
3899
|
this.onTrailingIconClick = new EventEmitter();
|
|
3900
|
+
/** Emits when the input receives focus. Emits focus detail including the current value. */
|
|
3782
3901
|
this.onFocus = new EventEmitter();
|
|
3902
|
+
/** Emits when the input loses focus. Emits blur detail including the current value. */
|
|
3783
3903
|
this.onBlur = new EventEmitter();
|
|
3904
|
+
/** Emits when a key is pressed in the input. Emits key press detail including the value and key pressed. */
|
|
3784
3905
|
this.onKeyPress = new EventEmitter();
|
|
3906
|
+
/** Emits when the input value changes. Emits change detail including the new value. */
|
|
3785
3907
|
this.onChange = new EventEmitter();
|
|
3786
3908
|
this.version = "2";
|
|
3787
3909
|
this.isReady = false;
|
|
@@ -4069,17 +4191,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4069
4191
|
type: Output
|
|
4070
4192
|
}] } });
|
|
4071
4193
|
|
|
4194
|
+
/** A single-line field where users can input and edit numeric values. */
|
|
4072
4195
|
class GoabInputNumber {
|
|
4073
4196
|
constructor() {
|
|
4074
4197
|
this.cdr = inject(ChangeDetectorRef);
|
|
4075
4198
|
this.isReady = false;
|
|
4199
|
+
/** Sets the type of the input field. @default "number" */
|
|
4076
4200
|
this.type = "number";
|
|
4201
|
+
/** Sets the text alignment within the input field. @default "right" */
|
|
4077
4202
|
this.textAlign = "right"; // Default to right for numbers
|
|
4203
|
+
/** Bound to value. */
|
|
4078
4204
|
this.value = null;
|
|
4205
|
+
/** Emits when the trailing icon is clicked. */
|
|
4079
4206
|
this.onTrailingIconClick = new EventEmitter(); // Keep void type
|
|
4207
|
+
/** Emits when the input receives focus. Emits focus detail including the current value. */
|
|
4080
4208
|
this.onFocus = new EventEmitter();
|
|
4209
|
+
/** Emits when the input loses focus. Emits blur detail including the current value. */
|
|
4081
4210
|
this.onBlur = new EventEmitter();
|
|
4211
|
+
/** Emits when a key is pressed in the input. Emits key press detail including the value and key pressed. */
|
|
4082
4212
|
this.onKeyPress = new EventEmitter();
|
|
4213
|
+
/** Emits when the input value changes. Emits change detail including the new value. */
|
|
4083
4214
|
this.onChange = new EventEmitter();
|
|
4084
4215
|
this.handleTrailingIconClick = false;
|
|
4085
4216
|
this.touched = false;
|
|
@@ -4404,6 +4535,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4404
4535
|
type: Output
|
|
4405
4536
|
}] } });
|
|
4406
4537
|
|
|
4538
|
+
/** Provide visual feedback to users while loading. */
|
|
4407
4539
|
class GoabLinearProgress {
|
|
4408
4540
|
constructor() {
|
|
4409
4541
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -4462,11 +4594,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4462
4594
|
type: Input
|
|
4463
4595
|
}] } });
|
|
4464
4596
|
|
|
4597
|
+
/** Wraps an anchor element to add icons or margins. */
|
|
4465
4598
|
class GoabLink {
|
|
4466
4599
|
constructor() {
|
|
4467
4600
|
this.cdr = inject(ChangeDetectorRef);
|
|
4468
4601
|
this.isReady = false;
|
|
4602
|
+
/** Sets the color theme. 'interactive' for blue, 'dark' for black, 'light' for white text. @default "interactive" */
|
|
4469
4603
|
this.color = "interactive";
|
|
4604
|
+
/** Sets the text size and corresponding icon size. @default "medium" */
|
|
4470
4605
|
this.size = "medium";
|
|
4471
4606
|
this.JSON = JSON;
|
|
4472
4607
|
}
|
|
@@ -4551,10 +4686,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4551
4686
|
type: Input
|
|
4552
4687
|
}] } });
|
|
4553
4688
|
|
|
4689
|
+
/** Communicate what stage the service is at, connect to Alberta.ca, and gather feedback on your service. */
|
|
4554
4690
|
class GoabMicrositeHeader {
|
|
4555
4691
|
constructor() {
|
|
4556
4692
|
this.cdr = inject(ChangeDetectorRef);
|
|
4557
4693
|
this.isReady = false;
|
|
4694
|
+
/** Emits when the feedback link is clicked. */
|
|
4558
4695
|
this.onFeedbackClick = new EventEmitter();
|
|
4559
4696
|
}
|
|
4560
4697
|
ngOnInit() {
|
|
@@ -4641,12 +4778,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4641
4778
|
type: Output
|
|
4642
4779
|
}] } });
|
|
4643
4780
|
|
|
4781
|
+
/** An overlay that appears in front of all other content, and requires a user to take an action before continuing. */
|
|
4644
4782
|
class GoabModal {
|
|
4645
4783
|
constructor() {
|
|
4646
4784
|
this.cdr = inject(ChangeDetectorRef);
|
|
4647
4785
|
this.isReady = false;
|
|
4648
4786
|
this.version = "2";
|
|
4787
|
+
/** Show close icon and allow clicking the background to close the modal. */
|
|
4649
4788
|
this.closable = false;
|
|
4789
|
+
/** Emits when the modal is closed. */
|
|
4650
4790
|
this.onClose = new EventEmitter();
|
|
4651
4791
|
}
|
|
4652
4792
|
ngOnInit() {
|
|
@@ -4761,8 +4901,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4761
4901
|
type: Output
|
|
4762
4902
|
}] } });
|
|
4763
4903
|
|
|
4904
|
+
/** A button with more than one action. */
|
|
4764
4905
|
class GoabMenuButton {
|
|
4765
4906
|
constructor() {
|
|
4907
|
+
/** Emits when a menu action is clicked. Emits the action detail. */
|
|
4766
4908
|
this.onAction = new EventEmitter();
|
|
4767
4909
|
}
|
|
4768
4910
|
_onAction(e) {
|
|
@@ -4830,6 +4972,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4830
4972
|
type: Output
|
|
4831
4973
|
}] } });
|
|
4832
4974
|
|
|
4975
|
+
/** Individual action item within a menu button. */
|
|
4833
4976
|
class GoabMenuAction {
|
|
4834
4977
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMenuAction, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4835
4978
|
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 +5013,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4870
5013
|
type: Input
|
|
4871
5014
|
}] } });
|
|
4872
5015
|
|
|
5016
|
+
/** Display important page level information or notifications. */
|
|
4873
5017
|
class GoabNotification {
|
|
4874
5018
|
constructor() {
|
|
4875
5019
|
this.cdr = inject(ChangeDetectorRef);
|
|
4876
5020
|
this.isReady = false;
|
|
4877
5021
|
this.version = "2";
|
|
5022
|
+
/** Define the context and colour of the notification. @default "information" */
|
|
4878
5023
|
this.type = "information";
|
|
5024
|
+
/** Sets the visual prominence. 'high' for full background, 'low' for medium. @default "high" */
|
|
4879
5025
|
this.emphasis = "high";
|
|
5026
|
+
/** Emits when the notification is dismissed. */
|
|
4880
5027
|
this.onDismiss = new EventEmitter();
|
|
4881
5028
|
}
|
|
4882
5029
|
ngOnInit() {
|
|
@@ -4946,6 +5093,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4946
5093
|
type: Output
|
|
4947
5094
|
}] } });
|
|
4948
5095
|
|
|
5096
|
+
/** Full-width section with optional background. */
|
|
4949
5097
|
class GoabPageBlock {
|
|
4950
5098
|
constructor() {
|
|
4951
5099
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -4986,6 +5134,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
4986
5134
|
type: Input
|
|
4987
5135
|
}] } });
|
|
4988
5136
|
|
|
5137
|
+
/** Container for paginated content views. */
|
|
4989
5138
|
class GoabPages extends GoabBaseComponent {
|
|
4990
5139
|
constructor() {
|
|
4991
5140
|
super(...arguments);
|
|
@@ -5038,14 +5187,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5038
5187
|
args: [{ transform: numberAttribute }]
|
|
5039
5188
|
}] } });
|
|
5040
5189
|
|
|
5190
|
+
/** Help users navigation between multiple pages or screens as part of a set. */
|
|
5041
5191
|
class GoabPagination extends GoabBaseComponent {
|
|
5042
5192
|
constructor() {
|
|
5043
5193
|
super(...arguments);
|
|
5044
5194
|
this.cdr = inject(ChangeDetectorRef);
|
|
5045
5195
|
this.isReady = false;
|
|
5046
5196
|
this.version = "2";
|
|
5197
|
+
/** Number of data items shown per page. @default 10 */
|
|
5047
5198
|
this.perPageCount = 10;
|
|
5199
|
+
/** Controls which nav controls are visible. @default "all" */
|
|
5048
5200
|
this.variant = "all";
|
|
5201
|
+
/** Emits when the page changes. Emits the new page number as part of the change detail. */
|
|
5049
5202
|
this.onChange = new EventEmitter();
|
|
5050
5203
|
}
|
|
5051
5204
|
ngOnInit() {
|
|
@@ -5117,12 +5270,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5117
5270
|
type: Output
|
|
5118
5271
|
}] } });
|
|
5119
5272
|
|
|
5273
|
+
/** A small overlay that opens on demand, used in other components. */
|
|
5120
5274
|
class GoabPopover extends GoabBaseComponent {
|
|
5121
5275
|
constructor() {
|
|
5122
5276
|
super(...arguments);
|
|
5123
5277
|
this.cdr = inject(ChangeDetectorRef);
|
|
5124
5278
|
this.isReady = false;
|
|
5279
|
+
/** Sets the maximum width of the popover container. @default "320px" */
|
|
5125
5280
|
this.maxWidth = "320px";
|
|
5281
|
+
/** Sets if the popover has padding. Use false when content needs to be flush with boundaries. @default true */
|
|
5126
5282
|
this.padded = true;
|
|
5127
5283
|
}
|
|
5128
5284
|
ngOnInit() {
|
|
@@ -5198,10 +5354,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5198
5354
|
args: [{ required: true }]
|
|
5199
5355
|
}] } });
|
|
5200
5356
|
|
|
5357
|
+
/** A panel that pushes the main page content aside on desktop, falling back to an overlay drawer on smaller screens. */
|
|
5201
5358
|
class GoabPushDrawer {
|
|
5202
5359
|
constructor() {
|
|
5203
5360
|
this.cdr = inject(ChangeDetectorRef);
|
|
5204
5361
|
this.version = "2";
|
|
5362
|
+
/** Emits when the push drawer closes. */
|
|
5205
5363
|
this.onClose = new EventEmitter();
|
|
5206
5364
|
this.isReady = false;
|
|
5207
5365
|
}
|
|
@@ -5287,13 +5445,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5287
5445
|
type: Output
|
|
5288
5446
|
}] } });
|
|
5289
5447
|
|
|
5448
|
+
/** Allow users to select one option from a set. */
|
|
5290
5449
|
class GoabRadioGroup extends GoabControlValueAccessor {
|
|
5291
5450
|
constructor() {
|
|
5292
5451
|
super(...arguments);
|
|
5293
5452
|
this.cdr = inject(ChangeDetectorRef);
|
|
5294
5453
|
this.isReady = false;
|
|
5295
5454
|
this.version = "2";
|
|
5455
|
+
/** Sets the size of all radio items. 'compact' reduces spacing for dense layouts (V2 only). @default "default" */
|
|
5296
5456
|
this.size = "default";
|
|
5457
|
+
/** Emits when the selected radio item changes. Emits the name, value, and event of the selected item. */
|
|
5297
5458
|
this.onChange = new EventEmitter();
|
|
5298
5459
|
}
|
|
5299
5460
|
ngOnInit() {
|
|
@@ -5393,6 +5554,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5393
5554
|
type: Output
|
|
5394
5555
|
}] } });
|
|
5395
5556
|
|
|
5557
|
+
/** Individual radio option within a group. */
|
|
5396
5558
|
class GoabRadioItem extends GoabBaseComponent {
|
|
5397
5559
|
constructor() {
|
|
5398
5560
|
super(...arguments);
|
|
@@ -5522,6 +5684,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5522
5684
|
args: [{ transform: booleanAttribute }]
|
|
5523
5685
|
}] } });
|
|
5524
5686
|
|
|
5687
|
+
/** A side navigation that helps the user navigate between pages. */
|
|
5525
5688
|
class GoabSideMenu {
|
|
5526
5689
|
constructor() {
|
|
5527
5690
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -5561,6 +5724,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5561
5724
|
type: Input
|
|
5562
5725
|
}] } });
|
|
5563
5726
|
|
|
5727
|
+
/** Group of related side menu items. */
|
|
5564
5728
|
class GoabSideMenuGroup extends GoabBaseComponent {
|
|
5565
5729
|
constructor() {
|
|
5566
5730
|
super(...arguments);
|
|
@@ -5622,6 +5786,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5622
5786
|
type: Input
|
|
5623
5787
|
}] } });
|
|
5624
5788
|
|
|
5789
|
+
/** Section heading in side menu. */
|
|
5625
5790
|
class GoabSideMenuHeading {
|
|
5626
5791
|
constructor() {
|
|
5627
5792
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -5680,11 +5845,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5680
5845
|
type: Input
|
|
5681
5846
|
}] } });
|
|
5682
5847
|
|
|
5848
|
+
/** Provide visual feedback to users while loading a content heavy page or page element. */
|
|
5683
5849
|
class GoabSkeleton extends GoabBaseComponent {
|
|
5684
5850
|
constructor() {
|
|
5685
5851
|
super(...arguments);
|
|
5686
5852
|
this.cdr = inject(ChangeDetectorRef);
|
|
5687
5853
|
this.isReady = false;
|
|
5854
|
+
/** Sets the maximum width. Currently only used in card skeleton type. @default "300px" */
|
|
5688
5855
|
this.maxWidth = "300px";
|
|
5689
5856
|
}
|
|
5690
5857
|
ngOnInit() {
|
|
@@ -5746,6 +5913,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5746
5913
|
args: [{ transform: numberAttribute }]
|
|
5747
5914
|
}] } });
|
|
5748
5915
|
|
|
5916
|
+
/** Negative area between the components and the interface. */
|
|
5749
5917
|
class GoabSpacer {
|
|
5750
5918
|
constructor() {
|
|
5751
5919
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -5794,6 +5962,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5794
5962
|
type: Input
|
|
5795
5963
|
}] } });
|
|
5796
5964
|
|
|
5965
|
+
/** Individual tab within a tabs component. */
|
|
5797
5966
|
class GoabTab {
|
|
5798
5967
|
constructor() {
|
|
5799
5968
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -5864,13 +6033,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5864
6033
|
type: Input
|
|
5865
6034
|
}] } });
|
|
5866
6035
|
|
|
6036
|
+
/** A set of structured data that is easy for a user to scan, examine, and compare. */
|
|
5867
6037
|
class GoabTable extends GoabBaseComponent {
|
|
5868
6038
|
constructor() {
|
|
5869
6039
|
super(...arguments);
|
|
5870
6040
|
this.cdr = inject(ChangeDetectorRef);
|
|
5871
6041
|
this.isReady = false;
|
|
5872
6042
|
this.version = "2";
|
|
6043
|
+
/** Emits when a table column is sorted. Emits the sort column and direction as GoabTableOnSortDetail. */
|
|
5873
6044
|
this.onSort = new EventEmitter();
|
|
6045
|
+
/** Emits when multi-column sorting changes. Emits an array of sort entries as GoabTableOnMultiSortDetail. */
|
|
5874
6046
|
this.onMultiSort = new EventEmitter();
|
|
5875
6047
|
}
|
|
5876
6048
|
ngOnInit() {
|
|
@@ -5955,10 +6127,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
5955
6127
|
type: Output
|
|
5956
6128
|
}] } });
|
|
5957
6129
|
|
|
6130
|
+
/** A set of structured data that is easy for a user to scan, examine, and compare. */
|
|
5958
6131
|
class GoabTableSortHeader {
|
|
5959
6132
|
constructor() {
|
|
5960
6133
|
this.cdr = inject(ChangeDetectorRef);
|
|
5961
6134
|
this.isReady = false;
|
|
6135
|
+
/** Sets the sort direction indicator. @default "none" */
|
|
5962
6136
|
this.direction = "none";
|
|
5963
6137
|
}
|
|
5964
6138
|
ngOnInit() {
|
|
@@ -6006,11 +6180,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6006
6180
|
type: Input
|
|
6007
6181
|
}] } });
|
|
6008
6182
|
|
|
6183
|
+
/** Let users navigate between related sections of content, displaying one section at a time. */
|
|
6009
6184
|
class GoabTabs {
|
|
6010
6185
|
constructor() {
|
|
6011
6186
|
this.cdr = inject(ChangeDetectorRef);
|
|
6012
6187
|
this.isReady = false;
|
|
6013
6188
|
this.version = "2";
|
|
6189
|
+
/** Emits when the active tab changes. Emits the new tab index as GoabTabsOnChangeDetail. */
|
|
6014
6190
|
this.onChange = new EventEmitter();
|
|
6015
6191
|
}
|
|
6016
6192
|
ngOnInit() {
|
|
@@ -6077,11 +6253,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6077
6253
|
type: Output
|
|
6078
6254
|
}] } });
|
|
6079
6255
|
|
|
6256
|
+
/** A notification that appears at the bottom of the screen. */
|
|
6080
6257
|
class GoabTemporaryNotificationCtrl {
|
|
6081
6258
|
constructor() {
|
|
6082
6259
|
this.cdr = inject(ChangeDetectorRef);
|
|
6083
6260
|
this.isReady = false;
|
|
6261
|
+
/** Vertical position of the notification container. @default "bottom" */
|
|
6084
6262
|
this.verticalPosition = "bottom";
|
|
6263
|
+
/** Horizontal position of the notification container. @default "center" */
|
|
6085
6264
|
this.horizontalPosition = "center";
|
|
6086
6265
|
}
|
|
6087
6266
|
ngOnInit() {
|
|
@@ -6127,6 +6306,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6127
6306
|
type: Input
|
|
6128
6307
|
}] } });
|
|
6129
6308
|
|
|
6309
|
+
/** Provides consistent sizing, spacing, and colour to written content. */
|
|
6130
6310
|
class GoabText {
|
|
6131
6311
|
constructor() {
|
|
6132
6312
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -6211,16 +6391,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6211
6391
|
type: Input
|
|
6212
6392
|
}] } });
|
|
6213
6393
|
|
|
6394
|
+
/** A multi-line field where users can input and edit text. */
|
|
6214
6395
|
class GoabTextArea extends GoabControlValueAccessor {
|
|
6215
6396
|
constructor() {
|
|
6216
6397
|
super(...arguments);
|
|
6217
6398
|
this.cdr = inject(ChangeDetectorRef);
|
|
6399
|
+
/** Counting interval for characters or words, specifying whether to count every character or word. @default "" */
|
|
6218
6400
|
this.countBy = "";
|
|
6401
|
+
/** Maximum number of characters or words allowed. @default -1 */
|
|
6219
6402
|
this.maxCount = -1;
|
|
6403
|
+
/** Specifies the autocomplete attribute for the textarea input. @default "on" */
|
|
6220
6404
|
this.autoComplete = "on";
|
|
6405
|
+
/** Sets the size variant of the textarea. @default "default" */
|
|
6221
6406
|
this.size = "default";
|
|
6407
|
+
/** Emits when the textarea value changes. Emits the name and new value. */
|
|
6222
6408
|
this.onChange = new EventEmitter();
|
|
6409
|
+
/** Emits when a key is pressed in the textarea. Emits the name, value, and key. */
|
|
6223
6410
|
this.onKeyPress = new EventEmitter();
|
|
6411
|
+
/** Emits when the textarea loses focus. Emits the name and current value. */
|
|
6224
6412
|
this.onBlur = new EventEmitter();
|
|
6225
6413
|
this.isReady = false;
|
|
6226
6414
|
this.version = "2";
|
|
@@ -6368,6 +6556,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6368
6556
|
type: Output
|
|
6369
6557
|
}] } });
|
|
6370
6558
|
|
|
6559
|
+
/** A small popover that displays more information about an item. */
|
|
6371
6560
|
class GoabTooltip extends GoabBaseComponent {
|
|
6372
6561
|
constructor() {
|
|
6373
6562
|
super(...arguments);
|
|
@@ -6454,10 +6643,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6454
6643
|
type: Input
|
|
6455
6644
|
}] } });
|
|
6456
6645
|
|
|
6646
|
+
/** Side menu variant for worker applications. */
|
|
6457
6647
|
class GoabWorkSideMenu {
|
|
6458
6648
|
constructor() {
|
|
6459
6649
|
this.cdr = inject(ChangeDetectorRef);
|
|
6650
|
+
/** Emits when the side menu is toggled open or closed. */
|
|
6460
6651
|
this.onToggle = new EventEmitter();
|
|
6652
|
+
/** Emits when a navigation link is clicked. Emits the URL as a string. */
|
|
6461
6653
|
this.onNavigate = new EventEmitter();
|
|
6462
6654
|
this.isReady = false;
|
|
6463
6655
|
}
|
|
@@ -6560,6 +6752,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6560
6752
|
type: Output
|
|
6561
6753
|
}] } });
|
|
6562
6754
|
|
|
6755
|
+
/** Collapsible group of items within the work side menu. */
|
|
6563
6756
|
class GoabWorkSideMenuGroup {
|
|
6564
6757
|
constructor() {
|
|
6565
6758
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -6618,9 +6811,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6618
6811
|
type: Input
|
|
6619
6812
|
}] } });
|
|
6620
6813
|
|
|
6814
|
+
/** Individual menu item within the work side menu. */
|
|
6621
6815
|
class GoabWorkSideMenuItem {
|
|
6622
6816
|
constructor() {
|
|
6623
6817
|
this.cdr = inject(ChangeDetectorRef);
|
|
6818
|
+
/** Sets the visual style of the badge. Use "emergency" for urgent items, "success" for positive status. @default "normal" */
|
|
6624
6819
|
this.type = "normal";
|
|
6625
6820
|
this.isReady = false;
|
|
6626
6821
|
}
|
|
@@ -6705,9 +6900,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6705
6900
|
type: Input
|
|
6706
6901
|
}] } });
|
|
6707
6902
|
|
|
6903
|
+
/** Displays an individual notification item in the work-side notification panel. */
|
|
6708
6904
|
class GoabWorkSideNotificationItem {
|
|
6709
6905
|
constructor() {
|
|
6710
6906
|
this.cdr = inject(ChangeDetectorRef);
|
|
6907
|
+
/** Emits when the notification item is clicked. */
|
|
6711
6908
|
this.onClick = new EventEmitter();
|
|
6712
6909
|
this.isReady = false;
|
|
6713
6910
|
}
|
|
@@ -6776,10 +6973,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
6776
6973
|
type: Output
|
|
6777
6974
|
}] } });
|
|
6778
6975
|
|
|
6976
|
+
/** Displays a panel of work-side notifications. */
|
|
6779
6977
|
class GoabWorkSideNotificationPanel {
|
|
6780
6978
|
constructor() {
|
|
6781
6979
|
this.cdr = inject(ChangeDetectorRef);
|
|
6980
|
+
/** Emits when the user clicks "Mark all as read". */
|
|
6782
6981
|
this.onMarkAllRead = new EventEmitter();
|
|
6982
|
+
/** Emits when the user clicks "View all". */
|
|
6783
6983
|
this.onViewAll = new EventEmitter();
|
|
6784
6984
|
this.isReady = false;
|
|
6785
6985
|
}
|