eoss-ui 0.5.90 → 0.5.92

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.
Files changed (56) hide show
  1. package/lib/button-group.js +9 -3
  2. package/lib/button.js +9 -3
  3. package/lib/checkbox-group.js +9 -3
  4. package/lib/data-table-form.js +9 -3
  5. package/lib/data-table.js +9 -3
  6. package/lib/date-picker.js +9 -3
  7. package/lib/dialog.js +9 -3
  8. package/lib/eoss-ui.common.js +4780 -4501
  9. package/lib/flow-group.js +9 -3
  10. package/lib/flow-list.js +9 -3
  11. package/lib/flow.js +9 -3
  12. package/lib/form.js +4500 -4242
  13. package/lib/handle-user.js +9 -3
  14. package/lib/handler.js +206 -195
  15. package/lib/icon.js +9 -3
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +9 -3
  18. package/lib/input.js +9 -3
  19. package/lib/login.js +23 -7
  20. package/lib/main.js +32 -26
  21. package/lib/nav.js +9 -3
  22. package/lib/page.js +9 -3
  23. package/lib/pagination.js +9 -3
  24. package/lib/player.js +9 -3
  25. package/lib/qr-code.js +9 -3
  26. package/lib/radio-group.js +9 -3
  27. package/lib/retrial-auth.js +9 -3
  28. package/lib/select-ganged.js +9 -3
  29. package/lib/select.js +9 -3
  30. package/lib/selector-panel.js +17 -10
  31. package/lib/selector.js +16 -5
  32. package/lib/sizer.js +9 -3
  33. package/lib/steps.js +9 -3
  34. package/lib/switch.js +9 -3
  35. package/lib/table-form.js +9 -3
  36. package/lib/tabs.js +9 -3
  37. package/lib/tips.js +9 -3
  38. package/lib/tree-group.js +9 -3
  39. package/lib/tree.js +9 -3
  40. package/lib/upload.js +9 -3
  41. package/lib/utils/util.js +9 -3
  42. package/lib/wujie.js +9 -3
  43. package/lib/wxlogin.js +9 -3
  44. package/package.json +1 -1
  45. package/packages/.DS_Store +0 -0
  46. package/packages/form/src/main.vue +1863 -1759
  47. package/packages/handler/src/main.vue +95 -97
  48. package/packages/login/src/main.vue +17 -6
  49. package/packages/main/src/main.vue +2 -1
  50. package/packages/main/src/public/search.vue +6 -4
  51. package/packages/main/src/simplicity/index.vue +2 -1
  52. package/packages/selector/src/main.vue +4 -0
  53. package/packages/selector-panel/src/main.vue +19 -5
  54. package/src/.DS_Store +0 -0
  55. package/src/index.js +1 -1
  56. package/src/utils/util.js +426 -238
@@ -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] = { labelKey: td.labelKey, valueKey: td.valueKey, multiple: !!(td.valueToString || td['value-to-string']) };
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'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
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])))();
package/lib/button.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] = { labelKey: td.labelKey, valueKey: td.valueKey, multiple: !!(td.valueToString || td['value-to-string']) };
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'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
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])))();
@@ -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] = { labelKey: td.labelKey, valueKey: td.valueKey, multiple: !!(td.valueToString || td['value-to-string']) };
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'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
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])))();
@@ -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] = { labelKey: td.labelKey, valueKey: td.valueKey, multiple: !!(td.valueToString || td['value-to-string']) };
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'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
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])))();
package/lib/data-table.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] = { labelKey: td.labelKey, valueKey: td.valueKey, multiple: !!(td.valueToString || td['value-to-string']) };
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'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
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])))();
@@ -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] = { labelKey: td.labelKey, valueKey: td.valueKey, multiple: !!(td.valueToString || td['value-to-string']) };
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'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
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/dialog.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] = { labelKey: td.labelKey, valueKey: td.valueKey, multiple: !!(td.valueToString || td['value-to-string']) };
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'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
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])))();