@vtable-guild/vtable-guild 2.7.1 → 2.8.0
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/css/presets/antdv.css +36 -0
- package/css/presets/element-plus.css +38 -0
- package/css/style.css +436 -0
- package/css/tailwind3-utilities.css +337 -0
- package/css/tailwind3.css +99 -0
- package/css/tailwind4.css +99 -0
- package/css/transitions.css +25 -0
- package/dist/core/src/components/VirtualList/VirtualList.d.ts +3 -0
- package/dist/core/src/components/VirtualList/VirtualList.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/VirtualList.mjs +28 -27
- package/dist/core/src/components/VirtualList/VirtualScrollBar.d.ts +1 -1
- package/dist/core/src/index.d.ts +1 -1
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/utils/types.d.ts +18 -0
- package/dist/core/src/utils/types.d.ts.map +1 -1
- package/dist/css/presets/antdv.css +36 -0
- package/dist/css/presets/element-plus.css +38 -0
- package/dist/css/style.css +436 -0
- package/dist/css/tailwind3-utilities.css +337 -0
- package/dist/css/tailwind3.css +99 -0
- package/dist/css/tailwind4.css +99 -0
- package/dist/css/transitions.css +25 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.full.mjs +5229 -3895
- package/dist/index.mjs +85 -75
- package/dist/table/src/components/ColGroup.d.ts.map +1 -1
- package/dist/table/src/components/ColGroup.mjs +10 -10
- package/dist/table/src/components/ColumnWidthRow.d.ts +4 -0
- package/dist/table/src/components/ColumnWidthRow.d.ts.map +1 -0
- package/dist/table/src/components/ColumnWidthRow.mjs +23 -0
- package/dist/table/src/components/PaginationSizeSelect.d.ts +57 -0
- package/dist/table/src/components/PaginationSizeSelect.d.ts.map +1 -0
- package/dist/table/src/components/PaginationSizeSelect.mjs +138 -0
- package/dist/table/src/components/SelectionDropdown.d.ts +9 -0
- package/dist/table/src/components/SelectionDropdown.d.ts.map +1 -1
- package/dist/table/src/components/SelectionDropdown.mjs +32 -26
- package/dist/table/src/components/Table.d.ts +13 -2
- package/dist/table/src/components/Table.d.ts.map +1 -1
- package/dist/table/src/components/Table.mjs +497 -403
- package/dist/table/src/components/TableCell.d.ts.map +1 -1
- package/dist/table/src/components/TableCell.mjs +80 -74
- package/dist/table/src/components/TableHeaderCell.d.ts.map +1 -1
- package/dist/table/src/components/TableHeaderCell.mjs +85 -83
- package/dist/table/src/components/TablePagination.d.ts +74 -0
- package/dist/table/src/components/TablePagination.d.ts.map +1 -0
- package/dist/table/src/components/TablePagination.mjs +350 -0
- package/dist/table/src/components/TablePagination.test.d.ts +2 -0
- package/dist/table/src/components/TablePagination.test.d.ts.map +1 -0
- package/dist/table/src/components/TablePaginationCompatClass.test.d.ts +2 -0
- package/dist/table/src/components/TablePaginationCompatClass.test.d.ts.map +1 -0
- package/dist/table/src/components/TablePaginationLayout.test.d.ts +2 -0
- package/dist/table/src/components/TablePaginationLayout.test.d.ts.map +1 -0
- package/dist/table/src/components/VTable.vue.d.ts.map +1 -1
- package/dist/table/src/components/VTable.vue.mjs +34 -26
- package/dist/table/src/components/VTableMinWidth.test.d.ts +2 -0
- package/dist/table/src/components/VTableMinWidth.test.d.ts.map +1 -0
- package/dist/table/src/components/VTableSummaryCell.d.ts.map +1 -1
- package/dist/table/src/components/VTableSummaryCell.mjs +26 -24
- package/dist/table/src/components/VirtualTableBody.d.ts.map +1 -1
- package/dist/table/src/components/VirtualTableBody.mjs +106 -93
- package/dist/table/src/composables/useColumnLayout.d.ts +28 -0
- package/dist/table/src/composables/useColumnLayout.d.ts.map +1 -0
- package/dist/table/src/composables/useColumnLayout.mjs +259 -0
- package/dist/table/src/composables/useColumnLayout.test.d.ts +2 -0
- package/dist/table/src/composables/useColumnLayout.test.d.ts.map +1 -0
- package/dist/table/src/composables/useColumnMetrics.d.ts +5 -3
- package/dist/table/src/composables/useColumnMetrics.d.ts.map +1 -1
- package/dist/table/src/composables/useColumnMetrics.mjs +64 -55
- package/dist/table/src/composables/useExpand.d.ts +2 -0
- package/dist/table/src/composables/useExpand.d.ts.map +1 -1
- package/dist/table/src/composables/useExpand.mjs +44 -20
- package/dist/table/src/composables/usePagination.d.ts +15 -0
- package/dist/table/src/composables/usePagination.d.ts.map +1 -0
- package/dist/table/src/composables/usePagination.mjs +65 -0
- package/dist/table/src/composables/usePagination.test.d.ts +2 -0
- package/dist/table/src/composables/usePagination.test.d.ts.map +1 -0
- package/dist/table/src/composables/useResize.d.ts +1 -0
- package/dist/table/src/composables/useResize.d.ts.map +1 -1
- package/dist/table/src/composables/useResize.mjs +67 -39
- package/dist/table/src/composables/useScroll.d.ts +3 -0
- package/dist/table/src/composables/useScroll.d.ts.map +1 -1
- package/dist/table/src/composables/useScroll.mjs +43 -41
- package/dist/table/src/composables/useSelection.d.ts +2 -1
- package/dist/table/src/composables/useSelection.d.ts.map +1 -1
- package/dist/table/src/composables/useSelection.mjs +210 -171
- package/dist/table/src/composables/useTreeData.d.ts +4 -0
- package/dist/table/src/composables/useTreeData.d.ts.map +1 -1
- package/dist/table/src/composables/useTreeData.mjs +48 -43
- package/dist/table/src/context.d.ts +6 -1
- package/dist/table/src/context.d.ts.map +1 -1
- package/dist/table/src/index.d.ts +3 -1
- package/dist/table/src/index.d.ts.map +1 -1
- package/dist/table/src/types/column.d.ts +8 -2
- package/dist/table/src/types/column.d.ts.map +1 -1
- package/dist/table/src/types/index.d.ts +1 -0
- package/dist/table/src/types/index.d.ts.map +1 -1
- package/dist/table/src/types/pagination.d.ts +66 -0
- package/dist/table/src/types/pagination.d.ts.map +1 -0
- package/dist/table/src/types/pagination.typecheck.d.ts +25 -0
- package/dist/table/src/types/pagination.typecheck.d.ts.map +1 -0
- package/dist/table/src/types/table.d.ts +8 -1
- package/dist/table/src/types/table.d.ts.map +1 -1
- package/dist/table/src/utils/columnWidth.d.ts +55 -7
- package/dist/table/src/utils/columnWidth.d.ts.map +1 -1
- package/dist/table/src/utils/columnWidth.mjs +91 -21
- package/dist/table/src/utils/paginationLayout.d.ts +13 -0
- package/dist/table/src/utils/paginationLayout.d.ts.map +1 -0
- package/dist/table/src/utils/paginationLayout.mjs +55 -0
- package/dist/table/src/utils/paginationLayout.test.d.ts +2 -0
- package/dist/table/src/utils/paginationLayout.test.d.ts.map +1 -0
- package/dist/table/src/utils/popupPosition.d.ts +4 -1
- package/dist/table/src/utils/popupPosition.d.ts.map +1 -1
- package/dist/table/src/utils/popupPosition.mjs +34 -15
- package/dist/theme/src/augment.d.ts +2 -0
- package/dist/theme/src/augment.d.ts.map +1 -1
- package/dist/theme/src/compat/antdv-pagination.d.ts +4 -0
- package/dist/theme/src/compat/antdv-pagination.d.ts.map +1 -0
- package/dist/theme/src/compat/antdv-pagination.mjs +29 -0
- package/dist/theme/src/index.d.ts +5 -0
- package/dist/theme/src/index.d.ts.map +1 -1
- package/dist/theme/src/pagination.d.ts +153 -0
- package/dist/theme/src/pagination.d.ts.map +1 -0
- package/dist/theme/src/pagination.mjs +144 -0
- package/dist/theme/src/presets/antdv/table-locale.d.ts +2 -2
- package/dist/theme/src/presets/antdv/table-locale.mjs +2 -2
- package/dist/theme/src/presets/antdv/table.d.ts +3 -0
- package/dist/theme/src/presets/antdv/table.d.ts.map +1 -1
- package/dist/theme/src/presets/antdv/table.mjs +3 -0
- package/dist/theme/src/presets/element-plus/table-locale.d.ts +2 -2
- package/dist/theme/src/presets/element-plus/table-locale.mjs +2 -2
- package/dist/theme/src/presets/element-plus/table.d.ts +3 -0
- package/dist/theme/src/presets/element-plus/table.d.ts.map +1 -1
- package/dist/theme/src/presets/element-plus/table.mjs +3 -0
- package/dist/theme/src/presets/index.d.ts.map +1 -1
- package/dist/theme/src/presets/index.mjs +60 -57
- package/dist/theme/src/presets/types.d.ts +1 -0
- package/dist/theme/src/presets/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,92 +1,102 @@
|
|
|
1
1
|
import { tv as r } from "./core/src/utils/tv.mjs";
|
|
2
|
-
import { DEFAULT_VTG_CLASS_PREFIX as a, cnByCssMode as m, normalizeVtgClassPrefix as l, prefixThemeConfig as s, prefixVtgClassNames as
|
|
3
|
-
import { optionalBoolProp as
|
|
4
|
-
import { devWarn as
|
|
5
|
-
import { mergeThemeConfigs as
|
|
6
|
-
import { mergeDeep as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
2
|
+
import { DEFAULT_VTG_CLASS_PREFIX as a, cnByCssMode as m, normalizeVtgClassPrefix as l, prefixThemeConfig as s, prefixVtgClassNames as n } from "./core/src/utils/classPrefix.mjs";
|
|
3
|
+
import { optionalBoolProp as T, optionalProp as f, optionalStringProp as i, requiredProp as x } from "./core/src/utils/props.mjs";
|
|
4
|
+
import { devWarn as u } from "./core/src/utils/devWarn.mjs";
|
|
5
|
+
import { mergeThemeConfigs as P, useTheme as C } from "./core/src/composables/useTheme.mjs";
|
|
6
|
+
import { mergeDeep as b } from "./core/src/utils/mergeDeep.mjs";
|
|
7
|
+
import { default as S } from "./core/src/components/Tooltip.mjs";
|
|
8
|
+
import { default as g } from "./core/src/components/Checkbox.mjs";
|
|
9
9
|
import { default as N } from "./core/src/components/Radio.mjs";
|
|
10
|
-
import { default as
|
|
10
|
+
import { default as _ } from "./core/src/components/Button.mjs";
|
|
11
11
|
import { default as B } from "./core/src/components/Input.mjs";
|
|
12
12
|
import { default as O } from "./core/src/components/Scrollbar.mjs";
|
|
13
13
|
import { default as R } from "./core/src/components/VTableGuildConfigProvider.mjs";
|
|
14
|
-
import { VTABLE_GUILD_INJECTION_KEY as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
14
|
+
import { VTABLE_GUILD_INJECTION_KEY as U, createVTableGuild as G, syncDocumentPresetAttr as k } from "./core/src/plugin/index.mjs";
|
|
15
|
+
import { elementPlusPaginationEnUS as w, elementPlusPaginationTheme as F, elementPlusPaginationZhCN as X, paginationEnUS as Z, paginationTheme as q, paginationZhCN as z, resolvePaginationThemePreset as J } from "./theme/src/pagination.mjs";
|
|
16
|
+
import { resolveBuiltInLocale as W, resolveBuiltInTableLocale as Y, resolveButtonThemePreset as j, resolveCheckboxThemePreset as H, resolveInputThemePreset as Q, resolveRadioThemePreset as $, resolveScrollbarThemePreset as ee, resolveTableLocalePreset as oe, resolveTableThemePreset as re, resolveThemePreset as te, resolveTooltipThemePreset as ae } from "./theme/src/presets/index.mjs";
|
|
17
|
+
import { antdvTableCompatClasses as le } from "./theme/src/compat/antdv-table.mjs";
|
|
18
|
+
import { antdvPaginationCompatClasses as ne } from "./theme/src/compat/antdv-pagination.mjs";
|
|
19
|
+
import { VTable as Te, VTableSummary as fe, VTableSummaryCell as ie, VTableSummaryRow as xe } from "./table/src/index.mjs";
|
|
20
|
+
import { cn as ue } from "tailwind-variants";
|
|
21
|
+
import { default as Pe } from "./core/src/components/VirtualList/VirtualList.mjs";
|
|
22
|
+
import { PrefixSums as ve } from "./core/src/components/VirtualList/utils/PrefixSums.mjs";
|
|
23
|
+
import { TABLE_ALIGN_CLASSES as Ee, antdvTableTheme as Se } from "./theme/src/presets/antdv/table.mjs";
|
|
24
|
+
import { antdvButtonTheme as ge } from "./theme/src/presets/antdv/button.mjs";
|
|
25
|
+
import { antdvCheckboxTheme as Ne } from "./theme/src/presets/antdv/checkbox.mjs";
|
|
26
|
+
import { antdvRadioTheme as _e } from "./theme/src/presets/antdv/radio.mjs";
|
|
27
|
+
import { antdvInputTheme as Be } from "./theme/src/presets/antdv/input.mjs";
|
|
28
|
+
import { antdvTooltipTheme as Oe } from "./theme/src/presets/antdv/tooltip.mjs";
|
|
29
|
+
import { antdvScrollbarTheme as Re } from "./theme/src/presets/antdv/scrollbar.mjs";
|
|
30
|
+
import { getByDataIndex as Ue, useColumns as Ge } from "./table/src/composables/useColumns.mjs";
|
|
31
|
+
import { moveTreeNode as Me, useRowDragSort as we } from "./table/src/composables/useRowDragSort.mjs";
|
|
32
|
+
import { EXPAND_COLUMN as Xe, SELECTION_ALL as Ze, SELECTION_COLUMN as qe, SELECTION_INVERT as ze, SELECTION_NONE as Je } from "./table/src/constants.mjs";
|
|
31
33
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
_ as Button,
|
|
35
|
+
g as Checkbox,
|
|
34
36
|
a as DEFAULT_VTG_CLASS_PREFIX,
|
|
35
|
-
|
|
37
|
+
Xe as EXPAND_COLUMN,
|
|
36
38
|
B as Input,
|
|
37
|
-
|
|
39
|
+
ve as PrefixSums,
|
|
38
40
|
N as Radio,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
Ze as SELECTION_ALL,
|
|
42
|
+
qe as SELECTION_COLUMN,
|
|
43
|
+
ze as SELECTION_INVERT,
|
|
44
|
+
Je as SELECTION_NONE,
|
|
43
45
|
O as Scrollbar,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
Ee as TABLE_ALIGN_CLASSES,
|
|
47
|
+
S as Tooltip,
|
|
48
|
+
U as VTABLE_GUILD_INJECTION_KEY,
|
|
49
|
+
Te as VTable,
|
|
48
50
|
R as VTableGuildConfigProvider,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
fe as VTableSummary,
|
|
52
|
+
ie as VTableSummaryCell,
|
|
53
|
+
xe as VTableSummaryRow,
|
|
54
|
+
Pe as VirtualList,
|
|
55
|
+
ne as antdvPaginationCompatClasses,
|
|
56
|
+
le as antdvTableCompatClasses,
|
|
57
|
+
ge as buttonTheme,
|
|
58
|
+
Ne as checkboxTheme,
|
|
59
|
+
ue as cn,
|
|
57
60
|
m as cnByCssMode,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
G as createVTableGuild,
|
|
62
|
+
u as devWarn,
|
|
63
|
+
w as elementPlusPaginationEnUS,
|
|
64
|
+
F as elementPlusPaginationTheme,
|
|
65
|
+
X as elementPlusPaginationZhCN,
|
|
66
|
+
Ue as getByDataIndex,
|
|
67
|
+
Be as inputTheme,
|
|
68
|
+
b as mergeDeep,
|
|
69
|
+
P as mergeThemeConfigs,
|
|
70
|
+
Me as moveTreeNode,
|
|
65
71
|
l as normalizeVtgClassPrefix,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
72
|
+
T as optionalBoolProp,
|
|
73
|
+
f as optionalProp,
|
|
74
|
+
i as optionalStringProp,
|
|
75
|
+
Z as paginationEnUS,
|
|
76
|
+
q as paginationTheme,
|
|
77
|
+
z as paginationZhCN,
|
|
69
78
|
s as prefixThemeConfig,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
J as
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
79
|
+
n as prefixVtgClassNames,
|
|
80
|
+
_e as radioTheme,
|
|
81
|
+
x as requiredProp,
|
|
82
|
+
W as resolveBuiltInLocale,
|
|
83
|
+
Y as resolveBuiltInTableLocale,
|
|
84
|
+
j as resolveButtonThemePreset,
|
|
85
|
+
H as resolveCheckboxThemePreset,
|
|
86
|
+
Q as resolveInputThemePreset,
|
|
87
|
+
J as resolvePaginationThemePreset,
|
|
88
|
+
$ as resolveRadioThemePreset,
|
|
89
|
+
ee as resolveScrollbarThemePreset,
|
|
90
|
+
oe as resolveTableLocalePreset,
|
|
91
|
+
re as resolveTableThemePreset,
|
|
92
|
+
te as resolveThemePreset,
|
|
93
|
+
ae as resolveTooltipThemePreset,
|
|
94
|
+
Re as scrollbarTheme,
|
|
95
|
+
k as syncDocumentPresetAttr,
|
|
96
|
+
Se as tableTheme,
|
|
97
|
+
Oe as tooltipTheme,
|
|
88
98
|
r as tv,
|
|
89
|
-
|
|
90
|
-
|
|
99
|
+
Ge as useColumns,
|
|
100
|
+
we as useRowDragSort,
|
|
91
101
|
C as useTheme
|
|
92
102
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColGroup.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/ColGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;;;cAOZ,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;cAA/C,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;;;;AAH7E,
|
|
1
|
+
{"version":3,"file":"ColGroup.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/ColGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;;;cAOZ,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;cAA/C,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;;;;AAH7E,wBA4CE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { TABLE_CONTEXT_KEY as
|
|
3
|
-
import { getColumnKey as
|
|
4
|
-
const C = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as u, inject as m, createVNode as s } from "vue";
|
|
2
|
+
import { TABLE_CONTEXT_KEY as p } from "../context.mjs";
|
|
3
|
+
import { getColumnKey as c } from "../composables/useColumns.mjs";
|
|
4
|
+
const C = /* @__PURE__ */ u({
|
|
5
5
|
name: "ColGroup",
|
|
6
6
|
props: {
|
|
7
7
|
columns: {
|
|
@@ -10,16 +10,16 @@ const C = /* @__PURE__ */ l({
|
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
setup(r) {
|
|
13
|
-
const
|
|
14
|
-
return () => s("colgroup", null, [r.columns.map((
|
|
15
|
-
const e =
|
|
13
|
+
const t = m(p, {});
|
|
14
|
+
return () => s("colgroup", null, [r.columns.map((o, n) => {
|
|
15
|
+
const e = t.columnWidths?.[String(c(o) ?? n)] ?? o.width, l = t.columnLayout?.enabled.value ? t.columnLayout.columnStyle(n) : e ? {
|
|
16
16
|
width: typeof e == "number" ? `${e}px` : e,
|
|
17
17
|
minWidth: typeof e == "number" ? `${e}px` : e
|
|
18
|
-
} : void 0, a =
|
|
18
|
+
} : void 0, a = t.compatClass ? o.key === "__vtg_selection__" ? t.compatClass("selection-col") : o.key === "__vtg_expand__" ? t.compatClass("expand-icon-col") : "" : "";
|
|
19
19
|
return s("col", {
|
|
20
|
-
key:
|
|
20
|
+
key: o.key ?? String(o.dataIndex ?? n),
|
|
21
21
|
class: a,
|
|
22
|
-
style:
|
|
22
|
+
style: l
|
|
23
23
|
}, null);
|
|
24
24
|
})]);
|
|
25
25
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Zero-height intrinsic tracks also cover empty, headless and merged tables. */
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
export default _default;
|
|
4
|
+
//# sourceMappingURL=ColumnWidthRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColumnWidthRow.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/ColumnWidthRow.tsx"],"names":[],"mappings":"AAGA,iFAAiF;;AACjF,wBAoBE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as e, inject as l, createVNode as n } from "vue";
|
|
2
|
+
import { TABLE_CONTEXT_KEY as a } from "../context.mjs";
|
|
3
|
+
const s = /* @__PURE__ */ e({
|
|
4
|
+
name: "ColumnWidthRow",
|
|
5
|
+
setup() {
|
|
6
|
+
const t = l(a);
|
|
7
|
+
return () => t?.columnLayout?.enabled.value ? n("tbody", {
|
|
8
|
+
"aria-hidden": "true",
|
|
9
|
+
"data-vtg-width-row": ""
|
|
10
|
+
}, [n("tr", null, [t.displayColumns?.value.map((u, o) => n("td", {
|
|
11
|
+
class: t.subThemeSlots?.widthConstraintCell(),
|
|
12
|
+
"data-vtg-track": o
|
|
13
|
+
}, [n("div", {
|
|
14
|
+
class: t.subThemeSlots?.widthConstraintInner(),
|
|
15
|
+
style: {
|
|
16
|
+
minWidth: `${t.columnLayout?.minimums.value[o] ?? 0}px`
|
|
17
|
+
}
|
|
18
|
+
}, null)]))])]) : null;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
s as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { PropType, VNodeChild } from 'vue';
|
|
2
|
+
import { PaginationSlots } from '../../../theme/src/index.ts';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
value: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
options: {
|
|
9
|
+
type: PropType<(string | number)[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
disabled: BooleanConstructor;
|
|
13
|
+
label: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
renderText: {
|
|
18
|
+
type: PropType<(value: string | number) => VNodeChild>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
theme: {
|
|
22
|
+
type: PropType<Record<PaginationSlots, () => string>>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
getPopupContainer: PropType<(trigger: HTMLElement) => HTMLElement>;
|
|
26
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
change: (_value: number) => true;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
value: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
options: {
|
|
34
|
+
type: PropType<(string | number)[]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
disabled: BooleanConstructor;
|
|
38
|
+
label: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
renderText: {
|
|
43
|
+
type: PropType<(value: string | number) => VNodeChild>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
theme: {
|
|
47
|
+
type: PropType<Record<PaginationSlots, () => string>>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
getPopupContainer: PropType<(trigger: HTMLElement) => HTMLElement>;
|
|
51
|
+
}>> & Readonly<{
|
|
52
|
+
onChange?: ((_value: number) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
disabled: boolean;
|
|
55
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
export default _default;
|
|
57
|
+
//# sourceMappingURL=PaginationSizeSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaginationSizeSelect.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/PaginationSizeSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAWL,KAAK,QAAQ,EACb,KAAK,UAAU,EAChB,MAAM,KAAK,CAAA;AAGZ,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;;;;;;;cAO5B,QAAQ,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;;;;;;;;;cAInC,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,UAAU,CAAC;;;;cAG3C,QAAQ,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,MAAM,CAAC,CAAC;;;uBACzC,QAAQ,CAAC,CAAC,OAAO,EAAE,WAAW,KAAK,WAAW,CAAC;;qBAEtD,MAAM;;;;;;;cAVJ,QAAQ,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;;;;;;;;;cAInC,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,UAAU,CAAC;;;;cAG3C,QAAQ,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,MAAM,CAAC,CAAC;;;uBACzC,QAAQ,CAAC,CAAC,OAAO,EAAE,WAAW,KAAK,WAAW,CAAC;;;;;;AAZlF,wBAuME"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { defineComponent as T, inject as I, useId as L, ref as s, computed as A, watch as k, onBeforeUnmount as D, createVNode as u, Fragment as O, Teleport as q, Transition as B, nextTick as z } from "vue";
|
|
2
|
+
import { cnByCssMode as C } from "../../../core/src/utils/classPrefix.mjs";
|
|
3
|
+
import { VTABLE_GUILD_INJECTION_KEY as M } from "../../../core/src/plugin/index.mjs";
|
|
4
|
+
import K from "../../../icons/src/DownOutlinedIcon.mjs";
|
|
5
|
+
import { getPopupPositionStyle as _, getPopupVerticalBoundary as F } from "../utils/popupPosition.mjs";
|
|
6
|
+
const G = /* @__PURE__ */ T({
|
|
7
|
+
name: "PaginationSizeSelect",
|
|
8
|
+
props: {
|
|
9
|
+
value: {
|
|
10
|
+
type: Number,
|
|
11
|
+
required: !0
|
|
12
|
+
},
|
|
13
|
+
options: {
|
|
14
|
+
type: Array,
|
|
15
|
+
required: !0
|
|
16
|
+
},
|
|
17
|
+
disabled: Boolean,
|
|
18
|
+
label: {
|
|
19
|
+
type: String,
|
|
20
|
+
required: !0
|
|
21
|
+
},
|
|
22
|
+
renderText: {
|
|
23
|
+
type: Function,
|
|
24
|
+
required: !0
|
|
25
|
+
},
|
|
26
|
+
theme: {
|
|
27
|
+
type: Object,
|
|
28
|
+
required: !0
|
|
29
|
+
},
|
|
30
|
+
getPopupContainer: Function
|
|
31
|
+
},
|
|
32
|
+
emits: {
|
|
33
|
+
change: (t) => !0
|
|
34
|
+
},
|
|
35
|
+
setup(t, {
|
|
36
|
+
emit: P
|
|
37
|
+
}) {
|
|
38
|
+
const l = I(M, null), S = l?.compatClass === !0, p = L(), i = s(null), r = s(null), a = s(!1), c = s(0), g = s({}), b = s("body");
|
|
39
|
+
let v;
|
|
40
|
+
const f = A(() => {
|
|
41
|
+
const e = t.options.filter((n) => Number.isSafeInteger(Number(n)) && Number(n) > 0);
|
|
42
|
+
return e.some((n) => Number(n) === t.value) || e.push(t.value), [...new Map(e.map((n) => [Number(n), n])).values()].sort((n, m) => Number(n) - Number(m));
|
|
43
|
+
});
|
|
44
|
+
function d(e = !1) {
|
|
45
|
+
a.value = !1, e && i.value?.focus();
|
|
46
|
+
}
|
|
47
|
+
function o() {
|
|
48
|
+
if (!i.value || !a.value) return;
|
|
49
|
+
const e = i.value.getBoundingClientRect();
|
|
50
|
+
g.value = {
|
|
51
|
+
..._(e, b.value, e.width, r.value?.scrollHeight, F(i.value)),
|
|
52
|
+
minWidth: `${e.width}px`,
|
|
53
|
+
zIndex: "var(--vtg-pagination-popup-z)"
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function y(e) {
|
|
57
|
+
const n = e.target;
|
|
58
|
+
!i.value?.contains(n) && !r.value?.contains(n) && d();
|
|
59
|
+
}
|
|
60
|
+
function w() {
|
|
61
|
+
z(() => r.value?.querySelectorAll('[role="option"]')[c.value]?.focus({
|
|
62
|
+
preventScroll: !0
|
|
63
|
+
}));
|
|
64
|
+
}
|
|
65
|
+
function h() {
|
|
66
|
+
t.disabled || !i.value || (b.value = t.getPopupContainer?.(i.value) ?? document.body, c.value = Math.max(0, f.value.findIndex((e) => Number(e) === t.value)), a.value = !0, o(), z(() => {
|
|
67
|
+
a.value && (o(), typeof ResizeObserver < "u" && (v = new ResizeObserver(o), i.value && v.observe(i.value), r.value && v.observe(r.value)));
|
|
68
|
+
}), w());
|
|
69
|
+
}
|
|
70
|
+
function N(e) {
|
|
71
|
+
t.disabled || P("change", Number(e)), d(!0);
|
|
72
|
+
}
|
|
73
|
+
function x(e) {
|
|
74
|
+
if (e.key === "Escape")
|
|
75
|
+
e.preventDefault(), d(!0);
|
|
76
|
+
else if (e.key === "Tab") d();
|
|
77
|
+
else if (["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key)) {
|
|
78
|
+
if (e.preventDefault(), !a.value) {
|
|
79
|
+
h();
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
const n = f.value.length - 1;
|
|
83
|
+
c.value = e.key === "Home" ? 0 : e.key === "End" ? n : (c.value + (e.key === "ArrowDown" ? 1 : n)) % f.value.length, w();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
k(a, (e) => {
|
|
87
|
+
e ? (document.addEventListener("mousedown", y), window.addEventListener("resize", o), window.addEventListener("scroll", o, !0)) : E();
|
|
88
|
+
}), k(() => t.disabled, (e) => {
|
|
89
|
+
e && d();
|
|
90
|
+
});
|
|
91
|
+
function E() {
|
|
92
|
+
v?.disconnect(), v = void 0, !(typeof document > "u") && (document.removeEventListener("mousedown", y), window.removeEventListener("resize", o), window.removeEventListener("scroll", o, !0));
|
|
93
|
+
}
|
|
94
|
+
return D(E), () => u(O, null, [u("button", {
|
|
95
|
+
ref: i,
|
|
96
|
+
type: "button",
|
|
97
|
+
class: [C(l?.cssMode ?? "prebuilt", l?.classPrefix ?? "vtg", t.theme.item(), t.theme.select()), S && "ant-pagination-options ant-pagination-options-size-changer"],
|
|
98
|
+
disabled: t.disabled,
|
|
99
|
+
"aria-label": t.label,
|
|
100
|
+
"aria-haspopup": "listbox",
|
|
101
|
+
"aria-expanded": a.value,
|
|
102
|
+
"aria-disabled": t.disabled,
|
|
103
|
+
"aria-controls": a.value ? p : void 0,
|
|
104
|
+
onClick: () => a.value ? d() : h(),
|
|
105
|
+
onKeydown: x
|
|
106
|
+
}, [t.renderText(f.value.find((e) => Number(e) === t.value) ?? t.value), u(K, null, null)]), u(q, {
|
|
107
|
+
to: b.value
|
|
108
|
+
}, {
|
|
109
|
+
default: () => [u(B, {
|
|
110
|
+
name: "vtg-pagination-popup"
|
|
111
|
+
}, {
|
|
112
|
+
default: () => [a.value && u("ul", {
|
|
113
|
+
ref: r,
|
|
114
|
+
id: p,
|
|
115
|
+
role: "listbox",
|
|
116
|
+
"aria-label": t.label,
|
|
117
|
+
class: t.theme.popup(),
|
|
118
|
+
"data-vtg-preset": l?.themePreset ?? "antdv",
|
|
119
|
+
style: g.value,
|
|
120
|
+
onKeydown: x
|
|
121
|
+
}, [f.value.map((e, n) => u("li", {
|
|
122
|
+
key: Number(e),
|
|
123
|
+
role: "option",
|
|
124
|
+
tabindex: n === c.value ? 0 : -1,
|
|
125
|
+
"aria-selected": Number(e) === t.value,
|
|
126
|
+
class: C(l?.cssMode ?? "prebuilt", l?.classPrefix ?? "vtg", t.theme.option(), Number(e) === t.value && t.theme.optionActive()),
|
|
127
|
+
onClick: () => N(e),
|
|
128
|
+
onKeydown: (m) => {
|
|
129
|
+
(m.key === "Enter" || m.key === " ") && (m.preventDefault(), N(e));
|
|
130
|
+
}
|
|
131
|
+
}, [t.renderText(e)]))])]
|
|
132
|
+
})]
|
|
133
|
+
})]);
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
export {
|
|
137
|
+
G as default
|
|
138
|
+
};
|
|
@@ -19,6 +19,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
19
19
|
}>;
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
|
+
anchorElement: {
|
|
23
|
+
type: PropType<HTMLElement | null>;
|
|
24
|
+
default: null;
|
|
25
|
+
};
|
|
22
26
|
popupContainer: {
|
|
23
27
|
type: PropType<string | HTMLElement>;
|
|
24
28
|
default: string;
|
|
@@ -41,6 +45,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
41
45
|
}>;
|
|
42
46
|
required: true;
|
|
43
47
|
};
|
|
48
|
+
anchorElement: {
|
|
49
|
+
type: PropType<HTMLElement | null>;
|
|
50
|
+
default: null;
|
|
51
|
+
};
|
|
44
52
|
popupContainer: {
|
|
45
53
|
type: PropType<string | HTMLElement>;
|
|
46
54
|
default: string;
|
|
@@ -57,6 +65,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
57
65
|
}>, {
|
|
58
66
|
visible: boolean;
|
|
59
67
|
popupContainer: string | HTMLElement;
|
|
68
|
+
anchorElement: HTMLElement | null;
|
|
60
69
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
61
70
|
export default _default;
|
|
62
71
|
//# sourceMappingURL=SelectionDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionDropdown.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/SelectionDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,QAAQ,EACb,KAAK,UAAU,EAChB,MAAM,KAAK,CAAA;AAIZ,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAEnC,MAAM,WAAW,wBAAwB;IACvC,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,GAAG,UAAU,CAAA;IACzB,QAAQ,CAAC,EAAE,CAAC,iBAAiB,EAAE,GAAG,EAAE,KAAK,IAAI,CAAA;CAC9C;;;cAMoB,QAAQ,CAAC,wBAAwB,EAAE,CAAC;;;;cAInC,QAAQ,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC;;;;
|
|
1
|
+
{"version":3,"file":"SelectionDropdown.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/SelectionDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,QAAQ,EACb,KAAK,UAAU,EAChB,MAAM,KAAK,CAAA;AAIZ,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAEnC,MAAM,WAAW,wBAAwB;IACvC,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,GAAG,UAAU,CAAA;IACzB,QAAQ,CAAC,EAAE,CAAC,iBAAiB,EAAE,GAAG,EAAE,KAAK,IAAI,CAAA;CAC9C;;;cAMoB,QAAQ,CAAC,wBAAwB,EAAE,CAAC;;;;cAInC,QAAQ,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC;;;;cAItE,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC;;;;cAIlB,QAAQ,CAAC,MAAM,GAAG,WAAW,CAAC;;;;;;;;;cAZzC,QAAQ,CAAC,wBAAwB,EAAE,CAAC;;;;cAInC,QAAQ,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC;;;;cAItE,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC;;;;cAIlB,QAAQ,CAAC,MAAM,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;AAhB9D,wBA+FE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { TABLE_CONTEXT_KEY as
|
|
1
|
+
import { defineComponent as m, inject as p, ref as f, onMounted as v, nextTick as y, onBeforeUnmount as h, createVNode as o, Teleport as b, Transition as w } from "vue";
|
|
2
|
+
import { TABLE_CONTEXT_KEY as C } from "../context.mjs";
|
|
3
3
|
import { getPopupPositionStyle as g } from "../utils/popupPosition.mjs";
|
|
4
|
-
const
|
|
4
|
+
const k = /* @__PURE__ */ m({
|
|
5
5
|
name: "SelectionDropdown",
|
|
6
6
|
props: {
|
|
7
7
|
items: {
|
|
@@ -12,6 +12,10 @@ const D = /* @__PURE__ */ p({
|
|
|
12
12
|
type: Object,
|
|
13
13
|
required: !0
|
|
14
14
|
},
|
|
15
|
+
anchorElement: {
|
|
16
|
+
type: Object,
|
|
17
|
+
default: null
|
|
18
|
+
},
|
|
15
19
|
popupContainer: {
|
|
16
20
|
type: [String, Object],
|
|
17
21
|
default: "body"
|
|
@@ -22,52 +26,54 @@ const D = /* @__PURE__ */ p({
|
|
|
22
26
|
}
|
|
23
27
|
},
|
|
24
28
|
emits: ["close", "select", "mouseenter", "mouseleave"],
|
|
25
|
-
setup(
|
|
26
|
-
emit:
|
|
29
|
+
setup(t, {
|
|
30
|
+
emit: n
|
|
27
31
|
}) {
|
|
28
|
-
const s =
|
|
29
|
-
function
|
|
30
|
-
|
|
32
|
+
const s = p(C, {}), l = f(null);
|
|
33
|
+
function r(e) {
|
|
34
|
+
t.visible && l.value && !l.value.contains(e.target) && !t.anchorElement?.contains(e.target) && n("close");
|
|
31
35
|
}
|
|
32
36
|
v(() => {
|
|
33
37
|
y(() => {
|
|
34
|
-
document.addEventListener("mousedown",
|
|
38
|
+
document.addEventListener("mousedown", r), document.addEventListener("touchstart", r, {
|
|
39
|
+
passive: !0
|
|
40
|
+
});
|
|
35
41
|
});
|
|
36
|
-
}),
|
|
37
|
-
document.removeEventListener("mousedown",
|
|
42
|
+
}), h(() => {
|
|
43
|
+
document.removeEventListener("mousedown", r), document.removeEventListener("touchstart", r);
|
|
38
44
|
});
|
|
39
45
|
function i(e) {
|
|
40
|
-
const
|
|
41
|
-
e.onSelect?.(
|
|
46
|
+
const a = s.getChangeableRowKeys?.() ?? [];
|
|
47
|
+
e.onSelect?.(a), n("select", e.key), n("close");
|
|
42
48
|
}
|
|
43
49
|
return () => {
|
|
44
50
|
const {
|
|
45
51
|
anchorRect: e
|
|
46
|
-
} =
|
|
47
|
-
return
|
|
48
|
-
to:
|
|
52
|
+
} = t, a = 120, u = t.popupContainer, d = g(e, u, a);
|
|
53
|
+
return o(b, {
|
|
54
|
+
to: u
|
|
49
55
|
}, {
|
|
50
|
-
default: () => [
|
|
56
|
+
default: () => [o(w, {
|
|
51
57
|
name: "vtg-dropdown"
|
|
52
58
|
}, {
|
|
53
|
-
default: () => [
|
|
59
|
+
default: () => [t.visible && o("div", {
|
|
54
60
|
ref: l,
|
|
55
61
|
class: s.subThemeSlots?.selectionDropdown(),
|
|
56
62
|
style: d,
|
|
57
|
-
onMouseenter: () =>
|
|
58
|
-
onMouseleave: () =>
|
|
59
|
-
}, [
|
|
63
|
+
onMouseenter: () => n("mouseenter"),
|
|
64
|
+
onMouseleave: () => n("mouseleave")
|
|
65
|
+
}, [o("ul", {
|
|
60
66
|
class: s.vtgClass?.("m-0 list-none p-0")
|
|
61
|
-
}, [
|
|
62
|
-
key:
|
|
67
|
+
}, [t.items.map((c) => o("li", {
|
|
68
|
+
key: c.key,
|
|
63
69
|
class: s.subThemeSlots?.selectionDropdownItem(),
|
|
64
|
-
onClick: () => i(
|
|
65
|
-
}, [
|
|
70
|
+
onClick: () => i(c)
|
|
71
|
+
}, [c.text]))])])]
|
|
66
72
|
})]
|
|
67
73
|
});
|
|
68
74
|
};
|
|
69
75
|
}
|
|
70
76
|
});
|
|
71
77
|
export {
|
|
72
|
-
|
|
78
|
+
k as default
|
|
73
79
|
};
|