@aplus-frontend/ui 0.2.18 → 0.2.19
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/number/index.vue.d.ts +4 -0
- package/es/src/ap-field/number/index.vue.mjs +5 -4
- package/es/src/ap-form/items/number/index.vue.d.ts +10 -0
- package/es/src/ap-form/items/select/index.vue.d.ts +1 -0
- package/es/src/ap-form/items/select/index.vue.mjs +26 -22
- package/es/src/ap-table/constants.d.ts +15 -0
- package/es/src/ap-table/utils.d.ts +3 -0
- package/es/src/business/batch-input-group/index.vue.mjs +45 -41
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +15 -15
- package/es/src/locale/lang/en.mjs +3 -0
- package/es/src/locale/lang/zh-cn.mjs +3 -0
- package/lib/src/ap-field/number/index.vue.d.ts +4 -0
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +10 -0
- package/lib/src/ap-form/items/select/index.vue.d.ts +1 -0
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-table/constants.d.ts +15 -0
- package/lib/src/ap-table/utils.d.ts +3 -0
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/package.json +4 -4
|
@@ -34,6 +34,7 @@ declare function __VLS_template(): {
|
|
|
34
34
|
addonBefore: VueTypeValidableDef<any>;
|
|
35
35
|
addonAfter: VueTypeValidableDef<any>;
|
|
36
36
|
prefix: VueTypeValidableDef<any>;
|
|
37
|
+
suffix: VueTypeValidableDef<any>;
|
|
37
38
|
'onUpdate:value': {
|
|
38
39
|
type: PropType<(value: ValueType) => void>;
|
|
39
40
|
default: (value: ValueType) => void;
|
|
@@ -154,6 +155,7 @@ declare function __VLS_template(): {
|
|
|
154
155
|
addonBefore: VueTypeValidableDef<any>;
|
|
155
156
|
addonAfter: VueTypeValidableDef<any>;
|
|
156
157
|
prefix: VueTypeValidableDef<any>;
|
|
158
|
+
suffix: VueTypeValidableDef<any>;
|
|
157
159
|
'onUpdate:value': {
|
|
158
160
|
type: PropType<(value: ValueType) => void>;
|
|
159
161
|
default: (value: ValueType) => void;
|
|
@@ -293,6 +295,7 @@ declare function __VLS_template(): {
|
|
|
293
295
|
addonBefore?: any;
|
|
294
296
|
addonAfter?: any;
|
|
295
297
|
prefix?: any;
|
|
298
|
+
suffix?: any;
|
|
296
299
|
default?: any;
|
|
297
300
|
upIcon?: any;
|
|
298
301
|
downIcon?: any;
|
|
@@ -319,6 +322,7 @@ declare function __VLS_template(): {
|
|
|
319
322
|
addonBefore: VueTypeValidableDef<any>;
|
|
320
323
|
addonAfter: VueTypeValidableDef<any>;
|
|
321
324
|
prefix: VueTypeValidableDef<any>;
|
|
325
|
+
suffix: VueTypeValidableDef<any>;
|
|
322
326
|
'onUpdate:value': {
|
|
323
327
|
type: PropType<(value: ValueType) => void>;
|
|
324
328
|
default: (value: ValueType) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as x, ref as C, computed as N, unref as t, openBlock as r, createElementBlock as n, Fragment as D, normalizeClass as d, renderSlot as s, createCommentVNode as m, createElementVNode as P, toDisplayString as V, createBlock as $, mergeProps as R, createSlots as A, renderList as I, withCtx as U, normalizeProps as z, guardReactiveProps as E } from "vue";
|
|
2
2
|
import { InputNumber as F } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as M, omit as T } from "lodash-unified";
|
|
@@ -8,7 +8,7 @@ import "../../config-provider/index.mjs";
|
|
|
8
8
|
import { useDefaultPlaceholder as W } from "../hooks/use-default-placeholder.mjs";
|
|
9
9
|
import { useNamespace as Z } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
import { useControllableValue as j } from "../../hooks/useControllableValue.mjs";
|
|
11
|
-
const te = /* @__PURE__ */
|
|
11
|
+
const te = /* @__PURE__ */ x({
|
|
12
12
|
name: "ApFieldNumber",
|
|
13
13
|
__name: "index",
|
|
14
14
|
props: {
|
|
@@ -24,6 +24,7 @@ const te = /* @__PURE__ */ C({
|
|
|
24
24
|
addonBefore: {},
|
|
25
25
|
addonAfter: {},
|
|
26
26
|
prefix: {},
|
|
27
|
+
suffix: {},
|
|
27
28
|
"onUpdate:value": {},
|
|
28
29
|
valueModifiers: {},
|
|
29
30
|
status: {},
|
|
@@ -56,10 +57,10 @@ const te = /* @__PURE__ */ C({
|
|
|
56
57
|
},
|
|
57
58
|
emits: ["update:value"],
|
|
58
59
|
setup(f, { expose: c, emit: y }) {
|
|
59
|
-
const v = y, { b: i } = Z("field-number"), o = f, l =
|
|
60
|
+
const v = y, { b: i } = Z("field-number"), o = f, l = C(), { value: u, updateValue: b } = j(
|
|
60
61
|
o,
|
|
61
62
|
v
|
|
62
|
-
), B = W("Number", o), h =
|
|
63
|
+
), B = W("Number", o), h = N(() => {
|
|
63
64
|
let e = t(u);
|
|
64
65
|
if (M(e))
|
|
65
66
|
return o.emptyText;
|
|
@@ -68,6 +68,7 @@ declare function __VLS_template(): {
|
|
|
68
68
|
readonly readonly?: boolean | undefined;
|
|
69
69
|
readonly addonBefore?: any;
|
|
70
70
|
readonly addonAfter?: any;
|
|
71
|
+
readonly suffix?: any;
|
|
71
72
|
readonly stringMode?: boolean | undefined;
|
|
72
73
|
readonly parser?: ((displayValue: string) => ValueType) | undefined;
|
|
73
74
|
readonly formatter?: ((value: ValueType, info: {
|
|
@@ -176,6 +177,9 @@ declare function __VLS_template(): {
|
|
|
176
177
|
addonAfter: {
|
|
177
178
|
type: PropType<any>;
|
|
178
179
|
};
|
|
180
|
+
suffix: {
|
|
181
|
+
type: PropType<any>;
|
|
182
|
+
};
|
|
179
183
|
stringMode: {
|
|
180
184
|
type: PropType<boolean>;
|
|
181
185
|
};
|
|
@@ -330,6 +334,9 @@ declare function __VLS_template(): {
|
|
|
330
334
|
addonAfter: {
|
|
331
335
|
type: PropType<any>;
|
|
332
336
|
};
|
|
337
|
+
suffix: {
|
|
338
|
+
type: PropType<any>;
|
|
339
|
+
};
|
|
333
340
|
stringMode: {
|
|
334
341
|
type: PropType<boolean>;
|
|
335
342
|
};
|
|
@@ -504,6 +511,9 @@ declare function __VLS_template(): {
|
|
|
504
511
|
addonAfter: {
|
|
505
512
|
type: PropType<any>;
|
|
506
513
|
};
|
|
514
|
+
suffix: {
|
|
515
|
+
type: PropType<any>;
|
|
516
|
+
};
|
|
507
517
|
stringMode: {
|
|
508
518
|
type: PropType<boolean>;
|
|
509
519
|
};
|
|
@@ -45,6 +45,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
45
45
|
}>, {
|
|
46
46
|
focus: () => void;
|
|
47
47
|
blur: () => void;
|
|
48
|
+
request: () => void;
|
|
48
49
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemSelectProps>, {
|
|
49
50
|
hasFeedback: boolean;
|
|
50
51
|
colon: undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as x, ref as y, useSlots as g, computed as S, openBlock as F, createBlock as k, normalizeProps as t, guardReactiveProps as a, unref as l, createSlots as
|
|
1
|
+
import { defineComponent as x, ref as y, useSlots as g, computed as S, openBlock as F, createBlock as k, normalizeProps as t, guardReactiveProps as a, unref as l, createSlots as u, withCtx as i, createVNode as C, renderList as f, renderSlot as m } from "vue";
|
|
2
2
|
import "../../item/index.vue2.mjs";
|
|
3
3
|
import "../../../ap-field/index.mjs";
|
|
4
|
-
import { isUndefined as
|
|
4
|
+
import { isUndefined as q, omit as c, pick as P } from "lodash-unified";
|
|
5
5
|
import { apFormItemSlotNames as b } from "../../constant.mjs";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
const
|
|
6
|
+
import $ from "../../item/index.vue.mjs";
|
|
7
|
+
import N from "../../../ap-field/select/index.vue.mjs";
|
|
8
|
+
const D = /* @__PURE__ */ x({
|
|
9
9
|
name: "ApFormItemSelect",
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: {
|
|
@@ -52,49 +52,53 @@ const j = /* @__PURE__ */ x({
|
|
|
52
52
|
placeholder: {},
|
|
53
53
|
disabled: { type: Boolean, default: !1 }
|
|
54
54
|
},
|
|
55
|
-
setup(_, { expose:
|
|
56
|
-
const o = _,
|
|
57
|
-
|
|
55
|
+
setup(_, { expose: v }) {
|
|
56
|
+
const o = _, s = y();
|
|
57
|
+
v({
|
|
58
58
|
focus: () => {
|
|
59
59
|
var e;
|
|
60
|
-
(e =
|
|
60
|
+
(e = s.value) == null || e.focus();
|
|
61
61
|
},
|
|
62
62
|
blur: () => {
|
|
63
63
|
var e;
|
|
64
|
-
(e =
|
|
64
|
+
(e = s.value) == null || e.blur();
|
|
65
|
+
},
|
|
66
|
+
request: () => {
|
|
67
|
+
var e;
|
|
68
|
+
(e = s.value) == null || e.request();
|
|
65
69
|
}
|
|
66
70
|
});
|
|
67
|
-
const p = g(),
|
|
71
|
+
const p = g(), h = S(() => {
|
|
68
72
|
var e, d;
|
|
69
73
|
return {
|
|
70
74
|
placeholder: o.placeholder,
|
|
71
75
|
disabled: o.disabled,
|
|
72
76
|
...o.field || {},
|
|
73
|
-
bordered: o.bordered ? !1 :
|
|
77
|
+
bordered: o.bordered ? !1 : q((e = o.field) == null ? void 0 : e.bordered) ? !0 : (d = o.field) == null ? void 0 : d.bordered
|
|
74
78
|
};
|
|
75
79
|
});
|
|
76
|
-
return (e, d) => (F(), k(
|
|
77
|
-
default:
|
|
78
|
-
C(l(
|
|
79
|
-
|
|
80
|
+
return (e, d) => (F(), k($, t(a(l(c)(o, ["field", "placeholder", "disabled"]))), u({
|
|
81
|
+
default: i(() => [
|
|
82
|
+
C(l(N), t(a(h.value)), u({ _: 2 }, [
|
|
83
|
+
f(l(c)(p, l(b)), (B, r) => ({
|
|
80
84
|
name: r,
|
|
81
|
-
fn:
|
|
82
|
-
m(e.$slots, r, t(a(
|
|
85
|
+
fn: i((n) => [
|
|
86
|
+
m(e.$slots, r, t(a(n || {})))
|
|
83
87
|
])
|
|
84
88
|
}))
|
|
85
89
|
]), 1040)
|
|
86
90
|
]),
|
|
87
91
|
_: 2
|
|
88
92
|
}, [
|
|
89
|
-
|
|
93
|
+
f(l(P)(p, l(b)), (B, r) => ({
|
|
90
94
|
name: r,
|
|
91
|
-
fn:
|
|
92
|
-
m(e.$slots, r, t(a(
|
|
95
|
+
fn: i((n) => [
|
|
96
|
+
m(e.$slots, r, t(a(n || {})))
|
|
93
97
|
])
|
|
94
98
|
}))
|
|
95
99
|
]), 1040));
|
|
96
100
|
}
|
|
97
101
|
});
|
|
98
102
|
export {
|
|
99
|
-
|
|
103
|
+
D as default
|
|
100
104
|
};
|
|
@@ -3623,6 +3623,7 @@ export declare const apTableFormItemMap: {
|
|
|
3623
3623
|
}>>, {
|
|
3624
3624
|
focus: () => void;
|
|
3625
3625
|
blur: () => void;
|
|
3626
|
+
request: () => void;
|
|
3626
3627
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3627
3628
|
label: {
|
|
3628
3629
|
type: PropType<any>;
|
|
@@ -4037,6 +4038,7 @@ export declare const apTableFormItemMap: {
|
|
|
4037
4038
|
}>>, {
|
|
4038
4039
|
focus: () => void;
|
|
4039
4040
|
blur: () => void;
|
|
4041
|
+
request: () => void;
|
|
4040
4042
|
}, {}, {}, {}, {
|
|
4041
4043
|
disabled: boolean;
|
|
4042
4044
|
field: Omit< ApFieldSelectProps, "value" | "onUpdate:value">;
|
|
@@ -4250,6 +4252,7 @@ export declare const apTableFormItemMap: {
|
|
|
4250
4252
|
}>>, {
|
|
4251
4253
|
focus: () => void;
|
|
4252
4254
|
blur: () => void;
|
|
4255
|
+
request: () => void;
|
|
4253
4256
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
4254
4257
|
disabled: boolean;
|
|
4255
4258
|
field: Omit< ApFieldSelectProps, "value" | "onUpdate:value">;
|
|
@@ -10513,6 +10516,9 @@ export declare const apTableRenderItemMap: {
|
|
|
10513
10516
|
addonAfter: {
|
|
10514
10517
|
type: PropType<any>;
|
|
10515
10518
|
};
|
|
10519
|
+
suffix: {
|
|
10520
|
+
type: PropType<any>;
|
|
10521
|
+
};
|
|
10516
10522
|
stringMode: {
|
|
10517
10523
|
type: PropType<boolean>;
|
|
10518
10524
|
};
|
|
@@ -10658,6 +10664,9 @@ export declare const apTableRenderItemMap: {
|
|
|
10658
10664
|
addonAfter: {
|
|
10659
10665
|
type: PropType<any>;
|
|
10660
10666
|
};
|
|
10667
|
+
suffix: {
|
|
10668
|
+
type: PropType<any>;
|
|
10669
|
+
};
|
|
10661
10670
|
stringMode: {
|
|
10662
10671
|
type: PropType<boolean>;
|
|
10663
10672
|
};
|
|
@@ -10814,6 +10823,9 @@ export declare const apTableRenderItemMap: {
|
|
|
10814
10823
|
addonAfter: {
|
|
10815
10824
|
type: PropType<any>;
|
|
10816
10825
|
};
|
|
10826
|
+
suffix: {
|
|
10827
|
+
type: PropType<any>;
|
|
10828
|
+
};
|
|
10817
10829
|
stringMode: {
|
|
10818
10830
|
type: PropType<boolean>;
|
|
10819
10831
|
};
|
|
@@ -10970,6 +10982,9 @@ export declare const apTableRenderItemMap: {
|
|
|
10970
10982
|
addonAfter: {
|
|
10971
10983
|
type: PropType<any>;
|
|
10972
10984
|
};
|
|
10985
|
+
suffix: {
|
|
10986
|
+
type: PropType<any>;
|
|
10987
|
+
};
|
|
10973
10988
|
stringMode: {
|
|
10974
10989
|
type: PropType<boolean>;
|
|
10975
10990
|
};
|
|
@@ -6212,6 +6212,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
6212
6212
|
}>>, {
|
|
6213
6213
|
focus: () => void;
|
|
6214
6214
|
blur: () => void;
|
|
6215
|
+
request: () => void;
|
|
6215
6216
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
6216
6217
|
label: {
|
|
6217
6218
|
type: PropType<any>;
|
|
@@ -6626,6 +6627,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
6626
6627
|
}>>, {
|
|
6627
6628
|
focus: () => void;
|
|
6628
6629
|
blur: () => void;
|
|
6630
|
+
request: () => void;
|
|
6629
6631
|
}, {}, {}, {}, {
|
|
6630
6632
|
disabled: boolean;
|
|
6631
6633
|
field: Omit< ApFieldSelectProps, "value" | "onUpdate:value">;
|
|
@@ -6839,6 +6841,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
6839
6841
|
}>>, {
|
|
6840
6842
|
focus: () => void;
|
|
6841
6843
|
blur: () => void;
|
|
6844
|
+
request: () => void;
|
|
6842
6845
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
6843
6846
|
disabled: boolean;
|
|
6844
6847
|
field: Omit< ApFieldSelectProps, "value" | "onUpdate:value">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as O, ref as B, computed as u, unref as n, openBlock as g, createElementBlock as P, createVNode as s, withCtx as A, createBlock as T, normalizeStyle as z, createCommentVNode as K, mergeProps as $ } from "vue";
|
|
2
2
|
import "../../ap-field/index.mjs";
|
|
3
3
|
import { Space as D } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -12,7 +12,7 @@ import { useLocale as M } from "../../config-provider/hooks/use-locale.mjs";
|
|
|
12
12
|
import Y from "../../ap-field/select/index.vue.mjs";
|
|
13
13
|
import { ApFieldText as J } from "../../ap-field/text/index.mjs";
|
|
14
14
|
import Q from "./popover-input/index.vue2.mjs";
|
|
15
|
-
const c = "GROUP_SEARCH_ALL", ce = /* @__PURE__ */
|
|
15
|
+
const c = "GROUP_SEARCH_ALL", ce = /* @__PURE__ */ O({
|
|
16
16
|
__name: "index",
|
|
17
17
|
props: {
|
|
18
18
|
style: { type: [Boolean, null, String, Object, Array] },
|
|
@@ -65,41 +65,41 @@ const c = "GROUP_SEARCH_ALL", ce = /* @__PURE__ */ P({
|
|
|
65
65
|
emptyText: { default: "--" }
|
|
66
66
|
},
|
|
67
67
|
emits: ["update:value"],
|
|
68
|
-
setup(
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
), f =
|
|
73
|
-
{ value: c, label:
|
|
74
|
-
...
|
|
75
|
-
] :
|
|
68
|
+
setup(V, { emit: C }) {
|
|
69
|
+
const l = V, S = q("Text", l), x = C, { value: a, updateValue: i } = H(
|
|
70
|
+
l,
|
|
71
|
+
x
|
|
72
|
+
), f = B(), d = B(), { t: b } = M(), I = u(() => l.options ? l.options.length > 1 && l.hasAll ? [
|
|
73
|
+
{ value: c, label: b("ap.apGroupSearch.all") },
|
|
74
|
+
...l.options
|
|
75
|
+
] : l.options : []), U = u(() => l.options ? l.options.map((e) => e.value) : []), _ = u(() => {
|
|
76
76
|
var e, t;
|
|
77
|
-
return (t = (e =
|
|
77
|
+
return (t = (e = n(a)) == null ? void 0 : e.value) != null && t.length ? n(a).value.join(",") : "";
|
|
78
78
|
}), k = u(() => {
|
|
79
79
|
var e, t;
|
|
80
|
-
return (t = (e =
|
|
80
|
+
return (t = (e = n(a)) == null ? void 0 : e.value) != null && t.length ? n(a).value.join(`
|
|
81
81
|
`) : "";
|
|
82
82
|
}), w = u(() => {
|
|
83
83
|
var t;
|
|
84
|
-
const e = (t =
|
|
84
|
+
const e = (t = n(a)) == null ? void 0 : t.key;
|
|
85
85
|
if (e != null && e.length)
|
|
86
86
|
return e.length === 1 ? e[0] : c;
|
|
87
87
|
}), R = u(() => {
|
|
88
|
-
var
|
|
89
|
-
const e = (
|
|
90
|
-
return !e || (e == null ? void 0 : e.length) <= 1 ?
|
|
88
|
+
var o;
|
|
89
|
+
const e = (o = n(a)) == null ? void 0 : o.key;
|
|
90
|
+
return !e || (e == null ? void 0 : e.length) <= 1 ? n(S) : (l.options || []).filter((r) => e.includes(r.value)).map((r) => r.label).join("/");
|
|
91
91
|
});
|
|
92
92
|
function j(e) {
|
|
93
|
-
const t =
|
|
93
|
+
const t = n(a) || {}, o = e === c ? n(U) : N(e) ? [e] : [];
|
|
94
94
|
i({
|
|
95
95
|
...t,
|
|
96
|
-
key:
|
|
96
|
+
key: o
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
function E(e) {
|
|
100
100
|
var v, y;
|
|
101
|
-
const t =
|
|
102
|
-
if (
|
|
101
|
+
const t = n(a) || {}, o = e.target.value || "", r = o.replace(/[,]+/g, ",");
|
|
102
|
+
if (o !== r) {
|
|
103
103
|
const h = (y = (v = d.value) == null ? void 0 : v.$el) == null ? void 0 : y.querySelector("input");
|
|
104
104
|
h && (h.value = r);
|
|
105
105
|
}
|
|
@@ -109,47 +109,51 @@ const c = "GROUP_SEARCH_ALL", ce = /* @__PURE__ */ P({
|
|
|
109
109
|
value: p
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
const t =
|
|
114
|
-
let
|
|
112
|
+
function F(e) {
|
|
113
|
+
const t = n(a) || {};
|
|
114
|
+
let o = e.split(/,|\n/);
|
|
115
115
|
i({
|
|
116
116
|
...t,
|
|
117
|
-
value:
|
|
117
|
+
value: o
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
function m() {
|
|
121
|
-
var
|
|
122
|
-
const e =
|
|
121
|
+
var o;
|
|
122
|
+
const e = n(a) || {}, t = (o = e.value) == null ? void 0 : o.filter(Boolean);
|
|
123
123
|
i({
|
|
124
124
|
...e,
|
|
125
125
|
value: t
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function L(e) {
|
|
129
129
|
var t;
|
|
130
|
-
m(), (t =
|
|
130
|
+
m(), (t = l.onBlur) == null || t.call(l, e);
|
|
131
131
|
}
|
|
132
|
-
return (e, t) => (
|
|
132
|
+
return (e, t) => (g(), P("div", {
|
|
133
133
|
ref_key: "containerRef",
|
|
134
134
|
ref: f,
|
|
135
|
-
style: { position: "relative" }
|
|
135
|
+
style: { position: "relative" },
|
|
136
|
+
onFocus: t[0] || (t[0] = //@ts-ignore
|
|
137
|
+
(...o) => e.onFocus && e.onFocus(...o)),
|
|
138
|
+
onBlur: t[1] || (t[1] = //@ts-ignore
|
|
139
|
+
(...o) => e.onBlur && e.onBlur(...o))
|
|
136
140
|
}, [
|
|
137
|
-
s(
|
|
141
|
+
s(n(D).Compact, { block: "" }, {
|
|
138
142
|
default: A(() => {
|
|
139
|
-
var
|
|
143
|
+
var o;
|
|
140
144
|
return [
|
|
141
|
-
(
|
|
145
|
+
(o = e.options) != null && o.length ? (g(), T(n(Y), {
|
|
142
146
|
key: 0,
|
|
143
|
-
style:
|
|
144
|
-
options:
|
|
147
|
+
style: z(e.style),
|
|
148
|
+
options: I.value,
|
|
145
149
|
value: w.value,
|
|
146
150
|
"onUpdate:value": j,
|
|
147
151
|
"allow-clear": !1,
|
|
148
152
|
"dropdown-match-select-width": !1
|
|
149
153
|
}, null, 8, ["style", "options", "value"])) : K("", !0),
|
|
150
|
-
s(
|
|
154
|
+
s(n(J), $(
|
|
151
155
|
{ style: e.inputStyle },
|
|
152
|
-
|
|
156
|
+
n(G)(l, [
|
|
153
157
|
"style",
|
|
154
158
|
"value",
|
|
155
159
|
"onUpdate:value",
|
|
@@ -160,9 +164,9 @@ const c = "GROUP_SEARCH_ALL", ce = /* @__PURE__ */ P({
|
|
|
160
164
|
{
|
|
161
165
|
ref_key: "inputRef",
|
|
162
166
|
ref: d,
|
|
163
|
-
value:
|
|
167
|
+
value: _.value,
|
|
164
168
|
onInput: E,
|
|
165
|
-
onBlur:
|
|
169
|
+
onBlur: L,
|
|
166
170
|
placeholder: R.value
|
|
167
171
|
}
|
|
168
172
|
), {
|
|
@@ -170,7 +174,7 @@ const c = "GROUP_SEARCH_ALL", ce = /* @__PURE__ */ P({
|
|
|
170
174
|
s(Q, {
|
|
171
175
|
_parent: f.value,
|
|
172
176
|
value: k.value,
|
|
173
|
-
"onUpdate:value":
|
|
177
|
+
"onUpdate:value": F,
|
|
174
178
|
onClose: m
|
|
175
179
|
}, null, 8, ["_parent", "value"])
|
|
176
180
|
]),
|
|
@@ -180,7 +184,7 @@ const c = "GROUP_SEARCH_ALL", ce = /* @__PURE__ */ P({
|
|
|
180
184
|
}),
|
|
181
185
|
_: 1
|
|
182
186
|
})
|
|
183
|
-
],
|
|
187
|
+
], 544));
|
|
184
188
|
}
|
|
185
189
|
});
|
|
186
190
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as V, ref as y, openBlock as N, createElementBlock as k, normalizeClass as l, unref as e, createVNode as p, withCtx as i, createElementVNode as A } from "vue";
|
|
2
2
|
import { Popover as w, Textarea as L } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
4
|
import { IconApAdLineScreen as P } from "@aplus-frontend/icon";
|
|
5
5
|
import "../../../hooks/index.mjs";
|
|
6
|
-
import { useControllableValue as
|
|
7
|
-
import { useLocale as
|
|
8
|
-
import { useNamespace as
|
|
9
|
-
const j = /* @__PURE__ */
|
|
6
|
+
import { useControllableValue as z } from "../../../hooks/useControllableValue.mjs";
|
|
7
|
+
import { useLocale as B } from "../../../config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import { useNamespace as E } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
const j = /* @__PURE__ */ V({
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: {
|
|
12
12
|
_parent: {},
|
|
@@ -16,44 +16,44 @@ const j = /* @__PURE__ */ k({
|
|
|
16
16
|
},
|
|
17
17
|
emits: ["update:value"],
|
|
18
18
|
setup(m, { emit: f }) {
|
|
19
|
-
const
|
|
19
|
+
const n = m, d = f, { value: v, updateValue: g } = z(n, d), a = y(), h = (t) => n._parent || t, { t: C } = B();
|
|
20
20
|
function _(t) {
|
|
21
21
|
var u;
|
|
22
22
|
const o = t.target.value || "", r = o.replace(/[\n,]+/g, `
|
|
23
23
|
`);
|
|
24
24
|
if (r !== o) {
|
|
25
|
-
const s = ((u =
|
|
25
|
+
const s = ((u = a.value) == null ? void 0 : u.$el) || a.value;
|
|
26
26
|
s && (s.value = r);
|
|
27
27
|
}
|
|
28
28
|
g(r);
|
|
29
29
|
}
|
|
30
30
|
function x(t) {
|
|
31
31
|
var o;
|
|
32
|
-
t || (o =
|
|
32
|
+
t || (o = n.onClose) == null || o.call(n);
|
|
33
33
|
}
|
|
34
|
-
const { b: c, e:
|
|
35
|
-
return (t, o) => (N(),
|
|
34
|
+
const { b: c, e: b, em: I } = E("batch-input-group-popover-input");
|
|
35
|
+
return (t, o) => (N(), k("div", {
|
|
36
36
|
class: l(e(c)())
|
|
37
37
|
}, [
|
|
38
38
|
p(e(w), {
|
|
39
|
-
overlayClassName: e(
|
|
39
|
+
overlayClassName: e(b)("popover"),
|
|
40
40
|
"get-popup-container": h,
|
|
41
41
|
trigger: "click",
|
|
42
42
|
placement: "bottomLeft",
|
|
43
43
|
onOpenChange: x
|
|
44
44
|
}, {
|
|
45
45
|
content: i(() => [
|
|
46
|
-
|
|
47
|
-
class: l(e(
|
|
46
|
+
A("div", {
|
|
47
|
+
class: l(e(I)("popover", "content"))
|
|
48
48
|
}, [
|
|
49
49
|
p(e(L), {
|
|
50
|
-
placeholder: e(C)("ap.
|
|
50
|
+
placeholder: e(C)("ap.batchInputGroup.popoverInputPlaceholder"),
|
|
51
51
|
bordered: !1,
|
|
52
52
|
rows: 5,
|
|
53
53
|
value: e(v),
|
|
54
54
|
onInput: _,
|
|
55
55
|
ref_key: "textAreaRef",
|
|
56
|
-
ref:
|
|
56
|
+
ref: a,
|
|
57
57
|
"allow-clear": !1,
|
|
58
58
|
"auto-size": !1
|
|
59
59
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -130,6 +130,9 @@ const e = {
|
|
|
130
130
|
clear: "Clear",
|
|
131
131
|
confirm: "Confirm",
|
|
132
132
|
tokenSeparatorsPlaceholder: "A maximum of 200 entries can be entered in batches, separated by commas and newlines"
|
|
133
|
+
},
|
|
134
|
+
batchInputGroup: {
|
|
135
|
+
popoverInputPlaceholder: "A maximum of 200 entries can be entered in batches, separated by newlines"
|
|
133
136
|
}
|
|
134
137
|
}
|
|
135
138
|
};
|
|
@@ -34,6 +34,7 @@ declare function __VLS_template(): {
|
|
|
34
34
|
addonBefore: VueTypeValidableDef<any>;
|
|
35
35
|
addonAfter: VueTypeValidableDef<any>;
|
|
36
36
|
prefix: VueTypeValidableDef<any>;
|
|
37
|
+
suffix: VueTypeValidableDef<any>;
|
|
37
38
|
'onUpdate:value': {
|
|
38
39
|
type: PropType<(value: ValueType) => void>;
|
|
39
40
|
default: (value: ValueType) => void;
|
|
@@ -154,6 +155,7 @@ declare function __VLS_template(): {
|
|
|
154
155
|
addonBefore: VueTypeValidableDef<any>;
|
|
155
156
|
addonAfter: VueTypeValidableDef<any>;
|
|
156
157
|
prefix: VueTypeValidableDef<any>;
|
|
158
|
+
suffix: VueTypeValidableDef<any>;
|
|
157
159
|
'onUpdate:value': {
|
|
158
160
|
type: PropType<(value: ValueType) => void>;
|
|
159
161
|
default: (value: ValueType) => void;
|
|
@@ -293,6 +295,7 @@ declare function __VLS_template(): {
|
|
|
293
295
|
addonBefore?: any;
|
|
294
296
|
addonAfter?: any;
|
|
295
297
|
prefix?: any;
|
|
298
|
+
suffix?: any;
|
|
296
299
|
default?: any;
|
|
297
300
|
upIcon?: any;
|
|
298
301
|
downIcon?: any;
|
|
@@ -319,6 +322,7 @@ declare function __VLS_template(): {
|
|
|
319
322
|
addonBefore: VueTypeValidableDef<any>;
|
|
320
323
|
addonAfter: VueTypeValidableDef<any>;
|
|
321
324
|
prefix: VueTypeValidableDef<any>;
|
|
325
|
+
suffix: VueTypeValidableDef<any>;
|
|
322
326
|
'onUpdate:value': {
|
|
323
327
|
type: PropType<(value: ValueType) => void>;
|
|
324
328
|
default: (value: ValueType) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("@aplus-frontend/antdv");require("../../hooks/index.js");const s=require("lodash-unified"),i=require("@fruits-chain/utils"),S=require("./helper.js");require("../../config-provider/index.js");const g=require("../hooks/use-default-placeholder.js"),q=require("../../config-provider/hooks/use-namespace.js"),C=require("../../hooks/useControllableValue.js"),N=e.defineComponent({name:"ApFieldNumber",__name:"index",props:{mode:{},class:{},style:{},size:{},bordered:{type:Boolean,default:!0},placeholder:{},name:{},id:{},type:{},addonBefore:{},addonAfter:{},prefix:{},"onUpdate:value":{},valueModifiers:{},status:{},stringMode:{type:Boolean},defaultValue:{},value:{},prefixCls:{},min:{default:-1/0},max:{default:1/0},step:{default:1},tabindex:{},controls:{type:Boolean,default:!0},readonly:{type:Boolean},disabled:{type:Boolean},autofocus:{type:Boolean},keyboard:{type:Boolean,default:!0},parser:{},formatter:{},precision:{},decimalSeparator:{},onInput:{},onChange:{},onPressEnter:{},onStep:{},onBlur:{},onFocus:{},emptyText:{default:"--"},thousands:{type:Boolean,default:!1},limitDecimalsRetain:{type:Boolean}},emits:["update:value"],setup(d,{expose:p,emit:c}){const f=c,{b:a}=q.useNamespace("field-number"),o=d,l=e.ref(),{value:n,updateValue:m}=C.useControllableValue(o,f),y=g.useDefaultPlaceholder("Number",o),v=e.computed(()=>{let t=e.unref(n);if(s.isNil(t))return o.emptyText;o.precision&&(t=i.roundWith(t,o.precision));let r=o.thousands?i.toDecimalMark(t):String(t);return o.precision&&o.limitDecimalsRetain&&(r=S.addZeroToDecimalPlaces(r,o.precision)),r});function B(){var t;(t=l.value)==null||t.focus()}function b(){var t;(t=l.value)==null||t.blur()}return p({focus:B,blur:b}),(t,r)=>t.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.$slots.prefix?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(a)("label-left"))},[e.renderSlot(t.$slots,"prefix")],2)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(v.value),1),t.$slots.addonAfter?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(a)("label-right"))},[e.renderSlot(t.$slots,"addonAfter")],2)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(e.unref(k.InputNumber),e.mergeProps({key:1},e.unref(s.omit)(o,["value","onUpdate:value"]),{placeholder:e.unref(y),value:e.unref(n),"onUpdate:value":e.unref(m),ref_key:"inputRef",ref:l}),e.createSlots({_:2},[e.renderList(t.$slots,(P,u)=>({name:u,fn:e.withCtx(h=>[e.renderSlot(t.$slots,u,e.normalizeProps(e.guardReactiveProps(h||{})))])}))]),1040,["placeholder","value","onUpdate:value"]))}});exports.default=N;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("@aplus-frontend/antdv");require("../../hooks/index.js");const s=require("lodash-unified"),i=require("@fruits-chain/utils"),S=require("./helper.js");require("../../config-provider/index.js");const g=require("../hooks/use-default-placeholder.js"),q=require("../../config-provider/hooks/use-namespace.js"),C=require("../../hooks/useControllableValue.js"),N=e.defineComponent({name:"ApFieldNumber",__name:"index",props:{mode:{},class:{},style:{},size:{},bordered:{type:Boolean,default:!0},placeholder:{},name:{},id:{},type:{},addonBefore:{},addonAfter:{},prefix:{},suffix:{},"onUpdate:value":{},valueModifiers:{},status:{},stringMode:{type:Boolean},defaultValue:{},value:{},prefixCls:{},min:{default:-1/0},max:{default:1/0},step:{default:1},tabindex:{},controls:{type:Boolean,default:!0},readonly:{type:Boolean},disabled:{type:Boolean},autofocus:{type:Boolean},keyboard:{type:Boolean,default:!0},parser:{},formatter:{},precision:{},decimalSeparator:{},onInput:{},onChange:{},onPressEnter:{},onStep:{},onBlur:{},onFocus:{},emptyText:{default:"--"},thousands:{type:Boolean,default:!1},limitDecimalsRetain:{type:Boolean}},emits:["update:value"],setup(d,{expose:p,emit:c}){const f=c,{b:a}=q.useNamespace("field-number"),o=d,l=e.ref(),{value:n,updateValue:m}=C.useControllableValue(o,f),y=g.useDefaultPlaceholder("Number",o),v=e.computed(()=>{let t=e.unref(n);if(s.isNil(t))return o.emptyText;o.precision&&(t=i.roundWith(t,o.precision));let r=o.thousands?i.toDecimalMark(t):String(t);return o.precision&&o.limitDecimalsRetain&&(r=S.addZeroToDecimalPlaces(r,o.precision)),r});function B(){var t;(t=l.value)==null||t.focus()}function b(){var t;(t=l.value)==null||t.blur()}return p({focus:B,blur:b}),(t,r)=>t.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.$slots.prefix?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(a)("label-left"))},[e.renderSlot(t.$slots,"prefix")],2)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(v.value),1),t.$slots.addonAfter?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(a)("label-right"))},[e.renderSlot(t.$slots,"addonAfter")],2)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(e.unref(k.InputNumber),e.mergeProps({key:1},e.unref(s.omit)(o,["value","onUpdate:value"]),{placeholder:e.unref(y),value:e.unref(n),"onUpdate:value":e.unref(m),ref_key:"inputRef",ref:l}),e.createSlots({_:2},[e.renderList(t.$slots,(P,u)=>({name:u,fn:e.withCtx(h=>[e.renderSlot(t.$slots,u,e.normalizeProps(e.guardReactiveProps(h||{})))])}))]),1040,["placeholder","value","onUpdate:value"]))}});exports.default=N;
|
|
@@ -68,6 +68,7 @@ declare function __VLS_template(): {
|
|
|
68
68
|
readonly readonly?: boolean | undefined;
|
|
69
69
|
readonly addonBefore?: any;
|
|
70
70
|
readonly addonAfter?: any;
|
|
71
|
+
readonly suffix?: any;
|
|
71
72
|
readonly stringMode?: boolean | undefined;
|
|
72
73
|
readonly parser?: ((displayValue: string) => ValueType) | undefined;
|
|
73
74
|
readonly formatter?: ((value: ValueType, info: {
|
|
@@ -176,6 +177,9 @@ declare function __VLS_template(): {
|
|
|
176
177
|
addonAfter: {
|
|
177
178
|
type: PropType<any>;
|
|
178
179
|
};
|
|
180
|
+
suffix: {
|
|
181
|
+
type: PropType<any>;
|
|
182
|
+
};
|
|
179
183
|
stringMode: {
|
|
180
184
|
type: PropType<boolean>;
|
|
181
185
|
};
|
|
@@ -330,6 +334,9 @@ declare function __VLS_template(): {
|
|
|
330
334
|
addonAfter: {
|
|
331
335
|
type: PropType<any>;
|
|
332
336
|
};
|
|
337
|
+
suffix: {
|
|
338
|
+
type: PropType<any>;
|
|
339
|
+
};
|
|
333
340
|
stringMode: {
|
|
334
341
|
type: PropType<boolean>;
|
|
335
342
|
};
|
|
@@ -504,6 +511,9 @@ declare function __VLS_template(): {
|
|
|
504
511
|
addonAfter: {
|
|
505
512
|
type: PropType<any>;
|
|
506
513
|
};
|
|
514
|
+
suffix: {
|
|
515
|
+
type: PropType<any>;
|
|
516
|
+
};
|
|
507
517
|
stringMode: {
|
|
508
518
|
type: PropType<boolean>;
|
|
509
519
|
};
|
|
@@ -45,6 +45,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
45
45
|
}>, {
|
|
46
46
|
focus: () => void;
|
|
47
47
|
blur: () => void;
|
|
48
|
+
request: () => void;
|
|
48
49
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemSelectProps>, {
|
|
49
50
|
hasFeedback: boolean;
|
|
50
51
|
colon: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../item/index.vue2.js");require("../../../ap-field/index.js");const o=require("lodash-unified"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../item/index.vue2.js");require("../../../ap-field/index.js");const o=require("lodash-unified"),d=require("../../constant.js"),m=require("../../item/index.vue.js"),_=require("../../../ap-field/select/index.vue.js"),v=e.defineComponent({name:"ApFormItemSelect",__name:"index",props:{htmlFor:{},prefixCls:{},label:{},help:{},extra:{},labelCol:{},wrapperCol:{},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:{},prop:{},name:{},rules:{},autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:{},validateTrigger:{},messageVariables:{},hidden:{type:Boolean},noStyle:{type:Boolean},tooltip:{},span:{},order:{},offset:{},push:{},pull:{},xs:{},sm:{},md:{},lg:{},xl:{},xxl:{},flex:{},bordered:{type:Boolean},valuePropName:{},initialValue:{},_signal:{},transform:{},field:{default:()=>({})},placeholder:{},disabled:{type:Boolean,default:!1}},setup(i,{expose:p}){const t=i,a=e.ref();p({focus:()=>{var r;(r=a.value)==null||r.focus()},blur:()=>{var r;(r=a.value)==null||r.blur()},request:()=>{var r;(r=a.value)==null||r.request()}});const u=e.useSlots(),c=e.computed(()=>{var r,s;return{placeholder:t.placeholder,disabled:t.disabled,...t.field||{},bordered:t.bordered?!1:o.isUndefined((r=t.field)==null?void 0:r.bordered)?!0:(s=t.field)==null?void 0:s.bordered}});return(r,s)=>(e.openBlock(),e.createBlock(m.default,e.normalizeProps(e.guardReactiveProps(e.unref(o.omit)(t,["field","placeholder","disabled"]))),e.createSlots({default:e.withCtx(()=>[e.createVNode(e.unref(_.default),e.normalizeProps(e.guardReactiveProps(c.value)),e.createSlots({_:2},[e.renderList(e.unref(o.omit)(u,e.unref(d.apFormItemSlotNames)),(f,l)=>({name:l,fn:e.withCtx(n=>[e.renderSlot(r.$slots,l,e.normalizeProps(e.guardReactiveProps(n||{})))])}))]),1040)]),_:2},[e.renderList(e.unref(o.pick)(u,e.unref(d.apFormItemSlotNames)),(f,l)=>({name:l,fn:e.withCtx(n=>[e.renderSlot(r.$slots,l,e.normalizeProps(e.guardReactiveProps(n||{})))])}))]),1040))}});exports.default=v;
|
|
@@ -3623,6 +3623,7 @@ export declare const apTableFormItemMap: {
|
|
|
3623
3623
|
}>>, {
|
|
3624
3624
|
focus: () => void;
|
|
3625
3625
|
blur: () => void;
|
|
3626
|
+
request: () => void;
|
|
3626
3627
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3627
3628
|
label: {
|
|
3628
3629
|
type: PropType<any>;
|
|
@@ -4037,6 +4038,7 @@ export declare const apTableFormItemMap: {
|
|
|
4037
4038
|
}>>, {
|
|
4038
4039
|
focus: () => void;
|
|
4039
4040
|
blur: () => void;
|
|
4041
|
+
request: () => void;
|
|
4040
4042
|
}, {}, {}, {}, {
|
|
4041
4043
|
disabled: boolean;
|
|
4042
4044
|
field: Omit< ApFieldSelectProps, "value" | "onUpdate:value">;
|
|
@@ -4250,6 +4252,7 @@ export declare const apTableFormItemMap: {
|
|
|
4250
4252
|
}>>, {
|
|
4251
4253
|
focus: () => void;
|
|
4252
4254
|
blur: () => void;
|
|
4255
|
+
request: () => void;
|
|
4253
4256
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
4254
4257
|
disabled: boolean;
|
|
4255
4258
|
field: Omit< ApFieldSelectProps, "value" | "onUpdate:value">;
|
|
@@ -10513,6 +10516,9 @@ export declare const apTableRenderItemMap: {
|
|
|
10513
10516
|
addonAfter: {
|
|
10514
10517
|
type: PropType<any>;
|
|
10515
10518
|
};
|
|
10519
|
+
suffix: {
|
|
10520
|
+
type: PropType<any>;
|
|
10521
|
+
};
|
|
10516
10522
|
stringMode: {
|
|
10517
10523
|
type: PropType<boolean>;
|
|
10518
10524
|
};
|
|
@@ -10658,6 +10664,9 @@ export declare const apTableRenderItemMap: {
|
|
|
10658
10664
|
addonAfter: {
|
|
10659
10665
|
type: PropType<any>;
|
|
10660
10666
|
};
|
|
10667
|
+
suffix: {
|
|
10668
|
+
type: PropType<any>;
|
|
10669
|
+
};
|
|
10661
10670
|
stringMode: {
|
|
10662
10671
|
type: PropType<boolean>;
|
|
10663
10672
|
};
|
|
@@ -10814,6 +10823,9 @@ export declare const apTableRenderItemMap: {
|
|
|
10814
10823
|
addonAfter: {
|
|
10815
10824
|
type: PropType<any>;
|
|
10816
10825
|
};
|
|
10826
|
+
suffix: {
|
|
10827
|
+
type: PropType<any>;
|
|
10828
|
+
};
|
|
10817
10829
|
stringMode: {
|
|
10818
10830
|
type: PropType<boolean>;
|
|
10819
10831
|
};
|
|
@@ -10970,6 +10982,9 @@ export declare const apTableRenderItemMap: {
|
|
|
10970
10982
|
addonAfter: {
|
|
10971
10983
|
type: PropType<any>;
|
|
10972
10984
|
};
|
|
10985
|
+
suffix: {
|
|
10986
|
+
type: PropType<any>;
|
|
10987
|
+
};
|
|
10973
10988
|
stringMode: {
|
|
10974
10989
|
type: PropType<boolean>;
|
|
10975
10990
|
};
|
|
@@ -6212,6 +6212,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
6212
6212
|
}>>, {
|
|
6213
6213
|
focus: () => void;
|
|
6214
6214
|
blur: () => void;
|
|
6215
|
+
request: () => void;
|
|
6215
6216
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
6216
6217
|
label: {
|
|
6217
6218
|
type: PropType<any>;
|
|
@@ -6626,6 +6627,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
6626
6627
|
}>>, {
|
|
6627
6628
|
focus: () => void;
|
|
6628
6629
|
blur: () => void;
|
|
6630
|
+
request: () => void;
|
|
6629
6631
|
}, {}, {}, {}, {
|
|
6630
6632
|
disabled: boolean;
|
|
6631
6633
|
field: Omit< ApFieldSelectProps, "value" | "onUpdate:value">;
|
|
@@ -6839,6 +6841,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
6839
6841
|
}>>, {
|
|
6840
6842
|
focus: () => void;
|
|
6841
6843
|
blur: () => void;
|
|
6844
|
+
request: () => void;
|
|
6842
6845
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
6843
6846
|
disabled: boolean;
|
|
6844
6847
|
field: Omit< ApFieldSelectProps, "value" | "onUpdate:value">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
2
|
-
`):""}),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue");require("../../ap-field/index.js");const w=require("@aplus-frontend/antdv");require("../../config-provider/index.js");const j=require("lodash-unified");require("./popover-input/index.vue.js");require("../../hooks/index.js");const L=require("../../utils/index.js"),O=require("../../ap-field/hooks/use-default-placeholder.js"),P=require("../../hooks/useControllableValue.js"),R=require("../../config-provider/hooks/use-locale.js"),E=require("../../ap-field/select/index.vue.js"),F=require("../../ap-field/text/index.js"),T=require("./popover-input/index.vue2.js"),i="GROUP_SEARCH_ALL",z=t.defineComponent({__name:"index",props:{style:{type:[Boolean,null,String,Object,Array]},inputStyle:{type:[Boolean,null,String,Object,Array]},options:{},hasAll:{type:Boolean,default:!0},value:{},"onUpdate:value":{},mode:{default:"edit"},class:{},id:{},placeholder:{},autocomplete:{},type:{default:"text"},name:{},size:{},autofocus:{type:Boolean},lazy:{type:Boolean,default:!0},maxlength:{},loading:{type:Boolean},bordered:{type:Boolean,default:!0},showCount:{type:[Boolean,Object]},htmlSize:{},onPressEnter:{},onKeydown:{},onKeyup:{},onFocus:{},onBlur:{},onChange:{},onInput:{},onCompositionstart:{},onCompositionend:{},valueModifiers:{},hidden:{type:Boolean},status:{},defaultValue:{},inputElement:{},prefixCls:{},disabled:{type:Boolean},focused:{type:Boolean},triggerFocus:{},readonly:{type:Boolean},handleReset:{},addonBefore:{},addonAfter:{},prefix:{},suffix:{},clearIcon:{},allowClear:{type:Boolean,default:!0},emptyText:{default:"--"}},emits:["update:value"],setup(m,{emit:h}){const l=m,g=O.useDefaultPlaceholder("Text",l),B=h,{value:u,updateValue:a}=P.useControllableValue(l,B),p=t.ref(),c=t.ref(),{t:_}=R.useLocale(),V=t.computed(()=>l.options?l.options.length>1&&l.hasAll?[{value:i,label:_("ap.apGroupSearch.all")},...l.options]:l.options:[]),A=t.computed(()=>l.options?l.options.map(e=>e.value):[]),C=t.computed(()=>{var e,n;return(n=(e=t.unref(u))==null?void 0:e.value)!=null&&n.length?t.unref(u).value.join(","):""}),q=t.computed(()=>{var e,n;return(n=(e=t.unref(u))==null?void 0:e.value)!=null&&n.length?t.unref(u).value.join(`
|
|
2
|
+
`):""}),S=t.computed(()=>{var n;const e=(n=t.unref(u))==null?void 0:n.key;if(e!=null&&e.length)return e.length===1?e[0]:i}),x=t.computed(()=>{var o;const e=(o=t.unref(u))==null?void 0:o.key;return!e||(e==null?void 0:e.length)<=1?t.unref(g):(l.options||[]).filter(r=>e.includes(r.value)).map(r=>r.label).join("/")});function b(e){const n=t.unref(u)||{},o=e===i?t.unref(A):L.isDef(e)?[e]:[];a({...n,key:o})}function U(e){var f,v;const n=t.unref(u)||{},o=e.target.value||"",r=o.replace(/[,]+/g,",");if(o!==r){const y=(v=(f=c.value)==null?void 0:f.$el)==null?void 0:v.querySelector("input");y&&(y.value=r)}let s=r.split(",");s.length===1&&s[0]===""&&(s=[]),a({...n,value:s})}function k(e){const n=t.unref(u)||{};let o=e.split(/,|\n/);a({...n,value:o})}function d(){var o;const e=t.unref(u)||{},n=(o=e.value)==null?void 0:o.filter(Boolean);a({...e,value:n})}function I(e){var n;d(),(n=l.onBlur)==null||n.call(l,e)}return(e,n)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"containerRef",ref:p,style:{position:"relative"},onFocus:n[0]||(n[0]=(...o)=>e.onFocus&&e.onFocus(...o)),onBlur:n[1]||(n[1]=(...o)=>e.onBlur&&e.onBlur(...o))},[t.createVNode(t.unref(w.Space).Compact,{block:""},{default:t.withCtx(()=>{var o;return[(o=e.options)!=null&&o.length?(t.openBlock(),t.createBlock(t.unref(E.default),{key:0,style:t.normalizeStyle(e.style),options:V.value,value:S.value,"onUpdate:value":b,"allow-clear":!1,"dropdown-match-select-width":!1},null,8,["style","options","value"])):t.createCommentVNode("",!0),t.createVNode(t.unref(F.ApFieldText),t.mergeProps({style:e.inputStyle},t.unref(j.omit)(l,["style","value","onUpdate:value","inputStyle","hasAll","options"]),{ref_key:"inputRef",ref:c,value:C.value,onInput:U,onBlur:I,placeholder:x.value}),{suffix:t.withCtx(()=>[t.createVNode(T.default,{_parent:p.value,value:q.value,"onUpdate:value":k,onClose:d},null,8,["_parent","value"])]),_:1},16,["style","value","placeholder"])]}),_:1})],544))}});exports.default=z;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("@aplus-frontend/antdv");require("../../../config-provider/index.js");const
|
|
2
|
-
`);if(
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("@aplus-frontend/antdv");require("../../../config-provider/index.js");const V=require("@aplus-frontend/icon");require("../../../hooks/index.js");const q=require("../../../hooks/useControllableValue.js"),x=require("../../../config-provider/hooks/use-locale.js"),N=require("../../../config-provider/hooks/use-namespace.js"),y=e.defineComponent({__name:"index",props:{_parent:{},onClose:{type:Function},value:{},"onUpdate:value":{type:Function}},emits:["update:value"],setup(p,{emit:i}){const a=p,f=i,{value:d,updateValue:v}=q.useControllableValue(a,f),o=e.ref(),m=t=>a._parent||t,{t:C}=x.useLocale();function g(t){var l;const n=t.target.value||"",r=n.replace(/[\n,]+/g,`
|
|
2
|
+
`);if(r!==n){const c=((l=o.value)==null?void 0:l.$el)||o.value;c&&(c.value=r)}v(r)}function h(t){var n;t||(n=a.onClose)==null||n.call(a)}const{b:u,e:_,em:b}=N.useNamespace("batch-input-group-popover-input");return(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(u)())},[e.createVNode(e.unref(s.Popover),{overlayClassName:e.unref(_)("popover"),"get-popup-container":m,trigger:"click",placement:"bottomLeft",onOpenChange:h},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(b)("popover","content"))},[e.createVNode(e.unref(s.Textarea),{placeholder:e.unref(C)("ap.batchInputGroup.popoverInputPlaceholder"),bordered:!1,rows:5,value:e.unref(d),onInput:g,ref_key:"textAreaRef",ref:o,"allow-clear":!1,"auto-size":!1},null,8,["placeholder","value"])],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(V.IconApAdLineScreen),{class:e.normalizeClass(e.unref(u)("trigger-icon"))},null,8,["class"])]),_:1},8,["overlayClassName"])],2))}});exports.default=y;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"en",ap:{common:{okText:"OK",cancelText:"Cancel",resetText:"Reset",queryText:"Search",expandText:"Unfold",closeText:"Put away",inputText:"Please enter",chooseText:"Please choose",redo:"Refresh",back:"Back",more:"More"},field:{startDateText:"Start date",endDateText:"End date"},apForm:{search:{search:"Search",reset:"Reset"}},apTable:{pagination:{totalLeftPrefix:"Total",totalLeftSuffix:"items",totalRightPrefix:"Page",totalRightSuffix:" "},setting:{title:"Custom Table",selectAll:"Select All",unSelectAll:"Deselect All",selectAllTip:"Please select the columns to display in the table.",sizeSmall:"Small",sizeNormal:"Normal",selectCount:"Selected fields ({count})",reset:"Reset",fixToLeft:"Fixed on the left",fixToRight:"Fixed on the right",unFixed:"Not fixed",delete:"Delete"},paragraphEllipsis:{copy:"Copy",copySuccess:"Copied successfully"}},apUpload:{update:"Upload",pictureType:"Image type",videoType:"Video type",audioType:"Audio type",documentType:"Document type",allTypes:"All types",networkAnomaly:"Network abnormality",FailedToObtainOssTemporaryPermissions:"Failed to obtain temporary OSS permissions",pleasePass:"Please pass in",supportExtension:"Support extensions",uploadFile:"Upload files",fileInitializationException:"If the initial number of initialized files exceeds {maxCount}, subsequent uploaded files will be out of sync with the data",maxUploadFiles:"Upload a maximum of {maxCount} files",maxUploadPicture:"Upload a maximum of {maxCount} images",maxUploadFileSize:"The file size does not exceed {maxSize}MB",maxWarnUploadFileSize:"The file size is smaller than {maxSize}MB",maxUploadPictureSize:"The image size is smaller than {maxSize}MB",fileFormatNotSupported:"Files in this format are not supported",pictureFormatNotSupported:"Images in this format are not supported",imageParsingFailed:"Image parsing failed",clickOrDragUpload:"Click or drag the file",foldersNotSupported:"Do not support uploading folders"},apExportGroup:{exportError:"Export error",exportSelected:"Export selected",exportAll:"Export all",export:"Export Excel"},apBatchAction:{selected:"Selected",piecesOfData:"Pieces of data",empty:"Empty"},apApBatchActionGroup:{batchOperation:"Batch operation"},workOrderModal:{createTickets:"Create ticket",submit:"Confirm",cancel:"Cancel",ticketsTitle:"Ticket Title",noEmpty:"No empty",pleaseEntry:"please enter",ticketsType:"Ticket Type",ticketsDetail:"Ticket Detail",ticketsLevel:"Priority",operationSuccess:"operate successfully",fileSizeMax:"Single file size limit",fileCountMax:"Limit the number to {x} at a time"},apTableModal:{titleSuffixOne:"You can add up to {maxCount},",titleSuffixTwo:"Added",titleSuffixThree:"",messageMaxCount:"You can select up to {maxCount} data entries",clear:"Clear",selected:"Selected"},apAttachment:{downloadall:"Download All",more:"More"},apExpandAlert:{expand:"Expand",collapse:"Collapse"},apAppendix:{downloadAll:"Download All",downloadFile:"Download file",appendix:"Appendix"},apGroupSearch:{defaultPlaceholder:"Please input",all:"All",close:"Close",clear:"Clear",confirm:"Confirm",tokenSeparatorsPlaceholder:"A maximum of 200 entries can be entered in batches, separated by commas and newlines"}}};exports.default=e;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"en",ap:{common:{okText:"OK",cancelText:"Cancel",resetText:"Reset",queryText:"Search",expandText:"Unfold",closeText:"Put away",inputText:"Please enter",chooseText:"Please choose",redo:"Refresh",back:"Back",more:"More"},field:{startDateText:"Start date",endDateText:"End date"},apForm:{search:{search:"Search",reset:"Reset"}},apTable:{pagination:{totalLeftPrefix:"Total",totalLeftSuffix:"items",totalRightPrefix:"Page",totalRightSuffix:" "},setting:{title:"Custom Table",selectAll:"Select All",unSelectAll:"Deselect All",selectAllTip:"Please select the columns to display in the table.",sizeSmall:"Small",sizeNormal:"Normal",selectCount:"Selected fields ({count})",reset:"Reset",fixToLeft:"Fixed on the left",fixToRight:"Fixed on the right",unFixed:"Not fixed",delete:"Delete"},paragraphEllipsis:{copy:"Copy",copySuccess:"Copied successfully"}},apUpload:{update:"Upload",pictureType:"Image type",videoType:"Video type",audioType:"Audio type",documentType:"Document type",allTypes:"All types",networkAnomaly:"Network abnormality",FailedToObtainOssTemporaryPermissions:"Failed to obtain temporary OSS permissions",pleasePass:"Please pass in",supportExtension:"Support extensions",uploadFile:"Upload files",fileInitializationException:"If the initial number of initialized files exceeds {maxCount}, subsequent uploaded files will be out of sync with the data",maxUploadFiles:"Upload a maximum of {maxCount} files",maxUploadPicture:"Upload a maximum of {maxCount} images",maxUploadFileSize:"The file size does not exceed {maxSize}MB",maxWarnUploadFileSize:"The file size is smaller than {maxSize}MB",maxUploadPictureSize:"The image size is smaller than {maxSize}MB",fileFormatNotSupported:"Files in this format are not supported",pictureFormatNotSupported:"Images in this format are not supported",imageParsingFailed:"Image parsing failed",clickOrDragUpload:"Click or drag the file",foldersNotSupported:"Do not support uploading folders"},apExportGroup:{exportError:"Export error",exportSelected:"Export selected",exportAll:"Export all",export:"Export Excel"},apBatchAction:{selected:"Selected",piecesOfData:"Pieces of data",empty:"Empty"},apApBatchActionGroup:{batchOperation:"Batch operation"},workOrderModal:{createTickets:"Create ticket",submit:"Confirm",cancel:"Cancel",ticketsTitle:"Ticket Title",noEmpty:"No empty",pleaseEntry:"please enter",ticketsType:"Ticket Type",ticketsDetail:"Ticket Detail",ticketsLevel:"Priority",operationSuccess:"operate successfully",fileSizeMax:"Single file size limit",fileCountMax:"Limit the number to {x} at a time"},apTableModal:{titleSuffixOne:"You can add up to {maxCount},",titleSuffixTwo:"Added",titleSuffixThree:"",messageMaxCount:"You can select up to {maxCount} data entries",clear:"Clear",selected:"Selected"},apAttachment:{downloadall:"Download All",more:"More"},apExpandAlert:{expand:"Expand",collapse:"Collapse"},apAppendix:{downloadAll:"Download All",downloadFile:"Download file",appendix:"Appendix"},apGroupSearch:{defaultPlaceholder:"Please input",all:"All",close:"Close",clear:"Clear",confirm:"Confirm",tokenSeparatorsPlaceholder:"A maximum of 200 entries can be entered in batches, separated by commas and newlines"},batchInputGroup:{popoverInputPlaceholder:"A maximum of 200 entries can be entered in batches, separated by newlines"}}};exports.default=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"zh-cn",ap:{common:{okText:"确认",cancelText:"取消",resetText:"重置",queryText:"查询",expandText:"展开",closeText:"收起",inputText:"请输入",chooseText:"请选择",redo:"刷新",back:"返回",more:"更多"},field:{startDateText:"开始日期",endDateText:"结束日期"},modal:{restore:"还原",maximize:"最大化",close:"关闭"},countdown:{normalText:"获取验证码",sendText:"{sec}秒后重新获取"},apForm:{search:{search:"查询",reset:"重置"}},apTable:{pagination:{totalLeftPrefix:"共",totalLeftSuffix:"条记录",totalRightPrefix:"第",totalRightSuffix:"页"},setting:{title:"自定义表格",selectAll:"全选",unSelectAll:"取消全选",selectAllTip:"请选择需要展示在表格的字段",sizeSmall:"紧凑",sizeNormal:"正常",selectCount:"已选字段({count})",reset:"重置",fixToLeft:"固定在左侧",fixToRight:"固定在右侧",unFixed:"不固定",delete:"删除"},paragraphEllipsis:{copy:"复制",copySuccess:"复制成功"}},apUpload:{update:"上传",pictureType:"图片类型",videoType:"视频类型",audioType:"音频类型",documentType:"文档类型",allTypes:"全部类型",networkAnomaly:"网络异常",FailedToObtainOssTemporaryPermissions:"获取oss临时权限失败",pleasePass:"请传入",supportExtension:"支持扩展名",uploadFile:"上传文件",fileInitializationException:"文件初始化个数超过{maxCount}个,后续上传的文件会与数据不同步",maxUploadFiles:"最多上传{maxCount}个文件",maxUploadPicture:"最多上传{maxCount}张图片",maxUploadFileSize:"文件大小不超过{maxSize}MB",maxWarnUploadFileSize:"文件大小小于{maxSize}MB",maxUploadPictureSize:"图片大小小于{maxSize}MB",fileFormatNotSupported:"不支持该格式的文件",pictureFormatNotSupported:"不支持该格式的图片",imageParsingFailed:"图片解析失败",clickOrDragUpload:"点击或将文件拖拽到这里上传",foldersNotSupported:"不支持上传文件夹"},apExportGroup:{exportError:"导出失败",exportSelected:"导出所选",exportAll:"导出全部",export:"导出Excel"},apBatchAction:{selected:"已选",piecesOfData:"条数据",empty:"清空"},apApBatchActionGroup:{batchOperation:"批量操作"},workOrderModal:{createTickets:"创建工单",submit:"确定",cancel:"取消",ticketsTitle:"工单标题",noEmpty:"不可为空",pleaseEntry:"请输入",ticketsType:"工单类型",ticketsDetail:"工单详情",ticketsLevel:"优先级",operationSuccess:"操作成功",fileSizeMax:"单个文件大小限制",fileCountMax:"单次数量限制 {x} 个"},apTableModal:{titleSuffixOne:"最多可添加{maxCount}个,",titleSuffixTwo:"已添加",titleSuffixThree:"个",messageMaxCount:"最多选择{maxCount}条数据",clear:"清空",selected:"已选"},apAttachment:{downloadall:"下载全部",more:"更多"},apExpandAlert:{expand:"展开",collapse:"收起"},apAppendix:{downloadAll:"下载全部",downloadFile:"下载文件",appendix:"附件"},apGroupSearch:{defaultPlaceholder:"请输入",all:"全部",close:"关闭",clear:"清空",confirm:"确定",tokenSeparatorsPlaceholder:"支持批量输入,可用逗号、换行符号分隔,最多输入200条"}}};exports.default=e;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"zh-cn",ap:{common:{okText:"确认",cancelText:"取消",resetText:"重置",queryText:"查询",expandText:"展开",closeText:"收起",inputText:"请输入",chooseText:"请选择",redo:"刷新",back:"返回",more:"更多"},field:{startDateText:"开始日期",endDateText:"结束日期"},modal:{restore:"还原",maximize:"最大化",close:"关闭"},countdown:{normalText:"获取验证码",sendText:"{sec}秒后重新获取"},apForm:{search:{search:"查询",reset:"重置"}},apTable:{pagination:{totalLeftPrefix:"共",totalLeftSuffix:"条记录",totalRightPrefix:"第",totalRightSuffix:"页"},setting:{title:"自定义表格",selectAll:"全选",unSelectAll:"取消全选",selectAllTip:"请选择需要展示在表格的字段",sizeSmall:"紧凑",sizeNormal:"正常",selectCount:"已选字段({count})",reset:"重置",fixToLeft:"固定在左侧",fixToRight:"固定在右侧",unFixed:"不固定",delete:"删除"},paragraphEllipsis:{copy:"复制",copySuccess:"复制成功"}},apUpload:{update:"上传",pictureType:"图片类型",videoType:"视频类型",audioType:"音频类型",documentType:"文档类型",allTypes:"全部类型",networkAnomaly:"网络异常",FailedToObtainOssTemporaryPermissions:"获取oss临时权限失败",pleasePass:"请传入",supportExtension:"支持扩展名",uploadFile:"上传文件",fileInitializationException:"文件初始化个数超过{maxCount}个,后续上传的文件会与数据不同步",maxUploadFiles:"最多上传{maxCount}个文件",maxUploadPicture:"最多上传{maxCount}张图片",maxUploadFileSize:"文件大小不超过{maxSize}MB",maxWarnUploadFileSize:"文件大小小于{maxSize}MB",maxUploadPictureSize:"图片大小小于{maxSize}MB",fileFormatNotSupported:"不支持该格式的文件",pictureFormatNotSupported:"不支持该格式的图片",imageParsingFailed:"图片解析失败",clickOrDragUpload:"点击或将文件拖拽到这里上传",foldersNotSupported:"不支持上传文件夹"},apExportGroup:{exportError:"导出失败",exportSelected:"导出所选",exportAll:"导出全部",export:"导出Excel"},apBatchAction:{selected:"已选",piecesOfData:"条数据",empty:"清空"},apApBatchActionGroup:{batchOperation:"批量操作"},workOrderModal:{createTickets:"创建工单",submit:"确定",cancel:"取消",ticketsTitle:"工单标题",noEmpty:"不可为空",pleaseEntry:"请输入",ticketsType:"工单类型",ticketsDetail:"工单详情",ticketsLevel:"优先级",operationSuccess:"操作成功",fileSizeMax:"单个文件大小限制",fileCountMax:"单次数量限制 {x} 个"},apTableModal:{titleSuffixOne:"最多可添加{maxCount}个,",titleSuffixTwo:"已添加",titleSuffixThree:"个",messageMaxCount:"最多选择{maxCount}条数据",clear:"清空",selected:"已选"},apAttachment:{downloadall:"下载全部",more:"更多"},apExpandAlert:{expand:"展开",collapse:"收起"},apAppendix:{downloadAll:"下载全部",downloadFile:"下载文件",appendix:"附件"},apGroupSearch:{defaultPlaceholder:"请输入",all:"全部",close:"关闭",clear:"清空",confirm:"确定",tokenSeparatorsPlaceholder:"支持批量输入,可用逗号、换行符号分隔,最多输入200条"},batchInputGroup:{popoverInputPlaceholder:"支持批量输入,可用换行符分隔,最多输入200条"}}};exports.default=e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.19",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -63,15 +63,15 @@
|
|
|
63
63
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
64
64
|
"sortablejs": "^1.15.2",
|
|
65
65
|
"vuedraggable": "^4.1.0",
|
|
66
|
-
"@aplus-frontend/
|
|
67
|
-
"@aplus-frontend/
|
|
66
|
+
"@aplus-frontend/utils": "1.0.42",
|
|
67
|
+
"@aplus-frontend/hooks": "1.0.7"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"@aplus-frontend/antdv": "^1.0.5",
|
|
71
71
|
"@aplus-frontend/icon": "^1.1.3",
|
|
72
72
|
"@aplus-frontend/oss": "^1.1.2",
|
|
73
73
|
"vue": "3.4.38",
|
|
74
|
-
"@aplus-frontend/ui-theme": "1.0.
|
|
74
|
+
"@aplus-frontend/ui-theme": "1.0.16"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@aplus-frontend/antdv": "^1.0.5",
|