halo-mobile 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/@intlify-BISCQg1h.js +2189 -0
- package/dist/assets/@monaco-editor-BCDRi0Ti.js +258 -0
- package/dist/assets/@vue-aVYGocXp.js +93 -0
- package/dist/assets/clone-DtpAsLoe.js +139 -0
- package/dist/assets/echarts-GNlBOlA2.js +35788 -0
- package/dist/assets/file-saver-Cnua3zoa.js +74 -0
- package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
- package/dist/assets/moment-h96o7c8I.js +2578 -0
- package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
- package/dist/assets/state-local-CEworIRt.js +131 -0
- package/dist/assets/tslib-Mk5CobFr.js +33 -0
- package/dist/assets/underscore-B0BCaBxV.js +1070 -0
- package/dist/assets/underscore.string-oDfap0sE.js +425 -0
- package/dist/assets/util-deprecate-BqFawLoO.js +28 -0
- package/dist/assets/vue-i18n-CLr3brPz.js +1670 -0
- package/dist/assets/zrender-DL5fpFCv.js +8571 -0
- package/dist/main.js +6719 -0
- package/dist/style.css +5 -0
- package/package.json +5 -5
@@ -0,0 +1,148 @@
|
|
1
|
+
var y = {}, x;
|
2
|
+
function S() {
|
3
|
+
return x || (x = 1, function(k) {
|
4
|
+
(function() {
|
5
|
+
var i = {
|
6
|
+
not_string: /[^s]/,
|
7
|
+
not_bool: /[^t]/,
|
8
|
+
not_type: /[^T]/,
|
9
|
+
not_primitive: /[^v]/,
|
10
|
+
number: /[diefg]/,
|
11
|
+
numeric_arg: /[bcdiefguxX]/,
|
12
|
+
json: /[j]/,
|
13
|
+
not_json: /[^j]/,
|
14
|
+
text: /^[^\x25]+/,
|
15
|
+
modulo: /^\x25{2}/,
|
16
|
+
placeholder: /^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,
|
17
|
+
key: /^([a-z_][a-z_\d]*)/i,
|
18
|
+
key_access: /^\.([a-z_][a-z_\d]*)/i,
|
19
|
+
index_access: /^\[(\d+)\]/,
|
20
|
+
sign: /^[+-]/
|
21
|
+
};
|
22
|
+
function f(t) {
|
23
|
+
return _(v(t), arguments);
|
24
|
+
}
|
25
|
+
function w(t, o) {
|
26
|
+
return f.apply(null, [t].concat(o || []));
|
27
|
+
}
|
28
|
+
function _(t, o) {
|
29
|
+
var n = 1, c = t.length, e, p = "", a, s, r, l, d, h, b, u;
|
30
|
+
for (a = 0; a < c; a++)
|
31
|
+
if (typeof t[a] == "string")
|
32
|
+
p += t[a];
|
33
|
+
else if (typeof t[a] == "object") {
|
34
|
+
if (r = t[a], r.keys)
|
35
|
+
for (e = o[n], s = 0; s < r.keys.length; s++) {
|
36
|
+
if (e == null)
|
37
|
+
throw new Error(f('[sprintf] Cannot access property "%s" of undefined value "%s"', r.keys[s], r.keys[s - 1]));
|
38
|
+
e = e[r.keys[s]];
|
39
|
+
}
|
40
|
+
else r.param_no ? e = o[r.param_no] : e = o[n++];
|
41
|
+
if (i.not_type.test(r.type) && i.not_primitive.test(r.type) && e instanceof Function && (e = e()), i.numeric_arg.test(r.type) && typeof e != "number" && isNaN(e))
|
42
|
+
throw new TypeError(f("[sprintf] expecting number but found %T", e));
|
43
|
+
switch (i.number.test(r.type) && (b = e >= 0), r.type) {
|
44
|
+
case "b":
|
45
|
+
e = parseInt(e, 10).toString(2);
|
46
|
+
break;
|
47
|
+
case "c":
|
48
|
+
e = String.fromCharCode(parseInt(e, 10));
|
49
|
+
break;
|
50
|
+
case "d":
|
51
|
+
case "i":
|
52
|
+
e = parseInt(e, 10);
|
53
|
+
break;
|
54
|
+
case "j":
|
55
|
+
e = JSON.stringify(e, null, r.width ? parseInt(r.width) : 0);
|
56
|
+
break;
|
57
|
+
case "e":
|
58
|
+
e = r.precision ? parseFloat(e).toExponential(r.precision) : parseFloat(e).toExponential();
|
59
|
+
break;
|
60
|
+
case "f":
|
61
|
+
e = r.precision ? parseFloat(e).toFixed(r.precision) : parseFloat(e);
|
62
|
+
break;
|
63
|
+
case "g":
|
64
|
+
e = r.precision ? String(Number(e.toPrecision(r.precision))) : parseFloat(e);
|
65
|
+
break;
|
66
|
+
case "o":
|
67
|
+
e = (parseInt(e, 10) >>> 0).toString(8);
|
68
|
+
break;
|
69
|
+
case "s":
|
70
|
+
e = String(e), e = r.precision ? e.substring(0, r.precision) : e;
|
71
|
+
break;
|
72
|
+
case "t":
|
73
|
+
e = String(!!e), e = r.precision ? e.substring(0, r.precision) : e;
|
74
|
+
break;
|
75
|
+
case "T":
|
76
|
+
e = Object.prototype.toString.call(e).slice(8, -1).toLowerCase(), e = r.precision ? e.substring(0, r.precision) : e;
|
77
|
+
break;
|
78
|
+
case "u":
|
79
|
+
e = parseInt(e, 10) >>> 0;
|
80
|
+
break;
|
81
|
+
case "v":
|
82
|
+
e = e.valueOf(), e = r.precision ? e.substring(0, r.precision) : e;
|
83
|
+
break;
|
84
|
+
case "x":
|
85
|
+
e = (parseInt(e, 10) >>> 0).toString(16);
|
86
|
+
break;
|
87
|
+
case "X":
|
88
|
+
e = (parseInt(e, 10) >>> 0).toString(16).toUpperCase();
|
89
|
+
break;
|
90
|
+
}
|
91
|
+
i.json.test(r.type) ? p += e : (i.number.test(r.type) && (!b || r.sign) ? (u = b ? "+" : "-", e = e.toString().replace(i.sign, "")) : u = "", d = r.pad_char ? r.pad_char === "0" ? "0" : r.pad_char.charAt(1) : " ", h = r.width - (u + e).length, l = r.width && h > 0 ? d.repeat(h) : "", p += r.align ? u + e + l : d === "0" ? u + l + e : l + u + e);
|
92
|
+
}
|
93
|
+
return p;
|
94
|
+
}
|
95
|
+
var g = /* @__PURE__ */ Object.create(null);
|
96
|
+
function v(t) {
|
97
|
+
if (g[t])
|
98
|
+
return g[t];
|
99
|
+
for (var o = t, n, c = [], e = 0; o; ) {
|
100
|
+
if ((n = i.text.exec(o)) !== null)
|
101
|
+
c.push(n[0]);
|
102
|
+
else if ((n = i.modulo.exec(o)) !== null)
|
103
|
+
c.push("%");
|
104
|
+
else if ((n = i.placeholder.exec(o)) !== null) {
|
105
|
+
if (n[2]) {
|
106
|
+
e |= 1;
|
107
|
+
var p = [], a = n[2], s = [];
|
108
|
+
if ((s = i.key.exec(a)) !== null)
|
109
|
+
for (p.push(s[1]); (a = a.substring(s[0].length)) !== ""; )
|
110
|
+
if ((s = i.key_access.exec(a)) !== null)
|
111
|
+
p.push(s[1]);
|
112
|
+
else if ((s = i.index_access.exec(a)) !== null)
|
113
|
+
p.push(s[1]);
|
114
|
+
else
|
115
|
+
throw new SyntaxError("[sprintf] failed to parse named argument key");
|
116
|
+
else
|
117
|
+
throw new SyntaxError("[sprintf] failed to parse named argument key");
|
118
|
+
n[2] = p;
|
119
|
+
} else
|
120
|
+
e |= 2;
|
121
|
+
if (e === 3)
|
122
|
+
throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");
|
123
|
+
c.push(
|
124
|
+
{
|
125
|
+
placeholder: n[0],
|
126
|
+
param_no: n[1],
|
127
|
+
keys: n[2],
|
128
|
+
sign: n[3],
|
129
|
+
pad_char: n[4],
|
130
|
+
align: n[5],
|
131
|
+
width: n[6],
|
132
|
+
precision: n[7],
|
133
|
+
type: n[8]
|
134
|
+
}
|
135
|
+
);
|
136
|
+
} else
|
137
|
+
throw new SyntaxError("[sprintf] unexpected placeholder");
|
138
|
+
o = o.substring(n[0].length);
|
139
|
+
}
|
140
|
+
return g[t] = c;
|
141
|
+
}
|
142
|
+
k.sprintf = f, k.vsprintf = w, typeof window < "u" && (window.sprintf = f, window.vsprintf = w);
|
143
|
+
})();
|
144
|
+
}(y)), y;
|
145
|
+
}
|
146
|
+
export {
|
147
|
+
S as r
|
148
|
+
};
|
@@ -0,0 +1,131 @@
|
|
1
|
+
function O(e, t, n) {
|
2
|
+
return t in e ? Object.defineProperty(e, t, {
|
3
|
+
value: n,
|
4
|
+
enumerable: !0,
|
5
|
+
configurable: !0,
|
6
|
+
writable: !0
|
7
|
+
}) : e[t] = n, e;
|
8
|
+
}
|
9
|
+
function g(e, t) {
|
10
|
+
var n = Object.keys(e);
|
11
|
+
if (Object.getOwnPropertySymbols) {
|
12
|
+
var r = Object.getOwnPropertySymbols(e);
|
13
|
+
t && (r = r.filter(function(i) {
|
14
|
+
return Object.getOwnPropertyDescriptor(e, i).enumerable;
|
15
|
+
})), n.push.apply(n, r);
|
16
|
+
}
|
17
|
+
return n;
|
18
|
+
}
|
19
|
+
function v(e) {
|
20
|
+
for (var t = 1; t < arguments.length; t++) {
|
21
|
+
var n = arguments[t] != null ? arguments[t] : {};
|
22
|
+
t % 2 ? g(Object(n), !0).forEach(function(r) {
|
23
|
+
O(e, r, n[r]);
|
24
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g(Object(n)).forEach(function(r) {
|
25
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
26
|
+
});
|
27
|
+
}
|
28
|
+
return e;
|
29
|
+
}
|
30
|
+
function y() {
|
31
|
+
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
32
|
+
t[n] = arguments[n];
|
33
|
+
return function(r) {
|
34
|
+
return t.reduceRight(function(i, a) {
|
35
|
+
return a(i);
|
36
|
+
}, r);
|
37
|
+
};
|
38
|
+
}
|
39
|
+
function c(e) {
|
40
|
+
return function t() {
|
41
|
+
for (var n = this, r = arguments.length, i = new Array(r), a = 0; a < r; a++)
|
42
|
+
i[a] = arguments[a];
|
43
|
+
return i.length >= e.length ? e.apply(this, i) : function() {
|
44
|
+
for (var f = arguments.length, s = new Array(f), o = 0; o < f; o++)
|
45
|
+
s[o] = arguments[o];
|
46
|
+
return t.apply(n, [].concat(i, s));
|
47
|
+
};
|
48
|
+
};
|
49
|
+
}
|
50
|
+
function h(e) {
|
51
|
+
return {}.toString.call(e).includes("Object");
|
52
|
+
}
|
53
|
+
function m(e) {
|
54
|
+
return !Object.keys(e).length;
|
55
|
+
}
|
56
|
+
function l(e) {
|
57
|
+
return typeof e == "function";
|
58
|
+
}
|
59
|
+
function j(e, t) {
|
60
|
+
return Object.prototype.hasOwnProperty.call(e, t);
|
61
|
+
}
|
62
|
+
function w(e, t) {
|
63
|
+
return h(t) || u("changeType"), Object.keys(t).some(function(n) {
|
64
|
+
return !j(e, n);
|
65
|
+
}) && u("changeField"), t;
|
66
|
+
}
|
67
|
+
function P(e) {
|
68
|
+
l(e) || u("selectorType");
|
69
|
+
}
|
70
|
+
function T(e) {
|
71
|
+
l(e) || h(e) || u("handlerType"), h(e) && Object.values(e).some(function(t) {
|
72
|
+
return !l(t);
|
73
|
+
}) && u("handlersType");
|
74
|
+
}
|
75
|
+
function S(e) {
|
76
|
+
e || u("initialIsRequired"), h(e) || u("initialType"), m(e) && u("initialContent");
|
77
|
+
}
|
78
|
+
function E(e, t) {
|
79
|
+
throw new Error(e[t] || e.default);
|
80
|
+
}
|
81
|
+
var D = {
|
82
|
+
initialIsRequired: "initial state is required",
|
83
|
+
initialType: "initial state should be an object",
|
84
|
+
initialContent: "initial state shouldn't be an empty object",
|
85
|
+
handlerType: "handler should be an object or a function",
|
86
|
+
handlersType: "all handlers should be a functions",
|
87
|
+
selectorType: "selector should be a function",
|
88
|
+
changeType: "provided value of changes should be an object",
|
89
|
+
changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state',
|
90
|
+
default: "an unknown error accured in `state-local` package"
|
91
|
+
}, u = c(E)(D), p = {
|
92
|
+
changes: w,
|
93
|
+
selector: P,
|
94
|
+
handler: T,
|
95
|
+
initial: S
|
96
|
+
};
|
97
|
+
function q(e) {
|
98
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
99
|
+
p.initial(e), p.handler(t);
|
100
|
+
var n = {
|
101
|
+
current: e
|
102
|
+
}, r = c(I)(n, t), i = c(F)(n), a = c(p.changes)(e), f = c(C)(n);
|
103
|
+
function s() {
|
104
|
+
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(b) {
|
105
|
+
return b;
|
106
|
+
};
|
107
|
+
return p.selector(d), d(n.current);
|
108
|
+
}
|
109
|
+
function o(d) {
|
110
|
+
y(r, i, a, f)(d);
|
111
|
+
}
|
112
|
+
return [s, o];
|
113
|
+
}
|
114
|
+
function C(e, t) {
|
115
|
+
return l(t) ? t(e.current) : t;
|
116
|
+
}
|
117
|
+
function F(e, t) {
|
118
|
+
return e.current = v(v({}, e.current), t), t;
|
119
|
+
}
|
120
|
+
function I(e, t, n) {
|
121
|
+
return l(t) ? t(e.current) : Object.keys(n).forEach(function(r) {
|
122
|
+
var i;
|
123
|
+
return (i = t[r]) === null || i === void 0 ? void 0 : i.call(t, e.current[r]);
|
124
|
+
}), n;
|
125
|
+
}
|
126
|
+
var R = {
|
127
|
+
create: q
|
128
|
+
};
|
129
|
+
export {
|
130
|
+
R as i
|
131
|
+
};
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/*! *****************************************************************************
|
2
|
+
Copyright (c) Microsoft Corporation.
|
3
|
+
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
5
|
+
purpose with or without fee is hereby granted.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
14
|
+
***************************************************************************** */
|
15
|
+
var c = function(n, t) {
|
16
|
+
return c = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(o, r) {
|
17
|
+
o.__proto__ = r;
|
18
|
+
} || function(o, r) {
|
19
|
+
for (var e in r) Object.prototype.hasOwnProperty.call(r, e) && (o[e] = r[e]);
|
20
|
+
}, c(n, t);
|
21
|
+
};
|
22
|
+
function i(n, t) {
|
23
|
+
if (typeof t != "function" && t !== null)
|
24
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
25
|
+
c(n, t);
|
26
|
+
function o() {
|
27
|
+
this.constructor = n;
|
28
|
+
}
|
29
|
+
n.prototype = t === null ? Object.create(t) : (o.prototype = t.prototype, new o());
|
30
|
+
}
|
31
|
+
export {
|
32
|
+
i as _
|
33
|
+
};
|