igniteui-angular 21.0.0-alpha.0 → 21.0.0-alpha.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/fesm2022/igniteui-angular-accordion.mjs +24 -2
- package/fesm2022/igniteui-angular-accordion.mjs.map +1 -1
- package/fesm2022/igniteui-angular-action-strip.mjs +23 -2
- package/fesm2022/igniteui-angular-action-strip.mjs.map +1 -1
- package/fesm2022/igniteui-angular-avatar.mjs +19 -2
- package/fesm2022/igniteui-angular-avatar.mjs.map +1 -1
- package/fesm2022/igniteui-angular-badge.mjs +19 -2
- package/fesm2022/igniteui-angular-badge.mjs.map +1 -1
- package/fesm2022/igniteui-angular-banner.mjs +19 -2
- package/fesm2022/igniteui-angular-banner.mjs.map +1 -1
- package/fesm2022/igniteui-angular-bottom-nav.mjs +23 -2
- package/fesm2022/igniteui-angular-bottom-nav.mjs.map +1 -1
- package/fesm2022/igniteui-angular-calendar.mjs +23 -2
- package/fesm2022/igniteui-angular-calendar.mjs.map +1 -1
- package/fesm2022/igniteui-angular-card.mjs +23 -2
- package/fesm2022/igniteui-angular-card.mjs.map +1 -1
- package/fesm2022/igniteui-angular-carousel.mjs +25 -4
- package/fesm2022/igniteui-angular-carousel.mjs.map +1 -1
- package/fesm2022/igniteui-angular-checkbox.mjs +19 -2
- package/fesm2022/igniteui-angular-checkbox.mjs.map +1 -1
- package/fesm2022/igniteui-angular-chips.mjs +24 -2
- package/fesm2022/igniteui-angular-chips.mjs.map +1 -1
- package/fesm2022/igniteui-angular-combo.mjs +24 -2
- package/fesm2022/igniteui-angular-combo.mjs.map +1 -1
- package/fesm2022/igniteui-angular-core.mjs +27 -1
- package/fesm2022/igniteui-angular-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-date-picker.mjs.map +1 -1
- package/fesm2022/igniteui-angular-dialog.mjs +23 -2
- package/fesm2022/igniteui-angular-dialog.mjs.map +1 -1
- package/fesm2022/igniteui-angular-directives.mjs +4 -30
- package/fesm2022/igniteui-angular-directives.mjs.map +1 -1
- package/fesm2022/igniteui-angular-drop-down.mjs +40 -2
- package/fesm2022/igniteui-angular-drop-down.mjs.map +1 -1
- package/fesm2022/igniteui-angular-expansion-panel.mjs +23 -2
- package/fesm2022/igniteui-angular-expansion-panel.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-core.mjs +29 -11
- package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-grid.mjs +4 -4
- package/fesm2022/igniteui-angular-grids-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs +4 -4
- package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs +2 -2
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-tree-grid.mjs +4 -4
- package/fesm2022/igniteui-angular-grids-tree-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-list.mjs +23 -2
- package/fesm2022/igniteui-angular-list.mjs.map +1 -1
- package/fesm2022/igniteui-angular-navigation-drawer.mjs +22 -2
- package/fesm2022/igniteui-angular-navigation-drawer.mjs.map +1 -1
- package/fesm2022/igniteui-angular-paginator.mjs +23 -2
- package/fesm2022/igniteui-angular-paginator.mjs.map +1 -1
- package/fesm2022/igniteui-angular-progressbar.mjs +23 -2
- package/fesm2022/igniteui-angular-progressbar.mjs.map +1 -1
- package/fesm2022/igniteui-angular-query-builder.mjs +2 -2
- package/fesm2022/igniteui-angular-query-builder.mjs.map +1 -1
- package/fesm2022/igniteui-angular-radio.mjs +2 -2
- package/fesm2022/igniteui-angular-radio.mjs.map +1 -1
- package/fesm2022/igniteui-angular-simple-combo.mjs +24 -2
- package/fesm2022/igniteui-angular-simple-combo.mjs.map +1 -1
- package/fesm2022/igniteui-angular-slider.mjs +27 -6
- package/fesm2022/igniteui-angular-slider.mjs.map +1 -1
- package/fesm2022/igniteui-angular-stepper.mjs +25 -4
- package/fesm2022/igniteui-angular-stepper.mjs.map +1 -1
- package/fesm2022/igniteui-angular-tabs.mjs +6 -6
- package/fesm2022/igniteui-angular-tabs.mjs.map +1 -1
- package/fesm2022/igniteui-angular-time-picker.mjs +29 -7
- package/fesm2022/igniteui-angular-time-picker.mjs.map +1 -1
- package/fesm2022/igniteui-angular-toast.mjs +23 -2
- package/fesm2022/igniteui-angular-toast.mjs.map +1 -1
- package/fesm2022/igniteui-angular-tree.mjs +23 -2
- package/fesm2022/igniteui-angular-tree.mjs.map +1 -1
- package/migrations/update-21_0_0/changes/classes.json +4 -0
- package/migrations/update-21_0_0/changes/theme-changes.json +53 -0
- package/migrations/update-21_0_0/index.js +181 -20
- package/migrations/update-21_0_0/schema.json +1 -1
- package/package.json +12 -12
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- package/styles/maps/igniteui-indigo-light.css.map +1 -1
- package/types/igniteui-angular-accordion.d.ts +12 -1
- package/types/igniteui-angular-action-strip.d.ts +11 -1
- package/types/igniteui-angular-avatar.d.ts +11 -1
- package/types/igniteui-angular-badge.d.ts +11 -1
- package/types/igniteui-angular-banner.d.ts +11 -1
- package/types/igniteui-angular-bottom-nav.d.ts +11 -1
- package/types/igniteui-angular-calendar.d.ts +11 -1
- package/types/igniteui-angular-card.d.ts +11 -1
- package/types/igniteui-angular-carousel.d.ts +13 -3
- package/types/igniteui-angular-checkbox.d.ts +11 -1
- package/types/igniteui-angular-chips.d.ts +12 -1
- package/types/igniteui-angular-combo.d.ts +12 -1
- package/types/igniteui-angular-core.d.ts +14 -7
- package/types/igniteui-angular-date-picker.d.ts +2 -2
- package/types/igniteui-angular-dialog.d.ts +11 -1
- package/types/igniteui-angular-directives.d.ts +3 -18
- package/types/igniteui-angular-drop-down.d.ts +23 -3
- package/types/igniteui-angular-expansion-panel.d.ts +11 -1
- package/types/igniteui-angular-grids-core.d.ts +17 -8
- package/types/igniteui-angular-grids-grid.d.ts +4 -4
- package/types/igniteui-angular-grids-hierarchical-grid.d.ts +2 -2
- package/types/igniteui-angular-grids-tree-grid.d.ts +2 -2
- package/types/igniteui-angular-list.d.ts +11 -1
- package/types/igniteui-angular-navigation-drawer.d.ts +10 -1
- package/types/igniteui-angular-paginator.d.ts +11 -1
- package/types/igniteui-angular-progressbar.d.ts +11 -1
- package/types/igniteui-angular-query-builder.d.ts +1 -2
- package/types/igniteui-angular-radio.d.ts +3 -4
- package/types/igniteui-angular-simple-combo.d.ts +13 -1
- package/types/igniteui-angular-slider.d.ts +14 -4
- package/types/igniteui-angular-stepper.d.ts +13 -3
- package/types/igniteui-angular-tabs.d.ts +5 -5
- package/types/igniteui-angular-time-picker.d.ts +13 -1
- package/types/igniteui-angular-toast.d.ts +11 -1
- package/types/igniteui-angular-tree.d.ts +11 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Input, Output, HostBinding, Optional, Inject, Component } from '@angular/core';
|
|
2
|
+
import { EventEmitter, Input, Output, HostBinding, Optional, Inject, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { takeUntil } from 'rxjs/operators';
|
|
4
4
|
import * as i1 from 'igniteui-angular/core';
|
|
5
5
|
import { VerticalAlignment, HorizontalAlignment, GlobalPositionStrategy, IgxOverlayService } from 'igniteui-angular/core';
|
|
@@ -186,9 +186,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImpor
|
|
|
186
186
|
type: Input
|
|
187
187
|
}] } });
|
|
188
188
|
|
|
189
|
+
/**
|
|
190
|
+
* @hidden
|
|
191
|
+
* IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components
|
|
192
|
+
*/
|
|
193
|
+
class IgxToastModule {
|
|
194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: IgxToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
195
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0", ngImport: i0, type: IgxToastModule, imports: [IgxToastComponent], exports: [IgxToastComponent] }); }
|
|
196
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: IgxToastModule }); }
|
|
197
|
+
}
|
|
198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: IgxToastModule, decorators: [{
|
|
199
|
+
type: NgModule,
|
|
200
|
+
args: [{
|
|
201
|
+
imports: [
|
|
202
|
+
IgxToastComponent
|
|
203
|
+
],
|
|
204
|
+
exports: [
|
|
205
|
+
IgxToastComponent
|
|
206
|
+
]
|
|
207
|
+
}]
|
|
208
|
+
}] });
|
|
209
|
+
|
|
189
210
|
/**
|
|
190
211
|
* Generated bundle index. Do not edit.
|
|
191
212
|
*/
|
|
192
213
|
|
|
193
|
-
export { IgxToastComponent };
|
|
214
|
+
export { IgxToastComponent, IgxToastModule };
|
|
194
215
|
//# sourceMappingURL=igniteui-angular-toast.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"igniteui-angular-toast.mjs","sources":["../../../projects/igniteui-angular/toast/src/toast/toast.component.ts","../../../projects/igniteui-angular/toast/src/toast/toast.component.html","../../../projects/igniteui-angular/toast/src/igniteui-angular-toast.ts"],"sourcesContent":["import {\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n OnInit,\n Optional,\n Output\n} from '@angular/core';\nimport { takeUntil } from 'rxjs/operators';\nimport { IgxNavigationService } from 'igniteui-angular/core';\nimport {\n IgxOverlayService,\n HorizontalAlignment,\n VerticalAlignment,\n GlobalPositionStrategy,\n PositionSettings\n} from 'igniteui-angular/core';\nimport { IgxNotificationsDirective } from 'igniteui-angular/directives';\nimport { ToggleViewEventArgs } from 'igniteui-angular/directives';\nimport { useAnimation } from '@angular/animations';\nimport { fadeIn, fadeOut } from 'igniteui-angular/animations';\n\nlet NEXT_ID = 0;\n\n/**\n * **Ignite UI for Angular Toast** -\n * [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/toast)\n *\n * The Ignite UI Toast provides information and warning messages that are non-interactive and cannot\n * be dismissed by the user. Toasts can be displayed at the bottom, middle, or top of the page.\n *\n * Example:\n * ```html\n * <button type=\"button\" igxButton (click)=\"toast.open()\">Show notification</button>\n * <igx-toast #toast displayTime=\"1000\">\n * Notification displayed\n * </igx-toast>\n * ```\n */\n@Component({\n selector: 'igx-toast',\n templateUrl: 'toast.component.html',\n standalone: true\n})\nexport class IgxToastComponent extends IgxNotificationsDirective implements OnInit {\n /**\n * @hidden\n */\n @HostBinding('class.igx-toast')\n public cssClass = 'igx-toast';\n\n /**\n * Sets/gets the `id` of the toast.\n * If not set, the `id` will have value `\"igx-toast-0\"`.\n * ```html\n * <igx-toast id = \"my-first-toast\"></igx-toast>\n * ```\n * ```typescript\n * let toastId = this.toast.id;\n * ```\n */\n @HostBinding('attr.id')\n @Input()\n public override id = `igx-toast-${NEXT_ID++}`;\n\n /**\n * Sets/gets the `role` attribute.\n * If not set, `role` will have value `\"alert\"`.\n * ```html\n * <igx-toast [role] = \"'notify'\"></igx-toast>\n * ```\n * ```typescript\n * let toastRole = this.toast.role;\n * ```\n *\n * @memberof IgxToastComponent\n */\n @HostBinding('attr.role')\n @Input()\n public role = 'alert';\n\n /**\n * @hidden\n */\n @Output()\n public isVisibleChange = new EventEmitter<ToggleViewEventArgs>();\n\n /**\n * Get the position and animation settings used by the toast.\n * ```typescript\n * @ViewChild('toast', { static: true }) public toast: IgxToastComponent;\n * let currentPosition: PositionSettings = this.toast.positionSettings\n * ```\n */\n @Input()\n public get positionSettings(): PositionSettings {\n return this._positionSettings;\n }\n\n /**\n * Set the position and animation settings used by the toast.\n * ```html\n * <igx-toast [positionSettings]=\"newPositionSettings\"></igx-toast>\n * ```\n * ```typescript\n * import { slideInTop, slideOutBottom } from 'igniteui-angular';\n * ...\n * @ViewChild('toast', { static: true }) public toast: IgxToastComponent;\n * public newPositionSettings: PositionSettings = {\n * openAnimation: useAnimation(slideInTop, { params: { duration: '1000ms', fromPosition: 'translateY(100%)'}}),\n * closeAnimation: useAnimation(slideOutBottom, { params: { duration: '1000ms', fromPosition: 'translateY(0)'}}),\n * horizontalDirection: HorizontalAlignment.Left,\n * verticalDirection: VerticalAlignment.Middle,\n * horizontalStartPoint: HorizontalAlignment.Left,\n * verticalStartPoint: VerticalAlignment.Middle\n * };\n * this.toast.positionSettings = this.newPositionSettings;\n * ```\n */\n public set positionSettings(settings: PositionSettings) {\n this._positionSettings = settings;\n }\n\n private _positionSettings: PositionSettings = {\n horizontalDirection: HorizontalAlignment.Center,\n verticalDirection: VerticalAlignment.Bottom,\n openAnimation: useAnimation(fadeIn),\n closeAnimation: useAnimation(fadeOut),\n };\n\n /**\n * Gets the nativeElement of the toast.\n * ```typescript\n * let nativeElement = this.toast.element;\n * ```\n *\n * @memberof IgxToastComponent\n */\n public override get element() {\n return this._element.nativeElement;\n }\n\n constructor(\n private _element: ElementRef,\n cdr: ChangeDetectorRef,\n @Optional() navService: IgxNavigationService,\n @Inject(IgxOverlayService) overlayService: IgxOverlayService\n ) {\n super(_element, cdr, overlayService, navService);\n }\n\n /**\n * Shows the toast.\n * If `autoHide` is enabled, the toast will hide after `displayTime` is over.\n *\n * ```typescript\n * this.toast.open();\n * ```\n */\n public override open(message?: string, settings?: PositionSettings) {\n if (message !== undefined) {\n this.textMessage = message;\n }\n if (settings !== undefined) {\n this.positionSettings = settings;\n }\n this.strategy = new GlobalPositionStrategy(this.positionSettings);\n super.open();\n }\n\n /**\n * Opens or closes the toast, depending on its current state.\n *\n * ```typescript\n * this.toast.toggle();\n * ```\n */\n public override toggle() {\n if (this.collapsed || this.isClosing) {\n this.open();\n } else {\n this.close();\n }\n }\n\n /**\n * @hidden\n */\n public override ngOnInit() {\n this.opened.pipe(takeUntil(this.destroy$)).subscribe(() => {\n const openedEventArgs: ToggleViewEventArgs = { owner: this, id: this._overlayId };\n this.isVisibleChange.emit(openedEventArgs);\n });\n\n this.closed.pipe(takeUntil(this.destroy$)).subscribe(() => {\n const closedEventArgs: ToggleViewEventArgs = { owner: this, id: this._overlayId };\n this.isVisibleChange.emit(closedEventArgs);\n });\n }\n}\n","<ng-content></ng-content>\n<span>{{ textMessage }}</span>\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AA0BA,IAAI,OAAO,GAAG,CAAC;AAEf;;;;;;;;;;;;;;AAcG;AAMG,MAAO,iBAAkB,SAA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A;AAtGpB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,qUChD9B,+DAGA,EAAA,CAAA,CAAA;;2FD6Ca,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,WAAW,cAET,IAAI,EAAA,QAAA,EAAA,+DAAA,EAAA;;0BAuGX;;0BACA,MAAM;2BAAC,iBAAiB;;sBAlG5B,WAAW;uBAAC,iBAAiB;;sBAa7B,WAAW;uBAAC,SAAS;;sBACrB;;sBAeA,WAAW;uBAAC,WAAW;;sBACvB;;sBAMA;;sBAUC;;;AElGN;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"igniteui-angular-toast.mjs","sources":["../../../projects/igniteui-angular/toast/src/toast/toast.component.ts","../../../projects/igniteui-angular/toast/src/toast/toast.component.html","../../../projects/igniteui-angular/toast/src/toast/toast.module.ts","../../../projects/igniteui-angular/toast/src/igniteui-angular-toast.ts"],"sourcesContent":["import {\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n OnInit,\n Optional,\n Output\n} from '@angular/core';\nimport { takeUntil } from 'rxjs/operators';\nimport { IgxNavigationService } from 'igniteui-angular/core';\nimport {\n IgxOverlayService,\n HorizontalAlignment,\n VerticalAlignment,\n GlobalPositionStrategy,\n PositionSettings\n} from 'igniteui-angular/core';\nimport { IgxNotificationsDirective } from 'igniteui-angular/directives';\nimport { ToggleViewEventArgs } from 'igniteui-angular/directives';\nimport { useAnimation } from '@angular/animations';\nimport { fadeIn, fadeOut } from 'igniteui-angular/animations';\n\nlet NEXT_ID = 0;\n\n/**\n * **Ignite UI for Angular Toast** -\n * [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/toast)\n *\n * The Ignite UI Toast provides information and warning messages that are non-interactive and cannot\n * be dismissed by the user. Toasts can be displayed at the bottom, middle, or top of the page.\n *\n * Example:\n * ```html\n * <button type=\"button\" igxButton (click)=\"toast.open()\">Show notification</button>\n * <igx-toast #toast displayTime=\"1000\">\n * Notification displayed\n * </igx-toast>\n * ```\n */\n@Component({\n selector: 'igx-toast',\n templateUrl: 'toast.component.html',\n standalone: true\n})\nexport class IgxToastComponent extends IgxNotificationsDirective implements OnInit {\n /**\n * @hidden\n */\n @HostBinding('class.igx-toast')\n public cssClass = 'igx-toast';\n\n /**\n * Sets/gets the `id` of the toast.\n * If not set, the `id` will have value `\"igx-toast-0\"`.\n * ```html\n * <igx-toast id = \"my-first-toast\"></igx-toast>\n * ```\n * ```typescript\n * let toastId = this.toast.id;\n * ```\n */\n @HostBinding('attr.id')\n @Input()\n public override id = `igx-toast-${NEXT_ID++}`;\n\n /**\n * Sets/gets the `role` attribute.\n * If not set, `role` will have value `\"alert\"`.\n * ```html\n * <igx-toast [role] = \"'notify'\"></igx-toast>\n * ```\n * ```typescript\n * let toastRole = this.toast.role;\n * ```\n *\n * @memberof IgxToastComponent\n */\n @HostBinding('attr.role')\n @Input()\n public role = 'alert';\n\n /**\n * @hidden\n */\n @Output()\n public isVisibleChange = new EventEmitter<ToggleViewEventArgs>();\n\n /**\n * Get the position and animation settings used by the toast.\n * ```typescript\n * @ViewChild('toast', { static: true }) public toast: IgxToastComponent;\n * let currentPosition: PositionSettings = this.toast.positionSettings\n * ```\n */\n @Input()\n public get positionSettings(): PositionSettings {\n return this._positionSettings;\n }\n\n /**\n * Set the position and animation settings used by the toast.\n * ```html\n * <igx-toast [positionSettings]=\"newPositionSettings\"></igx-toast>\n * ```\n * ```typescript\n * import { slideInTop, slideOutBottom } from 'igniteui-angular';\n * ...\n * @ViewChild('toast', { static: true }) public toast: IgxToastComponent;\n * public newPositionSettings: PositionSettings = {\n * openAnimation: useAnimation(slideInTop, { params: { duration: '1000ms', fromPosition: 'translateY(100%)'}}),\n * closeAnimation: useAnimation(slideOutBottom, { params: { duration: '1000ms', fromPosition: 'translateY(0)'}}),\n * horizontalDirection: HorizontalAlignment.Left,\n * verticalDirection: VerticalAlignment.Middle,\n * horizontalStartPoint: HorizontalAlignment.Left,\n * verticalStartPoint: VerticalAlignment.Middle\n * };\n * this.toast.positionSettings = this.newPositionSettings;\n * ```\n */\n public set positionSettings(settings: PositionSettings) {\n this._positionSettings = settings;\n }\n\n private _positionSettings: PositionSettings = {\n horizontalDirection: HorizontalAlignment.Center,\n verticalDirection: VerticalAlignment.Bottom,\n openAnimation: useAnimation(fadeIn),\n closeAnimation: useAnimation(fadeOut),\n };\n\n /**\n * Gets the nativeElement of the toast.\n * ```typescript\n * let nativeElement = this.toast.element;\n * ```\n *\n * @memberof IgxToastComponent\n */\n public override get element() {\n return this._element.nativeElement;\n }\n\n constructor(\n private _element: ElementRef,\n cdr: ChangeDetectorRef,\n @Optional() navService: IgxNavigationService,\n @Inject(IgxOverlayService) overlayService: IgxOverlayService\n ) {\n super(_element, cdr, overlayService, navService);\n }\n\n /**\n * Shows the toast.\n * If `autoHide` is enabled, the toast will hide after `displayTime` is over.\n *\n * ```typescript\n * this.toast.open();\n * ```\n */\n public override open(message?: string, settings?: PositionSettings) {\n if (message !== undefined) {\n this.textMessage = message;\n }\n if (settings !== undefined) {\n this.positionSettings = settings;\n }\n this.strategy = new GlobalPositionStrategy(this.positionSettings);\n super.open();\n }\n\n /**\n * Opens or closes the toast, depending on its current state.\n *\n * ```typescript\n * this.toast.toggle();\n * ```\n */\n public override toggle() {\n if (this.collapsed || this.isClosing) {\n this.open();\n } else {\n this.close();\n }\n }\n\n /**\n * @hidden\n */\n public override ngOnInit() {\n this.opened.pipe(takeUntil(this.destroy$)).subscribe(() => {\n const openedEventArgs: ToggleViewEventArgs = { owner: this, id: this._overlayId };\n this.isVisibleChange.emit(openedEventArgs);\n });\n\n this.closed.pipe(takeUntil(this.destroy$)).subscribe(() => {\n const closedEventArgs: ToggleViewEventArgs = { owner: this, id: this._overlayId };\n this.isVisibleChange.emit(closedEventArgs);\n });\n }\n}\n","<ng-content></ng-content>\n<span>{{ textMessage }}</span>\n\n","import { NgModule } from '@angular/core';\nimport { IgxToastComponent } from './toast.component';\n\n/**\n * @hidden\n * IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components\n */\n@NgModule({\n imports: [\n IgxToastComponent\n ],\n exports: [\n IgxToastComponent\n ]\n})\nexport class IgxToastModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AA0BA,IAAI,OAAO,GAAG,CAAC;AAEf;;;;;;;;;;;;;;AAcG;AAMG,MAAO,iBAAkB,SAAQ,yBAAyB,CAAA;AA2C5D;;;;;;AAMG;AACF,IAAA,IACW,gBAAgB,GAAA;QACvB,OAAO,IAAI,CAAC,iBAAiB;IACjC;AAEA;;;;;;;;;;;;;;;;;;;AAmBG;IACH,IAAW,gBAAgB,CAAC,QAA0B,EAAA;AAClD,QAAA,IAAI,CAAC,iBAAiB,GAAG,QAAQ;IACrC;AASD;;;;;;;AAOG;AACH,IAAA,IAAoB,OAAO,GAAA;AACvB,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,aAAa;IACtC;AAEA,IAAA,WAAA,CACY,QAAoB,EAC5B,GAAsB,EACV,UAAgC,EACjB,cAAiC,EAAA;QAE5D,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,cAAc,EAAE,UAAU,CAAC;QALxC,IAAA,CAAA,QAAQ,GAAR,QAAQ;AAlGpB;;AAEG;QAEI,IAAA,CAAA,QAAQ,GAAG,WAAW;AAE7B;;;;;;;;;AASG;AAGa,QAAA,IAAA,CAAA,EAAE,GAAG,CAAA,UAAA,EAAa,OAAO,EAAE,EAAE;AAE7C;;;;;;;;;;;AAWG;QAGI,IAAA,CAAA,IAAI,GAAG,OAAO;AAErB;;AAEG;AAEI,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,YAAY,EAAuB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,UAAA,EAAA,CAAA;kBAR1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL;AACH,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL;AACH;AACJ,iBAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Injectable, HostListener, HostBinding, Input, Optional, Inject, Directive, EventEmitter, ElementRef, TemplateRef, booleanAttribute, ViewChild, ContentChildren, Output, SkipSelf, Component, ContentChild } from '@angular/core';
|
|
2
|
+
import { InjectionToken, Injectable, HostListener, HostBinding, Input, Optional, Inject, Directive, EventEmitter, ElementRef, TemplateRef, booleanAttribute, ViewChild, ContentChildren, Output, SkipSelf, Component, ContentChild, NgModule } from '@angular/core';
|
|
3
3
|
import { takeUntil, throttleTime } from 'rxjs/operators';
|
|
4
4
|
import { NgTemplateOutlet, NgClass } from '@angular/common';
|
|
5
5
|
import { IgxIconComponent } from 'igniteui-angular/icon';
|
|
@@ -1775,9 +1775,30 @@ const IGX_TREE_DIRECTIVES = [
|
|
|
1775
1775
|
IgxTreeExpandIndicatorDirective
|
|
1776
1776
|
];
|
|
1777
1777
|
|
|
1778
|
+
/**
|
|
1779
|
+
* @hidden
|
|
1780
|
+
* IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components
|
|
1781
|
+
*/
|
|
1782
|
+
class IgxTreeModule {
|
|
1783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: IgxTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1784
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0", ngImport: i0, type: IgxTreeModule, imports: [IgxTreeComponent, IgxTreeNodeComponent, IgxTreeNodeLinkDirective, IgxTreeExpandIndicatorDirective], exports: [IgxTreeComponent, IgxTreeNodeComponent, IgxTreeNodeLinkDirective, IgxTreeExpandIndicatorDirective] }); }
|
|
1785
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: IgxTreeModule, imports: [IgxTreeNodeComponent] }); }
|
|
1786
|
+
}
|
|
1787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: IgxTreeModule, decorators: [{
|
|
1788
|
+
type: NgModule,
|
|
1789
|
+
args: [{
|
|
1790
|
+
imports: [
|
|
1791
|
+
...IGX_TREE_DIRECTIVES
|
|
1792
|
+
],
|
|
1793
|
+
exports: [
|
|
1794
|
+
...IGX_TREE_DIRECTIVES
|
|
1795
|
+
]
|
|
1796
|
+
}]
|
|
1797
|
+
}] });
|
|
1798
|
+
|
|
1778
1799
|
/**
|
|
1779
1800
|
* Generated bundle index. Do not edit.
|
|
1780
1801
|
*/
|
|
1781
1802
|
|
|
1782
|
-
export { IGX_TREE_DIRECTIVES, IgxTreeComponent, IgxTreeExpandIndicatorDirective, IgxTreeNodeComponent, IgxTreeNodeLinkDirective, IgxTreeSelectionType };
|
|
1803
|
+
export { IGX_TREE_DIRECTIVES, IgxTreeComponent, IgxTreeExpandIndicatorDirective, IgxTreeModule, IgxTreeNodeComponent, IgxTreeNodeLinkDirective, IgxTreeSelectionType };
|
|
1783
1804
|
//# sourceMappingURL=igniteui-angular-tree.mjs.map
|