@opentiny/tiny-robot 0.3.0-alpha.0 → 0.3.0-alpha.10

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