@euflyapp/one-vue3 0.1.0 → 0.1.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/CHANGELOG.md CHANGED
@@ -7,63 +7,21 @@ 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.1.0](https://gitee.com/zsjqwe/one-vue3-vuex/compare/v0.0.20...v0.1.0)
10
+ ## [v0.1.2](https://gitee.com/zsjqwe/one-vue3-vuex/compare/v0.1.1...v0.1.2)
11
11
 
12
12
  ### Commits
13
13
 
14
- - feat: 欧翔one公共包vue3版本 [`6be75d7`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/6be75d7a435bbdc0d2e9547ff62be4f1cb4152b6)
15
-
16
- ## [v0.0.20](https://gitee.com/zsjqwe/one-vue3-vuex/compare/v0.0.19...v0.0.20) - 2026-02-11
17
-
18
- ### Commits
19
-
20
- - feat: sideBar插槽添加 [`7951060`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/79510605258f3e1845647aa4c6ef8348d8784d49)
21
-
22
- ## [v0.0.19](https://gitee.com/zsjqwe/one-vue3-vuex/compare/v0.0.18...v0.0.19) - 2025-11-03
23
-
24
- ### Commits
25
-
26
- - feat: add sideBar slot [`572e2c0`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/572e2c0e6630c6a3c32d59406c00380b1e63f7de)
27
-
28
- ## [v0.0.18](https://gitee.com/zsjqwe/one-vue3-vuex/compare/v0.0.14...v0.0.18) - 2025-10-27
29
-
30
- ### Commits
31
-
32
- - aa [`e642784`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/e642784b0190c9e6d312553cecd659938fc74b83)
33
- - feat [`a19f86f`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/a19f86f11212b5e2b14c11c4e06ab9f5d973639f)
34
- - a [`8b39a6a`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/8b39a6adbb7ab0b5051ab1fdf283b1f643887246)
35
- - feat: style change [`be7c5c3`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/be7c5c313f37e5629eefdf94bf9156e942b21cf8)
36
-
37
- ## [v0.0.14](https://gitee.com/zsjqwe/one-vue3-vuex/compare/v0.0.13...v0.0.14) - 2025-09-05
38
-
39
- ### Commits
40
-
41
- - a [`2c61000`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/2c61000b52e778fe850f4252583ca7acdeaedff2)
14
+ - feat: 新增修改密码功能 [`2dd8f4a`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/2dd8f4ac1b700a9ba13ae6b5d4f7549b17b458a6)
42
15
 
43
- ## [v0.0.13](https://gitee.com/zsjqwe/one-vue3-vuex/compare/v0.0.12...v0.0.13) - 2025-09-05
16
+ ## [v0.1.1](https://gitee.com/zsjqwe/one-vue3-vuex/compare/v0.1.0...v0.1.1) - 2026-02-13
44
17
 
45
18
  ### Commits
46
19
 
47
- - a [`14f4618`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/14f4618ab0fdd054392a85896d1b790264d4472c)
20
+ - feat: 新增德语 [`4c6326b`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/4c6326b3c4943f0f0b52a9369b13284806d7f62a)
48
21
 
49
- ## [v0.0.12](https://gitee.com/zsjqwe/one-vue3-vuex/compare/v0.0.11...v0.0.12) - 2025-09-04
50
-
51
- ### Commits
52
-
53
- - cod [`097fe6b`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/097fe6b56a5f5a35cc08c28ad7a76443930c2dec)
54
-
55
- ## v0.0.11 - 2025-09-04
22
+ ## v0.1.0 - 2026-02-12
56
23
 
57
24
  ### Commits
58
25
 
59
26
  - feat: project init [`cce9607`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/cce9607244394410930e12080b63fba00c394fd2)
60
- - a [`0b9b5d6`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/0b9b5d6304195ca420378aeeb2ae4fa8b511337a)
61
- - a [`b465262`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/b46526242c668048d2f9ae5802dded2b6719cf0a)
62
- - feat: a [`1b44838`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/1b448386cfdde8e1cd3bb124c26cb8dfb5304eb4)
63
- - a [`5279424`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/5279424e25d4de23413e376587076d2f63c4f07a)
64
- - a [`031ae28`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/031ae28d6fb9d162ed73a5b9864f9dd301d36738)
65
- - a [`6fbf6ff`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/6fbf6ff5582354a64b31a45a99d26a609f4115fa)
66
- - feat: a [`44c3188`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/44c3188d0283c0dcc1a5ce5886445f58f04b1d40)
67
- - code [`6abe1a8`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/6abe1a8d9fa12f0fb3bd04e12241bae3f8fb5ade)
68
- - a [`c55066f`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/c55066fd17d2bdee4d26c69818e471d5710aba1b)
69
- - a [`77b4417`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/77b4417b58f7c8060163bdfe4d75997cfc90cf4b)
27
+ - feat: 欧翔one公共包vue3版本 [`6be75d7`](https://gitee.com/zsjqwe/one-vue3-vuex/commit/6be75d7a435bbdc0d2e9547ff62be4f1cb4152b6)
Binary file
@@ -1,167 +1,167 @@
1
- var R = Object.defineProperty, G = Object.defineProperties;
2
- var J = Object.getOwnPropertyDescriptors;
3
- var S = Object.getOwnPropertySymbols;
4
- var K = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
- var M = (n, t, e) => t in n ? R(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, T = (n, t) => {
6
- for (var e in t || (t = {}))
7
- K.call(t, e) && M(n, e, t[e]);
8
- if (S)
9
- for (var e of S(t))
10
- O.call(t, e) && M(n, e, t[e]);
11
- return n;
12
- }, U = (n, t) => G(n, J(t));
13
- var V = (n, t, e) => new Promise((i, l) => {
14
- var u = (s) => {
15
- try {
16
- d(e.next(s));
17
- } catch (_) {
18
- l(_);
19
- }
20
- }, g = (s) => {
21
- try {
22
- d(e.throw(s));
23
- } catch (_) {
24
- l(_);
25
- }
26
- }, d = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(u, g);
27
- d((e = e.apply(n, t)).next());
28
- });
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 ue, h as pe, v as me, i as _e } from "./index-d9ee9bef.js";
31
- import "./utils-0eda3e43.js";
32
- import "./vuex.esm-bundler-2a047356.js";
33
- const fe = te({
34
- direction: {
35
- type: String,
36
- values: ["horizontal", "vertical"],
37
- default: "horizontal"
38
- },
39
- contentPosition: {
40
- type: String,
41
- values: ["left", "center", "right"],
42
- default: "center"
43
- },
44
- borderStyle: {
45
- type: oe(String),
46
- default: "solid"
47
- }
48
- }), ve = E({
49
- name: "ElDivider"
50
- }), ge = /* @__PURE__ */ E(U(T({}, ve), {
51
- props: fe,
52
- setup(n) {
53
- const t = n, e = ne("divider"), i = k(() => e.cssVar({
54
- "border-style": t.borderStyle
55
- }));
56
- return (l, u) => (m(), b("div", {
57
- class: C([o(e).b(), o(e).m(l.direction)]),
58
- style: Q(o(i)),
59
- role: "separator"
60
- }, [
61
- l.$slots.default && l.direction !== "vertical" ? (m(), b("div", {
62
- key: 0,
63
- class: C([o(e).e("text"), o(e).is(l.contentPosition)])
64
- }, [
65
- W(l.$slots, "default")
66
- ], 2)) : I("v-if", !0)
67
- ], 6));
68
- }
69
- }));
70
- var he = /* @__PURE__ */ se(ge, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);
71
- const we = ae(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /* @__PURE__ */ E({
72
- __name: "CheckMessageDialog",
73
- emits: ["preventHiddenDropdown"],
74
- setup(n, { expose: t, emit: e }) {
75
- const i = h(!1), l = $("authBaseUrl"), u = $("dialogI18n"), g = localStorage.getItem("token") || "", d = h(!1), s = h({}), _ = {
76
- Authorization: `Bearer ${g}`
77
- }, N = k(
78
- () => `${l || le.authBaseUrl || "https://gateway-staging.ftlapp.io"}/api/xpush/imm/userMessage/getUserMsgInfo`
79
- ), P = (r) => V(this, null, function* () {
80
- try {
81
- d.value = !0;
82
- const a = yield ie.get(N.value, { headers: _, params: { msgId: r } });
83
- a && a.data && (s.value = a.data);
84
- } catch (a) {
85
- console.log(a);
86
- } finally {
87
- d.value = !1;
88
- }
89
- }), x = k(
90
- () => s.value.immAttachments && s.value.immAttachments.length !== 0
91
- ), z = (r) => {
92
- r && window.open(r, "_blank");
93
- };
94
- return t({
95
- open: (r) => {
96
- P(r), i.value = !0;
97
- }
98
- }), (r, a) => {
99
- const A = we, B = re, H = de, L = ce, F = ue, j = pe, q = me;
100
- return m(), w(j, {
101
- center: "",
102
- title: o(u).dialogTitleText,
103
- modelValue: o(i),
104
- "onUpdate:modelValue": a[1] || (a[1] = (p) => X(i) ? i.value = p : null),
105
- "append-to-body": "",
106
- model: !1,
107
- onClosed: a[2] || (a[2] = () => {
108
- r.$emit("preventHiddenDropdown");
109
- })
110
- }, {
111
- default: c(() => [
112
- y("header", ye, f(o(s).title), 1),
113
- v(A),
114
- Y(y("div", {
115
- innerHTML: o(s).content
116
- }, null, 8, De), [
117
- [q, o(d)]
118
- ]),
119
- y("footer", {
120
- class: C(["mt15", [o(x) ? "f-s-c" : "f-c-e"]])
121
- }, [
122
- o(x) ? (m(), w(F, { key: 0 }, {
123
- dropdown: c(() => [
124
- v(L, null, {
125
- default: c(() => [
126
- (m(!0), b(Z, null, ee(o(s).immAttachments, (p) => (m(), w(H, {
127
- key: p.fileDownloadUrl,
128
- onClick: () => z(p.fileDownloadUrl)
129
- }, {
130
- default: c(() => [
131
- D(f(p.fileName), 1)
132
- ]),
133
- _: 2
134
- }, 1032, ["onClick"]))), 128))
135
- ]),
136
- _: 1
137
- })
138
- ]),
139
- default: c(() => [
140
- v(B, null, {
141
- default: c(() => [
142
- D(f(o(u).downloadText), 1)
143
- ]),
144
- _: 1
145
- })
146
- ]),
147
- _: 1
148
- })) : I("", !0),
149
- v(B, {
150
- onClick: a[0] || (a[0] = (p) => i.value = !1)
151
- }, {
152
- default: c(() => [
153
- D(f(o(u).cancelButtonText), 1)
154
- ]),
155
- _: 1
156
- })
157
- ], 2)
158
- ]),
159
- _: 1
160
- }, 8, ["title", "modelValue"]);
161
- };
162
- }
163
- });
164
- const Se = /* @__PURE__ */ _e(ke, [["__scopeId", "data-v-b6d5935c"]]);
165
- export {
166
- Se as default
167
- };
1
+ var R = Object.defineProperty, G = Object.defineProperties;
2
+ var J = Object.getOwnPropertyDescriptors;
3
+ var S = Object.getOwnPropertySymbols;
4
+ var K = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
+ var M = (n, t, e) => t in n ? R(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, T = (n, t) => {
6
+ for (var e in t || (t = {}))
7
+ K.call(t, e) && M(n, e, t[e]);
8
+ if (S)
9
+ for (var e of S(t))
10
+ O.call(t, e) && M(n, e, t[e]);
11
+ return n;
12
+ }, U = (n, t) => G(n, J(t));
13
+ var V = (n, t, e) => new Promise((i, l) => {
14
+ var u = (s) => {
15
+ try {
16
+ d(e.next(s));
17
+ } catch (_) {
18
+ l(_);
19
+ }
20
+ }, g = (s) => {
21
+ try {
22
+ d(e.throw(s));
23
+ } catch (_) {
24
+ l(_);
25
+ }
26
+ }, d = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(u, g);
27
+ d((e = e.apply(n, t)).next());
28
+ });
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 ue, h as pe, v as me, i as _e } from "./index-3509d525.js";
31
+ import "./utils-0eda3e43.js";
32
+ import "./vuex.esm-bundler-2a047356.js";
33
+ const fe = te({
34
+ direction: {
35
+ type: String,
36
+ values: ["horizontal", "vertical"],
37
+ default: "horizontal"
38
+ },
39
+ contentPosition: {
40
+ type: String,
41
+ values: ["left", "center", "right"],
42
+ default: "center"
43
+ },
44
+ borderStyle: {
45
+ type: oe(String),
46
+ default: "solid"
47
+ }
48
+ }), ve = E({
49
+ name: "ElDivider"
50
+ }), ge = /* @__PURE__ */ E(U(T({}, ve), {
51
+ props: fe,
52
+ setup(n) {
53
+ const t = n, e = ne("divider"), i = k(() => e.cssVar({
54
+ "border-style": t.borderStyle
55
+ }));
56
+ return (l, u) => (m(), b("div", {
57
+ class: C([o(e).b(), o(e).m(l.direction)]),
58
+ style: Q(o(i)),
59
+ role: "separator"
60
+ }, [
61
+ l.$slots.default && l.direction !== "vertical" ? (m(), b("div", {
62
+ key: 0,
63
+ class: C([o(e).e("text"), o(e).is(l.contentPosition)])
64
+ }, [
65
+ W(l.$slots, "default")
66
+ ], 2)) : I("v-if", !0)
67
+ ], 6));
68
+ }
69
+ }));
70
+ var he = /* @__PURE__ */ se(ge, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);
71
+ const we = ae(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /* @__PURE__ */ E({
72
+ __name: "CheckMessageDialog",
73
+ emits: ["preventHiddenDropdown"],
74
+ setup(n, { expose: t, emit: e }) {
75
+ const i = h(!1), l = $("authBaseUrl"), u = $("dialogI18n"), g = localStorage.getItem("token") || "", d = h(!1), s = h({}), _ = {
76
+ Authorization: `Bearer ${g}`
77
+ }, N = k(
78
+ () => `${l || le.authBaseUrl || "https://gateway-staging.ftlapp.io"}/api/xpush/imm/userMessage/getUserMsgInfo`
79
+ ), P = (r) => V(this, null, function* () {
80
+ try {
81
+ d.value = !0;
82
+ const a = yield ie.get(N.value, { headers: _, params: { msgId: r } });
83
+ a && a.data && (s.value = a.data);
84
+ } catch (a) {
85
+ console.log(a);
86
+ } finally {
87
+ d.value = !1;
88
+ }
89
+ }), x = k(
90
+ () => s.value.immAttachments && s.value.immAttachments.length !== 0
91
+ ), z = (r) => {
92
+ r && window.open(r, "_blank");
93
+ };
94
+ return t({
95
+ open: (r) => {
96
+ P(r), i.value = !0;
97
+ }
98
+ }), (r, a) => {
99
+ const A = we, B = re, H = de, L = ce, F = ue, j = pe, q = me;
100
+ return m(), w(j, {
101
+ center: "",
102
+ title: o(u).dialogTitleText,
103
+ modelValue: o(i),
104
+ "onUpdate:modelValue": a[1] || (a[1] = (p) => X(i) ? i.value = p : null),
105
+ "append-to-body": "",
106
+ model: !1,
107
+ onClosed: a[2] || (a[2] = () => {
108
+ r.$emit("preventHiddenDropdown");
109
+ })
110
+ }, {
111
+ default: c(() => [
112
+ y("header", ye, f(o(s).title), 1),
113
+ v(A),
114
+ Y(y("div", {
115
+ innerHTML: o(s).content
116
+ }, null, 8, De), [
117
+ [q, o(d)]
118
+ ]),
119
+ y("footer", {
120
+ class: C(["mt15", [o(x) ? "f-s-c" : "f-c-e"]])
121
+ }, [
122
+ o(x) ? (m(), w(F, { key: 0 }, {
123
+ dropdown: c(() => [
124
+ v(L, null, {
125
+ default: c(() => [
126
+ (m(!0), b(Z, null, ee(o(s).immAttachments, (p) => (m(), w(H, {
127
+ key: p.fileDownloadUrl,
128
+ onClick: () => z(p.fileDownloadUrl)
129
+ }, {
130
+ default: c(() => [
131
+ D(f(p.fileName), 1)
132
+ ]),
133
+ _: 2
134
+ }, 1032, ["onClick"]))), 128))
135
+ ]),
136
+ _: 1
137
+ })
138
+ ]),
139
+ default: c(() => [
140
+ v(B, null, {
141
+ default: c(() => [
142
+ D(f(o(u).downloadText), 1)
143
+ ]),
144
+ _: 1
145
+ })
146
+ ]),
147
+ _: 1
148
+ })) : I("", !0),
149
+ v(B, {
150
+ onClick: a[0] || (a[0] = (p) => i.value = !1)
151
+ }, {
152
+ default: c(() => [
153
+ D(f(o(u).cancelButtonText), 1)
154
+ ]),
155
+ _: 1
156
+ })
157
+ ], 2)
158
+ ]),
159
+ _: 1
160
+ }, 8, ["title", "modelValue"]);
161
+ };
162
+ }
163
+ });
164
+ const Se = /* @__PURE__ */ _e(ke, [["__scopeId", "data-v-b6d5935c"]]);
165
+ export {
166
+ Se as default
167
+ };
package/dist/ftlOne.js CHANGED
@@ -1,13 +1,13 @@
1
- import { j as r, l as e, n as F, F as i, m, k as p, o as d } from "./index-d9ee9bef.js";
2
- import "vue";
3
- import "./utils-0eda3e43.js";
4
- import "./vuex.esm-bundler-2a047356.js";
5
- export {
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
13
- };
1
+ import { j as r, l as e, n as F, F as i, m, k as p, o as d } from "./index-3509d525.js";
2
+ import "vue";
3
+ import "./utils-0eda3e43.js";
4
+ import "./vuex.esm-bundler-2a047356.js";
5
+ export {
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
13
+ };