@huyooo/ui 1.0.2 → 1.0.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/AuthkitAppSetting-BN8-xgNq.js +2674 -0
- package/dist/{Contact-M6iyuyNL.js → Contact-DBH8CyKp.js} +105 -113
- package/dist/CustomTable-BzGfaAVH.js +276 -0
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-B9BqGWm8.js +1480 -0
- package/dist/LandingPageDescription-BczWZHKy.js +12 -0
- package/dist/{LandingPageLinkGroup-DDNRivMt.js → LandingPageLinkGroup-r-t3H1X0.js} +87 -88
- package/dist/LandingPageSectionHeader-CVAqc7bx.js +137 -0
- package/dist/{LandingPageSectionTabs-Ce3_Rc2L.js → LandingPageSectionTabs-DhKpOj5F.js} +300 -309
- package/dist/LegalDocViewer-DlaLKGyX.js +2501 -0
- package/dist/Menu-uCexrsKP.js +199 -0
- package/dist/MessageHandle-mEkCsv9e.js +1173 -0
- package/dist/MessageList-Ce-_LNTk.js +244 -0
- package/dist/PaySubscriptions-CXkEjqr2.js +1326 -0
- package/dist/PricingPlans-DoWP5aX7.js +427 -0
- package/dist/ReferrerReferees-DgygiIiE.js +237 -0
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-B6NOZjK0.js → Upload.vue_vue_type_script_setup_true_lang-VGh2V4o0.js} +1 -1
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-zgjpFVln.js +592 -0
- package/dist/WidthContainer-PeWkCK0p.js +721 -0
- package/dist/{apiClients-DrGX2iJy.js → apiClients-BcXOLuYu.js} +131 -98
- package/dist/authkit.d.ts +6 -2
- package/dist/authkit.js +53 -44
- package/dist/common/authProviderIcons.d.ts +12 -0
- package/dist/common/globalConfig.d.ts +5 -0
- package/dist/common/tableColumnWidths.d.ts +11 -0
- package/dist/common.js +3 -3
- package/dist/components/AuthProviderIcon.vue.d.ts +12 -0
- package/dist/components/Authkit/AppSetting/AuthkitEmailVerify.vue.d.ts +2 -2
- package/dist/components/Authkit/AppSetting/AuthkitOAuthBinding.vue.d.ts +2 -1
- package/dist/components/Authkit/AppSetting/AuthkitPasskeyBinding.vue.d.ts +14 -0
- package/dist/components/Authkit/AppSetting/AuthkitPasswordUpdate.vue.d.ts +11 -1
- package/dist/components/Authkit/AppSetting/AuthkitPersonalInformation.vue.d.ts +1 -3
- package/dist/components/Authkit/AppSetting/AuthkitPhoneVerify.vue.d.ts +13 -3
- package/dist/components/Authkit/Auth/AuthkitBindEmail.vue.d.ts +29 -2
- package/dist/components/Authkit/Auth/AuthkitBindPhone.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitEmailUpdate.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitOauthItem.vue.d.ts +37 -9
- package/dist/components/Authkit/Auth/AuthkitOauthList.vue.d.ts +7 -11
- package/dist/components/Authkit/Auth/AuthkitPasswordUpdateAndVerify.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitPhonePasswordUpdateAndVerify.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitServiceAgreementAndPrivacyProtection.vue.d.ts +11 -7
- package/dist/components/Authkit/Auth/AuthkitSignInEmailCode.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitSignInPhone.vue.d.ts +3 -62
- package/dist/components/Authkit/Auth/AuthkitSignUpPhone.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitSwitchSignUpOrResetPassword.vue.d.ts +9 -0
- package/dist/components/Authkit/AuthkitAuth.vue.d.ts +2 -8
- package/dist/components/Authkit/AuthkitAuthModal.vue.d.ts +0 -4
- package/dist/components/Authkit/AuthkitProvider.vue.d.ts +5 -2
- package/dist/components/Authkit/AuthkitSendVerifyCode.vue.d.ts +2 -1
- package/dist/components/CustomTable.vue.d.ts +27 -1
- package/dist/components/Ellipsis.vue.d.ts +2 -6
- package/dist/components/Feedback/FeedbackList.vue.d.ts +4 -1
- package/dist/components/Gradientbackground.vue.d.ts +2 -2
- package/dist/components/HeaderMenus.vue.d.ts +4 -1
- package/dist/components/InfiniteLoading.vue.d.ts +1 -1
- package/dist/components/LandingPage/LandingPageContainer.vue.d.ts +2 -2
- package/dist/components/LandingPage/LandingPagePageContent.vue.d.ts +2 -2
- package/dist/components/LegalDoc/LegalDocViewer.vue.d.ts +7 -0
- package/dist/components/Menu.vue.d.ts +2 -1
- package/dist/components/MenuItem.vue.d.ts +3 -1
- package/dist/components/Message/MessageAppMessage.vue.d.ts +12 -2
- package/dist/components/Message/MessageDetails.vue.d.ts +9 -161
- package/dist/components/Message/MessageHandle.vue.d.ts +16 -4
- package/dist/components/Message/MessageList.vue.d.ts +4 -3
- package/dist/components/Message/MessageNotificationDetails.vue.d.ts +13 -0
- package/dist/components/Message/messageBody/DescriptionsMessageBody.vue.d.ts +3 -0
- package/dist/components/Message/messageBody/JsonMessageBodyFallback.vue.d.ts +3 -0
- package/dist/components/Message/messageBody/TextMessageBody.vue.d.ts +3 -0
- package/dist/components/Message/messageBody/descriptionRows.d.ts +14 -0
- package/dist/components/Message/messageBody/descriptionsMessageBody.d.ts +32 -0
- package/dist/components/Message/messageBody/descriptionsValueRender.d.ts +4 -0
- package/dist/components/Message/messageBody/messageBodyRegistry.d.ts +9 -0
- package/dist/components/Message/messageBody/registerBuiltinMessageBodies.d.ts +2 -0
- package/dist/components/Message/messageBody/types.d.ts +7 -0
- package/dist/components/Referrer/ReferrerRefereeCell.vue.d.ts +7 -0
- package/dist/components/Referrer/ReferrerReferees.vue.d.ts +1 -0
- package/dist/components/UserMenu/UserAccountMenu.vue.d.ts +1 -16
- package/dist/components/UserMenu/UserMenuItem.vue.d.ts +4 -0
- package/dist/components/UserMenu/UserMenuModals.vue.d.ts +18 -4
- package/dist/components/UserMenu/parts/UserAvatar.vue.d.ts +6 -0
- package/dist/components/UserMenu/parts/UserBasicInformation.vue.d.ts +7 -2
- package/dist/composables/Authkit/fetchAuthPageAboutUs.d.ts +3 -0
- package/dist/composables/Authkit/resolveRoutePermission.d.ts +2 -0
- package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +16 -0
- package/dist/composables/Authkit/useAuthkitAuth.d.ts +2 -0
- package/dist/composables/Authkit/useAuthkitPasskey.d.ts +10 -0
- package/dist/composables/Authkit/useLegalDocHostActions.d.ts +6 -0
- package/dist/composables/Authkit/useLegalDocs.d.ts +19 -0
- package/dist/composables/Authkit/useOauth.d.ts +17 -4
- package/dist/composables/Authkit/useRegistrationTerms.d.ts +24 -0
- package/dist/composables/Authkit/verifyCodeCooldown.d.ts +19 -0
- package/dist/composables/Billing/useBillingPlans.d.ts +0 -4
- package/dist/composables/Billing/useBillingStatusOptions.d.ts +2 -6
- package/dist/composables/Billing/useBillingSubscriptionSummary.d.ts +16 -0
- package/dist/composables/Billing/usePaidProductOptions.d.ts +5 -0
- package/dist/composables/Message/messageCenterBadgeCounts.d.ts +28 -0
- package/dist/composables/UserMenu/useUserMenuBadgeCounts.d.ts +9 -0
- package/dist/composables/useInfiniteList.d.ts +19 -0
- package/dist/composables/useMessageNotifications.d.ts +3 -6
- package/dist/composables.d.ts +4 -2
- package/dist/composables.js +50 -45
- package/dist/feedback.d.ts +1 -0
- package/dist/feedback.js +12 -11
- package/dist/fetchAuthPageAboutUs-dzTSwRsB.js +25 -0
- package/dist/{Clipboard-Bo7gdpR6.js → index-BkLvw1PU.js} +1 -1
- package/dist/landingPage.js +21 -21
- package/dist/legalDocs/buildBuiltinUrl.d.ts +3 -0
- package/dist/{utils/legalLinks.d.ts → legalDocs/constants.d.ts} +0 -10
- package/dist/legalDocs/index.d.ts +7 -0
- package/dist/legalDocs/isConfigured.d.ts +7 -0
- package/dist/legalDocs/open.d.ts +3 -0
- package/dist/legalDocs/resolveAppId.d.ts +8 -0
- package/dist/legalDocs/resolveTarget.d.ts +4 -0
- package/dist/legalDocs/types.d.ts +12 -0
- package/dist/main.js +320 -308
- package/dist/message.d.ts +3 -0
- package/dist/message.js +301 -21
- package/dist/pay.d.ts +1 -1
- package/dist/pay.js +14 -17
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +1385 -328
- package/dist/types/api/billing.generated.d.ts +907 -76
- package/dist/types/api/ones.generated.d.ts +131 -2
- package/dist/types/api.d.ts +1 -0
- package/dist/types/app.d.ts +10 -0
- package/dist/types/user.d.ts +1 -0
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-C2yKgl8t.js → useAuthkitAppsAuthPageInfo-CNudJd04.js} +18 -17
- package/dist/useAuthkitAuth-3m0yW6uP.js +267 -0
- package/dist/{useAuthkitCreateAndUpdate-oo9517Gj.js → useAuthkitCreateAndUpdate-BsINsI-E.js} +1 -1
- package/dist/{useAuthkitUsersProfile-BZDk21c8.js → useAuthkitUsersProfile-DJlMsftY.js} +3 -3
- package/dist/useBillingStatusOptions-CfHQOFNw.js +71 -0
- package/dist/{useEnsureAuthenticated-BuIbxqsO.js → useEnsureAuthenticated-DNkCCy_Y.js} +2 -2
- package/dist/useLegalDocs-DQP_Yq6B.js +106 -0
- package/dist/{useMessageNotifications-D85_-mDq.js → useMessageNotifications-CAphguOm.js} +21 -24
- package/dist/useRoutePermission-CEiya9AM.js +218 -0
- package/dist/useSEO-CDWxbk8B.js +221 -0
- package/dist/useSubscriptionCheckout-d_M_rKRa.js +368 -0
- package/dist/{useUploadCos-BRKRzSy3.js → useUploadCos-C8BqFPkx.js} +1 -1
- package/dist/user.js +1 -1
- package/dist/userMenuModal-D-nDaYqM.js +66 -0
- package/dist/utils/apiMiddlewares.d.ts +5 -5
- package/dist/utils/apiResponse.d.ts +11 -0
- package/dist/utils/authProviderIcon.d.ts +3 -0
- package/dist/utils/authkit.d.ts +20 -7
- package/dist/utils/formatPoints.d.ts +8 -0
- package/dist/utils/messageNotificationContent.d.ts +4 -0
- package/dist/utils/messageTextLink.d.ts +9 -0
- package/dist/utils/passkeySupport.d.ts +8 -0
- package/dist/utils/pointsFlowTypes.d.ts +10 -0
- package/dist/utils/pointsHistoryDisplay.d.ts +8 -0
- package/dist/utils/refundStatusDisplay.d.ts +1 -0
- package/dist/utils/subscriptionDisplay.d.ts +7 -0
- package/dist/utils/userDisplay.d.ts +41 -0
- package/package.json +11 -3
- package/dist/AuthkitAppSetting-C-0uuLSg.js +0 -1921
- package/dist/AuthkitGithubBinding-C5zEy9zN.js +0 -2207
- package/dist/CustomTable-CCOQxfxr.js +0 -279
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-M1NQ-rx-.js +0 -1396
- package/dist/LandingPageFAQ-CZJXvor9.js +0 -80
- package/dist/LandingPageSectionHeader-D_74W4My.js +0 -69
- package/dist/Menu-Cy2ZPeaz.js +0 -170
- package/dist/MessageHandle-BG12aX0i.js +0 -924
- package/dist/MessageList-CrCF8mU6.js +0 -233
- package/dist/MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-gsjL6yAe.js +0 -142
- package/dist/PaySubscriptions-C3KiTsQS.js +0 -1241
- package/dist/PricingPlans-uwlFiiJx.js +0 -404
- package/dist/ReferrerReferees-Zb5Bd-_e.js +0 -106
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-QWUNRjGh.js +0 -520
- package/dist/WidthContainer-BVBk0kJN.js +0 -688
- package/dist/components/Feedback/FeedbackDetails.vue.d.ts +0 -178
- package/dist/composables/Authkit/useLegalLinks.d.ts +0 -34
- package/dist/index-D3Kp6R4z.js +0 -4
- package/dist/useAuthkitAuth-DmS-H7M2.js +0 -175
- package/dist/useBillingStatusOptions-B7xLU3fs.js +0 -145
- package/dist/useLegalLinks-Cwr45PBT.js +0 -60
- package/dist/useRoutePermission-CaWtjLRA.js +0 -212
- package/dist/useSEO-BSMQdBR9.js +0 -158
- package/dist/useSubscriptionCheckout-BRk5h9aC.js +0 -365
- package/dist/useTableHandle-BdujaiNX.js +0 -69
- /package/dist/components/{Feedback/FeedbackVideoPreview.vue.d.ts → VideoPreview.vue.d.ts} +0 -0
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
/* empty css */
|
|
3
|
-
/* empty css */
|
|
4
|
-
import "./index-D3Kp6R4z.js";
|
|
5
|
-
/* empty css */
|
|
6
|
-
/* empty css */
|
|
7
|
-
/* empty css */
|
|
8
|
-
import { defineComponent as O, ref as q, computed as b, onMounted as Z, nextTick as A, watch as I, onBeforeUnmount as ee, openBlock as o, createElementBlock as d, normalizeStyle as x, normalizeClass as C, renderSlot as R, useModel as L, createVNode as z, unref as c, withCtx as S, createElementVNode as g, createBlock as K, createCommentVNode as m, Fragment as w, renderList as W, toDisplayString as E, createTextVNode as te, mergeModels as P, useSlots as ne } from "vue";
|
|
9
|
-
import { Spin as ie, Checkbox as V, Tooltip as le, Empty as ae, Pagination as oe } from "@arco-design/web-vue";
|
|
10
|
-
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
import { g as N, a as B } from "./index-D56hUMeD.js";
|
|
12
|
-
const se = /* @__PURE__ */ O({
|
|
13
|
-
__name: "Ellipsis",
|
|
14
|
-
props: {
|
|
15
|
-
open: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
required: !1,
|
|
18
|
-
default: () => !0
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(v) {
|
|
22
|
-
const y = v, t = q(null), h = q(0), u = b(() => {
|
|
23
|
-
var _, k;
|
|
24
|
-
if (!y.open || h.value === 0)
|
|
25
|
-
return {};
|
|
26
|
-
const r = (k = (_ = t.value) == null ? void 0 : _.parentElement) == null ? void 0 : k.style.width;
|
|
27
|
-
return r && r !== "auto" ? {
|
|
28
|
-
width: r
|
|
29
|
-
} : {
|
|
30
|
-
width: `${h.value}px`
|
|
31
|
-
};
|
|
32
|
-
});
|
|
33
|
-
function f() {
|
|
34
|
-
t.value && y.open && A(() => {
|
|
35
|
-
t.value && (h.value = t.value.clientWidth);
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
function p() {
|
|
39
|
-
f();
|
|
40
|
-
}
|
|
41
|
-
return Z(() => {
|
|
42
|
-
y.open && A(() => {
|
|
43
|
-
f(), window.addEventListener("resize", p);
|
|
44
|
-
});
|
|
45
|
-
}), I(() => y.open, (r) => {
|
|
46
|
-
r ? (f(), window.addEventListener("resize", p)) : window.removeEventListener("resize", p);
|
|
47
|
-
}), ee(() => {
|
|
48
|
-
window.removeEventListener("resize", p);
|
|
49
|
-
}), (r, _) => (o(), d("div", {
|
|
50
|
-
ref_key: "ellipsisContainer",
|
|
51
|
-
ref: t,
|
|
52
|
-
class: C({
|
|
53
|
-
ellipsis: v.open
|
|
54
|
-
}),
|
|
55
|
-
style: x(v.open ? u.value : {})
|
|
56
|
-
}, [R(r.$slots, "default", {}, void 0, !0)], 6));
|
|
57
|
-
}
|
|
58
|
-
}), re = /* @__PURE__ */ j(se, [["__scopeId", "data-v-4874d041"]]), de = {
|
|
59
|
-
class: "CubeTableCom"
|
|
60
|
-
}, ue = {
|
|
61
|
-
class: "tableContain"
|
|
62
|
-
}, ce = {
|
|
63
|
-
class: "table-header"
|
|
64
|
-
}, pe = {
|
|
65
|
-
key: 0,
|
|
66
|
-
class: "header-cell checkbox-cell"
|
|
67
|
-
}, fe = {
|
|
68
|
-
class: "table-body"
|
|
69
|
-
}, he = ["onMouseenter", "onMouseleave"], ve = {
|
|
70
|
-
key: 0,
|
|
71
|
-
class: "contain"
|
|
72
|
-
}, ge = {
|
|
73
|
-
class: "pagination"
|
|
74
|
-
}, ye = /* @__PURE__ */ O({
|
|
75
|
-
__name: "CustomTable",
|
|
76
|
-
props: /* @__PURE__ */ P({
|
|
77
|
-
loading: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
required: !1,
|
|
80
|
-
default: () => !1
|
|
81
|
-
},
|
|
82
|
-
bordered: {
|
|
83
|
-
type: Boolean,
|
|
84
|
-
required: !1,
|
|
85
|
-
default: () => !0
|
|
86
|
-
},
|
|
87
|
-
data: {
|
|
88
|
-
type: Array,
|
|
89
|
-
required: !0
|
|
90
|
-
},
|
|
91
|
-
pagination: {
|
|
92
|
-
type: Object,
|
|
93
|
-
required: !1,
|
|
94
|
-
default: () => null
|
|
95
|
-
},
|
|
96
|
-
columns: {
|
|
97
|
-
type: Array,
|
|
98
|
-
required: !0
|
|
99
|
-
},
|
|
100
|
-
/** 行选择配置 */
|
|
101
|
-
rowSelection: {
|
|
102
|
-
type: Object,
|
|
103
|
-
required: !1,
|
|
104
|
-
default: void 0
|
|
105
|
-
},
|
|
106
|
-
/** 行数据的唯一标识字段,默认 'id' */
|
|
107
|
-
rowKey: {
|
|
108
|
-
type: String,
|
|
109
|
-
required: !1,
|
|
110
|
-
default: "id"
|
|
111
|
-
}
|
|
112
|
-
}, {
|
|
113
|
-
selectedKeys: {
|
|
114
|
-
default: () => []
|
|
115
|
-
},
|
|
116
|
-
selectedKeysModifiers: {},
|
|
117
|
-
activeKey: {
|
|
118
|
-
default: -1
|
|
119
|
-
},
|
|
120
|
-
activeKeyModifiers: {}
|
|
121
|
-
}),
|
|
122
|
-
emits: /* @__PURE__ */ P(["mouseenter", "mouseleave", "pageChange", "pageSizeChange"], ["update:selectedKeys", "update:activeKey"]),
|
|
123
|
-
setup(v, {
|
|
124
|
-
emit: y
|
|
125
|
-
}) {
|
|
126
|
-
const t = v, h = y, u = L(v, "selectedKeys"), f = L(v, "activeKey");
|
|
127
|
-
function p(e, i) {
|
|
128
|
-
return e[t.rowKey] ?? String(i);
|
|
129
|
-
}
|
|
130
|
-
function r(e, i) {
|
|
131
|
-
const s = p(e, i);
|
|
132
|
-
return u.value.includes(s);
|
|
133
|
-
}
|
|
134
|
-
const _ = b(() => t.data.length === 0 ? !1 : t.data.every((e, i) => r(e, i))), k = b(() => {
|
|
135
|
-
if (t.data.length === 0) return !1;
|
|
136
|
-
const e = t.data.filter((i, s) => r(i, s)).length;
|
|
137
|
-
return e > 0 && e < t.data.length;
|
|
138
|
-
});
|
|
139
|
-
function H(e, i, s) {
|
|
140
|
-
const n = p(e, i);
|
|
141
|
-
s ? u.value.includes(n) || (u.value = [...u.value, n]) : u.value = u.value.filter((l) => l !== n);
|
|
142
|
-
}
|
|
143
|
-
function J(e) {
|
|
144
|
-
if (Array.isArray(e) ? e.length > 0 : e) {
|
|
145
|
-
const s = t.data.map((l, a) => p(l, a)), n = /* @__PURE__ */ new Set([...u.value, ...s]);
|
|
146
|
-
u.value = Array.from(n);
|
|
147
|
-
} else {
|
|
148
|
-
const s = new Set(t.data.map((n, l) => p(n, l)));
|
|
149
|
-
u.value = u.value.filter((n) => !s.has(n));
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
const D = b(() => {
|
|
153
|
-
const e = t.columns.map((i) => i.width ? `${i.width}px` : i.minWidth ? `minmax(${i.minWidth}px, 1fr)` : "minmax(120px, 1fr)");
|
|
154
|
-
return t.rowSelection && e.unshift("48px"), e.join(" ");
|
|
155
|
-
}), F = b(() => `${t.columns.reduce((i, s) => {
|
|
156
|
-
const n = Number(s.width || s.minWidth || 120);
|
|
157
|
-
return i + n;
|
|
158
|
-
}, t.rowSelection ? 48 : 0)}px`);
|
|
159
|
-
function M(e) {
|
|
160
|
-
const i = {};
|
|
161
|
-
return e.maxWidth && (i.maxWidth = `${e.maxWidth}px`), i;
|
|
162
|
-
}
|
|
163
|
-
function U(e) {
|
|
164
|
-
h("pageChange", e);
|
|
165
|
-
}
|
|
166
|
-
function G(e) {
|
|
167
|
-
h("pageSizeChange", e);
|
|
168
|
-
}
|
|
169
|
-
function Q(e) {
|
|
170
|
-
const i = ne();
|
|
171
|
-
return e ? !!i[e] : !1;
|
|
172
|
-
}
|
|
173
|
-
function T(e) {
|
|
174
|
-
return typeof e.cellClassName != "string" ? !1 : e.cellClassName.split(/\s+/).includes("catalog-cell-wrap");
|
|
175
|
-
}
|
|
176
|
-
function X(e) {
|
|
177
|
-
f.value = e, h("mouseenter", e);
|
|
178
|
-
}
|
|
179
|
-
function Y(e) {
|
|
180
|
-
f.value = -1, h("mouseleave", e);
|
|
181
|
-
}
|
|
182
|
-
return (e, i) => (o(), d("div", de, [z(c(ie), {
|
|
183
|
-
loading: t.loading,
|
|
184
|
-
tip: "数据加载中"
|
|
185
|
-
}, {
|
|
186
|
-
default: S(() => {
|
|
187
|
-
var s;
|
|
188
|
-
return [g("div", ue, [g("div", {
|
|
189
|
-
class: "flex-table",
|
|
190
|
-
style: x({
|
|
191
|
-
"grid-template-columns": D.value,
|
|
192
|
-
"min-width": F.value
|
|
193
|
-
})
|
|
194
|
-
}, [g("div", ce, [t.rowSelection ? (o(), d("div", pe, [t.rowSelection.showCheckedAll !== !1 ? (o(), K(c(V), {
|
|
195
|
-
key: 0,
|
|
196
|
-
"model-value": _.value,
|
|
197
|
-
indeterminate: k.value,
|
|
198
|
-
onChange: J
|
|
199
|
-
}, null, 8, ["model-value", "indeterminate"])) : m("", !0)])) : m("", !0), (o(!0), d(w, null, W(t.columns, (n, l) => (o(), d("div", {
|
|
200
|
-
key: l,
|
|
201
|
-
class: C(["header-cell", {
|
|
202
|
-
fixed: n.fixed,
|
|
203
|
-
fixedBackground: n.fixed,
|
|
204
|
-
lastBorder: l === t.columns.length - 1
|
|
205
|
-
}]),
|
|
206
|
-
style: x(M(n))
|
|
207
|
-
}, E(n.title), 7))), 128))]), g("div", fe, [(o(!0), d(w, null, W(t.data, (n, l) => (o(), d("div", {
|
|
208
|
-
key: p(n, l),
|
|
209
|
-
class: C(["table-row", {
|
|
210
|
-
trListHover: l === f.value,
|
|
211
|
-
"row-selected": r(n, l)
|
|
212
|
-
}]),
|
|
213
|
-
onMouseenter: (a) => X(l),
|
|
214
|
-
onMouseleave: (a) => Y(l)
|
|
215
|
-
}, [t.rowSelection ? (o(), d("div", {
|
|
216
|
-
key: 0,
|
|
217
|
-
class: C(["body-cell checkbox-cell", {
|
|
218
|
-
trListHover: l === f.value,
|
|
219
|
-
"row-selected": r(n, l)
|
|
220
|
-
}])
|
|
221
|
-
}, [z(c(V), {
|
|
222
|
-
"model-value": r(n, l),
|
|
223
|
-
onChange: (a) => H(n, l, a)
|
|
224
|
-
}, null, 8, ["model-value", "onChange"])], 2)) : m("", !0), (o(!0), d(w, null, W(t.columns, (a, $) => (o(), d("div", {
|
|
225
|
-
key: $,
|
|
226
|
-
class: C(["body-cell", {
|
|
227
|
-
[a.cellClassName]: typeof a.cellClassName == "string",
|
|
228
|
-
fixed: a.fixed,
|
|
229
|
-
trListHover: l === f.value,
|
|
230
|
-
"row-selected": r(n, l),
|
|
231
|
-
lastBorder: $ === t.columns.length - 1
|
|
232
|
-
}]),
|
|
233
|
-
style: x(M(a))
|
|
234
|
-
}, [g("div", {
|
|
235
|
-
class: C(["body-cell-inner", {
|
|
236
|
-
"body-cell-inner--wrap": T(a)
|
|
237
|
-
}])
|
|
238
|
-
}, [z(re, {
|
|
239
|
-
open: !!a.ellipsis && !T(a)
|
|
240
|
-
}, {
|
|
241
|
-
default: S(() => [Q(a.slotName) ? R(e.$slots, a.slotName, {
|
|
242
|
-
key: 0,
|
|
243
|
-
record: n
|
|
244
|
-
}, void 0, !0) : (o(), d(w, {
|
|
245
|
-
key: 1
|
|
246
|
-
}, [a.dataIndex ? (o(), d(w, {
|
|
247
|
-
key: 0
|
|
248
|
-
}, [a.tooltip ? (o(), K(c(le), {
|
|
249
|
-
key: 0,
|
|
250
|
-
content: c(N)(c(B)(n, a.dataIndex)),
|
|
251
|
-
position: "bottom"
|
|
252
|
-
}, {
|
|
253
|
-
default: S(() => [g("span", null, E(c(N)(c(B)(n, a.dataIndex))), 1)]),
|
|
254
|
-
_: 2
|
|
255
|
-
}, 1032, ["content"])) : (o(), d(w, {
|
|
256
|
-
key: 1
|
|
257
|
-
}, [te(E(c(N)(c(B)(n, a.dataIndex))), 1)], 64))], 64)) : m("", !0)], 64))]),
|
|
258
|
-
_: 2
|
|
259
|
-
}, 1032, ["open"])], 2)], 6))), 128))], 42, he))), 128))])], 4), t.data.length === 0 ? (o(), d("div", ve, [z(c(ae))])) : m("", !0)]), g("div", ge, [t.pagination ? (o(), K(c(oe), {
|
|
260
|
-
key: 0,
|
|
261
|
-
current: t.pagination.current,
|
|
262
|
-
total: ((s = t.pagination) == null ? void 0 : s.total) || 0,
|
|
263
|
-
pageSize: t.pagination.pageSize,
|
|
264
|
-
showTotal: t.pagination.showTotal ?? !0,
|
|
265
|
-
showJumper: t.pagination.showJumper ?? !1,
|
|
266
|
-
showPageSize: t.pagination.showPageSize ?? !0,
|
|
267
|
-
pageSizeOptions: t.pagination.pageSizeOptions ?? [10, 20, 50, 100],
|
|
268
|
-
onChange: U,
|
|
269
|
-
onPageSizeChange: G
|
|
270
|
-
}, null, 8, ["current", "total", "pageSize", "showTotal", "showJumper", "showPageSize", "pageSizeOptions"])) : m("", !0)])];
|
|
271
|
-
}),
|
|
272
|
-
_: 3
|
|
273
|
-
}, 8, ["loading"])]));
|
|
274
|
-
}
|
|
275
|
-
}), Ee = /* @__PURE__ */ j(ye, [["__scopeId", "data-v-3bbfd66b"]]);
|
|
276
|
-
export {
|
|
277
|
-
Ee as C,
|
|
278
|
-
re as E
|
|
279
|
-
};
|