@clr/angular 18.3.0 → 18.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/clr-angular-accordion.mjs +28 -28
- package/fesm2022/clr-angular-accordion.mjs.map +1 -1
- package/fesm2022/clr-angular-button.mjs +27 -27
- package/fesm2022/clr-angular-button.mjs.map +1 -1
- package/fesm2022/clr-angular-card.mjs +417 -0
- package/fesm2022/clr-angular-card.mjs.map +1 -0
- package/fesm2022/clr-angular-collapsible-panel.mjs +6 -6
- package/fesm2022/clr-angular-collapsible-panel.mjs.map +1 -1
- package/fesm2022/clr-angular-data-datagrid.mjs +1105 -352
- package/fesm2022/clr-angular-data-datagrid.mjs.map +1 -1
- package/fesm2022/clr-angular-data-stack-view.mjs +23 -23
- package/fesm2022/clr-angular-data-stack-view.mjs.map +1 -1
- package/fesm2022/clr-angular-data-tree-view.mjs +283 -48
- package/fesm2022/clr-angular-data-tree-view.mjs.map +1 -1
- package/fesm2022/clr-angular-data.mjs +4 -4
- package/fesm2022/clr-angular-data.mjs.map +1 -1
- package/fesm2022/clr-angular-emphasis-alert.mjs +26 -26
- package/fesm2022/clr-angular-emphasis-alert.mjs.map +1 -1
- package/fesm2022/clr-angular-emphasis-badge.mjs +3 -3
- package/fesm2022/clr-angular-emphasis-badge.mjs.map +1 -1
- package/fesm2022/clr-angular-emphasis-label.mjs +3 -3
- package/fesm2022/clr-angular-emphasis-label.mjs.map +1 -1
- package/fesm2022/clr-angular-emphasis.mjs +4 -4
- package/fesm2022/clr-angular-emphasis.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-checkbox.mjs +13 -13
- package/fesm2022/clr-angular-forms-checkbox.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-combobox.mjs +35 -35
- package/fesm2022/clr-angular-forms-combobox.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-common.mjs +69 -69
- package/fesm2022/clr-angular-forms-common.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-datalist.mjs +17 -17
- package/fesm2022/clr-angular-forms-datalist.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-datepicker.mjs +73 -73
- package/fesm2022/clr-angular-forms-datepicker.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-file-input.mjs +36 -36
- package/fesm2022/clr-angular-forms-file-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-input.mjs +10 -10
- package/fesm2022/clr-angular-forms-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-number-input.mjs +11 -11
- package/fesm2022/clr-angular-forms-number-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-password.mjs +11 -11
- package/fesm2022/clr-angular-forms-password.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-radio.mjs +13 -13
- package/fesm2022/clr-angular-forms-radio.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-range.mjs +10 -10
- package/fesm2022/clr-angular-forms-range.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-select.mjs +10 -10
- package/fesm2022/clr-angular-forms-select.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-textarea.mjs +10 -10
- package/fesm2022/clr-angular-forms-textarea.mjs.map +1 -1
- package/fesm2022/clr-angular-forms.mjs +4 -4
- package/fesm2022/clr-angular-forms.mjs.map +1 -1
- package/fesm2022/clr-angular-icon.mjs +81 -41
- package/fesm2022/clr-angular-icon.mjs.map +1 -1
- package/fesm2022/clr-angular-layout-breadcrumbs.mjs +10 -10
- package/fesm2022/clr-angular-layout-breadcrumbs.mjs.map +1 -1
- package/fesm2022/clr-angular-layout-main-container.mjs +7 -7
- package/fesm2022/clr-angular-layout-main-container.mjs.map +1 -1
- package/fesm2022/clr-angular-layout-nav.mjs +22 -22
- package/fesm2022/clr-angular-layout-nav.mjs.map +1 -1
- package/fesm2022/clr-angular-layout-tabs.mjs +35 -35
- package/fesm2022/clr-angular-layout-tabs.mjs.map +1 -1
- package/fesm2022/clr-angular-layout-vertical-nav.mjs +31 -31
- package/fesm2022/clr-angular-layout-vertical-nav.mjs.map +1 -1
- package/fesm2022/clr-angular-layout.mjs +4 -4
- package/fesm2022/clr-angular-layout.mjs.map +1 -1
- package/fesm2022/clr-angular-modal.mjs +26 -26
- package/fesm2022/clr-angular-modal.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-common.mjs +69 -34
- package/fesm2022/clr-angular-popover-common.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-dropdown.mjs +63 -26
- package/fesm2022/clr-angular-popover-dropdown.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-signpost.mjs +27 -25
- package/fesm2022/clr-angular-popover-signpost.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-tooltip.mjs +19 -19
- package/fesm2022/clr-angular-popover-tooltip.mjs.map +1 -1
- package/fesm2022/clr-angular-popover.mjs +4 -4
- package/fesm2022/clr-angular-popover.mjs.map +1 -1
- package/fesm2022/clr-angular-progress-progress-bars.mjs +7 -7
- package/fesm2022/clr-angular-progress-progress-bars.mjs.map +1 -1
- package/fesm2022/clr-angular-progress-spinner.mjs +7 -7
- package/fesm2022/clr-angular-progress-spinner.mjs.map +1 -1
- package/fesm2022/clr-angular-stepper.mjs +31 -31
- package/fesm2022/clr-angular-stepper.mjs.map +1 -1
- package/fesm2022/clr-angular-timeline.mjs +23 -23
- package/fesm2022/clr-angular-timeline.mjs.map +1 -1
- package/fesm2022/clr-angular-utils-conditional.mjs +16 -16
- package/fesm2022/clr-angular-utils-conditional.mjs.map +1 -1
- package/fesm2022/clr-angular-utils-loading.mjs +7 -7
- package/fesm2022/clr-angular-utils-loading.mjs.map +1 -1
- package/fesm2022/clr-angular-utils.mjs +144 -152
- package/fesm2022/clr-angular-utils.mjs.map +1 -1
- package/fesm2022/clr-angular-wizard.mjs +51 -51
- package/fesm2022/clr-angular-wizard.mjs.map +1 -1
- package/fesm2022/clr-angular.mjs +9 -4
- package/fesm2022/clr-angular.mjs.map +1 -1
- package/package.json +9 -5
- package/types/clr-angular-card.d.ts +110 -0
- package/types/clr-angular-data-datagrid.d.ts +293 -17
- package/types/clr-angular-data-tree-view.d.ts +126 -88
- package/types/clr-angular-forms-datepicker.d.ts +1 -1
- package/types/clr-angular-forms-file-input.d.ts +1 -1
- package/types/clr-angular-icon.d.ts +14 -2
- package/types/clr-angular-popover-common.d.ts +6 -0
- package/types/clr-angular-popover-dropdown.d.ts +33 -4
- package/types/clr-angular-utils.d.ts +61 -20
- package/types/clr-angular.d.ts +8 -6
- package/schematics/vitest.config.d.ts +0 -2
- package/schematics/vitest.config.js +0 -17
- package/schematics/vitest.config.js.map +0 -1
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injectable, EventEmitter, Output, Input, Directive, NgModule, TemplateRef, ViewChild, Component, ElementRef, HostListener, HostBinding, InjectionToken, PLATFORM_ID, DOCUMENT, Inject,
|
|
3
|
+
import { Injectable, EventEmitter, Output, Input, Directive, NgModule, TemplateRef, ViewChild, Component, ElementRef, HostListener, HostBinding, InjectionToken, PLATFORM_ID, DOCUMENT, Inject, ContentChildren, Optional, SkipSelf, Renderer2 } from '@angular/core';
|
|
4
4
|
import { CommonModule, isPlatformBrowser } from '@angular/common';
|
|
5
5
|
import * as i2 from '@angular/animations';
|
|
6
6
|
import { animation, style, animate, state, transition, trigger, useAnimation } from '@angular/animations';
|
|
7
7
|
export * from '@clr/angular/utils/loading';
|
|
8
8
|
export * from '@clr/angular/utils/conditional';
|
|
9
9
|
import { Subject, fromEvent, Observable, isObservable, of } from 'rxjs';
|
|
10
|
-
import { takeUntil } from 'rxjs/operators';
|
|
11
|
-
import * as i1 from '@angular/cdk/a11y';
|
|
10
|
+
import { takeUntil, take } from 'rxjs/operators';
|
|
12
11
|
import { CdkTrapFocus } from '@angular/cdk/a11y';
|
|
13
|
-
import
|
|
14
|
-
import { CdkDrag, CDK_DROP_LIST, CDK_DRAG_CONFIG } from '@angular/cdk/drag-drop';
|
|
15
|
-
import * as i1$1 from '@angular/cdk/bidi';
|
|
12
|
+
import { CdkDrag } from '@angular/cdk/drag-drop';
|
|
16
13
|
|
|
17
14
|
/*
|
|
18
15
|
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
@@ -87,10 +84,10 @@ class DomAdapter {
|
|
|
87
84
|
focus(element) {
|
|
88
85
|
element.focus();
|
|
89
86
|
}
|
|
90
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
91
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DomAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
88
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DomAdapter }); }
|
|
92
89
|
}
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DomAdapter, decorators: [{
|
|
94
91
|
type: Injectable
|
|
95
92
|
}] });
|
|
96
93
|
|
|
@@ -120,10 +117,10 @@ class MockDomAdapter extends DomAdapter {
|
|
|
120
117
|
computedHeight(_element) {
|
|
121
118
|
return this._computedHeight;
|
|
122
119
|
}
|
|
123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
124
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
120
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MockDomAdapter, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
121
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MockDomAdapter }); }
|
|
125
122
|
}
|
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MockDomAdapter, decorators: [{
|
|
127
124
|
type: Injectable
|
|
128
125
|
}] });
|
|
129
126
|
const MOCK_DOM_ADAPTER_PROVIDER = {
|
|
@@ -162,10 +159,10 @@ class OutsideClick {
|
|
|
162
159
|
ngOnDestroy() {
|
|
163
160
|
this.documentClickListener();
|
|
164
161
|
}
|
|
165
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
166
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
162
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OutsideClick, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
163
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: OutsideClick, isStandalone: false, selector: "[clrOutsideClick]", inputs: { strict: ["clrStrict", "strict"] }, outputs: { outsideClick: "clrOutsideClick" }, ngImport: i0 }); }
|
|
167
164
|
}
|
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OutsideClick, decorators: [{
|
|
169
166
|
type: Directive,
|
|
170
167
|
args: [{
|
|
171
168
|
selector: '[clrOutsideClick]',
|
|
@@ -187,11 +184,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
187
184
|
*/
|
|
188
185
|
const OUSTIDE_CLICK_DIRECTIVES = [OutsideClick];
|
|
189
186
|
class ClrOutsideClickModule {
|
|
190
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
191
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
192
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
187
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrOutsideClickModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
188
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: ClrOutsideClickModule, declarations: [OutsideClick], imports: [CommonModule], exports: [OutsideClick] }); }
|
|
189
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrOutsideClickModule, imports: [CommonModule] }); }
|
|
193
190
|
}
|
|
194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrOutsideClickModule, decorators: [{
|
|
195
192
|
type: NgModule,
|
|
196
193
|
args: [{
|
|
197
194
|
imports: [CommonModule],
|
|
@@ -214,14 +211,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
214
211
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
215
212
|
*/
|
|
216
213
|
class TemplateRefContainer {
|
|
217
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
218
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
214
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TemplateRefContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
215
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: TemplateRefContainer, isStandalone: false, selector: "ng-component", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
|
|
219
216
|
<ng-template>
|
|
220
217
|
<ng-content></ng-content>
|
|
221
218
|
</ng-template>
|
|
222
219
|
`, isInline: true }); }
|
|
223
220
|
}
|
|
224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TemplateRefContainer, decorators: [{
|
|
225
222
|
type: Component,
|
|
226
223
|
args: [{
|
|
227
224
|
template: `
|
|
@@ -243,11 +240,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
243
240
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
244
241
|
*/
|
|
245
242
|
class ClrTemplateRefModule {
|
|
246
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
247
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
248
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
243
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrTemplateRefModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
244
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: ClrTemplateRefModule, declarations: [TemplateRefContainer], imports: [CommonModule], exports: [TemplateRefContainer] }); }
|
|
245
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrTemplateRefModule, imports: [CommonModule] }); }
|
|
249
246
|
}
|
|
250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrTemplateRefModule, decorators: [{
|
|
251
248
|
type: NgModule,
|
|
252
249
|
args: [{
|
|
253
250
|
imports: [CommonModule],
|
|
@@ -294,10 +291,10 @@ const EXTRA_LARGE_BREAKPOINT = 1200;
|
|
|
294
291
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
295
292
|
*/
|
|
296
293
|
class EmptyAnchor {
|
|
297
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
298
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: EmptyAnchor, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
295
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: EmptyAnchor, isStandalone: false, selector: "ng-component", ngImport: i0, template: '', isInline: true }); }
|
|
299
296
|
}
|
|
300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: EmptyAnchor, decorators: [{
|
|
301
298
|
type: Component,
|
|
302
299
|
args: [{
|
|
303
300
|
template: '',
|
|
@@ -354,11 +351,11 @@ class HostWrapper {
|
|
|
354
351
|
* Internal module, please do not export!
|
|
355
352
|
*/
|
|
356
353
|
class ClrHostWrappingModule {
|
|
357
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
358
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
359
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrHostWrappingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
355
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: ClrHostWrappingModule, declarations: [EmptyAnchor], exports: [EmptyAnchor] }); }
|
|
356
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrHostWrappingModule }); }
|
|
360
357
|
}
|
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrHostWrappingModule, decorators: [{
|
|
362
359
|
type: NgModule,
|
|
363
360
|
args: [{
|
|
364
361
|
declarations: [EmptyAnchor],
|
|
@@ -477,10 +474,10 @@ class BaseExpandableAnimation {
|
|
|
477
474
|
}
|
|
478
475
|
});
|
|
479
476
|
}
|
|
480
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
481
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
477
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: BaseExpandableAnimation, deps: [{ token: i0.ElementRef }, { token: DomAdapter }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
478
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: BaseExpandableAnimation, isStandalone: true, ngImport: i0 }); }
|
|
482
479
|
}
|
|
483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: BaseExpandableAnimation, decorators: [{
|
|
484
481
|
type: Directive
|
|
485
482
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DomAdapter }, { type: i0.Renderer2 }] });
|
|
486
483
|
|
|
@@ -508,10 +505,10 @@ class ClrExpandableAnimation extends BaseExpandableAnimation {
|
|
|
508
505
|
this.cleanupAnimationEffects();
|
|
509
506
|
}
|
|
510
507
|
}
|
|
511
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
512
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
508
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrExpandableAnimation, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
509
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: ClrExpandableAnimation, isStandalone: false, selector: "clr-expandable-animation", inputs: { clrExpandTrigger: "clrExpandTrigger" }, host: { listeners: { "@expandAnimation.start": "animationStart($event)", "@expandAnimation.done": "animationDone($event)" }, properties: { "@expandAnimation": "this.expandAnimation" } }, providers: [DomAdapter], usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{display:block}\n"], animations: [trigger('expandAnimation', [transition('true <=> false', [useAnimation(defaultExpandAnimation)])])] }); }
|
|
513
510
|
}
|
|
514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrExpandableAnimation, decorators: [{
|
|
515
512
|
type: Component,
|
|
516
513
|
args: [{ selector: 'clr-expandable-animation', template: `<ng-content></ng-content>`, animations: [trigger('expandAnimation', [transition('true <=> false', [useAnimation(defaultExpandAnimation)])])], providers: [DomAdapter], standalone: false, styles: [":host{display:block}\n"] }]
|
|
517
514
|
}], propDecorators: { clrExpandTrigger: [{
|
|
@@ -558,10 +555,10 @@ class ClrExpandableAnimationDirective extends BaseExpandableAnimation {
|
|
|
558
555
|
this.player.onDone(() => this.cleanupAnimationEffects(true));
|
|
559
556
|
this.player.play();
|
|
560
557
|
}
|
|
561
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
562
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
558
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrExpandableAnimationDirective, deps: [{ token: i0.ElementRef }, { token: DomAdapter }, { token: i0.Renderer2 }, { token: i2.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
559
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: ClrExpandableAnimationDirective, isStandalone: false, selector: "[clrExpandableAnimation]", inputs: { expanded: ["clrExpandableAnimation", "expanded"] }, host: { properties: { "class.clr-expandable-animation": "true" } }, providers: [DomAdapter], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
563
560
|
}
|
|
564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrExpandableAnimationDirective, decorators: [{
|
|
565
562
|
type: Directive,
|
|
566
563
|
args: [{
|
|
567
564
|
selector: '[clrExpandableAnimation]',
|
|
@@ -584,11 +581,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
584
581
|
*/
|
|
585
582
|
const EXPANDABLE_ANIMATION_DIRECTIVES = [ClrExpandableAnimation, ClrExpandableAnimationDirective];
|
|
586
583
|
class ClrExpandableAnimationModule {
|
|
587
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
588
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
589
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
584
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrExpandableAnimationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
585
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: ClrExpandableAnimationModule, declarations: [ClrExpandableAnimation, ClrExpandableAnimationDirective], imports: [CommonModule], exports: [ClrExpandableAnimation, ClrExpandableAnimationDirective] }); }
|
|
586
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrExpandableAnimationModule, imports: [CommonModule] }); }
|
|
590
587
|
}
|
|
591
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrExpandableAnimationModule, decorators: [{
|
|
592
589
|
type: NgModule,
|
|
593
590
|
args: [{
|
|
594
591
|
imports: [CommonModule],
|
|
@@ -734,9 +731,14 @@ const commonStringsDefault = {
|
|
|
734
731
|
pickColumns: 'Manage Columns',
|
|
735
732
|
showColumns: 'Show Columns',
|
|
736
733
|
sortColumn: 'Sort Column',
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
734
|
+
sortColumnAscending: 'Sort Ascending',
|
|
735
|
+
sortColumnDescending: 'Sort Descending',
|
|
736
|
+
clearColumnSort: 'Clear Sort',
|
|
737
|
+
filterColumn: 'Filter Column',
|
|
738
|
+
columnActions: 'Column actions',
|
|
739
|
+
datagridColumnActionsAriaLabel: '{COLUMN} column actions',
|
|
740
|
+
pinColumn: 'Pin Column',
|
|
741
|
+
unpinColumn: 'Unpin Column',
|
|
740
742
|
firstPage: 'First Page',
|
|
741
743
|
lastPage: 'Last Page',
|
|
742
744
|
nextPage: 'Next Page',
|
|
@@ -762,7 +764,7 @@ const commonStringsDefault = {
|
|
|
762
764
|
detailExpandableAriaLabel: 'Toggle more row content',
|
|
763
765
|
datagridFilterAriaLabel: '{COLUMN} filter',
|
|
764
766
|
datagridFilterLabel: '{COLUMN} filter',
|
|
765
|
-
datagridFilterDialogAriaLabel: 'Filter
|
|
767
|
+
datagridFilterDialogAriaLabel: 'Filter',
|
|
766
768
|
columnSeparatorAriaLabel: 'Column resize handle',
|
|
767
769
|
columnSeparatorDescription: 'Use left or right key to resize the column',
|
|
768
770
|
fromLabel: 'From',
|
|
@@ -846,6 +848,9 @@ const commonStringsDefault = {
|
|
|
846
848
|
// Breadcrumbs
|
|
847
849
|
breadcrumbsLabel: 'breadcrumbs',
|
|
848
850
|
expandBreadcrumbsLabel: 'Expand breadcrumbs',
|
|
851
|
+
// Card
|
|
852
|
+
expandCardAriaLabel: 'Expand card',
|
|
853
|
+
collapseCardAriaLabel: 'Collapse card',
|
|
849
854
|
};
|
|
850
855
|
|
|
851
856
|
/*
|
|
@@ -883,10 +888,10 @@ class ClrCommonStringsService {
|
|
|
883
888
|
}
|
|
884
889
|
return output;
|
|
885
890
|
}
|
|
886
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
887
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
891
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrCommonStringsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
892
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrCommonStringsService, providedIn: 'root' }); }
|
|
888
893
|
}
|
|
889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrCommonStringsService, decorators: [{
|
|
890
895
|
type: Injectable,
|
|
891
896
|
args: [{
|
|
892
897
|
providedIn: 'root',
|
|
@@ -983,10 +988,10 @@ class ClrFocusOnViewInit {
|
|
|
983
988
|
}
|
|
984
989
|
}
|
|
985
990
|
}
|
|
986
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
987
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
991
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrFocusOnViewInit, deps: [{ token: i0.ElementRef }, { token: PLATFORM_ID }, { token: FOCUS_ON_VIEW_INIT }, { token: DOCUMENT }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
992
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: ClrFocusOnViewInit, isStandalone: false, selector: "[clrFocusOnViewInit]", inputs: { isEnabled: ["clrFocusOnViewInit", "isEnabled"] }, ngImport: i0 }); }
|
|
988
993
|
}
|
|
989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrFocusOnViewInit, decorators: [{
|
|
990
995
|
type: Directive,
|
|
991
996
|
args: [{
|
|
992
997
|
selector: '[clrFocusOnViewInit]',
|
|
@@ -1014,11 +1019,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
1014
1019
|
*/
|
|
1015
1020
|
const FOCUS_ON_VIEW_INIT_DIRECTIVES = [ClrFocusOnViewInit];
|
|
1016
1021
|
class ClrFocusOnViewInitModule {
|
|
1017
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1018
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
1019
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
1022
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrFocusOnViewInitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1023
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: ClrFocusOnViewInitModule, declarations: [ClrFocusOnViewInit], imports: [CommonModule], exports: [ClrFocusOnViewInit] }); }
|
|
1024
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrFocusOnViewInitModule, providers: [FOCUS_ON_VIEW_INIT_PROVIDER], imports: [CommonModule] }); }
|
|
1020
1025
|
}
|
|
1021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrFocusOnViewInitModule, decorators: [{
|
|
1022
1027
|
type: NgModule,
|
|
1023
1028
|
args: [{
|
|
1024
1029
|
imports: [CommonModule],
|
|
@@ -1043,27 +1048,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
1043
1048
|
*/
|
|
1044
1049
|
class ClrStandaloneCdkTrapFocus extends CdkTrapFocus {
|
|
1045
1050
|
/**
|
|
1046
|
-
*
|
|
1047
|
-
*
|
|
1048
|
-
* https://github.com/storybookjs/storybook/issues/23534
|
|
1051
|
+
* The base class resolves its dependencies with `inject()`, so it takes no constructor arguments
|
|
1052
|
+
* (`@angular/cdk` 22 declares it that way). The explicit constructor stays as a workaround for the
|
|
1053
|
+
* Angular "ɵɵinvalidFactoryDep" error in storybook: https://github.com/storybookjs/storybook/issues/23534
|
|
1049
1054
|
*/
|
|
1050
|
-
|
|
1051
|
-
|
|
1055
|
+
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
1056
|
+
constructor() {
|
|
1057
|
+
super();
|
|
1052
1058
|
}
|
|
1053
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1054
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
1059
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrStandaloneCdkTrapFocus, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1060
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: ClrStandaloneCdkTrapFocus, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
1055
1061
|
}
|
|
1056
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrStandaloneCdkTrapFocus, decorators: [{
|
|
1057
1063
|
type: Directive,
|
|
1058
1064
|
args: [{
|
|
1059
1065
|
standalone: true,
|
|
1060
1066
|
}]
|
|
1061
|
-
}], ctorParameters: () => [
|
|
1062
|
-
type: Optional
|
|
1063
|
-
}, {
|
|
1064
|
-
type: Inject,
|
|
1065
|
-
args: [DOCUMENT]
|
|
1066
|
-
}] }] });
|
|
1067
|
+
}], ctorParameters: () => [] });
|
|
1067
1068
|
|
|
1068
1069
|
/*
|
|
1069
1070
|
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
@@ -1104,10 +1105,10 @@ class ClrKeyFocusItem {
|
|
|
1104
1105
|
this.elementRef.nativeElement.focus();
|
|
1105
1106
|
}
|
|
1106
1107
|
}
|
|
1107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1108
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
1108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrKeyFocusItem, deps: [{ token: i0.ElementRef }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1109
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: ClrKeyFocusItem, isStandalone: false, selector: "[clrKeyFocusItem]", ngImport: i0 }); }
|
|
1109
1110
|
}
|
|
1110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrKeyFocusItem, decorators: [{
|
|
1111
1112
|
type: Directive,
|
|
1112
1113
|
args: [{
|
|
1113
1114
|
selector: '[clrKeyFocusItem]',
|
|
@@ -1322,10 +1323,10 @@ class ClrKeyFocus {
|
|
|
1322
1323
|
this.initializeFocus();
|
|
1323
1324
|
});
|
|
1324
1325
|
}
|
|
1325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1326
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
1326
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrKeyFocus, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1327
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: ClrKeyFocus, isStandalone: false, selector: "[clrKeyFocus]", inputs: { direction: ["clrDirection", "direction"], focusOnLoad: ["clrFocusOnLoad", "focusOnLoad"], focusableItems: ["clrKeyFocus", "focusableItems"] }, outputs: { focusChange: "clrFocusChange" }, host: { listeners: { "keydown": "handleKeyboardEvent($event)", "click": "setClickedItemCurrent($event)" } }, queries: [{ propertyName: "clrKeyFocusItems", predicate: ClrKeyFocusItem, descendants: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
|
|
1327
1328
|
}
|
|
1328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrKeyFocus, decorators: [{
|
|
1329
1330
|
type: Component,
|
|
1330
1331
|
args: [{
|
|
1331
1332
|
selector: '[clrKeyFocus]',
|
|
@@ -1437,10 +1438,10 @@ class ClrRovingTabindex extends ClrKeyFocus {
|
|
|
1437
1438
|
this.renderer.setAttribute(item.nativeElement, 'tabindex', value.toString());
|
|
1438
1439
|
}
|
|
1439
1440
|
}
|
|
1440
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1441
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
1441
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrRovingTabindex, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1442
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: ClrRovingTabindex, isStandalone: false, selector: "[clrRovingTabindex]", inputs: { rovingIndexItems: ["clrRovingTabindex", "rovingIndexItems"], rovingTabindexDisabled: ["clrRovingTabindexDisabled", "rovingTabindexDisabled"] }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
|
|
1442
1443
|
}
|
|
1443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrRovingTabindex, decorators: [{
|
|
1444
1445
|
type: Component,
|
|
1445
1446
|
args: [{
|
|
1446
1447
|
selector: '[clrRovingTabindex]',
|
|
@@ -1463,11 +1464,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
1463
1464
|
*/
|
|
1464
1465
|
const KEY_FOCUS_DIRECTIVES = [ClrKeyFocus, ClrRovingTabindex, ClrKeyFocusItem];
|
|
1465
1466
|
class ClrKeyFocusModule {
|
|
1466
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1467
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
1468
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
1467
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrKeyFocusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1468
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: ClrKeyFocusModule, declarations: [ClrKeyFocus, ClrRovingTabindex, ClrKeyFocusItem], imports: [CommonModule], exports: [ClrKeyFocus, ClrRovingTabindex, ClrKeyFocusItem] }); }
|
|
1469
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrKeyFocusModule, imports: [CommonModule] }); }
|
|
1469
1470
|
}
|
|
1470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrKeyFocusModule, decorators: [{
|
|
1471
1472
|
type: NgModule,
|
|
1472
1473
|
args: [{
|
|
1473
1474
|
imports: [CommonModule],
|
|
@@ -1559,10 +1560,10 @@ class BasicFocusableItem {
|
|
|
1559
1560
|
this.el.nativeElement.click();
|
|
1560
1561
|
}
|
|
1561
1562
|
}
|
|
1562
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1563
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
1563
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: BasicFocusableItem, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1564
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: BasicFocusableItem }); }
|
|
1564
1565
|
}
|
|
1565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: BasicFocusableItem, decorators: [{
|
|
1566
1567
|
type: Injectable
|
|
1567
1568
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
1568
1569
|
type: Inject,
|
|
@@ -1712,7 +1713,10 @@ class FocusService {
|
|
|
1712
1713
|
// Turning the value into an Observable isn't great, but it's the fastest way to avoid code duplication.
|
|
1713
1714
|
// If performance ever matters for this, we can refactor using additional private methods.
|
|
1714
1715
|
const nextObs = isObservable(next) ? next : of(next);
|
|
1715
|
-
|
|
1716
|
+
// take(1) unsubscribes once this move has its item, rather than leaving the subscription open.
|
|
1717
|
+
// Left subscribed, every later emission would call moveTo() again with whatever is the first
|
|
1718
|
+
// item at that point and focus back to it.
|
|
1719
|
+
nextObs.pipe(take(1)).subscribe(item => {
|
|
1716
1720
|
if (item) {
|
|
1717
1721
|
this.moveTo(item);
|
|
1718
1722
|
moved = true;
|
|
@@ -1734,10 +1738,10 @@ class FocusService {
|
|
|
1734
1738
|
unlistenFuncs?.forEach(unlisten => unlisten());
|
|
1735
1739
|
this._unlistenFuncsMap.delete(el);
|
|
1736
1740
|
}
|
|
1737
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1738
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
1741
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FocusService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1742
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FocusService }); }
|
|
1739
1743
|
}
|
|
1740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FocusService, decorators: [{
|
|
1741
1745
|
type: Injectable
|
|
1742
1746
|
}], ctorParameters: () => [{ type: i0.Renderer2 }] });
|
|
1743
1747
|
function clrFocusServiceFactory(existing, renderer) {
|
|
@@ -1767,62 +1771,54 @@ class ScrollingService {
|
|
|
1767
1771
|
this._document.body.classList.remove('no-scrolling');
|
|
1768
1772
|
}
|
|
1769
1773
|
}
|
|
1770
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1771
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
1774
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ScrollingService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1775
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ScrollingService }); }
|
|
1772
1776
|
}
|
|
1773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ScrollingService, decorators: [{
|
|
1774
1778
|
type: Injectable
|
|
1775
1779
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1776
1780
|
type: Inject,
|
|
1777
1781
|
args: [DOCUMENT]
|
|
1778
1782
|
}] }] });
|
|
1779
1783
|
|
|
1784
|
+
/*
|
|
1785
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
1786
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
1787
|
+
* This software is released under MIT license.
|
|
1788
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
1789
|
+
*/
|
|
1780
1790
|
/**
|
|
1781
1791
|
* This is just a copy of CdkDrag so it can be used independent of the rest of the CdkDragDropModule.
|
|
1782
1792
|
*/
|
|
1783
1793
|
class CdkDragModule_CdkDrag extends CdkDrag {
|
|
1784
1794
|
/**
|
|
1785
|
-
*
|
|
1786
|
-
*
|
|
1787
|
-
* https://github.com/storybookjs/storybook/issues/23534
|
|
1795
|
+
* The base class resolves its dependencies with `inject()`, so it takes no constructor arguments
|
|
1796
|
+
* (`@angular/cdk` 22 declares it that way). The explicit constructor stays as a workaround for the
|
|
1797
|
+
* Angular "ɵɵinvalidFactoryDep" error in storybook: https://github.com/storybookjs/storybook/issues/23534
|
|
1788
1798
|
*/
|
|
1789
|
-
|
|
1790
|
-
|
|
1799
|
+
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
1800
|
+
constructor() {
|
|
1801
|
+
super();
|
|
1791
1802
|
}
|
|
1792
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1793
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
1803
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CdkDragModule_CdkDrag, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1804
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: CdkDragModule_CdkDrag, isStandalone: false, selector: "[cdkDrag]", usesInheritance: true, ngImport: i0 }); }
|
|
1794
1805
|
}
|
|
1795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CdkDragModule_CdkDrag, decorators: [{
|
|
1796
1807
|
type: Directive,
|
|
1797
1808
|
args: [{
|
|
1798
1809
|
selector: '[cdkDrag]',
|
|
1799
1810
|
standalone: false,
|
|
1800
1811
|
}]
|
|
1801
|
-
}], ctorParameters: () => [
|
|
1802
|
-
type: Optional
|
|
1803
|
-
}, {
|
|
1804
|
-
type: Inject,
|
|
1805
|
-
args: [CDK_DROP_LIST]
|
|
1806
|
-
}] }, { type: undefined, decorators: [{
|
|
1807
|
-
type: Optional
|
|
1808
|
-
}, {
|
|
1809
|
-
type: Inject,
|
|
1810
|
-
args: [DOCUMENT]
|
|
1811
|
-
}] }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
|
|
1812
|
-
type: Optional
|
|
1813
|
-
}, {
|
|
1814
|
-
type: Inject,
|
|
1815
|
-
args: [CDK_DRAG_CONFIG]
|
|
1816
|
-
}] }, { type: i1$1.Directionality }, { type: i2$1.DragDrop }, { type: i0.ChangeDetectorRef }] });
|
|
1812
|
+
}], ctorParameters: () => [] });
|
|
1817
1813
|
/**
|
|
1818
1814
|
* This module allows us to avoid importing all of CdkDragDropModule which results in a smaller application bundle.
|
|
1819
1815
|
*/
|
|
1820
1816
|
class CdkDragModule {
|
|
1821
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1822
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
1823
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
1817
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CdkDragModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1818
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: CdkDragModule, declarations: [CdkDragModule_CdkDrag], exports: [CdkDragModule_CdkDrag] }); }
|
|
1819
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CdkDragModule }); }
|
|
1824
1820
|
}
|
|
1825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1821
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CdkDragModule, decorators: [{
|
|
1826
1822
|
type: NgModule,
|
|
1827
1823
|
args: [{
|
|
1828
1824
|
declarations: [CdkDragModule_CdkDrag],
|
|
@@ -1841,37 +1837,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
1841
1837
|
*/
|
|
1842
1838
|
class CdkTrapFocusModule_CdkTrapFocus extends CdkTrapFocus {
|
|
1843
1839
|
/**
|
|
1844
|
-
*
|
|
1845
|
-
*
|
|
1846
|
-
* https://github.com/storybookjs/storybook/issues/23534
|
|
1840
|
+
* The base class resolves its dependencies with `inject()`, so it takes no constructor arguments
|
|
1841
|
+
* (`@angular/cdk` 22 declares it that way). The explicit constructor stays as a workaround for the
|
|
1842
|
+
* Angular "ɵɵinvalidFactoryDep" error in storybook: https://github.com/storybookjs/storybook/issues/23534
|
|
1847
1843
|
*/
|
|
1848
|
-
|
|
1849
|
-
|
|
1844
|
+
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
1845
|
+
constructor() {
|
|
1846
|
+
super();
|
|
1850
1847
|
}
|
|
1851
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1852
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
1848
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CdkTrapFocusModule_CdkTrapFocus, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1849
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: CdkTrapFocusModule_CdkTrapFocus, isStandalone: false, selector: "[cdkTrapFocus]", usesInheritance: true, ngImport: i0 }); }
|
|
1853
1850
|
}
|
|
1854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CdkTrapFocusModule_CdkTrapFocus, decorators: [{
|
|
1855
1852
|
type: Directive,
|
|
1856
1853
|
args: [{
|
|
1857
1854
|
selector: '[cdkTrapFocus]',
|
|
1858
1855
|
standalone: false,
|
|
1859
1856
|
}]
|
|
1860
|
-
}], ctorParameters: () => [
|
|
1861
|
-
type: Optional
|
|
1862
|
-
}, {
|
|
1863
|
-
type: Inject,
|
|
1864
|
-
args: [DOCUMENT]
|
|
1865
|
-
}] }] });
|
|
1857
|
+
}], ctorParameters: () => [] });
|
|
1866
1858
|
/**
|
|
1867
1859
|
* This module allows us to avoid importing all of A11yModule which results in a smaller application bundle.
|
|
1868
1860
|
*/
|
|
1869
1861
|
class CdkTrapFocusModule {
|
|
1870
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1871
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
1872
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
1862
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CdkTrapFocusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1863
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: CdkTrapFocusModule, declarations: [CdkTrapFocusModule_CdkTrapFocus], exports: [CdkTrapFocusModule_CdkTrapFocus] }); }
|
|
1864
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CdkTrapFocusModule }); }
|
|
1873
1865
|
}
|
|
1874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CdkTrapFocusModule, decorators: [{
|
|
1875
1867
|
type: NgModule,
|
|
1876
1868
|
args: [{
|
|
1877
1869
|
declarations: [CdkTrapFocusModule_CdkTrapFocus],
|
|
@@ -1914,10 +1906,10 @@ class ClrDestroyService extends Subject {
|
|
|
1914
1906
|
this.next();
|
|
1915
1907
|
this.complete();
|
|
1916
1908
|
}
|
|
1917
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1918
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
1909
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrDestroyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1910
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrDestroyService }); }
|
|
1919
1911
|
}
|
|
1920
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClrDestroyService, decorators: [{
|
|
1921
1913
|
type: Injectable
|
|
1922
1914
|
}] });
|
|
1923
1915
|
|
|
@@ -2034,10 +2026,10 @@ class WillyWonka {
|
|
|
2034
2026
|
this._chocolate.next();
|
|
2035
2027
|
}
|
|
2036
2028
|
}
|
|
2037
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2038
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
2029
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WillyWonka, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2030
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: WillyWonka, isStandalone: true, ngImport: i0 }); }
|
|
2039
2031
|
}
|
|
2040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WillyWonka, decorators: [{
|
|
2041
2033
|
type: Directive
|
|
2042
2034
|
}] });
|
|
2043
2035
|
|
|
@@ -2064,10 +2056,10 @@ class OompaLoompa {
|
|
|
2064
2056
|
ngOnDestroy() {
|
|
2065
2057
|
this.subscription.unsubscribe();
|
|
2066
2058
|
}
|
|
2067
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2068
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
2059
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OompaLoompa, deps: [{ token: i0.ChangeDetectorRef }, { token: WillyWonka }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2060
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: OompaLoompa, isStandalone: true, ngImport: i0 }); }
|
|
2069
2061
|
}
|
|
2070
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OompaLoompa, decorators: [{
|
|
2071
2063
|
type: Directive
|
|
2072
2064
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: WillyWonka }] });
|
|
2073
2065
|
|