@kengic/vue 0.0.2-beta.39 → 0.0.2-beta.40
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/dist/kengic-vue.js +16 -16
- package/package.json +1 -1
package/dist/kengic-vue.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Collapse as
|
|
3
|
-
const be =
|
|
1
|
+
import { defineComponent as P, createVNode as h } from "vue";
|
|
2
|
+
import { Collapse as C } from "ant-design-vue";
|
|
3
|
+
const be = P({
|
|
4
4
|
name: "KgPage",
|
|
5
5
|
setup(e, {
|
|
6
6
|
slots: t
|
|
@@ -13,17 +13,17 @@ const be = _({
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
const ge =
|
|
16
|
+
const ge = P({
|
|
17
17
|
name: "KgVarProfile",
|
|
18
18
|
setup(e, {
|
|
19
19
|
slots: t
|
|
20
20
|
}) {
|
|
21
21
|
return () => h("div", {
|
|
22
22
|
class: "kg-var-profile"
|
|
23
|
-
}, [h(
|
|
23
|
+
}, [h(C, {
|
|
24
24
|
activeKey: "1"
|
|
25
25
|
}, {
|
|
26
|
-
default: () => [h(
|
|
26
|
+
default: () => [h(C.Panel, {
|
|
27
27
|
key: "1",
|
|
28
28
|
header: "This is panel header 1"
|
|
29
29
|
}, {
|
|
@@ -44,8 +44,8 @@ const ge = _({
|
|
|
44
44
|
}
|
|
45
45
|
}, Ee = { en: V, zh_CN: W };
|
|
46
46
|
var a = /* @__PURE__ */ ((e) => (e.DATA_MANAGER = "data-manager", e.BUSINESS_MANAGER = "business-manager", e.SYS = "sys", e))(a || {}), u = /* @__PURE__ */ ((e) => (e.DATA_MANAGER = "/wms/data-manager", e.BUSINESS_MANAGER = "/wms/business-manager", e.SYS = "/sys", e))(u || {});
|
|
47
|
-
const
|
|
48
|
-
function
|
|
47
|
+
const _ = ["data-manager", "business-manager", "sys"];
|
|
48
|
+
function Z(e, t) {
|
|
49
49
|
var i, o;
|
|
50
50
|
switch (t) {
|
|
51
51
|
case a.DATA_MANAGER:
|
|
@@ -59,7 +59,7 @@ function z(e, t) {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
function Ne(e) {
|
|
62
|
-
const t =
|
|
62
|
+
const t = _.find((i) => Z(e, i));
|
|
63
63
|
if (t)
|
|
64
64
|
return t;
|
|
65
65
|
throw new Error(`\u5730\u5740\u65E0\u6CD5\u5339\u914D\u6A21\u5757. \u5730\u5740: ${e}`);
|
|
@@ -88,7 +88,7 @@ function me(e) {
|
|
|
88
88
|
* @license BSD-3-Clause
|
|
89
89
|
* @version 10.0.6
|
|
90
90
|
*/
|
|
91
|
-
const
|
|
91
|
+
const z = "array", F = "bit", U = "bits", J = "byte", k = "bytes", E = "", q = "exponent", H = "function", y = "iec", Q = "Invalid number", X = "Invalid rounding method", m = "jedec", ee = "object", K = ".", te = "round", ie = "s", ne = "kbit", oe = "kB", re = " ", se = "string", ce = "0", T = {
|
|
92
92
|
symbol: {
|
|
93
93
|
iec: {
|
|
94
94
|
bits: ["bit", "Kibit", "Mibit", "Gibit", "Tibit", "Pibit", "Eibit", "Zibit", "Yibit"],
|
|
@@ -139,10 +139,10 @@ function le(e, {
|
|
|
139
139
|
n[0] = $(A * N) / N, n[0] === d && r < 8 && p === -1 && (n[0] = 1, r++), I = n[1] = o === 10 && r === 1 ? t ? ne : oe : T.symbol[s][t ? U : k][r];
|
|
140
140
|
}
|
|
141
141
|
if (G && (n[0] = -n[0]), S > 0 && (n[0] = n[0].toPrecision(S)), n[1] = R[n[1]] || n[1], c === !0 ? n[0] = n[0].toLocaleString() : c.length > 0 ? n[0] = n[0].toLocaleString(c, b) : f.length > 0 && (n[0] = n[0].toString().replace(K, f)), i && Number.isInteger(n[0]) === !1 && l > 0) {
|
|
142
|
-
const N = f || K, D = n[0].toString().split(N),
|
|
143
|
-
n[0] = `${D[0]}${N}${
|
|
142
|
+
const N = f || K, D = n[0].toString().split(N), Y = D[1] || E, v = Y.length, j = l - v;
|
|
143
|
+
n[0] = `${D[0]}${N}${Y.padEnd(v + j, ce)}`;
|
|
144
144
|
}
|
|
145
|
-
return O && (n[1] = M[r] ? M[r] : T.fullform[s][r] + (t ? F : J) + (n[0] === 1 ? E : ie)), w ===
|
|
145
|
+
return O && (n[1] = M[r] ? M[r] : T.fullform[s][r] + (t ? F : J) + (n[0] === 1 ? E : ie)), w === z ? n : w === ee ? {
|
|
146
146
|
value: n[0],
|
|
147
147
|
symbol: n[1],
|
|
148
148
|
exponent: r,
|
|
@@ -181,7 +181,7 @@ function fe(e) {
|
|
|
181
181
|
"/online/cgformTreeList/:id",
|
|
182
182
|
"/online/cgreport/:id",
|
|
183
183
|
"/online/graphreport/chart/:code"
|
|
184
|
-
].includes(i.path) &&
|
|
184
|
+
].includes(i.path) && _.forEach((o) => {
|
|
185
185
|
t.push({
|
|
186
186
|
...i,
|
|
187
187
|
path: `/${o}${i.path}`,
|
|
@@ -192,7 +192,7 @@ function fe(e) {
|
|
|
192
192
|
}), [...e, ...t];
|
|
193
193
|
}
|
|
194
194
|
export {
|
|
195
|
-
|
|
195
|
+
_ as KG_APPS,
|
|
196
196
|
a as KG_APPS_ENUM,
|
|
197
197
|
u as KG_APPS_PREFIXS_ENUM,
|
|
198
198
|
Ee as KG_I18N,
|
|
@@ -204,5 +204,5 @@ export {
|
|
|
204
204
|
Ne as getAppByPath,
|
|
205
205
|
me as getAppIndexPath,
|
|
206
206
|
Be as getFileSize,
|
|
207
|
-
|
|
207
|
+
Z as isPathInApp
|
|
208
208
|
};
|