@skyux/ag-grid 13.0.0-alpha.6 → 13.0.0-alpha.8
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/skyux-ag-grid.mjs +12 -7
- package/fesm2022/skyux-ag-grid.mjs.map +1 -1
- package/package.json +13 -13
|
@@ -1095,6 +1095,7 @@ class SkyAgGridRowDeleteDirective {
|
|
|
1095
1095
|
#elementRef;
|
|
1096
1096
|
#environmentInjector;
|
|
1097
1097
|
#overlayService;
|
|
1098
|
+
#overlay;
|
|
1098
1099
|
#rowDeleteSvc;
|
|
1099
1100
|
#scrollableHostService;
|
|
1100
1101
|
#stackingContext;
|
|
@@ -1182,7 +1183,7 @@ class SkyAgGridRowDeleteDirective {
|
|
|
1182
1183
|
});
|
|
1183
1184
|
}
|
|
1184
1185
|
ngAfterContentInit() {
|
|
1185
|
-
|
|
1186
|
+
this.#overlay = this.#overlayService.create({
|
|
1186
1187
|
enableScroll: true,
|
|
1187
1188
|
environmentInjector: this.#environmentInjector,
|
|
1188
1189
|
showBackdrop: false,
|
|
@@ -1190,21 +1191,23 @@ class SkyAgGridRowDeleteDirective {
|
|
|
1190
1191
|
enableClose: false,
|
|
1191
1192
|
enablePointerEvents: true,
|
|
1192
1193
|
});
|
|
1193
|
-
overlay.attachComponent(SkyAgGridRowDeleteComponent, [
|
|
1194
|
+
this.#overlay.attachComponent(SkyAgGridRowDeleteComponent, [
|
|
1194
1195
|
{
|
|
1195
1196
|
provide: SKY_AG_GRID_ROW_DELETE_CONTEXT,
|
|
1196
1197
|
useValue: this.#rowDeleteSvc,
|
|
1197
1198
|
},
|
|
1198
1199
|
]);
|
|
1199
1200
|
this.#zIndex
|
|
1200
|
-
.pipe(takeUntil(this.#ngUnsubscribe), takeUntil(overlay.closed), distinctUntilChanged())
|
|
1201
|
+
.pipe(takeUntil(this.#ngUnsubscribe), takeUntil(this.#overlay.closed), distinctUntilChanged())
|
|
1201
1202
|
.subscribe((zIndex) => {
|
|
1202
|
-
|
|
1203
|
+
if (this.#overlay) {
|
|
1204
|
+
this.#overlay.componentRef.instance.zIndex = zIndex.toString(10);
|
|
1205
|
+
}
|
|
1203
1206
|
});
|
|
1204
1207
|
this.#clipPath
|
|
1205
|
-
.pipe(takeUntil(this.#ngUnsubscribe), takeUntil(overlay.closed), distinctUntilChanged())
|
|
1208
|
+
.pipe(takeUntil(this.#ngUnsubscribe), takeUntil(this.#overlay.closed), distinctUntilChanged())
|
|
1206
1209
|
.subscribe((clipPath) => {
|
|
1207
|
-
overlay
|
|
1210
|
+
this.#overlay?.componentRef.instance.updateClipPath(clipPath);
|
|
1208
1211
|
});
|
|
1209
1212
|
}
|
|
1210
1213
|
ngAfterViewInit() {
|
|
@@ -1219,7 +1222,9 @@ class SkyAgGridRowDeleteDirective {
|
|
|
1219
1222
|
this.#ngUnsubscribe.next();
|
|
1220
1223
|
this.#ngUnsubscribe.complete();
|
|
1221
1224
|
this.#rowDeleteSvc.subscription.unsubscribe();
|
|
1222
|
-
this.#
|
|
1225
|
+
if (this.#overlay) {
|
|
1226
|
+
this.#overlayService.close(this.#overlay);
|
|
1227
|
+
}
|
|
1223
1228
|
}
|
|
1224
1229
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: SkyAgGridRowDeleteDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1225
1230
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.0.5", type: SkyAgGridRowDeleteDirective, isStandalone: true, selector: "[skyAgGridRowDelete]", inputs: { rowDeleteIds: { classPropertyName: "rowDeleteIds", publicName: "rowDeleteIds", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rowDeleteIds: "rowDeleteIdsChange", rowDeleteCancel: "rowDeleteCancel", rowDeleteConfirm: "rowDeleteConfirm" }, queries: [{ propertyName: "agGrid", first: true, predicate: AgGridAngular, descendants: true, isSignal: true }], ngImport: i0 }); }
|