yxuse 3.0.38 → 3.0.39
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/api.cjs.js +1 -1
- package/lib/api.es.js +4 -4
- package/lib/app.cjs.js +1 -1
- package/lib/app.es.js +1 -1
- package/lib/components.cjs.js +1 -1
- package/lib/components.es.js +13 -15
- package/lib/directives.cjs.js +1 -1
- package/lib/directives.es.js +2 -2
- package/lib/hooks.cjs.js +1 -1
- package/lib/hooks.es.js +1 -1
- package/lib/index.cjs.js +1 -1
- package/lib/index.cjs10.js +1 -1
- package/lib/index.cjs11.js +3 -0
- package/lib/index.cjs11.js.gz +0 -0
- package/lib/index.cjs12.js +1 -0
- package/lib/index.cjs13.js +1 -0
- package/lib/index.cjs2.js +1 -42
- package/lib/index.cjs3.js +1 -1
- package/lib/index.cjs4.js +1 -1
- package/lib/index.cjs5.js +42 -1
- package/lib/index.cjs5.js.gz +0 -0
- package/lib/index.cjs6.js +1 -1
- package/lib/index.cjs6.js.gz +0 -0
- package/lib/index.cjs7.js +1 -3
- package/lib/index.cjs8.js +1 -1
- package/lib/index.cjs9.js +1 -1
- package/lib/index.es.js +44 -19
- package/lib/index.es10.js +309 -9
- package/lib/index.es10.js.gz +0 -0
- package/lib/index.es11.js +1682 -0
- package/lib/index.es11.js.gz +0 -0
- package/lib/index.es12.js +124 -0
- package/lib/index.es13.js +19 -0
- package/lib/index.es2.js +14 -8230
- package/lib/index.es3.js +41 -131
- package/lib/index.es4.js +33 -38
- package/lib/index.es5.js +7347 -33
- package/lib/index.es5.js.gz +0 -0
- package/lib/index.es6.js +893 -301
- package/lib/index.es6.js.gz +0 -0
- package/lib/index.es7.js +18 -1674
- package/lib/index.es8.js +4 -15
- package/lib/index.es9.js +7 -20
- package/lib/theme.cjs.js +1 -1
- package/lib/theme.es.js +17 -20
- package/lib/translate.cjs.js +1 -1
- package/lib/translate.es.js +9 -12
- package/lib/utils.cjs.js +1 -1
- package/lib/utils.es.js +2 -2
- package/lib/yxIcon.cjs.js +1 -1
- package/lib/yxIcon.es.js +3 -3
- package/package.json +1 -1
- package/types/bc/index.d.ts +5 -0
- package/types/config/index.d.ts +3 -0
- package/types/index.d.ts +3 -2
- package/lib/index.cjs2.js.gz +0 -0
- package/lib/index.cjs7.js.gz +0 -0
- package/lib/index.es2.js.gz +0 -0
- package/lib/index.es7.js.gz +0 -0
package/lib/index.es8.js
CHANGED
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
`${s.ttc.INTEGRATED_BASE_URL}/resource/group/list`,
|
|
4
|
-
{},
|
|
5
|
-
{
|
|
6
|
-
headers: { noLoading: !0 }
|
|
7
|
-
}
|
|
8
|
-
), a = (e, t) => o.get(`${s.ttc.INTEGRATED_BASE_URL}/resource/file/list/${t}/${e}`, {}, { headers: { noLoading: !0 } }), c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1
|
+
import { u as e } from "./index.es10.js";
|
|
2
|
+
const t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9
3
|
__proto__: null,
|
|
10
|
-
|
|
11
|
-
getResourceListApi: a,
|
|
12
|
-
uploadResourceApi: r
|
|
4
|
+
useTime: e
|
|
13
5
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
14
6
|
export {
|
|
15
|
-
|
|
16
|
-
i as g,
|
|
17
|
-
c as i,
|
|
18
|
-
r as u
|
|
7
|
+
t as y
|
|
19
8
|
};
|
package/lib/index.es9.js
CHANGED
|
@@ -1,24 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
}, n = (t, e) => {
|
|
7
|
-
const r = e.value;
|
|
8
|
-
return s(r) ? "" : t.remove();
|
|
9
|
-
}, o = {
|
|
10
|
-
auth: c
|
|
11
|
-
}, a = {
|
|
12
|
-
install: function(t) {
|
|
13
|
-
Object.keys(o).forEach((e) => {
|
|
14
|
-
t.directive(e, o[e]);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
}, l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1
|
+
const o = (e = "isWebApp") => {
|
|
2
|
+
const r = new URLSearchParams(window.location.href.split("?")[1]), t = Object.fromEntries(r.entries());
|
|
3
|
+
return !!(t[e] && +t[e]);
|
|
4
|
+
}, s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18
5
|
__proto__: null,
|
|
19
|
-
|
|
6
|
+
isWebApp: o
|
|
20
7
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
21
8
|
export {
|
|
22
|
-
a,
|
|
23
|
-
|
|
9
|
+
s as a,
|
|
10
|
+
o as i
|
|
24
11
|
};
|
package/lib/theme.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs5.js");require("./index.cjs4.js");require("vue");require("./index.cjs11.js");require("./index.cjs12.js");require("./index.cjs10.js");require("element-plus");require("./index.cjs13.js");exports.changeTheme=e.changeTheme;exports.findColorByTheme=e.findColorByTheme;exports.getCurTheme=e.getCurTheme;exports.getCurThemeCssVar=e.getCurThemeCssVar;exports.getDefaultThemeUrl=e.getDefaultThemeUrl;exports.getGroupColor=e.getGroupColor;exports.install=e.install;exports.installCssVarInSystemTheme=e.installCssVarInSystemTheme;exports.saveCssVar=e.saveCssVar;exports.setCssVar=e.setCssVar;exports.updateTheme=e.updateTheme;
|
package/lib/theme.es.js
CHANGED
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index.es5.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./index.es7.js";
|
|
5
|
-
import "./index.es3.js";
|
|
1
|
+
import { h, o as l, l as C, m as T, k as n, n as u, f as g, p as f, s as V, j as d, u as y } from "./index.es5.js";
|
|
6
2
|
import "./index.es4.js";
|
|
7
|
-
import "
|
|
8
|
-
import "./index.
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.es9.js";
|
|
3
|
+
import "vue";
|
|
4
|
+
import "./index.es11.js";
|
|
5
|
+
import "./index.es12.js";
|
|
11
6
|
import "./index.es10.js";
|
|
7
|
+
import "element-plus";
|
|
8
|
+
import "./index.es13.js";
|
|
12
9
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
10
|
+
h as changeTheme,
|
|
11
|
+
l as findColorByTheme,
|
|
12
|
+
C as getCurTheme,
|
|
13
|
+
T as getCurThemeCssVar,
|
|
14
|
+
n as getDefaultThemeUrl,
|
|
15
|
+
u as getGroupColor,
|
|
16
|
+
g as install,
|
|
17
|
+
f as installCssVarInSystemTheme,
|
|
18
|
+
V as saveCssVar,
|
|
19
|
+
d as setCssVar,
|
|
20
|
+
y as updateTheme
|
|
24
21
|
};
|
package/lib/translate.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs5.js");require("./index.cjs11.js");require("element-plus");require("vue");require("./index.cjs10.js");require("./index.cjs4.js");require("./index.cjs13.js");require("./index.cjs12.js");exports.changeLang=e.changeLang;exports.getLang=e.getLang;exports.getWordByYxI18nThesaurus=e.getWordByYxI18nThesaurus;exports.getZhWordByYxI18nThesaurus=e.getZhWordByYxI18nThesaurus;exports.initTranslate=e.initTranslate;
|
package/lib/translate.es.js
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import "./index.
|
|
3
|
-
import "./index.es7.js";
|
|
1
|
+
import { c as g, d as n, g as h, e as u, i as d } from "./index.es5.js";
|
|
2
|
+
import "./index.es11.js";
|
|
4
3
|
import "element-plus";
|
|
5
|
-
import "./index.es4.js";
|
|
6
|
-
import "./index.es8.js";
|
|
7
|
-
import "./index.es5.js";
|
|
8
4
|
import "vue";
|
|
9
|
-
import "./index.es6.js";
|
|
10
|
-
import "./index.es9.js";
|
|
11
5
|
import "./index.es10.js";
|
|
6
|
+
import "./index.es4.js";
|
|
7
|
+
import "./index.es13.js";
|
|
8
|
+
import "./index.es12.js";
|
|
12
9
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
g as changeLang,
|
|
11
|
+
n as getLang,
|
|
12
|
+
h as getWordByYxI18nThesaurus,
|
|
13
|
+
u as getZhWordByYxI18nThesaurus,
|
|
17
14
|
d as initTranslate
|
|
18
15
|
};
|
package/lib/utils.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs11.js"),e=require("./index.cjs12.js");require("element-plus");exports.http=r.http;exports.areColorsSimilar=e.areColorsSimilar;exports.enumToArray=e.enumToArray;exports.getSelectOptions=e.getSelectOptions;exports.isColorEqual=e.isColorEqual;exports.isDarkColor=e.isDarkColor;exports.notifyMessageToSystems=e.notifyMessageToSystems;exports.receiveMessage=e.receiveMessage;exports.yxSubscribe=e.yxSubscribe;
|
package/lib/utils.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as r } from "./index.
|
|
2
|
-
import {
|
|
1
|
+
import { h as r } from "./index.es11.js";
|
|
2
|
+
import { a as i, e as t, g as l, i as m, b as p, n as y, r as g, y as n } from "./index.es12.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
export {
|
|
5
5
|
i as areColorsSimilar,
|
package/lib/yxIcon.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./index.cjs11.js");require("element-plus");require("./index.cjs13.js");const e=require("./index.cjs3.js");exports.default=e.index;
|
package/lib/yxIcon.es.js
CHANGED
package/package.json
CHANGED
package/types/config/index.d.ts
CHANGED
|
@@ -3,4 +3,7 @@ type BASE = Record<string, URL>;
|
|
|
3
3
|
export declare const SYSTEM_HOME_PATH = "/cloud";
|
|
4
4
|
export declare const ttc: URL;
|
|
5
5
|
export declare const URL: BASE;
|
|
6
|
+
export declare const BC_THEME_NAME = "THEME";
|
|
7
|
+
export declare const BC_LANG_NAME = "LANG";
|
|
8
|
+
export declare const BC_SETTINGS_NAME = "SETTING";
|
|
6
9
|
export {};
|
package/types/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export * as yxi18n from "./yxi18n";
|
|
|
8
8
|
export * from "./directives";
|
|
9
9
|
export * from "./hooks";
|
|
10
10
|
export * from "./app";
|
|
11
|
-
export
|
|
11
|
+
export * from "./bc";
|
|
12
12
|
export * from "./components/type";
|
|
13
13
|
import * as utils from "./utils";
|
|
14
14
|
import * as api from "./api";
|
|
@@ -20,6 +20,7 @@ import * as yxi18n from "./yxi18n";
|
|
|
20
20
|
import * as yxHooks from "./hooks";
|
|
21
21
|
import * as yxIcon from "./yxIcon";
|
|
22
22
|
import * as app from "./app";
|
|
23
|
+
import * as BC from "./bc";
|
|
23
24
|
declare const _default: {
|
|
24
25
|
utils: typeof utils;
|
|
25
26
|
api: typeof api;
|
|
@@ -27,7 +28,7 @@ declare const _default: {
|
|
|
27
28
|
theme: typeof theme;
|
|
28
29
|
components: typeof components;
|
|
29
30
|
directives: typeof directives;
|
|
30
|
-
BC:
|
|
31
|
+
BC: typeof BC;
|
|
31
32
|
translate: typeof translate;
|
|
32
33
|
yxi18n: typeof yxi18n;
|
|
33
34
|
yxHooks: typeof yxHooks;
|
package/lib/index.cjs2.js.gz
DELETED
|
Binary file
|
package/lib/index.cjs7.js.gz
DELETED
|
Binary file
|
package/lib/index.es2.js.gz
DELETED
|
Binary file
|
package/lib/index.es7.js.gz
DELETED
|
Binary file
|