igniteui-angular 22.2.0-rc.1 → 22.2.0-rc.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/README.md +1 -1
- package/button-group/README.md +42 -9
- package/calendar/README.md +30 -20
- package/card/README.md +1 -1
- package/fesm2022/igniteui-angular-accordion.mjs +7 -7
- package/fesm2022/igniteui-angular-action-strip.mjs +11 -22
- package/fesm2022/igniteui-angular-action-strip.mjs.map +1 -1
- package/fesm2022/igniteui-angular-avatar.mjs +7 -7
- package/fesm2022/igniteui-angular-badge.mjs +7 -7
- package/fesm2022/igniteui-angular-banner.mjs +10 -10
- package/fesm2022/igniteui-angular-bottom-nav.mjs +22 -22
- package/fesm2022/igniteui-angular-button-group.mjs +32 -35
- package/fesm2022/igniteui-angular-button-group.mjs.map +1 -1
- package/fesm2022/igniteui-angular-calendar.mjs +132 -180
- package/fesm2022/igniteui-angular-calendar.mjs.map +1 -1
- package/fesm2022/igniteui-angular-card.mjs +47 -58
- package/fesm2022/igniteui-angular-card.mjs.map +1 -1
- package/fesm2022/igniteui-angular-carousel.mjs +22 -22
- package/fesm2022/igniteui-angular-chat-extras.mjs +6 -6
- package/fesm2022/igniteui-angular-chat.mjs +12 -12
- package/fesm2022/igniteui-angular-checkbox.mjs +7 -7
- package/fesm2022/igniteui-angular-chips.mjs +10 -10
- package/fesm2022/igniteui-angular-combo.mjs +66 -60
- package/fesm2022/igniteui-angular-combo.mjs.map +1 -1
- package/fesm2022/igniteui-angular-core.mjs +107 -79
- package/fesm2022/igniteui-angular-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-date-picker.mjs +38 -38
- package/fesm2022/igniteui-angular-dialog.mjs +13 -13
- package/fesm2022/igniteui-angular-directives.mjs +194 -194
- package/fesm2022/igniteui-angular-drop-down.mjs +29 -29
- package/fesm2022/igniteui-angular-expansion-panel.mjs +28 -28
- package/fesm2022/igniteui-angular-grids-core.mjs +737 -661
- package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-grid.mjs +49 -49
- package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs +37 -37
- package/fesm2022/igniteui-angular-grids-lite.mjs +25 -17
- package/fesm2022/igniteui-angular-grids-lite.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs +80 -80
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-tree-grid.mjs +55 -55
- package/fesm2022/igniteui-angular-icon.mjs +10 -10
- package/fesm2022/igniteui-angular-input-group.mjs +25 -25
- package/fesm2022/igniteui-angular-list.mjs +40 -40
- package/fesm2022/igniteui-angular-navbar.mjs +13 -13
- package/fesm2022/igniteui-angular-navigation-drawer.mjs +43 -38
- package/fesm2022/igniteui-angular-navigation-drawer.mjs.map +1 -1
- package/fesm2022/igniteui-angular-paginator.mjs +19 -19
- package/fesm2022/igniteui-angular-progressbar.mjs +19 -19
- package/fesm2022/igniteui-angular-query-builder.mjs +22 -22
- package/fesm2022/igniteui-angular-radio.mjs +25 -21
- package/fesm2022/igniteui-angular-radio.mjs.map +1 -1
- package/fesm2022/igniteui-angular-select.mjs +25 -25
- package/fesm2022/igniteui-angular-simple-combo.mjs +9 -9
- package/fesm2022/igniteui-angular-simple-combo.mjs.map +1 -1
- package/fesm2022/igniteui-angular-slider.mjs +28 -28
- package/fesm2022/igniteui-angular-snackbar.mjs +7 -7
- package/fesm2022/igniteui-angular-splitter.mjs +13 -13
- package/fesm2022/igniteui-angular-stepper.mjs +34 -34
- package/fesm2022/igniteui-angular-switch.mjs +7 -7
- package/fesm2022/igniteui-angular-tabs.mjs +34 -34
- package/fesm2022/igniteui-angular-time-picker.mjs +19 -19
- package/fesm2022/igniteui-angular-toast.mjs +7 -7
- package/fesm2022/igniteui-angular-tree.mjs +28 -28
- package/fesm2022/igniteui-angular-virtual-scroll.mjs +497 -145
- package/fesm2022/igniteui-angular-virtual-scroll.mjs.map +1 -1
- package/migrations/common/UpdateChanges.d.ts +25 -5
- package/migrations/common/UpdateChanges.js +218 -34
- package/migrations/common/UpdateChanges.spec.js +763 -0
- package/migrations/migration-collection.json +1 -1
- package/migrations/update-22_2_0/index.js +145 -0
- package/migrations/update-22_2_0/index.spec.js +133 -0
- package/navigation-drawer/README.md +1 -1
- package/package.json +3 -3
- package/schematics/tsconfig.tsbuildinfo +1 -1
- package/skills/igniteui-angular-components/SKILL.md +9 -5
- package/skills/igniteui-angular-components/references/form-controls.md +1 -1
- package/skills/igniteui-angular-components/references/mcp-setup.md +14 -2
- package/skills/igniteui-angular-figma-to-app/SKILL.md +112 -525
- package/skills/igniteui-angular-figma-to-app/references/asset-extraction.md +49 -75
- package/skills/igniteui-angular-figma-to-app/references/design-provenance.md +201 -0
- package/skills/igniteui-angular-figma-to-app/references/design-token-bridge.md +175 -52
- package/skills/igniteui-angular-figma-to-app/references/figma-component-map.md +153 -99
- package/skills/igniteui-angular-figma-to-app/references/figma-exploration.md +226 -0
- package/skills/igniteui-angular-figma-to-app/references/mcp-setup.md +71 -105
- package/skills/igniteui-angular-figma-to-app/references/project-setup.md +63 -0
- package/skills/igniteui-angular-figma-to-app/references/theme-generation.md +120 -0
- package/skills/igniteui-angular-figma-to-app/references/validation-patterns.md +48 -50
- package/skills/igniteui-angular-generate-from-image-design/SKILL.md +11 -7
- package/skills/igniteui-angular-grids/SKILL.md +7 -3
- package/skills/igniteui-angular-grids/references/editing.md +1 -2
- package/skills/igniteui-angular-grids/references/grid-migration.md +1 -1
- package/skills/igniteui-angular-theming/SKILL.md +9 -5
- package/skills/igniteui-angular-theming/references/mcp-setup.md +12 -2
- package/types/igniteui-angular-button-group.d.ts +49 -34
- package/types/igniteui-angular-calendar.d.ts +33 -50
- package/types/igniteui-angular-card.d.ts +12 -17
- package/types/igniteui-angular-combo.d.ts +6 -0
- package/types/igniteui-angular-core.d.ts +10 -2
- package/types/igniteui-angular-grids-core.d.ts +48 -4
- package/types/igniteui-angular-grids-lite.d.ts +5 -1
- package/types/igniteui-angular-grids-pivot-grid.d.ts +1 -1
- package/types/igniteui-angular-navigation-drawer.d.ts +1 -0
- package/types/igniteui-angular-radio.d.ts +5 -0
- package/types/igniteui-angular-virtual-scroll.d.ts +41 -13
- package/virtual-scroll/README.md +32 -1
|
@@ -173,10 +173,10 @@ class IgxStepperService {
|
|
|
173
173
|
}
|
|
174
174
|
return this.stepper.steps.findIndex(s => s.index > this.activeStep.index && !s.optional && !s.disabled && !s.isValid);
|
|
175
175
|
}
|
|
176
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
177
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
176
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
177
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepperService }); }
|
|
178
178
|
}
|
|
179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepperService, decorators: [{
|
|
180
180
|
type: Injectable
|
|
181
181
|
}] });
|
|
182
182
|
|
|
@@ -196,10 +196,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
|
|
|
196
196
|
* </igx-stepper>
|
|
197
197
|
*/
|
|
198
198
|
class IgxStepActiveIndicatorDirective {
|
|
199
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
200
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepActiveIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
200
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.0", type: IgxStepActiveIndicatorDirective, isStandalone: true, selector: "[igxStepActiveIndicator]", ngImport: i0 }); }
|
|
201
201
|
}
|
|
202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepActiveIndicatorDirective, decorators: [{
|
|
203
203
|
type: Directive,
|
|
204
204
|
args: [{
|
|
205
205
|
selector: '[igxStepActiveIndicator]',
|
|
@@ -222,10 +222,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
|
|
|
222
222
|
* </igx-stepper>
|
|
223
223
|
*/
|
|
224
224
|
class IgxStepCompletedIndicatorDirective {
|
|
225
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
226
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
225
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepCompletedIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
226
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.0", type: IgxStepCompletedIndicatorDirective, isStandalone: true, selector: "[igxStepCompletedIndicator]", ngImport: i0 }); }
|
|
227
227
|
}
|
|
228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepCompletedIndicatorDirective, decorators: [{
|
|
229
229
|
type: Directive,
|
|
230
230
|
args: [{
|
|
231
231
|
selector: '[igxStepCompletedIndicator]',
|
|
@@ -248,10 +248,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
|
|
|
248
248
|
* </igx-stepper>
|
|
249
249
|
*/
|
|
250
250
|
class IgxStepInvalidIndicatorDirective {
|
|
251
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
252
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
251
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepInvalidIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
252
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.0", type: IgxStepInvalidIndicatorDirective, isStandalone: true, selector: "[igxStepInvalidIndicator]", ngImport: i0 }); }
|
|
253
253
|
}
|
|
254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepInvalidIndicatorDirective, decorators: [{
|
|
255
255
|
type: Directive,
|
|
256
256
|
args: [{
|
|
257
257
|
selector: '[igxStepInvalidIndicator]',
|
|
@@ -274,10 +274,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
|
|
|
274
274
|
* </igx-stepper>
|
|
275
275
|
*/
|
|
276
276
|
class IgxStepIndicatorDirective {
|
|
277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
278
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
278
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.0", type: IgxStepIndicatorDirective, isStandalone: true, selector: "[igxStepIndicator]", ngImport: i0 }); }
|
|
279
279
|
}
|
|
280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepIndicatorDirective, decorators: [{
|
|
281
281
|
type: Directive,
|
|
282
282
|
args: [{
|
|
283
283
|
selector: '[igxStepIndicator]',
|
|
@@ -304,10 +304,10 @@ class IgxStepTitleDirective {
|
|
|
304
304
|
this.defaultClass = true;
|
|
305
305
|
this.headerElementClass = true;
|
|
306
306
|
}
|
|
307
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
308
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
307
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
308
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.0", type: IgxStepTitleDirective, isStandalone: true, selector: "[igxStepTitle]", host: { properties: { "class.igx-step__title": "this.defaultClass", "class.igx-step-header__title": "this.headerElementClass" } }, hostDirectives: [{ directive: i1.IgxNoTypographyDirective }], ngImport: i0 }); }
|
|
309
309
|
}
|
|
310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepTitleDirective, decorators: [{
|
|
311
311
|
type: Directive,
|
|
312
312
|
args: [{
|
|
313
313
|
selector: '[igxStepTitle]',
|
|
@@ -341,10 +341,10 @@ class IgxStepSubtitleDirective {
|
|
|
341
341
|
this.elementClass = true;
|
|
342
342
|
this.headerElementClass = true;
|
|
343
343
|
}
|
|
344
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
345
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
344
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
345
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.0", type: IgxStepSubtitleDirective, isStandalone: true, selector: "[igxStepSubtitle]", host: { properties: { "class.igx-step__subtitle": "this.elementClass", "class.igx-step-header__subtitle": "this.headerElementClass" } }, hostDirectives: [{ directive: i1.IgxNoTypographyDirective }], ngImport: i0 }); }
|
|
346
346
|
}
|
|
347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepSubtitleDirective, decorators: [{
|
|
348
348
|
type: Directive,
|
|
349
349
|
args: [{
|
|
350
350
|
selector: '[igxStepSubtitle]',
|
|
@@ -398,10 +398,10 @@ class IgxStepContentDirective {
|
|
|
398
398
|
set tabIndex(val) {
|
|
399
399
|
this._tabIndex = val;
|
|
400
400
|
}
|
|
401
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
402
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
401
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
402
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.0", type: IgxStepContentDirective, isStandalone: true, selector: "[igxStepContent]", inputs: { id: "id", tabIndex: "tabIndex" }, host: { properties: { "class.igx-stepper__step-content": "this.defaultClass", "attr.role": "this.role", "attr.aria-labelledby": "this.stepId", "attr.id": "this.id", "attr.tabindex": "this.tabIndex" } }, ngImport: i0 }); }
|
|
403
403
|
}
|
|
404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepContentDirective, decorators: [{
|
|
405
405
|
type: Directive,
|
|
406
406
|
args: [{
|
|
407
407
|
selector: '[igxStepContent]',
|
|
@@ -873,12 +873,12 @@ class IgxStepComponent extends ToggleAnimationPlayer {
|
|
|
873
873
|
this.stepperService.activeStep.closeAnimationPlayer?.finish();
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
877
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
876
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
877
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.0", type: IgxStepComponent, isStandalone: true, selector: "igx-step", inputs: { id: "id", disabled: ["disabled", "disabled", booleanAttribute], completed: ["completed", "completed", booleanAttribute], isValid: ["isValid", "isValid", booleanAttribute], optional: ["optional", "optional", booleanAttribute], active: ["active", "active", booleanAttribute], tabIndex: "tabIndex" }, outputs: { activeChange: "activeChange" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()", "keydown": "handleKeydown($event)" }, properties: { "attr.id": "this.id", "class.igx-step--completed": "this.completed", "attr.aria-selected": "this.active", "attr.tabindex": "this.tabIndex", "attr.role": "this.role", "attr.aria-controls": "this.contentId", "class.igx-step": "this.cssClass", "class.igx-step--vertical": "this.isVertical", "class.igx-step--disabled": "this.generalDisabled", "class": "this.titlePositionTop", "class.igx-step--current": "this.isActive", "class.igx-step--invalid": "this.isInvalid", "class.igx-step--horizontal": "this.isHorizontal" } }, providers: [
|
|
878
878
|
{ provide: IGX_STEP_COMPONENT, useExisting: IgxStepComponent }
|
|
879
879
|
], queries: [{ propertyName: "indicator", first: true, predicate: i0.forwardRef(() => IgxStepIndicatorDirective), descendants: true }, { propertyName: "content", first: true, predicate: i0.forwardRef(() => IgxStepContentDirective), descendants: true }], viewQueries: [{ propertyName: "contentTemplate", first: true, predicate: ["contentTemplate"], descendants: true, static: true }, { propertyName: "customIndicatorTemplate", first: true, predicate: ["customIndicator"], descendants: true, static: true }, { propertyName: "contentContainer", first: true, predicate: ["contentContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #defaultTitle>\n @if (isTitleVisible) {\n <ng-content select=\"[igxStepTitle]\"></ng-content>\n }\n @if (isTitleVisible) {\n <ng-content select=\"[igxStepSubtitle]\"></ng-content>\n }\n</ng-template>\n\n<ng-template #contentTemplate>\n <div [ngClass]=\"contentClasses\" #contentContainer>\n @if (active || collapsing) {\n <ng-content select=\"[igxStepContent]\"></ng-content>\n }\n </div>\n</ng-template>\n\n<ng-template #defaultIndicator>\n <span>{{ index + 1 }}</span>\n</ng-template>\n\n<ng-template #customIndicator>\n <ng-content select=\"[igxStepIndicator]\"></ng-content>\n</ng-template>\n\n<div class=\"igx-step__header igx-step-header\" igxRipple (keydown)=\"handleKeydown($event)\"\n [ngClass]=\"stepHeaderClasses\"\n (click)=\"onPointerDown($event)\">\n\n @if (isIndicatorVisible) {\n <div class=\"igx-step__indicator igx-step-header__indicator\">\n <ng-container *ngTemplateOutlet=\"indicatorTemplate ? indicatorTemplate : defaultIndicator\"></ng-container>\n </div>\n }\n\n <div class=\"igx-step__title-wrapper\">\n <ng-container *ngTemplateOutlet=\"defaultTitle\"></ng-container>\n </div>\n</div>\n\n@if (!isHorizontal) {\n <div class=\"igx-step__content-wrapper\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </div>\n}\n", styles: ["@layer ig.base{.igx-step{display:flex;position:relative;flex-direction:column;align-content:center;justify-content:center}.igx-step:first-of-type .igx-step__header:before{visibility:hidden}.igx-step:last-of-type .igx-step__header:after{visibility:hidden}.igx-step:last-of-type .igx-step__content-wrapper:before{display:none}.igx-step:focus{outline:none}.igx-step:focus .igx-step__title{color:var(--title-focus-color)}.igx-step:focus .igx-step__subtitle{color:var(--subtitle-focus-color)}.igx-step:focus .igx-step__header{background:var(--step-focus-background);color:var(--title-focus-color)}.igx-step:focus .igx-step__header:hover .igx-step__title{color:var(--title-focus-color)}.igx-step:focus .igx-step__header:hover .igx-step__subtitle{color:var(--subtitle-focus-color)}.igx-step:focus .igx-step__header:before,.igx-step:focus .igx-step__header:after{z-index:-1}.igx-step--invalid:focus .igx-step__header{background:var(--invalid-step-focus-background)}.igx-step--invalid:focus .igx-step__header:hover .igx-step__title{color:var(--invalid-title-focus-color)}.igx-step--invalid:focus .igx-step__header:hover .igx-step__subtitle{color:var(--invalid-subtitle-focus-color)}.igx-step--invalid:focus .igx-step__title{color:var(--invalid-title-focus-color)}.igx-step--invalid:focus .igx-step__subtitle{color:var(--invalid-subtitle-focus-color)}.igx-step--current:focus .igx-step__header{background:var(--current-step-focus-background)}.igx-step--current:focus .igx-step__header:hover .igx-step__title{color:var(--current-title-focus-color)}.igx-step--current:focus .igx-step__header:hover .igx-step__subtitle{color:var(--current-subtitle-focus-color)}.igx-step--current:focus .igx-step__title{color:var(--current-title-focus-color)}.igx-step--current:focus .igx-step__subtitle{color:var(--current-subtitle-focus-color)}.igx-step__title-wrapper{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:2rem}.igx-step__title-wrapper:empty{display:none}.igx-step__title-wrapper>*{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.igx-step__content-wrapper{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin-block:0;padding:1rem;position:relative}.igx-step__content-wrapper:before{content:\"\";position:absolute}.igx-step--completed+.igx-step:before{border-top-color:var(--complete-step-separator-color)!important;border-top-style:var(--complete-step-separator-style)!important}.igx-step--completed+.igx-step .igx-step__header:before{border-top-color:var(--complete-step-separator-color)!important;border-top-style:var(--complete-step-separator-style)!important}.igx-step--completed:focus .igx-step__header{background:var(--complete-step-focus-background)}.igx-step--completed:focus .igx-step__header:hover .igx-step__title{color:var(--complete-title-focus-color)}.igx-step--completed:focus .igx-step__header:hover .igx-step__subtitle{color:var(--complete-subtitle-focus-color)}.igx-step--completed:focus .igx-step__title{color:var(--complete-title-focus-color)}.igx-step--completed:focus .igx-step__subtitle{color:var(--complete-subtitle-focus-color)}.igx-step--simple .igx-step__indicator{width:initial;height:initial}.igx-step--simple .igx-step__indicator div>igx-icon,.igx-step--simple .igx-step__indicator div>igx-avatar,.igx-step--simple .igx-step__indicator div>igx-circular-bar{max-width:initial;max-height:initial}.igx-step--horizontal{overflow:hidden;flex-direction:row;flex:1}.igx-step--horizontal:before{content:\"\";width:auto;flex:1;position:relative}.igx-step--horizontal:first-of-type{flex-grow:1;max-width:-moz-max-content;max-width:max-content;min-width:auto}.igx-step--horizontal:first-of-type:before{display:none}.igx-step--horizontal .igx-step__title-wrapper{width:100%}.igx-step--horizontal .igx-step__header{display:flex;flex-direction:row;align-items:center;justify-content:center}.igx-step--horizontal .igx-step__header:before,.igx-step--horizontal .igx-step__header:after{content:\"\";position:absolute;flex:1;min-width:.25rem}.igx-step--horizontal .igx-step__header:before{inset-inline-start:0}.igx-step--horizontal .igx-step__header:after{inset-inline-end:0}.igx-step--horizontal .igx-step__content{flex-grow:1}.igx-step--horizontal .igx-step__content:focus{outline:none}.igx-step--horizontal .igx-step__content:before{display:none}.igx-step--start .igx-step__header{flex-direction:row;align-items:center}.igx-step--start .igx-step__title-wrapper{order:-1}.igx-step--end .igx-step__header{flex-direction:row;align-items:center}.igx-step--top .igx-step__title-wrapper{order:-1}.igx-step--horizontal.igx-step--simple{text-align:center}.igx-step--horizontal.igx-step--simple .igx-step__header{align-self:center;height:auto}.igx-step--horizontal.igx-step--simple .igx-step__header:before,.igx-step--horizontal.igx-step--simple .igx-step__header:after{display:none}.igx-step--horizontal.igx-step--top .igx-step__header{flex-direction:column;justify-content:flex-end}.igx-step--horizontal.igx-step--top .igx-step__title-wrapper{text-align:center}.igx-step--horizontal.igx-step--bottom .igx-step__header{flex-direction:column;justify-content:flex-start}.igx-step--horizontal.igx-step--bottom .igx-step__title-wrapper{text-align:center}.igx-step--horizontal.igx-step--start .igx-step__title-wrapper{text-align:end}.igx-step--horizontal.igx-step--start .igx-step__indicator{flex:1 0 auto}.igx-step--horizontal.igx-step--start .igx-step__header:before,.igx-step--horizontal.igx-step--start .igx-step__header:after{display:none}.igx-step--horizontal.igx-step--end:first-of-type{min-width:0}.igx-step--horizontal.igx-step--end .igx-step__indicator{flex:1 0 auto}.igx-step--horizontal.igx-step--end .igx-step__header:before,.igx-step--horizontal.igx-step--end .igx-step__header:after{display:none}.igx-step--disabled{color:var(--disabled-title-color);pointer-events:none;cursor:default}.igx-step--disabled .igx-step__indicator{color:var(--disabled-indicator-color);background:var(--disabled-indicator-background)}.igx-step--disabled .igx-step__title{color:var(--disabled-title-color)}.igx-step--disabled .igx-step__subtitle{color:var(--disabled-subtitle-color)}.igx-step-header{display:flex;padding:.5rem;position:relative;line-height:normal;flex-direction:column;align-items:flex-start;gap:.5rem;cursor:pointer;color:var(--title-color);background:var(--step-background);border-radius:var(--border-radius-step-header);overflow:hidden}.igx-step-header__indicator{display:flex;align-items:center;justify-content:center;position:relative;font-size:.75rem;white-space:nowrap;border-radius:var(--border-radius-indicator);color:var(--indicator-color);background:var(--indicator-background);box-shadow:0 0 0 clamp(1px,.0625rem,.0625rem) var(--indicator-outline)}.igx-step-header__title{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin-top:0;margin-bottom:0;color:var(--title-color)}.igx-step-header__subtitle{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom);margin-top:0;margin-bottom:0;color:var(--subtitle-color)}.igx-step-header:hover{background:var(--step-hover-background)}.igx-step-header:hover .igx-step-header__title{color:var(--title-hover-color)}.igx-step-header:hover .igx-step-header__subtitle{color:var(--subtitle-hover-color)}.igx-step-header--invalid{background:var(--invalid-step-background);color:var(--invalid-title-color)}.igx-step-header--invalid .igx-step-header__indicator{color:var(--invalid-indicator-color);background:var(--invalid-indicator-background);box-shadow:0 0 0 clamp(1px,.0625rem,.0625rem) var(--invalid-indicator-outline)}.igx-step-header--invalid .igx-step-header__title{color:var(--invalid-title-color)}.igx-step-header--invalid .igx-step-header__subtitle{color:var(--invalid-subtitle-color)}.igx-step-header--invalid:hover{background:var(--invalid-step-hover-background)}.igx-step-header--invalid:hover .igx-step-header__title{color:var(--invalid-title-hover-color)}.igx-step-header--invalid:hover .igx-step-header__subtitle{color:var(--invalid-subtitle-hover-color)}.igx-step-header--completed{background:var(--complete-step-background)}.igx-step-header--completed:after{border-top-color:var(--complete-step-separator-color)!important;border-top-style:var(--complete-step-separator-style)!important}.igx-step-header--completed .igx-step-header__indicator{color:var(--complete-indicator-color);background:var(--complete-indicator-background);box-shadow:0 0 0 clamp(1px,.0625rem,.0625rem) var(--complete-indicator-outline)}.igx-step-header--completed .igx-step-header__title{color:var(--complete-title-color)}.igx-step-header--completed .igx-step-header__subtitle{color:var(--complete-subtitle-color)}.igx-step-header--completed:hover{background:var(--complete-step-hover-background)}.igx-step-header--completed:hover .igx-step-header__title{color:var(--complete-title-hover-color)}.igx-step-header--completed:hover .igx-step-header__subtitle{color:var(--complete-subtitle-hover-color)}.igx-step-header--current{background:var(--current-step-background);color:var(--current-title-color)}.igx-step-header--current .igx-step-header__indicator{color:var(--current-indicator-color)!important;background:var(--current-indicator-background);box-shadow:0 0 0 clamp(1px,.0625rem,.0625rem) var(--current-indicator-outline)!important}.igx-step-header--current .igx-step-header__title{color:var(--current-title-color);font-weight:600}.igx-step-header--current .igx-step-header__indicator{color:var(--current-subtitle-color)}.igx-step-header--current:hover{background:var(--current-step-hover-background)}.igx-step-header--current:hover .igx-step-header__title{color:var(--current-title-hover-color)}.igx-step-header--current:hover .igx-step-header__subtitle{color:var(--current-subtitle-hover-color)}.igx-step-header--disabled{color:var(--disabled-title-color);pointer-events:none;cursor:default}.igx-step-header--disabled .igx-step-header__indicator{color:var(--disabled-indicator-color);background:var(--disabled-indicator-background);box-shadow:0 0 0 clamp(1px,.0625rem,.0625rem) var(--disabled-indicator-outline)}.igx-step-header--disabled .igx-step-header__title{color:var(--disabled-title-color)}.igx-step-header--disabled .igx-step-header__subtitle{color:var(--disabled-subtitle-color)}}@layer ig.material{@container style(--ig-theme: material){.igx-step--simple .igx-step__indicator{min-width:1.5rem;min-height:1.5rem}.igx-step--horizontal:before{min-width:2.25rem;height:.0625rem;top:1.21875rem;border-top:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-step--horizontal .igx-step__header:before,.igx-step--horizontal .igx-step__header:after{height:.0625rem;width:calc(50% - 1.25rem);top:1.21875rem;border-top:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-step--horizontal .igx-step__header:hover:before,.igx-step--horizontal .igx-step__header:hover:after,.igx-step--horizontal .igx-step__header:focus:before,.igx-step--horizontal .igx-step__header:focus:after{z-index:-1}.igx-step--horizontal.igx-step--simple:before{top:calc(50% - .03125rem)}.igx-step--horizontal.igx-step--simple .igx-step__header{padding:.5rem}.igx-step--horizontal.igx-step--top:before{border-top:.0625rem var(--step-separator-style) var(--step-separator-color);top:calc(100% - 1.28125rem)}.igx-step--horizontal.igx-step--top .igx-step__header:before,.igx-step--horizontal.igx-step--top .igx-step__header:after{top:calc(100% - 1.28125rem)}.igx-step--horizontal.igx-step--start:before{top:calc(50% - .03125rem)}.igx-step--horizontal.igx-step--end:before{top:calc(50% - .03125rem)}.igx-step__content-wrapper{margin-inline-start:1.25rem;padding-inline-start:1.25rem;min-height:1.5rem}.igx-step__content-wrapper:before{inset-inline-start:-.03125rem;top:0rem;bottom:0rem;width:.0625rem;border-inline-start:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-step--completed .igx-step__content-wrapper:before{border-inline-start-style:var(--complete-step-separator-style);border-inline-start-color:var(--complete-step-separator-color)}.igx-step:last-of-type .igx-step__content-wrapper{min-height:0}.igx-step__indicator{--ig-icon-size: 1.125rem;height:1.5rem;width:1.5rem;min-width:1.5rem}.igx-step__indicator>igx-icon{color:inherit}.igx-step__indicator>igx-icon,.igx-step__indicator>igx-avatar,.igx-step__indicator>igx-circular-bar{max-height:1.5rem;max-width:1.5rem}}}@layer ig.bootstrap{@container style(--ig-theme: bootstrap){.igx-step .igx-ripple__inner{display:none!important}.igx-step:focus .igx-step__header{box-shadow:inset 0 0 0 clamp(1px,.0625rem,.0625rem) var(--indicator-outline)}.igx-step--simple .igx-step__indicator{min-width:2.5rem;min-height:2.5rem}.igx-step--horizontal:before{min-width:2.25rem;height:.5rem;top:1.5rem;border-top:.5rem var(--step-separator-style) var(--step-separator-color)}.igx-step--horizontal .igx-step__header:before,.igx-step--horizontal .igx-step__header:after{height:.5rem;width:calc(50% - 1.75rem);top:1.5rem;border-top:.5rem var(--step-separator-style) var(--step-separator-color)}.igx-step--horizontal.igx-step--simple:before{top:calc(50% - .25rem)}.igx-step--horizontal.igx-step--simple .igx-step__header{padding:.5rem}.igx-step--horizontal.igx-step--top:before{border-top:.5rem var(--step-separator-style) var(--step-separator-color);top:calc(100% - 2rem)}.igx-step--horizontal.igx-step--top .igx-step__header:before,.igx-step--horizontal.igx-step--top .igx-step__header:after{top:calc(100% - 2rem)}.igx-step--horizontal.igx-step--start .igx-step__header,.igx-step--horizontal.igx-step--end .igx-step__header{padding:.5rem}.igx-step__content-wrapper{margin-inline-start:1.75rem;padding-inline-start:1.75rem;min-height:1.5rem}.igx-step__content-wrapper:before{inset-inline-start:-.25rem;top:0rem;bottom:0rem;width:.5rem;border-inline-start:.5rem var(--step-separator-style) var(--step-separator-color)}.igx-step--completed .igx-step__content-wrapper:before{border-inline-start-style:var(--complete-step-separator-style);border-inline-start-color:var(--complete-step-separator-color)}.igx-step:last-of-type .igx-step__content-wrapper{min-height:0}.igx-step__indicator{--ig-icon-size: 1.125rem;height:2.5rem;width:2.5rem;min-width:2.5rem}.igx-step__indicator>igx-icon,.igx-step__indicator>igx-avatar,.igx-step__indicator>igx-circular-bar{max-height:2.5rem;max-width:2.5rem}.igx-step--disabled .igx-step__header{box-shadow:none}}}@layer ig.fluent{@container style(--ig-theme: fluent){.igx-step .igx-ripple__inner{display:none!important}.igx-step--simple .igx-step__indicator{min-width:1.5rem;min-height:1.5rem}.igx-step--horizontal:before{min-width:2.25rem;height:.0625rem;top:1.21875rem;border-top:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-step--horizontal .igx-step__header:before,.igx-step--horizontal .igx-step__header:after{height:.0625rem;width:calc(50% - 1.25rem);top:1.21875rem;border-top:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-step--horizontal .igx-step__header:hover:before,.igx-step--horizontal .igx-step__header:hover:after,.igx-step--horizontal .igx-step__header:focus:before,.igx-step--horizontal .igx-step__header:focus:after{z-index:-1}.igx-step--horizontal.igx-step--simple:before{top:calc(50% - .03125rem)}.igx-step--horizontal.igx-step--simple .igx-step__header{padding:.5rem}.igx-step--horizontal.igx-step--top:before{border-top:.0625rem var(--step-separator-style) var(--step-separator-color);top:calc(100% - 1.28125rem)}.igx-step--horizontal.igx-step--top .igx-step__header:before,.igx-step--horizontal.igx-step--top .igx-step__header:after{top:calc(100% - 1.28125rem)}.igx-step--horizontal.igx-step--start:before{top:calc(50% - .03125rem)}.igx-step--horizontal.igx-step--end:before{top:calc(50% - .03125rem)}.igx-step__content-wrapper{margin-inline-start:1.25rem;padding-inline-start:1.25rem;min-height:1.5rem}.igx-step__content-wrapper:before{inset-inline-start:-.03125rem;top:0rem;bottom:0rem;width:.0625rem;border-inline-start:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-step--completed .igx-step__content-wrapper:before{border-inline-start-style:var(--complete-step-separator-style);border-inline-start-color:var(--complete-step-separator-color)}.igx-step:last-of-type .igx-step__content-wrapper{min-height:0}.igx-step__indicator{--ig-icon-size: 1.125rem;height:1.5rem;width:1.5rem;min-width:1.5rem}.igx-step__indicator>igx-icon{color:inherit}.igx-step__indicator>igx-icon,.igx-step__indicator>igx-avatar,.igx-step__indicator>igx-circular-bar{max-height:1.5rem;max-width:1.5rem}}}@layer ig.indigo{@container style(--ig-theme: indigo){.igx-step .igx-ripple__inner{display:none!important}.igx-step--simple .igx-step__indicator{min-width:1.5rem;min-height:1.5rem}.igx-step--horizontal:before{min-width:2.5rem;height:.0625rem;top:1.21875rem;border-top:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-step--horizontal .igx-step__header:before,.igx-step--horizontal .igx-step__header:after{height:.0625rem;width:calc(50% - 1.25rem);top:1.21875rem;border-top:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-step--horizontal.igx-step--simple:before{top:calc(50% - .03125rem)}.igx-step--horizontal.igx-step--simple .igx-step__header{padding:.5rem}.igx-step--horizontal.igx-step--top:before{border-top:.0625rem var(--step-separator-style) var(--step-separator-color);top:calc(100% - 1.28125rem)}.igx-step--horizontal.igx-step--top .igx-step__header:before,.igx-step--horizontal.igx-step--top .igx-step__header:after{top:calc(100% - 1.28125rem)}.igx-step--horizontal.igx-step--start:before{top:calc(50% - .03125rem)}.igx-step--horizontal.igx-step--end:before{top:calc(50% - .03125rem)}.igx-step__content-wrapper{margin-inline-start:1.25rem;padding-inline-start:1.25rem;min-height:1.5rem}.igx-step__content-wrapper:before{inset-inline-start:-.03125rem;top:0rem;bottom:0rem;width:.0625rem;border-inline-start:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-step--completed .igx-step__content-wrapper:before{border-inline-start-style:var(--complete-step-separator-style);border-inline-start-color:var(--complete-step-separator-color)}.igx-step:last-of-type .igx-step__content-wrapper{min-height:0}.igx-step [aria-selected=true] .igx-step__content-wrapper{padding-block:1rem;padding-inline-end:1rem}.igx-step [aria-selected=false] .igx-step__content-wrapper{padding-block:0}.igx-step__indicator{--ig-icon-size: .875rem;height:1.5rem;width:1.5rem;min-width:1.5rem}.igx-step__indicator>igx-icon,.igx-step__indicator>igx-avatar,.igx-step__indicator>igx-circular-bar{max-height:1.5rem;max-width:1.5rem}}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: IgxRippleDirective, selector: "[igxRipple]", inputs: ["igxRippleTarget", "igxRipple", "igxRippleDuration", "igxRippleCentered", "igxRippleDisabled"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None }); }
|
|
880
880
|
}
|
|
881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepComponent, decorators: [{
|
|
882
882
|
type: Component,
|
|
883
883
|
args: [{ selector: 'igx-step', encapsulation: ViewEncapsulation.None, providers: [
|
|
884
884
|
{ provide: IGX_STEP_COMPONENT, useExisting: IgxStepComponent }
|
|
@@ -1391,13 +1391,13 @@ class IgxStepperComponent extends IgxCarouselComponentBase {
|
|
|
1391
1391
|
this.activateStep(nextStep);
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1395
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
1394
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1395
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.0", type: IgxStepperComponent, isStandalone: true, selector: "igx-stepper", inputs: { verticalAnimationType: "verticalAnimationType", horizontalAnimationType: "horizontalAnimationType", animationDuration: "animationDuration", linear: ["linear", "linear", booleanAttribute], orientation: "orientation", stepType: "stepType", contentTop: ["contentTop", "contentTop", booleanAttribute], titlePosition: "titlePosition" }, outputs: { activeStepChanging: "activeStepChanging", activeStepChanged: "activeStepChanged" }, host: { properties: { "attr.aria-orientation": "this.orientation", "class.igx-stepper": "this.cssClass", "attr.role": "this.role", "class.igx-stepper--horizontal": "this.directionClass" } }, providers: [
|
|
1396
1396
|
IgxStepperService,
|
|
1397
1397
|
{ provide: IGX_STEPPER_COMPONENT, useExisting: IgxStepperComponent },
|
|
1398
1398
|
], queries: [{ propertyName: "invalidIndicatorTemplate", first: true, predicate: IgxStepInvalidIndicatorDirective, descendants: true, read: TemplateRef }, { propertyName: "completedIndicatorTemplate", first: true, predicate: IgxStepCompletedIndicatorDirective, descendants: true, read: TemplateRef }, { propertyName: "activeIndicatorTemplate", first: true, predicate: IgxStepActiveIndicatorDirective, descendants: true, read: TemplateRef }, { propertyName: "_steps", predicate: IgxStepComponent }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if (!contentTop || orientation !== 'horizontal') {\n <div class=\"igx-stepper__header\">\n <ng-template *ngTemplateOutlet=\"stepTemplate\"></ng-template>\n </div>\n}\n\n@if (orientation === 'horizontal') {\n <div class=\"igx-stepper__body\">\n @for (step of steps; track step) {\n <ng-container *ngTemplateOutlet=\"step.contentTemplate\"></ng-container>\n }\n </div>\n}\n\n@if (contentTop && orientation === 'horizontal') {\n <div class=\"igx-stepper__header\">\n <ng-template *ngTemplateOutlet=\"stepTemplate\"></ng-template>\n </div>\n}\n\n<ng-template #stepTemplate>\n <ng-content select=\"igx-step\"></ng-content>\n</ng-template>\n", styles: ["@layer ig.base{.igx-stepper{display:flex;flex-direction:column;width:100%;overflow:hidden}.igx-stepper__header{display:flex;white-space:nowrap;flex-direction:column;width:100%;flex:none}.igx-stepper__body{display:flex;color:var(--content-foreground);position:relative;flex-direction:column;flex:1 1 auto;overflow:hidden}.igx-stepper--horizontal .igx-stepper__header{flex-direction:row}.igx-stepper--horizontal .igx-stepper__body-content{display:flex;position:absolute;inset:0;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;z-index:-1;padding:1rem;font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin-top:0;margin-bottom:0}.igx-stepper--horizontal .igx-stepper__body-content--active{z-index:1;position:relative}.igx-stepper--horizontal .igx-stepper__step-content{flex-grow:1}.igx-stepper--horizontal .igx-stepper__step-content:focus{outline:none}.igx-stepper--horizontal .igx-stepper__step-content:before{display:none}.igx-stepper--horizontal .igx-stepper__step-content-wrapper{text-align:center}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1399
1399
|
}
|
|
1400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepperComponent, decorators: [{
|
|
1401
1401
|
type: Component,
|
|
1402
1402
|
args: [{ selector: 'igx-stepper', encapsulation: ViewEncapsulation.None, providers: [
|
|
1403
1403
|
IgxStepperService,
|
|
@@ -1469,11 +1469,11 @@ const IGX_STEPPER_DIRECTIVES = [
|
|
|
1469
1469
|
* IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components
|
|
1470
1470
|
*/
|
|
1471
1471
|
class IgxStepperModule {
|
|
1472
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
1473
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
1474
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
1472
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1473
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.0", ngImport: i0, type: IgxStepperModule, imports: [IgxStepComponent, IgxStepperComponent, IgxStepTitleDirective, IgxStepSubtitleDirective, IgxStepIndicatorDirective, IgxStepContentDirective, IgxStepActiveIndicatorDirective, IgxStepCompletedIndicatorDirective, IgxStepInvalidIndicatorDirective], exports: [IgxStepComponent, IgxStepperComponent, IgxStepTitleDirective, IgxStepSubtitleDirective, IgxStepIndicatorDirective, IgxStepContentDirective, IgxStepActiveIndicatorDirective, IgxStepCompletedIndicatorDirective, IgxStepInvalidIndicatorDirective] }); }
|
|
1474
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepperModule }); }
|
|
1475
1475
|
}
|
|
1476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
1476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxStepperModule, decorators: [{
|
|
1477
1477
|
type: NgModule,
|
|
1478
1478
|
args: [{
|
|
1479
1479
|
imports: [
|
|
@@ -86,14 +86,14 @@ class IgxSwitchComponent extends CheckboxBaseDirective {
|
|
|
86
86
|
get checked() {
|
|
87
87
|
return super.checked;
|
|
88
88
|
}
|
|
89
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
90
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.
|
|
89
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxSwitchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
90
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.0", type: IgxSwitchComponent, isStandalone: true, selector: "igx-switch", inputs: { checked: "checked", disabled: ["disabled", "disabled", booleanAttribute], invalid: ["invalid", "invalid", booleanAttribute] }, host: { properties: { "class.igx-switch": "this.cssClass", "class.igx-switch--checked": "this.checked", "class.igx-switch--disabled": "this.disabled", "class.igx-switch--invalid": "this.invalid", "class.igx-switch--focused": "this.focused" } }, providers: [{
|
|
91
91
|
provide: EDITOR_PROVIDER,
|
|
92
92
|
useExisting: IgxSwitchComponent,
|
|
93
93
|
multi: true
|
|
94
94
|
}], usesInheritance: true, ngImport: i0, template: "<input #checkbox class=\"igx-switch__input\" type=\"checkbox\"\n [id]=\"inputId\"\n [name]=\"name\"\n [value]=\"value\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled\"\n [checked]=\"checked\"\n [required]=\"required\"\n [attr.aria-required]=\"required\"\n [attr.aria-invalid]=\"invalid\"\n [attr.aria-checked]=\"checked\"\n [attr.aria-labelledby]=\"ariaLabel ? null : ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n (change)=\"_onCheckboxChange($event)\"\n (blur)=\"onBlur()\" />\n\n<span #label class=\"igx-switch__composite\"\n igxRipple\n igxRippleTarget=\".igx-switch__ripple\"\n [igxRippleDisabled]=\"disableRipple\"\n [igxRippleCentered]=\"true\"\n [igxRippleDuration]=\"300\">\n <div class=\"igx-switch__composite-thumb\">\n <div class=\"igx-switch__ripple\"></div>\n <div class=\"igx-switch__thumb\"></div>\n </div>\n</span>\n\n<span #placeholderLabel\n [class]=\"labelClass\"\n [id]=\"labelId\">\n <ng-content></ng-content>\n</span>\n", styles: ["@layer ig.base{@keyframes scale-in-out{50%{transform:scale(.9);transform-origin:50% 50%}to{transform:scale(1);transform-origin:50% 50%}}.igx-switch__label--before,.igx-switch__label{display:inline-block;color:var(--label-color);-webkit-user-select:none;-moz-user-select:none;user-select:none;word-wrap:break-all;transition:color .2s cubic-bezier(.455,.03,.515,.955);transition-delay:var(--_transition-delay)}.igx-switch__label--before:empty,.igx-switch__label:empty{display:none}.igx-switch:focus-within .igx-switch__composite-thumb,.igx-switch:hover .igx-switch__composite-thumb{transition:all .2s cubic-bezier(.455,.03,.515,.955);transition-delay:var(--_transition-delay)}.igx-switch--focused.igx-switch--checked .igx-switch__ripple,.igx-switch--focused:hover .igx-switch__ripple,.igx-switch--focused .igx-switch__ripple,.igx-switch--checked:active .igx-switch__ripple,.igx-switch--checked:hover .igx-switch__ripple,.igx-switch:active .igx-switch__ripple,.igx-switch:hover .igx-switch__ripple{background:var(--ig-gray-600);transition:background .2s cubic-bezier(.25,.46,.45,.94)}.igx-switch--checked:active .igx-switch__ripple,.igx-switch--checked:hover .igx-switch__ripple,.igx-switch:active .igx-switch__ripple,.igx-switch:hover .igx-switch__ripple{opacity:.06}@container style(--ig-theme-variant: dark){.igx-switch--checked:active .igx-switch__ripple,.igx-switch--checked:hover .igx-switch__ripple,.igx-switch:active .igx-switch__ripple,.igx-switch:hover .igx-switch__ripple{opacity:.12}}.igx-switch--checked:active .igx-switch__ripple,.igx-switch:active .igx-switch__ripple,.igx-switch--focused.igx-switch--checked .igx-switch__ripple,.igx-switch--focused:hover .igx-switch__ripple,.igx-switch--focused .igx-switch__ripple{opacity:.12}@container style(--ig-theme-variant: dark){.igx-switch--checked:active .igx-switch__ripple,.igx-switch:active .igx-switch__ripple,.igx-switch--focused.igx-switch--checked .igx-switch__ripple,.igx-switch--focused:hover .igx-switch__ripple,.igx-switch--focused .igx-switch__ripple{opacity:.24}}.igx-switch{--transform-thumb: calc(var(--switch-width) - var(--switch-thumb-size) - var(--switch-on-offset));position:relative;display:inline-flex;flex-flow:row nowrap;align-items:center;cursor:pointer;animation:enable-transitions 0s .1s forwards}.igx-switch:hover .igx-switch__composite{border-color:var(--border-hover-color)}.igx-switch:hover .igx-switch__thumb{background:var(--thumb-off-hover-color)}.igx-switch:hover .igx-switch__label,.igx-switch:hover .igx-switch__label--before{color:var(--label-hover-color)}.igx-switch__input{position:absolute;width:1px;height:1px;margin:-1px;border:none;clip:rect(0,0,0,0);outline:0;pointer-events:none;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.igx-switch__composite{display:flex;align-items:center;width:var(--switch-width);height:var(--switch-height);border:.0625rem solid var(--border-color);border-radius:var(--border-radius-track);background:var(--track-off-color);-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .2s cubic-bezier(.455,.03,.515,.955);transition-delay:var(--_transition-delay);--ig-ripple-color: var(--track-off-color)}.igx-switch__composite-thumb{position:relative;width:var(--switch-thumb-size);height:var(--switch-thumb-size);min-width:var(--switch-thumb-size);transform:translate(var(--switch-off-offset));border-radius:var(--border-radius-thumb)}[dir=rtl] .igx-switch__composite-thumb{transform:translate(calc(var(--switch-off-offset) * -1))}.igx-switch__thumb{position:relative;display:block;width:var(--switch-thumb-size);height:var(--switch-thumb-size);min-width:var(--switch-thumb-size);border-radius:var(--border-radius-thumb);background:var(--thumb-off-color);transition:all .2s cubic-bezier(.455,.03,.515,.955);transition-delay:var(--_transition-delay)}.igx-switch__ripple{--_ripple-size: 2.5rem;display:none;position:absolute;top:calc(50% - var(--_ripple-size)/2);inset-inline-start:-50%;width:var(--_ripple-size);aspect-ratio:1;overflow:hidden;pointer-events:none;filter:opacity(1);border-radius:var(--border-radius-ripple)}.igx-switch__label{margin-inline-start:var(--label-margin)}.igx-switch__label--before{order:-1;margin-inline-end:var(--label-margin)}.igx-switch--focused.igx-switch--checked .igx-switch__ripple{background:var(--thumb-on-color)}.igx-switch--focused.igx-switch--checked:hover .igx-switch__composite{background:var(--track-on-hover-color);border-color:var(--border-on-hover-color)}.igx-switch--focused.igx-switch--checked:hover .igx-switch__thumb{background:var(--thumb-on-color)}.igx-switch--checked .igx-switch__composite{background:var(--track-on-color);border-color:var(--border-on-color);--ig-ripple-color: var(--thumb-on-color)}.igx-switch--checked .igx-switch__composite-thumb{transform:translate(var(--transform-thumb))}[dir=rtl] .igx-switch--checked .igx-switch__composite-thumb{transform:translate(calc(var(--transform-thumb) * -1))}.igx-switch--checked .igx-switch__thumb,.igx-switch--checked:hover .igx-switch__ripple{background:var(--thumb-on-color)}.igx-switch--checked:hover .igx-switch__composite{background:var(--track-on-hover-color);border-color:var(--border-on-hover-color)}.igx-switch--checked:hover .igx-switch__thumb,.igx-switch--checked:active .igx-switch__ripple{background:var(--thumb-on-color)}.igx-switch--disabled{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;cursor:initial}.igx-switch--disabled .igx-switch__composite{background:var(--track-disabled-color);border-color:var(--border-disabled-color)}.igx-switch--disabled .igx-switch__thumb{background:var(--thumb-disabled-color)}.igx-switch--disabled .igx-switch__label,.igx-switch--disabled .igx-switch__label--before{color:var(--label-disabled-color)}.igx-switch--disabled.igx-switch--checked .igx-switch__composite{background:var(--track-on-disabled-color)}.igx-switch--disabled.igx-switch--checked .igx-switch__thumb{background:var(--thumb-on-disabled-color)}}@layer ig.material{@container style(--ig-theme: material){.igx-switch{--transform-thumb: calc(var(--switch-width) - var(--switch-thumb-size));--switch-width: 2.25rem;--switch-height: .875rem;--switch-thumb-size: 1.25rem;--switch-on-offset: .0625rem;--switch-off-offset: -.0625rem;--label-margin: .75rem}.igx-switch__label{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin-block:0}.igx-switch__ripple{display:block}.igx-switch__thumb{box-shadow:var(--resting-elevation)}.igx-switch__thumb:hover{box-shadow:var(--hover-elevation)}.igx-switch--checked:hover .igx-switch__thumb{background:var(--thumb-on-color)}.igx-switch--disabled .igx-switch__thumb{box-shadow:var(--disabled-elevation)}}}@layer ig.bootstrap{@container style(--ig-theme: bootstrap){.igx-switch{--switch-width: 2rem;--switch-height: 1rem;--switch-thumb-size: .625rem;--switch-on-offset: .25rem;--switch-off-offset: calc(var(--switch-thumb-size) / 4);--label-margin: .5rem}.igx-switch__label{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom);margin-block:0}.igx-switch--focused .igx-switch__composite{border-color:var(--focus-fill-color);box-shadow:0 0 0 .25rem var(--focus-outline-color)}.igx-switch--focused .igx-switch__thumb{background:var(--focus-fill-color)}.igx-switch--focused:hover .igx-switch__composite{border-color:var(--focus-fill-hover-color)}.igx-switch--focused:hover .igx-switch__thumb{background:var(--focus-fill-hover-color)}.igx-switch--focused.igx-switch--checked .igx-switch__composite{border-color:var(--border-on-color)}.igx-switch--focused.igx-switch--checked .igx-switch__thumb{background:var(--thumb-on-color)}.igx-switch--focused.igx-switch--checked:hover .igx-switch__composite{border-color:var(--border-on-hover-color)}.igx-switch--disabled.igx-switch--checked .igx-switch__composite{border-color:var(--track-on-disabled-color)}}}@layer ig.fluent{@container style(--ig-theme: fluent){.igx-switch{--switch-width: 2.5rem;--switch-height: 1.25rem;--switch-thumb-size: .75rem;--switch-on-offset: .3125rem;--switch-off-offset: .1875rem;--label-margin: .5rem}.igx-switch__label{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin-block:0}.igx-switch--focused .igx-switch__composite{position:relative}.igx-switch--focused .igx-switch__composite:after{content:\"\";position:absolute;inset:-.1875rem;box-shadow:0 0 0 .0625rem var(--focus-outline-color)}.igx-switch--disabled.igx-switch--checked .igx-switch__composite{border-color:var(--track-on-disabled-color)}}}@layer ig.indigo{@container style(--ig-theme: indigo){.igx-switch{--switch-width: 2rem;--switch-height: 1rem;--switch-thumb-size: .5rem;--switch-on-offset: .4375rem;--switch-off-offset: calc(var(--switch-thumb-size) / 3);--label-margin: .5rem}.igx-switch__composite{border-width:.125rem}.igx-switch__label{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin-block:0}.igx-switch--focused .igx-switch__composite{box-shadow:0 0 0 .1875rem var(--focus-outline-color)}.igx-switch--focused.igx-switch--checked .igx-switch__composite{box-shadow:0 0 0 .1875rem var(--focus-outline-color-focused)}.igx-switch--disabled.igx-switch--checked .igx-switch__composite{border-color:#0000}}}\n"], dependencies: [{ kind: "directive", type: IgxRippleDirective, selector: "[igxRipple]", inputs: ["igxRippleTarget", "igxRipple", "igxRippleDuration", "igxRippleCentered", "igxRippleDisabled"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None }); }
|
|
95
95
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxSwitchComponent, decorators: [{
|
|
97
97
|
type: Component,
|
|
98
98
|
args: [{ providers: [{
|
|
99
99
|
provide: EDITOR_PROVIDER,
|
|
@@ -131,11 +131,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
|
|
|
131
131
|
* IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components
|
|
132
132
|
*/
|
|
133
133
|
class IgxSwitchModule {
|
|
134
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
135
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
136
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
135
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.0", ngImport: i0, type: IgxSwitchModule, imports: [IgxSwitchComponent], exports: [IgxSwitchComponent] }); }
|
|
136
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxSwitchModule }); }
|
|
137
137
|
}
|
|
138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxSwitchModule, decorators: [{
|
|
139
139
|
type: NgModule,
|
|
140
140
|
args: [{
|
|
141
141
|
imports: [
|
|
@@ -51,10 +51,10 @@ class IgxTabItemDirective {
|
|
|
51
51
|
this.selectedChange.emit(this._selected);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
55
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
55
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.2.0", type: IgxTabItemDirective, isStandalone: true, inputs: { disabled: ["disabled", "disabled", booleanAttribute], selected: ["selected", "selected", booleanAttribute] }, outputs: { selectedChange: "selectedChange" }, queries: [{ propertyName: "headerComponent", first: true, predicate: IgxTabHeaderBase, descendants: true }, { propertyName: "panelComponent", first: true, predicate: IgxTabContentBase, descendants: true }], viewQueries: [{ propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true, static: true }, { propertyName: "panelTemplate", first: true, predicate: ["panelTemplate"], descendants: true, static: true }], ngImport: i0 }); }
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabItemDirective, decorators: [{
|
|
58
58
|
type: Directive
|
|
59
59
|
}], propDecorators: { headerComponent: [{
|
|
60
60
|
type: ContentChild,
|
|
@@ -99,10 +99,10 @@ class IgxTabContentDirective {
|
|
|
99
99
|
get nativeElement() {
|
|
100
100
|
return this.elementRef.nativeElement;
|
|
101
101
|
}
|
|
102
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
103
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
103
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.0", type: IgxTabContentDirective, isStandalone: true, host: { properties: { "attr.role": "this.role", "attr.tabindex": "this.tabIndex", "style.z-index": "this.zIndex" } }, ngImport: i0 }); }
|
|
104
104
|
}
|
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabContentDirective, decorators: [{
|
|
106
106
|
type: Directive
|
|
107
107
|
}], propDecorators: { role: [{
|
|
108
108
|
type: HostBinding,
|
|
@@ -121,10 +121,10 @@ class IgxTabContentComponent extends IgxTabContentDirective {
|
|
|
121
121
|
/** @hidden */
|
|
122
122
|
this.cssClass = true;
|
|
123
123
|
}
|
|
124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
125
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
124
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabContentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
125
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.0", type: IgxTabContentComponent, isStandalone: true, selector: "igx-tab-content", host: { properties: { "class.igx-tabs-content__inner": "this.cssClass" } }, providers: [{ provide: IgxTabContentBase, useExisting: IgxTabContentComponent }], usesInheritance: true, ngImport: i0, template: "@if (tab.selected || tab.previous) {\n <ng-content></ng-content>\n}\n", styles: ["@layer ig.base{.igx-tabs-content{position:relative;overflow:hidden;display:flex;flex-direction:column;flex:1 1 auto}.igx-tabs-content__inner{position:absolute;inset:0;overflow-x:hidden;overflow-y:auto;flex:1 1 auto}.igx-tabs-content__inner::-moz-focus-inner{border:0}.igx-tabs-content__inner:focus{outline-width:0}.igx-tabs-content__inner[tabindex=\"0\"]{position:relative}}\n"], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None }); }
|
|
126
126
|
}
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabContentComponent, decorators: [{
|
|
128
128
|
type: Component,
|
|
129
129
|
args: [{ selector: 'igx-tab-content', changeDetection: ChangeDetectionStrategy.Eager, encapsulation: ViewEncapsulation.None, providers: [{ provide: IgxTabContentBase, useExisting: IgxTabContentComponent }], template: "@if (tab.selected || tab.previous) {\n <ng-content></ng-content>\n}\n", styles: ["@layer ig.base{.igx-tabs-content{position:relative;overflow:hidden;display:flex;flex-direction:column;flex:1 1 auto}.igx-tabs-content__inner{position:absolute;inset:0;overflow-x:hidden;overflow-y:auto;flex:1 1 auto}.igx-tabs-content__inner::-moz-focus-inner{border:0}.igx-tabs-content__inner:focus{outline-width:0}.igx-tabs-content__inner[tabindex=\"0\"]{position:relative}}\n"] }]
|
|
130
130
|
}], propDecorators: { cssClass: [{
|
|
@@ -167,10 +167,10 @@ class IgxTabHeaderDirective {
|
|
|
167
167
|
get nativeElement() {
|
|
168
168
|
return this.elementRef.nativeElement;
|
|
169
169
|
}
|
|
170
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
171
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
170
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
171
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.0", type: IgxTabHeaderDirective, isStandalone: true, host: { listeners: { "click": "onClick()" }, properties: { "attr.role": "this.role", "attr.tabindex": "this.tabIndex", "attr.aria-selected": "this.ariaSelected", "attr.aria-disabled": "this.ariaDisabled" } }, ngImport: i0 }); }
|
|
172
172
|
}
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabHeaderDirective, decorators: [{
|
|
174
174
|
type: Directive
|
|
175
175
|
}], propDecorators: { role: [{
|
|
176
176
|
type: HostBinding,
|
|
@@ -408,10 +408,10 @@ class IgxTabsDirective extends IgxCarouselComponentBase {
|
|
|
408
408
|
this.currentItem = item;
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
412
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
411
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
412
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.2.0", type: IgxTabsDirective, isStandalone: true, inputs: { selectedIndex: "selectedIndex", disableAnimation: ["disableAnimation", "disableAnimation", booleanAttribute] }, outputs: { selectedIndexChange: "selectedIndexChange", selectedIndexChanging: "selectedIndexChanging", selectedItemChange: "selectedItemChange" }, queries: [{ propertyName: "items", predicate: IgxTabItemDirective }, { propertyName: "panels", predicate: IgxTabContentBase, descendants: true }], usesInheritance: true, ngImport: i0 }); }
|
|
413
413
|
}
|
|
414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabsDirective, decorators: [{
|
|
415
415
|
type: Directive
|
|
416
416
|
}], propDecorators: { selectedIndex: [{
|
|
417
417
|
type: Input
|
|
@@ -687,10 +687,10 @@ class IgxTabsComponent extends IgxTabsDirective {
|
|
|
687
687
|
const rtl = !isLeftToRight(this._element.nativeElement);
|
|
688
688
|
return rtl ? this.itemsWrapper.nativeElement.offsetWidth - element.offsetLeft - element.offsetWidth : element.offsetLeft;
|
|
689
689
|
}
|
|
690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
691
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
690
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
691
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.0", type: IgxTabsComponent, isStandalone: true, selector: "igx-tabs", inputs: { tabAlignment: "tabAlignment", activation: "activation" }, host: { properties: { "class.igx-tabs": "this.defaultClass" } }, providers: [{ provide: IgxTabsBase, useExisting: IgxTabsComponent }], viewQueries: [{ propertyName: "headerContainer", first: true, predicate: ["headerContainer"], descendants: true, static: true }, { propertyName: "viewPort", first: true, predicate: ["viewPort"], descendants: true, static: true }, { propertyName: "itemsWrapper", first: true, predicate: ["itemsWrapper"], descendants: true, static: true }, { propertyName: "itemsContainer", first: true, predicate: ["itemsContainer"], descendants: true, static: true }, { propertyName: "selectedIndicator", first: true, predicate: ["selectedIndicator"], descendants: true }, { propertyName: "scrollPrevButton", first: true, predicate: ["scrollPrevButton"], descendants: true }, { propertyName: "scrollNextButton", first: true, predicate: ["scrollNextButton"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div #headerContainer class=\"igx-tabs-header\">\n <button #scrollPrevButton type=\"button\" igxIconButton=\"flat\" igxRipple tabindex=\"-1\" class=\"igx-tabs-header-button\" (click)=\"scrollPrev()\">\n <igx-icon family=\"default\" name=\"prev\"></igx-icon>\n </button>\n <div #viewPort class=\"igx-tabs-header__content\">\n <div #itemsWrapper class=\"igx-tabs-header__wrapper\" role=\"tablist\">\n <div #itemsContainer class=\"igx-tabs-header-scroll\" [ngClass]=\"resolveHeaderScrollClasses()\">\n @for (tab of items; track tab; let i = $index) {\n <ng-container *ngTemplateOutlet=\"tab.headerTemplate\"></ng-container>\n }\n </div>\n @if (items.length > 0) {\n <div #selectedIndicator class=\"igx-tabs-header__active-indicator\">\n </div>\n }\n </div>\n </div>\n <button #scrollNextButton type=\"button\" igxIconButton=\"flat\" igxRipple tabindex=\"-1\" class=\"igx-tabs-header-button\" (click)=\"scrollNext()\">\n <igx-icon family=\"default\" name=\"next\"></igx-icon>\n </button>\n</div>\n<div class=\"igx-tabs-content\">\n @for (tab of items; track tab; let i = $index) {\n <ng-container *ngTemplateOutlet=\"tab.panelTemplate\"></ng-container>\n }\n</div>\n", styles: ["@layer ig.base{.igx-tabs{--nav-btn-border-color: var(--border-color);display:flex;flex-direction:column;overflow:hidden}}\n"], dependencies: [{ kind: "directive", type: IgxRippleDirective, selector: "[igxRipple]", inputs: ["igxRippleTarget", "igxRipple", "igxRippleDuration", "igxRippleCentered", "igxRippleDisabled"] }, { kind: "component", type: IgxIconComponent, selector: "igx-icon", inputs: ["ariaHidden", "family", "name", "active"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: IgxIconButtonDirective, selector: "[igxIconButton]", inputs: ["igxIconButton"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None }); }
|
|
692
692
|
}
|
|
693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabsComponent, decorators: [{
|
|
694
694
|
type: Component,
|
|
695
695
|
args: [{ selector: 'igx-tabs', encapsulation: ViewEncapsulation.None, providers: [{ provide: IgxTabsBase, useExisting: IgxTabsComponent }], changeDetection: ChangeDetectionStrategy.Eager, imports: [IgxRippleDirective, IgxIconComponent, NgClass, NgTemplateOutlet, IgxIconButtonDirective], template: "<div #headerContainer class=\"igx-tabs-header\">\n <button #scrollPrevButton type=\"button\" igxIconButton=\"flat\" igxRipple tabindex=\"-1\" class=\"igx-tabs-header-button\" (click)=\"scrollPrev()\">\n <igx-icon family=\"default\" name=\"prev\"></igx-icon>\n </button>\n <div #viewPort class=\"igx-tabs-header__content\">\n <div #itemsWrapper class=\"igx-tabs-header__wrapper\" role=\"tablist\">\n <div #itemsContainer class=\"igx-tabs-header-scroll\" [ngClass]=\"resolveHeaderScrollClasses()\">\n @for (tab of items; track tab; let i = $index) {\n <ng-container *ngTemplateOutlet=\"tab.headerTemplate\"></ng-container>\n }\n </div>\n @if (items.length > 0) {\n <div #selectedIndicator class=\"igx-tabs-header__active-indicator\">\n </div>\n }\n </div>\n </div>\n <button #scrollNextButton type=\"button\" igxIconButton=\"flat\" igxRipple tabindex=\"-1\" class=\"igx-tabs-header-button\" (click)=\"scrollNext()\">\n <igx-icon family=\"default\" name=\"next\"></igx-icon>\n </button>\n</div>\n<div class=\"igx-tabs-content\">\n @for (tab of items; track tab; let i = $index) {\n <ng-container *ngTemplateOutlet=\"tab.panelTemplate\"></ng-container>\n }\n</div>\n", styles: ["@layer ig.base{.igx-tabs{--nav-btn-border-color: var(--border-color);display:flex;flex-direction:column;overflow:hidden}}\n"] }]
|
|
696
696
|
}], propDecorators: { tabAlignment: [{
|
|
@@ -823,10 +823,10 @@ class IgxTabHeaderComponent extends IgxTabHeaderDirective {
|
|
|
823
823
|
}
|
|
824
824
|
return newIndex;
|
|
825
825
|
}
|
|
826
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
827
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
826
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
827
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.0", type: IgxTabHeaderComponent, isStandalone: true, selector: "igx-tab-header", host: { listeners: { "keydown": "keyDown($event)" }, properties: { "class.igx-tab-header--selected": "this.provideCssClassSelected", "class.igx-tab-header--disabled": "this.provideCssClassDisabled", "class.igx-tab-header--justify": "this.applyJustifyClass", "class.igx-tab-header": "this.cssClass" } }, providers: [{ provide: IgxTabHeaderBase, useExisting: IgxTabHeaderComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"igx-prefix,[igxPrefix]\"></ng-content>\n\n<div class=\"igx-tab-header__inner\">\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"igx-suffix,[igxSuffix]\"></ng-content>\n", styles: ["@layer ig.base{.igx-tab-header{--ig-ripple-color: var(--tab-ripple-color);display:inline-flex;justify-content:center;align-items:center;min-width:5.625rem;max-width:22.5rem;word-wrap:break-word;flex-basis:auto;flex-shrink:0;padding:.6875rem 1rem;overflow:hidden;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:var(--item-background);color:var(--item-text-color);outline:0;gap:.5rem}.igx-tab-header igx-icon{color:var(--item-icon-color)}.igx-tab-header::-moz-focus-inner{border:0}.igx-tab-header:focus{background:var(--item-hover-background);color:var(--item-hover-color);border-bottom-color:#0000}.igx-tab-header:hover{background:var(--item-hover-background);color:var(--item-hover-color)}.igx-tab-header:hover igx-icon,.igx-tab-header:focus igx-icon{color:var(--item-hover-icon-color)}.igx-tab-header--justify{flex-basis:0;flex-grow:1;max-width:100%}.igx-tab-header--selected{outline:0;color:var(--item-active-color);background:var(--item-active-background)}.igx-tab-header--selected:hover,.igx-tab-header--selected:focus{background:var(--item-active-hover-background);color:var(--item-active-hover-color)}.igx-tab-header--selected:hover igx-icon,.igx-tab-header--selected:focus igx-icon{color:var(--item-active-hover-icon-color)}.igx-tab-header--selected igx-icon{color:var(--item-active-icon-color)}.igx-tab-header--disabled{outline:0;color:var(--item-disabled-color);cursor:default;pointer-events:none}.igx-tab-header--disabled igx-icon{color:var(--item-disabled-icon-color)}.igx-tab-header__inner{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:.5rem}.igx-tab-header__inner>[igxtabheaderlabel]{font-family:var(--ig-button-font-family, var(--ig-font-family));font-size:var(--ig-button-font-size);font-weight:var(--ig-button-font-weight);font-style:var(--ig-button-font-style);line-height:var(--ig-button-line-height);letter-spacing:var(--ig-button-letter-spacing);text-transform:var(--ig-button-text-transform);margin-top:var(--ig-button-margin-top);margin-bottom:var(--ig-button-margin-bottom);margin:0;display:-webkit-inline-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.igx-tab-header__inner>[igxtabheadericon]:last-child{margin-bottom:0}}@layer ig.bootstrap{@container style(--ig-theme: bootstrap){.igx-tabs .igx-tab-header--selected:focus,.igx-tabs .igx-tab-header:focus{border:none;box-shadow:inset 0 0 0 .125rem var(--item-hover-color);border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem;z-index:1}.igx-tabs .igx-tab-header--selected:focus:after,.igx-tabs .igx-tab-header:focus:after{display:none}.igx-tab-header{min-height:3rem;padding-block:.75rem;border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius)}.igx-tab-header:hover{box-shadow:inset 0 0 0 .0625rem var(--border-color--hover)}.igx-tab-header--selected{position:relative;box-shadow:inset 0 0 0 .0625rem var(--border-color);z-index:1}.igx-tab-header--selected:not(:focus):before{content:\"\";position:absolute;bottom:0;inset-inline-start:0;width:100%;height:.0625rem;background:linear-gradient(to right,var(--border-color) 1px,var(--item-active-background) 1px,var(--item-active-background) calc(100% - 1px),var(--border-color) calc(100% - 1px));z-index:-1}.igx-tab-header--selected:hover{box-shadow:inset 0 0 0 .0625rem var(--border-color)}.igx-tab-header--selected:hover:before{background:linear-gradient(to right,var(--border-color) 1px,var(--item-active-hover-background) 1px,var(--item-active-hover-background) calc(100% - 1px),var(--border-color) calc(100% - 1px))}}}@layer ig.indigo{@container style(--ig-theme: indigo){.igx-tab-header{min-height:2.5rem}.igx-tab-header igx-icon{--ig-size: 2}.igx-tab-header{transition:all .3s cubic-bezier(.35,0,.25,1);border:.0625rem solid var(--border-color);border-radius:var(--border-radius);border-top:.0625rem solid rgba(0,0,0,0);border-inline:none}.igx-tab-header:hover,.igx-tab-header:focus{border-top:.0625rem solid rgba(0,0,0,0);border-inline:none;border-bottom:.0625rem solid var(--border-color)}.igx-tab-header__inner>[igxtabheaderlabel]{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom);--ig-subtitle-2-text-transform: uppercase;--ig-subtitle-2-font-weight: 600;margin:0}}}@layer ig.fluent{@container style(--ig-theme: fluent){.igx-tab-header{--ig-button-font-weight: 500;min-height:2.75rem;transition:all .3s cubic-bezier(.35,0,.25,1);border:.0625rem solid var(--border-color);border-radius:var(--border-radius)}.igx-tab-header:hover,.igx-tab-header:focus{border:.0625rem solid var(--border-color--hover)}.igx-tab-header--selected{--ig-button-font-weight: 600}}}@layer ig.material{@container style(--ig-theme: material){.igx-tab-header{min-height:3rem;transition:all .3s cubic-bezier(.35,0,.25,1);border:.0625rem solid var(--border-color);border-radius:var(--border-radius)}.igx-tab-header:hover,.igx-tab-header:focus{border:.0625rem solid var(--border-color--hover)}}}\n"], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None }); }
|
|
828
828
|
}
|
|
829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabHeaderComponent, decorators: [{
|
|
830
830
|
type: Component,
|
|
831
831
|
args: [{ selector: 'igx-tab-header', encapsulation: ViewEncapsulation.None, providers: [{ provide: IgxTabHeaderBase, useExisting: IgxTabHeaderComponent }], changeDetection: ChangeDetectionStrategy.Eager, standalone: true, template: "<ng-content select=\"igx-prefix,[igxPrefix]\"></ng-content>\n\n<div class=\"igx-tab-header__inner\">\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"igx-suffix,[igxSuffix]\"></ng-content>\n", styles: ["@layer ig.base{.igx-tab-header{--ig-ripple-color: var(--tab-ripple-color);display:inline-flex;justify-content:center;align-items:center;min-width:5.625rem;max-width:22.5rem;word-wrap:break-word;flex-basis:auto;flex-shrink:0;padding:.6875rem 1rem;overflow:hidden;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:var(--item-background);color:var(--item-text-color);outline:0;gap:.5rem}.igx-tab-header igx-icon{color:var(--item-icon-color)}.igx-tab-header::-moz-focus-inner{border:0}.igx-tab-header:focus{background:var(--item-hover-background);color:var(--item-hover-color);border-bottom-color:#0000}.igx-tab-header:hover{background:var(--item-hover-background);color:var(--item-hover-color)}.igx-tab-header:hover igx-icon,.igx-tab-header:focus igx-icon{color:var(--item-hover-icon-color)}.igx-tab-header--justify{flex-basis:0;flex-grow:1;max-width:100%}.igx-tab-header--selected{outline:0;color:var(--item-active-color);background:var(--item-active-background)}.igx-tab-header--selected:hover,.igx-tab-header--selected:focus{background:var(--item-active-hover-background);color:var(--item-active-hover-color)}.igx-tab-header--selected:hover igx-icon,.igx-tab-header--selected:focus igx-icon{color:var(--item-active-hover-icon-color)}.igx-tab-header--selected igx-icon{color:var(--item-active-icon-color)}.igx-tab-header--disabled{outline:0;color:var(--item-disabled-color);cursor:default;pointer-events:none}.igx-tab-header--disabled igx-icon{color:var(--item-disabled-icon-color)}.igx-tab-header__inner{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:.5rem}.igx-tab-header__inner>[igxtabheaderlabel]{font-family:var(--ig-button-font-family, var(--ig-font-family));font-size:var(--ig-button-font-size);font-weight:var(--ig-button-font-weight);font-style:var(--ig-button-font-style);line-height:var(--ig-button-line-height);letter-spacing:var(--ig-button-letter-spacing);text-transform:var(--ig-button-text-transform);margin-top:var(--ig-button-margin-top);margin-bottom:var(--ig-button-margin-bottom);margin:0;display:-webkit-inline-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.igx-tab-header__inner>[igxtabheadericon]:last-child{margin-bottom:0}}@layer ig.bootstrap{@container style(--ig-theme: bootstrap){.igx-tabs .igx-tab-header--selected:focus,.igx-tabs .igx-tab-header:focus{border:none;box-shadow:inset 0 0 0 .125rem var(--item-hover-color);border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem;z-index:1}.igx-tabs .igx-tab-header--selected:focus:after,.igx-tabs .igx-tab-header:focus:after{display:none}.igx-tab-header{min-height:3rem;padding-block:.75rem;border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius)}.igx-tab-header:hover{box-shadow:inset 0 0 0 .0625rem var(--border-color--hover)}.igx-tab-header--selected{position:relative;box-shadow:inset 0 0 0 .0625rem var(--border-color);z-index:1}.igx-tab-header--selected:not(:focus):before{content:\"\";position:absolute;bottom:0;inset-inline-start:0;width:100%;height:.0625rem;background:linear-gradient(to right,var(--border-color) 1px,var(--item-active-background) 1px,var(--item-active-background) calc(100% - 1px),var(--border-color) calc(100% - 1px));z-index:-1}.igx-tab-header--selected:hover{box-shadow:inset 0 0 0 .0625rem var(--border-color)}.igx-tab-header--selected:hover:before{background:linear-gradient(to right,var(--border-color) 1px,var(--item-active-hover-background) 1px,var(--item-active-hover-background) calc(100% - 1px),var(--border-color) calc(100% - 1px))}}}@layer ig.indigo{@container style(--ig-theme: indigo){.igx-tab-header{min-height:2.5rem}.igx-tab-header igx-icon{--ig-size: 2}.igx-tab-header{transition:all .3s cubic-bezier(.35,0,.25,1);border:.0625rem solid var(--border-color);border-radius:var(--border-radius);border-top:.0625rem solid rgba(0,0,0,0);border-inline:none}.igx-tab-header:hover,.igx-tab-header:focus{border-top:.0625rem solid rgba(0,0,0,0);border-inline:none;border-bottom:.0625rem solid var(--border-color)}.igx-tab-header__inner>[igxtabheaderlabel]{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom);--ig-subtitle-2-text-transform: uppercase;--ig-subtitle-2-font-weight: 600;margin:0}}}@layer ig.fluent{@container style(--ig-theme: fluent){.igx-tab-header{--ig-button-font-weight: 500;min-height:2.75rem;transition:all .3s cubic-bezier(.35,0,.25,1);border:.0625rem solid var(--border-color);border-radius:var(--border-radius)}.igx-tab-header:hover,.igx-tab-header:focus{border:.0625rem solid var(--border-color--hover)}.igx-tab-header--selected{--ig-button-font-weight: 600}}}@layer ig.material{@container style(--ig-theme: material){.igx-tab-header{min-height:3rem;transition:all .3s cubic-bezier(.35,0,.25,1);border:.0625rem solid var(--border-color);border-radius:var(--border-radius)}.igx-tab-header:hover,.igx-tab-header:focus{border:.0625rem solid var(--border-color--hover)}}}\n"] }]
|
|
832
832
|
}], propDecorators: { provideCssClassSelected: [{
|
|
@@ -847,19 +847,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
|
|
|
847
847
|
}] } });
|
|
848
848
|
|
|
849
849
|
class IgxTabItemComponent extends IgxTabItemDirective {
|
|
850
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
851
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
850
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
851
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.0", type: IgxTabItemComponent, isStandalone: true, selector: "igx-tab-item", providers: [{ provide: IgxTabItemDirective, useExisting: IgxTabItemComponent }], usesInheritance: true, ngImport: i0, template: "<ng-template #headerTemplate>\n <ng-content select=\"igx-tab-header\"></ng-content>\n</ng-template>\n<ng-template #panelTemplate>\n <ng-content select=\"igx-tab-content\"></ng-content>\n</ng-template>\n", styles: ["@layer ig.base{.igx-tabs-header{display:flex;align-items:center;overflow:hidden;flex:0 0 auto;z-index:1}.igx-tabs-header__content{display:flex;align-items:center;flex:1 1 auto;overflow:hidden;scroll-behavior:smooth}.igx-tabs-header__wrapper{position:relative;flex-grow:1}.igx-tabs-header__active-indicator{position:absolute;bottom:0;left:0;transform:translate(0);height:.125rem;min-width:5.625rem;background:var(--indicator-color);transition:transform .3s cubic-bezier(.35,0,.25,1),width .2s cubic-bezier(.35,0,.25,1)}.igx-tabs-header-button{--ig-ripple-color: var(--button-ripple-color);display:flex;align-items:center;justify-content:center;z-index:1;border:none;padding:0;min-width:3rem;width:3rem;cursor:pointer;position:relative;background:var(--button-background);color:var(--button-color);outline:0;align-self:stretch;height:auto;transition:none;border-radius:clamp(0rem,calc(var(--ig-radius-factor, calc(NaN)) * 0),0)}.igx-tabs-header-button:hover{background:var(--button-hover-background);color:var(--button-hover-color)}.igx-tabs-header-button:focus{outline:0}.igx-tabs-header-button::-moz-focus-inner{border:0}.igx-tabs-header-button:disabled{color:var(--button-disabled-color);cursor:default;pointer-events:none}.igx-tabs-header-button--none{display:none}[dir=rtl] .igx-tabs-header-button{transform:scaleX(-1)}.igx-tabs-header-scroll{display:flex;height:100%}.igx-tabs-header-scroll--start{justify-content:flex-start}.igx-tabs-header-scroll--end{justify-content:flex-end;min-width:-moz-max-content;min-width:max-content}.igx-tabs-header-scroll--center{justify-content:center;min-width:-moz-max-content;min-width:max-content}}@layer ig.bootstrap{@container style(--ig-theme: bootstrap){.igx-tabs-header{--ig-icon-size: 1.5rem;position:relative;background:var(--item-background)}.igx-tabs-header:after{content:\"\";position:absolute;bottom:0;inset-inline-start:0;width:100%;height:.0625rem;background:var(--border-color);z-index:0}.igx-tabs-header__active-indicator{display:none}.igx-tabs-header-button:focus{background:var(--button-hover-background)}}}@layer ig.indigo{@container style(--ig-theme: indigo){.igx-tabs-header{--ig-icon-size: 1rem}.igx-tabs-header__active-indicator{height:.1875rem}.igx-tabs-header-button{min-width:2.5rem;width:2.5rem}.igx-tabs-header-button:after{content:\"\";position:absolute;pointer-events:none;width:100%;height:100%;border-bottom:.0625rem solid var(--nav-btn-border-color)}}}@layer ig.fluent{@container style(--ig-theme: fluent){.igx-tabs-header{--ig-icon-size: 1.5rem}.igx-tabs-header-button:focus{background:var(--button-hover-background)}}}@layer ig.material{@container style(--ig-theme: material){.igx-tabs-header{--ig-icon-size: 1.5rem;background:var(--item-background)}.igx-tabs-header-button:focus{background:var(--button-hover-background)}}}\n"], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None }); }
|
|
852
852
|
}
|
|
853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabItemComponent, decorators: [{
|
|
854
854
|
type: Component,
|
|
855
855
|
args: [{ selector: 'igx-tab-item', encapsulation: ViewEncapsulation.None, providers: [{ provide: IgxTabItemDirective, useExisting: IgxTabItemComponent }], changeDetection: ChangeDetectionStrategy.Eager, standalone: true, template: "<ng-template #headerTemplate>\n <ng-content select=\"igx-tab-header\"></ng-content>\n</ng-template>\n<ng-template #panelTemplate>\n <ng-content select=\"igx-tab-content\"></ng-content>\n</ng-template>\n", styles: ["@layer ig.base{.igx-tabs-header{display:flex;align-items:center;overflow:hidden;flex:0 0 auto;z-index:1}.igx-tabs-header__content{display:flex;align-items:center;flex:1 1 auto;overflow:hidden;scroll-behavior:smooth}.igx-tabs-header__wrapper{position:relative;flex-grow:1}.igx-tabs-header__active-indicator{position:absolute;bottom:0;left:0;transform:translate(0);height:.125rem;min-width:5.625rem;background:var(--indicator-color);transition:transform .3s cubic-bezier(.35,0,.25,1),width .2s cubic-bezier(.35,0,.25,1)}.igx-tabs-header-button{--ig-ripple-color: var(--button-ripple-color);display:flex;align-items:center;justify-content:center;z-index:1;border:none;padding:0;min-width:3rem;width:3rem;cursor:pointer;position:relative;background:var(--button-background);color:var(--button-color);outline:0;align-self:stretch;height:auto;transition:none;border-radius:clamp(0rem,calc(var(--ig-radius-factor, calc(NaN)) * 0),0)}.igx-tabs-header-button:hover{background:var(--button-hover-background);color:var(--button-hover-color)}.igx-tabs-header-button:focus{outline:0}.igx-tabs-header-button::-moz-focus-inner{border:0}.igx-tabs-header-button:disabled{color:var(--button-disabled-color);cursor:default;pointer-events:none}.igx-tabs-header-button--none{display:none}[dir=rtl] .igx-tabs-header-button{transform:scaleX(-1)}.igx-tabs-header-scroll{display:flex;height:100%}.igx-tabs-header-scroll--start{justify-content:flex-start}.igx-tabs-header-scroll--end{justify-content:flex-end;min-width:-moz-max-content;min-width:max-content}.igx-tabs-header-scroll--center{justify-content:center;min-width:-moz-max-content;min-width:max-content}}@layer ig.bootstrap{@container style(--ig-theme: bootstrap){.igx-tabs-header{--ig-icon-size: 1.5rem;position:relative;background:var(--item-background)}.igx-tabs-header:after{content:\"\";position:absolute;bottom:0;inset-inline-start:0;width:100%;height:.0625rem;background:var(--border-color);z-index:0}.igx-tabs-header__active-indicator{display:none}.igx-tabs-header-button:focus{background:var(--button-hover-background)}}}@layer ig.indigo{@container style(--ig-theme: indigo){.igx-tabs-header{--ig-icon-size: 1rem}.igx-tabs-header__active-indicator{height:.1875rem}.igx-tabs-header-button{min-width:2.5rem;width:2.5rem}.igx-tabs-header-button:after{content:\"\";position:absolute;pointer-events:none;width:100%;height:100%;border-bottom:.0625rem solid var(--nav-btn-border-color)}}}@layer ig.fluent{@container style(--ig-theme: fluent){.igx-tabs-header{--ig-icon-size: 1.5rem}.igx-tabs-header-button:focus{background:var(--button-hover-background)}}}@layer ig.material{@container style(--ig-theme: material){.igx-tabs-header{--ig-icon-size: 1.5rem;background:var(--item-background)}.igx-tabs-header-button:focus{background:var(--button-hover-background)}}}\n"] }]
|
|
856
856
|
}] });
|
|
857
857
|
|
|
858
858
|
class IgxTabHeaderLabelDirective {
|
|
859
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
860
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
859
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabHeaderLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
860
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.0", type: IgxTabHeaderLabelDirective, isStandalone: true, selector: "[igxTabHeaderLabel],igx-tab-header-label", hostDirectives: [{ directive: i1.IgxNoTypographyDirective }], ngImport: i0 }); }
|
|
861
861
|
}
|
|
862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabHeaderLabelDirective, decorators: [{
|
|
863
863
|
type: Directive,
|
|
864
864
|
args: [{
|
|
865
865
|
selector: '[igxTabHeaderLabel],igx-tab-header-label',
|
|
@@ -868,10 +868,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
|
|
|
868
868
|
}]
|
|
869
869
|
}] });
|
|
870
870
|
class IgxTabHeaderIconDirective {
|
|
871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
872
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
871
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabHeaderIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
872
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.0", type: IgxTabHeaderIconDirective, isStandalone: true, selector: "[igxTabHeaderIcon],igx-tab-header-icon", ngImport: i0 }); }
|
|
873
873
|
}
|
|
874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabHeaderIconDirective, decorators: [{
|
|
875
875
|
type: Directive,
|
|
876
876
|
args: [{
|
|
877
877
|
selector: '[igxTabHeaderIcon],igx-tab-header-icon',
|
|
@@ -896,11 +896,11 @@ const IGX_TABS_DIRECTIVES = [
|
|
|
896
896
|
* IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components
|
|
897
897
|
*/
|
|
898
898
|
class IgxTabsModule {
|
|
899
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
900
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
901
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
899
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
900
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.0", ngImport: i0, type: IgxTabsModule, imports: [IgxTabsComponent, IgxTabItemComponent, IgxTabHeaderComponent, IgxTabContentComponent, IgxTabHeaderLabelDirective, IgxTabHeaderIconDirective, i6.IgxPrefixDirective, i6.IgxSuffixDirective], exports: [IgxTabsComponent, IgxTabItemComponent, IgxTabHeaderComponent, IgxTabContentComponent, IgxTabHeaderLabelDirective, IgxTabHeaderIconDirective, i6.IgxPrefixDirective, i6.IgxSuffixDirective] }); }
|
|
901
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabsModule, imports: [IgxTabsComponent] }); }
|
|
902
902
|
}
|
|
903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.0", ngImport: i0, type: IgxTabsModule, decorators: [{
|
|
904
904
|
type: NgModule,
|
|
905
905
|
args: [{
|
|
906
906
|
imports: [
|