@aplus-frontend/ui 0.5.1 → 0.5.3
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/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +3 -3
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/index.mjs +30 -30
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +2 -2
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.mjs +3 -3
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +3 -3
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
- package/es/src/ap-grid/hooks/use-load-vxe.d.ts +1 -0
- package/es/src/ap-grid/hooks/use-load-vxe.mjs +32 -0
- package/es/src/ap-grid/index.vue.mjs +141 -137
- package/es/src/ap-grid/interface.d.ts +2 -2
- package/es/src/ap-grid/utils/col.mjs +95 -65
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.mjs +4 -4
- package/es/src/ap-table/ap-table.vue2.mjs +26 -26
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -0
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +34 -27
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.mjs +40 -40
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +1 -1
- package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +1 -1
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.mjs +2 -2
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-grid/hooks/use-load-vxe.d.ts +1 -0
- package/lib/src/ap-grid/hooks/use-load-vxe.js +1 -0
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +2 -2
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -0
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/package.json +1 -1
- package/theme/antd-global-overwrite/admin/index.css +54 -54
- package/theme/antd-global-overwrite/admin/table.css +54 -54
- package/theme/antd-global-overwrite/admin/table.less +4 -3
- package/theme/antd-global-overwrite/aplus/index.css +54 -54
- package/theme/antd-global-overwrite/aplus/table.css +54 -54
- package/theme/antd-global-overwrite/aplus/table.less +4 -3
- package/es/src/theme/antd-global-overwrite/admin/alert.css +0 -50
- package/es/src/theme/antd-global-overwrite/admin/button.css +0 -27
- package/es/src/theme/antd-global-overwrite/admin/form.css +0 -60
- package/es/src/theme/antd-global-overwrite/admin/index.css +0 -838
- package/es/src/theme/antd-global-overwrite/admin/message.css +0 -17
- package/es/src/theme/antd-global-overwrite/admin/modal.css +0 -117
- package/es/src/theme/antd-global-overwrite/admin/pagination.css +0 -122
- package/es/src/theme/antd-global-overwrite/admin/steps.css +0 -127
- package/es/src/theme/antd-global-overwrite/admin/table.css +0 -318
- package/es/src/theme/antd-global-overwrite/aplus/alert.css +0 -50
- package/es/src/theme/antd-global-overwrite/aplus/button.css +0 -27
- package/es/src/theme/antd-global-overwrite/aplus/form.css +0 -93
- package/es/src/theme/antd-global-overwrite/aplus/index.css +0 -873
- package/es/src/theme/antd-global-overwrite/aplus/message.css +0 -17
- package/es/src/theme/antd-global-overwrite/aplus/modal.css +0 -111
- package/es/src/theme/antd-global-overwrite/aplus/pagination.css +0 -147
- package/es/src/theme/antd-global-overwrite/aplus/steps.css +0 -125
- package/es/src/theme/antd-global-overwrite/aplus/table.css +0 -303
- package/es/src/theme/reset.css +0 -257
- package/lib/src/theme/antd-global-overwrite/admin/alert.css +0 -50
- package/lib/src/theme/antd-global-overwrite/admin/button.css +0 -27
- package/lib/src/theme/antd-global-overwrite/admin/form.css +0 -60
- package/lib/src/theme/antd-global-overwrite/admin/index.css +0 -838
- package/lib/src/theme/antd-global-overwrite/admin/message.css +0 -17
- package/lib/src/theme/antd-global-overwrite/admin/modal.css +0 -117
- package/lib/src/theme/antd-global-overwrite/admin/pagination.css +0 -122
- package/lib/src/theme/antd-global-overwrite/admin/steps.css +0 -127
- package/lib/src/theme/antd-global-overwrite/admin/table.css +0 -318
- package/lib/src/theme/antd-global-overwrite/aplus/alert.css +0 -50
- package/lib/src/theme/antd-global-overwrite/aplus/button.css +0 -27
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +0 -93
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +0 -873
- package/lib/src/theme/antd-global-overwrite/aplus/message.css +0 -17
- package/lib/src/theme/antd-global-overwrite/aplus/modal.css +0 -111
- package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +0 -147
- package/lib/src/theme/antd-global-overwrite/aplus/steps.css +0 -125
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +0 -303
- package/lib/src/theme/reset.css +0 -257
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import { createVNode as
|
|
2
|
-
import { isUndefined as S, isArray as
|
|
3
|
-
import { valueEnumToArray as
|
|
1
|
+
import { createVNode as F, Fragment as M } from "vue";
|
|
2
|
+
import { isUndefined as S, isArray as c, isString as v, isBoolean as A, isNumber as B, pick as R } from "lodash-unified";
|
|
3
|
+
import { valueEnumToArray as N, getTableTitle as E, getTableRenderType as W, getTableRenderProps as _, getTableCellRenderNode as j } from "../../ap-table/utils.mjs";
|
|
4
|
+
import { noRenderAsFormItemValueList as k } from "../../ap-table/constants.mjs";
|
|
5
|
+
import "../../ap-table/components/paragraph-ellipsis/index.vue.mjs";
|
|
6
|
+
import z from "../../ap-table/components/paragraph-ellipsis/index.vue2.mjs";
|
|
4
7
|
function O(e) {
|
|
5
8
|
if (!S(e))
|
|
6
|
-
return
|
|
9
|
+
return c(e) ? e.reduce((r, t) => v(t) ? `${r}.${t}` : `${r}[${t}]`, "") : String(e);
|
|
7
10
|
}
|
|
8
|
-
function
|
|
11
|
+
function b(e) {
|
|
9
12
|
if (e)
|
|
10
13
|
return e === !0 ? "left" : e;
|
|
11
14
|
}
|
|
12
15
|
function G(e) {
|
|
13
|
-
return
|
|
16
|
+
return A(e) ? {
|
|
14
17
|
sortable: e
|
|
15
18
|
} : e ? {
|
|
16
19
|
sortable: !0,
|
|
@@ -20,87 +23,114 @@ function G(e) {
|
|
|
20
23
|
sortable: !1
|
|
21
24
|
};
|
|
22
25
|
}
|
|
23
|
-
function
|
|
26
|
+
function I(e) {
|
|
24
27
|
let r;
|
|
25
|
-
return
|
|
26
|
-
label: v(
|
|
27
|
-
value:
|
|
28
|
+
return A(e.filters) && e.valueEnum ? r = N(e.valueEnum) : r = e.filters, r == null ? void 0 : r.map((t) => ({
|
|
29
|
+
label: v(t.text) ? t.text : "",
|
|
30
|
+
value: t.value
|
|
28
31
|
}));
|
|
29
32
|
}
|
|
30
|
-
function
|
|
33
|
+
function L(e) {
|
|
31
34
|
if (e)
|
|
32
35
|
return (r) => e(r.value, r.row);
|
|
33
36
|
}
|
|
34
|
-
function
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
37
|
+
function U(e, r, t) {
|
|
38
|
+
return e ? B(e) ? {
|
|
39
|
+
tooltip: t,
|
|
40
|
+
rows: e
|
|
41
|
+
} : e === !0 || e === "tooltip" ? {
|
|
42
|
+
tooltip: t,
|
|
43
|
+
rows: 1
|
|
44
|
+
} : {
|
|
45
|
+
tooltip: null,
|
|
46
|
+
rows: 1,
|
|
47
|
+
htmlTitle: e === "title" ? r : ""
|
|
48
|
+
} : !1;
|
|
49
|
+
}
|
|
50
|
+
function V(e, r, t) {
|
|
51
|
+
if (k.includes(e.valueType))
|
|
52
|
+
return t;
|
|
53
|
+
if (e.copyable || e.ellipsis) {
|
|
54
|
+
const l = U(e.ellipsis, r, t);
|
|
55
|
+
return F(z, {
|
|
56
|
+
copyable: e.copyable,
|
|
57
|
+
ellipsis: l,
|
|
58
|
+
content: t
|
|
59
|
+
}, null);
|
|
60
|
+
}
|
|
61
|
+
return t;
|
|
39
62
|
}
|
|
40
|
-
function
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
63
|
+
function x(e, r, t) {
|
|
64
|
+
const l = R(e, ["width", "minWidth", "align"]);
|
|
65
|
+
return l.field = O(e.dataIndex), l.fixed = b(e.fixed), l.title = e.title, l.slots = {
|
|
66
|
+
header: () => E(e, t, void 0, r)
|
|
67
|
+
}, l.headerAlign = e.align, l.showOverflow = !1, l.showFooterOverflow = !1, l;
|
|
68
|
+
}
|
|
69
|
+
function o(e, r, t, l) {
|
|
70
|
+
const i = R(e, ["width", "minWidth", "align", "resizable"]);
|
|
71
|
+
i.field = O(e.dataIndex), i.fixed = b(e.fixed), i.headerAlign = e.align, i.footerAlign = e.align, i.showOverflow = !1, i.showFooterOverflow = !1, Object.assign(i, G(e.sorter)), i.filters = I(e), i.filterMultiple = e.filterMultiple, i.filterMethod = L(e.onFilter), i.title = e.title;
|
|
72
|
+
const a = ({
|
|
73
|
+
value: d,
|
|
45
74
|
...n
|
|
46
75
|
}) => {
|
|
47
|
-
var
|
|
48
|
-
const
|
|
76
|
+
var T, y;
|
|
77
|
+
const f = W(e), p = _({
|
|
49
78
|
...e,
|
|
50
|
-
valueType:
|
|
79
|
+
valueType: f
|
|
51
80
|
}, {
|
|
52
|
-
value:
|
|
81
|
+
value: d,
|
|
53
82
|
...n
|
|
54
|
-
}),
|
|
55
|
-
value:
|
|
83
|
+
}), $ = j(f, p, n.record, l), h = ((T = e.renderText) == null ? void 0 : T.call(e, {
|
|
84
|
+
value: d,
|
|
56
85
|
...n
|
|
57
|
-
})) ||
|
|
58
|
-
|
|
59
|
-
value: s,
|
|
86
|
+
})) || d, w = e.renderText ? F(M, null, [(y = e.renderText) == null ? void 0 : y.call(e, {
|
|
87
|
+
value: d,
|
|
60
88
|
...n
|
|
61
|
-
})]) :
|
|
62
|
-
|
|
63
|
-
|
|
89
|
+
})]) : $;
|
|
90
|
+
let u = V(e, h, w);
|
|
91
|
+
return e.customRender && (u = e.customRender({
|
|
92
|
+
value: d,
|
|
64
93
|
...n,
|
|
65
94
|
column: e,
|
|
66
|
-
originalNode:
|
|
67
|
-
originalText:
|
|
68
|
-
})),
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
95
|
+
originalNode: u,
|
|
96
|
+
originalText: h
|
|
97
|
+
})), u;
|
|
98
|
+
}, s = ({
|
|
99
|
+
row: d,
|
|
100
|
+
rowIndex: n
|
|
101
|
+
}) => a({
|
|
102
|
+
value: d[i.field],
|
|
103
|
+
text: d[i.field],
|
|
104
|
+
record: d,
|
|
105
|
+
index: n,
|
|
106
|
+
renderIndex: n,
|
|
107
|
+
column: e
|
|
108
|
+
});
|
|
109
|
+
return i.slots = {
|
|
110
|
+
header: () => E(e, t, void 0, r),
|
|
111
|
+
default: s,
|
|
112
|
+
footer: s
|
|
113
|
+
}, i;
|
|
84
114
|
}
|
|
85
|
-
function
|
|
115
|
+
function X(e, r, t, l) {
|
|
86
116
|
var s;
|
|
87
117
|
if (!((s = e.children) != null && s.length))
|
|
88
|
-
return
|
|
89
|
-
function
|
|
90
|
-
return
|
|
91
|
-
var
|
|
92
|
-
if ((
|
|
93
|
-
const
|
|
94
|
-
return
|
|
118
|
+
return o(e, r, t, l);
|
|
119
|
+
function i(d) {
|
|
120
|
+
return d.map((n) => {
|
|
121
|
+
var f;
|
|
122
|
+
if ((f = n.children) != null && f.length) {
|
|
123
|
+
const p = x(n, r, t);
|
|
124
|
+
return p.children = i(n.children), p;
|
|
95
125
|
}
|
|
96
|
-
return
|
|
126
|
+
return o(n, r, t, l);
|
|
97
127
|
});
|
|
98
128
|
}
|
|
99
|
-
const
|
|
100
|
-
return
|
|
129
|
+
const a = x(e, r, t);
|
|
130
|
+
return a.children = i(e.children), a;
|
|
101
131
|
}
|
|
102
132
|
export {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
133
|
+
X as transformCol,
|
|
134
|
+
x as transformToColGroup,
|
|
135
|
+
o as transformToColumn
|
|
106
136
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a, computed as n,
|
|
1
|
+
import { defineComponent as a, computed as n, openBlock as p, createBlock as s, resolveDynamicComponent as i, normalizeProps as l, guardReactiveProps as m, createSlots as c, renderList as u, withCtx as d, renderSlot as f } from "vue";
|
|
2
2
|
import "./ap-info-layout-aplus/ap-info-layout.vue.mjs";
|
|
3
3
|
import "./ap-info-layout-admin/ApInfoLayoutAdmin.vue.mjs";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
@@ -26,7 +26,7 @@ const D = /* @__PURE__ */ a({
|
|
|
26
26
|
}
|
|
27
27
|
return e;
|
|
28
28
|
});
|
|
29
|
-
return (e, h) => (
|
|
29
|
+
return (e, h) => (p(), s(i(t.value), l(m(e.$props)), c({ _: 2 }, [
|
|
30
30
|
u(e.$slots, (k, o) => ({
|
|
31
31
|
name: o,
|
|
32
32
|
fn: d(() => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, ref as t,
|
|
1
|
+
import { defineComponent as u, ref as t, openBlock as p, createElementBlock as y, normalizeClass as s, unref as e, createElementVNode as n, normalizeStyle as h, renderSlot as d } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as v } from "../../config-provider/hooks/use-namespace.mjs";
|
|
4
4
|
import { useGlobalConfig as _ } from "../../config-provider/hooks/use-global-config.mjs";
|
|
@@ -12,7 +12,7 @@ const L = /* @__PURE__ */ u({
|
|
|
12
12
|
const l = t(), a = t(), f = () => {
|
|
13
13
|
l.value && a.value && (l.value.scrollTop > 0 ? a.value.classList.add(o("header-shadow")) : a.value.classList.remove(o("header-shadow")));
|
|
14
14
|
}, { b: i, e: o, m: c } = v("ap-info-layout-admin"), m = _("uiMode", "admin");
|
|
15
|
-
return (r, k) => (
|
|
15
|
+
return (r, k) => (p(), y("div", {
|
|
16
16
|
ref_key: "containerRef",
|
|
17
17
|
ref: l,
|
|
18
18
|
class: s([e(i)(), `${e(c)(e(m))}`]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $, computed as t, onActivated as y, onDeactivated as B,
|
|
1
|
+
import { defineComponent as $, computed as t, onActivated as y, onDeactivated as B, openBlock as d, createElementBlock as E, normalizeClass as a, createBlock as H, Teleport as k, renderSlot as s, createElementVNode as o, createVNode as A, unref as N } from "vue";
|
|
2
2
|
import { Divider as T } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as V } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as H, ref as J, unref as t, computed as d, watch as Q,
|
|
1
|
+
import { defineComponent as H, ref as J, unref as t, computed as d, watch as Q, openBlock as i, createBlock as S, normalizeClass as u, withCtx as f, createElementVNode as X, normalizeStyle as h, renderSlot as l, createVNode as v, createElementBlock as p, Fragment as I, renderList as Y, mergeProps as Z, createCommentVNode as _ } from "vue";
|
|
2
2
|
import { Empty as E, Spin as x, Pagination as ee } from "@aplus-frontend/antdv";
|
|
3
3
|
import { useTablePaging as te } from "../ap-table/hooks/use-table-paging-ng.mjs";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
@@ -165,7 +165,7 @@ const he = /* @__PURE__ */ H({
|
|
|
165
165
|
key: 1,
|
|
166
166
|
dataSource: s.value
|
|
167
167
|
}, () => [
|
|
168
|
-
(i(!0), p(I, null,
|
|
168
|
+
(i(!0), p(I, null, Y(s.value, (r, o) => l(e.$slots, "renderItem", {
|
|
169
169
|
item: r,
|
|
170
170
|
index: o
|
|
171
171
|
})), 256))
|
|
@@ -176,11 +176,11 @@ const he = /* @__PURE__ */ H({
|
|
|
176
176
|
class: u(t(N)("footer")),
|
|
177
177
|
style: h(e.footerWarpperStyle)
|
|
178
178
|
}, [
|
|
179
|
-
v(t(ee),
|
|
179
|
+
v(t(ee), Z(
|
|
180
180
|
c.value ? t(B) : t(ne)(t(z).pagination, ["showTotal"]),
|
|
181
181
|
{ onChange: K }
|
|
182
182
|
), null, 16)
|
|
183
|
-
], 6)) :
|
|
183
|
+
], 6)) : _("", !0)
|
|
184
184
|
], 6)
|
|
185
185
|
]),
|
|
186
186
|
_: 3
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Ne, useSlots as Ie, ref as h, computed as s, unref as t,
|
|
1
|
+
import { defineComponent as Ne, useSlots as Ie, ref as h, computed as s, unref as t, createVNode as f, Fragment as Y, watch as I, openBlock as m, createElementBlock as k, normalizeClass as y, normalizeStyle as K, mergeProps as w, createSlots as Z, withCtx as v, renderList as ee, createBlock as oe, resolveDynamicComponent as Ke, renderSlot as R, createCommentVNode as re, createElementVNode as E, normalizeProps as Ee, guardReactiveProps as Oe } from "vue";
|
|
2
2
|
import { Divider as Ve, Table as Le } from "@aplus-frontend/antdv";
|
|
3
3
|
import { useToken as $e } from "@aplus-frontend/antdv/es/theme/internal";
|
|
4
4
|
import { ApForm as Ae } from "../ap-form/index.mjs";
|
|
@@ -6,7 +6,7 @@ import { noRenderAsFormItemValueList as ae } from "./constants.mjs";
|
|
|
6
6
|
import "../config-provider/index.mjs";
|
|
7
7
|
import { useTablePaging as De } from "./hooks/use-table-paging-ng.mjs";
|
|
8
8
|
import { isUndefined as b, omit as te, isBoolean as We } from "lodash-unified";
|
|
9
|
-
import { getColumnOrder as le, updateFormProps as je, getFieldProps as _e, getSearchFormItemRenderNode as He, recursionApColumns as ne,
|
|
9
|
+
import { getColumnOrder as le, updateFormProps as je, getFieldProps as _e, getSearchFormItemRenderNode as He, recursionApColumns as ne, apColumnToColumn as Ue, getTableTitle as qe, getTableRenderType as Me, getTableRenderProps as Ge, getTableCellRenderNode as Je, falseToUndefined as Qe } from "./utils.mjs";
|
|
10
10
|
import Xe from "./hooks/use-table-content-height.mjs";
|
|
11
11
|
import Ye from "./hooks/use-table-row-selection.mjs";
|
|
12
12
|
import { getScrollbarSize as Ze, isDef as eo } from "../utils/index.mjs";
|
|
@@ -17,9 +17,9 @@ import "../scroll-bar/index.mjs";
|
|
|
17
17
|
import { useStickyScroll as ro } from "./hooks/use-sticky-scroll.mjs";
|
|
18
18
|
import { useNamespace as ao } from "../config-provider/hooks/use-namespace.mjs";
|
|
19
19
|
import { useGlobalConfig as to } from "../config-provider/hooks/use-global-config.mjs";
|
|
20
|
-
import lo from "./components/
|
|
21
|
-
import no from "
|
|
22
|
-
import so from "
|
|
20
|
+
import lo from "./components/paragraph-ellipsis/index.vue2.mjs";
|
|
21
|
+
import no from "./components/setting/modal/index.vue2.mjs";
|
|
22
|
+
import so from "../scroll-bar/index.vue.mjs";
|
|
23
23
|
const No = /* @__PURE__ */ Ne({
|
|
24
24
|
name: "ApTable",
|
|
25
25
|
__name: "ap-table",
|
|
@@ -243,7 +243,7 @@ const No = /* @__PURE__ */ Ne({
|
|
|
243
243
|
function a(l, d) {
|
|
244
244
|
return l.map((n) => ({
|
|
245
245
|
resizable: eo(n.resizable) ? n.resizable : o.columnResizable,
|
|
246
|
-
...te(
|
|
246
|
+
...te(Ue(n), ["ellipsis"]),
|
|
247
247
|
// tips: 此函数内部依赖查询&筛选的相应式值
|
|
248
248
|
...he(n),
|
|
249
249
|
fixed: d ? d.fixed : n.fixed,
|
|
@@ -262,7 +262,7 @@ const No = /* @__PURE__ */ Ne({
|
|
|
262
262
|
}), ze = Je(G, Be, S.record, t(L)), J = ((Q = n.renderText) == null ? void 0 : Q.call(n, {
|
|
263
263
|
value: p,
|
|
264
264
|
...S
|
|
265
|
-
})) || p, Pe = n.renderText ?
|
|
265
|
+
})) || p, Pe = n.renderText ? f(Y, null, [(X = n.renderText) == null ? void 0 : X.call(n, {
|
|
266
266
|
value: p,
|
|
267
267
|
...S
|
|
268
268
|
})]) : ze;
|
|
@@ -312,7 +312,7 @@ const No = /* @__PURE__ */ Ne({
|
|
|
312
312
|
...a,
|
|
313
313
|
// tips 如果是前端分页,则默认会走缓存
|
|
314
314
|
preserveSelectedRowKeys: b(o.dataSource) ? a.preserveSelectedRowKeys : !0
|
|
315
|
-
} :
|
|
315
|
+
} : Qe(o.rowSelection),
|
|
316
316
|
loading: b(o.loading) ? e.loading : o.loading,
|
|
317
317
|
pagination: o.pagination === !1 ? !1 : e.pagination,
|
|
318
318
|
scroll: t(ve)
|
|
@@ -322,7 +322,7 @@ const No = /* @__PURE__ */ Ne({
|
|
|
322
322
|
return [c(), o.card ? null : c("wrapper"), o.adaptive ? c("adaptive") : null, D.value && ((e = i.value) != null && e.visible) ? ie(`sticky-${j === 0 ? "absolute" : "relative"}`) : null].filter(Boolean);
|
|
323
323
|
});
|
|
324
324
|
function Te(e, a, r) {
|
|
325
|
-
return ae.includes(e.valueType) ? r : e.copyable || e.ellipsis ?
|
|
325
|
+
return ae.includes(e.valueType) ? r : e.copyable || e.ellipsis ? f(lo, {
|
|
326
326
|
copyable: e.copyable,
|
|
327
327
|
ellipsis: e.ellipsis ? We(e.ellipsis) ? {
|
|
328
328
|
tooltip: r,
|
|
@@ -379,18 +379,18 @@ const No = /* @__PURE__ */ Ne({
|
|
|
379
379
|
},
|
|
380
380
|
y: void 0
|
|
381
381
|
}
|
|
382
|
-
}), (e, a) => (
|
|
382
|
+
}), (e, a) => (m(), k("div", {
|
|
383
383
|
ref_key: "tableWrapperRef",
|
|
384
384
|
ref: $,
|
|
385
|
-
class:
|
|
385
|
+
class: y(Ce.value),
|
|
386
386
|
style: K(t(ce)({
|
|
387
387
|
"scroll-bar-width": `${t(j)}px`
|
|
388
388
|
}))
|
|
389
|
-
}, [t(b)(e.dataSource) && e.searchForm !== !1 && _.value.length > 0 ? (
|
|
389
|
+
}, [t(b)(e.dataSource) && e.searchForm !== !1 && _.value.length > 0 ? (m(), k("div", {
|
|
390
390
|
key: 0,
|
|
391
|
-
class:
|
|
391
|
+
class: y(e.card ? t(B)("search-wrapper") : null),
|
|
392
392
|
style: K(e.searchFormWrapperStyle)
|
|
393
|
-
}, [
|
|
393
|
+
}, [f(t(Ae).SearchForm, w(e.searchForm || {}, {
|
|
394
394
|
ref_key: "formRef",
|
|
395
395
|
ref: P,
|
|
396
396
|
"custom-reset": "",
|
|
@@ -398,7 +398,7 @@ const No = /* @__PURE__ */ Ne({
|
|
|
398
398
|
onSubmit: t(H),
|
|
399
399
|
onReset: t(U)
|
|
400
400
|
}), Z({
|
|
401
|
-
default: v(() => [(
|
|
401
|
+
default: v(() => [(m(!0), k(Y, null, ee(_.value, (r) => (m(), oe(Ke(r.renderNode.Comp), w({
|
|
402
402
|
key: r.dataIndex,
|
|
403
403
|
item: r,
|
|
404
404
|
ref_for: !0
|
|
@@ -411,33 +411,33 @@ const No = /* @__PURE__ */ Ne({
|
|
|
411
411
|
name: "extra",
|
|
412
412
|
fn: v(() => [R(e.$slots, "searchFormExtra")]),
|
|
413
413
|
key: "0"
|
|
414
|
-
} : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) :
|
|
414
|
+
} : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : re("", !0), E("div", {
|
|
415
415
|
ref_key: "contentRef",
|
|
416
416
|
ref: fe,
|
|
417
|
-
class:
|
|
417
|
+
class: y([t(B)("table-wrapper"), e.card ? t(B)("table-wrapper-card") : null]),
|
|
418
418
|
style: K(e.tableWrapperStyle)
|
|
419
419
|
}, [E("div", {
|
|
420
|
-
class:
|
|
421
|
-
}, [e.settings ? (
|
|
420
|
+
class: y(t(c)("header-wrapper"))
|
|
421
|
+
}, [e.settings ? (m(), k("div", {
|
|
422
422
|
key: 0,
|
|
423
|
-
class:
|
|
423
|
+
class: y(t(c)("header"))
|
|
424
424
|
}, [E("div", {
|
|
425
|
-
class:
|
|
425
|
+
class: y(t(V)("header", "title"))
|
|
426
426
|
}, [R(e.$slots, "title", w({
|
|
427
427
|
selectedRows: t(F),
|
|
428
428
|
selectedRowKeys: t(T).selectedRowKeys,
|
|
429
429
|
shownColumns: u.value
|
|
430
|
-
}, x))], 2), C.title ? (
|
|
430
|
+
}, x))], 2), C.title ? (m(), oe(t(Ve), {
|
|
431
431
|
key: 0,
|
|
432
432
|
type: "vertical"
|
|
433
|
-
})) :
|
|
433
|
+
})) : re("", !0), f(no, {
|
|
434
434
|
config: e.settings === !0 ? {} : e.settings
|
|
435
435
|
}, null, 8, ["config"])], 2)) : R(e.$slots, "title", w({
|
|
436
436
|
key: 1,
|
|
437
437
|
selectedRows: t(F),
|
|
438
438
|
selectedRowKeys: t(T).selectedRowKeys,
|
|
439
439
|
shownColumns: u.value
|
|
440
|
-
}, x))], 2),
|
|
440
|
+
}, x))], 2), f(t(Le), w({
|
|
441
441
|
ref_key: "antdTableRef",
|
|
442
442
|
ref: A,
|
|
443
443
|
class: t(c)("table")
|
|
@@ -457,7 +457,7 @@ const No = /* @__PURE__ */ Ne({
|
|
|
457
457
|
name: "bottomPaginationTop",
|
|
458
458
|
fn: v(() => {
|
|
459
459
|
var r, l;
|
|
460
|
-
return [
|
|
460
|
+
return [f(t(so), {
|
|
461
461
|
ref_key: "scrollBarRef",
|
|
462
462
|
ref: i,
|
|
463
463
|
"scroll-container": (l = (r = A.value) == null ? void 0 : r.table) == null ? void 0 : l.scrollBodyRef,
|
|
@@ -465,7 +465,7 @@ const No = /* @__PURE__ */ Ne({
|
|
|
465
465
|
}, null, 8, ["scroll-container"])];
|
|
466
466
|
}),
|
|
467
467
|
key: "0"
|
|
468
|
-
} : void 0,
|
|
468
|
+
} : void 0, ee(t(te)(C, ["title", "searchFormExtra", "headerCell", "summary"]), (r, l) => ({
|
|
469
469
|
name: l,
|
|
470
470
|
fn: v((d) => [R(e.$slots, l, Ee(Oe(d || {})))])
|
|
471
471
|
}))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 6));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n,
|
|
1
|
+
import { defineComponent as n, openBlock as o, createBlock as t, resolveDynamicComponent as r } from "vue";
|
|
2
2
|
const s = /* @__PURE__ */ n({
|
|
3
3
|
name: "ApTableDynamicComponent",
|
|
4
4
|
inheritAttrs: !1,
|
|
@@ -7,7 +7,7 @@ const s = /* @__PURE__ */ n({
|
|
|
7
7
|
customRender: { type: Function }
|
|
8
8
|
},
|
|
9
9
|
setup(p) {
|
|
10
|
-
return (e, a) => (
|
|
10
|
+
return (e, a) => (o(), t(r(e.customRender(e.$attrs))));
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, computed as l,
|
|
1
|
+
import { defineComponent as n, computed as l, openBlock as s, createElementBlock as p, normalizeClass as d, toDisplayString as m } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as c } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
4
4
|
const _ = /* @__PURE__ */ n({
|
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ n({
|
|
|
10
10
|
},
|
|
11
11
|
setup(e) {
|
|
12
12
|
const o = e, { m: a } = c("ap-table-index"), r = l(() => [o.bordered ? a("bordered") : null].filter(Boolean));
|
|
13
|
-
return (t, i) => (
|
|
13
|
+
return (t, i) => (s(), p("div", {
|
|
14
14
|
class: d(r.value)
|
|
15
15
|
}, m(t.value), 3));
|
|
16
16
|
}
|
|
@@ -5,6 +5,7 @@ interface Props {
|
|
|
5
5
|
ellipsis?: boolean | {
|
|
6
6
|
rows?: number;
|
|
7
7
|
tooltip?: VNodeChild;
|
|
8
|
+
htmlTitle?: string;
|
|
8
9
|
};
|
|
9
10
|
}
|
|
10
11
|
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as x, ref as _, computed as B, openBlock as i, createElementBlock as f, mergeProps as E, unref as l, createElementVNode as O, normalizeClass as y, createVNode as v, createSlots as N, withCtx as m, createBlock as c, resolveDynamicComponent as b, h, createCommentVNode as j } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { Tooltip as w } from "@aplus-frontend/antdv";
|
|
4
4
|
import { CopyOutlined as S, CheckOutlined as V } from "@ant-design/icons-vue";
|
|
5
5
|
import { useNamespace as A } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
6
6
|
import { useLocale as P } from "../../../config-provider/hooks/use-locale.mjs";
|
|
7
|
-
const G = /* @__PURE__ */
|
|
7
|
+
const G = /* @__PURE__ */ x({
|
|
8
8
|
name: "ApTableParagraphEllipsis",
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: {
|
|
@@ -13,22 +13,24 @@ const G = /* @__PURE__ */ T({
|
|
|
13
13
|
ellipsis: { type: [Boolean, Object] }
|
|
14
14
|
},
|
|
15
15
|
setup(C) {
|
|
16
|
-
const { b:
|
|
16
|
+
const { b: u } = A("ap-table-paragraph-ellipsis"), { t: d } = P(), o = C, p = _(!1), r = B(() => o.ellipsis === !0 ? {
|
|
17
17
|
rows: 1,
|
|
18
|
-
tooltip: o.content
|
|
18
|
+
tooltip: o.content,
|
|
19
|
+
htmlTitle: ""
|
|
19
20
|
} : typeof o.ellipsis == "object" ? Object.assign(
|
|
20
21
|
{
|
|
21
22
|
rows: 1,
|
|
22
|
-
tooltip: o.content
|
|
23
|
+
tooltip: o.content,
|
|
24
|
+
htmlTitle: ""
|
|
23
25
|
},
|
|
24
26
|
o.ellipsis
|
|
25
27
|
) : {});
|
|
26
|
-
function
|
|
28
|
+
function T() {
|
|
27
29
|
return (window.top !== window ? window.top : window) ?? window;
|
|
28
30
|
}
|
|
29
31
|
function g(n) {
|
|
30
32
|
var a;
|
|
31
|
-
const e =
|
|
33
|
+
const e = T();
|
|
32
34
|
if ((a = e == null ? void 0 : e.navigator) != null && a.clipboard)
|
|
33
35
|
e.navigator.clipboard.writeText(n);
|
|
34
36
|
else if (e.document) {
|
|
@@ -36,8 +38,8 @@ const G = /* @__PURE__ */ T({
|
|
|
36
38
|
t.value = n, t.style.position = "fixed", t.style.top = "-1000px", e.document.body.appendChild(t), t.focus(), t.select();
|
|
37
39
|
try {
|
|
38
40
|
e.document.execCommand("copy");
|
|
39
|
-
} catch (
|
|
40
|
-
console.error("复制失败:",
|
|
41
|
+
} catch (s) {
|
|
42
|
+
console.error("复制失败:", s);
|
|
41
43
|
}
|
|
42
44
|
e.document.body.removeChild(t);
|
|
43
45
|
}
|
|
@@ -45,14 +47,14 @@ const G = /* @__PURE__ */ T({
|
|
|
45
47
|
function k() {
|
|
46
48
|
var e, a, t;
|
|
47
49
|
const n = ((e = r.value) == null ? void 0 : e.tooltip) ?? ((t = (a = o.content) == null ? void 0 : a.props) == null ? void 0 : t.value) ?? o.content;
|
|
48
|
-
g(n),
|
|
49
|
-
|
|
50
|
+
g(n), p.value || (p.value = !0, setTimeout(() => {
|
|
51
|
+
p.value = !1;
|
|
50
52
|
}, 2200));
|
|
51
53
|
}
|
|
52
54
|
return (n, e) => {
|
|
53
55
|
var a, t;
|
|
54
|
-
return
|
|
55
|
-
class: [l(
|
|
56
|
+
return i(), f("div", E({
|
|
57
|
+
class: [l(u)()]
|
|
56
58
|
}, {
|
|
57
59
|
...n.$attrs
|
|
58
60
|
}, {
|
|
@@ -61,37 +63,42 @@ const G = /* @__PURE__ */ T({
|
|
|
61
63
|
}
|
|
62
64
|
}), [
|
|
63
65
|
O("div", {
|
|
64
|
-
class:
|
|
66
|
+
class: y([l(u)("content")])
|
|
65
67
|
}, [
|
|
66
|
-
|
|
67
|
-
default:
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
v(l(w), null, N({
|
|
69
|
+
default: m(() => {
|
|
70
|
+
var s;
|
|
71
|
+
return [
|
|
72
|
+
(i(), c(b(
|
|
73
|
+
h("span", { title: (s = r.value) == null ? void 0 : s.htmlTitle }, [o.content])
|
|
74
|
+
)))
|
|
75
|
+
];
|
|
76
|
+
}),
|
|
70
77
|
_: 2
|
|
71
78
|
}, [
|
|
72
79
|
(t = r.value) != null && t.tooltip ? {
|
|
73
80
|
name: "title",
|
|
74
|
-
fn:
|
|
75
|
-
(
|
|
81
|
+
fn: m(() => [
|
|
82
|
+
(i(), c(b(h("div", [r.value.tooltip]))))
|
|
76
83
|
]),
|
|
77
84
|
key: "0"
|
|
78
85
|
} : void 0
|
|
79
86
|
]), 1024)
|
|
80
87
|
], 2),
|
|
81
|
-
o.copyable ? (
|
|
88
|
+
o.copyable ? (i(), f("div", {
|
|
82
89
|
key: 0,
|
|
83
|
-
class:
|
|
90
|
+
class: y([l(u)("copyable")]),
|
|
84
91
|
onClick: k
|
|
85
92
|
}, [
|
|
86
|
-
|
|
87
|
-
title:
|
|
93
|
+
v(l(w), {
|
|
94
|
+
title: p.value ? l(d)("ap.apTable.paragraphEllipsis.copySuccess") : l(d)("ap.apTable.paragraphEllipsis.copy")
|
|
88
95
|
}, {
|
|
89
|
-
default:
|
|
90
|
-
|
|
96
|
+
default: m(() => [
|
|
97
|
+
p.value ? (i(), c(l(V), { key: 1 })) : (i(), c(l(S), { key: 0 }))
|
|
91
98
|
]),
|
|
92
99
|
_: 1
|
|
93
100
|
}, 8, ["title"])
|
|
94
|
-
], 2)) :
|
|
101
|
+
], 2)) : j("", !0)
|
|
95
102
|
], 16);
|
|
96
103
|
};
|
|
97
104
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, ref as y, unref as e, computed as H, useSlots as L, createVNode as l, cloneVNode as M,
|
|
1
|
+
import { defineComponent as G, ref as y, unref as e, computed as H, useSlots as L, createVNode as l, cloneVNode as M, openBlock as x, createElementBlock as P, Fragment as q, createBlock as J, resolveDynamicComponent as Q, createCommentVNode as W, withCtx as i, createElementVNode as s, normalizeClass as r, toDisplayString as c, createTextVNode as C, isRef as X } from "vue";
|
|
2
2
|
import { Button as B, Modal as Y, RadioGroup as Z, RadioButton as _, Divider as h } from "@aplus-frontend/antdv";
|
|
3
3
|
import { getSingleVNode as ee } from "../../../../utils/slot.mjs";
|
|
4
4
|
import { useInjectApTable as te } from "../../../context.mjs";
|
|
@@ -62,9 +62,9 @@ const re = {
|
|
|
62
62
|
const p = N(n.value);
|
|
63
63
|
E(p), I(p), (o = (t = m.config) == null ? void 0 : t.onChange) == null || o.call(t, p);
|
|
64
64
|
}
|
|
65
|
-
return (p, t) => (x(), P(q, null, [e(k) ? (x(), J(
|
|
65
|
+
return (p, t) => (x(), P(q, null, [e(k) ? (x(), J(Q(e(k)), {
|
|
66
66
|
key: 0
|
|
67
|
-
})) :
|
|
67
|
+
})) : W("", !0), l(e(Y), {
|
|
68
68
|
open: u.value,
|
|
69
69
|
"onUpdate:open": t[2] || (t[2] = (o) => u.value = o),
|
|
70
70
|
title: e(a)("ap.apTable.setting.title"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, ref as U, computed as p, unref as l, watch as x,
|
|
1
|
+
import { defineComponent as P, ref as U, computed as p, unref as l, watch as x, openBlock as s, createElementBlock as v, createElementVNode as k, normalizeClass as D, createVNode as u, withCtx as i, createBlock as h, resolveDynamicComponent as w, Fragment as L, renderList as j, mergeProps as z } from "vue";
|
|
2
2
|
import { Checkbox as b, Row as F, Col as I } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../../../config-provider/index.mjs";
|
|
4
4
|
import { useInjectApTable as R } from "../../../context.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, ref as c,
|
|
1
|
+
import { defineComponent as f, ref as c, openBlock as n, createElementBlock as u, normalizeClass as m, unref as r, createVNode as i, withCtx as k, createBlock as y, createCommentVNode as p } from "vue";
|
|
2
2
|
import "./item.vue.mjs";
|
|
3
3
|
import "../../../../config-provider/index.mjs";
|
|
4
4
|
import V from "vuedraggable";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as E,
|
|
1
|
+
import { defineComponent as E, openBlock as s, createElementBlock as g, normalizeClass as t, unref as e, createElementVNode as p, createVNode as c, createCommentVNode as r, createBlock as u, resolveDynamicComponent as I, withCtx as d } from "vue";
|
|
2
2
|
import { Space as O, Tooltip as m } from "@aplus-frontend/antdv";
|
|
3
3
|
import { HolderOutlined as D, VerticalAlignTopOutlined as k, VerticalAlignMiddleOutlined as z, DeleteOutlined as A } from "@ant-design/icons-vue";
|
|
4
4
|
import "../../../../config-provider/index.mjs";
|