@aplus-frontend/ui 0.1.27 → 0.1.29
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-download/ap-download.vue.d.ts +6 -2
- package/es/src/ap-download/ap-download.vue.mjs +48 -28
- package/es/src/ap-download/interface.d.ts +3 -2
- package/es/src/ap-download/style/ap-download.css +3 -0
- package/es/src/ap-field/date-range/index.vue.mjs +154 -109
- package/es/src/ap-field/interface.d.ts +4 -0
- package/es/src/ap-field/select/index.vue.mjs +67 -63
- package/es/src/ap-form/style/ap-form-item.css +2 -0
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +72 -97
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +37 -33
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +91 -87
- package/es/src/ap-table/components/setting/utils.d.ts +7 -1
- package/es/src/ap-table/components/setting/utils.mjs +37 -22
- package/es/src/ap-table/constants.d.ts +12 -0
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +6 -2
- package/es/src/ap-table/hooks/use-table-column-state.mjs +101 -33
- package/es/src/ap-table/interface.d.ts +8 -1
- package/es/src/business/ap-attachment/ApAttachment.mjs +79 -59
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/business/ap-attachment/style.css +4 -0
- package/es/src/business/ap-input-radio/interface.d.ts +1 -1
- package/es/src/business/index.d.ts +0 -2
- package/es/src/editable-table/form-item.vue.d.ts +1 -0
- package/es/src/editable-table/form-item.vue.mjs +63 -59
- package/es/src/editable-table/index.vue.d.ts +1 -0
- package/es/src/editable-table/index.vue.mjs +77 -72
- package/es/src/editable-table/interface.d.ts +6 -0
- package/es/src/theme/ap-attachment/ap-attachment.css +4 -0
- package/es/src/theme/ap-download/ap-download.css +3 -0
- package/es/src/theme/ap-form/ap-form-item.css +2 -0
- package/lib/src/ap-download/ap-download.vue.d.ts +6 -2
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-download/interface.d.ts +3 -2
- package/lib/src/ap-download/style/ap-download.css +3 -0
- package/lib/src/ap-field/date-range/index.vue.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-form/style/ap-form-item.css +2 -0
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/utils.d.ts +7 -1
- package/lib/src/ap-table/components/setting/utils.js +1 -1
- package/lib/src/ap-table/constants.d.ts +12 -0
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +6 -2
- package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
- package/lib/src/ap-table/interface.d.ts +8 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-attachment/style.css +4 -0
- package/lib/src/business/ap-input-radio/interface.d.ts +1 -1
- package/lib/src/business/index.d.ts +0 -2
- package/lib/src/editable-table/form-item.vue.d.ts +1 -0
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -0
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -0
- package/lib/src/theme/ap-attachment/ap-attachment.css +4 -0
- package/lib/src/theme/ap-download/ap-download.css +3 -0
- package/lib/src/theme/ap-form/ap-form-item.css +2 -0
- package/package.json +1 -1
|
@@ -1,85 +1,105 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Tooltip as
|
|
1
|
+
import { defineComponent as S, ref as A, useSlots as V, computed as o, cloneVNode as z, unref as I, toRaw as f, createVNode as l, createTextVNode as M } from "vue";
|
|
2
|
+
import { Tooltip as U, Popover as _ } from "ant-design-vue";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
|
-
import { ApAttachmentProps as
|
|
5
|
-
import { getHexWithOpacity as
|
|
4
|
+
import { ApAttachmentProps as B } from "./constans.mjs";
|
|
5
|
+
import { getHexWithOpacity as G, getFileInfo as H } from "../../ap-download/utils/getFileInfo.mjs";
|
|
6
6
|
import "./style.css";
|
|
7
|
-
import { useOssInit as
|
|
8
|
-
import { isArray as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
7
|
+
import { useOssInit as R } from "../../ap-download/hooks/index.mjs";
|
|
8
|
+
import { isArray as W } from "lodash-unified";
|
|
9
|
+
import { LoadingOutlined as v } from "@ant-design/icons-vue";
|
|
10
|
+
import { useNamespace as j } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
|
+
import { useGlobalConfig as y } from "../../config-provider/hooks/use-global-config.mjs";
|
|
12
|
+
import { useLocale as q } from "../../config-provider/hooks/use-locale.mjs";
|
|
13
|
+
const at = /* @__PURE__ */ S({
|
|
13
14
|
name: "ApAttachment",
|
|
14
|
-
props:
|
|
15
|
+
props: B(),
|
|
15
16
|
setup(t) {
|
|
16
17
|
const {
|
|
17
|
-
b:
|
|
18
|
-
e:
|
|
19
|
-
} =
|
|
20
|
-
lang:
|
|
21
|
-
t:
|
|
22
|
-
} =
|
|
23
|
-
width:
|
|
24
|
-
})),
|
|
25
|
-
"--download-main-color":
|
|
26
|
-
"--download-main-color-opacity":
|
|
27
|
-
})),
|
|
18
|
+
b: L,
|
|
19
|
+
e: a
|
|
20
|
+
} = j("ap-attachment"), w = y("uiMode"), C = y("apUpload"), {
|
|
21
|
+
lang: F,
|
|
22
|
+
t: r
|
|
23
|
+
} = q(), c = A(!1), s = A(""), m = V(), N = o(() => F.value === "zh-cn" ? "zh_CN" : "en_US"), u = o(() => t.attachmentList.length === 1), p = o(() => t.attachmentList.length > 0 ? t.attachmentList[0].fileName : ""), O = o(() => u.value ? p.value : r("ap.apAttachment.downloadall")), h = o(() => t.color ? t.color : w.value === "aplus" ? "#0070FF" : "#1890FF"), T = o(() => ({
|
|
24
|
+
width: u.value ? "auto" : "266px"
|
|
25
|
+
})), g = o(() => ({
|
|
26
|
+
"--download-main-color": h.value,
|
|
27
|
+
"--download-main-color-opacity": G(h.value, 0.6)
|
|
28
|
+
})), b = o(() => {
|
|
28
29
|
var e;
|
|
29
|
-
return t.getOssAccess || ((e =
|
|
30
|
-
}),
|
|
31
|
-
const e =
|
|
32
|
-
return e ?
|
|
30
|
+
return t.getOssAccess || ((e = C.value) == null ? void 0 : e.getOssAccess);
|
|
31
|
+
}), x = o(() => {
|
|
32
|
+
const e = m.default ? m.default()[0] : null;
|
|
33
|
+
return e ? z(e, {
|
|
33
34
|
style: {
|
|
34
35
|
"font-size": "16px"
|
|
35
36
|
}
|
|
36
37
|
}) : null;
|
|
37
|
-
}),
|
|
38
|
+
}), d = async (e, i) => {
|
|
38
39
|
if (!t.disabled) {
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
c.value = !0, i && (s.value = i);
|
|
41
|
+
try {
|
|
42
|
+
const n = await R(b.value, I(N)), k = W(f(e)) ? f(e) : [f(e)];
|
|
43
|
+
await n.downloadFile(H(t.needName, k));
|
|
44
|
+
} catch (n) {
|
|
45
|
+
console.error(n);
|
|
46
|
+
} finally {
|
|
47
|
+
c.value = !1, s.value = "";
|
|
48
|
+
}
|
|
41
49
|
}
|
|
42
|
-
},
|
|
43
|
-
class: [
|
|
44
|
-
style:
|
|
45
|
-
}, [e.map((
|
|
46
|
-
key:
|
|
47
|
-
class: [
|
|
48
|
-
onClick: () =>
|
|
49
|
-
}, [c.
|
|
50
|
-
class: [
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
}, P = (e) => e && e.length > 0 ? l("ul", {
|
|
51
|
+
class: [a("file-list")],
|
|
52
|
+
style: g.value
|
|
53
|
+
}, [e.map((i, n) => l("li", {
|
|
54
|
+
key: n,
|
|
55
|
+
class: [a("file-item")],
|
|
56
|
+
onClick: () => d(i, n + 1)
|
|
57
|
+
}, [c.value && s.value === n + 1 ? l("span", {
|
|
58
|
+
class: [a("spin")]
|
|
59
|
+
}, [l(v, {
|
|
60
|
+
spin: !0
|
|
61
|
+
}, null)]) : null, i.fileName])), l("li", {
|
|
62
|
+
class: [a("down-load-all")],
|
|
63
|
+
onClick: () => d(t.attachmentList, "all")
|
|
64
|
+
}, [c.value && s.value === "all" ? l("span", {
|
|
65
|
+
class: [a("spin")]
|
|
66
|
+
}, [l(v, {
|
|
67
|
+
spin: !0
|
|
68
|
+
}, null)]) : null, r("ap.apAttachment.downloadall")])]) : null;
|
|
53
69
|
return () => {
|
|
54
70
|
var e;
|
|
55
|
-
return ((e = t.attachmentList) == null ? void 0 : e.length) > 0 &&
|
|
56
|
-
class: [
|
|
57
|
-
style: [
|
|
58
|
-
}, [
|
|
59
|
-
title:
|
|
71
|
+
return ((e = t.attachmentList) == null ? void 0 : e.length) > 0 && l("div", {
|
|
72
|
+
class: [L()],
|
|
73
|
+
style: [T.value, g.value]
|
|
74
|
+
}, [l(U, {
|
|
75
|
+
title: O.value,
|
|
60
76
|
placement: t.textToolTipPlacement,
|
|
61
77
|
color: t.toolTipBgColor
|
|
62
78
|
}, {
|
|
63
|
-
default: () => [
|
|
64
|
-
class: [
|
|
65
|
-
onClick: () =>
|
|
66
|
-
}, [s.
|
|
67
|
-
class: [
|
|
68
|
-
}, [
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
|
|
79
|
+
default: () => [l("div", {
|
|
80
|
+
class: [a("content")],
|
|
81
|
+
onClick: () => d(u.value ? t.attachmentList[0] : t.attachmentList, "global")
|
|
82
|
+
}, [c.value && s.value === "global" ? l("div", {
|
|
83
|
+
class: [a("spin")]
|
|
84
|
+
}, [l(v, {
|
|
85
|
+
spin: !0
|
|
86
|
+
}, null)]) : null, m.default ? l("div", {
|
|
87
|
+
class: [a("text-render")]
|
|
88
|
+
}, [x.value, M(" ")]) : null, l("div", {
|
|
89
|
+
class: [a("text-inner")]
|
|
90
|
+
}, [p.value])])]
|
|
91
|
+
}), l(_, {
|
|
92
|
+
content: P(t.attachmentList),
|
|
73
93
|
placement: t.fileMorePopoverPlacement,
|
|
74
94
|
color: "#fff"
|
|
75
95
|
}, {
|
|
76
|
-
default: () => [!
|
|
77
|
-
class: [
|
|
78
|
-
}, [
|
|
96
|
+
default: () => [!u.value && l("div", {
|
|
97
|
+
class: [a("more")]
|
|
98
|
+
}, [r("ap.apAttachment.more")])]
|
|
79
99
|
})]);
|
|
80
100
|
};
|
|
81
101
|
}
|
|
82
102
|
});
|
|
83
103
|
export {
|
|
84
|
-
|
|
104
|
+
at as default
|
|
85
105
|
};
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
.aplus-ap-attachment__text-render:hover {
|
|
14
14
|
color: var(--download-main-color-opacity);
|
|
15
15
|
}
|
|
16
|
+
.aplus-ap-attachment__spin {
|
|
17
|
+
float: left;
|
|
18
|
+
margin-right: 5px;
|
|
19
|
+
}
|
|
16
20
|
.aplus-ap-attachment__text-inner {
|
|
17
21
|
max-width: 190px;
|
|
18
22
|
display: inline-block;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InputNumberProps } from 'ant-design-vue/es/input-number';
|
|
2
2
|
type ApInputProps = Pick<InputNumberProps, 'disabled' | 'stringMode' | 'precision' | 'max' | 'min' | 'step' | 'bordered' | 'autofocus' | 'decimalSeparator' | 'controls' | 'formatter' | 'onInput' | 'onChange' | 'onPressEnter' | 'onStep' | 'onBlur' | 'onFocus'>;
|
|
3
3
|
export type ApInputValType = {
|
|
4
|
-
value
|
|
4
|
+
value?: {
|
|
5
5
|
inputVal: string | number;
|
|
6
6
|
radioVal: string | number;
|
|
7
7
|
};
|
|
@@ -1110,7 +1110,6 @@ export declare const ApInputRadio: DefineComponent<{
|
|
|
1110
1110
|
inputVal: string | number;
|
|
1111
1111
|
radioVal: string | number;
|
|
1112
1112
|
}>;
|
|
1113
|
-
required: true;
|
|
1114
1113
|
};
|
|
1115
1114
|
disabled: {
|
|
1116
1115
|
type: PropType<boolean>;
|
|
@@ -1194,7 +1193,6 @@ export declare const ApInputRadio: DefineComponent<{
|
|
|
1194
1193
|
inputVal: string | number;
|
|
1195
1194
|
radioVal: string | number;
|
|
1196
1195
|
}>;
|
|
1197
|
-
required: true;
|
|
1198
1196
|
};
|
|
1199
1197
|
disabled: {
|
|
1200
1198
|
type: PropType<boolean>;
|
|
@@ -12,6 +12,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
12
12
|
setRowData: (index: number, payload: any) => void;
|
|
13
13
|
addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
|
|
14
14
|
scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
|
|
15
|
+
setTableData: (nextTableData: RecordType[]) => void;
|
|
15
16
|
}>): void;
|
|
16
17
|
attrs: any;
|
|
17
18
|
slots: Readonly<{
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Table as
|
|
1
|
+
import { defineComponent as q, ref as x, unref as a, useSlots as G, watch as H, openBlock as m, createBlock as y, mergeProps as C, withCtx as d, createVNode as b, createSlots as W, createElementBlock as $, normalizeClass as Q, createCommentVNode as w, createElementVNode as U, toDisplayString as I, normalizeStyle as J, renderList as X, renderSlot as Y, normalizeProps as Z, guardReactiveProps as ee } from "vue";
|
|
2
|
+
import { Table as te, Tooltip as oe } from "ant-design-vue";
|
|
3
3
|
import { ApForm as R } from "../ap-form/index.mjs";
|
|
4
|
-
import { isArray as
|
|
4
|
+
import { isArray as ae, isNumber as i, cloneDeep as f, omit as le } from "lodash-unified";
|
|
5
5
|
import "../config-provider/index.mjs";
|
|
6
|
-
import { useInjectForm as
|
|
6
|
+
import { useInjectForm as ne } from "../ap-form/context.mjs";
|
|
7
7
|
import "./style/index.css";
|
|
8
|
-
import { isDef as
|
|
9
|
-
import
|
|
10
|
-
import { scrollToRowIndex as
|
|
11
|
-
import { QuestionCircleOutlined as
|
|
12
|
-
import { useToken as
|
|
13
|
-
import { useNamespace as
|
|
14
|
-
import { useGlobalConfig as
|
|
15
|
-
const
|
|
8
|
+
import { isDef as p } from "../utils/index.mjs";
|
|
9
|
+
import re from "./hooks/use-get-columns.mjs";
|
|
10
|
+
import { scrollToRowIndex as ue, getColumnIsRequired as se } from "./utils.mjs";
|
|
11
|
+
import { QuestionCircleOutlined as de } from "@ant-design/icons-vue";
|
|
12
|
+
import { useToken as me } from "ant-design-vue/es/theme/internal";
|
|
13
|
+
import { useNamespace as ie } from "../config-provider/hooks/use-namespace.mjs";
|
|
14
|
+
import { useGlobalConfig as fe } from "../config-provider/hooks/use-global-config.mjs";
|
|
15
|
+
const Fe = /* @__PURE__ */ q({
|
|
16
16
|
name: "EditableTableInner",
|
|
17
17
|
__name: "form-item",
|
|
18
18
|
props: {
|
|
@@ -113,101 +113,105 @@ const Le = /* @__PURE__ */ M({
|
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
setup(B, {
|
|
116
|
-
expose:
|
|
116
|
+
expose: D
|
|
117
117
|
}) {
|
|
118
118
|
const l = B;
|
|
119
|
-
function
|
|
120
|
-
return
|
|
119
|
+
function k(e, t) {
|
|
120
|
+
return ae(t) ? t.reduce((o, r) => o == null ? void 0 : o[r], e) : e == null ? void 0 : e[t];
|
|
121
121
|
}
|
|
122
122
|
const {
|
|
123
|
-
internalInstance:
|
|
124
|
-
model:
|
|
125
|
-
} =
|
|
126
|
-
|
|
123
|
+
internalInstance: n,
|
|
124
|
+
model: T
|
|
125
|
+
} = ne(), u = x(k(a(T), l.name) || []), F = G(), L = R.useWatch(l.name);
|
|
126
|
+
H(() => L.value, (e) => {
|
|
127
127
|
var t;
|
|
128
|
-
|
|
128
|
+
u.value = e, (t = l.onChange) == null || t.call(l, e);
|
|
129
129
|
}, {
|
|
130
130
|
deep: !0
|
|
131
131
|
});
|
|
132
132
|
const {
|
|
133
|
-
b:
|
|
133
|
+
b: E,
|
|
134
134
|
em: N
|
|
135
|
-
} =
|
|
135
|
+
} = ie("editable-table"), c = x(), S = fe("valueTypeMap"), [, V] = me(), _ = re(l, S);
|
|
136
136
|
function v(e, t) {
|
|
137
|
-
var
|
|
138
|
-
const o = ((
|
|
139
|
-
if (
|
|
137
|
+
var s;
|
|
138
|
+
const o = ((s = a(u)) == null ? void 0 : s.length) || 0;
|
|
139
|
+
if (p(l.maxLength) && o >= l.maxLength)
|
|
140
140
|
return;
|
|
141
|
-
const
|
|
142
|
-
|
|
141
|
+
const r = [...a(u) || []];
|
|
142
|
+
p(t) ? r.splice(t, 0, {
|
|
143
143
|
...e || {}
|
|
144
|
-
}) :
|
|
144
|
+
}) : r.push({
|
|
145
145
|
...e || {}
|
|
146
|
-
}),
|
|
146
|
+
}), n == null || n.setFieldValue(l.name, r);
|
|
147
147
|
}
|
|
148
148
|
function z(e, t = "suffix") {
|
|
149
149
|
var g;
|
|
150
|
-
const o = ((g = a(
|
|
151
|
-
if (
|
|
150
|
+
const o = ((g = a(u)) == null ? void 0 : g.length) || 0, r = i(e) ? e : e.length;
|
|
151
|
+
if (p(l.maxLength) && o + r > l.maxLength)
|
|
152
152
|
return;
|
|
153
|
-
const
|
|
154
|
-
t === "suffix" ?
|
|
153
|
+
const s = [...a(u) || []], h = i(e) ? new Array(e).fill({}) : f(e);
|
|
154
|
+
t === "suffix" ? s.push(...h) : s.unshift(...h), n == null || n.setFieldValue(l.name, s);
|
|
155
155
|
}
|
|
156
156
|
function P(e) {
|
|
157
|
-
let t = f(a(
|
|
157
|
+
let t = f(a(u) || []);
|
|
158
158
|
const o = i(e) ? [e] : e;
|
|
159
|
-
t = t.filter((
|
|
159
|
+
t = t.filter((r, s) => !o.includes(s)), n == null || n.setFieldValue(l.name, t);
|
|
160
160
|
}
|
|
161
161
|
function j() {
|
|
162
|
-
return a(
|
|
162
|
+
return a(u);
|
|
163
163
|
}
|
|
164
164
|
function A(e) {
|
|
165
165
|
var t;
|
|
166
|
-
return (t = a(
|
|
166
|
+
return (t = a(u)) == null ? void 0 : t[e];
|
|
167
167
|
}
|
|
168
168
|
function O(e, t) {
|
|
169
|
-
const o = f(a(
|
|
169
|
+
const o = f(a(u));
|
|
170
170
|
o[e] && (o[e] = {
|
|
171
171
|
...o[e],
|
|
172
172
|
...t
|
|
173
|
-
},
|
|
173
|
+
}, n == null || n.setFieldValue(l.name, [...o]));
|
|
174
174
|
}
|
|
175
|
-
function K(e
|
|
176
|
-
|
|
177
|
-
const o = e === "end" ? s.value.length - 1 : e;
|
|
178
|
-
re(o, (n = p.value) == null ? void 0 : n.$el, t);
|
|
175
|
+
function K(e) {
|
|
176
|
+
n == null || n.setFieldValue(l.name, e);
|
|
179
177
|
}
|
|
180
|
-
|
|
178
|
+
function M(e, t) {
|
|
179
|
+
var r;
|
|
180
|
+
const o = e === "end" ? u.value.length - 1 : e;
|
|
181
|
+
ue(o, (r = c.value) == null ? void 0 : r.$el, t);
|
|
182
|
+
}
|
|
183
|
+
return D({
|
|
181
184
|
add: v,
|
|
182
185
|
remove: P,
|
|
183
186
|
getRowData: A,
|
|
184
187
|
getRowsData: j,
|
|
185
188
|
setRowData: O,
|
|
186
189
|
addMultiple: z,
|
|
187
|
-
scrollTo:
|
|
190
|
+
scrollTo: M,
|
|
191
|
+
setTableData: K
|
|
188
192
|
}), (e, t) => (m(), y(a(R).FormItem, C(e.formItem, {
|
|
189
193
|
name: e.name,
|
|
190
194
|
label: e.label
|
|
191
195
|
}), {
|
|
192
|
-
default: d(() => [b(a(
|
|
193
|
-
class: a(
|
|
196
|
+
default: d(() => [b(a(te), C(a(le)(l, ["name", "maxLength", "onChange"]), {
|
|
197
|
+
class: a(E)(),
|
|
194
198
|
columns: a(_),
|
|
195
|
-
"data-source":
|
|
199
|
+
"data-source": u.value,
|
|
196
200
|
ref_key: "tableRef",
|
|
197
|
-
ref:
|
|
198
|
-
}),
|
|
201
|
+
ref: c
|
|
202
|
+
}), W({
|
|
199
203
|
headerCell: d(({
|
|
200
204
|
column: o
|
|
201
|
-
}) => [a(se)(o) ? (m(),
|
|
205
|
+
}) => [a(se)(o) ? (m(), $("span", {
|
|
202
206
|
key: 0,
|
|
203
|
-
class:
|
|
204
|
-
}, "*", 2)) : w("", !0),
|
|
207
|
+
class: Q(a(N)("header-cell", "required"))
|
|
208
|
+
}, "*", 2)) : w("", !0), U("span", null, I(o.title), 1), o.tooltip ? (m(), y(a(oe), {
|
|
205
209
|
key: 1,
|
|
206
210
|
title: o.tooltip,
|
|
207
211
|
placement: "bottom"
|
|
208
212
|
}, {
|
|
209
|
-
default: d(() => [b(a(
|
|
210
|
-
style:
|
|
213
|
+
default: d(() => [b(a(de), {
|
|
214
|
+
style: J({
|
|
211
215
|
paddingLeft: "4px",
|
|
212
216
|
color: a(V).colorPrimary
|
|
213
217
|
})
|
|
@@ -215,14 +219,14 @@ const Le = /* @__PURE__ */ M({
|
|
|
215
219
|
_: 2
|
|
216
220
|
}, 1032, ["title"])) : w("", !0)]),
|
|
217
221
|
_: 2
|
|
218
|
-
}, [
|
|
219
|
-
name:
|
|
220
|
-
fn: d((
|
|
222
|
+
}, [X(F, (o, r) => ({
|
|
223
|
+
name: r,
|
|
224
|
+
fn: d((s) => [Y(e.$slots, r, Z(ee(s || {})))])
|
|
221
225
|
}))]), 1040, ["class", "columns", "data-source"])]),
|
|
222
226
|
_: 3
|
|
223
227
|
}, 16, ["name", "label"]));
|
|
224
228
|
}
|
|
225
229
|
});
|
|
226
230
|
export {
|
|
227
|
-
|
|
231
|
+
Fe as default
|
|
228
232
|
};
|
|
@@ -20,6 +20,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
20
20
|
addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
|
|
21
21
|
scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
|
|
22
22
|
clear: () => void;
|
|
23
|
+
setTableData: (nextTableData: RecordType[]) => void;
|
|
23
24
|
}>): void;
|
|
24
25
|
attrs: any;
|
|
25
26
|
slots: Readonly<{
|