eoss-ui 0.5.89 → 0.5.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 +9 -3
- package/lib/button.js +9 -3
- package/lib/checkbox-group.js +9 -3
- package/lib/data-table-form.js +9 -3
- package/lib/data-table.js +9 -3
- package/lib/date-picker.js +9 -3
- package/lib/dialog.js +9 -3
- package/lib/eoss-ui.common.js +4745 -4472
- package/lib/flow-group.js +9 -3
- package/lib/flow-list.js +9 -3
- package/lib/flow.js +9 -3
- package/lib/form.js +4500 -4242
- package/lib/handle-user.js +9 -3
- package/lib/handler.js +206 -195
- package/lib/icon.js +9 -3
- package/lib/index.js +1 -1
- package/lib/input-number.js +9 -3
- package/lib/input.js +9 -3
- package/lib/login.js +24 -8
- package/lib/main.js +21 -15
- package/lib/nav.js +9 -3
- package/lib/page.js +9 -3
- package/lib/pagination.js +9 -3
- package/lib/player.js +9 -3
- package/lib/qr-code.js +9 -3
- package/lib/radio-group.js +9 -3
- package/lib/retrial-auth.js +9 -3
- package/lib/select-ganged.js +9 -3
- package/lib/select.js +9 -3
- package/lib/selector-panel.js +9 -3
- package/lib/selector.js +9 -3
- package/lib/sizer.js +9 -3
- package/lib/steps.js +9 -3
- package/lib/switch.js +9 -3
- package/lib/table-form.js +9 -3
- package/lib/tabs.js +9 -3
- package/lib/tips.js +9 -3
- package/lib/tree-group.js +9 -3
- package/lib/tree.js +9 -3
- package/lib/upload.js +9 -3
- package/lib/utils/util.js +9 -3
- package/lib/wujie.js +9 -3
- package/lib/wxlogin.js +9 -3
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/form/src/main.vue +1863 -1759
- package/packages/handler/src/main.vue +95 -97
- package/packages/login/src/main.vue +18 -7
- package/packages/main/src/main.vue +2 -1
- package/packages/main/src/simplicity/index.vue +2 -1
- package/src/.DS_Store +0 -0
- package/src/index.js +157 -157
- package/src/utils/util.js +426 -238
- package/CHANGELOG.md +0 -929
package/lib/flow-group.js
CHANGED
|
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
|
|
|
259
259
|
}
|
|
260
260
|
if (response.status === 200) {
|
|
261
261
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
262
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
262
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
263
263
|
var href = '';
|
|
264
264
|
try {
|
|
265
265
|
href = win.top.location.href;
|
|
@@ -1020,7 +1020,11 @@ var exportXls = function exportXls(_ref6) {
|
|
|
1020
1020
|
fields.push(td.property);
|
|
1021
1021
|
aligns.push(td.align);
|
|
1022
1022
|
if (td.labelKey && td.valueKey) {
|
|
1023
|
-
keys[td.property] = {
|
|
1023
|
+
keys[td.property] = {
|
|
1024
|
+
labelKey: td.labelKey,
|
|
1025
|
+
valueKey: td.valueKey,
|
|
1026
|
+
multiple: !!(td.valueToString || td['value-to-string'])
|
|
1027
|
+
};
|
|
1024
1028
|
}
|
|
1025
1029
|
} else {
|
|
1026
1030
|
others[String(col)] = [td.property, td.align];
|
|
@@ -2984,7 +2988,9 @@ var toFunction = function toFunction(str) {
|
|
|
2984
2988
|
var renders = str.split('=>');
|
|
2985
2989
|
var args = renders[0].replace('(', '').replace(')', '').split(',');
|
|
2986
2990
|
// eslint-disable-next-line no-control-regex
|
|
2987
|
-
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2991
|
+
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2992
|
+
// eslint-disable-next-line no-control-regex
|
|
2993
|
+
.replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
|
|
2988
2994
|
var fn = void 0;
|
|
2989
2995
|
if (args.length) {
|
|
2990
2996
|
fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
|
package/lib/flow-list.js
CHANGED
|
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
|
|
|
259
259
|
}
|
|
260
260
|
if (response.status === 200) {
|
|
261
261
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
262
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
262
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
263
263
|
var href = '';
|
|
264
264
|
try {
|
|
265
265
|
href = win.top.location.href;
|
|
@@ -1020,7 +1020,11 @@ var exportXls = function exportXls(_ref6) {
|
|
|
1020
1020
|
fields.push(td.property);
|
|
1021
1021
|
aligns.push(td.align);
|
|
1022
1022
|
if (td.labelKey && td.valueKey) {
|
|
1023
|
-
keys[td.property] = {
|
|
1023
|
+
keys[td.property] = {
|
|
1024
|
+
labelKey: td.labelKey,
|
|
1025
|
+
valueKey: td.valueKey,
|
|
1026
|
+
multiple: !!(td.valueToString || td['value-to-string'])
|
|
1027
|
+
};
|
|
1024
1028
|
}
|
|
1025
1029
|
} else {
|
|
1026
1030
|
others[String(col)] = [td.property, td.align];
|
|
@@ -2984,7 +2988,9 @@ var toFunction = function toFunction(str) {
|
|
|
2984
2988
|
var renders = str.split('=>');
|
|
2985
2989
|
var args = renders[0].replace('(', '').replace(')', '').split(',');
|
|
2986
2990
|
// eslint-disable-next-line no-control-regex
|
|
2987
|
-
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2991
|
+
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2992
|
+
// eslint-disable-next-line no-control-regex
|
|
2993
|
+
.replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
|
|
2988
2994
|
var fn = void 0;
|
|
2989
2995
|
if (args.length) {
|
|
2990
2996
|
fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
|
package/lib/flow.js
CHANGED
|
@@ -258,7 +258,7 @@ var ajax = function ajax(_ref) {
|
|
|
258
258
|
}
|
|
259
259
|
if (response.status === 200) {
|
|
260
260
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
261
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
261
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
262
262
|
var href = '';
|
|
263
263
|
try {
|
|
264
264
|
href = win.top.location.href;
|
|
@@ -1019,7 +1019,11 @@ var exportXls = function exportXls(_ref6) {
|
|
|
1019
1019
|
fields.push(td.property);
|
|
1020
1020
|
aligns.push(td.align);
|
|
1021
1021
|
if (td.labelKey && td.valueKey) {
|
|
1022
|
-
keys[td.property] = {
|
|
1022
|
+
keys[td.property] = {
|
|
1023
|
+
labelKey: td.labelKey,
|
|
1024
|
+
valueKey: td.valueKey,
|
|
1025
|
+
multiple: !!(td.valueToString || td['value-to-string'])
|
|
1026
|
+
};
|
|
1023
1027
|
}
|
|
1024
1028
|
} else {
|
|
1025
1029
|
others[String(col)] = [td.property, td.align];
|
|
@@ -2983,7 +2987,9 @@ var toFunction = function toFunction(str) {
|
|
|
2983
2987
|
var renders = str.split('=>');
|
|
2984
2988
|
var args = renders[0].replace('(', '').replace(')', '').split(',');
|
|
2985
2989
|
// eslint-disable-next-line no-control-regex
|
|
2986
|
-
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2990
|
+
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2991
|
+
// eslint-disable-next-line no-control-regex
|
|
2992
|
+
.replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
|
|
2987
2993
|
var fn = void 0;
|
|
2988
2994
|
if (args.length) {
|
|
2989
2995
|
fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
|