|
@@ -63330,6 +63330,15 @@ define(['exports', 'node-sql-parser', 'sql-formatter'], function (exports, nodeS
|
|
|
}
|
|
|
window['showGridRowDetail'](grid1, record);
|
|
|
}
|
|
|
+ function commitMe(sender) {
|
|
|
+ var window = sender.up('window');
|
|
|
+ var scope = lookupScope(sender);
|
|
|
+ if (typeof scope['commit'] === 'function') {
|
|
|
+ scope['commit']().then(function (res) {
|
|
|
+ window.close();
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
function removeGridRow(grid1) {
|
|
|
var _a;
|
|
|
var config = grid1.config;
|
|
@@ -63394,6 +63403,11 @@ define(['exports', 'node-sql-parser', 'sql-formatter'], function (exports, nodeS
|
|
|
moveUpGridRow(grid1);
|
|
|
};
|
|
|
};
|
|
|
+ SystemEventFu.prototype.commitMe = function () {
|
|
|
+ return function (sender) {
|
|
|
+ commitMe(sender);
|
|
|
+ };
|
|
|
+ };
|
|
|
SystemEventFu.prototype.moveDownGridRow = function () {
|
|
|
return function (sender) {
|
|
|
var grid1 = sender.up('yvgrid');
|
|
@@ -63714,6 +63728,15 @@ define(['exports', 'node-sql-parser', 'sql-formatter'], function (exports, nodeS
|
|
|
], SystemEventFu.prototype, "moveUpGridRow", null);
|
|
|
__decorate([
|
|
|
Lib({
|
|
|
+ title: '为某个表格,上移行',
|
|
|
+ author: '罗一帆', createAt: '2022-07-19', updateAt: '2022-07-19', type: 'system', category: '表格',
|
|
|
+ }),
|
|
|
+ __metadata("design:type", Function),
|
|
|
+ __metadata("design:paramtypes", []),
|
|
|
+ __metadata("design:returntype", void 0)
|
|
|
+ ], SystemEventFu.prototype, "commitMe", null);
|
|
|
+ __decorate([
|
|
|
+ Lib({
|
|
|
title: '为某个表格,下移行',
|
|
|
author: '罗一帆', createAt: '2022-07-19', updateAt: '2022-07-19', type: 'system', category: '表格',
|
|
|
}),
|
|
@@ -64149,7 +64172,6 @@ define(['exports', 'node-sql-parser', 'sql-formatter'], function (exports, nodeS
|
|
|
function getGridEditRows(grid) {
|
|
|
return grid.getGridEditRows();
|
|
|
}
|
|
|
- //# sourceMappingURL=systemLib.js.map
|
|
|
|
|
|
var SystemLib = /*#__PURE__*/Object.freeze({
|
|
|
__proto__: null,
|
|
@@ -64177,6 +64199,7 @@ define(['exports', 'node-sql-parser', 'sql-formatter'], function (exports, nodeS
|
|
|
saveGridRow: saveGridRow,
|
|
|
insertGridRow: insertGridRow,
|
|
|
showGridRowDetail: showGridRowDetail,
|
|
|
+ commitMe: commitMe,
|
|
|
removeGridRow: removeGridRow,
|
|
|
moveUpGridRow: moveUpGridRow,
|
|
|
moveDownGridRow: moveDownGridRow,
|
|
@@ -96156,6 +96179,7 @@ define(['exports', 'node-sql-parser', 'sql-formatter'], function (exports, nodeS
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ //# sourceMappingURL=grid_dialog.js.map
|
|
|
|
|
|
window["EXPORT_DATA_HOST"] = "http://127.0.0.1:30000/exportData";
|
|
|
var hexToString = function (hex) {
|
|
@@ -134891,6 +134915,7 @@ define(['exports', 'node-sql-parser', 'sql-formatter'], function (exports, nodeS
|
|
|
exports.clearViewModelByLookup = clearViewModelByLookup;
|
|
|
exports.clearViewModelReloadGrid = clearViewModelReloadGrid;
|
|
|
exports.clearViewModelValues = clearViewModelValues;
|
|
|
+ exports.commitMe = commitMe;
|
|
|
exports.confirm = confirm;
|
|
|
exports.createAjax = createAjax;
|
|
|
exports.createUUID = createUUID;
|