@skyfox2000/webui 1.6.15 → 1.6.16
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/lib/assets/modules/{baseLayout-Cia1cG5l.js → baseLayout-BMmKe6uG.js} +3 -3
- package/lib/assets/modules/{file-upload-D1gRZv8j.js → file-upload-PgJYbXFi.js} +1 -1
- package/lib/assets/modules/{index-MgDOEHr_.js → index-49mg7oK1.js} +2 -2
- package/lib/assets/modules/{index-Ye0JfNsM.js → index-C1HOIrmy.js} +1 -1
- package/lib/assets/modules/{index-xnHQyu3E.js → index-Uwk0G5-g.js} +2 -2
- package/lib/assets/modules/{menuTabs-C3imgUBh.js → menuTabs-CFfCV8nu.js} +2 -2
- package/lib/assets/modules/{toolIcon-DFf-Ttkx.js → toolIcon-BQUcQlwr.js} +1 -1
- package/lib/assets/modules/{upload-template-BDrBVe4E.js → upload-template-BjZLQ1jo.js} +142 -142
- package/lib/assets/modules/{uploadList-BreC8S8m.js → uploadList-XdFuQYpu.js} +4 -4
- package/lib/es/AceEditor/index.js +3 -3
- package/lib/es/BasicLayout/index.js +2 -2
- package/lib/es/Error403/index.js +1 -1
- package/lib/es/Error404/index.js +1 -1
- package/lib/es/ExcelForm/index.js +4 -4
- package/lib/es/MenuLayout/index.js +2 -2
- package/lib/es/TemplateFile/index.js +4 -4
- package/lib/es/UploadForm/index.js +4 -4
- package/lib/webui.es.js +13 -13
- package/package.json +1 -1
- package/src/components/form/switch/index.vue +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as _, onMounted as I, openBlock as o, createBlock as s, unref as e, withCtx as l, createElementVNode as x, createVNode as p, createElementBlock as y, toDisplayString as g, createCommentVNode as r, renderSlot as h } from "vue";
|
|
2
2
|
import { Layout as i, LayoutSider as k } from "ant-design-vue";
|
|
3
|
-
import { a as b } from "./toolIcon-
|
|
4
|
-
import { I as C, _ as S, e as w, c as $, f as N } from "./menuTabs-
|
|
5
|
-
import { am as v, a as B, ar as E } from "./upload-template-
|
|
3
|
+
import { a as b } from "./toolIcon-BQUcQlwr.js";
|
|
4
|
+
import { I as C, _ as S, e as w, c as $, f as N } from "./menuTabs-CFfCV8nu.js";
|
|
5
|
+
import { am as v, a as B, ar as E } from "./upload-template-BjZLQ1jo.js";
|
|
6
6
|
import "@skyfox2000/microbase";
|
|
7
7
|
import "@skyfox2000/fapi";
|
|
8
8
|
import L from "vue-m-message";
|
|
@@ -4,7 +4,7 @@ var h = (i, e, a) => U(i, typeof e != "symbol" ? e + "" : e, a);
|
|
|
4
4
|
import { hostUrl as E } from "@skyfox2000/fapi";
|
|
5
5
|
import m from "dayjs";
|
|
6
6
|
import f from "vue-m-message";
|
|
7
|
-
import { $ as n, M as y, u as F } from "./upload-template-
|
|
7
|
+
import { $ as n, M as y, u as F } from "./upload-template-BjZLQ1jo.js";
|
|
8
8
|
import { isMicroApp as g } from "@skyfox2000/microbase";
|
|
9
9
|
var l = /* @__PURE__ */ ((i) => (i.Pending = "pending", i.Uploading = "uploading", i.Success = "success", i.Error = "error", i.Online = "online", i.Offline = "offline", i))(l || {});
|
|
10
10
|
class M {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import H from "async-validator";
|
|
2
2
|
import { httpPost as $, ResStatus as M } from "@skyfox2000/fapi";
|
|
3
|
-
import { $ as d, L as U, u as V, i as j, au as T } from "./upload-template-
|
|
3
|
+
import { $ as d, L as U, u as V, i as j, au as T } from "./upload-template-BjZLQ1jo.js";
|
|
4
4
|
import E from "vue-m-message";
|
|
5
5
|
import { defineComponent as S, useAttrs as B, openBlock as y, createElementBlock as P, createVNode as z, unref as v, mergeProps as _, computed as x, createBlock as D, withCtx as A, normalizeStyle as L } from "vue";
|
|
6
6
|
import { Spin as N, Alert as O } from "ant-design-vue";
|
|
7
|
-
import { _ as K } from "./toolIcon-
|
|
7
|
+
import { _ as K } from "./toolIcon-BQUcQlwr.js";
|
|
8
8
|
const W = (l) => {
|
|
9
9
|
const e = l.split(`
|
|
10
10
|
`).filter((i) => i.trim() !== "");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as d, useAttrs as f, openBlock as u, createElementBlock as x, createVNode as e, withCtx as n, unref as o, mergeProps as r, renderSlot as p } from "vue";
|
|
2
2
|
import { Button as _ } from "ant-design-vue";
|
|
3
|
-
import { a as P, _ as k } from "./toolIcon-
|
|
3
|
+
import { a as P, _ as k } from "./toolIcon-BQUcQlwr.js";
|
|
4
4
|
const C = /* @__PURE__ */ d({
|
|
5
5
|
inheritAttrs: !1,
|
|
6
6
|
__name: "index",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as B, provide as N, ref as A, watch as m, onMounted as V, openBlock as r, createBlock as d, unref as o, withCtx as n, createElementVNode as $, renderSlot as C, createVNode as D, createTextVNode as u, toDisplayString as v, createCommentVNode as f } from "vue";
|
|
2
|
-
import { _ as c } from "./index-
|
|
2
|
+
import { _ as c } from "./index-C1HOIrmy.js";
|
|
3
3
|
import { Modal as E, Space as M } from "ant-design-vue";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
|
-
import { P, d as K, $ as p, o as U, b as j } from "./upload-template-
|
|
5
|
+
import { P, d as K, $ as p, o as U, b as j } from "./upload-template-BjZLQ1jo.js";
|
|
6
6
|
import "vue-m-message";
|
|
7
7
|
import "@skyfox2000/microbase";
|
|
8
8
|
import "async-validator";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, openBlock as c, createBlock as _, unref as t, mergeProps as $, createCommentVNode as h, useAttrs as G, computed as O, ref as b, watch as S, withCtx as m, createElementBlock as f, normalizeStyle as T, createElementVNode as g, inject as Q, onMounted as P, createVNode as u, toDisplayString as C, Fragment as L, renderList as U, createTextVNode as X, reactive as Y, nextTick as Z, withModifiers as ee } from "vue";
|
|
2
|
-
import { a as A, _ as k } from "./toolIcon-
|
|
3
|
-
import { c as D, V as j, ar as E, aj as K, K as R, W as F, u as V, $ as w, M as te, T as H, ai as ne, a as W, a4 as oe, r as q, am as B } from "./upload-template-
|
|
2
|
+
import { a as A, _ as k } from "./toolIcon-BQUcQlwr.js";
|
|
3
|
+
import { c as D, V as j, ar as E, aj as K, K as R, W as F, u as V, $ as w, M as te, T as H, ai as ne, a as W, a4 as oe, r as q, am as B } from "./upload-template-BjZLQ1jo.js";
|
|
4
4
|
import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import { theme as M, Breadcrumb as ie, Modal as ae, Flex as ce, Dropdown as le, Menu as J, MenuItem as re, LayoutHeader as ue, Space as pe, Tabs as de, TabPane as me } from "ant-design-vue";
|
|
6
6
|
import { isMicroApp as fe } from "@skyfox2000/microbase";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as i, openBlock as s, createBlock as l, unref as a, withCtx as p, renderSlot as f, mergeProps as u, createCommentVNode as d } from "vue";
|
|
2
2
|
import { Tooltip as I } from "ant-design-vue";
|
|
3
3
|
import { SERVER_HOST as r } from "@skyfox2000/fapi";
|
|
4
|
-
import { c as S } from "./upload-template-
|
|
4
|
+
import { c as S } from "./upload-template-BjZLQ1jo.js";
|
|
5
5
|
const T = /* @__PURE__ */ i({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
@@ -2,19 +2,19 @@ var gr = Object.defineProperty;
|
|
|
2
2
|
var hr = (e, t, a) => t in e ? gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
3
3
|
var se = (e, t, a) => hr(e, typeof t != "symbol" ? t + "" : t, a);
|
|
4
4
|
import * as wa from "vue";
|
|
5
|
-
import { effectScope as Er, computed as Le, watch as j, isRef as vr, ref as R, shallowRef as Me, defineComponent as xe, h as ye, Fragment as qe, inject as st, onMounted as Rt, onUnmounted as pt, createVNode as Qe, Text as br, nextTick as yr, provide as Fa, toRaw as gs, reactive as Sr, openBlock as ie, createBlock as zt, unref as q, mergeProps as
|
|
5
|
+
import { effectScope as Er, computed as Le, watch as j, isRef as vr, ref as R, shallowRef as Me, defineComponent as xe, h as ye, Fragment as qe, inject as st, onMounted as Rt, onUnmounted as pt, createVNode as Qe, Text as br, nextTick as yr, provide as Fa, toRaw as gs, reactive as Sr, openBlock as ie, createBlock as zt, unref as q, mergeProps as Ct, createCommentVNode as lt, useAttrs as Zt, onActivated as ea, createElementBlock as he, withCtx as Ve, createTextVNode as ta, toDisplayString as Xe, renderList as rn, normalizeClass as hs, createElementVNode as Ir } from "vue";
|
|
6
6
|
import { Switch as Nr, AutoComplete as Tr, Input as Lr, CheckboxGroup as Or, Checkbox as Ar, RadioGroup as Pr, Radio as wr, Select as Fr, SelectOption as Rr } from "ant-design-vue";
|
|
7
|
-
import { createPinia as
|
|
8
|
-
import
|
|
9
|
-
import { EnvConfig as
|
|
7
|
+
import { createPinia as Cr, defineStore as Dt } from "pinia";
|
|
8
|
+
import Dr from "pinia-plugin-persistedstate";
|
|
9
|
+
import { EnvConfig as De, AppAction as On, AppSource as An, isMicroApp as Ye, isBaseMicroApp as kr, combineParams as kt } from "@skyfox2000/microbase";
|
|
10
10
|
import { httpPost as et, ResStatus as ue, setToken as Gt, httpGet as Es, fieldMapping as Mr, parseFieldTemplate as Qt, API_HOST as Ra, SERVER_HOST as Pn } from "@skyfox2000/fapi";
|
|
11
11
|
import re from "vue-m-message";
|
|
12
12
|
import { createRouter as xr, createWebHashHistory as Ur } from "vue-router";
|
|
13
13
|
import aa from "async-validator";
|
|
14
14
|
import "dayjs";
|
|
15
15
|
import "vue-draggable-next";
|
|
16
|
-
const Vr =
|
|
17
|
-
Vr.use(
|
|
16
|
+
const Vr = Cr();
|
|
17
|
+
Vr.use(Dr);
|
|
18
18
|
var Re = /* @__PURE__ */ ((e) => (e.PageControl = "Page.PageControl", e.EditorControl = "Page.EditorControl", e.GridControl = "Page.GridControl", e.LabelText = "FormItem.LabelText", e.LabelWidth = "FormItem.LabelWidth", e.RuleKey = "FormItem.RuleKey", e.ErrInfo = "FormItem.ErrInfo", e))(Re || {});
|
|
19
19
|
/*!
|
|
20
20
|
* shared v11.3.0
|
|
@@ -49,11 +49,11 @@ const je = () => Fn || (Fn = typeof globalThis < "u" ? globalThis : typeof self
|
|
|
49
49
|
function Rn(e) {
|
|
50
50
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\//g, "/").replace(/=/g, "=");
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Cn(e) {
|
|
53
53
|
return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
54
54
|
}
|
|
55
55
|
function Kr(e) {
|
|
56
|
-
return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (n, s, r) => `${s}="${
|
|
56
|
+
return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (n, s, r) => `${s}="${Cn(r)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (n, s, r) => `${s}='${Cn(r)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && Oe("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1on$3")), [
|
|
57
57
|
// In href, src, action, formaction attributes
|
|
58
58
|
/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
|
|
59
59
|
// In style attributes within url()
|
|
@@ -70,14 +70,14 @@ const Q = Array.isArray, Y = (e) => typeof e == "function", A = (e) => typeof e
|
|
|
70
70
|
function cn(e, t = "") {
|
|
71
71
|
return e.reduce((a, n, s) => s === 0 ? a + n : a + t + n, "");
|
|
72
72
|
}
|
|
73
|
-
const
|
|
73
|
+
const Dn = 2;
|
|
74
74
|
function Jr(e, t = 0, a = e.length) {
|
|
75
75
|
const n = e.split(/\r?\n/);
|
|
76
76
|
let s = 0;
|
|
77
77
|
const r = [];
|
|
78
78
|
for (let o = 0; o < n.length; o++)
|
|
79
79
|
if (s += n[o].length + 1, s >= t) {
|
|
80
|
-
for (let l = o -
|
|
80
|
+
for (let l = o - Dn; l <= o + Dn || a > s; l++) {
|
|
81
81
|
if (l < 0 || l >= n.length)
|
|
82
82
|
continue;
|
|
83
83
|
const i = l + 1;
|
|
@@ -139,7 +139,7 @@ function qr(e, t, a) {
|
|
|
139
139
|
function $a(e, t, a) {
|
|
140
140
|
return { start: e, end: t };
|
|
141
141
|
}
|
|
142
|
-
const
|
|
142
|
+
const C = {
|
|
143
143
|
// tokenizer error codes
|
|
144
144
|
EXPECTED_TOKEN: 1,
|
|
145
145
|
INVALID_TOKEN_IN_PLACEHOLDER: 2,
|
|
@@ -162,25 +162,25 @@ const D = {
|
|
|
162
162
|
UNHANDLED_MINIFIER_NODE_TYPE: 16
|
|
163
163
|
}, Qr = 17, Xr = {
|
|
164
164
|
// tokenizer error messages
|
|
165
|
-
[
|
|
166
|
-
[
|
|
167
|
-
[
|
|
168
|
-
[
|
|
169
|
-
[
|
|
170
|
-
[
|
|
171
|
-
[
|
|
172
|
-
[
|
|
173
|
-
[
|
|
174
|
-
[
|
|
165
|
+
[C.EXPECTED_TOKEN]: "Expected token: '{0}'",
|
|
166
|
+
[C.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
|
|
167
|
+
[C.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
|
|
168
|
+
[C.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
|
|
169
|
+
[C.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
|
|
170
|
+
[C.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
|
|
171
|
+
[C.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
|
|
172
|
+
[C.EMPTY_PLACEHOLDER]: "Empty placeholder",
|
|
173
|
+
[C.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
|
|
174
|
+
[C.INVALID_LINKED_FORMAT]: "Invalid linked format",
|
|
175
175
|
// parser error messages
|
|
176
|
-
[
|
|
177
|
-
[
|
|
178
|
-
[
|
|
179
|
-
[
|
|
176
|
+
[C.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
|
|
177
|
+
[C.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
|
|
178
|
+
[C.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
|
|
179
|
+
[C.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
|
|
180
180
|
// generator error messages
|
|
181
|
-
[
|
|
181
|
+
[C.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
|
|
182
182
|
// minimizer error messages
|
|
183
|
-
[
|
|
183
|
+
[C.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
|
|
184
184
|
};
|
|
185
185
|
function _t(e, t, a = {}) {
|
|
186
186
|
const { domain: n, messages: s, args: r } = a, o = process.env.NODE_ENV !== "production" ? na((s || Xr)[e] || "", ...r || []) : e, l = new SyntaxError(String(o));
|
|
@@ -264,7 +264,7 @@ function lo(e, t = {}) {
|
|
|
264
264
|
/* TokenTypes.EOF */
|
|
265
265
|
);
|
|
266
266
|
function F(u, f) {
|
|
267
|
-
return u.currentChar() === f ? (u.next(), f) : (_(
|
|
267
|
+
return u.currentChar() === f ? (u.next(), f) : (_(C.EXPECTED_TOKEN, r(), 0, f), "");
|
|
268
268
|
}
|
|
269
269
|
function y(u) {
|
|
270
270
|
let f = "";
|
|
@@ -330,7 +330,7 @@ function lo(e, t = {}) {
|
|
|
330
330
|
const w = d(u.currentPeek());
|
|
331
331
|
return u.resetPeek(), w;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function D(u, f) {
|
|
334
334
|
const { currentType: S } = f;
|
|
335
335
|
if (!(S === 7 || S === 11))
|
|
336
336
|
return !1;
|
|
@@ -441,14 +441,14 @@ function lo(e, t = {}) {
|
|
|
441
441
|
const w = u.currentChar();
|
|
442
442
|
if (w && w !== "}" && w !== Fe && w !== Ne && w !== oe && w !== " ") {
|
|
443
443
|
const J = Wt(u);
|
|
444
|
-
return _(
|
|
444
|
+
return _(C.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, S + J), S + J;
|
|
445
445
|
}
|
|
446
|
-
return u.currentChar() === Fe && _(
|
|
446
|
+
return u.currentChar() === Fe && _(C.UNTERMINATED_CLOSING_BRACE, r(), 0), S;
|
|
447
447
|
}
|
|
448
448
|
function Ia(u) {
|
|
449
449
|
L(u);
|
|
450
450
|
let f = "";
|
|
451
|
-
return u.currentChar() === "-" ? (u.next(), f += `-${ht(u)}`) : f += ht(u), u.currentChar() === Fe && _(
|
|
451
|
+
return u.currentChar() === "-" ? (u.next(), f += `-${ht(u)}`) : f += ht(u), u.currentChar() === Fe && _(C.UNTERMINATED_CLOSING_BRACE, r(), 0), f;
|
|
452
452
|
}
|
|
453
453
|
function Na(u) {
|
|
454
454
|
return u !== kn && u !== oe;
|
|
@@ -459,7 +459,7 @@ function lo(e, t = {}) {
|
|
|
459
459
|
for (; f = K(u, Na); )
|
|
460
460
|
f === "\\" ? S += Ta(u) : S += f;
|
|
461
461
|
const w = u.currentChar();
|
|
462
|
-
return w === oe || w === Fe ? (_(
|
|
462
|
+
return w === oe || w === Fe ? (_(C.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), w === oe && (u.next(), F(u, "'")), S) : (F(u, "'"), S);
|
|
463
463
|
}
|
|
464
464
|
function Ta(u) {
|
|
465
465
|
const f = u.currentChar();
|
|
@@ -472,7 +472,7 @@ function lo(e, t = {}) {
|
|
|
472
472
|
case "U":
|
|
473
473
|
return Ht(u, f, 6);
|
|
474
474
|
default:
|
|
475
|
-
return _(
|
|
475
|
+
return _(C.UNKNOWN_ESCAPE_SEQUENCE, r(), 0, f), "";
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
function Ht(u, f, S) {
|
|
@@ -481,7 +481,7 @@ function lo(e, t = {}) {
|
|
|
481
481
|
for (let J = 0; J < S; J++) {
|
|
482
482
|
const z = we(u);
|
|
483
483
|
if (!z) {
|
|
484
|
-
_(
|
|
484
|
+
_(C.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${f}${w}${u.currentChar()}`);
|
|
485
485
|
break;
|
|
486
486
|
}
|
|
487
487
|
w += z;
|
|
@@ -524,27 +524,27 @@ function lo(e, t = {}) {
|
|
|
524
524
|
let S = null;
|
|
525
525
|
switch (u.currentChar()) {
|
|
526
526
|
case "{":
|
|
527
|
-
return f.braceNest >= 1 && _(
|
|
527
|
+
return f.braceNest >= 1 && _(C.NOT_ALLOW_NEST_PLACEHOLDER, r(), 0), u.next(), S = p(
|
|
528
528
|
f,
|
|
529
529
|
2,
|
|
530
530
|
"{"
|
|
531
531
|
/* TokenChars.BraceLeft */
|
|
532
532
|
), L(u), f.braceNest++, S;
|
|
533
533
|
case "}":
|
|
534
|
-
return f.braceNest > 0 && f.currentType === 2 && _(
|
|
534
|
+
return f.braceNest > 0 && f.currentType === 2 && _(C.EMPTY_PLACEHOLDER, r(), 0), u.next(), S = p(
|
|
535
535
|
f,
|
|
536
536
|
3,
|
|
537
537
|
"}"
|
|
538
538
|
/* TokenChars.BraceRight */
|
|
539
539
|
), f.braceNest--, f.braceNest > 0 && L(u), f.inLinked && f.braceNest === 0 && (f.inLinked = !1), S;
|
|
540
540
|
case "@":
|
|
541
|
-
return f.braceNest > 0 && _(
|
|
541
|
+
return f.braceNest > 0 && _(C.UNTERMINATED_CLOSING_BRACE, r(), 0), S = We(u, f) || I(f), f.braceNest = 0, S;
|
|
542
542
|
default: {
|
|
543
543
|
let J = !0, z = !0, $ = !0;
|
|
544
544
|
if (M(u))
|
|
545
|
-
return f.braceNest > 0 && _(
|
|
545
|
+
return f.braceNest > 0 && _(C.UNTERMINATED_CLOSING_BRACE, r(), 0), S = p(f, 1, Et(u)), f.braceNest = 0, f.inLinked = !1, S;
|
|
546
546
|
if (f.braceNest > 0 && (f.currentType === 4 || f.currentType === 5 || f.currentType === 6))
|
|
547
|
-
return _(
|
|
547
|
+
return _(C.UNTERMINATED_CLOSING_BRACE, r(), 0), f.braceNest = 0, bt(u, f);
|
|
548
548
|
if (J = N(u, f))
|
|
549
549
|
return S = p(f, 4, Sa(u)), L(u), S;
|
|
550
550
|
if (z = v(u, f))
|
|
@@ -552,7 +552,7 @@ function lo(e, t = {}) {
|
|
|
552
552
|
if ($ = b(u, f))
|
|
553
553
|
return S = p(f, 6, Tn(u)), L(u), S;
|
|
554
554
|
if (!J && !z && !$)
|
|
555
|
-
return S = p(f, 12, Wt(u)), _(
|
|
555
|
+
return S = p(f, 12, Wt(u)), _(C.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, S.value), L(u), S;
|
|
556
556
|
break;
|
|
557
557
|
}
|
|
558
558
|
}
|
|
@@ -562,7 +562,7 @@ function lo(e, t = {}) {
|
|
|
562
562
|
const { currentType: S } = f;
|
|
563
563
|
let w = null;
|
|
564
564
|
const J = u.currentChar();
|
|
565
|
-
switch ((S === 7 || S === 8 || S === 11 || S === 9) && (J === oe || J === Ne) && _(
|
|
565
|
+
switch ((S === 7 || S === 8 || S === 11 || S === 9) && (J === oe || J === Ne) && _(C.INVALID_LINKED_FORMAT, r(), 0), J) {
|
|
566
566
|
case "@":
|
|
567
567
|
return u.next(), w = p(
|
|
568
568
|
f,
|
|
@@ -585,7 +585,7 @@ function lo(e, t = {}) {
|
|
|
585
585
|
/* TokenChars.LinkedDelimiter */
|
|
586
586
|
);
|
|
587
587
|
default:
|
|
588
|
-
return M(u) ? (w = p(f, 1, Et(u)), f.braceNest = 0, f.inLinked = !1, w) : O(u, f) ||
|
|
588
|
+
return M(u) ? (w = p(f, 1, Et(u)), f.braceNest = 0, f.inLinked = !1, w) : O(u, f) || D(u, f) ? (L(u), We(u, f)) : E(u, f) ? (L(u), p(f, 11, Oa(u))) : k(u, f) ? (L(u), J === "{" ? vt(u, f) || w : p(f, 10, Aa(u))) : (S === 7 && _(C.INVALID_LINKED_FORMAT, r(), 0), f.braceNest = 0, f.inLinked = !1, bt(u, f));
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
function bt(u, f) {
|
|
@@ -601,7 +601,7 @@ function lo(e, t = {}) {
|
|
|
601
601
|
case "{":
|
|
602
602
|
return vt(u, f) || I(f);
|
|
603
603
|
case "}":
|
|
604
|
-
return _(
|
|
604
|
+
return _(C.UNBALANCED_CLOSING_BRACE, r(), 0), u.next(), p(
|
|
605
605
|
f,
|
|
606
606
|
3,
|
|
607
607
|
"}"
|
|
@@ -656,11 +656,11 @@ function po(e = {}) {
|
|
|
656
656
|
function n(d, g, N, v, ...b) {
|
|
657
657
|
const O = d.currentPosition();
|
|
658
658
|
if (O.offset += v, O.column += v, a) {
|
|
659
|
-
const E = t ? $a(N, O) : null,
|
|
659
|
+
const E = t ? $a(N, O) : null, D = _t(g, E, {
|
|
660
660
|
domain: io,
|
|
661
661
|
args: b
|
|
662
662
|
});
|
|
663
|
-
a(
|
|
663
|
+
a(D);
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
function s(d, g, N) {
|
|
@@ -688,10 +688,10 @@ function po(e = {}) {
|
|
|
688
688
|
}
|
|
689
689
|
function m(d) {
|
|
690
690
|
const g = d.nextToken(), N = d.context(), { lastOffset: v, lastStartLoc: b } = N, O = s(8, v, b);
|
|
691
|
-
return g.type !== 11 ? (n(d,
|
|
691
|
+
return g.type !== 11 ? (n(d, C.UNEXPECTED_EMPTY_LINKED_MODIFIER, N.lastStartLoc, 0), O.value = "", r(O, v, b), {
|
|
692
692
|
nextConsumeToken: g,
|
|
693
693
|
node: O
|
|
694
|
-
}) : (g.value == null && n(d,
|
|
694
|
+
}) : (g.value == null && n(d, C.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, Te(g)), O.value = g.value || "", r(O, d.currentOffset(), d.currentPosition()), {
|
|
695
695
|
node: O
|
|
696
696
|
});
|
|
697
697
|
}
|
|
@@ -706,21 +706,21 @@ function po(e = {}) {
|
|
|
706
706
|
const b = m(d);
|
|
707
707
|
N.modifier = b.node, v = b.nextConsumeToken || d.nextToken();
|
|
708
708
|
}
|
|
709
|
-
switch (v.type !== 9 && n(d,
|
|
709
|
+
switch (v.type !== 9 && n(d, C.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, Te(v)), v = d.nextToken(), v.type === 2 && (v = d.nextToken()), v.type) {
|
|
710
710
|
case 10:
|
|
711
|
-
v.value == null && n(d,
|
|
711
|
+
v.value == null && n(d, C.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, Te(v)), N.key = _(d, v.value || "");
|
|
712
712
|
break;
|
|
713
713
|
case 4:
|
|
714
|
-
v.value == null && n(d,
|
|
714
|
+
v.value == null && n(d, C.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, Te(v)), N.key = i(d, v.value || "");
|
|
715
715
|
break;
|
|
716
716
|
case 5:
|
|
717
|
-
v.value == null && n(d,
|
|
717
|
+
v.value == null && n(d, C.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, Te(v)), N.key = l(d, v.value || "");
|
|
718
718
|
break;
|
|
719
719
|
case 6:
|
|
720
|
-
v.value == null && n(d,
|
|
720
|
+
v.value == null && n(d, C.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, Te(v)), N.key = c(d, v.value || "");
|
|
721
721
|
break;
|
|
722
722
|
default: {
|
|
723
|
-
n(d,
|
|
723
|
+
n(d, C.UNEXPECTED_EMPTY_LINKED_KEY, g.lastStartLoc, 0);
|
|
724
724
|
const b = d.context(), O = s(7, b.offset, b.startLoc);
|
|
725
725
|
return O.value = "", r(O, b.offset, b.startLoc), N.key = O, r(N, b.offset, b.startLoc), {
|
|
726
726
|
nextConsumeToken: v,
|
|
@@ -740,16 +740,16 @@ function po(e = {}) {
|
|
|
740
740
|
const k = O || d.nextToken();
|
|
741
741
|
switch (O = null, k.type) {
|
|
742
742
|
case 0:
|
|
743
|
-
k.value == null && n(d,
|
|
743
|
+
k.value == null && n(d, C.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, Te(k)), b.items.push(o(d, k.value || ""));
|
|
744
744
|
break;
|
|
745
745
|
case 5:
|
|
746
|
-
k.value == null && n(d,
|
|
746
|
+
k.value == null && n(d, C.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, Te(k)), b.items.push(l(d, k.value || ""));
|
|
747
747
|
break;
|
|
748
748
|
case 4:
|
|
749
|
-
k.value == null && n(d,
|
|
749
|
+
k.value == null && n(d, C.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, Te(k)), b.items.push(i(d, k.value || ""));
|
|
750
750
|
break;
|
|
751
751
|
case 6:
|
|
752
|
-
k.value == null && n(d,
|
|
752
|
+
k.value == null && n(d, C.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, Te(k)), b.items.push(c(d, k.value || ""));
|
|
753
753
|
break;
|
|
754
754
|
case 7: {
|
|
755
755
|
const M = p(d);
|
|
@@ -758,8 +758,8 @@ function po(e = {}) {
|
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
760
|
} while (g.currentType !== 13 && g.currentType !== 1);
|
|
761
|
-
const E = g.currentType === 1 ? g.lastOffset : d.currentOffset(),
|
|
762
|
-
return r(b, E,
|
|
761
|
+
const E = g.currentType === 1 ? g.lastOffset : d.currentOffset(), D = g.currentType === 1 ? g.lastEndLoc : d.currentPosition();
|
|
762
|
+
return r(b, E, D), b;
|
|
763
763
|
}
|
|
764
764
|
function F(d, g, N, v) {
|
|
765
765
|
const b = d.context();
|
|
@@ -767,10 +767,10 @@ function po(e = {}) {
|
|
|
767
767
|
const E = s(1, g, N);
|
|
768
768
|
E.cases = [], E.cases.push(v);
|
|
769
769
|
do {
|
|
770
|
-
const
|
|
771
|
-
O || (O =
|
|
770
|
+
const D = I(d);
|
|
771
|
+
O || (O = D.items.length === 0), E.cases.push(D);
|
|
772
772
|
} while (b.currentType !== 13);
|
|
773
|
-
return O && n(d,
|
|
773
|
+
return O && n(d, C.MUST_HAVE_MESSAGES_IN_PLURAL, N, 0), r(E, d.currentOffset(), d.currentPosition()), E;
|
|
774
774
|
}
|
|
775
775
|
function y(d) {
|
|
776
776
|
const g = d.context(), { offset: N, startLoc: v } = g, b = I(d);
|
|
@@ -778,7 +778,7 @@ function po(e = {}) {
|
|
|
778
778
|
}
|
|
779
779
|
function L(d) {
|
|
780
780
|
const g = lo(d, te({}, e)), N = g.context(), v = s(0, N.offset, N.startLoc);
|
|
781
|
-
return t && v.loc && (v.loc.source = d), v.body = y(g), e.onCacheKey && (v.cacheKey = e.onCacheKey(d)), N.currentType !== 13 && n(g,
|
|
781
|
+
return t && v.loc && (v.loc.source = d), v.body = y(g), e.onCacheKey && (v.cacheKey = e.onCacheKey(d)), N.currentType !== 13 && n(g, C.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, d[N.offset] || ""), r(v, g.currentOffset(), g.currentPosition()), v;
|
|
782
782
|
}
|
|
783
783
|
return { parse: L };
|
|
784
784
|
}
|
|
@@ -921,7 +921,7 @@ function nt(e) {
|
|
|
921
921
|
}
|
|
922
922
|
default:
|
|
923
923
|
if (process.env.NODE_ENV !== "production")
|
|
924
|
-
throw _t(
|
|
924
|
+
throw _t(C.UNHANDLED_MINIFIER_NODE_TYPE, null, {
|
|
925
925
|
domain: Eo,
|
|
926
926
|
args: [e.type]
|
|
927
927
|
});
|
|
@@ -1052,7 +1052,7 @@ function ct(e, t) {
|
|
|
1052
1052
|
break;
|
|
1053
1053
|
default:
|
|
1054
1054
|
if (process.env.NODE_ENV !== "production")
|
|
1055
|
-
throw _t(
|
|
1055
|
+
throw _t(C.UNHANDLED_CODEGEN_NODE_TYPE, null, {
|
|
1056
1056
|
domain: vo,
|
|
1057
1057
|
args: [t.type]
|
|
1058
1058
|
});
|
|
@@ -1123,7 +1123,7 @@ function Ro(e) {
|
|
|
1123
1123
|
return $e(e, Os);
|
|
1124
1124
|
}
|
|
1125
1125
|
const As = ["k", "key"];
|
|
1126
|
-
function
|
|
1126
|
+
function Co(e) {
|
|
1127
1127
|
const t = $e(e, As);
|
|
1128
1128
|
if (t)
|
|
1129
1129
|
return t;
|
|
@@ -1153,10 +1153,10 @@ const Ps = [
|
|
|
1153
1153
|
function Lt(e) {
|
|
1154
1154
|
return new Error(`unhandled node type: ${e}`);
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1157
|
-
return (a) =>
|
|
1156
|
+
function Ca(e) {
|
|
1157
|
+
return (a) => Do(a, e);
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1159
|
+
function Do(e, t) {
|
|
1160
1160
|
const a = Ao(t);
|
|
1161
1161
|
if (a == null)
|
|
1162
1162
|
throw Lt(
|
|
@@ -1205,7 +1205,7 @@ function Ha(e, t) {
|
|
|
1205
1205
|
throw Lt(a);
|
|
1206
1206
|
}
|
|
1207
1207
|
case 6: {
|
|
1208
|
-
const n = t, s = Ro(n), r =
|
|
1208
|
+
const n = t, s = Ro(n), r = Co(n);
|
|
1209
1209
|
return e.linked(Ha(e, r), s ? Ha(e, s) : void 0, e.type);
|
|
1210
1210
|
}
|
|
1211
1211
|
case 7:
|
|
@@ -1241,7 +1241,7 @@ function Vo(e, t) {
|
|
|
1241
1241
|
...t,
|
|
1242
1242
|
location: process.env.NODE_ENV !== "production",
|
|
1243
1243
|
jit: !0
|
|
1244
|
-
}), i =
|
|
1244
|
+
}), i = Ca(o);
|
|
1245
1245
|
return l ? i : Yt[s] = i;
|
|
1246
1246
|
} else {
|
|
1247
1247
|
if (process.env.NODE_ENV !== "production" && !ve(e))
|
|
@@ -1249,9 +1249,9 @@ function Vo(e, t) {
|
|
|
1249
1249
|
const a = e.cacheKey;
|
|
1250
1250
|
if (a) {
|
|
1251
1251
|
const n = Yt[a];
|
|
1252
|
-
return n || (Yt[a] =
|
|
1252
|
+
return n || (Yt[a] = Ca(e));
|
|
1253
1253
|
} else
|
|
1254
|
-
return
|
|
1254
|
+
return Ca(e);
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
1257
1257
|
let Ot = null;
|
|
@@ -1280,7 +1280,7 @@ const le = {
|
|
|
1280
1280
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1281
1281
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1282
1282
|
}, Ko = 24;
|
|
1283
|
-
function
|
|
1283
|
+
function Ce(e) {
|
|
1284
1284
|
return _t(e, null, process.env.NODE_ENV !== "production" ? { messages: Bo } : void 0);
|
|
1285
1285
|
}
|
|
1286
1286
|
const Bo = {
|
|
@@ -1295,22 +1295,22 @@ const Bo = {
|
|
|
1295
1295
|
function mn(e, t) {
|
|
1296
1296
|
return t.locale != null ? Vn(t.locale) : Vn(e.locale);
|
|
1297
1297
|
}
|
|
1298
|
-
let
|
|
1298
|
+
let Da;
|
|
1299
1299
|
function Vn(e) {
|
|
1300
1300
|
if (A(e))
|
|
1301
1301
|
return e;
|
|
1302
1302
|
if (Y(e)) {
|
|
1303
|
-
if (e.resolvedOnce &&
|
|
1304
|
-
return
|
|
1303
|
+
if (e.resolvedOnce && Da != null)
|
|
1304
|
+
return Da;
|
|
1305
1305
|
if (e.constructor.name === "Function") {
|
|
1306
1306
|
const t = e();
|
|
1307
1307
|
if (Yr(t))
|
|
1308
|
-
throw
|
|
1309
|
-
return
|
|
1308
|
+
throw Ce(le.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1309
|
+
return Da = t;
|
|
1310
1310
|
} else
|
|
1311
|
-
throw
|
|
1311
|
+
throw Ce(le.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1312
1312
|
} else
|
|
1313
|
-
throw
|
|
1313
|
+
throw Ce(le.NOT_SUPPORT_LOCALE_TYPE);
|
|
1314
1314
|
}
|
|
1315
1315
|
function Yo(e, t, a) {
|
|
1316
1316
|
return [.../* @__PURE__ */ new Set([
|
|
@@ -1691,19 +1691,19 @@ let Rs;
|
|
|
1691
1691
|
function il(e) {
|
|
1692
1692
|
Rs = e;
|
|
1693
1693
|
}
|
|
1694
|
-
let Ds = null;
|
|
1695
|
-
const cl = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1696
|
-
Ds = e;
|
|
1697
|
-
}, ul = /* @__NO_SIDE_EFFECTS__ */ () => Ds;
|
|
1698
1694
|
let Cs = null;
|
|
1699
|
-
const
|
|
1695
|
+
const cl = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1700
1696
|
Cs = e;
|
|
1701
|
-
},
|
|
1697
|
+
}, ul = /* @__NO_SIDE_EFFECTS__ */ () => Cs;
|
|
1698
|
+
let Ds = null;
|
|
1699
|
+
const Gn = (e) => {
|
|
1700
|
+
Ds = e;
|
|
1701
|
+
}, fl = () => Ds;
|
|
1702
1702
|
let Kn = 0;
|
|
1703
1703
|
function dl(e = {}) {
|
|
1704
1704
|
const t = Y(e.onWarn) ? e.onWarn : Oe, a = A(e.version) ? e.version : sl, n = A(e.locale) || Y(e.locale) ? e.locale : At, s = Y(n) ? At : n, r = Q(e.fallbackLocale) || x(e.fallbackLocale) || A(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = x(e.messages) ? e.messages : ka(s), l = x(e.datetimeFormats) ? e.datetimeFormats : ka(s), i = x(e.numberFormats) ? e.numberFormats : ka(s), c = te(G(), e.modifiers, rl()), m = e.pluralRules || G(), _ = Y(e.missing) ? e.missing : null, p = U(e.missingWarn) || it(e.missingWarn) ? e.missingWarn : !0, I = U(e.fallbackWarn) || it(e.fallbackWarn) ? e.fallbackWarn : !0, F = !!e.fallbackFormat, y = !!e.unresolving, L = Y(e.postTranslation) ? e.postTranslation : null, d = x(e.processor) ? e.processor : null, g = U(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, v = Y(e.messageCompiler) ? e.messageCompiler : ws;
|
|
1705
1705
|
process.env.NODE_ENV !== "production" && Y(e.messageCompiler) && on(ke(ne.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
1706
|
-
const b = Y(e.messageResolver) ? e.messageResolver : Fs || tl, O = Y(e.localeFallbacker) ? e.localeFallbacker : Rs || Yo, E = V(e.fallbackContext) ? e.fallbackContext : void 0,
|
|
1706
|
+
const b = Y(e.messageResolver) ? e.messageResolver : Fs || tl, O = Y(e.localeFallbacker) ? e.localeFallbacker : Rs || Yo, E = V(e.fallbackContext) ? e.fallbackContext : void 0, D = e, k = V(D.__datetimeFormatters) ? D.__datetimeFormatters : /* @__PURE__ */ new Map(), M = V(D.__numberFormatters) ? D.__numberFormatters : /* @__PURE__ */ new Map(), ce = V(D.__meta) ? D.__meta : {};
|
|
1707
1707
|
Kn++;
|
|
1708
1708
|
const K = {
|
|
1709
1709
|
version: a,
|
|
@@ -1729,7 +1729,7 @@ function dl(e = {}) {
|
|
|
1729
1729
|
onWarn: t,
|
|
1730
1730
|
__meta: ce
|
|
1731
1731
|
};
|
|
1732
|
-
return K.datetimeFormats = l, K.numberFormats = i, K.__datetimeFormatters = k, K.__numberFormatters = M, process.env.NODE_ENV !== "production" && (K.__v_emitter =
|
|
1732
|
+
return K.datetimeFormats = l, K.numberFormats = i, K.__datetimeFormatters = k, K.__numberFormatters = M, process.env.NODE_ENV !== "production" && (K.__v_emitter = D.__v_emitter != null ? D.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Ho(K, a, ce), K;
|
|
1733
1733
|
}
|
|
1734
1734
|
const ka = (e) => ({ [e]: G() });
|
|
1735
1735
|
function oa(e, t) {
|
|
@@ -1815,8 +1815,8 @@ function Yn(e, ...t) {
|
|
|
1815
1815
|
return n ? ra : i;
|
|
1816
1816
|
let E = `${g}__${i}`;
|
|
1817
1817
|
sa(_) || (E = `${E}__${JSON.stringify(_)}`);
|
|
1818
|
-
let
|
|
1819
|
-
return
|
|
1818
|
+
let D = l.get(E);
|
|
1819
|
+
return D || (D = new Intl.DateTimeFormat(g, te({}, N, _)), l.set(E, D)), F ? D.formatToParts(c) : D.format(c);
|
|
1820
1820
|
}
|
|
1821
1821
|
const Us = [
|
|
1822
1822
|
"localeMatcher",
|
|
@@ -1846,22 +1846,22 @@ function Ga(...e) {
|
|
|
1846
1846
|
if (A(t)) {
|
|
1847
1847
|
const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1848
1848
|
if (!i)
|
|
1849
|
-
throw
|
|
1849
|
+
throw Ce(le.INVALID_ISO_DATE_ARGUMENT);
|
|
1850
1850
|
const c = i[3] ? i[3].trim().startsWith("T") ? `${i[1].trim()}${i[3].trim()}` : `${i[1].trim()}T${i[3].trim()}` : i[1].trim();
|
|
1851
1851
|
l = new Date(c);
|
|
1852
1852
|
try {
|
|
1853
1853
|
l.toISOString();
|
|
1854
1854
|
} catch {
|
|
1855
|
-
throw
|
|
1855
|
+
throw Ce(le.INVALID_ISO_DATE_ARGUMENT);
|
|
1856
1856
|
}
|
|
1857
1857
|
} else if (vs(t)) {
|
|
1858
1858
|
if (isNaN(t.getTime()))
|
|
1859
|
-
throw
|
|
1859
|
+
throw Ce(le.INVALID_DATE_ARGUMENT);
|
|
1860
1860
|
l = t;
|
|
1861
1861
|
} else if (ee(t))
|
|
1862
1862
|
l = t;
|
|
1863
1863
|
else
|
|
1864
|
-
throw
|
|
1864
|
+
throw Ce(le.INVALID_ARGUMENT);
|
|
1865
1865
|
return A(a) ? r.key = a : x(a) && Object.keys(a).forEach((i) => {
|
|
1866
1866
|
Us.includes(i) ? o[i] = a[i] : r[i] = a[i];
|
|
1867
1867
|
}), A(n) ? r.locale = n : x(n) && (o = n), x(s) && (o = s), [r.key || "", l, r, o];
|
|
@@ -1913,8 +1913,8 @@ function Jn(e, ...t) {
|
|
|
1913
1913
|
return n ? ra : i;
|
|
1914
1914
|
let E = `${g}__${i}`;
|
|
1915
1915
|
sa(_) || (E = `${E}__${JSON.stringify(_)}`);
|
|
1916
|
-
let
|
|
1917
|
-
return
|
|
1916
|
+
let D = l.get(E);
|
|
1917
|
+
return D || (D = new Intl.NumberFormat(g, te({}, N, _)), l.set(E, D)), F ? D.formatToParts(c) : D.format(c);
|
|
1918
1918
|
}
|
|
1919
1919
|
const Vs = [
|
|
1920
1920
|
"localeMatcher",
|
|
@@ -1942,7 +1942,7 @@ function Ka(...e) {
|
|
|
1942
1942
|
const [t, a, n, s] = e, r = G();
|
|
1943
1943
|
let o = G();
|
|
1944
1944
|
if (!ee(t))
|
|
1945
|
-
throw
|
|
1945
|
+
throw Ce(le.INVALID_ARGUMENT);
|
|
1946
1946
|
const l = t;
|
|
1947
1947
|
return A(a) ? r.key = a : x(a) && Object.keys(a).forEach((i) => {
|
|
1948
1948
|
Vs.includes(i) ? o[i] = a[i] : r[i] = a[i];
|
|
@@ -1978,9 +1978,9 @@ function bl(e = {}) {
|
|
|
1978
1978
|
named: c,
|
|
1979
1979
|
plural: r,
|
|
1980
1980
|
linked: (b, ...O) => {
|
|
1981
|
-
const [E,
|
|
1981
|
+
const [E, D] = O;
|
|
1982
1982
|
let k = "text", M = "";
|
|
1983
|
-
O.length === 1 ? V(E) ? (M = E.modifier || M, k = E.type || k) : A(E) && (M = E || M) : O.length === 2 && (A(E) && (M = E || M), A(
|
|
1983
|
+
O.length === 1 ? V(E) ? (M = E.modifier || M, k = E.type || k) : A(E) && (M = E || M) : O.length === 2 && (A(E) && (M = E || M), A(D) && (k = D || k));
|
|
1984
1984
|
const ce = m(b, !0)(L), K = ce === "" || ce === void 0 ? b : ce, Pe = (
|
|
1985
1985
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1986
1986
|
k === "vnode" && Q(K) && M ? K[0] : K
|
|
@@ -2011,10 +2011,10 @@ function Xn(e, ...t) {
|
|
|
2011
2011
|
let O = !1;
|
|
2012
2012
|
const E = () => {
|
|
2013
2013
|
O = !0;
|
|
2014
|
-
},
|
|
2014
|
+
}, D = _e(v) ? v : Hs(e, i, g, v, b, E);
|
|
2015
2015
|
if (O)
|
|
2016
2016
|
return v;
|
|
2017
|
-
const k = Tl(e, g, N, c), M = bl(k), ce = Sl(e,
|
|
2017
|
+
const k = Tl(e, g, N, c), M = bl(k), ce = Sl(e, D, M);
|
|
2018
2018
|
let K = n ? n(ce, i) : ce;
|
|
2019
2019
|
if (p && A(K) && (K = Kr(K)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
2020
2020
|
const Pe = {
|
|
@@ -2122,7 +2122,7 @@ function Sl(e, t, a) {
|
|
|
2122
2122
|
function Ba(...e) {
|
|
2123
2123
|
const [t, a, n] = e, s = G();
|
|
2124
2124
|
if (!A(t) && !ee(t) && !_e(t) && !ve(t))
|
|
2125
|
-
throw
|
|
2125
|
+
throw Ce(le.INVALID_ARGUMENT);
|
|
2126
2126
|
const r = ee(t) ? String(t) : (_e(t), t);
|
|
2127
2127
|
return ee(a) ? s.plural = a : A(a) ? s.default = a : x(a) && !sa(a) ? s.named = a : Q(a) && (s.list = a), ee(n) ? s.plural = n : A(n) ? s.default = n : x(n) && te(s, n), [r, s];
|
|
2128
2128
|
}
|
|
@@ -2264,7 +2264,7 @@ class Rl {
|
|
|
2264
2264
|
a.resolve(await this.target[a.method](...a.args));
|
|
2265
2265
|
}
|
|
2266
2266
|
}
|
|
2267
|
-
function
|
|
2267
|
+
function Cl(e, t) {
|
|
2268
2268
|
const a = e, n = Ws(), s = Ll(), r = Ol && a.enableEarlyProxy;
|
|
2269
2269
|
if (s && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !r))
|
|
2270
2270
|
s.emit(Al, e, t);
|
|
@@ -2282,7 +2282,7 @@ function Dl(e, t) {
|
|
|
2282
2282
|
* (c) 2026 kazuya kawaguchi
|
|
2283
2283
|
* Released under the MIT License.
|
|
2284
2284
|
*/
|
|
2285
|
-
const
|
|
2285
|
+
const Dl = "11.3.0";
|
|
2286
2286
|
function kl() {
|
|
2287
2287
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (je().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (je().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
2288
2288
|
}
|
|
@@ -2458,7 +2458,7 @@ function gn(e = {}) {
|
|
|
2458
2458
|
E = (() => {
|
|
2459
2459
|
n && Gn(null);
|
|
2460
2460
|
const h = {
|
|
2461
|
-
version:
|
|
2461
|
+
version: Dl,
|
|
2462
2462
|
locale: l.value,
|
|
2463
2463
|
fallbackLocale: i.value,
|
|
2464
2464
|
messages: c.value,
|
|
@@ -2750,7 +2750,7 @@ let Xa;
|
|
|
2750
2750
|
async function Wl(e, t) {
|
|
2751
2751
|
return new Promise((a, n) => {
|
|
2752
2752
|
try {
|
|
2753
|
-
|
|
2753
|
+
Cl({
|
|
2754
2754
|
id: "vue-devtools-plugin-vue-i18n",
|
|
2755
2755
|
label: xa["vue-devtools-plugin-vue-i18n"],
|
|
2756
2756
|
packageName: "vue-i18n",
|
|
@@ -3002,9 +3002,9 @@ function Zl(e) {
|
|
|
3002
3002
|
let F = e.messages;
|
|
3003
3003
|
if (x(e.sharedMessages)) {
|
|
3004
3004
|
const b = e.sharedMessages;
|
|
3005
|
-
F = Object.keys(b).reduce((E,
|
|
3006
|
-
const k = E[
|
|
3007
|
-
return te(k, b[
|
|
3005
|
+
F = Object.keys(b).reduce((E, D) => {
|
|
3006
|
+
const k = E[D] || (E[D] = {});
|
|
3007
|
+
return te(k, b[D]), E;
|
|
3008
3008
|
}, F || {});
|
|
3009
3009
|
}
|
|
3010
3010
|
const { __i18n: y, __root: L, __injectWithOption: d } = e, g = e.datetimeFormats, N = e.numberFormats, v = e.flatJson;
|
|
@@ -4664,7 +4664,7 @@ const xt = {
|
|
|
4664
4664
|
required: !1
|
|
4665
4665
|
}
|
|
4666
4666
|
}, be = (e) => e == null || e === "" ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1, ms = "/login/", Ni = () => {
|
|
4667
|
-
const e =
|
|
4667
|
+
const e = De.VITE_LOGIN_URL;
|
|
4668
4668
|
if (e && (e.startsWith("http://") || e.startsWith("https://")))
|
|
4669
4669
|
return e;
|
|
4670
4670
|
}, qt = [], Ti = (e) => {
|
|
@@ -4685,11 +4685,11 @@ const xt = {
|
|
|
4685
4685
|
return a.length === 0 && !n;
|
|
4686
4686
|
if (t) {
|
|
4687
4687
|
const o = Se();
|
|
4688
|
-
if (
|
|
4688
|
+
if (De.VITE_PERMISSION_MODE === "none")
|
|
4689
4689
|
return !0;
|
|
4690
|
-
if (
|
|
4690
|
+
if (De.VITE_PERMISSION_MODE === "role")
|
|
4691
4691
|
return a.length === 0 ? !0 : o.hasRole(a);
|
|
4692
|
-
if (
|
|
4692
|
+
if (De.VITE_PERMISSION_MODE === "permit") {
|
|
4693
4693
|
if (a.length === 0 && !n)
|
|
4694
4694
|
return !0;
|
|
4695
4695
|
let l = !1, i = !1;
|
|
@@ -4758,7 +4758,7 @@ const Oi = (e) => {
|
|
|
4758
4758
|
return;
|
|
4759
4759
|
t.TabPanes.push(e);
|
|
4760
4760
|
}
|
|
4761
|
-
}, Pi = (e, t) => t.find((a) => a.key === e), bn =
|
|
4761
|
+
}, Pi = (e, t) => t.find((a) => a.key === e), bn = Dt("pageInfo", {
|
|
4762
4762
|
state: () => ({
|
|
4763
4763
|
TabActive: "",
|
|
4764
4764
|
TabPanes: [],
|
|
@@ -4922,11 +4922,11 @@ const Tt = {
|
|
|
4922
4922
|
}
|
|
4923
4923
|
}, Ua = /* @__PURE__ */ new Map(), Fi = (e) => {
|
|
4924
4924
|
const t = Se(), { roles: a, permission: n } = e.meta || {};
|
|
4925
|
-
if (be(a) && be(n) ||
|
|
4925
|
+
if (be(a) && be(n) || De.VITE_PERMISSION_MODE === "none")
|
|
4926
4926
|
return !0;
|
|
4927
|
-
if (
|
|
4927
|
+
if (De.VITE_PERMISSION_MODE === "role")
|
|
4928
4928
|
return be(a) ? !0 : t.hasRole(a);
|
|
4929
|
-
if (
|
|
4929
|
+
if (De.VITE_PERMISSION_MODE === "permit") {
|
|
4930
4930
|
let s = !1, r = !1;
|
|
4931
4931
|
return be(a) || (s = t.hasRole(a)), t.isAdmin() ? s : (be(n) || (r = t.hasPermit(e.path, n)), s || r);
|
|
4932
4932
|
}
|
|
@@ -4946,7 +4946,7 @@ const Tt = {
|
|
|
4946
4946
|
return n;
|
|
4947
4947
|
}
|
|
4948
4948
|
}
|
|
4949
|
-
}, Ue =
|
|
4949
|
+
}, Ue = Dt("appInfo", {
|
|
4950
4950
|
state: () => ({
|
|
4951
4951
|
appInfo: {
|
|
4952
4952
|
Id: "",
|
|
@@ -5026,7 +5026,7 @@ const Tt = {
|
|
|
5026
5026
|
defaultPage: ""
|
|
5027
5027
|
}), !Ye() || !kr())) {
|
|
5028
5028
|
const n = Se();
|
|
5029
|
-
|
|
5029
|
+
De.VITE_PERMISSION_MODE !== "none" && await n.getRolePermits(a.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes);
|
|
5030
5030
|
}
|
|
5031
5031
|
},
|
|
5032
5032
|
/**
|
|
@@ -5154,7 +5154,7 @@ const Tt = {
|
|
|
5154
5154
|
Query: e
|
|
5155
5155
|
};
|
|
5156
5156
|
return et(la.login, t).then((a) => (a == null ? void 0 : a.status) === ue.SUCCESS ? a : null);
|
|
5157
|
-
},
|
|
5157
|
+
}, Ci = (e) => {
|
|
5158
5158
|
let t = {
|
|
5159
5159
|
Query: {
|
|
5160
5160
|
AppId: e
|
|
@@ -5169,7 +5169,7 @@ const Tt = {
|
|
|
5169
5169
|
}
|
|
5170
5170
|
return re.error(P("webui.stores.userInfo.authInfoFailed") + "," + (a == null ? void 0 : a.msg)), null;
|
|
5171
5171
|
});
|
|
5172
|
-
},
|
|
5172
|
+
}, Di = () => {
|
|
5173
5173
|
let e = {
|
|
5174
5174
|
Option: {},
|
|
5175
5175
|
Query: {}
|
|
@@ -5182,7 +5182,7 @@ const Tt = {
|
|
|
5182
5182
|
} catch (t) {
|
|
5183
5183
|
return console.error(er, t), !1;
|
|
5184
5184
|
}
|
|
5185
|
-
}, pe = R(""), St = R(null), Se =
|
|
5185
|
+
}, pe = R(""), St = R(null), Se = Dt("userInfo", {
|
|
5186
5186
|
state: () => ({
|
|
5187
5187
|
isLogin: !1,
|
|
5188
5188
|
userInfo: {
|
|
@@ -5236,10 +5236,10 @@ const Tt = {
|
|
|
5236
5236
|
async getRolePermits(e) {
|
|
5237
5237
|
if (!this.isLogin || !this.token)
|
|
5238
5238
|
return !1;
|
|
5239
|
-
if (
|
|
5239
|
+
if (De.VITE_PERMISSION_MODE === "none" || St.value && St.value.appId === e)
|
|
5240
5240
|
return !0;
|
|
5241
5241
|
try {
|
|
5242
|
-
const t = await
|
|
5242
|
+
const t = await Ci(e);
|
|
5243
5243
|
return t ? (St.value = {
|
|
5244
5244
|
appId: e,
|
|
5245
5245
|
permits: t.permits || [],
|
|
@@ -5334,7 +5334,7 @@ const Tt = {
|
|
|
5334
5334
|
if (Ye())
|
|
5335
5335
|
return Tt.userLogout(), Promise.resolve();
|
|
5336
5336
|
try {
|
|
5337
|
-
e && await
|
|
5337
|
+
e && await Di();
|
|
5338
5338
|
} catch (t) {
|
|
5339
5339
|
console.error("调用登出接口失败", t);
|
|
5340
5340
|
} finally {
|
|
@@ -5413,7 +5413,7 @@ const Tt = {
|
|
|
5413
5413
|
}
|
|
5414
5414
|
}
|
|
5415
5415
|
return null;
|
|
5416
|
-
}, Lc =
|
|
5416
|
+
}, Lc = Dt("settingInfo", {
|
|
5417
5417
|
state: () => ({
|
|
5418
5418
|
fullscreen: !1,
|
|
5419
5419
|
menuCollapse: !1,
|
|
@@ -5643,10 +5643,10 @@ const Oc = (e) => {
|
|
|
5643
5643
|
return Hi(n, t[a].fields);
|
|
5644
5644
|
}, Rc = (e) => {
|
|
5645
5645
|
or(e);
|
|
5646
|
-
},
|
|
5646
|
+
}, Cc = (e) => {
|
|
5647
5647
|
const t = e.page, a = e.formData.value;
|
|
5648
5648
|
a[e.primaryKey ?? t.primaryKey] = null, or(e);
|
|
5649
|
-
},
|
|
5649
|
+
}, Dc = (e) => {
|
|
5650
5650
|
In(e), e.visible.value = !1;
|
|
5651
5651
|
}, or = async (e) => {
|
|
5652
5652
|
var n;
|
|
@@ -6391,7 +6391,7 @@ const rt = new Ki(), gt = (e, t, a) => {
|
|
|
6391
6391
|
};
|
|
6392
6392
|
_s.push(o);
|
|
6393
6393
|
});
|
|
6394
|
-
}, Xc =
|
|
6394
|
+
}, Xc = Dt("hostInfo", {
|
|
6395
6395
|
state: () => ({
|
|
6396
6396
|
hostInfo: {
|
|
6397
6397
|
Host: "",
|
|
@@ -6519,11 +6519,11 @@ const rt = new Ki(), gt = (e, t, a) => {
|
|
|
6519
6519
|
}), _ = Le(() => ds() === "en-US" || ds() === "en"), p = Le(() => {
|
|
6520
6520
|
var L;
|
|
6521
6521
|
const y = ((L = o.value[0]) == null ? void 0 : L.label) || "";
|
|
6522
|
-
return _.value ? y.slice(0, 2) : y;
|
|
6522
|
+
return _.value && y.toLowerCase() === "enable" ? y.slice(0, 2) : y;
|
|
6523
6523
|
}), I = Le(() => {
|
|
6524
6524
|
var L;
|
|
6525
6525
|
const y = ((L = o.value[1]) == null ? void 0 : L.label) || "";
|
|
6526
|
-
return _.value ? y.slice(0, 3) : y;
|
|
6526
|
+
return _.value && y.toLowerCase() === "disable" ? y.slice(0, 3) : y;
|
|
6527
6527
|
}), F = (y) => {
|
|
6528
6528
|
c != null && c.value.errClass && i && Ut(i), l("change", y);
|
|
6529
6529
|
};
|
|
@@ -6537,7 +6537,7 @@ const rt = new Ki(), gt = (e, t, a) => {
|
|
|
6537
6537
|
r && Vt(r, a);
|
|
6538
6538
|
}), (y, L) => {
|
|
6539
6539
|
var d;
|
|
6540
|
-
return o.value.length === 2 ? (ie(), zt(q(Nr),
|
|
6540
|
+
return o.value.length === 2 ? (ie(), zt(q(Nr), Ct({
|
|
6541
6541
|
key: 0,
|
|
6542
6542
|
size: e.size,
|
|
6543
6543
|
class: [
|
|
@@ -6624,7 +6624,7 @@ const rt = new Ki(), gt = (e, t, a) => {
|
|
|
6624
6624
|
}), (y, L) => {
|
|
6625
6625
|
var d;
|
|
6626
6626
|
return ie(), he("div", null, [
|
|
6627
|
-
Qe(q(Tr),
|
|
6627
|
+
Qe(q(Tr), Ct({
|
|
6628
6628
|
value: l.value,
|
|
6629
6629
|
"onUpdate:value": L[0] || (L[0] = (g) => l.value = g),
|
|
6630
6630
|
class: ["w-full", (d = q(c)) == null ? void 0 : d.errClass],
|
|
@@ -6705,7 +6705,7 @@ const rt = new Ki(), gt = (e, t, a) => {
|
|
|
6705
6705
|
}), pt(() => {
|
|
6706
6706
|
o && Vt(o, a);
|
|
6707
6707
|
}), (y, L) => (ie(), he("div", nc, [
|
|
6708
|
-
Qe(q(Or),
|
|
6708
|
+
Qe(q(Or), Ct({
|
|
6709
6709
|
onChange: _,
|
|
6710
6710
|
class: "w-full mb-[-3px]"
|
|
6711
6711
|
}, q(n)), {
|
|
@@ -6807,7 +6807,7 @@ const rt = new Ki(), gt = (e, t, a) => {
|
|
|
6807
6807
|
}), pt(() => {
|
|
6808
6808
|
o && Vt(o, a);
|
|
6809
6809
|
}), (d, g) => (ie(), he("div", rc, [
|
|
6810
|
-
Qe(q(Pr),
|
|
6810
|
+
Qe(q(Pr), Ct({
|
|
6811
6811
|
value: i.value,
|
|
6812
6812
|
"onUpdate:value": g[0] || (g[0] = (N) => i.value = N),
|
|
6813
6813
|
autocheck: !1,
|
|
@@ -6960,13 +6960,13 @@ const rt = new Ki(), gt = (e, t, a) => {
|
|
|
6960
6960
|
}), pt(() => {
|
|
6961
6961
|
c && Vt(c, a);
|
|
6962
6962
|
}), (b, O) => {
|
|
6963
|
-
var E,
|
|
6963
|
+
var E, D, k;
|
|
6964
6964
|
return ie(), he("div", null, [
|
|
6965
|
-
(
|
|
6965
|
+
(D = (E = q(c)) == null ? void 0 : E.url) != null && D.loading ? (ie(), he("div", lc, [
|
|
6966
6966
|
Qe(q(sn), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
|
|
6967
6967
|
Ir("span", null, Xe(q(P)("webui.components.form.upload.dataLoading")), 1)
|
|
6968
6968
|
])) : lt("", !0),
|
|
6969
|
-
Qe(q(Fr),
|
|
6969
|
+
Qe(q(Fr), Ct({
|
|
6970
6970
|
class: [(k = q(o)) == null ? void 0 : k.errClass, "w-full"],
|
|
6971
6971
|
value: I.value,
|
|
6972
6972
|
"onUpdate:value": O[0] || (O[0] = (M) => I.value = M),
|
|
@@ -7065,9 +7065,9 @@ export {
|
|
|
7065
7065
|
Kc as as,
|
|
7066
7066
|
wc as at,
|
|
7067
7067
|
dt as au,
|
|
7068
|
-
|
|
7068
|
+
Cc as b,
|
|
7069
7069
|
jc as c,
|
|
7070
|
-
|
|
7070
|
+
Dc as d,
|
|
7071
7071
|
Fc as e,
|
|
7072
7072
|
Hc as f,
|
|
7073
7073
|
Hi as g,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ue, ref as R, computed as I, watch as $, resolveDirective as de, openBlock as d, createElementBlock as m, normalizeClass as z, unref as n, createElementVNode as w, withDirectives as b, createBlock as V, mergeProps as G, withCtx as v, createVNode as p, createTextVNode as E, toDisplayString as U, createCommentVNode as y, Fragment as pe, renderList as me } from "vue";
|
|
2
|
-
import { _ as H } from "./index-
|
|
3
|
-
import { a as B, _ as K } from "./toolIcon-
|
|
2
|
+
import { _ as H } from "./index-C1HOIrmy.js";
|
|
3
|
+
import { a as B, _ as K } from "./toolIcon-BQUcQlwr.js";
|
|
4
4
|
import { httpPost as N, ResStatus as j } from "@skyfox2000/fapi";
|
|
5
|
-
import { L as X, u as Y, $ as a, v as fe, _ as he } from "./upload-template-
|
|
5
|
+
import { L as X, u as Y, $ as a, v as fe, _ as he } from "./upload-template-BjZLQ1jo.js";
|
|
6
6
|
import F from "vue-m-message";
|
|
7
7
|
import { Upload as J, Tag as we, Popconfirm as ve, Progress as xe } from "ant-design-vue";
|
|
8
|
-
import { U as r, f as be, p as W } from "./file-upload-
|
|
8
|
+
import { U as r, f as be, p as W } from "./file-upload-PgJYbXFi.js";
|
|
9
9
|
import { combineParams as Z } from "@skyfox2000/microbase";
|
|
10
10
|
import "async-validator";
|
|
11
11
|
import "dayjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as V, defineAsyncComponent as J, ref as m, watch as K, onMounted as W, openBlock as p, createElementBlock as x, Fragment as z, createElementVNode as f, toDisplayString as $, unref as l, createVNode as N, createBlock as A, withKeys as v, withModifiers as w, normalizeClass as O, withCtx as L, createCommentVNode as q } from "vue";
|
|
2
2
|
import "ant-design-vue";
|
|
3
|
-
import { _ as D } from "../../assets/modules/toolIcon-
|
|
3
|
+
import { _ as D } from "../../assets/modules/toolIcon-BQUcQlwr.js";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
|
-
import { $ as b } from "../../assets/modules/upload-template-
|
|
5
|
+
import { $ as b } from "../../assets/modules/upload-template-BjZLQ1jo.js";
|
|
6
6
|
import "vue-m-message";
|
|
7
|
-
import { _ as Q } from "../../assets/modules/index-
|
|
7
|
+
import { _ as Q } from "../../assets/modules/index-Uwk0G5-g.js";
|
|
8
8
|
import "@skyfox2000/microbase";
|
|
9
9
|
import "async-validator";
|
|
10
10
|
import "dayjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as f, ref as d, watch as _, onMounted as v, resolveComponent as h, openBlock as o, createBlock as t, withCtx as s, createElementVNode as C, normalizeClass as x, createVNode as w, KeepAlive as y, unref as n, resolveDynamicComponent as I } from "vue";
|
|
2
|
-
import { _ as g } from "../../assets/modules/baseLayout-
|
|
3
|
-
import { am as A, a as S } from "../../assets/modules/upload-template-
|
|
2
|
+
import { _ as g } from "../../assets/modules/baseLayout-BMmKe6uG.js";
|
|
3
|
+
import { am as A, a as S } from "../../assets/modules/upload-template-BjZLQ1jo.js";
|
|
4
4
|
import "@skyfox2000/microbase";
|
|
5
5
|
import "@skyfox2000/fapi";
|
|
6
6
|
import b from "vue-m-message";
|
package/lib/es/Error403/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, openBlock as n, createBlock as p, unref as r, withCtx as e, createVNode as m, createTextVNode as c, toDisplayString as a } from "vue";
|
|
2
|
-
import { r as s } from "../../assets/modules/upload-template-
|
|
2
|
+
import { r as s } from "../../assets/modules/upload-template-BjZLQ1jo.js";
|
|
3
3
|
import "@skyfox2000/microbase";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
5
|
import "vue-m-message";
|
package/lib/es/Error404/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, openBlock as n, createBlock as p, unref as e, withCtx as r, createVNode as m, createTextVNode as a, toDisplayString as c } from "vue";
|
|
2
|
-
import { r as u } from "../../assets/modules/upload-template-
|
|
2
|
+
import { r as u } from "../../assets/modules/upload-template-BjZLQ1jo.js";
|
|
3
3
|
import "@skyfox2000/microbase";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
5
|
import "vue-m-message";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as be, ref as p, computed as S, watch as Q, onMounted as he, openBlock as f, createBlock as H, unref as r, withCtx as D, renderSlot as W, createElementBlock as g, createVNode as _, createTextVNode as Y, toDisplayString as E, createCommentVNode as B, createElementVNode as b, normalizeClass as Fe, Fragment as ie, renderList as ne } from "vue";
|
|
2
|
-
import { _ as J } from "../../assets/modules/index-
|
|
2
|
+
import { _ as J } from "../../assets/modules/index-C1HOIrmy.js";
|
|
3
3
|
import { Modal as Ce, Upload as ce, Space as Ue } from "ant-design-vue";
|
|
4
4
|
import { httpGet as _e, ResStatus as de } from "@skyfox2000/fapi";
|
|
5
|
-
import { $ as a, G as Ee, Y as Re, R as Te } from "../../assets/modules/upload-template-
|
|
5
|
+
import { $ as a, G as Ee, Y as Re, R as Te } from "../../assets/modules/upload-template-BjZLQ1jo.js";
|
|
6
6
|
import m from "vue-m-message";
|
|
7
|
-
import { c as pe, _ as Z, a as Se, p as De, i as ke } from "../../assets/modules/index-
|
|
8
|
-
import { A as Pe, p as Le, U as ue } from "../../assets/modules/file-upload-
|
|
7
|
+
import { c as pe, _ as Z, a as Se, p as De, i as ke } from "../../assets/modules/index-49mg7oK1.js";
|
|
8
|
+
import { A as Pe, p as Le, U as ue } from "../../assets/modules/file-upload-PgJYbXFi.js";
|
|
9
9
|
import "@skyfox2000/microbase";
|
|
10
10
|
import "dayjs";
|
|
11
11
|
import "vue-draggable-next";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as f, ref as d, watch as _, onMounted as v, resolveComponent as h, openBlock as o, createBlock as t, withCtx as s, createElementVNode as C, normalizeClass as x, createVNode as w, KeepAlive as I, unref as n, resolveDynamicComponent as g } from "vue";
|
|
2
|
-
import { _ as y } from "../../assets/modules/baseLayout-
|
|
3
|
-
import { am as A, a as S } from "../../assets/modules/upload-template-
|
|
2
|
+
import { _ as y } from "../../assets/modules/baseLayout-BMmKe6uG.js";
|
|
3
|
+
import { am as A, a as S } from "../../assets/modules/upload-template-BjZLQ1jo.js";
|
|
4
4
|
import "@skyfox2000/microbase";
|
|
5
5
|
import "@skyfox2000/fapi";
|
|
6
6
|
import k from "vue-m-message";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as T, ref as l, watch as x, onMounted as F, openBlock as C, createBlock as q, unref as u, withCtx as d, createVNode as f, createTextVNode as L, toDisplayString as b } from "vue";
|
|
2
|
-
import { _ as g } from "../../assets/modules/index-
|
|
2
|
+
import { _ as g } from "../../assets/modules/index-C1HOIrmy.js";
|
|
3
3
|
import { Modal as D, Space as z } from "ant-design-vue";
|
|
4
4
|
import { httpPost as N, ResStatus as O } from "@skyfox2000/fapi";
|
|
5
|
-
import { al as n, $ as w } from "../../assets/modules/upload-template-
|
|
5
|
+
import { al as n, $ as w } from "../../assets/modules/upload-template-BjZLQ1jo.js";
|
|
6
6
|
import "vue-m-message";
|
|
7
|
-
import { U as M } from "../../assets/modules/file-upload-
|
|
7
|
+
import { U as M } from "../../assets/modules/file-upload-PgJYbXFi.js";
|
|
8
8
|
import "@skyfox2000/microbase";
|
|
9
9
|
import "async-validator";
|
|
10
10
|
import "dayjs";
|
|
11
11
|
import "vue-draggable-next";
|
|
12
|
-
import { U as $ } from "../../assets/modules/uploadList-
|
|
12
|
+
import { U as $ } from "../../assets/modules/uploadList-XdFuQYpu.js";
|
|
13
13
|
const H = /* @__PURE__ */ T({
|
|
14
14
|
__name: "templateFile",
|
|
15
15
|
props: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as F, ref as s, watch as y, onMounted as z, openBlock as D, createBlock as _, unref as u, withCtx as p, createVNode as m, mergeProps as L, createTextVNode as w, toDisplayString as C } from "vue";
|
|
2
|
-
import { _ as g } from "../../assets/modules/index-
|
|
2
|
+
import { _ as g } from "../../assets/modules/index-C1HOIrmy.js";
|
|
3
3
|
import { Modal as k, Space as N } from "ant-design-vue";
|
|
4
4
|
import { ResStatus as T } from "@skyfox2000/fapi";
|
|
5
|
-
import { $ as v, a1 as $ } from "../../assets/modules/upload-template-
|
|
5
|
+
import { $ as v, a1 as $ } from "../../assets/modules/upload-template-BjZLQ1jo.js";
|
|
6
6
|
import A from "vue-m-message";
|
|
7
7
|
import "@skyfox2000/microbase";
|
|
8
8
|
import "async-validator";
|
|
9
9
|
import "dayjs";
|
|
10
|
-
import { A as E } from "../../assets/modules/file-upload-
|
|
10
|
+
import { A as E } from "../../assets/modules/file-upload-PgJYbXFi.js";
|
|
11
11
|
import "vue-draggable-next";
|
|
12
|
-
import { U as B } from "../../assets/modules/uploadList-
|
|
12
|
+
import { U as B } from "../../assets/modules/uploadList-XdFuQYpu.js";
|
|
13
13
|
const W = /* @__PURE__ */ F({
|
|
14
14
|
__name: "uploadForm",
|
|
15
15
|
props: {
|
package/lib/webui.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as Be, i as fe, a as Ae, $ as g, L as St, c as Tt, P as oe, o as qe, b as $t, d as Dt, e as Qe, g as Je, r as pe, f as Xe, h as Ze, j as et, k as Ft, l as he, m as tt, _ as at, n as lt, O as ze, p as Pt, q as rt, s as Et, t as It, v as te, w as Lt, x as Ut, y as Mt, z as Nt, A as Rt, B as Bt, C as se, D as At, E as zt, F as Ot, G as ot, M as Kt } from "./assets/modules/upload-template-
|
|
2
|
-
import { H as Kr, I as jr, J as Vr, K as Yr, N as Gr, Q as Wr, R as Hr, S as qr, T as Qr, U as Jr, V as Xr, W as Zr, X as eo, Y as to, Z as ao, a0 as lo, a1 as ro, a2 as oo, a3 as so, a4 as no, a5 as io, a6 as co, a7 as uo, a8 as po, a9 as fo, aa as vo, ab as mo, ac as go, ad as ho, ae as bo, af as xo, ag as yo, ah as wo, ai as ko, aj as _o, ak as Co, al as So, am as To, an as $o, ao as Do, ap as Fo, aq as Po, ar as Eo, as as Io, at as Lo } from "./assets/modules/upload-template-
|
|
3
|
-
import { f as jt, p as Ve } from "./assets/modules/file-upload-
|
|
4
|
-
import { A as Mo, U as No } from "./assets/modules/file-upload-
|
|
1
|
+
import { u as Be, i as fe, a as Ae, $ as g, L as St, c as Tt, P as oe, o as qe, b as $t, d as Dt, e as Qe, g as Je, r as pe, f as Xe, h as Ze, j as et, k as Ft, l as he, m as tt, _ as at, n as lt, O as ze, p as Pt, q as rt, s as Et, t as It, v as te, w as Lt, x as Ut, y as Mt, z as Nt, A as Rt, B as Bt, C as se, D as At, E as zt, F as Ot, G as ot, M as Kt } from "./assets/modules/upload-template-BjZLQ1jo.js";
|
|
2
|
+
import { H as Kr, I as jr, J as Vr, K as Yr, N as Gr, Q as Wr, R as Hr, S as qr, T as Qr, U as Jr, V as Xr, W as Zr, X as eo, Y as to, Z as ao, a0 as lo, a1 as ro, a2 as oo, a3 as so, a4 as no, a5 as io, a6 as co, a7 as uo, a8 as po, a9 as fo, aa as vo, ab as mo, ac as go, ad as ho, ae as bo, af as xo, ag as yo, ah as wo, ai as ko, aj as _o, ak as Co, al as So, am as To, an as $o, ao as Do, ap as Fo, aq as Po, ar as Eo, as as Io, at as Lo } from "./assets/modules/upload-template-BjZLQ1jo.js";
|
|
3
|
+
import { f as jt, p as Ve } from "./assets/modules/file-upload-PgJYbXFi.js";
|
|
4
|
+
import { A as Mo, U as No } from "./assets/modules/file-upload-PgJYbXFi.js";
|
|
5
5
|
import { EnvConfig as Ee, isMicroApp as Vt } from "@skyfox2000/microbase";
|
|
6
6
|
import { FrontCache as ge, httpPost as Oe, ResStatus as Ke, SERVER_HOST as Yt, fieldMapping as be } from "@skyfox2000/fapi";
|
|
7
7
|
import ae from "vue-m-message";
|
|
@@ -10,15 +10,15 @@ import "async-validator";
|
|
|
10
10
|
import Ne from "dayjs";
|
|
11
11
|
import { Popover as qt, theme as it, Drawer as Qt, Space as de, Form as ct, message as Jt, FormItem as ut, ConfigProvider as ye, Popconfirm as dt, DropdownButton as pt, Menu as Se, MenuItem as Te, Dropdown as Re, Checkbox as Xt, List as Zt, ListItem as ea, Card as ta, Button as ft, Table as vt, Tree as aa, Cascader as la, DatePicker as ra, Input as ve, InputPassword as oa, InputNumber as sa, RangePicker as na, Textarea as ia, TimePicker as ca, Transfer as ua, TreeSelect as da, Upload as pa, Image as fa, LayoutContent as va } from "ant-design-vue";
|
|
12
12
|
import { VueDraggableNext as ma } from "vue-draggable-next";
|
|
13
|
-
import { d as ga } from "./assets/modules/uploadList-
|
|
14
|
-
import { C as Bo, U as Ao, a as zo, p as Oo } from "./assets/modules/uploadList-
|
|
15
|
-
import { c as mt } from "./assets/modules/index-
|
|
16
|
-
import { _ as jo, a as Vo, b as Yo, d as Go, e as Wo, f as Ho, g as qo, h as Qo, n as Jo, p as Xo, t as Zo, v as es } from "./assets/modules/index-
|
|
17
|
-
import { _ as ee } from "./assets/modules/index-
|
|
18
|
-
import { _ as G } from "./assets/modules/toolIcon-
|
|
19
|
-
import { a as as } from "./assets/modules/toolIcon-
|
|
20
|
-
import { _ as rs, a as os, b as ss, c as ns, d as is, I as cs, e as us, f as ds, g as ps } from "./assets/modules/menuTabs-
|
|
21
|
-
import { _ as vs } from "./assets/modules/index-
|
|
13
|
+
import { d as ga } from "./assets/modules/uploadList-XdFuQYpu.js";
|
|
14
|
+
import { C as Bo, U as Ao, a as zo, p as Oo } from "./assets/modules/uploadList-XdFuQYpu.js";
|
|
15
|
+
import { c as mt } from "./assets/modules/index-49mg7oK1.js";
|
|
16
|
+
import { _ as jo, a as Vo, b as Yo, d as Go, e as Wo, f as Ho, g as qo, h as Qo, n as Jo, p as Xo, t as Zo, v as es } from "./assets/modules/index-49mg7oK1.js";
|
|
17
|
+
import { _ as ee } from "./assets/modules/index-C1HOIrmy.js";
|
|
18
|
+
import { _ as G } from "./assets/modules/toolIcon-BQUcQlwr.js";
|
|
19
|
+
import { a as as } from "./assets/modules/toolIcon-BQUcQlwr.js";
|
|
20
|
+
import { _ as rs, a as os, b as ss, c as ns, d as is, I as cs, e as us, f as ds, g as ps } from "./assets/modules/menuTabs-CFfCV8nu.js";
|
|
21
|
+
import { _ as vs } from "./assets/modules/index-Uwk0G5-g.js";
|
|
22
22
|
import { _ as ce } from "./assets/modules/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
23
23
|
const Ge = (r, a, e, t = "remove") => {
|
|
24
24
|
if (!e)
|
package/package.json
CHANGED
|
@@ -61,12 +61,12 @@ const isEn = computed(() => getLang() === 'en-US' || getLang() === 'en');
|
|
|
61
61
|
|
|
62
62
|
const checkedLabel = computed(() => {
|
|
63
63
|
const label = switchOptions.value[0]?.label || '';
|
|
64
|
-
return isEn.value ? label.slice(0, 2) : label;
|
|
64
|
+
return (isEn.value && label.toLowerCase() === 'enable') ? label.slice(0, 2) : label;
|
|
65
65
|
});
|
|
66
66
|
|
|
67
67
|
const uncheckedLabel = computed(() => {
|
|
68
68
|
const label = switchOptions.value[1]?.label || '';
|
|
69
|
-
return isEn.value ? label.slice(0, 3) : label;
|
|
69
|
+
return (isEn.value && label.toLowerCase() === 'disable') ? label.slice(0, 3) : label;
|
|
70
70
|
});
|
|
71
71
|
|
|
72
72
|
const onChange = (checked: boolean | string | number) => {
|