@ftlab/one-vue3 0.2.11 → 0.2.13
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/CHANGELOG.md +3 -1
- package/components.d.ts +0 -1
- package/dist/{CheckMessageDialog-065cdd87.js → CheckMessageDialog-b17c0726.js} +16 -17
- package/dist/CheckMessageDialog-c82aaa67.cjs +1 -0
- package/dist/ftlOne.cjs +1 -1
- package/dist/ftlOne.js +1 -1
- package/dist/ftlOne.umd.cjs +13 -13
- package/dist/{index-20c01953.js → index-2eef72ec.js} +8 -12
- package/dist/{index-0a777adb.cjs → index-eaafe232.cjs} +14 -14
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/CheckMessageDialog-13de033d.cjs +0 -1
|
@@ -11208,8 +11208,7 @@ var ef = { exports: {} };
|
|
|
11208
11208
|
})();
|
|
11209
11209
|
})(ef);
|
|
11210
11210
|
var $O = ef.exports;
|
|
11211
|
-
const ou = /* @__PURE__ */ Uw($O)
|
|
11212
|
-
const kn = {
|
|
11211
|
+
const ou = /* @__PURE__ */ Uw($O), kn = {
|
|
11213
11212
|
get(e) {
|
|
11214
11213
|
return localStorage.getItem(e);
|
|
11215
11214
|
},
|
|
@@ -14133,7 +14132,7 @@ const LC = { class: "f-c" }, RC = { class: "f-c" }, MC = ["src"], FC = ["src"],
|
|
|
14133
14132
|
langCodeList: { default: () => ["en", "cn", "fr", "es", "or"] },
|
|
14134
14133
|
logOutText: { default: "" }
|
|
14135
14134
|
},
|
|
14136
|
-
emits: ["logout", "update:sidebar", "
|
|
14135
|
+
emits: ["logout", "update:sidebar", "changeLanguage"],
|
|
14137
14136
|
setup(e, { emit: t }) {
|
|
14138
14137
|
var E;
|
|
14139
14138
|
const n = e, r = ii(), o = nf(), { locale: a } = ma(), s = (E = Ve()) == null ? void 0 : E.appContext.config.globalProperties, i = L(null), l = [
|
|
@@ -14148,7 +14147,7 @@ const LC = { class: "f-c" }, RC = { class: "f-c" }, MC = ["src"], FC = ["src"],
|
|
|
14148
14147
|
n.langCodeList.includes(O.code) && _.push(O);
|
|
14149
14148
|
}), _;
|
|
14150
14149
|
}), d = C(() => l.find((_) => _.code === o.language) || {}), f = (_) => {
|
|
14151
|
-
o.setLanguage(_), a.value = _, t("
|
|
14150
|
+
o.setLanguage(_), a.value = _, t("changeLanguage"), s.$bus && s.$bus.emit("languageChange");
|
|
14152
14151
|
}, m = L([]), h = (_) => {
|
|
14153
14152
|
const O = r.resources.find((T) => T.name === _);
|
|
14154
14153
|
O && (m.value.unshift(O), g(O));
|
|
@@ -14257,8 +14256,7 @@ const LC = { class: "f-c" }, RC = { class: "f-c" }, MC = ["src"], FC = ["src"],
|
|
|
14257
14256
|
default: U(() => [
|
|
14258
14257
|
(k(!0), H(We, null, xn(v(u), (W, Q) => (k(), te(F, {
|
|
14259
14258
|
command: W.code,
|
|
14260
|
-
key: Q
|
|
14261
|
-
disabled: v(o).language === W.code
|
|
14259
|
+
key: Q
|
|
14262
14260
|
}, {
|
|
14263
14261
|
default: U(() => [
|
|
14264
14262
|
K("img", {
|
|
@@ -14279,7 +14277,7 @@ const LC = { class: "f-c" }, RC = { class: "f-c" }, MC = ["src"], FC = ["src"],
|
|
|
14279
14277
|
})) : re("", !0)
|
|
14280
14278
|
]),
|
|
14281
14279
|
_: 2
|
|
14282
|
-
}, 1032, ["command"
|
|
14280
|
+
}, 1032, ["command"]))), 128))
|
|
14283
14281
|
]),
|
|
14284
14282
|
_: 1
|
|
14285
14283
|
})
|
|
@@ -14357,8 +14355,7 @@ const LC = { class: "f-c" }, RC = { class: "f-c" }, MC = ["src"], FC = ["src"],
|
|
|
14357
14355
|
};
|
|
14358
14356
|
}
|
|
14359
14357
|
}));
|
|
14360
|
-
const VC = /* @__PURE__ */ _r($C, [["__scopeId", "data-v-
|
|
14361
|
-
const jC = /* @__PURE__ */ q({
|
|
14358
|
+
const VC = /* @__PURE__ */ _r($C, [["__scopeId", "data-v-77f4b662"]]), jC = /* @__PURE__ */ q({
|
|
14362
14359
|
__name: "sideMenus",
|
|
14363
14360
|
props: {
|
|
14364
14361
|
menus: { default: () => [] },
|
|
@@ -14519,8 +14516,7 @@ const JC = /* @__PURE__ */ _r(XC, [["__scopeId", "data-v-7178d156"]]), ZC = {
|
|
|
14519
14516
|
return e[t] = n, Pu[t] = !0, !0;
|
|
14520
14517
|
throw new Error("Config can not be changed");
|
|
14521
14518
|
}
|
|
14522
|
-
})
|
|
14523
|
-
const eN = {
|
|
14519
|
+
}), eN = {
|
|
14524
14520
|
key: 0,
|
|
14525
14521
|
class: "dot"
|
|
14526
14522
|
}, tN = { class: "f-s-c" }, nN = { class: "message-card__text" }, rN = { class: "message-card__text" }, oN = /* @__PURE__ */ q({
|
|
@@ -14534,7 +14530,7 @@ const eN = {
|
|
|
14534
14530
|
downloadText: { default: "下载附件" }
|
|
14535
14531
|
},
|
|
14536
14532
|
setup(e) {
|
|
14537
|
-
const t = e, n = xu(() => import("./CheckMessageDialog-
|
|
14533
|
+
const t = e, n = xu(() => import("./CheckMessageDialog-b17c0726.js")), r = localStorage.getItem("token") || "", o = {
|
|
14538
14534
|
Authorization: `Bearer ${r}`
|
|
14539
14535
|
}, a = C(
|
|
14540
14536
|
() => `${t.authBaseUrl || Cf.authBaseUrl || "https://gateway-staging.ftlapp.io"}/api/xpush/imm/userMessage`
|