halo-fe 1.0.17 → 1.0.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.js +1965 -1888
- package/esm/drivers/cdns/Cdn.d.ts +2 -2
- package/esm/drivers/i18ns/I18n.d.ts +41 -0
- package/esm/drivers/i18ns/I18nFactory.d.ts +13 -0
- package/esm/drivers/i18ns/II18n.d.ts +66 -0
- package/esm/drivers/i18ns/implements/DefaultI18n.d.ts +13 -0
- package/esm/drivers/i18ns/index.d.ts +3 -0
- package/esm/drivers/index.d.ts +1 -0
- package/esm/factorying/Factories.d.ts +20 -11
- package/esm/factorying/Factory.d.ts +1 -0
- package/esm/factorying/index.d.ts +16 -4
- package/esm/helpers/ArrayHelper.d.ts +4 -0
- package/esm/helpers/JsonHelper.d.ts +5 -1
- package/esm/repos/IRepo.d.ts +4 -0
- package/esm/repos/RepoFactory.d.ts +5 -0
- package/esm/repos/implements/SettingRepo.d.ts +15 -0
- package/esm/repos/index.d.ts +1 -1
- package/esm/svcs/SvcFactory.d.ts +4 -3
- package/esm/svcs/entities/AppConfig.d.ts +30 -0
- package/esm/svcs/entities/SysConfig.d.ts +8 -0
- package/esm/svcs/entities/UserConfig.d.ts +7 -0
- package/esm/svcs/entities/index.d.ts +4 -0
- package/esm/svcs/implement/ConfigSvc.d.ts +17 -28
- package/esm/svcs/implement/DriverSvc.d.ts +3 -1
- package/esm/svcs/implement/index.d.ts +1 -2
- package/esm/svcs/index.d.ts +2 -7
- package/esm/svcs/types/Dictionary.d.ts +4 -0
- package/esm/svcs/types/index.d.ts +2 -0
- package/esm/types/CreateFeOptions.d.ts +7 -6
- package/esm/utilities/SaveUtility.d.ts +15 -0
- package/esm/utilities/index.d.ts +2 -1
- package/package.json +2 -3
- package/dist/assets/@intlify-BISCQg1h.js +0 -2189
- package/dist/assets/@vue-aVYGocXp.js +0 -93
- package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
@@ -1,93 +0,0 @@
|
|
1
|
-
function h() {
|
2
|
-
return g().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
3
|
-
}
|
4
|
-
function g() {
|
5
|
-
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
6
|
-
}
|
7
|
-
const d = typeof Proxy == "function", _ = "devtools-plugin:setup", O = "plugin:settings:set";
|
8
|
-
let u, f;
|
9
|
-
function S() {
|
10
|
-
var o;
|
11
|
-
return u !== void 0 || (typeof window < "u" && window.performance ? (u = !0, f = window.performance) : typeof globalThis < "u" && (!((o = globalThis.perf_hooks) === null || o === void 0) && o.performance) ? (u = !0, f = globalThis.perf_hooks.performance) : u = !1), u;
|
12
|
-
}
|
13
|
-
function w() {
|
14
|
-
return S() ? f.now() : Date.now();
|
15
|
-
}
|
16
|
-
class y {
|
17
|
-
constructor(n, s) {
|
18
|
-
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = n, this.hook = s;
|
19
|
-
const i = {};
|
20
|
-
if (n.settings)
|
21
|
-
for (const e in n.settings) {
|
22
|
-
const t = n.settings[e];
|
23
|
-
i[e] = t.defaultValue;
|
24
|
-
}
|
25
|
-
const r = `__vue-devtools-plugin-settings__${n.id}`;
|
26
|
-
let a = Object.assign({}, i);
|
27
|
-
try {
|
28
|
-
const e = localStorage.getItem(r), t = JSON.parse(e);
|
29
|
-
Object.assign(a, t);
|
30
|
-
} catch {
|
31
|
-
}
|
32
|
-
this.fallbacks = {
|
33
|
-
getSettings() {
|
34
|
-
return a;
|
35
|
-
},
|
36
|
-
setSettings(e) {
|
37
|
-
try {
|
38
|
-
localStorage.setItem(r, JSON.stringify(e));
|
39
|
-
} catch {
|
40
|
-
}
|
41
|
-
a = e;
|
42
|
-
},
|
43
|
-
now() {
|
44
|
-
return w();
|
45
|
-
}
|
46
|
-
}, s && s.on(O, (e, t) => {
|
47
|
-
e === this.plugin.id && this.fallbacks.setSettings(t);
|
48
|
-
}), this.proxiedOn = new Proxy({}, {
|
49
|
-
get: (e, t) => this.target ? this.target.on[t] : (...l) => {
|
50
|
-
this.onQueue.push({
|
51
|
-
method: t,
|
52
|
-
args: l
|
53
|
-
});
|
54
|
-
}
|
55
|
-
}), this.proxiedTarget = new Proxy({}, {
|
56
|
-
get: (e, t) => this.target ? this.target[t] : t === "on" ? this.proxiedOn : Object.keys(this.fallbacks).includes(t) ? (...l) => (this.targetQueue.push({
|
57
|
-
method: t,
|
58
|
-
args: l,
|
59
|
-
resolve: () => {
|
60
|
-
}
|
61
|
-
}), this.fallbacks[t](...l)) : (...l) => new Promise((c) => {
|
62
|
-
this.targetQueue.push({
|
63
|
-
method: t,
|
64
|
-
args: l,
|
65
|
-
resolve: c
|
66
|
-
});
|
67
|
-
})
|
68
|
-
});
|
69
|
-
}
|
70
|
-
async setRealTarget(n) {
|
71
|
-
this.target = n;
|
72
|
-
for (const s of this.onQueue)
|
73
|
-
this.target.on[s.method](...s.args);
|
74
|
-
for (const s of this.targetQueue)
|
75
|
-
s.resolve(await this.target[s.method](...s.args));
|
76
|
-
}
|
77
|
-
}
|
78
|
-
function p(o, n) {
|
79
|
-
const s = o, i = g(), r = h(), a = d && s.enableEarlyProxy;
|
80
|
-
if (r && (i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
|
81
|
-
r.emit(_, o, n);
|
82
|
-
else {
|
83
|
-
const e = a ? new y(s, r) : null;
|
84
|
-
(i.__VUE_DEVTOOLS_PLUGINS__ = i.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
85
|
-
pluginDescriptor: s,
|
86
|
-
setupFn: n,
|
87
|
-
proxy: e
|
88
|
-
}), e && n(e.proxiedTarget);
|
89
|
-
}
|
90
|
-
}
|
91
|
-
export {
|
92
|
-
p as s
|
93
|
-
};
|