oga-ui 0.1.59 → 0.1.60

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/table/index.es.ts CHANGED
@@ -1,11 +1,1254 @@
1
1
  import * as Vue from "vue";
2
- import { Fragment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, effectScope, h, inject, isRef, mergeModels, mergeProps, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, ref, renderList, resolveComponent, resolveDirective, resolveDynamicComponent, shallowRef, toDisplayString, unref, useModel, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
3
- function warn(e, t) {
2
+ import { Fragment, Text, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, effectScope, getCurrentInstance, h, inject, isRef, isVNode, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, provide, ref, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, shallowReactive, shallowRef, toDisplayString, unref, useModel, vShow, warn, watch, withCtx, withDirectives, withModifiers } from "vue";
3
+ var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __commonJSMin = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), __export = (e, t) => {
4
+ let n = {};
5
+ for (var r in e) __defProp(n, r, {
6
+ get: e[r],
7
+ enumerable: !0
8
+ });
9
+ return t && __defProp(n, Symbol.toStringTag, { value: "Module" }), n;
10
+ }, __copyProps = (e, t, n, r) => {
11
+ if (t && typeof t == "object" || typeof t == "function") for (var i = __getOwnPropNames(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !__hasOwnProp.call(e, s) && s !== n && __defProp(e, s, {
12
+ get: ((e) => t[e]).bind(null, s),
13
+ enumerable: !(r = __getOwnPropDesc(t, s)) || r.enumerable
14
+ });
15
+ return e;
16
+ }, __reExport = (e, t, n, r) => {
17
+ r && (__defProp(e, Symbol.toStringTag, { value: "Module" }), n && __defProp(n, Symbol.toStringTag, { value: "Module" })), __copyProps(e, t, "default"), n && __copyProps(n, t, "default");
18
+ }, __toESM = (e, t, n) => (n = e == null ? {} : __create(__getProtoOf(e)), __copyProps(t || !e || !e.__esModule ? __defProp(n, "default", {
19
+ value: e,
20
+ enumerable: !0
21
+ }) : n, e)), configProviderContextKey = /* @__PURE__ */ Symbol(), _freeGlobal_default = typeof global == "object" && global && global.Object === Object && global, freeSelf = typeof self == "object" && self && self.Object === Object && self, _root_default = _freeGlobal_default || freeSelf || Function("return this")(), _Symbol_default = _root_default.Symbol, objectProto$1 = Object.prototype, hasOwnProperty$5 = objectProto$1.hasOwnProperty, nativeObjectToString$1 = objectProto$1.toString, symToStringTag$1 = _Symbol_default ? _Symbol_default.toStringTag : void 0;
22
+ function getRawTag(e) {
23
+ var t = hasOwnProperty$5.call(e, symToStringTag$1), n = e[symToStringTag$1];
24
+ try {
25
+ e[symToStringTag$1] = void 0;
26
+ var r = !0;
27
+ } catch {}
28
+ var i = nativeObjectToString$1.call(e);
29
+ return r && (t ? e[symToStringTag$1] = n : delete e[symToStringTag$1]), i;
30
+ }
31
+ var _getRawTag_default = getRawTag, nativeObjectToString = Object.prototype.toString;
32
+ function objectToString$1(e) {
33
+ return nativeObjectToString.call(e);
34
+ }
35
+ var _objectToString_default = objectToString$1, nullTag = "[object Null]", undefinedTag = "[object Undefined]", symToStringTag = _Symbol_default ? _Symbol_default.toStringTag : void 0;
36
+ function baseGetTag(e) {
37
+ return e == null ? e === void 0 ? undefinedTag : nullTag : symToStringTag && symToStringTag in Object(e) ? _getRawTag_default(e) : _objectToString_default(e);
38
+ }
39
+ var _baseGetTag_default = baseGetTag;
40
+ function isObjectLike(e) {
41
+ return typeof e == "object" && !!e;
42
+ }
43
+ var isObjectLike_default = isObjectLike, symbolTag = "[object Symbol]";
44
+ function isSymbol(e) {
45
+ return typeof e == "symbol" || isObjectLike_default(e) && _baseGetTag_default(e) == symbolTag;
46
+ }
47
+ var isSymbol_default = isSymbol;
48
+ function arrayMap(e, t) {
49
+ for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
50
+ return i;
51
+ }
52
+ var _arrayMap_default = arrayMap, isArray_default = Array.isArray, INFINITY$1 = Infinity, symbolProto = _Symbol_default ? _Symbol_default.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
53
+ function baseToString(e) {
54
+ if (typeof e == "string") return e;
55
+ if (isArray_default(e)) return _arrayMap_default(e, baseToString) + "";
56
+ if (isSymbol_default(e)) return symbolToString ? symbolToString.call(e) : "";
57
+ var t = e + "";
58
+ return t == "0" && 1 / e == -INFINITY$1 ? "-0" : t;
59
+ }
60
+ var _baseToString_default = baseToString;
61
+ function isObject$3(e) {
62
+ var t = typeof e;
63
+ return e != null && (t == "object" || t == "function");
64
+ }
65
+ var isObject_default = isObject$3, asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
66
+ function isFunction$3(e) {
67
+ if (!isObject_default(e)) return !1;
68
+ var t = _baseGetTag_default(e);
69
+ return t == funcTag || t == genTag || t == asyncTag || t == proxyTag;
70
+ }
71
+ var isFunction_default = isFunction$3, _coreJsData_default = _root_default["__core-js_shared__"], maskSrcKey = function() {
72
+ var e = /[^.]+$/.exec(_coreJsData_default && _coreJsData_default.keys && _coreJsData_default.keys.IE_PROTO || "");
73
+ return e ? "Symbol(src)_1." + e : "";
74
+ }();
75
+ function isMasked(e) {
76
+ return !!maskSrcKey && maskSrcKey in e;
77
+ }
78
+ var _isMasked_default = isMasked, funcToString$1 = Function.prototype.toString;
79
+ function toSource(e) {
80
+ if (e != null) {
81
+ try {
82
+ return funcToString$1.call(e);
83
+ } catch {}
84
+ try {
85
+ return e + "";
86
+ } catch {}
87
+ }
88
+ return "";
89
+ }
90
+ var _toSource_default = toSource, reRegExpChar = /[\\^$.*+?()[\]{}|]/g, reIsHostCtor = /^\[object .+?Constructor\]$/, funcProto = Function.prototype, objectProto = Object.prototype, funcToString = funcProto.toString, hasOwnProperty$4 = objectProto.hasOwnProperty, reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$4).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
91
+ function baseIsNative(e) {
92
+ return !isObject_default(e) || _isMasked_default(e) ? !1 : (isFunction_default(e) ? reIsNative : reIsHostCtor).test(_toSource_default(e));
93
+ }
94
+ var _baseIsNative_default = baseIsNative;
95
+ function getValue(e, t) {
96
+ return e?.[t];
97
+ }
98
+ var _getValue_default = getValue;
99
+ function getNative(e, t) {
100
+ var n = _getValue_default(e, t);
101
+ return _baseIsNative_default(n) ? n : void 0;
102
+ }
103
+ var _getNative_default = getNative;
104
+ function eq(e, t) {
105
+ return e === t || e !== e && t !== t;
106
+ }
107
+ var eq_default = eq, reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
108
+ function isKey(e, t) {
109
+ if (isArray_default(e)) return !1;
110
+ var n = typeof e;
111
+ return n == "number" || n == "symbol" || n == "boolean" || e == null || isSymbol_default(e) ? !0 : reIsPlainProp.test(e) || !reIsDeepProp.test(e) || t != null && e in Object(t);
112
+ }
113
+ var _isKey_default = isKey, _nativeCreate_default = _getNative_default(Object, "create");
114
+ function hashClear() {
115
+ this.__data__ = _nativeCreate_default ? _nativeCreate_default(null) : {}, this.size = 0;
116
+ }
117
+ var _hashClear_default = hashClear;
118
+ function hashDelete(e) {
119
+ var t = this.has(e) && delete this.__data__[e];
120
+ return this.size -= t ? 1 : 0, t;
121
+ }
122
+ var _hashDelete_default = hashDelete, HASH_UNDEFINED$1 = "__lodash_hash_undefined__", hasOwnProperty$3 = Object.prototype.hasOwnProperty;
123
+ function hashGet(e) {
124
+ var t = this.__data__;
125
+ if (_nativeCreate_default) {
126
+ var n = t[e];
127
+ return n === HASH_UNDEFINED$1 ? void 0 : n;
128
+ }
129
+ return hasOwnProperty$3.call(t, e) ? t[e] : void 0;
130
+ }
131
+ var _hashGet_default = hashGet, hasOwnProperty$2 = Object.prototype.hasOwnProperty;
132
+ function hashHas(e) {
133
+ var t = this.__data__;
134
+ return _nativeCreate_default ? t[e] !== void 0 : hasOwnProperty$2.call(t, e);
135
+ }
136
+ var _hashHas_default = hashHas, HASH_UNDEFINED = "__lodash_hash_undefined__";
137
+ function hashSet(e, t) {
138
+ var n = this.__data__;
139
+ return this.size += this.has(e) ? 0 : 1, n[e] = _nativeCreate_default && t === void 0 ? HASH_UNDEFINED : t, this;
140
+ }
141
+ var _hashSet_default = hashSet;
142
+ function Hash(e) {
143
+ var t = -1, n = e == null ? 0 : e.length;
144
+ for (this.clear(); ++t < n;) {
145
+ var r = e[t];
146
+ this.set(r[0], r[1]);
147
+ }
148
+ }
149
+ Hash.prototype.clear = _hashClear_default, Hash.prototype.delete = _hashDelete_default, Hash.prototype.get = _hashGet_default, Hash.prototype.has = _hashHas_default, Hash.prototype.set = _hashSet_default;
150
+ var _Hash_default = Hash;
151
+ function listCacheClear() {
152
+ this.__data__ = [], this.size = 0;
153
+ }
154
+ var _listCacheClear_default = listCacheClear;
155
+ function assocIndexOf(e, t) {
156
+ for (var n = e.length; n--;) if (eq_default(e[n][0], t)) return n;
157
+ return -1;
158
+ }
159
+ var _assocIndexOf_default = assocIndexOf, splice = Array.prototype.splice;
160
+ function listCacheDelete(e) {
161
+ var t = this.__data__, n = _assocIndexOf_default(t, e);
162
+ return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : splice.call(t, n, 1), --this.size, !0);
163
+ }
164
+ var _listCacheDelete_default = listCacheDelete;
165
+ function listCacheGet(e) {
166
+ var t = this.__data__, n = _assocIndexOf_default(t, e);
167
+ return n < 0 ? void 0 : t[n][1];
168
+ }
169
+ var _listCacheGet_default = listCacheGet;
170
+ function listCacheHas(e) {
171
+ return _assocIndexOf_default(this.__data__, e) > -1;
172
+ }
173
+ var _listCacheHas_default = listCacheHas;
174
+ function listCacheSet(e, t) {
175
+ var n = this.__data__, r = _assocIndexOf_default(n, e);
176
+ return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
177
+ }
178
+ var _listCacheSet_default = listCacheSet;
179
+ function ListCache(e) {
180
+ var t = -1, n = e == null ? 0 : e.length;
181
+ for (this.clear(); ++t < n;) {
182
+ var r = e[t];
183
+ this.set(r[0], r[1]);
184
+ }
185
+ }
186
+ ListCache.prototype.clear = _listCacheClear_default, ListCache.prototype.delete = _listCacheDelete_default, ListCache.prototype.get = _listCacheGet_default, ListCache.prototype.has = _listCacheHas_default, ListCache.prototype.set = _listCacheSet_default;
187
+ var _ListCache_default = ListCache, _Map_default = _getNative_default(_root_default, "Map");
188
+ function mapCacheClear() {
189
+ this.size = 0, this.__data__ = {
190
+ hash: new _Hash_default(),
191
+ map: new (_Map_default || _ListCache_default)(),
192
+ string: new _Hash_default()
193
+ };
194
+ }
195
+ var _mapCacheClear_default = mapCacheClear;
196
+ function isKeyable(e) {
197
+ var t = typeof e;
198
+ return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
199
+ }
200
+ var _isKeyable_default = isKeyable;
201
+ function getMapData(e, t) {
202
+ var n = e.__data__;
203
+ return _isKeyable_default(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
204
+ }
205
+ var _getMapData_default = getMapData;
206
+ function mapCacheDelete(e) {
207
+ var t = _getMapData_default(this, e).delete(e);
208
+ return this.size -= t ? 1 : 0, t;
209
+ }
210
+ var _mapCacheDelete_default = mapCacheDelete;
211
+ function mapCacheGet(e) {
212
+ return _getMapData_default(this, e).get(e);
213
+ }
214
+ var _mapCacheGet_default = mapCacheGet;
215
+ function mapCacheHas(e) {
216
+ return _getMapData_default(this, e).has(e);
217
+ }
218
+ var _mapCacheHas_default = mapCacheHas;
219
+ function mapCacheSet(e, t) {
220
+ var n = _getMapData_default(this, e), r = n.size;
221
+ return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
222
+ }
223
+ var _mapCacheSet_default = mapCacheSet;
224
+ function MapCache(e) {
225
+ var t = -1, n = e == null ? 0 : e.length;
226
+ for (this.clear(); ++t < n;) {
227
+ var r = e[t];
228
+ this.set(r[0], r[1]);
229
+ }
230
+ }
231
+ MapCache.prototype.clear = _mapCacheClear_default, MapCache.prototype.delete = _mapCacheDelete_default, MapCache.prototype.get = _mapCacheGet_default, MapCache.prototype.has = _mapCacheHas_default, MapCache.prototype.set = _mapCacheSet_default;
232
+ var _MapCache_default = MapCache, FUNC_ERROR_TEXT = "Expected a function";
233
+ function memoize(e, t) {
234
+ if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(FUNC_ERROR_TEXT);
235
+ var n = function() {
236
+ var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
237
+ if (a.has(i)) return a.get(i);
238
+ var o = e.apply(this, r);
239
+ return n.cache = a.set(i, o) || a, o;
240
+ };
241
+ return n.cache = new (memoize.Cache || _MapCache_default)(), n;
242
+ }
243
+ memoize.Cache = _MapCache_default;
244
+ var memoize_default = memoize, MAX_MEMOIZE_SIZE = 500;
245
+ function memoizeCapped(e) {
246
+ var t = memoize_default(e, function(e) {
247
+ return n.size === MAX_MEMOIZE_SIZE && n.clear(), e;
248
+ }), n = t.cache;
249
+ return t;
250
+ }
251
+ var _memoizeCapped_default = memoizeCapped, rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, reEscapeChar = /\\(\\)?/g, _stringToPath_default = _memoizeCapped_default(function(e) {
252
+ var t = [];
253
+ return e.charCodeAt(0) === 46 && t.push(""), e.replace(rePropName, function(e, n, r, i) {
254
+ t.push(r ? i.replace(reEscapeChar, "$1") : n || e);
255
+ }), t;
256
+ });
257
+ function toString$1(e) {
258
+ return e == null ? "" : _baseToString_default(e);
259
+ }
260
+ var toString_default = toString$1;
261
+ function castPath(e, t) {
262
+ return isArray_default(e) ? e : _isKey_default(e, t) ? [e] : _stringToPath_default(toString_default(e));
263
+ }
264
+ var _castPath_default = castPath, INFINITY = Infinity;
265
+ function toKey(e) {
266
+ if (typeof e == "string" || isSymbol_default(e)) return e;
267
+ var t = e + "";
268
+ return t == "0" && 1 / e == -INFINITY ? "-0" : t;
269
+ }
270
+ var _toKey_default = toKey;
271
+ function baseGet(e, t) {
272
+ t = _castPath_default(t, e);
273
+ for (var n = 0, r = t.length; e != null && n < r;) e = e[_toKey_default(t[n++])];
274
+ return n && n == r ? e : void 0;
275
+ }
276
+ var _baseGet_default = baseGet;
277
+ function get(e, t, n) {
278
+ var r = e == null ? void 0 : _baseGet_default(e, t);
279
+ return r === void 0 ? n : r;
280
+ }
281
+ var get_default = get;
282
+ function fromPairs(e) {
283
+ for (var t = -1, n = e == null ? 0 : e.length, r = {}; ++t < n;) {
284
+ var i = e[t];
285
+ r[i[0]] = i[1];
286
+ }
287
+ return r;
288
+ }
289
+ var fromPairs_default = fromPairs, English = {
290
+ name: "en",
291
+ el: {
292
+ breadcrumb: { label: "Breadcrumb" },
293
+ colorpicker: {
294
+ confirm: "OK",
295
+ clear: "Clear",
296
+ defaultLabel: "color picker",
297
+ description: "current color is {color}. press enter to select a new color.",
298
+ alphaLabel: "pick alpha value",
299
+ alphaDescription: "alpha {alpha}, current color is {color}",
300
+ hueLabel: "pick hue value",
301
+ hueDescription: "hue {hue}, current color is {color}",
302
+ svLabel: "pick saturation and brightness value",
303
+ svDescription: "saturation {saturation}, brightness {brightness}, current color is {color}",
304
+ predefineDescription: "select {value} as the color"
305
+ },
306
+ datepicker: {
307
+ now: "Now",
308
+ today: "Today",
309
+ cancel: "Cancel",
310
+ clear: "Clear",
311
+ confirm: "OK",
312
+ dateTablePrompt: "Use the arrow keys and enter to select the day of the month",
313
+ monthTablePrompt: "Use the arrow keys and enter to select the month",
314
+ yearTablePrompt: "Use the arrow keys and enter to select the year",
315
+ selectedDate: "Selected date",
316
+ selectDate: "Select date",
317
+ selectTime: "Select time",
318
+ startDate: "Start Date",
319
+ startTime: "Start Time",
320
+ endDate: "End Date",
321
+ endTime: "End Time",
322
+ prevYear: "Previous Year",
323
+ nextYear: "Next Year",
324
+ prevMonth: "Previous Month",
325
+ nextMonth: "Next Month",
326
+ year: "",
327
+ month1: "January",
328
+ month2: "February",
329
+ month3: "March",
330
+ month4: "April",
331
+ month5: "May",
332
+ month6: "June",
333
+ month7: "July",
334
+ month8: "August",
335
+ month9: "September",
336
+ month10: "October",
337
+ month11: "November",
338
+ month12: "December",
339
+ weeks: {
340
+ sun: "Sun",
341
+ mon: "Mon",
342
+ tue: "Tue",
343
+ wed: "Wed",
344
+ thu: "Thu",
345
+ fri: "Fri",
346
+ sat: "Sat"
347
+ },
348
+ weeksFull: {
349
+ sun: "Sunday",
350
+ mon: "Monday",
351
+ tue: "Tuesday",
352
+ wed: "Wednesday",
353
+ thu: "Thursday",
354
+ fri: "Friday",
355
+ sat: "Saturday"
356
+ },
357
+ months: {
358
+ jan: "Jan",
359
+ feb: "Feb",
360
+ mar: "Mar",
361
+ apr: "Apr",
362
+ may: "May",
363
+ jun: "Jun",
364
+ jul: "Jul",
365
+ aug: "Aug",
366
+ sep: "Sep",
367
+ oct: "Oct",
368
+ nov: "Nov",
369
+ dec: "Dec"
370
+ }
371
+ },
372
+ inputNumber: {
373
+ decrease: "decrease number",
374
+ increase: "increase number"
375
+ },
376
+ select: {
377
+ loading: "Loading",
378
+ noMatch: "No matching data",
379
+ noData: "No data",
380
+ placeholder: "Select"
381
+ },
382
+ mention: { loading: "Loading" },
383
+ dropdown: { toggleDropdown: "Toggle Dropdown" },
384
+ cascader: {
385
+ noMatch: "No matching data",
386
+ loading: "Loading",
387
+ placeholder: "Select",
388
+ noData: "No data"
389
+ },
390
+ pagination: {
391
+ goto: "Go to",
392
+ pagesize: "/page",
393
+ total: "Total {total}",
394
+ pageClassifier: "",
395
+ page: "Page",
396
+ prev: "Go to previous page",
397
+ next: "Go to next page",
398
+ currentPage: "page {pager}",
399
+ prevPages: "Previous {pager} pages",
400
+ nextPages: "Next {pager} pages",
401
+ deprecationWarning: "Deprecated usages detected, please refer to the el-pagination documentation for more details"
402
+ },
403
+ dialog: { close: "Close this dialog" },
404
+ drawer: { close: "Close this dialog" },
405
+ messagebox: {
406
+ title: "Message",
407
+ confirm: "OK",
408
+ cancel: "Cancel",
409
+ error: "Illegal input",
410
+ close: "Close this dialog"
411
+ },
412
+ upload: {
413
+ deleteTip: "press delete to remove",
414
+ delete: "Delete",
415
+ preview: "Preview",
416
+ continue: "Continue"
417
+ },
418
+ slider: {
419
+ defaultLabel: "slider between {min} and {max}",
420
+ defaultRangeStartLabel: "pick start value",
421
+ defaultRangeEndLabel: "pick end value"
422
+ },
423
+ table: {
424
+ emptyText: "No Data",
425
+ confirmFilter: "Confirm",
426
+ resetFilter: "Reset",
427
+ clearFilter: "All",
428
+ sumText: "Sum",
429
+ selectAllLabel: "Select all rows",
430
+ selectRowLabel: "Select this row",
431
+ expandRowLabel: "Expand this row",
432
+ collapseRowLabel: "Collapse this row",
433
+ sortLabel: "Sort by {column}",
434
+ filterLabel: "Filter by {column}"
435
+ },
436
+ tag: { close: "Close this tag" },
437
+ tour: {
438
+ next: "Next",
439
+ previous: "Previous",
440
+ finish: "Finish",
441
+ close: "Close this dialog"
442
+ },
443
+ tree: { emptyText: "No Data" },
444
+ transfer: {
445
+ noMatch: "No matching data",
446
+ noData: "No data",
447
+ titles: ["List 1", "List 2"],
448
+ filterPlaceholder: "Enter keyword",
449
+ noCheckedFormat: "{total} items",
450
+ hasCheckedFormat: "{checked}/{total} checked"
451
+ },
452
+ image: { error: "FAILED" },
453
+ pageHeader: { title: "Back" },
454
+ popconfirm: {
455
+ confirmButtonText: "Yes",
456
+ cancelButtonText: "No"
457
+ },
458
+ carousel: {
459
+ leftArrow: "Carousel arrow left",
460
+ rightArrow: "Carousel arrow right",
461
+ indicator: "Carousel switch to index {index}"
462
+ }
463
+ }
464
+ }, buildTranslator = (e) => (t, n) => translate$1(t, n, unref(e)), translate$1 = (e, t, n) => get_default(n, e, e).replace(/\{(\w+)\}/g, (e, n) => `${t?.[n] ?? `{${n}}`}`), buildLocaleContext = (e) => ({
465
+ lang: computed(() => unref(e).name),
466
+ locale: isRef(e) ? e : ref(e),
467
+ t: buildTranslator(e)
468
+ }), localeContextKey = /* @__PURE__ */ Symbol("localeContextKey"), useLocale = (e) => {
469
+ let t = e || inject(localeContextKey, ref());
470
+ return buildLocaleContext(computed(() => t.value || English));
471
+ }, statePrefix = "is-", _bem = (e, t, n, r, i) => {
472
+ let a = `${e}-${t}`;
473
+ return n && (a += `-${n}`), r && (a += `__${r}`), i && (a += `--${i}`), a;
474
+ }, namespaceContextKey = /* @__PURE__ */ Symbol("namespaceContextKey"), useGetDerivedNamespace = (e) => {
475
+ let t = e || (getCurrentInstance() ? inject(namespaceContextKey, ref("el")) : ref("el"));
476
+ return computed(() => unref(t) || "el");
477
+ }, useNamespace = (e, t) => {
478
+ let n = useGetDerivedNamespace(t);
479
+ return {
480
+ namespace: n,
481
+ b: (t = "") => _bem(n.value, e, t, "", ""),
482
+ e: (t) => t ? _bem(n.value, e, "", t, "") : "",
483
+ m: (t) => t ? _bem(n.value, e, "", "", t) : "",
484
+ be: (t, r) => t && r ? _bem(n.value, e, t, r, "") : "",
485
+ em: (t, r) => t && r ? _bem(n.value, e, "", t, r) : "",
486
+ bm: (t, r) => t && r ? _bem(n.value, e, t, "", r) : "",
487
+ bem: (t, r, i) => t && r && i ? _bem(n.value, e, t, r, i) : "",
488
+ is: (e, ...t) => {
489
+ let n = t.length >= 1 ? t[0] : !0;
490
+ return e && n ? `${statePrefix}${e}` : "";
491
+ },
492
+ cssVar: (e) => {
493
+ let t = {};
494
+ for (let r in e) e[r] && (t[`--${n.value}-${r}`] = e[r]);
495
+ return t;
496
+ },
497
+ cssVarName: (e) => `--${n.value}-${e}`,
498
+ cssVarBlock: (t) => {
499
+ let r = {};
500
+ for (let i in t) t[i] && (r[`--${n.value}-${e}-${i}`] = t[i]);
501
+ return r;
502
+ },
503
+ cssVarBlockName: (t) => `--${n.value}-${e}-${t}`
504
+ };
505
+ };
506
+ process.env.NODE_ENV === "production" || Object.freeze({}), process.env.NODE_ENV === "production" || Object.freeze([]);
507
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty, hasOwn$1 = (e, t) => hasOwnProperty$1.call(e, t), isArray$1 = Array.isArray, isFunction$2 = (e) => typeof e == "function", isString$1 = (e) => typeof e == "string", isObject$1 = (e) => typeof e == "object" && !!e, isBoolean$1 = (e) => typeof e == "boolean", isNumber$1 = (e) => typeof e == "number", isElement = (e) => typeof Element > "u" ? !1 : e instanceof Element, isStringNumber = (e) => isString$1(e) ? !Number.isNaN(Number(e)) : !1, lib_exports$1 = /* @__PURE__ */ __export({
508
+ Vue: () => Vue,
509
+ Vue2: () => void 0,
510
+ del: () => del$1,
511
+ install: () => install$1,
512
+ isVue2: () => !1,
513
+ isVue3: () => !0,
514
+ set: () => set$1
515
+ }, 1);
516
+ import * as import_vue$1 from "vue";
517
+ __reExport(lib_exports$1, import_vue$1, void 0, 1);
518
+ function install$1() {}
519
+ function set$1(e, t, n) {
520
+ return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
521
+ }
522
+ function del$1(e, t) {
523
+ if (Array.isArray(e)) {
524
+ e.splice(t, 1);
525
+ return;
526
+ }
527
+ delete e[t];
528
+ }
529
+ function tryOnScopeDispose(e) {
530
+ return (0, lib_exports$1.getCurrentScope)() ? ((0, lib_exports$1.onScopeDispose)(e), !0) : !1;
531
+ }
532
+ function toValue(e) {
533
+ return typeof e == "function" ? e() : (0, lib_exports$1.unref)(e);
534
+ }
535
+ var isClient = typeof window < "u" && typeof document < "u";
536
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
537
+ var toString = Object.prototype.toString, isObject$2 = (e) => toString.call(e) === "[object Object]", noop = () => {};
538
+ function useTimeoutFn(e, t, n = {}) {
539
+ let { immediate: r = !0 } = n, i = (0, lib_exports$1.ref)(!1), a = null;
540
+ function o() {
541
+ a &&= (clearTimeout(a), null);
542
+ }
543
+ function s() {
544
+ i.value = !1, o();
545
+ }
546
+ function c(...n) {
547
+ o(), i.value = !0, a = setTimeout(() => {
548
+ i.value = !1, a = null, e(...n);
549
+ }, toValue(t));
550
+ }
551
+ return r && (i.value = !0, isClient && c()), tryOnScopeDispose(s), {
552
+ isPending: (0, lib_exports$1.readonly)(i),
553
+ start: c,
554
+ stop: s
555
+ };
556
+ }
557
+ var lib_exports = /* @__PURE__ */ __export({
558
+ Vue: () => Vue,
559
+ Vue2: () => void 0,
560
+ del: () => del,
561
+ install: () => install,
562
+ isVue2: () => !1,
563
+ isVue3: () => !0,
564
+ set: () => set
565
+ }, 1);
566
+ import * as import_vue from "vue";
567
+ __reExport(lib_exports, import_vue, void 0, 1);
568
+ function install() {}
569
+ function set(e, t, n) {
570
+ return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
571
+ }
572
+ function del(e, t) {
573
+ if (Array.isArray(e)) {
574
+ e.splice(t, 1);
575
+ return;
576
+ }
577
+ delete e[t];
578
+ }
579
+ function unrefElement(e) {
580
+ let t = toValue(e);
581
+ return t?.$el ?? t;
582
+ }
583
+ var defaultWindow = isClient ? window : void 0;
584
+ isClient && window.document, isClient && window.navigator, isClient && window.location;
585
+ function useEventListener(...e) {
586
+ let t, n, r, i;
587
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, r, i] = e, t = defaultWindow) : [t, n, r, i] = e, !t) return noop;
588
+ Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
589
+ let a = [], o = () => {
590
+ a.forEach((e) => e()), a.length = 0;
591
+ }, s = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), c = (0, lib_exports.watch)(() => [unrefElement(t), toValue(i)], ([e, t]) => {
592
+ if (o(), !e) return;
593
+ let i = isObject$2(t) ? { ...t } : t;
594
+ a.push(...n.flatMap((t) => r.map((n) => s(e, t, n, i))));
595
+ }, {
596
+ immediate: !0,
597
+ flush: "post"
598
+ }), l = () => {
599
+ c(), o();
600
+ };
601
+ return tryOnScopeDispose(l), l;
602
+ }
603
+ function useMounted() {
604
+ let e = (0, lib_exports.ref)(!1), t = (0, lib_exports.getCurrentInstance)();
605
+ return t && (0, lib_exports.onMounted)(() => {
606
+ e.value = !0;
607
+ }, t), e;
608
+ }
609
+ function useSupported(e) {
610
+ let t = useMounted();
611
+ return (0, lib_exports.computed)(() => (t.value, !!e()));
612
+ }
613
+ function useResizeObserver(e, t, n = {}) {
614
+ let { window: r = defaultWindow, ...i } = n, a, o = useSupported(() => r && "ResizeObserver" in r), s = () => {
615
+ a &&= (a.disconnect(), void 0);
616
+ }, c = (0, lib_exports.watch)((0, lib_exports.computed)(() => Array.isArray(e) ? e.map((e) => unrefElement(e)) : [unrefElement(e)]), (e) => {
617
+ if (s(), o.value && r) {
618
+ a = new ResizeObserver(t);
619
+ for (let t of e) t && a.observe(t, i);
620
+ }
621
+ }, {
622
+ immediate: !0,
623
+ flush: "post"
624
+ }), l = () => {
625
+ s(), c();
626
+ };
627
+ return tryOnScopeDispose(l), {
628
+ isSupported: o,
629
+ stop: l
630
+ };
631
+ }
632
+ var ElementPlusError = class extends Error {
633
+ constructor(e) {
634
+ super(e), this.name = "ElementPlusError";
635
+ }
636
+ };
637
+ function debugWarn(e, t) {
638
+ if (process.env.NODE_ENV !== "production") {
639
+ let n = isString$1(e) ? new ElementPlusError(`[${e}] ${t}`) : e;
640
+ console.warn(n);
641
+ }
642
+ }
643
+ var initial = { current: 0 }, zIndex = ref(0), defaultInitialZIndex = 2e3, ZINDEX_INJECTION_KEY = /* @__PURE__ */ Symbol("elZIndexContextKey"), zIndexContextKey = /* @__PURE__ */ Symbol("zIndexContextKey"), useZIndex = (e) => {
644
+ let t = getCurrentInstance() ? inject(ZINDEX_INJECTION_KEY, initial) : initial, n = e || (getCurrentInstance() ? inject(zIndexContextKey, void 0) : void 0), r = computed(() => {
645
+ let e = unref(n);
646
+ return isNumber$1(e) ? e : defaultInitialZIndex;
647
+ }), a = computed(() => r.value + zIndex.value);
648
+ return !isClient && !inject(ZINDEX_INJECTION_KEY) && debugWarn("ZIndexInjection", "Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed\nusage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })"), {
649
+ initialZIndex: r,
650
+ currentZIndex: a,
651
+ nextZIndex: () => (t.current++, zIndex.value = t.current, a.value)
652
+ };
653
+ }, epPropKey = "__epPropKey", definePropType = (e) => e, isEpProp = (e) => isObject$1(e) && !!e.__epPropKey, buildProp = (e, t) => {
654
+ if (!isObject$1(e) || isEpProp(e)) return e;
655
+ let { values: n, required: r, default: i, type: a, validator: o } = e, s = {
656
+ type: a,
657
+ required: !!r,
658
+ validator: n || o ? (r) => {
659
+ let a = !1, s = [];
660
+ if (n && (s = Array.from(n), hasOwn$1(e, "default") && s.push(i), a ||= s.includes(r)), o && (a ||= o(r)), !a && s.length > 0) {
661
+ let e = [...new Set(s)].map((e) => JSON.stringify(e)).join(", ");
662
+ warn(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${e}], got value ${JSON.stringify(r)}.`);
663
+ }
664
+ return a;
665
+ } : void 0,
666
+ [epPropKey]: !0
667
+ };
668
+ return hasOwn$1(e, "default") && (s.default = i), s;
669
+ }, buildProps = (e) => fromPairs_default(Object.entries(e).map(([e, t]) => [e, buildProp(t, e)])), useSizeProp = buildProp({
670
+ type: String,
671
+ values: [
672
+ "",
673
+ "default",
674
+ "small",
675
+ "large"
676
+ ],
677
+ required: !1
678
+ }), SIZE_INJECTION_KEY = /* @__PURE__ */ Symbol("size"), emptyValuesContextKey = /* @__PURE__ */ Symbol("emptyValuesContextKey"), useEmptyValuesProps = buildProps({
679
+ emptyValues: Array,
680
+ valueOnClear: {
681
+ type: definePropType([
682
+ String,
683
+ Number,
684
+ Boolean,
685
+ Function
686
+ ]),
687
+ default: void 0,
688
+ validator: (e) => (e = isFunction$2(e) ? e() : e, isArray$1(e) ? e.every((e) => !e) : !e)
689
+ }
690
+ }), keysOf = (e) => Object.keys(e), globalConfig = ref();
691
+ function useGlobalConfig(e, t = void 0) {
692
+ let n = getCurrentInstance() ? inject(configProviderContextKey, globalConfig) : globalConfig;
693
+ return e ? computed(() => n.value?.[e] ?? t) : n;
694
+ }
695
+ function useGlobalComponentSettings(e, t) {
696
+ let n = useGlobalConfig(), r = useNamespace(e, computed(() => n.value?.namespace || "el")), a = useLocale(computed(() => n.value?.locale)), o = useZIndex(computed(() => n.value?.zIndex || 2e3)), s = computed(() => unref(t) || n.value?.size || "");
697
+ return provideGlobalConfig(computed(() => unref(n) || {})), {
698
+ ns: r,
699
+ locale: a,
700
+ zIndex: o,
701
+ size: s
702
+ };
703
+ }
704
+ var provideGlobalConfig = (e, t, n = !1) => {
705
+ let r = !!getCurrentInstance(), a = r ? useGlobalConfig() : void 0, o = t?.provide ?? (r ? provide : void 0);
706
+ if (!o) {
707
+ debugWarn("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
708
+ return;
709
+ }
710
+ let s = computed(() => {
711
+ let t = unref(e);
712
+ return a?.value ? mergeConfig(a.value, t) : t;
713
+ });
714
+ return o(configProviderContextKey, s), o(localeContextKey, computed(() => s.value.locale)), o(namespaceContextKey, computed(() => s.value.namespace)), o(zIndexContextKey, computed(() => s.value.zIndex)), o(SIZE_INJECTION_KEY, { size: computed(() => s.value.size || "") }), o(emptyValuesContextKey, computed(() => ({
715
+ emptyValues: s.value.emptyValues,
716
+ valueOnClear: s.value.valueOnClear
717
+ }))), (n || !globalConfig.value) && (globalConfig.value = s.value), s;
718
+ }, mergeConfig = (e, t) => {
719
+ let n = [.../* @__PURE__ */ new Set([...keysOf(e), ...keysOf(t)])], r = {};
720
+ for (let i of n) r[i] = t[i] === void 0 ? e[i] : t[i];
721
+ return r;
722
+ }, withInstall = (e, t) => {
723
+ if (e.install = (n) => {
724
+ for (let r of [e, ...Object.values(t ?? {})]) n.component(r.name, r);
725
+ }, t) for (let [n, r] of Object.entries(t)) e[n] = r;
726
+ return e;
727
+ }, withInstallFunction = (e, t) => (e.install = (n) => {
728
+ e._context = n._context, n.config.globalProperties[t] = e;
729
+ }, e), SCOPE = "utils/dom/style";
730
+ function addUnit(e, t = "px") {
731
+ if (!e && e !== 0) return "";
732
+ if (isNumber$1(e) || isStringNumber(e)) return `${e}${t}`;
733
+ if (isString$1(e)) return e;
734
+ debugWarn(SCOPE, "binding value must be a string or number");
735
+ }
736
+ var circle_close_filled_default = /* @__PURE__ */ defineComponent({
737
+ name: "CircleCloseFilled",
738
+ __name: "circle-close-filled",
739
+ setup(e) {
740
+ return (e, t) => (openBlock(), createElementBlock("svg", {
741
+ xmlns: "http://www.w3.org/2000/svg",
742
+ viewBox: "0 0 1024 1024"
743
+ }, [createElementVNode("path", {
744
+ fill: "currentColor",
745
+ d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
746
+ })]));
747
+ }
748
+ }), close_default = /* @__PURE__ */ defineComponent({
749
+ name: "Close",
750
+ __name: "close",
751
+ setup(e) {
752
+ return (e, t) => (openBlock(), createElementBlock("svg", {
753
+ xmlns: "http://www.w3.org/2000/svg",
754
+ viewBox: "0 0 1024 1024"
755
+ }, [createElementVNode("path", {
756
+ fill: "currentColor",
757
+ d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
758
+ })]));
759
+ }
760
+ }), info_filled_default = /* @__PURE__ */ defineComponent({
761
+ name: "InfoFilled",
762
+ __name: "info-filled",
763
+ setup(e) {
764
+ return (e, t) => (openBlock(), createElementBlock("svg", {
765
+ xmlns: "http://www.w3.org/2000/svg",
766
+ viewBox: "0 0 1024 1024"
767
+ }, [createElementVNode("path", {
768
+ fill: "currentColor",
769
+ d: "M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
770
+ })]));
771
+ }
772
+ }), success_filled_default = /* @__PURE__ */ defineComponent({
773
+ name: "SuccessFilled",
774
+ __name: "success-filled",
775
+ setup(e) {
776
+ return (e, t) => (openBlock(), createElementBlock("svg", {
777
+ xmlns: "http://www.w3.org/2000/svg",
778
+ viewBox: "0 0 1024 1024"
779
+ }, [createElementVNode("path", {
780
+ fill: "currentColor",
781
+ d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
782
+ })]));
783
+ }
784
+ }), warning_filled_default = /* @__PURE__ */ defineComponent({
785
+ name: "WarningFilled",
786
+ __name: "warning-filled",
787
+ setup(e) {
788
+ return (e, t) => (openBlock(), createElementBlock("svg", {
789
+ xmlns: "http://www.w3.org/2000/svg",
790
+ viewBox: "0 0 1024 1024"
791
+ }, [createElementVNode("path", {
792
+ fill: "currentColor",
793
+ d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
794
+ })]));
795
+ }
796
+ }), iconPropType = definePropType([
797
+ String,
798
+ Object,
799
+ Function
800
+ ]), TypeComponents = {
801
+ Close: close_default,
802
+ SuccessFilled: success_filled_default,
803
+ InfoFilled: info_filled_default,
804
+ WarningFilled: warning_filled_default,
805
+ CircleCloseFilled: circle_close_filled_default
806
+ }, TypeComponentsMap = {
807
+ primary: info_filled_default,
808
+ success: success_filled_default,
809
+ warning: warning_filled_default,
810
+ error: circle_close_filled_default,
811
+ info: info_filled_default
812
+ }, ElIcon = withInstall(/* @__PURE__ */ defineComponent({
813
+ name: "ElIcon",
814
+ inheritAttrs: !1,
815
+ __name: "icon",
816
+ props: buildProps({
817
+ size: { type: definePropType([Number, String]) },
818
+ color: { type: String }
819
+ }),
820
+ setup(e) {
821
+ let t = e, n = useNamespace("icon"), r = computed(() => {
822
+ let { size: e, color: n } = t, r = addUnit(e);
823
+ return !r && !n ? {} : {
824
+ fontSize: r,
825
+ "--color": n
826
+ };
827
+ });
828
+ return (e, t) => (openBlock(), createElementBlock("i", mergeProps({
829
+ class: unref(n).b(),
830
+ style: r.value
831
+ }, e.$attrs), [renderSlot(e.$slots, "default")], 16));
832
+ }
833
+ })), mutable = (e) => e, isAndroid = () => isClient && /android/i.test(window.navigator.userAgent), EVENT_CODE = {
834
+ tab: "Tab",
835
+ enter: "Enter",
836
+ space: "Space",
837
+ left: "ArrowLeft",
838
+ up: "ArrowUp",
839
+ right: "ArrowRight",
840
+ down: "ArrowDown",
841
+ esc: "Escape",
842
+ delete: "Delete",
843
+ backspace: "Backspace",
844
+ numpadEnter: "NumpadEnter",
845
+ pageUp: "PageUp",
846
+ pageDown: "PageDown",
847
+ home: "Home",
848
+ end: "End"
849
+ }, getEventCode = (e) => {
850
+ if (e.code && e.code !== "Unidentified") return e.code;
851
+ let t = getEventKey(e);
852
+ if (t) {
853
+ if (Object.values(EVENT_CODE).includes(t)) return t;
854
+ switch (t) {
855
+ case " ": return EVENT_CODE.space;
856
+ default: return "";
857
+ }
858
+ }
859
+ return "";
860
+ }, getEventKey = (e) => {
861
+ let t = e.key && e.key !== "Unidentified" ? e.key : "";
862
+ if (!t && e.type === "keyup" && isAndroid()) {
863
+ let n = e.target;
864
+ t = n.value.charAt(n.selectionStart - 1);
865
+ }
866
+ return t;
867
+ }, ElBadge = withInstall(/* @__PURE__ */ defineComponent({
868
+ name: "ElBadge",
869
+ __name: "badge",
870
+ props: buildProps({
871
+ value: {
872
+ type: [String, Number],
873
+ default: ""
874
+ },
875
+ max: {
876
+ type: Number,
877
+ default: 99
878
+ },
879
+ isDot: Boolean,
880
+ hidden: Boolean,
881
+ type: {
882
+ type: String,
883
+ values: [
884
+ "primary",
885
+ "success",
886
+ "warning",
887
+ "info",
888
+ "danger"
889
+ ],
890
+ default: "danger"
891
+ },
892
+ showZero: {
893
+ type: Boolean,
894
+ default: !0
895
+ },
896
+ color: String,
897
+ badgeStyle: { type: definePropType([
898
+ String,
899
+ Object,
900
+ Array
901
+ ]) },
902
+ offset: {
903
+ type: definePropType(Array),
904
+ default: () => [0, 0]
905
+ },
906
+ badgeClass: { type: String }
907
+ }),
908
+ setup(e, { expose: t }) {
909
+ let n = e, a = useNamespace("badge"), o = computed(() => n.isDot ? "" : isNumber$1(n.value) && isNumber$1(n.max) && n.max < n.value ? `${n.max}+` : `${n.value}`), d = computed(() => [{
910
+ backgroundColor: n.color,
911
+ marginRight: addUnit(-n.offset[0]),
912
+ marginTop: addUnit(n.offset[1])
913
+ }, n.badgeStyle ?? {}]);
914
+ return t({ content: o }), (t, n) => (openBlock(), createElementBlock("div", { class: normalizeClass(unref(a).b()) }, [renderSlot(t.$slots, "default"), createVNode(Transition, {
915
+ name: `${unref(a).namespace.value}-zoom-in-center`,
916
+ persisted: ""
917
+ }, {
918
+ default: withCtx(() => [withDirectives(createElementVNode("sup", {
919
+ class: normalizeClass([
920
+ unref(a).e("content"),
921
+ unref(a).em("content", e.type),
922
+ unref(a).is("fixed", !!t.$slots.default),
923
+ unref(a).is("dot", e.isDot),
924
+ unref(a).is("hide-zero", !e.showZero && e.value === 0),
925
+ e.badgeClass
926
+ ]),
927
+ style: normalizeStyle(d.value)
928
+ }, [renderSlot(t.$slots, "content", { value: o.value }, () => [createTextVNode(toDisplayString(o.value), 1)])], 6), [[vShow, !e.hidden && (o.value || e.isDot || t.$slots.content)]])]),
929
+ _: 3
930
+ }, 8, ["name"])], 2));
931
+ }
932
+ })), configProviderProps = buildProps({
933
+ a11y: {
934
+ type: Boolean,
935
+ default: !0
936
+ },
937
+ locale: { type: definePropType(Object) },
938
+ size: useSizeProp,
939
+ button: { type: definePropType(Object) },
940
+ card: { type: definePropType(Object) },
941
+ dialog: { type: definePropType(Object) },
942
+ link: { type: definePropType(Object) },
943
+ experimentalFeatures: { type: definePropType(Object) },
944
+ keyboardNavigation: {
945
+ type: Boolean,
946
+ default: !0
947
+ },
948
+ message: { type: definePropType(Object) },
949
+ zIndex: Number,
950
+ namespace: {
951
+ type: String,
952
+ default: "el"
953
+ },
954
+ ...useEmptyValuesProps
955
+ }), messageConfig = { placement: "top" };
956
+ defineComponent({
957
+ name: "ElConfigProvider",
958
+ props: configProviderProps,
959
+ setup(e, { slots: t }) {
960
+ let n = provideGlobalConfig(e);
961
+ return watch(() => e.message, (e) => {
962
+ Object.assign(messageConfig, n?.value?.message ?? {}, e ?? {});
963
+ }, {
964
+ immediate: !0,
965
+ deep: !0
966
+ }), () => renderSlot(t, "default", { config: n?.value });
967
+ }
968
+ });
969
+ var messageTypes = [
970
+ "primary",
971
+ "success",
972
+ "info",
973
+ "warning",
974
+ "error"
975
+ ], messagePlacement = [
976
+ "top",
977
+ "top-left",
978
+ "top-right",
979
+ "bottom",
980
+ "bottom-left",
981
+ "bottom-right"
982
+ ], messageDefaults = mutable({
983
+ customClass: "",
984
+ dangerouslyUseHTMLString: !1,
985
+ duration: 3e3,
986
+ icon: void 0,
987
+ id: "",
988
+ message: "",
989
+ onClose: void 0,
990
+ showClose: !1,
991
+ type: "info",
992
+ plain: !1,
993
+ offset: 16,
994
+ placement: void 0,
995
+ zIndex: 0,
996
+ grouping: !1,
997
+ repeatNum: 1,
998
+ appendTo: isClient ? document.body : void 0
999
+ }), messageProps = buildProps({
1000
+ customClass: {
1001
+ type: String,
1002
+ default: messageDefaults.customClass
1003
+ },
1004
+ dangerouslyUseHTMLString: {
1005
+ type: Boolean,
1006
+ default: messageDefaults.dangerouslyUseHTMLString
1007
+ },
1008
+ duration: {
1009
+ type: Number,
1010
+ default: messageDefaults.duration
1011
+ },
1012
+ icon: {
1013
+ type: iconPropType,
1014
+ default: messageDefaults.icon
1015
+ },
1016
+ id: {
1017
+ type: String,
1018
+ default: messageDefaults.id
1019
+ },
1020
+ message: {
1021
+ type: definePropType([
1022
+ String,
1023
+ Object,
1024
+ Function
1025
+ ]),
1026
+ default: messageDefaults.message
1027
+ },
1028
+ onClose: {
1029
+ type: definePropType(Function),
1030
+ default: messageDefaults.onClose
1031
+ },
1032
+ showClose: {
1033
+ type: Boolean,
1034
+ default: messageDefaults.showClose
1035
+ },
1036
+ type: {
1037
+ type: String,
1038
+ values: messageTypes,
1039
+ default: messageDefaults.type
1040
+ },
1041
+ plain: {
1042
+ type: Boolean,
1043
+ default: messageDefaults.plain
1044
+ },
1045
+ offset: {
1046
+ type: Number,
1047
+ default: messageDefaults.offset
1048
+ },
1049
+ placement: {
1050
+ type: String,
1051
+ values: messagePlacement,
1052
+ default: messageDefaults.placement
1053
+ },
1054
+ zIndex: {
1055
+ type: Number,
1056
+ default: messageDefaults.zIndex
1057
+ },
1058
+ grouping: {
1059
+ type: Boolean,
1060
+ default: messageDefaults.grouping
1061
+ },
1062
+ repeatNum: {
1063
+ type: Number,
1064
+ default: messageDefaults.repeatNum
1065
+ }
1066
+ }), messageEmits = { destroy: () => !0 }, placementInstances = shallowReactive({}), getOrCreatePlacementInstances = (e) => (placementInstances[e] || (placementInstances[e] = shallowReactive([])), placementInstances[e]), getInstance = (e, t) => {
1067
+ let n = placementInstances[t] || [], r = n.findIndex((t) => t.id === e), i = n[r], a;
1068
+ return r > 0 && (a = n[r - 1]), {
1069
+ current: i,
1070
+ prev: a
1071
+ };
1072
+ }, getLastOffset = (e, t) => {
1073
+ let { prev: n } = getInstance(e, t);
1074
+ return n ? n.vm.exposed.bottom.value : 0;
1075
+ }, getOffsetOrSpace = (e, t, n) => (placementInstances[n] || []).findIndex((t) => t.id === e) > 0 ? 16 : t, _hoisted_1$2 = ["id"], _hoisted_2$1 = ["innerHTML"], _sfc_main = /* @__PURE__ */ defineComponent({
1076
+ name: "ElMessage",
1077
+ __name: "message",
1078
+ props: messageProps,
1079
+ emits: messageEmits,
1080
+ setup(e, { expose: n, emit: l }) {
1081
+ let { Close: d } = TypeComponents, f = e, p = l, m = ref(!1), { ns: g, zIndex: _ } = useGlobalComponentSettings("message"), { currentZIndex: v, nextZIndex: y } = _, b = ref(), T = ref(!1), D = ref(0), k, A = computed(() => f.type ? f.type === "error" ? "danger" : f.type : "info"), M = computed(() => {
1082
+ let e = f.type;
1083
+ return { [g.bm("icon", e)]: e && TypeComponentsMap[e] };
1084
+ }), N = computed(() => f.icon || TypeComponentsMap[f.type] || ""), F = computed(() => f.placement || "top"), I = computed(() => getLastOffset(f.id, F.value)), z = computed(() => getOffsetOrSpace(f.id, f.offset, F.value) + I.value), V = computed(() => D.value + z.value), W = computed(() => F.value.includes("left") ? g.is("left") : F.value.includes("right") ? g.is("right") : g.is("center")), G = computed(() => F.value.startsWith("top") ? "top" : "bottom"), K = computed(() => ({
1085
+ [G.value]: `${z.value}px`,
1086
+ zIndex: v.value
1087
+ }));
1088
+ function q() {
1089
+ f.duration !== 0 && ({stop: k} = useTimeoutFn(() => {
1090
+ Y();
1091
+ }, f.duration));
1092
+ }
1093
+ function J() {
1094
+ k?.();
1095
+ }
1096
+ function Y() {
1097
+ T.value = !1, nextTick(() => {
1098
+ var e;
1099
+ m.value || ((e = f.onClose) == null || e.call(f), p("destroy"));
1100
+ });
1101
+ }
1102
+ function X(e) {
1103
+ getEventCode(e) === EVENT_CODE.esc && Y();
1104
+ }
1105
+ return onMounted(() => {
1106
+ q(), y(), T.value = !0;
1107
+ }), watch(() => f.repeatNum, () => {
1108
+ J(), q();
1109
+ }), useEventListener(document, "keydown", X), useResizeObserver(b, () => {
1110
+ D.value = b.value.getBoundingClientRect().height;
1111
+ }), n({
1112
+ visible: T,
1113
+ bottom: V,
1114
+ close: Y
1115
+ }), (n, i) => (openBlock(), createBlock(Transition, {
1116
+ name: unref(g).b("fade"),
1117
+ onBeforeEnter: i[0] ||= (e) => m.value = !0,
1118
+ onBeforeLeave: e.onClose,
1119
+ onAfterLeave: i[1] ||= (e) => n.$emit("destroy"),
1120
+ persisted: ""
1121
+ }, {
1122
+ default: withCtx(() => [withDirectives(createElementVNode("div", {
1123
+ id: e.id,
1124
+ ref_key: "messageRef",
1125
+ ref: b,
1126
+ class: normalizeClass([
1127
+ unref(g).b(),
1128
+ { [unref(g).m(e.type)]: e.type },
1129
+ unref(g).is("closable", e.showClose),
1130
+ unref(g).is("plain", e.plain),
1131
+ unref(g).is("bottom", G.value === "bottom"),
1132
+ W.value,
1133
+ e.customClass
1134
+ ]),
1135
+ style: normalizeStyle(K.value),
1136
+ role: "alert",
1137
+ onMouseenter: J,
1138
+ onMouseleave: q
1139
+ }, [
1140
+ e.repeatNum > 1 ? (openBlock(), createBlock(unref(ElBadge), {
1141
+ key: 0,
1142
+ value: e.repeatNum,
1143
+ type: A.value,
1144
+ class: normalizeClass(unref(g).e("badge"))
1145
+ }, null, 8, [
1146
+ "value",
1147
+ "type",
1148
+ "class"
1149
+ ])) : createCommentVNode("v-if", !0),
1150
+ N.value ? (openBlock(), createBlock(unref(ElIcon), {
1151
+ key: 1,
1152
+ class: normalizeClass([unref(g).e("icon"), M.value])
1153
+ }, {
1154
+ default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(N.value)))]),
1155
+ _: 1
1156
+ }, 8, ["class"])) : createCommentVNode("v-if", !0),
1157
+ renderSlot(n.$slots, "default", {}, () => [e.dangerouslyUseHTMLString ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "), createElementVNode("p", {
1158
+ class: normalizeClass(unref(g).e("content")),
1159
+ innerHTML: e.message
1160
+ }, null, 10, _hoisted_2$1)], 2112)) : (openBlock(), createElementBlock("p", {
1161
+ key: 0,
1162
+ class: normalizeClass(unref(g).e("content"))
1163
+ }, toDisplayString(e.message), 3))]),
1164
+ e.showClose ? (openBlock(), createBlock(unref(ElIcon), {
1165
+ key: 2,
1166
+ class: normalizeClass(unref(g).e("closeBtn")),
1167
+ onClick: withModifiers(Y, ["stop"])
1168
+ }, {
1169
+ default: withCtx(() => [createVNode(unref(d))]),
1170
+ _: 1
1171
+ }, 8, ["class"])) : createCommentVNode("v-if", !0)
1172
+ ], 46, _hoisted_1$2), [[vShow, T.value]])]),
1173
+ _: 3
1174
+ }, 8, ["name", "onBeforeLeave"]));
1175
+ }
1176
+ }), seed = 1, normalizeAppendTo = (e) => {
1177
+ if (!e.appendTo) e.appendTo = document.body;
1178
+ else if (isString$1(e.appendTo)) {
1179
+ let t = document.querySelector(e.appendTo);
1180
+ isElement(t) || (debugWarn("ElMessage", "the appendTo option is not an HTMLElement. Falling back to document.body."), t = document.body), e.appendTo = t;
1181
+ }
1182
+ }, normalizePlacement = (e) => {
1183
+ !e.placement && isString$1(messageConfig.placement) && messageConfig.placement && (e.placement = messageConfig.placement), e.placement ||= "top", messagePlacement.includes(e.placement) || (debugWarn("ElMessage", `Invalid placement: ${e.placement}. Falling back to 'top'.`), e.placement = "top");
1184
+ }, normalizeOptions = (e) => {
1185
+ let t = !e || isString$1(e) || isVNode(e) || isFunction$2(e) ? { message: e } : e, n = {
1186
+ ...messageDefaults,
1187
+ ...t
1188
+ };
1189
+ return normalizeAppendTo(n), normalizePlacement(n), isBoolean$1(messageConfig.grouping) && !n.grouping && (n.grouping = messageConfig.grouping), isNumber$1(messageConfig.duration) && n.duration === 3e3 && (n.duration = messageConfig.duration), isNumber$1(messageConfig.offset) && n.offset === 16 && (n.offset = messageConfig.offset), isBoolean$1(messageConfig.showClose) && !n.showClose && (n.showClose = messageConfig.showClose), isBoolean$1(messageConfig.plain) && !n.plain && (n.plain = messageConfig.plain), n;
1190
+ }, closeMessage = (e) => {
1191
+ let t = placementInstances[e.props.placement || "top"], n = t.indexOf(e);
1192
+ if (n === -1) return;
1193
+ t.splice(n, 1);
1194
+ let { handler: r } = e;
1195
+ r.close();
1196
+ }, createMessage = ({ appendTo: e, ...t }, n) => {
1197
+ let r = `message_${seed++}`, i = t.onClose, a = document.createElement("div"), o = {
1198
+ ...t,
1199
+ id: r,
1200
+ onClose: () => {
1201
+ i?.(), closeMessage(l);
1202
+ },
1203
+ onDestroy: () => {
1204
+ render(null, a);
1205
+ }
1206
+ }, s = createVNode(_sfc_main, o, isFunction$2(o.message) || isVNode(o.message) ? { default: isFunction$2(o.message) ? o.message : () => o.message } : null);
1207
+ s.appContext = n || message._context, render(s, a), e.appendChild(a.firstElementChild);
1208
+ let c = s.component, l = {
1209
+ id: r,
1210
+ vnode: s,
1211
+ vm: c,
1212
+ handler: { close: () => {
1213
+ c.exposed.close();
1214
+ } },
1215
+ props: s.component.props
1216
+ };
1217
+ return l;
1218
+ }, message = (e = {}, t) => {
1219
+ if (!isClient) return { close: () => void 0 };
1220
+ let n = normalizeOptions(e), r = getOrCreatePlacementInstances(n.placement || "top");
1221
+ if (n.grouping && r.length) {
1222
+ let e = r.find(({ vnode: e }) => e.props?.message === n.message);
1223
+ if (e) return e.props.repeatNum += 1, e.props.type = n.type, e.handler;
1224
+ }
1225
+ if (isNumber$1(messageConfig.max) && r.length >= messageConfig.max) return { close: () => void 0 };
1226
+ let i = createMessage(n, t);
1227
+ return r.push(i), i.handler;
1228
+ };
1229
+ messageTypes.forEach((e) => {
1230
+ message[e] = (t = {}, n) => message({
1231
+ ...normalizeOptions(t),
1232
+ type: e
1233
+ }, n);
1234
+ });
1235
+ function closeAll(e) {
1236
+ for (let t in placementInstances) if (hasOwn$1(placementInstances, t)) {
1237
+ let n = [...placementInstances[t]];
1238
+ for (let t of n) (!e || e === t.props.type) && t.handler.close();
1239
+ }
1240
+ }
1241
+ function closeAllByPlacement(e) {
1242
+ placementInstances[e] && [...placementInstances[e]].forEach((e) => e.handler.close());
1243
+ }
1244
+ message.closeAll = closeAll, message.closeAllByPlacement = closeAllByPlacement, message._context = null;
1245
+ var ElMessage = withInstallFunction(message, "$message");
1246
+ function warn$1(e, t) {
4
1247
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
5
1248
  }
6
1249
  var hasWarned = {};
7
1250
  function warnOnce(e) {
8
- hasWarned[e] || (hasWarned[e] = !0, warn(e));
1251
+ hasWarned[e] || (hasWarned[e] = !0, warn$1(e));
9
1252
  }
10
1253
  var inBrowser = typeof window < "u", mark, measure;
11
1254
  if (process.env.NODE_ENV !== "production") {
@@ -32,7 +1275,7 @@ function escapeAttributeValue(e) {
32
1275
  return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
33
1276
  }
34
1277
  function sanitizeTranslatedHtml(e) {
35
- return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (e, t, n) => `${t}="${escapeAttributeValue(n)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (e, t, n) => `${t}='${escapeAttributeValue(n)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && warn("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), [/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi, /(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach((t) => {
1278
+ return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (e, t, n) => `${t}="${escapeAttributeValue(n)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (e, t, n) => `${t}='${escapeAttributeValue(n)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && warn$1("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), [/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi, /(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach((t) => {
36
1279
  e = e.replace(t, "$1javascript&#58;");
37
1280
  }), e;
38
1281
  }
@@ -321,29 +1564,29 @@ function createTokenizer(e, t = {}) {
321
1564
  let t = e.charCodeAt(0);
322
1565
  return t >= 97 && t <= 122 || t >= 65 && t <= 90 || t >= 48 && t <= 57 || t === 95 || t === 36 || t === 45;
323
1566
  }
324
- function pa(e) {
1567
+ function N(e) {
325
1568
  return k(e, M);
326
1569
  }
327
- function ma(e) {
1570
+ function P(e) {
328
1571
  let t = e.charCodeAt(0);
329
1572
  return t >= 48 && t <= 57;
330
1573
  }
331
- function N(e) {
332
- return k(e, ma);
1574
+ function F(e) {
1575
+ return k(e, P);
333
1576
  }
334
- function P(e) {
1577
+ function I(e) {
335
1578
  let t = e.charCodeAt(0);
336
1579
  return t >= 48 && t <= 57 || t >= 65 && t <= 70 || t >= 97 && t <= 102;
337
1580
  }
338
- function F(e) {
339
- return k(e, P);
1581
+ function L(e) {
1582
+ return k(e, I);
340
1583
  }
341
- function I(e) {
1584
+ function R(e) {
342
1585
  let t = "", n = "";
343
- for (; t = N(e);) n += t;
1586
+ for (; t = F(e);) n += t;
344
1587
  return n;
345
1588
  }
346
- function L(e) {
1589
+ function z(e) {
347
1590
  let t = "";
348
1591
  for (;;) {
349
1592
  let n = e.currentChar();
@@ -355,10 +1598,10 @@ function createTokenizer(e, t = {}) {
355
1598
  }
356
1599
  return t;
357
1600
  }
358
- function R(e) {
1601
+ function B(e) {
359
1602
  _(e);
360
1603
  let t = "", n = "";
361
- for (; t = pa(e);) n += t;
1604
+ for (; t = N(e);) n += t;
362
1605
  let r = e.currentChar();
363
1606
  if (r && r !== "}" && r !== EOF && r !== CHAR_SP && r !== CHAR_LF && r !== " ") {
364
1607
  let t = G(e);
@@ -366,22 +1609,22 @@ function createTokenizer(e, t = {}) {
366
1609
  }
367
1610
  return e.currentChar() === EOF && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, a(), 0), n;
368
1611
  }
369
- function z(e) {
1612
+ function V(e) {
370
1613
  _(e);
371
1614
  let t = "";
372
- return e.currentChar() === "-" ? (e.next(), t += `-${I(e)}`) : t += I(e), e.currentChar() === EOF && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, a(), 0), t;
1615
+ return e.currentChar() === "-" ? (e.next(), t += `-${R(e)}`) : t += R(e), e.currentChar() === EOF && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, a(), 0), t;
373
1616
  }
374
- function B(e) {
1617
+ function H(e) {
375
1618
  return e !== LITERAL_DELIMITER && e !== CHAR_LF;
376
1619
  }
377
- function V(e) {
1620
+ function yu(e) {
378
1621
  _(e), m(e, "'");
379
1622
  let t = "", n = "";
380
- for (; t = k(e, B);) t === "\\" ? n += H(e) : n += t;
1623
+ for (; t = k(e, H);) t === "\\" ? n += bu(e) : n += t;
381
1624
  let r = e.currentChar();
382
1625
  return r === CHAR_LF || r === EOF ? (d(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), r === CHAR_LF && (e.next(), m(e, "'")), n) : (m(e, "'"), n);
383
1626
  }
384
- function H(e) {
1627
+ function bu(e) {
385
1628
  let t = e.currentChar();
386
1629
  switch (t) {
387
1630
  case "\\":
@@ -395,7 +1638,7 @@ function createTokenizer(e, t = {}) {
395
1638
  m(e, t);
396
1639
  let r = "";
397
1640
  for (let i = 0; i < n; i++) {
398
- let n = F(e);
1641
+ let n = L(e);
399
1642
  if (!n) {
400
1643
  d(CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${t}${r}${e.currentChar()}`);
401
1644
  break;
@@ -440,9 +1683,9 @@ function createTokenizer(e, t = {}) {
440
1683
  let r = !0, i = !0, o = !0;
441
1684
  if (D(e)) return t.braceNest > 0 && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, a(), 0), n = f(t, 1, J(e)), t.braceNest = 0, t.inLinked = !1, n;
442
1685
  if (t.braceNest > 0 && (t.currentType === 4 || t.currentType === 5 || t.currentType === 6)) return d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, a(), 0), t.braceNest = 0, Z(e, t);
443
- if (r = b(e, t)) return n = f(t, 4, R(e)), _(e), n;
444
- if (i = x(e, t)) return n = f(t, 5, z(e)), _(e), n;
445
- if (o = S(e, t)) return n = f(t, 6, V(e)), _(e), n;
1686
+ if (r = b(e, t)) return n = f(t, 4, B(e)), _(e), n;
1687
+ if (i = x(e, t)) return n = f(t, 5, V(e)), _(e), n;
1688
+ if (o = S(e, t)) return n = f(t, 6, yu(e)), _(e), n;
446
1689
  if (!r && !i && !o) return n = f(t, 12, G(e)), d(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, n.value), _(e), n;
447
1690
  break;
448
1691
  }
@@ -468,7 +1711,7 @@ function createTokenizer(e, t = {}) {
468
1711
  case "@": return X(e, t) || p(t);
469
1712
  default:
470
1713
  if (D(e)) return n = f(t, 1, J(e)), t.braceNest = 0, t.inLinked = !1, n;
471
- if (O(e)) return f(t, 0, L(e));
1714
+ if (O(e)) return f(t, 0, z(e));
472
1715
  break;
473
1716
  }
474
1717
  return n;
@@ -972,7 +2215,7 @@ function formatMessagePart(e, t) {
972
2215
  }
973
2216
  var WARN_MESSAGE = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
974
2217
  function checkHtmlMessage(e, t) {
975
- t && detectHtmlTag(e) && warn(format(WARN_MESSAGE, { source: e }));
2218
+ t && detectHtmlTag(e) && warn$1(format(WARN_MESSAGE, { source: e }));
976
2219
  }
977
2220
  var defaultOnCacheKey = (e) => e, compileCache = create();
978
2221
  function baseCompile$1(e, t = {}) {
@@ -998,7 +2241,7 @@ function compile(e, t) {
998
2241
  }), s = format$1(a);
999
2242
  return o ? s : compileCache[r] = s;
1000
2243
  } else {
1001
- if (process.env.NODE_ENV !== "production" && !isMessageAST(e)) return warn(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
2244
+ if (process.env.NODE_ENV !== "production" && !isMessageAST(e)) return warn$1(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
1002
2245
  let n = e.cacheKey;
1003
2246
  return n ? compileCache[n] || (compileCache[n] = format$1(e)) : format$1(e);
1004
2247
  }
@@ -1252,7 +2495,7 @@ var _additionalMeta = null, getAdditionalMeta = /* @__NO_SIDE_EFFECTS__ */ () =>
1252
2495
  _fallbackContext = e;
1253
2496
  }, getFallbackContext = () => _fallbackContext, _cid = 0;
1254
2497
  function createCoreContext(e = {}) {
1255
- let t = isFunction$1(e.onWarn) ? e.onWarn : warn, n = isString(e.version) ? e.version : VERSION$1, r = isString(e.locale) || isFunction$1(e.locale) ? e.locale : DEFAULT_LOCALE, i = isFunction$1(r) ? DEFAULT_LOCALE : r, a = isArray(e.fallbackLocale) || isPlainObject(e.fallbackLocale) || isString(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, o = isPlainObject(e.messages) ? e.messages : createResources(i), s = isPlainObject(e.datetimeFormats) ? e.datetimeFormats : createResources(i), c = isPlainObject(e.numberFormats) ? e.numberFormats : createResources(i), l = assign(create(), e.modifiers, getDefaultLinkedModifiers()), u = e.pluralRules || create(), d = isFunction$1(e.missing) ? e.missing : null, f = isBoolean(e.missingWarn) || isRegExp(e.missingWarn) ? e.missingWarn : !0, p = isBoolean(e.fallbackWarn) || isRegExp(e.fallbackWarn) ? e.fallbackWarn : !0, m = !!e.fallbackFormat, g = !!e.unresolving, _ = isFunction$1(e.postTranslation) ? e.postTranslation : null, v = isPlainObject(e.processor) ? e.processor : null, y = isBoolean(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter, x = isFunction$1(e.messageCompiler) ? e.messageCompiler : _compiler;
2498
+ let t = isFunction$1(e.onWarn) ? e.onWarn : warn$1, n = isString(e.version) ? e.version : VERSION$1, r = isString(e.locale) || isFunction$1(e.locale) ? e.locale : DEFAULT_LOCALE, i = isFunction$1(r) ? DEFAULT_LOCALE : r, a = isArray(e.fallbackLocale) || isPlainObject(e.fallbackLocale) || isString(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, o = isPlainObject(e.messages) ? e.messages : createResources(i), s = isPlainObject(e.datetimeFormats) ? e.datetimeFormats : createResources(i), c = isPlainObject(e.numberFormats) ? e.numberFormats : createResources(i), l = assign(create(), e.modifiers, getDefaultLinkedModifiers()), u = e.pluralRules || create(), d = isFunction$1(e.missing) ? e.missing : null, f = isBoolean(e.missingWarn) || isRegExp(e.missingWarn) ? e.missingWarn : !0, p = isBoolean(e.fallbackWarn) || isRegExp(e.fallbackWarn) ? e.fallbackWarn : !0, m = !!e.fallbackFormat, g = !!e.unresolving, _ = isFunction$1(e.postTranslation) ? e.postTranslation : null, v = isPlainObject(e.processor) ? e.processor : null, y = isBoolean(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter, x = isFunction$1(e.messageCompiler) ? e.messageCompiler : _compiler;
1256
2499
  process.env.NODE_ENV !== "production" && isFunction$1(e.messageCompiler) && warnOnce(getWarnMessage$1(CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1257
2500
  let S = isFunction$1(e.messageResolver) ? e.messageResolver : _resolver || resolveWithKeyValue, C = isFunction$1(e.localeFallbacker) ? e.localeFallbacker : _fallbacker || fallbackWithSimple, w = isObject(e.fallbackContext) ? e.fallbackContext : void 0, T = e, E = isObject(T.__datetimeFormatters) ? T.__datetimeFormatters : /* @__PURE__ */ new Map(), D = isObject(T.__numberFormatters) ? T.__numberFormatters : /* @__PURE__ */ new Map(), O = isObject(T.__meta) ? T.__meta : {};
1258
2501
  _cid++;
@@ -1526,7 +2769,7 @@ function translate(e, ...t) {
1526
2769
  s[_] || create()
1527
2770
  ] : resolveMessageFormat(e, c, _, o, d, u), x = v, S = c;
1528
2771
  if (!p && !(isString(x) || isMessageAST(x) || isMessageFunction(x)) && g && (x = m, S = x), !p && (!(isString(x) || isMessageAST(x) || isMessageFunction(x)) || !isString(y))) return i ? -1 : c;
1529
- if (process.env.NODE_ENV !== "production" && isString(x) && e.messageCompiler == null) return warn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`), c;
2772
+ if (process.env.NODE_ENV !== "production" && isString(x) && e.messageCompiler == null) return warn$1(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`), c;
1530
2773
  let C = !1, w = isMessageFunction(x) ? x : compileMessageFormat(e, c, y, x, S, () => {
1531
2774
  C = !0;
1532
2775
  });
@@ -1819,7 +3062,7 @@ function handleFlatJson(e) {
1819
3062
  for (let e = 0; e < r; e++) {
1820
3063
  if (n[e] === "__proto__") throw Error(`unsafe key: ${n[e]}`);
1821
3064
  if (n[e] in i || (i[n[e]] = create()), !isObject(i[n[e]])) {
1822
- process.env.NODE_ENV !== "production" && warn(getWarnMessage(I18nWarnCodes.IGNORE_OBJ_FLATTEN, { key: n[e] })), a = !0;
3065
+ process.env.NODE_ENV !== "production" && warn$1(getWarnMessage(I18nWarnCodes.IGNORE_OBJ_FLATTEN, { key: n[e] })), a = !0;
1823
3066
  break;
1824
3067
  }
1825
3068
  i = i[n[e]];
@@ -1869,25 +3112,25 @@ function adjustI18nResources(e, t, n) {
1869
3112
  function createTextNode(e) {
1870
3113
  return createVNode(Text, null, e, 0);
1871
3114
  }
1872
- function getCurrentInstance() {
3115
+ function getCurrentInstance$1() {
1873
3116
  let t = "currentInstance";
1874
3117
  return t in Vue ? Vue[t] : Vue.getCurrentInstance();
1875
3118
  }
1876
3119
  var NOOP_RETURN_ARRAY = () => [], NOOP_RETURN_FALSE = () => !1, composerID = 0;
1877
3120
  function defineCoreMissingHandler(e) {
1878
- return ((t, n, r, i) => e(n, r, getCurrentInstance() || void 0, i));
3121
+ return ((t, n, r, i) => e(n, r, getCurrentInstance$1() || void 0, i));
1879
3122
  }
1880
3123
  function createComposer(e = {}) {
1881
- let { __root: t, __injectWithOption: n } = e, i = t === void 0, a = e.flatJson, o = inBrowser ? ref : shallowRef, s = isBoolean(e.inheritLocale) ? e.inheritLocale : !0, c = o(t && s ? t.locale.value : isString(e.locale) ? e.locale : DEFAULT_LOCALE), l = o(t && s ? t.fallbackLocale.value : isString(e.fallbackLocale) || isArray(e.fallbackLocale) || isPlainObject(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value), u = o(getLocaleMessages(c.value, e)), d = o(isPlainObject(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), f = o(isPlainObject(e.numberFormats) ? e.numberFormats : { [c.value]: {} }), p = t ? t.missingWarn : isBoolean(e.missingWarn) || isRegExp(e.missingWarn) ? e.missingWarn : !0, m = t ? t.fallbackWarn : isBoolean(e.fallbackWarn) || isRegExp(e.fallbackWarn) ? e.fallbackWarn : !0, g = t ? t.fallbackRoot : isBoolean(e.fallbackRoot) ? e.fallbackRoot : !0, _ = !!e.fallbackFormat, v = isFunction$1(e.missing) ? e.missing : null, y = isFunction$1(e.missing) ? defineCoreMissingHandler(e.missing) : null, b = isFunction$1(e.postTranslation) ? e.postTranslation : null, x = t ? t.warnHtmlMessage : isBoolean(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, w = t ? t.modifiers : isPlainObject(e.modifiers) ? e.modifiers : {}, T = e.pluralRules || t && t.pluralRules, E;
1882
- E = (() => {
1883
- i && setFallbackContext(null);
3124
+ let { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, o = inBrowser ? ref : shallowRef, s = isBoolean(e.inheritLocale) ? e.inheritLocale : !0, c = o(t && s ? t.locale.value : isString(e.locale) ? e.locale : DEFAULT_LOCALE), l = o(t && s ? t.fallbackLocale.value : isString(e.fallbackLocale) || isArray(e.fallbackLocale) || isPlainObject(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value), u = o(getLocaleMessages(c.value, e)), d = o(isPlainObject(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), f = o(isPlainObject(e.numberFormats) ? e.numberFormats : { [c.value]: {} }), p = t ? t.missingWarn : isBoolean(e.missingWarn) || isRegExp(e.missingWarn) ? e.missingWarn : !0, m = t ? t.fallbackWarn : isBoolean(e.fallbackWarn) || isRegExp(e.fallbackWarn) ? e.fallbackWarn : !0, g = t ? t.fallbackRoot : isBoolean(e.fallbackRoot) ? e.fallbackRoot : !0, _ = !!e.fallbackFormat, v = isFunction$1(e.missing) ? e.missing : null, y = isFunction$1(e.missing) ? defineCoreMissingHandler(e.missing) : null, b = isFunction$1(e.postTranslation) ? e.postTranslation : null, x = t ? t.warnHtmlMessage : isBoolean(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, C = t ? t.modifiers : isPlainObject(e.modifiers) ? e.modifiers : {}, w = e.pluralRules || t && t.pluralRules, T;
3125
+ T = (() => {
3126
+ r && setFallbackContext(null);
1884
3127
  let t = {
1885
3128
  version: VERSION,
1886
3129
  locale: c.value,
1887
3130
  fallbackLocale: l.value,
1888
3131
  messages: u.value,
1889
- modifiers: w,
1890
- pluralRules: T,
3132
+ modifiers: C,
3133
+ pluralRules: w,
1891
3134
  missing: y === null ? void 0 : y,
1892
3135
  missingWarn: p,
1893
3136
  fallbackWarn: m,
@@ -1900,11 +3143,11 @@ function createComposer(e = {}) {
1900
3143
  messageCompiler: e.messageCompiler,
1901
3144
  __meta: { framework: "vue" }
1902
3145
  };
1903
- t.datetimeFormats = d.value, t.numberFormats = f.value, t.__datetimeFormatters = isPlainObject(E) ? E.__datetimeFormatters : void 0, t.__numberFormatters = isPlainObject(E) ? E.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (t.__v_emitter = isPlainObject(E) ? E.__v_emitter : void 0);
3146
+ t.datetimeFormats = d.value, t.numberFormats = f.value, t.__datetimeFormatters = isPlainObject(T) ? T.__datetimeFormatters : void 0, t.__numberFormatters = isPlainObject(T) ? T.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (t.__v_emitter = isPlainObject(T) ? T.__v_emitter : void 0);
1904
3147
  let n = createCoreContext(t);
1905
- return i && setFallbackContext(n), n;
1906
- })(), updateFallbackLocale(E, c.value, l.value);
1907
- function D() {
3148
+ return r && setFallbackContext(n), n;
3149
+ })(), updateFallbackLocale(T, c.value, l.value);
3150
+ function E() {
1908
3151
  return [
1909
3152
  c.value,
1910
3153
  l.value,
@@ -1913,52 +3156,52 @@ function createComposer(e = {}) {
1913
3156
  f.value
1914
3157
  ];
1915
3158
  }
1916
- let k = computed({
3159
+ let D = computed({
1917
3160
  get: () => c.value,
1918
3161
  set: (e) => {
1919
- E.locale = e, c.value = e;
3162
+ T.locale = e, c.value = e;
1920
3163
  }
1921
- }), A = computed({
3164
+ }), k = computed({
1922
3165
  get: () => l.value,
1923
3166
  set: (e) => {
1924
- E.fallbackLocale = e, l.value = e, updateFallbackLocale(E, c.value, e);
3167
+ T.fallbackLocale = e, l.value = e, updateFallbackLocale(T, c.value, e);
1925
3168
  }
1926
- }), j = computed(() => u.value), M = /* @__PURE__ */ computed(() => d.value), ma = /* @__PURE__ */ computed(() => f.value);
3169
+ }), A = computed(() => u.value), j = /* @__PURE__ */ computed(() => d.value), M = /* @__PURE__ */ computed(() => f.value);
1927
3170
  function N() {
1928
3171
  return isFunction$1(b) ? b : null;
1929
3172
  }
1930
3173
  function P(e) {
1931
- b = e, E.postTranslation = e;
3174
+ b = e, T.postTranslation = e;
1932
3175
  }
1933
- function I() {
3176
+ function F() {
1934
3177
  return v;
1935
3178
  }
1936
3179
  function L(e) {
1937
- e !== null && (y = defineCoreMissingHandler(e)), v = e, E.missing = y;
3180
+ e !== null && (y = defineCoreMissingHandler(e)), v = e, T.missing = y;
1938
3181
  }
1939
- function z(e, t) {
3182
+ function R(e, t) {
1940
3183
  return e !== "translate" || !t.resolvedMessage;
1941
3184
  }
1942
- let B = (e, n, r, a, o, s) => {
1943
- D();
3185
+ let z = (e, n, i, a, o, s) => {
3186
+ E();
1944
3187
  let c;
1945
3188
  try {
1946
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (E.fallbackContext = t ? getFallbackContext() : void 0), c = e(E);
3189
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = t ? getFallbackContext() : void 0), c = e(T);
1947
3190
  } finally {
1948
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (E.fallbackContext = void 0);
3191
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = void 0);
1949
3192
  }
1950
- if (r !== "translate exists" && isNumber(c) && c === -1 || r === "translate exists" && !c) {
1951
- let [e, i] = n();
1952
- if (process.env.NODE_ENV !== "production" && t && isString(e) && z(r, i) && (g && (isTranslateFallbackWarn(m, e) || isTranslateMissingWarn(p, e)) && warn(getWarnMessage(I18nWarnCodes.FALLBACK_TO_ROOT, {
3193
+ if (i !== "translate exists" && isNumber(c) && c === -1 || i === "translate exists" && !c) {
3194
+ let [e, r] = n();
3195
+ if (process.env.NODE_ENV !== "production" && t && isString(e) && R(i, r) && (g && (isTranslateFallbackWarn(m, e) || isTranslateMissingWarn(p, e)) && warn$1(getWarnMessage(I18nWarnCodes.FALLBACK_TO_ROOT, {
1953
3196
  key: e,
1954
- type: r
3197
+ type: i
1955
3198
  })), process.env.NODE_ENV !== "production")) {
1956
- let { __v_emitter: t } = E;
3199
+ let { __v_emitter: t } = T;
1957
3200
  t && g && t.emit("fallback", {
1958
- type: r,
3201
+ type: i,
1959
3202
  key: e,
1960
3203
  to: "global",
1961
- groupId: `${r}:${e}`
3204
+ groupId: `${i}:${e}`
1962
3205
  });
1963
3206
  }
1964
3207
  return t && g ? a(t) : o(e);
@@ -1967,59 +3210,59 @@ function createComposer(e = {}) {
1967
3210
  /* istanbul ignore next */
1968
3211
  throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE);
1969
3212
  };
1970
- function V(...e) {
1971
- return B((t) => Reflect.apply(translate, null, [t, ...e]), () => parseTranslateArgs(...e), "translate", (t) => Reflect.apply(t.t, t, [...e]), (e) => e, (e) => isString(e));
3213
+ function B(...e) {
3214
+ return z((t) => Reflect.apply(translate, null, [t, ...e]), () => parseTranslateArgs(...e), "translate", (t) => Reflect.apply(t.t, t, [...e]), (e) => e, (e) => isString(e));
1972
3215
  }
1973
- function H(...e) {
3216
+ function V(...e) {
1974
3217
  let [t, n, r] = e;
1975
3218
  if (r && !isObject(r)) throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);
1976
- return V(t, n, assign({ resolvedMessage: !0 }, r || {}));
3219
+ return B(t, n, assign({ resolvedMessage: !0 }, r || {}));
1977
3220
  }
1978
- function U(...e) {
1979
- return B((t) => Reflect.apply(datetime, null, [t, ...e]), () => parseDateTimeArgs(...e), "datetime format", (t) => Reflect.apply(t.d, t, [...e]), () => "", (e) => isString(e) || isArray(e));
3221
+ function yu(...e) {
3222
+ return z((t) => Reflect.apply(datetime, null, [t, ...e]), () => parseDateTimeArgs(...e), "datetime format", (t) => Reflect.apply(t.d, t, [...e]), () => "", (e) => isString(e) || isArray(e));
1980
3223
  }
1981
- function W(...e) {
1982
- return B((t) => Reflect.apply(number, null, [t, ...e]), () => parseNumberArgs(...e), "number format", (t) => Reflect.apply(t.n, t, [...e]), () => "", (e) => isString(e) || isArray(e));
3224
+ function bu(...e) {
3225
+ return z((t) => Reflect.apply(number, null, [t, ...e]), () => parseNumberArgs(...e), "number format", (t) => Reflect.apply(t.n, t, [...e]), () => "", (e) => isString(e) || isArray(e));
1983
3226
  }
1984
- function G(e) {
3227
+ function U(e) {
1985
3228
  return e.map((e) => isString(e) || isNumber(e) || isBoolean(e) ? createTextNode(String(e)) : e);
1986
3229
  }
1987
- let q = {
1988
- normalize: G,
3230
+ let W = {
3231
+ normalize: U,
1989
3232
  interpolate: (e) => e,
1990
3233
  type: "vnode"
1991
3234
  };
1992
- function Y(...e) {
1993
- return B((t) => {
3235
+ function G(...e) {
3236
+ return z((t) => {
1994
3237
  let n, r = t;
1995
3238
  try {
1996
- r.processor = q, n = Reflect.apply(translate, null, [r, ...e]);
3239
+ r.processor = W, n = Reflect.apply(translate, null, [r, ...e]);
1997
3240
  } finally {
1998
3241
  r.processor = null;
1999
3242
  }
2000
3243
  return n;
2001
3244
  }, () => parseTranslateArgs(...e), "translate", (t) => t[TranslateVNodeSymbol](...e), (e) => [createTextNode(e)], (e) => isArray(e));
2002
3245
  }
2003
- function Z(...e) {
2004
- return B((t) => Reflect.apply(number, null, [t, ...e]), () => parseNumberArgs(...e), "number format", (t) => t[NumberPartsSymbol](...e), NOOP_RETURN_ARRAY, (e) => isString(e) || isArray(e));
3246
+ function K(...e) {
3247
+ return z((t) => Reflect.apply(number, null, [t, ...e]), () => parseNumberArgs(...e), "number format", (t) => t[NumberPartsSymbol](...e), NOOP_RETURN_ARRAY, (e) => isString(e) || isArray(e));
2005
3248
  }
2006
- function Q(...e) {
2007
- return B((t) => Reflect.apply(datetime, null, [t, ...e]), () => parseDateTimeArgs(...e), "datetime format", (t) => t[DatetimePartsSymbol](...e), NOOP_RETURN_ARRAY, (e) => isString(e) || isArray(e));
3249
+ function q(...e) {
3250
+ return z((t) => Reflect.apply(datetime, null, [t, ...e]), () => parseDateTimeArgs(...e), "datetime format", (t) => t[DatetimePartsSymbol](...e), NOOP_RETURN_ARRAY, (e) => isString(e) || isArray(e));
2008
3251
  }
2009
- function ha(e) {
2010
- T = e, E.pluralRules = T;
3252
+ function J(e) {
3253
+ w = e, T.pluralRules = w;
2011
3254
  }
2012
- function ga(e, t) {
2013
- return B(() => {
3255
+ function Y(e, t) {
3256
+ return z(() => {
2014
3257
  if (!e) return !1;
2015
- let n = ya(isString(t) ? t : c.value), r = E.messageResolver(n, e);
3258
+ let n = Q(isString(t) ? t : c.value), r = T.messageResolver(n, e);
2016
3259
  return isMessageAST(r) || isMessageFunction(r) || isString(r);
2017
3260
  }, () => [e], "translate exists", (n) => Reflect.apply(n.te, n, [e, t]), NOOP_RETURN_FALSE, (e) => isBoolean(e));
2018
3261
  }
2019
- function _a(e) {
2020
- let t = null, n = fallbackWithLocaleChain(E, l.value, c.value);
3262
+ function X(e) {
3263
+ let t = null, n = fallbackWithLocaleChain(T, l.value, c.value);
2021
3264
  for (let r = 0; r < n.length; r++) {
2022
- let i = u.value[n[r]] || {}, a = E.messageResolver(i, e);
3265
+ let i = u.value[n[r]] || {}, a = T.messageResolver(i, e);
2023
3266
  if (a != null) {
2024
3267
  t = a;
2025
3268
  break;
@@ -2027,83 +3270,83 @@ function createComposer(e = {}) {
2027
3270
  }
2028
3271
  return t;
2029
3272
  }
2030
- function va(e) {
2031
- return _a(e) ?? (t && t.tm(e) || {});
3273
+ function Z(e) {
3274
+ return X(e) ?? (t && t.tm(e) || {});
2032
3275
  }
2033
- function ya(e) {
3276
+ function Q(e) {
2034
3277
  return u.value[e] || {};
2035
3278
  }
2036
- function ba(e, t) {
3279
+ function xu(e, t) {
2037
3280
  if (a) {
2038
3281
  let n = { [e]: t };
2039
3282
  for (let e in n) hasOwn(n, e) && handleFlatJson(n[e]);
2040
3283
  t = n[e];
2041
3284
  }
2042
- u.value[e] = t, E.messages = u.value;
3285
+ u.value[e] = t, T.messages = u.value;
2043
3286
  }
2044
- function xa(e, t) {
3287
+ function Su(e, t) {
2045
3288
  u.value[e] = u.value[e] || {};
2046
3289
  let n = { [e]: t };
2047
3290
  if (a) for (let e in n) hasOwn(n, e) && handleFlatJson(n[e]);
2048
- t = n[e], deepCopy(t, u.value[e]), E.messages = u.value;
3291
+ t = n[e], deepCopy(t, u.value[e]), T.messages = u.value;
2049
3292
  }
2050
- function Sa(e) {
3293
+ function Cu(e) {
2051
3294
  return d.value[e] || {};
2052
3295
  }
2053
- function Ca(e, t) {
2054
- d.value[e] = t, E.datetimeFormats = d.value, clearDateTimeFormat(E, e, t);
3296
+ function wu(e, t) {
3297
+ d.value[e] = t, T.datetimeFormats = d.value, clearDateTimeFormat(T, e, t);
2055
3298
  }
2056
- function wa(e, t) {
2057
- d.value[e] = assign(d.value[e] || {}, t), E.datetimeFormats = d.value, clearDateTimeFormat(E, e, t);
3299
+ function Tu(e, t) {
3300
+ d.value[e] = assign(d.value[e] || {}, t), T.datetimeFormats = d.value, clearDateTimeFormat(T, e, t);
2058
3301
  }
2059
- function Ta(e) {
3302
+ function Eu(e) {
2060
3303
  return f.value[e] || {};
2061
3304
  }
2062
- function Ea(e, t) {
2063
- f.value[e] = t, E.numberFormats = f.value, clearNumberFormat(E, e, t);
3305
+ function Du(e, t) {
3306
+ f.value[e] = t, T.numberFormats = f.value, clearNumberFormat(T, e, t);
2064
3307
  }
2065
- function Da(e, t) {
2066
- f.value[e] = assign(f.value[e] || {}, t), E.numberFormats = f.value, clearNumberFormat(E, e, t);
3308
+ function Ou(e, t) {
3309
+ f.value[e] = assign(f.value[e] || {}, t), T.numberFormats = f.value, clearNumberFormat(T, e, t);
2067
3310
  }
2068
3311
  composerID++, t && inBrowser && (watch(t.locale, (e) => {
2069
- s && (c.value = e, E.locale = e, updateFallbackLocale(E, c.value, l.value));
3312
+ s && (c.value = e, T.locale = e, updateFallbackLocale(T, c.value, l.value));
2070
3313
  }), watch(t.fallbackLocale, (e) => {
2071
- s && (l.value = e, E.fallbackLocale = e, updateFallbackLocale(E, c.value, l.value));
3314
+ s && (l.value = e, T.fallbackLocale = e, updateFallbackLocale(T, c.value, l.value));
2072
3315
  }));
2073
3316
  let $ = {
2074
3317
  id: composerID,
2075
- locale: k,
2076
- fallbackLocale: A,
3318
+ locale: D,
3319
+ fallbackLocale: k,
2077
3320
  get inheritLocale() {
2078
3321
  return s;
2079
3322
  },
2080
3323
  set inheritLocale(e) {
2081
- s = e, e && t && (c.value = t.locale.value, l.value = t.fallbackLocale.value, updateFallbackLocale(E, c.value, l.value));
3324
+ s = e, e && t && (c.value = t.locale.value, l.value = t.fallbackLocale.value, updateFallbackLocale(T, c.value, l.value));
2082
3325
  },
2083
3326
  get availableLocales() {
2084
3327
  return Object.keys(u.value).sort();
2085
3328
  },
2086
- messages: j,
3329
+ messages: A,
2087
3330
  get modifiers() {
2088
- return w;
3331
+ return C;
2089
3332
  },
2090
3333
  get pluralRules() {
2091
- return T || {};
3334
+ return w || {};
2092
3335
  },
2093
3336
  get isGlobal() {
2094
- return i;
3337
+ return r;
2095
3338
  },
2096
3339
  get missingWarn() {
2097
3340
  return p;
2098
3341
  },
2099
3342
  set missingWarn(e) {
2100
- p = e, E.missingWarn = p;
3343
+ p = e, T.missingWarn = p;
2101
3344
  },
2102
3345
  get fallbackWarn() {
2103
3346
  return m;
2104
3347
  },
2105
3348
  set fallbackWarn(e) {
2106
- m = e, E.fallbackWarn = m;
3349
+ m = e, T.fallbackWarn = m;
2107
3350
  },
2108
3351
  get fallbackRoot() {
2109
3352
  return g;
@@ -2115,34 +3358,34 @@ function createComposer(e = {}) {
2115
3358
  return _;
2116
3359
  },
2117
3360
  set fallbackFormat(e) {
2118
- _ = e, E.fallbackFormat = _;
3361
+ _ = e, T.fallbackFormat = _;
2119
3362
  },
2120
3363
  get warnHtmlMessage() {
2121
3364
  return x;
2122
3365
  },
2123
3366
  set warnHtmlMessage(e) {
2124
- x = e, E.warnHtmlMessage = e;
3367
+ x = e, T.warnHtmlMessage = e;
2125
3368
  },
2126
3369
  get escapeParameter() {
2127
3370
  return S;
2128
3371
  },
2129
3372
  set escapeParameter(e) {
2130
- S = e, E.escapeParameter = e;
3373
+ S = e, T.escapeParameter = e;
2131
3374
  },
2132
- t: V,
2133
- getLocaleMessage: ya,
2134
- setLocaleMessage: ba,
2135
- mergeLocaleMessage: xa,
3375
+ t: B,
3376
+ getLocaleMessage: Q,
3377
+ setLocaleMessage: xu,
3378
+ mergeLocaleMessage: Su,
2136
3379
  getPostTranslationHandler: N,
2137
3380
  setPostTranslationHandler: P,
2138
- getMissingHandler: I,
3381
+ getMissingHandler: F,
2139
3382
  setMissingHandler: L,
2140
- [SetPluralRulesSymbol]: ha
3383
+ [SetPluralRulesSymbol]: J
2141
3384
  };
2142
- return $.datetimeFormats = M, $.numberFormats = ma, $.rt = H, $.te = ga, $.tm = va, $.d = U, $.n = W, $.getDateTimeFormat = Sa, $.setDateTimeFormat = Ca, $.mergeDateTimeFormat = wa, $.getNumberFormat = Ta, $.setNumberFormat = Ea, $.mergeNumberFormat = Da, $[InejctWithOptionSymbol] = n, $[TranslateVNodeSymbol] = Y, $[DatetimePartsSymbol] = Q, $[NumberPartsSymbol] = Z, process.env.NODE_ENV !== "production" && ($[EnableEmitter] = (e) => {
2143
- E.__v_emitter = e;
3385
+ return $.datetimeFormats = j, $.numberFormats = M, $.rt = V, $.te = Y, $.tm = Z, $.d = yu, $.n = bu, $.getDateTimeFormat = Cu, $.setDateTimeFormat = wu, $.mergeDateTimeFormat = Tu, $.getNumberFormat = Eu, $.setNumberFormat = Du, $.mergeNumberFormat = Ou, $[InejctWithOptionSymbol] = n, $[TranslateVNodeSymbol] = G, $[DatetimePartsSymbol] = q, $[NumberPartsSymbol] = K, process.env.NODE_ENV !== "production" && ($[EnableEmitter] = (e) => {
3386
+ T.__v_emitter = e;
2144
3387
  }, $[DisableEmitter] = () => {
2145
- E.__v_emitter = void 0;
3388
+ T.__v_emitter = void 0;
2146
3389
  }), $;
2147
3390
  }
2148
3391
  var VUE_I18N_COMPONENT_TYPES = "vue-i18n: composer properties", VueDevToolsLabels = {
@@ -2558,7 +3801,7 @@ function createVueI18n(e = {}) {
2558
3801
  function defineMixin(e, t, n) {
2559
3802
  return {
2560
3803
  beforeCreate() {
2561
- let r = getCurrentInstance();
3804
+ let r = getCurrentInstance$1();
2562
3805
  /* istanbul ignore if */
2563
3806
  if (!r) throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);
2564
3807
  let i = this.$options;
@@ -2587,7 +3830,7 @@ function defineMixin(e, t, n) {
2587
3830
  mounted() {
2588
3831
  /* istanbul ignore if */
2589
3832
  if (process.env.NODE_ENV !== "production" && this.$i18n) {
2590
- let e = getCurrentInstance();
3833
+ let e = getCurrentInstance$1();
2591
3834
  if (!e) return;
2592
3835
  let t = this.$i18n;
2593
3836
  e.__VUE_I18N__ = t.__composer;
@@ -2596,7 +3839,7 @@ function defineMixin(e, t, n) {
2596
3839
  }
2597
3840
  },
2598
3841
  unmounted() {
2599
- let e = getCurrentInstance();
3842
+ let e = getCurrentInstance$1();
2600
3843
  /* istanbul ignore if */
2601
3844
  if (!e) throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);
2602
3845
  let t = this.$i18n;
@@ -2656,7 +3899,7 @@ var Translation = /* @__PURE__ */ defineComponent({
2656
3899
  };
2657
3900
  }
2658
3901
  });
2659
- function isVNode(e) {
3902
+ function isVNode$1(e) {
2660
3903
  return isArray(e) && !isString(e[0]);
2661
3904
  }
2662
3905
  function renderFormatter(e, t, n, r) {
@@ -2671,7 +3914,7 @@ function renderFormatter(e, t, n, r) {
2671
3914
  index: t,
2672
3915
  parts: s
2673
3916
  }) : [e.value];
2674
- return isVNode(r) && (r[0].key = `${e.type}-${t}`), r;
3917
+ return isVNode$1(r) && (r[0].key = `${e.type}-${t}`), r;
2675
3918
  }) : isString(s) && (c = [s]);
2676
3919
  let l = assign(create(), a);
2677
3920
  return h(isString(e.tag) || isObject(e.tag) ? e.tag : getFragmentableTag(), l, c);
@@ -2807,20 +4050,20 @@ function createI18n(e = {}) {
2807
4050
  return u;
2808
4051
  }
2809
4052
  function useI18n(e = {}) {
2810
- let t = getCurrentInstance();
4053
+ let t = getCurrentInstance$1();
2811
4054
  if (t == null) throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);
2812
4055
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__) throw createI18nError(I18nErrorCodes.NOT_INSTALLED);
2813
4056
  let n = getI18nInstance(t), r = getGlobalComposer(n), i = getComponentOptions(t), a = getScope(e, i);
2814
4057
  if (a === "global") return adjustI18nResources(r, e, i), r;
2815
4058
  if (a === "parent") {
2816
4059
  let i = getComposer(n, t, e.__useComponent);
2817
- return i ??= (process.env.NODE_ENV !== "production" && warn(getWarnMessage(I18nWarnCodes.NOT_FOUND_PARENT_SCOPE)), r), i;
4060
+ return i ??= (process.env.NODE_ENV !== "production" && warn$1(getWarnMessage(I18nWarnCodes.NOT_FOUND_PARENT_SCOPE)), r), i;
2818
4061
  }
2819
4062
  let o = n, s = o.__getInstance(t);
2820
4063
  if (s == null) {
2821
4064
  let n = assign({}, e);
2822
4065
  "__i18n" in i && (n.__i18n = i.__i18n), r && (n.__root = r), s = createComposer(n), o.__composerExtend && (s[DisposeSymbol] = o.__composerExtend(s)), setupLifeCycle(o, t, s), o.__setInstance(t, s);
2823
- } else process.env.NODE_ENV !== "production" && a === "local" && warn(getWarnMessage(I18nWarnCodes.DUPLICATE_USE_I18N_CALLING));
4066
+ } else process.env.NODE_ENV !== "production" && a === "local" && warn$1(getWarnMessage(I18nWarnCodes.DUPLICATE_USE_I18N_CALLING));
2824
4067
  return s;
2825
4068
  }
2826
4069
  function createGlobal(e, t) {
@@ -2938,6 +4181,7 @@ var en_default = {
2938
4181
  save: "SAVE",
2939
4182
  cancel: "CANCEL"
2940
4183
  },
4184
+ copied: "Copied to clipboard",
2941
4185
  notData: "No data",
2942
4186
  select: {
2943
4187
  multiple: "Selected",
@@ -3008,6 +4252,7 @@ var en_default = {
3008
4252
  save: "保存",
3009
4253
  cancel: "取消"
3010
4254
  },
4255
+ copied: "已复制到剪贴板",
3011
4256
  notData: "数据为空",
3012
4257
  select: { multiple: "已选中 {0} 个" },
3013
4258
  fileUpload: {
@@ -3130,7 +4375,7 @@ function maskEmail(e) {
3130
4375
  const getDictValue = (e, t, n = "label") => e.find((e) => e.value === t)?.[n] ?? "";
3131
4376
  var placeholder_default = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QeqRXhpZgAASUkqAAgAAAAMAAABAwABAAAAyAAAAAEBAwABAAAAyAAAAAIBAwADAAAAngAAAAYBAwABAAAAAgAAABIBAwABAAAAAQAAABUBAwABAAAAAwAAABoBBQABAAAApAAAABsBBQABAAAArAAAACgBAwABAAAAAgAAADEBAgAhAAAAtAAAADIBAgAUAAAA1QAAAGmHBAABAAAA7AAAACQBAAAIAAgACACA/AoAECcAAID8CgAQJwAAQWRvYmUgUGhvdG9zaG9wIDIxLjAgKE1hY2ludG9zaCkAMjAyMzowMjoyMSAxMToxNzoyNwAAAAAEAACQBwAEAAAAMDIzMQGgAwABAAAA//8AAAKgBAABAAAAyAAAAAOgBAABAAAAyAAAAAAAAAAAAAYAAwEDA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AExlZnRVbnRGI1JsdAAAAAAAAAAAAAAAAFRvcCBVbnRGI1JsdAAAAAAAAAAAAAAAAFNjbCBVbnRGI1ByY0BZAAAAAAAAAAAAEGNyb3BXaGVuUHJpbnRpbmdib29sAAAAAA5jcm9wUmVjdEJvdHRvbWxvbmcAAAAAAAAADGNyb3BSZWN0TGVmdGxvbmcAAAAAAAAADWNyb3BSZWN0UmlnaHRsb25nAAAAAAAAAAtjcm9wUmVjdFRvcGxvbmcAAAAAADhCSU0D7QAAAAAAEABIAAAAAQABAEgAAAABAAE4QklNBCYAAAAAAA4AAAAAAAAAAAAAP4AAADhCSU0EDQAAAAAABAAAAB44QklNBBkAAAAAAAQAAAAeOEJJTQPzAAAAAAAJAAAAAAAAAAABADhCSU0nEAAAAAAACgABAAAAAAAAAAE4QklNA/UAAAAAAEgAL2ZmAAEAbGZmAAYAAAAAAAEAL2ZmAAEAoZmaAAYAAAAAAAEAMgAAAAEAWgAAAAYAAAAAAAEANQAAAAEALQAAAAYAAAAAAAE4QklNA/gAAAAAAHAAAP////////////////////////////8D6AAAAAD/////////////////////////////A+gAAAAA/////////////////////////////wPoAAAAAP////////////////////////////8D6AAAOEJJTQQIAAAAAAAQAAAAAQAAAkAAAAJAAAAAADhCSU0EHgAAAAAABAAAAAA4QklNBBoAAAAAA0sAAAAGAAAAAAAAAAAAAADIAAAAyAAAAAsAcABsAGEAYwBlAGgAbwBsAGQAZQByAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAADIAAAAyAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAABAAAAABAAAAAAAAbnVsbAAAAAIAAAAGYm91bmRzT2JqYwAAAAEAAAAAAABSY3QxAAAABAAAAABUb3AgbG9uZwAAAAAAAAAATGVmdGxvbmcAAAAAAAAAAEJ0b21sb25nAAAAyAAAAABSZ2h0bG9uZwAAAMgAAAAGc2xpY2VzVmxMcwAAAAFPYmpjAAAAAQAAAAAABXNsaWN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ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPD94cGFja2V0IGVuZD0idyI/Pv/uACFBZG9iZQBkQAAAAAEDABADAgMGAAAAAAAAAAAAAAAA/9sAhAAGBgYGBwYHCAgHCgsKCwoPDgwMDg8WEBEQERAWIhUZFRUZFSIeJB4cHiQeNiomJio2PjQyND5MRERMX1pffHynAQYGBgYHBgcICAcKCwoLCg8ODAwODxYQERAREBYiFRkVFR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B6gil5Bna5j49UyD2zzCKNlD6h9kzV2mXQhKe2AbKIMNOtvNpWhVwfZPz6JVFhZThHcOse4nVIM383mvf6/8AYp9QTMp7C7BwDfFZyg9QRS8gztcx8eqZB7Z5hFGyh9QxUKiVksS5JubFQ/AiWo7YZV77zqH0PliTZnZScDfYKm1HvNvlI0xPz6JZPZTYuEdw6xIyC5lfv5gmxN+/9VQAALAQ/SSX0uMLCPmuRoOkRWcoPUEUvIM7XMfHqmQe2eYRSUBcgtBJ+ZSh9ok6a1LEqKu2r+RHsqE4ZVoFKbqUbCJGQU+v38xcgm4B/VUAWHtrOUHqCKXkGdrmPj1BtTkm8hIubD7G8U6osyzKm3Eq8xIsIxmU0OboxmU0OboVVqesWWhagD9UgxjMpoc3RjMpoc3RjMpoc3RjMpoc3RUaizMspbbSrzAm4intqbk2UqFjYneb/sHKfJuKKlsi50Ej8RhchqeJXWMLkNTxK6xhchqeJXWMLkNTxK6xhchqeJXWMLkNTxK6xhchqeJXWEU+TbUFIZFxpJP5/wA4/8QAIREAAgEEAwEBAQEAAAAAAAAAAAERAhIwMRBCcSFgIDL/2gAIAQIBAT8A/JLLBaWluFDqLi4uG5S9wvY6eeq9wLaF/sTlxz1XuBbR2It+89V7gW0Pf8dV7gW0PfCRVEfDqsC2jsXTKF8UiZ1WBbQ3s24G5+cdV7gQ6WWssqLKhqFGGaiaiaiav0P/xAAiEQACAAUFAQEBAAAAAAAAAAAAAQIREjAxECEyQoFgIEH/2gAIAQMBAT8A+fmVFRVZZSUlJSJb2GdRRa9vLDwx8B41XLyw8M/hOblquXlh4YsL8Ll5YeGLCE9xi2O3lh4Z1JSkzLkNHbyw8MSHsLRcvLDFEicJOEnCT3syhKYSmEph+h//2Q==";
3132
4377
  let ColumnType = /* @__PURE__ */ function(e) {
3133
- return e.Default = "default", e.Switch = "switch", e.Button = "button", e.Date = "date", e.Datetime = "datetime", e.Image = "image", e.Album = "album", e.Number = "number", e.Mask = "mask", e.Dictionary = "dictionary", e.State = "state", e.Click = "click", e;
4378
+ return e.Default = "default", e.Switch = "switch", e.Button = "button", e.Date = "date", e.Datetime = "datetime", e.Image = "image", e.Album = "album", e.Number = "number", e.Mask = "mask", e.Dictionary = "dictionary", e.State = "state", e.Click = "click", e.Copy = "copy", e;
3134
4379
  }({});
3135
4380
  var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3136
4381
  let r = t.lastIndexOf("?"), i = e[r === -1 || r < t.lastIndexOf("/") ? t : t.slice(0, r)];
@@ -3465,7 +4710,395 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3465
4710
  let n = e.__vccOpts || e;
3466
4711
  for (let [e, r] of t) n[e] = r;
3467
4712
  return n;
3468
- }, src_default$1 = /* @__PURE__ */ __plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$1, [["__scopeId", "data-v-42918fdb"]]), _hoisted_1 = { class: "oga-table" }, _hoisted_2 = { class: "oga-table-content" }, _hoisted_3 = ["innerHTML"], _hoisted_4 = ["src"], _hoisted_5 = ["src"], _hoisted_6 = { class: "el-dropdown-link" }, _hoisted_7 = { class: "el-dropdown-link" }, src_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
4713
+ }, src_default$1 = /* @__PURE__ */ __plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$1, [["__scopeId", "data-v-42918fdb"]]), import_clipboard = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((e, t) => {
4714
+ (function(n, r) {
4715
+ typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.ClipboardJS = r() : n.ClipboardJS = r();
4716
+ })(e, function() {
4717
+ return (function() {
4718
+ var e = {
4719
+ 686: (function(e, t, n) {
4720
+ n.d(t, { default: function() {
4721
+ return k;
4722
+ } });
4723
+ var r = n(279), i = /* @__PURE__ */ n.n(r), a = n(370), o = /* @__PURE__ */ n.n(a), s = n(817), c = /* @__PURE__ */ n.n(s);
4724
+ function l(e) {
4725
+ try {
4726
+ return document.execCommand(e);
4727
+ } catch {
4728
+ return !1;
4729
+ }
4730
+ }
4731
+ var u = function(e) {
4732
+ var t = c()(e);
4733
+ return l("cut"), t;
4734
+ };
4735
+ function d(e) {
4736
+ var t = document.documentElement.getAttribute("dir") === "rtl", n = document.createElement("textarea");
4737
+ n.style.fontSize = "12pt", n.style.border = "0", n.style.padding = "0", n.style.margin = "0", n.style.position = "absolute", n.style[t ? "right" : "left"] = "-9999px";
4738
+ var r = window.pageYOffset || document.documentElement.scrollTop;
4739
+ return n.style.top = `${r}px`, n.setAttribute("readonly", ""), n.value = e, n;
4740
+ }
4741
+ var f = function(e, t) {
4742
+ var n = d(e);
4743
+ t.container.appendChild(n);
4744
+ var r = c()(n);
4745
+ return l("copy"), n.remove(), r;
4746
+ }, p = function(e) {
4747
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : { container: document.body }, n = "";
4748
+ return typeof e == "string" ? n = f(e, t) : e instanceof HTMLInputElement && ![
4749
+ "text",
4750
+ "search",
4751
+ "url",
4752
+ "tel",
4753
+ "password"
4754
+ ].includes(e?.type) ? n = f(e.value, t) : (n = c()(e), l("copy")), n;
4755
+ };
4756
+ function m(e) {
4757
+ "@babel/helpers - typeof";
4758
+ return m = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
4759
+ return typeof e;
4760
+ } : function(e) {
4761
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
4762
+ }, m(e);
4763
+ }
4764
+ var g = function() {
4765
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.action, n = t === void 0 ? "copy" : t, r = e.container, i = e.target, a = e.text;
4766
+ if (n !== "copy" && n !== "cut") throw Error("Invalid \"action\" value, use either \"copy\" or \"cut\"");
4767
+ if (i !== void 0) if (i && m(i) === "object" && i.nodeType === 1) {
4768
+ if (n === "copy" && i.hasAttribute("disabled")) throw Error("Invalid \"target\" attribute. Please use \"readonly\" instead of \"disabled\" attribute");
4769
+ if (n === "cut" && (i.hasAttribute("readonly") || i.hasAttribute("disabled"))) throw Error("Invalid \"target\" attribute. You can't cut text from elements with \"readonly\" or \"disabled\" attributes");
4770
+ } else throw Error("Invalid \"target\" value, use a valid Element");
4771
+ if (a) return p(a, { container: r });
4772
+ if (i) return n === "cut" ? u(i) : p(i, { container: r });
4773
+ };
4774
+ function _(e) {
4775
+ "@babel/helpers - typeof";
4776
+ return _ = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
4777
+ return typeof e;
4778
+ } : function(e) {
4779
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
4780
+ }, _(e);
4781
+ }
4782
+ function v(e, t) {
4783
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
4784
+ }
4785
+ function y(e, t) {
4786
+ for (var n = 0; n < t.length; n++) {
4787
+ var r = t[n];
4788
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
4789
+ }
4790
+ }
4791
+ function b(e, t, n) {
4792
+ return t && y(e.prototype, t), n && y(e, n), e;
4793
+ }
4794
+ function x(e, t) {
4795
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
4796
+ e.prototype = Object.create(t && t.prototype, { constructor: {
4797
+ value: e,
4798
+ writable: !0,
4799
+ configurable: !0
4800
+ } }), t && S(e, t);
4801
+ }
4802
+ function S(e, t) {
4803
+ return S = Object.setPrototypeOf || function(e, t) {
4804
+ return e.__proto__ = t, e;
4805
+ }, S(e, t);
4806
+ }
4807
+ function C(e) {
4808
+ var t = E();
4809
+ return function() {
4810
+ var n = D(e), r;
4811
+ if (t) {
4812
+ var i = D(this).constructor;
4813
+ r = Reflect.construct(n, arguments, i);
4814
+ } else r = n.apply(this, arguments);
4815
+ return w(this, r);
4816
+ };
4817
+ }
4818
+ function w(e, t) {
4819
+ return t && (_(t) === "object" || typeof t == "function") ? t : T(e);
4820
+ }
4821
+ function T(e) {
4822
+ if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
4823
+ return e;
4824
+ }
4825
+ function E() {
4826
+ if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
4827
+ if (typeof Proxy == "function") return !0;
4828
+ try {
4829
+ return Date.prototype.toString.call(Reflect.construct(Date, [], function() {})), !0;
4830
+ } catch {
4831
+ return !1;
4832
+ }
4833
+ }
4834
+ function D(e) {
4835
+ return D = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
4836
+ return e.__proto__ || Object.getPrototypeOf(e);
4837
+ }, D(e);
4838
+ }
4839
+ function O(e, t) {
4840
+ var n = `data-clipboard-${e}`;
4841
+ if (t.hasAttribute(n)) return t.getAttribute(n);
4842
+ }
4843
+ var k = /* @__PURE__ */ function(e) {
4844
+ x(n, e);
4845
+ var t = C(n);
4846
+ function n(e, r) {
4847
+ var i;
4848
+ return v(this, n), i = t.call(this), i.resolveOptions(r), i.listenClick(e), i;
4849
+ }
4850
+ return b(n, [
4851
+ {
4852
+ key: "resolveOptions",
4853
+ value: function() {
4854
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4855
+ this.action = typeof e.action == "function" ? e.action : this.defaultAction, this.target = typeof e.target == "function" ? e.target : this.defaultTarget, this.text = typeof e.text == "function" ? e.text : this.defaultText, this.container = _(e.container) === "object" ? e.container : document.body;
4856
+ }
4857
+ },
4858
+ {
4859
+ key: "listenClick",
4860
+ value: function(e) {
4861
+ var t = this;
4862
+ this.listener = o()(e, "click", function(e) {
4863
+ return t.onClick(e);
4864
+ });
4865
+ }
4866
+ },
4867
+ {
4868
+ key: "onClick",
4869
+ value: function(e) {
4870
+ var t = e.delegateTarget || e.currentTarget, n = this.action(t) || "copy", r = g({
4871
+ action: n,
4872
+ container: this.container,
4873
+ target: this.target(t),
4874
+ text: this.text(t)
4875
+ });
4876
+ this.emit(r ? "success" : "error", {
4877
+ action: n,
4878
+ text: r,
4879
+ trigger: t,
4880
+ clearSelection: function() {
4881
+ t && t.focus(), window.getSelection().removeAllRanges();
4882
+ }
4883
+ });
4884
+ }
4885
+ },
4886
+ {
4887
+ key: "defaultAction",
4888
+ value: function(e) {
4889
+ return O("action", e);
4890
+ }
4891
+ },
4892
+ {
4893
+ key: "defaultTarget",
4894
+ value: function(e) {
4895
+ var t = O("target", e);
4896
+ if (t) return document.querySelector(t);
4897
+ }
4898
+ },
4899
+ {
4900
+ key: "defaultText",
4901
+ value: function(e) {
4902
+ return O("text", e);
4903
+ }
4904
+ },
4905
+ {
4906
+ key: "destroy",
4907
+ value: function() {
4908
+ this.listener.destroy();
4909
+ }
4910
+ }
4911
+ ], [
4912
+ {
4913
+ key: "copy",
4914
+ value: function(e) {
4915
+ return p(e, arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : { container: document.body });
4916
+ }
4917
+ },
4918
+ {
4919
+ key: "cut",
4920
+ value: function(e) {
4921
+ return u(e);
4922
+ }
4923
+ },
4924
+ {
4925
+ key: "isSupported",
4926
+ value: function() {
4927
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], t = typeof e == "string" ? [e] : e, n = !!document.queryCommandSupported;
4928
+ return t.forEach(function(e) {
4929
+ n &&= !!document.queryCommandSupported(e);
4930
+ }), n;
4931
+ }
4932
+ }
4933
+ ]), n;
4934
+ }(i());
4935
+ }),
4936
+ 828: (function(e) {
4937
+ var t = 9;
4938
+ if (typeof Element < "u" && !Element.prototype.matches) {
4939
+ var n = Element.prototype;
4940
+ n.matches = n.matchesSelector || n.mozMatchesSelector || n.msMatchesSelector || n.oMatchesSelector || n.webkitMatchesSelector;
4941
+ }
4942
+ function r(e, n) {
4943
+ for (; e && e.nodeType !== t;) {
4944
+ if (typeof e.matches == "function" && e.matches(n)) return e;
4945
+ e = e.parentNode;
4946
+ }
4947
+ }
4948
+ e.exports = r;
4949
+ }),
4950
+ 438: (function(e, t, n) {
4951
+ var r = n(828);
4952
+ function i(e, t, n, r, i) {
4953
+ var a = o.apply(this, arguments);
4954
+ return e.addEventListener(n, a, i), { destroy: function() {
4955
+ e.removeEventListener(n, a, i);
4956
+ } };
4957
+ }
4958
+ function a(e, t, n, r, a) {
4959
+ return typeof e.addEventListener == "function" ? i.apply(null, arguments) : typeof n == "function" ? i.bind(null, document).apply(null, arguments) : (typeof e == "string" && (e = document.querySelectorAll(e)), Array.prototype.map.call(e, function(e) {
4960
+ return i(e, t, n, r, a);
4961
+ }));
4962
+ }
4963
+ function o(e, t, n, i) {
4964
+ return function(n) {
4965
+ n.delegateTarget = r(n.target, t), n.delegateTarget && i.call(e, n);
4966
+ };
4967
+ }
4968
+ e.exports = a;
4969
+ }),
4970
+ 879: (function(e, t) {
4971
+ t.node = function(e) {
4972
+ return e !== void 0 && e instanceof HTMLElement && e.nodeType === 1;
4973
+ }, t.nodeList = function(e) {
4974
+ var n = Object.prototype.toString.call(e);
4975
+ return e !== void 0 && (n === "[object NodeList]" || n === "[object HTMLCollection]") && "length" in e && (e.length === 0 || t.node(e[0]));
4976
+ }, t.string = function(e) {
4977
+ return typeof e == "string" || e instanceof String;
4978
+ }, t.fn = function(e) {
4979
+ return Object.prototype.toString.call(e) === "[object Function]";
4980
+ };
4981
+ }),
4982
+ 370: (function(e, t, n) {
4983
+ var r = n(879), i = n(438);
4984
+ function a(e, t, n) {
4985
+ if (!e && !t && !n) throw Error("Missing required arguments");
4986
+ if (!r.string(t)) throw TypeError("Second argument must be a String");
4987
+ if (!r.fn(n)) throw TypeError("Third argument must be a Function");
4988
+ if (r.node(e)) return o(e, t, n);
4989
+ if (r.nodeList(e)) return s(e, t, n);
4990
+ if (r.string(e)) return c(e, t, n);
4991
+ throw TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
4992
+ }
4993
+ function o(e, t, n) {
4994
+ return e.addEventListener(t, n), { destroy: function() {
4995
+ e.removeEventListener(t, n);
4996
+ } };
4997
+ }
4998
+ function s(e, t, n) {
4999
+ return Array.prototype.forEach.call(e, function(e) {
5000
+ e.addEventListener(t, n);
5001
+ }), { destroy: function() {
5002
+ Array.prototype.forEach.call(e, function(e) {
5003
+ e.removeEventListener(t, n);
5004
+ });
5005
+ } };
5006
+ }
5007
+ function c(e, t, n) {
5008
+ return i(document.body, e, t, n);
5009
+ }
5010
+ e.exports = a;
5011
+ }),
5012
+ 817: (function(e) {
5013
+ function t(e) {
5014
+ var t;
5015
+ if (e.nodeName === "SELECT") e.focus(), t = e.value;
5016
+ else if (e.nodeName === "INPUT" || e.nodeName === "TEXTAREA") {
5017
+ var n = e.hasAttribute("readonly");
5018
+ n || e.setAttribute("readonly", ""), e.select(), e.setSelectionRange(0, e.value.length), n || e.removeAttribute("readonly"), t = e.value;
5019
+ } else {
5020
+ e.hasAttribute("contenteditable") && e.focus();
5021
+ var r = window.getSelection(), i = document.createRange();
5022
+ i.selectNodeContents(e), r.removeAllRanges(), r.addRange(i), t = r.toString();
5023
+ }
5024
+ return t;
5025
+ }
5026
+ e.exports = t;
5027
+ }),
5028
+ 279: (function(e) {
5029
+ function t() {}
5030
+ t.prototype = {
5031
+ on: function(e, t, n) {
5032
+ var r = this.e ||= {};
5033
+ return (r[e] || (r[e] = [])).push({
5034
+ fn: t,
5035
+ ctx: n
5036
+ }), this;
5037
+ },
5038
+ once: function(e, t, n) {
5039
+ var r = this;
5040
+ function i() {
5041
+ r.off(e, i), t.apply(n, arguments);
5042
+ }
5043
+ return i._ = t, this.on(e, i, n);
5044
+ },
5045
+ emit: function(e) {
5046
+ for (var t = [].slice.call(arguments, 1), n = ((this.e ||= {})[e] || []).slice(), r = 0, i = n.length; r < i; r++) n[r].fn.apply(n[r].ctx, t);
5047
+ return this;
5048
+ },
5049
+ off: function(e, t) {
5050
+ var n = this.e ||= {}, r = n[e], i = [];
5051
+ if (r && t) for (var a = 0, o = r.length; a < o; a++) r[a].fn !== t && r[a].fn._ !== t && i.push(r[a]);
5052
+ return i.length ? n[e] = i : delete n[e], this;
5053
+ }
5054
+ }, e.exports = t, e.exports.TinyEmitter = t;
5055
+ })
5056
+ }, t = {};
5057
+ function n(r) {
5058
+ if (t[r]) return t[r].exports;
5059
+ var i = t[r] = { exports: {} };
5060
+ return e[r](i, i.exports, n), i.exports;
5061
+ }
5062
+ return (function() {
5063
+ n.n = function(e) {
5064
+ var t = e && e.__esModule ? function() {
5065
+ return e.default;
5066
+ } : function() {
5067
+ return e;
5068
+ };
5069
+ return n.d(t, { a: t }), t;
5070
+ };
5071
+ })(), (function() {
5072
+ n.d = function(e, t) {
5073
+ for (var r in t) n.o(t, r) && !n.o(e, r) && Object.defineProperty(e, r, {
5074
+ enumerable: !0,
5075
+ get: t[r]
5076
+ });
5077
+ };
5078
+ })(), (function() {
5079
+ n.o = function(e, t) {
5080
+ return Object.prototype.hasOwnProperty.call(e, t);
5081
+ };
5082
+ })(), n(686);
5083
+ })().default;
5084
+ });
5085
+ })))(), 1), esm_default = (e) => {
5086
+ let t = e?.appendToBody === void 0 ? !0 : e.appendToBody;
5087
+ return { toClipboard(e, n) {
5088
+ return new Promise((r, i) => {
5089
+ let a = document.createElement("button"), o = new import_clipboard.default(a, {
5090
+ text: () => e,
5091
+ action: () => "copy",
5092
+ container: n === void 0 ? document.body : n
5093
+ });
5094
+ o.on("success", (e) => {
5095
+ o.destroy(), r(e);
5096
+ }), o.on("error", (e) => {
5097
+ o.destroy(), i(e);
5098
+ }), t && document.body.appendChild(a), a.click(), t && document.body.removeChild(a);
5099
+ });
5100
+ } };
5101
+ }, _hoisted_1 = { class: "oga-table" }, _hoisted_2 = { class: "oga-table-content" }, _hoisted_3 = ["innerHTML"], _hoisted_4 = ["src"], _hoisted_5 = ["src"], _hoisted_6 = { class: "el-dropdown-link" }, _hoisted_7 = { class: "el-dropdown-link" }, src_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
3469
5102
  __name: "index",
3470
5103
  props: /* @__PURE__ */ mergeModels({
3471
5104
  multiSelect: { type: Boolean },
@@ -3489,45 +5122,54 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3489
5122
  }),
3490
5123
  emits: /* @__PURE__ */ mergeModels(["paging"], ["update:modelValue"]),
3491
5124
  setup(e, { emit: n }) {
3492
- let r = e, u = useModel(e, "modelValue"), d = ref([]), f = ref(null), p = ref(null), m = n, g = ({ row: e, rowIndex: t }) => "", b = ({ row: e, column: t }) => isNotEmpty(t.label) && t.label.indexOf("-") > -1 ? "el-table__layers" : "", x = (e) => e.split("-").join("<br/>"), O = (e) => e > 0 ? `border-radius: ${e}px;` : "", pa = (e) => {
3493
- if (f.value !== null && p.value !== null) {
3494
- let t = f.value.$refs.headerWrapper;
3495
- p.value.style.height = t.offsetHeight - 1 + "px", d.value = e;
5125
+ let { toClipboard: r } = esm_default(), i = e, d = useModel(e, "modelValue"), f = ref([]), p = ref(null), m = ref(null), g = n, _ = ({ row: e, rowIndex: t }) => "", v = ({ row: e, column: t }) => isNotEmpty(t.label) && t.label.indexOf("-") > -1 ? "el-table__layers" : "", y = (e) => e.split("-").join("<br/>"), x = (e) => e > 0 ? `border-radius: ${e}px;` : "", w = (e) => {
5126
+ if (p.value !== null && m.value !== null) {
5127
+ let t = p.value.$refs.headerWrapper;
5128
+ m.value.style.height = t.offsetHeight - 1 + "px", f.value = e;
5129
+ }
5130
+ }, T = (e, t, n) => {
5131
+ n.cancelBubble = !0;
5132
+ let a = i.columnList.filter((e) => !(e.type === void 0 || e.type === ColumnType.Click) && e.prop === t.property);
5133
+ if (i.columnList.filter((e) => e.type === ColumnType.Copy && e.prop === t.property).length > 0) {
5134
+ e[t.property] != null && (r(e[t.property] ?? ""), ElMessage({
5135
+ message: base_default.global.t("copied"),
5136
+ type: "success"
5137
+ }));
5138
+ return;
3496
5139
  }
3497
- }, F = (e, t, n) => {
3498
- if (n.cancelBubble = !0, !(r.columnList.filter((e) => !(e.type === void 0 || e.type === ColumnType.Click) && e.prop === t.property).length > 0 || t.className === "stop")) {
3499
- if (r.actionList && r.actionList.update) {
3500
- let n = r.actionList.update.onClick;
5140
+ if (!(a.length > 0 || t.className === "stop")) {
5141
+ if (i.actionList && i.actionList.update) {
5142
+ let n = i.actionList.update.onClick;
3501
5143
  isFunction(n) && n.call(this, e, t);
3502
5144
  }
3503
- r.actionList.rowClick && isFunction(r.actionList.rowClick) && r.actionList.rowClick.call(this, e, t);
5145
+ i.actionList.rowClick && isFunction(i.actionList.rowClick) && i.actionList.rowClick.call(this, e, t);
3504
5146
  }
3505
- }, I = ({ row: e }) => {
5147
+ }, D = ({ row: e }) => {
3506
5148
  let t = !1;
3507
- if (d.value.forEach((n) => {
5149
+ if (f.value.forEach((n) => {
3508
5150
  n === e && (t = !0);
3509
5151
  }), t) return { "background-color": "#edf5fe" };
3510
- }, L = (e) => e ? e.map((e) => e.url) : [], R = (e) => e && e.length ? e[0].url : "", z = (e, t, n) => {
5152
+ }, k = (e) => e ? e.map((e) => e.url) : [], j = (e) => e && e.length ? e[0].url : "", F = (e, t, n) => {
3511
5153
  e.cancelBubble = !0, n && typeof n == "function" && n.call(this, t);
3512
- }, B = (e) => {
3513
- if (r.actionList[e] && d.value.length > 0) {
3514
- let t = r.actionList[e].onClick;
3515
- t && typeof t == "function" && t.call(this, e === "update" ? d.value[0] : d.value);
5154
+ }, I = (e) => {
5155
+ if (i.actionList[e] && f.value.length > 0) {
5156
+ let t = i.actionList[e].onClick;
5157
+ t && typeof t == "function" && t.call(this, e === "update" ? f.value[0] : f.value);
3516
5158
  }
3517
5159
  }, V = () => {
3518
- r !== void 0 && r.empty && r.empty.onClick && typeof r.empty.onClick == "function" && r.empty.onClick.call(this);
5160
+ i !== void 0 && i.empty && i.empty.onClick && typeof i.empty.onClick == "function" && i.empty.onClick.call(this);
3519
5161
  }, H = (e) => {
3520
- r !== void 0 && (u.value.current = e, m("paging", !1));
3521
- }, U = (e) => {
3522
- r !== void 0 && (u.value.size = e, m("paging", !1));
5162
+ i !== void 0 && (d.value.current = e, g("paging", !1));
5163
+ }, W = (e) => {
5164
+ i !== void 0 && (d.value.size = e, g("paging", !1));
3523
5165
  };
3524
5166
  return (n, r) => {
3525
- let m = resolveComponent("el-button"), C = resolveComponent("el-empty"), j = resolveComponent("el-table-column"), W = resolveComponent("el-switch"), G = resolveComponent("el-image"), K = resolveComponent("el-popover"), q = resolveComponent("el-dropdown-item"), J = resolveComponent("el-dropdown-menu"), Y = resolveComponent("el-dropdown"), X = resolveComponent("el-table"), Z = resolveComponent("el-pagination"), Q = resolveDirective("loading");
3526
- return openBlock(), createElementBlock("div", _hoisted_1, [u.value.records.length === 0 && e.empty && e.empty.content && u.value.firstLoading ? (openBlock(), createBlock(C, {
5167
+ let i = resolveComponent("el-button"), g = resolveComponent("el-empty"), O = resolveComponent("el-table-column"), z = resolveComponent("el-switch"), G = resolveComponent("el-image"), K = resolveComponent("el-popover"), q = resolveComponent("el-dropdown-item"), J = resolveComponent("el-dropdown-menu"), Y = resolveComponent("el-dropdown"), X = resolveComponent("el-table"), Z = resolveComponent("el-pagination"), Q = resolveDirective("loading");
5168
+ return openBlock(), createElementBlock("div", _hoisted_1, [d.value.records.length === 0 && e.empty && e.empty.content && d.value.firstLoading ? (openBlock(), createBlock(g, {
3527
5169
  key: 0,
3528
5170
  description: unref(base_default).global.t("notData")
3529
5171
  }, {
3530
- default: withCtx(() => [createTextVNode(toDisplayString(e.empty.content) + " ", 1), createVNode(m, {
5172
+ default: withCtx(() => [createTextVNode(toDisplayString(e.empty.content) + " ", 1), createVNode(i, {
3531
5173
  type: "text",
3532
5174
  onClick: V
3533
5175
  }, {
@@ -3537,30 +5179,30 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3537
5179
  _: 1
3538
5180
  }, 8, ["description"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createElementVNode("div", _hoisted_2, [withDirectives((openBlock(), createBlock(X, {
3539
5181
  ref_key: "ogaTable",
3540
- ref: f,
3541
- data: u.value.records,
5182
+ ref: p,
5183
+ data: d.value.records,
3542
5184
  stripe: e.stripe,
3543
5185
  border: e.border,
3544
- "row-class-name": g,
3545
- "header-cell-class-name": b,
3546
- onSelectionChange: pa,
3547
- onRowClick: F,
3548
- "row-style": I
5186
+ "row-class-name": _,
5187
+ "header-cell-class-name": v,
5188
+ onSelectionChange: w,
5189
+ onRowClick: T,
5190
+ "row-style": D
3549
5191
  }, {
3550
5192
  default: withCtx(() => [
3551
- e.multiSelect ? (openBlock(), createBlock(j, {
5193
+ e.multiSelect ? (openBlock(), createBlock(O, {
3552
5194
  key: 0,
3553
5195
  type: "selection",
3554
5196
  width: "55"
3555
5197
  })) : createCommentVNode("v-if", !0),
3556
- e.index ? (openBlock(), createBlock(j, {
5198
+ e.index ? (openBlock(), createBlock(O, {
3557
5199
  key: 1,
3558
5200
  label: "NO.",
3559
5201
  type: "index",
3560
5202
  width: "50",
3561
5203
  align: "center"
3562
5204
  })) : createCommentVNode("v-if", !0),
3563
- (openBlock(!0), createElementBlock(Fragment, null, renderList(e.columnList, (e, n) => (openBlock(), createBlock(j, {
5205
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(e.columnList, (e, n) => (openBlock(), createBlock(O, {
3564
5206
  prop: e.prop,
3565
5207
  align: e.align || "left",
3566
5208
  "header-align": e.headerAlign || "",
@@ -3572,12 +5214,12 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3572
5214
  "column-key": e.prop,
3573
5215
  fixed: e.fixed
3574
5216
  }, {
3575
- header: withCtx((t) => [createElementVNode("span", { innerHTML: x(e.label) }, null, 8, _hoisted_3)]),
3576
- default: withCtx((n) => [e.type === unref(ColumnType).Switch ? (openBlock(), createBlock(W, mergeProps({
5217
+ header: withCtx((t) => [createElementVNode("span", { innerHTML: y(e.label) }, null, 8, _hoisted_3)]),
5218
+ default: withCtx((n) => [e.type === unref(ColumnType).Switch ? (openBlock(), createBlock(z, mergeProps({
3577
5219
  key: 0,
3578
5220
  modelValue: n.row[e.prop],
3579
5221
  "onUpdate:modelValue": (t) => n.row[e.prop] = t
3580
- }, { ref_for: !0 }, e.config, { onClick: (t) => z(t, n.row, e.onClick) }), null, 16, [
5222
+ }, { ref_for: !0 }, e.config, { onClick: (t) => F(t, n.row, e.onClick) }), null, 16, [
3581
5223
  "modelValue",
3582
5224
  "onUpdate:modelValue",
3583
5225
  "onClick"
@@ -3588,7 +5230,7 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3588
5230
  "show-progress": "",
3589
5231
  loading: "lazy",
3590
5232
  "preview-src-list": unref(isNotEmpty)(n.row[e.prop]) ? [n.row[e.prop]] : [],
3591
- style: normalizeStyle(O(e.config?.radius ?? 0)),
5233
+ style: normalizeStyle(x(e.config?.radius ?? 0)),
3592
5234
  src: n.row[e.prop],
3593
5235
  fit: e.config?.fit ?? "cover"
3594
5236
  }, {
@@ -3609,9 +5251,9 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3609
5251
  "hide-on-click-modal": !0,
3610
5252
  "show-progress": "",
3611
5253
  loading: "lazy",
3612
- "preview-src-list": L(n.row[e.prop]),
3613
- style: normalizeStyle(O(e.config?.radius ?? 0)),
3614
- src: R(n.row[e.prop]),
5254
+ "preview-src-list": k(n.row[e.prop]),
5255
+ style: normalizeStyle(x(e.config?.radius ?? 0)),
5256
+ src: j(n.row[e.prop]),
3615
5257
  fit: e.config?.fit ?? "cover"
3616
5258
  }, {
3617
5259
  error: withCtx(() => [createElementVNode("img", {
@@ -3631,7 +5273,7 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3631
5273
  content: e.config?.content,
3632
5274
  placement: e.config?.placement ?? "bottom-end"
3633
5275
  }, {
3634
- reference: withCtx(() => [(openBlock(), createBlock(m, {
5276
+ reference: withCtx(() => [(openBlock(), createBlock(i, {
3635
5277
  class: normalizeClass(["oga-table-button", e.className || ""]),
3636
5278
  key: r,
3637
5279
  type: e.type,
@@ -3677,7 +5319,7 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3677
5319
  }, 1032, ["divided", "onClick"]))), 256))]),
3678
5320
  _: 2
3679
5321
  }, 1024)]),
3680
- default: withCtx(() => [createElementVNode("div", _hoisted_6, [(openBlock(), createBlock(m, {
5322
+ default: withCtx(() => [createElementVNode("div", _hoisted_6, [(openBlock(), createBlock(i, {
3681
5323
  key: r,
3682
5324
  type: e.type,
3683
5325
  disabled: e.disabled,
@@ -3702,7 +5344,7 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3702
5344
  "onClick"
3703
5345
  ]))])]),
3704
5346
  _: 2
3705
- }, 1024)) : (openBlock(), createBlock(m, {
5347
+ }, 1024)) : (openBlock(), createBlock(i, {
3706
5348
  key: r,
3707
5349
  type: e.type,
3708
5350
  disabled: e.disabled,
@@ -3753,12 +5395,12 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3753
5395
  "data",
3754
5396
  "stripe",
3755
5397
  "border"
3756
- ])), [[Q, u.value.loading]]), withDirectives(createElementVNode("div", {
5398
+ ])), [[Q, d.value.loading]]), withDirectives(createElementVNode("div", {
3757
5399
  class: "oga-table-batch-operation",
3758
5400
  ref_key: "bulkOperation",
3759
- ref: p
5401
+ ref: m
3760
5402
  }, [createVNode(Y, {
3761
- onCommand: B,
5403
+ onCommand: I,
3762
5404
  size: "large",
3763
5405
  placement: "bottom-start"
3764
5406
  }, {
@@ -3766,7 +5408,7 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3766
5408
  command: n,
3767
5409
  size: "large",
3768
5410
  key: `action-${n}`,
3769
- disabled: d.value.length !== 1,
5411
+ disabled: f.value.length !== 1,
3770
5412
  divided: e.divided
3771
5413
  }, {
3772
5414
  default: withCtx(() => [e.icon ? (openBlock(), createElementBlock("i", {
@@ -3782,7 +5424,7 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3782
5424
  size: "large",
3783
5425
  command: n,
3784
5426
  key: `action-${n}`,
3785
- disabled: d.value.length < 1,
5427
+ disabled: f.value.length < 1,
3786
5428
  divided: e.divided
3787
5429
  }, {
3788
5430
  default: withCtx(() => [unref(isNotEmpty)(e.icon) ? (openBlock(), createBlock(src_default$1, {
@@ -3808,21 +5450,21 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3808
5450
  }, 1032, ["command", "divided"]))], 64)) : createCommentVNode("v-if", !0)], 64))), 256))]),
3809
5451
  default: withCtx(() => [createElementVNode("div", _hoisted_7, [createElementVNode("div", null, [
3810
5452
  createTextVNode(toDisplayString(unref(base_default).global.t("select.multiple")) + " ", 1),
3811
- createElementVNode("b", null, toDisplayString(d.value.length), 1),
5453
+ createElementVNode("b", null, toDisplayString(f.value.length), 1),
3812
5454
  createTextVNode(" " + toDisplayString(unref(base_default).global.t("select.item")) + " ", 1),
3813
5455
  createVNode(src_default$1, { name: "arrow-down" })
3814
5456
  ])])]),
3815
5457
  _: 1
3816
- })], 512), [[vShow, d.value.length > 0]])]), e.paginationSection && u.value.total > u.value.size ? (openBlock(), createBlock(Z, {
5458
+ })], 512), [[vShow, f.value.length > 0]])]), e.paginationSection && d.value.total > d.value.size ? (openBlock(), createBlock(Z, {
3817
5459
  key: 0,
3818
5460
  background: !1,
3819
- "current-page": u.value.current,
3820
- "page-size": u.value.size,
5461
+ "current-page": d.value.current,
5462
+ "page-size": d.value.size,
3821
5463
  layout: e.pageLayout,
3822
5464
  "page-sizes": e.pageSizes,
3823
- total: u.value.total,
5465
+ total: d.value.total,
3824
5466
  onCurrentChange: H,
3825
- onSizeChange: U
5467
+ onSizeChange: W
3826
5468
  }, null, 8, [
3827
5469
  "current-page",
3828
5470
  "page-size",
@@ -3832,7 +5474,7 @@ var __rolldown_dynamic_import_helper_default = (e, t, n) => {
3832
5474
  ])) : createCommentVNode("v-if", !0)], 64))]);
3833
5475
  };
3834
5476
  }
3835
- }), [["__scopeId", "data-v-fb3fcb50"]]), table_default = { install(e) {
5477
+ }), [["__scopeId", "data-v-9a37bd5d"]]), table_default = { install(e) {
3836
5478
  e.component("OgaTable", src_default);
3837
5479
  } };
3838
5480
  export { table_default as default };