|
@@ -63212,6 +63212,7 @@ define(['exports', 'sql-formatter'], function (exports, sqlFormatter) { 'use str
|
|
|
dbIsDeleteKey: c.dbIsDeleteKey,
|
|
|
dbIsUpdateKey: c.dbIsUpdateKey,
|
|
|
dbUpdateEnable: c.dbUpdateEnable,
|
|
|
+ serverValueConvert: c.dbUpdateEnable,
|
|
|
};
|
|
|
if (c.editor) {
|
|
|
v.editor = {
|
|
@@ -64038,6 +64039,7 @@ define(['exports', 'sql-formatter'], function (exports, sqlFormatter) { 'use str
|
|
|
function getGridEditRows(grid) {
|
|
|
return grid.getGridEditRows();
|
|
|
}
|
|
|
+ //# sourceMappingURL=systemLib.js.map
|
|
|
|
|
|
var SystemLib = /*#__PURE__*/Object.freeze({
|
|
|
__proto__: null,
|
|
@@ -96239,7 +96241,7 @@ define(['exports', 'sql-formatter'], function (exports, sqlFormatter) { 'use str
|
|
|
c.tdCls = 'td-percent';
|
|
|
}
|
|
|
});
|
|
|
- if (newConfig._mode === 'edit') {
|
|
|
+ if (newConfig._mode === 'edit' || newConfig._mode === 'edit1' || newConfig._mode === 'edit2') {
|
|
|
// 强制为编辑模式
|
|
|
newConfig.selModel = {
|
|
|
type: 'spreadsheet',
|
|
@@ -96248,7 +96250,12 @@ define(['exports', 'sql-formatter'], function (exports, sqlFormatter) { 'use str
|
|
|
extensible: 'y'
|
|
|
};
|
|
|
newConfig.plugins = __assign(__assign({}, newConfig.plugins), { clipboard: true, selectionreplicator: true });
|
|
|
- lodash.set(newConfig, 'plugins.cellediting.clicksToEdit', 2);
|
|
|
+ if (newConfig._mode === 'edit2' || newConfig._mode === 'edit') {
|
|
|
+ lodash.set(newConfig, 'plugins.cellediting.clicksToEdit', 2);
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ lodash.set(newConfig, 'plugins.cellediting.clicksToEdit', 1);
|
|
|
+ }
|
|
|
}
|
|
|
else if (newConfig._mode === 'checkbox' || newConfig._mode === 'check') {
|
|
|
// 强制为勾选模式
|
|
@@ -97193,7 +97200,6 @@ define(['exports', 'sql-formatter'], function (exports, sqlFormatter) { 'use str
|
|
|
}
|
|
|
// throw new TypeError('无法识别的调用方法')
|
|
|
}
|
|
|
- //# sourceMappingURL=grid.js.map
|
|
|
|
|
|
/**
|
|
|
* 创建一个 Ajax 客户端
|