|
@@ -61774,7 +61774,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
}, vjsonOption, that.vjson);
|
|
|
new Ext.container.Viewport(config);
|
|
|
};
|
|
|
- Scope.prototype.renderDesign = function (element, option) {
|
|
|
+ Scope.prototype.showDesigner = function (designer, option) {
|
|
|
var that = this;
|
|
|
var vmodel = lodash.defaultsDeep({
|
|
|
data: {
|
|
@@ -61790,15 +61790,6 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
viewModel: this.viewModel,
|
|
|
yvanScope: this,
|
|
|
referenceHolder: true,
|
|
|
- renderTo: element,
|
|
|
- frame: false,
|
|
|
- layout: 'border',
|
|
|
- width: '100%',
|
|
|
- height: '100%',
|
|
|
- border: false,
|
|
|
- defaults: {
|
|
|
- border: false
|
|
|
- },
|
|
|
listeners: {
|
|
|
afterrender: function (sender) {
|
|
|
var _a;
|
|
@@ -61812,8 +61803,9 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
invokeMethod((_a = that.vjson.listeners) === null || _a === void 0 ? void 0 : _a.afterrender, that, arguments);
|
|
|
},
|
|
|
},
|
|
|
- }, option, that.vjson);
|
|
|
- new Ext.container.Viewport(config);
|
|
|
+ }, that.vjson);
|
|
|
+ designer.removeAll(true);
|
|
|
+ designer.add(config);
|
|
|
};
|
|
|
/**
|
|
|
* 关闭对话框(或标签页)
|
|
@@ -61909,6 +61901,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
}
|
|
|
return (hash & 0x7FFFFFFF) + "";
|
|
|
}
|
|
|
+ //# sourceMappingURL=Scope.js.map
|
|
|
|
|
|
(function (FuncDomain) {
|
|
|
FuncDomain["SCOPE"] = "scope";
|
|
@@ -136454,6 +136447,32 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
}
|
|
|
//# sourceMappingURL=dict.js.map
|
|
|
|
|
|
+ function initDesigner () {
|
|
|
+ Ext.define('com.yvan.studio.designer', {
|
|
|
+ extend: 'Ext.panel.Panel',
|
|
|
+ alias: 'widget.designer',
|
|
|
+ xtype: 'designer',
|
|
|
+ layout: 'fit',
|
|
|
+ items: [],
|
|
|
+ constructor: function (config) {
|
|
|
+ var self = this;
|
|
|
+ var newConfig = lodash.defaultsDeep({
|
|
|
+ // 强制性属性
|
|
|
+ }, config);
|
|
|
+ this.superclass.constructor.call(self, newConfig);
|
|
|
+ },
|
|
|
+ initComponent: function () {
|
|
|
+ var me = this;
|
|
|
+ me.on({
|
|
|
+ afterrender: function () {
|
|
|
+ }
|
|
|
+ });
|
|
|
+ this.superclass.initComponent.call(me);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ //# sourceMappingURL=designer.js.map
|
|
|
+
|
|
|
var FixClass = /** @class */ (function () {
|
|
|
function FixClass() {
|
|
|
}
|
|
@@ -136714,6 +136733,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
initSqlComplex();
|
|
|
initParamComplex();
|
|
|
initDict();
|
|
|
+ initDesigner();
|
|
|
}
|
|
|
//# sourceMappingURL=init.js.map
|
|
|
|