@aplus-frontend/ui 7.13.11 → 7.13.12
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-field/select/index.vue.d.ts +8 -18
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/es/src/ap-table/constants.d.ts +3 -3
- package/es/src/business/hooks/usePageListAgGrid.mjs +2 -2
- package/es/src/splitter/SplitBar.vue2.mjs +7 -7
- package/es/src/splitter/hooks/sizeUtil.d.ts +3 -0
- package/es/src/splitter/hooks/sizeUtil.mjs +44 -0
- package/es/src/splitter/hooks/useSizes.mjs +38 -41
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +8 -18
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-table/constants.d.ts +3 -3
- package/lib/src/business/hooks/usePageListAgGrid.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/hooks/sizeUtil.d.ts +3 -0
- package/lib/src/splitter/hooks/sizeUtil.js +1 -0
- package/lib/src/splitter/hooks/useSizes.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +5 -5
|
@@ -148,7 +148,7 @@ declare function __VLS_template(): {
|
|
|
148
148
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
149
149
|
searchValue: string;
|
|
150
150
|
}) => number>;
|
|
151
|
-
optionFilterProp:
|
|
151
|
+
optionFilterProp: PropType<string | string[]>;
|
|
152
152
|
optionLabelProp: StringConstructor;
|
|
153
153
|
options: PropType<DefaultOptionType[]>;
|
|
154
154
|
defaultActiveFirstOption: {
|
|
@@ -170,12 +170,7 @@ declare function __VLS_template(): {
|
|
|
170
170
|
type: PropType<(props: CustomTagProps) => any>;
|
|
171
171
|
};
|
|
172
172
|
optionLabelRender: {
|
|
173
|
-
type:
|
|
174
|
-
* 在聚焦时再次发起网络请求的前提:
|
|
175
|
-
* 1. 设置了`refetchOnFocus=true`
|
|
176
|
-
* 2. `fetchId > 0`表示已经发起过一次网络请求
|
|
177
|
-
* 3. 当前并不处于loading状态
|
|
178
|
-
*/).PropType<(option: Record<string, any>) => any>;
|
|
173
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
179
174
|
};
|
|
180
175
|
onClear: PropType<() => void>;
|
|
181
176
|
defaultOpen: {
|
|
@@ -327,7 +322,7 @@ declare function __VLS_template(): {
|
|
|
327
322
|
};
|
|
328
323
|
animation: StringConstructor;
|
|
329
324
|
direction: {
|
|
330
|
-
type: PropType<"rtl" | "ltr">;
|
|
325
|
+
type: ** @type { [typeof __VLS_components.Select, typeof __VLS_components.Select, ] } */).PropType<"rtl" | "ltr">;
|
|
331
326
|
};
|
|
332
327
|
disabled: {
|
|
333
328
|
type: BooleanConstructor;
|
|
@@ -375,7 +370,7 @@ declare function __VLS_template(): {
|
|
|
375
370
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
376
371
|
searchValue: string;
|
|
377
372
|
}) => number>;
|
|
378
|
-
optionFilterProp:
|
|
373
|
+
optionFilterProp: PropType<string | string[]>;
|
|
379
374
|
optionLabelProp: StringConstructor;
|
|
380
375
|
options: PropType<DefaultOptionType[]>;
|
|
381
376
|
defaultActiveFirstOption: {
|
|
@@ -613,7 +608,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
613
608
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
614
609
|
searchValue: string;
|
|
615
610
|
}) => number>;
|
|
616
|
-
optionFilterProp:
|
|
611
|
+
optionFilterProp: PropType<string | string[]>;
|
|
617
612
|
optionLabelProp: StringConstructor;
|
|
618
613
|
options: PropType<DefaultOptionType[]>;
|
|
619
614
|
defaultActiveFirstOption: {
|
|
@@ -635,12 +630,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
635
630
|
type: PropType<(props: CustomTagProps) => any>;
|
|
636
631
|
};
|
|
637
632
|
optionLabelRender: {
|
|
638
|
-
type:
|
|
639
|
-
* 在聚焦时再次发起网络请求的前提:
|
|
640
|
-
* 1. 设置了`refetchOnFocus=true`
|
|
641
|
-
* 2. `fetchId > 0`表示已经发起过一次网络请求
|
|
642
|
-
* 3. 当前并不处于loading状态
|
|
643
|
-
*/).PropType<(option: Record<string, any>) => any>;
|
|
633
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
644
634
|
};
|
|
645
635
|
onClear: PropType<() => void>;
|
|
646
636
|
defaultOpen: {
|
|
@@ -792,7 +782,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
792
782
|
};
|
|
793
783
|
animation: StringConstructor;
|
|
794
784
|
direction: {
|
|
795
|
-
type: PropType<"rtl" | "ltr">;
|
|
785
|
+
type: ** @type { [typeof __VLS_components.Select, typeof __VLS_components.Select, ] } */).PropType<"rtl" | "ltr">;
|
|
796
786
|
};
|
|
797
787
|
disabled: {
|
|
798
788
|
type: BooleanConstructor;
|
|
@@ -840,7 +830,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
840
830
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
841
831
|
searchValue: string;
|
|
842
832
|
}) => number>;
|
|
843
|
-
optionFilterProp:
|
|
833
|
+
optionFilterProp: PropType<string | string[]>;
|
|
844
834
|
optionLabelProp: StringConstructor;
|
|
845
835
|
options: PropType<DefaultOptionType[]>;
|
|
846
836
|
defaultActiveFirstOption: {
|
|
@@ -102,7 +102,7 @@ declare function __VLS_template(): {
|
|
|
102
102
|
readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
103
103
|
searchValue: string;
|
|
104
104
|
}) => number) | undefined;
|
|
105
|
-
readonly optionFilterProp?: string | undefined;
|
|
105
|
+
readonly optionFilterProp?: string | string[] | undefined;
|
|
106
106
|
readonly optionLabelProp?: string | undefined;
|
|
107
107
|
readonly options?: DefaultOptionType[] | undefined;
|
|
108
108
|
readonly defaultActiveFirstOption?: boolean | undefined;
|
|
@@ -269,7 +269,7 @@ declare function __VLS_template(): {
|
|
|
269
269
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
270
270
|
searchValue: string;
|
|
271
271
|
}) => number>;
|
|
272
|
-
optionFilterProp:
|
|
272
|
+
optionFilterProp: PropType<string | string[]>;
|
|
273
273
|
optionLabelProp: StringConstructor;
|
|
274
274
|
options: PropType< DefaultOptionType[]>;
|
|
275
275
|
defaultActiveFirstOption: {
|
|
@@ -491,7 +491,7 @@ declare function __VLS_template(): {
|
|
|
491
491
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
492
492
|
searchValue: string;
|
|
493
493
|
}) => number>;
|
|
494
|
-
optionFilterProp:
|
|
494
|
+
optionFilterProp: PropType<string | string[]>;
|
|
495
495
|
optionLabelProp: StringConstructor;
|
|
496
496
|
options: PropType< DefaultOptionType[]>;
|
|
497
497
|
defaultActiveFirstOption: {
|
|
@@ -763,7 +763,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
763
763
|
readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
764
764
|
searchValue: string;
|
|
765
765
|
}) => number) | undefined;
|
|
766
|
-
readonly optionFilterProp?: string | undefined;
|
|
766
|
+
readonly optionFilterProp?: string | string[] | undefined;
|
|
767
767
|
readonly optionLabelProp?: string | undefined;
|
|
768
768
|
readonly options?: DefaultOptionType[] | undefined;
|
|
769
769
|
readonly defaultActiveFirstOption?: boolean | undefined;
|
|
@@ -930,7 +930,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
930
930
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
931
931
|
searchValue: string;
|
|
932
932
|
}) => number>;
|
|
933
|
-
optionFilterProp:
|
|
933
|
+
optionFilterProp: PropType<string | string[]>;
|
|
934
934
|
optionLabelProp: StringConstructor;
|
|
935
935
|
options: PropType< DefaultOptionType[]>;
|
|
936
936
|
defaultActiveFirstOption: {
|
|
@@ -1152,7 +1152,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
1152
1152
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
1153
1153
|
searchValue: string;
|
|
1154
1154
|
}) => number>;
|
|
1155
|
-
optionFilterProp:
|
|
1155
|
+
optionFilterProp: PropType<string | string[]>;
|
|
1156
1156
|
optionLabelProp: StringConstructor;
|
|
1157
1157
|
options: PropType< DefaultOptionType[]>;
|
|
1158
1158
|
defaultActiveFirstOption: {
|
|
@@ -990,7 +990,7 @@ export declare const apTableFormItemMap: {
|
|
|
990
990
|
readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
991
991
|
searchValue: string;
|
|
992
992
|
}) => number) | undefined;
|
|
993
|
-
readonly optionFilterProp?: string | undefined;
|
|
993
|
+
readonly optionFilterProp?: string | string[] | undefined;
|
|
994
994
|
readonly optionLabelProp?: string | undefined;
|
|
995
995
|
readonly options?: DefaultOptionType[] | undefined;
|
|
996
996
|
readonly defaultActiveFirstOption?: boolean | undefined;
|
|
@@ -1157,7 +1157,7 @@ export declare const apTableFormItemMap: {
|
|
|
1157
1157
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
1158
1158
|
searchValue: string;
|
|
1159
1159
|
}) => number>;
|
|
1160
|
-
optionFilterProp:
|
|
1160
|
+
optionFilterProp: PropType<string | string[]>;
|
|
1161
1161
|
optionLabelProp: StringConstructor;
|
|
1162
1162
|
options: PropType< DefaultOptionType[]>;
|
|
1163
1163
|
defaultActiveFirstOption: {
|
|
@@ -1379,7 +1379,7 @@ export declare const apTableFormItemMap: {
|
|
|
1379
1379
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
1380
1380
|
searchValue: string;
|
|
1381
1381
|
}) => number>;
|
|
1382
|
-
optionFilterProp:
|
|
1382
|
+
optionFilterProp: PropType<string | string[]>;
|
|
1383
1383
|
optionLabelProp: StringConstructor;
|
|
1384
1384
|
options: PropType< DefaultOptionType[]>;
|
|
1385
1385
|
defaultActiveFirstOption: {
|
|
@@ -22,14 +22,14 @@ function O(l) {
|
|
|
22
22
|
afterActivated() {
|
|
23
23
|
(g(s) ? s() : s) && c();
|
|
24
24
|
},
|
|
25
|
-
afterDeactivated: c
|
|
25
|
+
afterDeactivated: () => f && c()
|
|
26
26
|
});
|
|
27
27
|
return [A(
|
|
28
28
|
{
|
|
29
29
|
// scroll,tableLayout,columnResizable设置表格可拖动
|
|
30
30
|
columnResizable: !0,
|
|
31
31
|
request: a ? async (e) => {
|
|
32
|
-
if (h()
|
|
32
|
+
if (h())
|
|
33
33
|
return {
|
|
34
34
|
data: [],
|
|
35
35
|
total: 0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, ref as S, computed as C, unref as a, watchEffect as U, createElementBlock as g, openBlock as m, normalizeClass as c, createCommentVNode as b, createElementVNode as z, normalizeStyle as T, createBlock as
|
|
1
|
+
import { defineComponent as P, ref as S, computed as C, unref as a, watchEffect as U, createElementBlock as g, openBlock as m, normalizeClass as c, createCommentVNode as b, createElementVNode as z, normalizeStyle as T, createBlock as F, resolveDynamicComponent as D, createVNode as B } from "vue";
|
|
2
2
|
import { UpOutlined as A, DownOutlined as R, LeftOutlined as $, RightOutlined as j } from "@ant-design/icons-vue";
|
|
3
3
|
import "../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as q } from "../config-provider/hooks/use-namespace.mjs";
|
|
@@ -48,13 +48,13 @@ const G = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], W = /* @__PURE__
|
|
|
48
48
|
type: [Boolean, String]
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
setup(
|
|
51
|
+
setup(N) {
|
|
52
52
|
function y(e) {
|
|
53
|
-
return typeof e == "number" && !Number.isNaN(e) ? Math.round(e) : 0;
|
|
53
|
+
return typeof e == "number" && !Number.isNaN(e) && Number.isFinite(e) ? Math.round(e) : 0;
|
|
54
54
|
}
|
|
55
|
-
const o =
|
|
55
|
+
const o = N, {
|
|
56
56
|
b: t,
|
|
57
|
-
cssVar:
|
|
57
|
+
cssVar: L
|
|
58
58
|
} = q("splitter-bar"), w = S(null), d = S(0), k = C(() => o.vertical ? 0 : a(d)), x = C(() => o.vertical ? a(d) : 0), V = (e) => {
|
|
59
59
|
o.resizable && e.currentTarget && (w.value = [e.pageX, e.pageY], o.onOffsetStart(o.index));
|
|
60
60
|
}, X = (e) => {
|
|
@@ -136,7 +136,7 @@ const G = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], W = /* @__PURE__
|
|
|
136
136
|
class: c([a(t)("preview"), {
|
|
137
137
|
[a(t)("preview-active")]: !!d.value
|
|
138
138
|
}]),
|
|
139
|
-
style: T(a(
|
|
139
|
+
style: T(a(L)({
|
|
140
140
|
"preview-offset": `${d.value}px`
|
|
141
141
|
}))
|
|
142
142
|
}, null, 6)) : b("", !0), z("div", {
|
|
@@ -150,7 +150,7 @@ const G = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], W = /* @__PURE__
|
|
|
150
150
|
}, [e.draggerIcon !== void 0 ? (m(), g("div", {
|
|
151
151
|
key: 0,
|
|
152
152
|
class: c(a(t)("dragger-icon"))
|
|
153
|
-
}, [(m(), D(
|
|
153
|
+
}, [(m(), F(D(e.draggerIcon)))], 2)) : b("", !0)], 34), e.startCollapsible ? (m(), g("div", {
|
|
154
154
|
key: 1,
|
|
155
155
|
class: c([a(t)("collapse-bar"), a(t)("collapse-bar-start"), h.value.startCustomize ? a(t)("collapse-bar-customize") : "", M(e.showStartCollapsibleIcon)]),
|
|
156
156
|
onClick: n[0] || (n[0] = () => e.onCollapse(e.index, "start"))
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
function E(o, i, h) {
|
|
2
|
+
let c = 0;
|
|
3
|
+
const a = [];
|
|
4
|
+
o.forEach((t, n) => {
|
|
5
|
+
t === void 0 ? a.push(n) : c += t;
|
|
6
|
+
});
|
|
7
|
+
const r = 1 - c, l = a.length;
|
|
8
|
+
if (o.length && !a.length && c !== 1) {
|
|
9
|
+
if (c === 0) {
|
|
10
|
+
const n = 1 / o.length;
|
|
11
|
+
return o.map(() => n);
|
|
12
|
+
}
|
|
13
|
+
const t = 1 / c;
|
|
14
|
+
return o.map((n) => n * t);
|
|
15
|
+
}
|
|
16
|
+
if (r < 0) {
|
|
17
|
+
const t = 1 / c;
|
|
18
|
+
return o.map((n) => n === void 0 ? 0 : n * t);
|
|
19
|
+
}
|
|
20
|
+
let u = 0, x = 0, d = 0, m = 1;
|
|
21
|
+
for (const t of a) {
|
|
22
|
+
const n = i[t] || 0, e = h[t] || 1;
|
|
23
|
+
u += n, x += e, d = Math.max(d, n), m = Math.min(m, e);
|
|
24
|
+
}
|
|
25
|
+
if (u > 1 && x < 1) {
|
|
26
|
+
const t = 1 / l;
|
|
27
|
+
return o.map((n) => n === void 0 ? t : n);
|
|
28
|
+
}
|
|
29
|
+
const s = r / l;
|
|
30
|
+
if (d <= s && s <= m)
|
|
31
|
+
return o.map((t) => t === void 0 ? s : t);
|
|
32
|
+
const f = [...o];
|
|
33
|
+
let v = r - u;
|
|
34
|
+
for (let t = 0; t < l; t += 1) {
|
|
35
|
+
const n = a[t], e = i[n] || 0, A = h[n] || 1;
|
|
36
|
+
f[n] = e;
|
|
37
|
+
const C = A - e, M = Math.min(C, v);
|
|
38
|
+
f[n] += M, v -= M;
|
|
39
|
+
}
|
|
40
|
+
return f;
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
E as autoPtgSizes
|
|
44
|
+
};
|
|
@@ -1,58 +1,55 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { computed as s, unref as r, ref as P } from "vue";
|
|
2
|
+
import { autoPtgSizes as N } from "./sizeUtil.mjs";
|
|
3
|
+
function i(t) {
|
|
4
|
+
return typeof t == "string" && t.endsWith("%");
|
|
4
5
|
}
|
|
5
|
-
function
|
|
6
|
-
return Number(
|
|
6
|
+
function a(t) {
|
|
7
|
+
return Number(t.slice(0, -1)) / 100;
|
|
7
8
|
}
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
r(
|
|
9
|
+
const M = (t, c) => {
|
|
10
|
+
const d = s(() => r(t).map((e) => e.size)), l = s(() => r(t).length), u = s(() => r(c) || 0), x = (e) => e * r(u), p = P(
|
|
11
|
+
r(t).map(
|
|
11
12
|
(e) => e.defaultSize || e["default-size"]
|
|
12
13
|
)
|
|
13
|
-
),
|
|
14
|
+
), z = s(() => {
|
|
14
15
|
const e = [];
|
|
15
|
-
for (let
|
|
16
|
-
e[
|
|
16
|
+
for (let n = 0; n < l.value; n += 1)
|
|
17
|
+
e[n] = d.value[n] ?? p.value[n];
|
|
17
18
|
return e;
|
|
18
|
-
}),
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
}), f = s(
|
|
20
|
+
() => r(t).map((e) => i(e.min) ? a(e.min) : (e.min || 0) / u.value)
|
|
21
|
+
), m = s(
|
|
22
|
+
() => r(t).map((e) => i(e.max) ? a(e.max) : (e.max || u.value) / u.value)
|
|
23
|
+
), v = s(() => {
|
|
24
|
+
const e = [];
|
|
25
|
+
for (let n = 0; n < l.value; n += 1) {
|
|
26
|
+
const o = z.value[n];
|
|
27
|
+
if (i(o))
|
|
28
|
+
e[n] = a(o);
|
|
29
|
+
else if (o || o === 0) {
|
|
30
|
+
const g = Number(o);
|
|
31
|
+
Number.isNaN(g) || (e[n] = g / u.value);
|
|
27
32
|
} else
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
const a = e.reduce((n, t) => n + (t || 0), 0);
|
|
31
|
-
if (a > 1 || !o) {
|
|
32
|
-
const n = 1 / a;
|
|
33
|
-
e = e.map((t) => t === void 0 ? 0 : t * n);
|
|
34
|
-
} else {
|
|
35
|
-
const n = (1 - a) / o;
|
|
36
|
-
e = e.map((t) => t === void 0 ? n : t);
|
|
33
|
+
e[n] = void 0;
|
|
37
34
|
}
|
|
38
|
-
return
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
);
|
|
35
|
+
return N(
|
|
36
|
+
e,
|
|
37
|
+
f.value,
|
|
38
|
+
m.value
|
|
39
|
+
);
|
|
40
|
+
}), S = s(() => r(v).map(x));
|
|
44
41
|
return [
|
|
45
|
-
|
|
42
|
+
s(() => c?.value ? r(S) : r(z)),
|
|
46
43
|
S,
|
|
47
44
|
v,
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
f,
|
|
46
|
+
m,
|
|
50
47
|
(e) => {
|
|
51
|
-
|
|
48
|
+
p.value = e;
|
|
52
49
|
}
|
|
53
50
|
];
|
|
54
51
|
};
|
|
55
52
|
export {
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
a as getPtg,
|
|
54
|
+
M as useSizes
|
|
58
55
|
};
|
package/es/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "7.13.
|
|
1
|
+
declare const _default: "7.13.12";
|
|
2
2
|
export default _default;
|
package/es/src/version.mjs
CHANGED
|
@@ -148,7 +148,7 @@ declare function __VLS_template(): {
|
|
|
148
148
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
149
149
|
searchValue: string;
|
|
150
150
|
}) => number>;
|
|
151
|
-
optionFilterProp:
|
|
151
|
+
optionFilterProp: PropType<string | string[]>;
|
|
152
152
|
optionLabelProp: StringConstructor;
|
|
153
153
|
options: PropType<DefaultOptionType[]>;
|
|
154
154
|
defaultActiveFirstOption: {
|
|
@@ -170,12 +170,7 @@ declare function __VLS_template(): {
|
|
|
170
170
|
type: PropType<(props: CustomTagProps) => any>;
|
|
171
171
|
};
|
|
172
172
|
optionLabelRender: {
|
|
173
|
-
type:
|
|
174
|
-
* 在聚焦时再次发起网络请求的前提:
|
|
175
|
-
* 1. 设置了`refetchOnFocus=true`
|
|
176
|
-
* 2. `fetchId > 0`表示已经发起过一次网络请求
|
|
177
|
-
* 3. 当前并不处于loading状态
|
|
178
|
-
*/).PropType<(option: Record<string, any>) => any>;
|
|
173
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
179
174
|
};
|
|
180
175
|
onClear: PropType<() => void>;
|
|
181
176
|
defaultOpen: {
|
|
@@ -327,7 +322,7 @@ declare function __VLS_template(): {
|
|
|
327
322
|
};
|
|
328
323
|
animation: StringConstructor;
|
|
329
324
|
direction: {
|
|
330
|
-
type: PropType<"rtl" | "ltr">;
|
|
325
|
+
type: ** @type { [typeof __VLS_components.Select, typeof __VLS_components.Select, ] } */).PropType<"rtl" | "ltr">;
|
|
331
326
|
};
|
|
332
327
|
disabled: {
|
|
333
328
|
type: BooleanConstructor;
|
|
@@ -375,7 +370,7 @@ declare function __VLS_template(): {
|
|
|
375
370
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
376
371
|
searchValue: string;
|
|
377
372
|
}) => number>;
|
|
378
|
-
optionFilterProp:
|
|
373
|
+
optionFilterProp: PropType<string | string[]>;
|
|
379
374
|
optionLabelProp: StringConstructor;
|
|
380
375
|
options: PropType<DefaultOptionType[]>;
|
|
381
376
|
defaultActiveFirstOption: {
|
|
@@ -613,7 +608,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
613
608
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
614
609
|
searchValue: string;
|
|
615
610
|
}) => number>;
|
|
616
|
-
optionFilterProp:
|
|
611
|
+
optionFilterProp: PropType<string | string[]>;
|
|
617
612
|
optionLabelProp: StringConstructor;
|
|
618
613
|
options: PropType<DefaultOptionType[]>;
|
|
619
614
|
defaultActiveFirstOption: {
|
|
@@ -635,12 +630,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
635
630
|
type: PropType<(props: CustomTagProps) => any>;
|
|
636
631
|
};
|
|
637
632
|
optionLabelRender: {
|
|
638
|
-
type:
|
|
639
|
-
* 在聚焦时再次发起网络请求的前提:
|
|
640
|
-
* 1. 设置了`refetchOnFocus=true`
|
|
641
|
-
* 2. `fetchId > 0`表示已经发起过一次网络请求
|
|
642
|
-
* 3. 当前并不处于loading状态
|
|
643
|
-
*/).PropType<(option: Record<string, any>) => any>;
|
|
633
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
644
634
|
};
|
|
645
635
|
onClear: PropType<() => void>;
|
|
646
636
|
defaultOpen: {
|
|
@@ -792,7 +782,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
792
782
|
};
|
|
793
783
|
animation: StringConstructor;
|
|
794
784
|
direction: {
|
|
795
|
-
type: PropType<"rtl" | "ltr">;
|
|
785
|
+
type: ** @type { [typeof __VLS_components.Select, typeof __VLS_components.Select, ] } */).PropType<"rtl" | "ltr">;
|
|
796
786
|
};
|
|
797
787
|
disabled: {
|
|
798
788
|
type: BooleanConstructor;
|
|
@@ -840,7 +830,7 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
840
830
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
841
831
|
searchValue: string;
|
|
842
832
|
}) => number>;
|
|
843
|
-
optionFilterProp:
|
|
833
|
+
optionFilterProp: PropType<string | string[]>;
|
|
844
834
|
optionLabelProp: StringConstructor;
|
|
845
835
|
options: PropType<DefaultOptionType[]>;
|
|
846
836
|
defaultActiveFirstOption: {
|
|
@@ -102,7 +102,7 @@ declare function __VLS_template(): {
|
|
|
102
102
|
readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
103
103
|
searchValue: string;
|
|
104
104
|
}) => number) | undefined;
|
|
105
|
-
readonly optionFilterProp?: string | undefined;
|
|
105
|
+
readonly optionFilterProp?: string | string[] | undefined;
|
|
106
106
|
readonly optionLabelProp?: string | undefined;
|
|
107
107
|
readonly options?: DefaultOptionType[] | undefined;
|
|
108
108
|
readonly defaultActiveFirstOption?: boolean | undefined;
|
|
@@ -269,7 +269,7 @@ declare function __VLS_template(): {
|
|
|
269
269
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
270
270
|
searchValue: string;
|
|
271
271
|
}) => number>;
|
|
272
|
-
optionFilterProp:
|
|
272
|
+
optionFilterProp: PropType<string | string[]>;
|
|
273
273
|
optionLabelProp: StringConstructor;
|
|
274
274
|
options: PropType< DefaultOptionType[]>;
|
|
275
275
|
defaultActiveFirstOption: {
|
|
@@ -491,7 +491,7 @@ declare function __VLS_template(): {
|
|
|
491
491
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
492
492
|
searchValue: string;
|
|
493
493
|
}) => number>;
|
|
494
|
-
optionFilterProp:
|
|
494
|
+
optionFilterProp: PropType<string | string[]>;
|
|
495
495
|
optionLabelProp: StringConstructor;
|
|
496
496
|
options: PropType< DefaultOptionType[]>;
|
|
497
497
|
defaultActiveFirstOption: {
|
|
@@ -763,7 +763,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
763
763
|
readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
764
764
|
searchValue: string;
|
|
765
765
|
}) => number) | undefined;
|
|
766
|
-
readonly optionFilterProp?: string | undefined;
|
|
766
|
+
readonly optionFilterProp?: string | string[] | undefined;
|
|
767
767
|
readonly optionLabelProp?: string | undefined;
|
|
768
768
|
readonly options?: DefaultOptionType[] | undefined;
|
|
769
769
|
readonly defaultActiveFirstOption?: boolean | undefined;
|
|
@@ -930,7 +930,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
930
930
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
931
931
|
searchValue: string;
|
|
932
932
|
}) => number>;
|
|
933
|
-
optionFilterProp:
|
|
933
|
+
optionFilterProp: PropType<string | string[]>;
|
|
934
934
|
optionLabelProp: StringConstructor;
|
|
935
935
|
options: PropType< DefaultOptionType[]>;
|
|
936
936
|
defaultActiveFirstOption: {
|
|
@@ -1152,7 +1152,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
1152
1152
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
1153
1153
|
searchValue: string;
|
|
1154
1154
|
}) => number>;
|
|
1155
|
-
optionFilterProp:
|
|
1155
|
+
optionFilterProp: PropType<string | string[]>;
|
|
1156
1156
|
optionLabelProp: StringConstructor;
|
|
1157
1157
|
options: PropType< DefaultOptionType[]>;
|
|
1158
1158
|
defaultActiveFirstOption: {
|
|
@@ -990,7 +990,7 @@ export declare const apTableFormItemMap: {
|
|
|
990
990
|
readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
991
991
|
searchValue: string;
|
|
992
992
|
}) => number) | undefined;
|
|
993
|
-
readonly optionFilterProp?: string | undefined;
|
|
993
|
+
readonly optionFilterProp?: string | string[] | undefined;
|
|
994
994
|
readonly optionLabelProp?: string | undefined;
|
|
995
995
|
readonly options?: DefaultOptionType[] | undefined;
|
|
996
996
|
readonly defaultActiveFirstOption?: boolean | undefined;
|
|
@@ -1157,7 +1157,7 @@ export declare const apTableFormItemMap: {
|
|
|
1157
1157
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
1158
1158
|
searchValue: string;
|
|
1159
1159
|
}) => number>;
|
|
1160
|
-
optionFilterProp:
|
|
1160
|
+
optionFilterProp: PropType<string | string[]>;
|
|
1161
1161
|
optionLabelProp: StringConstructor;
|
|
1162
1162
|
options: PropType< DefaultOptionType[]>;
|
|
1163
1163
|
defaultActiveFirstOption: {
|
|
@@ -1379,7 +1379,7 @@ export declare const apTableFormItemMap: {
|
|
|
1379
1379
|
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
1380
1380
|
searchValue: string;
|
|
1381
1381
|
}) => number>;
|
|
1382
|
-
optionFilterProp:
|
|
1382
|
+
optionFilterProp: PropType<string | string[]>;
|
|
1383
1383
|
optionLabelProp: StringConstructor;
|
|
1384
1384
|
options: PropType< DefaultOptionType[]>;
|
|
1385
1385
|
defaultActiveFirstOption: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("lodash-unified"),F=require("vue"),V=require("./useKeepAliveFlag.js");function q(l){const r=F.ref(null),{isShowRowSelection:d=!0,clearSelectionOnRequest:f=!0,transformSearchFormValues:o,api:a,tableRefresh:s=!0,clearDataOnDeactivated:g=!0,...v}=l||{};let n=null;const u=()=>{r.value?.rowSelection?.clearAll()},i=e=>{r.value?.submitWith(e)},p=()=>{r.value?.reset()},{isDeactivated:S}=V.useKeepAliveFlag({afterActivated(){(c.isFunction(s)?s():s)&&i()},afterDeactivated:i}),h=async e=>{if(S()
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("lodash-unified"),F=require("vue"),V=require("./useKeepAliveFlag.js");function q(l){const r=F.ref(null),{isShowRowSelection:d=!0,clearSelectionOnRequest:f=!0,transformSearchFormValues:o,api:a,tableRefresh:s=!0,clearDataOnDeactivated:g=!0,...v}=l||{};let n=null;const u=()=>{r.value?.rowSelection?.clearAll()},i=e=>{r.value?.submitWith(e)},p=()=>{r.value?.reset()},{isDeactivated:S}=V.useKeepAliveFlag({afterActivated(){(c.isFunction(s)?s():s)&&i()},afterDeactivated:()=>g&&i()}),h=async e=>{if(S())return{data:[],total:0};n=e.sort;const t=o?o(e):e;if(!a)throw new Error("api is not defined");const{records:m,total:A}=await a(t);return f&&u(),{data:m,total:A}};return[c.merge({columnResizable:!0,request:a?h:void 0,rowSelection:d?{fixed:"left",columnWidth:38}:void 0,onVnodeBeforeMount(e){r.value=e.component?.exposed},card:!0},v),{reload:i,reset:p,getSearchFormValues:(e=!0)=>{const t=r.value?.getSearchFormValues(!!e)||{};return o?o(t):t},getAgGridInstance:()=>r.value,getSearchFormValuesAndSorted:(e=!0)=>{const t=r.value?.getSearchFormValues(!!e)||{};return t.sort=n&&c.cloneDeep(n),o?o(t):t},clearSelection:u}]}exports.usePageListAgGrid=q;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("@ant-design/icons-vue");require("../config-provider/index.js");const S=require("../config-provider/hooks/use-namespace.js"),I=["aria-valuenow","aria-valuemin","aria-valuemax"],V=e.defineComponent({name:"SplitBar",__name:"SplitBar",props:{index:{},active:{type:Boolean},resizable:{type:Boolean},startCollapsible:{type:Boolean},endCollapsible:{type:Boolean},onOffsetStart:{type:Function},onOffsetUpdate:{type:Function},onOffsetEnd:{},onCollapse:{type:Function},vertical:{type:Boolean},ariaNow:{},ariaMin:{},ariaMax:{},lazy:{type:Boolean},containerSize:{},draggerIcon:{},collapsibleIcon:{},showStartCollapsibleIcon:{type:[Boolean,String]},showEndCollapsibleIcon:{type:[Boolean,String]}},setup(z){function g(n){return typeof n=="number"&&!Number.isNaN(n)?Math.round(n):0}const o=z,{b:t,cssVar:E}=S.useNamespace("splitter-bar"),m=e.ref(null),c=e.ref(0),B=e.computed(()=>o.vertical?0:e.unref(c)),M=e.computed(()=>o.vertical?e.unref(c):0),O=n=>{o.resizable&&n.currentTarget&&(m.value=[n.pageX,n.pageY],o.onOffsetStart(o.index))},
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("@ant-design/icons-vue");require("../config-provider/index.js");const S=require("../config-provider/hooks/use-namespace.js"),I=["aria-valuenow","aria-valuemin","aria-valuemax"],V=e.defineComponent({name:"SplitBar",__name:"SplitBar",props:{index:{},active:{type:Boolean},resizable:{type:Boolean},startCollapsible:{type:Boolean},endCollapsible:{type:Boolean},onOffsetStart:{type:Function},onOffsetUpdate:{type:Function},onOffsetEnd:{},onCollapse:{type:Function},vertical:{type:Boolean},ariaNow:{},ariaMin:{},ariaMax:{},lazy:{type:Boolean},containerSize:{},draggerIcon:{},collapsibleIcon:{},showStartCollapsibleIcon:{type:[Boolean,String]},showEndCollapsibleIcon:{type:[Boolean,String]}},setup(z){function g(n){return typeof n=="number"&&!Number.isNaN(n)&&Number.isFinite(n)?Math.round(n):0}const o=z,{b:t,cssVar:E}=S.useNamespace("splitter-bar"),m=e.ref(null),c=e.ref(0),B=e.computed(()=>o.vertical?0:e.unref(c)),M=e.computed(()=>o.vertical?e.unref(c):0),O=n=>{o.resizable&&n.currentTarget&&(m.value=[n.pageX,n.pageY],o.onOffsetStart(o.index))},N=n=>{if(o.resizable&&n.touches.length===1){const a=n.touches[0];m.value=[a.pageX,a.pageY],o.onOffsetStart(o.index)}},k=n=>{const{containerSize:a,ariaMax:s,ariaMin:r,ariaNow:i}=o,l=a*i/100,u=l+n,d=Math.max(0,a*r/100),f=Math.max(a,a*s/100);return Math.max(d,Math.min(f,u))-l},b=(n,a)=>{const s=k(o.vertical?a:n);c.value=s},C=()=>{o.onOffsetUpdate(o.index,e.unref(B),e.unref(M)),c.value=0},h=n=>{switch(n){case!0:return t("collapse-bar-always-visible");case!1:return t("collapse-bar-always-hidden");case"auto":return t("collapse-bar-hover-only")}};e.watchEffect(n=>{const a=e.unref(m);if(a){const s=u=>{const{pageX:d,pageY:f}=u,p=d-a[0],y=f-a[1];o.lazy?b(p,y):o.onOffsetUpdate(o.index,p,y)},r=()=>{o.lazy&&C(),m.value=null,o.onOffsetEnd()},i=u=>{if(u.touches.length===1){const d=u.touches[0],f=d.pageX-a[0],p=d.pageY-a[1];o.lazy?b(f,p):o.onOffsetUpdate(o.index,f,p)}},l=()=>{o.lazy&&C(),m.value=null,o.onOffsetEnd()};window.addEventListener("touchmove",i),window.addEventListener("touchend",l),window.addEventListener("mousemove",s),window.addEventListener("mouseup",r),n(()=>{window.removeEventListener("touchmove",i),window.removeEventListener("touchend",l),window.removeEventListener("mousemove",s),window.removeEventListener("mouseup",r)})}},{flush:"post"});const v=e.computed(()=>{const{collapsibleIcon:n,vertical:a}=o;let s=null,r=null;const i=n?.start!==void 0,l=n?.end!==void 0;return a?(s=i?()=>n.start:w.UpOutlined,r=l?()=>n.end:w.DownOutlined):(s=i?()=>n.start:w.LeftOutlined,r=l?()=>n.end:w.RightOutlined),{startIcon:s,endIcon:r,startCustomize:i,endCustomize:l}});return(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(t)()),role:"separator","aria-valuenow":g(o.ariaNow),"aria-valuemin":g(o.ariaMin),"aria-valuemax":g(o.ariaMax)},[o.lazy?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(t)("preview"),{[e.unref(t)("preview-active")]:!!c.value}]),style:e.normalizeStyle(e.unref(E)({"preview-offset":`${c.value}px`}))},null,6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([e.unref(t)("dragger"),{[e.unref(t)("dragger-disabled")]:!n.resizable,[e.unref(t)("dragger-active")]:n.active,[e.unref(t)("dragger-customize")]:n.draggerIcon!==void 0}]),onMousedown:O,onTouchstart:N},[n.draggerIcon!==void 0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(t)("dragger-icon"))},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.draggerIcon)))],2)):e.createCommentVNode("",!0)],34),n.startCollapsible?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([e.unref(t)("collapse-bar"),e.unref(t)("collapse-bar-start"),v.value.startCustomize?e.unref(t)("collapse-bar-customize"):"",h(n.showStartCollapsibleIcon)]),onClick:a[0]||(a[0]=()=>n.onCollapse(n.index,"start"))},[e.createElementVNode("span",{class:e.normalizeClass([e.unref(t)("collapse-icon"),e.unref(t)("collapse-start")])},[e.createVNode(e.unref(v).startIcon)],2)],2)):e.createCommentVNode("",!0),n.endCollapsible?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass([e.unref(t)("collapse-bar"),e.unref(t)("collapse-bar-end"),v.value.endCustomize?e.unref(t)("collapse-bar-customize"):"",h(n.showEndCollapsibleIcon)]),onClick:a[1]||(a[1]=()=>n.onCollapse(n.index,"end"))},[e.createElementVNode("span",{class:e.normalizeClass([e.unref(t)("collapse-icon"),e.unref(t)("collapse-end")])},[e.createVNode(e.unref(v).endIcon)],2)],2)):e.createCommentVNode("",!0)],10,I))}});exports.default=V;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function b(o,f,h){let e=0;const a=[];o.forEach((n,t)=>{n===void 0?a.push(t):e+=n});const r=1-e,l=a.length;if(o.length&&!a.length&&e!==1){if(e===0){const t=1/o.length;return o.map(()=>t)}const n=1/e;return o.map(t=>t*n)}if(r<0){const n=1/e;return o.map(t=>t===void 0?0:t*n)}let u=0,v=0,d=0,i=1;for(const n of a){const t=f[n]||0,c=h[n]||1;u+=t,v+=c,d=Math.max(d,t),i=Math.min(i,c)}if(u>1&&v<1){const n=1/l;return o.map(t=>t===void 0?n:t)}const s=r/l;if(d<=s&&s<=i)return o.map(n=>n===void 0?s:n);const m=[...o];let M=r-u;for(let n=0;n<l;n+=1){const t=a[n],c=f[t]||0,g=h[t]||1;m[t]=c;const P=g-c,x=Math.min(P,M);m[t]+=x,M-=x}return m}exports.autoPtgSizes=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),P=require("./sizeUtil.js");function i(u){return typeof u=="string"&&u.endsWith("%")}function o(u){return Number(u.slice(0,-1))/100}const x=(u,c)=>{const v=t.computed(()=>t.unref(u).map(e=>e.size)),a=t.computed(()=>t.unref(u).length),r=t.computed(()=>t.unref(c)||0),g=e=>e*t.unref(r),l=t.ref(t.unref(u).map(e=>e.defaultSize||e["default-size"])),p=t.computed(()=>{const e=[];for(let n=0;n<a.value;n+=1)e[n]=v.value[n]??l.value[n];return e}),f=t.computed(()=>t.unref(u).map(e=>i(e.min)?o(e.min):(e.min||0)/r.value)),m=t.computed(()=>t.unref(u).map(e=>i(e.max)?o(e.max):(e.max||r.value)/r.value)),z=t.computed(()=>{const e=[];for(let n=0;n<a.value;n+=1){const s=p.value[n];if(i(s))e[n]=o(s);else if(s||s===0){const S=Number(s);Number.isNaN(S)||(e[n]=S/r.value)}else e[n]=void 0}return P.autoPtgSizes(e,f.value,m.value)}),d=t.computed(()=>t.unref(z).map(g));return[t.computed(()=>c?.value?t.unref(d):t.unref(p)),d,z,f,m,e=>{l.value=e}]};exports.getPtg=o;exports.useSizes=x;
|
package/lib/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "7.13.
|
|
1
|
+
declare const _default: "7.13.12";
|
|
2
2
|
export default _default;
|
package/lib/src/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.13.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.13.12";exports.default=e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "7.13.
|
|
3
|
+
"version": "7.13.12",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -40,18 +40,18 @@
|
|
|
40
40
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
41
41
|
"vue-virtual-scroller": "2.0.0-beta.8",
|
|
42
42
|
"vuedraggable": "^4.1.0",
|
|
43
|
-
"@aplus-frontend/
|
|
44
|
-
"@aplus-frontend/
|
|
43
|
+
"@aplus-frontend/hooks": "1.0.7",
|
|
44
|
+
"@aplus-frontend/utils": "1.0.65"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@aplus-frontend/antdv": "^2.0
|
|
47
|
+
"@aplus-frontend/antdv": "^2.1.0",
|
|
48
48
|
"@aplus-frontend/icon": "^2.0.6",
|
|
49
49
|
"@aplus-frontend/oss": "^2.0.1",
|
|
50
50
|
"vue": "^3.5.21",
|
|
51
51
|
"vxe-table": "^4.13.37"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aplus-frontend/antdv": "^2.0
|
|
54
|
+
"@aplus-frontend/antdv": "^2.1.0",
|
|
55
55
|
"@aplus-frontend/icon": "^2.0.6",
|
|
56
56
|
"@aplus-frontend/oss": "^2.0.1",
|
|
57
57
|
"@emotion/serialize": "^1.3.3",
|