@abgov/angular-components 5.0.0-dev.5 → 5.0.0-dev.6

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]="helpText"
3150
- [attr.error]="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]="helpText"
3179
- [attr.error]="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
- * This component is used to define the slot for the form item component.
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);
@@ -3674,13 +3812,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
3674
3812
  type: Input
3675
3813
  }] } });
3676
3814
 
3815
+ /** A compact button with an icon and no text. */
3677
3816
  class GoabIconButton extends GoabBaseComponent {
3678
3817
  constructor() {
3679
3818
  super(...arguments);
3680
3819
  this.cdr = inject(ChangeDetectorRef);
3681
3820
  this.isReady = false;
3682
3821
  this.JSON = JSON;
3822
+ /** Sets the size of button. @default "medium" */
3683
3823
  this.size = "medium";
3824
+ /** Sets the icon theme. "outline" for stroked icons, "filled" for solid icons. @default "outline" */
3825
+ this.theme = "outline";
3826
+ /** Emits when the icon button is clicked. */
3684
3827
  this.onClick = new EventEmitter();
3685
3828
  }
3686
3829
  ngOnInit() {
@@ -3693,12 +3836,13 @@ class GoabIconButton extends GoabBaseComponent {
3693
3836
  this.onClick.emit();
3694
3837
  }
3695
3838
  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: `
3839
+ 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
3840
  @if (isReady) {
3698
3841
  <goa-icon-button
3699
3842
  [attr.icon]="icon"
3700
3843
  [disabled]="disabled"
3701
3844
  [attr.size]="size"
3845
+ [attr.theme]="theme"
3702
3846
  [attr.variant]="variant"
3703
3847
  [title]="title"
3704
3848
  [attr.arialabel]="ariaLabel"
@@ -3728,6 +3872,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
3728
3872
  [attr.icon]="icon"
3729
3873
  [disabled]="disabled"
3730
3874
  [attr.size]="size"
3875
+ [attr.theme]="theme"
3731
3876
  [attr.variant]="variant"
3732
3877
  [title]="title"
3733
3878
  [attr.arialabel]="ariaLabel"
@@ -3754,6 +3899,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
3754
3899
  type: Input
3755
3900
  }], variant: [{
3756
3901
  type: Input
3902
+ }], theme: [{
3903
+ type: Input
3757
3904
  }], title: [{
3758
3905
  type: Input
3759
3906
  }], disabled: [{
@@ -3771,17 +3918,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
3771
3918
  type: Output
3772
3919
  }] } });
3773
3920
 
3921
+ /** A single-line field where users can input and edit text. */
3774
3922
  class GoabInput extends GoabControlValueAccessor {
3775
3923
  constructor() {
3776
3924
  super(...arguments);
3777
3925
  this.cdr = inject(ChangeDetectorRef);
3926
+ /** Sets the type of the input field. @default "text" */
3778
3927
  this.type = "text";
3928
+ /** Sets the text alignment within the input field. @default "left" */
3779
3929
  this.textAlign = "left";
3930
+ /** Sets the size of the input. 'compact' reduces height for dense layouts. @default "default" */
3780
3931
  this.size = "default";
3932
+ /** Emits when the trailing icon is clicked. */
3781
3933
  this.onTrailingIconClick = new EventEmitter();
3934
+ /** Emits when the input receives focus. Emits focus detail including the current value. */
3782
3935
  this.onFocus = new EventEmitter();
3936
+ /** Emits when the input loses focus. Emits blur detail including the current value. */
3783
3937
  this.onBlur = new EventEmitter();
3938
+ /** Emits when a key is pressed in the input. Emits key press detail including the value and key pressed. */
3784
3939
  this.onKeyPress = new EventEmitter();
3940
+ /** Emits when the input value changes. Emits change detail including the new value. */
3785
3941
  this.onChange = new EventEmitter();
3786
3942
  this.version = "2";
3787
3943
  this.isReady = false;
@@ -4069,17 +4225,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
4069
4225
  type: Output
4070
4226
  }] } });
4071
4227
 
4228
+ /** A single-line field where users can input and edit numeric values. */
4072
4229
  class GoabInputNumber {
4073
4230
  constructor() {
4074
4231
  this.cdr = inject(ChangeDetectorRef);
4075
4232
  this.isReady = false;
4233
+ /** Sets the type of the input field. @default "number" */
4076
4234
  this.type = "number";
4235
+ /** Sets the text alignment within the input field. @default "right" */
4077
4236
  this.textAlign = "right"; // Default to right for numbers
4237
+ /** Bound to value. */
4078
4238
  this.value = null;
4239
+ /** Emits when the trailing icon is clicked. */
4079
4240
  this.onTrailingIconClick = new EventEmitter(); // Keep void type
4241
+ /** Emits when the input receives focus. Emits focus detail including the current value. */
4080
4242
  this.onFocus = new EventEmitter();
4243
+ /** Emits when the input loses focus. Emits blur detail including the current value. */
4081
4244
  this.onBlur = new EventEmitter();
4245
+ /** Emits when a key is pressed in the input. Emits key press detail including the value and key pressed. */
4082
4246
  this.onKeyPress = new EventEmitter();
4247
+ /** Emits when the input value changes. Emits change detail including the new value. */
4083
4248
  this.onChange = new EventEmitter();
4084
4249
  this.handleTrailingIconClick = false;
4085
4250
  this.touched = false;
@@ -4404,6 +4569,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
4404
4569
  type: Output
4405
4570
  }] } });
4406
4571
 
4572
+ /** Provide visual feedback to users while loading. */
4407
4573
  class GoabLinearProgress {
4408
4574
  constructor() {
4409
4575
  this.cdr = inject(ChangeDetectorRef);
@@ -4462,11 +4628,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
4462
4628
  type: Input
4463
4629
  }] } });
4464
4630
 
4631
+ /** Wraps an anchor element to add icons or margins. */
4465
4632
  class GoabLink {
4466
4633
  constructor() {
4467
4634
  this.cdr = inject(ChangeDetectorRef);
4468
4635
  this.isReady = false;
4636
+ /** Sets the color theme. 'interactive' for blue, 'dark' for black, 'light' for white text. @default "interactive" */
4469
4637
  this.color = "interactive";
4638
+ /** Sets the text size and corresponding icon size. @default "medium" */
4470
4639
  this.size = "medium";
4471
4640
  this.JSON = JSON;
4472
4641
  }
@@ -4551,10 +4720,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
4551
4720
  type: Input
4552
4721
  }] } });
4553
4722
 
4723
+ /** Communicate what stage the service is at, connect to Alberta.ca, and gather feedback on your service. */
4554
4724
  class GoabMicrositeHeader {
4555
4725
  constructor() {
4556
4726
  this.cdr = inject(ChangeDetectorRef);
4557
4727
  this.isReady = false;
4728
+ /** Emits when the feedback link is clicked. */
4558
4729
  this.onFeedbackClick = new EventEmitter();
4559
4730
  }
4560
4731
  ngOnInit() {
@@ -4641,12 +4812,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
4641
4812
  type: Output
4642
4813
  }] } });
4643
4814
 
4815
+ /** An overlay that appears in front of all other content, and requires a user to take an action before continuing. */
4644
4816
  class GoabModal {
4645
4817
  constructor() {
4646
4818
  this.cdr = inject(ChangeDetectorRef);
4647
4819
  this.isReady = false;
4648
4820
  this.version = "2";
4821
+ /** Show close icon and allow clicking the background to close the modal. */
4649
4822
  this.closable = false;
4823
+ /** Emits when the modal is closed. */
4650
4824
  this.onClose = new EventEmitter();
4651
4825
  }
4652
4826
  ngOnInit() {
@@ -4761,8 +4935,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
4761
4935
  type: Output
4762
4936
  }] } });
4763
4937
 
4938
+ /** A button with more than one action. */
4764
4939
  class GoabMenuButton {
4765
4940
  constructor() {
4941
+ /** Emits when a menu action is clicked. Emits the action detail. */
4766
4942
  this.onAction = new EventEmitter();
4767
4943
  }
4768
4944
  _onAction(e) {
@@ -4830,6 +5006,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
4830
5006
  type: Output
4831
5007
  }] } });
4832
5008
 
5009
+ /** Individual action item within a menu button. */
4833
5010
  class GoabMenuAction {
4834
5011
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabMenuAction, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4835
5012
  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 +5047,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
4870
5047
  type: Input
4871
5048
  }] } });
4872
5049
 
5050
+ /** Display important page level information or notifications. */
4873
5051
  class GoabNotification {
4874
5052
  constructor() {
4875
5053
  this.cdr = inject(ChangeDetectorRef);
4876
5054
  this.isReady = false;
4877
5055
  this.version = "2";
5056
+ /** Define the context and colour of the notification. @default "information" */
4878
5057
  this.type = "information";
5058
+ /** Sets the visual prominence. 'high' for full background, 'low' for medium. @default "high" */
4879
5059
  this.emphasis = "high";
5060
+ /** Emits when the notification is dismissed. */
4880
5061
  this.onDismiss = new EventEmitter();
4881
5062
  }
4882
5063
  ngOnInit() {
@@ -4946,6 +5127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
4946
5127
  type: Output
4947
5128
  }] } });
4948
5129
 
5130
+ /** Full-width section with optional background. */
4949
5131
  class GoabPageBlock {
4950
5132
  constructor() {
4951
5133
  this.cdr = inject(ChangeDetectorRef);
@@ -4986,6 +5168,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
4986
5168
  type: Input
4987
5169
  }] } });
4988
5170
 
5171
+ /** Container for paginated content views. */
4989
5172
  class GoabPages extends GoabBaseComponent {
4990
5173
  constructor() {
4991
5174
  super(...arguments);
@@ -5038,14 +5221,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5038
5221
  args: [{ transform: numberAttribute }]
5039
5222
  }] } });
5040
5223
 
5224
+ /** Help users navigation between multiple pages or screens as part of a set. */
5041
5225
  class GoabPagination extends GoabBaseComponent {
5042
5226
  constructor() {
5043
5227
  super(...arguments);
5044
5228
  this.cdr = inject(ChangeDetectorRef);
5045
5229
  this.isReady = false;
5046
5230
  this.version = "2";
5231
+ /** Number of data items shown per page. @default 10 */
5047
5232
  this.perPageCount = 10;
5233
+ /** Controls which nav controls are visible. @default "all" */
5048
5234
  this.variant = "all";
5235
+ /** Emits when the page changes. Emits the new page number as part of the change detail. */
5049
5236
  this.onChange = new EventEmitter();
5050
5237
  }
5051
5238
  ngOnInit() {
@@ -5117,12 +5304,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5117
5304
  type: Output
5118
5305
  }] } });
5119
5306
 
5307
+ /** A small overlay that opens on demand, used in other components. */
5120
5308
  class GoabPopover extends GoabBaseComponent {
5121
5309
  constructor() {
5122
5310
  super(...arguments);
5123
5311
  this.cdr = inject(ChangeDetectorRef);
5124
5312
  this.isReady = false;
5313
+ /** Sets the maximum width of the popover container. @default "320px" */
5125
5314
  this.maxWidth = "320px";
5315
+ /** Sets if the popover has padding. Use false when content needs to be flush with boundaries. @default true */
5126
5316
  this.padded = true;
5127
5317
  }
5128
5318
  ngOnInit() {
@@ -5198,10 +5388,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5198
5388
  args: [{ required: true }]
5199
5389
  }] } });
5200
5390
 
5391
+ /** A panel that pushes the main page content aside on desktop, falling back to an overlay drawer on smaller screens. */
5201
5392
  class GoabPushDrawer {
5202
5393
  constructor() {
5203
5394
  this.cdr = inject(ChangeDetectorRef);
5204
5395
  this.version = "2";
5396
+ /** Emits when the push drawer closes. */
5205
5397
  this.onClose = new EventEmitter();
5206
5398
  this.isReady = false;
5207
5399
  }
@@ -5287,13 +5479,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5287
5479
  type: Output
5288
5480
  }] } });
5289
5481
 
5482
+ /** Allow users to select one option from a set. */
5290
5483
  class GoabRadioGroup extends GoabControlValueAccessor {
5291
5484
  constructor() {
5292
5485
  super(...arguments);
5293
5486
  this.cdr = inject(ChangeDetectorRef);
5294
5487
  this.isReady = false;
5295
5488
  this.version = "2";
5489
+ /** Sets the size of all radio items. 'compact' reduces spacing for dense layouts (V2 only). @default "default" */
5296
5490
  this.size = "default";
5491
+ /** Emits when the selected radio item changes. Emits the name, value, and event of the selected item. */
5297
5492
  this.onChange = new EventEmitter();
5298
5493
  }
5299
5494
  ngOnInit() {
@@ -5393,6 +5588,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5393
5588
  type: Output
5394
5589
  }] } });
5395
5590
 
5591
+ /** Individual radio option within a group. */
5396
5592
  class GoabRadioItem extends GoabBaseComponent {
5397
5593
  constructor() {
5398
5594
  super(...arguments);
@@ -5522,6 +5718,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5522
5718
  args: [{ transform: booleanAttribute }]
5523
5719
  }] } });
5524
5720
 
5721
+ /** A side navigation that helps the user navigate between pages. */
5525
5722
  class GoabSideMenu {
5526
5723
  constructor() {
5527
5724
  this.cdr = inject(ChangeDetectorRef);
@@ -5561,6 +5758,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5561
5758
  type: Input
5562
5759
  }] } });
5563
5760
 
5761
+ /** Group of related side menu items. */
5564
5762
  class GoabSideMenuGroup extends GoabBaseComponent {
5565
5763
  constructor() {
5566
5764
  super(...arguments);
@@ -5622,6 +5820,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5622
5820
  type: Input
5623
5821
  }] } });
5624
5822
 
5823
+ /** Section heading in side menu. */
5625
5824
  class GoabSideMenuHeading {
5626
5825
  constructor() {
5627
5826
  this.cdr = inject(ChangeDetectorRef);
@@ -5680,11 +5879,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5680
5879
  type: Input
5681
5880
  }] } });
5682
5881
 
5882
+ /** Provide visual feedback to users while loading a content heavy page or page element. */
5683
5883
  class GoabSkeleton extends GoabBaseComponent {
5684
5884
  constructor() {
5685
5885
  super(...arguments);
5686
5886
  this.cdr = inject(ChangeDetectorRef);
5687
5887
  this.isReady = false;
5888
+ /** Sets the maximum width. Currently only used in card skeleton type. @default "300px" */
5688
5889
  this.maxWidth = "300px";
5689
5890
  }
5690
5891
  ngOnInit() {
@@ -5746,6 +5947,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5746
5947
  args: [{ transform: numberAttribute }]
5747
5948
  }] } });
5748
5949
 
5950
+ /** Negative area between the components and the interface. */
5749
5951
  class GoabSpacer {
5750
5952
  constructor() {
5751
5953
  this.cdr = inject(ChangeDetectorRef);
@@ -5794,6 +5996,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5794
5996
  type: Input
5795
5997
  }] } });
5796
5998
 
5999
+ /** Individual tab within a tabs component. */
5797
6000
  class GoabTab {
5798
6001
  constructor() {
5799
6002
  this.cdr = inject(ChangeDetectorRef);
@@ -5864,13 +6067,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5864
6067
  type: Input
5865
6068
  }] } });
5866
6069
 
6070
+ /** A set of structured data that is easy for a user to scan, examine, and compare. */
5867
6071
  class GoabTable extends GoabBaseComponent {
5868
6072
  constructor() {
5869
6073
  super(...arguments);
5870
6074
  this.cdr = inject(ChangeDetectorRef);
5871
6075
  this.isReady = false;
5872
6076
  this.version = "2";
6077
+ /** Emits when a table column is sorted. Emits the sort column and direction as GoabTableOnSortDetail. */
5873
6078
  this.onSort = new EventEmitter();
6079
+ /** Emits when multi-column sorting changes. Emits an array of sort entries as GoabTableOnMultiSortDetail. */
5874
6080
  this.onMultiSort = new EventEmitter();
5875
6081
  }
5876
6082
  ngOnInit() {
@@ -5955,10 +6161,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
5955
6161
  type: Output
5956
6162
  }] } });
5957
6163
 
6164
+ /** A set of structured data that is easy for a user to scan, examine, and compare. */
5958
6165
  class GoabTableSortHeader {
5959
6166
  constructor() {
5960
6167
  this.cdr = inject(ChangeDetectorRef);
5961
6168
  this.isReady = false;
6169
+ /** Sets the sort direction indicator. @default "none" */
5962
6170
  this.direction = "none";
5963
6171
  }
5964
6172
  ngOnInit() {
@@ -6006,11 +6214,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6006
6214
  type: Input
6007
6215
  }] } });
6008
6216
 
6217
+ /** Let users navigate between related sections of content, displaying one section at a time. */
6009
6218
  class GoabTabs {
6010
6219
  constructor() {
6011
6220
  this.cdr = inject(ChangeDetectorRef);
6012
6221
  this.isReady = false;
6013
6222
  this.version = "2";
6223
+ /** Emits when the active tab changes. Emits the new tab index as GoabTabsOnChangeDetail. */
6014
6224
  this.onChange = new EventEmitter();
6015
6225
  }
6016
6226
  ngOnInit() {
@@ -6077,11 +6287,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6077
6287
  type: Output
6078
6288
  }] } });
6079
6289
 
6290
+ /** A notification that appears at the bottom of the screen. */
6080
6291
  class GoabTemporaryNotificationCtrl {
6081
6292
  constructor() {
6082
6293
  this.cdr = inject(ChangeDetectorRef);
6083
6294
  this.isReady = false;
6295
+ /** Vertical position of the notification container. @default "bottom" */
6084
6296
  this.verticalPosition = "bottom";
6297
+ /** Horizontal position of the notification container. @default "center" */
6085
6298
  this.horizontalPosition = "center";
6086
6299
  }
6087
6300
  ngOnInit() {
@@ -6127,6 +6340,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6127
6340
  type: Input
6128
6341
  }] } });
6129
6342
 
6343
+ /** Provides consistent sizing, spacing, and colour to written content. */
6130
6344
  class GoabText {
6131
6345
  constructor() {
6132
6346
  this.cdr = inject(ChangeDetectorRef);
@@ -6211,16 +6425,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6211
6425
  type: Input
6212
6426
  }] } });
6213
6427
 
6428
+ /** A multi-line field where users can input and edit text. */
6214
6429
  class GoabTextArea extends GoabControlValueAccessor {
6215
6430
  constructor() {
6216
6431
  super(...arguments);
6217
6432
  this.cdr = inject(ChangeDetectorRef);
6433
+ /** Counting interval for characters or words, specifying whether to count every character or word. @default "" */
6218
6434
  this.countBy = "";
6435
+ /** Maximum number of characters or words allowed. @default -1 */
6219
6436
  this.maxCount = -1;
6437
+ /** Specifies the autocomplete attribute for the textarea input. @default "on" */
6220
6438
  this.autoComplete = "on";
6439
+ /** Sets the size variant of the textarea. @default "default" */
6221
6440
  this.size = "default";
6441
+ /** Emits when the textarea value changes. Emits the name and new value. */
6222
6442
  this.onChange = new EventEmitter();
6443
+ /** Emits when a key is pressed in the textarea. Emits the name, value, and key. */
6223
6444
  this.onKeyPress = new EventEmitter();
6445
+ /** Emits when the textarea loses focus. Emits the name and current value. */
6224
6446
  this.onBlur = new EventEmitter();
6225
6447
  this.isReady = false;
6226
6448
  this.version = "2";
@@ -6368,6 +6590,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6368
6590
  type: Output
6369
6591
  }] } });
6370
6592
 
6593
+ /** A small popover that displays more information about an item. */
6371
6594
  class GoabTooltip extends GoabBaseComponent {
6372
6595
  constructor() {
6373
6596
  super(...arguments);
@@ -6454,10 +6677,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6454
6677
  type: Input
6455
6678
  }] } });
6456
6679
 
6680
+ /** Side menu variant for worker applications. */
6457
6681
  class GoabWorkSideMenu {
6458
6682
  constructor() {
6459
6683
  this.cdr = inject(ChangeDetectorRef);
6684
+ /** Emits when the side menu is toggled open or closed. */
6460
6685
  this.onToggle = new EventEmitter();
6686
+ /** Emits when a navigation link is clicked. Emits the URL as a string. */
6461
6687
  this.onNavigate = new EventEmitter();
6462
6688
  this.isReady = false;
6463
6689
  }
@@ -6560,6 +6786,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6560
6786
  type: Output
6561
6787
  }] } });
6562
6788
 
6789
+ /** Collapsible group of items within the work side menu. */
6563
6790
  class GoabWorkSideMenuGroup {
6564
6791
  constructor() {
6565
6792
  this.cdr = inject(ChangeDetectorRef);
@@ -6618,9 +6845,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6618
6845
  type: Input
6619
6846
  }] } });
6620
6847
 
6848
+ /** Individual menu item within the work side menu. */
6621
6849
  class GoabWorkSideMenuItem {
6622
6850
  constructor() {
6623
6851
  this.cdr = inject(ChangeDetectorRef);
6852
+ /** Sets the visual style of the badge. Use "emergency" for urgent items, "success" for positive status. @default "normal" */
6624
6853
  this.type = "normal";
6625
6854
  this.isReady = false;
6626
6855
  }
@@ -6705,9 +6934,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6705
6934
  type: Input
6706
6935
  }] } });
6707
6936
 
6937
+ /** Displays an individual notification item in the work-side notification panel. */
6708
6938
  class GoabWorkSideNotificationItem {
6709
6939
  constructor() {
6710
6940
  this.cdr = inject(ChangeDetectorRef);
6941
+ /** Emits when the notification item is clicked. */
6711
6942
  this.onClick = new EventEmitter();
6712
6943
  this.isReady = false;
6713
6944
  }
@@ -6776,10 +7007,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6776
7007
  type: Output
6777
7008
  }] } });
6778
7009
 
7010
+ /** Displays a panel of work-side notifications. */
6779
7011
  class GoabWorkSideNotificationPanel {
6780
7012
  constructor() {
6781
7013
  this.cdr = inject(ChangeDetectorRef);
7014
+ /** Emits when the user clicks "Mark all as read". */
6782
7015
  this.onMarkAllRead = new EventEmitter();
7016
+ /** Emits when the user clicks "View all". */
6783
7017
  this.onViewAll = new EventEmitter();
6784
7018
  this.isReady = false;
6785
7019
  }