eoss-ui 0.5.90 → 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.
Files changed (53) 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 +4744 -4471
  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 +21 -15
  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 +9 -3
  31. package/lib/selector.js +9 -3
  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/simplicity/index.vue +2 -1
  51. package/src/.DS_Store +0 -0
  52. package/src/index.js +1 -1
  53. package/src/utils/util.js +426 -238
@@ -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/input.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])))();
package/lib/login.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])))();
@@ -3992,7 +3998,7 @@ var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message:
3992
3998
  // ESM COMPAT FLAG
3993
3999
  __webpack_require__.r(__webpack_exports__);
3994
4000
 
3995
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=a446828e&
4001
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=56141b5b&
3996
4002
  var render = function () {
3997
4003
  var _vm = this
3998
4004
  var _h = _vm.$createElement
@@ -4953,7 +4959,7 @@ var staticRenderFns = []
4953
4959
  render._withStripped = true
4954
4960
 
4955
4961
 
4956
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=a446828e&
4962
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=56141b5b&
4957
4963
 
4958
4964
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
4959
4965
  var regenerator_ = __webpack_require__(13);
@@ -6160,7 +6166,16 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6160
6166
  }
6161
6167
  },
6162
6168
  warnInfo: function warnInfo() {
6163
- return this.warning === false ? false : typeof this.warning === 'string' ? this.warning : '本系统为非涉密系统,禁止上传和处理任何涉密文件';
6169
+ if (this.warning === false && !this.warningText) {
6170
+ return false;
6171
+ }
6172
+ if (this.warningText && this.warningText !== 'true' && this.warningText !== true) {
6173
+ return this.warningText;
6174
+ }
6175
+ if (this.warning && typeof this.warning === 'string') {
6176
+ return this.warning;
6177
+ }
6178
+ return '本系统为非涉密系统,禁止上传和处理任何涉密文件';
6164
6179
  },
6165
6180
  switchs: function switchs() {
6166
6181
  return Array.isArray(this.loginModel) ? this.loginModel.length : this.loginModel.split(',').length;
@@ -6313,6 +6328,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6313
6328
  checkCode: '',
6314
6329
  showAssistance: false,
6315
6330
  doAssistance: null,
6331
+ warningText: '',
6316
6332
  safes: {
6317
6333
  paste: function paste(event) {
6318
6334
  event.preventDefault();
@@ -6337,7 +6353,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6337
6353
  this.setScale = Object(external_throttle_debounce_["debounce"])(300, function () {
6338
6354
  util["a" /* default */].setScale();
6339
6355
  });
6340
- util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes']);
6356
+ util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes', 'showLaunch']);
6341
6357
  },
6342
6358
  created: function created() {
6343
6359
  if (ceshi == 'true' || ceshi == true) {
package/lib/main.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])))();
@@ -3963,7 +3969,7 @@ module.exports = require("wujie-vue2");
3963
3969
  // ESM COMPAT FLAG
3964
3970
  __webpack_require__.r(__webpack_exports__);
3965
3971
 
3966
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=a3c25372&
3972
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=3aaac316&
3967
3973
  var render = function () {
3968
3974
  var _vm = this
3969
3975
  var _h = _vm.$createElement
@@ -4037,10 +4043,10 @@ var staticRenderFns = []
4037
4043
  render._withStripped = true
4038
4044
 
4039
4045
 
4040
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=a3c25372&
4046
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=3aaac316&
4041
4047
 
4042
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=d7dbfbf8&scoped=true&
4043
- var simplicityvue_type_template_id_d7dbfbf8_scoped_true_render = function () {
4048
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=7c181d54&scoped=true&
4049
+ var simplicityvue_type_template_id_7c181d54_scoped_true_render = function () {
4044
4050
  var _vm = this
4045
4051
  var _h = _vm.$createElement
4046
4052
  var _c = _vm._self._c || _h
@@ -4666,11 +4672,11 @@ var simplicityvue_type_template_id_d7dbfbf8_scoped_true_render = function () {
4666
4672
  ),
4667
4673
  ])
4668
4674
  }
4669
- var simplicityvue_type_template_id_d7dbfbf8_scoped_true_staticRenderFns = []
4670
- simplicityvue_type_template_id_d7dbfbf8_scoped_true_render._withStripped = true
4675
+ var simplicityvue_type_template_id_7c181d54_scoped_true_staticRenderFns = []
4676
+ simplicityvue_type_template_id_7c181d54_scoped_true_render._withStripped = true
4671
4677
 
4672
4678
 
4673
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=d7dbfbf8&scoped=true&
4679
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=7c181d54&scoped=true&
4674
4680
 
4675
4681
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=1560e8bf&scoped=true&
4676
4682
  var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
@@ -11110,7 +11116,7 @@ var events = [function (tabs, index, that) {
11110
11116
  }).then(function () {
11111
11117
  util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
11112
11118
  if (res.rCode == 0) {
11113
- util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
11119
+ util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
11114
11120
  if (_this8.onQuit && typeof _this8.onQuit === 'function') {
11115
11121
  _this8.onQuit();
11116
11122
  } else {
@@ -11291,11 +11297,11 @@ var events = [function (tabs, index, that) {
11291
11297
 
11292
11298
  var simplicity_component = Object(componentNormalizer["a" /* default */])(
11293
11299
  src_simplicityvue_type_script_lang_js_,
11294
- simplicityvue_type_template_id_d7dbfbf8_scoped_true_render,
11295
- simplicityvue_type_template_id_d7dbfbf8_scoped_true_staticRenderFns,
11300
+ simplicityvue_type_template_id_7c181d54_scoped_true_render,
11301
+ simplicityvue_type_template_id_7c181d54_scoped_true_staticRenderFns,
11296
11302
  false,
11297
11303
  null,
11298
- "d7dbfbf8",
11304
+ "7c181d54",
11299
11305
  null
11300
11306
 
11301
11307
  )
@@ -15547,7 +15553,7 @@ var bus = external_wujie_vue2_default.a.bus;
15547
15553
  console.log('handleReLogin');
15548
15554
  sessionStorage.setItem('remind', 1);
15549
15555
  _this2.$confirm(msg, btn).then(function () {
15550
- util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
15556
+ util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
15551
15557
  var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
15552
15558
  try {
15553
15559
  if (loginPage) {
package/lib/nav.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])))();
package/lib/page.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])))();
package/lib/pagination.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])))();
package/lib/player.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])))();
package/lib/qr-code.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])))();
@@ -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])))();
@@ -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])))();
@@ -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/select.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])))();
package/lib/selector.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])))();