@aplus-frontend/ui 0.2.18 → 0.2.20
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/index.mjs +193 -189
- 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/index.d.ts +5 -1
- package/es/src/ap-form/index.mjs +17 -9
- package/es/src/ap-form/interface.d.ts +9 -0
- package/es/src/ap-form/items/number/index.vue.d.ts +20 -10
- 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-form/items/text/index.vue.d.ts +10 -10
- package/es/src/ap-form/items/text/password.vue.d.ts +10 -10
- package/es/src/ap-form/items/text-area/index.vue.d.ts +9 -9
- package/es/src/ap-form/render/control.vue.d.ts +29 -0
- package/es/src/ap-form/render/control.vue.mjs +23 -0
- package/es/src/ap-form/render/control.vue2.mjs +4 -0
- package/es/src/ap-form/render/item.vue.d.ts +62 -0
- package/es/src/ap-form/render/item.vue.mjs +64 -0
- package/es/src/ap-form/render/item.vue2.mjs +4 -0
- package/es/src/ap-table/constants.d.ts +75 -60
- package/es/src/ap-table/utils.d.ts +3 -0
- package/es/src/business/ap-group-search/index.d.ts +36 -36
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +7 -7
- 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/config-provider/config-provider.d.ts +5 -0
- package/es/src/config-provider/css-var.d.ts +5 -0
- package/es/src/config-provider/css-var.mjs +20 -10
- package/es/src/config-provider/index.d.ts +30 -0
- package/es/src/index.mjs +154 -150
- package/es/src/locale/lang/en.mjs +3 -0
- package/es/src/locale/lang/zh-cn.mjs +3 -0
- package/lib/index.js +1 -1
- 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/index.d.ts +5 -1
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +9 -0
- package/lib/src/ap-form/items/number/index.vue.d.ts +20 -10
- 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-form/items/text/index.vue.d.ts +10 -10
- package/lib/src/ap-form/items/text/password.vue.d.ts +10 -10
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +9 -9
- package/lib/src/ap-form/render/control.vue.d.ts +29 -0
- package/lib/src/ap-form/render/control.vue.js +1 -0
- package/lib/src/ap-form/render/control.vue2.js +1 -0
- package/lib/src/ap-form/render/item.vue.d.ts +62 -0
- package/lib/src/ap-form/render/item.vue.js +1 -0
- package/lib/src/ap-form/render/item.vue2.js +1 -0
- package/lib/src/ap-table/constants.d.ts +75 -60
- package/lib/src/ap-table/utils.d.ts +3 -0
- package/lib/src/business/ap-group-search/index.d.ts +36 -36
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +7 -7
- 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/config-provider/config-provider.d.ts +5 -0
- package/lib/src/config-provider/css-var.d.ts +5 -0
- package/lib/src/config-provider/css-var.js +1 -1
- package/lib/src/config-provider/index.d.ts +30 -0
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/package.json +2 -2
|
@@ -81,7 +81,7 @@ declare const ApLadder: {
|
|
|
81
81
|
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
82
82
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
83
83
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
84
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "
|
|
84
|
+
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>>;
|
|
85
85
|
required: true;
|
|
86
86
|
default: () => {
|
|
87
87
|
title: undefined;
|
|
@@ -199,7 +199,7 @@ declare const ApLadder: {
|
|
|
199
199
|
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
200
200
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
201
201
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
202
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "
|
|
202
|
+
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>>;
|
|
203
203
|
required: true;
|
|
204
204
|
default: () => {
|
|
205
205
|
title: undefined;
|
|
@@ -308,7 +308,7 @@ declare const ApLadder: {
|
|
|
308
308
|
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
309
309
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
310
310
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
311
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "
|
|
311
|
+
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>;
|
|
312
312
|
major: string;
|
|
313
313
|
minor: string;
|
|
314
314
|
majorColor: string;
|
|
@@ -394,7 +394,7 @@ declare const ApLadder: {
|
|
|
394
394
|
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
395
395
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
396
396
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
397
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "
|
|
397
|
+
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>>;
|
|
398
398
|
required: true;
|
|
399
399
|
default: () => {
|
|
400
400
|
title: undefined;
|
|
@@ -503,7 +503,7 @@ declare const ApLadder: {
|
|
|
503
503
|
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
504
504
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
505
505
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
506
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "
|
|
506
|
+
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>;
|
|
507
507
|
major: string;
|
|
508
508
|
minor: string;
|
|
509
509
|
majorColor: string;
|
|
@@ -586,7 +586,7 @@ declare const ApLadder: {
|
|
|
586
586
|
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
587
587
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
588
588
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
589
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "
|
|
589
|
+
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>>;
|
|
590
590
|
required: true;
|
|
591
591
|
default: () => {
|
|
592
592
|
title: undefined;
|
|
@@ -695,7 +695,7 @@ declare const ApLadder: {
|
|
|
695
695
|
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
696
696
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
697
697
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
698
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "
|
|
698
|
+
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>;
|
|
699
699
|
major: string;
|
|
700
700
|
minor: string;
|
|
701
701
|
majorColor: string;
|
|
@@ -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"])
|
|
@@ -444,6 +444,11 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
444
444
|
primary: string;
|
|
445
445
|
};
|
|
446
446
|
};
|
|
447
|
+
'batch-input-group': {
|
|
448
|
+
trigger: {
|
|
449
|
+
color: string;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
447
452
|
}>;
|
|
448
453
|
}, {}>;
|
|
449
454
|
export type ConfigProviderInstance = InstanceType<typeof ConfigProvider>;
|
|
@@ -95,6 +95,11 @@ declare const aplusCssVarObj: {
|
|
|
95
95
|
primary: string;
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
|
+
'batch-input-group': {
|
|
99
|
+
trigger: {
|
|
100
|
+
color: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
98
103
|
};
|
|
99
104
|
export type CssVarType = RecursivePartial<typeof aplusCssVarObj>;
|
|
100
105
|
export declare function generateCssVar(cssVarRawObj: CssVarType): Record<string, any>;
|
|
@@ -93,8 +93,13 @@ const F = {
|
|
|
93
93
|
border: "#DEE4ED",
|
|
94
94
|
primary: "#0070FF"
|
|
95
95
|
}
|
|
96
|
+
},
|
|
97
|
+
"batch-input-group": {
|
|
98
|
+
trigger: {
|
|
99
|
+
color: "#526a90"
|
|
100
|
+
}
|
|
96
101
|
}
|
|
97
|
-
},
|
|
102
|
+
}, p = {
|
|
98
103
|
"ap-form": {
|
|
99
104
|
bordered: {
|
|
100
105
|
"border-color": {
|
|
@@ -189,28 +194,33 @@ const F = {
|
|
|
189
194
|
border: "#D9D9D9",
|
|
190
195
|
primary: "#34b77c"
|
|
191
196
|
}
|
|
197
|
+
},
|
|
198
|
+
"batch-input-group": {
|
|
199
|
+
trigger: {
|
|
200
|
+
color: "#999999"
|
|
201
|
+
}
|
|
192
202
|
}
|
|
193
203
|
};
|
|
194
|
-
function i(
|
|
204
|
+
function i(e) {
|
|
195
205
|
const o = {};
|
|
196
206
|
function r(a, l) {
|
|
197
207
|
const s = Object.keys(a);
|
|
198
208
|
for (const c of s) {
|
|
199
|
-
const
|
|
200
|
-
|
|
209
|
+
const t = a[c], n = [...l, c];
|
|
210
|
+
t !== null && typeof t == "object" ? r(t, n) : o[`--${n.join("-")}`] = t;
|
|
201
211
|
}
|
|
202
212
|
}
|
|
203
|
-
return r(
|
|
213
|
+
return r(e, []), o;
|
|
204
214
|
}
|
|
205
|
-
const
|
|
206
|
-
function u(
|
|
207
|
-
Object.entries(
|
|
215
|
+
const b = i(F), d = i(p);
|
|
216
|
+
function u(e) {
|
|
217
|
+
Object.entries(e).forEach(([o, r]) => {
|
|
208
218
|
document.documentElement.style.setProperty(o, r);
|
|
209
219
|
});
|
|
210
220
|
}
|
|
211
221
|
export {
|
|
212
|
-
|
|
213
|
-
|
|
222
|
+
d as adminCssVar,
|
|
223
|
+
b as aplusCssVar,
|
|
214
224
|
i as generateCssVar,
|
|
215
225
|
u as setCSSVariables
|
|
216
226
|
};
|
|
@@ -259,6 +259,11 @@ export declare const APConfigProvider: {
|
|
|
259
259
|
primary: string;
|
|
260
260
|
};
|
|
261
261
|
};
|
|
262
|
+
'batch-input-group': {
|
|
263
|
+
trigger: {
|
|
264
|
+
color: string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
262
267
|
}>>;
|
|
263
268
|
default: () => {};
|
|
264
269
|
};
|
|
@@ -503,6 +508,11 @@ export declare const APConfigProvider: {
|
|
|
503
508
|
primary: string;
|
|
504
509
|
};
|
|
505
510
|
};
|
|
511
|
+
'batch-input-group': {
|
|
512
|
+
trigger: {
|
|
513
|
+
color: string;
|
|
514
|
+
};
|
|
515
|
+
};
|
|
506
516
|
}>>;
|
|
507
517
|
default: () => {};
|
|
508
518
|
};
|
|
@@ -641,6 +651,11 @@ export declare const APConfigProvider: {
|
|
|
641
651
|
primary: string;
|
|
642
652
|
};
|
|
643
653
|
};
|
|
654
|
+
'batch-input-group': {
|
|
655
|
+
trigger: {
|
|
656
|
+
color: string;
|
|
657
|
+
};
|
|
658
|
+
};
|
|
644
659
|
}>;
|
|
645
660
|
}, true, {}, {}, {
|
|
646
661
|
P: {};
|
|
@@ -890,6 +905,11 @@ export declare const APConfigProvider: {
|
|
|
890
905
|
primary: string;
|
|
891
906
|
};
|
|
892
907
|
};
|
|
908
|
+
'batch-input-group': {
|
|
909
|
+
trigger: {
|
|
910
|
+
color: string;
|
|
911
|
+
};
|
|
912
|
+
};
|
|
893
913
|
}>>;
|
|
894
914
|
default: () => {};
|
|
895
915
|
};
|
|
@@ -1028,6 +1048,11 @@ export declare const APConfigProvider: {
|
|
|
1028
1048
|
primary: string;
|
|
1029
1049
|
};
|
|
1030
1050
|
};
|
|
1051
|
+
'batch-input-group': {
|
|
1052
|
+
trigger: {
|
|
1053
|
+
color: string;
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1031
1056
|
}>;
|
|
1032
1057
|
}>;
|
|
1033
1058
|
__isFragment?: never;
|
|
@@ -1316,6 +1341,11 @@ export declare const APConfigProvider: {
|
|
|
1316
1341
|
primary: string;
|
|
1317
1342
|
};
|
|
1318
1343
|
};
|
|
1344
|
+
'batch-input-group': {
|
|
1345
|
+
trigger: {
|
|
1346
|
+
color: string;
|
|
1347
|
+
};
|
|
1348
|
+
};
|
|
1319
1349
|
}>;
|
|
1320
1350
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
1321
1351
|
$props: {
|