@clr/angular 13.3.2 → 13.4.2
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.
- package/clarity.api.md +3 -7
- package/data/tree-view/tree.d.ts +2 -5
- package/esm2020/accordion/chocolate/accordion-oompa-loompa.mjs +4 -2
- package/esm2020/accordion/chocolate/accordion-willy-wonka.mjs +4 -2
- package/esm2020/accordion/stepper/chocolate/stepper-oompa-loompa.mjs +4 -2
- package/esm2020/accordion/stepper/chocolate/stepper-willy-wonka.mjs +4 -2
- package/esm2020/data/datagrid/chocolate/actionable-oompa-loompa.mjs +4 -2
- package/esm2020/data/datagrid/chocolate/datagrid-willy-wonka.mjs +4 -2
- package/esm2020/data/datagrid/chocolate/expandable-oompa-loompa.mjs +4 -2
- package/esm2020/data/datagrid/datagrid-action-bar.mjs +3 -3
- package/esm2020/data/datagrid/datagrid-action-overflow.mjs +1 -3
- package/esm2020/data/datagrid/datagrid-cell.mjs +3 -3
- package/esm2020/data/datagrid/datagrid-detail-registerer.mjs +4 -2
- package/esm2020/data/datagrid/datagrid-hideable-column.mjs +4 -2
- package/esm2020/data/datagrid/render/cell-renderer.mjs +4 -2
- package/esm2020/data/datagrid/render/header-renderer.mjs +5 -2
- package/esm2020/data/datagrid/render/row-renderer.mjs +4 -2
- package/esm2020/data/stack-view/stack-view-custom-tags.mjs +4 -2
- package/esm2020/data/tree-view/recursive-for-of.mjs +4 -2
- package/esm2020/data/tree-view/tree-node.mjs +3 -3
- package/esm2020/data/tree-view/tree.mjs +19 -22
- package/esm2020/emphasis/alert/alerts.mjs +3 -3
- package/esm2020/forms/checkbox/checkbox.mjs +4 -2
- package/esm2020/forms/combobox/combobox.mjs +3 -3
- package/esm2020/forms/combobox/option-selected.directive.mjs +4 -2
- package/esm2020/forms/combobox/option.mjs +9 -5
- package/esm2020/forms/combobox/options.mjs +5 -1
- package/esm2020/forms/combobox/providers/combobox-focus-handler.service.mjs +9 -2
- package/esm2020/forms/common/control.mjs +5 -2
- package/esm2020/forms/common/error.mjs +3 -3
- package/esm2020/forms/common/helper.mjs +3 -3
- package/esm2020/forms/common/if-control-state/if-error.mjs +4 -2
- package/esm2020/forms/common/if-control-state/if-success.mjs +4 -2
- package/esm2020/forms/common/label.mjs +4 -2
- package/esm2020/forms/common/success.mjs +3 -3
- package/esm2020/forms/datepicker/calendar.mjs +1 -1
- package/esm2020/forms/input/input.mjs +5 -2
- package/esm2020/forms/password/password-container.mjs +7 -7
- package/esm2020/forms/password/password.mjs +5 -2
- package/esm2020/forms/radio/radio.mjs +4 -2
- package/esm2020/forms/range/range.mjs +5 -2
- package/esm2020/forms/select/select.mjs +5 -2
- package/esm2020/forms/textarea/textarea.mjs +5 -2
- package/esm2020/icon/icon.mjs +7 -3
- package/esm2020/layout/main-container/main-container.mjs +5 -2
- package/esm2020/layout/nav/aria-current-link.mjs +5 -2
- package/esm2020/layout/nav/chocolate/main-container-willy-wonka.mjs +4 -2
- package/esm2020/layout/nav/chocolate/nav-detection-oompa-loompa.mjs +4 -2
- package/esm2020/layout/nav/nav-level.mjs +4 -2
- package/esm2020/layout/tabs/chocolate/active-oompa-loompa.mjs +4 -2
- package/esm2020/layout/tabs/chocolate/tabs-willy-wonka.mjs +4 -2
- package/esm2020/layout/tabs/tab-overflow-content.mjs +3 -3
- package/esm2020/layout/tabs/tab.mjs +3 -3
- package/esm2020/layout/tabs/tabs.mjs +3 -5
- package/esm2020/layout/vertical-nav/vertical-nav-group-children.mjs +3 -3
- package/esm2020/layout/vertical-nav/vertical-nav-group.mjs +3 -3
- package/esm2020/layout/vertical-nav/vertical-nav-icon.mjs +5 -2
- package/esm2020/modal/modal-body.mjs +4 -2
- package/esm2020/popover/dropdown/dropdown-menu.mjs +3 -3
- package/esm2020/popover/tooltip/tooltip-content.mjs +26 -36
- package/esm2020/popover/tooltip/tooltip.mjs +3 -3
- package/esm2020/progress/spinner/spinner.mjs +3 -3
- package/esm2020/timeline/timeline-step-description.mjs +3 -3
- package/esm2020/timeline/timeline-step-header.mjs +3 -3
- package/esm2020/timeline/timeline-step-title.mjs +3 -3
- package/esm2020/timeline/timeline-step.mjs +3 -3
- package/esm2020/timeline/timeline.mjs +3 -3
- package/esm2020/utils/animations/expandable-animation/expandable-animation.mjs +3 -3
- package/esm2020/utils/assert/assert.helpers.mjs +9 -0
- package/esm2020/utils/conditional/if-active.directive.mjs +4 -2
- package/esm2020/utils/conditional/if-expanded.directive.mjs +4 -2
- package/esm2020/utils/conditional/if-open.directive.mjs +4 -2
- package/esm2020/utils/drag-and-drop/drag-handle.mjs +5 -2
- package/esm2020/utils/drag-and-drop/if-dragged.mjs +4 -2
- package/esm2020/utils/focus-trap/focus-trap.directive.mjs +4 -2
- package/esm2020/utils/loading/loading.mjs +4 -2
- package/esm2020/utils/outside-click/outside-click.mjs +4 -2
- package/esm2020/utils/popover/popover-content.mjs +4 -2
- package/esm2020/wizard/wizard-custom-tags.mjs +4 -2
- package/esm2020/wizard/wizard-page-buttons.mjs +4 -2
- package/esm2020/wizard/wizard-page-header-actions.mjs +4 -2
- package/esm2020/wizard/wizard-page-navtitle.mjs +4 -2
- package/esm2020/wizard/wizard-page-title.mjs +4 -2
- package/fesm2015/clr-angular.mjs +283 -165
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +283 -165
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/popover/tooltip/tooltip-content.d.ts +3 -3
- package/utils/assert/assert.helpers.d.ts +1 -0
package/fesm2020/clr-angular.mjs
CHANGED
|
@@ -25,7 +25,9 @@ ClrIconCustomTag.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version
|
|
|
25
25
|
ClrIconCustomTag.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrIconCustomTag, selector: "clr-icon", ngImport: i0 });
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIconCustomTag, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
|
-
args: [{
|
|
28
|
+
args: [{
|
|
29
|
+
selector: 'clr-icon',
|
|
30
|
+
}]
|
|
29
31
|
}] });
|
|
30
32
|
class CdsIconCustomTag {
|
|
31
33
|
}
|
|
@@ -33,7 +35,9 @@ CdsIconCustomTag.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version
|
|
|
33
35
|
CdsIconCustomTag.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: CdsIconCustomTag, selector: "cds-icon", ngImport: i0 });
|
|
34
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CdsIconCustomTag, decorators: [{
|
|
35
37
|
type: Directive,
|
|
36
|
-
args: [{
|
|
38
|
+
args: [{
|
|
39
|
+
selector: 'cds-icon',
|
|
40
|
+
}]
|
|
37
41
|
}] });
|
|
38
42
|
|
|
39
43
|
/*
|
|
@@ -108,7 +112,9 @@ ClrLoading.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
|
108
112
|
ClrLoading.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrLoading, selector: "[clrLoading]", inputs: { loadingState: ["clrLoading", "loadingState"] }, ngImport: i0 });
|
|
109
113
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrLoading, decorators: [{
|
|
110
114
|
type: Directive,
|
|
111
|
-
args: [{
|
|
115
|
+
args: [{
|
|
116
|
+
selector: '[clrLoading]',
|
|
117
|
+
}]
|
|
112
118
|
}], ctorParameters: function () { return [{ type: LoadingListener, decorators: [{
|
|
113
119
|
type: Optional
|
|
114
120
|
}] }]; }, propDecorators: { loadingState: [{
|
|
@@ -775,7 +781,9 @@ AccordionWillyWonka.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
|
|
|
775
781
|
AccordionWillyWonka.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AccordionWillyWonka, selector: "clr-accordion", usesInheritance: true, ngImport: i0 });
|
|
776
782
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionWillyWonka, decorators: [{
|
|
777
783
|
type: Directive,
|
|
778
|
-
args: [{
|
|
784
|
+
args: [{
|
|
785
|
+
selector: 'clr-accordion',
|
|
786
|
+
}]
|
|
779
787
|
}] });
|
|
780
788
|
|
|
781
789
|
/*
|
|
@@ -799,7 +807,9 @@ AccordionOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ver
|
|
|
799
807
|
AccordionOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AccordionOompaLoompa, selector: "clr-accordion-panel", usesInheritance: true, ngImport: i0 });
|
|
800
808
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionOompaLoompa, decorators: [{
|
|
801
809
|
type: Directive,
|
|
802
|
-
args: [{
|
|
810
|
+
args: [{
|
|
811
|
+
selector: 'clr-accordion-panel',
|
|
812
|
+
}]
|
|
803
813
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: AccordionWillyWonka, decorators: [{
|
|
804
814
|
type: Optional
|
|
805
815
|
}] }, { type: IfExpandService }]; } });
|
|
@@ -1246,7 +1256,9 @@ StepperWillyWonka.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
1246
1256
|
StepperWillyWonka.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: StepperWillyWonka, selector: "form[clrStepper]", usesInheritance: true, ngImport: i0 });
|
|
1247
1257
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StepperWillyWonka, decorators: [{
|
|
1248
1258
|
type: Directive,
|
|
1249
|
-
args: [{
|
|
1259
|
+
args: [{
|
|
1260
|
+
selector: 'form[clrStepper]',
|
|
1261
|
+
}]
|
|
1250
1262
|
}] });
|
|
1251
1263
|
|
|
1252
1264
|
/*
|
|
@@ -1270,7 +1282,9 @@ StepperOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
1270
1282
|
StepperOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: StepperOompaLoompa, selector: "clr-stepper-panel, [clrStepButton]", usesInheritance: true, ngImport: i0 });
|
|
1271
1283
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StepperOompaLoompa, decorators: [{
|
|
1272
1284
|
type: Directive,
|
|
1273
|
-
args: [{
|
|
1285
|
+
args: [{
|
|
1286
|
+
selector: 'clr-stepper-panel, [clrStepButton]',
|
|
1287
|
+
}]
|
|
1274
1288
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: StepperWillyWonka, decorators: [{
|
|
1275
1289
|
type: Optional
|
|
1276
1290
|
}] }, { type: IfExpandService }]; } });
|
|
@@ -2217,7 +2231,9 @@ ClrPopoverContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
2217
2231
|
ClrPopoverContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrPopoverContent, selector: "[clrPopoverContent]", inputs: { open: ["clrPopoverContent", "open"], contentAt: ["clrPopoverContentAt", "contentAt"], outsideClickClose: ["clrPopoverContentOutsideClickToClose", "outsideClickClose"], scrollToClose: ["clrPopoverContentScrollToClose", "scrollToClose"] }, ngImport: i0 });
|
|
2218
2232
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrPopoverContent, decorators: [{
|
|
2219
2233
|
type: Directive,
|
|
2220
|
-
args: [{
|
|
2234
|
+
args: [{
|
|
2235
|
+
selector: '[clrPopoverContent]',
|
|
2236
|
+
}]
|
|
2221
2237
|
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
|
2222
2238
|
type: Inject,
|
|
2223
2239
|
args: [DOCUMENT]
|
|
@@ -3072,12 +3088,12 @@ class ClrControlError extends ClrAbstractControl {
|
|
|
3072
3088
|
}
|
|
3073
3089
|
}
|
|
3074
3090
|
ClrControlError.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrControlError, deps: [{ token: ControlIdService, optional: true }, { token: ContainerIdService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
3075
|
-
ClrControlError.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrControlError, selector: "clr-control-error", host: { properties: { "class.clr-subtext": "true", "attr.id": "id" } }, usesInheritance: true, ngImport: i0, template:
|
|
3091
|
+
ClrControlError.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrControlError, selector: "clr-control-error", host: { properties: { "class.clr-subtext": "true", "attr.id": "id" } }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
3076
3092
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrControlError, decorators: [{
|
|
3077
3093
|
type: Component,
|
|
3078
3094
|
args: [{
|
|
3079
3095
|
selector: 'clr-control-error',
|
|
3080
|
-
template:
|
|
3096
|
+
template: `<ng-content></ng-content>`,
|
|
3081
3097
|
host: {
|
|
3082
3098
|
'[class.clr-subtext]': 'true',
|
|
3083
3099
|
'[attr.id]': 'id',
|
|
@@ -3103,12 +3119,12 @@ class ClrControlHelper extends ClrAbstractControl {
|
|
|
3103
3119
|
}
|
|
3104
3120
|
}
|
|
3105
3121
|
ClrControlHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrControlHelper, deps: [{ token: ControlIdService, optional: true }, { token: ContainerIdService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
3106
|
-
ClrControlHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrControlHelper, selector: "clr-control-helper", host: { properties: { "class.clr-subtext": "true", "attr.id": "id" } }, usesInheritance: true, ngImport: i0, template:
|
|
3122
|
+
ClrControlHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrControlHelper, selector: "clr-control-helper", host: { properties: { "class.clr-subtext": "true", "attr.id": "id" } }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
3107
3123
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrControlHelper, decorators: [{
|
|
3108
3124
|
type: Component,
|
|
3109
3125
|
args: [{
|
|
3110
3126
|
selector: 'clr-control-helper',
|
|
3111
|
-
template:
|
|
3127
|
+
template: `<ng-content></ng-content>`,
|
|
3112
3128
|
host: {
|
|
3113
3129
|
'[class.clr-subtext]': 'true',
|
|
3114
3130
|
'[attr.id]': 'id',
|
|
@@ -3304,7 +3320,9 @@ ClrLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
|
3304
3320
|
ClrLabel.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrLabel, selector: "label", inputs: { forAttr: ["for", "forAttr"] }, host: { properties: { "attr.for": "this.forAttr" } }, ngImport: i0 });
|
|
3305
3321
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrLabel, decorators: [{
|
|
3306
3322
|
type: Directive,
|
|
3307
|
-
args: [{
|
|
3323
|
+
args: [{
|
|
3324
|
+
selector: 'label',
|
|
3325
|
+
}]
|
|
3308
3326
|
}], ctorParameters: function () { return [{ type: ControlIdService, decorators: [{
|
|
3309
3327
|
type: Optional
|
|
3310
3328
|
}] }, { type: LayoutService, decorators: [{
|
|
@@ -3333,12 +3351,12 @@ class ClrControlSuccess extends ClrAbstractControl {
|
|
|
3333
3351
|
}
|
|
3334
3352
|
}
|
|
3335
3353
|
ClrControlSuccess.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrControlSuccess, deps: [{ token: ControlIdService, optional: true }, { token: ContainerIdService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
3336
|
-
ClrControlSuccess.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrControlSuccess, selector: "clr-control-success", host: { properties: { "class.clr-subtext": "true", "attr.id": "id" } }, usesInheritance: true, ngImport: i0, template:
|
|
3354
|
+
ClrControlSuccess.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrControlSuccess, selector: "clr-control-success", host: { properties: { "class.clr-subtext": "true", "attr.id": "id" } }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
3337
3355
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrControlSuccess, decorators: [{
|
|
3338
3356
|
type: Component,
|
|
3339
3357
|
args: [{
|
|
3340
3358
|
selector: 'clr-control-success',
|
|
3341
|
-
template:
|
|
3359
|
+
template: `<ng-content></ng-content>`,
|
|
3342
3360
|
host: {
|
|
3343
3361
|
'[class.clr-subtext]': 'true',
|
|
3344
3362
|
'[attr.id]': 'id',
|
|
@@ -3802,7 +3820,10 @@ ClrControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
|
3802
3820
|
ClrControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrControl, selector: "[clrControl]", host: { properties: { "class.clr-input": "true" } }, usesInheritance: true, ngImport: i0 });
|
|
3803
3821
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrControl, decorators: [{
|
|
3804
3822
|
type: Directive,
|
|
3805
|
-
args: [{
|
|
3823
|
+
args: [{
|
|
3824
|
+
selector: '[clrControl]',
|
|
3825
|
+
host: { '[class.clr-input]': 'true' },
|
|
3826
|
+
}]
|
|
3806
3827
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
3807
3828
|
type: Self
|
|
3808
3829
|
}, {
|
|
@@ -3947,7 +3968,9 @@ ClrIfError.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
|
3947
3968
|
ClrIfError.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrIfError, selector: "[clrIfError]", inputs: { error: ["clrIfError", "error"] }, usesInheritance: true, ngImport: i0 });
|
|
3948
3969
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfError, decorators: [{
|
|
3949
3970
|
type: Directive,
|
|
3950
|
-
args: [{
|
|
3971
|
+
args: [{
|
|
3972
|
+
selector: '[clrIfError]',
|
|
3973
|
+
}]
|
|
3951
3974
|
}], ctorParameters: function () { return [{ type: IfControlStateService, decorators: [{
|
|
3952
3975
|
type: Optional
|
|
3953
3976
|
}] }, { type: NgControlService, decorators: [{
|
|
@@ -3989,7 +4012,9 @@ ClrIfSuccess.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "1
|
|
|
3989
4012
|
ClrIfSuccess.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrIfSuccess, selector: "[clrIfSuccess]", usesInheritance: true, ngImport: i0 });
|
|
3990
4013
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfSuccess, decorators: [{
|
|
3991
4014
|
type: Directive,
|
|
3992
|
-
args: [{
|
|
4015
|
+
args: [{
|
|
4016
|
+
selector: '[clrIfSuccess]',
|
|
4017
|
+
}]
|
|
3993
4018
|
}], ctorParameters: function () { return [{ type: IfControlStateService, decorators: [{
|
|
3994
4019
|
type: Optional
|
|
3995
4020
|
}] }, { type: NgControlService, decorators: [{
|
|
@@ -4175,7 +4200,9 @@ ClrCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13
|
|
|
4175
4200
|
ClrCheckbox.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrCheckbox, selector: "[clrCheckbox],[clrToggle]", usesInheritance: true, ngImport: i0 });
|
|
4176
4201
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrCheckbox, decorators: [{
|
|
4177
4202
|
type: Directive,
|
|
4178
|
-
args: [{
|
|
4203
|
+
args: [{
|
|
4204
|
+
selector: '[clrCheckbox],[clrToggle]',
|
|
4205
|
+
}]
|
|
4179
4206
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
4180
4207
|
type: Self
|
|
4181
4208
|
}, {
|
|
@@ -4379,12 +4406,12 @@ class ClrSpinner {
|
|
|
4379
4406
|
}
|
|
4380
4407
|
}
|
|
4381
4408
|
ClrSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrSpinner, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4382
|
-
ClrSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrSpinner, selector: "clr-spinner", inputs: { clrInline: "clrInline", clrInverse: "clrInverse", clrSmall: "clrSmall", clrMedium: "clrMedium" }, host: { properties: { "attr.aria-busy": "true", "class.spinner": "this.spinnerClass", "class.spinner-inline": "this.inlineClass", "class.spinner-inverse": "this.inverseClass", "class.spinner-sm": "this.smallClass", "class.spinner-md": "this.mediumClass" } }, ngImport: i0, template:
|
|
4409
|
+
ClrSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrSpinner, selector: "clr-spinner", inputs: { clrInline: "clrInline", clrInverse: "clrInverse", clrSmall: "clrSmall", clrMedium: "clrMedium" }, host: { properties: { "attr.aria-busy": "true", "class.spinner": "this.spinnerClass", "class.spinner-inline": "this.inlineClass", "class.spinner-inverse": "this.inverseClass", "class.spinner-sm": "this.smallClass", "class.spinner-md": "this.mediumClass" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
4383
4410
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrSpinner, decorators: [{
|
|
4384
4411
|
type: Component,
|
|
4385
4412
|
args: [{
|
|
4386
4413
|
selector: 'clr-spinner',
|
|
4387
|
-
template:
|
|
4414
|
+
template: `<ng-content></ng-content>`,
|
|
4388
4415
|
host: {
|
|
4389
4416
|
'[attr.aria-busy]': 'true',
|
|
4390
4417
|
},
|
|
@@ -4600,7 +4627,9 @@ ClrIfActive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13
|
|
|
4600
4627
|
ClrIfActive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrIfActive, selector: "[clrIfActive]", inputs: { active: ["clrIfActive", "active"] }, outputs: { activeChange: "clrIfActiveChange" }, ngImport: i0 });
|
|
4601
4628
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfActive, decorators: [{
|
|
4602
4629
|
type: Directive,
|
|
4603
|
-
args: [{
|
|
4630
|
+
args: [{
|
|
4631
|
+
selector: '[clrIfActive]',
|
|
4632
|
+
}]
|
|
4604
4633
|
}], ctorParameters: function () { return [{ type: IfActiveService }, { type: undefined, decorators: [{
|
|
4605
4634
|
type: Inject,
|
|
4606
4635
|
args: [IF_ACTIVE_ID]
|
|
@@ -4690,7 +4719,9 @@ ClrIfExpanded.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
|
4690
4719
|
ClrIfExpanded.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrIfExpanded, selector: "[clrIfExpanded]", inputs: { expanded: ["clrIfExpanded", "expanded"] }, outputs: { expandedChange: "clrIfExpandedChange" }, ngImport: i0 });
|
|
4691
4720
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfExpanded, decorators: [{
|
|
4692
4721
|
type: Directive,
|
|
4693
|
-
args: [{
|
|
4722
|
+
args: [{
|
|
4723
|
+
selector: '[clrIfExpanded]',
|
|
4724
|
+
}]
|
|
4694
4725
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
4695
4726
|
type: Optional
|
|
4696
4727
|
}] }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: IfExpandService }]; }, propDecorators: { expanded: [{
|
|
@@ -4776,7 +4807,9 @@ ClrIfOpen.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0
|
|
|
4776
4807
|
ClrIfOpen.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrIfOpen, selector: "[clrIfOpen]", inputs: { open: ["clrIfOpen", "open"] }, outputs: { openChange: "clrIfOpenChange" }, ngImport: i0 });
|
|
4777
4808
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfOpen, decorators: [{
|
|
4778
4809
|
type: Directive,
|
|
4779
|
-
args: [{
|
|
4810
|
+
args: [{
|
|
4811
|
+
selector: '[clrIfOpen]',
|
|
4812
|
+
}]
|
|
4780
4813
|
}], ctorParameters: function () { return [{ type: ClrPopoverToggleService }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { open: [{
|
|
4781
4814
|
type: Input,
|
|
4782
4815
|
args: ['clrIfOpen']
|
|
@@ -5531,7 +5564,9 @@ ClrOptionSelected.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
5531
5564
|
ClrOptionSelected.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrOptionSelected, selector: "[clrOptionSelected]", inputs: { selected: ["clrOptionSelected", "selected"] }, ngImport: i0 });
|
|
5532
5565
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrOptionSelected, decorators: [{
|
|
5533
5566
|
type: Directive,
|
|
5534
|
-
args: [{
|
|
5567
|
+
args: [{
|
|
5568
|
+
selector: '[clrOptionSelected]',
|
|
5569
|
+
}]
|
|
5535
5570
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { selected: [{
|
|
5536
5571
|
type: Input,
|
|
5537
5572
|
args: ['clrOptionSelected']
|
|
@@ -5829,7 +5864,14 @@ class ComboboxFocusHandler {
|
|
|
5829
5864
|
firstActive = this.selectionService.selectionModel.model;
|
|
5830
5865
|
}
|
|
5831
5866
|
const activeProxy = this.optionData.find(option => option.value === firstActive);
|
|
5832
|
-
|
|
5867
|
+
if (activeProxy) {
|
|
5868
|
+
// active element is visible
|
|
5869
|
+
this.pseudoFocus.select(activeProxy);
|
|
5870
|
+
}
|
|
5871
|
+
else {
|
|
5872
|
+
// we have active element, but it's filtered out
|
|
5873
|
+
this.pseudoFocus.select(this.optionData[0]);
|
|
5874
|
+
}
|
|
5833
5875
|
}
|
|
5834
5876
|
}
|
|
5835
5877
|
}
|
|
@@ -6122,7 +6164,7 @@ ClrCombobox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
|
6122
6164
|
ClrPopoverToggleService,
|
|
6123
6165
|
ClrPopoverEventsService,
|
|
6124
6166
|
ClrPopoverPositionService,
|
|
6125
|
-
], queries: [{ propertyName: "optionSelected", first: true, predicate: ClrOptionSelected, descendants: true }], viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textboxInput"], descendants: true }, { propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true }], usesInheritance: true, ngImport: i0, 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
|
|
6167
|
+
], queries: [{ propertyName: "optionSelected", first: true, predicate: ClrOptionSelected, descendants: true }], viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textboxInput"], descendants: true }, { propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true }], usesInheritance: true, ngImport: i0, 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", components: [{ type: ClrRovingTabindex, selector: "[clrRovingTabindex]", inputs: ["clrRovingTabindex", "clrRovingTabindexDisabled"] }], directives: [{ type: ClrPopoverAnchor, selector: "[clrPopoverAnchor]" }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ClrKeyFocusItem, selector: "[clrKeyFocusItem]" }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: CdsIconCustomTag, selector: "cds-icon" }, { type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: ClrPopoverOpenCloseButton, selector: "[clrPopoverOpenCloseButton]", outputs: ["clrPopoverOpenCloseChange"] }, { type: ClrPopoverContent, selector: "[clrPopoverContent]", inputs: ["clrPopoverContent", "clrPopoverContentAt", "clrPopoverContentOutsideClickToClose", "clrPopoverContentScrollToClose"] }] });
|
|
6126
6168
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrCombobox, decorators: [{
|
|
6127
6169
|
type: Component,
|
|
6128
6170
|
args: [{ selector: 'clr-combobox', providers: [
|
|
@@ -6141,7 +6183,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
6141
6183
|
'[class.aria-required]': 'true',
|
|
6142
6184
|
'[class.clr-combobox]': 'true',
|
|
6143
6185
|
'[class.clr-combobox-disabled]': 'control?.disabled',
|
|
6144
|
-
}, 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
|
|
6186
|
+
}, 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" }]
|
|
6145
6187
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
6146
6188
|
type: Self
|
|
6147
6189
|
}, {
|
|
@@ -6239,14 +6281,18 @@ class ClrOption {
|
|
|
6239
6281
|
}
|
|
6240
6282
|
}
|
|
6241
6283
|
ClrOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrOption, deps: [{ token: i0.ElementRef }, { token: ClrCommonStringsService }, { token: ComboboxFocusHandler }, { token: OptionSelectionService }, { token: UNIQUE_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
6242
|
-
ClrOption.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrOption, selector: "clr-option", inputs: { optionId: ["id", "optionId"], value: ["clrValue", "value"] }, host: { listeners: { "click": "onClick()" }, properties: { "class.clr-combobox-option": "true", "attr.role": "\"option\"", "attr.tabindex": "-1", "attr.id": "optionId", "class.active": "this.selected", "class.clr-focus": "this.focusClass" } }, providers: [UNIQUE_ID_PROVIDER], ngImport: i0, template:
|
|
6243
|
-
<
|
|
6284
|
+
ClrOption.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrOption, selector: "clr-option", inputs: { optionId: ["id", "optionId"], value: ["clrValue", "value"] }, host: { listeners: { "click": "onClick()" }, properties: { "class.clr-combobox-option": "true", "attr.role": "\"option\"", "attr.tabindex": "-1", "attr.id": "optionId", "class.active": "this.selected", "class.clr-focus": "this.focusClass" } }, providers: [UNIQUE_ID_PROVIDER], ngImport: i0, template: `
|
|
6285
|
+
<ng-content></ng-content>
|
|
6286
|
+
<span *ngIf="selected" class="clr-sr-only">{{ commonStrings.keys.comboboxSelected }}</span>
|
|
6287
|
+
`, isInline: true, directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
6244
6288
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrOption, decorators: [{
|
|
6245
6289
|
type: Component,
|
|
6246
6290
|
args: [{
|
|
6247
6291
|
selector: 'clr-option',
|
|
6248
|
-
template:
|
|
6249
|
-
<
|
|
6292
|
+
template: `
|
|
6293
|
+
<ng-content></ng-content>
|
|
6294
|
+
<span *ngIf="selected" class="clr-sr-only">{{ commonStrings.keys.comboboxSelected }}</span>
|
|
6295
|
+
`,
|
|
6250
6296
|
providers: [UNIQUE_ID_PROVIDER],
|
|
6251
6297
|
host: {
|
|
6252
6298
|
'[class.clr-combobox-option]': 'true',
|
|
@@ -6427,6 +6473,10 @@ class ClrOptions {
|
|
|
6427
6473
|
event.target !== this.focusHandler.textInput) {
|
|
6428
6474
|
this.toggleService.open = false;
|
|
6429
6475
|
}
|
|
6476
|
+
}), this.items.changes.subscribe(() => {
|
|
6477
|
+
setTimeout(() => {
|
|
6478
|
+
this.focusHandler.focusFirstActive();
|
|
6479
|
+
});
|
|
6430
6480
|
}));
|
|
6431
6481
|
}
|
|
6432
6482
|
ngOnDestroy() {
|
|
@@ -6654,7 +6704,10 @@ ClrInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
|
6654
6704
|
ClrInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrInput, selector: "[clrInput]", host: { properties: { "class.clr-input": "true" } }, usesInheritance: true, ngImport: i0 });
|
|
6655
6705
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrInput, decorators: [{
|
|
6656
6706
|
type: Directive,
|
|
6657
|
-
args: [{
|
|
6707
|
+
args: [{
|
|
6708
|
+
selector: '[clrInput]',
|
|
6709
|
+
host: { '[class.clr-input]': 'true' },
|
|
6710
|
+
}]
|
|
6658
6711
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
6659
6712
|
type: Self
|
|
6660
6713
|
}, {
|
|
@@ -7131,7 +7184,9 @@ FocusTrapDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
7131
7184
|
FocusTrapDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: FocusTrapDirective, selector: "[clrFocusTrap]", inputs: { config: ["clrFocusTrap", "config"] }, host: { listeners: { "document:focusin": "onFocusIn($event)" } }, ngImport: i0 });
|
|
7132
7185
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FocusTrapDirective, decorators: [{
|
|
7133
7186
|
type: Directive,
|
|
7134
|
-
args: [{
|
|
7187
|
+
args: [{
|
|
7188
|
+
selector: '[clrFocusTrap]',
|
|
7189
|
+
}]
|
|
7135
7190
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Injector }, { type: FocusTrapTracker }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
7136
7191
|
type: Inject,
|
|
7137
7192
|
args: [PLATFORM_ID]
|
|
@@ -9443,9 +9498,9 @@ ClrPasswordContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
9443
9498
|
type="button"
|
|
9444
9499
|
>
|
|
9445
9500
|
<cds-icon status="info" [attr.shape]="show ? 'eye-hide' : 'eye'"></cds-icon>
|
|
9446
|
-
<span class="clr-sr-only">
|
|
9447
|
-
show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow
|
|
9448
|
-
|
|
9501
|
+
<span class="clr-sr-only">
|
|
9502
|
+
{{ show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow }}
|
|
9503
|
+
</span>
|
|
9449
9504
|
</button>
|
|
9450
9505
|
</div>
|
|
9451
9506
|
<cds-icon
|
|
@@ -9487,9 +9542,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
9487
9542
|
type="button"
|
|
9488
9543
|
>
|
|
9489
9544
|
<cds-icon status="info" [attr.shape]="show ? 'eye-hide' : 'eye'"></cds-icon>
|
|
9490
|
-
<span class="clr-sr-only">
|
|
9491
|
-
show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow
|
|
9492
|
-
|
|
9545
|
+
<span class="clr-sr-only">
|
|
9546
|
+
{{ show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow }}
|
|
9547
|
+
</span>
|
|
9493
9548
|
</button>
|
|
9494
9549
|
</div>
|
|
9495
9550
|
<cds-icon
|
|
@@ -9570,7 +9625,10 @@ ClrPassword.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13
|
|
|
9570
9625
|
ClrPassword.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrPassword, selector: "[clrPassword]", host: { listeners: { "focus": "triggerFocus()", "blur": "triggerValidation()" }, properties: { "class.clr-input": "true" } }, usesInheritance: true, ngImport: i0 });
|
|
9571
9626
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrPassword, decorators: [{
|
|
9572
9627
|
type: Directive,
|
|
9573
|
-
args: [{
|
|
9628
|
+
args: [{
|
|
9629
|
+
selector: '[clrPassword]',
|
|
9630
|
+
host: { '[class.clr-input]': 'true' },
|
|
9631
|
+
}]
|
|
9574
9632
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
9575
9633
|
type: Self
|
|
9576
9634
|
}, {
|
|
@@ -9670,7 +9728,9 @@ ClrRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
|
9670
9728
|
ClrRadio.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrRadio, selector: "[clrRadio]", usesInheritance: true, ngImport: i0 });
|
|
9671
9729
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrRadio, decorators: [{
|
|
9672
9730
|
type: Directive,
|
|
9673
|
-
args: [{
|
|
9731
|
+
args: [{
|
|
9732
|
+
selector: '[clrRadio]',
|
|
9733
|
+
}]
|
|
9674
9734
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
9675
9735
|
type: Self
|
|
9676
9736
|
}, {
|
|
@@ -9935,7 +9995,10 @@ ClrRange.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
|
9935
9995
|
ClrRange.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrRange, selector: "[clrRange]", host: { properties: { "class.clr-range": "true" } }, usesInheritance: true, ngImport: i0 });
|
|
9936
9996
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrRange, decorators: [{
|
|
9937
9997
|
type: Directive,
|
|
9938
|
-
args: [{
|
|
9998
|
+
args: [{
|
|
9999
|
+
selector: '[clrRange]',
|
|
10000
|
+
host: { '[class.clr-range]': 'true' },
|
|
10001
|
+
}]
|
|
9939
10002
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
9940
10003
|
type: Self
|
|
9941
10004
|
}, {
|
|
@@ -10078,7 +10141,10 @@ ClrSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0
|
|
|
10078
10141
|
ClrSelect.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrSelect, selector: "[clrSelect]", host: { properties: { "class.clr-select": "true" } }, usesInheritance: true, ngImport: i0 });
|
|
10079
10142
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrSelect, decorators: [{
|
|
10080
10143
|
type: Directive,
|
|
10081
|
-
args: [{
|
|
10144
|
+
args: [{
|
|
10145
|
+
selector: '[clrSelect]',
|
|
10146
|
+
host: { '[class.clr-select]': 'true' },
|
|
10147
|
+
}]
|
|
10082
10148
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
10083
10149
|
type: Self
|
|
10084
10150
|
}, {
|
|
@@ -10196,7 +10262,10 @@ ClrTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13
|
|
|
10196
10262
|
ClrTextarea.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrTextarea, selector: "[clrTextarea]", host: { properties: { "class.clr-textarea": "true" } }, usesInheritance: true, ngImport: i0 });
|
|
10197
10263
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTextarea, decorators: [{
|
|
10198
10264
|
type: Directive,
|
|
10199
|
-
args: [{
|
|
10265
|
+
args: [{
|
|
10266
|
+
selector: '[clrTextarea]',
|
|
10267
|
+
host: { '[class.clr-textarea]': 'true' },
|
|
10268
|
+
}]
|
|
10200
10269
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
10201
10270
|
type: Self
|
|
10202
10271
|
}, {
|
|
@@ -10346,7 +10415,7 @@ class ClrExpandableAnimation {
|
|
|
10346
10415
|
}
|
|
10347
10416
|
}
|
|
10348
10417
|
ClrExpandableAnimation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrExpandableAnimation, deps: [{ token: i0.ElementRef }, { token: DomAdapter }], target: i0.ɵɵFactoryTarget.Component });
|
|
10349
|
-
ClrExpandableAnimation.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrExpandableAnimation, selector: "clr-expandable-animation", inputs: { clrExpandTrigger: "clrExpandTrigger" }, host: { listeners: { "@expandAnimation.done": "animationDone()" }, properties: { "@expandAnimation": "this.expandAnimation" } }, providers: [DomAdapter], ngImport: i0, template:
|
|
10418
|
+
ClrExpandableAnimation.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrExpandableAnimation, selector: "clr-expandable-animation", inputs: { clrExpandTrigger: "clrExpandTrigger" }, host: { listeners: { "@expandAnimation.done": "animationDone()" }, properties: { "@expandAnimation": "this.expandAnimation" } }, providers: [DomAdapter], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{display:block}\n"], animations: [
|
|
10350
10419
|
trigger('expandAnimation', [
|
|
10351
10420
|
transition('true <=> false', [
|
|
10352
10421
|
style({ height: '{{startHeight}}px', overflow: 'hidden' }),
|
|
@@ -10358,7 +10427,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
10358
10427
|
type: Component,
|
|
10359
10428
|
args: [{
|
|
10360
10429
|
selector: 'clr-expandable-animation',
|
|
10361
|
-
template:
|
|
10430
|
+
template: `<ng-content></ng-content>`,
|
|
10362
10431
|
styles: [
|
|
10363
10432
|
`
|
|
10364
10433
|
:host {
|
|
@@ -10732,7 +10801,10 @@ ClrDragHandle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
|
10732
10801
|
ClrDragHandle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrDragHandle, selector: "[clrDragHandle]", host: { properties: { "class.drag-handle": "true" } }, ngImport: i0 });
|
|
10733
10802
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDragHandle, decorators: [{
|
|
10734
10803
|
type: Directive,
|
|
10735
|
-
args: [{
|
|
10804
|
+
args: [{
|
|
10805
|
+
selector: '[clrDragHandle]',
|
|
10806
|
+
host: { '[class.drag-handle]': 'true' },
|
|
10807
|
+
}]
|
|
10736
10808
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DragHandleRegistrarService, decorators: [{
|
|
10737
10809
|
type: Optional
|
|
10738
10810
|
}] }]; } });
|
|
@@ -10940,7 +11012,9 @@ ClrIfDragged.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "1
|
|
|
10940
11012
|
ClrIfDragged.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrIfDragged, selector: "[clrIfDragged]", ngImport: i0 });
|
|
10941
11013
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfDragged, decorators: [{
|
|
10942
11014
|
type: Directive,
|
|
10943
|
-
args: [{
|
|
11015
|
+
args: [{
|
|
11016
|
+
selector: '[clrIfDragged]',
|
|
11017
|
+
}]
|
|
10944
11018
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef, decorators: [{
|
|
10945
11019
|
type: Optional
|
|
10946
11020
|
}, {
|
|
@@ -11511,7 +11585,9 @@ OutsideClick.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "1
|
|
|
11511
11585
|
OutsideClick.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: OutsideClick, selector: "[clrOutsideClick]", inputs: { strict: ["clrStrict", "strict"] }, outputs: { outsideClick: "clrOutsideClick" }, ngImport: i0 });
|
|
11512
11586
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OutsideClick, decorators: [{
|
|
11513
11587
|
type: Directive,
|
|
11514
|
-
args: [{
|
|
11588
|
+
args: [{
|
|
11589
|
+
selector: '[clrOutsideClick]',
|
|
11590
|
+
}]
|
|
11515
11591
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { strict: [{
|
|
11516
11592
|
type: Input,
|
|
11517
11593
|
args: ['clrStrict']
|
|
@@ -12660,7 +12736,9 @@ DatagridWillyWonka.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
12660
12736
|
DatagridWillyWonka.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DatagridWillyWonka, selector: "clr-datagrid", usesInheritance: true, ngImport: i0 });
|
|
12661
12737
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DatagridWillyWonka, decorators: [{
|
|
12662
12738
|
type: Directive,
|
|
12663
|
-
args: [{
|
|
12739
|
+
args: [{
|
|
12740
|
+
selector: 'clr-datagrid',
|
|
12741
|
+
}]
|
|
12664
12742
|
}] });
|
|
12665
12743
|
|
|
12666
12744
|
/*
|
|
@@ -12712,7 +12790,9 @@ ActionableOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ve
|
|
|
12712
12790
|
ActionableOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ActionableOompaLoompa, selector: "clr-datagrid, clr-dg-row", usesInheritance: true, ngImport: i0 });
|
|
12713
12791
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ActionableOompaLoompa, decorators: [{
|
|
12714
12792
|
type: Directive,
|
|
12715
|
-
args: [{
|
|
12793
|
+
args: [{
|
|
12794
|
+
selector: 'clr-datagrid, clr-dg-row',
|
|
12795
|
+
}]
|
|
12716
12796
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: DatagridWillyWonka, decorators: [{
|
|
12717
12797
|
type: Optional
|
|
12718
12798
|
}] }, { type: RowActionService }]; } });
|
|
@@ -12826,7 +12906,9 @@ ExpandableOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ve
|
|
|
12826
12906
|
ExpandableOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ExpandableOompaLoompa, selector: "clr-datagrid, clr-dg-row", usesInheritance: true, ngImport: i0 });
|
|
12827
12907
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ExpandableOompaLoompa, decorators: [{
|
|
12828
12908
|
type: Directive,
|
|
12829
|
-
args: [{
|
|
12909
|
+
args: [{
|
|
12910
|
+
selector: 'clr-datagrid, clr-dg-row',
|
|
12911
|
+
}]
|
|
12830
12912
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: DatagridWillyWonka, decorators: [{
|
|
12831
12913
|
type: Optional
|
|
12832
12914
|
}] }, { type: ExpandableRowsCount }]; } });
|
|
@@ -14275,12 +14357,12 @@ class ClrDatagridCell {
|
|
|
14275
14357
|
}
|
|
14276
14358
|
}
|
|
14277
14359
|
ClrDatagridCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDatagridCell, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14278
|
-
ClrDatagridCell.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrDatagridCell, selector: "clr-dg-cell", host: { attributes: { "role": "gridcell" }, properties: { "class.datagrid-cell": "true", "class.datagrid-signpost-trigger": "signpost.length > 0" } }, queries: [{ propertyName: "signpost", predicate: ClrSignpost }], ngImport: i0, template:
|
|
14360
|
+
ClrDatagridCell.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrDatagridCell, selector: "clr-dg-cell", host: { attributes: { "role": "gridcell" }, properties: { "class.datagrid-cell": "true", "class.datagrid-signpost-trigger": "signpost.length > 0" } }, queries: [{ propertyName: "signpost", predicate: ClrSignpost }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
14279
14361
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDatagridCell, decorators: [{
|
|
14280
14362
|
type: Component,
|
|
14281
14363
|
args: [{
|
|
14282
14364
|
selector: 'clr-dg-cell',
|
|
14283
|
-
template:
|
|
14365
|
+
template: `<ng-content></ng-content>`,
|
|
14284
14366
|
host: {
|
|
14285
14367
|
'[class.datagrid-cell]': 'true',
|
|
14286
14368
|
'[class.datagrid-signpost-trigger]': 'signpost.length > 0',
|
|
@@ -15649,12 +15731,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
15649
15731
|
class ClrDatagridActionBar {
|
|
15650
15732
|
}
|
|
15651
15733
|
ClrDatagridActionBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDatagridActionBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15652
|
-
ClrDatagridActionBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrDatagridActionBar, selector: "clr-dg-action-bar", host: { properties: { "class.datagrid-action-bar": "true" } }, ngImport: i0, template:
|
|
15734
|
+
ClrDatagridActionBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrDatagridActionBar, selector: "clr-dg-action-bar", host: { properties: { "class.datagrid-action-bar": "true" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
15653
15735
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDatagridActionBar, decorators: [{
|
|
15654
15736
|
type: Component,
|
|
15655
15737
|
args: [{
|
|
15656
15738
|
selector: 'clr-dg-action-bar',
|
|
15657
|
-
template:
|
|
15739
|
+
template: `<ng-content></ng-content>`,
|
|
15658
15740
|
host: { '[class.datagrid-action-bar]': 'true' },
|
|
15659
15741
|
}]
|
|
15660
15742
|
}] });
|
|
@@ -15742,7 +15824,6 @@ ClrDatagridActionOverflow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
15742
15824
|
|
|
15743
15825
|
<div
|
|
15744
15826
|
class="datagrid-action-overflow"
|
|
15745
|
-
role="menu"
|
|
15746
15827
|
[id]="popoverId"
|
|
15747
15828
|
[attr.aria-hidden]="!open"
|
|
15748
15829
|
[attr.id]="popoverId"
|
|
@@ -15776,7 +15857,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
15776
15857
|
|
|
15777
15858
|
<div
|
|
15778
15859
|
class="datagrid-action-overflow"
|
|
15779
|
-
role="menu"
|
|
15780
15860
|
[id]="popoverId"
|
|
15781
15861
|
[attr.aria-hidden]="!open"
|
|
15782
15862
|
[attr.id]="popoverId"
|
|
@@ -16293,7 +16373,9 @@ DatagridDetailRegisterer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
16293
16373
|
DatagridDetailRegisterer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DatagridDetailRegisterer, selector: "[clrIfExpanded]", ngImport: i0 });
|
|
16294
16374
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DatagridDetailRegisterer, decorators: [{
|
|
16295
16375
|
type: Directive,
|
|
16296
|
-
args: [{
|
|
16376
|
+
args: [{
|
|
16377
|
+
selector: '[clrIfExpanded]',
|
|
16378
|
+
}]
|
|
16297
16379
|
}], ctorParameters: function () { return [{ type: ExpandableRowsCount, decorators: [{
|
|
16298
16380
|
type: Optional
|
|
16299
16381
|
}] }]; } });
|
|
@@ -16914,7 +16996,9 @@ ClrDatagridHideableColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0"
|
|
|
16914
16996
|
ClrDatagridHideableColumn.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrDatagridHideableColumn, selector: "[clrDgHideableColumn]", inputs: { clrDgHideableColumn: "clrDgHideableColumn", clrDgHidden: "clrDgHidden" }, outputs: { hiddenChange: "clrDgHiddenChange" }, ngImport: i0 });
|
|
16915
16997
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDatagridHideableColumn, decorators: [{
|
|
16916
16998
|
type: Directive,
|
|
16917
|
-
args: [{
|
|
16999
|
+
args: [{
|
|
17000
|
+
selector: '[clrDgHideableColumn]',
|
|
17001
|
+
}]
|
|
16918
17002
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: ColumnsService }, { type: i3.BehaviorSubject, decorators: [{
|
|
16919
17003
|
type: Optional
|
|
16920
17004
|
}, {
|
|
@@ -17570,7 +17654,9 @@ DatagridCellRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ver
|
|
|
17570
17654
|
DatagridCellRenderer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DatagridCellRenderer, selector: "clr-dg-cell", ngImport: i0 });
|
|
17571
17655
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DatagridCellRenderer, decorators: [{
|
|
17572
17656
|
type: Directive,
|
|
17573
|
-
args: [{
|
|
17657
|
+
args: [{
|
|
17658
|
+
selector: 'clr-dg-cell',
|
|
17659
|
+
}]
|
|
17574
17660
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DatagridRenderOrganizer }]; } });
|
|
17575
17661
|
|
|
17576
17662
|
/*
|
|
@@ -17684,7 +17770,10 @@ DatagridHeaderRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", v
|
|
|
17684
17770
|
DatagridHeaderRenderer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DatagridHeaderRenderer, selector: "clr-dg-column", outputs: { resizeEmitter: "clrDgColumnResize" }, providers: [ColumnResizerService, COLUMN_STATE_PROVIDER], ngImport: i0 });
|
|
17685
17771
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DatagridHeaderRenderer, decorators: [{
|
|
17686
17772
|
type: Directive,
|
|
17687
|
-
args: [{
|
|
17773
|
+
args: [{
|
|
17774
|
+
selector: 'clr-dg-column',
|
|
17775
|
+
providers: [ColumnResizerService, COLUMN_STATE_PROVIDER],
|
|
17776
|
+
}]
|
|
17688
17777
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DatagridRenderOrganizer }, { type: DomAdapter }, { type: ColumnResizerService }, { type: ColumnsService }, { type: i3.BehaviorSubject, decorators: [{
|
|
17689
17778
|
type: Inject,
|
|
17690
17779
|
args: [COLUMN_STATE]
|
|
@@ -17789,7 +17878,9 @@ DatagridRowRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
|
|
|
17789
17878
|
DatagridRowRenderer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DatagridRowRenderer, selector: "clr-dg-row, clr-dg-row-detail", queries: [{ propertyName: "cells", predicate: DatagridCellRenderer }], ngImport: i0 });
|
|
17790
17879
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DatagridRowRenderer, decorators: [{
|
|
17791
17880
|
type: Directive,
|
|
17792
|
-
args: [{
|
|
17881
|
+
args: [{
|
|
17882
|
+
selector: 'clr-dg-row, clr-dg-row-detail',
|
|
17883
|
+
}]
|
|
17793
17884
|
}], ctorParameters: function () { return [{ type: ColumnsService }]; }, propDecorators: { cells: [{
|
|
17794
17885
|
type: ContentChildren,
|
|
17795
17886
|
args: [DatagridCellRenderer]
|
|
@@ -18176,7 +18267,9 @@ ClrStackViewCustomTags.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", v
|
|
|
18176
18267
|
ClrStackViewCustomTags.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrStackViewCustomTags, selector: "clr-stack-content", ngImport: i0 });
|
|
18177
18268
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrStackViewCustomTags, decorators: [{
|
|
18178
18269
|
type: Directive,
|
|
18179
|
-
args: [{
|
|
18270
|
+
args: [{
|
|
18271
|
+
selector: 'clr-stack-content',
|
|
18272
|
+
}]
|
|
18180
18273
|
}] });
|
|
18181
18274
|
class ClrStackViewLabel {
|
|
18182
18275
|
constructor(uniqueId) {
|
|
@@ -19093,7 +19186,9 @@ ClrRecursiveForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
19093
19186
|
ClrRecursiveForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrRecursiveForOf, selector: "[clrRecursiveFor][clrRecursiveForOf]", inputs: { nodes: ["clrRecursiveForOf", "nodes"], getChildren: ["clrRecursiveForGetChildren", "getChildren"] }, usesOnChanges: true, ngImport: i0 });
|
|
19094
19187
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrRecursiveForOf, decorators: [{
|
|
19095
19188
|
type: Directive,
|
|
19096
|
-
args: [{
|
|
19189
|
+
args: [{
|
|
19190
|
+
selector: '[clrRecursiveFor][clrRecursiveForOf]',
|
|
19191
|
+
}]
|
|
19097
19192
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: TreeFeaturesService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { nodes: [{
|
|
19098
19193
|
type: Input,
|
|
19099
19194
|
args: ['clrRecursiveForOf']
|
|
@@ -19588,7 +19683,7 @@ ClrTreeNode.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
|
19588
19683
|
TREE_FEATURES_PROVIDER,
|
|
19589
19684
|
IfExpandService,
|
|
19590
19685
|
{ provide: LoadingListener, useExisting: IfExpandService },
|
|
19591
|
-
], queries: [{ propertyName: "treeNodeLinkList", predicate: ClrTreeNodeLink }], viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["contentContainer"], descendants: true, read: ElementRef, static: true }], ngImport: i0, 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\">
|
|
19686
|
+
], queries: [{ propertyName: "treeNodeLinkList", predicate: ClrTreeNodeLink }], viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["contentContainer"], descendants: true, read: ElementRef, static: true }], ngImport: i0, 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", components: [{ type: RecursiveChildren, selector: "clr-recursive-children", inputs: ["parent", "children"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: CdsIconCustomTag, selector: "cds-icon" }], animations: [
|
|
19592
19687
|
trigger('toggleChildrenAnim', [
|
|
19593
19688
|
transition('collapsed => expanded', [style({ height: 0 }), animate(200, style({ height: '*' }))]),
|
|
19594
19689
|
transition('expanded => collapsed', [style({ height: '*' }), animate(200, style({ height: 0 }))]),
|
|
@@ -19612,7 +19707,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
19612
19707
|
]),
|
|
19613
19708
|
], host: {
|
|
19614
19709
|
'[class.clr-tree-node]': 'true',
|
|
19615
|
-
}, 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\">
|
|
19710
|
+
}, 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" }]
|
|
19616
19711
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
19617
19712
|
type: Inject,
|
|
19618
19713
|
args: [UNIQUE_ID]
|
|
@@ -19656,12 +19751,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
19656
19751
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
19657
19752
|
*/
|
|
19658
19753
|
class ClrTree {
|
|
19659
|
-
constructor(featuresService, focusManagerService,
|
|
19754
|
+
constructor(featuresService, focusManagerService, { nativeElement }, renderer, ngZone) {
|
|
19660
19755
|
this.featuresService = featuresService;
|
|
19661
19756
|
this.focusManagerService = focusManagerService;
|
|
19662
|
-
this.el = el;
|
|
19663
19757
|
this.subscriptions = [];
|
|
19664
|
-
|
|
19758
|
+
const subscription = ngZone.runOutsideAngular(() => fromEvent(nativeElement, 'focusin').subscribe((event) => {
|
|
19759
|
+
if (event.target === nativeElement) {
|
|
19760
|
+
// After discussing with the team, I've made it so that when the tree receives focus, the first visible node will be focused.
|
|
19761
|
+
// This will prevent from the page scrolling abruptly to the first selected node if it exist in a deeply nested tree.
|
|
19762
|
+
this.focusManagerService.focusFirstVisibleNode();
|
|
19763
|
+
// when the first child gets focus,
|
|
19764
|
+
// tree should no longer have tabindex of 0.
|
|
19765
|
+
renderer.removeAttribute(nativeElement, 'tabindex');
|
|
19766
|
+
}
|
|
19767
|
+
}));
|
|
19768
|
+
this.subscriptions.push(subscription);
|
|
19665
19769
|
}
|
|
19666
19770
|
set lazy(value) {
|
|
19667
19771
|
this.featuresService.eager = !value;
|
|
@@ -19669,16 +19773,6 @@ class ClrTree {
|
|
|
19669
19773
|
get isMultiSelectable() {
|
|
19670
19774
|
return this.featuresService.selectable && this.rootNodes.length > 0;
|
|
19671
19775
|
}
|
|
19672
|
-
onFocusIn(event) {
|
|
19673
|
-
if (event.target === this.el.nativeElement) {
|
|
19674
|
-
// After discussing with the team, I've made it so that when the tree receives focus, the first visible node will be focused.
|
|
19675
|
-
// This will prevent from the page scrolling abruptly to the first selected node if it exist in a deeply nested tree.
|
|
19676
|
-
this.focusManagerService.focusFirstVisibleNode();
|
|
19677
|
-
// when the first child gets focus,
|
|
19678
|
-
// tree should no longer have tabindex of 0;
|
|
19679
|
-
delete this.tabindex;
|
|
19680
|
-
}
|
|
19681
|
-
}
|
|
19682
19776
|
ngAfterContentInit() {
|
|
19683
19777
|
this.setRootNodes();
|
|
19684
19778
|
this.subscriptions.push(this.rootNodes.changes.subscribe(() => {
|
|
@@ -19695,8 +19789,8 @@ class ClrTree {
|
|
|
19695
19789
|
this.subscriptions.forEach(sub => sub.unsubscribe());
|
|
19696
19790
|
}
|
|
19697
19791
|
}
|
|
19698
|
-
ClrTree.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTree, deps: [{ token: TreeFeaturesService }, { token: TreeFocusManagerService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
19699
|
-
ClrTree.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTree, selector: "clr-tree", inputs: { lazy: ["clrLazy", "lazy"] }, host: {
|
|
19792
|
+
ClrTree.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTree, deps: [{ token: TreeFeaturesService }, { token: TreeFocusManagerService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
19793
|
+
ClrTree.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTree, selector: "clr-tree", inputs: { lazy: ["clrLazy", "lazy"] }, host: { attributes: { "tabindex": "0" }, properties: { "attr.role": "\"tree\"", "attr.aria-multiselectable": "isMultiSelectable" } }, providers: [TREE_FEATURES_PROVIDER, TreeFocusManagerService], queries: [{ propertyName: "rootNodes", predicate: ClrTreeNode }], ngImport: i0, template: `
|
|
19700
19794
|
<ng-content></ng-content>
|
|
19701
19795
|
<clr-recursive-children
|
|
19702
19796
|
*ngIf="featuresService.recursion"
|
|
@@ -19716,17 +19810,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
19716
19810
|
`,
|
|
19717
19811
|
providers: [TREE_FEATURES_PROVIDER, TreeFocusManagerService],
|
|
19718
19812
|
host: {
|
|
19719
|
-
|
|
19813
|
+
tabindex: '0',
|
|
19720
19814
|
'[attr.role]': '"tree"',
|
|
19721
19815
|
'[attr.aria-multiselectable]': 'isMultiSelectable',
|
|
19722
19816
|
},
|
|
19723
19817
|
}]
|
|
19724
|
-
}], ctorParameters: function () { return [{ type: TreeFeaturesService }, { type: TreeFocusManagerService }, { type: i0.ElementRef }]; }, propDecorators: { lazy: [{
|
|
19818
|
+
}], ctorParameters: function () { return [{ type: TreeFeaturesService }, { type: TreeFocusManagerService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { lazy: [{
|
|
19725
19819
|
type: Input,
|
|
19726
19820
|
args: ['clrLazy']
|
|
19727
|
-
}], onFocusIn: [{
|
|
19728
|
-
type: HostListener,
|
|
19729
|
-
args: ['focusin', ['$event']]
|
|
19730
19821
|
}], rootNodes: [{
|
|
19731
19822
|
type: ContentChildren,
|
|
19732
19823
|
args: [ClrTreeNode]
|
|
@@ -20688,12 +20779,12 @@ class ClrDropdownMenu extends AbstractPopover {
|
|
|
20688
20779
|
}
|
|
20689
20780
|
}
|
|
20690
20781
|
ClrDropdownMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDropdownMenu, deps: [{ token: i0.Injector }, { token: POPOVER_HOST_ANCHOR, optional: true }, { token: ClrDropdownMenu, optional: true, skipSelf: true }, { token: DropdownFocusHandler }], target: i0.ɵɵFactoryTarget.Component });
|
|
20691
|
-
ClrDropdownMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrDropdownMenu, selector: "clr-dropdown-menu", inputs: { position: ["clrPosition", "position"] }, host: { properties: { "class.dropdown-menu": "true", "attr.role": "\"menu\"" } }, queries: [{ propertyName: "items", predicate: FocusableItem }], usesInheritance: true, ngImport: i0, template:
|
|
20782
|
+
ClrDropdownMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrDropdownMenu, selector: "clr-dropdown-menu", inputs: { position: ["clrPosition", "position"] }, host: { properties: { "class.dropdown-menu": "true", "attr.role": "\"menu\"" } }, queries: [{ propertyName: "items", predicate: FocusableItem }], usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
20692
20783
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDropdownMenu, decorators: [{
|
|
20693
20784
|
type: Component,
|
|
20694
20785
|
args: [{
|
|
20695
20786
|
selector: 'clr-dropdown-menu',
|
|
20696
|
-
template:
|
|
20787
|
+
template: `<ng-content></ng-content>`,
|
|
20697
20788
|
host: {
|
|
20698
20789
|
'[class.dropdown-menu]': 'true',
|
|
20699
20790
|
'[attr.role]': '"menu"',
|
|
@@ -21254,7 +21345,7 @@ class ClrAlerts {
|
|
|
21254
21345
|
}
|
|
21255
21346
|
}
|
|
21256
21347
|
ClrAlerts.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrAlerts, deps: [{ token: MultiAlertService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21257
|
-
ClrAlerts.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrAlerts, selector: "clr-alerts", inputs: { _inputCurrentIndex: ["clrCurrentAlertIndex", "_inputCurrentIndex"], currentAlert: ["clrCurrentAlert", "currentAlert"] }, outputs: { currentAlertIndexChange: "clrCurrentAlertIndexChange", currentAlertChange: "clrCurrentAlertChange" }, host: { properties: { "class.alerts": "true", "class.alert-danger": "this.currentAlertType == 'danger'", "class.alert-info": "this.currentAlertType == 'info'", "class.alert-success": "this.currentAlertType == 'success'", "class.alert-warning": "this.currentAlertType == 'warning'" } }, providers: [MultiAlertService], queries: [{ propertyName: "allAlerts", predicate: ClrAlert }], ngImport: i0, 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\"
|
|
21348
|
+
ClrAlerts.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrAlerts, selector: "clr-alerts", inputs: { _inputCurrentIndex: ["clrCurrentAlertIndex", "_inputCurrentIndex"], currentAlert: ["clrCurrentAlert", "currentAlert"] }, outputs: { currentAlertIndexChange: "clrCurrentAlertIndexChange", currentAlertChange: "clrCurrentAlertChange" }, host: { properties: { "class.alerts": "true", "class.alert-danger": "this.currentAlertType == 'danger'", "class.alert-info": "this.currentAlertType == 'info'", "class.alert-success": "this.currentAlertType == 'success'", "class.alert-warning": "this.currentAlertType == 'warning'" } }, providers: [MultiAlertService], queries: [{ propertyName: "allAlerts", predicate: ClrAlert }], ngImport: i0, 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", styles: [":host{display:block}\n"], components: [{ type: ClrAlertsPager, selector: "clr-alerts-pager", inputs: ["clrCurrentAlert", "clrCurrentAlertIndex"], outputs: ["clrCurrentAlertChange", "clrCurrentAlertIndexChange"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
21258
21349
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrAlerts, decorators: [{
|
|
21259
21350
|
type: Component,
|
|
21260
21351
|
args: [{ selector: 'clr-alerts', providers: [MultiAlertService], host: {
|
|
@@ -21263,7 +21354,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
21263
21354
|
'[class.alert-info]': "this.currentAlertType == 'info'",
|
|
21264
21355
|
'[class.alert-success]': "this.currentAlertType == 'success'",
|
|
21265
21356
|
'[class.alert-warning]': "this.currentAlertType == 'warning'",
|
|
21266
|
-
}, styles: [':host { display: block }'], 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\"
|
|
21357
|
+
}, styles: [':host { display: block }'], 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" }]
|
|
21267
21358
|
}], ctorParameters: function () { return [{ type: MultiAlertService }]; }, propDecorators: { allAlerts: [{
|
|
21268
21359
|
type: ContentChildren,
|
|
21269
21360
|
args: [ClrAlert]
|
|
@@ -21463,7 +21554,10 @@ ClrMainContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version
|
|
|
21463
21554
|
ClrMainContainer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrMainContainer, selector: "clr-main-container", host: { properties: { "class.main-container": "true" } }, ngImport: i0 });
|
|
21464
21555
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrMainContainer, decorators: [{
|
|
21465
21556
|
type: Directive,
|
|
21466
|
-
args: [{
|
|
21557
|
+
args: [{
|
|
21558
|
+
selector: 'clr-main-container',
|
|
21559
|
+
host: { '[class.main-container]': 'true' },
|
|
21560
|
+
}]
|
|
21467
21561
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ResponsiveNavigationService }]; } });
|
|
21468
21562
|
|
|
21469
21563
|
/*
|
|
@@ -21508,7 +21602,10 @@ ClrAriaCurrentLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
21508
21602
|
ClrAriaCurrentLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrAriaCurrentLink, selector: "[clrAriaCurrentLink]", host: { properties: { "attr.aria-current": "ariaCurrent" } }, ngImport: i0 });
|
|
21509
21603
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrAriaCurrentLink, decorators: [{
|
|
21510
21604
|
type: Directive,
|
|
21511
|
-
args: [{
|
|
21605
|
+
args: [{
|
|
21606
|
+
selector: '[clrAriaCurrentLink]',
|
|
21607
|
+
host: { '[attr.aria-current]': 'ariaCurrent' },
|
|
21608
|
+
}]
|
|
21512
21609
|
}], ctorParameters: function () { return [{ type: i1$1.RouterLinkActive }]; } });
|
|
21513
21610
|
|
|
21514
21611
|
/*
|
|
@@ -21522,7 +21619,9 @@ MainContainerWillyWonka.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
21522
21619
|
MainContainerWillyWonka.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: MainContainerWillyWonka, selector: "clr-main-container", usesInheritance: true, ngImport: i0 });
|
|
21523
21620
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MainContainerWillyWonka, decorators: [{
|
|
21524
21621
|
type: Directive,
|
|
21525
|
-
args: [{
|
|
21622
|
+
args: [{
|
|
21623
|
+
selector: 'clr-main-container',
|
|
21624
|
+
}]
|
|
21526
21625
|
}] });
|
|
21527
21626
|
|
|
21528
21627
|
/*
|
|
@@ -21548,7 +21647,9 @@ NavDetectionOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
21548
21647
|
NavDetectionOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: NavDetectionOompaLoompa, selector: "clr-header", usesInheritance: true, ngImport: i0 });
|
|
21549
21648
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NavDetectionOompaLoompa, decorators: [{
|
|
21550
21649
|
type: Directive,
|
|
21551
|
-
args: [{
|
|
21650
|
+
args: [{
|
|
21651
|
+
selector: 'clr-header',
|
|
21652
|
+
}]
|
|
21552
21653
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: MainContainerWillyWonka, decorators: [{
|
|
21553
21654
|
type: Optional
|
|
21554
21655
|
}] }, { type: ResponsiveNavigationService }]; } });
|
|
@@ -21989,7 +22090,9 @@ ClrNavLevel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13
|
|
|
21989
22090
|
ClrNavLevel.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrNavLevel, selector: "[clr-nav-level]", inputs: { _level: ["clr-nav-level", "_level"], closeButtonAriaLabel: ["closeAriaLabel", "closeButtonAriaLabel"] }, host: { listeners: { "window:resize": "onResize($event)", "click": "onMouseClick($event.target)" } }, usesInheritance: true, ngImport: i0 });
|
|
21990
22091
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrNavLevel, decorators: [{
|
|
21991
22092
|
type: Directive,
|
|
21992
|
-
args: [{
|
|
22093
|
+
args: [{
|
|
22094
|
+
selector: '[clr-nav-level]',
|
|
22095
|
+
}]
|
|
21993
22096
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
21994
22097
|
type: Inject,
|
|
21995
22098
|
args: [PLATFORM_ID]
|
|
@@ -22106,7 +22209,9 @@ TabsWillyWonka.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version:
|
|
|
22106
22209
|
TabsWillyWonka.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: TabsWillyWonka, selector: "clr-tabs", usesInheritance: true, ngImport: i0 });
|
|
22107
22210
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TabsWillyWonka, decorators: [{
|
|
22108
22211
|
type: Directive,
|
|
22109
|
-
args: [{
|
|
22212
|
+
args: [{
|
|
22213
|
+
selector: 'clr-tabs',
|
|
22214
|
+
}]
|
|
22110
22215
|
}] });
|
|
22111
22216
|
|
|
22112
22217
|
/*
|
|
@@ -22131,7 +22236,9 @@ ActiveOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
22131
22236
|
ActiveOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ActiveOompaLoompa, selector: "[clrTabLink], clr-tab-content", usesInheritance: true, ngImport: i0 });
|
|
22132
22237
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ActiveOompaLoompa, decorators: [{
|
|
22133
22238
|
type: Directive,
|
|
22134
|
-
args: [{
|
|
22239
|
+
args: [{
|
|
22240
|
+
selector: '[clrTabLink], clr-tab-content',
|
|
22241
|
+
}]
|
|
22135
22242
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: TabsWillyWonka, decorators: [{
|
|
22136
22243
|
type: Optional
|
|
22137
22244
|
}] }, { type: undefined, decorators: [{
|
|
@@ -22420,12 +22527,12 @@ class ClrTab {
|
|
|
22420
22527
|
}
|
|
22421
22528
|
}
|
|
22422
22529
|
ClrTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTab, deps: [{ token: IfActiveService }, { token: IF_ACTIVE_ID }, { token: TabsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
22423
|
-
ClrTab.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTab, selector: "clr-tab", providers: [IF_ACTIVE_ID_PROVIDER, AriaService], queries: [{ propertyName: "tabLink", first: true, predicate: ClrTabLink, descendants: true, static: true }, { propertyName: "tabContent", first: true, predicate: ClrTabContent, descendants: true, static: true }], ngImport: i0, template:
|
|
22530
|
+
ClrTab.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTab, selector: "clr-tab", providers: [IF_ACTIVE_ID_PROVIDER, AriaService], queries: [{ propertyName: "tabLink", first: true, predicate: ClrTabLink, descendants: true, static: true }, { propertyName: "tabContent", first: true, predicate: ClrTabContent, descendants: true, static: true }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
22424
22531
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTab, decorators: [{
|
|
22425
22532
|
type: Component,
|
|
22426
22533
|
args: [{
|
|
22427
22534
|
selector: 'clr-tab',
|
|
22428
|
-
template:
|
|
22535
|
+
template: `<ng-content></ng-content>`,
|
|
22429
22536
|
providers: [IF_ACTIVE_ID_PROVIDER, AriaService],
|
|
22430
22537
|
}]
|
|
22431
22538
|
}], ctorParameters: function () { return [{ type: IfActiveService }, { type: undefined, decorators: [{
|
|
@@ -22447,12 +22554,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
22447
22554
|
class ClrTabOverflowContent {
|
|
22448
22555
|
}
|
|
22449
22556
|
ClrTabOverflowContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTabOverflowContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22450
|
-
ClrTabOverflowContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTabOverflowContent, selector: "clr-tab-overflow-content", host: { properties: { "class.dropdown-menu": "true" } }, ngImport: i0, template:
|
|
22557
|
+
ClrTabOverflowContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTabOverflowContent, selector: "clr-tab-overflow-content", host: { properties: { "class.dropdown-menu": "true" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
22451
22558
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTabOverflowContent, decorators: [{
|
|
22452
22559
|
type: Component,
|
|
22453
22560
|
args: [{
|
|
22454
22561
|
selector: 'clr-tab-overflow-content',
|
|
22455
|
-
template:
|
|
22562
|
+
template: `<ng-content></ng-content>`,
|
|
22456
22563
|
host: {
|
|
22457
22564
|
'[class.dropdown-menu]': 'true',
|
|
22458
22565
|
},
|
|
@@ -22653,8 +22760,7 @@ ClrTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0
|
|
|
22653
22760
|
<ng-container
|
|
22654
22761
|
*ngIf="link.tabsId === tabsId && link.inOverflow"
|
|
22655
22762
|
[ngTemplateOutlet]="link.templateRefContainer.template"
|
|
22656
|
-
>
|
|
22657
|
-
</ng-container>
|
|
22763
|
+
></ng-container>
|
|
22658
22764
|
</ng-container>
|
|
22659
22765
|
</clr-tab-overflow-content>
|
|
22660
22766
|
</div>
|
|
@@ -22718,8 +22824,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
22718
22824
|
<ng-container
|
|
22719
22825
|
*ngIf="link.tabsId === tabsId && link.inOverflow"
|
|
22720
22826
|
[ngTemplateOutlet]="link.templateRefContainer.template"
|
|
22721
|
-
>
|
|
22722
|
-
</ng-container>
|
|
22827
|
+
></ng-container>
|
|
22723
22828
|
</ng-container>
|
|
22724
22829
|
</clr-tab-overflow-content>
|
|
22725
22830
|
</div>
|
|
@@ -23108,7 +23213,7 @@ class ClrVerticalNavGroup {
|
|
|
23108
23213
|
}
|
|
23109
23214
|
}
|
|
23110
23215
|
ClrVerticalNavGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrVerticalNavGroup, deps: [{ token: IfExpandService }, { token: VerticalNavGroupRegistrationService }, { token: VerticalNavGroupService }, { token: VerticalNavService }, { token: ClrCommonStringsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23111
|
-
ClrVerticalNavGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrVerticalNavGroup, selector: "clr-vertical-nav-group", inputs: { groupLabel: ["clrVerticalNavGroupLabel", "groupLabel"], userExpandedInput: ["clrVerticalNavGroupExpanded", "userExpandedInput"] }, outputs: { expandedChange: "clrVerticalNavGroupExpandedChange" }, host: { properties: { "class.is-expanded": "this.expanded" }, classAttribute: "nav-group" }, providers: [IfExpandService, VerticalNavGroupService], ngImport: i0, 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]=\"expanded ? 'down' : 'right'\"\n [attr.title]=\"expanded ? commonStrings.keys.collapse : commonStrings.keys.expand\"\n
|
|
23216
|
+
ClrVerticalNavGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrVerticalNavGroup, selector: "clr-vertical-nav-group", inputs: { groupLabel: ["clrVerticalNavGroupLabel", "groupLabel"], userExpandedInput: ["clrVerticalNavGroupExpanded", "userExpandedInput"] }, outputs: { expandedChange: "clrVerticalNavGroupExpandedChange" }, host: { properties: { "class.is-expanded": "this.expanded" }, classAttribute: "nav-group" }, providers: [IfExpandService, VerticalNavGroupService], ngImport: i0, 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]=\"expanded ? 'down' : 'right'\"\n [attr.title]=\"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", directives: [{ type: CdsIconCustomTag, selector: "cds-icon" }], animations: [
|
|
23112
23217
|
trigger('clrExpand', [
|
|
23113
23218
|
state(EXPANDED_STATE, style({ height: '*' })),
|
|
23114
23219
|
state(COLLAPSED_STATE, style({ height: 0, 'overflow-y': 'hidden', visibility: 'hidden' })),
|
|
@@ -23123,7 +23228,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
23123
23228
|
state(COLLAPSED_STATE, style({ height: 0, 'overflow-y': 'hidden', visibility: 'hidden' })),
|
|
23124
23229
|
transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, animate('0.2s ease-in-out')),
|
|
23125
23230
|
]),
|
|
23126
|
-
], host: { class: 'nav-group' }, 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]=\"expanded ? 'down' : 'right'\"\n [attr.title]=\"expanded ? commonStrings.keys.collapse : commonStrings.keys.expand\"\n
|
|
23231
|
+
], host: { class: 'nav-group' }, 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]=\"expanded ? 'down' : 'right'\"\n [attr.title]=\"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" }]
|
|
23127
23232
|
}], ctorParameters: function () { return [{ type: IfExpandService }, { type: VerticalNavGroupRegistrationService }, { type: VerticalNavGroupService }, { type: VerticalNavService }, { type: ClrCommonStringsService }]; }, propDecorators: { expanded: [{
|
|
23128
23233
|
type: HostBinding,
|
|
23129
23234
|
args: ['class.is-expanded']
|
|
@@ -23146,12 +23251,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
23146
23251
|
class ClrVerticalNavGroupChildren {
|
|
23147
23252
|
}
|
|
23148
23253
|
ClrVerticalNavGroupChildren.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrVerticalNavGroupChildren, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23149
|
-
ClrVerticalNavGroupChildren.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrVerticalNavGroupChildren, selector: "clr-vertical-nav-group-children", ngImport: i0, template:
|
|
23254
|
+
ClrVerticalNavGroupChildren.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrVerticalNavGroupChildren, selector: "clr-vertical-nav-group-children", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
23150
23255
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrVerticalNavGroupChildren, decorators: [{
|
|
23151
23256
|
type: Component,
|
|
23152
23257
|
args: [{
|
|
23153
23258
|
selector: 'clr-vertical-nav-group-children',
|
|
23154
|
-
template:
|
|
23259
|
+
template: `<ng-content></ng-content>`,
|
|
23155
23260
|
}]
|
|
23156
23261
|
}] });
|
|
23157
23262
|
|
|
@@ -23173,7 +23278,10 @@ ClrVerticalNavIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
23173
23278
|
ClrVerticalNavIcon.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrVerticalNavIcon, selector: "[clrVerticalNavIcon]", host: { classAttribute: "nav-icon" }, ngImport: i0 });
|
|
23174
23279
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrVerticalNavIcon, decorators: [{
|
|
23175
23280
|
type: Directive,
|
|
23176
|
-
args: [{
|
|
23281
|
+
args: [{
|
|
23282
|
+
selector: '[clrVerticalNavIcon]',
|
|
23283
|
+
host: { class: 'nav-icon' },
|
|
23284
|
+
}]
|
|
23177
23285
|
}], ctorParameters: function () { return [{ type: VerticalNavIconService }]; } });
|
|
23178
23286
|
|
|
23179
23287
|
/*
|
|
@@ -23497,7 +23605,9 @@ ClrModalBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "1
|
|
|
23497
23605
|
ClrModalBody.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrModalBody, selector: ".modal-body", ngImport: i0 });
|
|
23498
23606
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrModalBody, decorators: [{
|
|
23499
23607
|
type: Directive,
|
|
23500
|
-
args: [{
|
|
23608
|
+
args: [{
|
|
23609
|
+
selector: '.modal-body',
|
|
23610
|
+
}]
|
|
23501
23611
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
23502
23612
|
|
|
23503
23613
|
/*
|
|
@@ -23771,12 +23881,12 @@ ClrTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "1
|
|
|
23771
23881
|
// AriaService in layout/tabs/providers might be a good starting point.
|
|
23772
23882
|
UNIQUE_ID_PROVIDER,
|
|
23773
23883
|
TooltipIdService,
|
|
23774
|
-
], ngImport: i0, template:
|
|
23884
|
+
], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
23775
23885
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTooltip, decorators: [{
|
|
23776
23886
|
type: Component,
|
|
23777
23887
|
args: [{
|
|
23778
23888
|
selector: 'clr-tooltip',
|
|
23779
|
-
template:
|
|
23889
|
+
template: `<ng-content></ng-content>`,
|
|
23780
23890
|
host: {
|
|
23781
23891
|
'[class.tooltip]': 'true',
|
|
23782
23892
|
},
|
|
@@ -23791,6 +23901,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
23791
23901
|
}]
|
|
23792
23902
|
}] });
|
|
23793
23903
|
|
|
23904
|
+
/*
|
|
23905
|
+
* Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.
|
|
23906
|
+
* This software is released under MIT license.
|
|
23907
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
23908
|
+
*/
|
|
23909
|
+
function assertNever(value) {
|
|
23910
|
+
throw new Error(`Unhandled value: ${value}`);
|
|
23911
|
+
}
|
|
23912
|
+
|
|
23794
23913
|
/*
|
|
23795
23914
|
* Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.
|
|
23796
23915
|
* This software is released under MIT license.
|
|
@@ -23798,46 +23917,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
23798
23917
|
*/
|
|
23799
23918
|
const POSITIONS = ['bottom-left', 'bottom-right', 'top-left', 'top-right', 'right', 'left'];
|
|
23800
23919
|
const SIZES = ['xs', 'sm', 'md', 'lg'];
|
|
23920
|
+
const defaultPosition = 'right';
|
|
23921
|
+
const defaultSize = 'sm';
|
|
23801
23922
|
class ClrTooltipContent extends AbstractPopover {
|
|
23802
23923
|
constructor(injector, parentHost, uniqueId, tooltipIdService) {
|
|
23803
23924
|
super(injector, parentHost);
|
|
23804
23925
|
this.uniqueId = uniqueId;
|
|
23805
23926
|
this.tooltipIdService = tooltipIdService;
|
|
23927
|
+
this._position = defaultPosition;
|
|
23928
|
+
this._size = defaultSize;
|
|
23806
23929
|
if (!parentHost) {
|
|
23807
23930
|
throw new Error('clr-tooltip-content should only be used inside of a clr-tooltip');
|
|
23808
23931
|
}
|
|
23809
|
-
// Defaults
|
|
23810
|
-
this.position = 'right';
|
|
23811
|
-
this.size = 'sm';
|
|
23812
23932
|
// Set the default id in case consumer does not supply a custom id.
|
|
23813
|
-
this.
|
|
23933
|
+
this.id = uniqueId;
|
|
23814
23934
|
}
|
|
23815
23935
|
get id() {
|
|
23816
23936
|
return this._id;
|
|
23817
23937
|
}
|
|
23818
23938
|
set id(value) {
|
|
23819
|
-
|
|
23820
|
-
}
|
|
23821
|
-
updateId(id) {
|
|
23939
|
+
const id = value || '';
|
|
23822
23940
|
this._id = id;
|
|
23823
23941
|
this.tooltipIdService.updateId(id);
|
|
23824
23942
|
}
|
|
23825
23943
|
get position() {
|
|
23826
23944
|
return this._position;
|
|
23827
23945
|
}
|
|
23828
|
-
set position(
|
|
23829
|
-
|
|
23830
|
-
|
|
23831
|
-
|
|
23832
|
-
|
|
23833
|
-
}
|
|
23834
|
-
else {
|
|
23835
|
-
this._position = 'right';
|
|
23836
|
-
}
|
|
23837
|
-
// Ugh
|
|
23838
|
-
this.renderer.addClass(this.el.nativeElement, 'tooltip-' + this.position);
|
|
23946
|
+
set position(value) {
|
|
23947
|
+
const oldPosition = this._position;
|
|
23948
|
+
const newPosition = POSITIONS.includes(value) ? value : defaultPosition;
|
|
23949
|
+
this._position = newPosition;
|
|
23950
|
+
this.updateCssClass({ oldClass: `tooltip-${oldPosition}`, newClass: `tooltip-${newPosition}` });
|
|
23839
23951
|
// set the popover values based on direction
|
|
23840
|
-
switch (
|
|
23952
|
+
switch (newPosition) {
|
|
23841
23953
|
case 'top-right':
|
|
23842
23954
|
this.anchorPoint = Point.TOP_CENTER;
|
|
23843
23955
|
this.popoverPoint = Point.LEFT_BOTTOM;
|
|
@@ -23863,34 +23975,30 @@ class ClrTooltipContent extends AbstractPopover {
|
|
|
23863
23975
|
this.popoverPoint = Point.RIGHT_TOP;
|
|
23864
23976
|
break;
|
|
23865
23977
|
default:
|
|
23866
|
-
|
|
23867
|
-
this.popoverPoint = Point.LEFT_TOP;
|
|
23868
|
-
break;
|
|
23978
|
+
assertNever(newPosition);
|
|
23869
23979
|
}
|
|
23870
23980
|
}
|
|
23871
23981
|
get size() {
|
|
23872
23982
|
return this._size;
|
|
23873
23983
|
}
|
|
23874
|
-
set size(
|
|
23875
|
-
|
|
23876
|
-
|
|
23877
|
-
|
|
23878
|
-
|
|
23879
|
-
|
|
23880
|
-
|
|
23881
|
-
|
|
23882
|
-
|
|
23883
|
-
// Ugh
|
|
23884
|
-
this.renderer.addClass(this.el.nativeElement, 'tooltip-' + this.size);
|
|
23984
|
+
set size(value) {
|
|
23985
|
+
const oldSize = this._size;
|
|
23986
|
+
const newSize = SIZES.includes(value) ? value : defaultSize;
|
|
23987
|
+
this._size = newSize;
|
|
23988
|
+
this.updateCssClass({ oldClass: `tooltip-${oldSize}`, newClass: `tooltip-${newSize}` });
|
|
23989
|
+
}
|
|
23990
|
+
updateCssClass({ oldClass, newClass }) {
|
|
23991
|
+
this.renderer.removeClass(this.el.nativeElement, oldClass);
|
|
23992
|
+
this.renderer.addClass(this.el.nativeElement, newClass);
|
|
23885
23993
|
}
|
|
23886
23994
|
}
|
|
23887
23995
|
ClrTooltipContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTooltipContent, deps: [{ token: i0.Injector }, { token: POPOVER_HOST_ANCHOR, optional: true }, { token: UNIQUE_ID }, { token: TooltipIdService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23888
|
-
ClrTooltipContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTooltipContent, selector: "clr-tooltip-content", inputs: { id: "id", position: ["clrPosition", "position"], size: ["clrSize", "size"] }, host: { properties: { "class.tooltip-content": "true", "style.opacity": "1", "attr.role": "\"tooltip\"", "id": "id" } }, usesInheritance: true, ngImport: i0, template:
|
|
23996
|
+
ClrTooltipContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTooltipContent, selector: "clr-tooltip-content", inputs: { id: "id", position: ["clrPosition", "position"], size: ["clrSize", "size"] }, host: { properties: { "class.tooltip-content": "true", "style.opacity": "1", "attr.role": "\"tooltip\"", "id": "id" } }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
23889
23997
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTooltipContent, decorators: [{
|
|
23890
23998
|
type: Component,
|
|
23891
23999
|
args: [{
|
|
23892
24000
|
selector: 'clr-tooltip-content',
|
|
23893
|
-
template:
|
|
24001
|
+
template: `<ng-content></ng-content>`,
|
|
23894
24002
|
host: {
|
|
23895
24003
|
'[class.tooltip-content]': 'true',
|
|
23896
24004
|
'[style.opacity]': '1',
|
|
@@ -24283,12 +24391,12 @@ class ClrTimeline {
|
|
|
24283
24391
|
}
|
|
24284
24392
|
}
|
|
24285
24393
|
ClrTimeline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimeline, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24286
|
-
ClrTimeline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTimeline, selector: "clr-timeline", inputs: { layout: ["clrLayout", "layout"] }, host: { properties: { "class.clr-timeline": "true", "class.clr-timeline-vertical": "this.isVertical" } }, providers: [TimelineIconAttributeService], ngImport: i0, template:
|
|
24394
|
+
ClrTimeline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTimeline, selector: "clr-timeline", inputs: { layout: ["clrLayout", "layout"] }, host: { properties: { "class.clr-timeline": "true", "class.clr-timeline-vertical": "this.isVertical" } }, providers: [TimelineIconAttributeService], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
24287
24395
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimeline, decorators: [{
|
|
24288
24396
|
type: Component,
|
|
24289
24397
|
args: [{
|
|
24290
24398
|
selector: 'clr-timeline',
|
|
24291
|
-
template:
|
|
24399
|
+
template: `<ng-content></ng-content>`,
|
|
24292
24400
|
host: { '[class.clr-timeline]': 'true' },
|
|
24293
24401
|
providers: [TimelineIconAttributeService],
|
|
24294
24402
|
}]
|
|
@@ -24318,12 +24426,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
24318
24426
|
class ClrTimelineStepTitle {
|
|
24319
24427
|
}
|
|
24320
24428
|
ClrTimelineStepTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepTitle, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24321
|
-
ClrTimelineStepTitle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTimelineStepTitle, selector: "clr-timeline-step-title", host: { properties: { "class.clr-timeline-step-title": "true", "attr.aria-hidden": "true" } }, ngImport: i0, template:
|
|
24429
|
+
ClrTimelineStepTitle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTimelineStepTitle, selector: "clr-timeline-step-title", host: { properties: { "class.clr-timeline-step-title": "true", "attr.aria-hidden": "true" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
24322
24430
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepTitle, decorators: [{
|
|
24323
24431
|
type: Component,
|
|
24324
24432
|
args: [{
|
|
24325
24433
|
selector: 'clr-timeline-step-title',
|
|
24326
|
-
template:
|
|
24434
|
+
template: `<ng-content></ng-content>`,
|
|
24327
24435
|
host: { '[class.clr-timeline-step-title]': 'true', '[attr.aria-hidden]': 'true' },
|
|
24328
24436
|
}]
|
|
24329
24437
|
}] });
|
|
@@ -24365,7 +24473,7 @@ ClrTimelineStep.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
24365
24473
|
<ng-content select="clr-timeline-step-header"></ng-content>
|
|
24366
24474
|
<span class="clr-sr-only">{{ stepTitleText }}</span>
|
|
24367
24475
|
<ng-container *ngIf="!isProcessing; else processing">
|
|
24368
|
-
<cds-icon [attr.status]="iconStatus" [attr.shape]="iconShape" [attr.aria-label]="iconAriaLabel"
|
|
24476
|
+
<cds-icon [attr.status]="iconStatus" [attr.shape]="iconShape" [attr.aria-label]="iconAriaLabel"></cds-icon>
|
|
24369
24477
|
</ng-container>
|
|
24370
24478
|
<div class="clr-timeline-step-body">
|
|
24371
24479
|
<ng-content select="clr-timeline-step-title"></ng-content>
|
|
@@ -24384,7 +24492,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
24384
24492
|
<ng-content select="clr-timeline-step-header"></ng-content>
|
|
24385
24493
|
<span class="clr-sr-only">{{ stepTitleText }}</span>
|
|
24386
24494
|
<ng-container *ngIf="!isProcessing; else processing">
|
|
24387
|
-
<cds-icon [attr.status]="iconStatus" [attr.shape]="iconShape" [attr.aria-label]="iconAriaLabel"
|
|
24495
|
+
<cds-icon [attr.status]="iconStatus" [attr.shape]="iconShape" [attr.aria-label]="iconAriaLabel"></cds-icon>
|
|
24388
24496
|
</ng-container>
|
|
24389
24497
|
<div class="clr-timeline-step-body">
|
|
24390
24498
|
<ng-content select="clr-timeline-step-title"></ng-content>
|
|
@@ -24416,12 +24524,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
24416
24524
|
class ClrTimelineStepDescription {
|
|
24417
24525
|
}
|
|
24418
24526
|
ClrTimelineStepDescription.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepDescription, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24419
|
-
ClrTimelineStepDescription.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTimelineStepDescription, selector: "clr-timeline-step-description", host: { properties: { "class.clr-timeline-step-description": "true" } }, ngImport: i0, template:
|
|
24527
|
+
ClrTimelineStepDescription.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTimelineStepDescription, selector: "clr-timeline-step-description", host: { properties: { "class.clr-timeline-step-description": "true" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
24420
24528
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepDescription, decorators: [{
|
|
24421
24529
|
type: Component,
|
|
24422
24530
|
args: [{
|
|
24423
24531
|
selector: 'clr-timeline-step-description',
|
|
24424
|
-
template:
|
|
24532
|
+
template: `<ng-content></ng-content>`,
|
|
24425
24533
|
host: { '[class.clr-timeline-step-description]': 'true' },
|
|
24426
24534
|
}]
|
|
24427
24535
|
}] });
|
|
@@ -24434,12 +24542,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
24434
24542
|
class ClrTimelineStepHeader {
|
|
24435
24543
|
}
|
|
24436
24544
|
ClrTimelineStepHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepHeader, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24437
|
-
ClrTimelineStepHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTimelineStepHeader, selector: "clr-timeline-step-header", host: { properties: { "class.clr-timeline-step-header": "true" } }, ngImport: i0, template:
|
|
24545
|
+
ClrTimelineStepHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTimelineStepHeader, selector: "clr-timeline-step-header", host: { properties: { "class.clr-timeline-step-header": "true" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
24438
24546
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepHeader, decorators: [{
|
|
24439
24547
|
type: Component,
|
|
24440
24548
|
args: [{
|
|
24441
24549
|
selector: 'clr-timeline-step-header',
|
|
24442
|
-
template:
|
|
24550
|
+
template: `<ng-content></ng-content>`,
|
|
24443
24551
|
host: { '[class.clr-timeline-step-header]': 'true' },
|
|
24444
24552
|
}]
|
|
24445
24553
|
}] });
|
|
@@ -25590,7 +25698,9 @@ ClrWizardPageButtons.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ver
|
|
|
25590
25698
|
ClrWizardPageButtons.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrWizardPageButtons, selector: "[clrPageButtons]", ngImport: i0 });
|
|
25591
25699
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrWizardPageButtons, decorators: [{
|
|
25592
25700
|
type: Directive,
|
|
25593
|
-
args: [{
|
|
25701
|
+
args: [{
|
|
25702
|
+
selector: '[clrPageButtons]',
|
|
25703
|
+
}]
|
|
25594
25704
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
25595
25705
|
|
|
25596
25706
|
/*
|
|
@@ -25607,7 +25717,9 @@ ClrWizardPageHeaderActions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0
|
|
|
25607
25717
|
ClrWizardPageHeaderActions.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrWizardPageHeaderActions, selector: "[clrPageHeaderActions]", ngImport: i0 });
|
|
25608
25718
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrWizardPageHeaderActions, decorators: [{
|
|
25609
25719
|
type: Directive,
|
|
25610
|
-
args: [{
|
|
25720
|
+
args: [{
|
|
25721
|
+
selector: '[clrPageHeaderActions]',
|
|
25722
|
+
}]
|
|
25611
25723
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
25612
25724
|
|
|
25613
25725
|
/*
|
|
@@ -25624,7 +25736,9 @@ ClrWizardPageNavTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ve
|
|
|
25624
25736
|
ClrWizardPageNavTitle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrWizardPageNavTitle, selector: "[clrPageNavTitle]", ngImport: i0 });
|
|
25625
25737
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrWizardPageNavTitle, decorators: [{
|
|
25626
25738
|
type: Directive,
|
|
25627
|
-
args: [{
|
|
25739
|
+
args: [{
|
|
25740
|
+
selector: '[clrPageNavTitle]',
|
|
25741
|
+
}]
|
|
25628
25742
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
25629
25743
|
|
|
25630
25744
|
/*
|
|
@@ -25641,7 +25755,9 @@ ClrWizardPageTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
25641
25755
|
ClrWizardPageTitle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrWizardPageTitle, selector: "[clrPageTitle]", ngImport: i0 });
|
|
25642
25756
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrWizardPageTitle, decorators: [{
|
|
25643
25757
|
type: Directive,
|
|
25644
|
-
args: [{
|
|
25758
|
+
args: [{
|
|
25759
|
+
selector: '[clrPageTitle]',
|
|
25760
|
+
}]
|
|
25645
25761
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
25646
25762
|
|
|
25647
25763
|
/*
|
|
@@ -27153,7 +27269,9 @@ ClrWizardCustomTags.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
|
|
|
27153
27269
|
ClrWizardCustomTags.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrWizardCustomTags, selector: "clr-wizard-title, clr-wizard-pagetitle", ngImport: i0 });
|
|
27154
27270
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrWizardCustomTags, decorators: [{
|
|
27155
27271
|
type: Directive,
|
|
27156
|
-
args: [{
|
|
27272
|
+
args: [{
|
|
27273
|
+
selector: 'clr-wizard-title, clr-wizard-pagetitle',
|
|
27274
|
+
}]
|
|
27157
27275
|
}] });
|
|
27158
27276
|
|
|
27159
27277
|
/*
|