@abgov/angular-components 4.4.0-alpha.1 → 4.4.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1818,9 +1818,291 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
1818
1818
  args: [{ required: true }]
1819
1819
  }] } });
1820
1820
 
1821
+ class GoabPublicForm {
1822
+ constructor() {
1823
+ this.status = "complete";
1824
+ this.onInit = new EventEmitter();
1825
+ this.onComplete = new EventEmitter();
1826
+ this.onStateChange = new EventEmitter();
1827
+ }
1828
+ _onInit(e) {
1829
+ const detail = e.detail;
1830
+ this.onInit.emit(detail);
1831
+ }
1832
+ _onComplete(e) {
1833
+ const detail = e.detail;
1834
+ this.onComplete.emit(detail);
1835
+ }
1836
+ _onStateChange(e) {
1837
+ const detail = e.detail;
1838
+ this.onStateChange.emit(detail.data);
1839
+ }
1840
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabPublicForm, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1841
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: GoabPublicForm, isStandalone: true, selector: "goab-public-form", inputs: { status: "status", name: "name" }, outputs: { onInit: "onInit", onComplete: "onComplete", onStateChange: "onStateChange" }, ngImport: i0, template: `
1842
+ <goa-public-form
1843
+ [attr.status]="status"
1844
+ [attr.name]="name"
1845
+ (_init)="_onInit($event)"
1846
+ (_complete)="_onComplete($event)"
1847
+ (_stateChange)="_onStateChange($event)"
1848
+ >
1849
+ <ng-content />
1850
+ </goa-public-form>
1851
+ `, isInline: true }); }
1852
+ }
1853
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabPublicForm, decorators: [{
1854
+ type: Component,
1855
+ args: [{
1856
+ selector: "goab-public-form",
1857
+ standalone: true,
1858
+ template: `
1859
+ <goa-public-form
1860
+ [attr.status]="status"
1861
+ [attr.name]="name"
1862
+ (_init)="_onInit($event)"
1863
+ (_complete)="_onComplete($event)"
1864
+ (_stateChange)="_onStateChange($event)"
1865
+ >
1866
+ <ng-content />
1867
+ </goa-public-form>
1868
+ `,
1869
+ schemas: [CUSTOM_ELEMENTS_SCHEMA]
1870
+ }]
1871
+ }], propDecorators: { status: [{
1872
+ type: Input
1873
+ }], name: [{
1874
+ type: Input
1875
+ }], onInit: [{
1876
+ type: Output
1877
+ }], onComplete: [{
1878
+ type: Output
1879
+ }], onStateChange: [{
1880
+ type: Output
1881
+ }] } });
1882
+
1883
+ class GoabPublicFormPage extends GoabBaseComponent {
1884
+ constructor() {
1885
+ super(...arguments);
1886
+ this.id = "";
1887
+ this.heading = "";
1888
+ this.subHeading = "";
1889
+ this.summaryHeading = "";
1890
+ this.sectionTitle = "";
1891
+ this.backUrl = "";
1892
+ this.type = "step";
1893
+ this.buttonText = "";
1894
+ this.buttonVisibility = "visible";
1895
+ this.first = false;
1896
+ this.last = false;
1897
+ /**
1898
+ * triggers when the form page continues to the next step
1899
+ */
1900
+ this.onContinue = new EventEmitter();
1901
+ /**
1902
+ * triggers when the user clicks the back link
1903
+ */
1904
+ this.onBack = new EventEmitter();
1905
+ /**
1906
+ * triggers when the form fieldset content changes
1907
+ */
1908
+ this.onFieldsetChange = new EventEmitter();
1909
+ /**
1910
+ * triggers when the form is completed
1911
+ */
1912
+ this.onComplete = new EventEmitter();
1913
+ }
1914
+ _onContinue(event) {
1915
+ const detail = event.detail;
1916
+ this.onContinue.emit(detail);
1917
+ }
1918
+ _onBack() {
1919
+ this.onBack.emit();
1920
+ }
1921
+ _onFieldsetChange(event) {
1922
+ const detail = event.detail;
1923
+ this.onFieldsetChange.emit(detail);
1924
+ }
1925
+ _onComplete(event) {
1926
+ const detail = event.detail;
1927
+ this.onComplete.emit(detail);
1928
+ }
1929
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabPublicFormPage, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1930
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: GoabPublicFormPage, isStandalone: true, selector: "goab-public-form-page", inputs: { id: "id", heading: "heading", subHeading: "subHeading", summaryHeading: "summaryHeading", sectionTitle: "sectionTitle", backUrl: "backUrl", type: "type", buttonText: "buttonText", buttonVisibility: "buttonVisibility", first: "first", last: "last" }, outputs: { onContinue: "onContinue", onBack: "onBack", onFieldsetChange: "onFieldsetChange", onComplete: "onComplete" }, usesInheritance: true, ngImport: i0, template: `
1931
+ <goa-public-form-page
1932
+ [id]="id"
1933
+ [attr.heading]="heading"
1934
+ [attr.sub-heading]="subHeading"
1935
+ [attr.section-title]="sectionTitle"
1936
+ [attr.back-url]="backUrl"
1937
+ [attr.type]="type"
1938
+ [attr.button-text]="buttonText"
1939
+ [attr.button-visibility]="buttonVisibility"
1940
+ [attr.first]="first"
1941
+ [attr.last]="last"
1942
+ [attr.summary-heading]="summaryHeading"
1943
+ [attr.mt]="mt"
1944
+ [attr.mr]="mr"
1945
+ [attr.mb]="mb"
1946
+ [attr.ml]="ml"
1947
+ (_continue)="_onContinue($event)"
1948
+ (_back)="_onBack()"
1949
+ (_fieldsetChange)="_onFieldsetChange($event)"
1950
+ (_complete)="_onComplete($event)"
1951
+ >
1952
+ <ng-content></ng-content>
1953
+ </goa-public-form-page>
1954
+ `, isInline: true }); }
1955
+ }
1956
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabPublicFormPage, decorators: [{
1957
+ type: Component,
1958
+ args: [{
1959
+ selector: "goab-public-form-page",
1960
+ standalone: true,
1961
+ template: `
1962
+ <goa-public-form-page
1963
+ [id]="id"
1964
+ [attr.heading]="heading"
1965
+ [attr.sub-heading]="subHeading"
1966
+ [attr.section-title]="sectionTitle"
1967
+ [attr.back-url]="backUrl"
1968
+ [attr.type]="type"
1969
+ [attr.button-text]="buttonText"
1970
+ [attr.button-visibility]="buttonVisibility"
1971
+ [attr.first]="first"
1972
+ [attr.last]="last"
1973
+ [attr.summary-heading]="summaryHeading"
1974
+ [attr.mt]="mt"
1975
+ [attr.mr]="mr"
1976
+ [attr.mb]="mb"
1977
+ [attr.ml]="ml"
1978
+ (_continue)="_onContinue($event)"
1979
+ (_back)="_onBack()"
1980
+ (_fieldsetChange)="_onFieldsetChange($event)"
1981
+ (_complete)="_onComplete($event)"
1982
+ >
1983
+ <ng-content></ng-content>
1984
+ </goa-public-form-page>
1985
+ `,
1986
+ schemas: [CUSTOM_ELEMENTS_SCHEMA]
1987
+ }]
1988
+ }], propDecorators: { id: [{
1989
+ type: Input
1990
+ }], heading: [{
1991
+ type: Input
1992
+ }], subHeading: [{
1993
+ type: Input
1994
+ }], summaryHeading: [{
1995
+ type: Input
1996
+ }], sectionTitle: [{
1997
+ type: Input
1998
+ }], backUrl: [{
1999
+ type: Input
2000
+ }], type: [{
2001
+ type: Input
2002
+ }], buttonText: [{
2003
+ type: Input
2004
+ }], buttonVisibility: [{
2005
+ type: Input
2006
+ }], first: [{
2007
+ type: Input
2008
+ }], last: [{
2009
+ type: Input
2010
+ }], onContinue: [{
2011
+ type: Output
2012
+ }], onBack: [{
2013
+ type: Output
2014
+ }], onFieldsetChange: [{
2015
+ type: Output
2016
+ }], onComplete: [{
2017
+ type: Output
2018
+ }] } });
2019
+
2020
+ class GoabPublicFormSummary {
2021
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabPublicFormSummary, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2022
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: GoabPublicFormSummary, isStandalone: true, selector: "goab-public-form-summary", inputs: { heading: "heading" }, ngImport: i0, template: `
2023
+ <goa-public-form-summary
2024
+ [attr.heading]="heading"
2025
+ >
2026
+ <ng-content />
2027
+ </goa-public-form-summary>
2028
+ `, isInline: true }); }
2029
+ }
2030
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabPublicFormSummary, decorators: [{
2031
+ type: Component,
2032
+ args: [{
2033
+ selector: "goab-public-form-summary",
2034
+ standalone: true,
2035
+ template: `
2036
+ <goa-public-form-summary
2037
+ [attr.heading]="heading"
2038
+ >
2039
+ <ng-content />
2040
+ </goa-public-form-summary>
2041
+ `,
2042
+ schemas: [CUSTOM_ELEMENTS_SCHEMA]
2043
+ }]
2044
+ }], propDecorators: { heading: [{
2045
+ type: Input
2046
+ }] } });
2047
+
2048
+ class GoabFieldset {
2049
+ constructor() {
2050
+ this.dispatchOn = "continue";
2051
+ this.onChange = new EventEmitter();
2052
+ this.onContinue = new EventEmitter();
2053
+ }
2054
+ _onChange(event) {
2055
+ const detail = event.detail;
2056
+ this.onChange.emit(detail);
2057
+ }
2058
+ _onContinue(event) {
2059
+ const detail = event.detail;
2060
+ this.onContinue.emit(detail);
2061
+ }
2062
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabFieldset, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2063
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: GoabFieldset, isStandalone: true, selector: "goab-fieldset", inputs: { id: "id", sectionTitle: "sectionTitle", dispatchOn: "dispatchOn" }, outputs: { onChange: "onChange", onContinue: "onContinue" }, ngImport: i0, template: `
2064
+ <goa-fieldset
2065
+ [attr.section-title]="sectionTitle"
2066
+ [attr.dispatch-on]="dispatchOn"
2067
+ [attr.id]="id"
2068
+ (_change)="_onChange($event)"
2069
+ (_continue)="_onContinue($event)"
2070
+ >
2071
+ <ng-content></ng-content>
2072
+ </goa-fieldset>`, isInline: true }); }
2073
+ }
2074
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabFieldset, decorators: [{
2075
+ type: Component,
2076
+ args: [{
2077
+ selector: 'goab-fieldset',
2078
+ template: `
2079
+ <goa-fieldset
2080
+ [attr.section-title]="sectionTitle"
2081
+ [attr.dispatch-on]="dispatchOn"
2082
+ [attr.id]="id"
2083
+ (_change)="_onChange($event)"
2084
+ (_continue)="_onContinue($event)"
2085
+ >
2086
+ <ng-content></ng-content>
2087
+ </goa-fieldset>`,
2088
+ standalone: true,
2089
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
2090
+ }]
2091
+ }], propDecorators: { id: [{
2092
+ type: Input
2093
+ }], sectionTitle: [{
2094
+ type: Input
2095
+ }], dispatchOn: [{
2096
+ type: Input
2097
+ }], onChange: [{
2098
+ type: Output
2099
+ }], onContinue: [{
2100
+ type: Output
2101
+ }] } });
2102
+
1821
2103
  class GoabFormItem extends GoabBaseComponent {
1822
2104
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabFormItem, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1823
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: GoabFormItem, isStandalone: true, selector: "goab-form-item", inputs: { label: "label", labelSize: "labelSize", helpText: "helpText", error: "error", requirement: "requirement", maxWidth: "maxWidth", id: "id" }, usesInheritance: true, ngImport: i0, template: `
2105
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: GoabFormItem, isStandalone: true, selector: "goab-form-item", inputs: { label: "label", labelSize: "labelSize", helpText: "helpText", error: "error", requirement: "requirement", maxWidth: "maxWidth", id: "id", publicFormSummaryOrder: "publicFormSummaryOrder", name: "name" }, usesInheritance: true, ngImport: i0, template: `
1824
2106
  <goa-form-item
1825
2107
  [attr.label]="label"
1826
2108
  [attr.labelsize]="labelSize"
@@ -1828,8 +2110,10 @@ class GoabFormItem extends GoabBaseComponent {
1828
2110
  [attr.error]="error"
1829
2111
  [attr.testid]="testId"
1830
2112
  [id]="id"
2113
+ [attr.name]="name"
1831
2114
  [attr.requirement]="requirement"
1832
2115
  [attr.maxwidth]="maxWidth"
2116
+ [attr.public-form-summary-order]="publicFormSummaryOrder"
1833
2117
  [attr.mt]="mt"
1834
2118
  [attr.mb]="mb"
1835
2119
  [attr.mr]="mr"
@@ -1853,8 +2137,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
1853
2137
  [attr.error]="error"
1854
2138
  [attr.testid]="testId"
1855
2139
  [id]="id"
2140
+ [attr.name]="name"
1856
2141
  [attr.requirement]="requirement"
1857
2142
  [attr.maxwidth]="maxWidth"
2143
+ [attr.public-form-summary-order]="publicFormSummaryOrder"
1858
2144
  [attr.mt]="mt"
1859
2145
  [attr.mb]="mb"
1860
2146
  [attr.mr]="mr"
@@ -1880,6 +2166,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
1880
2166
  type: Input
1881
2167
  }], id: [{
1882
2168
  type: Input
2169
+ }], publicFormSummaryOrder: [{
2170
+ type: Input
2171
+ }], name: [{
2172
+ type: Input
1883
2173
  }] } });
1884
2174
 
1885
2175
  /**
@@ -3259,6 +3549,7 @@ class GoabRadioGroup extends GoabControlValueAccessor {
3259
3549
  [attr.orientation]="orientation"
3260
3550
  [attr.error]="error"
3261
3551
  [attr.arialabel]="ariaLabel"
3552
+ [id]="id"
3262
3553
  [attr.testid]="testId"
3263
3554
  [attr.mt]="mt"
3264
3555
  [attr.mb]="mb"
@@ -3283,6 +3574,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
3283
3574
  [attr.orientation]="orientation"
3284
3575
  [attr.error]="error"
3285
3576
  [attr.arialabel]="ariaLabel"
3577
+ [id]="id"
3286
3578
  [attr.testid]="testId"
3287
3579
  [attr.mt]="mt"
3288
3580
  [attr.mb]="mb"
@@ -3982,5 +4274,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
3982
4274
  * Generated bundle index. Do not edit.
3983
4275
  */
3984
4276
 
3985
- export { AngularComponentsModule, CheckedDirective, GoabAccordion, GoabAppFooter, GoabAppFooterMetaSection, GoabAppFooterNavSection, GoabAppHeader, GoabAppHeaderMenu, GoabBadge, GoabBlock, GoabButton, GoabButtonGroup, GoabCallout, GoabCard, GoabCardActions, GoabCardContent, GoabCardImage, GoabCheckbox, GoabChip, GoabCircularProgress, GoabColumnLayout, GoabContainer, GoabDatePicker, GoabDetails, GoabDivider, GoabDrawer, GoabDropdown, GoabDropdownItem, GoabFileUploadCard, GoabFileUploadInput, GoabFilterChip, GoabFormItem, GoabFormItemSlot, GoabFormStep, GoabFormStepper, GoabGrid, GoabHeroBanner, GoabIcon, GoabIconButton, GoabInput, GoabInputNumber, GoabLink, GoabMicrositeHeader, GoabModal, GoabNotification, GoabPages, GoabPagination, GoabPopover, GoabRadioGroup, GoabRadioItem, GoabSideMenu, GoabSideMenuGroup, GoabSideMenuHeading, GoabSkeleton, GoabSpacer, GoabTab, GoabTable, GoabTableSortHeader, GoabTabs, GoabText, GoabTextArea, GoabTooltip, ValueDirective, ValueListDirective };
4277
+ export { AngularComponentsModule, CheckedDirective, GoabAccordion, GoabAppFooter, GoabAppFooterMetaSection, GoabAppFooterNavSection, GoabAppHeader, GoabAppHeaderMenu, GoabBadge, GoabBlock, GoabButton, GoabButtonGroup, GoabCallout, GoabCard, GoabCardActions, GoabCardContent, GoabCardImage, GoabCheckbox, GoabChip, GoabCircularProgress, GoabColumnLayout, GoabContainer, GoabDatePicker, GoabDetails, GoabDivider, GoabDrawer, GoabDropdown, GoabDropdownItem, GoabFieldset, GoabFileUploadCard, GoabFileUploadInput, GoabFilterChip, GoabFormItem, GoabFormItemSlot, GoabFormStep, GoabFormStepper, GoabGrid, GoabHeroBanner, GoabIcon, GoabIconButton, GoabInput, GoabInputNumber, GoabLink, GoabMicrositeHeader, GoabModal, GoabNotification, GoabPages, GoabPagination, GoabPopover, GoabPublicForm, GoabPublicFormPage, GoabPublicFormSummary, GoabRadioGroup, GoabRadioItem, GoabSideMenu, GoabSideMenuGroup, GoabSideMenuHeading, GoabSkeleton, GoabSpacer, GoabTab, GoabTable, GoabTableSortHeader, GoabTabs, GoabText, GoabTextArea, GoabTooltip, ValueDirective, ValueListDirective };
3986
4278
  //# sourceMappingURL=abgov-angular-components.mjs.map