@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.
- package/api-services/es5.js +1396 -1384
- package/api-services/index.js +1150 -1132
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/es5.js +957 -945
- package/api-services/modules/app-manage/index.js +779 -761
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/bems/es5.js +962 -950
- package/api-services/modules/bems/index.js +783 -765
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/duty-manage/es5.js +956 -968
- package/api-services/modules/duty-manage/index.js +772 -790
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/es5.js +957 -945
- package/api-services/modules/enterpriseright/index.js +779 -761
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/es5.js +1336 -1324
- package/api-services/modules/gateway-edge/es5.js +957 -945
- package/api-services/modules/gateway-edge/index.js +779 -761
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1091 -1073
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/knowledge/es5.js +947 -935
- package/api-services/modules/knowledge/index.js +770 -752
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/super-admin/es5.js +972 -960
- package/api-services/modules/super-admin/index.js +791 -773
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/es5.js +947 -935
- package/api-services/modules/supplychain-manage/index.js +770 -752
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/es5.js +957 -945
- package/api-services/modules/systemConfiguration/index.js +779 -761
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/src/create-service/es5.js +955 -943
- package/api-services/src/create-service/index.js +778 -760
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-tools/handle-data/index.js +3 -16
- package/common-tools/handle-data/index.js.gz +0 -0
- package/create-api-service/es5.js +943 -955
- package/create-api-service/index.js +760 -778
- package/create-api-service/index.js.gz +0 -0
- package/front-end/i18n/front-end-page/dasutils_en-US.js +1 -20
- package/front-end/i18n/front-end-page/dasutils_zh-CN.js +1 -19
- package/front-end/i18n/front-end-page/dasutils_zh-MO.js +1 -19
- package/package.json +4 -4
|
Binary file
|
|
@@ -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
|
};
|
|
Binary file
|