@sd-angular/core 0.0.958 → 0.0.959
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 +7 -4
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/esm2015/grid-material/src/lib/pipes/editor-handler-row.pipe.js +8 -5
- package/fesm2015/sd-angular-core-grid-material.js +7 -4
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/package.json +1 -1
- package/{sd-angular-core-0.0.958.tgz → sd-angular-core-0.0.959.tgz} +0 -0
|
@@ -3750,18 +3750,21 @@
|
|
|
3750
3750
|
else {
|
|
3751
3751
|
isDisabled = editor === null || editor === void 0 ? void 0 : editor.disabled;
|
|
3752
3752
|
}
|
|
3753
|
-
if (isDisabled) {
|
|
3754
|
-
return null;
|
|
3755
|
-
}
|
|
3756
3753
|
if (editor.type === 'inline') {
|
|
3757
3754
|
var removable = editor.removable;
|
|
3758
|
-
item.editorHandlerRow = Object.assign(Object.assign({}, item.editorHandlerRow), { visible:
|
|
3755
|
+
item.editorHandlerRow = Object.assign(Object.assign({}, item.editorHandlerRow), { visible: !isDisabled, editable: false, removable: status !== 'create' && (typeof (removable) === 'function' ? removable(item) : removable), savable: false, cancelable: !isDisabled && status === 'create' });
|
|
3759
3756
|
}
|
|
3760
3757
|
else if (editor.type === 'focus') {
|
|
3758
|
+
if (isDisabled) {
|
|
3759
|
+
return null;
|
|
3760
|
+
}
|
|
3761
3761
|
var editable = editor.editable;
|
|
3762
3762
|
item.editorHandlerRow = Object.assign(Object.assign({}, item.editorHandlerRow), { visible: !!status, editable: !status && (typeof (editable) === 'function' ? editable(item) : editable), removable: false, savable: !!status, cancelable: !!status });
|
|
3763
3763
|
}
|
|
3764
3764
|
else if (editor.type === 'popup') {
|
|
3765
|
+
if (isDisabled) {
|
|
3766
|
+
return null;
|
|
3767
|
+
}
|
|
3765
3768
|
var editable = editor.editable;
|
|
3766
3769
|
item.editorHandlerRow = Object.assign(Object.assign({}, item.editorHandlerRow), { visible: false, editable: !status && (typeof (editable) === 'function' ? editable(item) : editable), removable: false, savable: false, cancelable: false });
|
|
3767
3770
|
}
|