@sd-angular/core 0.0.973 → 0.0.977
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/bundles/sd-angular-core-grid-material.umd.js +1 -16
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +2 -2
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-loading.umd.js +5 -5
- package/bundles/sd-angular-core-loading.umd.js.map +1 -1
- package/bundles/sd-angular-core-loading.umd.min.js +1 -1
- package/bundles/sd-angular-core-loading.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.js +4 -1
- package/bundles/sd-angular-core-select.umd.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.min.js +1 -1
- package/bundles/sd-angular-core-select.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-tab-router.umd.js +1 -1
- package/bundles/sd-angular-core-tab-router.umd.min.js +1 -1
- package/bundles/sd-angular-core-tab-router.umd.min.js.map +1 -1
- package/esm2015/grid-material/src/lib/models/grid-column.model.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +1 -5
- package/esm2015/grid-material/src/lib/pipes/selection-disable.pipe.js +2 -2
- package/esm2015/loading/src/lib/loading.service.js +8 -8
- package/esm2015/select/src/lib/select.component.js +5 -2
- package/esm2015/tab-router/src/lib/components/tab-router-outlet/tab-router-outlet.component.js +1 -1
- package/fesm2015/sd-angular-core-grid-material.js +1 -5
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core-loading.js +5 -5
- package/fesm2015/sd-angular-core-loading.js.map +1 -1
- package/fesm2015/sd-angular-core-select.js +4 -1
- package/fesm2015/sd-angular-core-select.js.map +1 -1
- package/fesm2015/sd-angular-core-tab-router.js +1 -1
- package/grid-material/src/lib/models/grid-column.model.d.ts +6 -11
- package/package.json +1 -1
- package/{sd-angular-core-0.0.973.tgz → sd-angular-core-0.0.977.tgz} +0 -0
- package/tab-router/sd-angular-core-tab-router.metadata.json +1 -1
|
@@ -3487,7 +3487,7 @@
|
|
|
3487
3487
|
this.transform = function (selectedItems, rowData, selection) {
|
|
3488
3488
|
var e_1, _a, e_2, _b;
|
|
3489
3489
|
var disabled = selection.disabled, actions = selection.actions;
|
|
3490
|
-
if (!actions.length) {
|
|
3490
|
+
if (!(actions === null || actions === void 0 ? void 0 : actions.length)) {
|
|
3491
3491
|
if (!disabled) {
|
|
3492
3492
|
return false;
|
|
3493
3493
|
}
|
|
@@ -3884,26 +3884,11 @@
|
|
|
3884
3884
|
});
|
|
3885
3885
|
}
|
|
3886
3886
|
SdEditorHandlerColumnPipe.prototype.transform = function (value, item, column, gridOption) {
|
|
3887
|
-
var e_1, _c;
|
|
3888
3887
|
if (column.type === 'children' || column.type === 'children-col') {
|
|
3889
3888
|
return;
|
|
3890
3889
|
}
|
|
3891
|
-
var columns = gridOption.columns;
|
|
3892
3890
|
item.editorHandlerColumn = item.editorHandlerColumn || {};
|
|
3893
3891
|
item.editorHandlerColumn[column.field] = Object.assign(Object.assign({}, item.editorHandlerColumn[column.field]), { visible: __classPrivateFieldGet(this, _visible).call(this, column, item) });
|
|
3894
|
-
try {
|
|
3895
|
-
for (var _d = __values(columns.filter(function (e) { var _a, _b; return (_b = (_a = column.editor) === null || _a === void 0 ? void 0 : _a.relatedColumns) === null || _b === void 0 ? void 0 : _b.includes(e.field); })), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
3896
|
-
var col = _e.value;
|
|
3897
|
-
item.editorHandlerColumn[col.field] = Object.assign(Object.assign({}, item.editorHandlerColumn[col.field]), { visible: __classPrivateFieldGet(this, _visible).call(this, col, item) });
|
|
3898
|
-
}
|
|
3899
|
-
}
|
|
3900
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3901
|
-
finally {
|
|
3902
|
-
try {
|
|
3903
|
-
if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
|
|
3904
|
-
}
|
|
3905
|
-
finally { if (e_1) throw e_1.error; }
|
|
3906
|
-
}
|
|
3907
3892
|
var sdId = item.sdId, remain = __rest(item, ["sdId"]);
|
|
3908
3893
|
item.sdId = hash__namespace(remain);
|
|
3909
3894
|
return true;
|