eoss-ui 0.7.90 → 0.7.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/button-group.js +16 -0
- package/lib/button.js +18 -2
- package/lib/calogin.js +16 -0
- package/lib/checkbox-group.js +16 -0
- package/lib/data-table-form.js +16 -0
- package/lib/data-table.js +24 -8
- package/lib/date-picker.js +16 -0
- package/lib/dialog.js +27 -6
- package/lib/eoss-ui.common.js +759 -744
- package/lib/flow-group.js +30 -15
- package/lib/flow-list.js +112 -96
- package/lib/flow.js +178 -162
- package/lib/form.js +16 -0
- package/lib/handle-user.js +19 -3
- package/lib/handler.js +26 -10
- package/lib/icon.js +16 -0
- package/lib/index.js +1 -1
- package/lib/input-number.js +16 -0
- package/lib/input.js +16 -0
- package/lib/login.js +16 -0
- package/lib/main.js +397 -386
- package/lib/nav.js +16 -0
- package/lib/page.js +16 -0
- package/lib/pagination.js +19 -3
- package/lib/player.js +16 -0
- package/lib/qr-code.js +16 -0
- package/lib/radio-group.js +16 -0
- package/lib/retrial-auth.js +22 -6
- package/lib/select-ganged.js +16 -0
- package/lib/select.js +16 -0
- package/lib/selector-panel.js +16 -0
- package/lib/selector.js +16 -0
- package/lib/sizer.js +16 -0
- package/lib/steps.js +16 -0
- package/lib/switch.js +16 -0
- package/lib/table-form.js +16 -0
- package/lib/tabs.js +16 -0
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/tips.js +16 -0
- package/lib/tree-group.js +19 -3
- package/lib/tree.js +16 -0
- package/lib/upload.js +16 -0
- package/lib/utils/util.js +16 -0
- package/lib/wujie.js +16 -0
- package/lib/wxlogin.js +16 -0
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/button/src/main.vue +2 -2
- package/packages/button-group/src/main.vue +346 -346
- package/packages/calogin/.DS_Store +0 -0
- package/packages/calogin/src/main.vue +412 -412
- package/packages/clients/src/main.vue +151 -151
- package/packages/data-table/src/main.vue +4 -3
- package/packages/date-picker/.DS_Store +0 -0
- package/packages/date-picker/src/.DS_Store +0 -0
- package/packages/dialog/.DS_Store +0 -0
- package/packages/dialog/src/main.vue +11 -4
- package/packages/flow/.DS_Store +0 -0
- package/packages/flow/src/.DS_Store +0 -0
- package/packages/flow/src/component/Circulate.vue +417 -417
- package/packages/flow/src/component/CommonOpinions.vue +376 -376
- package/packages/flow/src/component/CustomPreset.vue +324 -324
- package/packages/flow/src/component/FileList.vue +97 -97
- package/packages/flow/src/component/FreeCirculation.vue +244 -244
- package/packages/flow/src/component/Preset.vue +257 -257
- package/packages/flow/src/component/SendMsg.vue +242 -242
- package/packages/flow/src/component/SortFlow.vue +110 -110
- package/packages/flow/src/component/taskUnionExamine.vue +761 -761
- package/packages/flow/src/form.vue +123 -123
- package/packages/flow/src/freeStartFlow.vue +2855 -2855
- package/packages/flow/src/processForm.vue +1680 -1680
- package/packages/flow/src/processReject.vue +309 -309
- package/packages/flow/src/reset.vue +946 -946
- package/packages/flow/src/startTaskRead.vue +695 -695
- package/packages/flow/src/supervise.vue +159 -159
- package/packages/flow/src/table.vue +58 -58
- package/packages/flow-group/src/main.vue +728 -727
- package/packages/flow-list/.DS_Store +0 -0
- package/packages/flow-list/src/main.vue +2337 -2337
- package/packages/form/.DS_Store +0 -0
- package/packages/form/src/main.vue +3901 -3901
- package/packages/form/src/table.vue +1512 -1512
- package/packages/handle-user/src/main.vue +137 -137
- package/packages/handler/src/main.vue +10 -8
- package/packages/icon/.DS_Store +0 -0
- package/packages/icon/src/main.vue +104 -104
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +2087 -2087
- package/packages/login/src/resetPassword.vue +557 -557
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/userinfo.vue +505 -503
- package/packages/main/src/main.vue +10 -15
- package/packages/main/src/public/online.vue +89 -89
- package/packages/main/src/public/search.vue +464 -464
- package/packages/main/src/public/settings.vue +273 -273
- package/packages/main/src/simplicity/apps.vue +388 -388
- package/packages/main/src/simplicity/avatar.vue +82 -82
- package/packages/main/src/simplicity/handler.vue +158 -158
- package/packages/main/src/simplicity/index.vue +2330 -2328
- package/packages/main/src/simplicity/menu-list.vue +135 -135
- package/packages/main/src/simplicity/message.vue +293 -293
- package/packages/main/src/simplicity/notice.vue +222 -222
- package/packages/main/src/simplicity/sub-menu.vue +276 -276
- package/packages/main/src/simplicity/user.vue +259 -259
- package/packages/main/src/simplicity/userinfo.vue +403 -401
- package/packages/main/src/simplicityTop/apps.vue +388 -388
- package/packages/main/src/simplicityTop/avatar.vue +82 -82
- package/packages/main/src/simplicityTop/handler.vue +215 -215
- package/packages/main/src/simplicityTop/index.vue +2620 -2618
- package/packages/main/src/simplicityTop/lists.vue +84 -84
- package/packages/main/src/simplicityTop/menu-list.vue +135 -135
- package/packages/main/src/simplicityTop/message.vue +293 -293
- package/packages/main/src/simplicityTop/notice.vue +222 -222
- package/packages/main/src/simplicityTop/router-page.vue +45 -45
- package/packages/main/src/simplicityTop/sub-menu.vue +274 -274
- package/packages/main/src/simplicityTop/user.vue +259 -259
- package/packages/main/src/simplicityTop/userinfo.vue +403 -401
- package/packages/menu/.DS_Store +0 -0
- package/packages/menu/src/main.vue +595 -595
- package/packages/nav/src/main.vue +351 -351
- package/packages/pagination/src/main.vue +1 -1
- package/packages/retrial-auth/src/main.vue +4 -4
- package/packages/select/.DS_Store +0 -0
- package/packages/selector/.DS_Store +0 -0
- package/packages/selector/src/main.vue +761 -761
- package/packages/selector-panel/.DS_Store +0 -0
- package/packages/selector-panel/src/main.vue +1036 -1036
- package/packages/selector-panel/src/selection.vue +174 -174
- package/packages/switch/src/main.vue +170 -170
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/data-table.scss +297 -297
- package/packages/theme-chalk/src/flow-list.scss +55 -55
- package/packages/theme-chalk/src/flow.scss +373 -373
- package/packages/theme-chalk/src/form.scss +501 -501
- package/packages/theme-chalk/src/handler.scss +148 -148
- package/packages/theme-chalk/src/icon.scss +3452 -3452
- package/packages/theme-chalk/src/login.scss +1006 -1006
- package/packages/theme-chalk/src/main.scss +664 -664
- package/packages/theme-chalk/src/menu.scss +224 -224
- package/packages/theme-chalk/src/selector.scss +114 -114
- package/packages/theme-chalk/src/simplicity-top.scss +1845 -1845
- package/packages/theme-chalk/src/simplicity.scss +1403 -1403
- package/packages/theme-chalk/src/tree.scss +165 -165
- package/packages/theme-chalk/src/upload.scss +172 -172
- package/packages/tips/src/main.vue +141 -141
- package/packages/toolbar/src/main.vue +430 -430
- package/packages/tree-group/src/main.vue +2 -1
- package/packages/upload/.DS_Store +0 -0
- package/packages/upload/src/main.vue +1344 -1344
- package/packages/wujie/src/main.vue +146 -146
- package/src/.DS_Store +0 -0
- package/src/config/api.js +348 -348
- package/src/index.js +163 -163
- package/src/utils/.DS_Store +0 -0
- package/src/utils/rules.js +18 -18
- package/src/utils/util.js +16 -0
package/lib/button-group.js
CHANGED
|
@@ -2128,6 +2128,21 @@ var getWeekday = function getWeekday(date) {
|
|
|
2128
2128
|
// Adjust for JavaScript's day numbering (0 is Sunday, 1 is Monday, etc.)
|
|
2129
2129
|
return adjustedDay === 0 ? 7 : adjustedDay;
|
|
2130
2130
|
};
|
|
2131
|
+
/**
|
|
2132
|
+
* getWinTop
|
|
2133
|
+
* @desc 获取同域的top窗口
|
|
2134
|
+
* @param {object} [wind] - window对象
|
|
2135
|
+
* @return {Window} 同域的top窗口
|
|
2136
|
+
**/
|
|
2137
|
+
var getWinTop = function getWinTop(wind) {
|
|
2138
|
+
wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
|
|
2139
|
+
try {
|
|
2140
|
+
wind.parent.document;
|
|
2141
|
+
return getWinTop(wind.parent);
|
|
2142
|
+
} catch (error) {
|
|
2143
|
+
return wind;
|
|
2144
|
+
}
|
|
2145
|
+
};
|
|
2131
2146
|
|
|
2132
2147
|
/**
|
|
2133
2148
|
* getZoom
|
|
@@ -3873,6 +3888,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3873
3888
|
getTypeName: getTypeName,
|
|
3874
3889
|
getValues: getValues,
|
|
3875
3890
|
getWeekday: getWeekday,
|
|
3891
|
+
getWinTop: getWinTop,
|
|
3876
3892
|
handlerUrl: handlerUrl,
|
|
3877
3893
|
hasChars: hasChars,
|
|
3878
3894
|
hasClass: hasClass,
|
package/lib/button.js
CHANGED
|
@@ -2129,6 +2129,21 @@ var getWeekday = function getWeekday(date) {
|
|
|
2129
2129
|
// Adjust for JavaScript's day numbering (0 is Sunday, 1 is Monday, etc.)
|
|
2130
2130
|
return adjustedDay === 0 ? 7 : adjustedDay;
|
|
2131
2131
|
};
|
|
2132
|
+
/**
|
|
2133
|
+
* getWinTop
|
|
2134
|
+
* @desc 获取同域的top窗口
|
|
2135
|
+
* @param {object} [wind] - window对象
|
|
2136
|
+
* @return {Window} 同域的top窗口
|
|
2137
|
+
**/
|
|
2138
|
+
var getWinTop = function getWinTop(wind) {
|
|
2139
|
+
wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
|
|
2140
|
+
try {
|
|
2141
|
+
wind.parent.document;
|
|
2142
|
+
return getWinTop(wind.parent);
|
|
2143
|
+
} catch (error) {
|
|
2144
|
+
return wind;
|
|
2145
|
+
}
|
|
2146
|
+
};
|
|
2132
2147
|
|
|
2133
2148
|
/**
|
|
2134
2149
|
* getZoom
|
|
@@ -3874,6 +3889,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3874
3889
|
getTypeName: getTypeName,
|
|
3875
3890
|
getValues: getValues,
|
|
3876
3891
|
getWeekday: getWeekday,
|
|
3892
|
+
getWinTop: getWinTop,
|
|
3877
3893
|
handlerUrl: handlerUrl,
|
|
3878
3894
|
hasChars: hasChars,
|
|
3879
3895
|
hasClass: hasClass,
|
|
@@ -4654,8 +4670,8 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
4654
4670
|
evt.preventDefault();
|
|
4655
4671
|
var width = 0;
|
|
4656
4672
|
var height = 0;
|
|
4657
|
-
width = util["a" /* default */].win.
|
|
4658
|
-
height = util["a" /* default */].win.
|
|
4673
|
+
width = util["a" /* default */].win.screen.availWidth - 10;
|
|
4674
|
+
height = util["a" /* default */].win.screen.availHeight - 60;
|
|
4659
4675
|
var flag = true;
|
|
4660
4676
|
if (this.esForm) {
|
|
4661
4677
|
var params = util["a" /* default */].getParams({ url: this.link });
|
package/lib/calogin.js
CHANGED
|
@@ -2128,6 +2128,21 @@ var getWeekday = function getWeekday(date) {
|
|
|
2128
2128
|
// Adjust for JavaScript's day numbering (0 is Sunday, 1 is Monday, etc.)
|
|
2129
2129
|
return adjustedDay === 0 ? 7 : adjustedDay;
|
|
2130
2130
|
};
|
|
2131
|
+
/**
|
|
2132
|
+
* getWinTop
|
|
2133
|
+
* @desc 获取同域的top窗口
|
|
2134
|
+
* @param {object} [wind] - window对象
|
|
2135
|
+
* @return {Window} 同域的top窗口
|
|
2136
|
+
**/
|
|
2137
|
+
var getWinTop = function getWinTop(wind) {
|
|
2138
|
+
wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
|
|
2139
|
+
try {
|
|
2140
|
+
wind.parent.document;
|
|
2141
|
+
return getWinTop(wind.parent);
|
|
2142
|
+
} catch (error) {
|
|
2143
|
+
return wind;
|
|
2144
|
+
}
|
|
2145
|
+
};
|
|
2131
2146
|
|
|
2132
2147
|
/**
|
|
2133
2148
|
* getZoom
|
|
@@ -3873,6 +3888,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3873
3888
|
getTypeName: getTypeName,
|
|
3874
3889
|
getValues: getValues,
|
|
3875
3890
|
getWeekday: getWeekday,
|
|
3891
|
+
getWinTop: getWinTop,
|
|
3876
3892
|
handlerUrl: handlerUrl,
|
|
3877
3893
|
hasChars: hasChars,
|
|
3878
3894
|
hasClass: hasClass,
|
package/lib/checkbox-group.js
CHANGED
|
@@ -2128,6 +2128,21 @@ var getWeekday = function getWeekday(date) {
|
|
|
2128
2128
|
// Adjust for JavaScript's day numbering (0 is Sunday, 1 is Monday, etc.)
|
|
2129
2129
|
return adjustedDay === 0 ? 7 : adjustedDay;
|
|
2130
2130
|
};
|
|
2131
|
+
/**
|
|
2132
|
+
* getWinTop
|
|
2133
|
+
* @desc 获取同域的top窗口
|
|
2134
|
+
* @param {object} [wind] - window对象
|
|
2135
|
+
* @return {Window} 同域的top窗口
|
|
2136
|
+
**/
|
|
2137
|
+
var getWinTop = function getWinTop(wind) {
|
|
2138
|
+
wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
|
|
2139
|
+
try {
|
|
2140
|
+
wind.parent.document;
|
|
2141
|
+
return getWinTop(wind.parent);
|
|
2142
|
+
} catch (error) {
|
|
2143
|
+
return wind;
|
|
2144
|
+
}
|
|
2145
|
+
};
|
|
2131
2146
|
|
|
2132
2147
|
/**
|
|
2133
2148
|
* getZoom
|
|
@@ -3873,6 +3888,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3873
3888
|
getTypeName: getTypeName,
|
|
3874
3889
|
getValues: getValues,
|
|
3875
3890
|
getWeekday: getWeekday,
|
|
3891
|
+
getWinTop: getWinTop,
|
|
3876
3892
|
handlerUrl: handlerUrl,
|
|
3877
3893
|
hasChars: hasChars,
|
|
3878
3894
|
hasClass: hasClass,
|
package/lib/data-table-form.js
CHANGED
|
@@ -2128,6 +2128,21 @@ var getWeekday = function getWeekday(date) {
|
|
|
2128
2128
|
// Adjust for JavaScript's day numbering (0 is Sunday, 1 is Monday, etc.)
|
|
2129
2129
|
return adjustedDay === 0 ? 7 : adjustedDay;
|
|
2130
2130
|
};
|
|
2131
|
+
/**
|
|
2132
|
+
* getWinTop
|
|
2133
|
+
* @desc 获取同域的top窗口
|
|
2134
|
+
* @param {object} [wind] - window对象
|
|
2135
|
+
* @return {Window} 同域的top窗口
|
|
2136
|
+
**/
|
|
2137
|
+
var getWinTop = function getWinTop(wind) {
|
|
2138
|
+
wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
|
|
2139
|
+
try {
|
|
2140
|
+
wind.parent.document;
|
|
2141
|
+
return getWinTop(wind.parent);
|
|
2142
|
+
} catch (error) {
|
|
2143
|
+
return wind;
|
|
2144
|
+
}
|
|
2145
|
+
};
|
|
2131
2146
|
|
|
2132
2147
|
/**
|
|
2133
2148
|
* getZoom
|
|
@@ -3873,6 +3888,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3873
3888
|
getTypeName: getTypeName,
|
|
3874
3889
|
getValues: getValues,
|
|
3875
3890
|
getWeekday: getWeekday,
|
|
3891
|
+
getWinTop: getWinTop,
|
|
3876
3892
|
handlerUrl: handlerUrl,
|
|
3877
3893
|
hasChars: hasChars,
|
|
3878
3894
|
hasClass: hasClass,
|
package/lib/data-table.js
CHANGED
|
@@ -2128,6 +2128,21 @@ var getWeekday = function getWeekday(date) {
|
|
|
2128
2128
|
// Adjust for JavaScript's day numbering (0 is Sunday, 1 is Monday, etc.)
|
|
2129
2129
|
return adjustedDay === 0 ? 7 : adjustedDay;
|
|
2130
2130
|
};
|
|
2131
|
+
/**
|
|
2132
|
+
* getWinTop
|
|
2133
|
+
* @desc 获取同域的top窗口
|
|
2134
|
+
* @param {object} [wind] - window对象
|
|
2135
|
+
* @return {Window} 同域的top窗口
|
|
2136
|
+
**/
|
|
2137
|
+
var getWinTop = function getWinTop(wind) {
|
|
2138
|
+
wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
|
|
2139
|
+
try {
|
|
2140
|
+
wind.parent.document;
|
|
2141
|
+
return getWinTop(wind.parent);
|
|
2142
|
+
} catch (error) {
|
|
2143
|
+
return wind;
|
|
2144
|
+
}
|
|
2145
|
+
};
|
|
2131
2146
|
|
|
2132
2147
|
/**
|
|
2133
2148
|
* getZoom
|
|
@@ -3873,6 +3888,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3873
3888
|
getTypeName: getTypeName,
|
|
3874
3889
|
getValues: getValues,
|
|
3875
3890
|
getWeekday: getWeekday,
|
|
3891
|
+
getWinTop: getWinTop,
|
|
3876
3892
|
handlerUrl: handlerUrl,
|
|
3877
3893
|
hasChars: hasChars,
|
|
3878
3894
|
hasClass: hasClass,
|
|
@@ -4595,8 +4611,8 @@ module.exports = require("throttle-debounce");
|
|
|
4595
4611
|
// ESM COMPAT FLAG
|
|
4596
4612
|
__webpack_require__.r(__webpack_exports__);
|
|
4597
4613
|
|
|
4598
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=
|
|
4599
|
-
var
|
|
4614
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=0602cb50&
|
|
4615
|
+
var mainvue_type_template_id_0602cb50_render = function () {
|
|
4600
4616
|
var _vm = this
|
|
4601
4617
|
var _h = _vm.$createElement
|
|
4602
4618
|
var _c = _vm._self._c || _h
|
|
@@ -4998,10 +5014,10 @@ var mainvue_type_template_id_ac23110e_render = function () {
|
|
|
4998
5014
|
)
|
|
4999
5015
|
}
|
|
5000
5016
|
var staticRenderFns = []
|
|
5001
|
-
|
|
5017
|
+
mainvue_type_template_id_0602cb50_render._withStripped = true
|
|
5002
5018
|
|
|
5003
5019
|
|
|
5004
|
-
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=
|
|
5020
|
+
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=0602cb50&
|
|
5005
5021
|
|
|
5006
5022
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
5007
5023
|
var api = __webpack_require__(1);
|
|
@@ -7395,7 +7411,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
7395
7411
|
|
|
7396
7412
|
|
|
7397
7413
|
|
|
7398
|
-
var systemMode = util["a" /* default */].
|
|
7414
|
+
var systemMode = util["a" /* default */].getWinTop().systemMode || util["a" /* default */].win.systemMode || 'default';
|
|
7399
7415
|
var pageView = util["a" /* default */].getParams('pageView');
|
|
7400
7416
|
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
7401
7417
|
name: 'EsDataTable',
|
|
@@ -8011,7 +8027,7 @@ var pageView = util["a" /* default */].getParams('pageView');
|
|
|
8011
8027
|
},
|
|
8012
8028
|
showEditPage: function showEditPage(val) {
|
|
8013
8029
|
if (val === false) {
|
|
8014
|
-
util["a" /* default */].
|
|
8030
|
+
util["a" /* default */].getwintop().refresh();
|
|
8015
8031
|
}
|
|
8016
8032
|
}
|
|
8017
8033
|
},
|
|
@@ -8036,7 +8052,7 @@ var pageView = util["a" /* default */].getParams('pageView');
|
|
|
8036
8052
|
}
|
|
8037
8053
|
this.list.length && this.checkSelect(this.checked);
|
|
8038
8054
|
this.resetHeight();
|
|
8039
|
-
if (util["a" /* default */].
|
|
8055
|
+
if (util["a" /* default */].getwintop() != util["a" /* default */].win.self) {
|
|
8040
8056
|
util["a" /* default */].win.onresize = Object(external_throttle_debounce_["throttle"])(500, this.resetHeight);
|
|
8041
8057
|
}
|
|
8042
8058
|
},
|
|
@@ -8898,7 +8914,7 @@ var pageView = util["a" /* default */].getParams('pageView');
|
|
|
8898
8914
|
|
|
8899
8915
|
var main_component = Object(componentNormalizer["a" /* default */])(
|
|
8900
8916
|
src_mainvue_type_script_lang_js_,
|
|
8901
|
-
|
|
8917
|
+
mainvue_type_template_id_0602cb50_render,
|
|
8902
8918
|
staticRenderFns,
|
|
8903
8919
|
false,
|
|
8904
8920
|
null,
|
package/lib/date-picker.js
CHANGED
|
@@ -2129,6 +2129,21 @@ var getWeekday = function getWeekday(date) {
|
|
|
2129
2129
|
// Adjust for JavaScript's day numbering (0 is Sunday, 1 is Monday, etc.)
|
|
2130
2130
|
return adjustedDay === 0 ? 7 : adjustedDay;
|
|
2131
2131
|
};
|
|
2132
|
+
/**
|
|
2133
|
+
* getWinTop
|
|
2134
|
+
* @desc 获取同域的top窗口
|
|
2135
|
+
* @param {object} [wind] - window对象
|
|
2136
|
+
* @return {Window} 同域的top窗口
|
|
2137
|
+
**/
|
|
2138
|
+
var getWinTop = function getWinTop(wind) {
|
|
2139
|
+
wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
|
|
2140
|
+
try {
|
|
2141
|
+
wind.parent.document;
|
|
2142
|
+
return getWinTop(wind.parent);
|
|
2143
|
+
} catch (error) {
|
|
2144
|
+
return wind;
|
|
2145
|
+
}
|
|
2146
|
+
};
|
|
2132
2147
|
|
|
2133
2148
|
/**
|
|
2134
2149
|
* getZoom
|
|
@@ -3874,6 +3889,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3874
3889
|
getTypeName: getTypeName,
|
|
3875
3890
|
getValues: getValues,
|
|
3876
3891
|
getWeekday: getWeekday,
|
|
3892
|
+
getWinTop: getWinTop,
|
|
3877
3893
|
handlerUrl: handlerUrl,
|
|
3878
3894
|
hasChars: hasChars,
|
|
3879
3895
|
hasClass: hasClass,
|
package/lib/dialog.js
CHANGED
|
@@ -2129,6 +2129,21 @@ var getWeekday = function getWeekday(date) {
|
|
|
2129
2129
|
// Adjust for JavaScript's day numbering (0 is Sunday, 1 is Monday, etc.)
|
|
2130
2130
|
return adjustedDay === 0 ? 7 : adjustedDay;
|
|
2131
2131
|
};
|
|
2132
|
+
/**
|
|
2133
|
+
* getWinTop
|
|
2134
|
+
* @desc 获取同域的top窗口
|
|
2135
|
+
* @param {object} [wind] - window对象
|
|
2136
|
+
* @return {Window} 同域的top窗口
|
|
2137
|
+
**/
|
|
2138
|
+
var getWinTop = function getWinTop(wind) {
|
|
2139
|
+
wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
|
|
2140
|
+
try {
|
|
2141
|
+
wind.parent.document;
|
|
2142
|
+
return getWinTop(wind.parent);
|
|
2143
|
+
} catch (error) {
|
|
2144
|
+
return wind;
|
|
2145
|
+
}
|
|
2146
|
+
};
|
|
2132
2147
|
|
|
2133
2148
|
/**
|
|
2134
2149
|
* getZoom
|
|
@@ -3874,6 +3889,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3874
3889
|
getTypeName: getTypeName,
|
|
3875
3890
|
getValues: getValues,
|
|
3876
3891
|
getWeekday: getWeekday,
|
|
3892
|
+
getWinTop: getWinTop,
|
|
3877
3893
|
handlerUrl: handlerUrl,
|
|
3878
3894
|
hasChars: hasChars,
|
|
3879
3895
|
hasClass: hasClass,
|
|
@@ -4551,7 +4567,7 @@ module.exports = require("babel-runtime/regenerator");
|
|
|
4551
4567
|
// ESM COMPAT FLAG
|
|
4552
4568
|
__webpack_require__.r(__webpack_exports__);
|
|
4553
4569
|
|
|
4554
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=
|
|
4570
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=6356d186&
|
|
4555
4571
|
var render = function () {
|
|
4556
4572
|
var _vm = this
|
|
4557
4573
|
var _h = _vm.$createElement
|
|
@@ -5070,7 +5086,7 @@ var staticRenderFns = []
|
|
|
5070
5086
|
render._withStripped = true
|
|
5071
5087
|
|
|
5072
5088
|
|
|
5073
|
-
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=
|
|
5089
|
+
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=6356d186&
|
|
5074
5090
|
|
|
5075
5091
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
5076
5092
|
var regenerator_ = __webpack_require__(4);
|
|
@@ -5360,9 +5376,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5360
5376
|
|
|
5361
5377
|
var availWidth = 0;
|
|
5362
5378
|
var availHeight = 0;
|
|
5363
|
-
availWidth = util["a" /* default */].
|
|
5364
|
-
availHeight = util["a" /* default */].
|
|
5365
|
-
var systemMode = util["a" /* default */].win.top.systemMode || util["a" /* default */].win.systemMode || 'default';
|
|
5379
|
+
availWidth = util["a" /* default */].getWinTop().document.body.offsetWidth - 260;
|
|
5380
|
+
availHeight = util["a" /* default */].getWinTop().document.body.offsetHeight - 60;
|
|
5366
5381
|
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
5367
5382
|
name: 'EsDialog',
|
|
5368
5383
|
inheritAttrs: false,
|
|
@@ -5387,7 +5402,13 @@ var systemMode = util["a" /* default */].win.top.systemMode || util["a" /* defau
|
|
|
5387
5402
|
props: {
|
|
5388
5403
|
mode: {
|
|
5389
5404
|
type: String,
|
|
5390
|
-
default:
|
|
5405
|
+
default: function _default() {
|
|
5406
|
+
try {
|
|
5407
|
+
return util["a" /* default */].getWinTop().systemMode || util["a" /* default */].win.systemMode || 'default';
|
|
5408
|
+
} catch (e) {
|
|
5409
|
+
return util["a" /* default */].win.systemMode || 'default';
|
|
5410
|
+
}
|
|
5411
|
+
}
|
|
5391
5412
|
},
|
|
5392
5413
|
title: String,
|
|
5393
5414
|
busEvent: String,
|