@ftlab/one-vue3 0.3.6 → 0.3.8-0
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 +9 -1
- package/dist/{CheckMessageDialog-b14c785b.js → CheckMessageDialog-0f85dbee.js} +18 -20
- package/dist/ftlOne.js +9 -11
- package/dist/{index-5e152029.js → index-2284be94.js} +3195 -3195
- package/dist/store.js +98 -7
- package/dist/style.css +1 -1
- package/dist/utils.js +355 -273
- package/dist/vuex.esm-bundler-2a047356.js +770 -0
- package/package.json +4 -2
- package/dist/lang-eedab336.js +0 -57
package/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
9
9
|
|
|
10
|
-
## [v0.3.
|
|
10
|
+
## [v0.3.8-0](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.3.6...v0.3.8-0)
|
|
11
|
+
|
|
12
|
+
### Commits
|
|
13
|
+
|
|
14
|
+
- feat: change pinia to vuex [`b331296`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/b331296cdf634441ef4137556abf395dd1abd84c)
|
|
15
|
+
- feat: detail change [`53b99a1`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/53b99a1abd8c5a28fa48764e255e78e57d4a2767)
|
|
16
|
+
- hotfix: 修复打包后函数和预构建冲突的问题 [`f4b1fca`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/f4b1fca04c83424a0918f1d7a271e6ebf3e5e4ff)
|
|
17
|
+
|
|
18
|
+
## [v0.3.6](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.2.16...v0.3.6) - 2025-03-13
|
|
11
19
|
|
|
12
20
|
### Commits
|
|
13
21
|
|
|
@@ -11,7 +11,7 @@ var M = (n, t, e) => t in n ? R(n, t, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return n;
|
|
12
12
|
}, U = (n, t) => G(n, J(t));
|
|
13
13
|
var V = (n, t, e) => new Promise((i, l) => {
|
|
14
|
-
var
|
|
14
|
+
var u = (s) => {
|
|
15
15
|
try {
|
|
16
16
|
d(e.next(s));
|
|
17
17
|
} catch (_) {
|
|
@@ -23,15 +23,13 @@ var V = (n, t, e) => new Promise((i, l) => {
|
|
|
23
23
|
} catch (_) {
|
|
24
24
|
l(_);
|
|
25
25
|
}
|
|
26
|
-
}, d = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(
|
|
26
|
+
}, d = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(u, g);
|
|
27
27
|
d((e = e.apply(n, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import { defineComponent as E, computed as k, openBlock as m, createElementBlock as b, normalizeClass as C, unref as o, normalizeStyle as Q, renderSlot as W, createCommentVNode as I, ref as h, inject as $, createBlock as w, isRef as X, withCtx as c, createElementVNode as y, toDisplayString as f, createVNode as v, withDirectives as Y, Fragment as Z, renderList as ee, createTextVNode as D } from "vue";
|
|
30
|
-
import { b as te, d as oe, u as ne, _ as se, w as ae, c as le, a as ie, E as re, e as de, f as ce, g as
|
|
30
|
+
import { b as te, d as oe, u as ne, _ as se, w as ae, c as le, a as ie, E as re, e as de, f as ce, g as ue, h as pe, v as me, i as _e } from "./index-2284be94.js";
|
|
31
31
|
import "./utils-0eda3e43.js";
|
|
32
|
-
import "./
|
|
33
|
-
import "pinia";
|
|
34
|
-
import "./storage-9f2ae3ed.js";
|
|
32
|
+
import "./vuex.esm-bundler-2a047356.js";
|
|
35
33
|
const fe = te({
|
|
36
34
|
direction: {
|
|
37
35
|
type: String,
|
|
@@ -55,7 +53,7 @@ const fe = te({
|
|
|
55
53
|
const t = n, e = ne("divider"), i = k(() => e.cssVar({
|
|
56
54
|
"border-style": t.borderStyle
|
|
57
55
|
}));
|
|
58
|
-
return (l,
|
|
56
|
+
return (l, u) => (m(), b("div", {
|
|
59
57
|
class: C([o(e).b(), o(e).m(l.direction)]),
|
|
60
58
|
style: Q(o(i)),
|
|
61
59
|
role: "separator"
|
|
@@ -74,7 +72,7 @@ const we = ae(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /*
|
|
|
74
72
|
__name: "CheckMessageDialog",
|
|
75
73
|
emits: ["preventHiddenDropdown"],
|
|
76
74
|
setup(n, { expose: t, emit: e }) {
|
|
77
|
-
const i = h(!1), l = $("authBaseUrl"),
|
|
75
|
+
const i = h(!1), l = $("authBaseUrl"), u = $("dialogI18n"), g = localStorage.getItem("token") || "", d = h(!1), s = h({}), _ = {
|
|
78
76
|
Authorization: `Bearer ${g}`
|
|
79
77
|
}, N = k(
|
|
80
78
|
() => `${l || le.authBaseUrl || "https://gateway-staging.ftlapp.io"}/api/xpush/imm/userMessage/getUserMsgInfo`
|
|
@@ -98,12 +96,12 @@ const we = ae(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /*
|
|
|
98
96
|
P(r), i.value = !0;
|
|
99
97
|
}
|
|
100
98
|
}), (r, a) => {
|
|
101
|
-
const A = we, B = re, H = de, L = ce, F =
|
|
99
|
+
const A = we, B = re, H = de, L = ce, F = ue, j = pe, q = me;
|
|
102
100
|
return m(), w(j, {
|
|
103
101
|
center: "",
|
|
104
|
-
title: o(
|
|
102
|
+
title: o(u).dialogTitleText,
|
|
105
103
|
modelValue: o(i),
|
|
106
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
|
104
|
+
"onUpdate:modelValue": a[1] || (a[1] = (p) => X(i) ? i.value = p : null),
|
|
107
105
|
"append-to-body": "",
|
|
108
106
|
model: !1,
|
|
109
107
|
onClosed: a[2] || (a[2] = () => {
|
|
@@ -125,12 +123,12 @@ const we = ae(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /*
|
|
|
125
123
|
dropdown: c(() => [
|
|
126
124
|
v(L, null, {
|
|
127
125
|
default: c(() => [
|
|
128
|
-
(m(!0), b(Z, null, ee(o(s).immAttachments, (
|
|
129
|
-
key:
|
|
130
|
-
onClick: () => z(
|
|
126
|
+
(m(!0), b(Z, null, ee(o(s).immAttachments, (p) => (m(), w(H, {
|
|
127
|
+
key: p.fileDownloadUrl,
|
|
128
|
+
onClick: () => z(p.fileDownloadUrl)
|
|
131
129
|
}, {
|
|
132
130
|
default: c(() => [
|
|
133
|
-
D(f(
|
|
131
|
+
D(f(p.fileName), 1)
|
|
134
132
|
]),
|
|
135
133
|
_: 2
|
|
136
134
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -141,7 +139,7 @@ const we = ae(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /*
|
|
|
141
139
|
default: c(() => [
|
|
142
140
|
v(B, null, {
|
|
143
141
|
default: c(() => [
|
|
144
|
-
D(f(o(
|
|
142
|
+
D(f(o(u).downloadText), 1)
|
|
145
143
|
]),
|
|
146
144
|
_: 1
|
|
147
145
|
})
|
|
@@ -149,10 +147,10 @@ const we = ae(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /*
|
|
|
149
147
|
_: 1
|
|
150
148
|
})) : I("", !0),
|
|
151
149
|
v(B, {
|
|
152
|
-
onClick: a[0] || (a[0] = (
|
|
150
|
+
onClick: a[0] || (a[0] = (p) => i.value = !1)
|
|
153
151
|
}, {
|
|
154
152
|
default: c(() => [
|
|
155
|
-
D(f(o(
|
|
153
|
+
D(f(o(u).cancelButtonText), 1)
|
|
156
154
|
]),
|
|
157
155
|
_: 1
|
|
158
156
|
})
|
|
@@ -163,7 +161,7 @@ const we = ae(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /*
|
|
|
163
161
|
};
|
|
164
162
|
}
|
|
165
163
|
});
|
|
166
|
-
const
|
|
164
|
+
const Se = /* @__PURE__ */ _e(ke, [["__scopeId", "data-v-b6d5935c"]]);
|
|
167
165
|
export {
|
|
168
|
-
|
|
166
|
+
Se as default
|
|
169
167
|
};
|
package/dist/ftlOne.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as r, l as e, n as F, F as i, m, k as p, o as d } from "./index-2284be94.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./utils-0eda3e43.js";
|
|
4
|
-
import "./
|
|
5
|
-
import "pinia";
|
|
6
|
-
import "./storage-9f2ae3ed.js";
|
|
4
|
+
import "./vuex.esm-bundler-2a047356.js";
|
|
7
5
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
r as FtlEntry,
|
|
7
|
+
e as FtlMessage,
|
|
8
|
+
F as FtlMultipleChoose,
|
|
9
|
+
i as FtlNavbar,
|
|
10
|
+
m as FtlPasswordDialog,
|
|
11
|
+
p as FtlSidebar,
|
|
12
|
+
d as default
|
|
15
13
|
};
|