@skyux/forms 11.0.0-alpha.8 → 11.0.0-beta.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 (105) hide show
  1. package/documentation.json +4266 -4566
  2. package/esm2022/index.mjs +13 -12
  3. package/esm2022/lib/modules/character-counter/character-counter-indicator.component.mjs +5 -5
  4. package/esm2022/lib/modules/character-counter/character-counter-screen-reader.pipe.mjs +3 -3
  5. package/esm2022/lib/modules/character-counter/character-counter.directive.mjs +3 -3
  6. package/esm2022/lib/modules/character-counter/character-counter.module.mjs +4 -4
  7. package/esm2022/lib/modules/checkbox/checkbox-group.component.mjs +6 -6
  8. package/esm2022/lib/modules/checkbox/checkbox-label-text-label.component.mjs +5 -6
  9. package/esm2022/lib/modules/checkbox/checkbox-label.component.mjs +3 -3
  10. package/esm2022/lib/modules/checkbox/checkbox.component.mjs +6 -21
  11. package/esm2022/lib/modules/checkbox/checkbox.module.mjs +4 -4
  12. package/esm2022/lib/modules/field-group/field-group.component.mjs +5 -6
  13. package/esm2022/lib/modules/field-group/field-group.module.mjs +4 -4
  14. package/esm2022/lib/modules/file-attachment/file-attachment/file-attachment-change.mjs +2 -0
  15. package/esm2022/lib/modules/file-attachment/file-attachment/file-attachment-click.mjs +2 -0
  16. package/esm2022/lib/modules/file-attachment/file-attachment/file-attachment-join-ids.pipe.mjs +22 -0
  17. package/esm2022/lib/modules/file-attachment/file-attachment/file-attachment-label.component.mjs +31 -0
  18. package/esm2022/lib/modules/file-attachment/file-attachment/file-attachment.component.mjs +479 -0
  19. package/esm2022/lib/modules/file-attachment/file-attachment/file-attachment.module.mjs +24 -0
  20. package/esm2022/lib/modules/file-attachment/file-attachment/file-attachment.service.mjs +103 -0
  21. package/esm2022/lib/modules/file-attachment/file-attachments.module.mjs +12 -75
  22. package/esm2022/lib/modules/file-attachment/file-drop/file-drop-change.mjs +2 -0
  23. package/esm2022/lib/modules/file-attachment/file-drop/file-drop.component.mjs +329 -0
  24. package/esm2022/lib/modules/file-attachment/file-drop/file-drop.module.mjs +18 -0
  25. package/esm2022/lib/modules/file-attachment/file-drop/file-item.component.mjs +156 -0
  26. package/esm2022/lib/modules/file-attachment/file-drop/file-link.mjs +2 -0
  27. package/esm2022/lib/modules/file-attachment/shared/file-item-error-type.mjs +2 -0
  28. package/esm2022/lib/modules/file-attachment/shared/file-item.mjs +2 -0
  29. package/esm2022/lib/modules/file-attachment/shared/file-item.service.mjs +71 -0
  30. package/esm2022/lib/modules/file-attachment/shared/file-size.pipe.mjs +61 -0
  31. package/esm2022/lib/modules/file-attachment/shared/file-validate-function.mjs +2 -0
  32. package/esm2022/lib/modules/form-error/form-error.component.mjs +24 -24
  33. package/esm2022/lib/modules/form-error/form-error.module.mjs +4 -4
  34. package/esm2022/lib/modules/form-error/form-errors.component.mjs +18 -20
  35. package/esm2022/lib/modules/form-error/form-errors.module.mjs +4 -4
  36. package/esm2022/lib/modules/input-box/input-box-adapter.service.mjs +3 -3
  37. package/esm2022/lib/modules/input-box/input-box-control.directive.mjs +3 -3
  38. package/esm2022/lib/modules/input-box/input-box-hint-text.pipe.mjs +3 -3
  39. package/esm2022/lib/modules/input-box/input-box-host.service.mjs +21 -4
  40. package/esm2022/lib/modules/input-box/input-box.component.mjs +22 -27
  41. package/esm2022/lib/modules/input-box/input-box.module.mjs +4 -4
  42. package/esm2022/lib/modules/radio/radio-group-id.service.mjs +3 -3
  43. package/esm2022/lib/modules/radio/radio-group.component.mjs +6 -21
  44. package/esm2022/lib/modules/radio/radio-label.component.mjs +3 -3
  45. package/esm2022/lib/modules/radio/radio.component.mjs +6 -20
  46. package/esm2022/lib/modules/radio/radio.module.mjs +4 -4
  47. package/esm2022/lib/modules/required-state/required-state.directive.mjs +3 -3
  48. package/esm2022/lib/modules/selection-box/selection-box-adapter.service.mjs +3 -3
  49. package/esm2022/lib/modules/selection-box/selection-box-description.component.mjs +3 -3
  50. package/esm2022/lib/modules/selection-box/selection-box-grid.component.mjs +4 -4
  51. package/esm2022/lib/modules/selection-box/selection-box-header.component.mjs +3 -3
  52. package/esm2022/lib/modules/selection-box/selection-box.component.mjs +3 -3
  53. package/esm2022/lib/modules/selection-box/selection-box.module.mjs +4 -4
  54. package/esm2022/lib/modules/shared/sky-forms-resources.module.mjs +6 -8
  55. package/esm2022/lib/modules/toggle-switch/toggle-switch-label.component.mjs +3 -3
  56. package/esm2022/lib/modules/toggle-switch/toggle-switch.component.mjs +7 -21
  57. package/esm2022/lib/modules/toggle-switch/toggle-switch.module.mjs +4 -4
  58. package/esm2022/testing/checkbox/checkbox-harness.mjs +2 -6
  59. package/fesm2022/skyux-forms-testing.mjs +1 -5
  60. package/fesm2022/skyux-forms-testing.mjs.map +1 -1
  61. package/fesm2022/skyux-forms.mjs +394 -448
  62. package/fesm2022/skyux-forms.mjs.map +1 -1
  63. package/index.d.ts +21 -19
  64. package/lib/modules/checkbox/checkbox.component.d.ts +2 -4
  65. package/lib/modules/file-attachment/{types → file-attachment}/file-attachment-change.d.ts +1 -1
  66. package/lib/modules/file-attachment/{types → file-attachment}/file-attachment-click.d.ts +1 -1
  67. package/lib/modules/file-attachment/file-attachment/file-attachment-join-ids.pipe.d.ts +11 -0
  68. package/lib/modules/file-attachment/{file-attachment-label.component.d.ts → file-attachment/file-attachment-label.component.d.ts} +7 -5
  69. package/lib/modules/file-attachment/{file-attachment.component.d.ts → file-attachment/file-attachment.component.d.ts} +14 -14
  70. package/lib/modules/file-attachment/file-attachment/file-attachment.module.d.ts +9 -0
  71. package/lib/modules/file-attachment/{file-attachment.service.d.ts → file-attachment/file-attachment.service.d.ts} +2 -2
  72. package/lib/modules/file-attachment/file-attachments.module.d.ts +6 -15
  73. package/lib/modules/file-attachment/{types → file-drop}/file-drop-change.d.ts +1 -1
  74. package/lib/modules/file-attachment/{file-drop.component.d.ts → file-drop/file-drop.component.d.ts} +6 -8
  75. package/lib/modules/file-attachment/file-drop/file-drop.module.d.ts +9 -0
  76. package/lib/modules/file-attachment/{file-item.component.d.ts → file-drop/file-item.component.d.ts} +3 -3
  77. package/lib/modules/file-attachment/{file-size.pipe.d.ts → shared/file-size.pipe.d.ts} +2 -3
  78. package/lib/modules/form-error/form-errors.component.d.ts +9 -5
  79. package/lib/modules/input-box/input-box-host.service.d.ts +10 -1
  80. package/lib/modules/input-box/input-box.component.d.ts +1 -7
  81. package/lib/modules/radio/radio-group.component.d.ts +2 -4
  82. package/lib/modules/radio/radio.component.d.ts +2 -4
  83. package/lib/modules/toggle-switch/toggle-switch.component.d.ts +3 -5
  84. package/package.json +14 -14
  85. package/esm2022/lib/modules/file-attachment/file-attachment-label.component.mjs +0 -28
  86. package/esm2022/lib/modules/file-attachment/file-attachment.component.mjs +0 -475
  87. package/esm2022/lib/modules/file-attachment/file-attachment.service.mjs +0 -103
  88. package/esm2022/lib/modules/file-attachment/file-drop.component.mjs +0 -328
  89. package/esm2022/lib/modules/file-attachment/file-item-error-type.mjs +0 -2
  90. package/esm2022/lib/modules/file-attachment/file-item.component.mjs +0 -155
  91. package/esm2022/lib/modules/file-attachment/file-item.mjs +0 -2
  92. package/esm2022/lib/modules/file-attachment/file-item.service.mjs +0 -70
  93. package/esm2022/lib/modules/file-attachment/file-link.mjs +0 -2
  94. package/esm2022/lib/modules/file-attachment/file-size.pipe.mjs +0 -61
  95. package/esm2022/lib/modules/file-attachment/file-validate-function.mjs +0 -2
  96. package/esm2022/lib/modules/file-attachment/types/file-attachment-change.mjs +0 -2
  97. package/esm2022/lib/modules/file-attachment/types/file-attachment-click.mjs +0 -2
  98. package/esm2022/lib/modules/file-attachment/types/file-drop-change.mjs +0 -2
  99. package/esm2022/lib/modules/shared/form-field-label-text-required.service.mjs +0 -19
  100. package/lib/modules/shared/form-field-label-text-required.service.d.ts +0 -10
  101. /package/lib/modules/file-attachment/{file-link.d.ts → file-drop/file-link.d.ts} +0 -0
  102. /package/lib/modules/file-attachment/{file-item-error-type.d.ts → shared/file-item-error-type.d.ts} +0 -0
  103. /package/lib/modules/file-attachment/{file-item.d.ts → shared/file-item.d.ts} +0 -0
  104. /package/lib/modules/file-attachment/{file-item.service.d.ts → shared/file-item.service.d.ts} +0 -0
  105. /package/lib/modules/file-attachment/{file-validate-function.d.ts → shared/file-validate-function.d.ts} +0 -0
package/index.d.ts CHANGED
@@ -3,26 +3,29 @@ export { SkyCheckboxChange } from './lib/modules/checkbox/checkbox-change';
3
3
  export { SkyCheckboxGroupHeadingLevel } from './lib/modules/checkbox/checkbox-group-heading-level';
4
4
  export { SkyCheckboxGroupHeadingStyle } from './lib/modules/checkbox/checkbox-group-heading-style';
5
5
  export { SkyCheckboxModule } from './lib/modules/checkbox/checkbox.module';
6
- export { SkyFieldGroupModule } from './lib/modules/field-group/field-group.module';
7
6
  export { SkyFieldGroupHeadingLevel } from './lib/modules/field-group/field-group-heading-level';
8
7
  export { SkyFieldGroupHeadingStyle } from './lib/modules/field-group/field-group-heading-style';
8
+ export { SkyFieldGroupModule } from './lib/modules/field-group/field-group.module';
9
+ export { SkyFileAttachmentChange } from './lib/modules/file-attachment/file-attachment/file-attachment-change';
10
+ export { SkyFileAttachmentClick } from './lib/modules/file-attachment/file-attachment/file-attachment-click';
11
+ export { SkyFileAttachmentModule } from './lib/modules/file-attachment/file-attachment/file-attachment.module';
9
12
  export { SkyFileAttachmentsModule } from './lib/modules/file-attachment/file-attachments.module';
10
- export { SkyFileItem } from './lib/modules/file-attachment/file-item';
11
- export { SkyFileItemErrorType } from './lib/modules/file-attachment/file-item-error-type';
12
- export { SkyFileLink } from './lib/modules/file-attachment/file-link';
13
- export { SkyFileSizePipe } from './lib/modules/file-attachment/file-size.pipe';
14
- export { SkyFileAttachmentChange } from './lib/modules/file-attachment/types/file-attachment-change';
15
- export { SkyFileAttachmentClick } from './lib/modules/file-attachment/types/file-attachment-click';
16
- export { SkyFileDropChange } from './lib/modules/file-attachment/types/file-drop-change';
17
- export { SkyFormErrorsModule } from './lib/modules/form-error/form-errors.module';
13
+ export { SkyFileDropChange } from './lib/modules/file-attachment/file-drop/file-drop-change';
14
+ export { SkyFileDropModule } from './lib/modules/file-attachment/file-drop/file-drop.module';
15
+ export { SkyFileLink } from './lib/modules/file-attachment/file-drop/file-link';
16
+ export { SkyFileItem } from './lib/modules/file-attachment/shared/file-item';
17
+ export { SkyFileItemErrorType } from './lib/modules/file-attachment/shared/file-item-error-type';
18
+ export { SkyFileSizePipe } from './lib/modules/file-attachment/shared/file-size.pipe';
19
+ export { SkyFileValidateFn } from './lib/modules/file-attachment/shared/file-validate-function';
18
20
  export { SkyFormErrorModule } from './lib/modules/form-error/form-error.module';
21
+ export { SkyFormErrorsModule } from './lib/modules/form-error/form-errors.module';
19
22
  export { SkyInputBoxHostService } from './lib/modules/input-box/input-box-host.service';
20
23
  export { SkyInputBoxPopulateArgs } from './lib/modules/input-box/input-box-populate-args';
21
24
  export { SkyInputBoxModule } from './lib/modules/input-box/input-box.module';
25
+ export { SkyRadioModule } from './lib/modules/radio/radio.module';
22
26
  export { SkyRadioChange } from './lib/modules/radio/types/radio-change';
23
27
  export { SkyRadioGroupHeadingLevel } from './lib/modules/radio/types/radio-group-heading-level';
24
28
  export { SkyRadioGroupHeadingStyle } from './lib/modules/radio/types/radio-group-heading-style';
25
- export { SkyRadioModule } from './lib/modules/radio/radio.module';
26
29
  export { SkyRadioType } from './lib/modules/radio/types/radio-type';
27
30
  export { SkyRequiredStateDirective } from './lib/modules/required-state/required-state.directive';
28
31
  export { SkySelectionBoxModule } from './lib/modules/selection-box/selection-box.module';
@@ -31,23 +34,22 @@ export { SkySelectionBoxGridAlignItemsType } from './lib/modules/selection-box/t
31
34
  export { SkyToggleSwitchModule } from './lib/modules/toggle-switch/toggle-switch.module';
32
35
  export { SkyToggleSwitchChange } from './lib/modules/toggle-switch/types/toggle-switch-change';
33
36
  export { SKY_FORM_ERRORS_ENABLED } from './lib/modules/form-error/form-errors-enabled-token';
34
- export { SkyFormFieldLabelTextRequiredService } from './lib/modules/shared/form-field-label-text-required.service';
35
37
  export { SkyCharacterCounterIndicatorComponent as λ1 } from './lib/modules/character-counter/character-counter-indicator.component';
36
- export { SkyCharacterCounterInputDirective as λ2 } from './lib/modules/character-counter/character-counter.directive';
37
38
  export { SkyCharacterCounterScreenReaderPipe as λ23 } from './lib/modules/character-counter/character-counter-screen-reader.pipe';
39
+ export { SkyCharacterCounterInputDirective as λ2 } from './lib/modules/character-counter/character-counter.directive';
40
+ export { SkyCheckboxGroupComponent as λ24 } from './lib/modules/checkbox/checkbox-group.component';
38
41
  export { SkyCheckboxLabelComponent as λ4 } from './lib/modules/checkbox/checkbox-label.component';
39
42
  export { SkyCheckboxComponent as λ3 } from './lib/modules/checkbox/checkbox.component';
40
- export { SkyCheckboxGroupComponent as λ24 } from './lib/modules/checkbox/checkbox-group.component';
41
43
  export { SkyFieldGroupComponent as λ25 } from './lib/modules/field-group/field-group.component';
42
- export { SkyFileAttachmentLabelComponent as λ6 } from './lib/modules/file-attachment/file-attachment-label.component';
43
- export { SkyFileAttachmentComponent as λ7 } from './lib/modules/file-attachment/file-attachment.component';
44
- export { SkyFileDropComponent as λ8 } from './lib/modules/file-attachment/file-drop.component';
45
- export { SkyFileItemComponent as λ9 } from './lib/modules/file-attachment/file-item.component';
46
- export { SkyFormErrorsComponent as λ21 } from './lib/modules/form-error/form-errors.component';
44
+ export { SkyFileAttachmentLabelComponent as λ6 } from './lib/modules/file-attachment/file-attachment/file-attachment-label.component';
45
+ export { SkyFileAttachmentComponent as λ7 } from './lib/modules/file-attachment/file-attachment/file-attachment.component';
46
+ export { SkyFileDropComponent as λ8 } from './lib/modules/file-attachment/file-drop/file-drop.component';
47
+ export { SkyFileItemComponent as λ9 } from './lib/modules/file-attachment/file-drop/file-item.component';
47
48
  export { SkyFormErrorComponent as λ22 } from './lib/modules/form-error/form-error.component';
49
+ export { SkyFormErrorsComponent as λ21 } from './lib/modules/form-error/form-errors.component';
48
50
  export { SkyInputBoxControlDirective as λ20 } from './lib/modules/input-box/input-box-control.directive';
49
- export { SkyInputBoxComponent as λ10 } from './lib/modules/input-box/input-box.component';
50
51
  export { SkyInputBoxHintTextPipe as λ26 } from './lib/modules/input-box/input-box-hint-text.pipe';
52
+ export { SkyInputBoxComponent as λ10 } from './lib/modules/input-box/input-box.component';
51
53
  export { SkyRadioGroupComponent as λ11 } from './lib/modules/radio/radio-group.component';
52
54
  export { SkyRadioLabelComponent as λ12 } from './lib/modules/radio/radio-label.component';
53
55
  export { SkyRadioComponent as λ13 } from './lib/modules/radio/radio.component';
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
1
+ import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
2
2
  import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
3
  import { Observable } from 'rxjs';
4
4
  import { SkyCheckboxChange } from './checkbox-change';
@@ -8,7 +8,7 @@ import * as i1 from "@skyux/theme";
8
8
  * Replaces the HTML input element with `type="checkbox"`. When users select a checkbox, its value
9
9
  * is driven through an `ngModel` attribute that you specify on the `sky-checkbox` element.
10
10
  */
11
- export declare class SkyCheckboxComponent implements ControlValueAccessor, OnInit, Validator {
11
+ export declare class SkyCheckboxComponent implements ControlValueAccessor, Validator {
12
12
  #private;
13
13
  /**
14
14
  * The ARIA label for the checkbox. This sets the checkbox's `aria-label` attribute
@@ -149,13 +149,11 @@ export declare class SkyCheckboxComponent implements ControlValueAccessor, OnIni
149
149
  get indeterminateChange(): Observable<boolean>;
150
150
  set inputEl(el: ElementRef | undefined);
151
151
  get inputEl(): ElementRef | undefined;
152
- display: string | undefined;
153
152
  protected get isCheckboxRequired(): boolean;
154
153
  protected control: AbstractControl | undefined;
155
154
  protected inputId: string;
156
155
  protected readonly errorId: string;
157
156
  constructor();
158
- ngOnInit(): void;
159
157
  validate(control: AbstractControl<boolean>): ValidationErrors | null;
160
158
  /**
161
159
  * Implemented as part of ControlValueAccessor.
@@ -1,4 +1,4 @@
1
- import { SkyFileItem } from '../file-item';
1
+ import { SkyFileItem } from '../shared/file-item';
2
2
  export interface SkyFileAttachmentChange {
3
3
  /**
4
4
  * The file that was added, or undefined if the file was removed.
@@ -1,4 +1,4 @@
1
- import { SkyFileItem } from '../file-item';
1
+ import { SkyFileItem } from '../shared/file-item';
2
2
  export interface SkyFileAttachmentClick {
3
3
  /**
4
4
  * The file that was clicked.
@@ -0,0 +1,11 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Joins an array of IDs with a single space.
5
+ * @internal
6
+ */
7
+ export declare class SkyFileAttachmentJoinIdsPipe implements PipeTransform {
8
+ transform(...ids: (string | null | undefined)[]): string | null;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileAttachmentJoinIdsPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<SkyFileAttachmentJoinIdsPipe, "skyFileAttachmentJoinIds", true>;
11
+ }
@@ -1,9 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  /**
3
- * Displays a label above the file attachment element. To display a help button beside the label, include a help button
4
- * element, such as `sky-help-inline`, in the `sky-file-attachment-label` element and a `sky-control-help` CSS class on
5
- * that help button element.
6
- * @deprecated use the `labelText` input on the single file attachment component instead.
3
+ * Displays a label above the file attachment element. To display a help button
4
+ * beside the label, include a help button element, such as `sky-help-inline`,
5
+ * in the `sky-file-attachment-label` element and a `sky-control-help` CSS class
6
+ * on that help button element.
7
+ * @deprecated Use the `labelText` input on the single file attachment component
8
+ * instead.
7
9
  */
8
10
  export declare class SkyFileAttachmentLabelComponent {
9
11
  labelContentId: {
@@ -11,5 +13,5 @@ export declare class SkyFileAttachmentLabelComponent {
11
13
  } | undefined;
12
14
  constructor();
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileAttachmentLabelComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyFileAttachmentLabelComponent, "sky-file-attachment-label", never, {}, {}, never, ["*", ".sky-control-help"], false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyFileAttachmentLabelComponent, "sky-file-attachment-label", never, {}, {}, never, ["*", ".sky-control-help"], true, never>;
15
17
  }
@@ -1,19 +1,19 @@
1
1
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
2
- import { NgControl, ValidationErrors } from '@angular/forms';
2
+ import { ControlValueAccessor, NgControl, ValidationErrors } from '@angular/forms';
3
3
  import { SkyThemeService } from '@skyux/theme';
4
+ import { SkyFileItem } from '../shared/file-item';
5
+ import { SkyFileItemErrorType } from '../shared/file-item-error-type';
6
+ import { SkyFileItemService } from '../shared/file-item.service';
7
+ import { SkyFileValidateFn } from '../shared/file-validate-function';
8
+ import { SkyFileAttachmentChange } from './file-attachment-change';
9
+ import { SkyFileAttachmentClick } from './file-attachment-click';
4
10
  import { SkyFileAttachmentLabelComponent } from './file-attachment-label.component';
5
11
  import { SkyFileAttachmentService } from './file-attachment.service';
6
- import { SkyFileItem } from './file-item';
7
- import { SkyFileItemErrorType } from './file-item-error-type';
8
- import { SkyFileItemService } from './file-item.service';
9
- import { SkyFileValidateFn } from './file-validate-function';
10
- import { SkyFileAttachmentChange } from './types/file-attachment-change';
11
- import { SkyFileAttachmentClick } from './types/file-attachment-click';
12
12
  import * as i0 from "@angular/core";
13
13
  /**
14
14
  * Provides an element to attach a single local file.
15
15
  */
16
- export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterContentInit, OnInit, OnDestroy {
16
+ export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterContentInit, ControlValueAccessor, OnInit, OnDestroy {
17
17
  #private;
18
18
  /**
19
19
  * The comma-delimited string literal of MIME types that users can attach.
@@ -81,21 +81,20 @@ export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterC
81
81
  /**
82
82
  * The custom validation function. This validation runs alongside the internal
83
83
  * file validation. This function takes a `SkyFileItem` object as a parameter.
84
+ * @deprecated Add a custom Angular `Validator` function to the `FormControl` instead.
84
85
  */
85
86
  validateFn: SkyFileValidateFn | undefined;
86
87
  /**
87
88
  * Fires when users add or remove files.
89
+ * @deprecated Subscribe to the form control's `valueChanges` event instead.
88
90
  */
89
91
  fileChange: EventEmitter<SkyFileAttachmentChange>;
90
92
  /**
91
- * Fires when users select the file name link. Make sure to bind the event.
92
- * If you do not, the file name link will be a dead link.
93
+ * Fires when users select the file name link.
93
94
  */
94
95
  fileClick: EventEmitter<SkyFileAttachmentClick>;
95
96
  acceptedOver: boolean;
96
97
  hasLabelComponent: boolean;
97
- fileDropDescriptionElementId: string;
98
- labelElementId: string;
99
98
  rejectedOver: boolean;
100
99
  /**
101
100
  * Whether the input is required for form validation.
@@ -105,7 +104,6 @@ export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterC
105
104
  * For more information about the `aria-required` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-required).
106
105
  */
107
106
  required: boolean;
108
- display: string | undefined;
109
107
  set value(value: SkyFileItem | undefined | null);
110
108
  get value(): SkyFileItem | undefined;
111
109
  currentThemeName: string | undefined;
@@ -115,9 +113,11 @@ export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterC
115
113
  inputEl: ElementRef | undefined;
116
114
  labelComponents: QueryList<SkyFileAttachmentLabelComponent> | undefined;
117
115
  isImage: boolean;
116
+ protected isData: boolean;
118
117
  protected get isRequired(): boolean;
119
118
  protected ngControl: NgControl | undefined;
120
119
  protected errorId: string;
120
+ protected labelId: string;
121
121
  protected fileErrorName: SkyFileItemErrorType | undefined;
122
122
  protected fileErrorParam: string | undefined;
123
123
  protected fileErrorValidation: ValidationErrors | null | undefined;
@@ -144,7 +144,7 @@ export declare class SkyFileAttachmentComponent implements AfterViewInit, AfterC
144
144
  setDisabledState(isDisabled: boolean): void;
145
145
  emitClick(): void;
146
146
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileAttachmentComponent, [null, null, null, { optional: true; self: true; }, { optional: true; }]>;
147
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyFileAttachmentComponent, "sky-file-attachment", never, { "acceptedTypes": { "alias": "acceptedTypes"; "required": false; }; "acceptedTypesErrorMessage": { "alias": "acceptedTypesErrorMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "minFileSize": { "alias": "minFileSize"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "validateFn": { "alias": "validateFn"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "fileChange": "fileChange"; "fileClick": "fileClick"; }, ["labelComponents"], ["sky-form-error", "sky-file-attachment-label"], false, never>;
147
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyFileAttachmentComponent, "sky-file-attachment", never, { "acceptedTypes": { "alias": "acceptedTypes"; "required": false; }; "acceptedTypesErrorMessage": { "alias": "acceptedTypesErrorMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "minFileSize": { "alias": "minFileSize"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "validateFn": { "alias": "validateFn"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "fileChange": "fileChange"; "fileClick": "fileClick"; }, ["labelComponents"], ["sky-file-attachment-label", "sky-form-error"], true, never>;
148
148
  static ngAcceptInputType_disabled: unknown;
149
149
  static ngAcceptInputType_labelHidden: unknown;
150
150
  static ngAcceptInputType_stacked: unknown;
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./file-attachment.component";
3
+ import * as i2 from "./file-attachment-label.component";
4
+ import * as i3 from "../../form-error/form-error.module";
5
+ export declare class SkyFileAttachmentModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileAttachmentModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyFileAttachmentModule, never, [typeof i1.SkyFileAttachmentComponent, typeof i2.SkyFileAttachmentLabelComponent], [typeof i1.SkyFileAttachmentComponent, typeof i2.SkyFileAttachmentLabelComponent, typeof i3.SkyFormErrorModule]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyFileAttachmentModule>;
9
+ }
@@ -1,5 +1,5 @@
1
- import { SkyFileItem } from './file-item';
2
- import { SkyFileValidateFn } from './file-validate-function';
1
+ import { SkyFileItem } from '../shared/file-item';
2
+ import { SkyFileValidateFn } from '../shared/file-validate-function';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  * @internal
@@ -1,20 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./file-attachment.component";
3
- import * as i2 from "./file-attachment-label.component";
4
- import * as i3 from "./file-drop.component";
5
- import * as i4 from "./file-item.component";
6
- import * as i5 from "./file-size.pipe";
7
- import * as i6 from "@angular/common";
8
- import * as i7 from "@angular/forms";
9
- import * as i8 from "../shared/sky-forms-resources.module";
10
- import * as i9 from "../form-error/form-error.module";
11
- import * as i10 from "../form-error/form-errors.module";
12
- import * as i11 from "@skyux/icon";
13
- import * as i12 from "@skyux/core";
14
- import * as i13 from "@skyux/theme";
15
- import * as i14 from "@skyux/help-inline";
2
+ import * as i1 from "./file-attachment/file-attachment.module";
3
+ import * as i2 from "./file-drop/file-drop.module";
4
+ /**
5
+ * @deprecated Import either `SkyFileAttachmentModule` or `SkyFileDropModule`.
6
+ */
16
7
  export declare class SkyFileAttachmentsModule {
17
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileAttachmentsModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyFileAttachmentsModule, [typeof i1.SkyFileAttachmentComponent, typeof i2.SkyFileAttachmentLabelComponent, typeof i3.SkyFileDropComponent, typeof i4.SkyFileItemComponent, typeof i5.SkyFileSizePipe], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.SkyFormsResourcesModule, typeof i9.SkyFormErrorModule, typeof i10.SkyFormErrorsModule, typeof i11.SkyIconModule, typeof i12.SkyIdModule, typeof i13.SkyThemeModule, typeof i12.SkyTrimModule, typeof i14.SkyHelpInlineModule], [typeof i1.SkyFileAttachmentComponent, typeof i2.SkyFileAttachmentLabelComponent, typeof i3.SkyFileDropComponent, typeof i4.SkyFileItemComponent, typeof i5.SkyFileSizePipe, typeof i9.SkyFormErrorModule]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyFileAttachmentsModule, never, [typeof i1.SkyFileAttachmentModule, typeof i2.SkyFileDropModule], [typeof i1.SkyFileAttachmentModule, typeof i2.SkyFileDropModule]>;
19
10
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyFileAttachmentsModule>;
20
11
  }
@@ -1,4 +1,4 @@
1
- import { SkyFileItem } from '../file-item';
1
+ import { SkyFileItem } from '../shared/file-item';
2
2
  export interface SkyFileDropChange {
3
3
  /**
4
4
  * The array of files that were added or removed.
@@ -1,8 +1,8 @@
1
- import { ElementRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
- import { SkyFileItem } from './file-item';
1
+ import { ElementRef, EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
2
+ import { SkyFileItem } from '../shared/file-item';
3
+ import { SkyFileValidateFn } from '../shared/file-validate-function';
4
+ import { SkyFileDropChange } from './file-drop-change';
3
5
  import { SkyFileLink } from './file-link';
4
- import { SkyFileValidateFn } from './file-validate-function';
5
- import { SkyFileDropChange } from './types/file-drop-change';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Provides an element to attach multiple files where users can browse or drag and drop local files
@@ -14,7 +14,7 @@ import * as i0 from "@angular/core";
14
14
  * outside of the file drop component, you can place the `sky-file-drop-target` CSS class
15
15
  * on the element that receives drop events to exempt it from the drop exclusion rule.
16
16
  */
17
- export declare class SkyFileDropComponent implements OnInit, OnDestroy {
17
+ export declare class SkyFileDropComponent implements OnDestroy {
18
18
  #private;
19
19
  /**
20
20
  * Fires when users add or remove files.
@@ -127,13 +127,11 @@ export declare class SkyFileDropComponent implements OnInit, OnDestroy {
127
127
  */
128
128
  helpKey: string | undefined;
129
129
  inputEl: ElementRef | undefined;
130
- display: string | undefined;
131
130
  rejectedOver: boolean;
132
131
  acceptedOver: boolean;
133
132
  linkUrl: string | undefined;
134
133
  protected errorId: string;
135
134
  protected rejectedFiles: SkyFileItem[];
136
- ngOnInit(): void;
137
135
  ngOnDestroy(): void;
138
136
  dropClicked(): void;
139
137
  fileChangeEvent(fileChangeEvent: Event): void;
@@ -145,7 +143,7 @@ export declare class SkyFileDropComponent implements OnInit, OnDestroy {
145
143
  addLink(event: Event): void;
146
144
  onLinkBlur(): void;
147
145
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileDropComponent, never>;
148
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyFileDropComponent, "sky-file-drop", never, { "fileUploadAriaLabel": { "alias": "fileUploadAriaLabel"; "required": false; }; "linkUploadAriaLabel": { "alias": "linkUploadAriaLabel"; "required": false; }; "minFileSize": { "alias": "minFileSize"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "validateFn": { "alias": "validateFn"; "required": false; }; "acceptedTypes": { "alias": "acceptedTypes"; "required": false; }; "acceptedTypesErrorMessage": { "alias": "acceptedTypesErrorMessage"; "required": false; }; "noClick": { "alias": "noClick"; "required": false; }; "allowLinks": { "alias": "allowLinks"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "required": { "alias": "required"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, { "filesChanged": "filesChanged"; "linkInputBlur": "linkInputBlur"; "linkChanged": "linkChanged"; }, never, ["*"], false, never>;
146
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyFileDropComponent, "sky-file-drop", never, { "fileUploadAriaLabel": { "alias": "fileUploadAriaLabel"; "required": false; }; "linkUploadAriaLabel": { "alias": "linkUploadAriaLabel"; "required": false; }; "minFileSize": { "alias": "minFileSize"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "validateFn": { "alias": "validateFn"; "required": false; }; "acceptedTypes": { "alias": "acceptedTypes"; "required": false; }; "acceptedTypesErrorMessage": { "alias": "acceptedTypesErrorMessage"; "required": false; }; "noClick": { "alias": "noClick"; "required": false; }; "allowLinks": { "alias": "allowLinks"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "required": { "alias": "required"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, { "filesChanged": "filesChanged"; "linkInputBlur": "linkInputBlur"; "linkChanged": "linkChanged"; }, never, ["*"], true, never>;
149
147
  static ngAcceptInputType_labelHidden: unknown;
150
148
  static ngAcceptInputType_required: unknown;
151
149
  static ngAcceptInputType_stacked: unknown;
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./file-drop.component";
3
+ import * as i2 from "./file-item.component";
4
+ import * as i3 from "../../form-error/form-error.module";
5
+ export declare class SkyFileDropModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileDropModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyFileDropModule, never, [typeof i1.SkyFileDropComponent, typeof i2.SkyFileItemComponent], [typeof i1.SkyFileDropComponent, typeof i2.SkyFileItemComponent, typeof i3.SkyFormErrorModule]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyFileDropModule>;
9
+ }
@@ -1,6 +1,6 @@
1
1
  import { DoCheck, EventEmitter, KeyValueDiffers } from '@angular/core';
2
- import { SkyFileItem } from './file-item';
3
- import { SkyFileItemService } from './file-item.service';
2
+ import { SkyFileItem } from '../shared/file-item';
3
+ import { SkyFileItemService } from '../shared/file-item.service';
4
4
  import { SkyFileLink } from './file-link';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SkyFileItemComponent implements DoCheck {
@@ -29,5 +29,5 @@ export declare class SkyFileItemComponent implements DoCheck {
29
29
  ngDoCheck(): void;
30
30
  itemDelete(): void;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileItemComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyFileItemComponent, "sky-file-item", never, { "fileItem": { "alias": "fileItem"; "required": false; }; }, { "deleteFile": "deleteFile"; }, never, ["*"], false, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyFileItemComponent, "sky-file-item", never, { "fileItem": { "alias": "fileItem"; "required": false; }; }, { "deleteFile": "deleteFile"; }, never, ["*"], true, never>;
33
33
  }
@@ -1,4 +1,3 @@
1
- import { DecimalPipe } from '@angular/common';
2
1
  import { PipeTransform } from '@angular/core';
3
2
  import { SkyLibResourcesService } from '@skyux/i18n';
4
3
  import * as i0 from "@angular/core";
@@ -7,8 +6,8 @@ import * as i0 from "@angular/core";
7
6
  */
8
7
  export declare class SkyFileSizePipe implements PipeTransform {
9
8
  #private;
10
- constructor(decimalPipe: DecimalPipe, resourcesService: SkyLibResourcesService);
9
+ constructor(resourcesService: SkyLibResourcesService);
11
10
  transform(input?: number | string | null): string;
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileSizePipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<SkyFileSizePipe, "skyFileSize", false>;
12
+ static ɵpipe: i0.ɵɵPipeDeclaration<SkyFileSizePipe, "skyFileSize", true>;
14
13
  }
@@ -13,14 +13,18 @@ export declare class SkyFormErrorsComponent {
13
13
  */
14
14
  labelText: string | undefined;
15
15
  /**
16
- * Indicates whether to show error messages, which might only be true if the
17
- * form control is touched or dirty.
16
+ * Indicates whether the parent component's control is touched
18
17
  */
19
- showErrors: boolean;
18
+ touched: boolean;
19
+ /**
20
+ * Indicates whether the parent component's control is dirty
21
+ */
22
+ dirty: boolean;
20
23
  protected readonly ariaAtomic = "true";
21
24
  protected readonly ariaLive = "assertive";
22
25
  protected readonly ariaRelevant = "all";
23
26
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyFormErrorsComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyFormErrorsComponent, "sky-form-errors", never, { "errors": { "alias": "errors"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "showErrors": { "alias": "showErrors"; "required": false; }; }, {}, never, ["*"], true, never>;
25
- static ngAcceptInputType_showErrors: any;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyFormErrorsComponent, "sky-form-errors", never, { "errors": { "alias": "errors"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "touched": { "alias": "touched"; "required": false; }; "dirty": { "alias": "dirty"; "required": false; }; }, {}, never, ["*"], true, never>;
28
+ static ngAcceptInputType_touched: unknown;
29
+ static ngAcceptInputType_dirty: unknown;
26
30
  }
@@ -1,3 +1,4 @@
1
+ import { OnDestroy } from '@angular/core';
1
2
  import { Observable } from 'rxjs';
2
3
  import { SkyInputBoxPopulateArgs } from './input-box-populate-args';
3
4
  import { SkyInputBoxComponent } from './input-box.component';
@@ -5,17 +6,25 @@ import * as i0 from "@angular/core";
5
6
  /**
6
7
  * @internal
7
8
  */
8
- export declare class SkyInputBoxHostService {
9
+ export declare class SkyInputBoxHostService implements OnDestroy {
9
10
  #private;
11
+ required: Observable<boolean>;
10
12
  get controlId(): string;
11
13
  get labelId(): string;
12
14
  get labelText(): string;
13
15
  get ariaDescribedBy(): Observable<string | undefined> | undefined;
14
16
  init(host: SkyInputBoxComponent): void;
17
+ ngOnDestroy(): void;
15
18
  populate(args: SkyInputBoxPopulateArgs): void;
16
19
  setHintText(hintText: string | undefined): void;
17
20
  setHintTextHidden(hide: boolean): void;
18
21
  setHintTextScreenReaderOnly(hide: boolean): void;
22
+ /**
23
+ * Set required so that input box displays the label correctly. When the input is supplied by the consumer it is a content
24
+ * child that input box can read required from and this is unnecessary. When the input is supplied internally by the
25
+ * component the input box does not have a ref to it, so the component needs to inform the input box of its required state.
26
+ */
27
+ setRequired(required: boolean): void;
19
28
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyInputBoxHostService, never>;
20
29
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyInputBoxHostService>;
21
30
  }
@@ -66,10 +66,6 @@ export declare class SkyInputBoxComponent implements OnInit, AfterContentChecked
66
66
  */
67
67
  set hintText(value: string | undefined);
68
68
  get hintText(): string | undefined;
69
- /**
70
- * @internal
71
- */
72
- errorsScreenReaderOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
73
69
  hostInputTemplate: TemplateRef<unknown> | undefined;
74
70
  hostButtonsTemplate: TemplateRef<unknown> | undefined;
75
71
  hostButtonsInsetTemplate: TemplateRef<unknown> | undefined;
@@ -86,13 +82,11 @@ export declare class SkyInputBoxComponent implements OnInit, AfterContentChecked
86
82
  readonly hintTextId: string;
87
83
  readonly ariaDescribedBy: ReplaySubject<string | undefined>;
88
84
  cssClass: string;
89
- display: string | undefined;
90
85
  formControl: FormControlDirective | undefined;
91
86
  formControlByName: FormControlName | undefined;
92
87
  ngModel: NgModel | undefined;
93
88
  inputRef: ElementRef | undefined;
94
89
  protected controlDir: AbstractControlDirective | undefined;
95
- protected helpPopoverOpen: boolean | undefined;
96
90
  protected get isDisabled(): boolean;
97
91
  protected get hasErrorsComputed(): boolean;
98
92
  protected get required(): boolean;
@@ -108,5 +102,5 @@ export declare class SkyInputBoxComponent implements OnInit, AfterContentChecked
108
102
  setHostHintText(value: string | undefined): void;
109
103
  setHintTextScreenReaderOnly(hide: boolean): void;
110
104
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyInputBoxComponent, never>;
111
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyInputBoxComponent, "sky-input-box", never, { "hasErrors": { "alias": "hasErrors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "characterLimit": { "alias": "characterLimit"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "errorsScreenReaderOnly": { "alias": "errorsScreenReaderOnly"; "required": false; "isSignal": true; }; }, {}, ["formControl", "formControlByName", "ngModel", "inputRef"], [".sky-control-label", ".sky-control-help", "sky-character-counter-indicator", "input,select,.sky-form-control:not(textarea),sky-text-editor", "textarea", ".sky-input-group-btn.sky-input-box-btn-left", ".sky-input-group-btn:not(.sky-input-box-btn-left):not(.sky-input-box-btn-inset)", ".sky-input-group-btn.sky-input-box-btn-inset", ".sky-input-group-icon.sky-input-box-icon-inset", ".sky-input-group-icon.sky-input-box-icon-inset-left", "sky-form-error", ".sky-error-label,.sky-error-indicator"], false, never>;
105
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyInputBoxComponent, "sky-input-box", never, { "hasErrors": { "alias": "hasErrors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "characterLimit": { "alias": "characterLimit"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; }, {}, ["formControl", "formControlByName", "ngModel", "inputRef"], [".sky-control-label", ".sky-control-help", "sky-character-counter-indicator", "input,select,.sky-form-control:not(textarea),sky-text-editor", "textarea", ".sky-input-group-btn.sky-input-box-btn-left", ".sky-input-group-btn:not(.sky-input-box-btn-left):not(.sky-input-box-btn-inset)", ".sky-input-group-btn.sky-input-box-btn-inset", ".sky-input-group-icon.sky-input-box-icon-inset", ".sky-input-group-icon.sky-input-box-icon-inset-left", "sky-form-error", ".sky-error-label,.sky-error-indicator"], false, never>;
112
106
  }
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, ChangeDetectorRef, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
1
+ import { AfterContentInit, ChangeDetectorRef, OnDestroy, QueryList, TemplateRef } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { SkyRadioGroupIdService } from './radio-group-id.service';
4
4
  import { SkyRadioComponent } from './radio.component';
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
11
11
  * On Angular forms, the component manages the selected values and keeps the forms up-to-date.
12
12
  * When users select a radio button, its value is driven through an `ngModel` attribute that you specify on the `sky-radio-group` element.
13
13
  */
14
- export declare class SkyRadioGroupComponent implements AfterContentInit, OnInit, OnDestroy {
14
+ export declare class SkyRadioGroupComponent implements AfterContentInit, OnDestroy {
15
15
  #private;
16
16
  /**
17
17
  * The HTML element ID of the element that labels
@@ -127,7 +127,6 @@ export declare class SkyRadioGroupComponent implements AfterContentInit, OnInit,
127
127
  */
128
128
  ariaOwns: string | undefined;
129
129
  radios: QueryList<SkyRadioComponent> | undefined;
130
- display: string | undefined;
131
130
  stackedLg: boolean;
132
131
  stackedXL: boolean;
133
132
  protected get isRequired(): boolean;
@@ -137,7 +136,6 @@ export declare class SkyRadioGroupComponent implements AfterContentInit, OnInit,
137
136
  constructor(changeDetector: ChangeDetectorRef, radioGroupIdSvc: SkyRadioGroupIdService, ngControl: NgControl);
138
137
  ngAfterContentInit(): void;
139
138
  watchForSelections(): void;
140
- ngOnInit(): void;
141
139
  ngOnDestroy(): void;
142
140
  writeValue(value: unknown): void;
143
141
  /**
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
1
+ import { EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { Subject } from 'rxjs';
4
4
  import { SkyRadioChange } from './types/radio-change';
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
9
9
  * with `type="radio"`. When users select a radio button, its value is driven through an
10
10
  * `ngModel` attribute that you specify on the `sky-radio` element or the parent `sky-radio-group` element.
11
11
  */
12
- export declare class SkyRadioComponent implements OnInit, OnDestroy, ControlValueAccessor {
12
+ export declare class SkyRadioComponent implements OnDestroy, ControlValueAccessor {
13
13
  #private;
14
14
  /**
15
15
  * Fires when users focus off a radio button.
@@ -137,13 +137,11 @@ export declare class SkyRadioComponent implements OnInit, OnDestroy, ControlValu
137
137
  * Fires when the selected value changes.
138
138
  */
139
139
  disabledChange: EventEmitter<boolean>;
140
- display: string | undefined;
141
140
  set selectedValue(value: any);
142
141
  get selectedValue(): any;
143
142
  radioGroupDisabled: boolean;
144
143
  protected inputId: string;
145
144
  constructor();
146
- ngOnInit(): void;
147
145
  ngOnDestroy(): void;
148
146
  writeValue(value: unknown): void;
149
147
  /**
@@ -1,10 +1,10 @@
1
- import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
1
+ import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy, QueryList, TemplateRef } from '@angular/core';
2
2
  import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
3
  import { SkyIdService } from '@skyux/core';
4
4
  import { SkyToggleSwitchLabelComponent } from './toggle-switch-label.component';
5
5
  import { SkyToggleSwitchChange } from './types/toggle-switch-change';
6
6
  import * as i0 from "@angular/core";
7
- export declare class SkyToggleSwitchComponent implements AfterContentInit, OnInit, OnDestroy, ControlValueAccessor, Validator {
7
+ export declare class SkyToggleSwitchComponent implements AfterContentInit, OnDestroy, ControlValueAccessor, Validator {
8
8
  #private;
9
9
  /**
10
10
  * The ARIA label for the toggle switch. This sets the `aria-label`
@@ -65,10 +65,8 @@ export declare class SkyToggleSwitchComponent implements AfterContentInit, OnIni
65
65
  labelId: string;
66
66
  enableIndicatorAnimation: boolean;
67
67
  labelComponents: QueryList<SkyToggleSwitchLabelComponent> | undefined;
68
- display: string | undefined;
69
68
  constructor(changeDetector: ChangeDetectorRef, idService: SkyIdService);
70
69
  ngAfterContentInit(): void;
71
- ngOnInit(): void;
72
70
  ngOnDestroy(): void;
73
71
  writeValue(value: boolean): void;
74
72
  validate(control: AbstractControl): ValidationErrors | null;
@@ -78,6 +76,6 @@ export declare class SkyToggleSwitchComponent implements AfterContentInit, OnIni
78
76
  onButtonClick(event: any): void;
79
77
  onButtonBlur(): void;
80
78
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyToggleSwitchComponent, never>;
81
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyToggleSwitchComponent, "sky-toggle-switch", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, { "toggleChange": "toggleChange"; }, ["labelComponents"], [".sky-control-help", "sky-toggle-switch-label"], false, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyToggleSwitchComponent, "sky-toggle-switch", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, { "toggleChange": "toggleChange"; }, ["labelComponents"], ["sky-toggle-switch-label", ".sky-control-help"], false, never>;
82
80
  static ngAcceptInputType_labelHidden: unknown;
83
81
  }