|
@@ -37758,10 +37758,6 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
*/
|
|
|
this.id = lodash.uniqueId('scope_');
|
|
|
this._lastShowTime = 0;
|
|
|
- /**
|
|
|
- * 被满屏显示的组件,返回按钮的效果,是隐藏这个组件
|
|
|
- */
|
|
|
- this._fullScreenCmp = undefined;
|
|
|
this.model = model;
|
|
|
this.originalVjson = lodash.cloneDeep(vjson);
|
|
|
if (vjson.scopeTag) {
|
|
@@ -37962,13 +37958,24 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
handle.close();
|
|
|
};
|
|
|
Scope.prototype.goBack = function (params, scopeTag) {
|
|
|
+ // if(this._fullScreenCmp) {
|
|
|
+ // this._fullScreenCmp.hide()
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // const fullScreenCmp = this._handle?.down('[fullscreen=true]')
|
|
|
+ // if(fullScreenCmp?.isVisible()){
|
|
|
+ // this._handle?.down('[fullscreen=true]').hide()
|
|
|
+ // return
|
|
|
+ // }
|
|
|
if (params === void 0) { params = null; }
|
|
|
if (scopeTag === void 0) { scopeTag = undefined; }
|
|
|
- if (this._fullScreenCmp) {
|
|
|
- this._fullScreenCmp.hide();
|
|
|
+ var handle = Ext.Viewport.getActiveItem();
|
|
|
+ // 被满屏显示的组件,返回按钮的效果,是隐藏这个组件
|
|
|
+ var fullScreenCmp = handle === null || handle === void 0 ? void 0 : handle.down('[fullscreen=true]');
|
|
|
+ if (fullScreenCmp === null || fullScreenCmp === void 0 ? void 0 : fullScreenCmp.isVisible()) {
|
|
|
+ fullScreenCmp.hide();
|
|
|
return;
|
|
|
}
|
|
|
- var handle = Ext.Viewport.getActiveItem();
|
|
|
var tagIndex = 0;
|
|
|
var currentIndex = Scope.SHOW_PAGE_STACK.findIndex(function (scope) { return scope._handle === handle; });
|
|
|
if (scopeTag) {
|
|
@@ -38310,6 +38317,8 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
timeout: 60000
|
|
|
};
|
|
|
var list = {
|
|
|
+ fullscreen: true,
|
|
|
+ hidden: true,
|
|
|
autoLoad: false,
|
|
|
pagination: true,
|
|
|
pageSize: 10,
|
|
@@ -38324,14 +38333,21 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
loadedText: '加载完成',
|
|
|
loadingText: '加载中...',
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
+ showAnimation: {
|
|
|
+ type: 'slide',
|
|
|
+ direction: 'left',
|
|
|
+ },
|
|
|
+ hideAnimation: {
|
|
|
+ type: 'slideOut',
|
|
|
+ direction: 'right',
|
|
|
+ },
|
|
|
};
|
|
|
var cols = {
|
|
|
defaults: {
|
|
|
flex: 1
|
|
|
},
|
|
|
};
|
|
|
- //# sourceMappingURL=Defaults.js.map
|
|
|
|
|
|
function initDate () {
|
|
|
var cc = Ext.field.Date.prototype.constructor;
|
|
@@ -39951,16 +39967,6 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
convertDataSource(me, scope, config);
|
|
|
}
|
|
|
this.on({
|
|
|
- show: function (sender) {
|
|
|
- if (sender.fullscreen) {
|
|
|
- scope._fullScreenCmp = this;
|
|
|
- }
|
|
|
- },
|
|
|
- hide: function (sender) {
|
|
|
- if (sender.fullscreen) {
|
|
|
- scope._fullScreenCmp = undefined;
|
|
|
- }
|
|
|
- },
|
|
|
childtap: function (sender, location, eOpts) {
|
|
|
this.itemclick(sender, location, eOpts);
|
|
|
},
|
|
@@ -40026,6 +40032,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
}
|
|
|
// throw new TypeError('无法识别的调用方法')
|
|
|
}
|
|
|
+ //# sourceMappingURL=list.js.map
|
|
|
|
|
|
function initCols () {
|
|
|
Ext.define('Yvan.Cols', {
|