@clr/angular 12.1.3 → 12.2.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 (88) hide show
  1. package/bundles/clr-angular.umd.js +240 -79
  2. package/bundles/clr-angular.umd.js.map +1 -1
  3. package/clarity.api.md +21 -0
  4. package/clr-angular.metadata.json +1 -1
  5. package/data/datagrid/built-in/filters/datagrid-numeric-filter.d.ts +7 -0
  6. package/data/datagrid/built-in/filters/datagrid-string-filter.d.ts +5 -0
  7. package/data/datagrid/datagrid-column.d.ts +9 -0
  8. package/esm2015/accordion/chocolate/accordion-oompa-loompa.js +4 -2
  9. package/esm2015/accordion/chocolate/accordion-willy-wonka.js +4 -2
  10. package/esm2015/accordion/stepper/chocolate/stepper-oompa-loompa.js +4 -2
  11. package/esm2015/accordion/stepper/chocolate/stepper-willy-wonka.js +4 -2
  12. package/esm2015/data/datagrid/built-in/filters/datagrid-numeric-filter.js +13 -5
  13. package/esm2015/data/datagrid/built-in/filters/datagrid-string-filter.js +7 -2
  14. package/esm2015/data/datagrid/chocolate/actionable-oompa-loompa.js +4 -2
  15. package/esm2015/data/datagrid/chocolate/datagrid-willy-wonka.js +4 -2
  16. package/esm2015/data/datagrid/chocolate/expandable-oompa-loompa.js +4 -2
  17. package/esm2015/data/datagrid/datagrid-action-bar.js +2 -2
  18. package/esm2015/data/datagrid/datagrid-cell.js +2 -2
  19. package/esm2015/data/datagrid/datagrid-column.js +16 -1
  20. package/esm2015/data/datagrid/datagrid-detail-registerer.js +4 -2
  21. package/esm2015/data/datagrid/datagrid-hideable-column.js +4 -2
  22. package/esm2015/data/datagrid/render/cell-renderer.js +4 -2
  23. package/esm2015/data/datagrid/render/header-renderer.js +5 -2
  24. package/esm2015/data/datagrid/render/row-renderer.js +4 -2
  25. package/esm2015/data/stack-view/stack-view-custom-tags.js +4 -2
  26. package/esm2015/data/tree-view/recursive-for-of.js +4 -2
  27. package/esm2015/data/tree-view/tree-node.js +2 -2
  28. package/esm2015/emphasis/alert/alerts.js +2 -2
  29. package/esm2015/forms/checkbox/checkbox.js +4 -2
  30. package/esm2015/forms/combobox/combobox.js +2 -2
  31. package/esm2015/forms/combobox/option-selected.directive.js +4 -2
  32. package/esm2015/forms/combobox/option.js +5 -3
  33. package/esm2015/forms/common/control.js +5 -2
  34. package/esm2015/forms/common/error.js +2 -2
  35. package/esm2015/forms/common/helper.js +2 -2
  36. package/esm2015/forms/common/if-control-state/if-error.js +4 -2
  37. package/esm2015/forms/common/if-control-state/if-success.js +4 -2
  38. package/esm2015/forms/common/label.js +4 -2
  39. package/esm2015/forms/common/success.js +2 -2
  40. package/esm2015/forms/datepicker/calendar.js +5 -2
  41. package/esm2015/forms/input/input.js +5 -2
  42. package/esm2015/forms/password/password-container.js +4 -4
  43. package/esm2015/forms/password/password.js +5 -2
  44. package/esm2015/forms/radio/radio.js +4 -2
  45. package/esm2015/forms/range/range.js +5 -2
  46. package/esm2015/forms/select/select.js +5 -2
  47. package/esm2015/forms/textarea/textarea.js +5 -2
  48. package/esm2015/icon/icon.js +7 -3
  49. package/esm2015/layout/main-container/main-container.js +5 -2
  50. package/esm2015/layout/nav/chocolate/main-container-willy-wonka.js +4 -2
  51. package/esm2015/layout/nav/chocolate/nav-detection-oompa-loompa.js +4 -2
  52. package/esm2015/layout/nav/nav-level.js +4 -2
  53. package/esm2015/layout/tabs/chocolate/active-oompa-loompa.js +4 -2
  54. package/esm2015/layout/tabs/chocolate/tabs-willy-wonka.js +4 -2
  55. package/esm2015/layout/tabs/tab-overflow-content.js +2 -2
  56. package/esm2015/layout/tabs/tab.js +2 -2
  57. package/esm2015/layout/tabs/tabs.js +2 -3
  58. package/esm2015/layout/vertical-nav/vertical-nav-group-children.js +2 -2
  59. package/esm2015/layout/vertical-nav/vertical-nav-group.js +2 -2
  60. package/esm2015/layout/vertical-nav/vertical-nav-icon.js +5 -2
  61. package/esm2015/modal/modal-body.js +4 -2
  62. package/esm2015/popover/dropdown/dropdown-menu.js +2 -2
  63. package/esm2015/popover/tooltip/tooltip-content.js +2 -2
  64. package/esm2015/popover/tooltip/tooltip.js +2 -2
  65. package/esm2015/progress/spinner/spinner.js +2 -2
  66. package/esm2015/timeline/timeline-step-description.js +2 -2
  67. package/esm2015/timeline/timeline-step-header.js +2 -2
  68. package/esm2015/timeline/timeline-step-title.js +2 -2
  69. package/esm2015/timeline/timeline-step.js +2 -3
  70. package/esm2015/timeline/timeline.js +2 -2
  71. package/esm2015/utils/animations/expandable-animation/expandable-animation.js +2 -2
  72. package/esm2015/utils/conditional/if-active.directive.js +4 -2
  73. package/esm2015/utils/conditional/if-expanded.directive.js +4 -2
  74. package/esm2015/utils/conditional/if-open.directive.js +4 -2
  75. package/esm2015/utils/drag-and-drop/drag-handle.js +5 -2
  76. package/esm2015/utils/drag-and-drop/if-dragged.js +4 -2
  77. package/esm2015/utils/focus-trap/focus-trap.directive.js +4 -2
  78. package/esm2015/utils/loading/loading.js +4 -2
  79. package/esm2015/utils/outside-click/outside-click.js +4 -2
  80. package/esm2015/utils/popover/popover-content.js +4 -2
  81. package/esm2015/wizard/wizard-custom-tags.js +4 -2
  82. package/esm2015/wizard/wizard-page-buttons.js +4 -2
  83. package/esm2015/wizard/wizard-page-header-actions.js +4 -2
  84. package/esm2015/wizard/wizard-page-navtitle.js +4 -2
  85. package/esm2015/wizard/wizard-page-title.js +4 -2
  86. package/fesm2015/clr-angular.js +227 -86
  87. package/fesm2015/clr-angular.js.map +1 -1
  88. package/package.json +1 -1
@@ -19,12 +19,16 @@ import '@cds/core/icon/register';
19
19
  class ClrIconCustomTag {
20
20
  }
21
21
  ClrIconCustomTag.decorators = [
22
- { type: Directive, args: [{ selector: 'clr-icon' },] }
22
+ { type: Directive, args: [{
23
+ selector: 'clr-icon',
24
+ },] }
23
25
  ];
24
26
  class CdsIconCustomTag {
25
27
  }
26
28
  CdsIconCustomTag.decorators = [
27
- { type: Directive, args: [{ selector: 'cds-icon' },] }
29
+ { type: Directive, args: [{
30
+ selector: 'cds-icon',
31
+ },] }
28
32
  ];
29
33
 
30
34
  /*
@@ -92,7 +96,9 @@ class ClrLoading {
92
96
  }
93
97
  }
94
98
  ClrLoading.decorators = [
95
- { type: Directive, args: [{ selector: '[clrLoading]' },] }
99
+ { type: Directive, args: [{
100
+ selector: '[clrLoading]',
101
+ },] }
96
102
  ];
97
103
  ClrLoading.ctorParameters = () => [
98
104
  { type: LoadingListener, decorators: [{ type: Optional }] }
@@ -736,7 +742,9 @@ OompaLoompa.ctorParameters = () => [
736
742
  class AccordionWillyWonka extends WillyWonka {
737
743
  }
738
744
  AccordionWillyWonka.decorators = [
739
- { type: Directive, args: [{ selector: 'clr-accordion' },] }
745
+ { type: Directive, args: [{
746
+ selector: 'clr-accordion',
747
+ },] }
740
748
  ];
741
749
 
742
750
  /*
@@ -757,7 +765,9 @@ class AccordionOompaLoompa extends OompaLoompa {
757
765
  }
758
766
  }
759
767
  AccordionOompaLoompa.decorators = [
760
- { type: Directive, args: [{ selector: 'clr-accordion-panel' },] }
768
+ { type: Directive, args: [{
769
+ selector: 'clr-accordion-panel',
770
+ },] }
761
771
  ];
762
772
  AccordionOompaLoompa.ctorParameters = () => [
763
773
  { type: ChangeDetectorRef },
@@ -1183,7 +1193,9 @@ ClrStepper.propDecorators = {
1183
1193
  class StepperWillyWonka extends WillyWonka {
1184
1194
  }
1185
1195
  StepperWillyWonka.decorators = [
1186
- { type: Directive, args: [{ selector: 'form[clrStepper]' },] }
1196
+ { type: Directive, args: [{
1197
+ selector: 'form[clrStepper]',
1198
+ },] }
1187
1199
  ];
1188
1200
 
1189
1201
  /*
@@ -1204,7 +1216,9 @@ class StepperOompaLoompa extends OompaLoompa {
1204
1216
  }
1205
1217
  }
1206
1218
  StepperOompaLoompa.decorators = [
1207
- { type: Directive, args: [{ selector: 'clr-stepper-panel, [clrStepButton]' },] }
1219
+ { type: Directive, args: [{
1220
+ selector: 'clr-stepper-panel, [clrStepButton]',
1221
+ },] }
1208
1222
  ];
1209
1223
  StepperOompaLoompa.ctorParameters = () => [
1210
1224
  { type: ChangeDetectorRef },
@@ -2118,7 +2132,9 @@ class ClrPopoverContent {
2118
2132
  }
2119
2133
  }
2120
2134
  ClrPopoverContent.decorators = [
2121
- { type: Directive, args: [{ selector: '[clrPopoverContent]' },] }
2135
+ { type: Directive, args: [{
2136
+ selector: '[clrPopoverContent]',
2137
+ },] }
2122
2138
  ];
2123
2139
  ClrPopoverContent.ctorParameters = () => [
2124
2140
  { type: HTMLDocument, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
@@ -2823,7 +2839,7 @@ class ClrControlError extends ClrAbstractControl {
2823
2839
  ClrControlError.decorators = [
2824
2840
  { type: Component, args: [{
2825
2841
  selector: 'clr-control-error',
2826
- template: ` <ng-content></ng-content> `,
2842
+ template: `<ng-content></ng-content>`,
2827
2843
  host: {
2828
2844
  '[class.clr-subtext]': 'true',
2829
2845
  '[attr.id]': 'id',
@@ -2851,7 +2867,7 @@ class ClrControlHelper extends ClrAbstractControl {
2851
2867
  ClrControlHelper.decorators = [
2852
2868
  { type: Component, args: [{
2853
2869
  selector: 'clr-control-helper',
2854
- template: ` <ng-content></ng-content> `,
2870
+ template: `<ng-content></ng-content>`,
2855
2871
  host: {
2856
2872
  '[class.clr-subtext]': 'true',
2857
2873
  '[attr.id]': 'id',
@@ -3041,7 +3057,9 @@ class ClrLabel {
3041
3057
  }
3042
3058
  }
3043
3059
  ClrLabel.decorators = [
3044
- { type: Directive, args: [{ selector: 'label' },] }
3060
+ { type: Directive, args: [{
3061
+ selector: 'label',
3062
+ },] }
3045
3063
  ];
3046
3064
  ClrLabel.ctorParameters = () => [
3047
3065
  { type: ControlIdService, decorators: [{ type: Optional }] },
@@ -3117,7 +3135,7 @@ class ClrControlSuccess extends ClrAbstractControl {
3117
3135
  ClrControlSuccess.decorators = [
3118
3136
  { type: Component, args: [{
3119
3137
  selector: 'clr-control-success',
3120
- template: ` <ng-content></ng-content> `,
3138
+ template: `<ng-content></ng-content>`,
3121
3139
  host: {
3122
3140
  '[class.clr-subtext]': 'true',
3123
3141
  '[attr.id]': 'id',
@@ -3499,7 +3517,10 @@ class ClrControl extends WrappedFormControl {
3499
3517
  }
3500
3518
  }
3501
3519
  ClrControl.decorators = [
3502
- { type: Directive, args: [{ selector: '[clrControl]', host: { '[class.clr-input]': 'true' } },] }
3520
+ { type: Directive, args: [{
3521
+ selector: '[clrControl]',
3522
+ host: { '[class.clr-input]': 'true' },
3523
+ },] }
3503
3524
  ];
3504
3525
  ClrControl.ctorParameters = () => [
3505
3526
  { type: ViewContainerRef },
@@ -3639,7 +3660,9 @@ class ClrIfError extends AbstractIfState {
3639
3660
  }
3640
3661
  }
3641
3662
  ClrIfError.decorators = [
3642
- { type: Directive, args: [{ selector: '[clrIfError]' },] }
3663
+ { type: Directive, args: [{
3664
+ selector: '[clrIfError]',
3665
+ },] }
3643
3666
  ];
3644
3667
  ClrIfError.ctorParameters = () => [
3645
3668
  { type: IfControlStateService, decorators: [{ type: Optional }] },
@@ -3680,7 +3703,9 @@ class ClrIfSuccess extends AbstractIfState {
3680
3703
  }
3681
3704
  }
3682
3705
  ClrIfSuccess.decorators = [
3683
- { type: Directive, args: [{ selector: '[clrIfSuccess]' },] }
3706
+ { type: Directive, args: [{
3707
+ selector: '[clrIfSuccess]',
3708
+ },] }
3684
3709
  ];
3685
3710
  ClrIfSuccess.ctorParameters = () => [
3686
3711
  { type: IfControlStateService, decorators: [{ type: Optional }] },
@@ -3837,7 +3862,9 @@ class ClrCheckbox extends WrappedFormControl {
3837
3862
  }
3838
3863
  }
3839
3864
  ClrCheckbox.decorators = [
3840
- { type: Directive, args: [{ selector: '[clrCheckbox],[clrToggle]' },] }
3865
+ { type: Directive, args: [{
3866
+ selector: '[clrCheckbox],[clrToggle]',
3867
+ },] }
3841
3868
  ];
3842
3869
  ClrCheckbox.ctorParameters = () => [
3843
3870
  { type: ViewContainerRef },
@@ -4016,7 +4043,7 @@ class ClrSpinner {
4016
4043
  ClrSpinner.decorators = [
4017
4044
  { type: Component, args: [{
4018
4045
  selector: 'clr-spinner',
4019
- template: ` <ng-content></ng-content> `,
4046
+ template: `<ng-content></ng-content>`,
4020
4047
  host: {
4021
4048
  '[attr.aria-busy]': 'true',
4022
4049
  }
@@ -4207,7 +4234,9 @@ class ClrIfActive {
4207
4234
  }
4208
4235
  }
4209
4236
  ClrIfActive.decorators = [
4210
- { type: Directive, args: [{ selector: '[clrIfActive]' },] }
4237
+ { type: Directive, args: [{
4238
+ selector: '[clrIfActive]',
4239
+ },] }
4211
4240
  ];
4212
4241
  ClrIfActive.ctorParameters = () => [
4213
4242
  { type: IfActiveService },
@@ -4295,7 +4324,9 @@ class ClrIfExpanded {
4295
4324
  }
4296
4325
  }
4297
4326
  ClrIfExpanded.decorators = [
4298
- { type: Directive, args: [{ selector: '[clrIfExpanded]' },] }
4327
+ { type: Directive, args: [{
4328
+ selector: '[clrIfExpanded]',
4329
+ },] }
4299
4330
  ];
4300
4331
  ClrIfExpanded.ctorParameters = () => [
4301
4332
  { type: TemplateRef, decorators: [{ type: Optional }] },
@@ -4381,7 +4412,9 @@ class ClrIfOpen {
4381
4412
  }
4382
4413
  }
4383
4414
  ClrIfOpen.decorators = [
4384
- { type: Directive, args: [{ selector: '[clrIfOpen]' },] }
4415
+ { type: Directive, args: [{
4416
+ selector: '[clrIfOpen]',
4417
+ },] }
4385
4418
  ];
4386
4419
  ClrIfOpen.ctorParameters = () => [
4387
4420
  { type: ClrPopoverToggleService },
@@ -5088,7 +5121,9 @@ class ClrOptionSelected {
5088
5121
  }
5089
5122
  }
5090
5123
  ClrOptionSelected.decorators = [
5091
- { type: Directive, args: [{ selector: '[clrOptionSelected]' },] }
5124
+ { type: Directive, args: [{
5125
+ selector: '[clrOptionSelected]',
5126
+ },] }
5092
5127
  ];
5093
5128
  ClrOptionSelected.ctorParameters = () => [
5094
5129
  { type: TemplateRef }
@@ -5679,7 +5714,7 @@ class ClrCombobox extends WrappedFormControl {
5679
5714
  ClrCombobox.decorators = [
5680
5715
  { type: Component, args: [{
5681
5716
  selector: 'clr-combobox',
5682
- template: "<!--\n* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.\n* This software is released under MIT license.\n* The full license information can be found in LICENSE in the root directory of this project.\n-->\n\n<!-- The (click) handler is needed to auto-focus on input field which can not currently occupy the whole\n width of the component, after being wrapped to a new line -->\n<div\n class=\"clr-combobox-wrapper\"\n clrPopoverAnchor\n (click)=\"focusInput()\"\n [class.multi]=\"multiSelect\"\n [class.invalid]=\"invalid\"\n>\n <span\n *ngIf=\"multiSelect && optionSelectionService.selectionModel.model\"\n role=\"grid\"\n clrRovingTabindex\n [clrRovingTabindexDisabled]=\"control?.disabled\"\n clrDirection=\"both\"\n [attr.aria-label]=\"getSelectionAriaLabel()\"\n [attr.aria-disabled]=\"control?.disabled? true: null\"\n >\n <span *ngFor=\"let item of multiSelectModel; let i = index\" class=\"label label-combobox-pill\" role=\"row\">\n <span role=\"gridcell\">\n <span class=\"clr-combobox-pill-content\" clrKeyFocusItem>\n <ng-container\n *ngIf=\"optionSelected\"\n [ngTemplateOutlet]=\"optionSelected.template\"\n [ngTemplateOutletContext]=\"{$implicit: optionSelectionService.selectionModel.model[i]}\"\n >\n </ng-container>\n </span>\n </span>\n <span role=\"gridcell\">\n <button\n clrKeyFocusItem\n type=\"button\"\n class=\"clr-combobox-remove-btn\"\n [disabled]=\"control?.disabled? true: null\"\n [attr.aria-label]=\"commonStrings.keys.comboboxDelete + ' ' + optionSelectionService.selectionModel.toString(displayField, i)\"\n (click)=\"unselect(item)\"\n >\n <cds-icon shape=\"window-close\" size=\"12\"></cds-icon>\n </button>\n </span>\n </span>\n </span>\n\n <span class=\"clr-combobox-input-wrapper\" role=\"combobox\">\n <input\n #textboxInput\n type=\"text\"\n [id]=\"inputId()\"\n class=\"clr-input clr-combobox-input\"\n [(ngModel)]=\"searchText\"\n (blur)=\"onBlur()\"\n (focus)=\"onFocus()\"\n [attr.aria-expanded]=\"openState\"\n [attr.aria-owns]=\"ariaOwns\"\n aria-haspopup=\"listbox\"\n aria-autocomplete=\"list\"\n autocomplete=\"off\"\n [attr.aria-invalid]=\"control?.invalid? true: null\"\n [disabled]=\"control?.disabled? true: null\"\n [attr.aria-activedescendant]=\"getActiveDescendant()\"\n [attr.placeholder]=\"placeholder\"\n />\n </span>\n\n <!-- No click handler, as it uses the handler on the .clr-combobox-wrapper -->\n <button\n clrPopoverOpenCloseButton\n #trigger\n type=\"button\"\n class=\"clr-combobox-trigger\"\n tabindex=\"-1\"\n [disabled]=\"control?.disabled || null\"\n [attr.aria-label]=\"commonStrings.keys.comboboxOpen\"\n >\n <cds-icon shape=\"angle\" direction=\"down\" size=\"12\"></cds-icon>\n </button>\n\n <div class=\"clr-focus-indicator\" [class.clr-focus]=\"focused\"></div>\n</div>\n\n<!-- Both close handlers are handled manually due to issues in Edge browser.\n Additionally 'outsideClickToClose' has complex handling that's necessary\n to be manual due to the component architecture -->\n<div role=\"dialog\" *clrPopoverContent=\"openState at smartPosition; outsideClickToClose: false; scrollToClose: false\">\n <ng-content></ng-content>\n</div>\n",
5717
+ template: "<!--\n* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.\n* This software is released under MIT license.\n* The full license information can be found in LICENSE in the root directory of this project.\n-->\n\n<!-- The (click) handler is needed to auto-focus on input field which can not currently occupy the whole\n width of the component, after being wrapped to a new line -->\n<div\n class=\"clr-combobox-wrapper\"\n clrPopoverAnchor\n (click)=\"focusInput()\"\n [class.multi]=\"multiSelect\"\n [class.invalid]=\"invalid\"\n>\n <span\n *ngIf=\"multiSelect && optionSelectionService.selectionModel.model\"\n role=\"grid\"\n clrRovingTabindex\n [clrRovingTabindexDisabled]=\"control?.disabled\"\n clrDirection=\"both\"\n [attr.aria-label]=\"getSelectionAriaLabel()\"\n [attr.aria-disabled]=\"control?.disabled? true: null\"\n >\n <span *ngFor=\"let item of multiSelectModel; let i = index\" class=\"label label-combobox-pill\" role=\"row\">\n <span role=\"gridcell\">\n <span class=\"clr-combobox-pill-content\" clrKeyFocusItem>\n <ng-container\n *ngIf=\"optionSelected\"\n [ngTemplateOutlet]=\"optionSelected.template\"\n [ngTemplateOutletContext]=\"{$implicit: optionSelectionService.selectionModel.model[i]}\"\n ></ng-container>\n </span>\n </span>\n <span role=\"gridcell\">\n <button\n clrKeyFocusItem\n type=\"button\"\n class=\"clr-combobox-remove-btn\"\n [disabled]=\"control?.disabled? true: null\"\n [attr.aria-label]=\"commonStrings.keys.comboboxDelete + ' ' + optionSelectionService.selectionModel.toString(displayField, i)\"\n (click)=\"unselect(item)\"\n >\n <cds-icon shape=\"window-close\" size=\"12\"></cds-icon>\n </button>\n </span>\n </span>\n </span>\n\n <span class=\"clr-combobox-input-wrapper\" role=\"combobox\">\n <input\n #textboxInput\n type=\"text\"\n [id]=\"inputId()\"\n class=\"clr-input clr-combobox-input\"\n [(ngModel)]=\"searchText\"\n (blur)=\"onBlur()\"\n (focus)=\"onFocus()\"\n [attr.aria-expanded]=\"openState\"\n [attr.aria-owns]=\"ariaOwns\"\n aria-haspopup=\"listbox\"\n aria-autocomplete=\"list\"\n autocomplete=\"off\"\n [attr.aria-invalid]=\"control?.invalid? true: null\"\n [disabled]=\"control?.disabled? true: null\"\n [attr.aria-activedescendant]=\"getActiveDescendant()\"\n [attr.placeholder]=\"placeholder\"\n />\n </span>\n\n <!-- No click handler, as it uses the handler on the .clr-combobox-wrapper -->\n <button\n clrPopoverOpenCloseButton\n #trigger\n type=\"button\"\n class=\"clr-combobox-trigger\"\n tabindex=\"-1\"\n [disabled]=\"control?.disabled || null\"\n [attr.aria-label]=\"commonStrings.keys.comboboxOpen\"\n >\n <cds-icon shape=\"angle\" direction=\"down\" size=\"12\"></cds-icon>\n </button>\n\n <div class=\"clr-focus-indicator\" [class.clr-focus]=\"focused\"></div>\n</div>\n\n<!-- Both close handlers are handled manually due to issues in Edge browser.\n Additionally 'outsideClickToClose' has complex handling that's necessary\n to be manual due to the component architecture -->\n<div role=\"dialog\" *clrPopoverContent=\"openState at smartPosition; outsideClickToClose: false; scrollToClose: false\">\n <ng-content></ng-content>\n</div>\n",
5683
5718
  providers: [
5684
5719
  ClrPopoverToggleService,
5685
5720
  { provide: POPOVER_HOST_ANCHOR, useExisting: ElementRef },
@@ -5788,8 +5823,10 @@ class ClrOption {
5788
5823
  ClrOption.decorators = [
5789
5824
  { type: Component, args: [{
5790
5825
  selector: 'clr-option',
5791
- template: `<ng-content></ng-content>
5792
- <span *ngIf="selected" class="clr-sr-only"> {{ commonStrings.keys.comboboxSelected }} </span> `,
5826
+ template: `
5827
+ <ng-content></ng-content>
5828
+ <span *ngIf="selected" class="clr-sr-only">{{ commonStrings.keys.comboboxSelected }}</span>
5829
+ `,
5793
5830
  providers: [UNIQUE_ID_PROVIDER],
5794
5831
  host: {
5795
5832
  '[class.clr-combobox-option]': 'true',
@@ -6116,7 +6153,10 @@ class ClrInput extends WrappedFormControl {
6116
6153
  }
6117
6154
  }
6118
6155
  ClrInput.decorators = [
6119
- { type: Directive, args: [{ selector: '[clrInput]', host: { '[class.clr-input]': 'true' } },] }
6156
+ { type: Directive, args: [{
6157
+ selector: '[clrInput]',
6158
+ host: { '[class.clr-input]': 'true' },
6159
+ },] }
6120
6160
  ];
6121
6161
  ClrInput.ctorParameters = () => [
6122
6162
  { type: ViewContainerRef },
@@ -6544,7 +6584,9 @@ class FocusTrapDirective {
6544
6584
  }
6545
6585
  }
6546
6586
  FocusTrapDirective.decorators = [
6547
- { type: Directive, args: [{ selector: '[clrFocusTrap]' },] }
6587
+ { type: Directive, args: [{
6588
+ selector: '[clrFocusTrap]',
6589
+ },] }
6548
6590
  ];
6549
6591
  FocusTrapDirective.ctorParameters = () => [
6550
6592
  { type: ElementRef },
@@ -7478,7 +7520,10 @@ class ClrCalendar {
7478
7520
  }
7479
7521
  }
7480
7522
  ClrCalendar.decorators = [
7481
- { type: Component, args: [{ selector: 'clr-calendar', template: "<table class=\"calendar-table\">\n <tr class=\"calendar-row weekdays\">\n <th *ngFor=\"let day of localeDays\" class=\"calendar-cell weekday\" role=\"heading\" [attr.aria-label]=\"day.day\">\n {{day.narrow}}\n </th>\n </tr>\n <tr class=\"calendar-row\" *ngFor=\"let row of calendarViewModel.calendarView\">\n <td *ngFor=\"let dayView of row\" class=\"calendar-cell\">\n <clr-day [clrDayView]=\"dayView\"></clr-day>\n </td>\n </tr>\n</table>\n" },] }
7523
+ { type: Component, args: [{
7524
+ selector: 'clr-calendar',
7525
+ template: "<table class=\"calendar-table\">\n <tr class=\"calendar-row weekdays\">\n <th *ngFor=\"let day of localeDays\" class=\"calendar-cell weekday\" role=\"heading\" [attr.aria-label]=\"day.day\">\n {{day.narrow}}\n </th>\n </tr>\n <tr class=\"calendar-row\" *ngFor=\"let row of calendarViewModel.calendarView\">\n <td *ngFor=\"let dayView of row\" class=\"calendar-cell\">\n <clr-day [clrDayView]=\"dayView\"></clr-day>\n </td>\n </tr>\n</table>\n"
7526
+ },] }
7482
7527
  ];
7483
7528
  ClrCalendar.ctorParameters = () => [
7484
7529
  { type: LocaleHelperService },
@@ -8694,9 +8739,9 @@ ClrPasswordContainer.decorators = [
8694
8739
  type="button"
8695
8740
  >
8696
8741
  <cds-icon status="info" [attr.shape]="show ? 'eye-hide' : 'eye'"></cds-icon>
8697
- <span class="clr-sr-only">{{
8698
- show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow
8699
- }}</span>
8742
+ <span class="clr-sr-only">
8743
+ {{ show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow }}
8744
+ </span>
8700
8745
  </button>
8701
8746
  </div>
8702
8747
  <cds-icon
@@ -8778,7 +8823,10 @@ class ClrPassword extends WrappedFormControl {
8778
8823
  }
8779
8824
  }
8780
8825
  ClrPassword.decorators = [
8781
- { type: Directive, args: [{ selector: '[clrPassword]', host: { '[class.clr-input]': 'true' } },] }
8826
+ { type: Directive, args: [{
8827
+ selector: '[clrPassword]',
8828
+ host: { '[class.clr-input]': 'true' },
8829
+ },] }
8782
8830
  ];
8783
8831
  ClrPassword.ctorParameters = () => [
8784
8832
  { type: ViewContainerRef },
@@ -8861,7 +8909,9 @@ class ClrRadio extends WrappedFormControl {
8861
8909
  }
8862
8910
  }
8863
8911
  ClrRadio.decorators = [
8864
- { type: Directive, args: [{ selector: '[clrRadio]' },] }
8912
+ { type: Directive, args: [{
8913
+ selector: '[clrRadio]',
8914
+ },] }
8865
8915
  ];
8866
8916
  ClrRadio.ctorParameters = () => [
8867
8917
  { type: ViewContainerRef },
@@ -9075,7 +9125,10 @@ class ClrRange extends WrappedFormControl {
9075
9125
  }
9076
9126
  }
9077
9127
  ClrRange.decorators = [
9078
- { type: Directive, args: [{ selector: '[clrRange]', host: { '[class.clr-range]': 'true' } },] }
9128
+ { type: Directive, args: [{
9129
+ selector: '[clrRange]',
9130
+ host: { '[class.clr-range]': 'true' },
9131
+ },] }
9079
9132
  ];
9080
9133
  ClrRange.ctorParameters = () => [
9081
9134
  { type: ViewContainerRef },
@@ -9191,7 +9244,10 @@ class ClrSelect extends WrappedFormControl {
9191
9244
  }
9192
9245
  }
9193
9246
  ClrSelect.decorators = [
9194
- { type: Directive, args: [{ selector: '[clrSelect]', host: { '[class.clr-select]': 'true' } },] }
9247
+ { type: Directive, args: [{
9248
+ selector: '[clrSelect]',
9249
+ host: { '[class.clr-select]': 'true' },
9250
+ },] }
9195
9251
  ];
9196
9252
  ClrSelect.ctorParameters = () => [
9197
9253
  { type: ViewContainerRef },
@@ -9278,7 +9334,10 @@ class ClrTextarea extends WrappedFormControl {
9278
9334
  }
9279
9335
  }
9280
9336
  ClrTextarea.decorators = [
9281
- { type: Directive, args: [{ selector: '[clrTextarea]', host: { '[class.clr-textarea]': 'true' } },] }
9337
+ { type: Directive, args: [{
9338
+ selector: '[clrTextarea]',
9339
+ host: { '[class.clr-textarea]': 'true' },
9340
+ },] }
9282
9341
  ];
9283
9342
  ClrTextarea.ctorParameters = () => [
9284
9343
  { type: ViewContainerRef },
@@ -9404,7 +9463,7 @@ class ClrExpandableAnimation {
9404
9463
  ClrExpandableAnimation.decorators = [
9405
9464
  { type: Component, args: [{
9406
9465
  selector: 'clr-expandable-animation',
9407
- template: ` <ng-content></ng-content> `,
9466
+ template: `<ng-content></ng-content>`,
9408
9467
  animations: [
9409
9468
  trigger('expandAnimation', [
9410
9469
  transition('true <=> false', [
@@ -9773,7 +9832,10 @@ class ClrDragHandle {
9773
9832
  }
9774
9833
  }
9775
9834
  ClrDragHandle.decorators = [
9776
- { type: Directive, args: [{ selector: '[clrDragHandle]', host: { '[class.drag-handle]': 'true' } },] }
9835
+ { type: Directive, args: [{
9836
+ selector: '[clrDragHandle]',
9837
+ host: { '[class.drag-handle]': 'true' },
9838
+ },] }
9777
9839
  ];
9778
9840
  ClrDragHandle.ctorParameters = () => [
9779
9841
  { type: ElementRef },
@@ -9974,7 +10036,9 @@ class ClrIfDragged {
9974
10036
  }
9975
10037
  }
9976
10038
  ClrIfDragged.decorators = [
9977
- { type: Directive, args: [{ selector: '[clrIfDragged]' },] }
10039
+ { type: Directive, args: [{
10040
+ selector: '[clrIfDragged]',
10041
+ },] }
9978
10042
  ];
9979
10043
  ClrIfDragged.ctorParameters = () => [
9980
10044
  { type: TemplateRef },
@@ -10490,7 +10554,9 @@ class OutsideClick {
10490
10554
  }
10491
10555
  }
10492
10556
  OutsideClick.decorators = [
10493
- { type: Directive, args: [{ selector: '[clrOutsideClick]' },] }
10557
+ { type: Directive, args: [{
10558
+ selector: '[clrOutsideClick]',
10559
+ },] }
10494
10560
  ];
10495
10561
  OutsideClick.ctorParameters = () => [
10496
10562
  { type: ElementRef },
@@ -11162,6 +11228,12 @@ class DatagridNumericFilter extends DatagridFilterRegistrar {
11162
11228
  sub.unsubscribe();
11163
11229
  });
11164
11230
  }
11231
+ get maxPlaceholderValue() {
11232
+ return this.maxPlaceholder || this.commonStrings.keys.maxValue;
11233
+ }
11234
+ get minPlaceholderValue() {
11235
+ return this.minPlaceholder || this.commonStrings.keys.minValue;
11236
+ }
11165
11237
  /**
11166
11238
  * Customizable filter logic based on high and low values
11167
11239
  */
@@ -11268,8 +11340,8 @@ DatagridNumericFilter.decorators = [
11268
11340
  type="number"
11269
11341
  name="low"
11270
11342
  [(ngModel)]="low"
11271
- [placeholder]="commonStrings.keys.minValue"
11272
- [attr.aria-label]="commonStrings.keys.minValue"
11343
+ [placeholder]="minPlaceholderValue"
11344
+ [attr.aria-label]="minPlaceholderValue"
11273
11345
  />
11274
11346
  <span class="datagrid-filter-input-spacer"></span>
11275
11347
  <input
@@ -11278,8 +11350,8 @@ DatagridNumericFilter.decorators = [
11278
11350
  type="number"
11279
11351
  name="high"
11280
11352
  [(ngModel)]="high"
11281
- [placeholder]="commonStrings.keys.maxValue"
11282
- [attr.aria-label]="commonStrings.keys.maxValue"
11353
+ [placeholder]="maxPlaceholderValue"
11354
+ [attr.aria-label]="maxPlaceholderValue"
11283
11355
  />
11284
11356
  </clr-dg-filter>
11285
11357
  `
@@ -11292,6 +11364,8 @@ DatagridNumericFilter.ctorParameters = () => [
11292
11364
  { type: ClrPopoverToggleService }
11293
11365
  ];
11294
11366
  DatagridNumericFilter.propDecorators = {
11367
+ maxPlaceholder: [{ type: Input, args: ['clrFilterMaxPlaceholder',] }],
11368
+ minPlaceholder: [{ type: Input, args: ['clrFilterMinPlaceholder',] }],
11295
11369
  customNumericFilter: [{ type: Input, args: ['clrDgNumericFilter',] }],
11296
11370
  input: [{ type: ViewChild, args: ['input_low',] }],
11297
11371
  filterContainer: [{ type: ViewChild, args: [ClrDatagridFilter,] }],
@@ -11421,6 +11495,9 @@ class DatagridStringFilter extends DatagridFilterRegistrar {
11421
11495
  this.open = false;
11422
11496
  this.filterValueChange = new EventEmitter();
11423
11497
  }
11498
+ get placeholderValue() {
11499
+ return this.placeholder || this.commonStrings.keys.filterItems;
11500
+ }
11424
11501
  /**
11425
11502
  * Customizable filter logic based on a search text
11426
11503
  */
@@ -11485,7 +11562,8 @@ DatagridStringFilter.decorators = [
11485
11562
  name="search"
11486
11563
  [(ngModel)]="value"
11487
11564
  class="clr-input"
11488
- [attr.aria-label]="commonStrings.keys.filterItems"
11565
+ [attr.aria-label]="placeholderValue"
11566
+ [placeholder]="placeholderValue"
11489
11567
  />
11490
11568
  </clr-dg-filter>
11491
11569
  `
@@ -11498,6 +11576,7 @@ DatagridStringFilter.ctorParameters = () => [
11498
11576
  { type: ClrPopoverToggleService }
11499
11577
  ];
11500
11578
  DatagridStringFilter.propDecorators = {
11579
+ placeholder: [{ type: Input, args: ['clrFilterPlaceholder',] }],
11501
11580
  customStringFilter: [{ type: Input, args: ['clrDgStringFilter',] }],
11502
11581
  input: [{ type: ViewChild, args: ['input',] }],
11503
11582
  filterContainer: [{ type: ViewChild, args: [ClrDatagridFilter,] }],
@@ -11539,7 +11618,9 @@ RowActionService.decorators = [
11539
11618
  class DatagridWillyWonka extends WillyWonka {
11540
11619
  }
11541
11620
  DatagridWillyWonka.decorators = [
11542
- { type: Directive, args: [{ selector: 'clr-datagrid' },] }
11621
+ { type: Directive, args: [{
11622
+ selector: 'clr-datagrid',
11623
+ },] }
11543
11624
  ];
11544
11625
 
11545
11626
  /*
@@ -11560,7 +11641,9 @@ class ActionableOompaLoompa extends OompaLoompa {
11560
11641
  }
11561
11642
  }
11562
11643
  ActionableOompaLoompa.decorators = [
11563
- { type: Directive, args: [{ selector: 'clr-datagrid, clr-dg-row' },] }
11644
+ { type: Directive, args: [{
11645
+ selector: 'clr-datagrid, clr-dg-row',
11646
+ },] }
11564
11647
  ];
11565
11648
  ActionableOompaLoompa.ctorParameters = () => [
11566
11649
  { type: ChangeDetectorRef },
@@ -11673,7 +11756,9 @@ class ExpandableOompaLoompa extends OompaLoompa {
11673
11756
  }
11674
11757
  }
11675
11758
  ExpandableOompaLoompa.decorators = [
11676
- { type: Directive, args: [{ selector: 'clr-datagrid, clr-dg-row' },] }
11759
+ { type: Directive, args: [{
11760
+ selector: 'clr-datagrid, clr-dg-row',
11761
+ },] }
11677
11762
  ];
11678
11763
  ExpandableOompaLoompa.ctorParameters = () => [
11679
11764
  { type: ChangeDetectorRef },
@@ -12092,6 +12177,15 @@ class ClrDatagridColumn extends DatagridFilterRegistrar {
12092
12177
  this.customFilter = true;
12093
12178
  }
12094
12179
  }
12180
+ get filterStringPlaceholderValue() {
12181
+ return this.filterStringPlaceholder || this.commonStrings.keys.filterItems;
12182
+ }
12183
+ get filterNumberMaxPlaceholderValue() {
12184
+ return this.filterNumberMaxPlaceholder || this.commonStrings.keys.maxValue;
12185
+ }
12186
+ get filterNumberMinPlaceholderValue() {
12187
+ return this.filterNumberMinPlaceholder || this.commonStrings.keys.minValue;
12188
+ }
12095
12189
  set updateFilterValue(newValue) {
12096
12190
  if (this.filter) {
12097
12191
  if (this.filter instanceof DatagridStringFilterImpl) {
@@ -12162,12 +12256,15 @@ ClrDatagridColumn.decorators = [
12162
12256
 
12163
12257
  <clr-dg-string-filter
12164
12258
  *ngIf="field && !customFilter && colType == 'string'"
12259
+ [clrFilterPlaceholder]="filterStringPlaceholderValue"
12165
12260
  [clrDgStringFilter]="registered"
12166
12261
  [(clrFilterValue)]="filterValue"
12167
12262
  ></clr-dg-string-filter>
12168
12263
 
12169
12264
  <clr-dg-numeric-filter
12170
12265
  *ngIf="field && !customFilter && colType == 'number'"
12266
+ [clrFilterMaxPlaceholder]="filterMaxPlaceholderValue"
12267
+ [clrFilterMinPlaceholder]="filterMinPlaceholderValue"
12171
12268
  [clrDgNumericFilter]="registered"
12172
12269
  [(clrFilterValue)]="filterValue"
12173
12270
  ></clr-dg-numeric-filter>
@@ -12209,6 +12306,9 @@ ClrDatagridColumn.propDecorators = {
12209
12306
  sortOrder: [{ type: Input, args: ['clrDgSortOrder',] }],
12210
12307
  sortOrderChange: [{ type: Output, args: ['clrDgSortOrderChange',] }],
12211
12308
  projectedFilter: [{ type: ContentChild, args: [CustomFilter,] }],
12309
+ filterStringPlaceholder: [{ type: Input, args: ['clrFilterStringPlaceholder',] }],
12310
+ filterNumberMaxPlaceholder: [{ type: Input, args: ['clrFilterNumberMaxPlaceholder',] }],
12311
+ filterNumberMinPlaceholder: [{ type: Input, args: ['clrFilterNumberMinPlaceholder',] }],
12212
12312
  updateFilterValue: [{ type: Input, args: ['clrFilterValue',] }],
12213
12313
  filterValueChange: [{ type: Output, args: ['clrFilterValueChange',] }]
12214
12314
  };
@@ -12717,7 +12817,7 @@ class ClrDatagridCell {
12717
12817
  ClrDatagridCell.decorators = [
12718
12818
  { type: Component, args: [{
12719
12819
  selector: 'clr-dg-cell',
12720
- template: ` <ng-content></ng-content> `,
12820
+ template: `<ng-content></ng-content>`,
12721
12821
  host: {
12722
12822
  '[class.datagrid-cell]': 'true',
12723
12823
  '[class.datagrid-signpost-trigger]': 'signpost.length > 0',
@@ -14119,7 +14219,7 @@ class ClrDatagridActionBar {
14119
14219
  ClrDatagridActionBar.decorators = [
14120
14220
  { type: Component, args: [{
14121
14221
  selector: 'clr-dg-action-bar',
14122
- template: ` <ng-content></ng-content> `,
14222
+ template: `<ng-content></ng-content>`,
14123
14223
  host: { '[class.datagrid-action-bar]': 'true' }
14124
14224
  },] }
14125
14225
  ];
@@ -14773,7 +14873,9 @@ class DatagridDetailRegisterer {
14773
14873
  }
14774
14874
  }
14775
14875
  DatagridDetailRegisterer.decorators = [
14776
- { type: Directive, args: [{ selector: '[clrIfExpanded]' },] }
14876
+ { type: Directive, args: [{
14877
+ selector: '[clrIfExpanded]',
14878
+ },] }
14777
14879
  ];
14778
14880
  DatagridDetailRegisterer.ctorParameters = () => [
14779
14881
  { type: ExpandableRowsCount, decorators: [{ type: Optional }] }
@@ -14925,7 +15027,9 @@ class ClrDatagridHideableColumn {
14925
15027
  }
14926
15028
  }
14927
15029
  ClrDatagridHideableColumn.decorators = [
14928
- { type: Directive, args: [{ selector: '[clrDgHideableColumn]' },] }
15030
+ { type: Directive, args: [{
15031
+ selector: '[clrDgHideableColumn]',
15032
+ },] }
14929
15033
  ];
14930
15034
  ClrDatagridHideableColumn.ctorParameters = () => [
14931
15035
  { type: TemplateRef },
@@ -15473,7 +15577,9 @@ class DatagridCellRenderer {
15473
15577
  }
15474
15578
  }
15475
15579
  DatagridCellRenderer.decorators = [
15476
- { type: Directive, args: [{ selector: 'clr-dg-cell' },] }
15580
+ { type: Directive, args: [{
15581
+ selector: 'clr-dg-cell',
15582
+ },] }
15477
15583
  ];
15478
15584
  DatagridCellRenderer.ctorParameters = () => [
15479
15585
  { type: ElementRef },
@@ -15589,7 +15695,10 @@ class DatagridHeaderRenderer {
15589
15695
  }
15590
15696
  }
15591
15697
  DatagridHeaderRenderer.decorators = [
15592
- { type: Directive, args: [{ selector: 'clr-dg-column', providers: [ColumnResizerService, COLUMN_STATE_PROVIDER] },] }
15698
+ { type: Directive, args: [{
15699
+ selector: 'clr-dg-column',
15700
+ providers: [ColumnResizerService, COLUMN_STATE_PROVIDER],
15701
+ },] }
15593
15702
  ];
15594
15703
  DatagridHeaderRenderer.ctorParameters = () => [
15595
15704
  { type: ElementRef },
@@ -15695,7 +15804,9 @@ class DatagridRowRenderer {
15695
15804
  }
15696
15805
  }
15697
15806
  DatagridRowRenderer.decorators = [
15698
- { type: Directive, args: [{ selector: 'clr-dg-row, clr-dg-row-detail' },] }
15807
+ { type: Directive, args: [{
15808
+ selector: 'clr-dg-row, clr-dg-row-detail',
15809
+ },] }
15699
15810
  ];
15700
15811
  DatagridRowRenderer.ctorParameters = () => [
15701
15812
  { type: ColumnsService }
@@ -15973,7 +16084,9 @@ ClrDatagridModule.ctorParameters = () => [];
15973
16084
  class ClrStackViewCustomTags {
15974
16085
  }
15975
16086
  ClrStackViewCustomTags.decorators = [
15976
- { type: Directive, args: [{ selector: 'clr-stack-content' },] }
16087
+ { type: Directive, args: [{
16088
+ selector: 'clr-stack-content',
16089
+ },] }
15977
16090
  ];
15978
16091
  class ClrStackViewLabel {
15979
16092
  constructor(uniqueId) {
@@ -16734,7 +16847,9 @@ class ClrRecursiveForOf {
16734
16847
  }
16735
16848
  }
16736
16849
  ClrRecursiveForOf.decorators = [
16737
- { type: Directive, args: [{ selector: '[clrRecursiveFor][clrRecursiveForOf]' },] }
16850
+ { type: Directive, args: [{
16851
+ selector: '[clrRecursiveFor][clrRecursiveForOf]',
16852
+ },] }
16738
16853
  ];
16739
16854
  ClrRecursiveForOf.ctorParameters = () => [
16740
16855
  { type: TemplateRef },
@@ -17117,7 +17232,7 @@ class ClrTreeNode {
17117
17232
  ClrTreeNode.decorators = [
17118
17233
  { type: Component, args: [{
17119
17234
  selector: 'clr-tree-node',
17120
- template: "<!--\n ~ Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<div\n #contentContainer\n role=\"treeitem\"\n class=\"clr-tree-node-content-container\"\n tabindex=\"-1\"\n [attr.aria-expanded]=\"isExpandable() ? expanded : null\"\n [attr.aria-selected]=\"ariaSelected\"\n (keydown)=\"onKeyDown($event)\"\n (focus)=\"broadcastFocusOnContainer()\"\n>\n <button\n *ngIf=\"isExpandable() && !isModelLoading && !expandService.loading\"\n aria-hidden=\"true\"\n type=\"button\"\n tabindex=\"-1\"\n class=\"clr-treenode-caret\"\n (click)=\"expandService.toggle();\"\n (focus)=\"focusTreeNode()\"\n >\n <cds-icon\n class=\"clr-treenode-caret-icon\"\n shape=\"angle\"\n [attr.direction]=\"expandService.expanded ? 'down' : 'right'\"\n ></cds-icon>\n </button>\n <div class=\"clr-treenode-spinner-container\" *ngIf=\"expandService.loading || isModelLoading\">\n <span class=\"clr-treenode-spinner spinner\"></span>\n </div>\n <div class=\"clr-checkbox-wrapper clr-treenode-checkbox\" *ngIf=\"featuresService.selectable\">\n <input\n aria-hidden=\"true\"\n type=\"checkbox\"\n id=\"{{nodeId}}-check\"\n class=\"clr-checkbox\"\n [checked]=\"_model.selected.value === STATES.SELECTED\"\n [indeterminate]=\"_model.selected.value === STATES.INDETERMINATE\"\n (change)=\"_model.toggleSelection(featuresService.eager)\"\n (focus)=\"focusTreeNode()\"\n tabindex=\"-1\"\n />\n <label for=\"{{nodeId}}-check\" class=\"clr-control-label\"></label>\n </div>\n <div class=\"clr-treenode-content\" (mousedown)=\"focusTreeNode()\">\n <ng-content></ng-content>\n <div class=\"clr-sr-only\" *ngIf=\"featuresService.selectable\">\n <span *ngIf=\"ariaSelected\"> selected </span>\n <span *ngIf=\"!ariaSelected\"> unselected </span>\n </div>\n </div>\n</div>\n<div\n class=\"clr-treenode-children\"\n [@toggleChildrenAnim]=\"expandService.expanded ? 'expanded' : 'collapsed'\"\n [attr.role]=\"isExpandable() && !featuresService.recursion ? 'group' : null\"\n>\n <ng-content select=\"clr-tree-node\"></ng-content>\n <ng-content select=\"[clrIfExpanded]\"></ng-content>\n <clr-recursive-children [parent]=\"_model\"></clr-recursive-children>\n</div>\n",
17235
+ template: "<!--\n ~ Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<div\n #contentContainer\n role=\"treeitem\"\n class=\"clr-tree-node-content-container\"\n tabindex=\"-1\"\n [attr.aria-expanded]=\"isExpandable() ? expanded : null\"\n [attr.aria-selected]=\"ariaSelected\"\n (keydown)=\"onKeyDown($event)\"\n (focus)=\"broadcastFocusOnContainer()\"\n>\n <button\n *ngIf=\"isExpandable() && !isModelLoading && !expandService.loading\"\n aria-hidden=\"true\"\n type=\"button\"\n tabindex=\"-1\"\n class=\"clr-treenode-caret\"\n (click)=\"expandService.toggle();\"\n (focus)=\"focusTreeNode()\"\n >\n <cds-icon\n class=\"clr-treenode-caret-icon\"\n shape=\"angle\"\n [attr.direction]=\"expandService.expanded ? 'down' : 'right'\"\n ></cds-icon>\n </button>\n <div class=\"clr-treenode-spinner-container\" *ngIf=\"expandService.loading || isModelLoading\">\n <span class=\"clr-treenode-spinner spinner\"></span>\n </div>\n <div class=\"clr-checkbox-wrapper clr-treenode-checkbox\" *ngIf=\"featuresService.selectable\">\n <input\n aria-hidden=\"true\"\n type=\"checkbox\"\n id=\"{{nodeId}}-check\"\n class=\"clr-checkbox\"\n [checked]=\"_model.selected.value === STATES.SELECTED\"\n [indeterminate]=\"_model.selected.value === STATES.INDETERMINATE\"\n (change)=\"_model.toggleSelection(featuresService.eager)\"\n (focus)=\"focusTreeNode()\"\n tabindex=\"-1\"\n />\n <label for=\"{{nodeId}}-check\" class=\"clr-control-label\"></label>\n </div>\n <div class=\"clr-treenode-content\" (mousedown)=\"focusTreeNode()\">\n <ng-content></ng-content>\n <div class=\"clr-sr-only\" *ngIf=\"featuresService.selectable\">\n <span *ngIf=\"ariaSelected\">selected</span>\n <span *ngIf=\"!ariaSelected\">unselected</span>\n </div>\n </div>\n</div>\n<div\n class=\"clr-treenode-children\"\n [@toggleChildrenAnim]=\"expandService.expanded ? 'expanded' : 'collapsed'\"\n [attr.role]=\"isExpandable() && !featuresService.recursion ? 'group' : null\"\n>\n <ng-content select=\"clr-tree-node\"></ng-content>\n <ng-content select=\"[clrIfExpanded]\"></ng-content>\n <clr-recursive-children [parent]=\"_model\"></clr-recursive-children>\n</div>\n",
17121
17236
  providers: [
17122
17237
  UNIQUE_ID_PROVIDER,
17123
17238
  TREE_FEATURES_PROVIDER,
@@ -18176,7 +18291,7 @@ class ClrDropdownMenu extends AbstractPopover {
18176
18291
  ClrDropdownMenu.decorators = [
18177
18292
  { type: Component, args: [{
18178
18293
  selector: 'clr-dropdown-menu',
18179
- template: ` <ng-content></ng-content> `,
18294
+ template: `<ng-content></ng-content>`,
18180
18295
  host: {
18181
18296
  '[class.dropdown-menu]': 'true',
18182
18297
  '[attr.role]': '"menu"',
@@ -18616,7 +18731,7 @@ class ClrAlerts {
18616
18731
  ClrAlerts.decorators = [
18617
18732
  { type: Component, args: [{
18618
18733
  selector: 'clr-alerts',
18619
- template: "<!--\n ~ Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<clr-alerts-pager *ngIf=\"multiAlertService.count > 1\" [clrCurrentAlertIndex]=\"currentAlertIndex\"> </clr-alerts-pager>\n<ng-content select=\"clr-alert\"></ng-content>\n",
18734
+ template: "<!--\n ~ Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<clr-alerts-pager *ngIf=\"multiAlertService.count > 1\" [clrCurrentAlertIndex]=\"currentAlertIndex\"></clr-alerts-pager>\n<ng-content select=\"clr-alert\"></ng-content>\n",
18620
18735
  providers: [MultiAlertService],
18621
18736
  host: {
18622
18737
  '[class.alerts]': 'true',
@@ -18876,7 +18991,10 @@ class ClrMainContainer {
18876
18991
  }
18877
18992
  }
18878
18993
  ClrMainContainer.decorators = [
18879
- { type: Directive, args: [{ selector: 'clr-main-container', host: { '[class.main-container]': 'true' } },] }
18994
+ { type: Directive, args: [{
18995
+ selector: 'clr-main-container',
18996
+ host: { '[class.main-container]': 'true' },
18997
+ },] }
18880
18998
  ];
18881
18999
  ClrMainContainer.ctorParameters = () => [
18882
19000
  { type: ElementRef },
@@ -18907,7 +19025,9 @@ ClrMainContainerModule.decorators = [
18907
19025
  class MainContainerWillyWonka extends WillyWonka {
18908
19026
  }
18909
19027
  MainContainerWillyWonka.decorators = [
18910
- { type: Directive, args: [{ selector: 'clr-main-container' },] }
19028
+ { type: Directive, args: [{
19029
+ selector: 'clr-main-container',
19030
+ },] }
18911
19031
  ];
18912
19032
 
18913
19033
  /*
@@ -18930,7 +19050,9 @@ class NavDetectionOompaLoompa extends OompaLoompa {
18930
19050
  }
18931
19051
  }
18932
19052
  NavDetectionOompaLoompa.decorators = [
18933
- { type: Directive, args: [{ selector: 'clr-header' },] }
19053
+ { type: Directive, args: [{
19054
+ selector: 'clr-header',
19055
+ },] }
18934
19056
  ];
18935
19057
  NavDetectionOompaLoompa.ctorParameters = () => [
18936
19058
  { type: ChangeDetectorRef },
@@ -19680,7 +19802,9 @@ class ClrNavLevel extends FocusTrap {
19680
19802
  }
19681
19803
  }
19682
19804
  ClrNavLevel.decorators = [
19683
- { type: Directive, args: [{ selector: '[clr-nav-level]' },] }
19805
+ { type: Directive, args: [{
19806
+ selector: '[clr-nav-level]',
19807
+ },] }
19684
19808
  ];
19685
19809
  ClrNavLevel.ctorParameters = () => [
19686
19810
  { type: undefined, decorators: [{ type: Inject, args: [PLATFORM_ID,] }] },
@@ -19768,7 +19892,9 @@ ClrTemplateRefModule.decorators = [
19768
19892
  class TabsWillyWonka extends WillyWonka {
19769
19893
  }
19770
19894
  TabsWillyWonka.decorators = [
19771
- { type: Directive, args: [{ selector: 'clr-tabs' },] }
19895
+ { type: Directive, args: [{
19896
+ selector: 'clr-tabs',
19897
+ },] }
19772
19898
  ];
19773
19899
 
19774
19900
  /*
@@ -19790,7 +19916,9 @@ class ActiveOompaLoompa extends OompaLoompa {
19790
19916
  }
19791
19917
  }
19792
19918
  ActiveOompaLoompa.decorators = [
19793
- { type: Directive, args: [{ selector: '[clrTabLink], clr-tab-content' },] }
19919
+ { type: Directive, args: [{
19920
+ selector: '[clrTabLink], clr-tab-content',
19921
+ },] }
19794
19922
  ];
19795
19923
  ActiveOompaLoompa.ctorParameters = () => [
19796
19924
  { type: ChangeDetectorRef },
@@ -20044,7 +20172,7 @@ class ClrTab {
20044
20172
  ClrTab.decorators = [
20045
20173
  { type: Component, args: [{
20046
20174
  selector: 'clr-tab',
20047
- template: ` <ng-content></ng-content> `,
20175
+ template: `<ng-content></ng-content>`,
20048
20176
  providers: [IF_ACTIVE_ID_PROVIDER, AriaService]
20049
20177
  },] }
20050
20178
  ];
@@ -20068,7 +20196,7 @@ class ClrTabOverflowContent {
20068
20196
  ClrTabOverflowContent.decorators = [
20069
20197
  { type: Component, args: [{
20070
20198
  selector: 'clr-tab-overflow-content',
20071
- template: ` <ng-content></ng-content> `,
20199
+ template: `<ng-content></ng-content>`,
20072
20200
  host: {
20073
20201
  '[class.dropdown-menu]': 'true',
20074
20202
  }
@@ -20271,8 +20399,7 @@ ClrTabs.decorators = [
20271
20399
  <ng-container
20272
20400
  *ngIf="link.tabsId === tabsId && link.inOverflow"
20273
20401
  [ngTemplateOutlet]="link.templateRefContainer.template"
20274
- >
20275
- </ng-container>
20402
+ ></ng-container>
20276
20403
  </ng-container>
20277
20404
  </clr-tab-overflow-content>
20278
20405
  </div>
@@ -20638,7 +20765,7 @@ class ClrVerticalNavGroup {
20638
20765
  ClrVerticalNavGroup.decorators = [
20639
20766
  { type: Component, args: [{
20640
20767
  selector: 'clr-vertical-nav-group',
20641
- template: "<!--\n ~ Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<div class=\"nav-group-content\">\n <ng-content select=\"[clrVerticalNavLink]\"></ng-content>\n <button\n class=\"nav-group-trigger\"\n type=\"button\"\n [attr.aria-expanded]=\"expanded\"\n [attr.aria-label]=\"groupLabel\"\n (click)=\"toggleExpand()\"\n >\n <ng-content select=\"[clrVerticalNavIcon]\"></ng-content>\n <div class=\"nav-group-text\">\n <ng-content></ng-content>\n </div>\n <cds-icon\n shape=\"angle\"\n class=\"nav-group-trigger-icon\"\n [attr.direction]=\"(this.expanded) ? 'down' : 'right'\"\n [attr.title]=\"(this.expanded) ? commonStrings.keys.collapse : commonStrings.keys.expand\"\n >\n </cds-icon>\n </button>\n</div>\n<!--TODO: This animation needs to be added to the clr-vertical-nav-group-children component-->\n<div class=\"nav-group-children\" [@clrExpand]=\"expandAnimationState\" (@clrExpand.done)=\"expandAnimationDone($event)\">\n <ng-content select=\"[clrIfExpanded], clr-vertical-nav-group-children\"></ng-content>\n</div>\n",
20768
+ template: "<!--\n ~ Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n -->\n\n<div class=\"nav-group-content\">\n <ng-content select=\"[clrVerticalNavLink]\"></ng-content>\n <button\n class=\"nav-group-trigger\"\n type=\"button\"\n [attr.aria-expanded]=\"expanded\"\n [attr.aria-label]=\"groupLabel\"\n (click)=\"toggleExpand()\"\n >\n <ng-content select=\"[clrVerticalNavIcon]\"></ng-content>\n <div class=\"nav-group-text\">\n <ng-content></ng-content>\n </div>\n <cds-icon\n shape=\"angle\"\n class=\"nav-group-trigger-icon\"\n [attr.direction]=\"(this.expanded) ? 'down' : 'right'\"\n [attr.title]=\"(this.expanded) ? commonStrings.keys.collapse : commonStrings.keys.expand\"\n ></cds-icon>\n </button>\n</div>\n<!--TODO: This animation needs to be added to the clr-vertical-nav-group-children component-->\n<div class=\"nav-group-children\" [@clrExpand]=\"expandAnimationState\" (@clrExpand.done)=\"expandAnimationDone($event)\">\n <ng-content select=\"[clrIfExpanded], clr-vertical-nav-group-children\"></ng-content>\n</div>\n",
20642
20769
  providers: [IfExpandService, VerticalNavGroupService],
20643
20770
  animations: [
20644
20771
  trigger('clrExpand', [
@@ -20674,7 +20801,7 @@ class ClrVerticalNavGroupChildren {
20674
20801
  ClrVerticalNavGroupChildren.decorators = [
20675
20802
  { type: Component, args: [{
20676
20803
  selector: 'clr-vertical-nav-group-children',
20677
- template: ` <ng-content></ng-content> `
20804
+ template: `<ng-content></ng-content>`
20678
20805
  },] }
20679
20806
  ];
20680
20807
 
@@ -20693,7 +20820,10 @@ class ClrVerticalNavIcon {
20693
20820
  }
20694
20821
  }
20695
20822
  ClrVerticalNavIcon.decorators = [
20696
- { type: Directive, args: [{ selector: '[clrVerticalNavIcon]', host: { class: 'nav-icon' } },] }
20823
+ { type: Directive, args: [{
20824
+ selector: '[clrVerticalNavIcon]',
20825
+ host: { class: 'nav-icon' },
20826
+ },] }
20697
20827
  ];
20698
20828
  ClrVerticalNavIcon.ctorParameters = () => [
20699
20829
  { type: VerticalNavIconService }
@@ -20954,7 +21084,9 @@ class ClrModalBody {
20954
21084
  }
20955
21085
  }
20956
21086
  ClrModalBody.decorators = [
20957
- { type: Directive, args: [{ selector: '.modal-body' },] }
21087
+ { type: Directive, args: [{
21088
+ selector: '.modal-body',
21089
+ },] }
20958
21090
  ];
20959
21091
  ClrModalBody.ctorParameters = () => [
20960
21092
  { type: Renderer2 },
@@ -21194,7 +21326,7 @@ class ClrTooltip {
21194
21326
  ClrTooltip.decorators = [
21195
21327
  { type: Component, args: [{
21196
21328
  selector: 'clr-tooltip',
21197
- template: ` <ng-content></ng-content> `,
21329
+ template: `<ng-content></ng-content>`,
21198
21330
  host: {
21199
21331
  '[class.tooltip]': 'true',
21200
21332
  },
@@ -21305,7 +21437,7 @@ class ClrTooltipContent extends AbstractPopover {
21305
21437
  ClrTooltipContent.decorators = [
21306
21438
  { type: Component, args: [{
21307
21439
  selector: 'clr-tooltip-content',
21308
- template: ` <ng-content></ng-content> `,
21440
+ template: `<ng-content></ng-content>`,
21309
21441
  host: {
21310
21442
  '[class.tooltip-content]': 'true',
21311
21443
  '[style.opacity]': '1',
@@ -21634,7 +21766,7 @@ class ClrTimeline {
21634
21766
  ClrTimeline.decorators = [
21635
21767
  { type: Component, args: [{
21636
21768
  selector: 'clr-timeline',
21637
- template: ` <ng-content></ng-content> `,
21769
+ template: `<ng-content></ng-content>`,
21638
21770
  host: { '[class.clr-timeline]': 'true' },
21639
21771
  providers: [TimelineIconAttributeService]
21640
21772
  },] }
@@ -21664,7 +21796,7 @@ class ClrTimelineStepTitle {
21664
21796
  ClrTimelineStepTitle.decorators = [
21665
21797
  { type: Component, args: [{
21666
21798
  selector: 'clr-timeline-step-title',
21667
- template: ` <ng-content></ng-content> `,
21799
+ template: `<ng-content></ng-content>`,
21668
21800
  host: { '[class.clr-timeline-step-title]': 'true', '[attr.aria-hidden]': 'true' }
21669
21801
  },] }
21670
21802
  ];
@@ -21713,8 +21845,7 @@ ClrTimelineStep.decorators = [
21713
21845
  [attr.shape]="iconShape"
21714
21846
  [attr.aria-label]="iconAriaLabel"
21715
21847
  [attr.aria-current]="iconAriaCurrent"
21716
- >
21717
- </cds-icon>
21848
+ ></cds-icon>
21718
21849
  </ng-container>
21719
21850
  <div class="clr-timeline-step-body">
21720
21851
  <ng-content select="clr-timeline-step-title"></ng-content>
@@ -21747,7 +21878,7 @@ class ClrTimelineStepDescription {
21747
21878
  ClrTimelineStepDescription.decorators = [
21748
21879
  { type: Component, args: [{
21749
21880
  selector: 'clr-timeline-step-description',
21750
- template: ` <ng-content></ng-content> `,
21881
+ template: `<ng-content></ng-content>`,
21751
21882
  host: { '[class.clr-timeline-step-description]': 'true' }
21752
21883
  },] }
21753
21884
  ];
@@ -21762,7 +21893,7 @@ class ClrTimelineStepHeader {
21762
21893
  ClrTimelineStepHeader.decorators = [
21763
21894
  { type: Component, args: [{
21764
21895
  selector: 'clr-timeline-step-header',
21765
- template: ` <ng-content></ng-content> `,
21896
+ template: `<ng-content></ng-content>`,
21766
21897
  host: { '[class.clr-timeline-step-header]': 'true' }
21767
21898
  },] }
21768
21899
  ];
@@ -22878,7 +23009,9 @@ class ClrWizardPageButtons {
22878
23009
  }
22879
23010
  }
22880
23011
  ClrWizardPageButtons.decorators = [
22881
- { type: Directive, args: [{ selector: '[clrPageButtons]' },] }
23012
+ { type: Directive, args: [{
23013
+ selector: '[clrPageButtons]',
23014
+ },] }
22882
23015
  ];
22883
23016
  ClrWizardPageButtons.ctorParameters = () => [
22884
23017
  { type: TemplateRef }
@@ -22895,7 +23028,9 @@ class ClrWizardPageHeaderActions {
22895
23028
  }
22896
23029
  }
22897
23030
  ClrWizardPageHeaderActions.decorators = [
22898
- { type: Directive, args: [{ selector: '[clrPageHeaderActions]' },] }
23031
+ { type: Directive, args: [{
23032
+ selector: '[clrPageHeaderActions]',
23033
+ },] }
22899
23034
  ];
22900
23035
  ClrWizardPageHeaderActions.ctorParameters = () => [
22901
23036
  { type: TemplateRef }
@@ -22912,7 +23047,9 @@ class ClrWizardPageNavTitle {
22912
23047
  }
22913
23048
  }
22914
23049
  ClrWizardPageNavTitle.decorators = [
22915
- { type: Directive, args: [{ selector: '[clrPageNavTitle]' },] }
23050
+ { type: Directive, args: [{
23051
+ selector: '[clrPageNavTitle]',
23052
+ },] }
22916
23053
  ];
22917
23054
  ClrWizardPageNavTitle.ctorParameters = () => [
22918
23055
  { type: TemplateRef }
@@ -22929,7 +23066,9 @@ class ClrWizardPageTitle {
22929
23066
  }
22930
23067
  }
22931
23068
  ClrWizardPageTitle.decorators = [
22932
- { type: Directive, args: [{ selector: '[clrPageTitle]' },] }
23069
+ { type: Directive, args: [{
23070
+ selector: '[clrPageTitle]',
23071
+ },] }
22933
23072
  ];
22934
23073
  ClrWizardPageTitle.ctorParameters = () => [
22935
23074
  { type: TemplateRef }
@@ -24169,7 +24308,9 @@ ClrWizardButton.propDecorators = {
24169
24308
  class ClrWizardCustomTags {
24170
24309
  }
24171
24310
  ClrWizardCustomTags.decorators = [
24172
- { type: Directive, args: [{ selector: 'clr-wizard-title, clr-wizard-pagetitle' },] }
24311
+ { type: Directive, args: [{
24312
+ selector: 'clr-wizard-title, clr-wizard-pagetitle',
24313
+ },] }
24173
24314
  ];
24174
24315
 
24175
24316
  /*