@huyooo/ui 1.0.3 → 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-nsxN4Ja4.js +0 -276
- 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-lWnEioX5.js +0 -1241
- package/dist/PricingPlans-DFcjOMWS.js +0 -404
- package/dist/ReferrerReferees-Cn7KaO8z.js +0 -106
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-P0X1Exyu.js +0 -520
- package/dist/WidthContainer-CF3qOLWW.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,276 +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 j, ref as q, computed as _, onMounted as Y, nextTick as A, watch as Z, onBeforeUnmount as I, openBlock as o, createElementBlock as r, normalizeStyle as x, normalizeClass as w, renderSlot as P, useModel as L, createVNode as z, unref as u, withCtx as K, createElementVNode as v, createBlock as W, createCommentVNode as y, Fragment as m, renderList as E, toDisplayString as N, createTextVNode as ee, mergeModels as T, useSlots as te } from "vue";
|
|
9
|
-
import { Spin as ne, Checkbox as V, Tooltip as ie, Empty as le, Pagination as ae } from "@arco-design/web-vue";
|
|
10
|
-
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
import { g as S, a as B } from "./index-D56hUMeD.js";
|
|
12
|
-
const oe = /* @__PURE__ */ j({
|
|
13
|
-
__name: "Ellipsis",
|
|
14
|
-
props: {
|
|
15
|
-
open: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
required: !1,
|
|
18
|
-
default: () => !0
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(h) {
|
|
22
|
-
const g = h, t = q(null), f = q(0), d = _(() => {
|
|
23
|
-
var C, k;
|
|
24
|
-
if (!g.open || f.value === 0)
|
|
25
|
-
return {};
|
|
26
|
-
const s = (k = (C = t.value) == null ? void 0 : C.parentElement) == null ? void 0 : k.style.width;
|
|
27
|
-
return s && s !== "auto" ? {
|
|
28
|
-
width: s
|
|
29
|
-
} : {
|
|
30
|
-
width: `${f.value}px`
|
|
31
|
-
};
|
|
32
|
-
});
|
|
33
|
-
function p() {
|
|
34
|
-
t.value && g.open && A(() => {
|
|
35
|
-
t.value && (f.value = t.value.clientWidth);
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
function c() {
|
|
39
|
-
p();
|
|
40
|
-
}
|
|
41
|
-
return Y(() => {
|
|
42
|
-
g.open && A(() => {
|
|
43
|
-
p(), window.addEventListener("resize", c);
|
|
44
|
-
});
|
|
45
|
-
}), Z(() => g.open, (s) => {
|
|
46
|
-
s ? (p(), window.addEventListener("resize", c)) : window.removeEventListener("resize", c);
|
|
47
|
-
}), I(() => {
|
|
48
|
-
window.removeEventListener("resize", c);
|
|
49
|
-
}), (s, C) => (o(), r("div", {
|
|
50
|
-
ref_key: "ellipsisContainer",
|
|
51
|
-
ref: t,
|
|
52
|
-
class: w({
|
|
53
|
-
ellipsis: h.open
|
|
54
|
-
}),
|
|
55
|
-
style: x(h.open ? d.value : {})
|
|
56
|
-
}, [P(s.$slots, "default", {}, void 0, !0)], 6));
|
|
57
|
-
}
|
|
58
|
-
}), se = /* @__PURE__ */ R(oe, [["__scopeId", "data-v-4874d041"]]), re = {
|
|
59
|
-
class: "CubeTableCom"
|
|
60
|
-
}, de = {
|
|
61
|
-
class: "tableContain"
|
|
62
|
-
}, ue = {
|
|
63
|
-
class: "table-header"
|
|
64
|
-
}, ce = {
|
|
65
|
-
key: 0,
|
|
66
|
-
class: "header-cell checkbox-cell"
|
|
67
|
-
}, pe = {
|
|
68
|
-
class: "table-body"
|
|
69
|
-
}, fe = ["onMouseenter", "onMouseleave"], he = {
|
|
70
|
-
key: 0,
|
|
71
|
-
class: "contain"
|
|
72
|
-
}, ve = {
|
|
73
|
-
class: "pagination"
|
|
74
|
-
}, ge = /* @__PURE__ */ j({
|
|
75
|
-
__name: "CustomTable",
|
|
76
|
-
props: /* @__PURE__ */ T({
|
|
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__ */ T(["mouseenter", "mouseleave", "pageChange", "pageSizeChange"], ["update:selectedKeys", "update:activeKey"]),
|
|
123
|
-
setup(h, {
|
|
124
|
-
emit: g
|
|
125
|
-
}) {
|
|
126
|
-
const t = h, f = g, d = L(h, "selectedKeys"), p = L(h, "activeKey");
|
|
127
|
-
function c(e, a) {
|
|
128
|
-
return e[t.rowKey] ?? String(a);
|
|
129
|
-
}
|
|
130
|
-
function s(e, a) {
|
|
131
|
-
const n = c(e, a);
|
|
132
|
-
return d.value.includes(n);
|
|
133
|
-
}
|
|
134
|
-
const C = _(() => t.data.length === 0 ? !1 : t.data.every((e, a) => s(e, a))), k = _(() => {
|
|
135
|
-
if (t.data.length === 0) return !1;
|
|
136
|
-
const e = t.data.filter((a, n) => s(a, n)).length;
|
|
137
|
-
return e > 0 && e < t.data.length;
|
|
138
|
-
});
|
|
139
|
-
function H(e, a, n) {
|
|
140
|
-
const i = c(e, a);
|
|
141
|
-
n ? d.value.includes(i) || (d.value = [...d.value, i]) : d.value = d.value.filter((l) => l !== i);
|
|
142
|
-
}
|
|
143
|
-
function O(e) {
|
|
144
|
-
if (Array.isArray(e) ? e.length > 0 : e) {
|
|
145
|
-
const n = t.data.map((l, b) => c(l, b)), i = /* @__PURE__ */ new Set([...d.value, ...n]);
|
|
146
|
-
d.value = Array.from(i);
|
|
147
|
-
} else {
|
|
148
|
-
const n = new Set(t.data.map((i, l) => c(i, l)));
|
|
149
|
-
d.value = d.value.filter((i) => !n.has(i));
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
const D = _(() => {
|
|
153
|
-
const e = t.columns.map((a) => a.width ? `${a.width}px` : a.minWidth ? `minmax(${a.minWidth}px, 1fr)` : "minmax(120px, 1fr)");
|
|
154
|
-
return t.rowSelection && e.unshift("48px"), e.join(" ");
|
|
155
|
-
}), F = _(() => `${t.columns.reduce((a, n) => {
|
|
156
|
-
const i = Number(n.width || n.minWidth || 120);
|
|
157
|
-
return a + i;
|
|
158
|
-
}, t.rowSelection ? 48 : 0)}px`);
|
|
159
|
-
function M(e) {
|
|
160
|
-
const a = {};
|
|
161
|
-
return e.maxWidth && (a.maxWidth = `${e.maxWidth}px`), a;
|
|
162
|
-
}
|
|
163
|
-
function J(e) {
|
|
164
|
-
f("pageChange", e);
|
|
165
|
-
}
|
|
166
|
-
function U(e) {
|
|
167
|
-
f("pageSizeChange", e);
|
|
168
|
-
}
|
|
169
|
-
function G(e) {
|
|
170
|
-
const a = te();
|
|
171
|
-
return e ? !!a[e] : !1;
|
|
172
|
-
}
|
|
173
|
-
function $(e) {
|
|
174
|
-
return typeof e.cellClassName != "string" ? !1 : e.cellClassName.split(/\s+/).includes("catalog-cell-wrap");
|
|
175
|
-
}
|
|
176
|
-
function Q(e) {
|
|
177
|
-
p.value = e, f("mouseenter", e);
|
|
178
|
-
}
|
|
179
|
-
function X(e) {
|
|
180
|
-
p.value = -1, f("mouseleave", e);
|
|
181
|
-
}
|
|
182
|
-
return (e, a) => (o(), r("div", re, [z(u(ne), {
|
|
183
|
-
loading: t.loading,
|
|
184
|
-
tip: "数据加载中"
|
|
185
|
-
}, {
|
|
186
|
-
default: K(() => [v("div", de, [v("div", {
|
|
187
|
-
class: "flex-table",
|
|
188
|
-
style: x({
|
|
189
|
-
"grid-template-columns": D.value,
|
|
190
|
-
"min-width": F.value
|
|
191
|
-
})
|
|
192
|
-
}, [v("div", ue, [t.rowSelection ? (o(), r("div", ce, [t.rowSelection.showCheckedAll !== !1 ? (o(), W(u(V), {
|
|
193
|
-
key: 0,
|
|
194
|
-
"model-value": C.value,
|
|
195
|
-
indeterminate: k.value,
|
|
196
|
-
onChange: O
|
|
197
|
-
}, null, 8, ["model-value", "indeterminate"])) : y("", !0)])) : y("", !0), (o(!0), r(m, null, E(t.columns, (n, i) => (o(), r("div", {
|
|
198
|
-
key: i,
|
|
199
|
-
class: w(["header-cell", {
|
|
200
|
-
fixed: n.fixed,
|
|
201
|
-
fixedBackground: n.fixed,
|
|
202
|
-
lastBorder: i === t.columns.length - 1
|
|
203
|
-
}]),
|
|
204
|
-
style: x(M(n))
|
|
205
|
-
}, N(n.title), 7))), 128))]), v("div", pe, [(o(!0), r(m, null, E(t.data, (n, i) => (o(), r("div", {
|
|
206
|
-
key: c(n, i),
|
|
207
|
-
class: w(["table-row", {
|
|
208
|
-
trListHover: i === p.value,
|
|
209
|
-
"row-selected": s(n, i)
|
|
210
|
-
}]),
|
|
211
|
-
onMouseenter: (l) => Q(i),
|
|
212
|
-
onMouseleave: (l) => X(i)
|
|
213
|
-
}, [t.rowSelection ? (o(), r("div", {
|
|
214
|
-
key: 0,
|
|
215
|
-
class: w(["body-cell checkbox-cell", {
|
|
216
|
-
trListHover: i === p.value,
|
|
217
|
-
"row-selected": s(n, i)
|
|
218
|
-
}])
|
|
219
|
-
}, [z(u(V), {
|
|
220
|
-
"model-value": s(n, i),
|
|
221
|
-
onChange: (l) => H(n, i, l)
|
|
222
|
-
}, null, 8, ["model-value", "onChange"])], 2)) : y("", !0), (o(!0), r(m, null, E(t.columns, (l, b) => (o(), r("div", {
|
|
223
|
-
key: b,
|
|
224
|
-
class: w(["body-cell", {
|
|
225
|
-
[l.cellClassName]: typeof l.cellClassName == "string",
|
|
226
|
-
fixed: l.fixed,
|
|
227
|
-
trListHover: i === p.value,
|
|
228
|
-
"row-selected": s(n, i),
|
|
229
|
-
lastBorder: b === t.columns.length - 1
|
|
230
|
-
}]),
|
|
231
|
-
style: x(M(l))
|
|
232
|
-
}, [v("div", {
|
|
233
|
-
class: w(["body-cell-inner", {
|
|
234
|
-
"body-cell-inner--wrap": $(l)
|
|
235
|
-
}])
|
|
236
|
-
}, [z(se, {
|
|
237
|
-
open: !!l.ellipsis && !$(l)
|
|
238
|
-
}, {
|
|
239
|
-
default: K(() => [G(l.slotName) ? P(e.$slots, l.slotName, {
|
|
240
|
-
key: 0,
|
|
241
|
-
record: n
|
|
242
|
-
}, void 0, !0) : (o(), r(m, {
|
|
243
|
-
key: 1
|
|
244
|
-
}, [l.dataIndex ? (o(), r(m, {
|
|
245
|
-
key: 0
|
|
246
|
-
}, [l.tooltip ? (o(), W(u(ie), {
|
|
247
|
-
key: 0,
|
|
248
|
-
content: u(S)(u(B)(n, l.dataIndex)),
|
|
249
|
-
position: "bottom"
|
|
250
|
-
}, {
|
|
251
|
-
default: K(() => [v("span", null, N(u(S)(u(B)(n, l.dataIndex))), 1)]),
|
|
252
|
-
_: 2
|
|
253
|
-
}, 1032, ["content"])) : (o(), r(m, {
|
|
254
|
-
key: 1
|
|
255
|
-
}, [ee(N(u(S)(u(B)(n, l.dataIndex))), 1)], 64))], 64)) : y("", !0)], 64))]),
|
|
256
|
-
_: 2
|
|
257
|
-
}, 1032, ["open"])], 2)], 6))), 128))], 42, fe))), 128))])], 4), t.data.length === 0 ? (o(), r("div", he, [z(u(le))])) : y("", !0)]), v("div", ve, [t.pagination ? (o(), W(u(ae), {
|
|
258
|
-
key: 0,
|
|
259
|
-
current: t.pagination.current,
|
|
260
|
-
total: t.pagination.total,
|
|
261
|
-
"page-size": t.pagination.pageSize,
|
|
262
|
-
"show-total": t.pagination.showTotal,
|
|
263
|
-
"show-jumper": t.pagination.showJumper,
|
|
264
|
-
"show-page-size": t.pagination.showPageSize,
|
|
265
|
-
"page-size-options": t.pagination.pageSizeOptions,
|
|
266
|
-
onChange: J,
|
|
267
|
-
onPageSizeChange: U
|
|
268
|
-
}, null, 8, ["current", "total", "page-size", "show-total", "show-jumper", "show-page-size", "page-size-options"])) : y("", !0)])]),
|
|
269
|
-
_: 3
|
|
270
|
-
}, 8, ["loading"])]));
|
|
271
|
-
}
|
|
272
|
-
}), Ee = /* @__PURE__ */ R(ge, [["__scopeId", "data-v-66635fad"]]);
|
|
273
|
-
export {
|
|
274
|
-
Ee as C,
|
|
275
|
-
se as E
|
|
276
|
-
};
|