@impartner/design-components 2.0.1 → 2.1.1

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 (155) hide show
  1. package/README.md +2 -1
  2. package/esm2022/lib/badge/badge.component.mjs +17 -1
  3. package/esm2022/lib/datetime-picker/components/datepicker-nav/datepicker-nav.component.mjs +105 -0
  4. package/esm2022/lib/datetime-picker/components/datepicker-nav/index.mjs +2 -0
  5. package/esm2022/lib/datetime-picker/components/datepicker-template-host/datepicker-template-host.component.mjs +30 -0
  6. package/esm2022/lib/datetime-picker/components/datepicker-template-host/index.mjs +2 -0
  7. package/esm2022/lib/datetime-picker/components/datetime-picker/datetime-picker.component.mjs +370 -0
  8. package/esm2022/lib/datetime-picker/components/datetime-picker/index.mjs +2 -0
  9. package/esm2022/lib/datetime-picker/components/datetime-picker-input/datetime-picker-input.component.mjs +367 -0
  10. package/esm2022/lib/datetime-picker/components/datetime-picker-input/index.mjs +2 -0
  11. package/esm2022/lib/datetime-picker/components/datetime-picker-input-footer/datetime-picker-input-footer.component.mjs +68 -0
  12. package/esm2022/lib/datetime-picker/components/datetime-picker-input-footer/index.mjs +2 -0
  13. package/esm2022/lib/datetime-picker/components/index.mjs +6 -0
  14. package/esm2022/lib/datetime-picker/constants/datetime-picker-defaults.mjs +12 -0
  15. package/esm2022/lib/datetime-picker/constants/index.mjs +2 -0
  16. package/esm2022/lib/datetime-picker/datetime-picker.module.mjs +22 -0
  17. package/esm2022/lib/datetime-picker/index.mjs +4 -0
  18. package/esm2022/lib/datetime-picker/services/datetime-formatter/datetime-formatter.service.mjs +40 -0
  19. package/esm2022/lib/datetime-picker/services/datetime-formatter/index.mjs +2 -0
  20. package/esm2022/lib/datetime-picker/services/index.mjs +2 -0
  21. package/esm2022/lib/datetime-picker/types/datetime-picker-value.interface.mjs +2 -0
  22. package/esm2022/lib/datetime-picker/types/index.mjs +2 -0
  23. package/esm2022/lib/design-components.module.mjs +20 -7
  24. package/esm2022/lib/form-field/component/directives/corner-hint.directive.mjs +15 -0
  25. package/esm2022/lib/form-field/component/directives/error.directive.mjs +27 -0
  26. package/esm2022/lib/form-field/component/directives/form-root.directive.mjs +93 -0
  27. package/esm2022/lib/form-field/component/directives/hint.directive.mjs +25 -0
  28. package/esm2022/lib/form-field/component/directives/index.mjs +25 -0
  29. package/esm2022/lib/form-field/component/directives/label.directive.mjs +15 -0
  30. package/esm2022/lib/form-field/component/directives/prefix.directive.mjs +25 -0
  31. package/esm2022/lib/form-field/component/directives/suffix.directive.mjs +25 -0
  32. package/esm2022/lib/form-field/component/form-field.component.mjs +131 -0
  33. package/esm2022/lib/form-field/component/form-field.module.mjs +24 -0
  34. package/esm2022/lib/form-field/component/index.mjs +4 -0
  35. package/esm2022/lib/form-field/controls/checkbox/checkbox.component.mjs +14 -6
  36. package/esm2022/lib/form-field/controls/checkbox/checkbox.module.mjs +4 -7
  37. package/esm2022/lib/form-field/controls/index.mjs +2 -1
  38. package/esm2022/lib/form-field/controls/input/input.directive.mjs +4 -3
  39. package/esm2022/lib/form-field/controls/radio/radio-button/radio-button.component.mjs +6 -4
  40. package/esm2022/lib/form-field/controls/radio/radio-group/radio-group.directive.mjs +4 -3
  41. package/esm2022/lib/form-field/controls/radio/radio.module.mjs +4 -7
  42. package/esm2022/lib/form-field/controls/select/index.mjs +6 -3
  43. package/esm2022/lib/form-field/controls/select/interfaces/index.mjs +2 -0
  44. package/esm2022/lib/form-field/controls/select/interfaces/select-option.interface.mjs +2 -0
  45. package/esm2022/lib/form-field/controls/select/option/index.mjs +2 -2
  46. package/esm2022/lib/form-field/controls/select/option/select-option.component.mjs +33 -128
  47. package/esm2022/lib/form-field/controls/select/option-display/index.mjs +2 -0
  48. package/esm2022/lib/form-field/controls/select/option-display/select-option-display.component.mjs +162 -0
  49. package/esm2022/lib/form-field/controls/select/option-group/index.mjs +2 -0
  50. package/esm2022/lib/form-field/controls/select/option-group/select-option-group.component.mjs +35 -0
  51. package/esm2022/lib/form-field/controls/select/option-parent.mjs +2 -1
  52. package/esm2022/lib/form-field/controls/select/select.component.mjs +348 -148
  53. package/esm2022/lib/form-field/controls/select/select.module.mjs +20 -13
  54. package/esm2022/lib/form-field/controls/select/value-tags-display/index.mjs +2 -0
  55. package/esm2022/lib/form-field/controls/select/value-tags-display/select-value-tags-display.component.mjs +91 -0
  56. package/esm2022/lib/form-field/controls/shared/toggle/components/toggle-input/toggle-input.component.mjs +3 -3
  57. package/esm2022/lib/form-field/controls/shared/toggle/toggle.component.mjs +19 -3
  58. package/esm2022/lib/form-field/controls/shared/toggle/toggle.module.mjs +4 -6
  59. package/esm2022/lib/form-field/controls/tag-select/index.mjs +2 -0
  60. package/esm2022/lib/form-field/controls/tag-select/tag-select.component.mjs +146 -0
  61. package/esm2022/lib/form-field/impdc-forms.mjs +2 -3
  62. package/esm2022/lib/form-field/impdc-forms.module.mjs +32 -47
  63. package/esm2022/lib/form-field/shared/error-state.mixin.mjs +1 -1
  64. package/esm2022/lib/icon/icon.component.mjs +12 -5
  65. package/esm2022/lib/index.mjs +3 -1
  66. package/esm2022/lib/pagination/pagination.component.mjs +6 -6
  67. package/esm2022/lib/select-icon/select-icon.component.mjs +6 -6
  68. package/esm2022/lib/select-icon/select-icon.module.mjs +5 -1
  69. package/esm2022/lib/table/containers/table.component.mjs +3 -3
  70. package/esm2022/lib/tag/index.mjs +2 -0
  71. package/esm2022/lib/tag/tag.component.mjs +104 -0
  72. package/esm2022/lib/text-highlight/text-highlight.component.mjs +52 -37
  73. package/esm2022/lib/text-highlight/text-highlight.module.mjs +4 -6
  74. package/fesm2022/impartner-design-components.mjs +5620 -3983
  75. package/fesm2022/impartner-design-components.mjs.map +1 -1
  76. package/lib/badge/badge.component.d.ts +15 -1
  77. package/lib/datetime-picker/components/datepicker-nav/datepicker-nav.component.d.ts +31 -0
  78. package/lib/datetime-picker/components/datepicker-nav/index.d.ts +1 -0
  79. package/lib/datetime-picker/components/datepicker-template-host/datepicker-template-host.component.d.ts +14 -0
  80. package/lib/datetime-picker/components/datepicker-template-host/index.d.ts +1 -0
  81. package/lib/datetime-picker/components/datetime-picker/datetime-picker.component.d.ts +157 -0
  82. package/lib/datetime-picker/components/datetime-picker/index.d.ts +1 -0
  83. package/lib/datetime-picker/components/datetime-picker-input/datetime-picker-input.component.d.ts +160 -0
  84. package/lib/datetime-picker/components/datetime-picker-input/index.d.ts +1 -0
  85. package/lib/datetime-picker/components/datetime-picker-input-footer/datetime-picker-input-footer.component.d.ts +24 -0
  86. package/lib/datetime-picker/components/datetime-picker-input-footer/index.d.ts +1 -0
  87. package/lib/datetime-picker/components/index.d.ts +5 -0
  88. package/lib/datetime-picker/constants/datetime-picker-defaults.d.ts +4 -0
  89. package/lib/datetime-picker/constants/index.d.ts +1 -0
  90. package/lib/datetime-picker/datetime-picker.module.d.ts +8 -0
  91. package/lib/datetime-picker/index.d.ts +4 -0
  92. package/lib/datetime-picker/services/datetime-formatter/datetime-formatter.service.d.ts +20 -0
  93. package/lib/datetime-picker/services/datetime-formatter/index.d.ts +1 -0
  94. package/lib/datetime-picker/services/index.d.ts +1 -0
  95. package/lib/datetime-picker/types/datetime-picker-value.interface.d.ts +5 -0
  96. package/lib/datetime-picker/types/index.d.ts +1 -0
  97. package/lib/design-components.module.d.ts +14 -12
  98. package/lib/form-field/{directives → component/directives}/corner-hint.directive.d.ts +1 -1
  99. package/lib/form-field/{directives → component/directives}/error.directive.d.ts +1 -1
  100. package/lib/form-field/{directives → component/directives}/form-root.directive.d.ts +2 -2
  101. package/lib/form-field/{directives → component/directives}/hint.directive.d.ts +1 -1
  102. package/lib/form-field/component/directives/index.d.ts +15 -0
  103. package/lib/form-field/{directives → component/directives}/label.directive.d.ts +1 -1
  104. package/lib/form-field/{directives → component/directives}/prefix.directive.d.ts +1 -1
  105. package/lib/form-field/{directives → component/directives}/suffix.directive.d.ts +1 -1
  106. package/lib/form-field/{form-field.component.d.ts → component/form-field.component.d.ts} +3 -5
  107. package/lib/form-field/component/form-field.module.d.ts +14 -0
  108. package/lib/form-field/component/index.d.ts +3 -0
  109. package/lib/form-field/controls/checkbox/checkbox.component.d.ts +6 -2
  110. package/lib/form-field/controls/checkbox/checkbox.module.d.ts +1 -3
  111. package/lib/form-field/controls/index.d.ts +1 -0
  112. package/lib/form-field/controls/input/input.directive.d.ts +2 -2
  113. package/lib/form-field/controls/radio/radio-button/radio-button.component.d.ts +1 -1
  114. package/lib/form-field/controls/radio/radio-group/radio-group.directive.d.ts +2 -2
  115. package/lib/form-field/controls/radio/radio.module.d.ts +1 -3
  116. package/lib/form-field/controls/select/index.d.ts +6 -2
  117. package/lib/form-field/controls/select/interfaces/index.d.ts +1 -0
  118. package/lib/form-field/controls/select/interfaces/select-option.interface.d.ts +6 -0
  119. package/lib/form-field/controls/select/option/index.d.ts +1 -1
  120. package/lib/form-field/controls/select/option/select-option.component.d.ts +10 -49
  121. package/lib/form-field/controls/select/option-display/index.d.ts +1 -0
  122. package/lib/form-field/controls/select/option-display/select-option-display.component.d.ts +64 -0
  123. package/lib/form-field/controls/select/option-group/index.d.ts +1 -0
  124. package/lib/form-field/controls/select/option-group/select-option-group.component.d.ts +11 -0
  125. package/lib/form-field/controls/select/option-parent.d.ts +12 -1
  126. package/lib/form-field/controls/select/select.component.d.ts +113 -51
  127. package/lib/form-field/controls/select/select.module.d.ts +5 -6
  128. package/lib/form-field/controls/select/value-tags-display/index.d.ts +1 -0
  129. package/lib/form-field/controls/select/value-tags-display/select-value-tags-display.component.d.ts +46 -0
  130. package/lib/form-field/controls/shared/toggle/components/toggle-input/toggle-input.component.d.ts +1 -1
  131. package/lib/form-field/controls/shared/toggle/toggle.component.d.ts +4 -1
  132. package/lib/form-field/controls/shared/toggle/toggle.module.d.ts +1 -2
  133. package/lib/form-field/controls/tag-select/index.d.ts +1 -0
  134. package/lib/form-field/controls/tag-select/tag-select.component.d.ts +43 -0
  135. package/lib/form-field/impdc-forms.d.ts +1 -2
  136. package/lib/form-field/impdc-forms.module.d.ts +8 -14
  137. package/lib/form-field/shared/error-state.mixin.d.ts +4 -4
  138. package/lib/icon/icon.component.d.ts +5 -3
  139. package/lib/index.d.ts +2 -0
  140. package/lib/select-icon/select-icon.module.d.ts +4 -3
  141. package/lib/tag/index.d.ts +1 -0
  142. package/lib/tag/tag.component.d.ts +54 -0
  143. package/lib/text-highlight/text-highlight.component.d.ts +12 -6
  144. package/lib/text-highlight/text-highlight.module.d.ts +1 -2
  145. package/package.json +2 -2
  146. package/esm2022/lib/form-field/directives/corner-hint.directive.mjs +0 -14
  147. package/esm2022/lib/form-field/directives/error.directive.mjs +0 -26
  148. package/esm2022/lib/form-field/directives/form-root.directive.mjs +0 -91
  149. package/esm2022/lib/form-field/directives/hint.directive.mjs +0 -24
  150. package/esm2022/lib/form-field/directives/index.mjs +0 -8
  151. package/esm2022/lib/form-field/directives/label.directive.mjs +0 -14
  152. package/esm2022/lib/form-field/directives/prefix.directive.mjs +0 -24
  153. package/esm2022/lib/form-field/directives/suffix.directive.mjs +0 -24
  154. package/esm2022/lib/form-field/form-field.component.mjs +0 -132
  155. package/lib/form-field/directives/index.d.ts +0 -7
@@ -5,6 +5,12 @@ import * as i0 from "@angular/core";
5
5
  /**
6
6
  * The `BadgeComponent` (`<impdc-badge` or `any impdc-badge`) displays [preferably short] text with a rounded background and themed colors.
7
7
  * To use, import `BadgeModule` or another module that imports and exports that module from `@impartner/design-components`.
8
+ *
9
+ * Use badges to communicate the status of an item or the result of an action taken. Badges are non-interactive, meaning they should not
10
+ * be added or removed by a user. Try and keep badge text as short and clear as possible, 2 or 3 words max is probably best. Using short
11
+ * words increases the ability to scan.
12
+ *
13
+ * Use Tags for interactive experiences where users can add or remove.
8
14
  */
9
15
  export declare class BadgeComponent {
10
16
  /**
@@ -33,17 +39,25 @@ export declare class BadgeComponent {
33
39
  rounded: boolean;
34
40
  /**
35
41
  * Adds a dismiss icon to the right of the Badge text.
42
+ *
43
+ * Deprecated - Use Tags for interactive elements that a user may add or remove.
44
+ *
45
+ * @deprecated
36
46
  */
37
47
  dismissable: boolean;
38
48
  /**
39
49
  * An event emitted when the component is dismissed.
50
+ *
51
+ * Deprecated - Use Tags for interactive elements that a user may add or remove.
52
+ *
53
+ * @deprecated
40
54
  */
41
55
  dismiss: EventEmitter<Event | MouseEvent>;
42
56
  private get classBadge();
43
57
  private get classBadgeRounded();
44
58
  private get classNoPadding();
45
59
  private _dismissed;
46
- handleDismiss(event: MouseEvent | Event): void;
60
+ protected handleDismiss(event: MouseEvent | Event): void;
47
61
  static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
48
62
  static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "impdc-badge, [impdc-badge]", never, { "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "size": { "alias": "size"; "required": false; }; "hideBg": { "alias": "hideBg"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "dismissable": { "alias": "dismissable"; "required": false; }; }, { "dismiss": "dismiss"; }, never, never, false, never>;
49
63
  }
@@ -0,0 +1,31 @@
1
+ import { AfterViewChecked, EventEmitter, OnInit } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { NgbDate, NgbDatepicker, NgbDatepickerI18n } from '@ng-bootstrap/ng-bootstrap';
4
+ import * as i0 from "@angular/core";
5
+ type NgbDatepickerViewModel = NgbDatepicker['model'];
6
+ export declare class DatepickerNavComponent implements OnInit, AfterViewChecked {
7
+ private readonly _cd;
8
+ private readonly _destroyRef$;
9
+ protected readonly monthControl: FormControl<number | null>;
10
+ protected readonly yearControl: FormControl<number | null>;
11
+ protected readonly datepickerI18n: NgbDatepickerI18n;
12
+ date: NgbDate;
13
+ get disabled(): boolean;
14
+ set disabled(value: boolean);
15
+ private _disabled;
16
+ prevDisabled: boolean;
17
+ nextDisabled: boolean;
18
+ selectBoxes: NgbDatepickerViewModel['selectBoxes'];
19
+ navigate: EventEmitter<import("@ng-bootstrap/ng-bootstrap/datepicker/datepicker-view-model").NavigationEvent>;
20
+ selected: EventEmitter<NgbDate>;
21
+ onClickGoPrevious(event: MouseEvent): void;
22
+ onClickGoNext(event: MouseEvent): void;
23
+ changeMonth(month: number): void;
24
+ changeYear(year: number): void;
25
+ ngOnInit(): void;
26
+ ngAfterViewChecked(): void;
27
+ private _applyDateToControls;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerNavComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerNavComponent, "impdc-datepicker-nav", never, { "date": { "alias": "date"; "required": true; }; "disabled": { "alias": "disabled"; "required": true; }; "prevDisabled": { "alias": "prevDisabled"; "required": true; }; "nextDisabled": { "alias": "nextDisabled"; "required": true; }; "selectBoxes": { "alias": "selectBoxes"; "required": true; }; }, { "navigate": "navigate"; "selected": "selected"; }, never, never, true, never>;
30
+ }
31
+ export {};
@@ -0,0 +1 @@
1
+ export * from './datepicker-nav.component';
@@ -0,0 +1,14 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { NgbDate } from '@ng-bootstrap/ng-bootstrap';
3
+ import { ContentTemplateContext } from '@ng-bootstrap/ng-bootstrap/datepicker/datepicker-content-template-context';
4
+ import { DayTemplateContext } from '@ng-bootstrap/ng-bootstrap/datepicker/datepicker-day-template-context';
5
+ import * as i0 from "@angular/core";
6
+ export declare class DatepickerTemplateHostComponent {
7
+ private readonly _calendar;
8
+ readonly isWeekend: (date: NgbDate) => boolean;
9
+ readonly isToday: (date: NgbDate) => boolean;
10
+ dayTemplateRef: TemplateRef<DayTemplateContext>;
11
+ contentTemplateRef: TemplateRef<ContentTemplateContext>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerTemplateHostComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerTemplateHostComponent, "impdc-datepicker-template-host", never, {}, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1 @@
1
+ export * from './datepicker-template-host.component';
@@ -0,0 +1,157 @@
1
+ import { DoCheck, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { TranslationWidth } from '@angular/common';
3
+ import { ControlValueAccessor, FormControl, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
4
+ import { NgbDateStruct, NgbDatepicker } from '@ng-bootstrap/ng-bootstrap';
5
+ import { Subject } from 'rxjs';
6
+ import { ErrorStateMatcher, ICanUpdateErrorState, IHasErrorState, ImpdcFormFieldControl, ImpdcFormRoot } from '../../../form-field';
7
+ import { IDatetimePickerValue } from '../../types';
8
+ import * as i0 from "@angular/core";
9
+ interface ITimeOptions {
10
+ readonly border: boolean;
11
+ readonly layout: 'inline' | 'stacked';
12
+ }
13
+ export declare const DEFAULT_TIME_LAYOUT: ITimeOptions;
14
+ declare const _DatetimePickerComponentBase: import("../../../form-field").Constructor<import("../../../form-field").HasTabIndex> & import("../../../form-field").AbstractConstructor<import("../../../form-field").HasTabIndex> & import("../../../form-field").Constructor<import("../../../form-field").CanDisable> & import("../../../form-field").AbstractConstructor<import("../../../form-field").CanDisable> & import("../../../form-field").Constructor<ICanUpdateErrorState> & import("../../../form-field").AbstractConstructor<ICanUpdateErrorState> & {
15
+ new (_defaultErrorStateMatcher: ErrorStateMatcher, _formRoot: ImpdcFormRoot, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl | null): {
16
+ readonly stateChanges: Subject<void>;
17
+ _defaultErrorStateMatcher: ErrorStateMatcher;
18
+ _formRoot: ImpdcFormRoot;
19
+ _parentForm: NgForm;
20
+ _parentFormGroup: FormGroupDirective;
21
+ ngControl: NgControl | null;
22
+ };
23
+ };
24
+ /**
25
+ * A control for selecting date or datetime via an inline calendar control.
26
+ *
27
+ * Implements [ControlValueAccessor](https://angular.io/api/forms/ControlValueAccessor) to support two-way binding with
28
+ * Angular forms via usage of the \`[(ngModel)]\`, \`[formControl]\`, and \`[formControlName]\` directives.
29
+ *
30
+ * The date and time controls inside this component leverage the value adapter patterns and services of NG-Bootstrap's
31
+ * [Datepicker](https://ng-bootstrap.github.io/#/components/datepicker/overview#date-model) and
32
+ * [Timepicker](https://ng-bootstrap.github.io/#/components/timepicker/examples#adapter) components when working with input values.
33
+ * This means that `date` values will be [NgbDateStruct](https://ng-bootstrap.github.io/#/components/datepicker/api#NgbDateStruct)
34
+ * objects and `time` values will be [NgbTimeStruct](https://ng-bootstrap.github.io/#/components/timepicker/api#NgbTimeStruct) objects
35
+ * by default, and the [NgbDateAdapter](https://ng-bootstrap.github.io/#/components/datepicker/api#NgbDateAdapter) and
36
+ * [NgbTimeAdapter](https://ng-bootstrap.github.io/#/components/timepicker/api#NgbTimeAdapter) services will be used to handle them respectively.
37
+ * If usage of alternative date and time models is desired, consult NG-Bootstrap's documentation for directions.
38
+ */
39
+ export declare class DatetimePickerComponent extends _DatetimePickerComponentBase implements ControlValueAccessor, DoCheck, OnChanges, OnDestroy, OnInit, ImpdcFormFieldControl<IDatetimePickerValue<any, any> | null>, ICanUpdateErrorState, IHasErrorState {
40
+ private readonly _changeDetector;
41
+ private readonly _destroyRef;
42
+ private readonly _hostElement;
43
+ private readonly _ngbDateAdapter;
44
+ private readonly _uid;
45
+ private _previousControl?;
46
+ protected readonly NgTranslationWidth: typeof TranslationWidth;
47
+ protected readonly formGroup: import("@angular/forms").FormGroup<{
48
+ date: FormControl<any>;
49
+ time: FormControl<any>;
50
+ useMeridian: FormControl<boolean>;
51
+ }>;
52
+ protected cvaOnChange: (_: any) => void;
53
+ protected cvaOnTouched: () => void;
54
+ protected ngbDatepicker: NgbDatepicker;
55
+ /**
56
+ * A callback function that can be evaluated to decide if a given date is disabled
57
+ * in the calendar view.
58
+ *
59
+ * @param date An [`NgbDate`](https://ng-bootstrap.github.io/#/components/datepicker/api#NgbDate) value describing the singular date being evaluated.
60
+ * @param current The month and year selected for the current calendar view.
61
+ */
62
+ markDateDisabled?: (date: NgbDateStruct, current?: {
63
+ month: number;
64
+ year: number;
65
+ }) => boolean;
66
+ /**
67
+ * The earliest allowable date for display or selection.
68
+ *
69
+ * @default { year: 1900, month: 1, day: 1 }
70
+ */
71
+ get minDate(): NgbDateStruct;
72
+ set minDate(value: NgbDateStruct | null);
73
+ private _minDate;
74
+ /**
75
+ * The latest allowable date for display or selection.
76
+ *
77
+ * @default { year: 2099, month: 12, day: 31 }
78
+ */
79
+ get maxDate(): NgbDateStruct;
80
+ set maxDate(value: NgbDateStruct | null);
81
+ private _maxDate;
82
+ /**
83
+ * Configurable options for setting the layout of the date and time controls within the component.
84
+ */
85
+ get timeLayout(): ITimeOptions;
86
+ set timeLayout(value: Partial<ITimeOptions>);
87
+ private _timeLayout;
88
+ /**
89
+ * Label to be displayed with time controls to allow the user to input 24-hour or meridian-based (AM, PM) time.
90
+ */
91
+ meridianToggleLabel: string;
92
+ /**
93
+ * Set whether to display controls for selecting a time value in addition to the date.
94
+ */
95
+ withTime: boolean;
96
+ errorStateMatcher: ErrorStateMatcher;
97
+ /**
98
+ * Events fire when raw value of picker input changes. Mainly exists to handle
99
+ * two-way binding of `value` input property.
100
+ * @ignore
101
+ */
102
+ readonly valueChange: EventEmitter<IDatetimePickerValue<any, any> | null>;
103
+ /** @ignore */
104
+ readonly blur: EventEmitter<FocusEvent>;
105
+ constructor(_defaultErrorStateMatcher: ErrorStateMatcher, _formRoot: ImpdcFormRoot, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl);
106
+ /** @ignore */
107
+ focus(): void;
108
+ /** @ignore */
109
+ ngDoCheck(): void;
110
+ /** @ignore */
111
+ ngOnChanges(changes: SimpleChanges): void;
112
+ /** @ignore */
113
+ ngOnDestroy(): void;
114
+ /** @ignore */
115
+ ngOnInit(): void;
116
+ /** @ignore */
117
+ writeValue(obj: IDatetimePickerValue<any, any> | any): void;
118
+ /** @ignore */
119
+ registerOnChange(fn: any): void;
120
+ /** @ignore */
121
+ registerOnTouched(fn: any): void;
122
+ /** @ignore */
123
+ setDisabledState?(isDisabled: boolean): void;
124
+ get value(): IDatetimePickerValue<any, any> | null;
125
+ set value(value: IDatetimePickerValue<any, any> | null);
126
+ get id(): string;
127
+ set id(value: string);
128
+ protected _id: string;
129
+ /**
130
+ * Used to set requiredness of control in a template-based manner;
131
+ * not necessary when using the Angular reactive forms API and `required` validator.
132
+ *
133
+ * @default false
134
+ */
135
+ get required(): boolean;
136
+ set required(value: boolean);
137
+ private _required;
138
+ get focused(): boolean;
139
+ protected _focused: boolean;
140
+ readonly controlType: string;
141
+ readonly supportsAffixes: boolean;
142
+ protected get useMeridian(): boolean;
143
+ protected get useMeridianLabelText(): string;
144
+ protected handleFocusOut(evt: FocusEvent): void;
145
+ private _getValueFromFormModel;
146
+ private _dateIsOutsideCurrentMonth;
147
+ protected readonly markDateDisabledFn: (date: NgbDateStruct, current?: {
148
+ month: number;
149
+ year: number;
150
+ }) => boolean;
151
+ protected _onFocus(): void;
152
+ protected _onBlur(focusEvent: FocusEvent): void;
153
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatetimePickerComponent, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }]>;
154
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatetimePickerComponent, "impdc-datetime-picker", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "markDateDisabled": { "alias": "markDateDisabled"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "timeLayout": { "alias": "timeLayout"; "required": false; }; "meridianToggleLabel": { "alias": "meridianToggleLabel"; "required": false; }; "withTime": { "alias": "withTime"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "valueChange": "valueChange"; "blur": "blur"; }, never, never, true, never>;
155
+ static ngAcceptInputType_required: unknown;
156
+ }
157
+ export {};
@@ -0,0 +1 @@
1
+ export * from './datetime-picker.component';
@@ -0,0 +1,160 @@
1
+ import { DoCheck, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessor, FormControl, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
3
+ import { IDatetimePickerValue } from '../../types';
4
+ import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
5
+ import { Subject } from 'rxjs';
6
+ import { ErrorStateMatcher, ICanUpdateErrorState, IHasErrorState, ImpdcFormFieldControl, ImpdcFormRoot } from '../../../form-field';
7
+ import * as i0 from "@angular/core";
8
+ export interface IDatetimePickerPopupButtonLabels {
9
+ readonly cancelLabel: string;
10
+ readonly clearLabel: string;
11
+ readonly saveLabel: string;
12
+ }
13
+ export declare const DEFAULT_POPUP_BUTTON_LABELS: IDatetimePickerPopupButtonLabels;
14
+ declare const _DatetimePickerInputComponentBase: import("../../../form-field").Constructor<import("../../../form-field").HasTabIndex> & import("../../../form-field").AbstractConstructor<import("../../../form-field").HasTabIndex> & import("../../../form-field").Constructor<import("../../../form-field").CanDisable> & import("../../../form-field").AbstractConstructor<import("../../../form-field").CanDisable> & import("../../../form-field").Constructor<ICanUpdateErrorState> & import("../../../form-field").AbstractConstructor<ICanUpdateErrorState> & {
15
+ new (_defaultErrorStateMatcher: ErrorStateMatcher, _formRoot: ImpdcFormRoot, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl | null): {
16
+ readonly stateChanges: Subject<void>;
17
+ _defaultErrorStateMatcher: ErrorStateMatcher;
18
+ _formRoot: ImpdcFormRoot;
19
+ _parentForm: NgForm;
20
+ _parentFormGroup: FormGroupDirective;
21
+ ngControl: NgControl | null;
22
+ };
23
+ };
24
+ /**
25
+ * A control for selecting date or datetime via an interactive dropdown control.
26
+ *
27
+ * Implements [ControlValueAccessor](https://angular.io/api/forms/ControlValueAccessor) to support two-way binding with
28
+ * Angular forms via usage of the \`[(ngModel)]\`, \`[formControl]\`, and \`[formControlName]\` directives.
29
+ *
30
+ * The date and time controls inside this component leverage the value adapter patterns and services of NG-Bootstrap's
31
+ * [Datepicker](https://ng-bootstrap.github.io/#/components/datepicker/overview#date-model) and
32
+ * [Timepicker](https://ng-bootstrap.github.io/#/components/timepicker/examples#adapter) components when working with input values.
33
+ * This means that `date` values will be [NgbDateStruct](https://ng-bootstrap.github.io/#/components/datepicker/api#NgbDateStruct)
34
+ * objects and `time` values will be [NgbTimeStruct](https://ng-bootstrap.github.io/#/components/timepicker/api#NgbTimeStruct) objects
35
+ * by default, and the [NgbDateAdapter](https://ng-bootstrap.github.io/#/components/datepicker/api#NgbDateAdapter) and
36
+ * [NgbTimeAdapter](https://ng-bootstrap.github.io/#/components/timepicker/api#NgbTimeAdapter) services will be used to handle them respectively.
37
+ * If usage of alternative date and time models is desired, consult NG-Bootstrap's documentation for directions.
38
+ */
39
+ export declare class DatetimePickerInputComponent extends _DatetimePickerInputComponentBase implements ControlValueAccessor, DoCheck, OnChanges, OnDestroy, OnInit, ImpdcFormFieldControl<IDatetimePickerValue<any, any> | null>, ICanUpdateErrorState, IHasErrorState {
40
+ private readonly _changeDetector;
41
+ private readonly _destroyRef;
42
+ private readonly _ngbDateAdapter;
43
+ private readonly _ngbTimeAdapter;
44
+ private readonly _datetimeFormatter;
45
+ private readonly _uid;
46
+ private _previousControl?;
47
+ private _dropdownOpen;
48
+ protected readonly datetimePickerControl: FormControl<IDatetimePickerValue<any, any> | null>;
49
+ protected cvaOnChange: (_: any) => void;
50
+ protected cvaOnTouched: () => void;
51
+ protected _toggleButtonRef: ElementRef<HTMLButtonElement>;
52
+ /**
53
+ * A callback function that can be evaluated to decide if a given date is disabled
54
+ * in the calendar view.
55
+ *
56
+ * @param date An [`NgbDate`](https://ng-bootstrap.github.io/#/components/datepicker/api#NgbDate) value describing the singular date being evaluated.
57
+ * @param current The month and year selected for the current calendar view.
58
+ */
59
+ markDateDisabled?: (date: NgbDateStruct, current?: {
60
+ month: number;
61
+ year: number;
62
+ }) => boolean;
63
+ /**
64
+ * The earliest allowable date for display or selection.
65
+ *
66
+ * @default { year: 1900, month: 1, day: 1 }
67
+ */
68
+ get minDate(): NgbDateStruct;
69
+ set minDate(value: NgbDateStruct | null);
70
+ private _minDate;
71
+ /**
72
+ * The latest allowable date for display or selection.
73
+ *
74
+ * @default { year: 2099, month: 12, day: 31 }
75
+ */
76
+ get maxDate(): NgbDateStruct;
77
+ set maxDate(value: NgbDateStruct | null);
78
+ private _maxDate;
79
+ /**
80
+ * Set whether to display controls for selecting a time value in addition to the date.
81
+ */
82
+ withTime: boolean;
83
+ /**
84
+ * Label to be displayed with time controls to allow the user to input 24-hour or meridian-based (AM, PM) time.
85
+ */
86
+ meridianToggleLabel: string;
87
+ /**
88
+ * Object dictating the labels used for the buttons displayed in the footer of the datetime picker popup.
89
+ *
90
+ * @default { cancelLabel: "Cancel", clearLabel: "Clear", saveLabel: "Save" }
91
+ */
92
+ get popupButtonLabels(): IDatetimePickerPopupButtonLabels;
93
+ set popupButtonLabels(value: Partial<IDatetimePickerPopupButtonLabels>);
94
+ private _popupButtonLabels;
95
+ /**
96
+ * The placeholder text that will be displayed when no selection has been made.
97
+ *
98
+ * @default YYYY-MM-DD hh:mm
99
+ */
100
+ get placeholder(): string;
101
+ set placeholder(value: string);
102
+ private _placeholder;
103
+ errorStateMatcher: ErrorStateMatcher;
104
+ /**
105
+ * Events fire when raw value of picker input changes. Mainly exists to handle
106
+ * two-way binding of `value` input property.
107
+ * @ignore
108
+ */
109
+ readonly valueChange: EventEmitter<IDatetimePickerValue<any, any> | null>;
110
+ constructor(_defaultErrorStateMatcher: ErrorStateMatcher, _formRoot: ImpdcFormRoot, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl);
111
+ /** @ignore */
112
+ get empty(): boolean;
113
+ /** @ignore */
114
+ focus(options?: FocusOptions): void;
115
+ /** @ignore */
116
+ ngDoCheck(): void;
117
+ /** @ignore */
118
+ ngOnChanges(changes: SimpleChanges): void;
119
+ /** @ignore */
120
+ ngOnDestroy(): void;
121
+ /** @ignore */
122
+ ngOnInit(): void;
123
+ /** @ignore */
124
+ writeValue(obj: any): void;
125
+ /** @ignore */
126
+ registerOnChange(fn: any): void;
127
+ /** @ignore */
128
+ registerOnTouched(fn: any): void;
129
+ /** @ignore */
130
+ setDisabledState?(isDisabled: boolean): void;
131
+ get value(): IDatetimePickerValue<any, any> | null;
132
+ set value(value: IDatetimePickerValue<any, any> | null);
133
+ get id(): string;
134
+ set id(value: string);
135
+ protected _id: string;
136
+ /**
137
+ * Used to set requiredness of control in a template-based manner;
138
+ * not necessary when using the Angular reactive forms API and `required` validator.
139
+ *
140
+ * @default false
141
+ */
142
+ get required(): boolean;
143
+ set required(value: boolean);
144
+ private _required;
145
+ get focused(): boolean;
146
+ protected _focused: boolean;
147
+ readonly controlType: string;
148
+ readonly supportsAffixes: boolean;
149
+ protected displayedValue: string;
150
+ protected get placeholderText(): string;
151
+ protected updateValue(newValue: IDatetimePickerValue<any, any> | null): void;
152
+ protected handleOpenChange(isOpen: boolean): void;
153
+ protected _onFocus(): void;
154
+ protected _onBlur(): void;
155
+ private _updateDisplayedValue;
156
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatetimePickerInputComponent, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }]>;
157
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatetimePickerInputComponent, "impdc-datetime-picker-input", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "markDateDisabled": { "alias": "markDateDisabled"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "withTime": { "alias": "withTime"; "required": false; }; "meridianToggleLabel": { "alias": "meridianToggleLabel"; "required": false; }; "popupButtonLabels": { "alias": "popupButtonLabels"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
158
+ static ngAcceptInputType_required: unknown;
159
+ }
160
+ export {};
@@ -0,0 +1 @@
1
+ export * from './datetime-picker-input.component';
@@ -0,0 +1,24 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { IDatetimePickerValue } from '../../types';
4
+ import { DatetimePickerComponent } from '../datetime-picker/datetime-picker.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class DatetimePickerInputFooterComponent implements OnInit {
7
+ private readonly _cd;
8
+ private readonly _destroyRef;
9
+ protected readonly datetimePickerFormControl: FormControl<IDatetimePickerValue<any, any> | null>;
10
+ datetimePicker: DatetimePickerComponent;
11
+ initialValue: IDatetimePickerValue<any, any> | null;
12
+ cancelLabel: string;
13
+ clearLabel: string;
14
+ saveLabel: string;
15
+ readonly datetimeSelected: EventEmitter<IDatetimePickerValue<any, any> | null>;
16
+ readonly closeRequested: EventEmitter<void>;
17
+ ngOnInit(): void;
18
+ allowSave(): boolean;
19
+ clearAndClose(): void;
20
+ saveAndClose(): void;
21
+ closePicker(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatetimePickerInputFooterComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatetimePickerInputFooterComponent, "impdc-datetime-picker-input-footer", never, { "datetimePicker": { "alias": "datetimePicker"; "required": true; }; "initialValue": { "alias": "initialValue"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "clearLabel": { "alias": "clearLabel"; "required": false; }; "saveLabel": { "alias": "saveLabel"; "required": false; }; }, { "datetimeSelected": "datetimeSelected"; "closeRequested": "closeRequested"; }, never, never, true, never>;
24
+ }
@@ -0,0 +1 @@
1
+ export * from './datetime-picker-input-footer.component';
@@ -0,0 +1,5 @@
1
+ export * from './datepicker-nav';
2
+ export * from './datepicker-template-host';
3
+ export * from './datetime-picker';
4
+ export * from './datetime-picker-input-footer';
5
+ export * from './datetime-picker-input';
@@ -0,0 +1,4 @@
1
+ import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
2
+ export declare const DEFAULT_USE_MERIDIAN_LABEL = "Use 24-hour format";
3
+ export declare const DEFAULT_MIN_DATE: NgbDateStruct;
4
+ export declare const DEFAULT_MAX_DATE: NgbDateStruct;
@@ -0,0 +1 @@
1
+ export * from './datetime-picker-defaults';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/datetime-picker/datetime-picker.component";
3
+ import * as i2 from "./components/datetime-picker-input/datetime-picker-input.component";
4
+ export declare class DatetimePickerModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatetimePickerModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DatetimePickerModule, never, [typeof i1.DatetimePickerComponent, typeof i2.DatetimePickerInputComponent], [typeof i1.DatetimePickerComponent, typeof i2.DatetimePickerInputComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<DatetimePickerModule>;
8
+ }
@@ -0,0 +1,4 @@
1
+ export { IDatetimePickerValue } from './types';
2
+ export { IMPDC_DATETIME_PICKER_FORMATTER_FACTORY, ImpdcDatetimeFormatter, ImpdcDatetimeISOFormatter } from './services';
3
+ export { DatepickerNavComponent, DatetimePickerInputFooterComponent, DatepickerTemplateHostComponent, DatetimePickerComponent, DatetimePickerInputComponent } from './components';
4
+ export * from './datetime-picker.module';
@@ -0,0 +1,20 @@
1
+ import { NgbDateStruct, NgbTimeStruct } from '@ng-bootstrap/ng-bootstrap';
2
+ import * as i0 from "@angular/core";
3
+ export declare function IMPDC_DATETIME_PICKER_FORMATTER_FACTORY(): ImpdcDatetimeISOFormatter;
4
+ export declare abstract class ImpdcDatetimeFormatter {
5
+ abstract format(date: NgbDateStruct, time?: NgbTimeStruct | null | {
6
+ value: NgbTimeStruct | null;
7
+ withSeconds: boolean;
8
+ }): string;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImpdcDatetimeFormatter, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<ImpdcDatetimeFormatter>;
11
+ }
12
+ export declare class ImpdcDatetimeISOFormatter extends ImpdcDatetimeFormatter {
13
+ format(date: NgbDateStruct, time?: NgbTimeStruct | null | {
14
+ value: NgbTimeStruct | null;
15
+ withSeconds: boolean;
16
+ }): string;
17
+ private _padNumberString;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImpdcDatetimeISOFormatter, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<ImpdcDatetimeISOFormatter>;
20
+ }
@@ -0,0 +1 @@
1
+ export * from './datetime-formatter.service';
@@ -0,0 +1 @@
1
+ export * from './datetime-formatter';
@@ -0,0 +1,5 @@
1
+ import { NgbDateStruct, NgbTimeStruct } from '@ng-bootstrap/ng-bootstrap';
2
+ export interface IDatetimePickerValue<TDate = NgbDateStruct, TTime = NgbTimeStruct> {
3
+ readonly date: TDate | null;
4
+ readonly time?: TTime | null;
5
+ }
@@ -0,0 +1 @@
1
+ export * from './datetime-picker-value.interface';
@@ -4,19 +4,21 @@ import * as i2 from "@angular/forms";
4
4
  import * as i3 from "./text-highlight/text-highlight.module";
5
5
  import * as i4 from "./icon/icon.module";
6
6
  import * as i5 from "./badge/badge.module";
7
- import * as i6 from "./progress-bar/progress-bar.module";
8
- import * as i7 from "./button/button.module";
9
- import * as i8 from "./table/table.module";
10
- import * as i9 from "./dropdown/dropdown.module";
11
- import * as i10 from "./alert/alert.module";
12
- import * as i11 from "./modal/modal.module";
13
- import * as i12 from "./file-upload/file-upload.module";
14
- import * as i13 from "./avatar/avatar.module";
15
- import * as i14 from "./avatar-group/avatar-group.module";
16
- import * as i15 from "./breadcrumb/breadcrumb.module";
17
- import * as i16 from "./branding/branding.module";
7
+ import * as i6 from "./tag/tag.component";
8
+ import * as i7 from "./progress-bar/progress-bar.module";
9
+ import * as i8 from "./button/button.module";
10
+ import * as i9 from "./table/table.module";
11
+ import * as i10 from "./dropdown/dropdown.module";
12
+ import * as i11 from "./alert/alert.module";
13
+ import * as i12 from "./modal/modal.module";
14
+ import * as i13 from "./file-upload/file-upload.module";
15
+ import * as i14 from "./avatar/avatar.module";
16
+ import * as i15 from "./avatar-group/avatar-group.module";
17
+ import * as i16 from "./breadcrumb/breadcrumb.module";
18
+ import * as i17 from "./branding/branding.module";
19
+ import * as i18 from "./datetime-picker/datetime-picker.module";
18
20
  export default class DesignComponentsModule {
19
21
  static ɵfac: i0.ɵɵFactoryDeclaration<DesignComponentsModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<DesignComponentsModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.TextHighlightModule, typeof i4.IconModule, typeof i5.BadgeModule, typeof i6.ProgressBarModule, typeof i7.ButtonModule, typeof i8.TableModule, typeof i9.DropdownModule, typeof i10.AlertModule, typeof i11.ModalModule, typeof i12.FileUploadModule, typeof i13.AvatarModule, typeof i14.AvatarGroupModule, typeof i15.BreadcrumbModule, typeof i16.BrandingModule], [typeof i3.TextHighlightModule, typeof i4.IconModule, typeof i5.BadgeModule, typeof i6.ProgressBarModule, typeof i7.ButtonModule, typeof i8.TableModule, typeof i9.DropdownModule, typeof i10.AlertModule, typeof i11.ModalModule, typeof i12.FileUploadModule, typeof i13.AvatarModule, typeof i14.AvatarGroupModule, typeof i15.BreadcrumbModule, typeof i16.BrandingModule]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DesignComponentsModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.TextHighlightModule, typeof i4.IconModule, typeof i5.BadgeModule, typeof i6.TagComponent, typeof i7.ProgressBarModule, typeof i8.ButtonModule, typeof i9.TableModule, typeof i10.DropdownModule, typeof i11.AlertModule, typeof i12.ModalModule, typeof i13.FileUploadModule, typeof i14.AvatarModule, typeof i15.AvatarGroupModule, typeof i16.BreadcrumbModule, typeof i17.BrandingModule, typeof i18.DatetimePickerModule], [typeof i3.TextHighlightModule, typeof i4.IconModule, typeof i5.BadgeModule, typeof i6.TagComponent, typeof i7.ProgressBarModule, typeof i8.ButtonModule, typeof i9.TableModule, typeof i10.DropdownModule, typeof i11.AlertModule, typeof i12.ModalModule, typeof i13.FileUploadModule, typeof i14.AvatarModule, typeof i15.AvatarGroupModule, typeof i16.BreadcrumbModule, typeof i17.BrandingModule, typeof i18.DatetimePickerModule]>;
21
23
  static ɵinj: i0.ɵɵInjectorDeclaration<DesignComponentsModule>;
22
24
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class CornerHintDirective {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<CornerHintDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<CornerHintDirective, "impdc-corner-hint", never, {}, {}, never, never, false, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CornerHintDirective, "impdc-corner-hint", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -4,5 +4,5 @@ export declare const IMPDC_ERROR: InjectionToken<ErrorDirective>;
4
4
  export declare class ErrorDirective {
5
5
  id: string;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<ErrorDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<ErrorDirective, "impdc-error, [impdc-error]", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, false, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ErrorDirective, "impdc-error, [impdc-error]", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
8
8
  }
@@ -13,7 +13,7 @@ export declare class RootFormGroupDirective implements ImpdcFormRoot {
13
13
  get submitted(): boolean;
14
14
  get form(): FormGroupDirective | NgForm;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<RootFormGroupDirective, [{ host: true; }, { optional: true; skipSelf: true; }]>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<RootFormGroupDirective, "[formGroup]", never, {}, {}, never, never, false, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RootFormGroupDirective, "[formGroup]", never, {}, {}, never, never, true, never>;
17
17
  }
18
18
  export declare class RootNgFormDirective implements ImpdcFormRoot {
19
19
  private _ngForm;
@@ -22,5 +22,5 @@ export declare class RootNgFormDirective implements ImpdcFormRoot {
22
22
  get submitted(): boolean;
23
23
  get form(): FormGroupDirective | NgForm;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<RootNgFormDirective, [{ host: true; }, { optional: true; skipSelf: true; }]>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<RootNgFormDirective, "[ngForm]", never, {}, {}, never, never, false, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RootNgFormDirective, "[ngForm]", never, {}, {}, never, never, true, never>;
26
26
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class HintDirective {
3
3
  id: string;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<HintDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<HintDirective, "impdc-hint", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, false, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HintDirective, "impdc-hint", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
6
6
  }
@@ -0,0 +1,15 @@
1
+ import { CornerHintDirective } from './corner-hint.directive';
2
+ import { ErrorDirective } from './error.directive';
3
+ import { RootFormGroupDirective, RootNgFormDirective } from './form-root.directive';
4
+ import { HintDirective } from './hint.directive';
5
+ import { LabelDirective } from './label.directive';
6
+ import { PrefixDirective } from './prefix.directive';
7
+ import { SuffixDirective } from './suffix.directive';
8
+ export { CornerHintDirective } from './corner-hint.directive';
9
+ export { ErrorDirective, IMPDC_ERROR } from './error.directive';
10
+ export { IMPDC_FORM_ROOT, ImpdcFormRoot, RootFormGroupDirective, RootNgFormDirective } from './form-root.directive';
11
+ export { HintDirective } from './hint.directive';
12
+ export { LabelDirective } from './label.directive';
13
+ export { PrefixDirective, IMPDC_PREFIX } from './prefix.directive';
14
+ export { SuffixDirective, IMPDC_SUFFIX } from './suffix.directive';
15
+ export declare const FORM_FIELD_DIRECTIVES: readonly [typeof CornerHintDirective, typeof ErrorDirective, typeof RootFormGroupDirective, typeof RootNgFormDirective, typeof HintDirective, typeof LabelDirective, typeof PrefixDirective, typeof SuffixDirective];
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class LabelDirective {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<LabelDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<LabelDirective, "impdc-label", never, {}, {}, never, never, false, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LabelDirective, "impdc-label", never, {}, {}, never, never, true, never>;
5
5
  }