dlzn-ui 2.0.88 → 2.0.90
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/assets/table-Dq4nevWy.css +1 -0
- package/chunks/{AssignUser-CBq40k_h.mjs → AssignUser-C1TJqI7T.mjs} +3 -3
- package/chunks/{BasicInfo-BvKBHQyo.mjs → BasicInfo-ieKCaGwH.mjs} +1 -1
- package/chunks/{ColumnInfo-DfdyRhPB.mjs → ColumnInfo-BhkorfJI.mjs} +2 -2
- package/chunks/{Common-DgFtn6uk.mjs → Common-BvSQiKo2.mjs} +1 -1
- package/chunks/{Day-D57OuSr1.mjs → Day-CTBFWJIV.mjs} +1 -1
- package/chunks/{DictTypeDetail-DCOljFJR.mjs → DictTypeDetail-BgfdUvJ-.mjs} +2 -2
- package/chunks/{GenInfo-Cpjb07t9.mjs → GenInfo-hM-odgqv.mjs} +1 -1
- package/chunks/{Hour-C2kHsnWx.mjs → Hour-BCoOdrBX.mjs} +1 -1
- package/chunks/{Import-BZyaz6ej.mjs → Import-DXsRyeub.mjs} +2 -2
- package/chunks/{Index-BLw1K1xl.mjs → Index-C8rKiUnc.mjs} +1 -1
- package/chunks/{Index-C_Gf0Jgf.mjs → Index-CrYhNcWE.mjs} +1 -1
- package/chunks/{Index-BHTir2BG.mjs → Index-DZAUiAs7.mjs} +1 -1
- package/chunks/{Index-qbd9CTh4.mjs → Index-_rLBm48m.mjs} +1 -1
- package/chunks/{IndexItem-COlhUIdm.mjs → IndexItem-BERW_4wf.mjs} +1 -1
- package/chunks/{Log--6mSFdDa.mjs → Log-BgqKjZhH.mjs} +5 -7
- package/chunks/{LoginBg-DBc-wBJI.mjs → LoginBg-DbmOre6P.mjs} +1 -1
- package/chunks/{Minute-cq4gHso5.mjs → Minute-Br6DyEnJ.mjs} +1 -1
- package/chunks/{Month-RO9Bk7PX.mjs → Month-BSkP_NNE.mjs} +1 -1
- package/chunks/{Preview-Gx0BbBT4.mjs → Preview-Dq6tVW4P.mjs} +1 -1
- package/chunks/{Second-CKdMmksB.mjs → Second-BaOHtpcm.mjs} +1 -1
- package/chunks/{SelectDept-BPAzWxOq.mjs → SelectDept-JdE01RJl.mjs} +1 -1
- package/chunks/{SelectMenu-C8m9RvV3.mjs → SelectMenu-CBGt2RrU.mjs} +1 -1
- package/chunks/{SelectUser-DGyPbCbP.mjs → SelectUser-CQpx2HzJ.mjs} +2 -2
- package/chunks/{UserInfo-CDNoS8Vd.mjs → UserInfo-tWIden6Y.mjs} +1 -1
- package/chunks/{app-Cd7qvZaM.mjs → app-dUSiq7Ru.mjs} +1 -1
- package/chunks/{custom-page-list-DWqks1x-.mjs → custom-page-list-CUeAAYEa.mjs} +4 -4
- package/chunks/{custom-page-table-BsTYXR3M.mjs → custom-page-table-C-gi7OGt.mjs} +2 -2
- package/chunks/{job-CUY-MY_i.mjs → job-DnYhSDP4.mjs} +3 -3
- package/chunks/{overview-ub_GTqi8.mjs → overview-D_tbwhqT.mjs} +1 -1
- package/chunks/{page-list-Cigr4VQZ.mjs → page-list-VSe1LOfK.mjs} +3 -3
- package/chunks/page-query-8XmyQiCK.mjs +119 -0
- package/chunks/{page-table-B576pyOx.mjs → page-table-BdNBjt_k.mjs} +4 -4
- package/chunks/{pagination-D9VeheYA.mjs → pagination-BOb4D8uP.mjs} +1 -1
- package/chunks/{provider-BeVE1nWg.mjs → provider-CQbOYjc5.mjs} +237 -237
- package/chunks/{table-D1Jknq-w.mjs → table-BEeznK4Y.mjs} +40 -42
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/checkbox/src/checkbox.vue.d.ts +2 -2
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/cron/index.mjs +1 -1
- package/components/cron/src/Common.mjs +1 -1
- package/components/cron/src/Day.mjs +1 -1
- package/components/cron/src/Hour.mjs +1 -1
- package/components/cron/src/Minute.mjs +1 -1
- package/components/cron/src/Month.mjs +1 -1
- package/components/cron/src/Picker.mjs +6 -6
- package/components/cron/src/Second.mjs +1 -1
- package/components/cron/src/cron.mjs +1 -1
- package/components/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/date-picker/src/date-picker.vue.d.ts +2 -2
- package/components/dialog/index.mjs +1 -1
- package/components/dialog/src/dialog.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/index.mjs +9 -9
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-list/src/page-list.vue.d.ts +403 -0
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-query/src/page-query.vue.d.ts +1 -2
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/page-table/src/page-table.vue.d.ts +319 -0
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select-sys-user/index.mjs +1 -1
- package/components/select-sys-user/src/Picker.mjs +2 -2
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.d.ts +6 -1
- package/components/table/src/table.mjs +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/upload/index.mjs +1 -1
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useMountedPromise/index.d.ts +2 -0
- package/hooks/useMountedPromise/index.mjs +14 -0
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +2 -2
- package/layout/Home1.mjs +1 -1
- package/layout/Login.mjs +2 -2
- package/layout/NotFound.mjs +1 -1
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/LoginBg.mjs +1 -1
- package/layout/profile/Index.mjs +2 -2
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/main.mjs +2 -2
- package/package.json +2 -1
- package/plugins/autoImport/$alova/index.mjs +1 -1
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +1 -1
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +19 -21
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Checkbox/Index.vue.d.ts +4 -4
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +3 -3
- package/router/index.mjs +1 -1
- package/store/modules/common.mjs +1 -1
- package/store/modules/login.mjs +1 -1
- package/store/modules/recentRouters.mjs +1 -1
- package/store/modules/router.mjs +1 -1
- package/store/modules/user.mjs +1 -1
- package/views/monitor/cache/index.mjs +2 -2
- package/views/monitor/cacheList/index.mjs +2 -2
- package/views/monitor/job/index.mjs +1 -1
- package/views/monitor/logininfor/index.mjs +2 -2
- package/views/monitor/online/index.mjs +2 -2
- package/views/monitor/operlog/index.mjs +2 -2
- package/views/monitor/server/index.mjs +2 -2
- package/views/system/config/index.mjs +2 -2
- package/views/system/dept/index.mjs +2 -2
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +3 -3
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +2 -2
- package/views/system/menu/utils.mjs +1 -1
- package/views/system/notice/index.mjs +2 -2
- package/views/system/post/index.mjs +2 -2
- package/views/system/role/index.mjs +5 -5
- package/views/system/role/modules/AssignUser.mjs +1 -1
- package/views/system/role/modules/SelectDept.mjs +1 -1
- package/views/system/role/modules/SelectMenu.mjs +1 -1
- package/views/system/role/modules/SelectUser.mjs +1 -1
- package/views/system/user/index.mjs +3 -3
- package/views/tool/gen/editTable/index.mjs +27 -27
- package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
- package/views/tool/gen/index.mjs +4 -4
- package/views/tool/gen/modules/Import.mjs +1 -1
- package/views/tool/gen/modules/Preview.mjs +1 -1
- package/views/tool/job/index.mjs +1 -1
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/table-D9WewhPF.css +0 -1
- package/chunks/page-query-BmWKqp80.mjs +0 -121
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as e, _ as t, n } from "./provider-
|
|
1
|
+
import { H as e, _ as t, n } from "./provider-CQbOYjc5.mjs";
|
|
2
2
|
import { t as r } from "./icon-DnBGEq-n.mjs";
|
|
3
3
|
import "../components/icon/index.mjs";
|
|
4
4
|
import ee from "../hooks/useMQ/index.mjs";
|
|
@@ -8,12 +8,12 @@ import { getCellRender as ne } from "../plugins/tableRenders/cell/index.mjs";
|
|
|
8
8
|
import { getTitleRender as re } from "../plugins/tableRenders/title/index.mjs";
|
|
9
9
|
import "./utils-SvnLuaWm.mjs";
|
|
10
10
|
import { t as a } from "./plugin-vue_export-helper-Djzt4Yr7.mjs";
|
|
11
|
-
import { Teleport as ie, computed as o, createBlock as s, createCommentVNode as c, createElementVNode as l, createSlots as ae, createVNode as u, defineComponent as d, getCurrentInstance as oe, guardReactiveProps as f, h as p, mergeDefaults as m, mergeProps as h,
|
|
12
|
-
import { Empty as
|
|
13
|
-
import { refDebounced as T, useElementSize as E, useLocalStorage as
|
|
14
|
-
import { difference as
|
|
15
|
-
import { useRoute as
|
|
16
|
-
import '../assets/table-
|
|
11
|
+
import { Teleport as ie, computed as o, createBlock as s, createCommentVNode as c, createElementVNode as l, createSlots as ae, createVNode as u, defineComponent as d, getCurrentInstance as oe, guardReactiveProps as f, h as p, mergeDefaults as m, mergeProps as h, normalizeClass as se, normalizeProps as g, onMounted as ce, onUnmounted as le, openBlock as _, provide as v, ref as y, renderList as ue, renderSlot as b, resolveDynamicComponent as de, unref as x, useCssVars as fe, useTemplateRef as pe, watch as S, withCtx as C } from "vue";
|
|
12
|
+
import { Empty as me, EnhancedTable as he, Tooltip as w } from "tdesign-vue-next";
|
|
13
|
+
import { refDebounced as T, useElementSize as E, useLocalStorage as ge } from "@vueuse/core";
|
|
14
|
+
import { difference as _e, uniqueId as ve } from "lodash-es";
|
|
15
|
+
import { useRoute as ye } from "vue-router";
|
|
16
|
+
import '../assets/table-Dq4nevWy.css';// ../../packages/dlzn-ui/components/table/src/table.ts
|
|
17
17
|
var D = {
|
|
18
18
|
attach: "body",
|
|
19
19
|
bordered: !0,
|
|
@@ -45,13 +45,14 @@ var D = {
|
|
|
45
45
|
indent: 41,
|
|
46
46
|
treeNodeColumnIndex: 0
|
|
47
47
|
})
|
|
48
|
-
},
|
|
48
|
+
}, be = { class: "table_operations_wrapper items-end justify-end gap-3" }, xe = { class: "flex flex-1 items-end" }, O = /*#__PURE__*/ a(/* @__PURE__ */ d({
|
|
49
49
|
inheritAttrs: !1,
|
|
50
50
|
__name: "table",
|
|
51
51
|
props: /*@__PURE__*/ m({
|
|
52
52
|
checkSelectedOnDataChange: { type: Boolean },
|
|
53
53
|
columns: {},
|
|
54
54
|
data: {},
|
|
55
|
+
dragSortOptions: {},
|
|
55
56
|
flexHeight: { type: Boolean },
|
|
56
57
|
"onUpdate:selectedRowKeys": { type: Function },
|
|
57
58
|
rowKey: {},
|
|
@@ -72,7 +73,6 @@ var D = {
|
|
|
72
73
|
displayColumns: {},
|
|
73
74
|
defaultDisplayColumns: {},
|
|
74
75
|
dragSort: {},
|
|
75
|
-
dragSortOptions: {},
|
|
76
76
|
editableCellState: { type: Function },
|
|
77
77
|
editableRowKeys: {},
|
|
78
78
|
expandIcon: { type: Boolean },
|
|
@@ -177,12 +177,12 @@ var D = {
|
|
|
177
177
|
onScrollY: { type: Function }
|
|
178
178
|
}, D),
|
|
179
179
|
setup(a, { expose: d }) {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
180
|
+
fe((e) => ({
|
|
181
|
+
c0d5dff4: x(J),
|
|
182
|
+
v7e62ac14: x(Y),
|
|
183
|
+
v36a7deda: x(X)
|
|
184
184
|
}));
|
|
185
|
-
let m = a, D =
|
|
185
|
+
let m = a, D = ye();
|
|
186
186
|
function O(e) {
|
|
187
187
|
let t = e.find((e) => i(e.colKey));
|
|
188
188
|
if (t !== void 0) return `列的colKey不能为空: ${JSON.stringify(t)}`;
|
|
@@ -214,10 +214,10 @@ var D = {
|
|
|
214
214
|
S(() => O(m.columns), (e) => {
|
|
215
215
|
e !== !0 && te.error(e);
|
|
216
216
|
}, { immediate: !0 });
|
|
217
|
-
let A = o(() => m.data.map((e, t) => Object.assign(e, { _ROW_KEY:
|
|
217
|
+
let A = o(() => m.data.map((e, t) => Object.assign(e, { _ROW_KEY: ve(String(t)) }))), j = y({}), M = T(j, 600), N = {}, P = {}, F = y([]), I = o(() => k.value.filter((e) => !i(e.title) && !["row-select", "serial-number"].includes(e.colKey) && !e.colKey.startsWith("_")).map((e) => ({
|
|
218
218
|
label: e.title,
|
|
219
219
|
value: e.colKey
|
|
220
|
-
}))), L = o(() => I.value.map((e) => e.value).join("_")), R =
|
|
220
|
+
}))), L = o(() => I.value.map((e) => e.value).join("_")), R = ge(L, []);
|
|
221
221
|
function z(e) {
|
|
222
222
|
return {
|
|
223
223
|
maxWidth: e.resize?.maxWidth ?? Infinity,
|
|
@@ -233,7 +233,7 @@ var D = {
|
|
|
233
233
|
deep: !0,
|
|
234
234
|
immediate: !0
|
|
235
235
|
});
|
|
236
|
-
let
|
|
236
|
+
let Se = ee.isMd, B = o(() => k.value.filter((e) => m.showColumnConfigBtn && !R.value.includes(e.colKey) || !m.showColumnConfigBtn).map((e) => {
|
|
237
237
|
let t = z(e);
|
|
238
238
|
return {
|
|
239
239
|
stopPropagation: !0,
|
|
@@ -241,13 +241,13 @@ var D = {
|
|
|
241
241
|
cell: ne(e.cell),
|
|
242
242
|
ellipsis: !1,
|
|
243
243
|
ellipsisTitle: !1,
|
|
244
|
-
fixed:
|
|
244
|
+
fixed: Se.value ? void 0 : e.fixed ?? (e.colKey === "_operation" ? "right" : void 0),
|
|
245
245
|
resize: t,
|
|
246
246
|
title: re(e.title),
|
|
247
247
|
width: M.value[e.colKey]
|
|
248
248
|
};
|
|
249
249
|
}));
|
|
250
|
-
function
|
|
250
|
+
function Ce() {
|
|
251
251
|
let e = m.data;
|
|
252
252
|
if (e.length === 0) return;
|
|
253
253
|
let t = Object.keys(e[0]);
|
|
@@ -256,7 +256,7 @@ var D = {
|
|
|
256
256
|
}
|
|
257
257
|
let V = o(() => {
|
|
258
258
|
let e = { ...m };
|
|
259
|
-
return e.rowKey = m.rowKey ??
|
|
259
|
+
return e.rowKey = m.rowKey ?? Ce() ?? "_ROW_KEY", delete e.columns, delete e.data, delete e.showToggleFullscreenBtn, delete e.showColumnConfigBtn, delete e.flexHeight, delete e.showRowSelect, delete e.showSerialNumber, delete e.checkSelectedOnDataChange, Object.keys(e).forEach((t) => {
|
|
260
260
|
e[t] === void 0 && delete e[t];
|
|
261
261
|
}), e;
|
|
262
262
|
}), H = y(!1);
|
|
@@ -265,7 +265,7 @@ var D = {
|
|
|
265
265
|
}), S([I, R], ([e, t]) => {
|
|
266
266
|
F.value = e.filter((e) => !t.includes(e.value)).map((e) => e.value);
|
|
267
267
|
}, { immediate: !0 });
|
|
268
|
-
function
|
|
268
|
+
function we() {
|
|
269
269
|
e({
|
|
270
270
|
body: () => p(t, {
|
|
271
271
|
class: "flex-col",
|
|
@@ -281,31 +281,29 @@ var D = {
|
|
|
281
281
|
header: "请勾选要显示的列"
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
|
-
let U =
|
|
284
|
+
let U = pe("tableParentRef"), { height: Te } = E(U), W = y(null), G = y(null), K = y(null), q = y(null), { height: J } = E(W), { height: Ee } = E(G), { height: Y } = E(K), { height: De } = E(q), Oe = o(() => Math.max(0, De.value - J.value - Ee.value - Y.value)), X = T(Oe, 100), Z = y(m.defaultSelectedRowKeys ?? []), Q = o({
|
|
285
285
|
get: () => Object.hasOwn(m, "selectedRowKeys") && m.selectedRowKeys !== void 0 ? m.selectedRowKeys : Z.value,
|
|
286
286
|
set: (e) => {
|
|
287
287
|
m["onUpdate:selectedRowKeys"]?.(e), Z.value = e;
|
|
288
288
|
}
|
|
289
289
|
}), $ = oe();
|
|
290
|
-
function
|
|
290
|
+
function ke(e) {
|
|
291
291
|
e !== null && (e.selectedRows = o(() => A.value.filter((e) => Q.value.includes(e[V.value.rowKey]))), e.selectedRowKeys = Q, e.rowKey = o(() => V.value.rowKey)), $.exposed = e ?? {};
|
|
292
292
|
}
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
ce(() => {
|
|
294
|
+
W.value = U.value.querySelector("thead"), G.value = U.value.querySelector("tbody"), K.value = U.value.querySelector("tfoot"), q.value = U.value.querySelector(".t-table__content"), S([M, R], () => {
|
|
295
295
|
$.exposed.refreshTable();
|
|
296
|
-
});
|
|
297
|
-
}, { deep: !0 }), le(() => {
|
|
298
|
-
W.value = U.value.querySelector("thead"), G.value = U.value.querySelector("tbody"), K.value = U.value.querySelector("tfoot"), q.value = U.value.querySelector(".t-table__content");
|
|
296
|
+
}, { deep: !0 });
|
|
299
297
|
});
|
|
300
|
-
function
|
|
298
|
+
function Ae() {
|
|
301
299
|
W.value = U.value.querySelector("thead"), G.value = U.value.querySelector("tbody"), K.value = U.value.querySelector("tfoot"), q.value = U.value.querySelector(".t-table__content");
|
|
302
300
|
}
|
|
303
|
-
return
|
|
301
|
+
return le(() => {
|
|
304
302
|
R.value.length === 0 && localStorage.removeItem(L.value), W.value = null, G.value = null, K.value = null, q.value = null;
|
|
305
303
|
}), S(() => m.data, () => {
|
|
306
304
|
if (!m.checkSelectedOnDataChange) return;
|
|
307
305
|
let e = V.value.rowKey, t = Q.value.filter((t) => m.data.some((n) => n[e] === t));
|
|
308
|
-
|
|
306
|
+
_e(Q.value, t).length > 0 && (Q.value = t, m.onSelectChange?.(t, {
|
|
309
307
|
currentRowKey: "DATA_CHANGE",
|
|
310
308
|
selectedRowData: A.value.filter((n) => t.includes(n[e])),
|
|
311
309
|
type: "uncheck"
|
|
@@ -318,8 +316,8 @@ var D = {
|
|
|
318
316
|
"full_screen bg-(--td-bg-color-container) p-4": H.value,
|
|
319
317
|
transform_tfoot: x(X) > 0
|
|
320
318
|
}] }, e.$attrs), [
|
|
321
|
-
l("div",
|
|
322
|
-
l("div",
|
|
319
|
+
l("div", be, [
|
|
320
|
+
l("div", xe, [b(e.$slots, "table-operations", g(f({
|
|
323
321
|
columns: B.value,
|
|
324
322
|
data: A.value
|
|
325
323
|
})), void 0, !0)]),
|
|
@@ -330,7 +328,7 @@ var D = {
|
|
|
330
328
|
default: C(() => [u(x(n), {
|
|
331
329
|
shape: "square",
|
|
332
330
|
variant: "outline",
|
|
333
|
-
onClick:
|
|
331
|
+
onClick: we
|
|
334
332
|
}, {
|
|
335
333
|
icon: C(() => [u(x(r), { icon: "mingcute:column-line" })]),
|
|
336
334
|
_: 1
|
|
@@ -360,25 +358,25 @@ var D = {
|
|
|
360
358
|
l("div", {
|
|
361
359
|
ref_key: "tableParentRef",
|
|
362
360
|
ref: U,
|
|
363
|
-
class:
|
|
364
|
-
}, [(_(), s(
|
|
361
|
+
class: se(["table_parent", { "flex-1 overflow-y-hidden": a.flexHeight || H.value }])
|
|
362
|
+
}, [(_(), s(de(p(x(he), h({}, {
|
|
365
363
|
...V.value,
|
|
366
|
-
ref:
|
|
364
|
+
ref: ke,
|
|
367
365
|
columns: B.value,
|
|
368
366
|
data: A.value,
|
|
369
|
-
height: a.flexHeight || H.value ? x(
|
|
367
|
+
height: a.flexHeight || H.value ? x(Te) : V.value.height,
|
|
370
368
|
maxHeight: a.flexHeight || H.value || V.value.height !== void 0 ? void 0 : V.value.maxHeight,
|
|
371
369
|
resizable: V.value.bordered ? V.value.resizable : !1
|
|
372
370
|
}))), {
|
|
373
371
|
"selected-row-keys": Q.value,
|
|
374
372
|
"onUpdate:selectedRowKeys": t[1] ||= (e) => Q.value = e,
|
|
375
|
-
onVnodeUpdated:
|
|
376
|
-
}, ae({ _: 2 }, [
|
|
373
|
+
onVnodeUpdated: Ae
|
|
374
|
+
}, ae({ _: 2 }, [ue(Object.keys(e.$slots), (t) => ({
|
|
377
375
|
name: t,
|
|
378
376
|
fn: C((n) => [b(e.$slots, t, g(f(n)), void 0, !0)])
|
|
379
377
|
})), Object.hasOwn(e.$slots, "empty") ? void 0 : {
|
|
380
378
|
name: "empty",
|
|
381
|
-
fn: C(() => [u(x(
|
|
379
|
+
fn: C(() => [u(x(me))]),
|
|
382
380
|
key: "0"
|
|
383
381
|
}]), 1064, ["selected-row-keys"]))], 2),
|
|
384
382
|
b(e.$slots, "table-bottom", g(f({
|
|
@@ -387,5 +385,5 @@ var D = {
|
|
|
387
385
|
})), void 0, !0)
|
|
388
386
|
], 16)], 8, ["disabled"]));
|
|
389
387
|
}
|
|
390
|
-
}), [["__scopeId", "data-v-
|
|
388
|
+
}), [["__scopeId", "data-v-dd3ff233"]]);
|
|
391
389
|
export { D as n, O as t };
|
package/components/app/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as TApp } from "../../chunks/app-
|
|
1
|
+
export { t as TApp } from "../../chunks/app-dUSiq7Ru.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/app-
|
|
1
|
+
export { t as default } from "../../../chunks/app-dUSiq7Ru.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as TButton, K as buttonPropsInit } from "../../chunks/provider-
|
|
1
|
+
export { n as TButton, K as buttonPropsInit } from "../../chunks/provider-CQbOYjc5.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as default } from "../../../chunks/provider-
|
|
1
|
+
export { n as default } from "../../../chunks/provider-CQbOYjc5.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CheckboxProps } from './checkbox';
|
|
2
2
|
declare const __VLS_export: import('vue').DefineComponent<CheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
-
"update:modelValue": (value:
|
|
3
|
+
"update:modelValue": (value: import('tdesign-vue-next').SwitchValue) => any;
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
5
|
-
"onUpdate:modelValue"?: ((value:
|
|
5
|
+
"onUpdate:modelValue"?: ((value: import('tdesign-vue-next').SwitchValue) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
7
|
disabled: boolean;
|
|
8
8
|
readonly: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { _ as TCheckboxGroup } from "../../chunks/provider-
|
|
1
|
+
export { _ as TCheckboxGroup } from "../../chunks/provider-CQbOYjc5.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { _ as default } from "../../../chunks/provider-
|
|
1
|
+
export { _ as default } from "../../../chunks/provider-CQbOYjc5.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { g as TCron } from "../../chunks/provider-
|
|
1
|
+
export { g as TCron } from "../../chunks/provider-CQbOYjc5.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/Common-
|
|
1
|
+
export { t as default } from "../../../chunks/Common-BvSQiKo2.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/Day-
|
|
1
|
+
export { t as default } from "../../../chunks/Day-CTBFWJIV.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/Hour-
|
|
1
|
+
export { t as default } from "../../../chunks/Hour-BCoOdrBX.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/Minute-
|
|
1
|
+
export { t as default } from "../../../chunks/Minute-Br6DyEnJ.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/Month-
|
|
1
|
+
export { t as default } from "../../../chunks/Month-BSkP_NNE.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e } from "../../../chunks/provider-
|
|
1
|
+
import { o as e } from "../../../chunks/provider-CQbOYjc5.mjs";
|
|
2
2
|
import "../../input/index.mjs";
|
|
3
3
|
import "../../tab-panel/index.mjs";
|
|
4
4
|
import { t } from "../../../chunks/input-CiSr3rcu.mjs";
|
|
@@ -7,11 +7,11 @@ import n from "../../../plugins/autoImport/$msg/index.mjs";
|
|
|
7
7
|
import { t as r } from "../../../chunks/textarea-C9VbFXpr.mjs";
|
|
8
8
|
import i from "../../../plugins/autoImport/dayjs/index.mjs";
|
|
9
9
|
import { t as a } from "../../../chunks/tab-panel-CX3iLfSb.mjs";
|
|
10
|
-
import { t as o } from "../../../chunks/Day-
|
|
11
|
-
import { t as s } from "../../../chunks/Hour-
|
|
12
|
-
import { t as c } from "../../../chunks/Minute-
|
|
13
|
-
import { t as l } from "../../../chunks/Month-
|
|
14
|
-
import { t as u } from "../../../chunks/Second-
|
|
10
|
+
import { t as o } from "../../../chunks/Day-CTBFWJIV.mjs";
|
|
11
|
+
import { t as s } from "../../../chunks/Hour-BCoOdrBX.mjs";
|
|
12
|
+
import { t as c } from "../../../chunks/Minute-Br6DyEnJ.mjs";
|
|
13
|
+
import { t as l } from "../../../chunks/Month-BSkP_NNE.mjs";
|
|
14
|
+
import { t as u } from "../../../chunks/Second-BaOHtpcm.mjs";
|
|
15
15
|
import { t as d } from "../../../chunks/plugin-vue_export-helper-Djzt4Yr7.mjs";
|
|
16
16
|
import { computed as f, createBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, openBlock as _, ref as v, unref as y, watch as b, withCtx as x } from "vue";
|
|
17
17
|
import { Tabs as S } from "tdesign-vue-next";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/Second-
|
|
1
|
+
export { t as default } from "../../../chunks/Second-BaOHtpcm.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { g as default } from "../../../chunks/provider-
|
|
1
|
+
export { g as default } from "../../../chunks/provider-CQbOYjc5.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as TCustomPageList } from "../../chunks/custom-page-list-
|
|
1
|
+
export { t as TCustomPageList } from "../../chunks/custom-page-list-CUeAAYEa.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/custom-page-list-
|
|
1
|
+
export { t as default } from "../../../chunks/custom-page-list-CUeAAYEa.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as TCustomPageTable } from "../../chunks/custom-page-table-
|
|
1
|
+
export { t as TCustomPageTable } from "../../chunks/custom-page-table-C-gi7OGt.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/custom-page-table-
|
|
1
|
+
export { t as default } from "../../../chunks/custom-page-table-C-gi7OGt.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DatePickerProps } from './date-picker';
|
|
2
2
|
declare const __VLS_export: import('vue').DefineComponent<DatePickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
-
"update:modelValue": (modelValue:
|
|
3
|
+
"update:modelValue": (modelValue: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | number[] | Date[]) | (() => import('element-plus').ModelValueType | null) | ((new (...args: any[]) => string | number | Date | string[] | number[] | Date[]) | (() => import('element-plus').ModelValueType | null) | null)[], unknown, unknown> | undefined) => any;
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<DatePickerProps> & Readonly<{
|
|
5
|
-
"onUpdate:modelValue"?: ((modelValue:
|
|
5
|
+
"onUpdate:modelValue"?: ((modelValue: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | number[] | Date[]) | (() => import('element-plus').ModelValueType | null) | ((new (...args: any[]) => string | number | Date | string[] | number[] | Date[]) | (() => import('element-plus').ModelValueType | null) | null)[], unknown, unknown> | undefined) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
7
|
type: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<(new (...args: any[]) => "year" | "months" | "years" | "month" | "date" | "dates" | "week" | "quarter" | "quarters" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => import('element-plus').DatePickerType) | ((new (...args: any[]) => "year" | "months" | "years" | "month" | "date" | "dates" | "week" | "quarter" | "quarters" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => import('element-plus').DatePickerType) | null)[], unknown, unknown>;
|
|
8
8
|
disabled: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { U as TDialog, W as dialogPropsInit } from "../../chunks/provider-
|
|
1
|
+
export { U as TDialog, W as dialogPropsInit } from "../../chunks/provider-CQbOYjc5.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { U as default } from "../../../chunks/provider-
|
|
1
|
+
export { U as default } from "../../../chunks/provider-CQbOYjc5.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as TForm, G as formPropsInit } from "../../chunks/provider-
|
|
1
|
+
export { o as TForm, G as formPropsInit } from "../../chunks/provider-CQbOYjc5.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as default } from "../../../chunks/provider-
|
|
1
|
+
export { o as default } from "../../../chunks/provider-CQbOYjc5.mjs";
|
package/components/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as e, K as t, _ as n, c as r, d as i, f as a, g as o, h as s, l as c, m as l, n as u, o as d, p as f, s as p, t as m, u as h } from "../chunks/provider-
|
|
1
|
+
import { G as e, K as t, _ as n, c as r, d as i, f as a, g as o, h as s, l as c, m as l, n as u, o as d, p as f, s as p, t as m, u as h } from "../chunks/provider-CQbOYjc5.mjs";
|
|
2
2
|
import { t as g } from "../chunks/icon-DnBGEq-n.mjs";
|
|
3
3
|
import "./card/index.mjs";
|
|
4
4
|
import { t as _ } from "../chunks/popconfirm-BbpDvib_.mjs";
|
|
@@ -29,10 +29,10 @@ import { t as I } from "../chunks/textarea-C9VbFXpr.mjs";
|
|
|
29
29
|
import "./page-list/index.mjs";
|
|
30
30
|
import { n as L, t as R } from "../chunks/card-fcGTPVWb.mjs";
|
|
31
31
|
import "./page-query/index.mjs";
|
|
32
|
-
import { n as z, r as B, t as V } from "../chunks/page-table-
|
|
33
|
-
import { t as H } from "../chunks/pagination-
|
|
32
|
+
import { n as z, r as B, t as V } from "../chunks/page-table-BdNBjt_k.mjs";
|
|
33
|
+
import { t as H } from "../chunks/pagination-BOb4D8uP.mjs";
|
|
34
34
|
import "./page-table/index.mjs";
|
|
35
|
-
import { n as U, t as W } from "../chunks/table-
|
|
35
|
+
import { n as U, t as W } from "../chunks/table-BEeznK4Y.mjs";
|
|
36
36
|
import { t as G } from "../chunks/popup-F9ChL2Wm.mjs";
|
|
37
37
|
import "./pagination/index.mjs";
|
|
38
38
|
import { n as K, t as q } from "../chunks/tag-BHcFOaT4.mjs";
|
|
@@ -43,16 +43,16 @@ import { n as X, t as Z } from "../chunks/link-v9WN9zib.mjs";
|
|
|
43
43
|
import "./range-input/index.mjs";
|
|
44
44
|
import "./scrollbar/index.mjs";
|
|
45
45
|
import "./slider/index.mjs";
|
|
46
|
-
import { t as Q } from "../chunks/custom-page-table-
|
|
46
|
+
import { t as Q } from "../chunks/custom-page-table-C-gi7OGt.mjs";
|
|
47
47
|
import "./switch/index.mjs";
|
|
48
|
-
import { n as $, r as ee, t as te } from "../chunks/page-list-
|
|
49
|
-
import { t as ne } from "../chunks/page-query-
|
|
48
|
+
import { n as $, r as ee, t as te } from "../chunks/page-list-VSe1LOfK.mjs";
|
|
49
|
+
import { t as ne } from "../chunks/page-query-8XmyQiCK.mjs";
|
|
50
50
|
import "./tab-panel/index.mjs";
|
|
51
51
|
import "./table/index.mjs";
|
|
52
|
-
import { t as re } from "../chunks/custom-page-list-
|
|
52
|
+
import { t as re } from "../chunks/custom-page-list-CUeAAYEa.mjs";
|
|
53
53
|
import "./tag/index.mjs";
|
|
54
54
|
import { t as ie } from "../chunks/overview-Bgxcm5Az.mjs";
|
|
55
|
-
import { t as ae } from "../chunks/overview-
|
|
55
|
+
import { t as ae } from "../chunks/overview-D_tbwhqT.mjs";
|
|
56
56
|
import "./tag-input/index.mjs";
|
|
57
57
|
import { t as oe } from "../chunks/tab-panel-CX3iLfSb.mjs";
|
|
58
58
|
import "./textarea/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-C8rKiUnc.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/IndexItem-
|
|
1
|
+
export { t as default } from "../../../chunks/IndexItem-BERW_4wf.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/overview-
|
|
1
|
+
export { t as default } from "../../../chunks/overview-D_tbwhqT.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as TPageList, n as baseCustomPageListPropsInit, r as useBaseCustomPageListMixin } from "../../chunks/page-list-
|
|
1
|
+
export { t as TPageList, n as baseCustomPageListPropsInit, r as useBaseCustomPageListMixin } from "../../chunks/page-list-VSe1LOfK.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/page-list-
|
|
1
|
+
export { t as default } from "../../../chunks/page-list-VSe1LOfK.mjs";
|