@aplus-frontend/ui 0.4.31 → 0.4.33
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-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/interface.d.ts +4 -0
- 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 +112 -93
- package/es/src/ap-field/select/use-select-options.d.ts +21 -0
- package/es/src/ap-field/select/use-select-options.mjs +43 -0
- 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-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-modal/utils/createModal.mjs +36 -26
- package/es/src/ap-table/ap-table.vue2.mjs +28 -28
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +52 -33
- 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-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.d.ts +1 -0
- package/es/src/business/batch-input-group/index.vue.mjs +70 -60
- package/es/src/business/batch-input-group/interface.d.ts +5 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/business/hooks/useTableRefresh.mjs +39 -32
- 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/locale/lang/en.mjs +2 -2
- package/es/src/locale/lang/zh-cn.mjs +2 -2
- 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-field/interface.d.ts +4 -0
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +21 -0
- package/lib/src/ap-field/select/use-select-options.js +1 -0
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- 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/lib/src/business/batch-input-group/index.vue.d.ts +1 -0
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +5 -1
- package/lib/src/business/hooks/useTableRefresh.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/package.json +1 -1
- package/theme/antd-global-overwrite/admin/index.css +1 -1
- package/theme/antd-global-overwrite/admin/modal.css +1 -1
- package/theme/antd-global-overwrite/admin/modal.less +1 -1
- package/theme/antd-global-overwrite/aplus/index.css +1 -1
- package/theme/antd-global-overwrite/aplus/modal.css +1 -1
- package/theme/antd-global-overwrite/aplus/modal.less +1 -1
- package/theme/ap-form/ap-form-item.css +3 -0
- package/theme/ap-form/ap-form-item.less +9 -0
- package/theme/ap-form/index.css +3 -0
- package/theme/ap-form/search-form.css +3 -0
- package/theme/ap-table/ap-table.css +3 -0
- package/theme/ap-table-modal/index.css +3 -0
- package/theme/batch-input-group/index.css +5 -1
- package/theme/batch-input-group/index.less +1 -0
- package/theme/batch-input-group/popover-input.css +2 -1
- package/theme/batch-input-group/popover-input.less +5 -1
- package/theme/editable-table/index.css +3 -0
- package/theme/index.css +8 -1
- package/theme/ap-scroll-bar/index.css +0 -31
- package/theme/ap-scroll-bar/index.less +0 -39
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, ref as y, useSlots as g, computed as S,
|
|
1
|
+
import { defineComponent as x, ref as y, useSlots as g, computed as S, createBlock as F, openBlock as k, normalizeProps as t, guardReactiveProps as a, unref as l, createSlots as u, withCtx as i, createVNode as C, renderList as f, renderSlot as m } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/index.mjs";
|
|
4
4
|
import { isUndefined as q, omit as c, pick as P } from "lodash-unified";
|
|
@@ -77,7 +77,7 @@ const D = /* @__PURE__ */ x({
|
|
|
77
77
|
bordered: o.bordered ? !1 : q((e = o.field) == null ? void 0 : e.bordered) ? !0 : (s = o.field) == null ? void 0 : s.bordered
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
|
-
return (e, s) => (
|
|
80
|
+
return (e, s) => (k(), F($, t(a(l(c)(o, ["field", "placeholder", "disabled"]))), u({
|
|
81
81
|
default: i(() => [
|
|
82
82
|
C(l(N), t(a(h.value)), u({ _: 2 }, [
|
|
83
83
|
f(l(c)(p, l(b)), (B, r) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, useSlots as B,
|
|
1
|
+
import { defineComponent as b, useSlots as B, createBlock as h, openBlock as v, normalizeProps as t, guardReactiveProps as r, unref as o, createSlots as d, withCtx as i, createVNode as y, mergeProps as g, renderList as n, renderSlot as p } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/switch/index.vue2.mjs";
|
|
4
4
|
import { omit as m, pick as x } from "lodash-unified";
|
|
@@ -52,7 +52,7 @@ const I = /* @__PURE__ */ b({
|
|
|
52
52
|
},
|
|
53
53
|
setup(u) {
|
|
54
54
|
const c = u, s = B();
|
|
55
|
-
return (a, C) => (
|
|
55
|
+
return (a, C) => (v(), h(S, t(r(o(m)(c, ["field", "disabled"]))), d({
|
|
56
56
|
default: i(() => [
|
|
57
57
|
y(k, g({ disabled: a.disabled }, a.field), d({ _: 2 }, [
|
|
58
58
|
n(o(m)(s, o(f)), (_, e) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a,
|
|
1
|
+
import { defineComponent as a, createBlock as m, openBlock as s, unref as o, mergeProps as c, withCtx as n, renderSlot as u } from "vue";
|
|
2
2
|
import { Input as l } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as f } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -11,7 +11,7 @@ const B = /* @__PURE__ */ a({
|
|
|
11
11
|
},
|
|
12
12
|
setup(t) {
|
|
13
13
|
const { b: p } = f("ap-form-item-text-group"), r = t;
|
|
14
|
-
return (e, i) => (
|
|
14
|
+
return (e, i) => (s(), m(o(l).Group, c({
|
|
15
15
|
class: e.$props.compact ? o(p)("compact") : null
|
|
16
16
|
}, r), {
|
|
17
17
|
default: n(() => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as x, ref as S, computed as _,
|
|
1
|
+
import { defineComponent as B, useSlots as x, ref as S, computed as _, createBlock as k, openBlock as F, normalizeProps as n, guardReactiveProps as p, unref as t, createSlots as u, withCtx as d, createVNode as R, mergeProps as C, renderList as f, renderSlot as c } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import { ApField as P } from "../../../ap-field/index.mjs";
|
|
4
4
|
import { omit as m, pick as A } from "lodash-unified";
|
|
@@ -74,7 +74,7 @@ const E = /* @__PURE__ */ B({
|
|
|
74
74
|
var e;
|
|
75
75
|
return (e = l.value) == null ? void 0 : e.input;
|
|
76
76
|
})
|
|
77
|
-
}), (e, a) => (
|
|
77
|
+
}), (e, a) => (F(), k(N, n(p(t(m)(y, ["field", "disabled", "placeholder"]))), u({
|
|
78
78
|
default: d(() => [
|
|
79
79
|
R(t(g), C({
|
|
80
80
|
ref_key: "inputRef",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, useSlots as _, ref as g,
|
|
1
|
+
import { defineComponent as B, useSlots as _, ref as g, createBlock as x, openBlock as k, normalizeProps as t, guardReactiveProps as s, unref as o, createSlots as n, withCtx as d, createVNode as F, mergeProps as S, renderList as i, renderSlot as f } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import { ApField as C } from "../../../ap-field/index.mjs";
|
|
4
4
|
import { omit as u, pick as P } from "lodash-unified";
|
|
@@ -62,7 +62,7 @@ const z = /* @__PURE__ */ B({
|
|
|
62
62
|
var e;
|
|
63
63
|
(e = a.value) == null || e.blur();
|
|
64
64
|
}
|
|
65
|
-
}), (e, R) => (
|
|
65
|
+
}), (e, R) => (k(), x(w, t(s(o(u)(v, ["field", "disabled", "placeholder"]))), n({
|
|
66
66
|
default: d(() => [
|
|
67
67
|
F(o(h).Password, S({
|
|
68
68
|
ref_key: "inputRef",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, useSlots as b, ref as x, computed as h,
|
|
1
|
+
import { defineComponent as c, useSlots as b, ref as x, computed as h, createBlock as v, openBlock as y, normalizeProps as r, guardReactiveProps as t, unref as s, createSlots as B, withCtx as d, createVNode as A, mergeProps as g, renderList as _, renderSlot as k } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import { ApField as C } from "../../../ap-field/index.mjs";
|
|
4
4
|
import { omit as F } from "lodash-unified";
|
|
@@ -64,7 +64,7 @@ const $ = /* @__PURE__ */ c({
|
|
|
64
64
|
var e;
|
|
65
65
|
return (e = l.value) == null ? void 0 : e.resizableTextArea;
|
|
66
66
|
})
|
|
67
|
-
}), (e, o) => (
|
|
67
|
+
}), (e, o) => (y(), v(S, r(t(s(F)(f, ["field", "disabled", "placeholder"]))), B({
|
|
68
68
|
default: d(() => [
|
|
69
69
|
A(s(p), g({
|
|
70
70
|
ref_key: "textAreaRef",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as D, defineComponent as L, useSlots as A, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s,
|
|
1
|
+
import { isVNode as D, defineComponent as L, useSlots as A, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s, createElementBlock as W, openBlock as g, Fragment as H, createBlock as P, createCommentVNode as J, withCtx as F, createElementVNode as Q, normalizeClass as X, normalizeStyle as Y, renderSlot as w, resolveDynamicComponent as N, createTextVNode as Z, toDisplayString as ee } from "vue";
|
|
2
2
|
import { Button as V, Flex as te, Space as le, Modal as oe } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -241,7 +241,7 @@ const Me = /* @__PURE__ */ L({
|
|
|
241
241
|
"onUpdate:open": $,
|
|
242
242
|
onCancel: k
|
|
243
243
|
}), {
|
|
244
|
-
title: F(() => [
|
|
244
|
+
title: F(() => [w(e.$slots, "title", {}, () => [Z(ee(o.title), 1)])]),
|
|
245
245
|
default: F(() => [u(de, b({
|
|
246
246
|
ref_key: "formRef",
|
|
247
247
|
ref: a
|
|
@@ -250,17 +250,17 @@ const Me = /* @__PURE__ */ L({
|
|
|
250
250
|
}), {
|
|
251
251
|
default: F(() => {
|
|
252
252
|
var l;
|
|
253
|
-
return [
|
|
253
|
+
return [Q("div", {
|
|
254
254
|
style: Y((l = e.modalProps) == null ? void 0 : l.bodyStyle),
|
|
255
|
-
class:
|
|
256
|
-
}, [
|
|
255
|
+
class: X(s(h)("content"))
|
|
256
|
+
}, [w(e.$slots, "default")], 6), (g(), P(N(O.value)))];
|
|
257
257
|
}),
|
|
258
258
|
_: 3
|
|
259
259
|
}, 16)]),
|
|
260
260
|
_: 3
|
|
261
|
-
}, 16, ["open", "width", "class"]), s(B) ? (g(),
|
|
261
|
+
}, 16, ["open", "width", "class"]), s(B) ? (g(), P(N(s(B)), {
|
|
262
262
|
key: 0
|
|
263
|
-
})) :
|
|
263
|
+
})) : J("", !0)], 64));
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
266
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, useSlots as c,
|
|
1
|
+
import { defineComponent as m, useSlots as c, createBlock as B, openBlock as v, unref as e, normalizeProps as o, guardReactiveProps as l, createSlots as y, withCtx as t, createVNode as x, renderSlot as s, renderList as _ } from "vue";
|
|
2
2
|
import { omit as g } from "lodash-unified";
|
|
3
3
|
import { ApForm as p } from "../index.mjs";
|
|
4
4
|
const S = /* @__PURE__ */ m({
|
|
@@ -47,7 +47,7 @@ const S = /* @__PURE__ */ m({
|
|
|
47
47
|
},
|
|
48
48
|
setup(d) {
|
|
49
49
|
const u = d, i = c();
|
|
50
|
-
return (a, h) => (
|
|
50
|
+
return (a, h) => (v(), B(e(p).FormItem, o(l(u)), y({
|
|
51
51
|
default: t(() => [
|
|
52
52
|
x(e(p).ControlRender, null, {
|
|
53
53
|
default: t((r) => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as se, defineComponent as ie, useSlots as ce, ref as ue, unref as o, shallowRef as M, computed as S, watch as D, cloneVNode as pe, createVNode as a, Fragment as F,
|
|
1
|
+
import { isVNode as se, defineComponent as ie, useSlots as ce, ref as ue, unref as o, shallowRef as M, computed as S, watch as D, cloneVNode as pe, createVNode as a, Fragment as F, createBlock as C, openBlock as m, mergeProps as de, withCtx as E, resolveDynamicComponent as b, createElementBlock as fe, renderList as me } from "vue";
|
|
2
2
|
import { Col as B, Flex as $, Space as he, Button as v, Row as xe } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../item/index.vue2.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, useSlots as u, ref as f, watchEffect as p, cloneVNode as d, onMounted as V,
|
|
1
|
+
import { defineComponent as c, useSlots as u, ref as f, watchEffect as p, cloneVNode as d, onMounted as V, createElementBlock as _, openBlock as m, Fragment as y, renderList as k, createBlock as F, resolveDynamicComponent as h } from "vue";
|
|
2
2
|
import { useInjectForm as v } from "../context.mjs";
|
|
3
3
|
import { isFunction as w, cloneDeep as x } from "lodash-unified";
|
|
4
4
|
import { isPromise as B } from "@fruits-chain/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a, computed as n,
|
|
1
|
+
import { defineComponent as a, computed as n, createBlock as p, openBlock 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) => (s(), p(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, createElementBlock as p, openBlock 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) => (y(), p("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, createElementBlock as E, openBlock as d, normalizeClass as a, createBlock as H, createElementVNode as o, Teleport as k, renderSlot as s, 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, createBlock as S, openBlock as i, normalizeClass as u, withCtx as f, createElementVNode as X, normalizeStyle as h, renderSlot as l, createElementBlock as p, createCommentVNode as Y, createVNode as v, Fragment as I, renderList as Z, mergeProps 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, Z(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), _(
|
|
180
180
|
c.value ? t(B) : t(ne)(t(z).pagination, ["showTotal"]),
|
|
181
181
|
{ onChange: K }
|
|
182
182
|
), null, 16)
|
|
183
|
-
], 6)) :
|
|
183
|
+
], 6)) : Y("", !0)
|
|
184
184
|
], 6)
|
|
185
185
|
]),
|
|
186
186
|
_: 3
|
|
@@ -1,30 +1,34 @@
|
|
|
1
|
-
import { render as
|
|
2
|
-
import { Modal as
|
|
3
|
-
import { ConfigProvider as P, globalConfigCached as
|
|
1
|
+
import { render as u, defineComponent as w, createVNode as f, mergeProps as y, h as k } from "vue";
|
|
2
|
+
import { Modal as b } from "@aplus-frontend/antdv";
|
|
3
|
+
import { ConfigProvider as P, globalConfigCached as N } from "../../config-provider/config-provider.mjs";
|
|
4
4
|
import { omit as L } from "lodash-unified";
|
|
5
|
-
import { isNumeric as
|
|
6
|
-
|
|
5
|
+
import { isNumeric as E } from "@aplus-frontend/utils";
|
|
6
|
+
import "../../config-provider/index.mjs";
|
|
7
|
+
import { useNamespace as H } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
|
+
const z = (d) => {
|
|
7
9
|
let n, t;
|
|
8
10
|
const {
|
|
9
11
|
destroyOnClose: c = !0,
|
|
10
|
-
wrapperOffset:
|
|
11
|
-
} = d
|
|
12
|
+
wrapperOffset: r = !1
|
|
13
|
+
} = d, {
|
|
14
|
+
b: h
|
|
15
|
+
} = H("ap-modal");
|
|
12
16
|
function l() {
|
|
13
17
|
n && n(!1), setTimeout(() => {
|
|
14
18
|
var e;
|
|
15
|
-
|
|
19
|
+
u(null, s), (e = s.parentElement) == null || e.removeChild(s);
|
|
16
20
|
}, 500);
|
|
17
21
|
}
|
|
18
|
-
function
|
|
22
|
+
function C() {
|
|
19
23
|
n && n(!0);
|
|
20
24
|
}
|
|
21
25
|
function m() {
|
|
22
26
|
n && n(!1);
|
|
23
27
|
}
|
|
24
|
-
function
|
|
28
|
+
function g(e) {
|
|
25
29
|
t && t(e);
|
|
26
30
|
}
|
|
27
|
-
const
|
|
31
|
+
const O = /* @__PURE__ */ w({
|
|
28
32
|
data() {
|
|
29
33
|
return {
|
|
30
34
|
open: c,
|
|
@@ -43,20 +47,20 @@ const V = (d) => {
|
|
|
43
47
|
},
|
|
44
48
|
methods: {
|
|
45
49
|
async handleCancel() {
|
|
46
|
-
var e, o,
|
|
50
|
+
var e, o, a, i, p;
|
|
47
51
|
if ((e = this.props) != null && e.onCancel) {
|
|
48
|
-
const v = ((i = (
|
|
52
|
+
const v = ((i = (a = (o = this.props) == null ? void 0 : o.content) == null ? void 0 : a.component) == null ? void 0 : i.exposed) ?? void 0;
|
|
49
53
|
await ((p = this.props) == null ? void 0 : p.onCancel(v));
|
|
50
54
|
}
|
|
51
55
|
c ? l() : m();
|
|
52
56
|
},
|
|
53
57
|
async handleOk() {
|
|
54
|
-
var e, o,
|
|
58
|
+
var e, o, a, i;
|
|
55
59
|
try {
|
|
56
60
|
if (t({
|
|
57
61
|
confirmLoading: !0
|
|
58
62
|
}), (e = this.props) != null && e.onOk) {
|
|
59
|
-
const p = ((i = (
|
|
63
|
+
const p = ((i = (a = (o = this.props) == null ? void 0 : o.content) == null ? void 0 : a.component) == null ? void 0 : i.exposed) ?? void 0;
|
|
60
64
|
await this.props.onOk(p);
|
|
61
65
|
}
|
|
62
66
|
t({
|
|
@@ -71,8 +75,12 @@ const V = (d) => {
|
|
|
71
75
|
},
|
|
72
76
|
render() {
|
|
73
77
|
const e = L(this.props, ["onCancel", "onOk", "open", "onUpdate:open", "getContainer", "icon"]);
|
|
74
|
-
return f(P,
|
|
75
|
-
default: () => [f(
|
|
78
|
+
return f(P, N.value, {
|
|
79
|
+
default: () => [f(b, y({
|
|
80
|
+
class: {
|
|
81
|
+
[h()]: !0,
|
|
82
|
+
[h("wrapper")]: r
|
|
83
|
+
},
|
|
76
84
|
open: this.open,
|
|
77
85
|
onCancel: this.handleCancel,
|
|
78
86
|
onOk: this.handleOk
|
|
@@ -80,23 +88,25 @@ const V = (d) => {
|
|
|
80
88
|
default: () => {
|
|
81
89
|
var o;
|
|
82
90
|
return [f("div", {
|
|
83
|
-
style:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
91
|
+
style: Object.assign({
|
|
92
|
+
padding: "0 20px"
|
|
93
|
+
}, r === !1 ? {} : {
|
|
94
|
+
maxHeight: `${window.innerHeight - (r === !0 ? 100 : E(r) ? Number(r) : 100) * 2}px`,
|
|
95
|
+
overflow: "hidden auto"
|
|
96
|
+
})
|
|
87
97
|
}, [(o = this.props) == null ? void 0 : o.content])];
|
|
88
98
|
}
|
|
89
99
|
})]
|
|
90
100
|
});
|
|
91
101
|
}
|
|
92
|
-
}),
|
|
93
|
-
return
|
|
102
|
+
}), x = d.getContainer || document.body, s = document.createElement("div");
|
|
103
|
+
return x.appendChild(s), u(k(O), s), {
|
|
94
104
|
destroy: l,
|
|
95
|
-
update:
|
|
96
|
-
open:
|
|
105
|
+
update: g,
|
|
106
|
+
open: C,
|
|
97
107
|
close: m
|
|
98
108
|
};
|
|
99
109
|
};
|
|
100
110
|
export {
|
|
101
|
-
|
|
111
|
+
z as createModal
|
|
102
112
|
};
|
|
@@ -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, watchEffect as Ee, watch as X, createElementBlock as k, openBlock as p, normalizeStyle as I, normalizeClass as m, createCommentVNode as Y, createElementVNode as E, createVNode as y, mergeProps as w, createSlots as Z, withCtx as v, Fragment as ee, renderList as oe, createBlock as ae, resolveDynamicComponent as Ke, renderSlot as R, normalizeProps as Oe, guardReactiveProps as Ve } from "vue";
|
|
2
2
|
import { Divider as Le, Table as $e } from "@aplus-frontend/antdv";
|
|
3
3
|
import { useToken as Ae } from "@aplus-frontend/antdv/es/theme/internal";
|
|
4
4
|
import { ApForm as De } from "../ap-form/index.mjs";
|
|
@@ -6,7 +6,7 @@ import { noRenderAsFormItemValueList as re } from "./constants.mjs";
|
|
|
6
6
|
import "../config-provider/index.mjs";
|
|
7
7
|
import { useTablePaging as We } from "./hooks/use-table-paging-ng.mjs";
|
|
8
8
|
import { isUndefined as g, omit as te, isBoolean as je } from "lodash-unified";
|
|
9
|
-
import { getColumnOrder as le, updateFormProps as _e, getFieldProps as He, getSearchFormItemRenderNode as Ue, recursionApColumns as ne,
|
|
9
|
+
import { getColumnOrder as le, updateFormProps as _e, getFieldProps as He, getSearchFormItemRenderNode as Ue, recursionApColumns as ne, falseToUndefined as qe, getTableTitle as Me, getTableRenderType as Ge, getTableRenderProps as Je, getTableCellRenderNode as Qe, apColumnToColumn as Xe } from "./utils.mjs";
|
|
10
10
|
import Ye from "./hooks/use-table-content-height.mjs";
|
|
11
11
|
import Ze from "./hooks/use-table-row-selection.mjs";
|
|
12
12
|
import { getScrollbarSize as eo, isDef as oo } 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 to } from "../config-provider/hooks/use-namespace.mjs";
|
|
19
19
|
import { useGlobalConfig as lo } from "../config-provider/hooks/use-global-config.mjs";
|
|
20
|
-
import no from "./components/
|
|
21
|
-
import so from "
|
|
22
|
-
import uo from "
|
|
20
|
+
import no from "./components/setting/modal/index.vue2.mjs";
|
|
21
|
+
import so from "../scroll-bar/index.vue.mjs";
|
|
22
|
+
import uo from "./components/paragraph-ellipsis/index.vue2.mjs";
|
|
23
23
|
const Io = /* @__PURE__ */ Ne({
|
|
24
24
|
name: "ApTable",
|
|
25
25
|
__name: "ap-table",
|
|
@@ -243,7 +243,7 @@ const Io = /* @__PURE__ */ Ne({
|
|
|
243
243
|
function r(l, d) {
|
|
244
244
|
return l.map((n) => ({
|
|
245
245
|
resizable: oo(n.resizable) ? n.resizable : o.columnResizable,
|
|
246
|
-
...te(
|
|
246
|
+
...te(Xe(n), ["ellipsis"]),
|
|
247
247
|
...he(n),
|
|
248
248
|
fixed: d ? d.fixed : n.fixed,
|
|
249
249
|
title: Me(n, O("table-header", "title"), C.headerCell, t(ue).colorPrimary),
|
|
@@ -261,7 +261,7 @@ const Io = /* @__PURE__ */ Ne({
|
|
|
261
261
|
}), ze = Qe(M, Be, S.record, t(V)), G = ((J = n.renderText) == null ? void 0 : J.call(n, {
|
|
262
262
|
value: f,
|
|
263
263
|
...S
|
|
264
|
-
})) || f, Pe = n.renderText ?
|
|
264
|
+
})) || f, Pe = n.renderText ? y(ee, null, [(Q = n.renderText) == null ? void 0 : Q.call(n, {
|
|
265
265
|
value: f,
|
|
266
266
|
...S
|
|
267
267
|
})]) : ze;
|
|
@@ -308,7 +308,7 @@ const Io = /* @__PURE__ */ Ne({
|
|
|
308
308
|
...r,
|
|
309
309
|
// tips 如果是前端分页,则默认会走缓存
|
|
310
310
|
preserveSelectedRowKeys: g(o.dataSource) ? r.preserveSelectedRowKeys : !0
|
|
311
|
-
} :
|
|
311
|
+
} : qe(o.rowSelection),
|
|
312
312
|
loading: g(o.loading) ? e.loading : o.loading,
|
|
313
313
|
pagination: o.pagination === !1 ? !1 : e.pagination,
|
|
314
314
|
scroll: t(ve)
|
|
@@ -318,7 +318,7 @@ const Io = /* @__PURE__ */ Ne({
|
|
|
318
318
|
return [c(), o.card ? null : c("wrapper"), o.adaptive ? c("adaptive") : null, A.value && ((e = i.value) != null && e.visible) ? ie(`sticky-${W === 0 ? "absolute" : "relative"}`) : null].filter(Boolean);
|
|
319
319
|
});
|
|
320
320
|
function Te(e, r, a) {
|
|
321
|
-
return re.includes(e.valueType) ? a : e.copyable || e.ellipsis ?
|
|
321
|
+
return re.includes(e.valueType) ? a : e.copyable || e.ellipsis ? y(uo, {
|
|
322
322
|
copyable: e.copyable,
|
|
323
323
|
ellipsis: e.ellipsis ? je(e.ellipsis) ? {
|
|
324
324
|
tooltip: a,
|
|
@@ -330,10 +330,10 @@ const Io = /* @__PURE__ */ Ne({
|
|
|
330
330
|
content: a
|
|
331
331
|
}, null) : a;
|
|
332
332
|
}
|
|
333
|
-
|
|
333
|
+
X(() => t(b).loading, (e) => {
|
|
334
334
|
var r;
|
|
335
335
|
(r = o.onLoadingChange) == null || r.call(o, e);
|
|
336
|
-
}),
|
|
336
|
+
}), X(() => o.dataSource, (e) => {
|
|
337
337
|
Se(e);
|
|
338
338
|
}, {
|
|
339
339
|
immediate: !0
|
|
@@ -375,18 +375,18 @@ const Io = /* @__PURE__ */ Ne({
|
|
|
375
375
|
},
|
|
376
376
|
y: void 0
|
|
377
377
|
}
|
|
378
|
-
}), (e, r) => (
|
|
378
|
+
}), (e, r) => (p(), k("div", {
|
|
379
379
|
ref_key: "tableWrapperRef",
|
|
380
380
|
ref: L,
|
|
381
|
-
class:
|
|
381
|
+
class: m(Ce.value),
|
|
382
382
|
style: I(t(ce)({
|
|
383
383
|
"scroll-bar-width": `${t(W)}px`
|
|
384
384
|
}))
|
|
385
|
-
}, [t(g)(e.dataSource) && e.searchForm !== !1 && j.value.length > 0 ? (
|
|
385
|
+
}, [t(g)(e.dataSource) && e.searchForm !== !1 && j.value.length > 0 ? (p(), k("div", {
|
|
386
386
|
key: 0,
|
|
387
|
-
class:
|
|
387
|
+
class: m(e.card ? t(B)("search-wrapper") : null),
|
|
388
388
|
style: I(e.searchFormWrapperStyle)
|
|
389
|
-
}, [
|
|
389
|
+
}, [y(t(De).SearchForm, w(e.searchForm || {}, {
|
|
390
390
|
ref_key: "formRef",
|
|
391
391
|
ref: P,
|
|
392
392
|
"custom-reset": "",
|
|
@@ -394,7 +394,7 @@ const Io = /* @__PURE__ */ Ne({
|
|
|
394
394
|
onSubmit: t(_),
|
|
395
395
|
onReset: t(H)
|
|
396
396
|
}), Z({
|
|
397
|
-
default: v(() => [(
|
|
397
|
+
default: v(() => [(p(!0), k(ee, null, oe(j.value, (a) => (p(), ae(Ke(a.renderNode.Comp), w({
|
|
398
398
|
key: a.dataIndex,
|
|
399
399
|
item: a,
|
|
400
400
|
ref_for: !0
|
|
@@ -407,33 +407,33 @@ const Io = /* @__PURE__ */ Ne({
|
|
|
407
407
|
name: "extra",
|
|
408
408
|
fn: v(() => [R(e.$slots, "searchFormExtra")]),
|
|
409
409
|
key: "0"
|
|
410
|
-
} : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) :
|
|
410
|
+
} : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : Y("", !0), E("div", {
|
|
411
411
|
ref_key: "contentRef",
|
|
412
412
|
ref: pe,
|
|
413
|
-
class:
|
|
413
|
+
class: m([t(B)("table-wrapper"), e.card ? t(B)("table-wrapper-card") : null]),
|
|
414
414
|
style: I(e.tableWrapperStyle)
|
|
415
415
|
}, [E("div", {
|
|
416
|
-
class:
|
|
417
|
-
}, [e.settings ? (
|
|
416
|
+
class: m(t(c)("header-wrapper"))
|
|
417
|
+
}, [e.settings ? (p(), k("div", {
|
|
418
418
|
key: 0,
|
|
419
|
-
class:
|
|
419
|
+
class: m(t(c)("header"))
|
|
420
420
|
}, [E("div", {
|
|
421
|
-
class:
|
|
421
|
+
class: m(t(O)("header", "title"))
|
|
422
422
|
}, [R(e.$slots, "title", w({
|
|
423
423
|
selectedRows: t(F),
|
|
424
424
|
selectedRowKeys: t(T).selectedRowKeys,
|
|
425
425
|
shownColumns: u.value
|
|
426
|
-
}, x))], 2), C.title ? (
|
|
426
|
+
}, x))], 2), C.title ? (p(), ae(t(Le), {
|
|
427
427
|
key: 0,
|
|
428
428
|
type: "vertical"
|
|
429
|
-
})) :
|
|
429
|
+
})) : Y("", !0), y(no, {
|
|
430
430
|
config: e.settings === !0 ? {} : e.settings
|
|
431
431
|
}, null, 8, ["config"])], 2)) : R(e.$slots, "title", w({
|
|
432
432
|
key: 1,
|
|
433
433
|
selectedRows: t(F),
|
|
434
434
|
selectedRowKeys: t(T).selectedRowKeys,
|
|
435
435
|
shownColumns: u.value
|
|
436
|
-
}, x))], 2),
|
|
436
|
+
}, x))], 2), y(t($e), w({
|
|
437
437
|
ref_key: "antdTableRef",
|
|
438
438
|
ref: $,
|
|
439
439
|
class: t(c)("table")
|
|
@@ -453,7 +453,7 @@ const Io = /* @__PURE__ */ Ne({
|
|
|
453
453
|
name: "bottomPaginationTop",
|
|
454
454
|
fn: v(() => {
|
|
455
455
|
var a, l;
|
|
456
|
-
return [
|
|
456
|
+
return [y(t(so), {
|
|
457
457
|
ref_key: "scrollBarRef",
|
|
458
458
|
ref: i,
|
|
459
459
|
"scroll-container": (l = (a = $.value) == null ? void 0 : a.table) == null ? void 0 : l.scrollBodyRef,
|
|
@@ -461,7 +461,7 @@ const Io = /* @__PURE__ */ Ne({
|
|
|
461
461
|
}, null, 8, ["scroll-container"])];
|
|
462
462
|
}),
|
|
463
463
|
key: "0"
|
|
464
|
-
} : void 0,
|
|
464
|
+
} : void 0, oe(t(te)(C, ["title", "searchFormExtra", "headerCell", "summary"]), (a, l) => ({
|
|
465
465
|
name: l,
|
|
466
466
|
fn: v((d) => [R(e.$slots, l, Oe(Ve(d || {})))])
|
|
467
467
|
}))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 6));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as t,
|
|
1
|
+
import { defineComponent as t, createElementBlock as o, openBlock as n, Fragment as r, createBlock as a, createTextVNode as s, resolveDynamicComponent as c, toDisplayString as m } from "vue";
|
|
2
2
|
const u = /* @__PURE__ */ t({
|
|
3
3
|
name: "ApTableDynamicComponent",
|
|
4
4
|
inheritAttrs: !1,
|
|
@@ -8,8 +8,8 @@ const u = /* @__PURE__ */ t({
|
|
|
8
8
|
},
|
|
9
9
|
setup(p) {
|
|
10
10
|
return (e, l) => (n(), o(r, null, [
|
|
11
|
-
(n(), a(
|
|
12
|
-
|
|
11
|
+
(n(), a(c(e.customRender(e.$attrs)))),
|
|
12
|
+
s(" " + m(console.log(e.$attrs)), 1)
|
|
13
13
|
], 64));
|
|
14
14
|
}
|
|
15
15
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, computed as l,
|
|
1
|
+
import { defineComponent as n, computed as l, createElementBlock as s, openBlock 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) => (p(), s("div", {
|
|
14
14
|
class: d(r.value)
|
|
15
15
|
}, m(t.value), 3));
|
|
16
16
|
}
|