|
@@ -63199,6 +63199,14 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
showInfoDialogSimple(msg, sender);
|
|
|
}
|
|
|
/**
|
|
|
+ * 错误对话框的强提醒
|
|
|
+ */
|
|
|
+ function prompt$1(message, defaultValue, multiLine) {
|
|
|
+ if (defaultValue === void 0) { defaultValue = ""; }
|
|
|
+ if (multiLine === void 0) { multiLine = false; }
|
|
|
+ return prompt(message, defaultValue, multiLine);
|
|
|
+ }
|
|
|
+ /**
|
|
|
* 用于计算 express 表达式
|
|
|
*/
|
|
|
function evalFunction(data, express) {
|
|
@@ -63258,6 +63266,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
msg: msg$1,
|
|
|
showErrorDialog: showErrorDialog$1,
|
|
|
showInfoDialog: showInfoDialog,
|
|
|
+ prompt: prompt$1,
|
|
|
evalFunction: evalFunction,
|
|
|
getGridEditRows: getGridEditRows
|
|
|
});
|
|
@@ -131630,6 +131639,19 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
constructor: function (config) {
|
|
|
var newConfig = lodash.defaultsDeep({}, config, baseConfig(config, "col-item"), button);
|
|
|
ct.call(this, newConfig);
|
|
|
+ },
|
|
|
+ setLoading: function (value) {
|
|
|
+ if (value) {
|
|
|
+ if (this.iconCls !== 'x-fa fa-spinner fa-spin fa-fw') {
|
|
|
+ this._originIconCls = this.iconCls;
|
|
|
+ }
|
|
|
+ this.setIconCls('x-fa fa-spinner fa-spin fa-fw');
|
|
|
+ this.setDisabled(true);
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ this.setIconCls(this._originIconCls);
|
|
|
+ this.setDisabled(false);
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
}
|
|
@@ -131973,10 +131995,10 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
exports.lookupScope = lookupScope;
|
|
|
exports.mergeViewModel = mergeViewModel;
|
|
|
exports.moment = moment;
|
|
|
- exports.msg = msg;
|
|
|
+ exports.msg = msg$1;
|
|
|
exports.msgError = msgError;
|
|
|
exports.normId = normId;
|
|
|
- exports.prompt = prompt;
|
|
|
+ exports.prompt = prompt$1;
|
|
|
exports.qs = lib;
|
|
|
exports.raiseClick = raiseClick;
|
|
|
exports.recast = main$3;
|
|
@@ -131985,9 +132007,8 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
exports.serverInvokeUrlTransform = serverInvokeUrlTransform;
|
|
|
exports.setComboStore = setComboStore;
|
|
|
exports.setDesignMode = setDesignMode;
|
|
|
- exports.showErrorDialog = showErrorDialog;
|
|
|
+ exports.showErrorDialog = showErrorDialog$1;
|
|
|
exports.showInfoDialog = showInfoDialog;
|
|
|
- exports.showInfoDialogSimple = showInfoDialogSimple;
|
|
|
exports.showWidget = showWidget;
|
|
|
exports.sqlUrlTransform = sqlUrlTransform;
|
|
|
exports.stopEvent = stopEvent;
|