@abgov/angular-components 4.9.0-alpha.2 → 4.9.0

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.
Files changed (162) hide show
  1. package/fesm2022/abgov-angular-components.mjs +1383 -515
  2. package/fesm2022/abgov-angular-components.mjs.map +1 -1
  3. package/index.d.ts +1314 -3
  4. package/package.json +4 -6
  5. package/esm2022/abgov-angular-components.mjs +0 -5
  6. package/esm2022/index.mjs +0 -4
  7. package/esm2022/lib/angular-components.module.mjs +0 -19
  8. package/esm2022/lib/checked-directive.mjs +0 -61
  9. package/esm2022/lib/components/accordion/accordion.mjs +0 -84
  10. package/esm2022/lib/components/badge/badge.mjs +0 -51
  11. package/esm2022/lib/components/base.component.mjs +0 -118
  12. package/esm2022/lib/components/block/block.mjs +0 -49
  13. package/esm2022/lib/components/button/button.mjs +0 -91
  14. package/esm2022/lib/components/button-group/button-group.mjs +0 -45
  15. package/esm2022/lib/components/callout/callout.mjs +0 -69
  16. package/esm2022/lib/components/card/card.mjs +0 -46
  17. package/esm2022/lib/components/card-actions/card-actions.mjs +0 -24
  18. package/esm2022/lib/components/card-content/card-content.mjs +0 -24
  19. package/esm2022/lib/components/card-image/card-image.mjs +0 -36
  20. package/esm2022/lib/components/checkbox/checkbox.mjs +0 -130
  21. package/esm2022/lib/components/checkbox-list/checkbox-list.mjs +0 -99
  22. package/esm2022/lib/components/chip/chip.mjs +0 -71
  23. package/esm2022/lib/components/circular-progress/circular-progress.mjs +0 -50
  24. package/esm2022/lib/components/column-layout/column-layout.mjs +0 -24
  25. package/esm2022/lib/components/container/container.mjs +0 -78
  26. package/esm2022/lib/components/date-picker/date-picker.mjs +0 -118
  27. package/esm2022/lib/components/details/details.mjs +0 -51
  28. package/esm2022/lib/components/divider/divider.mjs +0 -35
  29. package/esm2022/lib/components/drawer/drawer.mjs +0 -82
  30. package/esm2022/lib/components/dropdown/dropdown.mjs +0 -129
  31. package/esm2022/lib/components/dropdown-item/dropdown-item.mjs +0 -44
  32. package/esm2022/lib/components/file-upload-card/file-upload-card.mjs +0 -65
  33. package/esm2022/lib/components/file-upload-input/file-upload-input.mjs +0 -62
  34. package/esm2022/lib/components/filter-chip/filter-chip.mjs +0 -61
  35. package/esm2022/lib/components/footer/footer.mjs +0 -42
  36. package/esm2022/lib/components/footer-meta-section/footer-meta-section.mjs +0 -24
  37. package/esm2022/lib/components/footer-nav-section/footer-nav-section.mjs +0 -39
  38. package/esm2022/lib/components/form/fieldset.mjs +0 -48
  39. package/esm2022/lib/components/form/public-form-page.mjs +0 -94
  40. package/esm2022/lib/components/form/public-form-summary.mjs +0 -30
  41. package/esm2022/lib/components/form/public-form.mjs +0 -63
  42. package/esm2022/lib/components/form/public-subform-index.mjs +0 -61
  43. package/esm2022/lib/components/form/public-subform.mjs +0 -69
  44. package/esm2022/lib/components/form/task-list.mjs +0 -39
  45. package/esm2022/lib/components/form/task.mjs +0 -30
  46. package/esm2022/lib/components/form-item/form-item-slot.mjs +0 -24
  47. package/esm2022/lib/components/form-item/form-item.mjs +0 -75
  48. package/esm2022/lib/components/form-step/form-step.mjs +0 -28
  49. package/esm2022/lib/components/form-stepper/form-stepper.mjs +0 -54
  50. package/esm2022/lib/components/grid/grid.mjs +0 -46
  51. package/esm2022/lib/components/header/header.mjs +0 -59
  52. package/esm2022/lib/components/header-menu/header-menu.mjs +0 -38
  53. package/esm2022/lib/components/hero-banner/hero-banner.mjs +0 -64
  54. package/esm2022/lib/components/icon/icon.mjs +0 -65
  55. package/esm2022/lib/components/icon-button/icon-button.mjs +0 -88
  56. package/esm2022/lib/components/index.mjs +0 -76
  57. package/esm2022/lib/components/input/input.mjs +0 -283
  58. package/esm2022/lib/components/input-number/input-number.mjs +0 -325
  59. package/esm2022/lib/components/link/link.mjs +0 -69
  60. package/esm2022/lib/components/menu-button/menu-action.mjs +0 -43
  61. package/esm2022/lib/components/menu-button/menu-button.mjs +0 -50
  62. package/esm2022/lib/components/microsite-header/microsite-header.mjs +0 -81
  63. package/esm2022/lib/components/modal/modal.mjs +0 -98
  64. package/esm2022/lib/components/notification/notification.mjs +0 -53
  65. package/esm2022/lib/components/page-block/page-block.mjs +0 -34
  66. package/esm2022/lib/components/pages/pages.mjs +0 -40
  67. package/esm2022/lib/components/pagination/pagination.mjs +0 -67
  68. package/esm2022/lib/components/popover/popover.mjs +0 -73
  69. package/esm2022/lib/components/radio-group/radio-group.mjs +0 -85
  70. package/esm2022/lib/components/radio-item/radio-item.mjs +0 -110
  71. package/esm2022/lib/components/side-menu/side-menu.mjs +0 -26
  72. package/esm2022/lib/components/side-menu-group/side-menu-group.mjs +0 -46
  73. package/esm2022/lib/components/side-menu-heading/side-menu-heading.mjs +0 -38
  74. package/esm2022/lib/components/skeleton/skeleton.mjs +0 -57
  75. package/esm2022/lib/components/spacer/spacer.mjs +0 -36
  76. package/esm2022/lib/components/tab/tab.mjs +0 -44
  77. package/esm2022/lib/components/table/table.mjs +0 -61
  78. package/esm2022/lib/components/table-sort-header/table-sort-header.mjs +0 -37
  79. package/esm2022/lib/components/tabs/tabs.mjs +0 -46
  80. package/esm2022/lib/components/temporary-notification-ctrl/temporary-notification-ctrl.mjs +0 -40
  81. package/esm2022/lib/components/text/text.mjs +0 -56
  82. package/esm2022/lib/components/textarea/textarea.mjs +0 -134
  83. package/esm2022/lib/components/tooltip/tooltip.mjs +0 -77
  84. package/esm2022/lib/value-directive.mjs +0 -132
  85. package/lib/angular-components.module.d.ts +0 -11
  86. package/lib/checked-directive.d.ts +0 -19
  87. package/lib/components/accordion/accordion.d.ts +0 -18
  88. package/lib/components/badge/badge.d.ts +0 -13
  89. package/lib/components/base.component.d.ts +0 -58
  90. package/lib/components/block/block.d.ts +0 -10
  91. package/lib/components/button/button.d.ts +0 -22
  92. package/lib/components/button-group/button-group.d.ts +0 -9
  93. package/lib/components/callout/callout.d.ts +0 -13
  94. package/lib/components/card/card.d.ts +0 -9
  95. package/lib/components/card-actions/card-actions.d.ts +0 -5
  96. package/lib/components/card-content/card-content.d.ts +0 -5
  97. package/lib/components/card-image/card-image.d.ts +0 -7
  98. package/lib/components/checkbox/checkbox.d.ts +0 -24
  99. package/lib/components/checkbox-list/checkbox-list.d.ts +0 -14
  100. package/lib/components/chip/chip.d.ts +0 -18
  101. package/lib/components/circular-progress/circular-progress.d.ts +0 -14
  102. package/lib/components/column-layout/column-layout.d.ts +0 -5
  103. package/lib/components/container/container.d.ts +0 -15
  104. package/lib/components/date-picker/date-picker.d.ts +0 -25
  105. package/lib/components/details/details.d.ts +0 -10
  106. package/lib/components/divider/divider.d.ts +0 -6
  107. package/lib/components/drawer/drawer.d.ts +0 -18
  108. package/lib/components/dropdown/dropdown.d.ts +0 -29
  109. package/lib/components/dropdown-item/dropdown-item.d.ts +0 -11
  110. package/lib/components/file-upload-card/file-upload-card.d.ts +0 -19
  111. package/lib/components/file-upload-input/file-upload-input.d.ts +0 -14
  112. package/lib/components/filter-chip/filter-chip.d.ts +0 -16
  113. package/lib/components/footer/footer.d.ts +0 -8
  114. package/lib/components/footer-meta-section/footer-meta-section.d.ts +0 -8
  115. package/lib/components/footer-nav-section/footer-nav-section.d.ts +0 -10
  116. package/lib/components/form/fieldset.d.ts +0 -12
  117. package/lib/components/form/public-form-page.d.ts +0 -22
  118. package/lib/components/form/public-form-summary.d.ts +0 -6
  119. package/lib/components/form/public-form.d.ts +0 -15
  120. package/lib/components/form/public-subform-index.d.ts +0 -10
  121. package/lib/components/form/public-subform.d.ts +0 -14
  122. package/lib/components/form/task-list.d.ts +0 -7
  123. package/lib/components/form/task.d.ts +0 -7
  124. package/lib/components/form-item/form-item-slot.d.ts +0 -6
  125. package/lib/components/form-item/form-item.d.ts +0 -22
  126. package/lib/components/form-step/form-step.d.ts +0 -8
  127. package/lib/components/form-stepper/form-stepper.d.ts +0 -11
  128. package/lib/components/grid/grid.d.ts +0 -9
  129. package/lib/components/header/header.d.ts +0 -14
  130. package/lib/components/header-menu/header-menu.d.ts +0 -9
  131. package/lib/components/hero-banner/hero-banner.d.ts +0 -14
  132. package/lib/components/icon/icon.d.ts +0 -17
  133. package/lib/components/icon-button/icon-button.d.ts +0 -21
  134. package/lib/components/index.d.ts +0 -75
  135. package/lib/components/input/input.d.ts +0 -56
  136. package/lib/components/input-number/input-number.d.ts +0 -71
  137. package/lib/components/link/link.d.ts +0 -17
  138. package/lib/components/menu-button/menu-action.d.ts +0 -10
  139. package/lib/components/menu-button/menu-button.d.ts +0 -12
  140. package/lib/components/microsite-header/microsite-header.d.ts +0 -18
  141. package/lib/components/modal/modal.d.ts +0 -25
  142. package/lib/components/notification/notification.d.ts +0 -13
  143. package/lib/components/page-block/page-block.d.ts +0 -8
  144. package/lib/components/pages/pages.d.ts +0 -8
  145. package/lib/components/pagination/pagination.d.ts +0 -14
  146. package/lib/components/popover/popover.d.ts +0 -17
  147. package/lib/components/radio-group/radio-group.d.ts +0 -13
  148. package/lib/components/radio-item/radio-item.d.ts +0 -23
  149. package/lib/components/side-menu/side-menu.d.ts +0 -6
  150. package/lib/components/side-menu-group/side-menu-group.d.ts +0 -9
  151. package/lib/components/side-menu-heading/side-menu-heading.d.ts +0 -10
  152. package/lib/components/skeleton/skeleton.d.ts +0 -12
  153. package/lib/components/spacer/spacer.d.ts +0 -9
  154. package/lib/components/tab/tab.d.ts +0 -9
  155. package/lib/components/table/table.d.ts +0 -12
  156. package/lib/components/table-sort-header/table-sort-header.d.ts +0 -8
  157. package/lib/components/tabs/tabs.d.ts +0 -12
  158. package/lib/components/temporary-notification-ctrl/temporary-notification-ctrl.d.ts +0 -11
  159. package/lib/components/text/text.d.ts +0 -14
  160. package/lib/components/textarea/textarea.d.ts +0 -26
  161. package/lib/components/tooltip/tooltip.d.ts +0 -14
  162. package/lib/value-directive.d.ts +0 -37
@@ -1,77 +0,0 @@
1
- import { CUSTOM_ELEMENTS_SCHEMA, Component, Input, TemplateRef } from "@angular/core";
2
- import { NgTemplateOutlet, NgIf } from "@angular/common";
3
- import { GoabBaseComponent } from "../base.component";
4
- import * as i0 from "@angular/core";
5
- export class GoabTooltip extends GoabBaseComponent {
6
- getContentAsString() {
7
- return this.content instanceof TemplateRef ? "" : this.content || "";
8
- }
9
- getContentAsTemplate() {
10
- if (!this.content)
11
- return null;
12
- return this.content instanceof TemplateRef ? this.content : null;
13
- }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabTooltip, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: GoabTooltip, isStandalone: true, selector: "goab-tooltip", inputs: { position: "position", content: "content", hAlign: "hAlign", maxWidth: "maxWidth" }, usesInheritance: true, ngImport: i0, template: `
16
- <goa-tooltip
17
- [attr.position]="position"
18
- [attr.content]="getContentAsString()"
19
- [attr.halign]="hAlign"
20
- [attr.testid]="testId"
21
- [attr.maxwidth]="maxWidth"
22
- [attr.mt]="mt"
23
- [attr.mb]="mb"
24
- [attr.ml]="ml"
25
- [attr.mr]="mr"
26
- >
27
- <div slot="content">
28
- <ng-container
29
- *ngIf="getContentAsTemplate()"
30
- [ngTemplateOutlet]="getContentAsTemplate()"
31
- ></ng-container>
32
- {{ getContentAsString() }}
33
- </div>
34
- <ng-content />
35
- </goa-tooltip>
36
- `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
37
- }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabTooltip, decorators: [{
39
- type: Component,
40
- args: [{
41
- standalone: true,
42
- selector: "goab-tooltip",
43
- template: `
44
- <goa-tooltip
45
- [attr.position]="position"
46
- [attr.content]="getContentAsString()"
47
- [attr.halign]="hAlign"
48
- [attr.testid]="testId"
49
- [attr.maxwidth]="maxWidth"
50
- [attr.mt]="mt"
51
- [attr.mb]="mb"
52
- [attr.ml]="ml"
53
- [attr.mr]="mr"
54
- >
55
- <div slot="content">
56
- <ng-container
57
- *ngIf="getContentAsTemplate()"
58
- [ngTemplateOutlet]="getContentAsTemplate()"
59
- ></ng-container>
60
- {{ getContentAsString() }}
61
- </div>
62
- <ng-content />
63
- </goa-tooltip>
64
- `,
65
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
66
- imports: [NgTemplateOutlet, NgIf],
67
- }]
68
- }], propDecorators: { position: [{
69
- type: Input
70
- }], content: [{
71
- type: Input
72
- }], hAlign: [{
73
- type: Input
74
- }], maxWidth: [{
75
- type: Input
76
- }] } });
77
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy90b29sdGlwL3Rvb2x0aXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxJQUFJLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQzs7QUE4QnRELE1BQU0sT0FBTyxXQUFZLFNBQVEsaUJBQWlCO0lBTWhELGtCQUFrQjtRQUNoQixPQUFPLElBQUksQ0FBQyxPQUFPLFlBQVksV0FBVyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLElBQUksQ0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pbXBvcnRzOiBbTmdUZW1wbGF0ZU91dGxldCwgTmdJZl0sXG59KVxuZXhwb3J0IGNsYXNzIEdvYWJUb29sdGlwIGV4dGVuZHMgR29hYkJhc2VDb21wb25lbnQge1xuICBASW5wdXQoKSBwb3NpdGlvbj86IEdvYWJUb29sdGlwUG9zaXRpb247XG4gIEBJbnB1dCgpIGNvbnRlbnQ/OiBzdHJpbmcgfCBUZW1wbGF0ZVJlZjx1bmtub3duPjtcbiAgQElucHV0KCkgaEFsaWduPzogR29hYlRvb2x0aXBIb3Jpem9udGFsQWxpZ25tZW50O1xuICBASW5wdXQoKSBtYXhXaWR0aD86IHN0cmluZztcblxuICBnZXRDb250ZW50QXNTdHJpbmcoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdGhpcy5jb250ZW50IGluc3RhbmNlb2YgVGVtcGxhdGVSZWYgPyBcIlwiIDogdGhpcy5jb250ZW50IHx8IFwiXCI7XG4gIH1cblxuICBnZXRDb250ZW50QXNUZW1wbGF0ZSgpOiBUZW1wbGF0ZVJlZjx1bmtub3duPiB8IG51bGwge1xuICAgIGlmICghdGhpcy5jb250ZW50KSByZXR1cm4gbnVsbDtcbiAgICByZXR1cm4gdGhpcy5jb250ZW50IGluc3RhbmNlb2YgVGVtcGxhdGVSZWYgPyB0aGlzLmNvbnRlbnQgOiBudWxsO1xuICB9XG59Il19
@@ -1,132 +0,0 @@
1
- import { forwardRef, Directive, ElementRef, HostListener } from "@angular/core";
2
- import { NG_VALUE_ACCESSOR } from "@angular/forms";
3
- import * as i0 from "@angular/core";
4
- // @deprecated: Use the new <goab-input .. /> component
5
- export class ValueDirective {
6
- get value() {
7
- return this._value;
8
- }
9
- set value(val) {
10
- this._value = val;
11
- this.onChange(this._value);
12
- this.onTouched();
13
- this.elementRef.nativeElement.value = val;
14
- }
15
- writeValue(value) {
16
- this.value = value;
17
- }
18
- registerOnChange(fn) {
19
- this.onChange = fn;
20
- }
21
- registerOnTouched(fn) {
22
- this.onTouched = fn;
23
- }
24
- setDisabledState(isDisabled) {
25
- this._disabled = isDisabled;
26
- this.elementRef.nativeElement.disabled = isDisabled;
27
- }
28
- constructor(elementRef) {
29
- this.elementRef = elementRef;
30
- this._value = "";
31
- this._disabled = false;
32
- /* eslint-disable @typescript-eslint/no-explicit-any */
33
- this.onChange = () => { };
34
- this.onTouched = () => { };
35
- }
36
- listenForValueChange(value) {
37
- this.value = value;
38
- }
39
- listenForDisabledChange(isDisabled) {
40
- this.setDisabledState(isDisabled);
41
- }
42
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: ValueDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
43
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.3", type: ValueDirective, selector: "[goaValue]", host: { listeners: { "_change": "listenForValueChange($event.detail.value)", "disabledChange": "listenForDisabledChange($event.detail.disabled)" } }, providers: [{
44
- provide: NG_VALUE_ACCESSOR,
45
- useExisting: forwardRef(() => ValueDirective),
46
- multi: true,
47
- }], ngImport: i0 }); }
48
- }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: ValueDirective, decorators: [{
50
- type: Directive,
51
- args: [{
52
- selector: "[goaValue]", providers: [{
53
- provide: NG_VALUE_ACCESSOR,
54
- useExisting: forwardRef(() => ValueDirective),
55
- multi: true,
56
- }],
57
- }]
58
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { listenForValueChange: [{
59
- type: HostListener,
60
- args: ["_change", ["$event.detail.value"]]
61
- }], listenForDisabledChange: [{
62
- type: HostListener,
63
- args: ["disabledChange", ["$event.detail.disabled"]]
64
- }] } });
65
- export class ValueListDirective {
66
- get value() {
67
- return this._value;
68
- }
69
- set value(val) {
70
- if (val && val !== this._value) {
71
- this._setValue(val);
72
- this.elementRef.nativeElement.value = JSON.stringify(val);
73
- }
74
- }
75
- writeValue(value) {
76
- if (value) {
77
- this.value = value;
78
- }
79
- }
80
- registerOnChange(fn) {
81
- this.onChange = fn;
82
- }
83
- registerOnTouched(fn) {
84
- this.onTouched = fn;
85
- }
86
- constructor(elementRef) {
87
- this.elementRef = elementRef;
88
- this._value = [];
89
- this.onChange = () => { };
90
- this.onTouched = () => { };
91
- }
92
- listenForValueChange(value) {
93
- if (!value) {
94
- this._setValue(undefined);
95
- return;
96
- }
97
- try {
98
- this.value = JSON.parse(value);
99
- }
100
- catch (e) {
101
- // we still need to trigger the events to prevent any previous valid value to remain set.
102
- const v = value.match(/^[\w\s,]*$/) ? value.split(",") : undefined;
103
- this._setValue(v);
104
- }
105
- }
106
- _setValue(value) {
107
- this._value = value;
108
- this.onChange(value);
109
- this.onTouched();
110
- }
111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: ValueListDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
112
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.3", type: ValueListDirective, selector: "[goaValueList]", host: { listeners: { "_change": "listenForValueChange($event.detail.value)" } }, providers: [{
113
- provide: NG_VALUE_ACCESSOR,
114
- useExisting: forwardRef(() => ValueListDirective),
115
- multi: true,
116
- }], ngImport: i0 }); }
117
- }
118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: ValueListDirective, decorators: [{
119
- type: Directive,
120
- args: [{
121
- selector: "[goaValueList]",
122
- providers: [{
123
- provide: NG_VALUE_ACCESSOR,
124
- useExisting: forwardRef(() => ValueListDirective),
125
- multi: true,
126
- }],
127
- }]
128
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { listenForValueChange: [{
129
- type: HostListener,
130
- args: ["_change", ["$event.detail.value"]]
131
- }] } });
132
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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XG4gICAgfVxuICB9XG5cbiAgX3NldFZhbHVlKHZhbHVlPzogc3RyaW5nW10pIHtcbiAgICB0aGlzLl92YWx1ZSA9IHZhbHVlO1xuICAgIHRoaXMub25DaGFuZ2UodmFsdWUpO1xuICAgIHRoaXMub25Ub3VjaGVkKCk7XG4gIH1cbn1cbiJdfQ==
@@ -1,11 +0,0 @@
1
- import { ValueDirective, ValueListDirective } from "./value-directive";
2
- import { CheckedDirective } from "./checked-directive";
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "./value-directive";
5
- import * as i2 from "./checked-directive";
6
- export declare class AngularComponentsModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AngularComponentsModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularComponentsModule, [typeof i1.ValueDirective, typeof i1.ValueListDirective, typeof i2.CheckedDirective], never, [typeof i1.ValueDirective, typeof i1.ValueListDirective, typeof i2.CheckedDirective]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<AngularComponentsModule>;
10
- }
11
- export { ValueDirective, ValueListDirective, CheckedDirective };
@@ -1,19 +0,0 @@
1
- import { ElementRef, Renderer2 } from "@angular/core";
2
- import { CheckboxControlValueAccessor } from "@angular/forms";
3
- import * as i0 from "@angular/core";
4
- export declare class CheckedDirective extends CheckboxControlValueAccessor {
5
- protected renderer: Renderer2;
6
- protected elementRef: ElementRef;
7
- private _checked;
8
- onChange: any;
9
- onTouched: any;
10
- constructor(renderer: Renderer2, elementRef: ElementRef);
11
- get value(): string;
12
- set value(checked: any);
13
- writeValue(checked: any): void;
14
- registerOnChange(fn: (_: any) => void): void;
15
- registerOnTouched(fn: () => void): void;
16
- listenForValueChange(checked: any): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckedDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<CheckedDirective, "[goaChecked]", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,18 +0,0 @@
1
- import { GoabAccordionHeadingSize, GoabAccordionIconPosition } from "@abgov/ui-components-common";
2
- import { TemplateRef, EventEmitter } from "@angular/core";
3
- import { GoabBaseComponent } from "../base.component";
4
- import * as i0 from "@angular/core";
5
- export declare class GoabAccordion extends GoabBaseComponent {
6
- heading?: string;
7
- secondaryText?: string;
8
- open?: boolean;
9
- headingSize?: GoabAccordionHeadingSize;
10
- headingContent: TemplateRef<any>;
11
- maxWidth?: string;
12
- iconPosition?: GoabAccordionIconPosition;
13
- onChange: EventEmitter<boolean>;
14
- _onChange(e: Event): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabAccordion, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabAccordion, "goab-accordion", never, { "heading": { "alias": "heading"; "required": false; }; "secondaryText": { "alias": "secondaryText"; "required": false; }; "open": { "alias": "open"; "required": false; }; "headingSize": { "alias": "headingSize"; "required": false; }; "headingContent": { "alias": "headingContent"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
17
- static ngAcceptInputType_open: unknown;
18
- }
@@ -1,13 +0,0 @@
1
- import { GoabBadgeType, GoabIconType } from "@abgov/ui-components-common";
2
- import { GoabBaseComponent } from "../base.component";
3
- import * as i0 from "@angular/core";
4
- export declare class GoabBadge extends GoabBaseComponent {
5
- type?: GoabBadgeType;
6
- content?: string;
7
- icon?: boolean;
8
- iconType?: GoabIconType;
9
- ariaLabel?: string;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabBadge, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabBadge, "goab-badge", never, { "type": { "alias": "type"; "required": false; }; "content": { "alias": "content"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
12
- static ngAcceptInputType_icon: unknown;
13
- }
@@ -1,58 +0,0 @@
1
- import { Spacing } from "@abgov/ui-components-common";
2
- import { ControlValueAccessor } from "@angular/forms";
3
- import * as i0 from "@angular/core";
4
- export declare abstract class GoabBaseComponent {
5
- mt?: Spacing;
6
- mb?: Spacing;
7
- ml?: Spacing;
8
- mr?: Spacing;
9
- testId?: string;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabBaseComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabBaseComponent, "ng-component", never, { "mt": { "alias": "mt"; "required": false; }; "mb": { "alias": "mb"; "required": false; }; "ml": { "alias": "ml"; "required": false; }; "mr": { "alias": "mr"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, true, never>;
12
- }
13
- export declare abstract class GoabControlValueAccessor extends GoabBaseComponent implements ControlValueAccessor {
14
- id?: string;
15
- disabled?: boolean;
16
- error?: boolean;
17
- value?: unknown | null | undefined;
18
- /**
19
- * Function to handle changes in the form control value.
20
- * @param {unknown} value - The new value.
21
- */
22
- fcChange?: (value: unknown) => void;
23
- /**
24
- * Function to handle touch events on the form control.
25
- */
26
- fcTouched?: () => unknown;
27
- private touched;
28
- /**
29
- * Marks the component as touched. If the component is not already marked as touched,
30
- * it triggers the `fcTouched` callback (if defined) and sets the `touched` property to `true`.
31
- */
32
- markAsTouched(): void;
33
- /**
34
- * Writes a new value to the form control.
35
- * @param {unknown} value - The value to write.
36
- */
37
- writeValue(value: unknown): void;
38
- /**
39
- * Registers a function to call when the form control value changes.
40
- * @param {function} fn - The function to call.
41
- */
42
- registerOnChange(fn: any): void;
43
- /**
44
- * Registers a function to call when the form control is touched.
45
- * @param {function} fn - The function to call.
46
- */
47
- registerOnTouched(fn: any): void;
48
- /**
49
- * Sets the disabled state of the component.
50
- *
51
- * @param isDisabled - A boolean indicating whether the component should be disabled.
52
- */
53
- setDisabledState?(isDisabled: boolean): void;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabControlValueAccessor, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabControlValueAccessor, "ng-component", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
56
- static ngAcceptInputType_disabled: unknown;
57
- static ngAcceptInputType_error: unknown;
58
- }
@@ -1,10 +0,0 @@
1
- import { GoabBlockAlignment, GoabBlockDirection, Spacing } from "@abgov/ui-components-common";
2
- import { GoabBaseComponent } from "../base.component";
3
- import * as i0 from "@angular/core";
4
- export declare class GoabBlock extends GoabBaseComponent {
5
- gap?: Spacing;
6
- direction?: GoabBlockDirection;
7
- alignment?: GoabBlockAlignment;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabBlock, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabBlock, "goab-block", never, { "gap": { "alias": "gap"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; }, {}, never, ["*"], true, never>;
10
- }
@@ -1,22 +0,0 @@
1
- import { GoabButtonSize, GoabButtonType, GoabButtonVariant, GoabIconType } from "@abgov/ui-components-common";
2
- import { EventEmitter } from "@angular/core";
3
- import { GoabBaseComponent } from "../base.component";
4
- import * as i0 from "@angular/core";
5
- export declare class GoabButton extends GoabBaseComponent {
6
- type?: GoabButtonType;
7
- size?: GoabButtonSize;
8
- variant?: GoabButtonVariant;
9
- disabled?: boolean;
10
- leadingIcon?: GoabIconType;
11
- trailingIcon?: GoabIconType;
12
- width?: string;
13
- action?: string;
14
- actionArg?: string;
15
- actionArgs?: Record<string, unknown>;
16
- onClick: EventEmitter<any>;
17
- _onClick(): void;
18
- protected readonly JSON: JSON;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabButton, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabButton, "goab-button", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; }; "width": { "alias": "width"; "required": false; }; "action": { "alias": "action"; "required": false; }; "actionArg": { "alias": "actionArg"; "required": false; }; "actionArgs": { "alias": "actionArgs"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
21
- static ngAcceptInputType_disabled: unknown;
22
- }
@@ -1,9 +0,0 @@
1
- import { GoabButtonGroupAlignment, GoabButtonGroupGap } from "@abgov/ui-components-common";
2
- import { GoabBaseComponent } from "../base.component";
3
- import * as i0 from "@angular/core";
4
- export declare class GoabButtonGroup extends GoabBaseComponent {
5
- alignment?: GoabButtonGroupAlignment;
6
- gap?: GoabButtonGroupGap;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabButtonGroup, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabButtonGroup, "goab-button-group", never, { "alignment": { "alias": "alignment"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; }, {}, never, ["*"], true, never>;
9
- }
@@ -1,13 +0,0 @@
1
- import { GoabCalloutAriaLive, GoabCalloutSize, GoabCalloutType, GoabCalloutIconTheme } from "@abgov/ui-components-common";
2
- import { GoabBaseComponent } from "../base.component";
3
- import * as i0 from "@angular/core";
4
- export declare class GoabCallout extends GoabBaseComponent {
5
- type?: GoabCalloutType;
6
- heading?: string;
7
- size?: GoabCalloutSize;
8
- maxWidth?: string;
9
- ariaLive?: GoabCalloutAriaLive;
10
- iconTheme?: GoabCalloutIconTheme;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabCallout, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabCallout, "goab-callout", never, { "type": { "alias": "type"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "size": { "alias": "size"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "ariaLive": { "alias": "ariaLive"; "required": false; }; "iconTheme": { "alias": "iconTheme"; "required": false; }; }, {}, never, ["*"], true, never>;
13
- }
@@ -1,9 +0,0 @@
1
- import { GoabBaseComponent } from "../base.component";
2
- import * as i0 from "@angular/core";
3
- export declare class GoabCard extends GoabBaseComponent {
4
- elevation?: number;
5
- width?: string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabCard, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabCard, "goab-card", never, { "elevation": { "alias": "elevation"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, ["*"], true, never>;
8
- static ngAcceptInputType_elevation: unknown;
9
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GoabCardActions {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabCardActions, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabCardActions, "goab-card-actions", never, {}, {}, never, ["*"], true, never>;
5
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GoabCardContent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabCardContent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabCardContent, "goab-card-content", never, {}, {}, never, ["*"], true, never>;
5
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GoabCardImage {
3
- src: string;
4
- height: string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabCardImage, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabCardImage, "goab-card-image", never, { "src": { "alias": "src"; "required": true; }; "height": { "alias": "height"; "required": true; }; }, {}, never, ["*"], true, never>;
7
- }
@@ -1,24 +0,0 @@
1
- import { GoabCheckboxOnChangeDetail } from "@abgov/ui-components-common";
2
- import { EventEmitter, TemplateRef } from "@angular/core";
3
- import { GoabControlValueAccessor } from "../base.component";
4
- import * as i0 from "@angular/core";
5
- export declare class GoabCheckbox extends GoabControlValueAccessor {
6
- name?: string;
7
- checked?: boolean;
8
- indeterminate?: boolean;
9
- text?: string;
10
- value?: string | number | boolean;
11
- ariaLabel?: string;
12
- description: string | TemplateRef<any>;
13
- reveal?: TemplateRef<any>;
14
- revealArialLabel?: string;
15
- maxWidth?: string;
16
- onChange: EventEmitter<GoabCheckboxOnChangeDetail>;
17
- getDescriptionAsString(): string;
18
- getDescriptionAsTemplate(): TemplateRef<any> | null;
19
- _onChange(e: Event): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabCheckbox, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabCheckbox, "goab-checkbox", never, { "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "text": { "alias": "text"; "required": false; }; "value": { "alias": "value"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "description": { "alias": "description"; "required": false; }; "reveal": { "alias": "reveal"; "required": false; }; "revealArialLabel": { "alias": "revealArialLabel"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
22
- static ngAcceptInputType_checked: unknown;
23
- static ngAcceptInputType_indeterminate: unknown;
24
- }
@@ -1,14 +0,0 @@
1
- import { GoabCheckboxListOnChangeDetail } from "@abgov/ui-components-common";
2
- import { EventEmitter } from "@angular/core";
3
- import { GoabControlValueAccessor } from "../base.component";
4
- import * as i0 from "@angular/core";
5
- export declare class GoabCheckboxList extends GoabControlValueAccessor {
6
- name: string;
7
- maxWidth?: string;
8
- value?: string[];
9
- onChange: EventEmitter<GoabCheckboxListOnChangeDetail>;
10
- _onChange(e: Event): void;
11
- writeValue(value: string[] | null): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabCheckboxList, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabCheckboxList, "goab-checkbox-list", never, { "name": { "alias": "name"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
14
- }
@@ -1,18 +0,0 @@
1
- import { GoabChipTheme, GoabChipVariant, GoabIconType } from "@abgov/ui-components-common";
2
- import { EventEmitter } from "@angular/core";
3
- import { GoabBaseComponent } from "../base.component";
4
- import * as i0 from "@angular/core";
5
- export declare class GoabChip extends GoabBaseComponent {
6
- leadingIcon?: GoabIconType | null;
7
- error?: boolean;
8
- deletable?: boolean;
9
- content?: string;
10
- variant?: GoabChipVariant;
11
- iconTheme?: GoabChipTheme;
12
- onClick: EventEmitter<any>;
13
- _onClick(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabChip, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabChip, "goab-chip", never, { "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "error": { "alias": "error"; "required": false; }; "deletable": { "alias": "deletable"; "required": false; }; "content": { "alias": "content"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "iconTheme": { "alias": "iconTheme"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
16
- static ngAcceptInputType_error: unknown;
17
- static ngAcceptInputType_deletable: unknown;
18
- }
@@ -1,14 +0,0 @@
1
- import { GoabCircularProgressSize, GoabCircularProgressVariant } from "@abgov/ui-components-common";
2
- import * as i0 from "@angular/core";
3
- export declare class GoabCircularProgress {
4
- variant?: GoabCircularProgressVariant;
5
- size?: GoabCircularProgressSize;
6
- message?: string;
7
- visible?: boolean;
8
- progress?: number;
9
- testId?: string;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabCircularProgress, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabCircularProgress, "goab-circular-progress", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "message": { "alias": "message"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, true, never>;
12
- static ngAcceptInputType_visible: unknown;
13
- static ngAcceptInputType_progress: unknown;
14
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GoabColumnLayout {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabColumnLayout, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabColumnLayout, "goab-column-layout", never, {}, {}, never, ["*"], true, never>;
5
- }
@@ -1,15 +0,0 @@
1
- import { GoabContainerAccent, GoabContainerPadding, GoabContainerType, GoabContainerWidth } from "@abgov/ui-components-common";
2
- import { TemplateRef } from "@angular/core";
3
- import { GoabBaseComponent } from "../base.component";
4
- import * as i0 from "@angular/core";
5
- export declare class GoabContainer extends GoabBaseComponent {
6
- type?: GoabContainerType;
7
- accent?: GoabContainerAccent;
8
- padding?: GoabContainerPadding;
9
- width?: GoabContainerWidth;
10
- maxWidth?: string;
11
- title: TemplateRef<any>;
12
- actions: TemplateRef<any>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabContainer, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabContainer, "goab-container", never, { "type": { "alias": "type"; "required": false; }; "accent": { "alias": "accent"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "title": { "alias": "title"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, {}, never, ["*"], true, never>;
15
- }
@@ -1,25 +0,0 @@
1
- import { GoabDatePickerInputType, GoabDatePickerOnChangeDetail } from "@abgov/ui-components-common";
2
- import { EventEmitter, ElementRef } from "@angular/core";
3
- import { GoabControlValueAccessor } from "../base.component";
4
- import * as i0 from "@angular/core";
5
- export declare class GoabDatePicker extends GoabControlValueAccessor {
6
- protected elementRef: ElementRef;
7
- name?: string;
8
- value?: Date | string | null | undefined;
9
- min?: Date | string;
10
- max?: Date | string;
11
- type?: GoabDatePickerInputType;
12
- /***
13
- * @deprecated This property has no effect and will be removed in a future version
14
- */
15
- relative?: boolean;
16
- onChange: EventEmitter<GoabDatePickerOnChangeDetail>;
17
- formatValue(val: Date | string | null | undefined): string;
18
- _onChange(e: Event): void;
19
- constructor(elementRef: ElementRef);
20
- setDisabledState(isDisabled: boolean): void;
21
- listenDisabledChange(isDisabled: boolean): void;
22
- writeValue(value: Date | null): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabDatePicker, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabDatePicker, "goab-date-picker", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "type": { "alias": "type"; "required": false; }; "relative": { "alias": "relative"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
25
- }
@@ -1,10 +0,0 @@
1
- import { GoabBaseComponent } from "../base.component";
2
- import * as i0 from "@angular/core";
3
- export declare class GoabDetails extends GoabBaseComponent {
4
- heading: string;
5
- open?: boolean;
6
- maxWidth?: string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabDetails, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabDetails, "goab-details", never, { "heading": { "alias": "heading"; "required": true; }; "open": { "alias": "open"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, {}, never, ["*"], true, never>;
9
- static ngAcceptInputType_open: unknown;
10
- }
@@ -1,6 +0,0 @@
1
- import { GoabBaseComponent } from "../base.component";
2
- import * as i0 from "@angular/core";
3
- export declare class GoabDivider extends GoabBaseComponent {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabDivider, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabDivider, "goab-divider", never, {}, {}, never, never, true, never>;
6
- }
@@ -1,18 +0,0 @@
1
- import { EventEmitter, TemplateRef } from "@angular/core";
2
- import { GoabDrawerPosition, GoabDrawerSize } from "@abgov/ui-components-common";
3
- import * as i0 from "@angular/core";
4
- export declare class GoabDrawer {
5
- open: boolean;
6
- position: GoabDrawerPosition;
7
- heading: string | TemplateRef<any>;
8
- maxSize?: GoabDrawerSize;
9
- testId?: string;
10
- actions: TemplateRef<any>;
11
- onClose: EventEmitter<any>;
12
- _onClose(): void;
13
- getHeadingAsString(): string;
14
- getHeadingAsTemplate(): TemplateRef<any> | null;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<GoabDrawer, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<GoabDrawer, "goab-drawer", never, { "open": { "alias": "open"; "required": true; }; "position": { "alias": "position"; "required": true; }; "heading": { "alias": "heading"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "onClose": "onClose"; }, never, ["*"], true, never>;
17
- static ngAcceptInputType_open: unknown;
18
- }