eoss-ui 0.5.55 → 0.5.58
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 +19 -9
- package/lib/button.js +4 -4
- package/lib/cascader.js +2 -2
- package/lib/checkbox-group.js +2 -2
- package/lib/data-table-form.js +2 -2
- package/lib/data-table.js +32 -19
- package/lib/date-picker.js +4 -4
- package/lib/dialog.js +2 -2
- package/lib/eoss-ui.common.js +179 -61
- package/lib/flow-group.js +2 -2
- package/lib/flow-list.js +2 -2
- package/lib/flow.js +6 -7
- package/lib/form.js +2 -2
- package/lib/handle-user.js +2 -2
- package/lib/handler.js +2 -2
- package/lib/icon.js +3841 -0
- package/lib/icons.js +2 -2
- package/lib/index.js +1 -1
- package/lib/input-number.js +4 -4
- package/lib/input.js +4 -4
- package/lib/label.js +2 -2
- package/lib/login.js +2 -2
- package/lib/main.js +2 -2
- package/lib/menu.js +2 -2
- package/lib/nav.js +4 -4
- package/lib/notify.js +2 -2
- package/lib/page.js +4 -4
- package/lib/pagination.js +2 -2
- package/lib/player.js +4 -4
- package/lib/qr-code.js +4 -4
- package/lib/radio-group.js +4 -4
- package/lib/retrial-auth.js +4 -4
- package/lib/select-ganged.js +4 -4
- package/lib/select.js +4 -4
- package/lib/selector-panel.js +2 -2
- package/lib/selector.js +11 -11
- package/lib/sizer.js +4 -4
- package/lib/steps.js +4 -4
- package/lib/switch.js +11 -11
- package/lib/table-form.js +4 -4
- package/lib/tabs-panel.js +2 -2
- package/lib/tabs.js +4 -4
- package/lib/theme-chalk/data-table.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/tips.js +4 -4
- package/lib/toolbar.js +2 -2
- package/lib/tree-group.js +4 -4
- package/lib/tree.js +10 -8
- package/lib/upload.js +2 -2
- package/lib/utils/util.js +2 -2
- package/lib/wujie.js +4 -4
- package/lib/wxlogin.js +137 -137
- package/package.json +1 -1
- package/packages/button-group/src/main.vue +5 -5
- package/packages/data-table/src/column.vue +1 -1
- package/packages/data-table/src/main.vue +14 -4
- package/packages/flow/src/main.vue +2 -3
- package/packages/icon/index.js +5 -0
- package/packages/icon/src/main.vue +43 -0
- package/packages/theme-chalk/lib/data-table.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/src/data-table.scss +17 -0
- package/packages/theme-chalk/src/menu.scss +3 -5
- package/packages/tree/src/main.vue +14 -2
- package/src/index.js +4 -1
- package/src/utils/util.js +2 -1
package/lib/flow.js
CHANGED
|
@@ -2004,7 +2004,7 @@ var isFunction = function isFunction(obj) {
|
|
|
2004
2004
|
* @param {object} [to] - 路由跳转信息
|
|
2005
2005
|
* @param {object} [from] - 路由来源信息
|
|
2006
2006
|
* @param {function} [next] - 跳转函数
|
|
2007
|
-
* @param {array} [exclude] - 不拦截的路由
|
|
2007
|
+
* @param {array/boolean} [exclude] - 不拦截的路由
|
|
2008
2008
|
* @param {boolean} [open] - 是否新窗口打开
|
|
2009
2009
|
* @param {boolean} [cookie] - 是否尝试采用
|
|
2010
2010
|
* @param {sting} [loginPage] - 第三方登录页面地址
|
|
@@ -2157,7 +2157,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2157
2157
|
});
|
|
2158
2158
|
}
|
|
2159
2159
|
}).catch(function (e) {});
|
|
2160
|
-
} else if (token || to.path === '/' || to.path === '/404' || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2160
|
+
} else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2161
2161
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2162
2162
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
2163
2163
|
} else {
|
|
@@ -3923,7 +3923,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
3923
3923
|
// ESM COMPAT FLAG
|
|
3924
3924
|
__webpack_require__.r(__webpack_exports__);
|
|
3925
3925
|
|
|
3926
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=
|
|
3926
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=301e1065&
|
|
3927
3927
|
var render = function () {
|
|
3928
3928
|
var _vm = this
|
|
3929
3929
|
var _h = _vm.$createElement
|
|
@@ -5648,7 +5648,7 @@ var staticRenderFns = []
|
|
|
5648
5648
|
render._withStripped = true
|
|
5649
5649
|
|
|
5650
5650
|
|
|
5651
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
5651
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=301e1065&
|
|
5652
5652
|
|
|
5653
5653
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
5654
5654
|
var regenerator_ = __webpack_require__(12);
|
|
@@ -14180,7 +14180,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14180
14180
|
_this21.isHideOtherOrg = false;
|
|
14181
14181
|
_this21.isNodeShowProcess = false;
|
|
14182
14182
|
_this21.isMainSubProcess = false;
|
|
14183
|
-
_this21.isNextUser =
|
|
14183
|
+
_this21.isNextUser = _this21.nextNode.nextOperate != 9;
|
|
14184
14184
|
// this.isMainSubProcess === true
|
|
14185
14185
|
// ? (this.isMainSubProcess = true)
|
|
14186
14186
|
// : (this.isMainSubProcess = false);
|
|
@@ -14342,6 +14342,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14342
14342
|
this.loading.close();
|
|
14343
14343
|
return;
|
|
14344
14344
|
} else {}
|
|
14345
|
+
|
|
14345
14346
|
if (isDef !== true) this.getNodeInfo();
|
|
14346
14347
|
},
|
|
14347
14348
|
|
|
@@ -14421,7 +14422,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14421
14422
|
isCanRemoveSign = _res$data2.isCanRemoveSign,
|
|
14422
14423
|
attachedCode = _res$data2.attachedCode,
|
|
14423
14424
|
isSpecial = _res$data2.isSpecial,
|
|
14424
|
-
opinion = _res$data2.opinion,
|
|
14425
14425
|
canPresetRead = _res$data2.canPresetRead,
|
|
14426
14426
|
isCdjxjTaskHandle = _res$data2.isCdjxjTaskHandle,
|
|
14427
14427
|
taskButtonList = _res$data2.taskButtonList;
|
|
@@ -14479,7 +14479,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14479
14479
|
});
|
|
14480
14480
|
_this23.selecNext(_this23.nextNode.nextOperate, true, true);
|
|
14481
14481
|
}
|
|
14482
|
-
|
|
14483
14482
|
if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
|
|
14484
14483
|
_this23.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
|
|
14485
14484
|
if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
|
package/lib/form.js
CHANGED
|
@@ -2005,7 +2005,7 @@ var isFunction = function isFunction(obj) {
|
|
|
2005
2005
|
* @param {object} [to] - 路由跳转信息
|
|
2006
2006
|
* @param {object} [from] - 路由来源信息
|
|
2007
2007
|
* @param {function} [next] - 跳转函数
|
|
2008
|
-
* @param {array} [exclude] - 不拦截的路由
|
|
2008
|
+
* @param {array/boolean} [exclude] - 不拦截的路由
|
|
2009
2009
|
* @param {boolean} [open] - 是否新窗口打开
|
|
2010
2010
|
* @param {boolean} [cookie] - 是否尝试采用
|
|
2011
2011
|
* @param {sting} [loginPage] - 第三方登录页面地址
|
|
@@ -2158,7 +2158,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2158
2158
|
});
|
|
2159
2159
|
}
|
|
2160
2160
|
}).catch(function (e) {});
|
|
2161
|
-
} else if (token || to.path === '/' || to.path === '/404' || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2161
|
+
} else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2162
2162
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2163
2163
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
2164
2164
|
} else {
|
package/lib/handle-user.js
CHANGED
|
@@ -2005,7 +2005,7 @@ var isFunction = function isFunction(obj) {
|
|
|
2005
2005
|
* @param {object} [to] - 路由跳转信息
|
|
2006
2006
|
* @param {object} [from] - 路由来源信息
|
|
2007
2007
|
* @param {function} [next] - 跳转函数
|
|
2008
|
-
* @param {array} [exclude] - 不拦截的路由
|
|
2008
|
+
* @param {array/boolean} [exclude] - 不拦截的路由
|
|
2009
2009
|
* @param {boolean} [open] - 是否新窗口打开
|
|
2010
2010
|
* @param {boolean} [cookie] - 是否尝试采用
|
|
2011
2011
|
* @param {sting} [loginPage] - 第三方登录页面地址
|
|
@@ -2158,7 +2158,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2158
2158
|
});
|
|
2159
2159
|
}
|
|
2160
2160
|
}).catch(function (e) {});
|
|
2161
|
-
} else if (token || to.path === '/' || to.path === '/404' || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2161
|
+
} else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2162
2162
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2163
2163
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
2164
2164
|
} else {
|
package/lib/handler.js
CHANGED
|
@@ -2005,7 +2005,7 @@ var isFunction = function isFunction(obj) {
|
|
|
2005
2005
|
* @param {object} [to] - 路由跳转信息
|
|
2006
2006
|
* @param {object} [from] - 路由来源信息
|
|
2007
2007
|
* @param {function} [next] - 跳转函数
|
|
2008
|
-
* @param {array} [exclude] - 不拦截的路由
|
|
2008
|
+
* @param {array/boolean} [exclude] - 不拦截的路由
|
|
2009
2009
|
* @param {boolean} [open] - 是否新窗口打开
|
|
2010
2010
|
* @param {boolean} [cookie] - 是否尝试采用
|
|
2011
2011
|
* @param {sting} [loginPage] - 第三方登录页面地址
|
|
@@ -2158,7 +2158,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2158
2158
|
});
|
|
2159
2159
|
}
|
|
2160
2160
|
}).catch(function (e) {});
|
|
2161
|
-
} else if (token || to.path === '/' || to.path === '/404' || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2161
|
+
} else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2162
2162
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2163
2163
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
2164
2164
|
} else {
|