@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/fesm2015/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 () {
|
|
113
119
|
return [{ type: LoadingListener, decorators: [{
|
|
114
120
|
type: Optional
|
|
@@ -779,7 +785,9 @@ AccordionWillyWonka.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
|
|
|
779
785
|
AccordionWillyWonka.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AccordionWillyWonka, selector: "clr-accordion", usesInheritance: true, ngImport: i0 });
|
|
780
786
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionWillyWonka, decorators: [{
|
|
781
787
|
type: Directive,
|
|
782
|
-
args: [{
|
|
788
|
+
args: [{
|
|
789
|
+
selector: 'clr-accordion',
|
|
790
|
+
}]
|
|
783
791
|
}] });
|
|
784
792
|
|
|
785
793
|
/*
|
|
@@ -803,7 +811,9 @@ AccordionOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ver
|
|
|
803
811
|
AccordionOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AccordionOompaLoompa, selector: "clr-accordion-panel", usesInheritance: true, ngImport: i0 });
|
|
804
812
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionOompaLoompa, decorators: [{
|
|
805
813
|
type: Directive,
|
|
806
|
-
args: [{
|
|
814
|
+
args: [{
|
|
815
|
+
selector: 'clr-accordion-panel',
|
|
816
|
+
}]
|
|
807
817
|
}], ctorParameters: function () {
|
|
808
818
|
return [{ type: i0.ChangeDetectorRef }, { type: AccordionWillyWonka, decorators: [{
|
|
809
819
|
type: Optional
|
|
@@ -1256,7 +1266,9 @@ StepperWillyWonka.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
1256
1266
|
StepperWillyWonka.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: StepperWillyWonka, selector: "form[clrStepper]", usesInheritance: true, ngImport: i0 });
|
|
1257
1267
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StepperWillyWonka, decorators: [{
|
|
1258
1268
|
type: Directive,
|
|
1259
|
-
args: [{
|
|
1269
|
+
args: [{
|
|
1270
|
+
selector: 'form[clrStepper]',
|
|
1271
|
+
}]
|
|
1260
1272
|
}] });
|
|
1261
1273
|
|
|
1262
1274
|
/*
|
|
@@ -1280,7 +1292,9 @@ StepperOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
1280
1292
|
StepperOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: StepperOompaLoompa, selector: "clr-stepper-panel, [clrStepButton]", usesInheritance: true, ngImport: i0 });
|
|
1281
1293
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StepperOompaLoompa, decorators: [{
|
|
1282
1294
|
type: Directive,
|
|
1283
|
-
args: [{
|
|
1295
|
+
args: [{
|
|
1296
|
+
selector: 'clr-stepper-panel, [clrStepButton]',
|
|
1297
|
+
}]
|
|
1284
1298
|
}], ctorParameters: function () {
|
|
1285
1299
|
return [{ type: i0.ChangeDetectorRef }, { type: StepperWillyWonka, decorators: [{
|
|
1286
1300
|
type: Optional
|
|
@@ -2224,7 +2238,9 @@ ClrPopoverContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
2224
2238
|
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 });
|
|
2225
2239
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrPopoverContent, decorators: [{
|
|
2226
2240
|
type: Directive,
|
|
2227
|
-
args: [{
|
|
2241
|
+
args: [{
|
|
2242
|
+
selector: '[clrPopoverContent]',
|
|
2243
|
+
}]
|
|
2228
2244
|
}], ctorParameters: function () {
|
|
2229
2245
|
return [{ type: Document, decorators: [{
|
|
2230
2246
|
type: Inject,
|
|
@@ -3087,12 +3103,12 @@ class ClrControlError extends ClrAbstractControl {
|
|
|
3087
3103
|
}
|
|
3088
3104
|
}
|
|
3089
3105
|
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 });
|
|
3090
|
-
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:
|
|
3106
|
+
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 });
|
|
3091
3107
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrControlError, decorators: [{
|
|
3092
3108
|
type: Component,
|
|
3093
3109
|
args: [{
|
|
3094
3110
|
selector: 'clr-control-error',
|
|
3095
|
-
template:
|
|
3111
|
+
template: `<ng-content></ng-content>`,
|
|
3096
3112
|
host: {
|
|
3097
3113
|
'[class.clr-subtext]': 'true',
|
|
3098
3114
|
'[attr.id]': 'id',
|
|
@@ -3120,12 +3136,12 @@ class ClrControlHelper extends ClrAbstractControl {
|
|
|
3120
3136
|
}
|
|
3121
3137
|
}
|
|
3122
3138
|
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 });
|
|
3123
|
-
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:
|
|
3139
|
+
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 });
|
|
3124
3140
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrControlHelper, decorators: [{
|
|
3125
3141
|
type: Component,
|
|
3126
3142
|
args: [{
|
|
3127
3143
|
selector: 'clr-control-helper',
|
|
3128
|
-
template:
|
|
3144
|
+
template: `<ng-content></ng-content>`,
|
|
3129
3145
|
host: {
|
|
3130
3146
|
'[class.clr-subtext]': 'true',
|
|
3131
3147
|
'[attr.id]': 'id',
|
|
@@ -3323,7 +3339,9 @@ ClrLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
|
3323
3339
|
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 });
|
|
3324
3340
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrLabel, decorators: [{
|
|
3325
3341
|
type: Directive,
|
|
3326
|
-
args: [{
|
|
3342
|
+
args: [{
|
|
3343
|
+
selector: 'label',
|
|
3344
|
+
}]
|
|
3327
3345
|
}], ctorParameters: function () {
|
|
3328
3346
|
return [{ type: ControlIdService, decorators: [{
|
|
3329
3347
|
type: Optional
|
|
@@ -3354,12 +3372,12 @@ class ClrControlSuccess extends ClrAbstractControl {
|
|
|
3354
3372
|
}
|
|
3355
3373
|
}
|
|
3356
3374
|
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 });
|
|
3357
|
-
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:
|
|
3375
|
+
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 });
|
|
3358
3376
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrControlSuccess, decorators: [{
|
|
3359
3377
|
type: Component,
|
|
3360
3378
|
args: [{
|
|
3361
3379
|
selector: 'clr-control-success',
|
|
3362
|
-
template:
|
|
3380
|
+
template: `<ng-content></ng-content>`,
|
|
3363
3381
|
host: {
|
|
3364
3382
|
'[class.clr-subtext]': 'true',
|
|
3365
3383
|
'[attr.id]': 'id',
|
|
@@ -3829,7 +3847,10 @@ ClrControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
|
3829
3847
|
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 });
|
|
3830
3848
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrControl, decorators: [{
|
|
3831
3849
|
type: Directive,
|
|
3832
|
-
args: [{
|
|
3850
|
+
args: [{
|
|
3851
|
+
selector: '[clrControl]',
|
|
3852
|
+
host: { '[class.clr-input]': 'true' },
|
|
3853
|
+
}]
|
|
3833
3854
|
}], ctorParameters: function () {
|
|
3834
3855
|
return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
3835
3856
|
type: Self
|
|
@@ -3978,7 +3999,9 @@ ClrIfError.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
|
3978
3999
|
ClrIfError.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrIfError, selector: "[clrIfError]", inputs: { error: ["clrIfError", "error"] }, usesInheritance: true, ngImport: i0 });
|
|
3979
4000
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfError, decorators: [{
|
|
3980
4001
|
type: Directive,
|
|
3981
|
-
args: [{
|
|
4002
|
+
args: [{
|
|
4003
|
+
selector: '[clrIfError]',
|
|
4004
|
+
}]
|
|
3982
4005
|
}], ctorParameters: function () {
|
|
3983
4006
|
return [{ type: IfControlStateService, decorators: [{
|
|
3984
4007
|
type: Optional
|
|
@@ -4022,7 +4045,9 @@ ClrIfSuccess.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "1
|
|
|
4022
4045
|
ClrIfSuccess.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrIfSuccess, selector: "[clrIfSuccess]", usesInheritance: true, ngImport: i0 });
|
|
4023
4046
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfSuccess, decorators: [{
|
|
4024
4047
|
type: Directive,
|
|
4025
|
-
args: [{
|
|
4048
|
+
args: [{
|
|
4049
|
+
selector: '[clrIfSuccess]',
|
|
4050
|
+
}]
|
|
4026
4051
|
}], ctorParameters: function () {
|
|
4027
4052
|
return [{ type: IfControlStateService, decorators: [{
|
|
4028
4053
|
type: Optional
|
|
@@ -4212,7 +4237,9 @@ ClrCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13
|
|
|
4212
4237
|
ClrCheckbox.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrCheckbox, selector: "[clrCheckbox],[clrToggle]", usesInheritance: true, ngImport: i0 });
|
|
4213
4238
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrCheckbox, decorators: [{
|
|
4214
4239
|
type: Directive,
|
|
4215
|
-
args: [{
|
|
4240
|
+
args: [{
|
|
4241
|
+
selector: '[clrCheckbox],[clrToggle]',
|
|
4242
|
+
}]
|
|
4216
4243
|
}], ctorParameters: function () {
|
|
4217
4244
|
return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
4218
4245
|
type: Self
|
|
@@ -4420,12 +4447,12 @@ class ClrSpinner {
|
|
|
4420
4447
|
}
|
|
4421
4448
|
}
|
|
4422
4449
|
ClrSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrSpinner, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4423
|
-
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:
|
|
4450
|
+
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 });
|
|
4424
4451
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrSpinner, decorators: [{
|
|
4425
4452
|
type: Component,
|
|
4426
4453
|
args: [{
|
|
4427
4454
|
selector: 'clr-spinner',
|
|
4428
|
-
template:
|
|
4455
|
+
template: `<ng-content></ng-content>`,
|
|
4429
4456
|
host: {
|
|
4430
4457
|
'[attr.aria-busy]': 'true',
|
|
4431
4458
|
},
|
|
@@ -4641,7 +4668,9 @@ ClrIfActive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13
|
|
|
4641
4668
|
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 });
|
|
4642
4669
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfActive, decorators: [{
|
|
4643
4670
|
type: Directive,
|
|
4644
|
-
args: [{
|
|
4671
|
+
args: [{
|
|
4672
|
+
selector: '[clrIfActive]',
|
|
4673
|
+
}]
|
|
4645
4674
|
}], ctorParameters: function () {
|
|
4646
4675
|
return [{ type: IfActiveService }, { type: undefined, decorators: [{
|
|
4647
4676
|
type: Inject,
|
|
@@ -4733,7 +4762,9 @@ ClrIfExpanded.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
|
4733
4762
|
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 });
|
|
4734
4763
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfExpanded, decorators: [{
|
|
4735
4764
|
type: Directive,
|
|
4736
|
-
args: [{
|
|
4765
|
+
args: [{
|
|
4766
|
+
selector: '[clrIfExpanded]',
|
|
4767
|
+
}]
|
|
4737
4768
|
}], ctorParameters: function () {
|
|
4738
4769
|
return [{ type: i0.TemplateRef, decorators: [{
|
|
4739
4770
|
type: Optional
|
|
@@ -4821,7 +4852,9 @@ ClrIfOpen.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0
|
|
|
4821
4852
|
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 });
|
|
4822
4853
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfOpen, decorators: [{
|
|
4823
4854
|
type: Directive,
|
|
4824
|
-
args: [{
|
|
4855
|
+
args: [{
|
|
4856
|
+
selector: '[clrIfOpen]',
|
|
4857
|
+
}]
|
|
4825
4858
|
}], ctorParameters: function () { return [{ type: ClrPopoverToggleService }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { open: [{
|
|
4826
4859
|
type: Input,
|
|
4827
4860
|
args: ['clrIfOpen']
|
|
@@ -5580,7 +5613,9 @@ ClrOptionSelected.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
5580
5613
|
ClrOptionSelected.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrOptionSelected, selector: "[clrOptionSelected]", inputs: { selected: ["clrOptionSelected", "selected"] }, ngImport: i0 });
|
|
5581
5614
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrOptionSelected, decorators: [{
|
|
5582
5615
|
type: Directive,
|
|
5583
|
-
args: [{
|
|
5616
|
+
args: [{
|
|
5617
|
+
selector: '[clrOptionSelected]',
|
|
5618
|
+
}]
|
|
5584
5619
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { selected: [{
|
|
5585
5620
|
type: Input,
|
|
5586
5621
|
args: ['clrOptionSelected']
|
|
@@ -5878,7 +5913,14 @@ class ComboboxFocusHandler {
|
|
|
5878
5913
|
firstActive = this.selectionService.selectionModel.model;
|
|
5879
5914
|
}
|
|
5880
5915
|
const activeProxy = this.optionData.find(option => option.value === firstActive);
|
|
5881
|
-
|
|
5916
|
+
if (activeProxy) {
|
|
5917
|
+
// active element is visible
|
|
5918
|
+
this.pseudoFocus.select(activeProxy);
|
|
5919
|
+
}
|
|
5920
|
+
else {
|
|
5921
|
+
// we have active element, but it's filtered out
|
|
5922
|
+
this.pseudoFocus.select(this.optionData[0]);
|
|
5923
|
+
}
|
|
5882
5924
|
}
|
|
5883
5925
|
}
|
|
5884
5926
|
}
|
|
@@ -6173,7 +6215,7 @@ ClrCombobox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
|
6173
6215
|
ClrPopoverToggleService,
|
|
6174
6216
|
ClrPopoverEventsService,
|
|
6175
6217
|
ClrPopoverPositionService,
|
|
6176
|
-
], 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
|
|
6218
|
+
], 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"] }] });
|
|
6177
6219
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrCombobox, decorators: [{
|
|
6178
6220
|
type: Component,
|
|
6179
6221
|
args: [{ selector: 'clr-combobox', providers: [
|
|
@@ -6192,7 +6234,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
6192
6234
|
'[class.aria-required]': 'true',
|
|
6193
6235
|
'[class.clr-combobox]': 'true',
|
|
6194
6236
|
'[class.clr-combobox-disabled]': 'control?.disabled',
|
|
6195
|
-
}, 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
|
|
6237
|
+
}, 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" }]
|
|
6196
6238
|
}], ctorParameters: function () {
|
|
6197
6239
|
return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
6198
6240
|
type: Self
|
|
@@ -6292,14 +6334,18 @@ class ClrOption {
|
|
|
6292
6334
|
}
|
|
6293
6335
|
}
|
|
6294
6336
|
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 });
|
|
6295
|
-
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:
|
|
6296
|
-
<
|
|
6337
|
+
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: `
|
|
6338
|
+
<ng-content></ng-content>
|
|
6339
|
+
<span *ngIf="selected" class="clr-sr-only">{{ commonStrings.keys.comboboxSelected }}</span>
|
|
6340
|
+
`, isInline: true, directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
6297
6341
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrOption, decorators: [{
|
|
6298
6342
|
type: Component,
|
|
6299
6343
|
args: [{
|
|
6300
6344
|
selector: 'clr-option',
|
|
6301
|
-
template:
|
|
6302
|
-
<
|
|
6345
|
+
template: `
|
|
6346
|
+
<ng-content></ng-content>
|
|
6347
|
+
<span *ngIf="selected" class="clr-sr-only">{{ commonStrings.keys.comboboxSelected }}</span>
|
|
6348
|
+
`,
|
|
6303
6349
|
providers: [UNIQUE_ID_PROVIDER],
|
|
6304
6350
|
host: {
|
|
6305
6351
|
'[class.clr-combobox-option]': 'true',
|
|
@@ -6482,6 +6528,10 @@ class ClrOptions {
|
|
|
6482
6528
|
event.target !== this.focusHandler.textInput) {
|
|
6483
6529
|
this.toggleService.open = false;
|
|
6484
6530
|
}
|
|
6531
|
+
}), this.items.changes.subscribe(() => {
|
|
6532
|
+
setTimeout(() => {
|
|
6533
|
+
this.focusHandler.focusFirstActive();
|
|
6534
|
+
});
|
|
6485
6535
|
}));
|
|
6486
6536
|
}
|
|
6487
6537
|
ngOnDestroy() {
|
|
@@ -6711,7 +6761,10 @@ ClrInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
|
6711
6761
|
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 });
|
|
6712
6762
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrInput, decorators: [{
|
|
6713
6763
|
type: Directive,
|
|
6714
|
-
args: [{
|
|
6764
|
+
args: [{
|
|
6765
|
+
selector: '[clrInput]',
|
|
6766
|
+
host: { '[class.clr-input]': 'true' },
|
|
6767
|
+
}]
|
|
6715
6768
|
}], ctorParameters: function () {
|
|
6716
6769
|
return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
6717
6770
|
type: Self
|
|
@@ -7196,7 +7249,9 @@ FocusTrapDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
7196
7249
|
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 });
|
|
7197
7250
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FocusTrapDirective, decorators: [{
|
|
7198
7251
|
type: Directive,
|
|
7199
|
-
args: [{
|
|
7252
|
+
args: [{
|
|
7253
|
+
selector: '[clrFocusTrap]',
|
|
7254
|
+
}]
|
|
7200
7255
|
}], ctorParameters: function () {
|
|
7201
7256
|
return [{ type: i0.ElementRef }, { type: i0.Injector }, { type: FocusTrapTracker }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
7202
7257
|
type: Inject,
|
|
@@ -9520,9 +9575,9 @@ ClrPasswordContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
9520
9575
|
type="button"
|
|
9521
9576
|
>
|
|
9522
9577
|
<cds-icon status="info" [attr.shape]="show ? 'eye-hide' : 'eye'"></cds-icon>
|
|
9523
|
-
<span class="clr-sr-only">
|
|
9524
|
-
show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow
|
|
9525
|
-
|
|
9578
|
+
<span class="clr-sr-only">
|
|
9579
|
+
{{ show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow }}
|
|
9580
|
+
</span>
|
|
9526
9581
|
</button>
|
|
9527
9582
|
</div>
|
|
9528
9583
|
<cds-icon
|
|
@@ -9564,9 +9619,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
9564
9619
|
type="button"
|
|
9565
9620
|
>
|
|
9566
9621
|
<cds-icon status="info" [attr.shape]="show ? 'eye-hide' : 'eye'"></cds-icon>
|
|
9567
|
-
<span class="clr-sr-only">
|
|
9568
|
-
show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow
|
|
9569
|
-
|
|
9622
|
+
<span class="clr-sr-only">
|
|
9623
|
+
{{ show ? commonStrings.keys.passwordHide : commonStrings.keys.passwordShow }}
|
|
9624
|
+
</span>
|
|
9570
9625
|
</button>
|
|
9571
9626
|
</div>
|
|
9572
9627
|
<cds-icon
|
|
@@ -9649,7 +9704,10 @@ ClrPassword.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13
|
|
|
9649
9704
|
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 });
|
|
9650
9705
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrPassword, decorators: [{
|
|
9651
9706
|
type: Directive,
|
|
9652
|
-
args: [{
|
|
9707
|
+
args: [{
|
|
9708
|
+
selector: '[clrPassword]',
|
|
9709
|
+
host: { '[class.clr-input]': 'true' },
|
|
9710
|
+
}]
|
|
9653
9711
|
}], ctorParameters: function () {
|
|
9654
9712
|
return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
9655
9713
|
type: Self
|
|
@@ -9751,7 +9809,9 @@ ClrRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
|
9751
9809
|
ClrRadio.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrRadio, selector: "[clrRadio]", usesInheritance: true, ngImport: i0 });
|
|
9752
9810
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrRadio, decorators: [{
|
|
9753
9811
|
type: Directive,
|
|
9754
|
-
args: [{
|
|
9812
|
+
args: [{
|
|
9813
|
+
selector: '[clrRadio]',
|
|
9814
|
+
}]
|
|
9755
9815
|
}], ctorParameters: function () {
|
|
9756
9816
|
return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
9757
9817
|
type: Self
|
|
@@ -10022,7 +10082,10 @@ ClrRange.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
|
10022
10082
|
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 });
|
|
10023
10083
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrRange, decorators: [{
|
|
10024
10084
|
type: Directive,
|
|
10025
|
-
args: [{
|
|
10085
|
+
args: [{
|
|
10086
|
+
selector: '[clrRange]',
|
|
10087
|
+
host: { '[class.clr-range]': 'true' },
|
|
10088
|
+
}]
|
|
10026
10089
|
}], ctorParameters: function () {
|
|
10027
10090
|
return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
10028
10091
|
type: Self
|
|
@@ -10169,7 +10232,10 @@ ClrSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0
|
|
|
10169
10232
|
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 });
|
|
10170
10233
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrSelect, decorators: [{
|
|
10171
10234
|
type: Directive,
|
|
10172
|
-
args: [{
|
|
10235
|
+
args: [{
|
|
10236
|
+
selector: '[clrSelect]',
|
|
10237
|
+
host: { '[class.clr-select]': 'true' },
|
|
10238
|
+
}]
|
|
10173
10239
|
}], ctorParameters: function () {
|
|
10174
10240
|
return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
10175
10241
|
type: Self
|
|
@@ -10289,7 +10355,10 @@ ClrTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13
|
|
|
10289
10355
|
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 });
|
|
10290
10356
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTextarea, decorators: [{
|
|
10291
10357
|
type: Directive,
|
|
10292
|
-
args: [{
|
|
10358
|
+
args: [{
|
|
10359
|
+
selector: '[clrTextarea]',
|
|
10360
|
+
host: { '[class.clr-textarea]': 'true' },
|
|
10361
|
+
}]
|
|
10293
10362
|
}], ctorParameters: function () {
|
|
10294
10363
|
return [{ type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i1.NgControl, decorators: [{
|
|
10295
10364
|
type: Self
|
|
@@ -10441,7 +10510,7 @@ class ClrExpandableAnimation {
|
|
|
10441
10510
|
}
|
|
10442
10511
|
}
|
|
10443
10512
|
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 });
|
|
10444
|
-
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:
|
|
10513
|
+
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: [
|
|
10445
10514
|
trigger('expandAnimation', [
|
|
10446
10515
|
transition('true <=> false', [
|
|
10447
10516
|
style({ height: '{{startHeight}}px', overflow: 'hidden' }),
|
|
@@ -10453,7 +10522,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
10453
10522
|
type: Component,
|
|
10454
10523
|
args: [{
|
|
10455
10524
|
selector: 'clr-expandable-animation',
|
|
10456
|
-
template:
|
|
10525
|
+
template: `<ng-content></ng-content>`,
|
|
10457
10526
|
styles: [
|
|
10458
10527
|
`
|
|
10459
10528
|
:host {
|
|
@@ -10827,7 +10896,10 @@ ClrDragHandle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
|
10827
10896
|
ClrDragHandle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrDragHandle, selector: "[clrDragHandle]", host: { properties: { "class.drag-handle": "true" } }, ngImport: i0 });
|
|
10828
10897
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDragHandle, decorators: [{
|
|
10829
10898
|
type: Directive,
|
|
10830
|
-
args: [{
|
|
10899
|
+
args: [{
|
|
10900
|
+
selector: '[clrDragHandle]',
|
|
10901
|
+
host: { '[class.drag-handle]': 'true' },
|
|
10902
|
+
}]
|
|
10831
10903
|
}], ctorParameters: function () {
|
|
10832
10904
|
return [{ type: i0.ElementRef }, { type: DragHandleRegistrarService, decorators: [{
|
|
10833
10905
|
type: Optional
|
|
@@ -11039,7 +11111,9 @@ ClrIfDragged.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "1
|
|
|
11039
11111
|
ClrIfDragged.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrIfDragged, selector: "[clrIfDragged]", ngImport: i0 });
|
|
11040
11112
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrIfDragged, decorators: [{
|
|
11041
11113
|
type: Directive,
|
|
11042
|
-
args: [{
|
|
11114
|
+
args: [{
|
|
11115
|
+
selector: '[clrIfDragged]',
|
|
11116
|
+
}]
|
|
11043
11117
|
}], ctorParameters: function () {
|
|
11044
11118
|
return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef, decorators: [{
|
|
11045
11119
|
type: Optional
|
|
@@ -11614,7 +11688,9 @@ OutsideClick.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "1
|
|
|
11614
11688
|
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 });
|
|
11615
11689
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OutsideClick, decorators: [{
|
|
11616
11690
|
type: Directive,
|
|
11617
|
-
args: [{
|
|
11691
|
+
args: [{
|
|
11692
|
+
selector: '[clrOutsideClick]',
|
|
11693
|
+
}]
|
|
11618
11694
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { strict: [{
|
|
11619
11695
|
type: Input,
|
|
11620
11696
|
args: ['clrStrict']
|
|
@@ -12765,7 +12841,9 @@ DatagridWillyWonka.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
12765
12841
|
DatagridWillyWonka.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DatagridWillyWonka, selector: "clr-datagrid", usesInheritance: true, ngImport: i0 });
|
|
12766
12842
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DatagridWillyWonka, decorators: [{
|
|
12767
12843
|
type: Directive,
|
|
12768
|
-
args: [{
|
|
12844
|
+
args: [{
|
|
12845
|
+
selector: 'clr-datagrid',
|
|
12846
|
+
}]
|
|
12769
12847
|
}] });
|
|
12770
12848
|
|
|
12771
12849
|
/*
|
|
@@ -12817,7 +12895,9 @@ ActionableOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ve
|
|
|
12817
12895
|
ActionableOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ActionableOompaLoompa, selector: "clr-datagrid, clr-dg-row", usesInheritance: true, ngImport: i0 });
|
|
12818
12896
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ActionableOompaLoompa, decorators: [{
|
|
12819
12897
|
type: Directive,
|
|
12820
|
-
args: [{
|
|
12898
|
+
args: [{
|
|
12899
|
+
selector: 'clr-datagrid, clr-dg-row',
|
|
12900
|
+
}]
|
|
12821
12901
|
}], ctorParameters: function () {
|
|
12822
12902
|
return [{ type: i0.ChangeDetectorRef }, { type: DatagridWillyWonka, decorators: [{
|
|
12823
12903
|
type: Optional
|
|
@@ -12933,7 +13013,9 @@ ExpandableOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ve
|
|
|
12933
13013
|
ExpandableOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ExpandableOompaLoompa, selector: "clr-datagrid, clr-dg-row", usesInheritance: true, ngImport: i0 });
|
|
12934
13014
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ExpandableOompaLoompa, decorators: [{
|
|
12935
13015
|
type: Directive,
|
|
12936
|
-
args: [{
|
|
13016
|
+
args: [{
|
|
13017
|
+
selector: 'clr-datagrid, clr-dg-row',
|
|
13018
|
+
}]
|
|
12937
13019
|
}], ctorParameters: function () {
|
|
12938
13020
|
return [{ type: i0.ChangeDetectorRef }, { type: DatagridWillyWonka, decorators: [{
|
|
12939
13021
|
type: Optional
|
|
@@ -14390,12 +14472,12 @@ class ClrDatagridCell {
|
|
|
14390
14472
|
}
|
|
14391
14473
|
}
|
|
14392
14474
|
ClrDatagridCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDatagridCell, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14393
|
-
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:
|
|
14475
|
+
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 });
|
|
14394
14476
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDatagridCell, decorators: [{
|
|
14395
14477
|
type: Component,
|
|
14396
14478
|
args: [{
|
|
14397
14479
|
selector: 'clr-dg-cell',
|
|
14398
|
-
template:
|
|
14480
|
+
template: `<ng-content></ng-content>`,
|
|
14399
14481
|
host: {
|
|
14400
14482
|
'[class.datagrid-cell]': 'true',
|
|
14401
14483
|
'[class.datagrid-signpost-trigger]': 'signpost.length > 0',
|
|
@@ -15771,12 +15853,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
15771
15853
|
class ClrDatagridActionBar {
|
|
15772
15854
|
}
|
|
15773
15855
|
ClrDatagridActionBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDatagridActionBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15774
|
-
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:
|
|
15856
|
+
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 });
|
|
15775
15857
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDatagridActionBar, decorators: [{
|
|
15776
15858
|
type: Component,
|
|
15777
15859
|
args: [{
|
|
15778
15860
|
selector: 'clr-dg-action-bar',
|
|
15779
|
-
template:
|
|
15861
|
+
template: `<ng-content></ng-content>`,
|
|
15780
15862
|
host: { '[class.datagrid-action-bar]': 'true' },
|
|
15781
15863
|
}]
|
|
15782
15864
|
}] });
|
|
@@ -15864,7 +15946,6 @@ ClrDatagridActionOverflow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
15864
15946
|
|
|
15865
15947
|
<div
|
|
15866
15948
|
class="datagrid-action-overflow"
|
|
15867
|
-
role="menu"
|
|
15868
15949
|
[id]="popoverId"
|
|
15869
15950
|
[attr.aria-hidden]="!open"
|
|
15870
15951
|
[attr.id]="popoverId"
|
|
@@ -15898,7 +15979,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
15898
15979
|
|
|
15899
15980
|
<div
|
|
15900
15981
|
class="datagrid-action-overflow"
|
|
15901
|
-
role="menu"
|
|
15902
15982
|
[id]="popoverId"
|
|
15903
15983
|
[attr.aria-hidden]="!open"
|
|
15904
15984
|
[attr.id]="popoverId"
|
|
@@ -16421,7 +16501,9 @@ DatagridDetailRegisterer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
16421
16501
|
DatagridDetailRegisterer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DatagridDetailRegisterer, selector: "[clrIfExpanded]", ngImport: i0 });
|
|
16422
16502
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DatagridDetailRegisterer, decorators: [{
|
|
16423
16503
|
type: Directive,
|
|
16424
|
-
args: [{
|
|
16504
|
+
args: [{
|
|
16505
|
+
selector: '[clrIfExpanded]',
|
|
16506
|
+
}]
|
|
16425
16507
|
}], ctorParameters: function () {
|
|
16426
16508
|
return [{ type: ExpandableRowsCount, decorators: [{
|
|
16427
16509
|
type: Optional
|
|
@@ -17028,7 +17110,9 @@ ClrDatagridHideableColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0"
|
|
|
17028
17110
|
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 });
|
|
17029
17111
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDatagridHideableColumn, decorators: [{
|
|
17030
17112
|
type: Directive,
|
|
17031
|
-
args: [{
|
|
17113
|
+
args: [{
|
|
17114
|
+
selector: '[clrDgHideableColumn]',
|
|
17115
|
+
}]
|
|
17032
17116
|
}], ctorParameters: function () {
|
|
17033
17117
|
return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: ColumnsService }, { type: i3.BehaviorSubject, decorators: [{
|
|
17034
17118
|
type: Optional
|
|
@@ -17686,7 +17770,9 @@ DatagridCellRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ver
|
|
|
17686
17770
|
DatagridCellRenderer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DatagridCellRenderer, selector: "clr-dg-cell", ngImport: i0 });
|
|
17687
17771
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DatagridCellRenderer, decorators: [{
|
|
17688
17772
|
type: Directive,
|
|
17689
|
-
args: [{
|
|
17773
|
+
args: [{
|
|
17774
|
+
selector: 'clr-dg-cell',
|
|
17775
|
+
}]
|
|
17690
17776
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DatagridRenderOrganizer }]; } });
|
|
17691
17777
|
|
|
17692
17778
|
/*
|
|
@@ -17800,7 +17886,10 @@ DatagridHeaderRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", v
|
|
|
17800
17886
|
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 });
|
|
17801
17887
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DatagridHeaderRenderer, decorators: [{
|
|
17802
17888
|
type: Directive,
|
|
17803
|
-
args: [{
|
|
17889
|
+
args: [{
|
|
17890
|
+
selector: 'clr-dg-column',
|
|
17891
|
+
providers: [ColumnResizerService, COLUMN_STATE_PROVIDER],
|
|
17892
|
+
}]
|
|
17804
17893
|
}], ctorParameters: function () {
|
|
17805
17894
|
return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DatagridRenderOrganizer }, { type: DomAdapter }, { type: ColumnResizerService }, { type: ColumnsService }, { type: i3.BehaviorSubject, decorators: [{
|
|
17806
17895
|
type: Inject,
|
|
@@ -17907,7 +17996,9 @@ DatagridRowRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
|
|
|
17907
17996
|
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 });
|
|
17908
17997
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DatagridRowRenderer, decorators: [{
|
|
17909
17998
|
type: Directive,
|
|
17910
|
-
args: [{
|
|
17999
|
+
args: [{
|
|
18000
|
+
selector: 'clr-dg-row, clr-dg-row-detail',
|
|
18001
|
+
}]
|
|
17911
18002
|
}], ctorParameters: function () { return [{ type: ColumnsService }]; }, propDecorators: { cells: [{
|
|
17912
18003
|
type: ContentChildren,
|
|
17913
18004
|
args: [DatagridCellRenderer]
|
|
@@ -18293,7 +18384,9 @@ ClrStackViewCustomTags.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", v
|
|
|
18293
18384
|
ClrStackViewCustomTags.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrStackViewCustomTags, selector: "clr-stack-content", ngImport: i0 });
|
|
18294
18385
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrStackViewCustomTags, decorators: [{
|
|
18295
18386
|
type: Directive,
|
|
18296
|
-
args: [{
|
|
18387
|
+
args: [{
|
|
18388
|
+
selector: 'clr-stack-content',
|
|
18389
|
+
}]
|
|
18297
18390
|
}] });
|
|
18298
18391
|
class ClrStackViewLabel {
|
|
18299
18392
|
constructor(uniqueId) {
|
|
@@ -19218,7 +19311,9 @@ ClrRecursiveForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
19218
19311
|
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 });
|
|
19219
19312
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrRecursiveForOf, decorators: [{
|
|
19220
19313
|
type: Directive,
|
|
19221
|
-
args: [{
|
|
19314
|
+
args: [{
|
|
19315
|
+
selector: '[clrRecursiveFor][clrRecursiveForOf]',
|
|
19316
|
+
}]
|
|
19222
19317
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: TreeFeaturesService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { nodes: [{
|
|
19223
19318
|
type: Input,
|
|
19224
19319
|
args: ['clrRecursiveForOf']
|
|
@@ -19713,7 +19808,7 @@ ClrTreeNode.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
|
19713
19808
|
TREE_FEATURES_PROVIDER,
|
|
19714
19809
|
IfExpandService,
|
|
19715
19810
|
{ provide: LoadingListener, useExisting: IfExpandService },
|
|
19716
|
-
], 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\">
|
|
19811
|
+
], 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: [
|
|
19717
19812
|
trigger('toggleChildrenAnim', [
|
|
19718
19813
|
transition('collapsed => expanded', [style({ height: 0 }), animate(200, style({ height: '*' }))]),
|
|
19719
19814
|
transition('expanded => collapsed', [style({ height: '*' }), animate(200, style({ height: 0 }))]),
|
|
@@ -19737,7 +19832,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
19737
19832
|
]),
|
|
19738
19833
|
], host: {
|
|
19739
19834
|
'[class.clr-tree-node]': 'true',
|
|
19740
|
-
}, 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\">
|
|
19835
|
+
}, 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" }]
|
|
19741
19836
|
}], ctorParameters: function () {
|
|
19742
19837
|
return [{ type: undefined, decorators: [{
|
|
19743
19838
|
type: Inject,
|
|
@@ -19783,12 +19878,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
19783
19878
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
19784
19879
|
*/
|
|
19785
19880
|
class ClrTree {
|
|
19786
|
-
constructor(featuresService, focusManagerService,
|
|
19881
|
+
constructor(featuresService, focusManagerService, { nativeElement }, renderer, ngZone) {
|
|
19787
19882
|
this.featuresService = featuresService;
|
|
19788
19883
|
this.focusManagerService = focusManagerService;
|
|
19789
|
-
this.el = el;
|
|
19790
19884
|
this.subscriptions = [];
|
|
19791
|
-
|
|
19885
|
+
const subscription = ngZone.runOutsideAngular(() => fromEvent(nativeElement, 'focusin').subscribe((event) => {
|
|
19886
|
+
if (event.target === nativeElement) {
|
|
19887
|
+
// After discussing with the team, I've made it so that when the tree receives focus, the first visible node will be focused.
|
|
19888
|
+
// This will prevent from the page scrolling abruptly to the first selected node if it exist in a deeply nested tree.
|
|
19889
|
+
this.focusManagerService.focusFirstVisibleNode();
|
|
19890
|
+
// when the first child gets focus,
|
|
19891
|
+
// tree should no longer have tabindex of 0.
|
|
19892
|
+
renderer.removeAttribute(nativeElement, 'tabindex');
|
|
19893
|
+
}
|
|
19894
|
+
}));
|
|
19895
|
+
this.subscriptions.push(subscription);
|
|
19792
19896
|
}
|
|
19793
19897
|
set lazy(value) {
|
|
19794
19898
|
this.featuresService.eager = !value;
|
|
@@ -19796,16 +19900,6 @@ class ClrTree {
|
|
|
19796
19900
|
get isMultiSelectable() {
|
|
19797
19901
|
return this.featuresService.selectable && this.rootNodes.length > 0;
|
|
19798
19902
|
}
|
|
19799
|
-
onFocusIn(event) {
|
|
19800
|
-
if (event.target === this.el.nativeElement) {
|
|
19801
|
-
// After discussing with the team, I've made it so that when the tree receives focus, the first visible node will be focused.
|
|
19802
|
-
// This will prevent from the page scrolling abruptly to the first selected node if it exist in a deeply nested tree.
|
|
19803
|
-
this.focusManagerService.focusFirstVisibleNode();
|
|
19804
|
-
// when the first child gets focus,
|
|
19805
|
-
// tree should no longer have tabindex of 0;
|
|
19806
|
-
delete this.tabindex;
|
|
19807
|
-
}
|
|
19808
|
-
}
|
|
19809
19903
|
ngAfterContentInit() {
|
|
19810
19904
|
this.setRootNodes();
|
|
19811
19905
|
this.subscriptions.push(this.rootNodes.changes.subscribe(() => {
|
|
@@ -19822,8 +19916,8 @@ class ClrTree {
|
|
|
19822
19916
|
this.subscriptions.forEach(sub => sub.unsubscribe());
|
|
19823
19917
|
}
|
|
19824
19918
|
}
|
|
19825
|
-
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 });
|
|
19826
|
-
ClrTree.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrTree, selector: "clr-tree", inputs: { lazy: ["clrLazy", "lazy"] }, host: {
|
|
19919
|
+
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 });
|
|
19920
|
+
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: `
|
|
19827
19921
|
<ng-content></ng-content>
|
|
19828
19922
|
<clr-recursive-children
|
|
19829
19923
|
*ngIf="featuresService.recursion"
|
|
@@ -19843,17 +19937,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
19843
19937
|
`,
|
|
19844
19938
|
providers: [TREE_FEATURES_PROVIDER, TreeFocusManagerService],
|
|
19845
19939
|
host: {
|
|
19846
|
-
|
|
19940
|
+
tabindex: '0',
|
|
19847
19941
|
'[attr.role]': '"tree"',
|
|
19848
19942
|
'[attr.aria-multiselectable]': 'isMultiSelectable',
|
|
19849
19943
|
},
|
|
19850
19944
|
}]
|
|
19851
|
-
}], ctorParameters: function () { return [{ type: TreeFeaturesService }, { type: TreeFocusManagerService }, { type: i0.ElementRef }]; }, propDecorators: { lazy: [{
|
|
19945
|
+
}], ctorParameters: function () { return [{ type: TreeFeaturesService }, { type: TreeFocusManagerService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { lazy: [{
|
|
19852
19946
|
type: Input,
|
|
19853
19947
|
args: ['clrLazy']
|
|
19854
|
-
}], onFocusIn: [{
|
|
19855
|
-
type: HostListener,
|
|
19856
|
-
args: ['focusin', ['$event']]
|
|
19857
19948
|
}], rootNodes: [{
|
|
19858
19949
|
type: ContentChildren,
|
|
19859
19950
|
args: [ClrTreeNode]
|
|
@@ -20823,12 +20914,12 @@ class ClrDropdownMenu extends AbstractPopover {
|
|
|
20823
20914
|
}
|
|
20824
20915
|
}
|
|
20825
20916
|
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 });
|
|
20826
|
-
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:
|
|
20917
|
+
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 });
|
|
20827
20918
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrDropdownMenu, decorators: [{
|
|
20828
20919
|
type: Component,
|
|
20829
20920
|
args: [{
|
|
20830
20921
|
selector: 'clr-dropdown-menu',
|
|
20831
|
-
template:
|
|
20922
|
+
template: `<ng-content></ng-content>`,
|
|
20832
20923
|
host: {
|
|
20833
20924
|
'[class.dropdown-menu]': 'true',
|
|
20834
20925
|
'[attr.role]': '"menu"',
|
|
@@ -21394,7 +21485,7 @@ class ClrAlerts {
|
|
|
21394
21485
|
}
|
|
21395
21486
|
}
|
|
21396
21487
|
ClrAlerts.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrAlerts, deps: [{ token: MultiAlertService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21397
|
-
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\"
|
|
21488
|
+
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"] }] });
|
|
21398
21489
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrAlerts, decorators: [{
|
|
21399
21490
|
type: Component,
|
|
21400
21491
|
args: [{ selector: 'clr-alerts', providers: [MultiAlertService], host: {
|
|
@@ -21403,7 +21494,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
21403
21494
|
'[class.alert-info]': "this.currentAlertType == 'info'",
|
|
21404
21495
|
'[class.alert-success]': "this.currentAlertType == 'success'",
|
|
21405
21496
|
'[class.alert-warning]': "this.currentAlertType == 'warning'",
|
|
21406
|
-
}, 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\"
|
|
21497
|
+
}, 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" }]
|
|
21407
21498
|
}], ctorParameters: function () { return [{ type: MultiAlertService }]; }, propDecorators: { allAlerts: [{
|
|
21408
21499
|
type: ContentChildren,
|
|
21409
21500
|
args: [ClrAlert]
|
|
@@ -21603,7 +21694,10 @@ ClrMainContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version
|
|
|
21603
21694
|
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 });
|
|
21604
21695
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrMainContainer, decorators: [{
|
|
21605
21696
|
type: Directive,
|
|
21606
|
-
args: [{
|
|
21697
|
+
args: [{
|
|
21698
|
+
selector: 'clr-main-container',
|
|
21699
|
+
host: { '[class.main-container]': 'true' },
|
|
21700
|
+
}]
|
|
21607
21701
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ResponsiveNavigationService }]; } });
|
|
21608
21702
|
|
|
21609
21703
|
/*
|
|
@@ -21648,7 +21742,10 @@ ClrAriaCurrentLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
21648
21742
|
ClrAriaCurrentLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrAriaCurrentLink, selector: "[clrAriaCurrentLink]", host: { properties: { "attr.aria-current": "ariaCurrent" } }, ngImport: i0 });
|
|
21649
21743
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrAriaCurrentLink, decorators: [{
|
|
21650
21744
|
type: Directive,
|
|
21651
|
-
args: [{
|
|
21745
|
+
args: [{
|
|
21746
|
+
selector: '[clrAriaCurrentLink]',
|
|
21747
|
+
host: { '[attr.aria-current]': 'ariaCurrent' },
|
|
21748
|
+
}]
|
|
21652
21749
|
}], ctorParameters: function () { return [{ type: i1$1.RouterLinkActive }]; } });
|
|
21653
21750
|
|
|
21654
21751
|
/*
|
|
@@ -21662,7 +21759,9 @@ MainContainerWillyWonka.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
21662
21759
|
MainContainerWillyWonka.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: MainContainerWillyWonka, selector: "clr-main-container", usesInheritance: true, ngImport: i0 });
|
|
21663
21760
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MainContainerWillyWonka, decorators: [{
|
|
21664
21761
|
type: Directive,
|
|
21665
|
-
args: [{
|
|
21762
|
+
args: [{
|
|
21763
|
+
selector: 'clr-main-container',
|
|
21764
|
+
}]
|
|
21666
21765
|
}] });
|
|
21667
21766
|
|
|
21668
21767
|
/*
|
|
@@ -21688,7 +21787,9 @@ NavDetectionOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
21688
21787
|
NavDetectionOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: NavDetectionOompaLoompa, selector: "clr-header", usesInheritance: true, ngImport: i0 });
|
|
21689
21788
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NavDetectionOompaLoompa, decorators: [{
|
|
21690
21789
|
type: Directive,
|
|
21691
|
-
args: [{
|
|
21790
|
+
args: [{
|
|
21791
|
+
selector: 'clr-header',
|
|
21792
|
+
}]
|
|
21692
21793
|
}], ctorParameters: function () {
|
|
21693
21794
|
return [{ type: i0.ChangeDetectorRef }, { type: MainContainerWillyWonka, decorators: [{
|
|
21694
21795
|
type: Optional
|
|
@@ -22131,7 +22232,9 @@ ClrNavLevel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13
|
|
|
22131
22232
|
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 });
|
|
22132
22233
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrNavLevel, decorators: [{
|
|
22133
22234
|
type: Directive,
|
|
22134
|
-
args: [{
|
|
22235
|
+
args: [{
|
|
22236
|
+
selector: '[clr-nav-level]',
|
|
22237
|
+
}]
|
|
22135
22238
|
}], ctorParameters: function () {
|
|
22136
22239
|
return [{ type: undefined, decorators: [{
|
|
22137
22240
|
type: Inject,
|
|
@@ -22250,7 +22353,9 @@ TabsWillyWonka.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version:
|
|
|
22250
22353
|
TabsWillyWonka.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: TabsWillyWonka, selector: "clr-tabs", usesInheritance: true, ngImport: i0 });
|
|
22251
22354
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TabsWillyWonka, decorators: [{
|
|
22252
22355
|
type: Directive,
|
|
22253
|
-
args: [{
|
|
22356
|
+
args: [{
|
|
22357
|
+
selector: 'clr-tabs',
|
|
22358
|
+
}]
|
|
22254
22359
|
}] });
|
|
22255
22360
|
|
|
22256
22361
|
/*
|
|
@@ -22275,7 +22380,9 @@ ActiveOompaLoompa.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versio
|
|
|
22275
22380
|
ActiveOompaLoompa.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ActiveOompaLoompa, selector: "[clrTabLink], clr-tab-content", usesInheritance: true, ngImport: i0 });
|
|
22276
22381
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ActiveOompaLoompa, decorators: [{
|
|
22277
22382
|
type: Directive,
|
|
22278
|
-
args: [{
|
|
22383
|
+
args: [{
|
|
22384
|
+
selector: '[clrTabLink], clr-tab-content',
|
|
22385
|
+
}]
|
|
22279
22386
|
}], ctorParameters: function () {
|
|
22280
22387
|
return [{ type: i0.ChangeDetectorRef }, { type: TabsWillyWonka, decorators: [{
|
|
22281
22388
|
type: Optional
|
|
@@ -22570,12 +22677,12 @@ class ClrTab {
|
|
|
22570
22677
|
}
|
|
22571
22678
|
}
|
|
22572
22679
|
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 });
|
|
22573
|
-
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:
|
|
22680
|
+
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 });
|
|
22574
22681
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTab, decorators: [{
|
|
22575
22682
|
type: Component,
|
|
22576
22683
|
args: [{
|
|
22577
22684
|
selector: 'clr-tab',
|
|
22578
|
-
template:
|
|
22685
|
+
template: `<ng-content></ng-content>`,
|
|
22579
22686
|
providers: [IF_ACTIVE_ID_PROVIDER, AriaService],
|
|
22580
22687
|
}]
|
|
22581
22688
|
}], ctorParameters: function () {
|
|
@@ -22599,12 +22706,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
22599
22706
|
class ClrTabOverflowContent {
|
|
22600
22707
|
}
|
|
22601
22708
|
ClrTabOverflowContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTabOverflowContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22602
|
-
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:
|
|
22709
|
+
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 });
|
|
22603
22710
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTabOverflowContent, decorators: [{
|
|
22604
22711
|
type: Component,
|
|
22605
22712
|
args: [{
|
|
22606
22713
|
selector: 'clr-tab-overflow-content',
|
|
22607
|
-
template:
|
|
22714
|
+
template: `<ng-content></ng-content>`,
|
|
22608
22715
|
host: {
|
|
22609
22716
|
'[class.dropdown-menu]': 'true',
|
|
22610
22717
|
},
|
|
@@ -22805,8 +22912,7 @@ ClrTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0
|
|
|
22805
22912
|
<ng-container
|
|
22806
22913
|
*ngIf="link.tabsId === tabsId && link.inOverflow"
|
|
22807
22914
|
[ngTemplateOutlet]="link.templateRefContainer.template"
|
|
22808
|
-
>
|
|
22809
|
-
</ng-container>
|
|
22915
|
+
></ng-container>
|
|
22810
22916
|
</ng-container>
|
|
22811
22917
|
</clr-tab-overflow-content>
|
|
22812
22918
|
</div>
|
|
@@ -22870,8 +22976,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
22870
22976
|
<ng-container
|
|
22871
22977
|
*ngIf="link.tabsId === tabsId && link.inOverflow"
|
|
22872
22978
|
[ngTemplateOutlet]="link.templateRefContainer.template"
|
|
22873
|
-
>
|
|
22874
|
-
</ng-container>
|
|
22979
|
+
></ng-container>
|
|
22875
22980
|
</ng-container>
|
|
22876
22981
|
</clr-tab-overflow-content>
|
|
22877
22982
|
</div>
|
|
@@ -23262,7 +23367,7 @@ class ClrVerticalNavGroup {
|
|
|
23262
23367
|
}
|
|
23263
23368
|
}
|
|
23264
23369
|
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 });
|
|
23265
|
-
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
|
|
23370
|
+
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: [
|
|
23266
23371
|
trigger('clrExpand', [
|
|
23267
23372
|
state(EXPANDED_STATE, style({ height: '*' })),
|
|
23268
23373
|
state(COLLAPSED_STATE, style({ height: 0, 'overflow-y': 'hidden', visibility: 'hidden' })),
|
|
@@ -23277,7 +23382,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
23277
23382
|
state(COLLAPSED_STATE, style({ height: 0, 'overflow-y': 'hidden', visibility: 'hidden' })),
|
|
23278
23383
|
transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, animate('0.2s ease-in-out')),
|
|
23279
23384
|
]),
|
|
23280
|
-
], 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
|
|
23385
|
+
], 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" }]
|
|
23281
23386
|
}], ctorParameters: function () { return [{ type: IfExpandService }, { type: VerticalNavGroupRegistrationService }, { type: VerticalNavGroupService }, { type: VerticalNavService }, { type: ClrCommonStringsService }]; }, propDecorators: { expanded: [{
|
|
23282
23387
|
type: HostBinding,
|
|
23283
23388
|
args: ['class.is-expanded']
|
|
@@ -23300,12 +23405,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
23300
23405
|
class ClrVerticalNavGroupChildren {
|
|
23301
23406
|
}
|
|
23302
23407
|
ClrVerticalNavGroupChildren.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrVerticalNavGroupChildren, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23303
|
-
ClrVerticalNavGroupChildren.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ClrVerticalNavGroupChildren, selector: "clr-vertical-nav-group-children", ngImport: i0, template:
|
|
23408
|
+
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 });
|
|
23304
23409
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrVerticalNavGroupChildren, decorators: [{
|
|
23305
23410
|
type: Component,
|
|
23306
23411
|
args: [{
|
|
23307
23412
|
selector: 'clr-vertical-nav-group-children',
|
|
23308
|
-
template:
|
|
23413
|
+
template: `<ng-content></ng-content>`,
|
|
23309
23414
|
}]
|
|
23310
23415
|
}] });
|
|
23311
23416
|
|
|
@@ -23327,7 +23432,10 @@ ClrVerticalNavIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
23327
23432
|
ClrVerticalNavIcon.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrVerticalNavIcon, selector: "[clrVerticalNavIcon]", host: { classAttribute: "nav-icon" }, ngImport: i0 });
|
|
23328
23433
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrVerticalNavIcon, decorators: [{
|
|
23329
23434
|
type: Directive,
|
|
23330
|
-
args: [{
|
|
23435
|
+
args: [{
|
|
23436
|
+
selector: '[clrVerticalNavIcon]',
|
|
23437
|
+
host: { class: 'nav-icon' },
|
|
23438
|
+
}]
|
|
23331
23439
|
}], ctorParameters: function () { return [{ type: VerticalNavIconService }]; } });
|
|
23332
23440
|
|
|
23333
23441
|
/*
|
|
@@ -23657,7 +23765,9 @@ ClrModalBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "1
|
|
|
23657
23765
|
ClrModalBody.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrModalBody, selector: ".modal-body", ngImport: i0 });
|
|
23658
23766
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrModalBody, decorators: [{
|
|
23659
23767
|
type: Directive,
|
|
23660
|
-
args: [{
|
|
23768
|
+
args: [{
|
|
23769
|
+
selector: '.modal-body',
|
|
23770
|
+
}]
|
|
23661
23771
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
23662
23772
|
|
|
23663
23773
|
/*
|
|
@@ -23933,12 +24043,12 @@ ClrTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "1
|
|
|
23933
24043
|
// AriaService in layout/tabs/providers might be a good starting point.
|
|
23934
24044
|
UNIQUE_ID_PROVIDER,
|
|
23935
24045
|
TooltipIdService,
|
|
23936
|
-
], ngImport: i0, template:
|
|
24046
|
+
], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
23937
24047
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTooltip, decorators: [{
|
|
23938
24048
|
type: Component,
|
|
23939
24049
|
args: [{
|
|
23940
24050
|
selector: 'clr-tooltip',
|
|
23941
|
-
template:
|
|
24051
|
+
template: `<ng-content></ng-content>`,
|
|
23942
24052
|
host: {
|
|
23943
24053
|
'[class.tooltip]': 'true',
|
|
23944
24054
|
},
|
|
@@ -23953,6 +24063,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
23953
24063
|
}]
|
|
23954
24064
|
}] });
|
|
23955
24065
|
|
|
24066
|
+
/*
|
|
24067
|
+
* Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.
|
|
24068
|
+
* This software is released under MIT license.
|
|
24069
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
24070
|
+
*/
|
|
24071
|
+
function assertNever(value) {
|
|
24072
|
+
throw new Error(`Unhandled value: ${value}`);
|
|
24073
|
+
}
|
|
24074
|
+
|
|
23956
24075
|
/*
|
|
23957
24076
|
* Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.
|
|
23958
24077
|
* This software is released under MIT license.
|
|
@@ -23960,46 +24079,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
23960
24079
|
*/
|
|
23961
24080
|
const POSITIONS = ['bottom-left', 'bottom-right', 'top-left', 'top-right', 'right', 'left'];
|
|
23962
24081
|
const SIZES = ['xs', 'sm', 'md', 'lg'];
|
|
24082
|
+
const defaultPosition = 'right';
|
|
24083
|
+
const defaultSize = 'sm';
|
|
23963
24084
|
class ClrTooltipContent extends AbstractPopover {
|
|
23964
24085
|
constructor(injector, parentHost, uniqueId, tooltipIdService) {
|
|
23965
24086
|
super(injector, parentHost);
|
|
23966
24087
|
this.uniqueId = uniqueId;
|
|
23967
24088
|
this.tooltipIdService = tooltipIdService;
|
|
24089
|
+
this._position = defaultPosition;
|
|
24090
|
+
this._size = defaultSize;
|
|
23968
24091
|
if (!parentHost) {
|
|
23969
24092
|
throw new Error('clr-tooltip-content should only be used inside of a clr-tooltip');
|
|
23970
24093
|
}
|
|
23971
|
-
// Defaults
|
|
23972
|
-
this.position = 'right';
|
|
23973
|
-
this.size = 'sm';
|
|
23974
24094
|
// Set the default id in case consumer does not supply a custom id.
|
|
23975
|
-
this.
|
|
24095
|
+
this.id = uniqueId;
|
|
23976
24096
|
}
|
|
23977
24097
|
get id() {
|
|
23978
24098
|
return this._id;
|
|
23979
24099
|
}
|
|
23980
24100
|
set id(value) {
|
|
23981
|
-
|
|
23982
|
-
}
|
|
23983
|
-
updateId(id) {
|
|
24101
|
+
const id = value || '';
|
|
23984
24102
|
this._id = id;
|
|
23985
24103
|
this.tooltipIdService.updateId(id);
|
|
23986
24104
|
}
|
|
23987
24105
|
get position() {
|
|
23988
24106
|
return this._position;
|
|
23989
24107
|
}
|
|
23990
|
-
set position(
|
|
23991
|
-
|
|
23992
|
-
|
|
23993
|
-
|
|
23994
|
-
|
|
23995
|
-
}
|
|
23996
|
-
else {
|
|
23997
|
-
this._position = 'right';
|
|
23998
|
-
}
|
|
23999
|
-
// Ugh
|
|
24000
|
-
this.renderer.addClass(this.el.nativeElement, 'tooltip-' + this.position);
|
|
24108
|
+
set position(value) {
|
|
24109
|
+
const oldPosition = this._position;
|
|
24110
|
+
const newPosition = POSITIONS.includes(value) ? value : defaultPosition;
|
|
24111
|
+
this._position = newPosition;
|
|
24112
|
+
this.updateCssClass({ oldClass: `tooltip-${oldPosition}`, newClass: `tooltip-${newPosition}` });
|
|
24001
24113
|
// set the popover values based on direction
|
|
24002
|
-
switch (
|
|
24114
|
+
switch (newPosition) {
|
|
24003
24115
|
case 'top-right':
|
|
24004
24116
|
this.anchorPoint = Point.TOP_CENTER;
|
|
24005
24117
|
this.popoverPoint = Point.LEFT_BOTTOM;
|
|
@@ -24025,34 +24137,30 @@ class ClrTooltipContent extends AbstractPopover {
|
|
|
24025
24137
|
this.popoverPoint = Point.RIGHT_TOP;
|
|
24026
24138
|
break;
|
|
24027
24139
|
default:
|
|
24028
|
-
|
|
24029
|
-
this.popoverPoint = Point.LEFT_TOP;
|
|
24030
|
-
break;
|
|
24140
|
+
assertNever(newPosition);
|
|
24031
24141
|
}
|
|
24032
24142
|
}
|
|
24033
24143
|
get size() {
|
|
24034
24144
|
return this._size;
|
|
24035
24145
|
}
|
|
24036
|
-
set size(
|
|
24037
|
-
|
|
24038
|
-
|
|
24039
|
-
|
|
24040
|
-
|
|
24041
|
-
|
|
24042
|
-
|
|
24043
|
-
|
|
24044
|
-
|
|
24045
|
-
// Ugh
|
|
24046
|
-
this.renderer.addClass(this.el.nativeElement, 'tooltip-' + this.size);
|
|
24146
|
+
set size(value) {
|
|
24147
|
+
const oldSize = this._size;
|
|
24148
|
+
const newSize = SIZES.includes(value) ? value : defaultSize;
|
|
24149
|
+
this._size = newSize;
|
|
24150
|
+
this.updateCssClass({ oldClass: `tooltip-${oldSize}`, newClass: `tooltip-${newSize}` });
|
|
24151
|
+
}
|
|
24152
|
+
updateCssClass({ oldClass, newClass }) {
|
|
24153
|
+
this.renderer.removeClass(this.el.nativeElement, oldClass);
|
|
24154
|
+
this.renderer.addClass(this.el.nativeElement, newClass);
|
|
24047
24155
|
}
|
|
24048
24156
|
}
|
|
24049
24157
|
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 });
|
|
24050
|
-
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:
|
|
24158
|
+
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 });
|
|
24051
24159
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTooltipContent, decorators: [{
|
|
24052
24160
|
type: Component,
|
|
24053
24161
|
args: [{
|
|
24054
24162
|
selector: 'clr-tooltip-content',
|
|
24055
|
-
template:
|
|
24163
|
+
template: `<ng-content></ng-content>`,
|
|
24056
24164
|
host: {
|
|
24057
24165
|
'[class.tooltip-content]': 'true',
|
|
24058
24166
|
'[style.opacity]': '1',
|
|
@@ -24447,12 +24555,12 @@ class ClrTimeline {
|
|
|
24447
24555
|
}
|
|
24448
24556
|
}
|
|
24449
24557
|
ClrTimeline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimeline, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24450
|
-
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:
|
|
24558
|
+
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 });
|
|
24451
24559
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimeline, decorators: [{
|
|
24452
24560
|
type: Component,
|
|
24453
24561
|
args: [{
|
|
24454
24562
|
selector: 'clr-timeline',
|
|
24455
|
-
template:
|
|
24563
|
+
template: `<ng-content></ng-content>`,
|
|
24456
24564
|
host: { '[class.clr-timeline]': 'true' },
|
|
24457
24565
|
providers: [TimelineIconAttributeService],
|
|
24458
24566
|
}]
|
|
@@ -24482,12 +24590,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
24482
24590
|
class ClrTimelineStepTitle {
|
|
24483
24591
|
}
|
|
24484
24592
|
ClrTimelineStepTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepTitle, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24485
|
-
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:
|
|
24593
|
+
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 });
|
|
24486
24594
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepTitle, decorators: [{
|
|
24487
24595
|
type: Component,
|
|
24488
24596
|
args: [{
|
|
24489
24597
|
selector: 'clr-timeline-step-title',
|
|
24490
|
-
template:
|
|
24598
|
+
template: `<ng-content></ng-content>`,
|
|
24491
24599
|
host: { '[class.clr-timeline-step-title]': 'true', '[attr.aria-hidden]': 'true' },
|
|
24492
24600
|
}]
|
|
24493
24601
|
}] });
|
|
@@ -24529,7 +24637,7 @@ ClrTimelineStep.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
24529
24637
|
<ng-content select="clr-timeline-step-header"></ng-content>
|
|
24530
24638
|
<span class="clr-sr-only">{{ stepTitleText }}</span>
|
|
24531
24639
|
<ng-container *ngIf="!isProcessing; else processing">
|
|
24532
|
-
<cds-icon [attr.status]="iconStatus" [attr.shape]="iconShape" [attr.aria-label]="iconAriaLabel"
|
|
24640
|
+
<cds-icon [attr.status]="iconStatus" [attr.shape]="iconShape" [attr.aria-label]="iconAriaLabel"></cds-icon>
|
|
24533
24641
|
</ng-container>
|
|
24534
24642
|
<div class="clr-timeline-step-body">
|
|
24535
24643
|
<ng-content select="clr-timeline-step-title"></ng-content>
|
|
@@ -24548,7 +24656,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
24548
24656
|
<ng-content select="clr-timeline-step-header"></ng-content>
|
|
24549
24657
|
<span class="clr-sr-only">{{ stepTitleText }}</span>
|
|
24550
24658
|
<ng-container *ngIf="!isProcessing; else processing">
|
|
24551
|
-
<cds-icon [attr.status]="iconStatus" [attr.shape]="iconShape" [attr.aria-label]="iconAriaLabel"
|
|
24659
|
+
<cds-icon [attr.status]="iconStatus" [attr.shape]="iconShape" [attr.aria-label]="iconAriaLabel"></cds-icon>
|
|
24552
24660
|
</ng-container>
|
|
24553
24661
|
<div class="clr-timeline-step-body">
|
|
24554
24662
|
<ng-content select="clr-timeline-step-title"></ng-content>
|
|
@@ -24582,12 +24690,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
24582
24690
|
class ClrTimelineStepDescription {
|
|
24583
24691
|
}
|
|
24584
24692
|
ClrTimelineStepDescription.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepDescription, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24585
|
-
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:
|
|
24693
|
+
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 });
|
|
24586
24694
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepDescription, decorators: [{
|
|
24587
24695
|
type: Component,
|
|
24588
24696
|
args: [{
|
|
24589
24697
|
selector: 'clr-timeline-step-description',
|
|
24590
|
-
template:
|
|
24698
|
+
template: `<ng-content></ng-content>`,
|
|
24591
24699
|
host: { '[class.clr-timeline-step-description]': 'true' },
|
|
24592
24700
|
}]
|
|
24593
24701
|
}] });
|
|
@@ -24600,12 +24708,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
24600
24708
|
class ClrTimelineStepHeader {
|
|
24601
24709
|
}
|
|
24602
24710
|
ClrTimelineStepHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepHeader, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24603
|
-
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:
|
|
24711
|
+
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 });
|
|
24604
24712
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrTimelineStepHeader, decorators: [{
|
|
24605
24713
|
type: Component,
|
|
24606
24714
|
args: [{
|
|
24607
24715
|
selector: 'clr-timeline-step-header',
|
|
24608
|
-
template:
|
|
24716
|
+
template: `<ng-content></ng-content>`,
|
|
24609
24717
|
host: { '[class.clr-timeline-step-header]': 'true' },
|
|
24610
24718
|
}]
|
|
24611
24719
|
}] });
|
|
@@ -25756,7 +25864,9 @@ ClrWizardPageButtons.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ver
|
|
|
25756
25864
|
ClrWizardPageButtons.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrWizardPageButtons, selector: "[clrPageButtons]", ngImport: i0 });
|
|
25757
25865
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrWizardPageButtons, decorators: [{
|
|
25758
25866
|
type: Directive,
|
|
25759
|
-
args: [{
|
|
25867
|
+
args: [{
|
|
25868
|
+
selector: '[clrPageButtons]',
|
|
25869
|
+
}]
|
|
25760
25870
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
25761
25871
|
|
|
25762
25872
|
/*
|
|
@@ -25773,7 +25883,9 @@ ClrWizardPageHeaderActions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0
|
|
|
25773
25883
|
ClrWizardPageHeaderActions.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrWizardPageHeaderActions, selector: "[clrPageHeaderActions]", ngImport: i0 });
|
|
25774
25884
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrWizardPageHeaderActions, decorators: [{
|
|
25775
25885
|
type: Directive,
|
|
25776
|
-
args: [{
|
|
25886
|
+
args: [{
|
|
25887
|
+
selector: '[clrPageHeaderActions]',
|
|
25888
|
+
}]
|
|
25777
25889
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
25778
25890
|
|
|
25779
25891
|
/*
|
|
@@ -25790,7 +25902,9 @@ ClrWizardPageNavTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ve
|
|
|
25790
25902
|
ClrWizardPageNavTitle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrWizardPageNavTitle, selector: "[clrPageNavTitle]", ngImport: i0 });
|
|
25791
25903
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrWizardPageNavTitle, decorators: [{
|
|
25792
25904
|
type: Directive,
|
|
25793
|
-
args: [{
|
|
25905
|
+
args: [{
|
|
25906
|
+
selector: '[clrPageNavTitle]',
|
|
25907
|
+
}]
|
|
25794
25908
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
25795
25909
|
|
|
25796
25910
|
/*
|
|
@@ -25807,7 +25921,9 @@ ClrWizardPageTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", versi
|
|
|
25807
25921
|
ClrWizardPageTitle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrWizardPageTitle, selector: "[clrPageTitle]", ngImport: i0 });
|
|
25808
25922
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrWizardPageTitle, decorators: [{
|
|
25809
25923
|
type: Directive,
|
|
25810
|
-
args: [{
|
|
25924
|
+
args: [{
|
|
25925
|
+
selector: '[clrPageTitle]',
|
|
25926
|
+
}]
|
|
25811
25927
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
25812
25928
|
|
|
25813
25929
|
/*
|
|
@@ -27324,7 +27440,9 @@ ClrWizardCustomTags.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", vers
|
|
|
27324
27440
|
ClrWizardCustomTags.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ClrWizardCustomTags, selector: "clr-wizard-title, clr-wizard-pagetitle", ngImport: i0 });
|
|
27325
27441
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClrWizardCustomTags, decorators: [{
|
|
27326
27442
|
type: Directive,
|
|
27327
|
-
args: [{
|
|
27443
|
+
args: [{
|
|
27444
|
+
selector: 'clr-wizard-title, clr-wizard-pagetitle',
|
|
27445
|
+
}]
|
|
27328
27446
|
}] });
|
|
27329
27447
|
|
|
27330
27448
|
/*
|