morya-ui 0.3.3 → 0.3.5
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 +530 -516
- package/LICENSE +21 -21
- package/README.md +150 -150
- package/README.zh-CN.md +150 -150
- package/dist/{Button-gBiRj7wz.js → Button-3vJoiEQC.js} +1 -1
- package/dist/{Checkbox-BzbAUfyZ.js → Checkbox-B2gcDJHM.js} +1 -1
- package/dist/{Empty-C5tndBOm.js → Empty-5pTDp3ZM.js} +1 -1
- package/dist/{FlyoutSubmenu-H_741alW.js → FlyoutSubmenu-C_OrDaPN.js} +1 -1
- package/dist/{Loading-qS2Yv_gm.js → Loading-Ba-Js5-u.js} +3 -3
- package/dist/{Pagination-Bvv2qvEK.js → Pagination-lJ7cce6g.js} +2 -2
- package/dist/{Popover-rnZG_ap0.js → Popover-CQ2VYpFJ.js} +2 -2
- package/dist/{Radio-rF6zdR5Y.js → Radio-BbJ_Jyil.js} +1 -1
- package/dist/{Select-CiXd074W.js → Select-DyxORH6Q.js} +3 -3
- package/dist/{Tooltip-B02o9BOW.js → Tooltip-D3WUemno.js} +2 -2
- package/dist/accordion/style.css +1148 -1148
- package/dist/auto-complete/index.js +3 -3
- package/dist/auto-complete/style.css +1690 -1690
- package/dist/avatar/style.css +1261 -1261
- package/dist/badge/style.css +1315 -1315
- package/dist/block-ui/index.js +1 -1
- package/dist/block-ui/style.css +1148 -1148
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/style.css +1148 -1148
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +2134 -2134
- package/dist/card/style.css +1148 -1148
- package/dist/carousel/index.js +1 -1
- package/dist/carousel/style.css +1249 -1249
- package/dist/cascade-select/index.js +3 -3
- package/dist/cascade-select/style.css +1839 -1839
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/style.css +1148 -1148
- package/dist/chip/index.js +1 -1
- package/dist/chip/style.css +1292 -1292
- package/dist/command-menu/index.js +3 -3
- package/dist/command-menu/style.css +1381 -1381
- package/dist/components/AutoComplete/styles.css +209 -209
- package/dist/components/Avatar/styles.css +113 -113
- package/dist/components/Badge/styles.css +165 -165
- package/dist/components/Button/styles.css +962 -962
- package/dist/components/Carousel/styles.css +101 -101
- package/dist/components/CascadeSelect/styles.css +157 -157
- package/dist/components/Chip/styles.css +144 -144
- package/dist/components/CommandMenu/styles.css +102 -102
- package/dist/components/ConfigProvider/styles.css +6 -6
- package/dist/components/ConfirmDialog/styles.css +24 -24
- package/dist/components/ConfirmPopup/styles.css +35 -35
- package/dist/components/ContextMenu/styles.css +138 -138
- package/dist/components/DatePicker/styles.css +335 -335
- package/dist/components/Dialog/styles.css +421 -421
- package/dist/components/Dock/styles.css +84 -84
- package/dist/components/Drawer/styles.css +334 -334
- package/dist/components/Dropdown/styles.css +130 -130
- package/dist/components/Empty/styles.css +146 -146
- package/dist/components/FileUpload/styles.css +359 -359
- package/dist/components/Form/styles.css +114 -114
- package/dist/components/Gallery/styles.css +100 -100
- package/dist/components/Input/styles.css +356 -356
- package/dist/components/InputColor/styles.css +129 -129
- package/dist/components/InputNumber/styles.css +261 -261
- package/dist/components/InputPassword/styles.css +178 -178
- package/dist/components/InputTags/styles.css +112 -112
- package/dist/components/Layout/styles.css +433 -433
- package/dist/components/Loading/styles.css +378 -378
- package/dist/components/MegaMenu/styles.css +97 -97
- package/dist/components/Menu/styles.css +564 -564
- package/dist/components/Menubar/styles.css +144 -144
- package/dist/components/Message/styles.css +250 -250
- package/dist/components/MeterGroup/styles.css +49 -49
- package/dist/components/Page/PageContent.vue.d.ts +1 -0
- package/dist/components/Page/PageContent.vue.d.ts.map +1 -1
- package/dist/components/Page/PageFilters.vue.d.ts +5 -3
- package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
- package/dist/components/Page/styles.css +430 -394
- package/dist/components/Page/types.d.ts +7 -2
- package/dist/components/Page/types.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +105 -105
- package/dist/components/Popover/styles.css +92 -92
- package/dist/components/Result/styles.css +146 -146
- package/dist/components/Scrollbar/styles.css +131 -131
- package/dist/components/Select/styles.css +192 -192
- package/dist/components/SelectButton/styles.css +105 -105
- package/dist/components/Sidebar/styles.css +74 -74
- package/dist/components/Slider/styles.css +211 -211
- package/dist/components/SplitButton/styles.css +216 -216
- package/dist/components/Status/styles.css +191 -191
- package/dist/components/Stepper/styles.css +135 -135
- package/dist/components/Switch/styles.css +129 -129
- package/dist/components/Table/Table.vue.d.ts +1 -0
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/styles.css +28 -0
- package/dist/components/Table/types.d.ts +6 -0
- package/dist/components/Table/types.d.ts.map +1 -1
- package/dist/components/Tabs/styles.css +131 -131
- package/dist/components/Terminal/styles.css +74 -74
- package/dist/components/Textarea/styles.css +126 -126
- package/dist/components/TieredMenu/styles.css +125 -125
- package/dist/components/Timeline/styles.css +159 -159
- package/dist/components/TreeSelect/styles.css +161 -161
- package/dist/components/TreeTable/styles.css +97 -97
- package/dist/components/VirtualScroller/styles.css +27 -27
- package/dist/{config-CapALqt3.js → config-De8ueCY-.js} +2 -0
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +2472 -2472
- package/dist/confirm-dialog/index.js +4 -4
- package/dist/confirm-dialog/style.css +2555 -2555
- package/dist/confirm-popup/index.js +4 -4
- package/dist/confirm-popup/style.css +2145 -2145
- package/dist/context-menu/index.js +3 -3
- package/dist/context-menu/style.css +1417 -1417
- package/dist/data-view/index.js +3 -3
- package/dist/data-view/style.css +1631 -1631
- package/dist/date-picker/index.js +3 -3
- package/dist/date-picker/style.css +1483 -1483
- package/dist/dialog/index.js +4 -4
- package/dist/dialog/style.css +2531 -2531
- package/dist/divider/style.css +1148 -1148
- package/dist/dock/style.css +1232 -1232
- package/dist/drawer/index.js +3 -3
- package/dist/drawer/style.css +1482 -1482
- package/dist/dropdown/index.js +4 -4
- package/dist/dropdown/style.css +1409 -1409
- package/dist/empty/index.js +1 -1
- package/dist/empty/style.css +1294 -1294
- package/dist/fieldset/style.css +1148 -1148
- package/dist/file-upload/index.js +1 -1
- package/dist/file-upload/style.css +1507 -1507
- package/dist/flex/index.js +2 -2
- package/dist/flex/style.css +1148 -1148
- package/dist/float-label/style.css +1148 -1148
- package/dist/fluid/style.css +1148 -1148
- package/dist/form/index.js +1 -1
- package/dist/form/style.css +1264 -1264
- package/dist/gallery/index.js +1 -1
- package/dist/gallery/style.css +1379 -1379
- package/dist/grid/index.js +1 -1
- package/dist/grid/style.css +1148 -1148
- package/dist/icon/style.css +1148 -1148
- package/dist/icon-field/style.css +1504 -1504
- package/dist/index.js +1235 -1215
- package/dist/inplace/style.css +1148 -1148
- package/dist/input/index.js +2 -2
- package/dist/input/style.css +1504 -1504
- package/dist/input-color/index.js +2 -2
- package/dist/input-color/style.css +1279 -1279
- package/dist/input-group/style.css +1148 -1148
- package/dist/input-number/index.js +2 -2
- package/dist/input-number/style.css +1409 -1409
- package/dist/input-otp/index.js +2 -2
- package/dist/input-otp/style.css +1148 -1148
- package/dist/input-password/index.js +2 -2
- package/dist/input-password/style.css +1326 -1326
- package/dist/input-tags/index.js +2 -2
- package/dist/input-tags/style.css +1260 -1260
- package/dist/knob/style.css +1148 -1148
- package/dist/label/style.css +1148 -1148
- package/dist/layout/index.js +1 -1
- package/dist/layout/style.css +1712 -1712
- package/dist/listbox/index.js +2 -2
- package/dist/listbox/style.css +1306 -1306
- package/dist/loading/index.js +1 -1
- package/dist/loading/style.css +1528 -1528
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/types.d.ts +4 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/{locale-Bzm2nbEp.js → locale-xavS6-Hw.js} +1 -1
- package/dist/mega-menu/index.js +3 -3
- package/dist/mega-menu/style.css +1245 -1245
- package/dist/menu/index.js +4 -4
- package/dist/menu/style.css +2001 -2001
- package/dist/menubar/index.js +3 -3
- package/dist/menubar/style.css +1423 -1423
- package/dist/message/index.js +3 -3
- package/dist/message/style.css +1398 -1398
- package/dist/meter-group/style.css +1199 -1199
- package/dist/order-list/index.js +1 -1
- package/dist/order-list/style.css +1148 -1148
- package/dist/page/index.js +70 -54
- package/dist/page/style.css +2803 -2767
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +1445 -1445
- package/dist/panel/index.js +1 -1
- package/dist/panel/style.css +1148 -1148
- package/dist/pick-list/index.js +1 -1
- package/dist/pick-list/style.css +1148 -1148
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +1242 -1242
- package/dist/progress-bar/style.css +1148 -1148
- package/dist/progress-spinner/index.js +1 -1
- package/dist/progress-spinner/style.css +1148 -1148
- package/dist/radio/index.js +1 -1
- package/dist/radio/style.css +1148 -1148
- package/dist/rating/index.js +2 -2
- package/dist/rating/style.css +1148 -1148
- package/dist/result/index.js +1 -1
- package/dist/result/style.css +1294 -1294
- package/dist/scroll-top/index.js +2 -2
- package/dist/scroll-top/style.css +1279 -1279
- package/dist/scrollbar/style.css +1281 -1281
- package/dist/select/index.js +1 -1
- package/dist/select/style.css +1901 -1901
- package/dist/select-button/index.js +1 -1
- package/dist/select-button/style.css +1255 -1255
- package/dist/shared/gap.d.ts +4 -1
- package/dist/shared/gap.d.ts.map +1 -1
- package/dist/shared/styles/control-affix-icon.css +110 -110
- package/dist/shared/styles/control-suffix.css +118 -118
- package/dist/shared/styles/select-overlay.css +175 -175
- package/dist/sidebar/index.js +1 -1
- package/dist/sidebar/style.css +1222 -1222
- package/dist/skeleton/style.css +1148 -1148
- package/dist/slider/index.js +2 -2
- package/dist/slider/style.css +1361 -1361
- package/dist/space/index.js +2 -2
- package/dist/space/style.css +1148 -1148
- package/dist/speed-dial/index.js +3 -3
- package/dist/speed-dial/style.css +1148 -1148
- package/dist/split-button/index.js +3 -3
- package/dist/split-button/style.css +2326 -2326
- package/dist/splitter/index.js +1 -1
- package/dist/splitter/style.css +1148 -1148
- package/dist/status/index.js +1 -1
- package/dist/status/style.css +1339 -1339
- package/dist/stepper/style.css +1283 -1283
- package/dist/styles/base.css +790 -790
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/style.css +1279 -1279
- package/dist/table/index.js +249 -244
- package/dist/table/style.css +1840 -1812
- package/dist/tabs/index.js +1 -1
- package/dist/tabs/style.css +1410 -1410
- package/dist/tag/index.js +2 -2
- package/dist/tag/style.css +1148 -1148
- package/dist/terminal/index.js +1 -1
- package/dist/terminal/style.css +1224 -1224
- package/dist/textarea/index.js +2 -2
- package/dist/textarea/style.css +1274 -1274
- package/dist/theme/styles.css +358 -358
- package/dist/tiered-menu/index.js +3 -3
- package/dist/tiered-menu/style.css +1404 -1404
- package/dist/timeline/style.css +1438 -1438
- package/dist/toast/index.js +3 -3
- package/dist/toast/style.css +1148 -1148
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +1148 -1148
- package/dist/toolbar/style.css +1148 -1148
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip/style.css +1148 -1148
- package/dist/tree/index.js +2 -2
- package/dist/tree/style.css +1148 -1148
- package/dist/tree-select/index.js +4 -4
- package/dist/tree-select/style.css +1843 -1843
- package/dist/tree-table/index.js +1 -1
- package/dist/tree-table/style.css +1245 -1245
- package/dist/{useMotionTransition-95Y79FoL.js → useMotionTransition-tW0yeJsy.js} +1 -1
- package/dist/virtual-scroller/style.css +1309 -1309
- package/dist/{vnode-C7Y1SjKB.js → vnode-CmdNQlN7.js} +18 -23
- package/package.json +1 -1
package/dist/table/index.js
CHANGED
|
@@ -2,17 +2,17 @@ import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
|
2
2
|
import { t } from "../useControllable-elmWaz23.js";
|
|
3
3
|
import { t as n } from "../Icon-od9Ob-Ay.js";
|
|
4
4
|
import { t as r } from "../Scrollbar-DTeJ8P5b.js";
|
|
5
|
-
import { t as i } from "../Checkbox-
|
|
6
|
-
import { t as a } from "../Loading-
|
|
7
|
-
import { t as o } from "../Pagination-
|
|
8
|
-
import { t as s } from "../Tooltip-
|
|
9
|
-
import { t as c } from "../Radio-
|
|
10
|
-
import { o as l } from "../config-
|
|
11
|
-
import { n as u } from "../locale-
|
|
5
|
+
import { t as i } from "../Checkbox-B2gcDJHM.js";
|
|
6
|
+
import { t as a } from "../Loading-Ba-Js5-u.js";
|
|
7
|
+
import { t as o } from "../Pagination-lJ7cce6g.js";
|
|
8
|
+
import { t as s } from "../Tooltip-D3WUemno.js";
|
|
9
|
+
import { t as c } from "../Radio-BbJ_Jyil.js";
|
|
10
|
+
import { o as l } from "../config-De8ueCY-.js";
|
|
11
|
+
import { n as u } from "../locale-xavS6-Hw.js";
|
|
12
12
|
import "./style.js";
|
|
13
|
-
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as _, createVNode as v, defineComponent as y, guardReactiveProps as b, mergeProps as x, normalizeClass as S, normalizeProps as C, normalizeStyle as w, openBlock as T, provide as E, ref as D, renderList as O, renderSlot as k, toDisplayString as A, toRefs as ee, unref as j, useAttrs as te, useSlots as ne, watch as M, withCtx as
|
|
13
|
+
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as _, createVNode as v, defineComponent as y, guardReactiveProps as b, mergeProps as x, normalizeClass as S, normalizeProps as C, normalizeStyle as w, openBlock as T, provide as E, ref as D, renderList as O, renderSlot as k, toDisplayString as A, toRefs as ee, unref as j, useAttrs as te, useSlots as ne, watch as M, withCtx as N, withModifiers as P } from "vue";
|
|
14
14
|
//#region src/components/Table/hooks/useClickRow.ts
|
|
15
|
-
function
|
|
15
|
+
function re(e, t, n, r) {
|
|
16
16
|
return { clickRow: (i, a, o, s) => {
|
|
17
17
|
if (e.value !== o) return;
|
|
18
18
|
let c = { ...i };
|
|
@@ -24,7 +24,7 @@ function ie(e, t, n, r) {
|
|
|
24
24
|
}
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/components/Table/utils.ts
|
|
27
|
-
function
|
|
27
|
+
function F(e, t) {
|
|
28
28
|
if (e.includes(".")) {
|
|
29
29
|
let n = e.split("."), r = t;
|
|
30
30
|
for (let e of n) if (r && typeof r == "object") r = r[e];
|
|
@@ -33,30 +33,30 @@ function P(e, t) {
|
|
|
33
33
|
}
|
|
34
34
|
return t[e] ?? "";
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
let n =
|
|
36
|
+
function ie(e, t) {
|
|
37
|
+
let n = F(e, t);
|
|
38
38
|
return Array.isArray(n) ? n.join(",") : String(n ?? "");
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function ae(e, t, n = "id") {
|
|
41
41
|
let r = e[n];
|
|
42
42
|
return typeof r == "string" || typeof r == "number" ? r : t;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function I(e, t, n = "id") {
|
|
45
45
|
let r = e[n], i = t[n];
|
|
46
46
|
return (typeof r == "string" || typeof r == "number") && (typeof i == "string" || typeof i == "number") ? r === i : JSON.stringify(e) === JSON.stringify(t);
|
|
47
47
|
}
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/Table/tableQuery.ts
|
|
50
|
-
function
|
|
50
|
+
function oe(e, t, n) {
|
|
51
51
|
if (typeof e == "number" && typeof t == "number") return e < t ? n ? 1 : -1 : e > t ? n ? -1 : 1 : 0;
|
|
52
52
|
let r = String(e ?? ""), i = String(t ?? "");
|
|
53
53
|
return r < i ? n ? 1 : -1 : r > i ? n ? -1 : 1 : 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function se(e, t) {
|
|
56
56
|
return typeof t == "function" ? t(e) : Array.isArray(t) ? t.includes(e) : e === t || String(e ?? "") === String(t);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
let { field: n, comparison: r, criteria: i } = t, a =
|
|
58
|
+
function L(e, t) {
|
|
59
|
+
let { field: n, comparison: r, criteria: i } = t, a = F(String(n), e);
|
|
60
60
|
if (typeof r == "function") return r(a, i);
|
|
61
61
|
switch (r) {
|
|
62
62
|
case "=": return a === i;
|
|
@@ -73,32 +73,32 @@ function I(e, t) {
|
|
|
73
73
|
default: return a === i;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function R(e, t, n) {
|
|
77
77
|
let r = [...e];
|
|
78
|
-
if (t) for (let [e, n] of Object.entries(t)) n != null && n !== "" && (r = r.filter((t) =>
|
|
79
|
-
if (n) for (let e of n) r = r.filter((t) =>
|
|
78
|
+
if (t) for (let [e, n] of Object.entries(t)) n != null && n !== "" && (r = r.filter((t) => se(F(e, t), n)));
|
|
79
|
+
if (n) for (let e of n) r = r.filter((t) => L(t, e));
|
|
80
80
|
return r;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return typeof t == "string" && t !== "" ? String(
|
|
82
|
+
function ce(e, t) {
|
|
83
|
+
return typeof t == "string" && t !== "" ? String(F(t, e)) : Array.isArray(t) ? t.map((t) => String(F(t, e))).join("") : Object.values(e).join(" ");
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function le(e, t, n = "") {
|
|
86
86
|
if (!t) return e;
|
|
87
87
|
let r = t.toLowerCase();
|
|
88
|
-
return e.filter((e) =>
|
|
88
|
+
return e.filter((e) => ce(e, n).toLowerCase().includes(r));
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function z(e, t, n, r) {
|
|
91
91
|
let i = e[r], a = t[r];
|
|
92
|
-
return (r === 0 ? n :
|
|
93
|
-
for (let i = 0; i < r; i += 1) if (
|
|
94
|
-
return
|
|
92
|
+
return (r === 0 ? n : z(e, t, n, r - 1)).sort((t, n) => {
|
|
93
|
+
for (let i = 0; i < r; i += 1) if (F(e[i], t) !== F(e[i], n)) return 0;
|
|
94
|
+
return oe(F(i, t), F(i, n), a);
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function ue(e, t, n, r = !1) {
|
|
98
98
|
let i = [...e];
|
|
99
|
-
return r && Array.isArray(t) && Array.isArray(n) ? t.length === 0 ? i :
|
|
99
|
+
return r && Array.isArray(t) && Array.isArray(n) ? t.length === 0 ? i : z(t, n, i, t.length - 1) : i.sort((e, r) => oe(F(t, e), F(t, r), n));
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function de(e, t) {
|
|
102
102
|
return e.indexOf(t) === -1 ? {
|
|
103
103
|
next: [...e, t],
|
|
104
104
|
expanded: !0
|
|
@@ -107,10 +107,10 @@ function fe(e, t) {
|
|
|
107
107
|
expanded: !1
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function B(e, t, n = "id") {
|
|
111
111
|
let r = { ...t };
|
|
112
112
|
return delete r.checkbox, delete r.index, t.checkbox ? {
|
|
113
|
-
next: e.filter((e) => !
|
|
113
|
+
next: e.filter((e) => !I(e, r, n)),
|
|
114
114
|
selected: !1,
|
|
115
115
|
row: r
|
|
116
116
|
} : {
|
|
@@ -121,14 +121,14 @@ function z(e, t, n = "id") {
|
|
|
121
121
|
}
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region src/components/Table/hooks/useExpandableRow.ts
|
|
124
|
-
function
|
|
125
|
-
let i = D([]), a = f(() => e.value ?? i.value), o = (e, r) =>
|
|
124
|
+
function fe(e, t, n, r) {
|
|
125
|
+
let i = D([]), a = f(() => e.value ?? i.value), o = (e, r) => ae(e, n.value + r, t.value);
|
|
126
126
|
return {
|
|
127
127
|
expandedKeys: a,
|
|
128
128
|
isRowExpanded: (e, t) => a.value.includes(o(e, t)),
|
|
129
129
|
toggleExpandRow: (e, t, n) => {
|
|
130
130
|
n.stopPropagation();
|
|
131
|
-
let { next: s, expanded: c } =
|
|
131
|
+
let { next: s, expanded: c } = de(a.value, o(e, t));
|
|
132
132
|
i.value = s, r("update:expandedRowKeys", s), r("expand", {
|
|
133
133
|
row: e,
|
|
134
134
|
expanded: c
|
|
@@ -138,9 +138,9 @@ function pe(e, t, n, r) {
|
|
|
138
138
|
}
|
|
139
139
|
//#endregion
|
|
140
140
|
//#region src/components/Table/hooks/useFixedColumn.ts
|
|
141
|
-
var
|
|
142
|
-
function
|
|
143
|
-
let t = f(() => e.value.filter(
|
|
141
|
+
var pe = (e) => e.fixed === "right", me = (e) => !!e.fixed;
|
|
142
|
+
function he(e) {
|
|
143
|
+
let t = f(() => e.value.filter(me)), n = f(() => e.value.filter((e) => me(e) && !pe(e))), r = f(() => e.value.filter(pe));
|
|
144
144
|
return {
|
|
145
145
|
fixedHeaders: t,
|
|
146
146
|
lastFixedColumn: f(() => n.value.length ? n.value[n.value.length - 1].value : ""),
|
|
@@ -162,7 +162,7 @@ function ge(e) {
|
|
|
162
162
|
})
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function ge(e, t, n, r, i, a, o, s, c, l, u, d, p, m, h, g, _, v, y, b) {
|
|
166
166
|
let x = f(() => o.value.some((e) => e.fixed)), S = f(() => x.value ? o.value.filter((e) => e.fixed && e.fixed !== "right") : []), C = f(() => x.value ? o.value.filter((e) => e.fixed === "right") : []), w = f(() => o.value.filter((e) => !e.fixed)), T = (e, t) => Array.isArray(e) && Array.isArray(t) ? {
|
|
167
167
|
sortBy: e,
|
|
168
168
|
sortDesc: t.map((e) => e === "desc")
|
|
@@ -241,11 +241,11 @@ function _e(e, t, n, r, i, a, o, s, c, l, u, d, p, m, h, g, _, v, y, b) {
|
|
|
241
241
|
}
|
|
242
242
|
//#endregion
|
|
243
243
|
//#region src/components/Table/hooks/usePageItems.ts
|
|
244
|
-
function
|
|
244
|
+
function _e(e, t, n, r, i, a, o, s, c, l) {
|
|
245
245
|
let u = f(() => (e.value - 1) * i.value + 1), d = f(() => n.value ? Math.min(c.value, e.value * i.value) : Math.min(s.value.length, e.value * i.value)), p = f(() => n.value ? r.value : s.value.slice(u.value - 1, d.value)), m = f(() => o.value ? p.value.map((e, t) => ({
|
|
246
246
|
index: u.value + t,
|
|
247
247
|
...e
|
|
248
|
-
})) : p.value), h = f(() => a.value.length === 0 || a.value.every((e) => s.value.every((t) => !
|
|
248
|
+
})) : p.value), h = f(() => a.value.length === 0 || a.value.every((e) => s.value.every((t) => !I(e, t, l.value))) ? "noneSelected" : a.value.length === s.value.length && a.value.every((e) => s.value.some((t) => I(e, t, l.value))) ? "allSelected" : "partSelected");
|
|
249
249
|
return {
|
|
250
250
|
currentPageFirstIndex: u,
|
|
251
251
|
currentPageLastIndex: d,
|
|
@@ -259,7 +259,7 @@ function ve(e, t, n, r, i, a, o, s, c, l) {
|
|
|
259
259
|
})) : m.value.map((e) => {
|
|
260
260
|
let t = { ...e };
|
|
261
261
|
return delete t.index, {
|
|
262
|
-
checkbox: a.value.some((e) =>
|
|
262
|
+
checkbox: a.value.some((e) => I(e, t, l.value)),
|
|
263
263
|
...e
|
|
264
264
|
};
|
|
265
265
|
}) : m.value)
|
|
@@ -267,7 +267,7 @@ function ve(e, t, n, r, i, a, o, s, c, l) {
|
|
|
267
267
|
}
|
|
268
268
|
//#endregion
|
|
269
269
|
//#region src/components/Table/hooks/usePagination.ts
|
|
270
|
-
function
|
|
270
|
+
function ve(e, t, n, r, i, a, o) {
|
|
271
271
|
let s = D(a.value ? a.value.page : e.value), c = f(() => Math.ceil(r.value / i.value)), l = f(() => c.value === 0 || s.value === c.value), u = f(() => s.value === 1);
|
|
272
272
|
return {
|
|
273
273
|
currentPaginationNumber: s,
|
|
@@ -290,7 +290,7 @@ function ye(e, t, n, r, i, a, o) {
|
|
|
290
290
|
}
|
|
291
291
|
//#endregion
|
|
292
292
|
//#region src/components/Table/hooks/useRows.ts
|
|
293
|
-
function
|
|
293
|
+
function ye(e, t, n, r) {
|
|
294
294
|
let i = f(() => !e.value && !t.value.includes(r.value) ? [r.value, ...t.value] : t.value), a = D(n.value ? n.value.rowsPerPage : r.value);
|
|
295
295
|
return {
|
|
296
296
|
rowsItemsComputed: i,
|
|
@@ -302,7 +302,7 @@ function be(e, t, n, r) {
|
|
|
302
302
|
}
|
|
303
303
|
//#endregion
|
|
304
304
|
//#region src/components/Table/hooks/useServerOptions.ts
|
|
305
|
-
function
|
|
305
|
+
function be(e, t, n) {
|
|
306
306
|
let r = f({
|
|
307
307
|
get: () => {
|
|
308
308
|
if (!e.value) return null;
|
|
@@ -349,12 +349,12 @@ function xe(e, t, n) {
|
|
|
349
349
|
}
|
|
350
350
|
//#endregion
|
|
351
351
|
//#region src/components/Table/hooks/useTotalItems.ts
|
|
352
|
-
function
|
|
353
|
-
let p = f(() => r.value || s.value === "" ? i.value :
|
|
352
|
+
function xe(e, t, n, r, i, a, o, s, c, l, u, d) {
|
|
353
|
+
let p = f(() => r.value || s.value === "" ? i.value : le(i.value, s.value, o.value)), m = f(() => R(p.value, n.value, t.value)), h = f(() => {
|
|
354
354
|
if (r.value) return i.value;
|
|
355
355
|
if (e.value === null) return m.value;
|
|
356
356
|
let { sortBy: t, sortDesc: n } = e.value;
|
|
357
|
-
return
|
|
357
|
+
return ue(m.value, t, n, l.value);
|
|
358
358
|
}), g = f(() => r.value ? c.value : h.value.length), _ = f({
|
|
359
359
|
get: () => a.value ?? [],
|
|
360
360
|
set: (e) => d("update:selection", e)
|
|
@@ -367,43 +367,43 @@ function Se(e, t, n, r, i, a, o, s, c, l, u, d) {
|
|
|
367
367
|
_.value = e ? h.value : [], e && d("selectAll");
|
|
368
368
|
},
|
|
369
369
|
toggleSelectItem: (e) => {
|
|
370
|
-
let { next: t, selected: n, row: r } =
|
|
370
|
+
let { next: t, selected: n, row: r } = B(_.value, e, u.value);
|
|
371
371
|
_.value = t, d(n ? "selectRow" : "deselectRow", r);
|
|
372
372
|
}
|
|
373
373
|
};
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Se(e) {
|
|
376
376
|
if (e) return e === "left" || e === "start" ? "start" : e === "right" || e === "end" ? "end" : "center";
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function Ce(e) {
|
|
379
379
|
if (e === !0 || e === "left") return "left";
|
|
380
380
|
if (e === "right") return "right";
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function we(e) {
|
|
383
383
|
return {
|
|
384
384
|
text: e.label,
|
|
385
385
|
value: e.key,
|
|
386
386
|
sortable: e.sortable,
|
|
387
|
-
fixed:
|
|
387
|
+
fixed: Ce(e.fixed),
|
|
388
388
|
width: e.width,
|
|
389
389
|
minWidth: e.minWidth ?? (e.width ? void 0 : 80),
|
|
390
|
-
align:
|
|
390
|
+
align: Se(e.align),
|
|
391
391
|
render: e.render,
|
|
392
392
|
showOverflowTooltip: e.showOverflowTooltip
|
|
393
393
|
};
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
return e.map(
|
|
395
|
+
function Te(e) {
|
|
396
|
+
return e.map(we);
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function Ee(e) {
|
|
399
399
|
return e ?? "asc";
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function De(e) {
|
|
402
402
|
return e ?? "";
|
|
403
403
|
}
|
|
404
404
|
//#endregion
|
|
405
405
|
//#region src/components/Table/TableLoadingLine.vue?vue&type=script&setup=true&lang.ts
|
|
406
|
-
var
|
|
406
|
+
var Oe = ["aria-label"], ke = /* @__PURE__ */ y({
|
|
407
407
|
__name: "TableLoadingLine",
|
|
408
408
|
setup(e) {
|
|
409
409
|
let t = u();
|
|
@@ -411,51 +411,51 @@ var ke = ["aria-label"], Ae = /* @__PURE__ */ y({
|
|
|
411
411
|
class: "m-table__loading-line",
|
|
412
412
|
role: "status",
|
|
413
413
|
"aria-label": j(t).loading
|
|
414
|
-
}, null, 8,
|
|
414
|
+
}, null, 8, Oe));
|
|
415
415
|
}
|
|
416
|
-
}),
|
|
416
|
+
}), Ae = ["aria-label"], je = ["aria-busy"], Me = ["id"], Ne = [
|
|
417
417
|
"aria-sort",
|
|
418
418
|
"tabindex",
|
|
419
419
|
"onClick",
|
|
420
420
|
"onKeydown"
|
|
421
|
-
],
|
|
421
|
+
], Pe = {
|
|
422
422
|
key: 0,
|
|
423
423
|
class: "m-table__cell-inner m-table__cell-inner--selection"
|
|
424
|
-
},
|
|
424
|
+
}, Fe = {
|
|
425
425
|
key: 1,
|
|
426
426
|
class: "m-table__cell-inner m-table__cell-inner--selection"
|
|
427
|
-
},
|
|
427
|
+
}, Ie = ["title"], Le = {
|
|
428
428
|
key: 4,
|
|
429
429
|
class: "m-table__sort",
|
|
430
430
|
"aria-hidden": "true"
|
|
431
|
-
},
|
|
431
|
+
}, Re = {
|
|
432
432
|
key: 5,
|
|
433
433
|
class: "m-table__multi-sort-number"
|
|
434
|
-
},
|
|
434
|
+
}, ze = {
|
|
435
435
|
key: 3,
|
|
436
436
|
class: "m-table__body"
|
|
437
|
-
},
|
|
437
|
+
}, Be = [
|
|
438
438
|
"onClick",
|
|
439
439
|
"onDblclick",
|
|
440
440
|
"onContextmenu"
|
|
441
|
-
],
|
|
441
|
+
], Ve = ["onClick"], He = [
|
|
442
442
|
"aria-expanded",
|
|
443
443
|
"aria-label",
|
|
444
444
|
"onClick"
|
|
445
|
-
],
|
|
445
|
+
], Ue = {
|
|
446
446
|
key: 6,
|
|
447
447
|
class: "m-table__cell-text"
|
|
448
|
-
},
|
|
448
|
+
}, We = { class: "m-table__tooltip-trigger" }, Ge = { class: "m-table__cell-text" }, Ke = ["colspan"], qe = {
|
|
449
449
|
key: 0,
|
|
450
450
|
class: "m-table__message",
|
|
451
451
|
role: "status"
|
|
452
|
-
},
|
|
452
|
+
}, Je = { class: "m-table__empty-text" }, Ye = {
|
|
453
453
|
key: 0,
|
|
454
454
|
class: "m-table__empty-description"
|
|
455
|
-
},
|
|
455
|
+
}, Xe = {
|
|
456
456
|
key: 0,
|
|
457
457
|
class: "m-table__footer"
|
|
458
|
-
},
|
|
458
|
+
}, Ze = { class: "m-table__items-index" }, Qe = /* @__PURE__ */ y({
|
|
459
459
|
inheritAttrs: !1,
|
|
460
460
|
__name: "Table",
|
|
461
461
|
props: {
|
|
@@ -535,6 +535,10 @@ var ke = ["aria-label"], Ae = /* @__PURE__ */ y({
|
|
|
535
535
|
},
|
|
536
536
|
tableHeight: { default: null },
|
|
537
537
|
tableMinHeight: { default: 180 },
|
|
538
|
+
fill: {
|
|
539
|
+
type: Boolean,
|
|
540
|
+
default: !1
|
|
541
|
+
},
|
|
538
542
|
showIndex: {
|
|
539
543
|
type: Boolean,
|
|
540
544
|
default: !1
|
|
@@ -625,15 +629,15 @@ var ke = ["aria-label"], Ae = /* @__PURE__ */ y({
|
|
|
625
629
|
"update:expandedRowKeys",
|
|
626
630
|
"update:filters"
|
|
627
631
|
],
|
|
628
|
-
setup(y, { expose:
|
|
629
|
-
let
|
|
630
|
-
|
|
631
|
-
}, { value:
|
|
632
|
-
controlled: () =>
|
|
632
|
+
setup(y, { expose: oe, emit: se }) {
|
|
633
|
+
let L = y, R = se, ce = te(), { rootAttrs: le } = e(ce, () => L.pt), z = (e, ...t) => {
|
|
634
|
+
R(e, ...t);
|
|
635
|
+
}, { value: ue, setValue: de } = t({
|
|
636
|
+
controlled: () => L.filters ?? void 0,
|
|
633
637
|
defaultValue: null
|
|
634
638
|
}, (e) => {
|
|
635
|
-
|
|
636
|
-
}),
|
|
639
|
+
R("filter", e), R("update:filters", e);
|
|
640
|
+
}), B = u(), { tableNodeId: pe, clickEventType: me, bodyTextDirection: Ce, checkboxColumnWidth: we, expandColumnWidth: Oe, expandedRowKeys: Qe, filterOptions: $e, fixedCheckbox: et, fixedExpand: tt, fixedHeader: nt, fixedIndex: rt, headerTextDirection: it, indexColumnWidth: at, selectionMode: ot, selectedItem: st, loading: V, mustSort: ct, multiSort: lt, rowsItems: ut, rowsPerPage: dt, searchField: ft, searchValue: pt, serverItemsLength: mt, serverOptions: ht, showIndex: gt, sortMode: _t, tableHeight: vt, tableMinHeight: yt, fill: bt, rowsOfPageSeparatorMessage: xt, showIndexSymbol: St, preventContextMenuRow: Ct, headerItemClassName: wt, bodyRowClassName: Tt, bodyExpandRowClassName: Et, bodyItemClassName: Dt, tableClassName: Ot, headerClassName: kt, rowsPerPageMessage: At, hideHeader: jt, hideRowsPerPage: Mt, clickRowToExpand: Nt, expandable: Pt, emptyDescription: Ft, fit: It, emptyText: Lt, showHeader: Rt, maxHeight: zt, paginator: Bt, rowKey: H, ariaLabel: Vt, size: Ht } = ee(L), U = f(() => Te(L.columns)), Ut = f(() => L.rows), Wt = f(() => L.selection ?? null), Gt = f(() => De(L.sortField)), Kt = f(() => Ee(L.sortOrder)), qt = f(() => L.page ?? 1), Jt = f(() => L.striped), Yt = f(() => L.bordered), Xt = f(() => L.highlightCurrent), Zt = f(() => !L.rowHover), Qt = l("Table", () => Ht.value), $t = f(() => {
|
|
637
641
|
if (Qt.value === "small") return "m-table--small";
|
|
638
642
|
if (Qt.value === "large") return "m-table--large";
|
|
639
643
|
}), en = f(() => [
|
|
@@ -642,161 +646,162 @@ var ke = ["aria-label"], Ae = /* @__PURE__ */ y({
|
|
|
642
646
|
{
|
|
643
647
|
"m-table--border": Yt.value,
|
|
644
648
|
"m-table--striped": Jt.value,
|
|
645
|
-
"m-table--enable-row-hover": !Zt.value
|
|
649
|
+
"m-table--enable-row-hover": !Zt.value,
|
|
650
|
+
"m-table--fill": bt.value && !W.value
|
|
646
651
|
}
|
|
647
|
-
]), tn = f(() =>
|
|
652
|
+
]), tn = f(() => tr.value.length > 0 || It.value !== !1), nn = f(() => Lt.value ?? B.value.emptyMessage), rn = f(() => Rt.value ?? !jt.value), W = f(() => zt.value ?? vt.value), an = f(() => bt.value && !W.value), on = f(() => W.value ? `${W.value}px` : an.value ? "100%" : null), sn = f(() => `${yt.value}px`), G = ne(), cn = f(() => !!G.pagination), ln = f(() => !!G.loading), un = f(() => Pt.value || !!G.expansion), dn = f(() => !!G.body), fn = f(() => {
|
|
648
653
|
let e = /* @__PURE__ */ new Map();
|
|
649
|
-
for (let t of
|
|
654
|
+
for (let t of U.value) t.render && e.set(t.value, t.render);
|
|
650
655
|
return e;
|
|
651
656
|
}), pn = f(() => {
|
|
652
657
|
let e = /* @__PURE__ */ new Map();
|
|
653
|
-
for (let t of
|
|
654
|
-
let n =
|
|
658
|
+
for (let t of U.value) {
|
|
659
|
+
let n = Se(t.align);
|
|
655
660
|
n && e.set(t.value, n);
|
|
656
661
|
}
|
|
657
662
|
return e;
|
|
658
663
|
}), mn = D(), hn = D();
|
|
659
664
|
E("dataTable", mn);
|
|
660
|
-
let gn = D(!1), _n = D(!1), vn = D(null), yn = f(() =>
|
|
665
|
+
let gn = D(!1), _n = D(!1), vn = D(null), yn = f(() => L.currentRowKey ?? vn.value);
|
|
661
666
|
function bn(e) {
|
|
662
667
|
gn.value = e.scrollLeft > 0;
|
|
663
668
|
let t = hn.value?.wrapRef;
|
|
664
669
|
_n.value = t ? t.scrollWidth - t.clientWidth - t.scrollLeft > 1 : !1;
|
|
665
670
|
}
|
|
666
671
|
let xn = f(() => {
|
|
667
|
-
let e =
|
|
672
|
+
let e = ot.value ?? (Wt.value === null ? null : "multiple");
|
|
668
673
|
return e === "multiple" ? "checkbox" : e === "single" ? "radio" : null;
|
|
669
674
|
}), Sn = f(() => xn.value === "checkbox"), Cn = f(() => xn.value === "radio"), wn = f(() => ["m-table__main", {
|
|
670
|
-
"m-table__main--fixed-header":
|
|
671
|
-
"m-table__main--fixed-height": !!an.value,
|
|
675
|
+
"m-table__main--fixed-header": nt.value,
|
|
676
|
+
"m-table__main--fixed-height": !!W.value || an.value,
|
|
672
677
|
"m-table__main--shadow": gn.value,
|
|
673
678
|
"m-table__main--shadow-end": _n.value,
|
|
674
679
|
"m-table__main--table-fixed": tn.value,
|
|
675
680
|
"m-table__main--border-cell": Yt.value
|
|
676
|
-
}]), Tn = f(() => ({ minHeight: sn.value })),
|
|
677
|
-
if (!
|
|
678
|
-
let e = Rn.value.findIndex((e) =>
|
|
679
|
-
return e >= 0 ?
|
|
680
|
-
}), { currentPaginationNumber:
|
|
681
|
-
function
|
|
682
|
-
Ct.value && t.preventDefault(),
|
|
681
|
+
}]), Tn = f(() => ({ minHeight: sn.value })), K = f(() => ht.value !== null), { serverOptionsComputed: En, updateServerOptionsPage: Dn, updateServerOptionsSort: On, updateServerOptionsRowsPerPage: kn } = be(ht, lt, z), { clientSortOptions: An, headerColumns: jn, headersForRender: q, updateSortField: Mn, isMultiSorting: Nn, getMultiSortNumber: Pn } = ge(St, we, Oe, et, tt, rt, U, un, at, xn, K, ct, En, gt, Gt, Kt, lt, _t, On, z), Fn = f(() => _t.value === "emit" ? null : An.value), { rowsItemsComputed: In, rowsPerPageRef: J, updateRowsPerPage: Ln } = ye(K, ut, ht, dt), { totalItems: Rn, selectItemsComputed: zn, totalItemsLength: Y, toggleSelectAll: Bn, toggleSelectItem: Vn } = xe(Fn, $e, ue, K, Ut, Wt, ft, pt, mt, lt, H, z), Hn = f(() => {
|
|
682
|
+
if (!st.value) return null;
|
|
683
|
+
let e = Rn.value.findIndex((e) => I(e, st.value, H.value));
|
|
684
|
+
return e >= 0 ? ae(st.value, e, H.value) : null;
|
|
685
|
+
}), { currentPaginationNumber: X, maxPaginationNumber: Un, isLastPage: Wn, isFirstPage: Gn, nextPage: Kn, prevPage: qn, updatePage: Z, updateCurrentPaginationNumber: Jn } = ve(qt, K, V, Y, J, ht, Dn), { currentPageFirstIndex: Yn, currentPageLastIndex: Xn, multipleSelectStatus: Zn, pageItems: Q } = _e(X, Sn, K, Ut, J, zn, gt, Rn, Y, H), Qn = f(() => X.value === 0 ? 0 : (X.value - 1) * J.value), { isRowExpanded: $n, toggleExpandRow: er } = fe(Qe, H, Qn, z), { fixedHeaders: tr, lastFixedColumn: nr, firstRightFixedColumn: rr, fixedColumnsInfos: ir } = he(q), { clickRow: ar } = re(me, Sn, gt, z);
|
|
686
|
+
function or(e, t) {
|
|
687
|
+
Ct.value && t.preventDefault(), R("contextmenuRow", e, t);
|
|
683
688
|
}
|
|
684
|
-
function
|
|
685
|
-
let t =
|
|
689
|
+
function sr(e) {
|
|
690
|
+
let t = U.value.find((t) => t.value === e.value), n = e.width ?? t?.width ?? (tr.value.length ? 100 : null);
|
|
686
691
|
if (n && tn.value) return `width: ${n}px; min-width: ${n}px;`;
|
|
687
692
|
let r = t?.minWidth;
|
|
688
693
|
if (r && tn.value) return `min-width: ${r}px;`;
|
|
689
694
|
}
|
|
690
|
-
function
|
|
691
|
-
if (
|
|
692
|
-
let n =
|
|
695
|
+
function cr(e, t = "th") {
|
|
696
|
+
if (!tr.value.length) return;
|
|
697
|
+
let n = ir.value.find((t) => t.value === e);
|
|
693
698
|
if (n) return `${n.fixed === "right" ? "right" : "left"}: ${n.distance}px;z-index: ${t === "th" ? 3 : 1};position: sticky;`;
|
|
694
699
|
}
|
|
695
|
-
function
|
|
700
|
+
function lr(e, t) {
|
|
696
701
|
let n = typeof wt.value == "string" ? wt.value : wt.value(e, t + 1);
|
|
697
702
|
return [{
|
|
698
703
|
"m-table__cell--selection": e.text === "checkbox" || e.value === "radio",
|
|
699
704
|
"m-table__header-cell--sortable": e.sortable,
|
|
700
705
|
"m-table__header-cell--ascending": e.sortable && e.sortType === "asc",
|
|
701
706
|
"m-table__header-cell--descending": e.sortable && e.sortType === "desc",
|
|
702
|
-
"m-table__header-cell--shadow": e.value ===
|
|
703
|
-
"m-table__header-cell--shadow-end": e.value ===
|
|
707
|
+
"m-table__header-cell--shadow": e.value === nr.value,
|
|
708
|
+
"m-table__header-cell--shadow-end": e.value === rr.value
|
|
704
709
|
}, n];
|
|
705
710
|
}
|
|
706
|
-
function
|
|
707
|
-
return ["m-table__header-inner", `m-table__header-inner--${
|
|
711
|
+
function ur() {
|
|
712
|
+
return ["m-table__header-inner", `m-table__header-inner--${it.value}`];
|
|
708
713
|
}
|
|
709
|
-
function
|
|
714
|
+
function dr(e) {
|
|
710
715
|
if (e === "center") return "m-table__cell--center";
|
|
711
716
|
if (e === "right" || e === "end") return "m-table__cell--right";
|
|
712
717
|
}
|
|
713
|
-
function
|
|
714
|
-
return
|
|
718
|
+
function fr(e) {
|
|
719
|
+
return dr(pn.value.get(e) || Ce.value);
|
|
715
720
|
}
|
|
716
|
-
function
|
|
721
|
+
function pr(e, t) {
|
|
717
722
|
return {
|
|
718
723
|
row: t,
|
|
719
724
|
item: t,
|
|
720
725
|
column: e,
|
|
721
|
-
value:
|
|
726
|
+
value: F(e, t)
|
|
722
727
|
};
|
|
723
728
|
}
|
|
724
|
-
function
|
|
725
|
-
return
|
|
729
|
+
function mr(e) {
|
|
730
|
+
return L.showOverflowTooltip ? !0 : !!U.value.find((t) => t.value === e)?.showOverflowTooltip;
|
|
726
731
|
}
|
|
727
|
-
function
|
|
732
|
+
function hr(e) {
|
|
728
733
|
if (e.sortable) return e.sortType === "asc" ? "ascending" : e.sortType === "desc" ? "descending" : "none";
|
|
729
734
|
}
|
|
730
|
-
function
|
|
735
|
+
function gr(e) {
|
|
731
736
|
e.sortable && e.sortType && Mn(e.value, e.sortType);
|
|
732
737
|
}
|
|
733
|
-
function
|
|
734
|
-
(t.key === "Enter" || t.key === " ") && (t.preventDefault(),
|
|
738
|
+
function _r(e, t) {
|
|
739
|
+
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), gr(e));
|
|
735
740
|
}
|
|
736
741
|
function $(e, t) {
|
|
737
|
-
return
|
|
742
|
+
return ae(e, Qn.value + t, H.value);
|
|
738
743
|
}
|
|
739
|
-
function
|
|
744
|
+
function vr(e, t) {
|
|
740
745
|
return Sn.value ? !!e.checkbox : Cn.value ? Hn.value === $(e, t) : !1;
|
|
741
746
|
}
|
|
742
|
-
function
|
|
747
|
+
function yr(e) {
|
|
743
748
|
let t = { ...e };
|
|
744
|
-
delete t.index,
|
|
749
|
+
delete t.index, R("update:selectedItem", t), R("selectRow", t);
|
|
745
750
|
}
|
|
746
|
-
function
|
|
751
|
+
function br(e) {
|
|
747
752
|
Ln(e);
|
|
748
753
|
}
|
|
749
|
-
function
|
|
754
|
+
function xr(e, t) {
|
|
750
755
|
return !Xt.value || yn.value == null ? !1 : yn.value === $(e, t);
|
|
751
756
|
}
|
|
752
|
-
function
|
|
757
|
+
function Sr(e, t) {
|
|
753
758
|
if (!Xt.value) return;
|
|
754
759
|
let n = $(e, t), r = yn.value;
|
|
755
760
|
if (r === n) return;
|
|
756
761
|
let i = r == null ? null : Q.value.find((e, t) => $(e, t) === r) ?? null;
|
|
757
|
-
vn.value = n,
|
|
762
|
+
vn.value = n, R("update:currentRowKey", n), R("current-change", e, i);
|
|
758
763
|
}
|
|
759
|
-
function
|
|
760
|
-
|
|
764
|
+
function Cr(e, t, n, r) {
|
|
765
|
+
ar(e, Qn.value + t, n, r), n === "single" && Sr(e, t);
|
|
761
766
|
}
|
|
762
|
-
return M(() =>
|
|
767
|
+
return M(() => L.currentRowKey, (e) => {
|
|
763
768
|
e != null && (vn.value = e);
|
|
764
|
-
}), M(
|
|
765
|
-
En.value && e === !1 && t === !0 &&
|
|
766
|
-
}), M(
|
|
767
|
-
|
|
768
|
-
}), M([
|
|
769
|
-
|
|
770
|
-
}), M(() =>
|
|
771
|
-
|
|
772
|
-
}, { deep: !0 }), M(Q, (e) =>
|
|
773
|
-
|
|
774
|
-
}),
|
|
775
|
-
currentPageFirstIndex:
|
|
776
|
-
currentPageLastIndex:
|
|
777
|
-
clientItemsLength:
|
|
778
|
-
maxPaginationNumber:
|
|
779
|
-
currentPaginationNumber:
|
|
780
|
-
isLastPage:
|
|
781
|
-
isFirstPage:
|
|
782
|
-
nextPage:
|
|
783
|
-
prevPage:
|
|
784
|
-
updatePage:
|
|
769
|
+
}), M(V, (e, t) => {
|
|
770
|
+
En.value && e === !1 && t === !0 && Jn(En.value.page);
|
|
771
|
+
}), M(J, (e) => {
|
|
772
|
+
K.value ? kn(e) : Z(1);
|
|
773
|
+
}), M([pt, $e], () => {
|
|
774
|
+
K.value || Z(1);
|
|
775
|
+
}), M(() => L.filters, (e) => {
|
|
776
|
+
R("filter", e ?? null);
|
|
777
|
+
}, { deep: !0 }), M(Q, (e) => R("updatePageItems", e)), M(Rn, (e) => R("updateTotalItems", e)), M(X, (e) => {
|
|
778
|
+
R("update:page", e), R("page", e);
|
|
779
|
+
}), oe({
|
|
780
|
+
currentPageFirstIndex: Yn,
|
|
781
|
+
currentPageLastIndex: Xn,
|
|
782
|
+
clientItemsLength: Y,
|
|
783
|
+
maxPaginationNumber: Un,
|
|
784
|
+
currentPaginationNumber: X,
|
|
785
|
+
isLastPage: Wn,
|
|
786
|
+
isFirstPage: Gn,
|
|
787
|
+
nextPage: Kn,
|
|
788
|
+
prevPage: qn,
|
|
789
|
+
updatePage: Z,
|
|
785
790
|
rowsPerPageOptions: In,
|
|
786
|
-
rowsPerPageActiveOption:
|
|
791
|
+
rowsPerPageActiveOption: J,
|
|
787
792
|
updateRowsPerPageActiveOption: Ln,
|
|
788
|
-
setFilters:
|
|
793
|
+
setFilters: de
|
|
789
794
|
}), (e, t) => (T(), h("div", x({
|
|
790
795
|
ref_key: "dataTable",
|
|
791
796
|
ref: mn
|
|
792
|
-
}, j(
|
|
797
|
+
}, j(le), {
|
|
793
798
|
class: ["m-table", en.value],
|
|
794
799
|
"aria-label": j(Vt) || void 0
|
|
795
800
|
}), [v(a, {
|
|
796
|
-
loading: j(
|
|
801
|
+
loading: j(V),
|
|
797
802
|
size: "sm"
|
|
798
803
|
}, _({
|
|
799
|
-
default:
|
|
804
|
+
default: N(() => [v(r, {
|
|
800
805
|
ref_key: "scrollbarRef",
|
|
801
806
|
ref: hn,
|
|
802
807
|
class: "m-table__scrollbar",
|
|
@@ -806,109 +811,109 @@ var ke = ["aria-label"], Ae = /* @__PURE__ */ y({
|
|
|
806
811
|
noresize: "",
|
|
807
812
|
onScroll: bn
|
|
808
813
|
}, {
|
|
809
|
-
default:
|
|
814
|
+
default: N(() => [g("div", {
|
|
810
815
|
class: "m-table__surface",
|
|
811
|
-
"aria-busy": j(
|
|
812
|
-
}, [g("table", { id: j(
|
|
813
|
-
g("colgroup", null, [(T(!0), h(d, null, O(j(
|
|
816
|
+
"aria-busy": j(V) || void 0
|
|
817
|
+
}, [g("table", { id: j(pe) || void 0 }, [
|
|
818
|
+
g("colgroup", null, [(T(!0), h(d, null, O(j(q), (e, t) => (T(), h("col", {
|
|
814
819
|
key: t,
|
|
815
|
-
style: w(
|
|
820
|
+
style: w(sr(e))
|
|
816
821
|
}, null, 4))), 128))]),
|
|
817
|
-
j(
|
|
822
|
+
j(G)["customize-headers"] ? k(e.$slots, "customize-headers", {}, void 0, void 0, 0) : j(q).length && rn.value ? (T(), h("thead", {
|
|
818
823
|
key: 1,
|
|
819
824
|
class: S(["m-table__header", [j(kt)]])
|
|
820
|
-
}, [g("tr", null, [(T(!0), h(d, null, O(j(
|
|
825
|
+
}, [g("tr", null, [(T(!0), h(d, null, O(j(q), (r, a) => (T(), h("th", {
|
|
821
826
|
key: a,
|
|
822
|
-
class: S(
|
|
823
|
-
style: w(
|
|
824
|
-
"aria-sort":
|
|
827
|
+
class: S(lr(r, a)),
|
|
828
|
+
style: w(cr(r.value)),
|
|
829
|
+
"aria-sort": hr(r),
|
|
825
830
|
tabindex: r.sortable ? 0 : void 0,
|
|
826
|
-
onClick:
|
|
827
|
-
onKeydown: (e) =>
|
|
828
|
-
}, [r.text === "checkbox" ? (T(), h("div",
|
|
829
|
-
key: j(
|
|
830
|
-
"model-value": j(
|
|
831
|
-
indeterminate: j(
|
|
832
|
-
"aria-label": j(
|
|
831
|
+
onClick: P((e) => gr(r), ["stop"]),
|
|
832
|
+
onKeydown: (e) => _r(r, e)
|
|
833
|
+
}, [r.text === "checkbox" ? (T(), h("div", Pe, [(T(), p(i, {
|
|
834
|
+
key: j(Zn),
|
|
835
|
+
"model-value": j(Zn) === "allSelected",
|
|
836
|
+
indeterminate: j(Zn) === "partSelected",
|
|
837
|
+
"aria-label": j(B).selectAllPage,
|
|
833
838
|
"onUpdate:modelValue": j(Bn),
|
|
834
|
-
onClick: t[0] ||=
|
|
839
|
+
onClick: t[0] ||= P(() => {}, ["stop"])
|
|
835
840
|
}, null, 8, [
|
|
836
841
|
"model-value",
|
|
837
842
|
"indeterminate",
|
|
838
843
|
"aria-label",
|
|
839
844
|
"onUpdate:modelValue"
|
|
840
|
-
]))])) : r.value === "radio" ? (T(), h("div",
|
|
845
|
+
]))])) : r.value === "radio" ? (T(), h("div", Fe)) : (T(), h("span", {
|
|
841
846
|
key: 2,
|
|
842
|
-
class: S(
|
|
847
|
+
class: S(ur())
|
|
843
848
|
}, [
|
|
844
|
-
j(
|
|
849
|
+
j(G)[`header-${r.value}`] ? k(e.$slots, `header-${r.value}`, x({ ref_for: !0 }, r), void 0, void 0, 0) : j(G)[`header-${r.value.toLowerCase()}`] ? k(e.$slots, `header-${r.value.toLowerCase()}`, x({ ref_for: !0 }, r), void 0, void 0, 1) : j(G).header ? k(e.$slots, "header", x({ ref_for: !0 }, r), void 0, void 0, 2) : (T(), h("span", {
|
|
845
850
|
key: 3,
|
|
846
851
|
class: "m-table__header-text",
|
|
847
852
|
title: r.text
|
|
848
|
-
}, A(r.text), 9,
|
|
849
|
-
r.sortable ? (T(), h("span",
|
|
853
|
+
}, A(r.text), 9, Ie)),
|
|
854
|
+
r.sortable ? (T(), h("span", Le, [v(n, {
|
|
850
855
|
name: "triangle-up",
|
|
851
856
|
class: "m-table__sort-icon m-table__sort-icon--ascending"
|
|
852
857
|
}), v(n, {
|
|
853
858
|
name: "triangle-down",
|
|
854
859
|
class: "m-table__sort-icon m-table__sort-icon--descending"
|
|
855
860
|
})])) : m("", !0),
|
|
856
|
-
j(
|
|
857
|
-
], 2))], 46,
|
|
858
|
-
dn.value ? k(e.$slots, "body", C(b(j(Q))), void 0, void 0, 2) : j(jn).length ? (T(), h("tbody",
|
|
861
|
+
j(lt) && j(Nn)(r.value) ? (T(), h("span", Re, A(j(Pn)(r.value)), 1)) : m("", !0)
|
|
862
|
+
], 2))], 46, Ne))), 128))])], 2)) : m("", !0),
|
|
863
|
+
dn.value ? k(e.$slots, "body", C(b(j(Q))), void 0, void 0, 2) : j(jn).length ? (T(), h("tbody", ze, [
|
|
859
864
|
k(e.$slots, "body-prepend", C(b({
|
|
860
865
|
items: j(Q),
|
|
861
866
|
pagination: {
|
|
862
|
-
isFirstPage: j(
|
|
863
|
-
isLastPage: j(
|
|
864
|
-
currentPaginationNumber: j(
|
|
865
|
-
maxPaginationNumber: j(
|
|
866
|
-
nextPage: j(
|
|
867
|
-
prevPage: j(
|
|
867
|
+
isFirstPage: j(Gn),
|
|
868
|
+
isLastPage: j(Wn),
|
|
869
|
+
currentPaginationNumber: j(X),
|
|
870
|
+
maxPaginationNumber: j(Un),
|
|
871
|
+
nextPage: j(Kn),
|
|
872
|
+
prevPage: j(qn)
|
|
868
873
|
},
|
|
869
|
-
headers: j(
|
|
874
|
+
headers: j(q)
|
|
870
875
|
}))),
|
|
871
876
|
(T(!0), h(d, null, O(j(Q), (r, a) => (T(), h(d, { key: $(r, a) }, [g("tr", {
|
|
872
877
|
class: S([{
|
|
873
878
|
"m-table__row--striped": Jt.value && (a + 1) % 2 == 0,
|
|
874
|
-
"m-table__row--selected":
|
|
875
|
-
"m-table__row--current":
|
|
879
|
+
"m-table__row--selected": vr(r, a),
|
|
880
|
+
"m-table__row--current": xr(r, a)
|
|
876
881
|
}, typeof j(Tt) == "string" ? j(Tt) : j(Tt)(r, a + 1)]),
|
|
877
882
|
onClick: (e) => {
|
|
878
|
-
|
|
883
|
+
Cr(r, a, "single", e), j(Nt) && j(er)(r, a, e);
|
|
879
884
|
},
|
|
880
|
-
onDblclick: (e) =>
|
|
881
|
-
onContextmenu: (e) =>
|
|
885
|
+
onDblclick: (e) => Cr(r, a, "double", e),
|
|
886
|
+
onContextmenu: (e) => or(r, e)
|
|
882
887
|
}, [(T(!0), h(d, null, O(j(jn), (o, l) => (T(), h("td", {
|
|
883
888
|
key: l,
|
|
884
|
-
style: w(
|
|
889
|
+
style: w(cr(o, "td")),
|
|
885
890
|
class: S([
|
|
886
891
|
{
|
|
887
|
-
"m-table__cell--shadow": o === j(
|
|
888
|
-
"m-table__cell--shadow-end": o === j(
|
|
892
|
+
"m-table__cell--shadow": o === j(nr),
|
|
893
|
+
"m-table__cell--shadow-end": o === j(rr),
|
|
889
894
|
"m-table__cell--expand": o === "expand",
|
|
890
895
|
"m-table__cell--selection": o === "checkbox" || o === "radio"
|
|
891
896
|
},
|
|
892
|
-
|
|
897
|
+
fr(o),
|
|
893
898
|
typeof j(Dt) == "string" ? j(Dt) : j(Dt)(o, a + 1)
|
|
894
899
|
]),
|
|
895
|
-
onClick: (e) => o === "expand" ? j(
|
|
900
|
+
onClick: (e) => o === "expand" ? j(er)(r, a, e) : null
|
|
896
901
|
}, [g("div", { class: S(["m-table__cell-inner", {
|
|
897
902
|
"m-table__cell-inner--expand": o === "expand",
|
|
898
903
|
"m-table__cell-inner--selection": o === "checkbox" || o === "radio"
|
|
899
|
-
}]) }, [j(
|
|
904
|
+
}]) }, [j(G)[`cell-${o}`] ? k(e.$slots, `cell-${o}`, x({ ref_for: !0 }, pr(o, r)), void 0, void 0, 0) : j(G)[`cell-${o.toLowerCase()}`] ? k(e.$slots, `cell-${o.toLowerCase()}`, x({ ref_for: !0 }, pr(o, r)), void 0, void 0, 1) : o === "expand" ? (T(), h("button", {
|
|
900
905
|
key: 2,
|
|
901
906
|
type: "button",
|
|
902
|
-
class: S(["m-table__expand-btn", { "m-table__expand-btn--expanded": j(
|
|
903
|
-
"aria-expanded": j(
|
|
904
|
-
"aria-label": j(
|
|
905
|
-
onClick:
|
|
906
|
-
}, [v(n, { name: "chevron-right" })], 10,
|
|
907
|
+
class: S(["m-table__expand-btn", { "m-table__expand-btn--expanded": j($n)(r, a) }]),
|
|
908
|
+
"aria-expanded": j($n)(r, a),
|
|
909
|
+
"aria-label": j(B).expand,
|
|
910
|
+
onClick: P((e) => j(er)(r, a, e), ["stop"])
|
|
911
|
+
}, [v(n, { name: "chevron-right" })], 10, He)) : o === "checkbox" ? (T(), p(i, {
|
|
907
912
|
key: 3,
|
|
908
913
|
"model-value": !!r.checkbox,
|
|
909
|
-
"aria-label": j(
|
|
914
|
+
"aria-label": j(B).selectRow.replace("{index}", String(j(Yn) + a)),
|
|
910
915
|
"onUpdate:modelValue": (e) => j(Vn)(r),
|
|
911
|
-
onClick: t[1] ||=
|
|
916
|
+
onClick: t[1] ||= P(() => {}, ["stop"])
|
|
912
917
|
}, null, 8, [
|
|
913
918
|
"model-value",
|
|
914
919
|
"aria-label",
|
|
@@ -917,48 +922,48 @@ var ke = ["aria-label"], Ae = /* @__PURE__ */ y({
|
|
|
917
922
|
key: 4,
|
|
918
923
|
"model-value": Hn.value ?? void 0,
|
|
919
924
|
value: $(r, a),
|
|
920
|
-
"aria-label": j(
|
|
921
|
-
"onUpdate:modelValue": (e) =>
|
|
922
|
-
onClick: t[2] ||=
|
|
925
|
+
"aria-label": j(B).selectRow.replace("{index}", String(j(Yn) + a)),
|
|
926
|
+
"onUpdate:modelValue": (e) => yr(r),
|
|
927
|
+
onClick: t[2] ||= P(() => {}, ["stop"])
|
|
923
928
|
}, null, 8, [
|
|
924
929
|
"model-value",
|
|
925
930
|
"value",
|
|
926
931
|
"aria-label",
|
|
927
932
|
"onUpdate:modelValue"
|
|
928
|
-
])) : j(
|
|
933
|
+
])) : j(G)["body-cell"] ? k(e.$slots, "body-cell", x({ ref_for: !0 }, {
|
|
929
934
|
column: o,
|
|
930
935
|
item: r,
|
|
931
936
|
row: r,
|
|
932
|
-
value: j(
|
|
933
|
-
}), void 0, void 0, 5) : fn.value.get(o) ? (T(), h("span",
|
|
937
|
+
value: j(F)(o, r)
|
|
938
|
+
}), void 0, void 0, 5) : fn.value.get(o) ? (T(), h("span", Ue, A(fn.value.get(o)(r)), 1)) : (T(), p(s, {
|
|
934
939
|
key: 7,
|
|
935
|
-
content: j(
|
|
936
|
-
disabled: !
|
|
940
|
+
content: j(ie)(o, r),
|
|
941
|
+
disabled: !mr(o)
|
|
937
942
|
}, {
|
|
938
|
-
default:
|
|
943
|
+
default: N(() => [g("span", We, [g("span", Ge, A(j(ie)(o, r)), 1)])]),
|
|
939
944
|
_: 2
|
|
940
|
-
}, 1032, ["content", "disabled"]))], 2)], 14,
|
|
945
|
+
}, 1032, ["content", "disabled"]))], 2)], 14, Ve))), 128))], 42, Be), un.value && j($n)(r, a) ? (T(), h("tr", {
|
|
941
946
|
key: 0,
|
|
942
947
|
class: S([{ "m-table__row--striped": Jt.value && (a + 1) % 2 == 0 }, typeof j(Et) == "string" ? j(Et) : j(Et)(r, a + 1)])
|
|
943
948
|
}, [g("td", {
|
|
944
|
-
colspan: j(
|
|
949
|
+
colspan: j(q).length,
|
|
945
950
|
class: "m-table__cell--expanded"
|
|
946
|
-
}, [r.expandLoading ? (T(), p(
|
|
951
|
+
}, [r.expandLoading ? (T(), p(ke, { key: 0 })) : m("", !0), k(e.$slots, "expansion", x({ ref_for: !0 }, { row: r }))], 8, Ke)], 2)) : m("", !0)], 64))), 128)),
|
|
947
952
|
k(e.$slots, "body-append", C(b({
|
|
948
953
|
items: j(Q),
|
|
949
954
|
pagination: {
|
|
950
|
-
isFirstPage: j(
|
|
951
|
-
isLastPage: j(
|
|
952
|
-
currentPaginationNumber: j(
|
|
953
|
-
maxPaginationNumber: j(
|
|
954
|
-
nextPage: j(
|
|
955
|
-
prevPage: j(
|
|
956
|
-
updatePage: j(
|
|
955
|
+
isFirstPage: j(Gn),
|
|
956
|
+
isLastPage: j(Wn),
|
|
957
|
+
currentPaginationNumber: j(X),
|
|
958
|
+
maxPaginationNumber: j(Un),
|
|
959
|
+
nextPage: j(Kn),
|
|
960
|
+
prevPage: j(qn),
|
|
961
|
+
updatePage: j(Z)
|
|
957
962
|
},
|
|
958
|
-
headers: j(
|
|
963
|
+
headers: j(q)
|
|
959
964
|
})))
|
|
960
965
|
])) : m("", !0)
|
|
961
|
-
], 8,
|
|
966
|
+
], 8, Me), !j(Q).length && !j(V) ? (T(), h("div", qe, [j(G).empty ? k(e.$slots, "empty", {}, void 0, void 0, 0) : k(e.$slots, "empty", {}, () => [g("p", Je, A(nn.value), 1), j(Ft) ? (T(), h("p", Ye, A(j(Ft)), 1)) : m("", !0)], void 0, 1)])) : m("", !0)], 8, je)]),
|
|
962
967
|
_: 3
|
|
963
968
|
}, 8, [
|
|
964
969
|
"height",
|
|
@@ -968,25 +973,25 @@ var ke = ["aria-label"], Ae = /* @__PURE__ */ y({
|
|
|
968
973
|
_: 2
|
|
969
974
|
}, [ln.value ? {
|
|
970
975
|
name: "indicator",
|
|
971
|
-
fn:
|
|
976
|
+
fn: N(() => [k(e.$slots, "loading")]),
|
|
972
977
|
key: "0"
|
|
973
|
-
} : void 0]), 1032, ["loading"]), j(Bt) ? (T(), h("div",
|
|
974
|
-
isFirstPage: j(
|
|
975
|
-
isLastPage: j(
|
|
976
|
-
currentPaginationNumber: j(
|
|
977
|
-
maxPaginationNumber: j(
|
|
978
|
-
nextPage: j(
|
|
979
|
-
prevPage: j(
|
|
978
|
+
} : void 0]), 1032, ["loading"]), j(Bt) ? (T(), h("div", Xe, [g("div", Ze, A(`${j(Yn)}–${j(Xn)}`) + " " + A(j(xt)) + " " + A(j(Y)), 1), cn.value ? k(e.$slots, "pagination", C(b({
|
|
979
|
+
isFirstPage: j(Gn),
|
|
980
|
+
isLastPage: j(Wn),
|
|
981
|
+
currentPaginationNumber: j(X),
|
|
982
|
+
maxPaginationNumber: j(Un),
|
|
983
|
+
nextPage: j(Kn),
|
|
984
|
+
prevPage: j(qn)
|
|
980
985
|
})), void 0, void 0, 0) : (T(), p(o, {
|
|
981
986
|
key: 1,
|
|
982
|
-
"model-value": j(
|
|
983
|
-
"total-records": j(
|
|
984
|
-
rows: j(
|
|
987
|
+
"model-value": j(X),
|
|
988
|
+
"total-records": j(Y),
|
|
989
|
+
rows: j(J),
|
|
985
990
|
"page-sizes": j(In),
|
|
986
991
|
"show-size-picker": !j(Mt),
|
|
987
|
-
disabled: j(
|
|
988
|
-
"onUpdate:modelValue": j(
|
|
989
|
-
"onUpdate:rows":
|
|
992
|
+
disabled: j(V),
|
|
993
|
+
"onUpdate:modelValue": j(Z),
|
|
994
|
+
"onUpdate:rows": br
|
|
990
995
|
}, null, 8, [
|
|
991
996
|
"model-value",
|
|
992
997
|
"total-records",
|
|
@@ -995,8 +1000,8 @@ var ke = ["aria-label"], Ae = /* @__PURE__ */ y({
|
|
|
995
1000
|
"show-size-picker",
|
|
996
1001
|
"disabled",
|
|
997
1002
|
"onUpdate:modelValue"
|
|
998
|
-
]))])) : m("", !0)], 16,
|
|
1003
|
+
]))])) : m("", !0)], 16, Ae));
|
|
999
1004
|
}
|
|
1000
1005
|
});
|
|
1001
1006
|
//#endregion
|
|
1002
|
-
export {
|
|
1007
|
+
export { Qe as MTable };
|