exploria-ui 2026.8.28 → 2026.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/data/ECarousel/ECarousel.vue.d.ts +2 -2
- package/dist/components/data/EMediaViewer/EMediaViewer.d.ts +6 -1
- package/dist/components/feedback/EDialog/EDialog.vue.d.ts +17 -5
- package/dist/components/feedback/EDrawer/EDrawer.vue.d.ts +5 -0
- package/dist/components/feedback/EMessage/EMessage.d.ts +20 -7
- package/dist/components/feedback/EMessageBox/EMessageBox.d.ts +48 -15
- package/dist/components/feedback/EMessageBox/EMessageBox.vue.d.ts +10 -1
- package/dist/components/feedback/ENotification/ENotification.d.ts +5 -3
- package/dist/components/feedback/EPopover.vue.d.ts +5 -0
- package/dist/components/hooks/useContainer.d.ts +104 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +58 -54
- package/dist/components/navigation/ETabs/ETabs.vue.d.ts +4 -0
- package/dist/index.css +1 -1
- package/dist/node_modules/.pnpm/{@intlify_core-base@11.4.9 → @intlify_core-base@11.4.10}/node_modules/@intlify/core-base/dist/core-base.js +226 -226
- package/dist/node_modules/.pnpm/{@intlify_message-compiler@11.4.9 → @intlify_message-compiler@11.4.10}/node_modules/@intlify/message-compiler/dist/message-compiler.js +2 -2
- package/dist/node_modules/.pnpm/{@intlify_shared@11.4.9 → @intlify_shared@11.4.10}/node_modules/@intlify/shared/dist/shared.js +38 -34
- package/dist/node_modules/.pnpm/{vue-i18n@11.4.9_vue@3.5.41_typescript@5.9.3_ → vue-i18n@11.4.10_vue@3.5.41_typescript@5.9.3_}/node_modules/vue-i18n/dist/vue-i18n.js +137 -137
- package/dist/package.json.js +86 -0
- package/dist/src/components/data/EMediaViewer/EMediaViewer.js +36 -33
- package/dist/src/components/data/EMediaViewer/EMediaViewer.vue.js +1 -1
- package/dist/src/components/data/EMediaViewer/EMediaViewer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/data/ESteps/EStepItem.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/feedback/EDialog/EDialog.vue.js +1 -1
- package/dist/src/components/feedback/EDialog/EDialog.vue_vue_type_script_setup_true_lang.js +89 -61
- package/dist/src/components/feedback/EDrawer/EDrawer.vue.js +1 -1
- package/dist/src/components/feedback/EDrawer/EDrawer.vue_vue_type_script_setup_true_lang.js +77 -49
- package/dist/src/components/feedback/EMessage/EMessage.js +76 -64
- package/dist/src/components/feedback/EMessageBox/EMessageBox.js +54 -35
- package/dist/src/components/feedback/EMessageBox/EMessageBox.vue.js +1 -1
- package/dist/src/components/feedback/EMessageBox/EMessageBox.vue_vue_type_script_setup_true_lang.js +34 -29
- package/dist/src/components/feedback/ENotification/ENotification.js +80 -82
- package/dist/src/components/feedback/EPopover.vue.js +1 -1
- package/dist/src/components/feedback/EPopover.vue_vue_type_script_setup_true_lang.js +56 -47
- package/dist/src/components/form/EConditionGroup/EConditionGroup.vue.js +1 -1
- package/dist/src/components/form/EConditionGroup/EConditionGroup.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/src/components/form/EForm/EFormItem.vue.js +1 -1
- package/dist/src/components/form/ESelect/ESelect.vue.js +1 -1
- package/dist/src/components/form/ESlider.vue.js +1 -1
- package/dist/src/components/form/ETimePicker.vue.js +1 -1
- package/dist/src/components/hooks/useContainer.js +129 -0
- package/dist/src/components/layout/EScrollbar.vue.js +1 -1
- package/dist/src/components/layout/EScrollbar.vue_vue_type_script_setup_true_lang.js +30 -19
- package/dist/src/components/navigation/ETabs/ETabPane.vue.js +1 -1
- package/dist/src/components/navigation/ETabs/ETabPane.vue_vue_type_script_setup_true_lang.js +8 -7
- package/dist/src/components/navigation/ETabs/ETabs.vue.js +1 -1
- package/dist/src/components/navigation/ETabs/ETabs.vue_vue_type_script_setup_true_lang.js +64 -58
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { assign as e, create as t, createEmitter as n, deepCopy as r, format as i, getGlobalThis as a, hasOwn as o, inBrowser as s, isArray as c, isBoolean as l, isEmptyObject as u, isFunction as d, isNumber as f, isObject as p, isPlainObject as m, isRegExp as ee, isString as h, makeSymbol as g, warn as _ } from "../../../../@intlify_shared@11.4.
|
|
2
|
-
import { createCompileError as v } from "../../../../@intlify_message-compiler@11.4.
|
|
3
|
-
import { AST_NODE_PROPS_KEYS as y, DEFAULT_LOCALE as
|
|
4
|
-
import { Text as k, computed as A, createVNode as j, getCurrentInstance as M, getCurrentScope as N, inject as P, onMounted as F, onScopeDispose as I, onUnmounted as L, ref as
|
|
5
|
-
//#region node_modules/.pnpm/vue-i18n@11.4.
|
|
6
|
-
var
|
|
1
|
+
import { assign as e, create as t, createEmitter as n, deepCopy as r, format as i, getGlobalThis as a, hasOwn as o, inBrowser as s, isArray as c, isBoolean as l, isEmptyObject as u, isFunction as d, isNumber as f, isObject as p, isPlainObject as m, isRegExp as ee, isString as h, makeSymbol as g, toDevtoolsGroupId as te, warn as _ } from "../../../../@intlify_shared@11.4.10/node_modules/@intlify/shared/dist/shared.js";
|
|
2
|
+
import { createCompileError as v } from "../../../../@intlify_message-compiler@11.4.10/node_modules/@intlify/message-compiler/dist/message-compiler.js";
|
|
3
|
+
import { AST_NODE_PROPS_KEYS as y, DEFAULT_LOCALE as ne, clearDateTimeFormat as re, clearNumberFormat as ie, compile as b, createCoreContext as ae, datetime as oe, fallbackWithLocaleChain as x, getFallbackContext as se, isMessageAST as S, isMessageFunction as ce, isTranslateFallbackWarn as le, isTranslateMissingWarn as ue, number as de, parseDateTimeArgs as fe, parseNumberArgs as pe, parseTranslateArgs as me, registerLocaleFallbacker as C, registerMessageCompiler as w, registerMessageResolver as T, resolveValue as E, setAdditionalMeta as he, setDevToolsHook as D, setFallbackContext as ge, translate as _e, updateFallbackLocale as O } from "../../../../@intlify_core-base@11.4.10/node_modules/@intlify/core-base/dist/core-base.js";
|
|
4
|
+
import { Text as k, computed as A, createVNode as j, getCurrentInstance as M, getCurrentScope as N, inject as P, onMounted as F, onScopeDispose as I, onUnmounted as L, ref as ve, shallowRef as ye, watch as be } from "vue";
|
|
5
|
+
//#region node_modules/.pnpm/vue-i18n@11.4.10_vue@3.5.41_typescript@5.9.3_/node_modules/vue-i18n/dist/vue-i18n.mjs
|
|
6
|
+
var xe = "11.4.10";
|
|
7
7
|
function R() {
|
|
8
8
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (a().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (a().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (a().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (a().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
9
9
|
}
|
|
@@ -38,16 +38,16 @@ var V = {
|
|
|
38
38
|
[z.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
|
|
39
39
|
[z.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
40
40
|
[z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
41
|
-
},
|
|
41
|
+
}, Se = g("__translateVNode"), Ce = g("__datetimeParts"), we = g("__numberParts"), H = g("__enableEmitter"), U = g("__disableEmitter"), Te = g("__setPluralRules");
|
|
42
42
|
g("__intlifyMeta");
|
|
43
|
-
var
|
|
43
|
+
var Ee = g("__injectWithOption"), W = g("__dispose"), G = {
|
|
44
44
|
FALLBACK_TO_ROOT: 10,
|
|
45
45
|
NOT_FOUND_PARENT_SCOPE: 11,
|
|
46
46
|
IGNORE_OBJ_FLATTEN: 12,
|
|
47
47
|
DEPRECATE_LEGACY_MODE: 13,
|
|
48
48
|
DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 14,
|
|
49
49
|
DUPLICATE_USE_I18N_CALLING: 15
|
|
50
|
-
},
|
|
50
|
+
}, De = {
|
|
51
51
|
[G.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
|
|
52
52
|
[G.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
|
|
53
53
|
[G.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
|
|
@@ -56,19 +56,19 @@ var Te = g("__injectWithOption"), W = g("__dispose"), G = {
|
|
|
56
56
|
[G.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
|
|
57
57
|
};
|
|
58
58
|
function K(e, ...t) {
|
|
59
|
-
return i(
|
|
59
|
+
return i(De[e], ...t);
|
|
60
60
|
}
|
|
61
|
-
var
|
|
61
|
+
var Oe = null;
|
|
62
62
|
{
|
|
63
63
|
let e = a().__VUE_INSTANCE_SETTERS__;
|
|
64
64
|
c(e) && e.push((e) => {
|
|
65
|
-
|
|
65
|
+
Oe = e;
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function q(e) {
|
|
69
69
|
if (!p(e) || S(e)) return e;
|
|
70
70
|
for (let n in e) if (o(e, n)) {
|
|
71
|
-
if (!n.includes(".")) p(e[n]) &&
|
|
71
|
+
if (!n.includes(".")) p(e[n]) && q(e[n]);
|
|
72
72
|
else {
|
|
73
73
|
let r = n.split("."), i = r.length - 1, a = e, o = !1;
|
|
74
74
|
for (let e = 0; e < i; e++) {
|
|
@@ -81,28 +81,28 @@ function J(e) {
|
|
|
81
81
|
}
|
|
82
82
|
if (o || (S(a) ? y.includes(r[i]) || delete e[n] : (a[r[i]] = e[n], delete e[n])), !S(a)) {
|
|
83
83
|
let e = a[r[i]];
|
|
84
|
-
p(e) &&
|
|
84
|
+
p(e) && q(e);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
return e;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function ke(e, n) {
|
|
91
91
|
let { messages: i, __i18n: a, messageResolver: s, flatJson: l } = n, u = m(i) ? i : c(a) ? t() : { [e]: t() };
|
|
92
92
|
if (c(a) && a.forEach((e) => {
|
|
93
93
|
if ("locale" in e && "resource" in e) {
|
|
94
94
|
let { locale: n, resource: i } = e;
|
|
95
95
|
n ? (u[n] = u[n] || t(), r(i, u[n])) : r(i, u);
|
|
96
96
|
} else h(e) && r(JSON.parse(e), u);
|
|
97
|
-
}), s == null && l) for (let e in u) o(u, e) &&
|
|
97
|
+
}), s == null && l) for (let e in u) o(u, e) && q(u[e]);
|
|
98
98
|
return u;
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Ae(e) {
|
|
101
101
|
return e.type;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function je(e, n, r) {
|
|
104
104
|
let i = p(n.messages) ? n.messages : t();
|
|
105
|
-
"__i18nGlobal" in r && (i =
|
|
105
|
+
"__i18nGlobal" in r && (i = ke(e.locale.value, {
|
|
106
106
|
messages: i,
|
|
107
107
|
__i18n: r.__i18nGlobal
|
|
108
108
|
}));
|
|
@@ -122,26 +122,26 @@ function ke(e, n, r) {
|
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function Me(e) {
|
|
126
126
|
return j(k, null, e, 0);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
return
|
|
128
|
+
function J() {
|
|
129
|
+
return Oe ?? M();
|
|
130
130
|
}
|
|
131
|
-
var
|
|
132
|
-
function
|
|
133
|
-
return ((t, n, r, i) => e(n, r,
|
|
131
|
+
var Ne = "__INTLIFY_META__", Pe = () => [], Fe = () => !1, Ie = 0;
|
|
132
|
+
function Le(e) {
|
|
133
|
+
return ((t, n, r, i) => e(n, r, J() || void 0, i));
|
|
134
134
|
}
|
|
135
|
-
var
|
|
136
|
-
let e =
|
|
137
|
-
return e && (t =
|
|
135
|
+
var Re = () => {
|
|
136
|
+
let e = J(), t = null;
|
|
137
|
+
return e && (t = Ae(e)[Ne]) ? { [Ne]: t } : null;
|
|
138
138
|
};
|
|
139
|
-
function
|
|
140
|
-
let { __root: n, __injectWithOption: i } = t, a = n === void 0, u = t.flatJson, g = s ?
|
|
139
|
+
function ze(t = {}) {
|
|
140
|
+
let { __root: n, __injectWithOption: i } = t, a = n === void 0, u = t.flatJson, g = s ? ve : ye, v = !l(t.inheritLocale) || t.inheritLocale, y = g(n && v ? n.locale.value : h(t.locale) ? t.locale : ne), b = g(n && v ? n.fallbackLocale.value : h(t.fallbackLocale) || c(t.fallbackLocale) || m(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : y.value), C = g(ke(y.value, t)), w = g(m(t.datetimeFormats) ? t.datetimeFormats : { [y.value]: {} }), T = g(m(t.numberFormats) ? t.numberFormats : { [y.value]: {} }), E = n ? n.missingWarn : l(t.missingWarn) || ee(t.missingWarn) ? t.missingWarn : !0, D = n ? n.fallbackWarn : l(t.fallbackWarn) || ee(t.fallbackWarn) ? t.fallbackWarn : !0, k = n ? n.fallbackRoot : !l(t.fallbackRoot) || t.fallbackRoot, j = !!t.fallbackFormat, M = d(t.missing) ? t.missing : null, N = d(t.missing) ? Le(t.missing) : null, P = d(t.postTranslation) ? t.postTranslation : null, F = n ? n.warnHtmlMessage : !l(t.warnHtmlMessage) || t.warnHtmlMessage, I = !!t.escapeParameter, L = n ? n.modifiers : m(t.modifiers) ? t.modifiers : {}, R = t.pluralRules || n && n.pluralRules, V;
|
|
141
141
|
V = (() => {
|
|
142
|
-
a &&
|
|
142
|
+
a && ge(null);
|
|
143
143
|
let e = {
|
|
144
|
-
version:
|
|
144
|
+
version: xe,
|
|
145
145
|
locale: y.value,
|
|
146
146
|
fallbackLocale: b.value,
|
|
147
147
|
messages: C.value,
|
|
@@ -160,8 +160,8 @@ function Le(t = {}) {
|
|
|
160
160
|
__meta: { framework: "vue" }
|
|
161
161
|
};
|
|
162
162
|
e.datetimeFormats = w.value, e.numberFormats = T.value, e.__datetimeFormatters = m(V) ? V.__datetimeFormatters : void 0, e.__numberFormatters = m(V) ? V.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (e.__v_emitter = m(V) ? V.__v_emitter : void 0);
|
|
163
|
-
let n =
|
|
164
|
-
return a &&
|
|
163
|
+
let n = ae(e);
|
|
164
|
+
return a && ge(n), n;
|
|
165
165
|
})(), O(V, y.value, b.value);
|
|
166
166
|
function W() {
|
|
167
167
|
return [
|
|
@@ -172,43 +172,43 @@ function Le(t = {}) {
|
|
|
172
172
|
T.value
|
|
173
173
|
];
|
|
174
174
|
}
|
|
175
|
-
let
|
|
175
|
+
let De = A({
|
|
176
176
|
get: () => y.value,
|
|
177
177
|
set: (e) => {
|
|
178
178
|
V.locale = e, y.value = e;
|
|
179
179
|
}
|
|
180
|
-
}),
|
|
180
|
+
}), Oe = A({
|
|
181
181
|
get: () => b.value,
|
|
182
182
|
set: (e) => {
|
|
183
183
|
V.fallbackLocale = e, b.value = e, O(V, y.value, e);
|
|
184
184
|
}
|
|
185
|
-
}),
|
|
186
|
-
function
|
|
185
|
+
}), Ae = A(() => C.value), je = A(() => w.value), J = A(() => T.value);
|
|
186
|
+
function Ne() {
|
|
187
187
|
return d(P) ? P : null;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function ze(e) {
|
|
190
190
|
P = e, V.postTranslation = e;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Y() {
|
|
193
193
|
return M;
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
e !== null && (N =
|
|
195
|
+
function X(e) {
|
|
196
|
+
e !== null && (N = Le(e)), M = e, V.missing = N;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Be(e, t) {
|
|
199
199
|
return e !== "translate" || !t.resolvedMessage;
|
|
200
200
|
}
|
|
201
|
-
let
|
|
201
|
+
let Z = (e, t, r, i, o, s) => {
|
|
202
202
|
W();
|
|
203
203
|
let c;
|
|
204
204
|
try {
|
|
205
|
-
(process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) &&
|
|
205
|
+
(process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && he(Re()), a || (V.fallbackContext = n ? se() : void 0), c = e(V);
|
|
206
206
|
} finally {
|
|
207
|
-
(process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) &&
|
|
207
|
+
(process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && he(null), a || (V.fallbackContext = void 0);
|
|
208
208
|
}
|
|
209
209
|
if (r !== "translate exists" && f(c) && c === -1 || r === "translate exists" && !c) {
|
|
210
210
|
let [e, a] = t();
|
|
211
|
-
if (process.env.NODE_ENV !== "production" && n && h(e) &&
|
|
211
|
+
if (process.env.NODE_ENV !== "production" && n && h(e) && Be(r, a) && (k && (le(D, e) || ue(E, e)) && _(K(G.FALLBACK_TO_ROOT, {
|
|
212
212
|
key: e,
|
|
213
213
|
type: r
|
|
214
214
|
})), process.env.NODE_ENV !== "production")) {
|
|
@@ -217,7 +217,7 @@ function Le(t = {}) {
|
|
|
217
217
|
type: r,
|
|
218
218
|
key: e,
|
|
219
219
|
to: "global",
|
|
220
|
-
groupId:
|
|
220
|
+
groupId: te(r, e)
|
|
221
221
|
});
|
|
222
222
|
}
|
|
223
223
|
return n && k ? i(n) : o(e);
|
|
@@ -225,60 +225,60 @@ function Le(t = {}) {
|
|
|
225
225
|
if (s(c)) return c;
|
|
226
226
|
throw B(z.UNEXPECTED_RETURN_TYPE);
|
|
227
227
|
};
|
|
228
|
-
function
|
|
229
|
-
return
|
|
228
|
+
function Ve(...e) {
|
|
229
|
+
return Z((t) => Reflect.apply(_e, null, [t, ...e]), () => me(...e), "translate", (t) => Reflect.apply(t.t, t, [...e]), (e) => e, (e) => h(e));
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function He(...t) {
|
|
232
232
|
let [n, r, i] = t;
|
|
233
233
|
if (i && !p(i)) throw B(z.INVALID_ARGUMENT);
|
|
234
|
-
return
|
|
234
|
+
return Ve(n, r, e({ resolvedMessage: !0 }, i || {}));
|
|
235
235
|
}
|
|
236
|
-
function
|
|
237
|
-
return
|
|
236
|
+
function Ue(...e) {
|
|
237
|
+
return Z((t) => Reflect.apply(oe, null, [t, ...e]), () => fe(...e), "datetime format", (t) => Reflect.apply(t.d, t, [...e]), () => "", (e) => h(e) || c(e));
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
return
|
|
239
|
+
function Q(...e) {
|
|
240
|
+
return Z((t) => Reflect.apply(de, null, [t, ...e]), () => pe(...e), "number format", (t) => Reflect.apply(t.n, t, [...e]), () => "", (e) => h(e) || c(e));
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
return e.map((e) => h(e) || f(e) || l(e) ?
|
|
242
|
+
function We(e) {
|
|
243
|
+
return e.map((e) => h(e) || f(e) || l(e) ? Me(String(e)) : e);
|
|
244
244
|
}
|
|
245
|
-
let
|
|
246
|
-
normalize:
|
|
245
|
+
let Ge = {
|
|
246
|
+
normalize: We,
|
|
247
247
|
interpolate: (e) => e,
|
|
248
248
|
type: "vnode"
|
|
249
249
|
};
|
|
250
|
-
function
|
|
251
|
-
return
|
|
250
|
+
function Ke(...e) {
|
|
251
|
+
return Z((t) => {
|
|
252
252
|
let n, r = t;
|
|
253
253
|
try {
|
|
254
|
-
r.processor =
|
|
254
|
+
r.processor = Ge, n = Reflect.apply(_e, null, [r, ...e]);
|
|
255
255
|
} finally {
|
|
256
256
|
r.processor = null;
|
|
257
257
|
}
|
|
258
258
|
return n;
|
|
259
|
-
}, () =>
|
|
260
|
-
}
|
|
261
|
-
function Ke(...e) {
|
|
262
|
-
return Q((t) => Reflect.apply(ue, null, [t, ...e]), () => fe(...e), "number format", (t) => t[Ce](...e), Me, (e) => h(e) || c(e));
|
|
259
|
+
}, () => me(...e), "translate", (t) => t[Se](...e), (e) => [Me(e)], (e) => c(e));
|
|
263
260
|
}
|
|
264
261
|
function qe(...e) {
|
|
265
|
-
return
|
|
262
|
+
return Z((t) => Reflect.apply(de, null, [t, ...e]), () => pe(...e), "number format", (t) => t[we](...e), Pe, (e) => h(e) || c(e));
|
|
263
|
+
}
|
|
264
|
+
function Je(...e) {
|
|
265
|
+
return Z((t) => Reflect.apply(oe, null, [t, ...e]), () => fe(...e), "datetime format", (t) => t[Ce](...e), Pe, (e) => h(e) || c(e));
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Ye(e) {
|
|
268
268
|
R = e, V.pluralRules = R;
|
|
269
269
|
}
|
|
270
|
-
function
|
|
271
|
-
return
|
|
270
|
+
function Xe(e, t) {
|
|
271
|
+
return Z(() => {
|
|
272
272
|
if (!e) return !1;
|
|
273
273
|
let n = h(t) ? t : y.value, r = h(t) ? [n] : x(V, b.value, n);
|
|
274
274
|
for (let t = 0; t < r.length; t++) {
|
|
275
|
-
let n =
|
|
276
|
-
if (i === null && (i = n[e]), S(i) ||
|
|
275
|
+
let n = $e(r[t]), i = V.messageResolver(n, e);
|
|
276
|
+
if (i === null && (i = n[e]), S(i) || ce(i) || h(i)) return !0;
|
|
277
277
|
}
|
|
278
278
|
return !1;
|
|
279
|
-
}, () => [e], "translate exists", (n) => Reflect.apply(n.te, n, [e, t]),
|
|
279
|
+
}, () => [e], "translate exists", (n) => Reflect.apply(n.te, n, [e, t]), Fe, (e) => l(e));
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function Ze(e) {
|
|
282
282
|
let t = null, n = x(V, b.value, y.value);
|
|
283
283
|
for (let r = 0; r < n.length; r++) {
|
|
284
284
|
let i = C.value[n[r]] || {}, a = V.messageResolver(i, e);
|
|
@@ -289,53 +289,53 @@ function Le(t = {}) {
|
|
|
289
289
|
}
|
|
290
290
|
return t;
|
|
291
291
|
}
|
|
292
|
-
function Ze(e) {
|
|
293
|
-
return Xe(e) ?? (n && n.tm(e) || {});
|
|
294
|
-
}
|
|
295
292
|
function Qe(e) {
|
|
293
|
+
return Ze(e) ?? (n && n.tm(e) || {});
|
|
294
|
+
}
|
|
295
|
+
function $e(e) {
|
|
296
296
|
return C.value[e] || {};
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function et(e, t) {
|
|
299
299
|
if (u) {
|
|
300
300
|
let n = { [e]: t };
|
|
301
|
-
for (let e in n) o(n, e) &&
|
|
301
|
+
for (let e in n) o(n, e) && q(n[e]);
|
|
302
302
|
t = n[e];
|
|
303
303
|
}
|
|
304
304
|
C.value[e] = t, V.messages = C.value;
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function tt(e, t) {
|
|
307
307
|
C.value[e] = C.value[e] || {};
|
|
308
308
|
let n = { [e]: t };
|
|
309
|
-
if (u) for (let e in n) o(n, e) &&
|
|
309
|
+
if (u) for (let e in n) o(n, e) && q(n[e]);
|
|
310
310
|
t = n[e], r(t, C.value[e]), V.messages = C.value;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function nt(e) {
|
|
313
313
|
return w.value[e] || {};
|
|
314
314
|
}
|
|
315
|
-
function
|
|
316
|
-
w.value[e] = t, V.datetimeFormats = w.value,
|
|
315
|
+
function rt(e, t) {
|
|
316
|
+
w.value[e] = t, V.datetimeFormats = w.value, re(V, e, t);
|
|
317
317
|
}
|
|
318
|
-
function
|
|
319
|
-
w.value[t] = e(w.value[t] || {}, n), V.datetimeFormats = w.value,
|
|
318
|
+
function it(t, n) {
|
|
319
|
+
w.value[t] = e(w.value[t] || {}, n), V.datetimeFormats = w.value, re(V, t, n);
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function at(e) {
|
|
322
322
|
return T.value[e] || {};
|
|
323
323
|
}
|
|
324
|
-
function
|
|
325
|
-
T.value[e] = t, V.numberFormats = T.value,
|
|
324
|
+
function ot(e, t) {
|
|
325
|
+
T.value[e] = t, V.numberFormats = T.value, ie(V, e, t);
|
|
326
326
|
}
|
|
327
|
-
function
|
|
328
|
-
T.value[t] = e(T.value[t] || {}, n), V.numberFormats = T.value,
|
|
327
|
+
function st(t, n) {
|
|
328
|
+
T.value[t] = e(T.value[t] || {}, n), V.numberFormats = T.value, ie(V, t, n);
|
|
329
329
|
}
|
|
330
|
-
|
|
330
|
+
Ie++, n && s && (be(n.locale, (e) => {
|
|
331
331
|
v && (y.value = e, V.locale = e, O(V, y.value, b.value));
|
|
332
|
-
}),
|
|
332
|
+
}), be(n.fallbackLocale, (e) => {
|
|
333
333
|
v && (b.value = e, V.fallbackLocale = e, O(V, y.value, b.value));
|
|
334
334
|
}));
|
|
335
335
|
let $ = {
|
|
336
|
-
id:
|
|
337
|
-
locale:
|
|
338
|
-
fallbackLocale:
|
|
336
|
+
id: Ie,
|
|
337
|
+
locale: De,
|
|
338
|
+
fallbackLocale: Oe,
|
|
339
339
|
get inheritLocale() {
|
|
340
340
|
return v;
|
|
341
341
|
},
|
|
@@ -345,7 +345,7 @@ function Le(t = {}) {
|
|
|
345
345
|
get availableLocales() {
|
|
346
346
|
return Object.keys(C.value).sort();
|
|
347
347
|
},
|
|
348
|
-
messages:
|
|
348
|
+
messages: Ae,
|
|
349
349
|
get modifiers() {
|
|
350
350
|
return L;
|
|
351
351
|
},
|
|
@@ -391,24 +391,24 @@ function Le(t = {}) {
|
|
|
391
391
|
set escapeParameter(e) {
|
|
392
392
|
I = e, V.escapeParameter = e;
|
|
393
393
|
},
|
|
394
|
-
t:
|
|
395
|
-
getLocaleMessage:
|
|
396
|
-
setLocaleMessage:
|
|
397
|
-
mergeLocaleMessage:
|
|
398
|
-
getPostTranslationHandler:
|
|
399
|
-
setPostTranslationHandler:
|
|
400
|
-
getMissingHandler:
|
|
401
|
-
setMissingHandler:
|
|
402
|
-
[
|
|
394
|
+
t: Ve,
|
|
395
|
+
getLocaleMessage: $e,
|
|
396
|
+
setLocaleMessage: et,
|
|
397
|
+
mergeLocaleMessage: tt,
|
|
398
|
+
getPostTranslationHandler: Ne,
|
|
399
|
+
setPostTranslationHandler: ze,
|
|
400
|
+
getMissingHandler: Y,
|
|
401
|
+
setMissingHandler: X,
|
|
402
|
+
[Te]: Ye
|
|
403
403
|
};
|
|
404
|
-
return $.datetimeFormats =
|
|
404
|
+
return $.datetimeFormats = je, $.numberFormats = J, $.rt = He, $.te = Xe, $.tm = Qe, $.d = Ue, $.n = Q, $.getDateTimeFormat = nt, $.setDateTimeFormat = rt, $.mergeDateTimeFormat = it, $.getNumberFormat = at, $.setNumberFormat = ot, $.mergeNumberFormat = st, $[Ee] = i, $[Se] = Ke, $[Ce] = Je, $[we] = qe, process.env.NODE_ENV !== "production" && ($[H] = (e) => {
|
|
405
405
|
V.__v_emitter = e;
|
|
406
406
|
}, $[U] = () => {
|
|
407
407
|
V.__v_emitter = void 0;
|
|
408
408
|
}), $;
|
|
409
409
|
}
|
|
410
|
-
function
|
|
411
|
-
var
|
|
410
|
+
function Y(e, t) {}
|
|
411
|
+
var X = {
|
|
412
412
|
tag: { type: [String, Object] },
|
|
413
413
|
locale: { type: String },
|
|
414
414
|
scope: {
|
|
@@ -427,39 +427,39 @@ e({
|
|
|
427
427
|
type: [Number, String],
|
|
428
428
|
validator: (e) => f(e) || !isNaN(e)
|
|
429
429
|
}
|
|
430
|
-
},
|
|
430
|
+
}, X), e({
|
|
431
431
|
value: {
|
|
432
432
|
type: Number,
|
|
433
433
|
required: !0
|
|
434
434
|
},
|
|
435
435
|
format: { type: [String, Object] }
|
|
436
|
-
},
|
|
437
|
-
var
|
|
438
|
-
function
|
|
439
|
-
let r =
|
|
436
|
+
}, X);
|
|
437
|
+
var Be = g("global-vue-i18n");
|
|
438
|
+
function Z(t = {}) {
|
|
439
|
+
let r = J();
|
|
440
440
|
if (r == null) throw B(z.MUST_BE_CALL_SETUP_TOP);
|
|
441
441
|
if (!r.isCE && r.appContext.app != null && !r.appContext.app.__VUE_I18N_SYMBOL__) throw B(z.NOT_INSTALLED);
|
|
442
|
-
let i =
|
|
443
|
-
if (s === "global") return
|
|
442
|
+
let i = Ve(r), a = Ue(i), o = Ae(r), s = He(t, o);
|
|
443
|
+
if (s === "global") return je(a, t, o), a;
|
|
444
444
|
if (s === "parent") {
|
|
445
|
-
let e =
|
|
445
|
+
let e = Q(i, r, t.__useComponent);
|
|
446
446
|
return e ??= (process.env.NODE_ENV !== "production" && _(K(G.NOT_FOUND_PARENT_SCOPE)), a), e;
|
|
447
447
|
}
|
|
448
448
|
if (s === "isolated") {
|
|
449
449
|
if (i.mode !== "composition") throw B(z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
|
|
450
450
|
let o = i, s = e({}, t);
|
|
451
|
-
s.__root =
|
|
452
|
-
let c =
|
|
451
|
+
s.__root = Q(i, r) || a;
|
|
452
|
+
let c = ze(s);
|
|
453
453
|
o.__composerExtend && (c[W] = o.__composerExtend(c));
|
|
454
454
|
let l = null;
|
|
455
455
|
if (process.env.NODE_ENV !== "production") {
|
|
456
456
|
l = n();
|
|
457
457
|
let e = c;
|
|
458
|
-
e[H] && e[H](l), l.on("*",
|
|
458
|
+
e[H] && e[H](l), l.on("*", Y);
|
|
459
459
|
}
|
|
460
460
|
return N() && I(() => {
|
|
461
461
|
if (process.env.NODE_ENV !== "production") {
|
|
462
|
-
l && l.off("*",
|
|
462
|
+
l && l.off("*", Y);
|
|
463
463
|
let e = c;
|
|
464
464
|
e[U] && e[U]();
|
|
465
465
|
}
|
|
@@ -470,49 +470,49 @@ function Q(t = {}) {
|
|
|
470
470
|
let c = i, l = c.__getInstance(r);
|
|
471
471
|
if (l == null) {
|
|
472
472
|
let n = e({}, t);
|
|
473
|
-
"__i18n" in o && (n.__i18n = o.__i18n), a && (n.__root = a), l =
|
|
473
|
+
"__i18n" in o && (n.__i18n = o.__i18n), a && (n.__root = a), l = ze(n), c.__composerExtend && (l[W] = c.__composerExtend(l)), Ge(c, r, l), c.__setInstance(r, l);
|
|
474
474
|
} else process.env.NODE_ENV !== "production" && s === "local" && _(K(G.DUPLICATE_USE_I18N_CALLING));
|
|
475
475
|
return l;
|
|
476
476
|
}
|
|
477
|
-
function
|
|
478
|
-
let t = P(e.isCE ?
|
|
477
|
+
function Ve(e) {
|
|
478
|
+
let t = P(e.isCE ? Be : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
479
479
|
if (!t) throw B(e.isCE ? z.NOT_INSTALLED_WITH_PROVIDE : z.UNEXPECTED_ERROR);
|
|
480
480
|
return t;
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function He(e, t) {
|
|
483
483
|
return u(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function Ue(e) {
|
|
486
486
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
487
487
|
}
|
|
488
|
-
function
|
|
489
|
-
let r = null, i = t.root, a =
|
|
488
|
+
function Q(e, t, n = !1) {
|
|
489
|
+
let r = null, i = t.root, a = We(t, n);
|
|
490
490
|
for (; a != null;) {
|
|
491
491
|
let t = e;
|
|
492
492
|
if (e.mode === "composition") r = t.__getInstance(a);
|
|
493
493
|
else if (__VUE_I18N_LEGACY_API__) {
|
|
494
494
|
let e = t.__getInstance(a);
|
|
495
|
-
e != null && (r = e.__composer, n && r && !r[
|
|
495
|
+
e != null && (r = e.__composer, n && r && !r[Ee] && (r = null));
|
|
496
496
|
}
|
|
497
497
|
if (r != null || i === a) break;
|
|
498
498
|
a = a.parent;
|
|
499
499
|
}
|
|
500
500
|
return r;
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function We(e, t = !1) {
|
|
503
503
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function Ge(e, t, r) {
|
|
506
506
|
let i = null;
|
|
507
507
|
F(() => {
|
|
508
508
|
if (process.env.NODE_ENV !== "production") {
|
|
509
509
|
t.__VUE_I18N__ = r, i = n();
|
|
510
510
|
let e = r;
|
|
511
|
-
e[H] && e[H](i), i.on("*",
|
|
511
|
+
e[H] && e[H](i), i.on("*", Y);
|
|
512
512
|
}
|
|
513
513
|
}, t), L(() => {
|
|
514
514
|
let n = r;
|
|
515
|
-
process.env.NODE_ENV !== "production" && (i && i.off("*",
|
|
515
|
+
process.env.NODE_ENV !== "production" && (i && i.off("*", Y), n[U] && n[U](), delete t.__VUE_I18N__), e.__deleteInstance(t);
|
|
516
516
|
let a = n[W];
|
|
517
517
|
a && (a(), delete n[W]);
|
|
518
518
|
}, t);
|
|
@@ -523,10 +523,10 @@ if (e({
|
|
|
523
523
|
required: !0
|
|
524
524
|
},
|
|
525
525
|
format: { type: [String, Object] }
|
|
526
|
-
},
|
|
526
|
+
}, X), R(), w(b), T(E), C(x), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
527
527
|
let e = a();
|
|
528
528
|
e.__INTLIFY__ = !0, D(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
529
529
|
}
|
|
530
530
|
process.env.NODE_ENV;
|
|
531
531
|
//#endregion
|
|
532
|
-
export {
|
|
532
|
+
export { Be as I18nInjectionKey, xe as VERSION, Z as useI18n };
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
//#region package.json
|
|
2
|
+
var e = "exploria-ui", t = "2026.10.2", n = "《探索UI》组件库", r = [
|
|
3
|
+
"exploria-ui",
|
|
4
|
+
"liketype",
|
|
5
|
+
"vue3"
|
|
6
|
+
], i = "liketype", a = [
|
|
7
|
+
"dist",
|
|
8
|
+
"package.json",
|
|
9
|
+
"README.md"
|
|
10
|
+
], o = "module", s = "./dist/components/index.js", c = "./dist/components/index.d.ts", l = {
|
|
11
|
+
".": {
|
|
12
|
+
import: "./dist/components/index.js",
|
|
13
|
+
types: "./dist/components/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"./directives": {
|
|
16
|
+
import: "./dist/directives/index.js",
|
|
17
|
+
types: "./dist/directives/index.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./plugins": {
|
|
20
|
+
import: "./dist/plugins/index.js",
|
|
21
|
+
types: "./dist/plugins/index.d.ts"
|
|
22
|
+
},
|
|
23
|
+
"./utils": {
|
|
24
|
+
import: "./dist/utils/index.js",
|
|
25
|
+
types: "./dist/utils/index.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"./*": "./*"
|
|
28
|
+
}, u = {
|
|
29
|
+
login: "pnpm login --registry https://registry.npmjs.org",
|
|
30
|
+
build: "vite build && pnpm exec rollup src/plugins/index.ts --format esm --file dist/plugins/index.js --plugin @rollup/plugin-node-resolve --plugin @rollup/plugin-commonjs --plugin rollup-plugin-esbuild --external vite,fs,path,os,stream,util && pnpm exec tsc src/plugins/index.ts --target ES2018 --module ESNext --moduleResolution bundler --declaration --emitDeclarationOnly --outDir dist/plugins --skipLibCheck --noEmitOnError",
|
|
31
|
+
"build:watch": "vite build --watch",
|
|
32
|
+
"build:plugins:watch": "node ./scripts/build-plugins.ts",
|
|
33
|
+
pub: "pnpm publish --no-git-checks --registry https://registry.npmjs.org"
|
|
34
|
+
}, d = {
|
|
35
|
+
"animate.css": "^4.1.1",
|
|
36
|
+
"chroma-js": "^3.1.2",
|
|
37
|
+
"fast-glob": "^3.3.3",
|
|
38
|
+
sortablejs: "^1.15.6",
|
|
39
|
+
"vue-i18n": "^11.1.12"
|
|
40
|
+
}, f = {
|
|
41
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
42
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
43
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
44
|
+
"@types/chroma-js": "^3.1.1",
|
|
45
|
+
"@types/node": "^24.6.0",
|
|
46
|
+
"@types/sortablejs": "^1.15.8",
|
|
47
|
+
"@types/three": "^0.180.0",
|
|
48
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
49
|
+
"@vue/tsconfig": "^0.8.1",
|
|
50
|
+
chokidar: "^5.0.0",
|
|
51
|
+
esbuild: "^0.27.3",
|
|
52
|
+
oxfmt: "^0.17.0",
|
|
53
|
+
oxlint: "^1.32.0",
|
|
54
|
+
rollup: "^4.59.0",
|
|
55
|
+
"rollup-plugin-esbuild": "^6.2.1",
|
|
56
|
+
sass: "^1.87.0",
|
|
57
|
+
three: ">=0.184.0",
|
|
58
|
+
tsx: "^4.21.0",
|
|
59
|
+
typescript: "~5.9.3",
|
|
60
|
+
vite: "^8.0.16",
|
|
61
|
+
"vite-plugin-dts": "^4.5.4",
|
|
62
|
+
vue: "^3.5.22",
|
|
63
|
+
"vue-tsc": "^3.1.0"
|
|
64
|
+
}, p = {
|
|
65
|
+
three: ">=0.184.0",
|
|
66
|
+
vue: ">=3.5"
|
|
67
|
+
}, m = {
|
|
68
|
+
name: e,
|
|
69
|
+
version: t,
|
|
70
|
+
private: !1,
|
|
71
|
+
description: n,
|
|
72
|
+
keywords: r,
|
|
73
|
+
license: "MIT",
|
|
74
|
+
author: i,
|
|
75
|
+
files: a,
|
|
76
|
+
type: o,
|
|
77
|
+
main: s,
|
|
78
|
+
types: c,
|
|
79
|
+
exports: l,
|
|
80
|
+
scripts: u,
|
|
81
|
+
dependencies: d,
|
|
82
|
+
devDependencies: f,
|
|
83
|
+
peerDependencies: p
|
|
84
|
+
};
|
|
85
|
+
//#endregion
|
|
86
|
+
export { i as author, m as default, d as dependencies, n as description, f as devDependencies, l as exports, a as files, r as keywords, s as main, e as name, p as peerDependencies, u as scripts, o as type, c as types, t as version };
|