halo-fe 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -0
- package/dist/main.js +2539 -0
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
- package/dist/vendor-@vue-l0sNRNKZ.js +1 -0
- package/dist/vendor-axios-ud9O0vdJ.js +1670 -0
- package/dist/vendor-clone-NGbTzSwJ.js +159 -0
- package/dist/vendor-crypto-js-B6Qe-gIg.js +4995 -0
- package/dist/vendor-file-saver-DKXzEV2Q.js +74 -0
- package/dist/vendor-moment-h96o7c8I.js +2578 -0
- package/dist/vendor-pinia-DVLspbiC.js +310 -0
- package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
- package/dist/vendor-state-local-CEworIRt.js +131 -0
- package/dist/vendor-underscore-DVTek3G4.js +1070 -0
- package/dist/vendor-underscore.string-vrHhfBaT.js +425 -0
- package/dist/vendor-util-deprecate-BfbfwJhs.js +28 -0
- package/dist/vendor-vue-demi-CIhrFbpB.js +17 -0
- package/esm/drivers/IDriver.d.ts +10 -0
- package/esm/drivers/cdns/Cdn.d.ts +14 -0
- package/esm/drivers/cdns/CdnFactory.d.ts +11 -0
- package/esm/drivers/cdns/ICdn.d.ts +34 -0
- package/esm/drivers/cdns/implements/BootCdn.d.ts +12 -0
- package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +13 -0
- package/esm/drivers/cdns/implements/LocalCdn.d.ts +12 -0
- package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +16 -0
- package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +10 -0
- package/esm/drivers/cdns/index.d.ts +0 -0
- package/esm/drivers/driver-helper.d.ts +46 -0
- package/esm/drivers/encoders/Encoder.d.ts +11 -0
- package/esm/drivers/encoders/EncoderFactory.d.ts +16 -0
- package/esm/drivers/encoders/IEncoder.d.ts +22 -0
- package/esm/drivers/encoders/implement/Base64Encoder.d.ts +11 -0
- package/esm/drivers/encoders/index.d.ts +0 -0
- package/esm/drivers/excels/ExcelFactory.d.ts +11 -0
- package/esm/drivers/excels/IExcel.d.ts +18 -0
- package/esm/drivers/excels/implements/XlsxExcel.d.ts +10 -0
- package/esm/drivers/excels/index.d.ts +2 -0
- package/esm/drivers/explainers/Explainer.d.ts +4 -0
- package/esm/drivers/explainers/ExplainerFactory.d.ts +1 -0
- package/esm/drivers/explainers/IExplainer.d.ts +3 -0
- package/esm/drivers/explainers/implement/JsonExplainer.d.ts +4 -0
- package/esm/drivers/explainers/index.d.ts +0 -0
- package/esm/drivers/factories/DriverFactory.d.ts +19 -0
- package/esm/drivers/factories/Factory.d.ts +8 -0
- package/esm/drivers/factories/IFactory.d.ts +10 -0
- package/esm/drivers/factories/index.d.ts +2 -0
- package/esm/drivers/features/FeatureFactory.d.ts +11 -0
- package/esm/drivers/features/IFeature.d.ts +23 -0
- package/esm/drivers/features/implements/ExpressionFeature.d.ts +12 -0
- package/esm/drivers/features/implements/I18NFeature.d.ts +12 -0
- package/esm/drivers/features/implements/SortFeature.d.ts +13 -0
- package/esm/drivers/features/index.d.ts +2 -0
- package/esm/drivers/hashers/Hasher.d.ts +10 -0
- package/esm/drivers/hashers/HasherFactory.d.ts +13 -0
- package/esm/drivers/hashers/IHasher.d.ts +19 -0
- package/esm/drivers/hashers/implement/Md5Hasher.d.ts +10 -0
- package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +10 -0
- package/esm/drivers/hashers/index.d.ts +2 -0
- package/esm/drivers/index.d.ts +10 -0
- package/esm/drivers/providers/IProvider.d.ts +47 -0
- package/esm/drivers/providers/ProviderFactory.d.ts +11 -0
- package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +55 -0
- package/esm/drivers/providers/index.d.ts +2 -0
- package/esm/drivers/requesters/IRequester.d.ts +21 -0
- package/esm/drivers/requesters/Requester.d.ts +12 -0
- package/esm/drivers/requesters/RequesterFactory.d.ts +23 -0
- package/esm/drivers/requesters/entities/HttpRequest.d.ts +34 -0
- package/esm/drivers/requesters/entities/HttpResponse.d.ts +19 -0
- package/esm/drivers/requesters/implements/DefaultRequester.d.ts +12 -0
- package/esm/drivers/requesters/implements/LocalRequester.d.ts +43 -0
- package/esm/drivers/requesters/implements/MkRequester.d.ts +40 -0
- package/esm/drivers/requesters/index.d.ts +5 -0
- package/esm/drivers/signers/ISigner.d.ts +33 -0
- package/esm/drivers/signers/SignerFactory.d.ts +11 -0
- package/esm/drivers/signers/implements/DefaultSigner.d.ts +18 -0
- package/esm/drivers/signers/index.d.ts +2 -0
- package/esm/drivers/ssos/ISso.d.ts +41 -0
- package/esm/drivers/ssos/SsoFactory.d.ts +11 -0
- package/esm/drivers/ssos/implements/AnonymousSso.d.ts +18 -0
- package/esm/drivers/ssos/implements/BearerSso.d.ts +24 -0
- package/esm/drivers/ssos/implements/NioSso.d.ts +23 -0
- package/esm/drivers/ssos/implements/SecretSso.d.ts +20 -0
- package/esm/drivers/ssos/implements/WeiXinSso.d.ts +20 -0
- package/esm/drivers/ssos/index.d.ts +2 -0
- package/esm/helpers/array-helper.d.ts +97 -0
- package/esm/helpers/component-helper.d.ts +10 -0
- package/esm/helpers/cookie-helper.d.ts +6 -0
- package/esm/helpers/dictionary-helper.d.ts +18 -0
- package/esm/helpers/dom-helper.d.ts +86 -0
- package/esm/helpers/event-helper.d.ts +30 -0
- package/esm/helpers/file-helper.d.ts +22 -0
- package/esm/helpers/html-helper.d.ts +10 -0
- package/esm/helpers/i18n-helper.d.ts +14 -0
- package/esm/helpers/image-helper.d.ts +10 -0
- package/esm/helpers/index.d.ts +26 -0
- package/esm/helpers/json-helper.d.ts +31 -0
- package/esm/helpers/math-helper.d.ts +46 -0
- package/esm/helpers/micro-helper.d.ts +10 -0
- package/esm/helpers/mount-helper.d.ts +14 -0
- package/esm/helpers/object-helper.d.ts +34 -0
- package/esm/helpers/script-helper.d.ts +31 -0
- package/esm/helpers/scroll-helper.d.ts +14 -0
- package/esm/helpers/sign-helper.d.ts +14 -0
- package/esm/helpers/storage-helper.d.ts +34 -0
- package/esm/helpers/string-helper.d.ts +94 -0
- package/esm/helpers/task-helper.d.ts +26 -0
- package/esm/helpers/time-helper.d.ts +62 -0
- package/esm/helpers/tree-helper.d.ts +54 -0
- package/esm/helpers/type-helper.d.ts +26 -0
- package/esm/helpers/url-helper.d.ts +96 -0
- package/esm/main.d.ts +3 -0
- package/esm/services/SettingService.d.ts +5 -0
- package/esm/services/index.d.ts +15 -0
- package/esm/stores/config.d.ts +59 -0
- package/esm/stores/driver.d.ts +41 -0
- package/esm/stores/env.d.ts +12 -0
- package/esm/stores/index.d.ts +7 -0
- package/esm/stores/log.d.ts +20 -0
- package/esm/stores/setting.d.ts +47 -0
- package/esm/stores/socket.d.ts +27 -0
- package/esm/stores/user.d.ts +44 -0
- package/esm/thirds/index.d.ts +8 -0
- package/esm/vite.config.d.ts +6 -0
- package/package.json +52 -0
@@ -0,0 +1,258 @@
|
|
1
|
+
import { i as w } from "./vendor-state-local-CEworIRt.js";
|
2
|
+
function O(n, e, r) {
|
3
|
+
return e in n ? Object.defineProperty(n, e, {
|
4
|
+
value: r,
|
5
|
+
enumerable: !0,
|
6
|
+
configurable: !0,
|
7
|
+
writable: !0
|
8
|
+
}) : n[e] = r, n;
|
9
|
+
}
|
10
|
+
function d(n, e) {
|
11
|
+
var r = Object.keys(n);
|
12
|
+
if (Object.getOwnPropertySymbols) {
|
13
|
+
var t = Object.getOwnPropertySymbols(n);
|
14
|
+
e && (t = t.filter(function(o) {
|
15
|
+
return Object.getOwnPropertyDescriptor(n, o).enumerable;
|
16
|
+
})), r.push.apply(r, t);
|
17
|
+
}
|
18
|
+
return r;
|
19
|
+
}
|
20
|
+
function m(n) {
|
21
|
+
for (var e = 1; e < arguments.length; e++) {
|
22
|
+
var r = arguments[e] != null ? arguments[e] : {};
|
23
|
+
e % 2 ? d(Object(r), !0).forEach(function(t) {
|
24
|
+
O(n, t, r[t]);
|
25
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(r)) : d(Object(r)).forEach(function(t) {
|
26
|
+
Object.defineProperty(n, t, Object.getOwnPropertyDescriptor(r, t));
|
27
|
+
});
|
28
|
+
}
|
29
|
+
return n;
|
30
|
+
}
|
31
|
+
function I(n, e) {
|
32
|
+
if (n == null) return {};
|
33
|
+
var r = {}, t = Object.keys(n), o, i;
|
34
|
+
for (i = 0; i < t.length; i++)
|
35
|
+
o = t[i], !(e.indexOf(o) >= 0) && (r[o] = n[o]);
|
36
|
+
return r;
|
37
|
+
}
|
38
|
+
function S(n, e) {
|
39
|
+
if (n == null) return {};
|
40
|
+
var r = I(n, e), t, o;
|
41
|
+
if (Object.getOwnPropertySymbols) {
|
42
|
+
var i = Object.getOwnPropertySymbols(n);
|
43
|
+
for (o = 0; o < i.length; o++)
|
44
|
+
t = i[o], !(e.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(n, t) && (r[t] = n[t]);
|
45
|
+
}
|
46
|
+
return r;
|
47
|
+
}
|
48
|
+
function P(n, e) {
|
49
|
+
return A(n) || E(n, e) || T(n, e) || C();
|
50
|
+
}
|
51
|
+
function A(n) {
|
52
|
+
if (Array.isArray(n)) return n;
|
53
|
+
}
|
54
|
+
function E(n, e) {
|
55
|
+
if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(n)))) {
|
56
|
+
var r = [], t = !0, o = !1, i = void 0;
|
57
|
+
try {
|
58
|
+
for (var a = n[Symbol.iterator](), u; !(t = (u = a.next()).done) && (r.push(u.value), !(e && r.length === e)); t = !0)
|
59
|
+
;
|
60
|
+
} catch (c) {
|
61
|
+
o = !0, i = c;
|
62
|
+
} finally {
|
63
|
+
try {
|
64
|
+
!t && a.return != null && a.return();
|
65
|
+
} finally {
|
66
|
+
if (o) throw i;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
return r;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
function T(n, e) {
|
73
|
+
if (n) {
|
74
|
+
if (typeof n == "string") return v(n, e);
|
75
|
+
var r = Object.prototype.toString.call(n).slice(8, -1);
|
76
|
+
if (r === "Object" && n.constructor && (r = n.constructor.name), r === "Map" || r === "Set") return Array.from(n);
|
77
|
+
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return v(n, e);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
function v(n, e) {
|
81
|
+
(e == null || e > n.length) && (e = n.length);
|
82
|
+
for (var r = 0, t = new Array(e); r < e; r++) t[r] = n[r];
|
83
|
+
return t;
|
84
|
+
}
|
85
|
+
function C() {
|
86
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
87
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
88
|
+
}
|
89
|
+
var z = {
|
90
|
+
paths: {
|
91
|
+
vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"
|
92
|
+
}
|
93
|
+
};
|
94
|
+
function D(n) {
|
95
|
+
return function e() {
|
96
|
+
for (var r = this, t = arguments.length, o = new Array(t), i = 0; i < t; i++)
|
97
|
+
o[i] = arguments[i];
|
98
|
+
return o.length >= n.length ? n.apply(this, o) : function() {
|
99
|
+
for (var a = arguments.length, u = new Array(a), c = 0; c < a; c++)
|
100
|
+
u[c] = arguments[c];
|
101
|
+
return e.apply(r, [].concat(o, u));
|
102
|
+
};
|
103
|
+
};
|
104
|
+
}
|
105
|
+
function M(n) {
|
106
|
+
return {}.toString.call(n).includes("Object");
|
107
|
+
}
|
108
|
+
function q(n) {
|
109
|
+
return n || g("configIsRequired"), M(n) || g("configType"), n.urls ? (L(), {
|
110
|
+
paths: {
|
111
|
+
vs: n.urls.monacoBase
|
112
|
+
}
|
113
|
+
}) : n;
|
114
|
+
}
|
115
|
+
function L() {
|
116
|
+
console.warn(b.deprecation);
|
117
|
+
}
|
118
|
+
function $(n, e) {
|
119
|
+
throw new Error(n[e] || n.default);
|
120
|
+
}
|
121
|
+
var b = {
|
122
|
+
configIsRequired: "the configuration object is required",
|
123
|
+
configType: "the configuration object should be an object",
|
124
|
+
default: "an unknown error accured in `@monaco-editor/loader` package",
|
125
|
+
deprecation: `Deprecation warning!
|
126
|
+
You are using deprecated way of configuration.
|
127
|
+
|
128
|
+
Instead of using
|
129
|
+
monaco.config({ urls: { monacoBase: '...' } })
|
130
|
+
use
|
131
|
+
monaco.config({ paths: { vs: '...' } })
|
132
|
+
|
133
|
+
For more please check the link https://github.com/suren-atoyan/monaco-loader#config
|
134
|
+
`
|
135
|
+
}, g = D($)(b), R = {
|
136
|
+
config: q
|
137
|
+
}, _ = function() {
|
138
|
+
for (var e = arguments.length, r = new Array(e), t = 0; t < e; t++)
|
139
|
+
r[t] = arguments[t];
|
140
|
+
return function(o) {
|
141
|
+
return r.reduceRight(function(i, a) {
|
142
|
+
return a(i);
|
143
|
+
}, o);
|
144
|
+
};
|
145
|
+
};
|
146
|
+
function h(n, e) {
|
147
|
+
return Object.keys(e).forEach(function(r) {
|
148
|
+
e[r] instanceof Object && n[r] && Object.assign(e[r], h(n[r], e[r]));
|
149
|
+
}), m(m({}, n), e);
|
150
|
+
}
|
151
|
+
var x = {
|
152
|
+
type: "cancelation",
|
153
|
+
msg: "operation is manually canceled"
|
154
|
+
};
|
155
|
+
function s(n) {
|
156
|
+
var e = !1, r = new Promise(function(t, o) {
|
157
|
+
n.then(function(i) {
|
158
|
+
return e ? o(x) : t(i);
|
159
|
+
}), n.catch(o);
|
160
|
+
});
|
161
|
+
return r.cancel = function() {
|
162
|
+
return e = !0;
|
163
|
+
}, r;
|
164
|
+
}
|
165
|
+
var W = w.create({
|
166
|
+
config: z,
|
167
|
+
isInitialized: !1,
|
168
|
+
resolve: null,
|
169
|
+
reject: null,
|
170
|
+
monaco: null
|
171
|
+
}), y = P(W, 2), f = y[0], l = y[1];
|
172
|
+
function B(n) {
|
173
|
+
var e = R.config(n), r = e.monaco, t = S(e, ["monaco"]);
|
174
|
+
l(function(o) {
|
175
|
+
return {
|
176
|
+
config: h(o.config, t),
|
177
|
+
monaco: r
|
178
|
+
};
|
179
|
+
});
|
180
|
+
}
|
181
|
+
function H() {
|
182
|
+
var n = f(function(e) {
|
183
|
+
var r = e.monaco, t = e.isInitialized, o = e.resolve;
|
184
|
+
return {
|
185
|
+
monaco: r,
|
186
|
+
isInitialized: t,
|
187
|
+
resolve: o
|
188
|
+
};
|
189
|
+
});
|
190
|
+
if (!n.isInitialized) {
|
191
|
+
if (l({
|
192
|
+
isInitialized: !0
|
193
|
+
}), n.monaco)
|
194
|
+
return n.resolve(n.monaco), s(p);
|
195
|
+
if (window.monaco && window.monaco.editor)
|
196
|
+
return j(window.monaco), n.resolve(window.monaco), s(p);
|
197
|
+
_(N, G)(K);
|
198
|
+
}
|
199
|
+
return s(p);
|
200
|
+
}
|
201
|
+
function N(n) {
|
202
|
+
return document.body.appendChild(n);
|
203
|
+
}
|
204
|
+
function F(n) {
|
205
|
+
var e = document.createElement("script");
|
206
|
+
return n && (e.src = n), e;
|
207
|
+
}
|
208
|
+
function G(n) {
|
209
|
+
var e = f(function(t) {
|
210
|
+
var o = t.config, i = t.reject;
|
211
|
+
return {
|
212
|
+
config: o,
|
213
|
+
reject: i
|
214
|
+
};
|
215
|
+
}), r = F("".concat(e.config.paths.vs, "/loader.js"));
|
216
|
+
return r.onload = function() {
|
217
|
+
return n();
|
218
|
+
}, r.onerror = e.reject, r;
|
219
|
+
}
|
220
|
+
function K() {
|
221
|
+
var n = f(function(r) {
|
222
|
+
var t = r.config, o = r.resolve, i = r.reject;
|
223
|
+
return {
|
224
|
+
config: t,
|
225
|
+
resolve: o,
|
226
|
+
reject: i
|
227
|
+
};
|
228
|
+
}), e = window.require;
|
229
|
+
e.config(n.config), e(["vs/editor/editor.main"], function(r) {
|
230
|
+
j(r), n.resolve(r);
|
231
|
+
}, function(r) {
|
232
|
+
n.reject(r);
|
233
|
+
});
|
234
|
+
}
|
235
|
+
function j(n) {
|
236
|
+
f().monaco || l({
|
237
|
+
monaco: n
|
238
|
+
});
|
239
|
+
}
|
240
|
+
function U() {
|
241
|
+
return f(function(n) {
|
242
|
+
var e = n.monaco;
|
243
|
+
return e;
|
244
|
+
});
|
245
|
+
}
|
246
|
+
var p = new Promise(function(n, e) {
|
247
|
+
return l({
|
248
|
+
resolve: n,
|
249
|
+
reject: e
|
250
|
+
});
|
251
|
+
}), J = {
|
252
|
+
config: B,
|
253
|
+
init: H,
|
254
|
+
__getMonacoInstance: U
|
255
|
+
};
|
256
|
+
export {
|
257
|
+
J as l
|
258
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
|