@aplus-frontend/ui 7.3.2 → 7.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/es/src/ap-grid/utils/table.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +5 -5
- package/es/src/business/ap-draggable-grid/style/index.mjs +4 -4
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-table/constants.d.ts +5 -5
- package/lib/src/business/ap-draggable-grid/style/index.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
|
@@ -66,9 +66,9 @@ declare function __VLS_template(): {
|
|
|
66
66
|
type: "up" | "down";
|
|
67
67
|
}) => void) | undefined;
|
|
68
68
|
readonly type?: string | undefined;
|
|
69
|
+
readonly placeholder?: string | undefined;
|
|
69
70
|
readonly name?: string | undefined;
|
|
70
71
|
readonly id?: string | undefined;
|
|
71
|
-
readonly placeholder?: string | undefined;
|
|
72
72
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
73
73
|
readonly addonBefore?: any;
|
|
74
74
|
readonly addonAfter?: any;
|
|
@@ -561,9 +561,9 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
561
561
|
type: "up" | "down";
|
|
562
562
|
}) => void) | undefined;
|
|
563
563
|
readonly type?: string | undefined;
|
|
564
|
+
readonly placeholder?: string | undefined;
|
|
564
565
|
readonly name?: string | undefined;
|
|
565
566
|
readonly id?: string | undefined;
|
|
566
|
-
readonly placeholder?: string | undefined;
|
|
567
567
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
568
568
|
readonly addonBefore?: any;
|
|
569
569
|
readonly addonAfter?: any;
|
|
@@ -66,6 +66,7 @@ declare function __VLS_template(): {
|
|
|
66
66
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
67
67
|
readonly animation?: string | undefined;
|
|
68
68
|
readonly children?: VueNode[] | undefined;
|
|
69
|
+
readonly placeholder?: any;
|
|
69
70
|
readonly prefixCls?: string | undefined;
|
|
70
71
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
71
72
|
readonly loading?: boolean | undefined;
|
|
@@ -76,7 +77,6 @@ declare function __VLS_template(): {
|
|
|
76
77
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
77
78
|
readonly virtual?: boolean | undefined;
|
|
78
79
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
79
|
-
readonly placeholder?: any;
|
|
80
80
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
81
81
|
readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
82
82
|
readonly prefix?: any;
|
|
@@ -715,6 +715,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
715
715
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
716
716
|
readonly animation?: string | undefined;
|
|
717
717
|
readonly children?: VueNode[] | undefined;
|
|
718
|
+
readonly placeholder?: any;
|
|
718
719
|
readonly prefixCls?: string | undefined;
|
|
719
720
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
720
721
|
readonly loading?: boolean | undefined;
|
|
@@ -725,7 +726,6 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
725
726
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
726
727
|
readonly virtual?: boolean | undefined;
|
|
727
728
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
728
|
-
readonly placeholder?: any;
|
|
729
729
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
730
730
|
readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
731
731
|
readonly prefix?: any;
|
|
@@ -46,6 +46,7 @@ declare function __VLS_template(): {
|
|
|
46
46
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
47
47
|
readonly value?: string | number | undefined;
|
|
48
48
|
readonly disabled?: boolean | undefined;
|
|
49
|
+
readonly placeholder?: string | number | undefined;
|
|
49
50
|
readonly prefixCls?: string | undefined;
|
|
50
51
|
readonly name?: string | undefined;
|
|
51
52
|
readonly loading?: boolean | undefined;
|
|
@@ -56,7 +57,6 @@ declare function __VLS_template(): {
|
|
|
56
57
|
readonly focused?: boolean | undefined;
|
|
57
58
|
readonly readonly?: boolean | undefined;
|
|
58
59
|
readonly autocomplete?: string | undefined;
|
|
59
|
-
readonly placeholder?: string | number | undefined;
|
|
60
60
|
readonly maxlength?: number | undefined;
|
|
61
61
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
62
62
|
readonly htmlSize?: number | undefined;
|
|
@@ -203,6 +203,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
203
203
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
204
204
|
readonly value?: string | number | undefined;
|
|
205
205
|
readonly disabled?: boolean | undefined;
|
|
206
|
+
readonly placeholder?: string | number | undefined;
|
|
206
207
|
readonly prefixCls?: string | undefined;
|
|
207
208
|
readonly name?: string | undefined;
|
|
208
209
|
readonly loading?: boolean | undefined;
|
|
@@ -213,7 +214,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
213
214
|
readonly focused?: boolean | undefined;
|
|
214
215
|
readonly readonly?: boolean | undefined;
|
|
215
216
|
readonly autocomplete?: string | undefined;
|
|
216
|
-
readonly placeholder?: string | number | undefined;
|
|
217
217
|
readonly maxlength?: number | undefined;
|
|
218
218
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
219
219
|
readonly htmlSize?: number | undefined;
|
|
@@ -47,6 +47,7 @@ declare function __VLS_template(): {
|
|
|
47
47
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
48
48
|
readonly value?: string | number | undefined;
|
|
49
49
|
readonly disabled?: boolean | undefined;
|
|
50
|
+
readonly placeholder?: string | number | undefined;
|
|
50
51
|
readonly prefixCls?: string | undefined;
|
|
51
52
|
readonly name?: string | undefined;
|
|
52
53
|
readonly loading?: boolean | undefined;
|
|
@@ -57,7 +58,6 @@ declare function __VLS_template(): {
|
|
|
57
58
|
readonly focused?: boolean | undefined;
|
|
58
59
|
readonly readonly?: boolean | undefined;
|
|
59
60
|
readonly autocomplete?: string | undefined;
|
|
60
|
-
readonly placeholder?: string | number | undefined;
|
|
61
61
|
readonly maxlength?: number | undefined;
|
|
62
62
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
63
63
|
readonly htmlSize?: number | undefined;
|
|
@@ -210,6 +210,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
210
210
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
211
211
|
readonly value?: string | number | undefined;
|
|
212
212
|
readonly disabled?: boolean | undefined;
|
|
213
|
+
readonly placeholder?: string | number | undefined;
|
|
213
214
|
readonly prefixCls?: string | undefined;
|
|
214
215
|
readonly name?: string | undefined;
|
|
215
216
|
readonly loading?: boolean | undefined;
|
|
@@ -220,7 +221,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
220
221
|
readonly focused?: boolean | undefined;
|
|
221
222
|
readonly readonly?: boolean | undefined;
|
|
222
223
|
readonly autocomplete?: string | undefined;
|
|
223
|
-
readonly placeholder?: string | number | undefined;
|
|
224
224
|
readonly maxlength?: number | undefined;
|
|
225
225
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
226
226
|
readonly htmlSize?: number | undefined;
|
|
@@ -70,6 +70,7 @@ declare function __VLS_template(): {
|
|
|
70
70
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
71
71
|
readonly animation?: string | undefined;
|
|
72
72
|
readonly children?: VueNode[] | undefined;
|
|
73
|
+
readonly placeholder?: any;
|
|
73
74
|
readonly prefixCls?: string | undefined;
|
|
74
75
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
75
76
|
readonly loading?: boolean | undefined;
|
|
@@ -81,7 +82,6 @@ declare function __VLS_template(): {
|
|
|
81
82
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
82
83
|
readonly virtual?: boolean | undefined;
|
|
83
84
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
84
|
-
readonly placeholder?: any;
|
|
85
85
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
86
86
|
readonly defaultValue?: unknown;
|
|
87
87
|
readonly prefix?: any;
|
|
@@ -861,6 +861,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
861
861
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
862
862
|
readonly animation?: string | undefined;
|
|
863
863
|
readonly children?: VueNode[] | undefined;
|
|
864
|
+
readonly placeholder?: any;
|
|
864
865
|
readonly prefixCls?: string | undefined;
|
|
865
866
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
866
867
|
readonly loading?: boolean | undefined;
|
|
@@ -872,7 +873,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
872
873
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
873
874
|
readonly virtual?: boolean | undefined;
|
|
874
875
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
875
|
-
readonly placeholder?: any;
|
|
876
876
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
877
877
|
readonly defaultValue?: unknown;
|
|
878
878
|
readonly prefix?: any;
|
|
@@ -73,7 +73,7 @@ function x(e) {
|
|
|
73
73
|
return e === !0 ? "left" : e;
|
|
74
74
|
}
|
|
75
75
|
function z(e, i, t) {
|
|
76
|
-
const n = e === !0 || !e.type ? "checkbox" : e.type, r = (t === "mini" ?
|
|
76
|
+
const n = e === !0 || !e.type ? "checkbox" : e.type, r = (t === "mini" ? 18 : 24) + 16, a = e === !0 ? r : e.columnWidth || r;
|
|
77
77
|
let u = e === !0 ? void 0 : x(e.fixed);
|
|
78
78
|
return u || (u === !1 ? u = void 0 : u = i.some(
|
|
79
79
|
(o) => o.fixed === "left" || o.fixed === !0
|
|
@@ -101,7 +101,7 @@ function R(e, i) {
|
|
|
101
101
|
if (!e)
|
|
102
102
|
return "auto";
|
|
103
103
|
const t = getComputedStyle(e);
|
|
104
|
-
let n = i === "medium" ?
|
|
104
|
+
let n = i === "medium" ? 24 : 18;
|
|
105
105
|
const r = (Number.parseFloat(t.fontSize) || 14) * 1.6;
|
|
106
106
|
return n += r, e.querySelector("span.anticon-question-circle") && (n += 20), n += h(e.querySelector(".vxe-cell--sort")) + h(e.querySelector(".vxe-cell--filter")), Math.ceil(n);
|
|
107
107
|
}
|
|
@@ -209,9 +209,9 @@ export declare const apTableFormItemMap: {
|
|
|
209
209
|
type: "up" | "down";
|
|
210
210
|
}) => void) | undefined;
|
|
211
211
|
readonly type?: string | undefined;
|
|
212
|
+
readonly placeholder?: string | undefined;
|
|
212
213
|
readonly name?: string | undefined;
|
|
213
214
|
readonly id?: string | undefined;
|
|
214
|
-
readonly placeholder?: string | undefined;
|
|
215
215
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
216
216
|
readonly addonBefore?: any;
|
|
217
217
|
readonly addonAfter?: any;
|
|
@@ -918,6 +918,7 @@ export declare const apTableFormItemMap: {
|
|
|
918
918
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
919
919
|
readonly animation?: string | undefined;
|
|
920
920
|
readonly children?: VueNode[] | undefined;
|
|
921
|
+
readonly placeholder?: any;
|
|
921
922
|
readonly prefixCls?: string | undefined;
|
|
922
923
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
923
924
|
readonly loading?: boolean | undefined;
|
|
@@ -928,7 +929,6 @@ export declare const apTableFormItemMap: {
|
|
|
928
929
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
929
930
|
readonly virtual?: boolean | undefined;
|
|
930
931
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
931
|
-
readonly placeholder?: any;
|
|
932
932
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
933
933
|
readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
934
934
|
readonly prefix?: any;
|
|
@@ -1679,6 +1679,7 @@ export declare const apTableFormItemMap: {
|
|
|
1679
1679
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
1680
1680
|
readonly value?: string | number | undefined;
|
|
1681
1681
|
readonly disabled?: boolean | undefined;
|
|
1682
|
+
readonly placeholder?: string | number | undefined;
|
|
1682
1683
|
readonly prefixCls?: string | undefined;
|
|
1683
1684
|
readonly name?: string | undefined;
|
|
1684
1685
|
readonly loading?: boolean | undefined;
|
|
@@ -1689,7 +1690,6 @@ export declare const apTableFormItemMap: {
|
|
|
1689
1690
|
readonly focused?: boolean | undefined;
|
|
1690
1691
|
readonly readonly?: boolean | undefined;
|
|
1691
1692
|
readonly autocomplete?: string | undefined;
|
|
1692
|
-
readonly placeholder?: string | number | undefined;
|
|
1693
1693
|
readonly maxlength?: number | undefined;
|
|
1694
1694
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
1695
1695
|
readonly htmlSize?: number | undefined;
|
|
@@ -2301,6 +2301,7 @@ export declare const apTableFormItemMap: {
|
|
|
2301
2301
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
2302
2302
|
readonly value?: string | number | undefined;
|
|
2303
2303
|
readonly disabled?: boolean | undefined;
|
|
2304
|
+
readonly placeholder?: string | number | undefined;
|
|
2304
2305
|
readonly prefixCls?: string | undefined;
|
|
2305
2306
|
readonly name?: string | undefined;
|
|
2306
2307
|
readonly loading?: boolean | undefined;
|
|
@@ -2311,7 +2312,6 @@ export declare const apTableFormItemMap: {
|
|
|
2311
2312
|
readonly focused?: boolean | undefined;
|
|
2312
2313
|
readonly readonly?: boolean | undefined;
|
|
2313
2314
|
readonly autocomplete?: string | undefined;
|
|
2314
|
-
readonly placeholder?: string | number | undefined;
|
|
2315
2315
|
readonly maxlength?: number | undefined;
|
|
2316
2316
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
2317
2317
|
readonly htmlSize?: number | undefined;
|
|
@@ -2515,6 +2515,7 @@ export declare const apTableFormItemMap: {
|
|
|
2515
2515
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
2516
2516
|
readonly animation?: string | undefined;
|
|
2517
2517
|
readonly children?: VueNode[] | undefined;
|
|
2518
|
+
readonly placeholder?: any;
|
|
2518
2519
|
readonly prefixCls?: string | undefined;
|
|
2519
2520
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
2520
2521
|
readonly loading?: boolean | undefined;
|
|
@@ -2526,7 +2527,6 @@ export declare const apTableFormItemMap: {
|
|
|
2526
2527
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
2527
2528
|
readonly virtual?: boolean | undefined;
|
|
2528
2529
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
2529
|
-
readonly placeholder?: any;
|
|
2530
2530
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
2531
2531
|
readonly defaultValue?: unknown;
|
|
2532
2532
|
readonly prefix?: any;
|
|
@@ -28,7 +28,7 @@ const i = (r) => {
|
|
|
28
28
|
[`${e}--canDrag`]: {
|
|
29
29
|
cursor: "pointer",
|
|
30
30
|
"&:hover": {
|
|
31
|
-
border:
|
|
31
|
+
border: `1px solid ${r.colorPrimary}`
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
[`${e}--dragging`]: {
|
|
@@ -41,13 +41,13 @@ const i = (r) => {
|
|
|
41
41
|
zIndex: 999
|
|
42
42
|
},
|
|
43
43
|
[`${e}__overlay`]: {
|
|
44
|
-
border:
|
|
44
|
+
border: `1px solid ${r.colorPrimary}`
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
|
-
},
|
|
48
|
+
}, d = o("ApDraggableGrid", (r) => [
|
|
49
49
|
i(r)
|
|
50
50
|
]);
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
d as default
|
|
53
53
|
};
|
|
@@ -58,7 +58,7 @@ const X = ["onClick"], se = /* @__PURE__ */ D({
|
|
|
58
58
|
"onUpdate:open": n[0] || (n[0] = (l) => k.value = l)
|
|
59
59
|
}, {
|
|
60
60
|
title: c(() => n[3] || (n[3] = [
|
|
61
|
-
A("收起")
|
|
61
|
+
A("收起", -1)
|
|
62
62
|
])),
|
|
63
63
|
default: c(() => [
|
|
64
64
|
u(e(G), { onClick: F })
|
|
@@ -119,7 +119,7 @@ const X = ["onClick"], se = /* @__PURE__ */ D({
|
|
|
119
119
|
"onUpdate:open": n[2] || (n[2] = (l) => T.value = l)
|
|
120
120
|
}, {
|
|
121
121
|
title: c(() => n[4] || (n[4] = [
|
|
122
|
-
A("展开")
|
|
122
|
+
A("展开", -1)
|
|
123
123
|
])),
|
|
124
124
|
default: c(() => [
|
|
125
125
|
u(e(H), { onClick: F })
|
|
@@ -45,6 +45,7 @@ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, Co
|
|
|
45
45
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
46
46
|
readonly value?: string | number | undefined;
|
|
47
47
|
readonly disabled?: boolean | undefined;
|
|
48
|
+
readonly placeholder?: string | number | undefined;
|
|
48
49
|
readonly prefixCls?: string | undefined;
|
|
49
50
|
readonly name?: string | undefined;
|
|
50
51
|
readonly loading?: boolean | undefined;
|
|
@@ -55,7 +56,6 @@ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, Co
|
|
|
55
56
|
readonly focused?: boolean | undefined;
|
|
56
57
|
readonly readonly?: boolean | undefined;
|
|
57
58
|
readonly autocomplete?: string | undefined;
|
|
58
|
-
readonly placeholder?: string | number | undefined;
|
|
59
59
|
readonly maxlength?: number | undefined;
|
|
60
60
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
61
61
|
readonly htmlSize?: number | undefined;
|
package/es/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "7.3.
|
|
1
|
+
declare const _default: "7.3.3";
|
|
2
2
|
export default _default;
|
package/es/src/version.mjs
CHANGED
|
@@ -66,9 +66,9 @@ declare function __VLS_template(): {
|
|
|
66
66
|
type: "up" | "down";
|
|
67
67
|
}) => void) | undefined;
|
|
68
68
|
readonly type?: string | undefined;
|
|
69
|
+
readonly placeholder?: string | undefined;
|
|
69
70
|
readonly name?: string | undefined;
|
|
70
71
|
readonly id?: string | undefined;
|
|
71
|
-
readonly placeholder?: string | undefined;
|
|
72
72
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
73
73
|
readonly addonBefore?: any;
|
|
74
74
|
readonly addonAfter?: any;
|
|
@@ -561,9 +561,9 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
561
561
|
type: "up" | "down";
|
|
562
562
|
}) => void) | undefined;
|
|
563
563
|
readonly type?: string | undefined;
|
|
564
|
+
readonly placeholder?: string | undefined;
|
|
564
565
|
readonly name?: string | undefined;
|
|
565
566
|
readonly id?: string | undefined;
|
|
566
|
-
readonly placeholder?: string | undefined;
|
|
567
567
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
568
568
|
readonly addonBefore?: any;
|
|
569
569
|
readonly addonAfter?: any;
|
|
@@ -66,6 +66,7 @@ declare function __VLS_template(): {
|
|
|
66
66
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
67
67
|
readonly animation?: string | undefined;
|
|
68
68
|
readonly children?: VueNode[] | undefined;
|
|
69
|
+
readonly placeholder?: any;
|
|
69
70
|
readonly prefixCls?: string | undefined;
|
|
70
71
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
71
72
|
readonly loading?: boolean | undefined;
|
|
@@ -76,7 +77,6 @@ declare function __VLS_template(): {
|
|
|
76
77
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
77
78
|
readonly virtual?: boolean | undefined;
|
|
78
79
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
79
|
-
readonly placeholder?: any;
|
|
80
80
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
81
81
|
readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
82
82
|
readonly prefix?: any;
|
|
@@ -715,6 +715,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
715
715
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
716
716
|
readonly animation?: string | undefined;
|
|
717
717
|
readonly children?: VueNode[] | undefined;
|
|
718
|
+
readonly placeholder?: any;
|
|
718
719
|
readonly prefixCls?: string | undefined;
|
|
719
720
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
720
721
|
readonly loading?: boolean | undefined;
|
|
@@ -725,7 +726,6 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
725
726
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
726
727
|
readonly virtual?: boolean | undefined;
|
|
727
728
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
728
|
-
readonly placeholder?: any;
|
|
729
729
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
730
730
|
readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
731
731
|
readonly prefix?: any;
|
|
@@ -46,6 +46,7 @@ declare function __VLS_template(): {
|
|
|
46
46
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
47
47
|
readonly value?: string | number | undefined;
|
|
48
48
|
readonly disabled?: boolean | undefined;
|
|
49
|
+
readonly placeholder?: string | number | undefined;
|
|
49
50
|
readonly prefixCls?: string | undefined;
|
|
50
51
|
readonly name?: string | undefined;
|
|
51
52
|
readonly loading?: boolean | undefined;
|
|
@@ -56,7 +57,6 @@ declare function __VLS_template(): {
|
|
|
56
57
|
readonly focused?: boolean | undefined;
|
|
57
58
|
readonly readonly?: boolean | undefined;
|
|
58
59
|
readonly autocomplete?: string | undefined;
|
|
59
|
-
readonly placeholder?: string | number | undefined;
|
|
60
60
|
readonly maxlength?: number | undefined;
|
|
61
61
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
62
62
|
readonly htmlSize?: number | undefined;
|
|
@@ -203,6 +203,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
203
203
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
204
204
|
readonly value?: string | number | undefined;
|
|
205
205
|
readonly disabled?: boolean | undefined;
|
|
206
|
+
readonly placeholder?: string | number | undefined;
|
|
206
207
|
readonly prefixCls?: string | undefined;
|
|
207
208
|
readonly name?: string | undefined;
|
|
208
209
|
readonly loading?: boolean | undefined;
|
|
@@ -213,7 +214,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
213
214
|
readonly focused?: boolean | undefined;
|
|
214
215
|
readonly readonly?: boolean | undefined;
|
|
215
216
|
readonly autocomplete?: string | undefined;
|
|
216
|
-
readonly placeholder?: string | number | undefined;
|
|
217
217
|
readonly maxlength?: number | undefined;
|
|
218
218
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
219
219
|
readonly htmlSize?: number | undefined;
|
|
@@ -47,6 +47,7 @@ declare function __VLS_template(): {
|
|
|
47
47
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
48
48
|
readonly value?: string | number | undefined;
|
|
49
49
|
readonly disabled?: boolean | undefined;
|
|
50
|
+
readonly placeholder?: string | number | undefined;
|
|
50
51
|
readonly prefixCls?: string | undefined;
|
|
51
52
|
readonly name?: string | undefined;
|
|
52
53
|
readonly loading?: boolean | undefined;
|
|
@@ -57,7 +58,6 @@ declare function __VLS_template(): {
|
|
|
57
58
|
readonly focused?: boolean | undefined;
|
|
58
59
|
readonly readonly?: boolean | undefined;
|
|
59
60
|
readonly autocomplete?: string | undefined;
|
|
60
|
-
readonly placeholder?: string | number | undefined;
|
|
61
61
|
readonly maxlength?: number | undefined;
|
|
62
62
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
63
63
|
readonly htmlSize?: number | undefined;
|
|
@@ -210,6 +210,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
210
210
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
211
211
|
readonly value?: string | number | undefined;
|
|
212
212
|
readonly disabled?: boolean | undefined;
|
|
213
|
+
readonly placeholder?: string | number | undefined;
|
|
213
214
|
readonly prefixCls?: string | undefined;
|
|
214
215
|
readonly name?: string | undefined;
|
|
215
216
|
readonly loading?: boolean | undefined;
|
|
@@ -220,7 +221,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
220
221
|
readonly focused?: boolean | undefined;
|
|
221
222
|
readonly readonly?: boolean | undefined;
|
|
222
223
|
readonly autocomplete?: string | undefined;
|
|
223
|
-
readonly placeholder?: string | number | undefined;
|
|
224
224
|
readonly maxlength?: number | undefined;
|
|
225
225
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
226
226
|
readonly htmlSize?: number | undefined;
|
|
@@ -70,6 +70,7 @@ declare function __VLS_template(): {
|
|
|
70
70
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
71
71
|
readonly animation?: string | undefined;
|
|
72
72
|
readonly children?: VueNode[] | undefined;
|
|
73
|
+
readonly placeholder?: any;
|
|
73
74
|
readonly prefixCls?: string | undefined;
|
|
74
75
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
75
76
|
readonly loading?: boolean | undefined;
|
|
@@ -81,7 +82,6 @@ declare function __VLS_template(): {
|
|
|
81
82
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
82
83
|
readonly virtual?: boolean | undefined;
|
|
83
84
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
84
|
-
readonly placeholder?: any;
|
|
85
85
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
86
86
|
readonly defaultValue?: unknown;
|
|
87
87
|
readonly prefix?: any;
|
|
@@ -861,6 +861,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
861
861
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
862
862
|
readonly animation?: string | undefined;
|
|
863
863
|
readonly children?: VueNode[] | undefined;
|
|
864
|
+
readonly placeholder?: any;
|
|
864
865
|
readonly prefixCls?: string | undefined;
|
|
865
866
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
866
867
|
readonly loading?: boolean | undefined;
|
|
@@ -872,7 +873,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
872
873
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
873
874
|
readonly virtual?: boolean | undefined;
|
|
874
875
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
875
|
-
readonly placeholder?: any;
|
|
876
876
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
877
877
|
readonly defaultValue?: unknown;
|
|
878
878
|
readonly prefix?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("lodash-unified"),c=require("../../utils/index.js"),g=20,m=50,C=e=>e.some(i=>!!i.html);function b(e,i){const t={...u.omit(e,["columns","request","searchForm","dataSource","rowKey","value","round"])};return t.rowConfig={isHover:!0,keyField:e.rowKey,isCurrent:!!e.rowHighlightable},t.columnConfig={},C(e.columns||[])&&(t.rowConfig.useKey=!0,t.columnConfig.useKey=!0),e.adaptive&&(t.autoResize=!0,t.height="100%"),e.columnResizable&&(t.columnConfig.resizable=!0),i&&(i.type==="radio"?t.radioConfig={highlight:!0,checkMethod({row:r}){return i.disabled?!i.disabled(r):!0},visibleMethod({row:r}){return i.shown?i.shown(r):!0},checkRowKey:i.defaultSelectedRowKeys?.[0],reserve:i.preserveSelectedRowKeys||u.isUndefined(e.dataSource)}:t.checkboxConfig={highlight:!0,checkMethod({row:r}){return i.disabled?!i.disabled(r):!0},visibleMethod({row:r}){return i.shown?i.shown(r):!0},reserve:i.preserveSelectedRowKeys||u.isUndefined(e.dataSource),range:i.range||!1}),t.border=e.bordered===!1?"inner":!0,e.expandable&&(t.expandConfig=u.omit(e.expandable,["renderContent","width","title"])),e.footer&&(t.showFooter=!0,u.isFunction(e.footer)?t.footerMethod=e.footer:t.footerData=e.footer),e.virtual===!1?(t.virtualXConfig={enabled:!1},t.virtualYConfig={enabled:!1}):(s(t,"X",e.virtual),s(t,"Y",e.virtual)),t.round=c.isDef(e.round)?e.round:!e.card,t.headerCellConfig={height:36,...t.headerCellConfig||{}},t.treeConfig&&(t.treeConfig={...t.treeConfig||{},transform:!0}),t.resizableConfig={minWidth({cell:r}){return R(r,e.size)}},t}function s(e,i,t){const n=i==="X",r=n?"x":"y",d=n?"virtualXConfig":"virtualYConfig",o=t?.[r],a=o!==!1,f=n?g:m,h=u.isNumber(o)&&o>=0?o:f;e[d]={enabled:a,gt:h,oSize:t?.oSize||0}}function y(e){return e===!0?"left":e}function v(e,i,t){const n=e===!0||!e.type?"checkbox":e.type,r=(t==="mini"?
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("lodash-unified"),c=require("../../utils/index.js"),g=20,m=50,C=e=>e.some(i=>!!i.html);function b(e,i){const t={...u.omit(e,["columns","request","searchForm","dataSource","rowKey","value","round"])};return t.rowConfig={isHover:!0,keyField:e.rowKey,isCurrent:!!e.rowHighlightable},t.columnConfig={},C(e.columns||[])&&(t.rowConfig.useKey=!0,t.columnConfig.useKey=!0),e.adaptive&&(t.autoResize=!0,t.height="100%"),e.columnResizable&&(t.columnConfig.resizable=!0),i&&(i.type==="radio"?t.radioConfig={highlight:!0,checkMethod({row:r}){return i.disabled?!i.disabled(r):!0},visibleMethod({row:r}){return i.shown?i.shown(r):!0},checkRowKey:i.defaultSelectedRowKeys?.[0],reserve:i.preserveSelectedRowKeys||u.isUndefined(e.dataSource)}:t.checkboxConfig={highlight:!0,checkMethod({row:r}){return i.disabled?!i.disabled(r):!0},visibleMethod({row:r}){return i.shown?i.shown(r):!0},reserve:i.preserveSelectedRowKeys||u.isUndefined(e.dataSource),range:i.range||!1}),t.border=e.bordered===!1?"inner":!0,e.expandable&&(t.expandConfig=u.omit(e.expandable,["renderContent","width","title"])),e.footer&&(t.showFooter=!0,u.isFunction(e.footer)?t.footerMethod=e.footer:t.footerData=e.footer),e.virtual===!1?(t.virtualXConfig={enabled:!1},t.virtualYConfig={enabled:!1}):(s(t,"X",e.virtual),s(t,"Y",e.virtual)),t.round=c.isDef(e.round)?e.round:!e.card,t.headerCellConfig={height:36,...t.headerCellConfig||{}},t.treeConfig&&(t.treeConfig={...t.treeConfig||{},transform:!0}),t.resizableConfig={minWidth({cell:r}){return R(r,e.size)}},t}function s(e,i,t){const n=i==="X",r=n?"x":"y",d=n?"virtualXConfig":"virtualYConfig",o=t?.[r],a=o!==!1,f=n?g:m,h=u.isNumber(o)&&o>=0?o:f;e[d]={enabled:a,gt:h,oSize:t?.oSize||0}}function y(e){return e===!0?"left":e}function v(e,i,t){const n=e===!0||!e.type?"checkbox":e.type,r=(t==="mini"?18:24)+16,d=e===!0?r:e.columnWidth||r;let o=e===!0?void 0:y(e.fixed);return o||(o===!1?o=void 0:o=i.some(a=>a.fixed==="left"||a.fixed===!0)?"left":void 0),{type:n,width:d,fixed:o}}function x(e){const i=e?.width||"auto";return{type:"expand",title:e?.title,width:i}}function l(e){if(!e)return 0;const i=getComputedStyle(e);return e.offsetWidth+(Number.parseFloat(i.marginLeft)||0)+Number.parseFloat(i.marginRight)||0}function R(e,i){if(!e)return"auto";const t=getComputedStyle(e);let n=i==="medium"?24:18;const r=(Number.parseFloat(t.fontSize)||14)*1.6;return n+=r,e.querySelector("span.anticon-question-circle")&&(n+=20),n+=l(e.querySelector(".vxe-cell--sort"))+l(e.querySelector(".vxe-cell--filter")),Math.ceil(n)}exports.getRowExpandProps=x;exports.getRowSelectionProps=v;exports.toVxeProps=b;
|
|
@@ -209,9 +209,9 @@ export declare const apTableFormItemMap: {
|
|
|
209
209
|
type: "up" | "down";
|
|
210
210
|
}) => void) | undefined;
|
|
211
211
|
readonly type?: string | undefined;
|
|
212
|
+
readonly placeholder?: string | undefined;
|
|
212
213
|
readonly name?: string | undefined;
|
|
213
214
|
readonly id?: string | undefined;
|
|
214
|
-
readonly placeholder?: string | undefined;
|
|
215
215
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
216
216
|
readonly addonBefore?: any;
|
|
217
217
|
readonly addonAfter?: any;
|
|
@@ -918,6 +918,7 @@ export declare const apTableFormItemMap: {
|
|
|
918
918
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
919
919
|
readonly animation?: string | undefined;
|
|
920
920
|
readonly children?: VueNode[] | undefined;
|
|
921
|
+
readonly placeholder?: any;
|
|
921
922
|
readonly prefixCls?: string | undefined;
|
|
922
923
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
923
924
|
readonly loading?: boolean | undefined;
|
|
@@ -928,7 +929,6 @@ export declare const apTableFormItemMap: {
|
|
|
928
929
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
929
930
|
readonly virtual?: boolean | undefined;
|
|
930
931
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
931
|
-
readonly placeholder?: any;
|
|
932
932
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
933
933
|
readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
934
934
|
readonly prefix?: any;
|
|
@@ -1679,6 +1679,7 @@ export declare const apTableFormItemMap: {
|
|
|
1679
1679
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
1680
1680
|
readonly value?: string | number | undefined;
|
|
1681
1681
|
readonly disabled?: boolean | undefined;
|
|
1682
|
+
readonly placeholder?: string | number | undefined;
|
|
1682
1683
|
readonly prefixCls?: string | undefined;
|
|
1683
1684
|
readonly name?: string | undefined;
|
|
1684
1685
|
readonly loading?: boolean | undefined;
|
|
@@ -1689,7 +1690,6 @@ export declare const apTableFormItemMap: {
|
|
|
1689
1690
|
readonly focused?: boolean | undefined;
|
|
1690
1691
|
readonly readonly?: boolean | undefined;
|
|
1691
1692
|
readonly autocomplete?: string | undefined;
|
|
1692
|
-
readonly placeholder?: string | number | undefined;
|
|
1693
1693
|
readonly maxlength?: number | undefined;
|
|
1694
1694
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
1695
1695
|
readonly htmlSize?: number | undefined;
|
|
@@ -2301,6 +2301,7 @@ export declare const apTableFormItemMap: {
|
|
|
2301
2301
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
2302
2302
|
readonly value?: string | number | undefined;
|
|
2303
2303
|
readonly disabled?: boolean | undefined;
|
|
2304
|
+
readonly placeholder?: string | number | undefined;
|
|
2304
2305
|
readonly prefixCls?: string | undefined;
|
|
2305
2306
|
readonly name?: string | undefined;
|
|
2306
2307
|
readonly loading?: boolean | undefined;
|
|
@@ -2311,7 +2312,6 @@ export declare const apTableFormItemMap: {
|
|
|
2311
2312
|
readonly focused?: boolean | undefined;
|
|
2312
2313
|
readonly readonly?: boolean | undefined;
|
|
2313
2314
|
readonly autocomplete?: string | undefined;
|
|
2314
|
-
readonly placeholder?: string | number | undefined;
|
|
2315
2315
|
readonly maxlength?: number | undefined;
|
|
2316
2316
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
2317
2317
|
readonly htmlSize?: number | undefined;
|
|
@@ -2515,6 +2515,7 @@ export declare const apTableFormItemMap: {
|
|
|
2515
2515
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
2516
2516
|
readonly animation?: string | undefined;
|
|
2517
2517
|
readonly children?: VueNode[] | undefined;
|
|
2518
|
+
readonly placeholder?: any;
|
|
2518
2519
|
readonly prefixCls?: string | undefined;
|
|
2519
2520
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
2520
2521
|
readonly loading?: boolean | undefined;
|
|
@@ -2526,7 +2527,6 @@ export declare const apTableFormItemMap: {
|
|
|
2526
2527
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
2527
2528
|
readonly virtual?: boolean | undefined;
|
|
2528
2529
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
2529
|
-
readonly placeholder?: any;
|
|
2530
2530
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
2531
2531
|
readonly defaultValue?: unknown;
|
|
2532
2532
|
readonly prefix?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("../../../utils/cssinjs/index.js"),i=
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("../../../utils/cssinjs/index.js"),i=e=>{const{componentCls:r}=e;return{[r]:{display:"grid",gridTemplateColumns:"repeat(24, 1fr)",width:"100%",boxSizing:"border-box","&-loading":{display:"flex",alignItems:"center",justifyContent:"center",minWidth:"200px",padding:"20px"},[`${r}__item`]:{background:"#fff",borderRadius:e.borderRadius,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.5s ease",overflow:"hidden",boxSizing:"border-box",border:"1px solid #fff"},[`${r}--canDrag`]:{cursor:"pointer","&:hover":{border:`1px solid ${e.colorPrimary}`}},[`${r}--dragging`]:{cursor:"move",zIndex:100,opacity:1},[`${r}__dragging`]:{opacity:0,zIndex:999},[`${r}__overlay`]:{border:`1px solid ${e.colorPrimary}`}}}},n=o.genComponentStyleHook("ApDraggableGrid",e=>[i(e)]);exports.default=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../ap-field/index.js");const N=require("@aplus-frontend/icon");require("../../config-provider/index.js");const C=require("@aplus-frontend/antdv"),T=require("./style/index.js"),q=require("../../config-provider/hooks/use-namespace.js"),w=require("../../ap-field/text/index.js"),b=["onClick"],g=e.defineComponent({__name:"select-layout",props:{title:{},request:{},onSearch:{},defaultFold:{type:Boolean,default:!1},defaultValue:{default:""}},emits:["onSelect","afterEnter","afterLeave"],setup(E,{emit:y}){const{b:u,be:d,bem:o}=q.useNamespace("ap-select-layout"),k=T.default("ap-select-layout"),a=E,i=y,c=e.ref(),s=e.ref(a.defaultFold),f=e.ref(!a.defaultFold),v=e.ref(),m=e.ref(),p=e.ref(),r=e.ref(a.defaultValue),V=()=>{s.value=!s.value,v.value=!1,m.value=!1},h=t=>{p.value=t,i("onSelect",t)},S=e.computed(()=>c.value?.filter(t=>a?.onSearch?a.onSearch?.(t,r.value):t?.name?.includes(r.value))),z=t=>{f.value=!0,i("afterEnter",t)},x=t=>{f.value=!1,i("afterLeave",t)};return e.onMounted(()=>{a.request().then(t=>{c.value=t;let n=c.value?.filter(l=>l.name.includes(r.value));h(n?.[0])})}),(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(u)(),e.unref(k)])},[e.createVNode(e.Transition,{mode:"out-in",onAfterEnter:z,onAfterLeave:x},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)("side"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d)("side","header"))},[e.createElementVNode("h3",null,e.toDisplayString(a.title),1),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("side","header","imgWrap"))},[e.createVNode(e.unref(C.Tooltip),{open:v.value,"onUpdate:open":n[0]||(n[0]=l=>v.value=l)},{title:e.withCtx(()=>n[3]||(n[3]=[e.createTextVNode("收起")])),default:e.withCtx(()=>[e.createVNode(e.unref(N.IconApLeftarrow),{onClick:V})]),_:1},8,["open"])],2)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(d)("side","body"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("side","body","search"))},[e.createVNode(e.unref(w.ApFieldText),{value:r.value,"onUpdate:value":n[1]||(n[1]=l=>r.value=l),placeholder:"请输入"},null,8,["value"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("side","body","scroll"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,l=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:l.value,class:e.normalizeClass(`${e.unref(o)("side","body","scroll-item")} ${p.value===l?"active":""}`),onClick:B=>h(l)},[e.renderSlot(t.$slots,"itemRender",{item:l},()=>[e.createVNode(e.unref(C.TypographyText),{ellipsis:{tooltip:l.name},content:`${l.name}`},null,8,["ellipsis","content"])])],10,b)),[[e.vShow,f.value]])),128))],2)],2)],2),[[e.vShow,!s.value]])]),_:3}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)("content"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d)("content","header"))},[s.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(o)("content","header","imgWrap"))},[e.createVNode(e.unref(C.Tooltip),{open:m.value,"onUpdate:open":n[2]||(n[2]=l=>m.value=l)},{title:e.withCtx(()=>n[4]||(n[4]=[e.createTextVNode("展开")])),default:e.withCtx(()=>[e.createVNode(e.unref(N.IconApMenu),{onClick:V})]),_:1},8,["open"])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("content","header","title"))},e.toDisplayString(p.value?.name),3)],2),e.renderSlot(t.$slots,"default")],2)],2))}});exports.default=g;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../ap-field/index.js");const N=require("@aplus-frontend/icon");require("../../config-provider/index.js");const C=require("@aplus-frontend/antdv"),T=require("./style/index.js"),q=require("../../config-provider/hooks/use-namespace.js"),w=require("../../ap-field/text/index.js"),b=["onClick"],g=e.defineComponent({__name:"select-layout",props:{title:{},request:{},onSearch:{},defaultFold:{type:Boolean,default:!1},defaultValue:{default:""}},emits:["onSelect","afterEnter","afterLeave"],setup(E,{emit:y}){const{b:u,be:d,bem:o}=q.useNamespace("ap-select-layout"),k=T.default("ap-select-layout"),a=E,i=y,c=e.ref(),s=e.ref(a.defaultFold),f=e.ref(!a.defaultFold),v=e.ref(),m=e.ref(),p=e.ref(),r=e.ref(a.defaultValue),V=()=>{s.value=!s.value,v.value=!1,m.value=!1},h=t=>{p.value=t,i("onSelect",t)},S=e.computed(()=>c.value?.filter(t=>a?.onSearch?a.onSearch?.(t,r.value):t?.name?.includes(r.value))),z=t=>{f.value=!0,i("afterEnter",t)},x=t=>{f.value=!1,i("afterLeave",t)};return e.onMounted(()=>{a.request().then(t=>{c.value=t;let n=c.value?.filter(l=>l.name.includes(r.value));h(n?.[0])})}),(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(u)(),e.unref(k)])},[e.createVNode(e.Transition,{mode:"out-in",onAfterEnter:z,onAfterLeave:x},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)("side"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d)("side","header"))},[e.createElementVNode("h3",null,e.toDisplayString(a.title),1),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("side","header","imgWrap"))},[e.createVNode(e.unref(C.Tooltip),{open:v.value,"onUpdate:open":n[0]||(n[0]=l=>v.value=l)},{title:e.withCtx(()=>n[3]||(n[3]=[e.createTextVNode("收起",-1)])),default:e.withCtx(()=>[e.createVNode(e.unref(N.IconApLeftarrow),{onClick:V})]),_:1},8,["open"])],2)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(d)("side","body"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("side","body","search"))},[e.createVNode(e.unref(w.ApFieldText),{value:r.value,"onUpdate:value":n[1]||(n[1]=l=>r.value=l),placeholder:"请输入"},null,8,["value"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("side","body","scroll"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,l=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:l.value,class:e.normalizeClass(`${e.unref(o)("side","body","scroll-item")} ${p.value===l?"active":""}`),onClick:B=>h(l)},[e.renderSlot(t.$slots,"itemRender",{item:l},()=>[e.createVNode(e.unref(C.TypographyText),{ellipsis:{tooltip:l.name},content:`${l.name}`},null,8,["ellipsis","content"])])],10,b)),[[e.vShow,f.value]])),128))],2)],2)],2),[[e.vShow,!s.value]])]),_:3}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)("content"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d)("content","header"))},[s.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(o)("content","header","imgWrap"))},[e.createVNode(e.unref(C.Tooltip),{open:m.value,"onUpdate:open":n[2]||(n[2]=l=>m.value=l)},{title:e.withCtx(()=>n[4]||(n[4]=[e.createTextVNode("展开",-1)])),default:e.withCtx(()=>[e.createVNode(e.unref(N.IconApMenu),{onClick:V})]),_:1},8,["open"])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("content","header","title"))},e.toDisplayString(p.value?.name),3)],2),e.renderSlot(t.$slots,"default")],2)],2))}});exports.default=g;
|
|
@@ -45,6 +45,7 @@ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, Co
|
|
|
45
45
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
46
46
|
readonly value?: string | number | undefined;
|
|
47
47
|
readonly disabled?: boolean | undefined;
|
|
48
|
+
readonly placeholder?: string | number | undefined;
|
|
48
49
|
readonly prefixCls?: string | undefined;
|
|
49
50
|
readonly name?: string | undefined;
|
|
50
51
|
readonly loading?: boolean | undefined;
|
|
@@ -55,7 +56,6 @@ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, Co
|
|
|
55
56
|
readonly focused?: boolean | undefined;
|
|
56
57
|
readonly readonly?: boolean | undefined;
|
|
57
58
|
readonly autocomplete?: string | undefined;
|
|
58
|
-
readonly placeholder?: string | number | undefined;
|
|
59
59
|
readonly maxlength?: number | undefined;
|
|
60
60
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
61
61
|
readonly htmlSize?: number | undefined;
|
package/lib/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "7.3.
|
|
1
|
+
declare const _default: "7.3.3";
|
|
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.3.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.3.3";exports.default=e;
|