@opentiny/tiny-robot 0.3.0-alpha.5 → 0.3.0-alpha.6
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/action-group/index.js +5 -5
- package/dist/base-popper/index.js +2 -121
- package/dist/close.js +1 -1
- package/dist/dropdown-menu/index.js +43 -43
- package/dist/feedback/index.js +1 -1
- package/dist/flow-layout-buttons/index.js +8 -8
- package/dist/history/index.js +2 -2
- package/dist/index.d.ts +50 -105
- package/dist/index2.js +7 -6
- package/dist/index3.js +137 -306
- package/dist/index4.js +269 -591
- package/dist/index5.js +528 -2047
- package/dist/index6.js +2069 -4662
- package/dist/index7.js +4749 -0
- package/dist/question/index.js +1 -1
- package/dist/sender/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/suggestion-pills/index.js +110 -184
- package/dist/suggestion-popover/index.js +216 -192
- package/dist/useSlotRefs.js +36 -0
- package/package.json +3 -3
package/dist/index7.js
ADDED
|
@@ -0,0 +1,4749 @@
|
|
|
1
|
+
import * as S from "vue";
|
|
2
|
+
var zr = Object.defineProperty, Rr = (r, e, n) => e in r ? zr(r, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[e] = n, re = (r, e, n) => Rr(r, typeof e != "symbol" ? e + "" : e, n), Ie = { exports: {} }, M = {}, Fe = { exports: {} }, Z = {}, lt;
|
|
3
|
+
function zt() {
|
|
4
|
+
if (lt) return Z;
|
|
5
|
+
lt = 1;
|
|
6
|
+
function r() {
|
|
7
|
+
var t = {};
|
|
8
|
+
return t["align-content"] = !1, t["align-items"] = !1, t["align-self"] = !1, t["alignment-adjust"] = !1, t["alignment-baseline"] = !1, t.all = !1, t["anchor-point"] = !1, t.animation = !1, t["animation-delay"] = !1, t["animation-direction"] = !1, t["animation-duration"] = !1, t["animation-fill-mode"] = !1, t["animation-iteration-count"] = !1, t["animation-name"] = !1, t["animation-play-state"] = !1, t["animation-timing-function"] = !1, t.azimuth = !1, t["backface-visibility"] = !1, t.background = !0, t["background-attachment"] = !0, t["background-clip"] = !0, t["background-color"] = !0, t["background-image"] = !0, t["background-origin"] = !0, t["background-position"] = !0, t["background-repeat"] = !0, t["background-size"] = !0, t["baseline-shift"] = !1, t.binding = !1, t.bleed = !1, t["bookmark-label"] = !1, t["bookmark-level"] = !1, t["bookmark-state"] = !1, t.border = !0, t["border-bottom"] = !0, t["border-bottom-color"] = !0, t["border-bottom-left-radius"] = !0, t["border-bottom-right-radius"] = !0, t["border-bottom-style"] = !0, t["border-bottom-width"] = !0, t["border-collapse"] = !0, t["border-color"] = !0, t["border-image"] = !0, t["border-image-outset"] = !0, t["border-image-repeat"] = !0, t["border-image-slice"] = !0, t["border-image-source"] = !0, t["border-image-width"] = !0, t["border-left"] = !0, t["border-left-color"] = !0, t["border-left-style"] = !0, t["border-left-width"] = !0, t["border-radius"] = !0, t["border-right"] = !0, t["border-right-color"] = !0, t["border-right-style"] = !0, t["border-right-width"] = !0, t["border-spacing"] = !0, t["border-style"] = !0, t["border-top"] = !0, t["border-top-color"] = !0, t["border-top-left-radius"] = !0, t["border-top-right-radius"] = !0, t["border-top-style"] = !0, t["border-top-width"] = !0, t["border-width"] = !0, t.bottom = !1, t["box-decoration-break"] = !0, t["box-shadow"] = !0, t["box-sizing"] = !0, t["box-snap"] = !0, t["box-suppress"] = !0, t["break-after"] = !0, t["break-before"] = !0, t["break-inside"] = !0, t["caption-side"] = !1, t.chains = !1, t.clear = !0, t.clip = !1, t["clip-path"] = !1, t["clip-rule"] = !1, t.color = !0, t["color-interpolation-filters"] = !0, t["column-count"] = !1, t["column-fill"] = !1, t["column-gap"] = !1, t["column-rule"] = !1, t["column-rule-color"] = !1, t["column-rule-style"] = !1, t["column-rule-width"] = !1, t["column-span"] = !1, t["column-width"] = !1, t.columns = !1, t.contain = !1, t.content = !1, t["counter-increment"] = !1, t["counter-reset"] = !1, t["counter-set"] = !1, t.crop = !1, t.cue = !1, t["cue-after"] = !1, t["cue-before"] = !1, t.cursor = !1, t.direction = !1, t.display = !0, t["display-inside"] = !0, t["display-list"] = !0, t["display-outside"] = !0, t["dominant-baseline"] = !1, t.elevation = !1, t["empty-cells"] = !1, t.filter = !1, t.flex = !1, t["flex-basis"] = !1, t["flex-direction"] = !1, t["flex-flow"] = !1, t["flex-grow"] = !1, t["flex-shrink"] = !1, t["flex-wrap"] = !1, t.float = !1, t["float-offset"] = !1, t["flood-color"] = !1, t["flood-opacity"] = !1, t["flow-from"] = !1, t["flow-into"] = !1, t.font = !0, t["font-family"] = !0, t["font-feature-settings"] = !0, t["font-kerning"] = !0, t["font-language-override"] = !0, t["font-size"] = !0, t["font-size-adjust"] = !0, t["font-stretch"] = !0, t["font-style"] = !0, t["font-synthesis"] = !0, t["font-variant"] = !0, t["font-variant-alternates"] = !0, t["font-variant-caps"] = !0, t["font-variant-east-asian"] = !0, t["font-variant-ligatures"] = !0, t["font-variant-numeric"] = !0, t["font-variant-position"] = !0, t["font-weight"] = !0, t.grid = !1, t["grid-area"] = !1, t["grid-auto-columns"] = !1, t["grid-auto-flow"] = !1, t["grid-auto-rows"] = !1, t["grid-column"] = !1, t["grid-column-end"] = !1, t["grid-column-start"] = !1, t["grid-row"] = !1, t["grid-row-end"] = !1, t["grid-row-start"] = !1, t["grid-template"] = !1, t["grid-template-areas"] = !1, t["grid-template-columns"] = !1, t["grid-template-rows"] = !1, t["hanging-punctuation"] = !1, t.height = !0, t.hyphens = !1, t.icon = !1, t["image-orientation"] = !1, t["image-resolution"] = !1, t["ime-mode"] = !1, t["initial-letters"] = !1, t["inline-box-align"] = !1, t["justify-content"] = !1, t["justify-items"] = !1, t["justify-self"] = !1, t.left = !1, t["letter-spacing"] = !0, t["lighting-color"] = !0, t["line-box-contain"] = !1, t["line-break"] = !1, t["line-grid"] = !1, t["line-height"] = !1, t["line-snap"] = !1, t["line-stacking"] = !1, t["line-stacking-ruby"] = !1, t["line-stacking-shift"] = !1, t["line-stacking-strategy"] = !1, t["list-style"] = !0, t["list-style-image"] = !0, t["list-style-position"] = !0, t["list-style-type"] = !0, t.margin = !0, t["margin-bottom"] = !0, t["margin-left"] = !0, t["margin-right"] = !0, t["margin-top"] = !0, t["marker-offset"] = !1, t["marker-side"] = !1, t.marks = !1, t.mask = !1, t["mask-box"] = !1, t["mask-box-outset"] = !1, t["mask-box-repeat"] = !1, t["mask-box-slice"] = !1, t["mask-box-source"] = !1, t["mask-box-width"] = !1, t["mask-clip"] = !1, t["mask-image"] = !1, t["mask-origin"] = !1, t["mask-position"] = !1, t["mask-repeat"] = !1, t["mask-size"] = !1, t["mask-source-type"] = !1, t["mask-type"] = !1, t["max-height"] = !0, t["max-lines"] = !1, t["max-width"] = !0, t["min-height"] = !0, t["min-width"] = !0, t["move-to"] = !1, t["nav-down"] = !1, t["nav-index"] = !1, t["nav-left"] = !1, t["nav-right"] = !1, t["nav-up"] = !1, t["object-fit"] = !1, t["object-position"] = !1, t.opacity = !1, t.order = !1, t.orphans = !1, t.outline = !1, t["outline-color"] = !1, t["outline-offset"] = !1, t["outline-style"] = !1, t["outline-width"] = !1, t.overflow = !1, t["overflow-wrap"] = !1, t["overflow-x"] = !1, t["overflow-y"] = !1, t.padding = !0, t["padding-bottom"] = !0, t["padding-left"] = !0, t["padding-right"] = !0, t["padding-top"] = !0, t.page = !1, t["page-break-after"] = !1, t["page-break-before"] = !1, t["page-break-inside"] = !1, t["page-policy"] = !1, t.pause = !1, t["pause-after"] = !1, t["pause-before"] = !1, t.perspective = !1, t["perspective-origin"] = !1, t.pitch = !1, t["pitch-range"] = !1, t["play-during"] = !1, t.position = !1, t["presentation-level"] = !1, t.quotes = !1, t["region-fragment"] = !1, t.resize = !1, t.rest = !1, t["rest-after"] = !1, t["rest-before"] = !1, t.richness = !1, t.right = !1, t.rotation = !1, t["rotation-point"] = !1, t["ruby-align"] = !1, t["ruby-merge"] = !1, t["ruby-position"] = !1, t["shape-image-threshold"] = !1, t["shape-outside"] = !1, t["shape-margin"] = !1, t.size = !1, t.speak = !1, t["speak-as"] = !1, t["speak-header"] = !1, t["speak-numeral"] = !1, t["speak-punctuation"] = !1, t["speech-rate"] = !1, t.stress = !1, t["string-set"] = !1, t["tab-size"] = !1, t["table-layout"] = !1, t["text-align"] = !0, t["text-align-last"] = !0, t["text-combine-upright"] = !0, t["text-decoration"] = !0, t["text-decoration-color"] = !0, t["text-decoration-line"] = !0, t["text-decoration-skip"] = !0, t["text-decoration-style"] = !0, t["text-emphasis"] = !0, t["text-emphasis-color"] = !0, t["text-emphasis-position"] = !0, t["text-emphasis-style"] = !0, t["text-height"] = !0, t["text-indent"] = !0, t["text-justify"] = !0, t["text-orientation"] = !0, t["text-overflow"] = !0, t["text-shadow"] = !0, t["text-space-collapse"] = !0, t["text-transform"] = !0, t["text-underline-position"] = !0, t["text-wrap"] = !0, t.top = !1, t.transform = !1, t["transform-origin"] = !1, t["transform-style"] = !1, t.transition = !1, t["transition-delay"] = !1, t["transition-duration"] = !1, t["transition-property"] = !1, t["transition-timing-function"] = !1, t["unicode-bidi"] = !1, t["vertical-align"] = !1, t.visibility = !1, t["voice-balance"] = !1, t["voice-duration"] = !1, t["voice-family"] = !1, t["voice-pitch"] = !1, t["voice-range"] = !1, t["voice-rate"] = !1, t["voice-stress"] = !1, t["voice-volume"] = !1, t.volume = !1, t["white-space"] = !1, t.widows = !1, t.width = !0, t["will-change"] = !1, t["word-break"] = !0, t["word-spacing"] = !0, t["word-wrap"] = !0, t["wrap-flow"] = !1, t["wrap-through"] = !1, t["writing-mode"] = !1, t["z-index"] = !1, t;
|
|
9
|
+
}
|
|
10
|
+
function e(t, a, s) {
|
|
11
|
+
}
|
|
12
|
+
function n(t, a, s) {
|
|
13
|
+
}
|
|
14
|
+
var o = /javascript\s*\:/img;
|
|
15
|
+
function i(t, a) {
|
|
16
|
+
return o.test(a) ? "" : a;
|
|
17
|
+
}
|
|
18
|
+
return Z.whiteList = r(), Z.getDefaultWhiteList = r, Z.onAttr = e, Z.onIgnoreAttr = n, Z.safeAttrValue = i, Z;
|
|
19
|
+
}
|
|
20
|
+
var ct, ut;
|
|
21
|
+
function Rt() {
|
|
22
|
+
return ut || (ut = 1, ct = {
|
|
23
|
+
indexOf: function(r, e) {
|
|
24
|
+
var n, o;
|
|
25
|
+
if (Array.prototype.indexOf)
|
|
26
|
+
return r.indexOf(e);
|
|
27
|
+
for (n = 0, o = r.length; n < o; n++)
|
|
28
|
+
if (r[n] === e)
|
|
29
|
+
return n;
|
|
30
|
+
return -1;
|
|
31
|
+
},
|
|
32
|
+
forEach: function(r, e, n) {
|
|
33
|
+
var o, i;
|
|
34
|
+
if (Array.prototype.forEach)
|
|
35
|
+
return r.forEach(e, n);
|
|
36
|
+
for (o = 0, i = r.length; o < i; o++)
|
|
37
|
+
e.call(n, r[o], o, r);
|
|
38
|
+
},
|
|
39
|
+
trim: function(r) {
|
|
40
|
+
return String.prototype.trim ? r.trim() : r.replace(/(^\s*)|(\s*$)/g, "");
|
|
41
|
+
},
|
|
42
|
+
trimRight: function(r) {
|
|
43
|
+
return String.prototype.trimRight ? r.trimRight() : r.replace(/(\s*$)/g, "");
|
|
44
|
+
}
|
|
45
|
+
}), ct;
|
|
46
|
+
}
|
|
47
|
+
var Le, dt;
|
|
48
|
+
function Nr() {
|
|
49
|
+
if (dt) return Le;
|
|
50
|
+
dt = 1;
|
|
51
|
+
var r = Rt();
|
|
52
|
+
function e(n, o) {
|
|
53
|
+
n = r.trimRight(n), n[n.length - 1] !== ";" && (n += ";");
|
|
54
|
+
var i = n.length, t = !1, a = 0, s = 0, c = "";
|
|
55
|
+
function f() {
|
|
56
|
+
if (!t) {
|
|
57
|
+
var p = r.trim(n.slice(a, s)), u = p.indexOf(":");
|
|
58
|
+
if (u !== -1) {
|
|
59
|
+
var m = r.trim(p.slice(0, u)), w = r.trim(p.slice(u + 1));
|
|
60
|
+
if (m) {
|
|
61
|
+
var h = o(a, c.length, m, w, p);
|
|
62
|
+
h && (c += h + "; ");
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
a = s + 1;
|
|
67
|
+
}
|
|
68
|
+
for (; s < i; s++) {
|
|
69
|
+
var d = n[s];
|
|
70
|
+
if (d === "/" && n[s + 1] === "*") {
|
|
71
|
+
var l = n.indexOf("*/", s + 2);
|
|
72
|
+
if (l === -1) break;
|
|
73
|
+
s = l + 1, a = s + 1, t = !1;
|
|
74
|
+
} else d === "(" ? t = !0 : d === ")" ? t = !1 : d === ";" ? t || f() : d === `
|
|
75
|
+
` && f();
|
|
76
|
+
}
|
|
77
|
+
return r.trim(c);
|
|
78
|
+
}
|
|
79
|
+
return Le = e, Le;
|
|
80
|
+
}
|
|
81
|
+
var De, ft;
|
|
82
|
+
function jr() {
|
|
83
|
+
if (ft) return De;
|
|
84
|
+
ft = 1;
|
|
85
|
+
var r = zt(), e = Nr();
|
|
86
|
+
Rt();
|
|
87
|
+
function n(t) {
|
|
88
|
+
return t == null;
|
|
89
|
+
}
|
|
90
|
+
function o(t) {
|
|
91
|
+
var a = {};
|
|
92
|
+
for (var s in t)
|
|
93
|
+
a[s] = t[s];
|
|
94
|
+
return a;
|
|
95
|
+
}
|
|
96
|
+
function i(t) {
|
|
97
|
+
t = o(t || {}), t.whiteList = t.whiteList || r.whiteList, t.onAttr = t.onAttr || r.onAttr, t.onIgnoreAttr = t.onIgnoreAttr || r.onIgnoreAttr, t.safeAttrValue = t.safeAttrValue || r.safeAttrValue, this.options = t;
|
|
98
|
+
}
|
|
99
|
+
return i.prototype.process = function(t) {
|
|
100
|
+
if (t = t || "", t = t.toString(), !t) return "";
|
|
101
|
+
var a = this, s = a.options, c = s.whiteList, f = s.onAttr, d = s.onIgnoreAttr, l = s.safeAttrValue, p = e(t, function(u, m, w, h, x) {
|
|
102
|
+
var y = c[w], g = !1;
|
|
103
|
+
if (y === !0 ? g = y : typeof y == "function" ? g = y(h) : y instanceof RegExp && (g = y.test(h)), g !== !0 && (g = !1), h = l(w, h), !!h) {
|
|
104
|
+
var k = {
|
|
105
|
+
position: m,
|
|
106
|
+
sourcePosition: u,
|
|
107
|
+
source: x,
|
|
108
|
+
isWhite: g
|
|
109
|
+
};
|
|
110
|
+
if (g) {
|
|
111
|
+
var _ = f(w, h, k);
|
|
112
|
+
return n(_) ? w + ":" + h : _;
|
|
113
|
+
} else {
|
|
114
|
+
var _ = d(w, h, k);
|
|
115
|
+
if (!n(_))
|
|
116
|
+
return _;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
return p;
|
|
121
|
+
}, De = i, De;
|
|
122
|
+
}
|
|
123
|
+
var pt;
|
|
124
|
+
function $e() {
|
|
125
|
+
return pt || (pt = 1, function(r, e) {
|
|
126
|
+
var n = zt(), o = jr();
|
|
127
|
+
function i(a, s) {
|
|
128
|
+
var c = new o(s);
|
|
129
|
+
return c.process(a);
|
|
130
|
+
}
|
|
131
|
+
e = r.exports = i, e.FilterCSS = o;
|
|
132
|
+
for (var t in n) e[t] = n[t];
|
|
133
|
+
typeof window < "u" && (window.filterCSS = r.exports);
|
|
134
|
+
}(Fe, Fe.exports)), Fe.exports;
|
|
135
|
+
}
|
|
136
|
+
var ht, mt;
|
|
137
|
+
function Xe() {
|
|
138
|
+
return mt || (mt = 1, ht = {
|
|
139
|
+
indexOf: function(r, e) {
|
|
140
|
+
var n, o;
|
|
141
|
+
if (Array.prototype.indexOf)
|
|
142
|
+
return r.indexOf(e);
|
|
143
|
+
for (n = 0, o = r.length; n < o; n++)
|
|
144
|
+
if (r[n] === e)
|
|
145
|
+
return n;
|
|
146
|
+
return -1;
|
|
147
|
+
},
|
|
148
|
+
forEach: function(r, e, n) {
|
|
149
|
+
var o, i;
|
|
150
|
+
if (Array.prototype.forEach)
|
|
151
|
+
return r.forEach(e, n);
|
|
152
|
+
for (o = 0, i = r.length; o < i; o++)
|
|
153
|
+
e.call(n, r[o], o, r);
|
|
154
|
+
},
|
|
155
|
+
trim: function(r) {
|
|
156
|
+
return String.prototype.trim ? r.trim() : r.replace(/(^\s*)|(\s*$)/g, "");
|
|
157
|
+
},
|
|
158
|
+
spaceIndex: function(r) {
|
|
159
|
+
var e = /\s|\n|\t/, n = e.exec(r);
|
|
160
|
+
return n ? n.index : -1;
|
|
161
|
+
}
|
|
162
|
+
}), ht;
|
|
163
|
+
}
|
|
164
|
+
var gt;
|
|
165
|
+
function Nt() {
|
|
166
|
+
if (gt) return M;
|
|
167
|
+
gt = 1;
|
|
168
|
+
var r = $e().FilterCSS, e = $e().getDefaultWhiteList, n = Xe();
|
|
169
|
+
function o() {
|
|
170
|
+
return {
|
|
171
|
+
a: ["target", "href", "title"],
|
|
172
|
+
abbr: ["title"],
|
|
173
|
+
address: [],
|
|
174
|
+
area: ["shape", "coords", "href", "alt"],
|
|
175
|
+
article: [],
|
|
176
|
+
aside: [],
|
|
177
|
+
audio: [
|
|
178
|
+
"autoplay",
|
|
179
|
+
"controls",
|
|
180
|
+
"crossorigin",
|
|
181
|
+
"loop",
|
|
182
|
+
"muted",
|
|
183
|
+
"preload",
|
|
184
|
+
"src"
|
|
185
|
+
],
|
|
186
|
+
b: [],
|
|
187
|
+
bdi: ["dir"],
|
|
188
|
+
bdo: ["dir"],
|
|
189
|
+
big: [],
|
|
190
|
+
blockquote: ["cite"],
|
|
191
|
+
br: [],
|
|
192
|
+
caption: [],
|
|
193
|
+
center: [],
|
|
194
|
+
cite: [],
|
|
195
|
+
code: [],
|
|
196
|
+
col: ["align", "valign", "span", "width"],
|
|
197
|
+
colgroup: ["align", "valign", "span", "width"],
|
|
198
|
+
dd: [],
|
|
199
|
+
del: ["datetime"],
|
|
200
|
+
details: ["open"],
|
|
201
|
+
div: [],
|
|
202
|
+
dl: [],
|
|
203
|
+
dt: [],
|
|
204
|
+
em: [],
|
|
205
|
+
figcaption: [],
|
|
206
|
+
figure: [],
|
|
207
|
+
font: ["color", "size", "face"],
|
|
208
|
+
footer: [],
|
|
209
|
+
h1: [],
|
|
210
|
+
h2: [],
|
|
211
|
+
h3: [],
|
|
212
|
+
h4: [],
|
|
213
|
+
h5: [],
|
|
214
|
+
h6: [],
|
|
215
|
+
header: [],
|
|
216
|
+
hr: [],
|
|
217
|
+
i: [],
|
|
218
|
+
img: ["src", "alt", "title", "width", "height"],
|
|
219
|
+
ins: ["datetime"],
|
|
220
|
+
li: [],
|
|
221
|
+
mark: [],
|
|
222
|
+
nav: [],
|
|
223
|
+
ol: [],
|
|
224
|
+
p: [],
|
|
225
|
+
pre: [],
|
|
226
|
+
s: [],
|
|
227
|
+
section: [],
|
|
228
|
+
small: [],
|
|
229
|
+
span: [],
|
|
230
|
+
sub: [],
|
|
231
|
+
summary: [],
|
|
232
|
+
sup: [],
|
|
233
|
+
strong: [],
|
|
234
|
+
strike: [],
|
|
235
|
+
table: ["width", "border", "align", "valign"],
|
|
236
|
+
tbody: ["align", "valign"],
|
|
237
|
+
td: ["width", "rowspan", "colspan", "align", "valign"],
|
|
238
|
+
tfoot: ["align", "valign"],
|
|
239
|
+
th: ["width", "rowspan", "colspan", "align", "valign"],
|
|
240
|
+
thead: ["align", "valign"],
|
|
241
|
+
tr: ["rowspan", "align", "valign"],
|
|
242
|
+
tt: [],
|
|
243
|
+
u: [],
|
|
244
|
+
ul: [],
|
|
245
|
+
video: [
|
|
246
|
+
"autoplay",
|
|
247
|
+
"controls",
|
|
248
|
+
"crossorigin",
|
|
249
|
+
"loop",
|
|
250
|
+
"muted",
|
|
251
|
+
"playsinline",
|
|
252
|
+
"poster",
|
|
253
|
+
"preload",
|
|
254
|
+
"src",
|
|
255
|
+
"height",
|
|
256
|
+
"width"
|
|
257
|
+
]
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
var i = new r();
|
|
261
|
+
function t(b, A, v) {
|
|
262
|
+
}
|
|
263
|
+
function a(b, A, v) {
|
|
264
|
+
}
|
|
265
|
+
function s(b, A, v) {
|
|
266
|
+
}
|
|
267
|
+
function c(b, A, v) {
|
|
268
|
+
}
|
|
269
|
+
function f(b) {
|
|
270
|
+
return b.replace(l, "<").replace(p, ">");
|
|
271
|
+
}
|
|
272
|
+
function d(b, A, v, E) {
|
|
273
|
+
if (v = F(v), A === "href" || A === "src") {
|
|
274
|
+
if (v = n.trim(v), v === "#") return "#";
|
|
275
|
+
if (!(v.substr(0, 7) === "http://" || v.substr(0, 8) === "https://" || v.substr(0, 7) === "mailto:" || v.substr(0, 4) === "tel:" || v.substr(0, 11) === "data:image/" || v.substr(0, 6) === "ftp://" || v.substr(0, 2) === "./" || v.substr(0, 3) === "../" || v[0] === "#" || v[0] === "/"))
|
|
276
|
+
return "";
|
|
277
|
+
} else if (A === "background") {
|
|
278
|
+
if (y.lastIndex = 0, y.test(v))
|
|
279
|
+
return "";
|
|
280
|
+
} else if (A === "style") {
|
|
281
|
+
if (g.lastIndex = 0, g.test(v) || (k.lastIndex = 0, k.test(v) && (y.lastIndex = 0, y.test(v))))
|
|
282
|
+
return "";
|
|
283
|
+
E !== !1 && (E = E || i, v = E.process(v));
|
|
284
|
+
}
|
|
285
|
+
return v = D(v), v;
|
|
286
|
+
}
|
|
287
|
+
var l = /</g, p = />/g, u = /"/g, m = /"/g, w = /&#([a-zA-Z0-9]*);?/gim, h = /:?/gim, x = /&newline;?/gim, y = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, g = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, k = /u\s*r\s*l\s*\(.*/gi;
|
|
288
|
+
function _(b) {
|
|
289
|
+
return b.replace(u, """);
|
|
290
|
+
}
|
|
291
|
+
function T(b) {
|
|
292
|
+
return b.replace(m, '"');
|
|
293
|
+
}
|
|
294
|
+
function C(b) {
|
|
295
|
+
return b.replace(w, function(A, v) {
|
|
296
|
+
return v[0] === "x" || v[0] === "X" ? String.fromCharCode(parseInt(v.substr(1), 16)) : String.fromCharCode(parseInt(v, 10));
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
function O(b) {
|
|
300
|
+
return b.replace(h, ":").replace(x, " ");
|
|
301
|
+
}
|
|
302
|
+
function I(b) {
|
|
303
|
+
for (var A = "", v = 0, E = b.length; v < E; v++)
|
|
304
|
+
A += b.charCodeAt(v) < 32 ? " " : b.charAt(v);
|
|
305
|
+
return n.trim(A);
|
|
306
|
+
}
|
|
307
|
+
function F(b) {
|
|
308
|
+
return b = T(b), b = C(b), b = O(b), b = I(b), b;
|
|
309
|
+
}
|
|
310
|
+
function D(b) {
|
|
311
|
+
return b = _(b), b = f(b), b;
|
|
312
|
+
}
|
|
313
|
+
function $() {
|
|
314
|
+
return "";
|
|
315
|
+
}
|
|
316
|
+
function B(b, A) {
|
|
317
|
+
typeof A != "function" && (A = function() {
|
|
318
|
+
});
|
|
319
|
+
var v = !Array.isArray(b);
|
|
320
|
+
function E(Q) {
|
|
321
|
+
return v ? !0 : n.indexOf(b, Q) !== -1;
|
|
322
|
+
}
|
|
323
|
+
var q = [], j = !1;
|
|
324
|
+
return {
|
|
325
|
+
onIgnoreTag: function(Q, se, H) {
|
|
326
|
+
if (E(Q))
|
|
327
|
+
if (H.isClosing) {
|
|
328
|
+
var le = "[/removed]", Dr = H.position + le.length;
|
|
329
|
+
return q.push([
|
|
330
|
+
j !== !1 ? j : H.position,
|
|
331
|
+
Dr
|
|
332
|
+
]), j = !1, le;
|
|
333
|
+
} else
|
|
334
|
+
return j || (j = H.position), "[removed]";
|
|
335
|
+
else
|
|
336
|
+
return A(Q, se, H);
|
|
337
|
+
},
|
|
338
|
+
remove: function(Q) {
|
|
339
|
+
var se = "", H = 0;
|
|
340
|
+
return n.forEach(q, function(le) {
|
|
341
|
+
se += Q.slice(H, le[0]), H = le[1];
|
|
342
|
+
}), se += Q.slice(H), se;
|
|
343
|
+
}
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
function K(b) {
|
|
347
|
+
for (var A = "", v = 0; v < b.length; ) {
|
|
348
|
+
var E = b.indexOf("<!--", v);
|
|
349
|
+
if (E === -1) {
|
|
350
|
+
A += b.slice(v);
|
|
351
|
+
break;
|
|
352
|
+
}
|
|
353
|
+
A += b.slice(v, E);
|
|
354
|
+
var q = b.indexOf("-->", E);
|
|
355
|
+
if (q === -1)
|
|
356
|
+
break;
|
|
357
|
+
v = q + 3;
|
|
358
|
+
}
|
|
359
|
+
return A;
|
|
360
|
+
}
|
|
361
|
+
function he(b) {
|
|
362
|
+
var A = b.split("");
|
|
363
|
+
return A = A.filter(function(v) {
|
|
364
|
+
var E = v.charCodeAt(0);
|
|
365
|
+
return E === 127 ? !1 : E <= 31 ? E === 10 || E === 13 : !0;
|
|
366
|
+
}), A.join("");
|
|
367
|
+
}
|
|
368
|
+
return M.whiteList = o(), M.getDefaultWhiteList = o, M.onTag = t, M.onIgnoreTag = a, M.onTagAttr = s, M.onIgnoreTagAttr = c, M.safeAttrValue = d, M.escapeHtml = f, M.escapeQuote = _, M.unescapeQuote = T, M.escapeHtmlEntities = C, M.escapeDangerHtml5Entities = O, M.clearNonPrintableCharacter = I, M.friendlyAttrValue = F, M.escapeAttrValue = D, M.onIgnoreTagStripAll = $, M.StripTagBody = B, M.stripCommentTag = K, M.stripBlankChar = he, M.cssFilter = i, M.getDefaultCSSWhiteList = e, M;
|
|
369
|
+
}
|
|
370
|
+
var me = {}, vt;
|
|
371
|
+
function jt() {
|
|
372
|
+
if (vt) return me;
|
|
373
|
+
vt = 1;
|
|
374
|
+
var r = Xe();
|
|
375
|
+
function e(l) {
|
|
376
|
+
var p = r.spaceIndex(l), u;
|
|
377
|
+
return p === -1 ? u = l.slice(1, -1) : u = l.slice(1, p + 1), u = r.trim(u).toLowerCase(), u.slice(0, 1) === "/" && (u = u.slice(1)), u.slice(-1) === "/" && (u = u.slice(0, -1)), u;
|
|
378
|
+
}
|
|
379
|
+
function n(l) {
|
|
380
|
+
return l.slice(0, 2) === "</";
|
|
381
|
+
}
|
|
382
|
+
function o(l, p, u) {
|
|
383
|
+
var m = "", w = 0, h = !1, x = !1, y = 0, g = l.length, k = "", _ = "";
|
|
384
|
+
e: for (y = 0; y < g; y++) {
|
|
385
|
+
var T = l.charAt(y);
|
|
386
|
+
if (h === !1) {
|
|
387
|
+
if (T === "<") {
|
|
388
|
+
h = y;
|
|
389
|
+
continue;
|
|
390
|
+
}
|
|
391
|
+
} else if (x === !1) {
|
|
392
|
+
if (T === "<") {
|
|
393
|
+
m += u(l.slice(w, y)), h = y, w = y;
|
|
394
|
+
continue;
|
|
395
|
+
}
|
|
396
|
+
if (T === ">" || y === g - 1) {
|
|
397
|
+
m += u(l.slice(w, h)), _ = l.slice(h, y + 1), k = e(_), m += p(
|
|
398
|
+
h,
|
|
399
|
+
m.length,
|
|
400
|
+
k,
|
|
401
|
+
_,
|
|
402
|
+
n(_)
|
|
403
|
+
), w = y + 1, h = !1;
|
|
404
|
+
continue;
|
|
405
|
+
}
|
|
406
|
+
if (T === '"' || T === "'")
|
|
407
|
+
for (var C = 1, O = l.charAt(y - C); O.trim() === "" || O === "="; ) {
|
|
408
|
+
if (O === "=") {
|
|
409
|
+
x = T;
|
|
410
|
+
continue e;
|
|
411
|
+
}
|
|
412
|
+
O = l.charAt(y - ++C);
|
|
413
|
+
}
|
|
414
|
+
} else if (T === x) {
|
|
415
|
+
x = !1;
|
|
416
|
+
continue;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
return w < g && (m += u(l.substr(w))), m;
|
|
420
|
+
}
|
|
421
|
+
var i = /[^a-zA-Z0-9\\_:.-]/gim;
|
|
422
|
+
function t(l, p) {
|
|
423
|
+
var u = 0, m = 0, w = [], h = !1, x = l.length;
|
|
424
|
+
function y(C, O) {
|
|
425
|
+
if (C = r.trim(C), C = C.replace(i, "").toLowerCase(), !(C.length < 1)) {
|
|
426
|
+
var I = p(C, O || "");
|
|
427
|
+
I && w.push(I);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
for (var g = 0; g < x; g++) {
|
|
431
|
+
var k = l.charAt(g), _, T;
|
|
432
|
+
if (h === !1 && k === "=") {
|
|
433
|
+
h = l.slice(u, g), u = g + 1, m = l.charAt(u) === '"' || l.charAt(u) === "'" ? u : s(l, g + 1);
|
|
434
|
+
continue;
|
|
435
|
+
}
|
|
436
|
+
if (h !== !1 && g === m) {
|
|
437
|
+
if (T = l.indexOf(k, g + 1), T === -1)
|
|
438
|
+
break;
|
|
439
|
+
_ = r.trim(l.slice(m + 1, T)), y(h, _), h = !1, g = T, u = g + 1;
|
|
440
|
+
continue;
|
|
441
|
+
}
|
|
442
|
+
if (/\s|\n|\t/.test(k))
|
|
443
|
+
if (l = l.replace(/\s|\n|\t/g, " "), h === !1)
|
|
444
|
+
if (T = a(l, g), T === -1) {
|
|
445
|
+
_ = r.trim(l.slice(u, g)), y(_), h = !1, u = g + 1;
|
|
446
|
+
continue;
|
|
447
|
+
} else {
|
|
448
|
+
g = T - 1;
|
|
449
|
+
continue;
|
|
450
|
+
}
|
|
451
|
+
else if (T = c(l, g - 1), T === -1) {
|
|
452
|
+
_ = r.trim(l.slice(u, g)), _ = d(_), y(h, _), h = !1, u = g + 1;
|
|
453
|
+
continue;
|
|
454
|
+
} else
|
|
455
|
+
continue;
|
|
456
|
+
}
|
|
457
|
+
return u < l.length && (h === !1 ? y(l.slice(u)) : y(h, d(r.trim(l.slice(u))))), r.trim(w.join(" "));
|
|
458
|
+
}
|
|
459
|
+
function a(l, p) {
|
|
460
|
+
for (; p < l.length; p++) {
|
|
461
|
+
var u = l[p];
|
|
462
|
+
if (u !== " ")
|
|
463
|
+
return u === "=" ? p : -1;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
function s(l, p) {
|
|
467
|
+
for (; p < l.length; p++) {
|
|
468
|
+
var u = l[p];
|
|
469
|
+
if (u !== " ")
|
|
470
|
+
return u === "'" || u === '"' ? p : -1;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
function c(l, p) {
|
|
474
|
+
for (; p > 0; p--) {
|
|
475
|
+
var u = l[p];
|
|
476
|
+
if (u !== " ")
|
|
477
|
+
return u === "=" ? p : -1;
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
function f(l) {
|
|
481
|
+
return l[0] === '"' && l[l.length - 1] === '"' || l[0] === "'" && l[l.length - 1] === "'";
|
|
482
|
+
}
|
|
483
|
+
function d(l) {
|
|
484
|
+
return f(l) ? l.substr(1, l.length - 2) : l;
|
|
485
|
+
}
|
|
486
|
+
return me.parseTag = o, me.parseAttr = t, me;
|
|
487
|
+
}
|
|
488
|
+
var ze, yt;
|
|
489
|
+
function Br() {
|
|
490
|
+
if (yt) return ze;
|
|
491
|
+
yt = 1;
|
|
492
|
+
var r = $e().FilterCSS, e = Nt(), n = jt(), o = n.parseTag, i = n.parseAttr, t = Xe();
|
|
493
|
+
function a(l) {
|
|
494
|
+
return l == null;
|
|
495
|
+
}
|
|
496
|
+
function s(l) {
|
|
497
|
+
var p = t.spaceIndex(l);
|
|
498
|
+
if (p === -1)
|
|
499
|
+
return {
|
|
500
|
+
html: "",
|
|
501
|
+
closing: l[l.length - 2] === "/"
|
|
502
|
+
};
|
|
503
|
+
l = t.trim(l.slice(p + 1, -1));
|
|
504
|
+
var u = l[l.length - 1] === "/";
|
|
505
|
+
return u && (l = t.trim(l.slice(0, -1))), {
|
|
506
|
+
html: l,
|
|
507
|
+
closing: u
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
function c(l) {
|
|
511
|
+
var p = {};
|
|
512
|
+
for (var u in l)
|
|
513
|
+
p[u] = l[u];
|
|
514
|
+
return p;
|
|
515
|
+
}
|
|
516
|
+
function f(l) {
|
|
517
|
+
var p = {};
|
|
518
|
+
for (var u in l)
|
|
519
|
+
Array.isArray(l[u]) ? p[u.toLowerCase()] = l[u].map(function(m) {
|
|
520
|
+
return m.toLowerCase();
|
|
521
|
+
}) : p[u.toLowerCase()] = l[u];
|
|
522
|
+
return p;
|
|
523
|
+
}
|
|
524
|
+
function d(l) {
|
|
525
|
+
l = c(l || {}), l.stripIgnoreTag && (l.onIgnoreTag && console.error(
|
|
526
|
+
'Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'
|
|
527
|
+
), l.onIgnoreTag = e.onIgnoreTagStripAll), l.whiteList || l.allowList ? l.whiteList = f(l.whiteList || l.allowList) : l.whiteList = e.whiteList, l.onTag = l.onTag || e.onTag, l.onTagAttr = l.onTagAttr || e.onTagAttr, l.onIgnoreTag = l.onIgnoreTag || e.onIgnoreTag, l.onIgnoreTagAttr = l.onIgnoreTagAttr || e.onIgnoreTagAttr, l.safeAttrValue = l.safeAttrValue || e.safeAttrValue, l.escapeHtml = l.escapeHtml || e.escapeHtml, this.options = l, l.css === !1 ? this.cssFilter = !1 : (l.css = l.css || {}, this.cssFilter = new r(l.css));
|
|
528
|
+
}
|
|
529
|
+
return d.prototype.process = function(l) {
|
|
530
|
+
if (l = l || "", l = l.toString(), !l) return "";
|
|
531
|
+
var p = this, u = p.options, m = u.whiteList, w = u.onTag, h = u.onIgnoreTag, x = u.onTagAttr, y = u.onIgnoreTagAttr, g = u.safeAttrValue, k = u.escapeHtml, _ = p.cssFilter;
|
|
532
|
+
u.stripBlankChar && (l = e.stripBlankChar(l)), u.allowCommentTag || (l = e.stripCommentTag(l));
|
|
533
|
+
var T = !1;
|
|
534
|
+
u.stripIgnoreTagBody && (T = e.StripTagBody(
|
|
535
|
+
u.stripIgnoreTagBody,
|
|
536
|
+
h
|
|
537
|
+
), h = T.onIgnoreTag);
|
|
538
|
+
var C = o(
|
|
539
|
+
l,
|
|
540
|
+
function(O, I, F, D, $) {
|
|
541
|
+
var B = {
|
|
542
|
+
sourcePosition: O,
|
|
543
|
+
position: I,
|
|
544
|
+
isClosing: $,
|
|
545
|
+
isWhite: Object.prototype.hasOwnProperty.call(m, F)
|
|
546
|
+
}, K = w(F, D, B);
|
|
547
|
+
if (!a(K)) return K;
|
|
548
|
+
if (B.isWhite) {
|
|
549
|
+
if (B.isClosing)
|
|
550
|
+
return "</" + F + ">";
|
|
551
|
+
var he = s(D), b = m[F], A = i(he.html, function(v, E) {
|
|
552
|
+
var q = t.indexOf(b, v) !== -1, j = x(F, v, E, q);
|
|
553
|
+
return a(j) ? q ? (E = g(F, v, E, _), E ? v + '="' + E + '"' : v) : (j = y(F, v, E, q), a(j) ? void 0 : j) : j;
|
|
554
|
+
});
|
|
555
|
+
return D = "<" + F, A && (D += " " + A), he.closing && (D += " /"), D += ">", D;
|
|
556
|
+
} else
|
|
557
|
+
return K = h(F, D, B), a(K) ? k(D) : K;
|
|
558
|
+
},
|
|
559
|
+
k
|
|
560
|
+
);
|
|
561
|
+
return T && (C = T.remove(C)), C;
|
|
562
|
+
}, ze = d, ze;
|
|
563
|
+
}
|
|
564
|
+
var bt;
|
|
565
|
+
function Ur() {
|
|
566
|
+
return bt || (bt = 1, function(r, e) {
|
|
567
|
+
var n = Nt(), o = jt(), i = Br();
|
|
568
|
+
function t(s, c) {
|
|
569
|
+
var f = new i(c);
|
|
570
|
+
return f.process(s);
|
|
571
|
+
}
|
|
572
|
+
e = r.exports = t, e.filterXSS = t, e.FilterXSS = i, function() {
|
|
573
|
+
for (var s in n)
|
|
574
|
+
e[s] = n[s];
|
|
575
|
+
for (var c in o)
|
|
576
|
+
e[c] = o[c];
|
|
577
|
+
}(), typeof window < "u" && (window.filterXSS = r.exports);
|
|
578
|
+
function a() {
|
|
579
|
+
return typeof self < "u" && typeof DedicatedWorkerGlobalScope < "u" && self instanceof DedicatedWorkerGlobalScope;
|
|
580
|
+
}
|
|
581
|
+
a() && (self.filterXSS = r.exports);
|
|
582
|
+
}(Ie, Ie.exports)), Ie.exports;
|
|
583
|
+
}
|
|
584
|
+
var xe = Ur();
|
|
585
|
+
let N = {
|
|
586
|
+
enableAttrs: !0,
|
|
587
|
+
enableHtml: !0,
|
|
588
|
+
enableUrl: !0,
|
|
589
|
+
html: {
|
|
590
|
+
whiteList: {
|
|
591
|
+
a: ["class", "style", "contenteditable", "data-id", "data-title", "data-size", "href", "data-last-modified"],
|
|
592
|
+
address: ["class", "style"],
|
|
593
|
+
area: ["class", "style"],
|
|
594
|
+
article: ["class", "style"],
|
|
595
|
+
aside: ["class", "style"],
|
|
596
|
+
audio: ["class", "style"],
|
|
597
|
+
b: ["class", "style"],
|
|
598
|
+
bdi: ["class", "style"],
|
|
599
|
+
bdo: ["class", "style"],
|
|
600
|
+
big: ["class", "style"],
|
|
601
|
+
blockquote: ["class", "style"],
|
|
602
|
+
br: ["class", "style"],
|
|
603
|
+
caption: ["class", "style"],
|
|
604
|
+
center: ["class", "style"],
|
|
605
|
+
cite: ["class", "style"],
|
|
606
|
+
code: ["class", "style"],
|
|
607
|
+
col: ["class", "style"],
|
|
608
|
+
colgroup: ["class", "style"],
|
|
609
|
+
dd: ["class", "style"],
|
|
610
|
+
del: ["class", "style"],
|
|
611
|
+
details: ["class", "style"],
|
|
612
|
+
div: [
|
|
613
|
+
"class",
|
|
614
|
+
"style",
|
|
615
|
+
"spellcheck",
|
|
616
|
+
"data-gramm",
|
|
617
|
+
"spellcheck",
|
|
618
|
+
"data-mode",
|
|
619
|
+
"data-position",
|
|
620
|
+
"data-row",
|
|
621
|
+
"data-cell",
|
|
622
|
+
"data-rowspan",
|
|
623
|
+
"data-colspan",
|
|
624
|
+
"data-cell-bg",
|
|
625
|
+
"data-parent-bg"
|
|
626
|
+
],
|
|
627
|
+
dl: ["class", "style"],
|
|
628
|
+
dt: ["class", "style"],
|
|
629
|
+
em: ["class", "style"],
|
|
630
|
+
figcaption: ["class", "style"],
|
|
631
|
+
figure: ["class", "style"],
|
|
632
|
+
font: ["class", "style"],
|
|
633
|
+
footer: ["class", "style"],
|
|
634
|
+
h1: ["class", "style"],
|
|
635
|
+
h2: ["class", "style"],
|
|
636
|
+
h3: ["class", "style"],
|
|
637
|
+
h4: ["class", "style"],
|
|
638
|
+
h5: ["class", "style"],
|
|
639
|
+
h6: ["class", "style"],
|
|
640
|
+
header: ["class", "style"],
|
|
641
|
+
hr: ["class", "style"],
|
|
642
|
+
i: ["class", "style", "data-image-id", "data-image"],
|
|
643
|
+
img: ["class", "style", "data-image-id", "src"],
|
|
644
|
+
input: ["class", "style", "data-formula", "data-link", "data-video"],
|
|
645
|
+
ins: ["class", "style"],
|
|
646
|
+
li: ["class", "style"],
|
|
647
|
+
mark: ["class", "style"],
|
|
648
|
+
nav: ["class", "style"],
|
|
649
|
+
ol: ["class", "style"],
|
|
650
|
+
p: ["class", "style"],
|
|
651
|
+
pre: ["class", "style"],
|
|
652
|
+
s: ["class", "style"],
|
|
653
|
+
section: ["class", "style"],
|
|
654
|
+
small: ["class", "style"],
|
|
655
|
+
span: ["class", "style", "contenteditable", "color", "style"],
|
|
656
|
+
sub: ["class", "style"],
|
|
657
|
+
summary: ["class", "style"],
|
|
658
|
+
sup: ["class", "style"],
|
|
659
|
+
strong: ["class", "style"],
|
|
660
|
+
strike: ["class", "style"],
|
|
661
|
+
svg: ["class", "style", "t", "viewBox", "viewbox", "version", "xmlns", "p-id", "xmlns:xlink"],
|
|
662
|
+
path: ["d", "p-id"],
|
|
663
|
+
table: ["class", "style"],
|
|
664
|
+
tbody: ["class", "style"],
|
|
665
|
+
td: ["class", "style", "data-row", "data-cell", "data-cell-bg", "data-parent-bg"],
|
|
666
|
+
tfoot: ["class", "style"],
|
|
667
|
+
th: ["class", "style"],
|
|
668
|
+
thead: ["class", "style"],
|
|
669
|
+
tr: ["class", "style", "data-row"],
|
|
670
|
+
tt: ["class", "style"],
|
|
671
|
+
u: ["class", "style"],
|
|
672
|
+
ul: ["class", "style"],
|
|
673
|
+
video: ["class", "style"]
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
};
|
|
677
|
+
const $r = xe.getDefaultWhiteList && xe.getDefaultWhiteList() || {};
|
|
678
|
+
N.html.whiteList = Object.assign($r, N.html.whiteList);
|
|
679
|
+
let Bt = new xe.FilterXSS(N.html);
|
|
680
|
+
const qr = () => N, Hr = (r) => {
|
|
681
|
+
var e;
|
|
682
|
+
let n;
|
|
683
|
+
(e = r == null ? void 0 : r.html) != null && e.whiteList && (n = Object.assign(N.html.whiteList, r.html.whiteList)), N = Object.assign(N, r), n && (N.html.whiteList = n), Bt = new xe.FilterXSS(N.html);
|
|
684
|
+
};
|
|
685
|
+
let Ut = (r) => !N.enableHtml || typeof r != "string" ? r : Bt.process(r);
|
|
686
|
+
const Vr = (r) => {
|
|
687
|
+
Ut = r;
|
|
688
|
+
};
|
|
689
|
+
let $t = (r) => !N.enableAttrs || typeof r != "string" ? r : r.replace(/<.*?>/gi, "").replace(/on[a-z]+=/gi, "");
|
|
690
|
+
const Wr = (r) => {
|
|
691
|
+
$t = r;
|
|
692
|
+
};
|
|
693
|
+
let qt = (r) => {
|
|
694
|
+
if (!N.enableUrl || typeof r != "string")
|
|
695
|
+
return r;
|
|
696
|
+
const e = r.replace(/&#(\w+)(^\w|;)?/g, (o, i) => String.fromCharCode(i)).replace(/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim, "").trim();
|
|
697
|
+
if (!e)
|
|
698
|
+
return "";
|
|
699
|
+
if ([".", "/"].includes(e[0]))
|
|
700
|
+
return e;
|
|
701
|
+
const n = e.match(/^([^:]+):/gm);
|
|
702
|
+
return n && /^([^\w]*)(javascript|data|vbscript)/im.test(n[0]) ? "" : e;
|
|
703
|
+
};
|
|
704
|
+
const Gr = (r) => {
|
|
705
|
+
qt = r;
|
|
706
|
+
}, ci = {
|
|
707
|
+
getXssOption: qr,
|
|
708
|
+
setXssOption: Hr,
|
|
709
|
+
filterHtml: Ut,
|
|
710
|
+
setFilterHtml: Vr,
|
|
711
|
+
filterAttrs: $t,
|
|
712
|
+
setFilterAttrs: Wr,
|
|
713
|
+
filterUrl: qt,
|
|
714
|
+
setFilterUrl: Gr
|
|
715
|
+
}, Ht = Object.prototype.toString, et = Object.prototype.hasOwnProperty, Yr = Object.getPrototypeOf, Vt = et.toString, Jr = Vt.call(Object), Kr = {
|
|
716
|
+
"[object Error]": "error",
|
|
717
|
+
"[object Object]": "object",
|
|
718
|
+
"[object RegExp]": "regExp",
|
|
719
|
+
"[object Date]": "date",
|
|
720
|
+
"[object Array]": "array",
|
|
721
|
+
"[object Function]": "function",
|
|
722
|
+
"[object AsyncFunction]": "asyncFunction",
|
|
723
|
+
"[object String]": "string",
|
|
724
|
+
"[object Number]": "number",
|
|
725
|
+
"[object Boolean]": "boolean"
|
|
726
|
+
}, Wt = (r) => r == null, Se = (r) => Wt(r) ? String(r) : Kr[Ht.call(r)] || "object", wt = (r) => Se(r) === "object", oe = (r) => {
|
|
727
|
+
if (!r || Ht.call(r) !== "[object Object]")
|
|
728
|
+
return !1;
|
|
729
|
+
const e = Yr(r);
|
|
730
|
+
if (!e)
|
|
731
|
+
return !0;
|
|
732
|
+
const n = et.call(e, "constructor") && e.constructor;
|
|
733
|
+
return typeof n == "function" && Vt.call(n) === Jr;
|
|
734
|
+
}, P = typeof window > "u", Qr = () => {
|
|
735
|
+
let r = 8;
|
|
736
|
+
return document.addEventListener && window.performance && (r = 9, window.atob && window.matchMedia && (r = 10, !window.attachEvent && !document.all && (r = 11))), r;
|
|
737
|
+
}, Zr = (r) => {
|
|
738
|
+
r.chrome && ~navigator.userAgent.indexOf("Edg") ? (r.name = "edge", r.edge = !0, delete r.chrome) : !document.documentMode && window.StyleMedia && (r.name = "edge", r.edge = !0);
|
|
739
|
+
};
|
|
740
|
+
(() => {
|
|
741
|
+
if (P) return null;
|
|
742
|
+
const r = {
|
|
743
|
+
name: "",
|
|
744
|
+
version: 0,
|
|
745
|
+
isDoc: typeof document < "u",
|
|
746
|
+
isMobile: !1,
|
|
747
|
+
isPC: !0,
|
|
748
|
+
isNode: P,
|
|
749
|
+
chrome: !1,
|
|
750
|
+
ie: !1,
|
|
751
|
+
firefox: !1,
|
|
752
|
+
safari: !1,
|
|
753
|
+
opera: !1,
|
|
754
|
+
edge: !1
|
|
755
|
+
}, e = /(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent);
|
|
756
|
+
r.isMobile = e, r.isPC = !e;
|
|
757
|
+
let n;
|
|
758
|
+
if (window.chrome && (window.chrome.webstore || /^Google\b/.test(window.navigator.vendor)) ? (r.name = "chrome", r.chrome = !0, n = navigator.userAgent.match(/chrome\/(\d+)/i), r.version = !!n && !!n[1] && parseInt(n[1], 10), n = void 0) : document.all || document.documentMode ? (r.name = "ie", r.version = Qr(), r.ie = !0) : typeof window.InstallTrigger < "u" ? (r.name = "firefox", r.firefox = !0) : Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor") > 0 ? (r.name = "safari", r.safari = !0) : (window.opr && window.opr.addons || window.opera) && (r.name = "opera", r.opera = !0), Zr(r), !~["ie", "chrome"].indexOf(r.name)) {
|
|
759
|
+
const o = r.name + "/(\\d+)";
|
|
760
|
+
n = navigator.userAgent.match(new RegExp(o, "i")), r.version = !!n && !!n[1] && parseInt(n[1], 10), n = void 0;
|
|
761
|
+
}
|
|
762
|
+
if (r.isDoc) {
|
|
763
|
+
const o = document.body || document.documentElement;
|
|
764
|
+
["webkit", "khtml", "moz", "ms", "o"].forEach((i) => {
|
|
765
|
+
r["-" + i] = !!o[i + "MatchesSelector"];
|
|
766
|
+
});
|
|
767
|
+
}
|
|
768
|
+
return r;
|
|
769
|
+
})();
|
|
770
|
+
const U = (r, e, n, o = !1) => {
|
|
771
|
+
r && e && n && r.addEventListener(e, n, o);
|
|
772
|
+
}, X = (r, e, n, o = !1) => {
|
|
773
|
+
r && e && r.removeEventListener(e, n, o);
|
|
774
|
+
}, ge = (r, e = "") => {
|
|
775
|
+
r && e.split(" ").filter((n) => n).forEach((n) => r.classList.add(n));
|
|
776
|
+
}, ve = (r, e) => {
|
|
777
|
+
!r || !e || e.split(" ").filter((n) => n).forEach((n) => r.classList.remove(n));
|
|
778
|
+
}, ui = () => {
|
|
779
|
+
const r = window;
|
|
780
|
+
let e = r.document.documentElement, n = r.document.body;
|
|
781
|
+
return {
|
|
782
|
+
scrollTop: e.scrollTop || n.scrollTop,
|
|
783
|
+
scrollLeft: e.scrollLeft || n.scrollLeft,
|
|
784
|
+
visibleHeight: e.clientHeight || n.clientHeight,
|
|
785
|
+
visibleWidth: e.clientWidth || n.clientWidth
|
|
786
|
+
};
|
|
787
|
+
}, Gt = (r) => {
|
|
788
|
+
if (P) return !1;
|
|
789
|
+
if (r) {
|
|
790
|
+
const e = getComputedStyle(r);
|
|
791
|
+
if (e.getPropertyValue("position") === "fixed") {
|
|
792
|
+
if (e.getPropertyValue("display") === "none")
|
|
793
|
+
return !0;
|
|
794
|
+
if (r.parentNode !== document.body)
|
|
795
|
+
return Gt(r.parentNode);
|
|
796
|
+
} else
|
|
797
|
+
return r.offsetParent === null;
|
|
798
|
+
}
|
|
799
|
+
return !1;
|
|
800
|
+
}, Yt = function() {
|
|
801
|
+
if (typeof Map < "u")
|
|
802
|
+
return Map;
|
|
803
|
+
const r = (e, n) => {
|
|
804
|
+
let o = -1;
|
|
805
|
+
return e.some((i, t) => i[0] === n ? (o = t, !0) : !1), o;
|
|
806
|
+
};
|
|
807
|
+
return function() {
|
|
808
|
+
function e() {
|
|
809
|
+
this.__entries__ = [];
|
|
810
|
+
}
|
|
811
|
+
return Object.defineProperty(e.prototype, "size", {
|
|
812
|
+
get() {
|
|
813
|
+
return this.__entries__.length;
|
|
814
|
+
},
|
|
815
|
+
enumerable: !0,
|
|
816
|
+
configurable: !0
|
|
817
|
+
}), e.prototype.get = function(n) {
|
|
818
|
+
const o = r(this.__entries__, n), i = this.__entries__[o];
|
|
819
|
+
return i && i[1];
|
|
820
|
+
}, e.prototype.set = function(n, o) {
|
|
821
|
+
const i = r(this.__entries__, n);
|
|
822
|
+
~i ? this.__entries__[i][1] = o : this.__entries__.push([n, o]);
|
|
823
|
+
}, e.prototype.delete = function(n) {
|
|
824
|
+
const o = this.__entries__, i = r(o, n);
|
|
825
|
+
~i && o.splice(i, 1);
|
|
826
|
+
}, e.prototype.clear = function() {
|
|
827
|
+
this.__entries__.splice(0);
|
|
828
|
+
}, e.prototype.has = function(n) {
|
|
829
|
+
return !!~r(this.__entries__, n);
|
|
830
|
+
}, e.prototype.forEach = function(n, o) {
|
|
831
|
+
o === void 0 && (o = null);
|
|
832
|
+
for (let i = 0, t = this.__entries__; i < t.length; i++) {
|
|
833
|
+
const a = t[i];
|
|
834
|
+
n.call(o, a[1], a[0]);
|
|
835
|
+
}
|
|
836
|
+
}, e;
|
|
837
|
+
}();
|
|
838
|
+
}(), Xr = globalThis.Function, Ce = function() {
|
|
839
|
+
const r = (e) => e.Math === Math;
|
|
840
|
+
return typeof global < "u" && r(global) ? global : typeof self < "u" && r(self) ? self : typeof window < "u" && r(window) ? window : Xr("return this")();
|
|
841
|
+
}(), en = function() {
|
|
842
|
+
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Ce) : function(r) {
|
|
843
|
+
return setTimeout(() => r(Date.now()), 1e3 / 60);
|
|
844
|
+
};
|
|
845
|
+
}();
|
|
846
|
+
let tn = 2;
|
|
847
|
+
function rn(r, e) {
|
|
848
|
+
let n = !1, o = !1, i = 0, t;
|
|
849
|
+
const a = () => {
|
|
850
|
+
n && (n = !1, r()), o && t();
|
|
851
|
+
}, s = () => {
|
|
852
|
+
en(a);
|
|
853
|
+
};
|
|
854
|
+
return t = () => {
|
|
855
|
+
const c = Date.now();
|
|
856
|
+
if (n) {
|
|
857
|
+
if (c - i < tn)
|
|
858
|
+
return;
|
|
859
|
+
o = !0;
|
|
860
|
+
} else
|
|
861
|
+
n = !0, o = !1, setTimeout(s, e);
|
|
862
|
+
i = c;
|
|
863
|
+
}, t;
|
|
864
|
+
}
|
|
865
|
+
const nn = 20, on = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], an = typeof MutationObserver < "u", sn = function() {
|
|
866
|
+
function r() {
|
|
867
|
+
this.observers_ = [], this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = rn(this.refresh.bind(this), nn);
|
|
868
|
+
}
|
|
869
|
+
return r.prototype.addObserver = function(e) {
|
|
870
|
+
!~this.observers_.indexOf(e) && this.observers_.push(e), !this.connected_ && this.connect_();
|
|
871
|
+
}, r.prototype.removeObserver = function(e) {
|
|
872
|
+
const n = this.observers_, o = n.indexOf(e);
|
|
873
|
+
~o && n.splice(o, 1), !n.length && this.connected_ && this.disconnect_();
|
|
874
|
+
}, r.prototype.refresh = function() {
|
|
875
|
+
this.updateObservers_() && this.refresh();
|
|
876
|
+
}, r.prototype.updateObservers_ = function() {
|
|
877
|
+
const e = this.observers_.filter((n) => (n.gatherActive(), n.hasActive()));
|
|
878
|
+
return e.forEach((n) => n.broadcastActive()), e.length > 0;
|
|
879
|
+
}, r.prototype.connect_ = function() {
|
|
880
|
+
if (!(P || this.connected_)) {
|
|
881
|
+
if (U(document, "transitionend", this.onTransitionEnd_), U(window, "resize", this.refresh), an) {
|
|
882
|
+
this.mutationsObserver_ = new MutationObserver(this.refresh);
|
|
883
|
+
const e = {
|
|
884
|
+
attributes: !0,
|
|
885
|
+
childList: !0,
|
|
886
|
+
characterData: !0,
|
|
887
|
+
subtree: !0
|
|
888
|
+
};
|
|
889
|
+
this.mutationsObserver_.observe(document, e);
|
|
890
|
+
} else
|
|
891
|
+
U(document, "DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0;
|
|
892
|
+
this.connected_ = !0;
|
|
893
|
+
}
|
|
894
|
+
}, r.prototype.disconnect_ = function() {
|
|
895
|
+
P || !this.connected_ || (X(document, "transitionend", this.onTransitionEnd_), X(window, "resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && X(document, "DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
896
|
+
}, r.prototype.onTransitionEnd_ = function(e) {
|
|
897
|
+
const n = e.propertyName, o = n === void 0 ? "" : n;
|
|
898
|
+
on.some((i) => !!~o.indexOf(i)) && this.refresh();
|
|
899
|
+
}, r.getInstance = function() {
|
|
900
|
+
return this._instance || (this._instance = new r()), this._instance;
|
|
901
|
+
}, r._instance = null, r;
|
|
902
|
+
}(), Jt = function(r, e) {
|
|
903
|
+
for (let n = 0, o = Object.keys(e); n < o.length; n++) {
|
|
904
|
+
const i = o[n];
|
|
905
|
+
Object.defineProperty(r, i, {
|
|
906
|
+
value: e[i],
|
|
907
|
+
configurable: !0,
|
|
908
|
+
writable: !1,
|
|
909
|
+
enumerable: !1
|
|
910
|
+
});
|
|
911
|
+
}
|
|
912
|
+
return r;
|
|
913
|
+
}, Ae = function(r, e, n, o) {
|
|
914
|
+
return { x: r, y: e, width: n, height: o };
|
|
915
|
+
}, ie = function(r) {
|
|
916
|
+
return r && r.ownerDocument && r.ownerDocument.defaultView || Ce;
|
|
917
|
+
}, Kt = Ae(0, 0, 0, 0), ke = (r) => parseFloat(r) || 0, Tt = function(r) {
|
|
918
|
+
let e = [];
|
|
919
|
+
for (let n = 1; n < arguments.length; n++)
|
|
920
|
+
e[n - 1] = arguments[n];
|
|
921
|
+
return e.reduce((n, o) => {
|
|
922
|
+
const i = r[`border-${o}-width`];
|
|
923
|
+
return n + ke(i);
|
|
924
|
+
}, 0);
|
|
925
|
+
}, ln = function(r) {
|
|
926
|
+
const e = ["top", "right", "bottom", "left"];
|
|
927
|
+
let n = {};
|
|
928
|
+
for (let o = 0, i = e; o < i.length; o++) {
|
|
929
|
+
const t = i[o], a = r[`padding-${t}`];
|
|
930
|
+
n[t] = ke(a);
|
|
931
|
+
}
|
|
932
|
+
return n;
|
|
933
|
+
}, cn = function(r) {
|
|
934
|
+
const e = r.getBBox();
|
|
935
|
+
return Ae(0, 0, e.width, e.height);
|
|
936
|
+
}, un = function(r) {
|
|
937
|
+
return r === ie(r).document.documentElement;
|
|
938
|
+
}, dn = function(r) {
|
|
939
|
+
const e = r.clientWidth, n = r.clientHeight;
|
|
940
|
+
if (!n && !e)
|
|
941
|
+
return Kt;
|
|
942
|
+
const o = ie(r).getComputedStyle(r), i = ln(o), t = i.top + i.bottom, a = i.left + i.right;
|
|
943
|
+
let s = ke(o.width), c = ke(o.height);
|
|
944
|
+
if (o.boxSizing === "border-box" && (Math.round(c + t) !== n && (c -= Tt(o, "top", "bottom") + t), Math.round(s + a) !== e && (s -= Tt(o, "left", "right") + a)), !un(r)) {
|
|
945
|
+
const f = Math.round(c + t) - n, d = Math.round(s + a) - e;
|
|
946
|
+
Math.abs(f) !== 1 && (c -= f), Math.abs(d) !== 1 && (s -= d);
|
|
947
|
+
}
|
|
948
|
+
return Ae(i.left, i.top, s, c);
|
|
949
|
+
}, fn = /* @__PURE__ */ function() {
|
|
950
|
+
return typeof SVGGraphicsElement < "u" ? (r) => r instanceof ie(r).SVGGraphicsElement : (r) => r instanceof ie(r).SVGElement && typeof r.getBBox == "function";
|
|
951
|
+
}(), pn = function(r) {
|
|
952
|
+
return P ? Kt : fn(r) ? cn(r) : dn(r);
|
|
953
|
+
}, hn = function(r) {
|
|
954
|
+
const e = r.x, n = r.y, o = r.width, i = r.height, t = Object.create((typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object).prototype);
|
|
955
|
+
return Jt(t, {
|
|
956
|
+
x: e,
|
|
957
|
+
y: n,
|
|
958
|
+
width: o,
|
|
959
|
+
height: i,
|
|
960
|
+
top: n,
|
|
961
|
+
right: e + o,
|
|
962
|
+
bottom: i + n,
|
|
963
|
+
left: e
|
|
964
|
+
}), t;
|
|
965
|
+
}, mn = function() {
|
|
966
|
+
function r(e) {
|
|
967
|
+
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Ae(0, 0, 0, 0), this.target = e;
|
|
968
|
+
}
|
|
969
|
+
return r.prototype.broadcastRect = function() {
|
|
970
|
+
const e = this.contentRect_;
|
|
971
|
+
return this.broadcastWidth = e.width, this.broadcastHeight = e.height, e;
|
|
972
|
+
}, r.prototype.isActive = function() {
|
|
973
|
+
const e = pn(this.target);
|
|
974
|
+
return this.contentRect_ = e, e.width !== this.broadcastWidth || e.height !== this.broadcastHeight;
|
|
975
|
+
}, r;
|
|
976
|
+
}(), gn = /* @__PURE__ */ function() {
|
|
977
|
+
function r(e, n) {
|
|
978
|
+
const o = hn(n);
|
|
979
|
+
Jt(this, { target: e, contentRect: o });
|
|
980
|
+
}
|
|
981
|
+
return r;
|
|
982
|
+
}(), vn = function() {
|
|
983
|
+
function r(e, n, o) {
|
|
984
|
+
if (this.observations_ = new Yt(), this.activeObservations_ = [], typeof e != "function")
|
|
985
|
+
throw new TypeError("[TINY-Resize] The callback provided as parameter 1 is not a function.");
|
|
986
|
+
this.callback_ = e, this.controller_ = n, this.callbackCtx_ = o;
|
|
987
|
+
}
|
|
988
|
+
return r.prototype.observe = function(e) {
|
|
989
|
+
if (!arguments.length)
|
|
990
|
+
throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");
|
|
991
|
+
if (typeof Element > "u" || !(Element instanceof Object))
|
|
992
|
+
return;
|
|
993
|
+
if (!(e instanceof ie(e).Element))
|
|
994
|
+
throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');
|
|
995
|
+
const n = this.observations_;
|
|
996
|
+
n.has(e) || (n.set(e, new mn(e)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
997
|
+
}, r.prototype.unobserve = function(e) {
|
|
998
|
+
if (!arguments.length)
|
|
999
|
+
throw new TypeError("[TINY-Resize]1 argument required, but only 0 present.");
|
|
1000
|
+
if (typeof Element > "u" || !(Element instanceof Object))
|
|
1001
|
+
return;
|
|
1002
|
+
if (!(e instanceof ie(e).Element))
|
|
1003
|
+
throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');
|
|
1004
|
+
const n = this.observations_;
|
|
1005
|
+
n.has(e) && (n.delete(e), !n.size && this.controller_.removeObserver(this));
|
|
1006
|
+
}, r.prototype.gatherActive = function() {
|
|
1007
|
+
const e = this;
|
|
1008
|
+
this.clearActive(), this.observations_.forEach((n) => {
|
|
1009
|
+
n.isActive() && e.activeObservations_.push(n);
|
|
1010
|
+
});
|
|
1011
|
+
}, r.prototype.disconnect = function() {
|
|
1012
|
+
this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
|
|
1013
|
+
}, r.prototype.broadcastActive = function() {
|
|
1014
|
+
if (!this.hasActive())
|
|
1015
|
+
return;
|
|
1016
|
+
const e = this.callbackCtx_, n = this.activeObservations_.map(
|
|
1017
|
+
(o) => new gn(o.target, o.broadcastRect())
|
|
1018
|
+
);
|
|
1019
|
+
this.callback_.call(e, n, e), this.clearActive();
|
|
1020
|
+
}, r.prototype.hasActive = function() {
|
|
1021
|
+
return this.activeObservations_.length > 0;
|
|
1022
|
+
}, r.prototype.clearActive = function() {
|
|
1023
|
+
this.activeObservations_.splice(0);
|
|
1024
|
+
}, r;
|
|
1025
|
+
}(), Qt = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new Yt(), Zt = /* @__PURE__ */ function() {
|
|
1026
|
+
function r(e) {
|
|
1027
|
+
if (!(this instanceof r))
|
|
1028
|
+
throw new TypeError("[TINY-Resize] Cannot call a class as a function.");
|
|
1029
|
+
if (!arguments.length)
|
|
1030
|
+
throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");
|
|
1031
|
+
const n = sn.getInstance(), o = new vn(e, n, this);
|
|
1032
|
+
Qt.set(this, o);
|
|
1033
|
+
}
|
|
1034
|
+
return r;
|
|
1035
|
+
}();
|
|
1036
|
+
["observe", "unobserve", "disconnect"].forEach((r) => {
|
|
1037
|
+
Zt.prototype[r] = function() {
|
|
1038
|
+
let e;
|
|
1039
|
+
return (e = Qt.get(this))[r].apply(e, arguments);
|
|
1040
|
+
};
|
|
1041
|
+
});
|
|
1042
|
+
(function() {
|
|
1043
|
+
return typeof Ce.ResizeObserver < "u" ? Ce.ResizeObserver : Zt;
|
|
1044
|
+
})();
|
|
1045
|
+
const yn = "tcirzywvqlkjhgfbZQG_FLOWHSUBDNIMYREVKCAJxp57XP043891T62-modnaesu";
|
|
1046
|
+
yn.split("").reverse().join("");
|
|
1047
|
+
function bn(r) {
|
|
1048
|
+
return !P && (r.document.all || r.document.documentMode) && !r.crypto && r.msCrypto;
|
|
1049
|
+
}
|
|
1050
|
+
function wn(r) {
|
|
1051
|
+
if (bn(r)) {
|
|
1052
|
+
r.crypto = r.msCrypto;
|
|
1053
|
+
const e = r.crypto.getRandomValues;
|
|
1054
|
+
r.crypto.getRandomValues = function(n) {
|
|
1055
|
+
const o = e.call(r.crypto, n), i = [];
|
|
1056
|
+
for (let t = 0; t < n.length; t++)
|
|
1057
|
+
i[t] = o[t];
|
|
1058
|
+
return i;
|
|
1059
|
+
};
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
const Tn = globalThis;
|
|
1063
|
+
wn(Tn);
|
|
1064
|
+
let Ee;
|
|
1065
|
+
const xn = (r, e, n) => {
|
|
1066
|
+
if (!r || !oe(r) || !e || typeof e != "string")
|
|
1067
|
+
return;
|
|
1068
|
+
const o = e.split(".");
|
|
1069
|
+
let i = r;
|
|
1070
|
+
const t = o.length;
|
|
1071
|
+
if (t > 1) {
|
|
1072
|
+
for (let s = 0; s < t; s++)
|
|
1073
|
+
if (i = i[o[s]], Wt(i))
|
|
1074
|
+
return i;
|
|
1075
|
+
return i;
|
|
1076
|
+
} else
|
|
1077
|
+
return i[o[0]];
|
|
1078
|
+
}, Sn = (r, e, n, o) => {
|
|
1079
|
+
if (!r || !oe(r) || !e || typeof e != "string")
|
|
1080
|
+
return r;
|
|
1081
|
+
const i = e.split("."), t = r;
|
|
1082
|
+
let a = i.length, s = i[0];
|
|
1083
|
+
if (a > 1) {
|
|
1084
|
+
a--;
|
|
1085
|
+
let c = t, f, d;
|
|
1086
|
+
for (let l = 0; l < a; l++)
|
|
1087
|
+
f = i[l], d = c[f], (d === null || !oe(d)) && (c[f] = {}, d = c[f]), c = d;
|
|
1088
|
+
s = i[a], c[s] = n;
|
|
1089
|
+
} else
|
|
1090
|
+
t[s] = n;
|
|
1091
|
+
return t;
|
|
1092
|
+
}, Cn = (r, e, n, o) => {
|
|
1093
|
+
const i = (t, a, s, c) => {
|
|
1094
|
+
const f = {};
|
|
1095
|
+
return a.forEach((d) => Sn(f, d, xn(t, d))), f;
|
|
1096
|
+
};
|
|
1097
|
+
return oe(r) ? Array.isArray(e) ? i(r, e) : Ee(n !== !1, {}, r) : r;
|
|
1098
|
+
}, kn = (r) => Array.isArray(r) ? r.map((e) => Cn(e)) : r, _n = (r, e, n, o, i) => {
|
|
1099
|
+
let t;
|
|
1100
|
+
if (n && o && (oe(o) || (t = Array.isArray(o))))
|
|
1101
|
+
if (t)
|
|
1102
|
+
t = !1, r[e] = kn(o);
|
|
1103
|
+
else {
|
|
1104
|
+
const a = i && oe(i) ? i : {};
|
|
1105
|
+
r[e] = Ee(n, a, o);
|
|
1106
|
+
}
|
|
1107
|
+
else if (o !== void 0)
|
|
1108
|
+
try {
|
|
1109
|
+
r[e] = o;
|
|
1110
|
+
} catch {
|
|
1111
|
+
}
|
|
1112
|
+
};
|
|
1113
|
+
Ee = function(...r) {
|
|
1114
|
+
const e = r.length;
|
|
1115
|
+
let n = r[0] || {}, o = 1, i = !1;
|
|
1116
|
+
for (Se(n) === "boolean" && (i = n, n = r[o] || {}, o++), !wt(n) && Se(n) !== "function" && (n = {}); o < e; o++) {
|
|
1117
|
+
const t = r[o];
|
|
1118
|
+
if (t !== null && wt(t)) {
|
|
1119
|
+
const a = Object.keys(t);
|
|
1120
|
+
for (const s of a) {
|
|
1121
|
+
const c = n[s], f = t[s];
|
|
1122
|
+
n !== f && _n(n, s, i, f, c);
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
return n;
|
|
1127
|
+
};
|
|
1128
|
+
const di = function(r, ...e) {
|
|
1129
|
+
for (let n = 0, o = e.length; n < o; n++) {
|
|
1130
|
+
const i = e[n] || {};
|
|
1131
|
+
for (const t in i)
|
|
1132
|
+
if (et.call(i, t)) {
|
|
1133
|
+
const a = i[t];
|
|
1134
|
+
a !== void 0 && (r[t] = a);
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
return r;
|
|
1138
|
+
};
|
|
1139
|
+
function tt(r) {
|
|
1140
|
+
let e = /* @__PURE__ */ Object.create(null);
|
|
1141
|
+
return function(n) {
|
|
1142
|
+
return e[n] || (e[n] = r(n));
|
|
1143
|
+
};
|
|
1144
|
+
}
|
|
1145
|
+
const An = /-(\w)/g, En = tt((r) => r.replace(An, (e, n) => n ? n.toUpperCase() : "")), On = tt((r) => r.charAt(0).toUpperCase() + r.slice(1)), Mn = /\B([A-Z])/g, Pn = tt((r) => r.replace(Mn, "-$1").toLowerCase()), In = () => globalThis.crypto.getRandomValues(new Uint32Array(1))[0] / 4294967296, fi = (r = "", e = 8) => r + In().toString().substr(2, e), pi = (r, e, n) => {
|
|
1146
|
+
let o;
|
|
1147
|
+
if (P) return { t: r, o: !1 };
|
|
1148
|
+
const i = document.createElement("canvas").getContext("2d");
|
|
1149
|
+
i.font = e;
|
|
1150
|
+
let t = i.measureText(r);
|
|
1151
|
+
if (t.width < n)
|
|
1152
|
+
return { t: r, o: !1 };
|
|
1153
|
+
for (let a = -1; ; a--)
|
|
1154
|
+
if (o = r.slice(0, a) + "...", t = i.measureText(o), t.width < n)
|
|
1155
|
+
return { t: o, o: !0 };
|
|
1156
|
+
}, Fn = "-12:00,-11:00,-10:00,-09:30,-08:00,-07:00,-06:00,-05:00,-04:30,-04:00,-03:30,-02:00,-01:00", Ln = "-00:00,+00:00,+01:00,+02:00,+03:00,+03:30,+04:00,+04:30,+05:00,+05:30,+05:45,+06:00", Dn = "+06:30,+07:00,+08:00,+09:00,+10:00,+10:30,+11:00,+11:30,+12:00,+12:45,+13:00,+14:00";
|
|
1157
|
+
[...Fn.split(","), ...Ln.split(","), ...Dn.split(",")];
|
|
1158
|
+
const zn = {
|
|
1159
|
+
Escape: 27,
|
|
1160
|
+
ArrowUp: 38,
|
|
1161
|
+
ArrowDown: 40,
|
|
1162
|
+
NumpadEnter: 13
|
|
1163
|
+
}, Xt = {
|
|
1164
|
+
fullMonths: "January,February,March,April,May,June,July,August,September,October,November,December".split(","),
|
|
1165
|
+
fullWeeks: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
|
1166
|
+
}, rt = ["\\d\\d?", "\\d{3}", "\\d{4}"], Y = rt[0], Rn = rt[1], Nn = rt[2], ce = "[^\\s]+", xt = () => {
|
|
1167
|
+
}, er = (r, e) => {
|
|
1168
|
+
let n = [];
|
|
1169
|
+
for (let o = 0, i = r.length; o < i; o++)
|
|
1170
|
+
n.push(r[o].substr(0, e));
|
|
1171
|
+
return n;
|
|
1172
|
+
}, St = (r) => (e, n, o) => {
|
|
1173
|
+
const i = o[r].indexOf(n.charAt(0).toUpperCase() + n.substr(1).toLowerCase());
|
|
1174
|
+
~i && (e.month = i);
|
|
1175
|
+
}, jn = Xt.fullWeeks, Bn = Xt.fullMonths;
|
|
1176
|
+
er(Bn, 3);
|
|
1177
|
+
er(jn, 3);
|
|
1178
|
+
const ne = {
|
|
1179
|
+
d: [
|
|
1180
|
+
Y,
|
|
1181
|
+
(r, e) => {
|
|
1182
|
+
r.day = e;
|
|
1183
|
+
}
|
|
1184
|
+
],
|
|
1185
|
+
Do: [
|
|
1186
|
+
Y + ce,
|
|
1187
|
+
(r, e) => {
|
|
1188
|
+
r.day = parseInt(e, 10);
|
|
1189
|
+
}
|
|
1190
|
+
],
|
|
1191
|
+
M: [
|
|
1192
|
+
Y,
|
|
1193
|
+
(r, e) => {
|
|
1194
|
+
r.month = e - 1;
|
|
1195
|
+
}
|
|
1196
|
+
],
|
|
1197
|
+
yy: [
|
|
1198
|
+
Y,
|
|
1199
|
+
(r, e) => {
|
|
1200
|
+
const n = Number(String((/* @__PURE__ */ new Date()).getFullYear()).substr(0, 2));
|
|
1201
|
+
r.year = String(e > 68 ? n - 1 : n) + e;
|
|
1202
|
+
}
|
|
1203
|
+
],
|
|
1204
|
+
h: [
|
|
1205
|
+
Y,
|
|
1206
|
+
(r, e) => {
|
|
1207
|
+
r.hour = e;
|
|
1208
|
+
}
|
|
1209
|
+
],
|
|
1210
|
+
m: [
|
|
1211
|
+
Y,
|
|
1212
|
+
(r, e) => {
|
|
1213
|
+
r.minute = e;
|
|
1214
|
+
}
|
|
1215
|
+
],
|
|
1216
|
+
s: [
|
|
1217
|
+
Y,
|
|
1218
|
+
(r, e) => {
|
|
1219
|
+
r.second = e;
|
|
1220
|
+
}
|
|
1221
|
+
],
|
|
1222
|
+
yyyy: [
|
|
1223
|
+
Nn,
|
|
1224
|
+
(r, e) => {
|
|
1225
|
+
r.year = e;
|
|
1226
|
+
}
|
|
1227
|
+
],
|
|
1228
|
+
S: [
|
|
1229
|
+
"\\d",
|
|
1230
|
+
(r, e) => {
|
|
1231
|
+
r.millisecond = e * 100;
|
|
1232
|
+
}
|
|
1233
|
+
],
|
|
1234
|
+
SS: [
|
|
1235
|
+
"\\d{2}",
|
|
1236
|
+
(r, e) => {
|
|
1237
|
+
r.millisecond = e * 10;
|
|
1238
|
+
}
|
|
1239
|
+
],
|
|
1240
|
+
SSS: [
|
|
1241
|
+
Rn,
|
|
1242
|
+
(r, e) => {
|
|
1243
|
+
r.millisecond = e;
|
|
1244
|
+
}
|
|
1245
|
+
],
|
|
1246
|
+
D: [Y, xt],
|
|
1247
|
+
ddd: [ce, xt],
|
|
1248
|
+
MMM: [ce, St("monthNamesShort")],
|
|
1249
|
+
MMMM: [ce, St("monthNames")],
|
|
1250
|
+
a: [
|
|
1251
|
+
ce,
|
|
1252
|
+
(r, e, n) => {
|
|
1253
|
+
const o = e.toLowerCase();
|
|
1254
|
+
o === n.amPm[0] ? r.isPm = !1 : o === n.amPm[1] && (r.isPm = !0);
|
|
1255
|
+
}
|
|
1256
|
+
],
|
|
1257
|
+
ZZ: [
|
|
1258
|
+
"[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",
|
|
1259
|
+
(r, e) => {
|
|
1260
|
+
let n = String(e).match(/([+-]|\d\d)/gi), o;
|
|
1261
|
+
n && (o = Number(n[1] * 60) + parseInt(n[2], 10), r.timezoneOffset = n[0] === "+" ? o : -o);
|
|
1262
|
+
}
|
|
1263
|
+
]
|
|
1264
|
+
}, Un = ["A", "DD", "dd", "mm", "hh", "MM", "ss", "hh", "H", "HH"];
|
|
1265
|
+
ne.dddd = ne.ddd;
|
|
1266
|
+
Un.forEach((r) => {
|
|
1267
|
+
r === "MM" ? ne[r] = ne[r.substr(0, 1)] : ne[r] = ne[r.substr(0, 1).toLowerCase()];
|
|
1268
|
+
});
|
|
1269
|
+
const hi = (r, e, ...n) => {
|
|
1270
|
+
let o = !1;
|
|
1271
|
+
if (typeof r == "function" && typeof e == "string") {
|
|
1272
|
+
const i = document.createEvent("HTMLEvents");
|
|
1273
|
+
i.initEvent(e, !1, !0), i.preventDefault = () => {
|
|
1274
|
+
o = !0;
|
|
1275
|
+
}, n.unshift(i), n.unshift(e), r.apply(null, n);
|
|
1276
|
+
}
|
|
1277
|
+
return !o;
|
|
1278
|
+
}, $n = () => {
|
|
1279
|
+
}, qn = function() {
|
|
1280
|
+
return P ? function(r) {
|
|
1281
|
+
setTimeout(() => r(Date.now()), 1e3 / 60);
|
|
1282
|
+
} : window.requestAnimationFrame.bind(window);
|
|
1283
|
+
}(), qe = (r) => {
|
|
1284
|
+
r.scheduled || (r.scheduled = !0, r.raf(Hn.bind(null, r)));
|
|
1285
|
+
}, Hn = (r) => {
|
|
1286
|
+
const { reads: e, writes: n } = r;
|
|
1287
|
+
let o;
|
|
1288
|
+
try {
|
|
1289
|
+
r.runTasks(e), r.runTasks(n);
|
|
1290
|
+
} catch (i) {
|
|
1291
|
+
o = i;
|
|
1292
|
+
}
|
|
1293
|
+
if (r.scheduled = !1, (e.length || n.length) && qe(r), o)
|
|
1294
|
+
if (r.catch)
|
|
1295
|
+
r.catch(o);
|
|
1296
|
+
else
|
|
1297
|
+
throw o;
|
|
1298
|
+
}, Ct = (r, e) => {
|
|
1299
|
+
const n = r.indexOf(e);
|
|
1300
|
+
return !!~n && !!r.splice(n, 1);
|
|
1301
|
+
}, Vn = (r, e) => {
|
|
1302
|
+
for (let n in e)
|
|
1303
|
+
Object.hasOwnProperty.call(e, n) && (r[n] = e[n]);
|
|
1304
|
+
};
|
|
1305
|
+
class Wn {
|
|
1306
|
+
constructor() {
|
|
1307
|
+
this.reads = [], this.writes = [], this.raf = qn.bind(window);
|
|
1308
|
+
}
|
|
1309
|
+
runTasks(e) {
|
|
1310
|
+
let n;
|
|
1311
|
+
for (; n = e.shift(); ) n();
|
|
1312
|
+
}
|
|
1313
|
+
measure(e, n) {
|
|
1314
|
+
const o = n ? e.bind(n) : e;
|
|
1315
|
+
return this.reads.push(o), qe(this), o;
|
|
1316
|
+
}
|
|
1317
|
+
mutate(e, n) {
|
|
1318
|
+
const o = n ? e.bind(n) : e;
|
|
1319
|
+
return this.writes.push(o), qe(this), o;
|
|
1320
|
+
}
|
|
1321
|
+
clear(e) {
|
|
1322
|
+
return Ct(this.reads, e) || Ct(this.writes, e);
|
|
1323
|
+
}
|
|
1324
|
+
extend(e) {
|
|
1325
|
+
if (!e || typeof e != "object") throw new Error("[TINY][FastDom] expected object");
|
|
1326
|
+
const n = Object.create(this);
|
|
1327
|
+
return Vn(n, e), n.fastdom = this, n.initialize && n.initialize(), n;
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
const tr = new Wn(), kt = (r, e, n, o) => {
|
|
1331
|
+
const i = r._tasks, t = r.fastdom;
|
|
1332
|
+
let a;
|
|
1333
|
+
const s = new Promise(function(c, f) {
|
|
1334
|
+
a = t[e](function() {
|
|
1335
|
+
i.delete(s);
|
|
1336
|
+
try {
|
|
1337
|
+
c(o ? n.call(o) : n());
|
|
1338
|
+
} catch (d) {
|
|
1339
|
+
f(d);
|
|
1340
|
+
}
|
|
1341
|
+
}, o);
|
|
1342
|
+
});
|
|
1343
|
+
return i.set(s, a), s;
|
|
1344
|
+
}, Gn = {
|
|
1345
|
+
initialize() {
|
|
1346
|
+
this._tasks = /* @__PURE__ */ new Map();
|
|
1347
|
+
},
|
|
1348
|
+
mutate(r, e) {
|
|
1349
|
+
return kt(this, "mutate", r, e);
|
|
1350
|
+
},
|
|
1351
|
+
measure(r, e) {
|
|
1352
|
+
return kt(this, "measure", r, e);
|
|
1353
|
+
},
|
|
1354
|
+
clear(r) {
|
|
1355
|
+
const e = this._tasks, n = e.get(r);
|
|
1356
|
+
this.fastdom.clear(n), e.delete(r);
|
|
1357
|
+
}
|
|
1358
|
+
};
|
|
1359
|
+
tr.extend(Gn);
|
|
1360
|
+
const Yn = (r, e) => {
|
|
1361
|
+
let n = e.length;
|
|
1362
|
+
for (; n--; )
|
|
1363
|
+
r.clear(e[n]), e.splice(n, 1);
|
|
1364
|
+
}, Jn = (r, e) => {
|
|
1365
|
+
const n = r.indexOf(e);
|
|
1366
|
+
return !!~n && !!r.splice(n, 1);
|
|
1367
|
+
};
|
|
1368
|
+
class Kn {
|
|
1369
|
+
constructor(e) {
|
|
1370
|
+
this.fastdom = e, this.tasks = [];
|
|
1371
|
+
}
|
|
1372
|
+
measure(e, n) {
|
|
1373
|
+
const o = this.tasks, i = this.fastdom.measure(function() {
|
|
1374
|
+
return o.splice(o.indexOf(i)), e.call(n);
|
|
1375
|
+
});
|
|
1376
|
+
return o.push(i), i;
|
|
1377
|
+
}
|
|
1378
|
+
mutate(e, n) {
|
|
1379
|
+
const o = this.tasks, i = this.fastdom.mutate(function() {
|
|
1380
|
+
return o.splice(o.indexOf(i)), e.call(n);
|
|
1381
|
+
});
|
|
1382
|
+
return this.tasks.push(i), i;
|
|
1383
|
+
}
|
|
1384
|
+
clear(e) {
|
|
1385
|
+
return arguments.length || Yn(this.fastdom, this.tasks), Jn(this.tasks, e), this.fastdom.clear(e);
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
const Qn = {
|
|
1389
|
+
sandbox() {
|
|
1390
|
+
return new Kn(this.fastdom);
|
|
1391
|
+
}
|
|
1392
|
+
};
|
|
1393
|
+
tr.extend(Qn);
|
|
1394
|
+
const Zn = [
|
|
1395
|
+
"fullscreenElement",
|
|
1396
|
+
"fullscreenEnabled",
|
|
1397
|
+
"requestFullscreen",
|
|
1398
|
+
"exitFullscreen",
|
|
1399
|
+
"fullscreenchange",
|
|
1400
|
+
"fullscreenerror"
|
|
1401
|
+
], Xn = [
|
|
1402
|
+
"mozFullScreenElement",
|
|
1403
|
+
"mozFullScreenEnabled",
|
|
1404
|
+
"mozRequestFullScreen",
|
|
1405
|
+
"mozCancelFullScreen",
|
|
1406
|
+
"mozfullscreenchange",
|
|
1407
|
+
"mozfullscreenerror"
|
|
1408
|
+
], eo = [
|
|
1409
|
+
"webkitFullscreenElement",
|
|
1410
|
+
"webkitFullscreenEnabled",
|
|
1411
|
+
"webkitRequestFullscreen",
|
|
1412
|
+
"webkitExitFullscreen",
|
|
1413
|
+
"webkitfullscreenchange",
|
|
1414
|
+
"webkitfullscreenerror"
|
|
1415
|
+
], to = [
|
|
1416
|
+
"msFullscreenElement",
|
|
1417
|
+
"msFullscreenEnabled",
|
|
1418
|
+
"msRequestFullscreen",
|
|
1419
|
+
"msExitFullscreen",
|
|
1420
|
+
"MSFullscreenChange",
|
|
1421
|
+
"MSFullscreenError"
|
|
1422
|
+
], Re = [Zn, eo, Xn, to], V = typeof window < "u" && typeof window.document < "u" ? window.document : {};
|
|
1423
|
+
let L = null;
|
|
1424
|
+
const ro = () => {
|
|
1425
|
+
if (!P)
|
|
1426
|
+
for (let r = 0, e = Re.length; r < e; r++) {
|
|
1427
|
+
let n = Re[r];
|
|
1428
|
+
if (n && n[1] in V) {
|
|
1429
|
+
for (L = {}, r = 0; r < n.length; r++)
|
|
1430
|
+
L[Re[0][r]] = n[r];
|
|
1431
|
+
return;
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
};
|
|
1435
|
+
ro();
|
|
1436
|
+
const _t = {
|
|
1437
|
+
change: L && L.fullscreenchange,
|
|
1438
|
+
error: L && L.fullscreenerror
|
|
1439
|
+
}, He = {
|
|
1440
|
+
request(r, e) {
|
|
1441
|
+
return new Promise((n, o) => {
|
|
1442
|
+
const i = () => {
|
|
1443
|
+
this.off("change", i), n();
|
|
1444
|
+
};
|
|
1445
|
+
if (this.on("change", i), r = r || (P ? null : V.documentElement), r && L && r[L.requestFullscreen]) {
|
|
1446
|
+
const t = r[L.requestFullscreen](e);
|
|
1447
|
+
t instanceof Promise && t.then(i).catch(o);
|
|
1448
|
+
} else
|
|
1449
|
+
o(new Error("Fullscreen API not supported or element is null."));
|
|
1450
|
+
});
|
|
1451
|
+
},
|
|
1452
|
+
exit() {
|
|
1453
|
+
return new Promise((r, e) => {
|
|
1454
|
+
if (!this.isFullscreen) {
|
|
1455
|
+
r();
|
|
1456
|
+
return;
|
|
1457
|
+
}
|
|
1458
|
+
const n = () => {
|
|
1459
|
+
this.off("change", n), r();
|
|
1460
|
+
};
|
|
1461
|
+
if (this.on("change", n), !P && L && V[L.exitFullscreen]) {
|
|
1462
|
+
const o = V[L.exitFullscreen]();
|
|
1463
|
+
o instanceof Promise && o.then(n).catch(e);
|
|
1464
|
+
} else
|
|
1465
|
+
e(new Error("Fullscreen API not supported."));
|
|
1466
|
+
});
|
|
1467
|
+
},
|
|
1468
|
+
toggle(r, e) {
|
|
1469
|
+
return this.isFullscreen ? this.exit() : this.request(r, e);
|
|
1470
|
+
},
|
|
1471
|
+
onchange(r) {
|
|
1472
|
+
this.on("change", r);
|
|
1473
|
+
},
|
|
1474
|
+
onerror(r) {
|
|
1475
|
+
this.on("error", r);
|
|
1476
|
+
},
|
|
1477
|
+
on(r, e) {
|
|
1478
|
+
const n = _t[r];
|
|
1479
|
+
n && !P && U(V, n, e);
|
|
1480
|
+
},
|
|
1481
|
+
off(r, e) {
|
|
1482
|
+
const n = _t[r];
|
|
1483
|
+
n && !P && X(V, n, e);
|
|
1484
|
+
},
|
|
1485
|
+
raw: L || {}
|
|
1486
|
+
};
|
|
1487
|
+
P ? Object.defineProperties(He, {
|
|
1488
|
+
isFullscreen: {
|
|
1489
|
+
get() {
|
|
1490
|
+
return !1;
|
|
1491
|
+
}
|
|
1492
|
+
},
|
|
1493
|
+
element: {
|
|
1494
|
+
enumerable: !0,
|
|
1495
|
+
get() {
|
|
1496
|
+
return null;
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
isEnabled: {
|
|
1500
|
+
enumerable: !0,
|
|
1501
|
+
get() {
|
|
1502
|
+
return !1;
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
}) : Object.defineProperties(He, {
|
|
1506
|
+
isFullscreen: {
|
|
1507
|
+
get() {
|
|
1508
|
+
return !!V[L && L.fullscreenElement];
|
|
1509
|
+
}
|
|
1510
|
+
},
|
|
1511
|
+
element: {
|
|
1512
|
+
enumerable: !0,
|
|
1513
|
+
get() {
|
|
1514
|
+
return V[L && L.fullscreenElement];
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
isEnabled: {
|
|
1518
|
+
enumerable: !0,
|
|
1519
|
+
get() {
|
|
1520
|
+
return !!V[L && L.fullscreenEnabled];
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
});
|
|
1524
|
+
He.isEnabled;
|
|
1525
|
+
function no(r, e, n, o) {
|
|
1526
|
+
let i, t = 0;
|
|
1527
|
+
typeof e != "boolean" && (o = n, n = e, e = void 0);
|
|
1528
|
+
function a() {
|
|
1529
|
+
const c = this, f = (/* @__PURE__ */ new Date()).valueOf() - t, d = arguments;
|
|
1530
|
+
function l() {
|
|
1531
|
+
t = (/* @__PURE__ */ new Date()).valueOf(), n.apply(c, d);
|
|
1532
|
+
}
|
|
1533
|
+
function p() {
|
|
1534
|
+
i = void 0;
|
|
1535
|
+
}
|
|
1536
|
+
o && !i && l(), i && clearTimeout(i);
|
|
1537
|
+
const u = o === void 0;
|
|
1538
|
+
u && f > r ? l() : e !== !0 && (i = setTimeout(o ? p : l, u ? r - f : r));
|
|
1539
|
+
}
|
|
1540
|
+
function s() {
|
|
1541
|
+
i && (clearTimeout(i), i = null);
|
|
1542
|
+
}
|
|
1543
|
+
return a._cancel = s, a;
|
|
1544
|
+
}
|
|
1545
|
+
function oo(r, e, n) {
|
|
1546
|
+
return no(r, e, !1);
|
|
1547
|
+
}
|
|
1548
|
+
let ee = null;
|
|
1549
|
+
const io = "ws://localhost", At = [27197, 27198, 27199];
|
|
1550
|
+
let Ne = 0, te, rr = 1e3, nr = 3e4, ao = 0, nt = {}, or;
|
|
1551
|
+
const so = 20 * 1e3;
|
|
1552
|
+
let Et = null, ir = null, Ve = {}, ar = {}, R = {}, sr = () => {
|
|
1553
|
+
}, lr = () => {
|
|
1554
|
+
};
|
|
1555
|
+
const cr = function(r) {
|
|
1556
|
+
clearTimeout(Ve[r]), delete nt[r], delete Ve[r];
|
|
1557
|
+
}, lo = function() {
|
|
1558
|
+
ir = setTimeout(() => {
|
|
1559
|
+
ee.close();
|
|
1560
|
+
}, 5e3);
|
|
1561
|
+
}, G = function(r, e) {
|
|
1562
|
+
let n = ao++;
|
|
1563
|
+
if (n = String(n), r.cid = n, !te) {
|
|
1564
|
+
e && setTimeout(e, 0, { ok: !1, message: "eSpace is not logged in." });
|
|
1565
|
+
return;
|
|
1566
|
+
}
|
|
1567
|
+
typeof e == "function" && (nt[n] = e, Ve[n] = setTimeout(() => {
|
|
1568
|
+
e({ ok: !1, message: "time out" }), cr(n);
|
|
1569
|
+
}, nr)), ee.send(JSON.stringify(r));
|
|
1570
|
+
}, ur = function() {
|
|
1571
|
+
Et = setTimeout(() => {
|
|
1572
|
+
te ? G(
|
|
1573
|
+
{
|
|
1574
|
+
type: "heartbeat"
|
|
1575
|
+
},
|
|
1576
|
+
() => {
|
|
1577
|
+
ur();
|
|
1578
|
+
}
|
|
1579
|
+
) : clearTimeout(Et);
|
|
1580
|
+
}, so);
|
|
1581
|
+
}, co = function(r) {
|
|
1582
|
+
te = !0, ur(), clearTimeout(or), clearTimeout(ir), lr(r);
|
|
1583
|
+
}, uo = function(r) {
|
|
1584
|
+
let e = r.data;
|
|
1585
|
+
if (typeof e == "string" && (e = e.replace(/^\d+/, ""), !!e)) {
|
|
1586
|
+
try {
|
|
1587
|
+
e = JSON.parse(e);
|
|
1588
|
+
} catch (n) {
|
|
1589
|
+
return !n;
|
|
1590
|
+
}
|
|
1591
|
+
if (te) {
|
|
1592
|
+
let n = ar[e.type];
|
|
1593
|
+
if (n)
|
|
1594
|
+
return n(e.data);
|
|
1595
|
+
let o = e.cid, i = nt[o];
|
|
1596
|
+
i && (e.ok ? i(null, e.data) : i({ ok: e.ok }), cr(o));
|
|
1597
|
+
} else
|
|
1598
|
+
e.type === "eSpace-ctrl-connection-success" ? co(e.data) : ee.close();
|
|
1599
|
+
}
|
|
1600
|
+
}, fo = function() {
|
|
1601
|
+
ee.onopen = lo, ee.onclose = po, ee.onmessage = uo;
|
|
1602
|
+
}, dr = function(r) {
|
|
1603
|
+
or = setTimeout(() => {
|
|
1604
|
+
Ne >= At.length && (Ne = 0), ee = new WebSocket(io + ":" + At[Ne++]), fo();
|
|
1605
|
+
}, r || 0);
|
|
1606
|
+
}, po = function() {
|
|
1607
|
+
(te || typeof te > "u") && (te = !1, sr()), dr(rr);
|
|
1608
|
+
};
|
|
1609
|
+
R.init = function(r) {
|
|
1610
|
+
r && (nr = r.timeout || 3e4, rr = r.pollingInterval || 0), dr();
|
|
1611
|
+
};
|
|
1612
|
+
R.ready = function(r) {
|
|
1613
|
+
lr = r;
|
|
1614
|
+
};
|
|
1615
|
+
R.error = function(r) {
|
|
1616
|
+
sr = r;
|
|
1617
|
+
};
|
|
1618
|
+
const Ot = function(r, e, n) {
|
|
1619
|
+
let o = [];
|
|
1620
|
+
for (let i = 0; i < e; i++) {
|
|
1621
|
+
let t = r;
|
|
1622
|
+
i && (t += i);
|
|
1623
|
+
let a = n[t];
|
|
1624
|
+
a && o.push(a);
|
|
1625
|
+
}
|
|
1626
|
+
return o;
|
|
1627
|
+
};
|
|
1628
|
+
R.on = function(r, e) {
|
|
1629
|
+
ar[r] = e;
|
|
1630
|
+
};
|
|
1631
|
+
R.getUserInfo = function(r, e) {
|
|
1632
|
+
G(
|
|
1633
|
+
{
|
|
1634
|
+
type: "get-user-info",
|
|
1635
|
+
param: r
|
|
1636
|
+
},
|
|
1637
|
+
function(n, o) {
|
|
1638
|
+
if (n)
|
|
1639
|
+
return e(n);
|
|
1640
|
+
const i = function(t) {
|
|
1641
|
+
return {
|
|
1642
|
+
account: t.account,
|
|
1643
|
+
name: t.name,
|
|
1644
|
+
mobile: Ot("mobile", 6, t),
|
|
1645
|
+
office_phone: Ot("office_phone", 6, t),
|
|
1646
|
+
home_phone: t.home_phone,
|
|
1647
|
+
ip_phone: t.ip_phone,
|
|
1648
|
+
other_phone: t.other_phone
|
|
1649
|
+
};
|
|
1650
|
+
};
|
|
1651
|
+
if (o.account)
|
|
1652
|
+
e(null, i(o));
|
|
1653
|
+
else {
|
|
1654
|
+
let t = {};
|
|
1655
|
+
for (let a in o)
|
|
1656
|
+
if (Object.prototype.hasOwnProperty.call(o, a)) {
|
|
1657
|
+
let s = o[a];
|
|
1658
|
+
t[a] = s && i(s);
|
|
1659
|
+
}
|
|
1660
|
+
e(null, t);
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
);
|
|
1664
|
+
};
|
|
1665
|
+
R.subscribeUserStatus = function(r, e) {
|
|
1666
|
+
Array.isArray(r) && r.forEach((n) => {
|
|
1667
|
+
}), G(
|
|
1668
|
+
{
|
|
1669
|
+
type: "subscribe-user-status",
|
|
1670
|
+
param: r
|
|
1671
|
+
},
|
|
1672
|
+
e
|
|
1673
|
+
);
|
|
1674
|
+
};
|
|
1675
|
+
R.eSpaceCall = function(r, e, n) {
|
|
1676
|
+
G(
|
|
1677
|
+
{
|
|
1678
|
+
type: "espace-call",
|
|
1679
|
+
param: {
|
|
1680
|
+
account: r,
|
|
1681
|
+
number: e
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
n
|
|
1685
|
+
);
|
|
1686
|
+
};
|
|
1687
|
+
R.eSpaceCallByAccount = function(r, e) {
|
|
1688
|
+
G(
|
|
1689
|
+
{
|
|
1690
|
+
type: "espace-call",
|
|
1691
|
+
param: {
|
|
1692
|
+
account: r
|
|
1693
|
+
}
|
|
1694
|
+
},
|
|
1695
|
+
e
|
|
1696
|
+
);
|
|
1697
|
+
};
|
|
1698
|
+
R.eSpaceCallByNumber = function(r, e) {
|
|
1699
|
+
G(
|
|
1700
|
+
{
|
|
1701
|
+
type: "espace-call",
|
|
1702
|
+
param: {
|
|
1703
|
+
number: r
|
|
1704
|
+
}
|
|
1705
|
+
},
|
|
1706
|
+
e
|
|
1707
|
+
);
|
|
1708
|
+
};
|
|
1709
|
+
R.showImDialog = function(r, e) {
|
|
1710
|
+
G(
|
|
1711
|
+
{
|
|
1712
|
+
type: "show-espace-im-dialog",
|
|
1713
|
+
param: r
|
|
1714
|
+
},
|
|
1715
|
+
e
|
|
1716
|
+
);
|
|
1717
|
+
};
|
|
1718
|
+
R.showGroupDialog = function(r, e) {
|
|
1719
|
+
G(
|
|
1720
|
+
{
|
|
1721
|
+
type: "show-espace-im-group-dialog",
|
|
1722
|
+
param: r
|
|
1723
|
+
},
|
|
1724
|
+
e
|
|
1725
|
+
);
|
|
1726
|
+
};
|
|
1727
|
+
R.addContactList = function(r, e) {
|
|
1728
|
+
G(
|
|
1729
|
+
{
|
|
1730
|
+
type: "add-contact-list",
|
|
1731
|
+
param: r
|
|
1732
|
+
},
|
|
1733
|
+
e
|
|
1734
|
+
);
|
|
1735
|
+
};
|
|
1736
|
+
if (P || !window.WebSocket) {
|
|
1737
|
+
const r = function() {
|
|
1738
|
+
};
|
|
1739
|
+
for (let e in R)
|
|
1740
|
+
Object.prototype.hasOwnProperty.call(R, e) && typeof R[e] == "function" && (R[e] = r);
|
|
1741
|
+
}
|
|
1742
|
+
const ye = {}, ue = {
|
|
1743
|
+
leave: "v-modal-leave",
|
|
1744
|
+
enter: "v-modal-enter",
|
|
1745
|
+
modal: "v-modal"
|
|
1746
|
+
}, ho = (r, e) => {
|
|
1747
|
+
for (let n = r.length - 1; n >= 0; n--)
|
|
1748
|
+
if (r[n].id === e) {
|
|
1749
|
+
r.splice(n, 1);
|
|
1750
|
+
break;
|
|
1751
|
+
}
|
|
1752
|
+
};
|
|
1753
|
+
let We;
|
|
1754
|
+
const z = {
|
|
1755
|
+
step: 2,
|
|
1756
|
+
zIndex: 2e3,
|
|
1757
|
+
globalScroll: !1,
|
|
1758
|
+
// 是否打开全局滚动监听
|
|
1759
|
+
modalFade: !0,
|
|
1760
|
+
modalStack: [],
|
|
1761
|
+
modalDom: null,
|
|
1762
|
+
// 当前model挂载的div.
|
|
1763
|
+
hasModal: !1,
|
|
1764
|
+
// 当前是否有Modal
|
|
1765
|
+
popLockClass: "popup-parent--hidden",
|
|
1766
|
+
oldBodyBorder: "",
|
|
1767
|
+
viewportWindow: null,
|
|
1768
|
+
fixBodyBorder() {
|
|
1769
|
+
const r = window.innerWidth - document.documentElement.clientWidth;
|
|
1770
|
+
r && (this.oldBodyBorder = document.documentElement.style.borderRight, document.body.style.borderRight = `${r}px solid transparent`);
|
|
1771
|
+
},
|
|
1772
|
+
resetBodyBorder() {
|
|
1773
|
+
document.body.style.borderRight = this.oldBodyBorder, this.oldBodyBorder = "";
|
|
1774
|
+
},
|
|
1775
|
+
/** 全局反注册 */
|
|
1776
|
+
deregister: (r) => {
|
|
1777
|
+
r && (ye[r] = null, delete ye[r]);
|
|
1778
|
+
},
|
|
1779
|
+
/** 返回全局实例 */
|
|
1780
|
+
getInstance: (r) => ye[r],
|
|
1781
|
+
/** 全局注册 仅vue-popup.ts中使用,instance就是vm, 把vm注册到 vm._popupId 这个键值上 */
|
|
1782
|
+
register: (r, e) => {
|
|
1783
|
+
r && e && (ye[r] = e);
|
|
1784
|
+
},
|
|
1785
|
+
nextZIndex: () => {
|
|
1786
|
+
const r = z.zIndex;
|
|
1787
|
+
return z.zIndex += z.step, r;
|
|
1788
|
+
},
|
|
1789
|
+
/** 打开遮罩层, 仅vue-popup.ts中使用。 dom = vm.$el 或者 undefined (appendtoBody时) */
|
|
1790
|
+
openModal(r, e, n, o, i) {
|
|
1791
|
+
if (P || !r || e === void 0)
|
|
1792
|
+
return;
|
|
1793
|
+
this.modalFade = i;
|
|
1794
|
+
for (let s = 0, c = this.modalStack.length; s < c; s++)
|
|
1795
|
+
if (this.modalStack[s].id === r)
|
|
1796
|
+
return;
|
|
1797
|
+
const t = We();
|
|
1798
|
+
ge(t, ue.modal), this.modalFade && !z.hasModal && ge(t, ue.enter), o && o.trim().split(/\s+/).forEach((s) => ge(t, s)), setTimeout(() => {
|
|
1799
|
+
ve(t, ue.enter);
|
|
1800
|
+
}, 200), e && (t.style.zIndex = e.toString()), t.style.display = "", t.tabIndex = 0;
|
|
1801
|
+
let a;
|
|
1802
|
+
n && n.parentNode && n.parentNode.nodeType !== 11 ? a = n.parentNode : a = document.body, a.appendChild(t), this.modalStack.push({ id: r, zIndex: e, modalClass: o });
|
|
1803
|
+
},
|
|
1804
|
+
/** 点击背景遮罩层时,调用栈顶的popup,调用它的close() */
|
|
1805
|
+
doOnModalClick: () => {
|
|
1806
|
+
const r = z.modalStack, e = r[r.length - 1];
|
|
1807
|
+
if (!e)
|
|
1808
|
+
return;
|
|
1809
|
+
const n = z.getInstance(e.id);
|
|
1810
|
+
n && n.closeOnClickModal && typeof n.close == "function" && n.close();
|
|
1811
|
+
},
|
|
1812
|
+
closeModal(r) {
|
|
1813
|
+
const e = this.modalStack, n = We();
|
|
1814
|
+
if (e.length > 0) {
|
|
1815
|
+
const o = e[e.length - 1];
|
|
1816
|
+
if (o.id === r) {
|
|
1817
|
+
o.modalClass && o.modalClass.trim().split(/\s+/).forEach((t) => ve(n, t)), e.pop();
|
|
1818
|
+
const i = e.length;
|
|
1819
|
+
i > 0 && (n.style.zIndex = e[i - 1].zIndex.toString());
|
|
1820
|
+
} else
|
|
1821
|
+
ho(e, r);
|
|
1822
|
+
}
|
|
1823
|
+
e.length === 0 && (this.modalFade && ge(n, ue.leave), ve(document.body, this.popLockClass), this.resetBodyBorder(), setTimeout(() => {
|
|
1824
|
+
e.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", z.modalDom = null), ve(n, ue.leave);
|
|
1825
|
+
}, 200));
|
|
1826
|
+
}
|
|
1827
|
+
};
|
|
1828
|
+
We = () => {
|
|
1829
|
+
if (P)
|
|
1830
|
+
return null;
|
|
1831
|
+
let r = z.modalDom;
|
|
1832
|
+
return r ? z.hasModal = !0 : (z.hasModal = !1, r = document.createElement("div"), z.modalDom = r, r.addEventListener(
|
|
1833
|
+
"touchmove",
|
|
1834
|
+
(e) => {
|
|
1835
|
+
e.preventDefault(), e.stopPropagation();
|
|
1836
|
+
},
|
|
1837
|
+
{ passive: !0 }
|
|
1838
|
+
), U(r, "click", () => {
|
|
1839
|
+
z.doOnModalClick();
|
|
1840
|
+
})), r;
|
|
1841
|
+
};
|
|
1842
|
+
P || U(window, "keydown", (r) => {
|
|
1843
|
+
if (r.keyCode === zn.Escape) {
|
|
1844
|
+
const e = z.modalStack;
|
|
1845
|
+
if (e.length > 0) {
|
|
1846
|
+
const n = e[e.length - 1];
|
|
1847
|
+
if (!n)
|
|
1848
|
+
return;
|
|
1849
|
+
const o = z.getInstance(n.id);
|
|
1850
|
+
o && o.closeOnPressEscape && (o.handleClose ? o.handleClose("esc") : o.handleAction ? o.handleAction("cancel") : o.close());
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
});
|
|
1854
|
+
const mo = ["left", "right", "top", "bottom"], fr = ["shift", "offset", "preventOverflow", "keepTogether", "arrow", "flip", "applyStyle"], go = {
|
|
1855
|
+
arrowOffset: 0,
|
|
1856
|
+
arrowElement: "[x-arrow]",
|
|
1857
|
+
boundariesElement: "viewport",
|
|
1858
|
+
boundariesPadding: 5,
|
|
1859
|
+
flipBehavior: "flip",
|
|
1860
|
+
// 全局没有修改过它,所以它一直是flip
|
|
1861
|
+
forceAbsolute: !1,
|
|
1862
|
+
gpuAcceleration: !0,
|
|
1863
|
+
offset: 0,
|
|
1864
|
+
placement: "bottom",
|
|
1865
|
+
preventOverflowOrder: mo,
|
|
1866
|
+
modifiers: fr,
|
|
1867
|
+
// 此处是string数组, 构造函数调用之后转为函数数组
|
|
1868
|
+
updateHiddenPopperOnScroll: !1
|
|
1869
|
+
// 滚动过程中是否更新隐藏的弹出层位置
|
|
1870
|
+
}, we = (r, e) => {
|
|
1871
|
+
const n = (o) => o !== "" && !isNaN(parseFloat(o)) && isFinite(o);
|
|
1872
|
+
Object.keys(e).forEach((o) => {
|
|
1873
|
+
let i = "";
|
|
1874
|
+
~["width", "height", "top", "right", "bottom", "left"].indexOf(o) && n(e[o]) && (i = "px"), r.style[o] = e[o] + i;
|
|
1875
|
+
});
|
|
1876
|
+
}, je = (r) => {
|
|
1877
|
+
let e = r.offsetParent;
|
|
1878
|
+
return e === window.document.body || !e ? window.document.documentElement : e;
|
|
1879
|
+
}, pr = (r, e) => !r || r.nodeType !== 1 ? void 0 : window.getComputedStyle(r, null)[e], hr = (r) => r === window.document.body ? !1 : pr(r, "position") === "fixed" ? !0 : (r.host && (r = r.host), r.parentNode ? hr(r.parentNode) : !1), Ge = (r) => {
|
|
1880
|
+
let e = r.getBoundingClientRect();
|
|
1881
|
+
return {
|
|
1882
|
+
left: e.left,
|
|
1883
|
+
top: e.top,
|
|
1884
|
+
right: e.right,
|
|
1885
|
+
bottom: e.bottom,
|
|
1886
|
+
width: e.right - e.left,
|
|
1887
|
+
height: e.bottom - e.top
|
|
1888
|
+
};
|
|
1889
|
+
}, mr = (r) => {
|
|
1890
|
+
if (!r || r.nodeType !== 1)
|
|
1891
|
+
return !1;
|
|
1892
|
+
const e = window.getComputedStyle(r, null), n = e.overflow, o = e.overflowX, i = e.overflowY, t = /(auto|scroll|overlay|clip)/;
|
|
1893
|
+
return (r.scrollHeight > r.clientHeight || r.scrollWidth > r.clientWidth) && t.test(n + i + o);
|
|
1894
|
+
}, vo = (r) => {
|
|
1895
|
+
const e = document.createElement("div");
|
|
1896
|
+
we(e, {
|
|
1897
|
+
opacity: 0,
|
|
1898
|
+
position: "fixed",
|
|
1899
|
+
width: 1,
|
|
1900
|
+
height: 1,
|
|
1901
|
+
top: 0,
|
|
1902
|
+
left: 0,
|
|
1903
|
+
"z-index": "-99"
|
|
1904
|
+
}), r.appendChild(e);
|
|
1905
|
+
const n = Ge(e);
|
|
1906
|
+
return r.removeChild(e), n;
|
|
1907
|
+
}, Te = (r) => {
|
|
1908
|
+
let e = r.parentNode;
|
|
1909
|
+
return e ? e === window.document ? window.document.body.scrollTop || window.document.body.scrollLeft ? window.document.body : window.document.documentElement : mr(e) ? e : Te(e) : r;
|
|
1910
|
+
}, yo = (r, e, n, o) => {
|
|
1911
|
+
let { top: i, left: t, width: a, height: s } = Ge(r);
|
|
1912
|
+
if (n) {
|
|
1913
|
+
if (o.parentElement) {
|
|
1914
|
+
const { top: f, left: d } = vo(o.parentElement);
|
|
1915
|
+
i -= f, t -= d;
|
|
1916
|
+
}
|
|
1917
|
+
return {
|
|
1918
|
+
top: i,
|
|
1919
|
+
left: t,
|
|
1920
|
+
bottom: i + s,
|
|
1921
|
+
right: t + a,
|
|
1922
|
+
width: a,
|
|
1923
|
+
height: s
|
|
1924
|
+
};
|
|
1925
|
+
}
|
|
1926
|
+
let c = Ge(e);
|
|
1927
|
+
return {
|
|
1928
|
+
top: i - c.top,
|
|
1929
|
+
left: t - c.left,
|
|
1930
|
+
bottom: i - c.top + s,
|
|
1931
|
+
right: t - c.left + a,
|
|
1932
|
+
width: a,
|
|
1933
|
+
height: s
|
|
1934
|
+
};
|
|
1935
|
+
}, bo = (r) => r === document.body ? Math.max(document.documentElement.scrollTop, document.body.scrollTop) : r.scrollTop || 0, wo = (r) => r === document.body ? Math.max(document.documentElement.scrollLeft, document.body.scrollLeft) : r.scrollLeft || 0, To = (r, e) => {
|
|
1936
|
+
const n = Math.max(r.scrollHeight, r.offsetHeight, e.clientHeight, e.scrollHeight, e.offsetHeight);
|
|
1937
|
+
return { width: Math.max(r.scrollWidth, r.offsetWidth, e.clientWidth, e.scrollWidth, e.offsetWidth), height: n };
|
|
1938
|
+
}, Be = (r) => {
|
|
1939
|
+
let e = r.style.display, n = r.style.visibility;
|
|
1940
|
+
r.style.display = "block", r.style.visibility = "hidden";
|
|
1941
|
+
let o = window.getComputedStyle(r), i = parseFloat(o.marginTop) + parseFloat(o.marginBottom), t = parseFloat(o.marginLeft) + parseFloat(o.marginRight), a = { width: r.offsetWidth + t, height: r.offsetHeight + i };
|
|
1942
|
+
return r.style.display = e, r.style.visibility = n, a;
|
|
1943
|
+
}, Mt = (r) => {
|
|
1944
|
+
let e = { left: "right", right: "left", bottom: "top", top: "bottom" };
|
|
1945
|
+
return r.replace(/left|right|bottom|top/g, (n) => e[n]);
|
|
1946
|
+
}, de = (r) => {
|
|
1947
|
+
let e = { ...r };
|
|
1948
|
+
return e.right = e.left + e.width, e.bottom = e.top + e.height, e;
|
|
1949
|
+
}, gr = (r, e = []) => {
|
|
1950
|
+
const n = r.parentNode;
|
|
1951
|
+
return n ? (mr(n) && e.push(n), pr(n, "position") === "fixed" ? e : gr(n, e)) : e;
|
|
1952
|
+
}, Pt = (r) => {
|
|
1953
|
+
const e = {
|
|
1954
|
+
width: r.offsetWidth,
|
|
1955
|
+
height: r.offsetHeight,
|
|
1956
|
+
left: r.offsetLeft,
|
|
1957
|
+
top: r.offsetTop,
|
|
1958
|
+
right: 0,
|
|
1959
|
+
bottom: 0
|
|
1960
|
+
};
|
|
1961
|
+
return e.right = e.left + e.width, e.bottom = e.top + e.height, e;
|
|
1962
|
+
}, It = (r) => {
|
|
1963
|
+
r.stopPropagation();
|
|
1964
|
+
}, Ft = !P && typeof ResizeObserver == "function" ? new ResizeObserver((r) => {
|
|
1965
|
+
r.forEach((e) => {
|
|
1966
|
+
e.target.popperVm && e.contentRect.height > 50 && e.target.popperVm.update();
|
|
1967
|
+
});
|
|
1968
|
+
}) : null;
|
|
1969
|
+
class mi {
|
|
1970
|
+
constructor(e, n, o) {
|
|
1971
|
+
re(this, "_reference"), re(this, "_popper"), re(this, "state"), re(this, "_options"), re(this, "modifiers", {}), re(this, "popperOuterSize", null), this._reference = e, this._popper = n, this.state = {}, this._options = { ...go, ...o }, this._options.modifierFns = fr.map((i) => this[i]), P || (this._popper.setAttribute("x-placement", this._options.placement), this.state.position = this._getPopperPositionByRefernce(this._reference), we(this._popper, { position: this.state.position, top: 0 }), this._popper && (this._popper.popperVm = this, Ft && Ft.observe(this._popper)), this.update(), this._setupEventListeners());
|
|
1972
|
+
}
|
|
1973
|
+
destroy() {
|
|
1974
|
+
return this._popper.removeAttribute("x-placement"), this._popper.style.display = "none", this._removeEventListeners(), this._options.removeOnDestroy && this._popper.remove(), this;
|
|
1975
|
+
}
|
|
1976
|
+
onUpdate(e) {
|
|
1977
|
+
return this.state.updateCallback = e, this;
|
|
1978
|
+
}
|
|
1979
|
+
update() {
|
|
1980
|
+
let e = { instance: this, styles: {} };
|
|
1981
|
+
this.stopEventBubble(), this.popperOuterSize = null, e.placement = e._originalPlacement = this._options.placement, e.offsets = this._getRefPopOffsets(this._popper, this._reference, e.placement), e.boundaries = this._getBoundaries(e, this._options.boundariesPadding, this._options.boundariesElement), e = this.runModifiers(e, this._options.modifierFns), typeof this.state.updateCallback == "function" && this.state.updateCallback(e);
|
|
1982
|
+
}
|
|
1983
|
+
// 阻止popper的mousewheel等事件冒泡。 通过 onxxx 绑定,是为了避免重复绑定事件
|
|
1984
|
+
stopEventBubble() {
|
|
1985
|
+
this._popper && (this._popper.onmousewheel || (this._popper.onmousewheel = It), this._popper.onwheel || (this._popper.onwheel = It));
|
|
1986
|
+
}
|
|
1987
|
+
/** 按顺序执行Modifiers, 如果传入终点modifier,则执行到指定位置 */
|
|
1988
|
+
runModifiers(e, n, o) {
|
|
1989
|
+
let i = n.slice();
|
|
1990
|
+
const t = this._options;
|
|
1991
|
+
return o !== void 0 && (i = this._options.modifierFns.slice(
|
|
1992
|
+
0,
|
|
1993
|
+
t.modifierFns.findIndex((a) => a === o)
|
|
1994
|
+
)), i.forEach((a) => {
|
|
1995
|
+
Se(a) === "function" && (e = a.call(this, e));
|
|
1996
|
+
}), e;
|
|
1997
|
+
}
|
|
1998
|
+
// 此时才把offsets.popper 赋值给popper dom, offsets.array赋值给array dom
|
|
1999
|
+
applyStyle(e) {
|
|
2000
|
+
let n = { position: e.offsets.popper.position }, o = Math.round(e.offsets.popper.left), i = Math.round(e.offsets.popper.top);
|
|
2001
|
+
return this._options.gpuAcceleration ? (n.transform = `translate3d(${o}px, ${i}px, 0)`, Object.assign(n, { top: 0, left: 0 })) : Object.assign(n, { top: i, left: o }), Object.assign(n, e.styles), we(this._popper, n), this._popper.setAttribute("x-placement", e.placement), e.offsets.arrow && we(e.arrowElement, e.offsets.arrow), e;
|
|
2002
|
+
}
|
|
2003
|
+
// 判断 placement是不是2段式的,是则处理一下偏移。 修改data.offsets.popper的值
|
|
2004
|
+
shift(e) {
|
|
2005
|
+
let n = e.placement, o = n.split("-")[0], i = n.split("-")[1];
|
|
2006
|
+
if (i) {
|
|
2007
|
+
let { top: t, left: a, height: s, width: c } = e.offsets.reference, f = de(e.offsets.popper), d = {
|
|
2008
|
+
y: {
|
|
2009
|
+
start: { top: t },
|
|
2010
|
+
end: { top: t + s - f.height }
|
|
2011
|
+
},
|
|
2012
|
+
x: {
|
|
2013
|
+
start: { left: a },
|
|
2014
|
+
end: { left: a + c - f.width }
|
|
2015
|
+
}
|
|
2016
|
+
}, l = ~["bottom", "top"].indexOf(o) ? "x" : "y";
|
|
2017
|
+
e.offsets.popper = Object.assign(f, d[l][i]);
|
|
2018
|
+
}
|
|
2019
|
+
return e;
|
|
2020
|
+
}
|
|
2021
|
+
// 校正popper的位置在boundaries 的内部
|
|
2022
|
+
preventOverflow(e) {
|
|
2023
|
+
if (this._options.ignoreBoundaries)
|
|
2024
|
+
return e;
|
|
2025
|
+
let n = this._options.preventOverflowOrder, o = de(e.offsets.popper), i = {
|
|
2026
|
+
top: () => {
|
|
2027
|
+
let { top: t } = o;
|
|
2028
|
+
return t < e.boundaries.top && (t = Math.max(t, e.boundaries.top)), { top: t };
|
|
2029
|
+
},
|
|
2030
|
+
right: () => {
|
|
2031
|
+
let { left: t } = o;
|
|
2032
|
+
return o.right > e.boundaries.right && (t = Math.min(t, e.boundaries.right - o.width)), { left: t };
|
|
2033
|
+
},
|
|
2034
|
+
bottom: () => {
|
|
2035
|
+
let { top: t } = o;
|
|
2036
|
+
return o.bottom > e.boundaries.bottom && (t = Math.min(t, e.boundaries.bottom - o.height)), { top: t };
|
|
2037
|
+
},
|
|
2038
|
+
left: () => {
|
|
2039
|
+
let { left: t } = o;
|
|
2040
|
+
return o.left < e.boundaries.left && (t = Math.max(t, e.boundaries.left)), { left: t };
|
|
2041
|
+
}
|
|
2042
|
+
};
|
|
2043
|
+
return n.forEach((t) => {
|
|
2044
|
+
e.offsets.popper = Object.assign(o, i[t]());
|
|
2045
|
+
}), e;
|
|
2046
|
+
}
|
|
2047
|
+
// 校正popper的位置在reference的边上。 如果2个分离了,重新调整popper的位置。 可能是担心 modifiers.offset 带来的副作用吧
|
|
2048
|
+
keepTogether(e) {
|
|
2049
|
+
let n = de(e.offsets.popper), o = e.offsets.reference;
|
|
2050
|
+
return n.right < Math.floor(o.left) && (e.offsets.popper.left = Math.floor(o.left) - n.width), n.left > Math.floor(o.right) && (e.offsets.popper.left = Math.floor(o.right)), n.bottom < Math.floor(o.top) && (e.offsets.popper.top = Math.floor(o.top) - n.height), n.top > Math.floor(o.bottom) && (e.offsets.popper.top = Math.floor(o.bottom)), e;
|
|
2051
|
+
}
|
|
2052
|
+
// 根据flip的策略,计算当前应该显示的位置。 空间不够要计算出flip的位置。 可能是担心preventOverflow 时,造成pop, reference会重叠。 重叠了就要flip一下
|
|
2053
|
+
flip(e) {
|
|
2054
|
+
if (e.flipped && e.placement === e._originalPlacement)
|
|
2055
|
+
return e;
|
|
2056
|
+
const n = e.placement.split("-");
|
|
2057
|
+
let o = n[0], i = Mt(o), t = n[1] || "", a = [o, i];
|
|
2058
|
+
return a.forEach((s, c) => {
|
|
2059
|
+
if (o !== s || a.length === c + 1)
|
|
2060
|
+
return;
|
|
2061
|
+
o = e.placement.split("-")[0], i = Mt(o);
|
|
2062
|
+
let f = de(e.offsets.popper), d = ["right", "bottom"].includes(o), l = Math.floor(e.offsets.reference[o]), p = Math.floor(f[i]);
|
|
2063
|
+
(d && l > p || !d && l < p) && (e.flipped = !0, e.placement = a[c + 1], t && (e.placement += `-${t}`), e.offsets.popper = this._getRefPopOffsets(this._popper, this._reference, e.placement).popper, e = this.runModifiers(e, this._options.modifierFns, this.flip));
|
|
2064
|
+
}), e;
|
|
2065
|
+
}
|
|
2066
|
+
// 根据入参option上的offset, 给data.offset.popper进行校正
|
|
2067
|
+
offset(e) {
|
|
2068
|
+
let n = this._options.offset, o = e.offsets.popper;
|
|
2069
|
+
return ~e.placement.indexOf("left") ? o.top -= n : ~e.placement.indexOf("right") ? o.top += n : ~e.placement.indexOf("top") ? o.left -= n : ~e.placement.indexOf("bottom") && (o.left += n), e;
|
|
2070
|
+
}
|
|
2071
|
+
// 计算arrow的位置,保存在data.offsets.arrow ={top,left}
|
|
2072
|
+
arrow(e) {
|
|
2073
|
+
let n = this._options.arrowElement, o = this._options.arrowOffset;
|
|
2074
|
+
if (typeof n == "string" && (n = this._popper.querySelector(n)), !n || !this._popper.contains(n))
|
|
2075
|
+
return e;
|
|
2076
|
+
let i = {}, t = e.placement.split("-")[0], a = de(e.offsets.popper), s = e.offsets.reference, c = ~["left", "right"].indexOf(t), f = c ? "height" : "width", d = c ? "bottom" : "right", l = c ? "left" : "top", p = c ? "top" : "left", u = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Be(this._popper), m = Be(n), w = m[f];
|
|
2077
|
+
s[d] - w < a[p] && (e.offsets.popper[p] -= a[p] - (s[d] - w)), s[p] + w > a[d] && (e.offsets.popper[p] += s[p] + w - a[d]);
|
|
2078
|
+
let h = s[p] + (o || s[f] / 2 - w / 2) - a[p];
|
|
2079
|
+
const x = 4;
|
|
2080
|
+
h = Math.max(Math.min(a[f] - w - x, h), x), i[p] = h, i[l] = "";
|
|
2081
|
+
const y = this._options.placement.split("-");
|
|
2082
|
+
return this._options.adjustArrow && ~["top", "bottom"].indexOf(y[0]) && p === "left" && (y[1] === "start" ? i.left = x : y[1] || (i.left = (u.width - m.width) / 2)), e.offsets.arrow = i, e.arrowElement = n, e;
|
|
2083
|
+
}
|
|
2084
|
+
/** 判断 reference 的 offsetParent 元素是fix还是abs, 这个值会赋值给popper 的dom */
|
|
2085
|
+
_getPopperPositionByRefernce(e) {
|
|
2086
|
+
return this._options.forceAbsolute ? "absolute" : hr(e) ? "fixed" : "absolute";
|
|
2087
|
+
}
|
|
2088
|
+
/** 实时计算一下popper, reference的 位置信息, 用于 */
|
|
2089
|
+
_getRefPopOffsets(e, n, o) {
|
|
2090
|
+
o = o.split("-")[0];
|
|
2091
|
+
let i = { position: this.state.position }, t = i.position === "fixed", a = yo(
|
|
2092
|
+
n,
|
|
2093
|
+
je(e),
|
|
2094
|
+
t,
|
|
2095
|
+
e
|
|
2096
|
+
);
|
|
2097
|
+
const { width: s, height: c } = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Be(e);
|
|
2098
|
+
return ~["right", "left"].indexOf(o) ? (i.top = a.top + a.height / 2 - c / 2, o === "left" ? i.left = a.left - s : i.left = a.right) : (i.left = a.left + a.width / 2 - s / 2, o === "top" ? i.top = a.top - c : i.top = a.bottom), i.width = s, i.height = c, {
|
|
2099
|
+
popper: i,
|
|
2100
|
+
reference: a
|
|
2101
|
+
};
|
|
2102
|
+
}
|
|
2103
|
+
_setupEventListeners() {
|
|
2104
|
+
var e, n;
|
|
2105
|
+
if (this.state.updateBoundFn = this.update.bind(this), this.state.scrollUpdate = () => {
|
|
2106
|
+
if (this._options.updateHiddenPopperOnScroll)
|
|
2107
|
+
this.state.updateBoundFn();
|
|
2108
|
+
else {
|
|
2109
|
+
if (Gt(this._reference)) return;
|
|
2110
|
+
this.state.updateBoundFn();
|
|
2111
|
+
}
|
|
2112
|
+
}, U(window, "resize", this.state.updateBoundFn), this._options.boundariesElement !== "window") {
|
|
2113
|
+
let o = this._options.scrollParent || Te(this._reference);
|
|
2114
|
+
const i = [];
|
|
2115
|
+
if ((n = (e = o == null ? void 0 : o.dataset) == null ? void 0 : e.tag) != null && n.includes("-form")) {
|
|
2116
|
+
i.push(o);
|
|
2117
|
+
let t = Te(o);
|
|
2118
|
+
(t === window.document.body || t === window.document.documentElement) && (t = window), i.push(t);
|
|
2119
|
+
}
|
|
2120
|
+
if ((o === window.document.body || o === window.document.documentElement) && (o = window), this.state.scrollTarget = o, this._options.bubbling || z.globalScroll) {
|
|
2121
|
+
let t = gr(this._reference);
|
|
2122
|
+
this.state.scrollTargets = t || [], t.forEach((a) => {
|
|
2123
|
+
U(a, "scroll", this.state.scrollUpdate);
|
|
2124
|
+
});
|
|
2125
|
+
} else
|
|
2126
|
+
i.length ? (this.state.scrollTargets = i, i.forEach((t) => {
|
|
2127
|
+
U(t, "scroll", this.state.scrollUpdate);
|
|
2128
|
+
})) : U(o, "scroll", this.state.scrollUpdate);
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
_removeEventListeners() {
|
|
2132
|
+
X(window, "resize", this.state.updateBoundFn), this._options.boundariesElement !== "window" && this.state.scrollTarget && (X(this.state.scrollTarget, "scroll", this.state.scrollUpdate), this.state.scrollTarget = null, (this._options.bubbling || z.globalScroll) && ((this.state.scrollTargets || []).forEach((e) => {
|
|
2133
|
+
X(e, "scroll", this.state.scrollUpdate);
|
|
2134
|
+
}), this.state.scrollTargets = null)), this.state.updateBoundFn = null, this.state.scrollUpdate = null;
|
|
2135
|
+
}
|
|
2136
|
+
/** 实时计算一下Boundary的位置 */
|
|
2137
|
+
_getBoundaries(e, n, o) {
|
|
2138
|
+
let i = { right: 0, left: 0, top: 0, bottom: 0 };
|
|
2139
|
+
if (o === "window" || o === "body") {
|
|
2140
|
+
let t = window.document.body, a = window.document.documentElement, { width: s, height: c } = To(t, a);
|
|
2141
|
+
i = { top: 0, right: s, bottom: c, left: 0 };
|
|
2142
|
+
} else if (o === "viewport") {
|
|
2143
|
+
let t = je(this._popper), a = Te(this._popper), s = Pt(t);
|
|
2144
|
+
const c = e.offsets.popper.position === "fixed" || !this._options.appendToBody && ["right", "left"].includes(this._options.placement);
|
|
2145
|
+
let f = c ? 0 : bo(a), d = c ? 0 : wo(a);
|
|
2146
|
+
const l = z.viewportWindow || window;
|
|
2147
|
+
i = {
|
|
2148
|
+
top: 0 - (s.top - f),
|
|
2149
|
+
right: l.document.documentElement.clientWidth - (s.left - d),
|
|
2150
|
+
bottom: l.document.documentElement.clientHeight - (s.top - f),
|
|
2151
|
+
left: 0 - (s.left - d)
|
|
2152
|
+
};
|
|
2153
|
+
} else if (je(this._popper) === o) {
|
|
2154
|
+
const { clientWidth: t, clientHeight: a } = o;
|
|
2155
|
+
i = {
|
|
2156
|
+
right: t,
|
|
2157
|
+
bottom: a,
|
|
2158
|
+
top: 0,
|
|
2159
|
+
left: 0
|
|
2160
|
+
};
|
|
2161
|
+
} else
|
|
2162
|
+
i = Pt(o);
|
|
2163
|
+
return i.right -= n, i.left += n, i.bottom = i.bottom - n, i.top = i.top + n, i;
|
|
2164
|
+
}
|
|
2165
|
+
// https://popper.js.org/docs/v2/lifecycle/#set-new-options
|
|
2166
|
+
setOptions(e) {
|
|
2167
|
+
Object.assign(this._options, e);
|
|
2168
|
+
}
|
|
2169
|
+
}
|
|
2170
|
+
var Oe = {
|
|
2171
|
+
"en-US": "英语",
|
|
2172
|
+
"zh-CN": "中文",
|
|
2173
|
+
"zh-TW": "中国台湾",
|
|
2174
|
+
hello: "你好 {name}",
|
|
2175
|
+
code: "zh-CN",
|
|
2176
|
+
yes: "是",
|
|
2177
|
+
no: "否",
|
|
2178
|
+
ui: {
|
|
2179
|
+
input: {
|
|
2180
|
+
close: "关闭",
|
|
2181
|
+
more: "更多",
|
|
2182
|
+
detail: "详细信息"
|
|
2183
|
+
},
|
|
2184
|
+
numeric: {
|
|
2185
|
+
equalTo: "等于",
|
|
2186
|
+
notEqualTo: "不等于",
|
|
2187
|
+
moreThan: "大于",
|
|
2188
|
+
moreThanOrEqualTo: "大于等于",
|
|
2189
|
+
lessThan: "小于",
|
|
2190
|
+
lessThanOrEqualTo: "小于等于",
|
|
2191
|
+
empty: "为空",
|
|
2192
|
+
nonEmpty: "不为空"
|
|
2193
|
+
},
|
|
2194
|
+
queryBuilder: {
|
|
2195
|
+
addItem: "新增条件",
|
|
2196
|
+
addGroup: "新增子条件组",
|
|
2197
|
+
removeGroup: "移除条件组"
|
|
2198
|
+
},
|
|
2199
|
+
wizard: {
|
|
2200
|
+
previousStep: "上一步",
|
|
2201
|
+
nextStep: "下一步",
|
|
2202
|
+
save: "保存",
|
|
2203
|
+
submit: "提交"
|
|
2204
|
+
},
|
|
2205
|
+
linkMenu: {
|
|
2206
|
+
title: "消息",
|
|
2207
|
+
placeholder: "请输入关键字过滤...",
|
|
2208
|
+
sure: "确定",
|
|
2209
|
+
cancel: "取消"
|
|
2210
|
+
},
|
|
2211
|
+
todoList: {
|
|
2212
|
+
add: "提交",
|
|
2213
|
+
placeholder: "请输入内容..."
|
|
2214
|
+
},
|
|
2215
|
+
alert: {
|
|
2216
|
+
error: "错误",
|
|
2217
|
+
info: "消息",
|
|
2218
|
+
success: "成功",
|
|
2219
|
+
title: "消息提示",
|
|
2220
|
+
warning: "警告"
|
|
2221
|
+
},
|
|
2222
|
+
amount: {
|
|
2223
|
+
currency: "币种",
|
|
2224
|
+
amount: "金额",
|
|
2225
|
+
date: "日期",
|
|
2226
|
+
equalTo: "等于",
|
|
2227
|
+
notEqualTo: "不等于",
|
|
2228
|
+
moreThan: "大于",
|
|
2229
|
+
moreThanOrEqualTo: "大于等于",
|
|
2230
|
+
lessThan: "小于",
|
|
2231
|
+
lessThanOrEqualTo: "小于等于",
|
|
2232
|
+
empty: "为空",
|
|
2233
|
+
nonEmpty: "不为空"
|
|
2234
|
+
},
|
|
2235
|
+
actionMenu: {
|
|
2236
|
+
moreText: "更多"
|
|
2237
|
+
},
|
|
2238
|
+
base: {
|
|
2239
|
+
all: "全部",
|
|
2240
|
+
cancel: "取消",
|
|
2241
|
+
confirm: "确定",
|
|
2242
|
+
delete: "删除",
|
|
2243
|
+
edit: "编辑",
|
|
2244
|
+
more: "更多",
|
|
2245
|
+
reset: "重置",
|
|
2246
|
+
clear: "清空",
|
|
2247
|
+
comma: ","
|
|
2248
|
+
},
|
|
2249
|
+
button: {
|
|
2250
|
+
cancel: "取消",
|
|
2251
|
+
confirm: "确定"
|
|
2252
|
+
},
|
|
2253
|
+
buttonGroup: {
|
|
2254
|
+
noData: "暂无数据"
|
|
2255
|
+
},
|
|
2256
|
+
buttonMessage: {
|
|
2257
|
+
cancel: "取消",
|
|
2258
|
+
confirm: "确定"
|
|
2259
|
+
},
|
|
2260
|
+
cell: {
|
|
2261
|
+
placeholder: "请选择"
|
|
2262
|
+
},
|
|
2263
|
+
cascader: {
|
|
2264
|
+
noMatch: "无匹配数据",
|
|
2265
|
+
loading: "加载中",
|
|
2266
|
+
placeholder: "请选择",
|
|
2267
|
+
noData: "暂无数据"
|
|
2268
|
+
},
|
|
2269
|
+
chart: {
|
|
2270
|
+
auxiliary: "辅助",
|
|
2271
|
+
emptyText: "暂无数据",
|
|
2272
|
+
kName: "日K",
|
|
2273
|
+
other: "其他",
|
|
2274
|
+
summation: "总量",
|
|
2275
|
+
total: "总计",
|
|
2276
|
+
value: "数值"
|
|
2277
|
+
},
|
|
2278
|
+
colorSelectPanel: {
|
|
2279
|
+
confirm: "选择",
|
|
2280
|
+
cancel: "取消",
|
|
2281
|
+
predefine: "预定义颜色",
|
|
2282
|
+
history: "历史记录",
|
|
2283
|
+
empty: "暂无"
|
|
2284
|
+
},
|
|
2285
|
+
crop: {
|
|
2286
|
+
choose: "选择图片",
|
|
2287
|
+
zoomOut: "缩小10%",
|
|
2288
|
+
zoomIn: "放大10%",
|
|
2289
|
+
rotate_45: "逆时针旋转45°",
|
|
2290
|
+
rotate45: "顺时针旋转45°",
|
|
2291
|
+
closeCropArea: "隐藏选区",
|
|
2292
|
+
reset: "重置视图",
|
|
2293
|
+
closeCrop: "退出裁剪",
|
|
2294
|
+
cropImage: "选择区域"
|
|
2295
|
+
},
|
|
2296
|
+
datepicker: {
|
|
2297
|
+
clear: "清空",
|
|
2298
|
+
cancel: "取消",
|
|
2299
|
+
endDate: "结束日期",
|
|
2300
|
+
confirm: "确定",
|
|
2301
|
+
month: "月",
|
|
2302
|
+
endTime: "结束时间",
|
|
2303
|
+
month2: "2 月",
|
|
2304
|
+
month1: "1 月",
|
|
2305
|
+
month4: "4 月",
|
|
2306
|
+
month3: "3 月",
|
|
2307
|
+
month6: "6 月",
|
|
2308
|
+
month5: "5 月",
|
|
2309
|
+
month8: "8 月",
|
|
2310
|
+
month7: "7 月",
|
|
2311
|
+
month10: "10 月",
|
|
2312
|
+
month9: "9 月",
|
|
2313
|
+
month12: "12 月",
|
|
2314
|
+
month11: "11 月",
|
|
2315
|
+
months: {
|
|
2316
|
+
feb: "二月",
|
|
2317
|
+
jan: "一月",
|
|
2318
|
+
apr: "四月",
|
|
2319
|
+
mar: "三月",
|
|
2320
|
+
jun: "六月",
|
|
2321
|
+
may: "五月",
|
|
2322
|
+
aug: "八月",
|
|
2323
|
+
jul: "七月",
|
|
2324
|
+
oct: "十月",
|
|
2325
|
+
sep: "九月",
|
|
2326
|
+
dec: "十二月",
|
|
2327
|
+
nov: "十一月"
|
|
2328
|
+
},
|
|
2329
|
+
nextYear: "后一年",
|
|
2330
|
+
nextMonth: "下个月",
|
|
2331
|
+
prevMonth: "上个月",
|
|
2332
|
+
now: "此刻",
|
|
2333
|
+
selectDate: "选择日期",
|
|
2334
|
+
prevYear: "前一年",
|
|
2335
|
+
startDate: "开始日期",
|
|
2336
|
+
selectTime: "选择时间",
|
|
2337
|
+
today: "今天",
|
|
2338
|
+
currentMonth: "本月",
|
|
2339
|
+
startTime: "开始时间",
|
|
2340
|
+
week: "周次",
|
|
2341
|
+
weeks: {
|
|
2342
|
+
mon: "一",
|
|
2343
|
+
sun: "日",
|
|
2344
|
+
wed: "三",
|
|
2345
|
+
tue: "二",
|
|
2346
|
+
fri: "五",
|
|
2347
|
+
thu: "四",
|
|
2348
|
+
sat: "六"
|
|
2349
|
+
},
|
|
2350
|
+
timezone: "选择时区",
|
|
2351
|
+
year: "年",
|
|
2352
|
+
hour: "时",
|
|
2353
|
+
minute: "分",
|
|
2354
|
+
second: "秒",
|
|
2355
|
+
to: "至",
|
|
2356
|
+
yearMonth: "{year}年{month}月",
|
|
2357
|
+
yearMonthDay: "{year}年{month}月{day}日"
|
|
2358
|
+
},
|
|
2359
|
+
richTextEditor: {
|
|
2360
|
+
bold: "加粗",
|
|
2361
|
+
italic: "斜体",
|
|
2362
|
+
link: "链接",
|
|
2363
|
+
unlink: "移除链接",
|
|
2364
|
+
highlight: "高亮",
|
|
2365
|
+
underline: "下划线",
|
|
2366
|
+
strike: "中划线",
|
|
2367
|
+
subscript: "下标",
|
|
2368
|
+
superscript: "上标",
|
|
2369
|
+
code: "代码",
|
|
2370
|
+
unorderedlist: "无序列表",
|
|
2371
|
+
orderedlist: "有序列表",
|
|
2372
|
+
taskList: "任务列表",
|
|
2373
|
+
quote: "引用",
|
|
2374
|
+
codeBlock: "代码块",
|
|
2375
|
+
formatClear: "清除标记",
|
|
2376
|
+
nodeDelete: "删除节点",
|
|
2377
|
+
undo: "回退",
|
|
2378
|
+
redo: "前进",
|
|
2379
|
+
left: "左对齐",
|
|
2380
|
+
center: "居中",
|
|
2381
|
+
right: "右对齐",
|
|
2382
|
+
fontSize: "字号",
|
|
2383
|
+
lineHeight: "行高",
|
|
2384
|
+
hBox: "段落标题",
|
|
2385
|
+
img: "图片",
|
|
2386
|
+
color: "颜色",
|
|
2387
|
+
table: "表格",
|
|
2388
|
+
backgroundColor: "文字背景色",
|
|
2389
|
+
localResources: "本地资源",
|
|
2390
|
+
resourceLink: "资源链接"
|
|
2391
|
+
},
|
|
2392
|
+
calendar: {
|
|
2393
|
+
showType: {
|
|
2394
|
+
year: "年"
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
dept: {
|
|
2398
|
+
code: "编码",
|
|
2399
|
+
company: "公司",
|
|
2400
|
+
dept1: "一级部门",
|
|
2401
|
+
dept2: "二级部门",
|
|
2402
|
+
dept3: "三级部门",
|
|
2403
|
+
dept4: "四级部门",
|
|
2404
|
+
dept5: "五级部门",
|
|
2405
|
+
dept6: "六级部门",
|
|
2406
|
+
dept7: "七级部门",
|
|
2407
|
+
dept8: "八级部门",
|
|
2408
|
+
input: "可输入部门编码或名称",
|
|
2409
|
+
name: "名称",
|
|
2410
|
+
search: "辅助查询",
|
|
2411
|
+
selected: "已选"
|
|
2412
|
+
},
|
|
2413
|
+
dialogBox: {
|
|
2414
|
+
confirm: "确定",
|
|
2415
|
+
cancel: "取消"
|
|
2416
|
+
},
|
|
2417
|
+
load: {
|
|
2418
|
+
dot: "加载中"
|
|
2419
|
+
},
|
|
2420
|
+
exception: {
|
|
2421
|
+
build: "模块正在建设中",
|
|
2422
|
+
busy: "系统繁忙,请稍等一下",
|
|
2423
|
+
noperm: "茫茫大海,找不到页面",
|
|
2424
|
+
weaknet: "网络不给力",
|
|
2425
|
+
pcview: "请到PC上查看文件",
|
|
2426
|
+
nodata: "休息一下",
|
|
2427
|
+
create: "创建",
|
|
2428
|
+
provide: "TINY 开发团队提供",
|
|
2429
|
+
nodatamf: "暂无数据",
|
|
2430
|
+
nopermmf: "无访问权限",
|
|
2431
|
+
weaknetmf: "网络异常",
|
|
2432
|
+
noresult: "无相关搜索结果",
|
|
2433
|
+
nonews: "暂无最新消息",
|
|
2434
|
+
pagenoperm: "403:无访问权限",
|
|
2435
|
+
pageweaknet: "网络异常",
|
|
2436
|
+
pagenothing: "404:你访问的页面不存在",
|
|
2437
|
+
pageservererror: "500:服务器异常"
|
|
2438
|
+
},
|
|
2439
|
+
fileUpload: {
|
|
2440
|
+
largefile: "文件过大,将会分片上传,请耐心等待!",
|
|
2441
|
+
folder: "文件所在文件夹层数已超过 5 层,将不会上传该文件",
|
|
2442
|
+
init: "服务报错,请重试",
|
|
2443
|
+
token: "请先进行 EDM 鉴权,获取 token",
|
|
2444
|
+
exceed: "{fileName} 文件大小超过限制({maxSize})",
|
|
2445
|
+
largeFile: "文件大小超出限制 2G !!",
|
|
2446
|
+
fileSize: "{fileName} 文件大小低于限制({minSize}{sizeUnit})",
|
|
2447
|
+
deleteTip: "按 delete 键可删除",
|
|
2448
|
+
downloadFile: "下载文件",
|
|
2449
|
+
previewFile: "预览文件",
|
|
2450
|
+
updateFile: "更新文件",
|
|
2451
|
+
reUploadFile: "重新上传",
|
|
2452
|
+
cancelFile: "取消上传",
|
|
2453
|
+
deleteFile: "删除文件",
|
|
2454
|
+
empty: "是空文件!",
|
|
2455
|
+
kiaScanTip: "抱歉,从公网接入下载文档,需要通过KIA检测;当前文档正在KIA检测中,请稍后几分钟后再下载!",
|
|
2456
|
+
fileNameExceeds: "超过255个字符,请修改文件名。",
|
|
2457
|
+
fileName: "该文件名",
|
|
2458
|
+
calcHash: "文档正在计算加密中",
|
|
2459
|
+
uploadFile: "文件上传",
|
|
2460
|
+
downloadAll: "全部下载",
|
|
2461
|
+
onlySupport: "支持{type}格式文件",
|
|
2462
|
+
fileNotLessThan: "单个文件不能小于",
|
|
2463
|
+
fileNotMoreThan: "单个文件不能超过",
|
|
2464
|
+
fileSizeRange: "单个文件大小需在{moreThan}~{lessThan}之间",
|
|
2465
|
+
notSupport: "格式(.{format})暂不支持",
|
|
2466
|
+
notSupportNoSuffix: "暂不支持无后缀文件",
|
|
2467
|
+
notSupportSpecialCharacters: "文件名包含特殊字符,请重命名后上传",
|
|
2468
|
+
attachment: "附件",
|
|
2469
|
+
uploadList: "上传列表",
|
|
2470
|
+
numberExceed: "批量上传个数超过限制({number})",
|
|
2471
|
+
numberLimit: "最多上传{number}个文件",
|
|
2472
|
+
encryptDialogTitle: "水印及加密设置",
|
|
2473
|
+
addWatermark: "添加水印",
|
|
2474
|
+
encrypted: "加密",
|
|
2475
|
+
docPreview: "文档预览",
|
|
2476
|
+
networkError: "网络出错",
|
|
2477
|
+
pictureNetworkError: "网络出错,上传失败",
|
|
2478
|
+
reUploadTip: "{number}个文件上传失败!"
|
|
2479
|
+
},
|
|
2480
|
+
uploadList: {
|
|
2481
|
+
pictureUploading: "图片上传中",
|
|
2482
|
+
uploadFailed: "上传失败",
|
|
2483
|
+
uploading: "上传中",
|
|
2484
|
+
download: "下载",
|
|
2485
|
+
reUpload: "重新上传",
|
|
2486
|
+
delete: "删除",
|
|
2487
|
+
noAttachments: "暂无附件",
|
|
2488
|
+
cancel: "取消",
|
|
2489
|
+
preview: "预览",
|
|
2490
|
+
releaseAndUpload: "释放鼠标,上传文件",
|
|
2491
|
+
dragOrClickImport: "将文件拖到此处,或点击导入",
|
|
2492
|
+
shoot: "拍摄",
|
|
2493
|
+
selectFromAlbum: "从相册选择",
|
|
2494
|
+
uploadFailedAndReupload: "上传失败,点击重新上传"
|
|
2495
|
+
},
|
|
2496
|
+
upload: {
|
|
2497
|
+
addPicture: "添加图片",
|
|
2498
|
+
addAudio: "添加音频",
|
|
2499
|
+
addVideo: "添加视频"
|
|
2500
|
+
},
|
|
2501
|
+
grid: {
|
|
2502
|
+
dataUnchanged: "数据未改动!",
|
|
2503
|
+
deleteSelectRecord: "您确定要删除所选记录吗?",
|
|
2504
|
+
emptyText: "暂无数据",
|
|
2505
|
+
error: {
|
|
2506
|
+
delRevert: "方法 revert 已废弃,请使用 revertData",
|
|
2507
|
+
groupFixed: "如果使用分组表头,固定列必须在左右两侧",
|
|
2508
|
+
notDelete: "Delete 方法不存在",
|
|
2509
|
+
notQuery: "query 方法不存在",
|
|
2510
|
+
notResizable: "横向虚拟滚动不支持 resizable",
|
|
2511
|
+
notSave: "save 方法不存在",
|
|
2512
|
+
reqModule: "缺少 {{name}} 模块",
|
|
2513
|
+
rowIdEmpty: "参数 row-id 不允许为空",
|
|
2514
|
+
scrollYHeight: "启用虚拟滚动必须要设置 height 或 max-height",
|
|
2515
|
+
toolbarId: "工具栏需要设置唯一 id",
|
|
2516
|
+
treeFixedExpand: "树结构的固定列与展开行功能有冲突",
|
|
2517
|
+
treeInsert: "树结构不支持 insert 操作",
|
|
2518
|
+
treeRemove: "树结构不支持 remove 操作",
|
|
2519
|
+
unableInsert: "无法插入到指定位置",
|
|
2520
|
+
notAllowDragSelf: "不允许自己给自己拖动",
|
|
2521
|
+
notAllowDragFixed: "固定列不允许拖动",
|
|
2522
|
+
remoteMethod: "个性化模板管理远端存储需要设置 multipleHistory.remoteMethod",
|
|
2523
|
+
remoteSelectedMethod: "个性化模板管理远端存储需要设置 multipleHistory.remoteSelectedMethod",
|
|
2524
|
+
chainCallError: "列的默认插槽中存在语法错误,请检查。",
|
|
2525
|
+
renderParamError: "期望配置一个生成 VNode 的渲染方法。",
|
|
2526
|
+
classComponentError: "类组件渲染出错。",
|
|
2527
|
+
groupColumnFixedError: "同一个分组内不能设置不同的固定类型。",
|
|
2528
|
+
missingValueFormat: "渲染器无法格式化日期字符串,需要提供 valueFormat 源日期格式配置。",
|
|
2529
|
+
clipboardWriteError: "剪切板写入错误"
|
|
2530
|
+
},
|
|
2531
|
+
filter: {
|
|
2532
|
+
allSelect: "(全选)",
|
|
2533
|
+
endDate: "结束日期",
|
|
2534
|
+
startDate: "开始日期",
|
|
2535
|
+
dateTips: "请至少输入一个日期",
|
|
2536
|
+
clear: "清除当前列筛选",
|
|
2537
|
+
clearAll: "清除所有列筛选",
|
|
2538
|
+
confirmFilter: "筛选",
|
|
2539
|
+
empty: "为空",
|
|
2540
|
+
emptyText: "暂无数据",
|
|
2541
|
+
equal: "等于",
|
|
2542
|
+
include: "包含",
|
|
2543
|
+
prefix: "开头是",
|
|
2544
|
+
resetFilter: "重置",
|
|
2545
|
+
unempty: "不为空"
|
|
2546
|
+
},
|
|
2547
|
+
individuation: {
|
|
2548
|
+
cancelBtn: "取消",
|
|
2549
|
+
colConfigs: {
|
|
2550
|
+
visible: "显示",
|
|
2551
|
+
invisible: "隐藏",
|
|
2552
|
+
asc: "正序",
|
|
2553
|
+
desc: "倒序",
|
|
2554
|
+
unsorted: "未排序",
|
|
2555
|
+
frozenLeft: "左冻结",
|
|
2556
|
+
frozenRight: "右冻结",
|
|
2557
|
+
unfrozen: "未冻结",
|
|
2558
|
+
unfreeze: "取消冻结",
|
|
2559
|
+
unsort: "取消排序"
|
|
2560
|
+
},
|
|
2561
|
+
toolbar: {
|
|
2562
|
+
set: "设置",
|
|
2563
|
+
selected: "已选",
|
|
2564
|
+
freeze: "冻结",
|
|
2565
|
+
sort: "排序",
|
|
2566
|
+
clear: "清空",
|
|
2567
|
+
search: "搜索",
|
|
2568
|
+
all: "全选"
|
|
2569
|
+
},
|
|
2570
|
+
columnSet: "列设置",
|
|
2571
|
+
overwriteSave: "覆盖保存",
|
|
2572
|
+
saveAs: "另存为",
|
|
2573
|
+
saveTemplate: "存模板",
|
|
2574
|
+
selectTemplate: "选择模板",
|
|
2575
|
+
hideMsg: "至少保留一列显示",
|
|
2576
|
+
maxFreezeNumMsg: "冻结列不可超过6项",
|
|
2577
|
+
defaultTemplateName: "请输入名称,如未填写由系统按时间生成",
|
|
2578
|
+
reserveTemplateName: "如未填写名称将保留之前的名称",
|
|
2579
|
+
resetBtn: "重置",
|
|
2580
|
+
saveBtn: "确定",
|
|
2581
|
+
hideAll: "全部隐藏",
|
|
2582
|
+
showAll: "全部显示",
|
|
2583
|
+
tabs: {
|
|
2584
|
+
base: {
|
|
2585
|
+
title: "基础设置",
|
|
2586
|
+
tips: "点击图标按钮设置个性化"
|
|
2587
|
+
},
|
|
2588
|
+
other: {
|
|
2589
|
+
title: "其他设置",
|
|
2590
|
+
tips: "设置服务器排序或客户端排序、每页条数大小。",
|
|
2591
|
+
sortType: "排序类型",
|
|
2592
|
+
currPageSort: "当前页数据排序",
|
|
2593
|
+
allDataSort: "所有数据排序",
|
|
2594
|
+
pageSize: "每页条数"
|
|
2595
|
+
}
|
|
2596
|
+
},
|
|
2597
|
+
title: "个性化设置",
|
|
2598
|
+
switchtitle: "模板管理",
|
|
2599
|
+
switchsave: "保存配置",
|
|
2600
|
+
switchlabel: "配置列表:",
|
|
2601
|
+
switchapply: "使用",
|
|
2602
|
+
switchedit: "编辑",
|
|
2603
|
+
switchdel: "删除",
|
|
2604
|
+
switchconfirm: "确定",
|
|
2605
|
+
switchdelconfirm: "删除确认",
|
|
2606
|
+
switchonlytemp: "保存模板",
|
|
2607
|
+
switchtempapply: "保存并使用模板",
|
|
2608
|
+
switchtempoverwrite: "覆盖并使用模板",
|
|
2609
|
+
switchdelcon: "确定要删除这个模板?",
|
|
2610
|
+
switchdelyes: "确定",
|
|
2611
|
+
switchdelno: "取消",
|
|
2612
|
+
switchapplycon: "确定要使用这个模板?"
|
|
2613
|
+
},
|
|
2614
|
+
removeSelectRecord: "您确定要移除所选记录吗?",
|
|
2615
|
+
saveSuccess: "保存成功",
|
|
2616
|
+
selectOneRecord: "请至少选择一条记录!",
|
|
2617
|
+
isSaveMsg: "有修改的数据,是否要保存?"
|
|
2618
|
+
},
|
|
2619
|
+
hrapprover: {
|
|
2620
|
+
approver: "权签人",
|
|
2621
|
+
noselected: "没有选择权签人",
|
|
2622
|
+
noapprover: "没有权签人",
|
|
2623
|
+
remark: "备注"
|
|
2624
|
+
},
|
|
2625
|
+
imageViewer: {
|
|
2626
|
+
loadErrorAlt: "加载失败",
|
|
2627
|
+
save: "保存图片",
|
|
2628
|
+
del: "删除图片",
|
|
2629
|
+
thumbnail: "缩略图",
|
|
2630
|
+
menu: "目录",
|
|
2631
|
+
hide: "隐藏侧边栏",
|
|
2632
|
+
show: "显示侧边栏"
|
|
2633
|
+
},
|
|
2634
|
+
navMenu: {
|
|
2635
|
+
moreText: "更多"
|
|
2636
|
+
},
|
|
2637
|
+
logout: {
|
|
2638
|
+
in: "登录",
|
|
2639
|
+
out: "注销"
|
|
2640
|
+
},
|
|
2641
|
+
page: {
|
|
2642
|
+
goto: "前往",
|
|
2643
|
+
item: "条",
|
|
2644
|
+
next: "下一页",
|
|
2645
|
+
page: "条/页",
|
|
2646
|
+
pageClassifier: "页",
|
|
2647
|
+
pagesize: "条/页",
|
|
2648
|
+
prev: "上一页",
|
|
2649
|
+
total: "共",
|
|
2650
|
+
totals: "总条数:",
|
|
2651
|
+
jump: "跳至",
|
|
2652
|
+
hundredThousand: "10万+",
|
|
2653
|
+
million: "100万+",
|
|
2654
|
+
tenMillion: "1千万+",
|
|
2655
|
+
loadingTotals: "加载总条数…"
|
|
2656
|
+
},
|
|
2657
|
+
popeditor: {
|
|
2658
|
+
cancel: "取 消",
|
|
2659
|
+
confirm: "确 认",
|
|
2660
|
+
historyLists: "历史数据列表",
|
|
2661
|
+
reset: "重 置",
|
|
2662
|
+
search: "查 询",
|
|
2663
|
+
selectionLists: "选择数据列表",
|
|
2664
|
+
sourceLists: "所有数据列表",
|
|
2665
|
+
title: "选择",
|
|
2666
|
+
filterNode: "输入内容进行筛选"
|
|
2667
|
+
},
|
|
2668
|
+
popupload: {
|
|
2669
|
+
fileName: "文件名",
|
|
2670
|
+
fileSize: "文件大小",
|
|
2671
|
+
fileStatus: "文件状态",
|
|
2672
|
+
uploadError: "上传失败",
|
|
2673
|
+
dialogTitle: "文件上传",
|
|
2674
|
+
cancelButtonText: "取消",
|
|
2675
|
+
tipsFileText: "上传提示",
|
|
2676
|
+
saveButtonText: "开始上传",
|
|
2677
|
+
uploadSuccess: "上传成功!",
|
|
2678
|
+
uploadButtonText: "选择文件",
|
|
2679
|
+
uploadsButtonText: "选择批量文件",
|
|
2680
|
+
errorTypeTips: "上传文件类型不匹配",
|
|
2681
|
+
errorNumTips: "上传文件数量超出限制,已取消该操作",
|
|
2682
|
+
errorSizeTips: "上传文件大小超出限制",
|
|
2683
|
+
confirmDeleteTips: "确定要删除该文件吗?",
|
|
2684
|
+
delete: "删除",
|
|
2685
|
+
waitUpload: "等待上传",
|
|
2686
|
+
operation: "操作",
|
|
2687
|
+
success: "上传成功",
|
|
2688
|
+
listTip: "共{0}条数据:",
|
|
2689
|
+
errorListTip: "其中{0}条出错,请修改后重试",
|
|
2690
|
+
limitUploadFileNumber: "上传文件数限制为",
|
|
2691
|
+
limitUploadFileType: "上传文件类型限制为",
|
|
2692
|
+
limitUploadFileSize: "上传文件大小不超过"
|
|
2693
|
+
},
|
|
2694
|
+
rate: {
|
|
2695
|
+
level: {
|
|
2696
|
+
average: "一般",
|
|
2697
|
+
excellent: "很好",
|
|
2698
|
+
fair: "差",
|
|
2699
|
+
good: "好",
|
|
2700
|
+
poor: "很差"
|
|
2701
|
+
}
|
|
2702
|
+
},
|
|
2703
|
+
select: {
|
|
2704
|
+
loading: "加载中",
|
|
2705
|
+
noMatch: "无匹配数据",
|
|
2706
|
+
noData: "暂无相关数据",
|
|
2707
|
+
placeholder: "请选择",
|
|
2708
|
+
pleaseSearch: "请搜索",
|
|
2709
|
+
search: "搜索",
|
|
2710
|
+
selected: "已选",
|
|
2711
|
+
selectedNum: "已选 {num} 个",
|
|
2712
|
+
noSearchData: "无相关搜索结果,请重新输入",
|
|
2713
|
+
add: "新增",
|
|
2714
|
+
collapse: "收起"
|
|
2715
|
+
},
|
|
2716
|
+
search: {
|
|
2717
|
+
placeholder: "搜索"
|
|
2718
|
+
},
|
|
2719
|
+
signature: {
|
|
2720
|
+
confirm: "确认",
|
|
2721
|
+
rewrite: "重写",
|
|
2722
|
+
cancel: "取消",
|
|
2723
|
+
tips: "请手写签名",
|
|
2724
|
+
resign: "重新签名",
|
|
2725
|
+
placeholder: "请在此签名(必填)"
|
|
2726
|
+
},
|
|
2727
|
+
tabs: {
|
|
2728
|
+
moreItem: "更多"
|
|
2729
|
+
},
|
|
2730
|
+
tag: {
|
|
2731
|
+
add: "添加"
|
|
2732
|
+
},
|
|
2733
|
+
toggleMenu: {
|
|
2734
|
+
placeholder: "请输入内容进行筛选"
|
|
2735
|
+
},
|
|
2736
|
+
treeMenu: {
|
|
2737
|
+
placeholder: "输入关键字搜索"
|
|
2738
|
+
},
|
|
2739
|
+
transfer: {
|
|
2740
|
+
filterPlaceholder: "请输入搜索内容",
|
|
2741
|
+
hasCheckedFormat: "已选 {checked}/{total} 项",
|
|
2742
|
+
noCheckedFormat: "共 {total} 项",
|
|
2743
|
+
noData: "无数据",
|
|
2744
|
+
noMatch: "无匹配数据",
|
|
2745
|
+
titles: ["列表 1", "列表 2"]
|
|
2746
|
+
},
|
|
2747
|
+
tree: {
|
|
2748
|
+
loading: "加载中",
|
|
2749
|
+
emptyText: "暂无数据",
|
|
2750
|
+
switchText: "同时勾选下级",
|
|
2751
|
+
edit: "编辑",
|
|
2752
|
+
delete: "删除",
|
|
2753
|
+
addChild: "新增下级",
|
|
2754
|
+
newNodeTitle: "新增下级",
|
|
2755
|
+
deleteTip1: "删除后数据不可恢复,确定删除吗?",
|
|
2756
|
+
deleteTip2: "该节点存在下级节点,是否保留下级节点数据?",
|
|
2757
|
+
deleteTip3: "保留下级节点数据"
|
|
2758
|
+
},
|
|
2759
|
+
usercard: {
|
|
2760
|
+
address: "地址",
|
|
2761
|
+
collapse: "收起",
|
|
2762
|
+
email: "邮箱",
|
|
2763
|
+
empno: "工号",
|
|
2764
|
+
expand: "展开",
|
|
2765
|
+
fax: "传真",
|
|
2766
|
+
internal: "内线",
|
|
2767
|
+
manager: "主管",
|
|
2768
|
+
mobile: "手机",
|
|
2769
|
+
other: "其他",
|
|
2770
|
+
phone: "固定电话",
|
|
2771
|
+
timezone: "时区",
|
|
2772
|
+
travelcode: "出差联系信息",
|
|
2773
|
+
viop: "VIOP"
|
|
2774
|
+
},
|
|
2775
|
+
richText: {
|
|
2776
|
+
bold: "加粗",
|
|
2777
|
+
italic: "倾斜",
|
|
2778
|
+
underline: "下划线",
|
|
2779
|
+
header: "段落格式",
|
|
2780
|
+
strike: "删除线",
|
|
2781
|
+
blockquote: "块引用",
|
|
2782
|
+
codeBlock: "插入代码段",
|
|
2783
|
+
size: "字体大小",
|
|
2784
|
+
listOrdered: "编号列表",
|
|
2785
|
+
listBullet: "项目列表",
|
|
2786
|
+
header1: "h1",
|
|
2787
|
+
header2: "h2",
|
|
2788
|
+
align: "对齐方式",
|
|
2789
|
+
color: "字体颜色",
|
|
2790
|
+
background: "背景颜色",
|
|
2791
|
+
image: "图像",
|
|
2792
|
+
video: "视频",
|
|
2793
|
+
link: "添加链接",
|
|
2794
|
+
formula: "插入公式",
|
|
2795
|
+
clean: "清除格式",
|
|
2796
|
+
indent1: "向左缩进",
|
|
2797
|
+
indent2: "向右缩进",
|
|
2798
|
+
pickerLabel: "标题大小",
|
|
2799
|
+
headerPicker1: "标题一",
|
|
2800
|
+
headerPicker2: "标题二",
|
|
2801
|
+
headerPicker3: "标题三",
|
|
2802
|
+
headerPicker4: "标题四",
|
|
2803
|
+
headerPicker5: "标题五",
|
|
2804
|
+
headerPicker6: "标题六",
|
|
2805
|
+
normal: "标准",
|
|
2806
|
+
sizeSmall: "小号",
|
|
2807
|
+
sizeLarge: "大号",
|
|
2808
|
+
sizeHuge: "超大号",
|
|
2809
|
+
alignPicker1: "居左对齐",
|
|
2810
|
+
alignPicker2: "居中对齐",
|
|
2811
|
+
alignPicker3: "居右对齐",
|
|
2812
|
+
alignPicker4: "两端对齐",
|
|
2813
|
+
subScript: "下标",
|
|
2814
|
+
superScript: "上标",
|
|
2815
|
+
directionRTL: "从右到左",
|
|
2816
|
+
font: "字体",
|
|
2817
|
+
file: "文件",
|
|
2818
|
+
betterTable: "表格",
|
|
2819
|
+
fullscreen: "全屏",
|
|
2820
|
+
insertColumnRight: "右插入列",
|
|
2821
|
+
insertColumnLeft: "左插入列",
|
|
2822
|
+
insertRowUp: "上插入行",
|
|
2823
|
+
insertRowDown: "下插入行",
|
|
2824
|
+
mergeCells: "合并单元格",
|
|
2825
|
+
unmergeCells: "拆分单元格",
|
|
2826
|
+
deleteColumn: "删除当前列",
|
|
2827
|
+
deleteRow: "删除当前行",
|
|
2828
|
+
deleteTable: "删除表格",
|
|
2829
|
+
colorPicker: "背景颜色",
|
|
2830
|
+
placeholder: "在此处插入文本...",
|
|
2831
|
+
maxLength: "文本长度超过限制,支持的最大长度是 "
|
|
2832
|
+
},
|
|
2833
|
+
fluentEditor: {
|
|
2834
|
+
undo: "撤销",
|
|
2835
|
+
redo: "重做",
|
|
2836
|
+
lineheight: "行高"
|
|
2837
|
+
},
|
|
2838
|
+
steps: {
|
|
2839
|
+
done: "已完成",
|
|
2840
|
+
doing: "进行中",
|
|
2841
|
+
wait: "等待中"
|
|
2842
|
+
},
|
|
2843
|
+
actionSheet: {
|
|
2844
|
+
cancel: "取消"
|
|
2845
|
+
},
|
|
2846
|
+
image: {
|
|
2847
|
+
loadFail: "加载失败"
|
|
2848
|
+
},
|
|
2849
|
+
miniPicker: {
|
|
2850
|
+
cancel: "取消",
|
|
2851
|
+
confirm: "确定"
|
|
2852
|
+
},
|
|
2853
|
+
pullRefresh: {
|
|
2854
|
+
pullingDown: "下拉即可刷新",
|
|
2855
|
+
pullingUp: "上拉即可刷新",
|
|
2856
|
+
pulling: "下拉即可刷新",
|
|
2857
|
+
loosing: "释放即可刷新",
|
|
2858
|
+
success: "刷新成功",
|
|
2859
|
+
failed: "刷新失败",
|
|
2860
|
+
noMore: "没有更多了"
|
|
2861
|
+
},
|
|
2862
|
+
currency: {
|
|
2863
|
+
defaultCurrency: "默认币种",
|
|
2864
|
+
setDefault: "设为默认",
|
|
2865
|
+
chooseCurrency: "选择币种"
|
|
2866
|
+
},
|
|
2867
|
+
calendarBar: {
|
|
2868
|
+
week: {
|
|
2869
|
+
0: "日",
|
|
2870
|
+
1: "一",
|
|
2871
|
+
2: "二",
|
|
2872
|
+
3: "三",
|
|
2873
|
+
4: "四",
|
|
2874
|
+
5: "五",
|
|
2875
|
+
6: "六"
|
|
2876
|
+
},
|
|
2877
|
+
year: "%s年",
|
|
2878
|
+
yearMonth: "%y年%m月",
|
|
2879
|
+
month: {
|
|
2880
|
+
1: "1月",
|
|
2881
|
+
2: "2月",
|
|
2882
|
+
3: "3月",
|
|
2883
|
+
4: "4月",
|
|
2884
|
+
5: "5月",
|
|
2885
|
+
6: "6月",
|
|
2886
|
+
7: "7月",
|
|
2887
|
+
8: "8月",
|
|
2888
|
+
9: "9月",
|
|
2889
|
+
10: "10月",
|
|
2890
|
+
11: "11月",
|
|
2891
|
+
12: "12月"
|
|
2892
|
+
},
|
|
2893
|
+
monthAbbr: {
|
|
2894
|
+
1: "1",
|
|
2895
|
+
2: "2",
|
|
2896
|
+
3: "3",
|
|
2897
|
+
4: "4",
|
|
2898
|
+
5: "5",
|
|
2899
|
+
6: "6",
|
|
2900
|
+
7: "7",
|
|
2901
|
+
8: "8",
|
|
2902
|
+
9: "9",
|
|
2903
|
+
10: "10",
|
|
2904
|
+
11: "11",
|
|
2905
|
+
12: "12"
|
|
2906
|
+
}
|
|
2907
|
+
},
|
|
2908
|
+
calendarView: {
|
|
2909
|
+
week: {
|
|
2910
|
+
0: "日",
|
|
2911
|
+
1: "一",
|
|
2912
|
+
2: "二",
|
|
2913
|
+
3: "三",
|
|
2914
|
+
4: "四",
|
|
2915
|
+
5: "五",
|
|
2916
|
+
6: "六"
|
|
2917
|
+
},
|
|
2918
|
+
weekDays: {
|
|
2919
|
+
0: "周日",
|
|
2920
|
+
1: "周一",
|
|
2921
|
+
2: "周二",
|
|
2922
|
+
3: "周三",
|
|
2923
|
+
4: "周四",
|
|
2924
|
+
5: "周五",
|
|
2925
|
+
6: "周六"
|
|
2926
|
+
},
|
|
2927
|
+
backToday: "回今天",
|
|
2928
|
+
new: "新增",
|
|
2929
|
+
noSchedule: "暂无日程",
|
|
2930
|
+
year: "年",
|
|
2931
|
+
month: "月",
|
|
2932
|
+
dateFormat: "yyyy 年 MM 月"
|
|
2933
|
+
},
|
|
2934
|
+
selectedBox: {
|
|
2935
|
+
select: "已选(%s)",
|
|
2936
|
+
allSelect: "已全选(%s)",
|
|
2937
|
+
clear: "清空",
|
|
2938
|
+
noData: "暂无数据"
|
|
2939
|
+
},
|
|
2940
|
+
record: {
|
|
2941
|
+
record: "录音",
|
|
2942
|
+
cancel: "取消",
|
|
2943
|
+
confirm: "确定",
|
|
2944
|
+
clickToStartRecording: "点击开始录音",
|
|
2945
|
+
clickToResumeRecording: "点击继续录音"
|
|
2946
|
+
},
|
|
2947
|
+
dialogSelect: {
|
|
2948
|
+
treeSearch: "请输入关键字并回车"
|
|
2949
|
+
},
|
|
2950
|
+
loadList: {
|
|
2951
|
+
errorText: "出错了",
|
|
2952
|
+
loadingText: "加载中...",
|
|
2953
|
+
finishedText: "没有更多了"
|
|
2954
|
+
}
|
|
2955
|
+
},
|
|
2956
|
+
validation: {
|
|
2957
|
+
array: {
|
|
2958
|
+
len: "长度必须为 %s",
|
|
2959
|
+
min: "长度不能小于 %s",
|
|
2960
|
+
max: "长度不能大于 %s",
|
|
2961
|
+
range: "长度必须介于 %s 和 %s 之间"
|
|
2962
|
+
},
|
|
2963
|
+
date: {
|
|
2964
|
+
format: "日期 %s 对于格式 %s 无效",
|
|
2965
|
+
invalid: "日期 %s 无效",
|
|
2966
|
+
parse: "无法分析 %s 日期, %s 无效"
|
|
2967
|
+
},
|
|
2968
|
+
default: "%s 字段校验错误",
|
|
2969
|
+
enum: "必须是 %s 中的一个",
|
|
2970
|
+
number: {
|
|
2971
|
+
len: "必须等于 %s",
|
|
2972
|
+
min: "不能小于 %s",
|
|
2973
|
+
max: "不能大于 %s",
|
|
2974
|
+
range: "必须介于 %s 和 %s 之间"
|
|
2975
|
+
},
|
|
2976
|
+
pattern: {
|
|
2977
|
+
mismatch: "值%s 与模式 %s 不匹配"
|
|
2978
|
+
},
|
|
2979
|
+
required: "必填",
|
|
2980
|
+
string: {
|
|
2981
|
+
len: "必须是 %s 个字符",
|
|
2982
|
+
min: "必须至少为 %s 个字符",
|
|
2983
|
+
max: "不能大于 %s 个字符",
|
|
2984
|
+
range: "必须介于 %s 和 %s 个字符之间"
|
|
2985
|
+
},
|
|
2986
|
+
types: {
|
|
2987
|
+
acceptFile: "只接受文件",
|
|
2988
|
+
acceptImg: "只接受图片格式",
|
|
2989
|
+
array: "非法数组",
|
|
2990
|
+
boolean: "非法布尔值",
|
|
2991
|
+
date: "不符合规则的日期格式",
|
|
2992
|
+
dateTime: "不符合规则的日期时间格式",
|
|
2993
|
+
dateYM: "不符合规则的日期格式(yyyy-mm)",
|
|
2994
|
+
dateYMD: "不符合规则的日期格式(yyyy-MM-dd)",
|
|
2995
|
+
digits: "非法纯数字",
|
|
2996
|
+
email: "非法邮件地址",
|
|
2997
|
+
fileSize: "文件大小的格式不正确,应如 3kb",
|
|
2998
|
+
float: "非法浮点数",
|
|
2999
|
+
hex: "非法十六进制",
|
|
3000
|
+
integer: "非法整数",
|
|
3001
|
+
longDateTime: "不符合规则的长日期格式",
|
|
3002
|
+
method: "必须是函数(Function)",
|
|
3003
|
+
number: "非法数字",
|
|
3004
|
+
object: "非法对象",
|
|
3005
|
+
regexp: "非法正则表达式",
|
|
3006
|
+
specialch: "只能包含数字、字母、下划线、横杠、点号",
|
|
3007
|
+
specialch2: "只能包含数字、字母、下划线、横杠",
|
|
3008
|
+
speczh: "只能包含数字、字母、下划线、汉",
|
|
3009
|
+
string: "非法字符串",
|
|
3010
|
+
time: "不符合规则的时间格式",
|
|
3011
|
+
url: "非法 URL 地址",
|
|
3012
|
+
version: "非法版本格式"
|
|
3013
|
+
},
|
|
3014
|
+
whitespace: "不能为空"
|
|
3015
|
+
}
|
|
3016
|
+
}, ot = {
|
|
3017
|
+
"en-US": "English",
|
|
3018
|
+
"zh-CN": "Chinese",
|
|
3019
|
+
"zh-TW": "China Taiwan",
|
|
3020
|
+
hello: "Hello {name}",
|
|
3021
|
+
code: "en-US",
|
|
3022
|
+
yes: "Yes",
|
|
3023
|
+
no: "No",
|
|
3024
|
+
ui: {
|
|
3025
|
+
input: {
|
|
3026
|
+
close: "Close",
|
|
3027
|
+
more: "More",
|
|
3028
|
+
detail: "Detailed Info"
|
|
3029
|
+
},
|
|
3030
|
+
numeric: {
|
|
3031
|
+
equalTo: "Equal to",
|
|
3032
|
+
notEqualTo: "Not equal to",
|
|
3033
|
+
moreThan: "Greater than",
|
|
3034
|
+
moreThanOrEqualTo: "Greater than or equal to",
|
|
3035
|
+
lessThan: "Less than",
|
|
3036
|
+
lessThanOrEqualTo: "Less than or equal to",
|
|
3037
|
+
empty: "Null",
|
|
3038
|
+
nonEmpty: "Not null"
|
|
3039
|
+
},
|
|
3040
|
+
queryBuilder: {
|
|
3041
|
+
addItem: "Add Rule",
|
|
3042
|
+
addGroup: "Add Rule Group",
|
|
3043
|
+
removeGroup: "Del Rule Group"
|
|
3044
|
+
},
|
|
3045
|
+
wizard: {
|
|
3046
|
+
previousStep: "Previous",
|
|
3047
|
+
nextStep: "Next",
|
|
3048
|
+
save: "Save",
|
|
3049
|
+
submit: "Submit"
|
|
3050
|
+
},
|
|
3051
|
+
linkMenu: {
|
|
3052
|
+
title: "Messages",
|
|
3053
|
+
placeholder: "Enter a keyword.",
|
|
3054
|
+
sure: "OK",
|
|
3055
|
+
cancel: "Cancel"
|
|
3056
|
+
},
|
|
3057
|
+
todoList: {
|
|
3058
|
+
add: "Add",
|
|
3059
|
+
placeholder: "Please enter content..."
|
|
3060
|
+
},
|
|
3061
|
+
alert: {
|
|
3062
|
+
error: "Error",
|
|
3063
|
+
info: "Information",
|
|
3064
|
+
success: "Success",
|
|
3065
|
+
title: "Information",
|
|
3066
|
+
warning: "Warning"
|
|
3067
|
+
},
|
|
3068
|
+
amount: {
|
|
3069
|
+
currency: "Currency",
|
|
3070
|
+
amount: "Amount",
|
|
3071
|
+
date: "Date",
|
|
3072
|
+
equalTo: "Equal to",
|
|
3073
|
+
notEqualTo: "Not equal to",
|
|
3074
|
+
moreThan: "Greater than",
|
|
3075
|
+
moreThanOrEqualTo: "Greater than or equal to",
|
|
3076
|
+
lessThan: "Less than",
|
|
3077
|
+
lessThanOrEqualTo: "Less than or equal to",
|
|
3078
|
+
empty: "Null",
|
|
3079
|
+
nonEmpty: "Not null"
|
|
3080
|
+
},
|
|
3081
|
+
actionMenu: {
|
|
3082
|
+
moreText: "More"
|
|
3083
|
+
},
|
|
3084
|
+
base: {
|
|
3085
|
+
all: "All",
|
|
3086
|
+
cancel: "Cancel",
|
|
3087
|
+
confirm: "OK",
|
|
3088
|
+
delete: "Delete",
|
|
3089
|
+
edit: "Edit",
|
|
3090
|
+
more: "More",
|
|
3091
|
+
reset: "Reset",
|
|
3092
|
+
clear: "Clear",
|
|
3093
|
+
comma: ","
|
|
3094
|
+
},
|
|
3095
|
+
button: {
|
|
3096
|
+
cancel: "Cancel",
|
|
3097
|
+
confirm: "Confirm"
|
|
3098
|
+
},
|
|
3099
|
+
buttonGroup: {
|
|
3100
|
+
noData: "No data"
|
|
3101
|
+
},
|
|
3102
|
+
buttonMessage: {
|
|
3103
|
+
cancel: "Cancel",
|
|
3104
|
+
confirm: "Confirm"
|
|
3105
|
+
},
|
|
3106
|
+
cell: {
|
|
3107
|
+
placeholder: "--Select--"
|
|
3108
|
+
},
|
|
3109
|
+
cascader: {
|
|
3110
|
+
noMatch: "No matches.",
|
|
3111
|
+
loading: "Loading",
|
|
3112
|
+
placeholder: "--Select--",
|
|
3113
|
+
noData: "No data available."
|
|
3114
|
+
},
|
|
3115
|
+
chart: {
|
|
3116
|
+
auxiliary: "Auxiliary",
|
|
3117
|
+
emptyText: "No Data",
|
|
3118
|
+
kName: "Daily K-line",
|
|
3119
|
+
other: "Other",
|
|
3120
|
+
summation: "Summation",
|
|
3121
|
+
total: "Total",
|
|
3122
|
+
value: "Value"
|
|
3123
|
+
},
|
|
3124
|
+
colorSelectPanel: {
|
|
3125
|
+
confirm: "Select",
|
|
3126
|
+
cancel: "Cancel",
|
|
3127
|
+
predefine: "Default Colors",
|
|
3128
|
+
history: "Recent Colors",
|
|
3129
|
+
empty: "None"
|
|
3130
|
+
},
|
|
3131
|
+
crop: {
|
|
3132
|
+
choose: "Select Picture",
|
|
3133
|
+
zoomOut: "Reduced by 10%",
|
|
3134
|
+
zoomIn: "Zoom in by 10%",
|
|
3135
|
+
rotate_45: "rotate -45°",
|
|
3136
|
+
rotate45: "rotate 45°",
|
|
3137
|
+
closeCropArea: "hide selection",
|
|
3138
|
+
reset: "reset",
|
|
3139
|
+
closeCrop: "Exit cropping",
|
|
3140
|
+
cropImage: "Selecting a Region"
|
|
3141
|
+
},
|
|
3142
|
+
datepicker: {
|
|
3143
|
+
clear: "Clear",
|
|
3144
|
+
cancel: "Cancel",
|
|
3145
|
+
endDate: "End Date",
|
|
3146
|
+
confirm: "OK",
|
|
3147
|
+
month: "Month",
|
|
3148
|
+
endTime: "End Time",
|
|
3149
|
+
month2: "Feb",
|
|
3150
|
+
month1: "Jan",
|
|
3151
|
+
month4: "Apr",
|
|
3152
|
+
month3: "Mar",
|
|
3153
|
+
month6: "Jun",
|
|
3154
|
+
month5: "May",
|
|
3155
|
+
month8: "Aug",
|
|
3156
|
+
month7: "Jul",
|
|
3157
|
+
month10: "Oct",
|
|
3158
|
+
month9: "Sep",
|
|
3159
|
+
month12: "Dec",
|
|
3160
|
+
month11: "Nov",
|
|
3161
|
+
months: {
|
|
3162
|
+
feb: "February",
|
|
3163
|
+
jan: "January",
|
|
3164
|
+
apr: "April",
|
|
3165
|
+
mar: "March",
|
|
3166
|
+
jun: "June",
|
|
3167
|
+
may: "May",
|
|
3168
|
+
aug: "August",
|
|
3169
|
+
jul: "July",
|
|
3170
|
+
oct: "October",
|
|
3171
|
+
sep: "September",
|
|
3172
|
+
dec: "December",
|
|
3173
|
+
nov: "November"
|
|
3174
|
+
},
|
|
3175
|
+
nextYear: "Next year",
|
|
3176
|
+
nextMonth: "Next Month",
|
|
3177
|
+
prevMonth: "Previous Month",
|
|
3178
|
+
now: "Now",
|
|
3179
|
+
selectDate: "Select a date.",
|
|
3180
|
+
prevYear: "Previous year",
|
|
3181
|
+
startDate: "Start Date",
|
|
3182
|
+
selectTime: "Select a time.",
|
|
3183
|
+
today: "Today",
|
|
3184
|
+
currentMonth: "This Month",
|
|
3185
|
+
startTime: "Start Time",
|
|
3186
|
+
week: "Week",
|
|
3187
|
+
weeks: {
|
|
3188
|
+
mon: "Mon",
|
|
3189
|
+
sun: "Sun",
|
|
3190
|
+
wed: "Wed",
|
|
3191
|
+
tue: "Tue",
|
|
3192
|
+
thu: "Thu",
|
|
3193
|
+
sat: "Sat",
|
|
3194
|
+
fri: "Fri"
|
|
3195
|
+
},
|
|
3196
|
+
timezone: "Select a time zone.",
|
|
3197
|
+
year: "",
|
|
3198
|
+
hour: "Hour",
|
|
3199
|
+
minute: "Minute",
|
|
3200
|
+
second: "Second",
|
|
3201
|
+
to: "-",
|
|
3202
|
+
yearMonth: "{month} {year}",
|
|
3203
|
+
yearMonthDay: "{month} {day}, {year}"
|
|
3204
|
+
},
|
|
3205
|
+
richTextEditor: {
|
|
3206
|
+
bold: "bold",
|
|
3207
|
+
italic: "Italic",
|
|
3208
|
+
link: "Link",
|
|
3209
|
+
unlink: "Unlink",
|
|
3210
|
+
highlight: "Highlight",
|
|
3211
|
+
underline: "Underline",
|
|
3212
|
+
strike: "Strikethrough",
|
|
3213
|
+
subscript: "Subscript",
|
|
3214
|
+
superscript: "Superscript",
|
|
3215
|
+
code: "Coding",
|
|
3216
|
+
unorderedlist: "Bullet Lists",
|
|
3217
|
+
orderedlist: "Numbered Lists",
|
|
3218
|
+
taskList: "Multi-level Lists",
|
|
3219
|
+
quote: "Reference",
|
|
3220
|
+
codeBlock: "Code Block",
|
|
3221
|
+
formatClear: "Clear Formatting",
|
|
3222
|
+
nodeDelete: "Delete Node",
|
|
3223
|
+
undo: "Undo",
|
|
3224
|
+
redo: "Redo",
|
|
3225
|
+
left: "Left-Aligned",
|
|
3226
|
+
center: "Centered",
|
|
3227
|
+
right: "Right-Aligned",
|
|
3228
|
+
fontSize: "Font Size",
|
|
3229
|
+
lineHeight: "Line Spacing",
|
|
3230
|
+
hBox: "Headings",
|
|
3231
|
+
img: "Picture",
|
|
3232
|
+
color: "Text Color",
|
|
3233
|
+
table: "Table",
|
|
3234
|
+
backgroundColor: "Background Color",
|
|
3235
|
+
localResources: "Upload Local File",
|
|
3236
|
+
resourceLink: "Past Link"
|
|
3237
|
+
},
|
|
3238
|
+
calendar: {
|
|
3239
|
+
showType: {
|
|
3240
|
+
year: "Year"
|
|
3241
|
+
}
|
|
3242
|
+
},
|
|
3243
|
+
dept: {
|
|
3244
|
+
code: "Code",
|
|
3245
|
+
company: "Company",
|
|
3246
|
+
dept1: "Level-1 Dept.",
|
|
3247
|
+
dept2: "Level-2 Dept.",
|
|
3248
|
+
dept3: "Level-3 Dept.",
|
|
3249
|
+
dept4: "Level-4 Dept.",
|
|
3250
|
+
dept5: "Level-5 Dept.",
|
|
3251
|
+
dept6: "Level-6 Dept.",
|
|
3252
|
+
dept7: "Level-7 Dept.",
|
|
3253
|
+
dept8: "Level-8 Dept.",
|
|
3254
|
+
input: "Enter a department code ID or name.",
|
|
3255
|
+
name: "Name",
|
|
3256
|
+
search: "Auxiliary Search",
|
|
3257
|
+
selected: "Selected"
|
|
3258
|
+
},
|
|
3259
|
+
dialogBox: {
|
|
3260
|
+
confirm: "OK",
|
|
3261
|
+
cancel: "Cancel"
|
|
3262
|
+
},
|
|
3263
|
+
load: {
|
|
3264
|
+
dot: "Loading…"
|
|
3265
|
+
},
|
|
3266
|
+
exception: {
|
|
3267
|
+
build: "The module is under construction.",
|
|
3268
|
+
busy: "The network is busy. Please wait",
|
|
3269
|
+
noperm: "Not find the page",
|
|
3270
|
+
weaknet: "Poor network performance",
|
|
3271
|
+
pcview: "View the file on the PC",
|
|
3272
|
+
nodata: "Get some rest",
|
|
3273
|
+
create: "Create",
|
|
3274
|
+
provide: "Provided by the TINY Team DEV",
|
|
3275
|
+
nodatamf: "No data available.",
|
|
3276
|
+
nopermmf: "Insufficient permissions.",
|
|
3277
|
+
weaknetmf: "Network error.",
|
|
3278
|
+
noresult: "No results found.",
|
|
3279
|
+
nonews: "No messages.",
|
|
3280
|
+
pagenoperm: "403 Forbidden",
|
|
3281
|
+
pageweaknet: "Network error.",
|
|
3282
|
+
pagenothing: "404 Not Found",
|
|
3283
|
+
pageservererror: "500 Internal Server Error"
|
|
3284
|
+
},
|
|
3285
|
+
fileUpload: {
|
|
3286
|
+
largefile: "The file is too large and will be uploaded in segments. Please wait.",
|
|
3287
|
+
folder: "The file cannot be uploaded because it is more than five-folder levels deep.",
|
|
3288
|
+
init: "Service error. Please try again.",
|
|
3289
|
+
token: "Before starting, perform EDM authentication and obtain the token.",
|
|
3290
|
+
exceed: "{fileName} The file size exceeds the upper limit ({maxSize}).",
|
|
3291
|
+
largeFile: "The file exceeds 2 GB.",
|
|
3292
|
+
fileSize: "{fileName} The file is less than the minimum size ({minSize} {sizeUnit}).",
|
|
3293
|
+
deleteTip: "Press the Delete key.",
|
|
3294
|
+
downloadFile: "Download",
|
|
3295
|
+
previewFile: "Preview",
|
|
3296
|
+
updateFile: "Update",
|
|
3297
|
+
reUploadFile: "Upload Again",
|
|
3298
|
+
cancelFile: "Cancel Upload",
|
|
3299
|
+
deleteFile: "Delete",
|
|
3300
|
+
empty: "The file is empty.",
|
|
3301
|
+
kiaScanTip: "KIA needs to verify the download of documents from the public network. The current document is being checked by KIA. Try again later.",
|
|
3302
|
+
fileNameExceeds: "The file name contains more than 255 characters. Shorten the file name.",
|
|
3303
|
+
fileName: "This file name",
|
|
3304
|
+
calcHash: "The document is being analyzed and encrypted.",
|
|
3305
|
+
uploadFile: "Upload",
|
|
3306
|
+
downloadAll: "Download All",
|
|
3307
|
+
onlySupport: "Only {type} files are supported.",
|
|
3308
|
+
fileNotLessThan: "A single file cannot be less than ",
|
|
3309
|
+
fileNotMoreThan: "A single file cannot exceed ",
|
|
3310
|
+
fileSizeRange: "The size of a single file must range from {moreThan} to {lessThan}.",
|
|
3311
|
+
notSupport: "The format (.{format}) is not supported.",
|
|
3312
|
+
notSupportNoSuffix: "Files without file name extensions are not supported.",
|
|
3313
|
+
notSupportSpecialCharacters: "Special characters not allowed. Rename the file and upload it again.",
|
|
3314
|
+
attachment: "Attachments",
|
|
3315
|
+
uploadList: "File List",
|
|
3316
|
+
numberExceed: "Too many files in this batch. Max. supported: {number}",
|
|
3317
|
+
numberLimit: "Maximum files per batch: {number}",
|
|
3318
|
+
encryptDialogTitle: "Watermark and Encryption",
|
|
3319
|
+
addWatermark: "Add Watermark",
|
|
3320
|
+
encrypted: "Encryption",
|
|
3321
|
+
docPreview: "Preview",
|
|
3322
|
+
networkError: "Network error.",
|
|
3323
|
+
pictureNetworkError: "Network error. File upload failed.",
|
|
3324
|
+
reUploadTip: "{number} files failed to be uploaded."
|
|
3325
|
+
},
|
|
3326
|
+
uploadList: {
|
|
3327
|
+
pictureUploading: "Uploading",
|
|
3328
|
+
uploadFailed: "Upload failed",
|
|
3329
|
+
uploading: "Uploading",
|
|
3330
|
+
download: "Download",
|
|
3331
|
+
reUpload: "Upload Again",
|
|
3332
|
+
delete: "Delete",
|
|
3333
|
+
noAttachments: "No attachments available.",
|
|
3334
|
+
cancel: "Cancel",
|
|
3335
|
+
preview: "Preview",
|
|
3336
|
+
releaseAndUpload: "Release mouse capture to upload the file.",
|
|
3337
|
+
dragOrClickImport: "Drag a file here or click to import.",
|
|
3338
|
+
shoot: "Take Photo or Video",
|
|
3339
|
+
selectFromAlbum: "Select from Album",
|
|
3340
|
+
uploadFailedAndReupload: "Upload failed. Please try again."
|
|
3341
|
+
},
|
|
3342
|
+
upload: {
|
|
3343
|
+
addPicture: "Add Picture",
|
|
3344
|
+
addAudio: "Add Audio",
|
|
3345
|
+
addVideo: "Add Video"
|
|
3346
|
+
},
|
|
3347
|
+
grid: {
|
|
3348
|
+
dataUnchanged: "Data remains unchanged.",
|
|
3349
|
+
deleteSelectRecord: "Delete the selected records?",
|
|
3350
|
+
emptyText: "No data available.",
|
|
3351
|
+
error: {
|
|
3352
|
+
delRevert: "The <strong>revert</strong> method has been deprecated. Use <strong>revertData</strong> instead.",
|
|
3353
|
+
groupFixed: "If you want to use grouping headers, place the fixed columns on the left and right sides.",
|
|
3354
|
+
notDelete: "The <strong>delete</strong> method does not exist.",
|
|
3355
|
+
notQuery: "The <strong>query</strong> method does not exist.",
|
|
3356
|
+
notResizable: "Horizontal virtual scrolling cannot be resized.",
|
|
3357
|
+
notSave: "The <strong>save</strong> method does not exist.",
|
|
3358
|
+
reqModule: "The module {{name}} is missing.",
|
|
3359
|
+
rowIdEmpty: "The <strong>row-id</strong> parameter is required.",
|
|
3360
|
+
scrollYHeight: "The height or max-height must be specified before enabling virtual scrolling.",
|
|
3361
|
+
toolbarId: "A unique ID is required for the toolbar.",
|
|
3362
|
+
treeFixedExpand: "The fixed column conflicts with row expansion in the tree structure.",
|
|
3363
|
+
treeInsert: "The tree structure does not support the <strong>insert</strong> operation.",
|
|
3364
|
+
treeRemove: "The tree structure does not support the <strong>remove</strong> operation.",
|
|
3365
|
+
unableInsert: "Unable to insert data to the specified location.",
|
|
3366
|
+
notAllowDragSelf: "Self dragging is not allowed.",
|
|
3367
|
+
notAllowDragFixed: "Fixed columns cannot be dragged.",
|
|
3368
|
+
remoteMethod: "The <strong>multipleHistory.remoteSelectedMethod</strong> must be set for the remote storage of personalized template management.",
|
|
3369
|
+
remoteSelectedMethod: '"remoteSelectedMethod" needs to be set for remote storage for personalized template management.',
|
|
3370
|
+
chainCallError: "There are syntax errors in the default slot.",
|
|
3371
|
+
renderParamError: "A rendering method is required for generating VNode.",
|
|
3372
|
+
classComponentError: "There was an error in the class component rendering.",
|
|
3373
|
+
groupColumnFixedError: "Each group must have the same type.",
|
|
3374
|
+
missingValueFormat: "The renderer cannot format the date character string. The valueFormat source date format is required.",
|
|
3375
|
+
clipboardWriteError: "Clipboard write error."
|
|
3376
|
+
},
|
|
3377
|
+
filter: {
|
|
3378
|
+
allSelect: "All",
|
|
3379
|
+
endDate: "End Date",
|
|
3380
|
+
startDate: "Start Date",
|
|
3381
|
+
dateTips: "Select at least one date.",
|
|
3382
|
+
clear: "Clear Filter Criteria from Current Column",
|
|
3383
|
+
clearAll: "Clear Filter Criteria from All Columns",
|
|
3384
|
+
confirmFilter: "Filter",
|
|
3385
|
+
empty: "Empty",
|
|
3386
|
+
emptyText: "No data available.",
|
|
3387
|
+
equal: "Equal to",
|
|
3388
|
+
include: "Contains",
|
|
3389
|
+
prefix: "Starts with",
|
|
3390
|
+
resetFilter: "Reset",
|
|
3391
|
+
unempty: "Not empty"
|
|
3392
|
+
},
|
|
3393
|
+
individuation: {
|
|
3394
|
+
cancelBtn: "Cancel",
|
|
3395
|
+
colConfigs: {
|
|
3396
|
+
asc: "Ascending",
|
|
3397
|
+
desc: "Descending",
|
|
3398
|
+
frozenLeft: "Freeze left",
|
|
3399
|
+
frozenRight: "Freeze right",
|
|
3400
|
+
invisible: "Hide",
|
|
3401
|
+
unsorted: "Unsorted",
|
|
3402
|
+
unfrozen: "Unfrozen",
|
|
3403
|
+
visible: "Show",
|
|
3404
|
+
unfreeze: "Unfreeze",
|
|
3405
|
+
unsort: "Unsort"
|
|
3406
|
+
},
|
|
3407
|
+
toolbar: {
|
|
3408
|
+
set: "Operation",
|
|
3409
|
+
selected: "Selected",
|
|
3410
|
+
freeze: "Frozen",
|
|
3411
|
+
sort: "Sorting",
|
|
3412
|
+
clear: "Clear",
|
|
3413
|
+
search: "Search",
|
|
3414
|
+
all: "All"
|
|
3415
|
+
},
|
|
3416
|
+
columnSet: "Set Columns",
|
|
3417
|
+
overwriteSave: "Overwrite and Save",
|
|
3418
|
+
saveAs: "Save As",
|
|
3419
|
+
saveTemplate: "Save",
|
|
3420
|
+
selectTemplate: "Select",
|
|
3421
|
+
hideMsg: "There must be at least one column.",
|
|
3422
|
+
maxFreezeNumMsg: "A maximum of 6 columns can be frozen.",
|
|
3423
|
+
defaultTemplateName: "Enter a name. If no name is specified, a name will be automatically generated based on the time.",
|
|
3424
|
+
reserveTemplateName: "If no new name is specified, the original name will be kept.",
|
|
3425
|
+
resetBtn: "Reset",
|
|
3426
|
+
saveBtn: "OK",
|
|
3427
|
+
hideAll: "Hide All",
|
|
3428
|
+
showAll: "Show All",
|
|
3429
|
+
tabs: {
|
|
3430
|
+
base: {
|
|
3431
|
+
title: "Basic Settings",
|
|
3432
|
+
tips: "Click the icons to customize the display style."
|
|
3433
|
+
},
|
|
3434
|
+
other: {
|
|
3435
|
+
allDataSort: "All data",
|
|
3436
|
+
currPageSort: "Current page",
|
|
3437
|
+
pageSize: "Records per Page",
|
|
3438
|
+
title: "Other Settings",
|
|
3439
|
+
tips: "Set sorting for servers or clients and the number of records on each page.",
|
|
3440
|
+
sortType: "Sorting Data"
|
|
3441
|
+
}
|
|
3442
|
+
},
|
|
3443
|
+
title: "Custom Settings",
|
|
3444
|
+
switchtitle: "Manage",
|
|
3445
|
+
switchsave: "Save",
|
|
3446
|
+
switchlabel: "Configuration List:",
|
|
3447
|
+
switchapply: "Use",
|
|
3448
|
+
switchedit: "Edit",
|
|
3449
|
+
switchdel: "Delete",
|
|
3450
|
+
switchdelconfirm: "Deletion Confirmation",
|
|
3451
|
+
switchconfirm: "Confirm",
|
|
3452
|
+
switchonlytemp: "Save",
|
|
3453
|
+
switchtempapply: "Save and Use",
|
|
3454
|
+
switchtempoverwrite: "Overwrite and Use",
|
|
3455
|
+
switchdelcon: "Delete this template?",
|
|
3456
|
+
switchdelyes: "Confirm",
|
|
3457
|
+
switchdelno: "Cancel",
|
|
3458
|
+
switchapplycon: "Use this template??"
|
|
3459
|
+
},
|
|
3460
|
+
removeSelectRecord: "Remove the selected records?",
|
|
3461
|
+
saveSuccess: "Saved successfully.",
|
|
3462
|
+
selectOneRecord: "Select at least one record.",
|
|
3463
|
+
isSaveMsg: "Some data has been modified. Save the changes?"
|
|
3464
|
+
},
|
|
3465
|
+
hrapprover: {
|
|
3466
|
+
approver: "Authorized Approver",
|
|
3467
|
+
noapprover: "No authorized approver.",
|
|
3468
|
+
noselected: "No authorized approver selected.",
|
|
3469
|
+
remark: "Remarks"
|
|
3470
|
+
},
|
|
3471
|
+
imageViewer: {
|
|
3472
|
+
loadErrorAlt: "Loading failed.",
|
|
3473
|
+
save: "Save",
|
|
3474
|
+
del: "Delete",
|
|
3475
|
+
thumbnail: "Thumbnail",
|
|
3476
|
+
menu: "Directory",
|
|
3477
|
+
hide: "Hide Sidebar",
|
|
3478
|
+
show: "Show Sidebar"
|
|
3479
|
+
},
|
|
3480
|
+
navMenu: {
|
|
3481
|
+
moreText: "More"
|
|
3482
|
+
},
|
|
3483
|
+
logout: {
|
|
3484
|
+
in: "Login",
|
|
3485
|
+
out: "Logout"
|
|
3486
|
+
},
|
|
3487
|
+
page: {
|
|
3488
|
+
goto: "Go to",
|
|
3489
|
+
item: "items",
|
|
3490
|
+
next: "Next",
|
|
3491
|
+
page: "Records/Page",
|
|
3492
|
+
pageClassifier: "page",
|
|
3493
|
+
pagesize: "Records/Page",
|
|
3494
|
+
prev: "Previous",
|
|
3495
|
+
total: "Total:",
|
|
3496
|
+
totals: "Total:",
|
|
3497
|
+
jump: "Go to",
|
|
3498
|
+
hundredThousand: "100,000+",
|
|
3499
|
+
million: "1 million+",
|
|
3500
|
+
tenMillion: "10 million+",
|
|
3501
|
+
loadingTotals: "Loading the total number of items..."
|
|
3502
|
+
},
|
|
3503
|
+
popeditor: {
|
|
3504
|
+
cancel: "Cancel",
|
|
3505
|
+
confirm: "OK",
|
|
3506
|
+
historyLists: "History",
|
|
3507
|
+
reset: "Reset",
|
|
3508
|
+
search: "Query",
|
|
3509
|
+
selectionLists: "Selected",
|
|
3510
|
+
sourceLists: "All",
|
|
3511
|
+
title: "Select",
|
|
3512
|
+
filterNode: "Enter a keyword."
|
|
3513
|
+
},
|
|
3514
|
+
popupload: {
|
|
3515
|
+
fileName: "Name",
|
|
3516
|
+
fileSize: "Size",
|
|
3517
|
+
fileStatus: "Status",
|
|
3518
|
+
dialogTitle: "Upload Files",
|
|
3519
|
+
cancelButtonText: "Cancel",
|
|
3520
|
+
tipsFileText: "Info",
|
|
3521
|
+
uploadError: "Upload failed.",
|
|
3522
|
+
uploadButtonText: "Upload",
|
|
3523
|
+
uploadSuccess: "Upload completed.",
|
|
3524
|
+
saveButtonText: "Select File",
|
|
3525
|
+
uploadsButtonText: "Select Files",
|
|
3526
|
+
errorTypeTips: "Invalid file format.",
|
|
3527
|
+
errorSizeTips: "File too large.",
|
|
3528
|
+
confirmDeleteTips: "Delete This File?",
|
|
3529
|
+
delete: "Delete",
|
|
3530
|
+
waitUpload: "Waiting for upload",
|
|
3531
|
+
operation: "Operation",
|
|
3532
|
+
success: "Upload successful",
|
|
3533
|
+
listTip: "There are a total of {0} pieces of data: ",
|
|
3534
|
+
errorListTip: "There are {0} errors in them. Please modify them and try again",
|
|
3535
|
+
limitUploadFileType: "Supported file formats",
|
|
3536
|
+
limitUploadFileNumber: "Maximum files allowed",
|
|
3537
|
+
limitUploadFileSize: "Maximum file size",
|
|
3538
|
+
errorNumTips: "The number of uploaded files exceeds the limit. The operation has been cancelled"
|
|
3539
|
+
},
|
|
3540
|
+
rate: {
|
|
3541
|
+
level: {
|
|
3542
|
+
average: "Acceptable",
|
|
3543
|
+
excellent: "Very Good",
|
|
3544
|
+
fair: "Poor",
|
|
3545
|
+
good: "Good",
|
|
3546
|
+
poor: "Very Poor"
|
|
3547
|
+
}
|
|
3548
|
+
},
|
|
3549
|
+
select: {
|
|
3550
|
+
loading: "Loading...",
|
|
3551
|
+
noData: "No data available.",
|
|
3552
|
+
noMatch: "No matches.",
|
|
3553
|
+
placeholder: "--Select--",
|
|
3554
|
+
pleaseSearch: "Enter a keyword.",
|
|
3555
|
+
search: "Search",
|
|
3556
|
+
selected: "Selected",
|
|
3557
|
+
selectedNum: "{num} selected",
|
|
3558
|
+
noSearchData: "No matches. Enter another keyword.",
|
|
3559
|
+
add: "Add",
|
|
3560
|
+
collapse: "Collapse"
|
|
3561
|
+
},
|
|
3562
|
+
search: {
|
|
3563
|
+
placeholder: "Search"
|
|
3564
|
+
},
|
|
3565
|
+
signature: {
|
|
3566
|
+
confirm: "Done",
|
|
3567
|
+
rewrite: "Re-sign",
|
|
3568
|
+
cancel: "Cancel",
|
|
3569
|
+
tips: "Handwritten signature required.",
|
|
3570
|
+
resign: "Re-sign",
|
|
3571
|
+
placeholder: "Please sign here (mandatory)."
|
|
3572
|
+
},
|
|
3573
|
+
tabs: {
|
|
3574
|
+
moreItem: "More"
|
|
3575
|
+
},
|
|
3576
|
+
tag: {
|
|
3577
|
+
add: "Add"
|
|
3578
|
+
},
|
|
3579
|
+
toggleMenu: {
|
|
3580
|
+
placeholder: "Enter a keyword."
|
|
3581
|
+
},
|
|
3582
|
+
treeMenu: {
|
|
3583
|
+
placeholder: "Enter a keyword."
|
|
3584
|
+
},
|
|
3585
|
+
transfer: {
|
|
3586
|
+
filterPlaceholder: "Enter a keyword.",
|
|
3587
|
+
hasCheckedFormat: "{checked}/{total} checked",
|
|
3588
|
+
noData: "No data available.",
|
|
3589
|
+
noMatch: "No matches.",
|
|
3590
|
+
noCheckedFormat: "{total} items",
|
|
3591
|
+
titles: ["List 1", "List 2"]
|
|
3592
|
+
},
|
|
3593
|
+
tree: {
|
|
3594
|
+
loading: "Loading...",
|
|
3595
|
+
emptyText: "No data available.",
|
|
3596
|
+
switchText: "Select child nodes",
|
|
3597
|
+
edit: "Edit",
|
|
3598
|
+
delete: "Delete",
|
|
3599
|
+
addChild: "Add Child",
|
|
3600
|
+
newNodeTitle: "Add Child Node",
|
|
3601
|
+
deleteTip1: "Deleted data cannot be restored. Continue?",
|
|
3602
|
+
deleteTip2: "This node has child nodes. Retain them?",
|
|
3603
|
+
deleteTip3: "Retain child nodes"
|
|
3604
|
+
},
|
|
3605
|
+
usercard: {
|
|
3606
|
+
address: "Address",
|
|
3607
|
+
collapse: "Show less",
|
|
3608
|
+
email: "Email",
|
|
3609
|
+
empno: "Employee ID",
|
|
3610
|
+
expand: "Show more",
|
|
3611
|
+
fax: "Fax",
|
|
3612
|
+
internal: "Extension",
|
|
3613
|
+
manager: "Supervisor",
|
|
3614
|
+
mobile: "Mobile",
|
|
3615
|
+
other: "Additional Info",
|
|
3616
|
+
phone: "Landline",
|
|
3617
|
+
timezone: "Time Zone",
|
|
3618
|
+
travelcode: "Out-of-Office Message for a Business Trip",
|
|
3619
|
+
viop: "VIOP"
|
|
3620
|
+
},
|
|
3621
|
+
richText: {
|
|
3622
|
+
bold: "Bold",
|
|
3623
|
+
italic: "Tilt",
|
|
3624
|
+
underline: "Underline",
|
|
3625
|
+
header: "Paragraph Format",
|
|
3626
|
+
strike: "Delete Line",
|
|
3627
|
+
blockquote: "Block Reference",
|
|
3628
|
+
codeBlock: "Insert Code Segment",
|
|
3629
|
+
size: "Font Size",
|
|
3630
|
+
listOrdered: "No. List",
|
|
3631
|
+
listBullet: "Project List",
|
|
3632
|
+
header1: "H1",
|
|
3633
|
+
header2: "H2",
|
|
3634
|
+
align: "Alignment Mode",
|
|
3635
|
+
color: "Font Color",
|
|
3636
|
+
background: "Background Color",
|
|
3637
|
+
image: "Image",
|
|
3638
|
+
video: "Video",
|
|
3639
|
+
link: "Add Link",
|
|
3640
|
+
formula: "Insert Function",
|
|
3641
|
+
clean: "Clear Format",
|
|
3642
|
+
indent1: "Indent To The Left",
|
|
3643
|
+
indent2: "Indent To The Right",
|
|
3644
|
+
pickerLabel: "Title Size",
|
|
3645
|
+
headerPicker1: "Title 1",
|
|
3646
|
+
headerPicker2: "Title 2",
|
|
3647
|
+
headerPicker3: "Title 3",
|
|
3648
|
+
headerPicker4: "Title 4",
|
|
3649
|
+
headerPicker5: "Title 5",
|
|
3650
|
+
headerPicker6: "Title 6",
|
|
3651
|
+
normal: "Normal",
|
|
3652
|
+
sizeSmall: "Small",
|
|
3653
|
+
sizeLarge: "Large",
|
|
3654
|
+
sizeHuge: "Super Large Size",
|
|
3655
|
+
alignPicker1: "Align To The Left",
|
|
3656
|
+
alignPicker2: "Align In The Center",
|
|
3657
|
+
alignPicker3: "Align To The Right",
|
|
3658
|
+
alignPicker4: "Align The Two Ends",
|
|
3659
|
+
subScript: "Subscript",
|
|
3660
|
+
superScript: "Superscript",
|
|
3661
|
+
directionRTL: "Right To Left",
|
|
3662
|
+
font: "Font",
|
|
3663
|
+
file: "File",
|
|
3664
|
+
betterTable: "Table",
|
|
3665
|
+
fullscreen: "Fullscreen",
|
|
3666
|
+
insertColumnRight: "Insert Column Right",
|
|
3667
|
+
insertColumnLeft: "Insert Column Left",
|
|
3668
|
+
insertRowUp: "Insert Row Up",
|
|
3669
|
+
insertRowDown: "Insert Row Down",
|
|
3670
|
+
mergeCells: "Merge Cells",
|
|
3671
|
+
unmergeCells: "Split Cells",
|
|
3672
|
+
deleteColumn: "Delete Current Column",
|
|
3673
|
+
deleteRow: "Delete Current Row",
|
|
3674
|
+
deleteTable: "Delete Table",
|
|
3675
|
+
colorPicker: "Background Color",
|
|
3676
|
+
placeholder: "Insert text here...",
|
|
3677
|
+
maxLength: "Text Length exceeds the Limit, max Length config is "
|
|
3678
|
+
},
|
|
3679
|
+
fluentEditor: {
|
|
3680
|
+
undo: "Undo",
|
|
3681
|
+
redo: "Redo",
|
|
3682
|
+
lineheight: "Line Height"
|
|
3683
|
+
},
|
|
3684
|
+
steps: {
|
|
3685
|
+
done: "Completed",
|
|
3686
|
+
doing: "In Progress",
|
|
3687
|
+
wait: "Pending"
|
|
3688
|
+
},
|
|
3689
|
+
actionSheet: {
|
|
3690
|
+
cancel: "Cancel"
|
|
3691
|
+
},
|
|
3692
|
+
image: {
|
|
3693
|
+
loadFail: "Loading failed."
|
|
3694
|
+
},
|
|
3695
|
+
miniPicker: {
|
|
3696
|
+
cancel: "Cancel",
|
|
3697
|
+
confirm: "OK"
|
|
3698
|
+
},
|
|
3699
|
+
pullRefresh: {
|
|
3700
|
+
pullingDown: "Pull down to refresh.",
|
|
3701
|
+
pullingUp: "Pull up to refresh.",
|
|
3702
|
+
pulling: "Pull down to refresh.",
|
|
3703
|
+
loosing: "Release to refresh.",
|
|
3704
|
+
success: "Refreshed.",
|
|
3705
|
+
failed: "Refresh failed.",
|
|
3706
|
+
noMore: "No more data."
|
|
3707
|
+
},
|
|
3708
|
+
currency: {
|
|
3709
|
+
defaultCurrency: "Default",
|
|
3710
|
+
setDefault: "Set as default",
|
|
3711
|
+
chooseCurrency: "Select Currency"
|
|
3712
|
+
},
|
|
3713
|
+
calendarBar: {
|
|
3714
|
+
week: {
|
|
3715
|
+
0: "Sun",
|
|
3716
|
+
1: "Mon",
|
|
3717
|
+
2: "Tue",
|
|
3718
|
+
3: "Wed",
|
|
3719
|
+
4: "Thu",
|
|
3720
|
+
5: "Fri",
|
|
3721
|
+
6: "Sat"
|
|
3722
|
+
},
|
|
3723
|
+
year: "%s",
|
|
3724
|
+
yearMonth: "%m %y",
|
|
3725
|
+
month: {
|
|
3726
|
+
1: "Jan",
|
|
3727
|
+
2: "Feb",
|
|
3728
|
+
3: "Mar",
|
|
3729
|
+
4: "Apr",
|
|
3730
|
+
5: "May",
|
|
3731
|
+
6: "Jun",
|
|
3732
|
+
7: "Jul",
|
|
3733
|
+
8: "Aug",
|
|
3734
|
+
9: "Sep",
|
|
3735
|
+
10: "Oct",
|
|
3736
|
+
11: "Nov",
|
|
3737
|
+
12: "Dec"
|
|
3738
|
+
},
|
|
3739
|
+
monthAbbr: {
|
|
3740
|
+
1: "Jan",
|
|
3741
|
+
2: "Feb",
|
|
3742
|
+
3: "Mar",
|
|
3743
|
+
4: "Apr",
|
|
3744
|
+
5: "May",
|
|
3745
|
+
6: "Jun",
|
|
3746
|
+
7: "Jul",
|
|
3747
|
+
8: "Aug",
|
|
3748
|
+
9: "Sept",
|
|
3749
|
+
10: "Oct",
|
|
3750
|
+
11: "Nov",
|
|
3751
|
+
12: "Dec"
|
|
3752
|
+
}
|
|
3753
|
+
},
|
|
3754
|
+
calendarView: {
|
|
3755
|
+
week: {
|
|
3756
|
+
0: "Sun",
|
|
3757
|
+
1: "Mon",
|
|
3758
|
+
2: "Tue",
|
|
3759
|
+
3: "Wed",
|
|
3760
|
+
4: "Thu",
|
|
3761
|
+
5: "Fri",
|
|
3762
|
+
6: "Sat"
|
|
3763
|
+
},
|
|
3764
|
+
weekDays: {
|
|
3765
|
+
0: "SUN",
|
|
3766
|
+
1: "MON",
|
|
3767
|
+
2: "TUE",
|
|
3768
|
+
3: "WED",
|
|
3769
|
+
4: "THU",
|
|
3770
|
+
5: "FRI",
|
|
3771
|
+
6: "SAT"
|
|
3772
|
+
},
|
|
3773
|
+
backToday: "Today",
|
|
3774
|
+
new: "Add",
|
|
3775
|
+
noSchedule: "No Schedule",
|
|
3776
|
+
year: "",
|
|
3777
|
+
month: "",
|
|
3778
|
+
dateFormat: "yyyy-MM"
|
|
3779
|
+
},
|
|
3780
|
+
selectedBox: {
|
|
3781
|
+
select: "Selected (%s)",
|
|
3782
|
+
allSelect: "All Selected (%s)",
|
|
3783
|
+
clear: "Clear",
|
|
3784
|
+
noData: "No data"
|
|
3785
|
+
},
|
|
3786
|
+
record: {
|
|
3787
|
+
record: "Recording",
|
|
3788
|
+
cancel: "Cancel",
|
|
3789
|
+
confirm: "OK",
|
|
3790
|
+
clickToStartRecording: "Click to record.",
|
|
3791
|
+
clickToResumeRecording: "Click to continue recording."
|
|
3792
|
+
},
|
|
3793
|
+
dialogSelect: {
|
|
3794
|
+
treeSearch: "Enter a keyword and press Enter."
|
|
3795
|
+
},
|
|
3796
|
+
loadList: {
|
|
3797
|
+
errorText: "Something went wrong.",
|
|
3798
|
+
loadingText: "Loading...",
|
|
3799
|
+
finishedText: "There's no more."
|
|
3800
|
+
}
|
|
3801
|
+
},
|
|
3802
|
+
validation: {
|
|
3803
|
+
array: {
|
|
3804
|
+
len: "This field must contain %s characters.",
|
|
3805
|
+
min: "This field must contain %s characters or more.",
|
|
3806
|
+
max: "This field must contain %s characters or less.",
|
|
3807
|
+
range: "This field must have %s to %s characters."
|
|
3808
|
+
},
|
|
3809
|
+
date: {
|
|
3810
|
+
format: "The date %s does not match the %s format.",
|
|
3811
|
+
invalid: "%s field verification error.",
|
|
3812
|
+
parse: "Unable to parse %s, %s is invalid"
|
|
3813
|
+
},
|
|
3814
|
+
default: "%s field verification error.",
|
|
3815
|
+
enum: "Must be one of %s",
|
|
3816
|
+
number: {
|
|
3817
|
+
len: "The value must be %s.",
|
|
3818
|
+
min: "The value must be %s or larger.",
|
|
3819
|
+
max: "The value must be %s or less.",
|
|
3820
|
+
range: "The value must be between %s and %s."
|
|
3821
|
+
},
|
|
3822
|
+
pattern: {
|
|
3823
|
+
mismatch: "The value %s does not match %s."
|
|
3824
|
+
},
|
|
3825
|
+
required: "Required field",
|
|
3826
|
+
string: {
|
|
3827
|
+
len: "This field must contain %s characters.",
|
|
3828
|
+
min: "This field must contain at least %s characters.",
|
|
3829
|
+
max: "This field can contain a maximum of %s characters.",
|
|
3830
|
+
range: "This field must contain %s to %s characters."
|
|
3831
|
+
},
|
|
3832
|
+
types: {
|
|
3833
|
+
acceptFile: "Only files are supported.",
|
|
3834
|
+
acceptImg: "Only images are supported.",
|
|
3835
|
+
array: "Invalid array.",
|
|
3836
|
+
boolean: "Invalid boolean value.",
|
|
3837
|
+
date: "Invalid date format.",
|
|
3838
|
+
dateTime: "Invalid date and time format.",
|
|
3839
|
+
dateYM: "The date format (yyyy-mm) does not comply with the rule.",
|
|
3840
|
+
dateYMD: "The date format (y-MM-dd) does not comply with the rule.",
|
|
3841
|
+
digits: "Invalid number only.",
|
|
3842
|
+
email: "Invalid email address.",
|
|
3843
|
+
fileSize: "The file size is not in the correct format, such as 3kb.",
|
|
3844
|
+
float: "Invalid floating point number.",
|
|
3845
|
+
hex: "Invalid hexadecimal number.",
|
|
3846
|
+
integer: "Invalid integer.",
|
|
3847
|
+
longDateTime: "Invalid long date format.",
|
|
3848
|
+
method: "Must be a function.",
|
|
3849
|
+
number: "Invalid number.",
|
|
3850
|
+
object: "Invalid object.",
|
|
3851
|
+
regexp: "Invalid regular expression.",
|
|
3852
|
+
specialch: "Only digits, letters, underscores (_), hyphens (-), and dots (.) are allowed.",
|
|
3853
|
+
specialch2: "Only digits, letters, underscores (_), and hyphens (-) are allowed.",
|
|
3854
|
+
speczh: "Only digits, letters, and underscores (_) are allowed.",
|
|
3855
|
+
string: "Invalid string.",
|
|
3856
|
+
time: "Invalid time format.",
|
|
3857
|
+
url: "Invalid URL.",
|
|
3858
|
+
version: "Invalid version format."
|
|
3859
|
+
},
|
|
3860
|
+
whitespace: "This field cannot be left blank."
|
|
3861
|
+
}
|
|
3862
|
+
}, xo = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
3863
|
+
function So(r) {
|
|
3864
|
+
for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), o = 1; o < e; o++)
|
|
3865
|
+
n[o - 1] = arguments[o];
|
|
3866
|
+
return n.length === 1 && typeof n[0] == "object" && (n = n[0]), (!n || !n.hasOwnProperty) && (n = {}), r.replace(xo, function(i, t, a, s) {
|
|
3867
|
+
var c;
|
|
3868
|
+
return r[s - 1] === "{" && r[s + i.length] === "}" ? a : (c = Object.prototype.hasOwnProperty.call(n, a) ? n[a] : null, c ?? "");
|
|
3869
|
+
});
|
|
3870
|
+
}
|
|
3871
|
+
var fe = Oe, pe = null, Me = function(e, n) {
|
|
3872
|
+
if (n === void 0 && (n = void 0), pe) return pe.apply(this, arguments);
|
|
3873
|
+
for (var o = e.split("."), i = null, t = fe, a = 0, s = o.length; a < s; a++) {
|
|
3874
|
+
var c = o[a];
|
|
3875
|
+
if (i = t[c] || "", a === s - 1) return So(i, n);
|
|
3876
|
+
if (!i) return "";
|
|
3877
|
+
t = i;
|
|
3878
|
+
}
|
|
3879
|
+
return "";
|
|
3880
|
+
}, vr = function(e) {
|
|
3881
|
+
return fe = e || fe, fe;
|
|
3882
|
+
}, Co = function() {
|
|
3883
|
+
return fe.code;
|
|
3884
|
+
}, yr = function(e) {
|
|
3885
|
+
return pe = e || Me, pe;
|
|
3886
|
+
}, it = Ee, br = function(e) {
|
|
3887
|
+
var n = e.app, o = e.createI18n, i = e.messages, t = i === void 0 ? {} : i, a = e.i18n, s = a === void 0 ? {} : a, c = e.merge;
|
|
3888
|
+
typeof c != "function" && (c = function(p) {
|
|
3889
|
+
var u = p.lang, m = p.i18n, w = p.messages;
|
|
3890
|
+
return it(!0, u, m.messages, w);
|
|
3891
|
+
});
|
|
3892
|
+
var f = {
|
|
3893
|
+
zhCN: Oe,
|
|
3894
|
+
enUS: ot
|
|
3895
|
+
};
|
|
3896
|
+
if (typeof o == "function") {
|
|
3897
|
+
var d = o({
|
|
3898
|
+
legacy: s.legacy,
|
|
3899
|
+
locale: s.locale || "zhCN",
|
|
3900
|
+
messages: c({
|
|
3901
|
+
lang: f,
|
|
3902
|
+
i18n: s,
|
|
3903
|
+
messages: t
|
|
3904
|
+
})
|
|
3905
|
+
});
|
|
3906
|
+
return pe = function(p, u) {
|
|
3907
|
+
return d.global.t(p, u);
|
|
3908
|
+
}, d;
|
|
3909
|
+
}
|
|
3910
|
+
return n && n.config && n.config.globalProperties && (n.config.globalProperties.$t = Me), c({
|
|
3911
|
+
lang: f,
|
|
3912
|
+
i18n: s,
|
|
3913
|
+
messages: t
|
|
3914
|
+
});
|
|
3915
|
+
}, wr = !0, Tr = !1, ko = {
|
|
3916
|
+
isVue2: wr,
|
|
3917
|
+
isVue3: Tr,
|
|
3918
|
+
use: vr,
|
|
3919
|
+
t: Me,
|
|
3920
|
+
i18n: yr,
|
|
3921
|
+
initI18n: br,
|
|
3922
|
+
extend: it,
|
|
3923
|
+
zhCN: Oe,
|
|
3924
|
+
enUS: ot
|
|
3925
|
+
}, J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3926
|
+
__proto__: null,
|
|
3927
|
+
default: ko,
|
|
3928
|
+
enUS: ot,
|
|
3929
|
+
extend: it,
|
|
3930
|
+
i18n: yr,
|
|
3931
|
+
initI18n: br,
|
|
3932
|
+
isVue2: wr,
|
|
3933
|
+
isVue3: Tr,
|
|
3934
|
+
language: Co,
|
|
3935
|
+
t: Me,
|
|
3936
|
+
use: vr,
|
|
3937
|
+
zhCN: Oe
|
|
3938
|
+
}, Symbol.toStringTag, {
|
|
3939
|
+
value: "Module"
|
|
3940
|
+
}));
|
|
3941
|
+
J.use;
|
|
3942
|
+
var Lt = J.t;
|
|
3943
|
+
J.i18n;
|
|
3944
|
+
J.initI18n;
|
|
3945
|
+
J.extend;
|
|
3946
|
+
J.zhCN;
|
|
3947
|
+
J.enUS;
|
|
3948
|
+
J.language;
|
|
3949
|
+
const _o = ({ onMounted: r, onActivated: e, nextTick: n }) => (o) => {
|
|
3950
|
+
let i;
|
|
3951
|
+
r(() => {
|
|
3952
|
+
o(), n(() => i = !0);
|
|
3953
|
+
}), e(() => i && o());
|
|
3954
|
+
}, Ao = ({ getCurrentInstance: r, isVue2: e, nextTick: n, onUnmounted: o }) => () => {
|
|
3955
|
+
const i = r().proxy;
|
|
3956
|
+
e || Object.defineProperty(i, "$scopedSlots", { configurable: !0, value: null }), Object.defineProperty(i, "instanceSlots", {
|
|
3957
|
+
configurable: !0,
|
|
3958
|
+
get: () => i.$scopedSlots || i.$slots
|
|
3959
|
+
}), o(() => {
|
|
3960
|
+
n(() => {
|
|
3961
|
+
e || delete i.$scopedSlots, delete i.instanceSlots;
|
|
3962
|
+
});
|
|
3963
|
+
});
|
|
3964
|
+
}, Eo = ({
|
|
3965
|
+
computed: r,
|
|
3966
|
+
getCurrentInstance: e,
|
|
3967
|
+
inject: n,
|
|
3968
|
+
markRaw: o,
|
|
3969
|
+
nextTick: i,
|
|
3970
|
+
onMounted: t,
|
|
3971
|
+
onActivated: a,
|
|
3972
|
+
onUnmounted: s,
|
|
3973
|
+
provide: c,
|
|
3974
|
+
reactive: f,
|
|
3975
|
+
toRef: d
|
|
3976
|
+
}) => ({ relationKey: l, relationContainer: p, onChange: u, childrenKey: m, delivery: w } = {}) => {
|
|
3977
|
+
if (!l)
|
|
3978
|
+
throw new Error("[TINY Error]<relationKey> must exist.");
|
|
3979
|
+
const h = e(), x = f({ children: [], indexInParent: -1 }), y = n(l, null);
|
|
3980
|
+
let g = [];
|
|
3981
|
+
if (y) {
|
|
3982
|
+
const { link: T, unlink: C, callbacks: O, childrenKey: I, delivery: F } = y;
|
|
3983
|
+
g = O, m = m || I || "instanceChildren", w = F, x.indexInParent = T(h), s(() => C(h));
|
|
3984
|
+
} else {
|
|
3985
|
+
m = m || "instanceChildren";
|
|
3986
|
+
const T = _o({ onMounted: t, onActivated: a, nextTick: i }), C = u ? () => i(u) : $n;
|
|
3987
|
+
let O;
|
|
3988
|
+
i(() => {
|
|
3989
|
+
const I = typeof p == "function" ? p() : p;
|
|
3990
|
+
I && (O = new MutationObserver((F, D) => {
|
|
3991
|
+
const $ = [];
|
|
3992
|
+
xr(I.childNodes, $), g.forEach((B) => B($, F, D)), C();
|
|
3993
|
+
}), O.observe(I, { attributes: !0, childList: !0, subtree: !0 }));
|
|
3994
|
+
}), T(() => C()), s(() => {
|
|
3995
|
+
O && (O.disconnect(), O = null), g = null;
|
|
3996
|
+
});
|
|
3997
|
+
}
|
|
3998
|
+
const k = (T) => {
|
|
3999
|
+
const C = T.proxy;
|
|
4000
|
+
return x.children.push(o(C)), r(() => x.children.indexOf(C));
|
|
4001
|
+
}, _ = (T) => {
|
|
4002
|
+
const C = x.children.indexOf(T.proxy);
|
|
4003
|
+
C > -1 && x.children.splice(C, 1);
|
|
4004
|
+
};
|
|
4005
|
+
return g.push((T) => Oo(x.children, T)), c(l, { link: k, unlink: _, callbacks: g, childrenKey: m, delivery: w }), Object.defineProperty(h.proxy, m, { configurable: !0, get: () => x.children }), s(() => delete h.proxy[m]), { children: d(x, "children"), index: d(x, "indexInParent"), delivery: w };
|
|
4006
|
+
}, xr = (r, e) => {
|
|
4007
|
+
r.length && r.forEach((n) => {
|
|
4008
|
+
e.push(n), n.childNodes && xr(n.childNodes, e);
|
|
4009
|
+
});
|
|
4010
|
+
}, Oo = (r, e) => {
|
|
4011
|
+
r.sort((n, o) => e.indexOf(n.$el) - e.indexOf(o.$el));
|
|
4012
|
+
};
|
|
4013
|
+
function ae() {
|
|
4014
|
+
return ae = Object.assign ? Object.assign.bind() : function(r) {
|
|
4015
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
4016
|
+
var n = arguments[e];
|
|
4017
|
+
for (var o in n) ({}).hasOwnProperty.call(n, o) && (r[o] = n[o]);
|
|
4018
|
+
}
|
|
4019
|
+
return r;
|
|
4020
|
+
}, ae.apply(null, arguments);
|
|
4021
|
+
}
|
|
4022
|
+
var Sr = function() {
|
|
4023
|
+
var e = {}, n = function(t, a, s) {
|
|
4024
|
+
if (s === void 0 && (s = !1), t && typeof t == "string" && typeof a == "function") {
|
|
4025
|
+
var c = e[t] || [];
|
|
4026
|
+
e[t] = c, c.push(a), a.once = s;
|
|
4027
|
+
}
|
|
4028
|
+
}, o = {
|
|
4029
|
+
emit: function(t) {
|
|
4030
|
+
var a = arguments, s = e[t];
|
|
4031
|
+
s && (s.forEach(function(c) {
|
|
4032
|
+
return c.apply(null, [].slice.call(a, 1));
|
|
4033
|
+
}), e[t] = s.filter(function(c) {
|
|
4034
|
+
return !c.once;
|
|
4035
|
+
}));
|
|
4036
|
+
},
|
|
4037
|
+
on: n,
|
|
4038
|
+
once: function(t, a) {
|
|
4039
|
+
n(t, a, !0);
|
|
4040
|
+
},
|
|
4041
|
+
off: function(t, a) {
|
|
4042
|
+
if (t && typeof t == "string") {
|
|
4043
|
+
var s = e[t];
|
|
4044
|
+
typeof a == "function" ? e[t] = s.filter(function(c) {
|
|
4045
|
+
return c !== a;
|
|
4046
|
+
}) : delete e[t];
|
|
4047
|
+
} else
|
|
4048
|
+
e = {};
|
|
4049
|
+
}
|
|
4050
|
+
};
|
|
4051
|
+
return o;
|
|
4052
|
+
}, Mo = function(e, n) {
|
|
4053
|
+
n === void 0 && (n = {});
|
|
4054
|
+
var o = {};
|
|
4055
|
+
for (var i in e)
|
|
4056
|
+
i.indexOf("_") !== 0 && (o[i] = e[i]);
|
|
4057
|
+
for (var t in n)
|
|
4058
|
+
o[t] = n[t];
|
|
4059
|
+
return o;
|
|
4060
|
+
}, Po = function(e, n) {
|
|
4061
|
+
if (e === void 0 && (e = {}), typeof n == "object") {
|
|
4062
|
+
var o = Array.isArray(n) ? n : Object.keys(n).filter(function(t) {
|
|
4063
|
+
return n[t];
|
|
4064
|
+
}), i = "";
|
|
4065
|
+
return o.forEach(function(t) {
|
|
4066
|
+
e[t] && (i += e[t] + " ");
|
|
4067
|
+
}), i;
|
|
4068
|
+
} else
|
|
4069
|
+
return e[n] || "";
|
|
4070
|
+
}, Ye = typeof window > "u" ? null : window.__Longque__, Io = S.defineAsyncComponent, Fo = S.markRaw, Cr = function(e) {
|
|
4071
|
+
var n = e.view, o = n === void 0 ? void 0 : n, i = e.component, t = i === void 0 ? void 0 : i, a = e.props, s = e.customDesignProps, c = e.context, f = c.attrs, d = c.slots, l = e.extend, p = l === void 0 ? {} : l;
|
|
4072
|
+
return function() {
|
|
4073
|
+
return S.h(o && o.value || t, ae({
|
|
4074
|
+
ref: "modeTemplate"
|
|
4075
|
+
}, a, f, s, p), d);
|
|
4076
|
+
};
|
|
4077
|
+
}, at = function(e) {
|
|
4078
|
+
var n = S.getCurrentInstance();
|
|
4079
|
+
return e && _r(n), n == null ? void 0 : n.appContext.config.globalProperties;
|
|
4080
|
+
}, Lo = function() {
|
|
4081
|
+
var e, n = S.getCurrentInstance();
|
|
4082
|
+
return (n == null || (e = n.vnode) == null ? void 0 : e.props) || {};
|
|
4083
|
+
}, kr = function() {
|
|
4084
|
+
var e, n = S.getCurrentInstance(), o = n == null || (e = n.type) == null ? void 0 : e.name;
|
|
4085
|
+
if (!o) {
|
|
4086
|
+
var i, t;
|
|
4087
|
+
o = n == null || (i = n.parent) == null || (t = i.type) == null ? void 0 : t.name;
|
|
4088
|
+
}
|
|
4089
|
+
return o || "";
|
|
4090
|
+
}, Do = function() {
|
|
4091
|
+
var e;
|
|
4092
|
+
return ((e = S.getCurrentInstance()) == null ? void 0 : e.appContext) || {
|
|
4093
|
+
component: function() {
|
|
4094
|
+
}
|
|
4095
|
+
};
|
|
4096
|
+
}, zo = function() {
|
|
4097
|
+
var e = S.getCurrentInstance();
|
|
4098
|
+
return (e == null ? void 0 : e.appContext.config.globalProperties) || {};
|
|
4099
|
+
}, Ro = function(e) {
|
|
4100
|
+
var n;
|
|
4101
|
+
e === void 0 && (e = S.getCurrentInstance());
|
|
4102
|
+
var o = (n = e) == null ? void 0 : n.appContext.config.globalProperties.$router, i = o && o.currentRoute.value;
|
|
4103
|
+
return {
|
|
4104
|
+
route: i,
|
|
4105
|
+
router: o
|
|
4106
|
+
};
|
|
4107
|
+
}, _r = function(e) {
|
|
4108
|
+
var n = Sr();
|
|
4109
|
+
typeof e.$emitter > "u" && Object.defineProperty(e, "$emitter", {
|
|
4110
|
+
get: function() {
|
|
4111
|
+
return n;
|
|
4112
|
+
}
|
|
4113
|
+
});
|
|
4114
|
+
}, No = function(e) {
|
|
4115
|
+
var n = function(i, t, a, s) {
|
|
4116
|
+
var c = i.subTree && i.subTree.children || i.children;
|
|
4117
|
+
Array.isArray(c) && c.forEach(function(f) {
|
|
4118
|
+
var d = f.type && f.type.componentName, l = f.component;
|
|
4119
|
+
d === t ? (l.emit(a, s), l.$emitter && l.$emitter.emit(a, s)) : n(f, t, a, s);
|
|
4120
|
+
});
|
|
4121
|
+
};
|
|
4122
|
+
return {
|
|
4123
|
+
dispatch: function(i, t, a) {
|
|
4124
|
+
for (var s = e.parent || e.root, c = s.type && s.type.componentName; s && (!c || c !== i); )
|
|
4125
|
+
s = s.parent, s && (c = s.type && s.type.componentName);
|
|
4126
|
+
if (s) {
|
|
4127
|
+
var f, d;
|
|
4128
|
+
(f = s).emit.apply(f, [t].concat(a)), s.$emitter && (d = s.$emitter).emit.apply(d, [t].concat(a));
|
|
4129
|
+
}
|
|
4130
|
+
},
|
|
4131
|
+
broadcast: function(i, t, a) {
|
|
4132
|
+
n(e, i, t, a);
|
|
4133
|
+
}
|
|
4134
|
+
};
|
|
4135
|
+
}, _e = function(e) {
|
|
4136
|
+
if (e && e.parent) return e.parent.type.name === "AsyncComponentWrapper" && e.parent.parent ? e.parent.parent : e.parent;
|
|
4137
|
+
}, jo = function(e) {
|
|
4138
|
+
return function(n) {
|
|
4139
|
+
var o = _e(e), i = 0, t = function(s) {
|
|
4140
|
+
return {
|
|
4141
|
+
level: i,
|
|
4142
|
+
vm: W({}, s),
|
|
4143
|
+
el: s.vnode.el,
|
|
4144
|
+
options: s.type
|
|
4145
|
+
};
|
|
4146
|
+
};
|
|
4147
|
+
if (typeof n != "function") return o ? t(o) : {};
|
|
4148
|
+
for (i++; o && !n(t(o)); )
|
|
4149
|
+
o = _e(o), i++;
|
|
4150
|
+
};
|
|
4151
|
+
}, Bo = function(e) {
|
|
4152
|
+
return function(n) {
|
|
4153
|
+
if (typeof n != "function") return Ar(e.subTree);
|
|
4154
|
+
var o = 1, i = function(a) {
|
|
4155
|
+
if (a) {
|
|
4156
|
+
var s = a.children || a.dynamicChildren, c = o++;
|
|
4157
|
+
if (Array.isArray(s)) {
|
|
4158
|
+
if (s.some(function(f) {
|
|
4159
|
+
return f.component && n({
|
|
4160
|
+
level: c,
|
|
4161
|
+
vm: W({}, f.component),
|
|
4162
|
+
el: f.el,
|
|
4163
|
+
options: f.type,
|
|
4164
|
+
isLevel1: !0
|
|
4165
|
+
});
|
|
4166
|
+
})) return;
|
|
4167
|
+
s.forEach(function(f) {
|
|
4168
|
+
return i(f);
|
|
4169
|
+
});
|
|
4170
|
+
}
|
|
4171
|
+
}
|
|
4172
|
+
};
|
|
4173
|
+
i(e.subTree);
|
|
4174
|
+
};
|
|
4175
|
+
}, Uo = /^on[A-Z]/, $o = function(e) {
|
|
4176
|
+
var n = {}, o = {};
|
|
4177
|
+
for (var i in e) {
|
|
4178
|
+
var t = e[i];
|
|
4179
|
+
if (Uo.test(i) && typeof t == "function") {
|
|
4180
|
+
o[Pn(i.substr(2))] = t;
|
|
4181
|
+
continue;
|
|
4182
|
+
}
|
|
4183
|
+
n[i] = t;
|
|
4184
|
+
}
|
|
4185
|
+
return {
|
|
4186
|
+
$attrs: n,
|
|
4187
|
+
$listeners: o
|
|
4188
|
+
};
|
|
4189
|
+
}, Ar = function(e) {
|
|
4190
|
+
var n = [];
|
|
4191
|
+
if (n.refs = {}, e) {
|
|
4192
|
+
var o = e.dynamicChildren || e.children;
|
|
4193
|
+
Array.isArray(o) ? o.forEach(function(i) {
|
|
4194
|
+
if (i.component) {
|
|
4195
|
+
var t = W({}, i.component);
|
|
4196
|
+
n.push(t), i.props.ref && (n.refs[i.props.ref] = t);
|
|
4197
|
+
}
|
|
4198
|
+
}) : e.component && n.push(W({}, e.component));
|
|
4199
|
+
}
|
|
4200
|
+
return n;
|
|
4201
|
+
}, Je = function(e, n, o, i) {
|
|
4202
|
+
var t = function(c) {
|
|
4203
|
+
if (typeof i == "function" && i(c)) return 1;
|
|
4204
|
+
Object.defineProperty(e, c, {
|
|
4205
|
+
configurable: !0,
|
|
4206
|
+
enumerable: !0,
|
|
4207
|
+
get: function() {
|
|
4208
|
+
return n[o][c];
|
|
4209
|
+
},
|
|
4210
|
+
set: function(d) {
|
|
4211
|
+
return n[o][c] = d;
|
|
4212
|
+
}
|
|
4213
|
+
});
|
|
4214
|
+
};
|
|
4215
|
+
for (var a in n[o])
|
|
4216
|
+
t(a);
|
|
4217
|
+
return e;
|
|
4218
|
+
}, qo = function(e, n, o) {
|
|
4219
|
+
var i = Ye.SKIP_PREFIX_UNDERSCORE;
|
|
4220
|
+
Ye.createDelegate(n[o], e, i);
|
|
4221
|
+
}, Ho = Ye ? qo : Je, Dt = function(e) {
|
|
4222
|
+
return e.indexOf("_") === 0;
|
|
4223
|
+
}, Er = function(e, n) {
|
|
4224
|
+
return Je(e, n, "setupState", null), Je(e, n, "props", Dt), Ho(e, n, "ctx", Dt), e;
|
|
4225
|
+
}, W = function(e, n, o) {
|
|
4226
|
+
o === void 0 && (o = null);
|
|
4227
|
+
var i = $o(n.attrs), t = i.$attrs, a = i.$listeners, s = n.$emitter;
|
|
4228
|
+
s || (_r(n), s = n.$emitter);
|
|
4229
|
+
var c = function() {
|
|
4230
|
+
for (var l = arguments.length, p = new Array(l), u = 0; u < l; u++)
|
|
4231
|
+
p[u] = arguments[u];
|
|
4232
|
+
n.emit.apply(n, p), s.emit.apply(e, p);
|
|
4233
|
+
}, f = function(l, p, u) {
|
|
4234
|
+
return l[p] = u;
|
|
4235
|
+
};
|
|
4236
|
+
return o || Er(e, n), Object.defineProperties(e, {
|
|
4237
|
+
$attrs: {
|
|
4238
|
+
get: function() {
|
|
4239
|
+
return t;
|
|
4240
|
+
}
|
|
4241
|
+
},
|
|
4242
|
+
$children: {
|
|
4243
|
+
get: function() {
|
|
4244
|
+
return Ar(n.subTree);
|
|
4245
|
+
}
|
|
4246
|
+
},
|
|
4247
|
+
$constants: {
|
|
4248
|
+
get: function() {
|
|
4249
|
+
return n.props._constants;
|
|
4250
|
+
}
|
|
4251
|
+
},
|
|
4252
|
+
$emit: {
|
|
4253
|
+
get: function() {
|
|
4254
|
+
return c;
|
|
4255
|
+
}
|
|
4256
|
+
},
|
|
4257
|
+
$el: {
|
|
4258
|
+
get: function() {
|
|
4259
|
+
return n.vnode.el;
|
|
4260
|
+
}
|
|
4261
|
+
},
|
|
4262
|
+
$listeners: {
|
|
4263
|
+
get: function() {
|
|
4264
|
+
return a;
|
|
4265
|
+
}
|
|
4266
|
+
},
|
|
4267
|
+
$mode: {
|
|
4268
|
+
get: function() {
|
|
4269
|
+
return n._tiny_mode;
|
|
4270
|
+
}
|
|
4271
|
+
},
|
|
4272
|
+
$nextTick: {
|
|
4273
|
+
get: function() {
|
|
4274
|
+
return S.nextTick;
|
|
4275
|
+
}
|
|
4276
|
+
},
|
|
4277
|
+
$off: {
|
|
4278
|
+
get: function() {
|
|
4279
|
+
return s.off;
|
|
4280
|
+
}
|
|
4281
|
+
},
|
|
4282
|
+
$on: {
|
|
4283
|
+
get: function() {
|
|
4284
|
+
return s.on;
|
|
4285
|
+
}
|
|
4286
|
+
},
|
|
4287
|
+
$once: {
|
|
4288
|
+
get: function() {
|
|
4289
|
+
return s.once;
|
|
4290
|
+
}
|
|
4291
|
+
},
|
|
4292
|
+
$options: {
|
|
4293
|
+
get: function() {
|
|
4294
|
+
return {
|
|
4295
|
+
componentName: n.type.componentName
|
|
4296
|
+
};
|
|
4297
|
+
}
|
|
4298
|
+
},
|
|
4299
|
+
$parent: {
|
|
4300
|
+
get: function() {
|
|
4301
|
+
return n.parent && W({}, _e(n));
|
|
4302
|
+
}
|
|
4303
|
+
},
|
|
4304
|
+
$refs: {
|
|
4305
|
+
get: function() {
|
|
4306
|
+
return n.refs;
|
|
4307
|
+
}
|
|
4308
|
+
},
|
|
4309
|
+
$renderless: {
|
|
4310
|
+
get: function() {
|
|
4311
|
+
return n.props.tiny_renderless;
|
|
4312
|
+
}
|
|
4313
|
+
},
|
|
4314
|
+
$scopedSlots: {
|
|
4315
|
+
get: function() {
|
|
4316
|
+
return n.slots;
|
|
4317
|
+
}
|
|
4318
|
+
},
|
|
4319
|
+
$set: {
|
|
4320
|
+
get: function() {
|
|
4321
|
+
return f;
|
|
4322
|
+
}
|
|
4323
|
+
},
|
|
4324
|
+
$slots: {
|
|
4325
|
+
get: function() {
|
|
4326
|
+
return n.slots;
|
|
4327
|
+
}
|
|
4328
|
+
},
|
|
4329
|
+
$template: {
|
|
4330
|
+
get: function() {
|
|
4331
|
+
return n.props.tiny_template;
|
|
4332
|
+
}
|
|
4333
|
+
}
|
|
4334
|
+
}), e;
|
|
4335
|
+
}, Vo = function(e, n) {
|
|
4336
|
+
for (var o in e.refs)
|
|
4337
|
+
Object.prototype.hasOwnProperty.call(e.refs, o) && (n[o] = e.refs[o]);
|
|
4338
|
+
}, Wo = function(e, n) {
|
|
4339
|
+
var o, i, t = S.getCurrentInstance(), a = t == null ? void 0 : t.appContext.config.globalProperties, s = Ro(t), c = s.route, f = s.router, d = t == null || (o = t.proxy) == null || (i = o.$root) == null ? void 0 : i.$i18n, l = No(t), p = l.dispatch, u = l.broadcast, m = jo(t), w = Bo(t), h = W({}, t, e), x = e.emit, y = {}, g = typeof t.props.tiny_template > "u" && _e(t), k = g ? W({}, g) : t.parent ? W({}, t.parent) : null, _ = function(I) {
|
|
4340
|
+
var F, D = I.name, $ = I.value, B = g ? g.ctx : t == null || (F = t.parent) == null ? void 0 : F.ctx;
|
|
4341
|
+
B[D] = $, k[D] = $;
|
|
4342
|
+
}, T = function(I) {
|
|
4343
|
+
Object.defineProperties(h, I), Object.defineProperties(t == null ? void 0 : t.ctx, I);
|
|
4344
|
+
}, C = function(I) {
|
|
4345
|
+
k && Object.defineProperties(k, I);
|
|
4346
|
+
};
|
|
4347
|
+
return S.onBeforeMount(function() {
|
|
4348
|
+
return Er(h, t);
|
|
4349
|
+
}), S.onMounted(function() {
|
|
4350
|
+
return Vo(t, y);
|
|
4351
|
+
}), {
|
|
4352
|
+
framework: "vue3",
|
|
4353
|
+
vm: h,
|
|
4354
|
+
emit: x,
|
|
4355
|
+
emitter: Sr,
|
|
4356
|
+
route: c,
|
|
4357
|
+
router: f,
|
|
4358
|
+
dispatch: p,
|
|
4359
|
+
broadcast: u,
|
|
4360
|
+
parentHandler: m,
|
|
4361
|
+
childrenHandler: w,
|
|
4362
|
+
i18n: d,
|
|
4363
|
+
refs: y,
|
|
4364
|
+
slots: t == null ? void 0 : t.slots,
|
|
4365
|
+
scopedSlots: t == null ? void 0 : t.slots,
|
|
4366
|
+
attrs: e.attrs,
|
|
4367
|
+
parent: k,
|
|
4368
|
+
nextTick: S.nextTick,
|
|
4369
|
+
constants: t == null ? void 0 : t.props._constants,
|
|
4370
|
+
mode: n,
|
|
4371
|
+
isPCMode: n === "pc",
|
|
4372
|
+
isMobileMode: n === "mobile",
|
|
4373
|
+
service: a == null ? void 0 : a.$service,
|
|
4374
|
+
getService: function() {
|
|
4375
|
+
return a == null ? void 0 : a.$getService(h);
|
|
4376
|
+
},
|
|
4377
|
+
setParentAttribute: _,
|
|
4378
|
+
defineInstanceProperties: T,
|
|
4379
|
+
defineParentInstanceProperties: C
|
|
4380
|
+
};
|
|
4381
|
+
}, be = function(e, n, o) {
|
|
4382
|
+
if (typeof e[n] < "u") {
|
|
4383
|
+
var i = e[n];
|
|
4384
|
+
e[o] = function(t, a, s) {
|
|
4385
|
+
s.context = a.instance, i(t, a, s);
|
|
4386
|
+
}, delete e[n];
|
|
4387
|
+
}
|
|
4388
|
+
}, gi = function(e) {
|
|
4389
|
+
for (var n in e) {
|
|
4390
|
+
var o = e[n];
|
|
4391
|
+
be(o, "inserted", "mounted"), be(o, "bind", "beforeMount"), be(o, "update", "updated"), be(o, "unbind", "unmounted");
|
|
4392
|
+
}
|
|
4393
|
+
return e;
|
|
4394
|
+
}, vi = function(e) {
|
|
4395
|
+
return e;
|
|
4396
|
+
}, Go = S.Text, Yo = S.Comment, yi = function(e) {
|
|
4397
|
+
return !e || !e.type || [Go, Yo].includes(e.type);
|
|
4398
|
+
}, Jo = function(e) {
|
|
4399
|
+
var n = {};
|
|
4400
|
+
for (var o in e)
|
|
4401
|
+
if (o === "class" || o === "style")
|
|
4402
|
+
n[o] = e[o];
|
|
4403
|
+
else if (o === "on" || o === "nativeOn") {
|
|
4404
|
+
var i = e[o];
|
|
4405
|
+
for (var t in i) n["on" + On(En(t))] = i[t];
|
|
4406
|
+
} else if (o === "attrs" || o === "props" || o === "domProps") {
|
|
4407
|
+
var a = e[o];
|
|
4408
|
+
for (var s in a) n[s] = a[s];
|
|
4409
|
+
} else
|
|
4410
|
+
n[o] = e[o];
|
|
4411
|
+
return n;
|
|
4412
|
+
}, Ko = function(e) {
|
|
4413
|
+
var n = e, o = !1;
|
|
4414
|
+
if (typeof e == "string" && typeof document < "u") {
|
|
4415
|
+
var i = document.createElement(e), t = ["SVG", "CIRCLE", "PATH"];
|
|
4416
|
+
i instanceof HTMLUnknownElement && !t.includes(i.nodeName) || e.includes("-") ? (e = e.toLowerCase(), o = !0, e === "transition" ? n = S.Transition : e === "transition-group" ? n = S.TransitionGroup : n = S.resolveComponent(e)) : n = e;
|
|
4417
|
+
}
|
|
4418
|
+
return {
|
|
4419
|
+
type: n,
|
|
4420
|
+
component: e,
|
|
4421
|
+
customElement: o
|
|
4422
|
+
};
|
|
4423
|
+
}, bi = function(e, n, o) {
|
|
4424
|
+
var i = {}, t = o, a = Ko(e), s = a.customElement, c = a.type;
|
|
4425
|
+
return e = a.component, n && typeof n == "object" && !Array.isArray(n) ? (i = Jo(n), n.scopedSlots && (t = n.scopedSlots)) : (typeof n == "string" || Array.isArray(n)) && (o = n), (typeof o == "string" || Array.isArray(o)) && (t = typeof e != "string" || s ? function() {
|
|
4426
|
+
return o;
|
|
4427
|
+
} : o), S.h(c, i, t);
|
|
4428
|
+
}, Qo = function(e) {
|
|
4429
|
+
return function(n) {
|
|
4430
|
+
var o, i = n.component, t = n.propsData, a = n.el, s = Object.assign(i, {
|
|
4431
|
+
provide: (o = {}, o[e.configKey] = e.configInstance, o)
|
|
4432
|
+
}), c = S.createVNode(s, t);
|
|
4433
|
+
return S.render(c, a), W({}, c.component);
|
|
4434
|
+
};
|
|
4435
|
+
}, Zo = S.defineComponent, Or = !1, Ke = function(e) {
|
|
4436
|
+
var n = [];
|
|
4437
|
+
return Object.keys(e).forEach(function(o) {
|
|
4438
|
+
return e[o] && n.push(o);
|
|
4439
|
+
}), n.join(" ");
|
|
4440
|
+
}, Xo = function(e) {
|
|
4441
|
+
var n = [];
|
|
4442
|
+
return e.forEach(function(o) {
|
|
4443
|
+
typeof o == "string" ? n.push(o) : typeof o == "object" && n.push(Ke(o));
|
|
4444
|
+
}), n.join(" ");
|
|
4445
|
+
}, Qe = function(e) {
|
|
4446
|
+
if (!e)
|
|
4447
|
+
return "";
|
|
4448
|
+
if (typeof e == "string")
|
|
4449
|
+
return e;
|
|
4450
|
+
if (Array.isArray(e) && e.length > 0) {
|
|
4451
|
+
var n = [];
|
|
4452
|
+
return e.forEach(function(o) {
|
|
4453
|
+
o && (typeof o == "string" ? n.push(o) : Array.isArray(o) ? n.push(Xo(o)) : typeof o == "object" && n.push(Ke(o)));
|
|
4454
|
+
}), n.join(" ");
|
|
4455
|
+
}
|
|
4456
|
+
return typeof e == "object" ? Ke(e) : "";
|
|
4457
|
+
}, wi = function(e) {
|
|
4458
|
+
var n = Qe(e), o = Array.from(new Set(n.split(" "))).filter(function(i) {
|
|
4459
|
+
return i;
|
|
4460
|
+
});
|
|
4461
|
+
return Qe(o);
|
|
4462
|
+
}, ei = function() {
|
|
4463
|
+
var e = S.ref(""), n = ["2xl", "xl", "lg", "md", "sm"], o = function(c) {
|
|
4464
|
+
return P || typeof matchMedia != "function" ? {
|
|
4465
|
+
matches: !1,
|
|
4466
|
+
media: c,
|
|
4467
|
+
addEventListener: function() {
|
|
4468
|
+
},
|
|
4469
|
+
removeEventListener: function() {
|
|
4470
|
+
}
|
|
4471
|
+
} : window.matchMedia(c);
|
|
4472
|
+
}, i = {
|
|
4473
|
+
"2xl": o("(min-width:1536px)"),
|
|
4474
|
+
xl: o("(min-width:1280px)"),
|
|
4475
|
+
lg: o("(min-width:1024px)"),
|
|
4476
|
+
md: o("(min-width:768px)"),
|
|
4477
|
+
sm: o("(min-width:640px)")
|
|
4478
|
+
}, t = function() {
|
|
4479
|
+
for (var c = 0; c < n.length; c++) {
|
|
4480
|
+
var f = n[c];
|
|
4481
|
+
if (i[f].matches) {
|
|
4482
|
+
e.value = f;
|
|
4483
|
+
return;
|
|
4484
|
+
}
|
|
4485
|
+
}
|
|
4486
|
+
e.value = "default";
|
|
4487
|
+
}, a = oo(0, function() {
|
|
4488
|
+
return t();
|
|
4489
|
+
});
|
|
4490
|
+
return t(), n.forEach(function(s) {
|
|
4491
|
+
return i[s].addEventListener("change", a);
|
|
4492
|
+
}), S.onBeforeUnmount(function() {
|
|
4493
|
+
n.forEach(function(s) {
|
|
4494
|
+
return i[s].removeEventListener("change", a);
|
|
4495
|
+
});
|
|
4496
|
+
}), {
|
|
4497
|
+
current: e
|
|
4498
|
+
};
|
|
4499
|
+
}, ti = ["IconLoadingShadow", "IconNoData"], Mr = 0, Pr = function(e, n) {
|
|
4500
|
+
{
|
|
4501
|
+
var o;
|
|
4502
|
+
if ((o = e.props) != null && o.id) {
|
|
4503
|
+
var i = "" + e.props.id + Mr;
|
|
4504
|
+
n[e.props.id] = i, e.props.id = i;
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
Array.isArray(e == null ? void 0 : e.children) && e.children.forEach(function(t) {
|
|
4508
|
+
Pr(t, n);
|
|
4509
|
+
});
|
|
4510
|
+
}, Ir = function(e, n) {
|
|
4511
|
+
var o = ["fill", "mask", "filter"];
|
|
4512
|
+
o.forEach(function(i) {
|
|
4513
|
+
{
|
|
4514
|
+
var t, a;
|
|
4515
|
+
if ((t = e.props) != null && (a = t[i]) != null && a.includes("url(#")) {
|
|
4516
|
+
var s = e.props[i].replace("url(#", "").replace(")", ""), c = n[s];
|
|
4517
|
+
c && (e.props[i] = "url(#" + c + ")");
|
|
4518
|
+
}
|
|
4519
|
+
}
|
|
4520
|
+
}), Array.isArray(e == null ? void 0 : e.children) && e.children.forEach(function(i) {
|
|
4521
|
+
Ir(i, n);
|
|
4522
|
+
});
|
|
4523
|
+
}, ri = function(e) {
|
|
4524
|
+
if (e) {
|
|
4525
|
+
var n = {};
|
|
4526
|
+
Pr(e, n), Ir(e, n), Mr++;
|
|
4527
|
+
}
|
|
4528
|
+
};
|
|
4529
|
+
Ao(ae({}, S, {
|
|
4530
|
+
isVue2: Or
|
|
4531
|
+
}));
|
|
4532
|
+
Eo(ae({}, S, {
|
|
4533
|
+
isVue2: Or
|
|
4534
|
+
}));
|
|
4535
|
+
var Pe = "Tiny", Ti = {
|
|
4536
|
+
tiny_mode: String,
|
|
4537
|
+
tiny_mode_root: Boolean,
|
|
4538
|
+
tiny_template: [Function, Object],
|
|
4539
|
+
tiny_renderless: Function,
|
|
4540
|
+
tiny_theme: String,
|
|
4541
|
+
tiny_mcp_config: Object,
|
|
4542
|
+
tiny_chart_theme: Object
|
|
4543
|
+
}, xi = ["tiny_mode", "tiny_mode_root", "tiny_template", "tiny_renderless", "_constants", "tiny_theme", "tiny_chart_theme", "tiny_mcp_config"], st = function(e, n) {
|
|
4544
|
+
var o = function(l) {
|
|
4545
|
+
return ~["pc", "mobile", "mobile-first"].indexOf(l);
|
|
4546
|
+
}, i = at(n), t = typeof e.tiny_mode == "string" ? e.tiny_mode : null, a = S.inject("TinyMode", null), s;
|
|
4547
|
+
typeof i.tiny_mode == "string" ? s = i.tiny_mode : i.tiny_mode && (s = i.tiny_mode.value), o(t) || (t = null), o(a) || (a = null), o(s) || (s = null);
|
|
4548
|
+
var c = t || a || s || "pc";
|
|
4549
|
+
e.tiny_mode_root && S.provide("TinyMode", c);
|
|
4550
|
+
var f = S.getCurrentInstance();
|
|
4551
|
+
return Object.defineProperty(f, "_tiny_mode", {
|
|
4552
|
+
value: c
|
|
4553
|
+
}), c;
|
|
4554
|
+
}, ni = function(e, n) {
|
|
4555
|
+
var o = function(d) {
|
|
4556
|
+
return ~["tiny", "saas"].indexOf(d);
|
|
4557
|
+
}, i = at(n), t = typeof e.tiny_theme == "string" ? e.tiny_theme : null, a = S.inject("TinyTheme", null), s = i.tiny_theme && i.tiny_theme.value;
|
|
4558
|
+
o(t) || (t = null), o(a) || (a = null), o(s) || (s = null);
|
|
4559
|
+
var c = t || a || s || "tiny";
|
|
4560
|
+
return c;
|
|
4561
|
+
}, oi = function(e, n) {
|
|
4562
|
+
var o = at(n), i = typeof e.tiny_chart_theme == "object" ? e.tiny_chart_theme : null, t = S.inject("TinyChartTheme", null), a = o.tiny_chart_theme && o.tiny_chart_theme.value, s = i || t || a || null;
|
|
4563
|
+
return s;
|
|
4564
|
+
}, Fr = {
|
|
4565
|
+
configKey: Symbol("designConfigKey"),
|
|
4566
|
+
configInstance: null
|
|
4567
|
+
}, Si = Qo(Fr), ii = {
|
|
4568
|
+
designConfig: null,
|
|
4569
|
+
twMerge: function() {
|
|
4570
|
+
return "";
|
|
4571
|
+
}
|
|
4572
|
+
}, Lr = function() {
|
|
4573
|
+
var e, n, o, i = S.inject(Fr.configKey, {});
|
|
4574
|
+
i = ((e = i) == null ? void 0 : e.value) || i || {};
|
|
4575
|
+
var t = (n = i) == null || (o = n.components) == null ? void 0 : o[kr().replace(Pe, "")];
|
|
4576
|
+
return {
|
|
4577
|
+
designConfig: t,
|
|
4578
|
+
globalDesignConfig: i
|
|
4579
|
+
};
|
|
4580
|
+
}, ai = function() {
|
|
4581
|
+
kr().replace(Pe, "");
|
|
4582
|
+
}, Ci = function(e) {
|
|
4583
|
+
var n = e.props, o = e.context, i = e.template, t = e.extend, a = t === void 0 ? {} : t, s = st(n, o), c = S.computed(function() {
|
|
4584
|
+
if (typeof n.tiny_template < "u") return n.tiny_template;
|
|
4585
|
+
var m = i(s, n);
|
|
4586
|
+
return typeof m == "function" ? Io(m) : m;
|
|
4587
|
+
}), f = Lr(), d = f.designConfig, l = {}, p = d == null ? void 0 : d.props;
|
|
4588
|
+
if (p) {
|
|
4589
|
+
var u = Lo();
|
|
4590
|
+
Object.keys(p).forEach(function(m) {
|
|
4591
|
+
var w = m.replace(/-(\w)/g, function(x, y) {
|
|
4592
|
+
return y.toUpperCase();
|
|
4593
|
+
}), h = m.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
4594
|
+
!Object.prototype.hasOwnProperty.call(u, w) && !Object.prototype.hasOwnProperty.call(u, h) && (l[m] = p[m]);
|
|
4595
|
+
});
|
|
4596
|
+
}
|
|
4597
|
+
return Cr({
|
|
4598
|
+
view: c,
|
|
4599
|
+
props: n,
|
|
4600
|
+
customDesignProps: l,
|
|
4601
|
+
context: o,
|
|
4602
|
+
extend: a
|
|
4603
|
+
});
|
|
4604
|
+
}, Ze = function() {
|
|
4605
|
+
for (var e = arguments.length, n = new Array(e), o = 0; o < e; o++)
|
|
4606
|
+
n[o] = arguments[o];
|
|
4607
|
+
return ii.twMerge(Qe(n));
|
|
4608
|
+
}, ki = function(e) {
|
|
4609
|
+
var n = e.props, o = e.context, i = e.renderless, t = e.api, a = e.extendOptions, s = a === void 0 ? {} : a, c = e.mono, f = c === void 0 ? !1 : c, d = e.classes, l = d === void 0 ? {} : d, p = typeof n.tiny_renderless == "function" ? n.tiny_renderless : i, u = Lr(), m = u.designConfig, w = u.globalDesignConfig, h = ae({
|
|
4610
|
+
$prefix: Pe,
|
|
4611
|
+
t: Lt
|
|
4612
|
+
}, Wo(o, st(n, o)), {
|
|
4613
|
+
designConfig: m,
|
|
4614
|
+
globalDesignConfig: w,
|
|
4615
|
+
useBreakpoint: ei,
|
|
4616
|
+
mergeClass: Ze
|
|
4617
|
+
});
|
|
4618
|
+
h.vm.theme = ni(n, o), h.vm.chartTheme = oi(n, o);
|
|
4619
|
+
var x = p(n, S, h, s);
|
|
4620
|
+
typeof (m == null ? void 0 : m.renderless) == "function" && Object.assign(x, m.renderless(n, S, h, x));
|
|
4621
|
+
var y = {
|
|
4622
|
+
t: Lt,
|
|
4623
|
+
vm: h.vm,
|
|
4624
|
+
f: Mo,
|
|
4625
|
+
a: si,
|
|
4626
|
+
d: h.defineInstanceProperties,
|
|
4627
|
+
dp: h.defineParentInstanceProperties,
|
|
4628
|
+
gcls: function(k) {
|
|
4629
|
+
return Po(l, k);
|
|
4630
|
+
},
|
|
4631
|
+
m: Ze
|
|
4632
|
+
};
|
|
4633
|
+
return y.d({
|
|
4634
|
+
slots: {
|
|
4635
|
+
get: function() {
|
|
4636
|
+
return h.vm.$slots;
|
|
4637
|
+
},
|
|
4638
|
+
configurable: !0
|
|
4639
|
+
},
|
|
4640
|
+
scopedSlots: {
|
|
4641
|
+
get: function() {
|
|
4642
|
+
return h.vm.$scopedSlots;
|
|
4643
|
+
},
|
|
4644
|
+
configurable: !0
|
|
4645
|
+
}
|
|
4646
|
+
}), y.dp({
|
|
4647
|
+
slots: {
|
|
4648
|
+
get: function() {
|
|
4649
|
+
return h.parent.$slots;
|
|
4650
|
+
},
|
|
4651
|
+
configurable: !0
|
|
4652
|
+
},
|
|
4653
|
+
scopedSlots: {
|
|
4654
|
+
get: function() {
|
|
4655
|
+
return h.parent.$scopedSlots;
|
|
4656
|
+
},
|
|
4657
|
+
configurable: !0
|
|
4658
|
+
}
|
|
4659
|
+
}), li(), Array.isArray(t) && (Array.isArray(m == null ? void 0 : m.api) && (t = t.concat(m.api)), t.forEach(function(g) {
|
|
4660
|
+
var k = x[g];
|
|
4661
|
+
typeof k < "u" && (y[g] = k, f || h.setParentAttribute({
|
|
4662
|
+
name: g,
|
|
4663
|
+
value: k
|
|
4664
|
+
}));
|
|
4665
|
+
})), ai(), y;
|
|
4666
|
+
};
|
|
4667
|
+
function _i(r) {
|
|
4668
|
+
var e = r.name, n = e === void 0 ? "Icon" : e, o = r.component;
|
|
4669
|
+
return function(i) {
|
|
4670
|
+
return Fo(Zo({
|
|
4671
|
+
name: Pe + n,
|
|
4672
|
+
setup: function(a, s) {
|
|
4673
|
+
var c = s.attrs || {}, f = c.fill, d = c.width, l = c.height, p = c["custom-class"], u = c["first-color"], m = c["second-color"], w = Object.assign({}, a, i || null), h = st(w, s), x = h === "mobile-first", y = {
|
|
4674
|
+
"data-tag": x ? "tiny-svg" : null
|
|
4675
|
+
}, g = y, k = "tiny-svg";
|
|
4676
|
+
x && (k = Ze("h-4 w-4 inline-block", p || "", w.class || ""));
|
|
4677
|
+
var _ = Object.assign({
|
|
4678
|
+
style: {
|
|
4679
|
+
fill: f,
|
|
4680
|
+
width: d,
|
|
4681
|
+
height: l,
|
|
4682
|
+
"--tiny-first-color": u || "",
|
|
4683
|
+
"--tiny-second-color": m || ""
|
|
4684
|
+
},
|
|
4685
|
+
class: k,
|
|
4686
|
+
isSvg: !0
|
|
4687
|
+
}, g);
|
|
4688
|
+
return _.nativeOn = s.listeners, ti.includes(n) && (o.__raw_render || (o.__raw_render = o.render), o.render = function() {
|
|
4689
|
+
var T = o.__raw_render.bind(this), C = T.apply(void 0, arguments);
|
|
4690
|
+
return ri(C), C;
|
|
4691
|
+
}), Cr({
|
|
4692
|
+
component: o,
|
|
4693
|
+
props: w,
|
|
4694
|
+
context: s,
|
|
4695
|
+
extend: _
|
|
4696
|
+
});
|
|
4697
|
+
}
|
|
4698
|
+
}));
|
|
4699
|
+
};
|
|
4700
|
+
}
|
|
4701
|
+
var si = function(e, n, o) {
|
|
4702
|
+
var i = {}, t = function(c) {
|
|
4703
|
+
var f = n.some(function(d) {
|
|
4704
|
+
return new RegExp(d).test(c);
|
|
4705
|
+
});
|
|
4706
|
+
(o && f || !o && !f) && (i[c] = e[c]);
|
|
4707
|
+
};
|
|
4708
|
+
for (var a in e)
|
|
4709
|
+
t(a);
|
|
4710
|
+
return i;
|
|
4711
|
+
}, Ue = {}, li = function() {
|
|
4712
|
+
for (var e in Ue) {
|
|
4713
|
+
var n = Ue[e];
|
|
4714
|
+
typeof n.install == "function" && n.install(Do()), typeof n.init == "function" && n.init(zo());
|
|
4715
|
+
}
|
|
4716
|
+
Ue = {};
|
|
4717
|
+
};
|
|
4718
|
+
export {
|
|
4719
|
+
z as $,
|
|
4720
|
+
ci as A,
|
|
4721
|
+
pi as G,
|
|
4722
|
+
hi as H,
|
|
4723
|
+
di as M,
|
|
4724
|
+
ui as N,
|
|
4725
|
+
fi as P,
|
|
4726
|
+
mi as Q,
|
|
4727
|
+
P as S,
|
|
4728
|
+
U as Z,
|
|
4729
|
+
ki as a,
|
|
4730
|
+
Ci as b,
|
|
4731
|
+
Pe as c,
|
|
4732
|
+
Zo as d,
|
|
4733
|
+
ge as e,
|
|
4734
|
+
Ti as f,
|
|
4735
|
+
gi as g,
|
|
4736
|
+
oo as h,
|
|
4737
|
+
Si as i,
|
|
4738
|
+
bi as j,
|
|
4739
|
+
wi as k,
|
|
4740
|
+
Qe as l,
|
|
4741
|
+
zn as m,
|
|
4742
|
+
X as n,
|
|
4743
|
+
vi as o,
|
|
4744
|
+
xi as p,
|
|
4745
|
+
yi as q,
|
|
4746
|
+
_i as s,
|
|
4747
|
+
ve as t,
|
|
4748
|
+
Gt as y
|
|
4749
|
+
};
|