@das-fed/upf-utils 6.4.0-dev.200 → 6.4.0-dev.201

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 (45) hide show
  1. package/api-services/es5.js +1396 -1384
  2. package/api-services/index.js +1150 -1132
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +957 -945
  5. package/api-services/modules/app-manage/index.js +779 -761
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/bems/es5.js +962 -950
  8. package/api-services/modules/bems/index.js +783 -765
  9. package/api-services/modules/bems/index.js.gz +0 -0
  10. package/api-services/modules/duty-manage/es5.js +956 -968
  11. package/api-services/modules/duty-manage/index.js +772 -790
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/es5.js +957 -945
  14. package/api-services/modules/enterpriseright/index.js +779 -761
  15. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  16. package/api-services/modules/es5.js +1336 -1324
  17. package/api-services/modules/gateway-edge/es5.js +957 -945
  18. package/api-services/modules/gateway-edge/index.js +779 -761
  19. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  20. package/api-services/modules/index.js +1091 -1073
  21. package/api-services/modules/index.js.gz +0 -0
  22. package/api-services/modules/knowledge/es5.js +947 -935
  23. package/api-services/modules/knowledge/index.js +770 -752
  24. package/api-services/modules/knowledge/index.js.gz +0 -0
  25. package/api-services/modules/super-admin/es5.js +972 -960
  26. package/api-services/modules/super-admin/index.js +791 -773
  27. package/api-services/modules/super-admin/index.js.gz +0 -0
  28. package/api-services/modules/supplychain-manage/es5.js +947 -935
  29. package/api-services/modules/supplychain-manage/index.js +770 -752
  30. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  31. package/api-services/modules/systemConfiguration/es5.js +957 -945
  32. package/api-services/modules/systemConfiguration/index.js +779 -761
  33. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  34. package/api-services/src/create-service/es5.js +955 -943
  35. package/api-services/src/create-service/index.js +778 -760
  36. package/api-services/src/create-service/index.js.gz +0 -0
  37. package/common-tools/handle-data/index.js +3 -16
  38. package/common-tools/handle-data/index.js.gz +0 -0
  39. package/create-api-service/es5.js +943 -955
  40. package/create-api-service/index.js +760 -778
  41. package/create-api-service/index.js.gz +0 -0
  42. package/front-end/i18n/front-end-page/dasutils_en-US.js +1 -20
  43. package/front-end/i18n/front-end-page/dasutils_zh-CN.js +1 -19
  44. package/front-end/i18n/front-end-page/dasutils_zh-MO.js +1 -19
  45. package/package.json +4 -4
@@ -75,10 +75,7 @@ const M = (f) => f === null || typeof f > "u" || f === "", z = (f) => {
75
75
  if (g === -1 || d === -1 || d <= g)
76
76
  return null;
77
77
  let p = e.slice(g, d + 1);
78
- p = p.replace(
79
- /([{,]\s*)([a-zA-Z_$][a-zA-Z0-9_$]*)\s*:/g,
80
- '$1"$2":'
81
- ), p = p.replace(/'([^'\\]*(\\.[^'\\]*)*)'/g, '"$1"'), p = p.replace(/,\s*([}\]])/g, "$1");
78
+ p = p.replace(/([{,]\s*)([a-zA-Z_$][a-zA-Z0-9_$]*)\s*:/g, '$1"$2":'), p = p.replace(/'([^'\\]*(\\.[^'\\]*)*)'/g, '"$1"'), p = p.replace(/,\s*([}\]])/g, "$1");
82
79
  const E = JSON.parse(p);
83
80
  if (E && typeof E == "object")
84
81
  return E;
@@ -121,24 +118,14 @@ const M = (f) => f === null || typeof f > "u" || f === "", z = (f) => {
121
118
  if (N) {
122
119
  const r = {};
123
120
  for (const s of l) {
124
- const $ = `${c}front-end/i18n/return-msg/${s}_${n}.js`, w = a ? `${a}front-end/i18n/return-msg/${s}_${n}.js` : void 0, u = await j(
125
- $,
126
- w,
127
- n,
128
- `后端语言资源(${s})`
129
- );
121
+ const $ = `${c}front-end/i18n/return-msg/${s}_${n}.js`, w = a ? `${a}front-end/i18n/return-msg/${s}_${n}.js` : void 0, u = await j($, w, n, `后端语言资源(${s})`);
130
122
  u && (r[s] = u, m = !0);
131
123
  }
132
124
  Object.keys(r).length > 0 && (y.backMsg = r);
133
125
  }
134
126
  if (O) {
135
127
  const r = `${c}front-end/i18n/front-end-page/dasui_${n}.js`, s = a ? `${a}front-end/i18n/front-end-page/dasui_${n}.js` : void 0;
136
- y.dasUiEnd = await j(
137
- r,
138
- s,
139
- n,
140
- "UI组件库语言资源"
141
- ), y.dasUiEnd && (m = !0);
128
+ y.dasUiEnd = await j(r, s, n, "UI组件库语言资源"), y.dasUiEnd && (m = !0);
142
129
  }
143
130
  return y;
144
131
  };