eoss-mobiles 0.2.86 → 0.2.88

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/flow-btn.js CHANGED
@@ -1425,6 +1425,32 @@ var generateUUID = function generateUUID() {
1425
1425
  });
1426
1426
  return uuid;
1427
1427
  };
1428
+ /**
1429
+ * toFunction
1430
+ * 兼容ie
1431
+ * @desc:函数字符串转函数
1432
+ * @author liufan
1433
+ * @date 2024年12月12日
1434
+ * @param {string} [str] - 函数字符串
1435
+ **/
1436
+ var toFunction = function toFunction(str) {
1437
+ if (str.indexOf('=>') > -1) {
1438
+ var renders = str.split('=>');
1439
+ var args = renders[0].replace('(', '').replace(')', '').split(',');
1440
+ // eslint-disable-next-line no-control-regex
1441
+ var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
1442
+ var fn = void 0;
1443
+ if (args.length) {
1444
+ fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
1445
+ } else {
1446
+ fn = new Function(fnStr);
1447
+ }
1448
+ return fn;
1449
+ } else {
1450
+ // eslint-disable-next-line no-eval
1451
+ return eval(str);
1452
+ }
1453
+ };
1428
1454
  /* harmony default export */ __webpack_exports__["a"] = ({
1429
1455
  esEncrypt: esEncrypt,
1430
1456
  esDecode: esDecode,
@@ -1470,7 +1496,8 @@ var generateUUID = function generateUUID() {
1470
1496
  identical: identical,
1471
1497
  jsGoPayrollIndexAct: jsGoPayrollIndexAct,
1472
1498
  exportXls: exportXls,
1473
- generateUUID: generateUUID
1499
+ generateUUID: generateUUID,
1500
+ toFunction: toFunction
1474
1501
  });
1475
1502
 
1476
1503
  /***/ }),
package/lib/flow-list.js CHANGED
@@ -1425,6 +1425,32 @@ var generateUUID = function generateUUID() {
1425
1425
  });
1426
1426
  return uuid;
1427
1427
  };
1428
+ /**
1429
+ * toFunction
1430
+ * 兼容ie
1431
+ * @desc:函数字符串转函数
1432
+ * @author liufan
1433
+ * @date 2024年12月12日
1434
+ * @param {string} [str] - 函数字符串
1435
+ **/
1436
+ var toFunction = function toFunction(str) {
1437
+ if (str.indexOf('=>') > -1) {
1438
+ var renders = str.split('=>');
1439
+ var args = renders[0].replace('(', '').replace(')', '').split(',');
1440
+ // eslint-disable-next-line no-control-regex
1441
+ var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
1442
+ var fn = void 0;
1443
+ if (args.length) {
1444
+ fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
1445
+ } else {
1446
+ fn = new Function(fnStr);
1447
+ }
1448
+ return fn;
1449
+ } else {
1450
+ // eslint-disable-next-line no-eval
1451
+ return eval(str);
1452
+ }
1453
+ };
1428
1454
  /* harmony default export */ __webpack_exports__["a"] = ({
1429
1455
  esEncrypt: esEncrypt,
1430
1456
  esDecode: esDecode,
@@ -1470,7 +1496,8 @@ var generateUUID = function generateUUID() {
1470
1496
  identical: identical,
1471
1497
  jsGoPayrollIndexAct: jsGoPayrollIndexAct,
1472
1498
  exportXls: exportXls,
1473
- generateUUID: generateUUID
1499
+ generateUUID: generateUUID,
1500
+ toFunction: toFunction
1474
1501
  });
1475
1502
 
1476
1503
  /***/ }),
package/lib/flow.js CHANGED
@@ -1424,6 +1424,32 @@ var generateUUID = function generateUUID() {
1424
1424
  });
1425
1425
  return uuid;
1426
1426
  };
1427
+ /**
1428
+ * toFunction
1429
+ * 兼容ie
1430
+ * @desc:函数字符串转函数
1431
+ * @author liufan
1432
+ * @date 2024年12月12日
1433
+ * @param {string} [str] - 函数字符串
1434
+ **/
1435
+ var toFunction = function toFunction(str) {
1436
+ if (str.indexOf('=>') > -1) {
1437
+ var renders = str.split('=>');
1438
+ var args = renders[0].replace('(', '').replace(')', '').split(',');
1439
+ // eslint-disable-next-line no-control-regex
1440
+ var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '').replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
1441
+ var fn = void 0;
1442
+ if (args.length) {
1443
+ fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
1444
+ } else {
1445
+ fn = new Function(fnStr);
1446
+ }
1447
+ return fn;
1448
+ } else {
1449
+ // eslint-disable-next-line no-eval
1450
+ return eval(str);
1451
+ }
1452
+ };
1427
1453
  /* harmony default export */ __webpack_exports__["a"] = ({
1428
1454
  esEncrypt: esEncrypt,
1429
1455
  esDecode: esDecode,
@@ -1469,7 +1495,8 @@ var generateUUID = function generateUUID() {
1469
1495
  identical: identical,
1470
1496
  jsGoPayrollIndexAct: jsGoPayrollIndexAct,
1471
1497
  exportXls: exportXls,
1472
- generateUUID: generateUUID
1498
+ generateUUID: generateUUID,
1499
+ toFunction: toFunction
1473
1500
  });
1474
1501
 
1475
1502
  /***/ }),
@@ -2139,8 +2166,8 @@ render._withStripped = true
2139
2166
 
2140
2167
  // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=7b5917b8&
2141
2168
 
2142
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=template&id=5f02cbe0&
2143
- var StartFlowvue_type_template_id_5f02cbe0_render = function () {
2169
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=template&id=d6e98734&
2170
+ var StartFlowvue_type_template_id_d6e98734_render = function () {
2144
2171
  var _vm = this
2145
2172
  var _h = _vm.$createElement
2146
2173
  var _c = _vm._self._c || _h
@@ -2329,11 +2356,11 @@ var StartFlowvue_type_template_id_5f02cbe0_render = function () {
2329
2356
  ]),
2330
2357
  ])
2331
2358
  }
2332
- var StartFlowvue_type_template_id_5f02cbe0_staticRenderFns = []
2333
- StartFlowvue_type_template_id_5f02cbe0_render._withStripped = true
2359
+ var StartFlowvue_type_template_id_d6e98734_staticRenderFns = []
2360
+ StartFlowvue_type_template_id_d6e98734_render._withStripped = true
2334
2361
 
2335
2362
 
2336
- // CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=5f02cbe0&
2363
+ // CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=d6e98734&
2337
2364
 
2338
2365
  // EXTERNAL MODULE: ./src/config/api.js
2339
2366
  var api = __webpack_require__(2);
@@ -3575,7 +3602,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3575
3602
  params: {
3576
3603
  processDefinitionId: this.flowObj.processDefinitionId,
3577
3604
  nodeId: res,
3578
- taskId: this.processObj.taskId,
3605
+ // taskId: this.processObj.taskId,
3579
3606
  userId: _that.userId
3580
3607
  }
3581
3608
  }
@@ -3625,8 +3652,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3625
3652
 
3626
3653
  var StartFlow_component = Object(componentNormalizer["a" /* default */])(
3627
3654
  components_StartFlowvue_type_script_lang_js_,
3628
- StartFlowvue_type_template_id_5f02cbe0_render,
3629
- StartFlowvue_type_template_id_5f02cbe0_staticRenderFns,
3655
+ StartFlowvue_type_template_id_d6e98734_render,
3656
+ StartFlowvue_type_template_id_d6e98734_staticRenderFns,
3630
3657
  false,
3631
3658
  null,
3632
3659
  null,