@clr/angular 13.9.0 → 13.9.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 (167) hide show
  1. package/accordion/accordion-panel.d.ts +2 -2
  2. package/accordion/stepper/stepper-panel.d.ts +2 -2
  3. package/button/button-group/button-group.d.ts +2 -2
  4. package/clarity.api.md +49 -44
  5. package/data/datagrid/datagrid-action-overflow.d.ts +2 -2
  6. package/data/datagrid/datagrid-column-separator.d.ts +1 -1
  7. package/data/datagrid/datagrid-column-toggle.d.ts +2 -6
  8. package/data/datagrid/datagrid-filter.d.ts +2 -2
  9. package/data/datagrid/datagrid.d.ts +1 -1
  10. package/data/datagrid/providers/selection.d.ts +1 -3
  11. package/data/stack-view/stack-block.d.ts +3 -3
  12. package/data/stack-view/stack-content-input.d.ts +0 -1
  13. package/data/stack-view/stack-view-custom-tags.d.ts +0 -2
  14. package/data/tree-view/tree-node.d.ts +3 -3
  15. package/esm2020/accordion/accordion-panel.mjs +9 -12
  16. package/esm2020/accordion/stepper/stepper-panel.mjs +7 -11
  17. package/esm2020/button/button-group/button-group.mjs +7 -12
  18. package/esm2020/button/button-group/button.mjs +1 -1
  19. package/esm2020/button/button-loading/loading-button.mjs +1 -1
  20. package/esm2020/data/datagrid/built-in/comparators/datagrid-property-comparator.mjs +1 -1
  21. package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter-impl.mjs +1 -1
  22. package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter.mjs +1 -1
  23. package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter-impl.mjs +1 -1
  24. package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter.mjs +1 -1
  25. package/esm2020/data/datagrid/built-in/nested-property.mjs +1 -1
  26. package/esm2020/data/datagrid/datagrid-action-overflow.mjs +8 -11
  27. package/esm2020/data/datagrid/datagrid-cell.mjs +1 -1
  28. package/esm2020/data/datagrid/datagrid-column-separator.mjs +6 -10
  29. package/esm2020/data/datagrid/datagrid-column-toggle.mjs +9 -22
  30. package/esm2020/data/datagrid/datagrid-column.mjs +1 -1
  31. package/esm2020/data/datagrid/datagrid-detail.mjs +1 -1
  32. package/esm2020/data/datagrid/datagrid-filter.mjs +7 -10
  33. package/esm2020/data/datagrid/datagrid-footer.mjs +1 -1
  34. package/esm2020/data/datagrid/datagrid-hideable-column.mjs +1 -1
  35. package/esm2020/data/datagrid/datagrid-if-detail.mjs +1 -1
  36. package/esm2020/data/datagrid/datagrid-items.mjs +1 -1
  37. package/esm2020/data/datagrid/datagrid-pagination.mjs +1 -1
  38. package/esm2020/data/datagrid/datagrid-placeholder.mjs +1 -1
  39. package/esm2020/data/datagrid/datagrid-row-detail.mjs +1 -1
  40. package/esm2020/data/datagrid/datagrid-row.mjs +1 -1
  41. package/esm2020/data/datagrid/datagrid.mjs +5 -9
  42. package/esm2020/data/datagrid/providers/column-resizer.service.mjs +1 -1
  43. package/esm2020/data/datagrid/providers/detail.service.mjs +1 -1
  44. package/esm2020/data/datagrid/providers/display-mode.service.mjs +1 -1
  45. package/esm2020/data/datagrid/providers/filters.mjs +1 -1
  46. package/esm2020/data/datagrid/providers/global-expandable-rows.mjs +1 -1
  47. package/esm2020/data/datagrid/providers/items.mjs +1 -1
  48. package/esm2020/data/datagrid/providers/page.mjs +1 -1
  49. package/esm2020/data/datagrid/providers/row-action-service.mjs +1 -1
  50. package/esm2020/data/datagrid/providers/selection.mjs +4 -5
  51. package/esm2020/data/datagrid/providers/sort.mjs +1 -1
  52. package/esm2020/data/datagrid/providers/state-debouncer.provider.mjs +1 -1
  53. package/esm2020/data/datagrid/providers/table-size.service.mjs +1 -1
  54. package/esm2020/data/datagrid/render/header-renderer.mjs +1 -1
  55. package/esm2020/data/datagrid/render/main-renderer.mjs +1 -1
  56. package/esm2020/data/datagrid/render/render-organizer.mjs +1 -1
  57. package/esm2020/data/datagrid/render/row-renderer.mjs +1 -1
  58. package/esm2020/data/datagrid/utils/datagrid-filter-registrar.mjs +1 -1
  59. package/esm2020/data/stack-view/stack-block.mjs +7 -11
  60. package/esm2020/data/stack-view/stack-content-input.mjs +7 -10
  61. package/esm2020/data/stack-view/stack-view-custom-tags.mjs +8 -13
  62. package/esm2020/data/tree-view/tree-focus-manager.service.mjs +1 -1
  63. package/esm2020/data/tree-view/tree-node.mjs +7 -20
  64. package/esm2020/emphasis/alert/alerts.mjs +1 -1
  65. package/esm2020/emphasis/alert/providers/icon-and-types.service.mjs +1 -1
  66. package/esm2020/emphasis/alert/providers/multi-alert.service.mjs +1 -1
  67. package/esm2020/forms/checkbox/checkbox-container.mjs +1 -1
  68. package/esm2020/forms/combobox/combobox.mjs +19 -20
  69. package/esm2020/forms/combobox/option-items.directive.mjs +1 -1
  70. package/esm2020/forms/combobox/option.mjs +8 -13
  71. package/esm2020/forms/combobox/options.mjs +10 -19
  72. package/esm2020/forms/combobox/providers/combobox-focus-handler.service.mjs +4 -9
  73. package/esm2020/forms/combobox/providers/option-selection.service.mjs +1 -1
  74. package/esm2020/forms/common/abstract-control.mjs +1 -1
  75. package/esm2020/forms/common/providers/container-id.service.mjs +1 -1
  76. package/esm2020/forms/common/providers/control-id.service.mjs +1 -1
  77. package/esm2020/forms/common/wrapped-control.mjs +1 -8
  78. package/esm2020/forms/datalist/providers/datalist-id.service.mjs +1 -1
  79. package/esm2020/forms/datepicker/date-container.mjs +1 -1
  80. package/esm2020/forms/datepicker/date-input.mjs +1 -1
  81. package/esm2020/forms/datepicker/date-input.validator.mjs +40 -0
  82. package/esm2020/forms/datepicker/datepicker.module.mjs +5 -1
  83. package/esm2020/forms/datepicker/day.mjs +1 -1
  84. package/esm2020/forms/datepicker/index.mjs +2 -1
  85. package/esm2020/forms/datepicker/model/calendar.model.mjs +1 -1
  86. package/esm2020/forms/datepicker/model/day.model.mjs +1 -1
  87. package/esm2020/forms/datepicker/providers/date-form-control.service.mjs +1 -1
  88. package/esm2020/forms/datepicker/providers/date-io.service.mjs +1 -1
  89. package/esm2020/forms/datepicker/providers/date-navigation.service.mjs +1 -1
  90. package/esm2020/forms/datepicker/yearpicker.mjs +1 -10
  91. package/esm2020/forms/radio/radio-container.mjs +1 -1
  92. package/esm2020/layout/nav/aria-current-link.mjs +1 -1
  93. package/esm2020/layout/nav/providers/responsive-navigation.service.mjs +1 -1
  94. package/esm2020/layout/nav/responsive-nav-codes.mjs +1 -1
  95. package/esm2020/layout/tabs/tab-content.mjs +6 -14
  96. package/esm2020/layout/tabs/tab-link.directive.mjs +6 -14
  97. package/esm2020/layout/tabs/tab.mjs +3 -4
  98. package/esm2020/layout/vertical-nav/providers/vertical-nav-group-registration.service.mjs +1 -1
  99. package/esm2020/modal/modal.mjs +9 -12
  100. package/esm2020/popover/common/abstract-popover.mjs +1 -1
  101. package/esm2020/popover/common/popover.mjs +1 -1
  102. package/esm2020/popover/dropdown/dropdown-item.mjs +1 -1
  103. package/esm2020/popover/dropdown/dropdown-trigger.mjs +1 -1
  104. package/esm2020/popover/dropdown/providers/dropdown-focus-handler.service.mjs +6 -9
  105. package/esm2020/popover/signpost/signpost-content.mjs +8 -12
  106. package/esm2020/popover/signpost/signpost-trigger.mjs +1 -1
  107. package/esm2020/popover/signpost/signpost.mjs +1 -1
  108. package/esm2020/popover/tooltip/tooltip-content.mjs +5 -9
  109. package/esm2020/popover/tooltip/tooltip-trigger.mjs +1 -1
  110. package/esm2020/popover/tooltip/tooltip.mjs +3 -18
  111. package/esm2020/timeline/providers/timeline-icon-attribute.service.mjs +1 -1
  112. package/esm2020/timeline/timeline-step.mjs +1 -1
  113. package/esm2020/utils/a11y/aria-live.service.mjs +1 -1
  114. package/esm2020/utils/chocolate/willy-wonka.mjs +1 -1
  115. package/esm2020/utils/conditional/if-active.directive.mjs +1 -1
  116. package/esm2020/utils/conditional/if-active.service.mjs +1 -1
  117. package/esm2020/utils/conditional/if-expanded.service.mjs +1 -1
  118. package/esm2020/utils/conditional/if-open.directive.mjs +1 -1
  119. package/esm2020/utils/drag-and-drop/drag-event.mjs +1 -1
  120. package/esm2020/utils/drag-and-drop/draggable/draggable.mjs +1 -1
  121. package/esm2020/utils/drag-and-drop/providers/drag-event-listener.service.mjs +1 -1
  122. package/esm2020/utils/drag-and-drop/providers/drag-handle-registrar.service.mjs +1 -1
  123. package/esm2020/utils/drag-and-drop/providers/draggable-snapshot.service.mjs +1 -1
  124. package/esm2020/utils/focus/focus.service.mjs +1 -1
  125. package/esm2020/utils/focus/focusable-item/basic-focusable-item.service.mjs +7 -11
  126. package/esm2020/utils/focus/focusable-item/custom-focusable-item-provider.mjs +1 -3
  127. package/esm2020/utils/focus-trap/focus-trap.directive.mjs +1 -1
  128. package/esm2020/utils/id-generator/id-generator.service.mjs +1 -7
  129. package/esm2020/utils/loading/loading.mjs +1 -1
  130. package/esm2020/utils/popover/popover-content.mjs +1 -1
  131. package/esm2020/utils/popover/providers/popover-events.service.mjs +1 -1
  132. package/esm2020/utils/popover/providers/popover-position.service.mjs +1 -1
  133. package/esm2020/utils/popover/providers/popover-toggle.service.mjs +1 -1
  134. package/esm2020/wizard/providers/button-hub.service.mjs +1 -1
  135. package/esm2020/wizard/providers/header-actions.service.mjs +1 -1
  136. package/esm2020/wizard/providers/page-collection.service.mjs +1 -1
  137. package/esm2020/wizard/providers/wizard-navigation.service.mjs +1 -1
  138. package/esm2020/wizard/wizard-button.mjs +1 -1
  139. package/esm2020/wizard/wizard-header-action.mjs +1 -1
  140. package/esm2020/wizard/wizard-page.mjs +1 -1
  141. package/esm2020/wizard/wizard-stepnav-item.mjs +1 -1
  142. package/esm2020/wizard/wizard.mjs +8 -23
  143. package/fesm2015/clr-angular.mjs +414 -561
  144. package/fesm2015/clr-angular.mjs.map +1 -1
  145. package/fesm2020/clr-angular.mjs +421 -560
  146. package/fesm2020/clr-angular.mjs.map +1 -1
  147. package/forms/combobox/combobox.d.ts +4 -5
  148. package/forms/combobox/option.d.ts +1 -2
  149. package/forms/combobox/options.d.ts +3 -6
  150. package/forms/combobox/providers/combobox-focus-handler.service.d.ts +2 -6
  151. package/forms/datepicker/date-input.validator.d.ts +10 -0
  152. package/forms/datepicker/datepicker.module.d.ts +14 -13
  153. package/forms/datepicker/index.d.ts +1 -0
  154. package/forms/datepicker/yearpicker.d.ts +0 -2
  155. package/layout/tabs/tab-content.d.ts +2 -5
  156. package/layout/tabs/tab-link.directive.d.ts +2 -5
  157. package/modal/modal.d.ts +1 -1
  158. package/package.json +1 -1
  159. package/popover/dropdown/providers/dropdown-focus-handler.service.d.ts +4 -7
  160. package/popover/signpost/signpost-content.d.ts +3 -3
  161. package/popover/tooltip/tooltip-content.d.ts +2 -3
  162. package/utils/focus/focusable-item/basic-focusable-item.service.d.ts +4 -7
  163. package/utils/focus/focusable-item/custom-focusable-item-provider.d.ts +1 -4
  164. package/utils/id-generator/id-generator.service.d.ts +0 -6
  165. package/wizard/wizard.d.ts +2 -2
  166. package/esm2020/utils/aria/aria.service.mjs +0 -16
  167. package/utils/aria/aria.service.d.ts +0 -8
@@ -1,7 +1,6 @@
1
1
  import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, Renderer2, ViewContainerRef } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { Observable } from 'rxjs';
4
- import { AriaService } from '../../utils/aria/aria.service';
5
4
  import { ClrCommonStringsService } from '../../utils/i18n/common-strings.service';
6
5
  import { ClrLoadingState } from '../../utils/loading/loading';
7
6
  import { LoadingListener } from '../../utils/loading/loading-listener';
@@ -28,17 +27,17 @@ export declare class ClrCombobox<T> extends WrappedFormControl<ClrComboboxContai
28
27
  private controlStateService;
29
28
  private containerService;
30
29
  private platformId;
31
- private ariaService;
32
30
  private focusHandler;
33
31
  private cdr;
34
32
  textbox: ElementRef;
35
33
  trigger: ElementRef;
36
34
  optionSelected: ClrOptionSelected<T>;
35
+ private options;
37
36
  private onChangeCallback;
38
37
  protected index: number;
39
38
  invalid: boolean;
40
39
  focused: boolean;
41
- constructor(vcr: ViewContainerRef, injector: Injector, control: NgControl, renderer: Renderer2, el: ElementRef, optionSelectionService: OptionSelectionService<T>, commonStrings: ClrCommonStringsService, toggleService: ClrPopoverToggleService, positionService: ClrPopoverPositionService, controlStateService: IfControlStateService, containerService: ComboboxContainerService, platformId: any, ariaService: AriaService, focusHandler: ComboboxFocusHandler<T>, cdr: ChangeDetectorRef);
40
+ constructor(vcr: ViewContainerRef, injector: Injector, control: NgControl, renderer: Renderer2, el: ElementRef, optionSelectionService: OptionSelectionService<T>, commonStrings: ClrCommonStringsService, toggleService: ClrPopoverToggleService, positionService: ClrPopoverPositionService, controlStateService: IfControlStateService, containerService: ComboboxContainerService, platformId: any, focusHandler: ComboboxFocusHandler<T>, cdr: ChangeDetectorRef);
42
41
  focusedPill: any;
43
42
  get id(): string;
44
43
  set id(id: string);
@@ -80,6 +79,6 @@ export declare class ClrCombobox<T> extends WrappedFormControl<ClrComboboxContai
80
79
  private getDisplayNames;
81
80
  ngAfterContentInit(): void;
82
81
  ngAfterViewInit(): void;
83
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrCombobox<any>, [null, null, { optional: true; self: true; }, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null, null, null, null]>;
84
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrCombobox<any>, "clr-combobox", never, { "placeholder": "placeholder"; "multiSelect": "clrMulti"; }, { "clrInputChange": "clrInputChange"; "clrOpenChange": "clrOpenChange"; "clrSelectionChange": "clrSelectionChange"; }, ["optionSelected"], ["*"]>;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrCombobox<any>, [null, null, { optional: true; self: true; }, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null, null, null]>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrCombobox<any>, "clr-combobox", never, { "placeholder": "placeholder"; "multiSelect": "clrMulti"; }, { "clrInputChange": "clrInputChange"; "clrOpenChange": "clrOpenChange"; "clrSelectionChange": "clrSelectionChange"; }, ["optionSelected", "options"], ["*"]>;
85
84
  }
@@ -8,7 +8,6 @@ export declare class ClrOption<T> implements OnInit {
8
8
  commonStrings: ClrCommonStringsService;
9
9
  private focusHandler;
10
10
  private optionSelectionService;
11
- private autoId;
12
11
  optionProxy: OptionProxy<T>;
13
12
  private _id;
14
13
  set optionId(id: string);
@@ -17,7 +16,7 @@ export declare class ClrOption<T> implements OnInit {
17
16
  set value(value: T);
18
17
  get value(): T;
19
18
  get selected(): boolean;
20
- constructor(elRef: ElementRef, commonStrings: ClrCommonStringsService, focusHandler: ComboboxFocusHandler<T>, optionSelectionService: OptionSelectionService<T>, autoId: string);
19
+ constructor(elRef: ElementRef, commonStrings: ClrCommonStringsService, focusHandler: ComboboxFocusHandler<T>, optionSelectionService: OptionSelectionService<T>);
21
20
  ngOnInit(): void;
22
21
  onClick(): void;
23
22
  get focusClass(): boolean;
@@ -1,5 +1,4 @@
1
1
  import { AfterViewInit, ElementRef, OnDestroy, QueryList } from '@angular/core';
2
- import { AriaService } from '../../utils/aria/aria.service';
3
2
  import { ClrCommonStringsService } from '../../utils/i18n/common-strings.service';
4
3
  import { ClrLoadingState } from '../../utils/loading/loading';
5
4
  import { LoadingListener } from '../../utils/loading/loading-listener';
@@ -11,7 +10,6 @@ import * as i0 from "@angular/core";
11
10
  export declare class ClrOptions<T> implements AfterViewInit, LoadingListener, OnDestroy {
12
11
  optionSelectionService: OptionSelectionService<T>;
13
12
  id: number;
14
- private ariaService;
15
13
  private el;
16
14
  commonStrings: ClrCommonStringsService;
17
15
  private focusHandler;
@@ -19,20 +17,19 @@ export declare class ClrOptions<T> implements AfterViewInit, LoadingListener, On
19
17
  private document;
20
18
  loading: boolean;
21
19
  private subscriptions;
22
- constructor(optionSelectionService: OptionSelectionService<T>, id: number, ariaService: AriaService, el: ElementRef, commonStrings: ClrCommonStringsService, focusHandler: ComboboxFocusHandler<T>, toggleService: ClrPopoverToggleService, parentHost: ElementRef, document: any);
20
+ constructor(optionSelectionService: OptionSelectionService<T>, id: number, el: ElementRef, commonStrings: ClrCommonStringsService, focusHandler: ComboboxFocusHandler<T>, toggleService: ClrPopoverToggleService, parentHost: ElementRef, document: any);
23
21
  searchText(input: string): string;
24
22
  /**
25
23
  * Tests if the list of options is empty, meaning it doesn't contain any items
26
24
  */
27
25
  get emptyOptions(): boolean;
28
- set optionsId(id: string);
29
- get optionsId(): string;
26
+ optionsId: string;
30
27
  _items: QueryList<ClrOption<T>>;
31
28
  set items(items: QueryList<ClrOption<T>>);
32
29
  get items(): QueryList<ClrOption<T>>;
33
30
  loadingStateChange(state: ClrLoadingState): void;
34
31
  ngAfterViewInit(): void;
35
32
  ngOnDestroy(): void;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrOptions<any>, [null, null, null, null, null, null, null, { optional: true; }, null]>;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrOptions<any>, [null, null, null, null, null, null, { optional: true; }, null]>;
37
34
  static ɵcmp: i0.ɵɵComponentDeclaration<ClrOptions<any>, "clr-options", never, { "optionsId": "id"; }, {}, ["items"], ["*"]>;
38
35
  }
@@ -4,11 +4,10 @@ import { PseudoFocusModel } from '../model/pseudo-focus.model';
4
4
  import { OptionSelectionService } from './option-selection.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ComboboxFocusHandler<T> {
7
- id: string;
8
7
  private toggleService;
9
8
  private selectionService;
10
9
  private platformId;
11
- constructor(id: string, rendererFactory: RendererFactory2, toggleService: ClrPopoverToggleService, selectionService: OptionSelectionService<T>, platformId: any);
10
+ constructor(rendererFactory: RendererFactory2, toggleService: ClrPopoverToggleService, selectionService: OptionSelectionService<T>, platformId: any);
12
11
  componentCdRef: ChangeDetectorRef;
13
12
  private renderer;
14
13
  private handleFocusSubscription;
@@ -35,10 +34,7 @@ export declare class ComboboxFocusHandler<T> {
35
34
  static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxFocusHandler<any>, never>;
36
35
  static ɵprov: i0.ɵɵInjectableDeclaration<ComboboxFocusHandler<any>>;
37
36
  }
38
- export declare const COMBOBOX_FOCUS_HANDLER_PROVIDER: ({
39
- provide: import("@angular/core").InjectionToken<string>;
40
- useFactory: typeof import("../../../utils/id-generator/id-generator.service").uniqueIdFactory;
41
- } | import("@angular/core").Type<ComboboxFocusHandler<unknown>> | {
37
+ export declare const COMBOBOX_FOCUS_HANDLER_PROVIDER: (import("@angular/core").Type<ComboboxFocusHandler<unknown>> | {
42
38
  provide: typeof import("../../../utils/focus/focusable-item/focusable-item").FocusableItem;
43
39
  useExisting: import("@angular/core").Type<ComboboxFocusHandler<unknown>>;
44
40
  })[];
@@ -0,0 +1,10 @@
1
+ import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
2
+ import { DateIOService } from './providers/date-io.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ClrDateInputValidator implements Validator {
5
+ private dateIOService;
6
+ constructor(dateIOService: DateIOService);
7
+ validate(control: AbstractControl): ValidationErrors;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrDateInputValidator, [{ optional: true; }]>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClrDateInputValidator, "[clrDate]", never, {}, {}, never>;
10
+ }
@@ -3,22 +3,23 @@ import * as i0 from "@angular/core";
3
3
  import * as i1 from "./day";
4
4
  import * as i2 from "./date-container";
5
5
  import * as i3 from "./date-input";
6
- import * as i4 from "./datepicker-view-manager";
7
- import * as i5 from "./monthpicker";
8
- import * as i6 from "./yearpicker";
9
- import * as i7 from "./daypicker";
10
- import * as i8 from "./calendar";
11
- import * as i9 from "@angular/common";
12
- import * as i10 from "../../utils/host-wrapping/host-wrapping.module";
13
- import * as i11 from "../../utils/conditional/conditional.module";
14
- import * as i12 from "../../utils/popover/popover.module";
15
- import * as i13 from "../../icon/icon.module";
16
- import * as i14 from "../../utils/focus-trap/focus-trap.module";
17
- import * as i15 from "../common/common.module";
6
+ import * as i4 from "./date-input.validator";
7
+ import * as i5 from "./datepicker-view-manager";
8
+ import * as i6 from "./monthpicker";
9
+ import * as i7 from "./yearpicker";
10
+ import * as i8 from "./daypicker";
11
+ import * as i9 from "./calendar";
12
+ import * as i10 from "@angular/common";
13
+ import * as i11 from "../../utils/host-wrapping/host-wrapping.module";
14
+ import * as i12 from "../../utils/conditional/conditional.module";
15
+ import * as i13 from "../../utils/popover/popover.module";
16
+ import * as i14 from "../../icon/icon.module";
17
+ import * as i15 from "../../utils/focus-trap/focus-trap.module";
18
+ import * as i16 from "../common/common.module";
18
19
  export declare const CLR_DATEPICKER_DIRECTIVES: Type<any>[];
19
20
  export declare class ClrDatepickerModule {
20
21
  constructor();
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrDatepickerModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatepickerModule, [typeof i1.ClrDay, typeof i2.ClrDateContainer, typeof i3.ClrDateInput, typeof i4.ClrDatepickerViewManager, typeof i5.ClrMonthpicker, typeof i6.ClrYearpicker, typeof i7.ClrDaypicker, typeof i8.ClrCalendar], [typeof i9.CommonModule, typeof i10.ClrHostWrappingModule, typeof i11.ClrConditionalModule, typeof i12.ClrPopoverModuleNext, typeof i13.ClrIconModule, typeof i14.ClrFocusTrapModule, typeof i15.ClrCommonFormsModule], [typeof i1.ClrDay, typeof i2.ClrDateContainer, typeof i3.ClrDateInput, typeof i4.ClrDatepickerViewManager, typeof i5.ClrMonthpicker, typeof i6.ClrYearpicker, typeof i7.ClrDaypicker, typeof i8.ClrCalendar]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatepickerModule, [typeof i1.ClrDay, typeof i2.ClrDateContainer, typeof i3.ClrDateInput, typeof i4.ClrDateInputValidator, typeof i5.ClrDatepickerViewManager, typeof i6.ClrMonthpicker, typeof i7.ClrYearpicker, typeof i8.ClrDaypicker, typeof i9.ClrCalendar], [typeof i10.CommonModule, typeof i11.ClrHostWrappingModule, typeof i12.ClrConditionalModule, typeof i13.ClrPopoverModuleNext, typeof i14.ClrIconModule, typeof i15.ClrFocusTrapModule, typeof i16.ClrCommonFormsModule], [typeof i1.ClrDay, typeof i2.ClrDateContainer, typeof i3.ClrDateInput, typeof i4.ClrDateInputValidator, typeof i5.ClrDatepickerViewManager, typeof i6.ClrMonthpicker, typeof i7.ClrYearpicker, typeof i8.ClrDaypicker, typeof i9.ClrCalendar]>;
23
24
  static ɵinj: i0.ɵɵInjectorDeclaration<ClrDatepickerModule>;
24
25
  }
@@ -1,5 +1,6 @@
1
1
  export * from './date-container';
2
2
  export * from './date-input';
3
+ export * from './date-input.validator';
3
4
  export * from './datepicker-view-manager';
4
5
  export * from './daypicker';
5
6
  export * from './monthpicker';
@@ -12,7 +12,6 @@ export declare class ClrYearpicker implements AfterViewInit {
12
12
  private _elRef;
13
13
  commonStrings: ClrCommonStringsService;
14
14
  constructor(_dateNavigationService: DateNavigationService, _viewManagerService: ViewManagerService, _datepickerFocusService: DatepickerFocusService, _elRef: ElementRef, commonStrings: ClrCommonStringsService);
15
- private decadeRange;
16
15
  /**
17
16
  * YearRangeModel which is used to build the YearPicker view.
18
17
  */
@@ -55,7 +54,6 @@ export declare class ClrYearpicker implements AfterViewInit {
55
54
  * Handles the Keyboard arrow navigation for the yearpicker.
56
55
  */
57
56
  onKeyDown(event: KeyboardEvent): void;
58
- private updateRange;
59
57
  /**
60
58
  * Focuses on the current calendar year when the View is initialized.
61
59
  */
@@ -1,19 +1,16 @@
1
1
  import { OnDestroy } from '@angular/core';
2
- import { AriaService } from '../../utils/aria/aria.service';
3
2
  import { IfActiveService } from '../../utils/conditional/if-active.service';
4
3
  import { TabsService } from './providers/tabs.service';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class ClrTabContent implements OnDestroy {
7
6
  ifActiveService: IfActiveService;
8
7
  id: number;
9
- private ariaService;
10
8
  private tabsService;
11
- constructor(ifActiveService: IfActiveService, id: number, ariaService: AriaService, tabsService: TabsService);
9
+ constructor(ifActiveService: IfActiveService, id: number, tabsService: TabsService);
12
10
  private viewRef;
13
11
  private set templateRef(value);
14
12
  get ariaLabelledBy(): string;
15
- get tabContentId(): string;
16
- set tabContentId(id: string);
13
+ tabContentId: string;
17
14
  get active(): boolean;
18
15
  ngOnDestroy(): void;
19
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrTabContent, never>;
@@ -1,5 +1,4 @@
1
1
  import { ComponentFactoryResolver, ElementRef, ViewContainerRef } from '@angular/core';
2
- import { AriaService } from '../../utils/aria/aria.service';
3
2
  import { IfActiveService } from '../../utils/conditional/if-active.service';
4
3
  import { TemplateRefContainer } from '../../utils/template-ref/template-ref-container';
5
4
  import { TabsService } from './providers/tabs.service';
@@ -7,7 +6,6 @@ import * as i0 from "@angular/core";
7
6
  export declare class ClrTabLink {
8
7
  ifActiveService: IfActiveService;
9
8
  private id;
10
- private ariaService;
11
9
  el: ElementRef;
12
10
  private cfr;
13
11
  private viewContainerRef;
@@ -18,10 +16,9 @@ export declare class ClrTabLink {
18
16
  get inOverflow(): boolean;
19
17
  get addLinkClasses(): boolean;
20
18
  templateRefContainer: TemplateRefContainer;
21
- constructor(ifActiveService: IfActiveService, id: number, ariaService: AriaService, el: ElementRef, cfr: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, tabsService: TabsService, tabsId: number);
19
+ constructor(ifActiveService: IfActiveService, id: number, el: ElementRef, cfr: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, tabsService: TabsService, tabsId: number);
22
20
  get ariaControls(): string;
23
- get tabLinkId(): string;
24
- set tabLinkId(id: string);
21
+ tabLinkId: string;
25
22
  activate(): void;
26
23
  get active(): boolean;
27
24
  get tabindex(): 0 | -1;
package/modal/modal.d.ts CHANGED
@@ -20,7 +20,7 @@ export declare class ClrModal implements OnChanges, OnDestroy {
20
20
  stopClose: boolean;
21
21
  altClose: EventEmitter<boolean>;
22
22
  labelledBy: string;
23
- constructor(_scrollingService: ScrollingService, commonStrings: ClrCommonStringsService, modalId: string);
23
+ constructor(_scrollingService: ScrollingService, commonStrings: ClrCommonStringsService);
24
24
  ngOnChanges(changes: {
25
25
  [propName: string]: SimpleChange;
26
26
  }): void;
package/package.json CHANGED
@@ -45,5 +45,5 @@
45
45
  "dependencies": {
46
46
  "tslib": "^2.3.0"
47
47
  },
48
- "version": "13.9.0"
48
+ "version": "13.9.1"
49
49
  }
@@ -5,13 +5,13 @@ import { FocusableItem } from '../../../utils/focus/focusable-item/focusable-ite
5
5
  import { ClrPopoverToggleService } from '../../../utils/popover/providers/popover-toggle.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class DropdownFocusHandler implements OnDestroy, FocusableItem {
8
- id: string;
9
8
  private renderer;
10
9
  private parent;
11
10
  private toggleService;
12
11
  private focusService;
13
12
  private platformId;
14
- constructor(id: string, renderer: Renderer2, parent: DropdownFocusHandler, toggleService: ClrPopoverToggleService, focusService: FocusService, platformId: any);
13
+ id: string;
14
+ constructor(renderer: Renderer2, parent: DropdownFocusHandler, toggleService: ClrPopoverToggleService, focusService: FocusService, platformId: any);
15
15
  private _unlistenFuncs;
16
16
  /**
17
17
  * If the dropdown was opened by clicking on the trigger, we automatically move to the first item
@@ -40,13 +40,10 @@ export declare class DropdownFocusHandler implements OnDestroy, FocusableItem {
40
40
  resetChildren(): void;
41
41
  addChildren(children: FocusableItem[]): void;
42
42
  ngOnDestroy(): void;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFocusHandler, [null, null, { optional: true; skipSelf: true; }, null, null, null]>;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFocusHandler, [null, { optional: true; skipSelf: true; }, null, null, null]>;
44
44
  static ɵprov: i0.ɵɵInjectableDeclaration<DropdownFocusHandler>;
45
45
  }
46
- export declare const DROPDOWN_FOCUS_HANDLER_PROVIDER: ({
47
- provide: import("@angular/core").InjectionToken<string>;
48
- useFactory: typeof import("../../../utils/id-generator/id-generator.service").uniqueIdFactory;
49
- } | import("@angular/core").Type<DropdownFocusHandler> | {
46
+ export declare const DROPDOWN_FOCUS_HANDLER_PROVIDER: (import("@angular/core").Type<DropdownFocusHandler> | {
50
47
  provide: typeof FocusableItem;
51
48
  useExisting: import("@angular/core").Type<DropdownFocusHandler>;
52
49
  })[];
@@ -6,12 +6,12 @@ import { SignpostIdService } from './providers/signpost-id.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ClrSignpostContent extends AbstractPopover implements OnDestroy {
8
8
  commonStrings: ClrCommonStringsService;
9
- signpostContentId: string;
10
9
  private signpostIdService;
11
10
  private signpostFocusManager;
12
11
  private platformId;
12
+ signpostContentId: string;
13
13
  private document;
14
- constructor(injector: Injector, parentHost: ElementRef, commonStrings: ClrCommonStringsService, signpostContentId: string, signpostIdService: SignpostIdService, signpostFocusManager: SignpostFocusManager, platformId: any, document: any);
14
+ constructor(injector: Injector, parentHost: ElementRef, commonStrings: ClrCommonStringsService, signpostIdService: SignpostIdService, signpostFocusManager: SignpostFocusManager, platformId: any, document: any);
15
15
  /**********
16
16
  *
17
17
  * @description
@@ -52,6 +52,6 @@ export declare class ClrSignpostContent extends AbstractPopover implements OnDes
52
52
  */
53
53
  set position(position: string);
54
54
  ngOnDestroy(): void;
55
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrSignpostContent, [null, { optional: true; }, null, null, null, null, null, null]>;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrSignpostContent, [null, { optional: true; }, null, null, null, null, null]>;
56
56
  static ɵcmp: i0.ɵɵComponentDeclaration<ClrSignpostContent, "clr-signpost-content", never, { "position": "clrPosition"; }, {}, never, ["*"]>;
57
57
  }
@@ -3,9 +3,8 @@ import { AbstractPopover } from '../common/abstract-popover';
3
3
  import { TooltipIdService } from './providers/tooltip-id.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ClrTooltipContent extends AbstractPopover {
6
- uniqueId: string;
7
6
  private tooltipIdService;
8
- constructor(injector: Injector, parentHost: ElementRef, uniqueId: string, tooltipIdService: TooltipIdService);
7
+ constructor(injector: Injector, parentHost: ElementRef, tooltipIdService: TooltipIdService);
9
8
  get id(): string;
10
9
  set id(value: string);
11
10
  private _id;
@@ -16,6 +15,6 @@ export declare class ClrTooltipContent extends AbstractPopover {
16
15
  get size(): string;
17
16
  set size(value: string);
18
17
  private updateCssClass;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrTooltipContent, [null, { optional: true; }, null, null]>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrTooltipContent, [null, { optional: true; }, null]>;
20
19
  static ɵcmp: i0.ɵɵComponentDeclaration<ClrTooltipContent, "clr-tooltip-content", never, { "id": "id"; "position": "clrPosition"; "size": "clrSize"; }, {}, never, ["*"]>;
21
20
  }
@@ -2,11 +2,11 @@ import { ElementRef, Renderer2 } from '@angular/core';
2
2
  import { FocusableItem } from './focusable-item';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BasicFocusableItem implements FocusableItem {
5
- id: string;
6
5
  private el;
7
6
  private renderer;
8
7
  private platformId;
9
- constructor(id: string, el: ElementRef<HTMLElement>, renderer: Renderer2, platformId: any);
8
+ id: string;
9
+ constructor(el: ElementRef<HTMLElement>, renderer: Renderer2, platformId: any);
10
10
  disabled: boolean;
11
11
  focus(): void;
12
12
  blur(): void;
@@ -14,10 +14,7 @@ export declare class BasicFocusableItem implements FocusableItem {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicFocusableItem, never>;
15
15
  static ɵprov: i0.ɵɵInjectableDeclaration<BasicFocusableItem>;
16
16
  }
17
- export declare const BASIC_FOCUSABLE_ITEM_PROVIDER: ({
18
- provide: import("@angular/core").InjectionToken<string>;
19
- useFactory: typeof import("../../id-generator/id-generator.service").uniqueIdFactory;
20
- } | {
17
+ export declare const BASIC_FOCUSABLE_ITEM_PROVIDER: {
21
18
  provide: typeof FocusableItem;
22
19
  useClass: typeof BasicFocusableItem;
23
- })[];
20
+ }[];
@@ -1,9 +1,6 @@
1
1
  import { Type } from '@angular/core';
2
2
  import { FocusableItem } from './focusable-item';
3
- export declare function customFocusableItemProvider<T>(implementation: Type<T>): ({
4
- provide: import("@angular/core").InjectionToken<string>;
5
- useFactory: typeof import("../../id-generator/id-generator.service").uniqueIdFactory;
6
- } | Type<T> | {
3
+ export declare function customFocusableItemProvider<T>(implementation: Type<T>): (Type<T> | {
7
4
  provide: typeof FocusableItem;
8
5
  useExisting: Type<T>;
9
6
  })[];
@@ -1,7 +1 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const UNIQUE_ID: InjectionToken<string>;
3
1
  export declare function uniqueIdFactory(): string;
4
- export declare const UNIQUE_ID_PROVIDER: {
5
- provide: InjectionToken<string>;
6
- useFactory: typeof uniqueIdFactory;
7
- };
@@ -13,7 +13,6 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
13
13
  buttonService: ButtonHubService;
14
14
  headerActionService: HeaderActionService;
15
15
  private elementRef;
16
- wizardId: string;
17
16
  /**
18
17
  * Set the modal size of the wizard. Set using `[clrWizardSize]` input.
19
18
  */
@@ -130,9 +129,10 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
130
129
  get isLast(): boolean;
131
130
  get isFirst(): boolean;
132
131
  get isStatic(): boolean;
132
+ wizardId: string;
133
133
  private differ;
134
134
  private subscriptions;
135
- constructor(platformId: any, navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, headerActionService: HeaderActionService, elementRef: ElementRef, differs: IterableDiffers, wizardId: string);
135
+ constructor(platformId: any, navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, headerActionService: HeaderActionService, elementRef: ElementRef, differs: IterableDiffers);
136
136
  ngAfterContentInit(): void;
137
137
  ngDoCheck(): void;
138
138
  ngOnDestroy(): void;
@@ -1,16 +0,0 @@
1
- /*
2
- * Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.
3
- * This software is released under MIT license.
4
- * The full license information can be found in LICENSE in the root directory of this project.
5
- */
6
- import { Injectable } from '@angular/core';
7
- import * as i0 from "@angular/core";
8
- // TODO: if we find more components that could use this, consider moving this to utils
9
- export class AriaService {
10
- }
11
- AriaService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AriaService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
12
- AriaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AriaService });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AriaService, decorators: [{
14
- type: Injectable
15
- }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJpYS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci9zcmMvdXRpbHMvYXJpYS9hcmlhLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7R0FJRztBQUVILE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBRTNDLHNGQUFzRjtBQUV0RixNQUFNLE9BQU8sV0FBVzs7eUdBQVgsV0FBVzs2R0FBWCxXQUFXOzRGQUFYLFdBQVc7a0JBRHZCLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogQ29weXJpZ2h0IChjKSAyMDE2LTIwMjIgVk13YXJlLCBJbmMuIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKiBUaGlzIHNvZnR3YXJlIGlzIHJlbGVhc2VkIHVuZGVyIE1JVCBsaWNlbnNlLlxuICogVGhlIGZ1bGwgbGljZW5zZSBpbmZvcm1hdGlvbiBjYW4gYmUgZm91bmQgaW4gTElDRU5TRSBpbiB0aGUgcm9vdCBkaXJlY3Rvcnkgb2YgdGhpcyBwcm9qZWN0LlxuICovXG5cbmltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuLy8gVE9ETzogaWYgd2UgZmluZCBtb3JlIGNvbXBvbmVudHMgdGhhdCBjb3VsZCB1c2UgdGhpcywgY29uc2lkZXIgbW92aW5nIHRoaXMgdG8gdXRpbHNcbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBBcmlhU2VydmljZSB7XG4gIHB1YmxpYyBhcmlhTGFiZWxsZWRCeTogc3RyaW5nO1xuICBwdWJsaWMgYXJpYUNvbnRyb2xzOiBzdHJpbmc7XG4gIHB1YmxpYyBhcmlhT3duczogc3RyaW5nO1xufVxuIl19
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AriaService {
3
- ariaLabelledBy: string;
4
- ariaControls: string;
5
- ariaOwns: string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AriaService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<AriaService>;
8
- }