@huyooo/ui 0.14.2 → 0.14.4
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/{FeedbackItem-DEvzziMZ.js → FeedbackItem-C4MZUC-3.js} +1 -1
- package/dist/{FeedbackModal-5s71W2NO.js → FeedbackModal-yVKcsuaE.js} +1 -1
- package/dist/{MessageHandle-zityh0Ba.js → MessageHandle-rRAQnE-q.js} +1 -1
- package/dist/{MessageList-CaPsDx_o.js → MessageList-CrCF8mU6.js} +64 -65
- package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-D74IIiGC.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-CsXEBH4f.js} +1 -1
- package/dist/{PaySubscriptions-DN4g7JyM.js → PaySubscriptions-B6R71CHm.js} +165 -165
- package/dist/{PricingPlans-Dw86gjrR.js → PricingPlans-Ddl98xpp.js} +1 -1
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-CdYGNWr0.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-f2mzNg6i.js} +3 -3
- package/dist/{WidthContainer-DItdq7vc.js → WidthContainer-B5gW9ACv.js} +1 -1
- package/dist/common.js +1 -1
- package/dist/components/InfiniteLoading.vue.d.ts +1 -19
- package/dist/feedback.js +2 -2
- package/dist/main.js +9 -9
- package/dist/message.js +3 -3
- package/dist/pay.js +2 -2
- package/dist/style.css +1 -1
- package/dist/user.js +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
10
10
|
/* empty css */
|
|
11
11
|
import { u as Z } from "./useUploadCos-DGPnLOC9.js";
|
|
12
12
|
import { g as A } from "./apiClients-CkI47p36.js";
|
|
13
|
-
import "./FeedbackModal-
|
|
13
|
+
import "./FeedbackModal-yVKcsuaE.js";
|
|
14
14
|
import { Icon as Y } from "@iconify/vue";
|
|
15
15
|
const H = f({
|
|
16
16
|
name: "IconDown",
|
|
@@ -14,7 +14,7 @@ import { o as V, g as Te } from "./apiClients-CkI47p36.js";
|
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { u as je } from "./useUploadCos-DGPnLOC9.js";
|
|
16
16
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
import { M as Ae } from "./MessageList-
|
|
17
|
+
import { M as Ae } from "./MessageList-CrCF8mU6.js";
|
|
18
18
|
import { f as j } from "./index-D56hUMeD.js";
|
|
19
19
|
import { Bubble as ve, Prompts as Ne, Sender as Pe } from "ant-design-x-vue";
|
|
20
20
|
import { C as ye } from "./Clipboard-C8ncjaAJ.js";
|
|
@@ -3,7 +3,7 @@ import { ref as o, defineComponent as T, openBlock as i, createBlock as C, unref
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { U as ee } from "./index-D3Kp6R4z.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { M as q } from "./MessageList-
|
|
6
|
+
import { M as q } from "./MessageList-CrCF8mU6.js";
|
|
7
7
|
import { Spin as te, Breadcrumb as K, BreadcrumbItem as D, Tag as U, Modal as ae } from "@arco-design/web-vue";
|
|
8
8
|
import { o as x } from "./apiClients-CkI47p36.js";
|
|
9
9
|
import { TiptapEditor as se, TiptapTitle as ne } from "@huyooo/vue-tiptap";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import "./index-D3Kp6R4z.js";
|
|
3
|
-
import { defineComponent as B, ref as L, openBlock as i, createElementBlock as
|
|
4
|
-
import { Spin as M, Empty as
|
|
3
|
+
import { defineComponent as B, ref as L, openBlock as i, createElementBlock as r, createVNode as $, unref as m, createCommentVNode as c, normalizeClass as S, createElementVNode as d, renderSlot as a, toDisplayString as w, createBlock as f, withCtx as l, createTextVNode as u, Fragment as C, renderList as T, createSlots as V, mergeProps as g } from "vue";
|
|
4
|
+
import { Spin as M, Empty as _, Tag as k, Button as z } from "@arco-design/web-vue";
|
|
5
5
|
import { useIntersectionObserver as b } from "@vueuse/core";
|
|
6
6
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
/* empty css */
|
|
@@ -10,12 +10,9 @@ const N = {
|
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "loading"
|
|
12
12
|
}, R = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "loading-text"
|
|
15
|
-
}, E = {
|
|
16
13
|
key: 1,
|
|
17
14
|
class: "none"
|
|
18
|
-
},
|
|
15
|
+
}, E = /* @__PURE__ */ B({
|
|
19
16
|
__name: "InfiniteLoading",
|
|
20
17
|
props: {
|
|
21
18
|
loading: {
|
|
@@ -28,7 +25,7 @@ const N = {
|
|
|
28
25
|
},
|
|
29
26
|
loadingText: {
|
|
30
27
|
type: String,
|
|
31
|
-
default: "
|
|
28
|
+
default: "数据加载中..."
|
|
32
29
|
},
|
|
33
30
|
finishedText: {
|
|
34
31
|
type: String,
|
|
@@ -45,9 +42,9 @@ const N = {
|
|
|
45
42
|
},
|
|
46
43
|
emits: ["infinite"],
|
|
47
44
|
setup(e, {
|
|
48
|
-
emit:
|
|
45
|
+
emit: o
|
|
49
46
|
}) {
|
|
50
|
-
const t = e, h =
|
|
47
|
+
const t = e, h = o, y = L(null);
|
|
51
48
|
return b(y, ([{
|
|
52
49
|
isIntersecting: s
|
|
53
50
|
}]) => {
|
|
@@ -55,31 +52,33 @@ const N = {
|
|
|
55
52
|
!t.loading && !t.finished && h("infinite");
|
|
56
53
|
}, {
|
|
57
54
|
threshold: t.threshold
|
|
58
|
-
}), (s,
|
|
55
|
+
}), (s, p) => (i(), r("div", {
|
|
59
56
|
ref_key: "container",
|
|
60
57
|
ref: y,
|
|
61
58
|
class: "infinite-loading"
|
|
62
|
-
}, [e.loading ? (i(),
|
|
59
|
+
}, [e.loading ? (i(), r("div", N, [$(m(M), {
|
|
60
|
+
tip: e.loadingText
|
|
61
|
+
}, null, 8, ["tip"])])) : c("", !0), e.finished && e.showFinishedText ? (i(), r("div", R, [$(m(_), {
|
|
63
62
|
description: e.finishedText
|
|
64
|
-
}, null, 8, ["description"])]
|
|
63
|
+
}, null, 8, ["description"])])) : c("", !0)], 512));
|
|
65
64
|
}
|
|
66
|
-
}),
|
|
65
|
+
}), F = /* @__PURE__ */ I(E, [["__scopeId", "data-v-367cd24c"]]), x = {
|
|
67
66
|
class: "message-item__content"
|
|
68
|
-
},
|
|
67
|
+
}, A = {
|
|
69
68
|
class: "message-item__header"
|
|
70
|
-
},
|
|
69
|
+
}, D = {
|
|
71
70
|
class: "message-item__title"
|
|
72
|
-
},
|
|
71
|
+
}, O = {
|
|
73
72
|
class: "message-item__tags"
|
|
74
|
-
},
|
|
73
|
+
}, P = {
|
|
75
74
|
class: "message-item__description"
|
|
76
|
-
},
|
|
75
|
+
}, j = {
|
|
77
76
|
class: "message-item__footer"
|
|
78
|
-
},
|
|
77
|
+
}, q = {
|
|
79
78
|
class: "message-item__time"
|
|
80
|
-
},
|
|
79
|
+
}, G = {
|
|
81
80
|
class: "message-item__actions"
|
|
82
|
-
},
|
|
81
|
+
}, H = /* @__PURE__ */ B({
|
|
83
82
|
__name: "MessageItem",
|
|
84
83
|
props: {
|
|
85
84
|
item: {},
|
|
@@ -92,69 +91,69 @@ const N = {
|
|
|
92
91
|
},
|
|
93
92
|
emits: ["click"],
|
|
94
93
|
setup(e) {
|
|
95
|
-
return (
|
|
94
|
+
return (o, t) => (i(), r("div", {
|
|
96
95
|
class: S(["message-item", {
|
|
97
96
|
"message-item--unread": e.showReadStatus && !e.item.read
|
|
98
97
|
}]),
|
|
99
|
-
onClick: t[0] || (t[0] = (h) =>
|
|
100
|
-
}, [
|
|
98
|
+
onClick: t[0] || (t[0] = (h) => o.$emit("click", e.item))
|
|
99
|
+
}, [d("div", x, [d("div", A, [e.showReadStatus ? (i(), r("span", {
|
|
101
100
|
key: 0,
|
|
102
101
|
class: S(["message-item__dot", {
|
|
103
102
|
"message-item__dot--unread": !e.item.read
|
|
104
103
|
}])
|
|
105
|
-
}, null, 2)) :
|
|
104
|
+
}, null, 2)) : c("", !0), a(o.$slots, "prefix", {
|
|
106
105
|
item: e.item
|
|
107
|
-
}, void 0, !0),
|
|
106
|
+
}, void 0, !0), d("span", D, w(e.item.title), 1), d("div", O, [e.item.pinned ? (i(), f(m(k), {
|
|
108
107
|
key: 0,
|
|
109
108
|
color: "arcoblue",
|
|
110
109
|
size: "small"
|
|
111
110
|
}, {
|
|
112
|
-
default: l(() => [...t[1] || (t[1] = [
|
|
111
|
+
default: l(() => [...t[1] || (t[1] = [u("置顶", -1)])]),
|
|
113
112
|
_: 1
|
|
114
|
-
})) :
|
|
113
|
+
})) : c("", !0), a(o.$slots, "tags", {
|
|
115
114
|
item: e.item
|
|
116
|
-
}, () => [e.item.priority === "urgent" ? (i(),
|
|
115
|
+
}, () => [e.item.priority === "urgent" ? (i(), f(m(k), {
|
|
117
116
|
key: 0,
|
|
118
117
|
color: "red",
|
|
119
118
|
size: "small"
|
|
120
119
|
}, {
|
|
121
|
-
default: l(() => [...t[2] || (t[2] = [
|
|
120
|
+
default: l(() => [...t[2] || (t[2] = [u("紧急", -1)])]),
|
|
122
121
|
_: 1
|
|
123
|
-
})) : e.item.priority === "important" ? (i(),
|
|
122
|
+
})) : e.item.priority === "important" ? (i(), f(m(k), {
|
|
124
123
|
key: 1,
|
|
125
124
|
color: "orange",
|
|
126
125
|
size: "small"
|
|
127
126
|
}, {
|
|
128
|
-
default: l(() => [...t[3] || (t[3] = [
|
|
127
|
+
default: l(() => [...t[3] || (t[3] = [u("重要", -1)])]),
|
|
129
128
|
_: 1
|
|
130
|
-
})) : e.item.priority === "high" ? (i(),
|
|
129
|
+
})) : e.item.priority === "high" ? (i(), f(m(k), {
|
|
131
130
|
key: 2,
|
|
132
131
|
color: "orange",
|
|
133
132
|
size: "small"
|
|
134
133
|
}, {
|
|
135
|
-
default: l(() => [...t[4] || (t[4] = [
|
|
134
|
+
default: l(() => [...t[4] || (t[4] = [u("高", -1)])]),
|
|
136
135
|
_: 1
|
|
137
|
-
})) :
|
|
136
|
+
})) : c("", !0)], !0)])]), d("div", P, [a(o.$slots, "description", {
|
|
138
137
|
item: e.item
|
|
139
|
-
}, () => [
|
|
138
|
+
}, () => [u(w(e.item.description), 1)], !0)]), d("div", j, [d("span", q, w(e.item.createAt), 1), a(o.$slots, "footer", {
|
|
140
139
|
item: e.item
|
|
141
|
-
}, void 0, !0)])]),
|
|
140
|
+
}, void 0, !0)])]), d("div", G, [a(o.$slots, "actions", {
|
|
142
141
|
item: e.item
|
|
143
|
-
}, () => [e.showViewButton ? (i(),
|
|
142
|
+
}, () => [e.showViewButton ? (i(), f(m(z), {
|
|
144
143
|
key: 0,
|
|
145
144
|
type: "text",
|
|
146
145
|
size: "small"
|
|
147
146
|
}, {
|
|
148
|
-
default: l(() => [...t[5] || (t[5] = [
|
|
147
|
+
default: l(() => [...t[5] || (t[5] = [u("查看", -1)])]),
|
|
149
148
|
_: 1
|
|
150
|
-
})) :
|
|
149
|
+
})) : c("", !0)], !0)])], 2));
|
|
151
150
|
}
|
|
152
|
-
}),
|
|
151
|
+
}), J = /* @__PURE__ */ I(H, [["__scopeId", "data-v-ca3f3399"]]), K = {
|
|
153
152
|
class: "message-list"
|
|
154
|
-
},
|
|
153
|
+
}, Q = {
|
|
155
154
|
key: 0,
|
|
156
155
|
class: "message-list__empty"
|
|
157
|
-
},
|
|
156
|
+
}, U = /* @__PURE__ */ B({
|
|
158
157
|
__name: "MessageList",
|
|
159
158
|
props: {
|
|
160
159
|
messageList: {},
|
|
@@ -173,62 +172,62 @@ const N = {
|
|
|
173
172
|
},
|
|
174
173
|
emits: ["itemClick", "loadMore"],
|
|
175
174
|
setup(e, {
|
|
176
|
-
emit:
|
|
175
|
+
emit: o
|
|
177
176
|
}) {
|
|
178
|
-
const t = e, h =
|
|
177
|
+
const t = e, h = o;
|
|
179
178
|
function y(s) {
|
|
180
179
|
h("itemClick", s);
|
|
181
180
|
}
|
|
182
|
-
return (s,
|
|
181
|
+
return (s, p) => (i(), r("div", K, [t.messageList.length === 0 && !t.loading ? (i(), r("div", Q, [$(m(_), {
|
|
183
182
|
description: "暂无消息"
|
|
184
|
-
})])) : (i(),
|
|
183
|
+
})])) : (i(), r(C, {
|
|
185
184
|
key: 1
|
|
186
|
-
}, [(i(!0),
|
|
185
|
+
}, [(i(!0), r(C, null, T(t.messageList, (v) => (i(), f(J, {
|
|
187
186
|
key: v.id,
|
|
188
187
|
item: v,
|
|
189
188
|
"show-read-status": t.showReadStatus,
|
|
190
189
|
"show-view-button": t.showViewButton,
|
|
191
|
-
onClick: (
|
|
192
|
-
},
|
|
190
|
+
onClick: (n) => y(v)
|
|
191
|
+
}, V({
|
|
193
192
|
_: 2
|
|
194
193
|
}, [s.$slots.prefix ? {
|
|
195
194
|
name: "prefix",
|
|
196
|
-
fn: l((
|
|
195
|
+
fn: l((n) => [a(s.$slots, "prefix", g({
|
|
197
196
|
ref_for: !0
|
|
198
|
-
},
|
|
197
|
+
}, n), void 0, !0)]),
|
|
199
198
|
key: "0"
|
|
200
199
|
} : void 0, s.$slots.tags ? {
|
|
201
200
|
name: "tags",
|
|
202
|
-
fn: l((
|
|
201
|
+
fn: l((n) => [a(s.$slots, "tags", g({
|
|
203
202
|
ref_for: !0
|
|
204
|
-
},
|
|
203
|
+
}, n), void 0, !0)]),
|
|
205
204
|
key: "1"
|
|
206
205
|
} : void 0, s.$slots.description ? {
|
|
207
206
|
name: "description",
|
|
208
|
-
fn: l((
|
|
207
|
+
fn: l((n) => [a(s.$slots, "description", g({
|
|
209
208
|
ref_for: !0
|
|
210
|
-
},
|
|
209
|
+
}, n), void 0, !0)]),
|
|
211
210
|
key: "2"
|
|
212
211
|
} : void 0, s.$slots.footer ? {
|
|
213
212
|
name: "footer",
|
|
214
|
-
fn: l((
|
|
213
|
+
fn: l((n) => [a(s.$slots, "footer", g({
|
|
215
214
|
ref_for: !0
|
|
216
|
-
},
|
|
215
|
+
}, n), void 0, !0)]),
|
|
217
216
|
key: "3"
|
|
218
217
|
} : void 0, s.$slots.actions ? {
|
|
219
218
|
name: "actions",
|
|
220
|
-
fn: l((
|
|
219
|
+
fn: l((n) => [a(s.$slots, "actions", g({
|
|
221
220
|
ref_for: !0
|
|
222
|
-
},
|
|
221
|
+
}, n), void 0, !0)]),
|
|
223
222
|
key: "4"
|
|
224
|
-
} : void 0]), 1032, ["item", "show-read-status", "show-view-button", "onClick"]))), 128)),
|
|
223
|
+
} : void 0]), 1032, ["item", "show-read-status", "show-view-button", "onClick"]))), 128)), $(F, {
|
|
225
224
|
loading: t.loading,
|
|
226
225
|
finished: t.finished,
|
|
227
|
-
onInfinite:
|
|
226
|
+
onInfinite: p[0] || (p[0] = (v) => s.$emit("loadMore"))
|
|
228
227
|
}, null, 8, ["loading", "finished"])], 64))]));
|
|
229
228
|
}
|
|
230
|
-
}),
|
|
229
|
+
}), oe = /* @__PURE__ */ I(U, [["__scopeId", "data-v-991c4730"]]);
|
|
231
230
|
export {
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
F as I,
|
|
232
|
+
oe as M
|
|
234
233
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent as f, ref as p, openBlock as t, createElementBlock as i
|
|
|
2
2
|
import { Icon as D } from "@iconify/vue";
|
|
3
3
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { o as $ } from "./apiClients-CkI47p36.js";
|
|
5
|
-
import { D as x } from "./MessageHandle-
|
|
5
|
+
import { D as x } from "./MessageHandle-rRAQnE-q.js";
|
|
6
6
|
const b = /* @__PURE__ */ f({
|
|
7
7
|
__name: "MessageMenuItem",
|
|
8
8
|
props: {
|