@yeepay/yee-boss-ui 0.1.0
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/README.md +155 -0
- package/dist/components/PlatformConfigProvider.vue.d.ts +23 -0
- package/dist/components/form/YeeForm.vue.d.ts +14 -0
- package/dist/components/form/form-api.d.ts +14 -0
- package/dist/components/form/index.d.ts +3 -0
- package/dist/components/form/types.d.ts +28 -0
- package/dist/components/grid/YeeGrid.vue.d.ts +134 -0
- package/dist/components/grid/index.d.ts +4 -0
- package/dist/components/grid/types.d.ts +42 -0
- package/dist/components/grid/use-yee-grid.d.ts +5 -0
- package/dist/components/grid/vxe-init.d.ts +1 -0
- package/dist/components/grid/yee-grid-api.d.ts +18 -0
- package/dist/components/page/YeePage.vue.d.ts +25 -0
- package/dist/components/page/index.d.ts +2 -0
- package/dist/components/page/types.d.ts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +479 -0
- package/dist/style.css +1 -0
- package/dist/tailwind-preset.d.ts +198 -0
- package/dist/tailwind-preset.js +155 -0
- package/dist/theme/ant-theme.d.ts +3 -0
- package/dist/theme/context.d.ts +4 -0
- package/dist/theme/css-variables.d.ts +3 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/tokens.d.ts +4 -0
- package/dist/theme/types.d.ts +68 -0
- package/dist/theme.css +126 -0
- package/dist/theme.d.ts +2 -0
- package/dist/theme.js +8 -0
- package/dist/tokens-Dj_CxJpe.js +235 -0
- package/package.json +77 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
import { inject as I, defineComponent as P, computed as c, provide as K, openBlock as i, createBlock as b, unref as g, withCtx as v, createElementVNode as V, normalizeStyle as j, renderSlot as f, shallowRef as w, createElementBlock as d, withModifiers as Q, Fragment as J, renderList as E, toDisplayString as T, mergeProps as $, createVNode as N, createTextVNode as x, createCommentVNode as h, reactive as W, useSlots as U, useTemplateRef as X, watch as Z, onMounted as ee, onUnmounted as te, withDirectives as oe, vShow as ae, toHandlers as se, createSlots as ie, normalizeProps as R, guardReactiveProps as H, onBeforeUnmount as le, h as re, normalizeClass as S } from "vue";
|
|
2
|
+
import { ConfigProvider as ne, DatePicker as ue, Input as ce, Select as me, Button as F, Tooltip as de } from "ant-design-vue";
|
|
3
|
+
import { r as pe, t as fe, a as he } from "./tokens-Dj_CxJpe.js";
|
|
4
|
+
import { d as rt, l as nt } from "./tokens-Dj_CxJpe.js";
|
|
5
|
+
import { VxeTable as ge, VxeColumn as ve, VxeColgroup as ye, VxeGrid as D, VxeToolbar as be, VxeUI as M } from "vxe-table";
|
|
6
|
+
import { VxeButton as Ve, VxeCheckbox as _e, VxeIcon as Te, VxeInput as Ce, VxeLoading as ke, VxeModal as xe, VxeNumberInput as Pe, VxePager as Se, VxeRadioGroup as $e, VxeSelect as Fe, VxeTooltip as we } from "vxe-pc-ui";
|
|
7
|
+
const z = /* @__PURE__ */ Symbol("platform-theme");
|
|
8
|
+
function tt() {
|
|
9
|
+
const t = I(z);
|
|
10
|
+
if (!t)
|
|
11
|
+
throw new Error("usePlatformTheme 必须在 PlatformConfigProvider 内使用。");
|
|
12
|
+
return t;
|
|
13
|
+
}
|
|
14
|
+
const Oe = ["data-theme"], Ye = /* @__PURE__ */ P({
|
|
15
|
+
name: "PlatformConfigProvider",
|
|
16
|
+
__name: "PlatformConfigProvider",
|
|
17
|
+
props: {
|
|
18
|
+
theme: { default: () => ({}) }
|
|
19
|
+
},
|
|
20
|
+
setup(t) {
|
|
21
|
+
const e = t, o = c(() => pe(e.theme)), s = c(() => fe(o.value)), n = c(() => he(o.value));
|
|
22
|
+
return K(z, o), (l, m) => (i(), b(g(ne), { theme: s.value }, {
|
|
23
|
+
default: v(() => [
|
|
24
|
+
V("div", {
|
|
25
|
+
class: "yee-platform-theme",
|
|
26
|
+
"data-theme": o.value.mode,
|
|
27
|
+
style: j(n.value)
|
|
28
|
+
}, [
|
|
29
|
+
f(l.$slots, "default", {}, void 0, !0)
|
|
30
|
+
], 12, Oe)
|
|
31
|
+
]),
|
|
32
|
+
_: 3
|
|
33
|
+
}, 8, ["theme"]));
|
|
34
|
+
}
|
|
35
|
+
}), O = (t, e) => {
|
|
36
|
+
const o = t.__vccOpts || t;
|
|
37
|
+
for (const [s, n] of e)
|
|
38
|
+
o[s] = n;
|
|
39
|
+
return o;
|
|
40
|
+
}, ot = /* @__PURE__ */ O(Ye, [["__scopeId", "data-v-36f21f18"]]), Ae = { class: "yee-form__fields" }, Ge = { class: "yee-form__label" }, Re = { class: "yee-form__actions" }, He = /* @__PURE__ */ P({
|
|
41
|
+
name: "YeeForm",
|
|
42
|
+
__name: "YeeForm",
|
|
43
|
+
props: {
|
|
44
|
+
api: {},
|
|
45
|
+
onReset: { type: Function },
|
|
46
|
+
onSubmit: { type: Function },
|
|
47
|
+
options: {}
|
|
48
|
+
},
|
|
49
|
+
setup(t) {
|
|
50
|
+
const e = t, o = ue.RangePicker, s = w(e.options.collapsed ?? !0);
|
|
51
|
+
e.api.configure(e.options);
|
|
52
|
+
const n = c(() => e.api.schema.value.filter((u) => !u.hide));
|
|
53
|
+
function l(u) {
|
|
54
|
+
return e.api.getFieldValue(u.fieldName);
|
|
55
|
+
}
|
|
56
|
+
function m(u) {
|
|
57
|
+
const p = l(u);
|
|
58
|
+
return {
|
|
59
|
+
...u.componentProps,
|
|
60
|
+
...p === void 0 ? {} : { value: p }
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function C(u, p) {
|
|
64
|
+
e.api.setFieldValue(u.fieldName, p), e.options.submitOnChange && k();
|
|
65
|
+
}
|
|
66
|
+
async function Y() {
|
|
67
|
+
e.api.resetForm(), await e.onReset?.();
|
|
68
|
+
}
|
|
69
|
+
async function k() {
|
|
70
|
+
await e.onSubmit?.(e.api.getValues());
|
|
71
|
+
}
|
|
72
|
+
function A(u) {
|
|
73
|
+
u.key === "Enter" && e.options.submitOnEnter && (u.preventDefault(), k());
|
|
74
|
+
}
|
|
75
|
+
function G() {
|
|
76
|
+
s.value = !s.value, e.options.handleCollapsedChange?.(s.value);
|
|
77
|
+
}
|
|
78
|
+
return (u, p) => (i(), d("form", {
|
|
79
|
+
class: "yee-form",
|
|
80
|
+
onKeydown: A,
|
|
81
|
+
onSubmit: Q(k, ["prevent"])
|
|
82
|
+
}, [
|
|
83
|
+
V("div", Ae, [
|
|
84
|
+
(i(!0), d(J, null, E(n.value, (a) => (i(), d("label", {
|
|
85
|
+
key: a.fieldName,
|
|
86
|
+
class: "yee-form__field"
|
|
87
|
+
}, [
|
|
88
|
+
V("span", Ge, T(a.label), 1),
|
|
89
|
+
a.component === "Input" ? (i(), b(g(ce), $({
|
|
90
|
+
key: 0,
|
|
91
|
+
ref_for: !0
|
|
92
|
+
}, m(a), {
|
|
93
|
+
"onUpdate:value": (r) => C(a, r)
|
|
94
|
+
}), null, 16, ["onUpdate:value"])) : a.component === "Select" ? (i(), b(g(me), $({
|
|
95
|
+
key: 1,
|
|
96
|
+
ref_for: !0
|
|
97
|
+
}, m(a), {
|
|
98
|
+
"onUpdate:value": (r) => C(a, r)
|
|
99
|
+
}), null, 16, ["onUpdate:value"])) : (i(), b(g(o), $({
|
|
100
|
+
key: 2,
|
|
101
|
+
ref_for: !0
|
|
102
|
+
}, m(a), {
|
|
103
|
+
"onUpdate:value": (r) => C(a, r)
|
|
104
|
+
}), null, 16, ["onUpdate:value"]))
|
|
105
|
+
]))), 128))
|
|
106
|
+
]),
|
|
107
|
+
V("div", Re, [
|
|
108
|
+
N(g(F), {
|
|
109
|
+
"html-type": "button",
|
|
110
|
+
onClick: Y
|
|
111
|
+
}, {
|
|
112
|
+
default: v(() => [...p[0] || (p[0] = [
|
|
113
|
+
x(" 重置 ", -1)
|
|
114
|
+
])]),
|
|
115
|
+
_: 1
|
|
116
|
+
}),
|
|
117
|
+
N(g(F), {
|
|
118
|
+
type: "primary",
|
|
119
|
+
"html-type": "submit"
|
|
120
|
+
}, {
|
|
121
|
+
default: v(() => [...p[1] || (p[1] = [
|
|
122
|
+
x(" 查询 ", -1)
|
|
123
|
+
])]),
|
|
124
|
+
_: 1
|
|
125
|
+
}),
|
|
126
|
+
t.options.showCollapseButton ? (i(), b(g(F), {
|
|
127
|
+
key: 0,
|
|
128
|
+
type: "link",
|
|
129
|
+
"html-type": "button",
|
|
130
|
+
onClick: G
|
|
131
|
+
}, {
|
|
132
|
+
default: v(() => [
|
|
133
|
+
x(T(s.value ? "展开" : "收起"), 1)
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
})) : h("", !0)
|
|
137
|
+
])
|
|
138
|
+
], 32));
|
|
139
|
+
}
|
|
140
|
+
}), Ne = /* @__PURE__ */ O(He, [["__scopeId", "data-v-12e77340"]]);
|
|
141
|
+
class ze {
|
|
142
|
+
schema = w([]);
|
|
143
|
+
initialValues = {};
|
|
144
|
+
values = W({});
|
|
145
|
+
configure(e) {
|
|
146
|
+
this.schema.value = e.schema.map((o) => ({ ...o })), this.initialValues = { ...e.initialValues }, this.resetForm();
|
|
147
|
+
}
|
|
148
|
+
getFieldValue(e) {
|
|
149
|
+
return this.values[e];
|
|
150
|
+
}
|
|
151
|
+
getValues() {
|
|
152
|
+
return { ...this.values };
|
|
153
|
+
}
|
|
154
|
+
resetForm() {
|
|
155
|
+
for (const e of Object.keys(this.values))
|
|
156
|
+
delete this.values[e];
|
|
157
|
+
Object.assign(this.values, this.initialValues);
|
|
158
|
+
}
|
|
159
|
+
setFieldValue(e, o) {
|
|
160
|
+
this.values[e] = o;
|
|
161
|
+
}
|
|
162
|
+
setValues(e) {
|
|
163
|
+
Object.assign(this.values, e);
|
|
164
|
+
}
|
|
165
|
+
updateSchema(e) {
|
|
166
|
+
const o = new Map(e.map((s) => [s.fieldName, s]));
|
|
167
|
+
this.schema.value = this.schema.value.map((s) => ({
|
|
168
|
+
...s,
|
|
169
|
+
...o.get(s.fieldName)
|
|
170
|
+
}));
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
class Be {
|
|
174
|
+
formApi = new ze();
|
|
175
|
+
searchFormVisible;
|
|
176
|
+
state;
|
|
177
|
+
grid;
|
|
178
|
+
constructor(e) {
|
|
179
|
+
this.state = w(e), this.searchFormVisible = w(e.showSearchForm ?? !0);
|
|
180
|
+
}
|
|
181
|
+
mount(e) {
|
|
182
|
+
this.grid = e;
|
|
183
|
+
}
|
|
184
|
+
query = async (e) => (e && this.formApi.setValues(e), this.grid?.commitProxy("query"));
|
|
185
|
+
reload = async (e) => (e && this.formApi.setValues(e), this.grid?.commitProxy("reload"));
|
|
186
|
+
setGridOptions(e) {
|
|
187
|
+
this.setState({
|
|
188
|
+
gridOptions: {
|
|
189
|
+
...this.state.value.gridOptions,
|
|
190
|
+
...e
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
setLoading(e) {
|
|
195
|
+
this.setGridOptions({ loading: e });
|
|
196
|
+
}
|
|
197
|
+
setState(e) {
|
|
198
|
+
this.state.value = {
|
|
199
|
+
...this.state.value,
|
|
200
|
+
...e
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
toggleSearchForm(e) {
|
|
204
|
+
return this.searchFormVisible.value = e ?? !this.searchFormVisible.value, this.searchFormVisible.value;
|
|
205
|
+
}
|
|
206
|
+
unmount() {
|
|
207
|
+
this.grid = void 0;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
let B = !1;
|
|
211
|
+
function q() {
|
|
212
|
+
if (B) return;
|
|
213
|
+
[
|
|
214
|
+
ge,
|
|
215
|
+
ve,
|
|
216
|
+
ye,
|
|
217
|
+
D,
|
|
218
|
+
be,
|
|
219
|
+
Ve,
|
|
220
|
+
_e,
|
|
221
|
+
Te,
|
|
222
|
+
Ce,
|
|
223
|
+
ke,
|
|
224
|
+
xe,
|
|
225
|
+
Pe,
|
|
226
|
+
Se,
|
|
227
|
+
$e,
|
|
228
|
+
Fe,
|
|
229
|
+
we
|
|
230
|
+
].forEach((e) => M.component(e)), B = !0;
|
|
231
|
+
}
|
|
232
|
+
const Ie = { class: "yee-grid" }, je = {
|
|
233
|
+
key: 1,
|
|
234
|
+
class: "yee-grid__separator"
|
|
235
|
+
}, Ee = {
|
|
236
|
+
key: 0,
|
|
237
|
+
class: "yee-grid__title"
|
|
238
|
+
}, Ue = /* @__PURE__ */ P({
|
|
239
|
+
name: "YeeGrid",
|
|
240
|
+
__name: "YeeGrid",
|
|
241
|
+
props: {
|
|
242
|
+
api: {},
|
|
243
|
+
tableTitle: {},
|
|
244
|
+
tableTitleHelp: {}
|
|
245
|
+
},
|
|
246
|
+
setup(t) {
|
|
247
|
+
const e = t, o = U(), s = X("gridRef"), n = I(z);
|
|
248
|
+
q();
|
|
249
|
+
const l = c(() => e.api.state.value), m = c(() => l.value.formOptions), C = c(() => !!(e.tableTitle || o["table-title"] || o["toolbar-actions"] || o["toolbar-tools"])), Y = c(() => Object.keys(o).filter((a) => ![
|
|
250
|
+
"empty",
|
|
251
|
+
"loading",
|
|
252
|
+
"table-title",
|
|
253
|
+
"toolbar-actions",
|
|
254
|
+
"toolbar-tools"
|
|
255
|
+
].includes(a))), k = c(() => !!l.value.gridOptions.toolbarConfig?.search), A = c(() => {
|
|
256
|
+
const a = l.value.gridOptions, r = a.proxyConfig, y = r?.ajax?.query, _ = a.toolbarConfig;
|
|
257
|
+
return {
|
|
258
|
+
align: "left",
|
|
259
|
+
border: "inner",
|
|
260
|
+
minHeight: 180,
|
|
261
|
+
showOverflow: "tooltip",
|
|
262
|
+
size: "medium",
|
|
263
|
+
...a,
|
|
264
|
+
...a.pagerConfig ? {
|
|
265
|
+
pagerConfig: {
|
|
266
|
+
pageSize: 20,
|
|
267
|
+
pageSizes: [10, 20, 30, 50, 100, 200],
|
|
268
|
+
layouts: ["Total", "Sizes", "PrevPage", "Number", "NextPage"],
|
|
269
|
+
...a.pagerConfig
|
|
270
|
+
}
|
|
271
|
+
} : {},
|
|
272
|
+
...r ? {
|
|
273
|
+
proxyConfig: {
|
|
274
|
+
autoLoad: !0,
|
|
275
|
+
showResponseMsg: !1,
|
|
276
|
+
...r,
|
|
277
|
+
response: {
|
|
278
|
+
list: "items",
|
|
279
|
+
result: "items",
|
|
280
|
+
total: "total",
|
|
281
|
+
...r.response
|
|
282
|
+
},
|
|
283
|
+
...r.ajax ? {
|
|
284
|
+
ajax: {
|
|
285
|
+
...r.ajax,
|
|
286
|
+
...y ? {
|
|
287
|
+
query: (L) => y(L, e.api.formApi.getValues())
|
|
288
|
+
} : {}
|
|
289
|
+
}
|
|
290
|
+
} : {}
|
|
291
|
+
}
|
|
292
|
+
} : {},
|
|
293
|
+
..._ || C.value ? {
|
|
294
|
+
toolbarConfig: {
|
|
295
|
+
custom: !0,
|
|
296
|
+
refresh: !0,
|
|
297
|
+
zoom: !0,
|
|
298
|
+
..._,
|
|
299
|
+
slots: {
|
|
300
|
+
...e.tableTitle || o["table-title"] || o["toolbar-actions"] ? { buttons: "toolbarActions" } : {},
|
|
301
|
+
...o["toolbar-tools"] || _?.search ? { tools: "toolbarTools" } : {}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
} : {}
|
|
305
|
+
};
|
|
306
|
+
}), G = c(() => l.value.gridEvents ?? {});
|
|
307
|
+
Z(
|
|
308
|
+
() => n?.value.mode ?? "light",
|
|
309
|
+
(a) => M.setTheme(a),
|
|
310
|
+
{ immediate: !0 }
|
|
311
|
+
);
|
|
312
|
+
async function u() {
|
|
313
|
+
await e.api.reload();
|
|
314
|
+
}
|
|
315
|
+
async function p() {
|
|
316
|
+
await e.api.reload();
|
|
317
|
+
}
|
|
318
|
+
return ee(() => {
|
|
319
|
+
s.value && e.api.mount(s.value);
|
|
320
|
+
}), te(() => e.api.unmount()), (a, r) => (i(), d("section", Ie, [
|
|
321
|
+
m.value ? oe((i(), b(Ne, {
|
|
322
|
+
key: 0,
|
|
323
|
+
api: t.api.formApi,
|
|
324
|
+
options: m.value,
|
|
325
|
+
"on-reset": p,
|
|
326
|
+
"on-submit": u
|
|
327
|
+
}, null, 8, ["api", "options"])), [
|
|
328
|
+
[ae, t.api.searchFormVisible.value]
|
|
329
|
+
]) : h("", !0),
|
|
330
|
+
m.value && l.value.separator !== !1 ? (i(), d("div", je)) : h("", !0),
|
|
331
|
+
N(g(D), $({
|
|
332
|
+
ref_key: "gridRef",
|
|
333
|
+
ref: s,
|
|
334
|
+
class: "yee-grid__table"
|
|
335
|
+
}, A.value, se(G.value)), ie({
|
|
336
|
+
toolbarActions: v((y) => [
|
|
337
|
+
f(a.$slots, "table-title", {}, () => [
|
|
338
|
+
t.tableTitle ? (i(), d("div", Ee, [
|
|
339
|
+
x(T(t.tableTitle) + " ", 1),
|
|
340
|
+
t.tableTitleHelp ? (i(), b(g(de), {
|
|
341
|
+
key: 0,
|
|
342
|
+
title: t.tableTitleHelp
|
|
343
|
+
}, {
|
|
344
|
+
default: v(() => [...r[1] || (r[1] = [
|
|
345
|
+
V("span", {
|
|
346
|
+
class: "yee-grid__help",
|
|
347
|
+
tabindex: "0"
|
|
348
|
+
}, "?", -1)
|
|
349
|
+
])]),
|
|
350
|
+
_: 1
|
|
351
|
+
}, 8, ["title"])) : h("", !0)
|
|
352
|
+
])) : h("", !0)
|
|
353
|
+
], !0),
|
|
354
|
+
f(a.$slots, "toolbar-actions", R(H(y)), void 0, !0)
|
|
355
|
+
]),
|
|
356
|
+
toolbarTools: v((y) => [
|
|
357
|
+
f(a.$slots, "toolbar-tools", R(H(y)), void 0, !0),
|
|
358
|
+
k.value && m.value ? (i(), b(g(F), {
|
|
359
|
+
key: 0,
|
|
360
|
+
size: "small",
|
|
361
|
+
onClick: r[0] || (r[0] = (_) => t.api.toggleSearchForm())
|
|
362
|
+
}, {
|
|
363
|
+
default: v(() => [
|
|
364
|
+
x(T(t.api.searchFormVisible.value ? "隐藏查询" : "显示查询"), 1)
|
|
365
|
+
]),
|
|
366
|
+
_: 1
|
|
367
|
+
})) : h("", !0)
|
|
368
|
+
]),
|
|
369
|
+
empty: v(() => [
|
|
370
|
+
f(a.$slots, "empty", {}, () => [
|
|
371
|
+
r[2] || (r[2] = V("div", { class: "yee-grid__empty" }, "暂无数据", -1))
|
|
372
|
+
], !0)
|
|
373
|
+
]),
|
|
374
|
+
_: 2
|
|
375
|
+
}, [
|
|
376
|
+
E(Y.value, (y) => ({
|
|
377
|
+
name: y,
|
|
378
|
+
fn: v((_) => [
|
|
379
|
+
f(a.$slots, y, R(H(_)), void 0, !0)
|
|
380
|
+
])
|
|
381
|
+
}))
|
|
382
|
+
]), 1040)
|
|
383
|
+
]));
|
|
384
|
+
}
|
|
385
|
+
}), De = /* @__PURE__ */ O(Ue, [["__scopeId", "data-v-d97be924"]]);
|
|
386
|
+
function at(t) {
|
|
387
|
+
q();
|
|
388
|
+
const e = new Be(t), o = De;
|
|
389
|
+
return [P({
|
|
390
|
+
name: "YeeGrid",
|
|
391
|
+
inheritAttrs: !1,
|
|
392
|
+
props: {
|
|
393
|
+
tableTitle: String,
|
|
394
|
+
tableTitleHelp: String
|
|
395
|
+
},
|
|
396
|
+
setup(n, { attrs: l, slots: m }) {
|
|
397
|
+
return le(() => e.unmount()), () => re(o, {
|
|
398
|
+
...l,
|
|
399
|
+
api: e,
|
|
400
|
+
...n.tableTitle ? { tableTitle: n.tableTitle } : {},
|
|
401
|
+
...n.tableTitleHelp ? { tableTitleHelp: n.tableTitleHelp } : {}
|
|
402
|
+
}, m);
|
|
403
|
+
}
|
|
404
|
+
}), e];
|
|
405
|
+
}
|
|
406
|
+
const Me = { class: "yee-page__heading" }, qe = {
|
|
407
|
+
key: 0,
|
|
408
|
+
class: "yee-page__title"
|
|
409
|
+
}, Le = {
|
|
410
|
+
key: 0,
|
|
411
|
+
class: "yee-page__description"
|
|
412
|
+
}, Ke = {
|
|
413
|
+
key: 0,
|
|
414
|
+
class: "yee-page__extra"
|
|
415
|
+
}, Qe = /* @__PURE__ */ P({
|
|
416
|
+
name: "YeePage",
|
|
417
|
+
__name: "YeePage",
|
|
418
|
+
props: {
|
|
419
|
+
autoContentHeight: { type: Boolean, default: !1 },
|
|
420
|
+
contentClass: {},
|
|
421
|
+
description: {},
|
|
422
|
+
footerClass: {},
|
|
423
|
+
headerClass: {},
|
|
424
|
+
heightOffset: { default: 0 },
|
|
425
|
+
title: {}
|
|
426
|
+
},
|
|
427
|
+
setup(t) {
|
|
428
|
+
const e = t, o = U(), s = c(() => !!(e.description || e.title || o.description || o.extra || o.title)), n = c(() => ({
|
|
429
|
+
"--yee-page-height-offset": typeof e.heightOffset == "number" ? `${e.heightOffset}px` : e.heightOffset
|
|
430
|
+
}));
|
|
431
|
+
return (l, m) => (i(), d("section", {
|
|
432
|
+
class: S(["yee-page", { "yee-page--auto-height": t.autoContentHeight }]),
|
|
433
|
+
style: j(n.value)
|
|
434
|
+
}, [
|
|
435
|
+
s.value ? (i(), d("header", {
|
|
436
|
+
key: 0,
|
|
437
|
+
class: S(["yee-page__header", t.headerClass])
|
|
438
|
+
}, [
|
|
439
|
+
V("div", Me, [
|
|
440
|
+
f(l.$slots, "title", {}, () => [
|
|
441
|
+
t.title ? (i(), d("h1", qe, T(t.title), 1)) : h("", !0)
|
|
442
|
+
], !0),
|
|
443
|
+
f(l.$slots, "description", {}, () => [
|
|
444
|
+
t.description ? (i(), d("p", Le, T(t.description), 1)) : h("", !0)
|
|
445
|
+
], !0)
|
|
446
|
+
]),
|
|
447
|
+
l.$slots.extra ? (i(), d("div", Ke, [
|
|
448
|
+
f(l.$slots, "extra", {}, void 0, !0)
|
|
449
|
+
])) : h("", !0)
|
|
450
|
+
], 2)) : h("", !0),
|
|
451
|
+
V("main", {
|
|
452
|
+
class: S(["yee-page__content", t.contentClass])
|
|
453
|
+
}, [
|
|
454
|
+
f(l.$slots, "default", {}, void 0, !0)
|
|
455
|
+
], 2),
|
|
456
|
+
l.$slots.footer ? (i(), d("footer", {
|
|
457
|
+
key: 1,
|
|
458
|
+
class: S(["yee-page__footer", t.footerClass])
|
|
459
|
+
}, [
|
|
460
|
+
f(l.$slots, "footer", {}, void 0, !0)
|
|
461
|
+
], 2)) : h("", !0)
|
|
462
|
+
], 6));
|
|
463
|
+
}
|
|
464
|
+
}), st = /* @__PURE__ */ O(Qe, [["__scopeId", "data-v-192f344d"]]);
|
|
465
|
+
export {
|
|
466
|
+
ot as PlatformConfigProvider,
|
|
467
|
+
Ne as YeeForm,
|
|
468
|
+
ze as YeeFormApi,
|
|
469
|
+
Be as YeeGridApi,
|
|
470
|
+
st as YeePage,
|
|
471
|
+
rt as darkThemeTokens,
|
|
472
|
+
nt as lightThemeTokens,
|
|
473
|
+
z as platformThemeKey,
|
|
474
|
+
pe as resolvePlatformTheme,
|
|
475
|
+
fe as toAntDesignTheme,
|
|
476
|
+
he as toPlatformCssVariables,
|
|
477
|
+
tt as usePlatformTheme,
|
|
478
|
+
at as useYeeGrid
|
|
479
|
+
};
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root,[data-theme=light]{--yee-accent: hsl(240 5% 96%);--yee-accent-dark: hsl(216 14% 93%);--yee-accent-darker: hsl(216 11% 91%);--yee-accent-foreground: hsl(240 6% 10%);--yee-accent-hover: hsl(200 10% 90%);--yee-accent-lighter: hsl(240 0% 98%);--yee-background: hsl(0 0% 100%);--yee-background-deep: hsl(216 20.11% 95.47%);--yee-border: hsl(240 5.9% 90%);--yee-border-secondary: hsl(240 5% 94%);--yee-card: hsl(0 0% 100%);--yee-card-foreground: hsl(222.2 84% 4.9%);--yee-control-height: 32px;--yee-destructive: hsl(359.33 100% 65.1%);--yee-destructive-background: hsl(4 100% 97%);--yee-destructive-foreground: hsl(0 0% 98%);--yee-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--yee-font-size: 14px;--yee-font-size-lg: 16px;--yee-font-size-root: 16px;--yee-font-size-sm: 12px;--yee-foreground: hsl(210 6% 21%);--yee-foreground-disabled: hsl(210 6% 21% / 35%);--yee-header: hsl(0 0% 100%);--yee-heavy: hsl(192 9.43% 89.61%);--yee-heavy-foreground: hsl(240 6% 10%);--yee-info: hsl(240 5% 96%);--yee-info-foreground: hsl(220 4% 58%);--yee-input: hsl(240 5.88% 90%);--yee-input-background: hsl(0 0% 100%);--yee-input-placeholder: hsl(217 10.6% 65%);--yee-line-height: 1.5715;--yee-muted: hsl(240 4.8% 95.9%);--yee-muted-foreground: hsl(240 3.8% 46.1%);--yee-overlay: hsl(0 0% 0% / 45%);--yee-overlay-content: hsl(0 0% 95% / 45%);--yee-popover: hsl(0 0% 100%);--yee-popover-foreground: hsl(222.2 84% 4.9%);--yee-popup-z-index: 999;--yee-primary: hsl(212 100% 45%);--yee-primary-active: hsl(212 100% 36%);--yee-primary-foreground: hsl(0 0% 98%);--yee-primary-hover: hsl(212 100% 55%);--yee-radius: 8px;--yee-radius-lg: 12px;--yee-radius-sm: 4px;--yee-ring: hsl(212 100% 45%);--yee-secondary: hsl(240 5% 96%);--yee-secondary-foreground: hsl(240 6% 10%);--yee-shadow: 0 6px 16px 0 rgb(0 0 0 / 8%);--yee-shadow-secondary: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%);--yee-sidebar: hsl(0 0% 100%);--yee-sidebar-deep: hsl(0 0% 100%);--yee-success: hsl(144 57% 58%);--yee-success-foreground: hsl(0 0% 98%);--yee-warning: hsl(42 84% 61%);--yee-warning-foreground: hsl(0 0% 98%);accent-color:var(--yee-primary);color-scheme:light}html.dark,[data-theme=dark]{--yee-accent: hsl(216 5% 19%);--yee-accent-dark: hsl(240 0% 22%);--yee-accent-darker: hsl(240 0% 26%);--yee-accent-foreground: hsl(0 0% 98%);--yee-accent-hover: hsl(216 5% 24%);--yee-accent-lighter: hsl(216 5% 12%);--yee-background: hsl(222.34 10.43% 12.27%);--yee-background-deep: hsl(220 13.06% 9%);--yee-border: hsl(240 3.7% 22%);--yee-border-secondary: hsl(240 3.7% 18%);--yee-card: hsl(222.34 10.43% 12.27%);--yee-card-foreground: hsl(210 40% 98%);--yee-control-height: 32px;--yee-destructive: hsl(359.21 68.47% 56.47%);--yee-destructive-background: hsl(353 41% 12%);--yee-destructive-foreground: hsl(0 0% 98%);--yee-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--yee-font-size: 14px;--yee-font-size-lg: 16px;--yee-font-size-root: 16px;--yee-font-size-sm: 12px;--yee-foreground: hsl(0 0% 95%);--yee-foreground-disabled: hsl(0 0% 95% / 30%);--yee-header: hsl(222.34 10.43% 12.27%);--yee-heavy: hsl(216 5% 24%);--yee-heavy-foreground: hsl(0 0% 98%);--yee-info: hsl(180 1.54% 12.75%);--yee-info-foreground: hsl(220 4% 58%);--yee-input: hsl(0 0% 100% / 10%);--yee-input-background: hsl(0 0% 100% / 5%);--yee-input-placeholder: hsl(218 11% 65%);--yee-line-height: 1.5715;--yee-muted: hsl(240 3.7% 15.9%);--yee-muted-foreground: hsl(240 5% 64.9%);--yee-overlay: hsl(0 0% 0% / 40%);--yee-overlay-content: hsl(0 0% 0% / 40%);--yee-popover: hsl(0 0% 14.2%);--yee-popover-foreground: hsl(210 40% 98%);--yee-popup-z-index: 999;--yee-primary: hsl(212 100% 45%);--yee-primary-active: hsl(212 100% 65%);--yee-primary-foreground: hsl(0 0% 98%);--yee-primary-hover: hsl(212 100% 55%);--yee-radius: 8px;--yee-radius-lg: 12px;--yee-radius-sm: 4px;--yee-ring: hsl(212 100% 55%);--yee-secondary: hsl(240 5% 17%);--yee-secondary-foreground: hsl(0 0% 98%);--yee-shadow: 0 6px 16px 0 rgb(0 0 0 / 32%);--yee-shadow-secondary: 0 3px 6px -4px rgb(0 0 0 / 48%), 0 6px 16px 0 rgb(0 0 0 / 32%);--yee-sidebar: hsl(222.34 10.43% 12.27%);--yee-sidebar-deep: hsl(220 13.06% 9%);--yee-success: hsl(144 57% 58%);--yee-success-foreground: hsl(0 0% 98%);--yee-warning: hsl(42 84% 61%);--yee-warning-foreground: hsl(0 0% 98%);color-scheme:dark}.yee-platform-theme[data-v-36f21f18]{display:contents}.yee-form[data-v-12e77340]{display:flex;gap:16px;align-items:flex-start;padding:16px;background:var(--yee-card)}.yee-form__fields[data-v-12e77340]{display:grid;flex:1 1 auto;grid-template-columns:repeat(3,minmax(220px,1fr));gap:16px 24px;min-width:0}.yee-form__field[data-v-12e77340]{display:grid;grid-template-columns:minmax(72px,auto) minmax(0,1fr);gap:8px;align-items:center;min-width:0}.yee-form__label[data-v-12e77340]{color:var(--yee-foreground);font-size:var(--yee-font-size);white-space:nowrap}.yee-form__actions[data-v-12e77340]{display:flex;flex:0 0 auto;gap:8px;align-items:center}@media not (min-width:1200px){.yee-form[data-v-12e77340]{flex-direction:column}.yee-form__fields[data-v-12e77340]{width:100%;grid-template-columns:repeat(2,minmax(220px,1fr))}}@media not (min-width:720px){.yee-form__fields[data-v-12e77340]{grid-template-columns:minmax(0,1fr)}}:root{--vxe-ui-font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;--vxe-ui-font-size-large: 15px;--vxe-ui-font-size-default: 14px;--vxe-ui-font-size-medium: 14px;--vxe-ui-font-size-small: 13px;--vxe-ui-font-size-mini: 12px;--vxe-ui-font-secondary-color: #909399;--vxe-ui-font-placeholder-color: #a8abb2;--vxe-ui-base-border-radius: 4px;--vxe-ui-base-margin-gap-default: 8px;--vxe-ui-base-margin-gap-medium: 7px;--vxe-ui-base-margin-gap-small: 6px;--vxe-ui-base-margin-gap-mini: 5px;--vxe-ui-layout-padding-qtr: 2px;--vxe-ui-layout-padding-half: 4px;--vxe-ui-layout-padding-default: 8px;--vxe-ui-layout-padding-double: 16px;--vxe-ui-layout-padding-threefold: 24px;--vxe-ui-layout-aside-default-width: 300px;--vxe-ui-layout-aside-collapse-width: 60px;--vxe-ui-menu-item-height-default: 44px;--vxe-ui-menu-item-height-medium: 40px;--vxe-ui-menu-item-height-small: 36px;--vxe-ui-menu-item-height-mini: 32px;--vxe-ui-menu-icon-width: 1.5em;--vxe-ui-button-max-width: 500px;--vxe-ui-button-height-default: 34px;--vxe-ui-button-height-medium: 32px;--vxe-ui-button-height-small: 30px;--vxe-ui-button-height-mini: 28px;--vxe-ui-button-round-border-radius-default: 17px;--vxe-ui-button-round-border-radius-medium: 16px;--vxe-ui-button-round-border-radius-small: 15px;--vxe-ui-button-round-border-radius-mini: 14px;--vxe-ui-input-disabled-color: #dcdfe6;--vxe-ui-input-number-disabled-color: #e4e7ed;--vxe-ui-input-date-festival-color: #abaaaa;--vxe-ui-input-date-festival-important-color: var(--vxe-ui-font-primary-color);--vxe-ui-input-date-notice-background-color: #FF0000;--vxe-ui-input-date-picker-hover-background-color: #f2f6fc;--vxe-ui-input-date-picker-selected-color: #fff;--vxe-ui-input-date-time-confirm-button-color: #fff;--vxe-ui-input-date-picker-festival-selected-color: var(--vxe-ui-input-date-picker-selected-color);--vxe-ui-input-date-picker-notice-selected-background-color: var(--vxe-ui-input-date-picker-selected-color);--vxe-ui-input-date-extra-color: #67c23a;--vxe-ui-input-date-extra-important-color: #fd2222;--vxe-ui-input-date-title-height-default: 30px;--vxe-ui-input-date-title-height-medium: 29px;--vxe-ui-input-date-title-height-small: 28px;--vxe-ui-input-date-title-height-mini: 26px;--vxe-ui-input-date-time-week-row-height-default: 38px;--vxe-ui-input-date-time-week-row-height-medium: 36px;--vxe-ui-input-date-time-week-row-height-small: 34px;--vxe-ui-input-date-time-week-row-height-mini: 32px;--vxe-ui-input-date-month-year-row-height-default: 48px;--vxe-ui-input-date-month-year-row-height-medium: 46px;--vxe-ui-input-date-month-year-row-height-small: 44px;--vxe-ui-input-date-month-year-row-height-mini: 42px;--vxe-ui-input-date-quarter-row-height-default: 60px;--vxe-ui-input-date-quarter-row-height-medium: 58px;--vxe-ui-input-date-quarter-row-height-small: 56px;--vxe-ui-input-date-quarter-row-height-mini: 54px;--vxe-ui-input-height-default: var(--vxe-ui-button-height-default);--vxe-ui-input-height-medium: var(--vxe-ui-button-height-medium);--vxe-ui-input-height-small: var(--vxe-ui-button-height-small);--vxe-ui-input-height-mini: var(--vxe-ui-button-height-mini);--vxe-ui-input-count-color: #999;--vxe-ui-input-count-error-color: var(--vxe-ui-status-error-color);--vxe-ui-anchor-link-color: var(--vxe-ui-font-secondary-color);--vxe-ui-anchor-link-active-color: var(--vxe-ui-font-primary-color);--vxe-ui-breadcrumb-color: var(--vxe-ui-font-secondary-color);--vxe-ui-breadcrumb-current-item-color: var(--vxe-ui-font-color);--vxe-ui-loading-color: var(--vxe-ui-font-primary-color);--vxe-ui-tooltip-dark-color: #fff;--vxe-ui-tooltip-dark-background-color: #303133;--vxe-ui-form-item-min-height-default: 56px;--vxe-ui-form-item-min-height-medium: 52px;--vxe-ui-form-item-min-height-small: 48px;--vxe-ui-form-item-min-height-mini: 44px;--vxe-ui-form-validate-error-color: var(--vxe-ui-status-error-color);--vxe-ui-form-item-padding-default: 8px;--vxe-ui-form-item-padding-medium: 7px;--vxe-ui-form-item-padding-small: 6px;--vxe-ui-form-item-padding-mini: 5px;--vxe-ui-form-validate-error-background-color: inherit;--vxe-ui-form-validate-error-theme-normal-background-color: var(--vxe-ui-layout-background-color);--vxe-ui-form-validate-error-item-background-color: rgba(245, 108,108, .1);--vxe-ui-form-design-widget-item-font-size: .9em;--vxe-ui-checkbox-font-size-default: 15px;--vxe-ui-checkbox-font-size-medium: 14px;--vxe-ui-checkbox-font-size-small: 13px;--vxe-ui-checkbox-font-size-mini: 12px;--vxe-ui-checkbox-checked-width: .32em;--vxe-ui-checkbox-checked-height: .64em;--vxe-ui-checkbox-indeterminate-width: .6em;--vxe-ui-checkbox-indeterminate-height: 2px;--vxe-ui-checkbox-border-width: 2px;--vxe-ui-checkbox-border-radius: 2px;--vxe-ui-checkbox-icon-background-color: #fff;--vxe-ui-checkbox-checked-icon-border-color: #fff;--vxe-ui-checkbox-indeterminate-icon-background-color: #fff;--vxe-ui-radio-font-size-default: 15px;--vxe-ui-radio-font-size-medium: 14px;--vxe-ui-radio-font-size-small: 13px;--vxe-ui-radio-font-size-mini: 12px;--vxe-ui-radio-border-width: .32em;--vxe-ui-radio-icon-background-color: #fff;--vxe-ui-radio-checked-icon-background-color: #fff;--vxe-ui-radio-indeterminate-icon-background-color: #fff;--vxe-ui-select-option-height-default: 30px;--vxe-ui-select-option-height-medium: 28px;--vxe-ui-select-option-height-small: 26px;--vxe-ui-select-option-height-mini: 24px;--vxe-ui-select-empty-color: #C0C4CC;--vxe-ui-select-title-color: #909399;--vxe-ui-pulldown-option-height-default: var(--vxe-ui-select-option-height-default);--vxe-ui-pulldown-option-height-medium: var(--vxe-ui-select-option-height-medium);--vxe-ui-pulldown-option-height-small: var(--vxe-ui-select-option-height-small);--vxe-ui-pulldown-option-height-mini: var(--vxe-ui-select-option-height-mini);--vxe-ui-switch-font-color: #fff;--vxe-ui-switch-icon-background-color: #fff;--vxe-ui-switch-open-background-color: var(--vxe-ui-font-primary-color);--vxe-ui-switch-disabled-background-color: rgba(0,0,0,.15);--vxe-ui-upload-file-button-border-style: dashed;--vxe-ui-upload-image-button-border-style: dashed;--vxe-ui-upload-image-wh-default: 120px;--vxe-ui-upload-image-wh-medium: 104px;--vxe-ui-upload-image-wh-small: 88px;--vxe-ui-upload-image-wh-mini: 72px;--vxe-ui-card-padding-default: 12px;--vxe-ui-card-padding-medium: 10px;--vxe-ui-card-padding-small: 8px;--vxe-ui-card-padding-mini: 6px;--vxe-ui-tree-node-height: 2em;--vxe-ui-tree-node-line-color:#909399;--vxe-ui-tree-node-line-style: dotted;--vxe-ui-tree-node-line-width: 1px;--vxe-ui-tabs-header-height-default: 40px;--vxe-ui-tabs-header-height-medium: 38px;--vxe-ui-tabs-header-height-small: 36px;--vxe-ui-tabs-header-height-mini: 32px;--vxe-ui-calendar-hover-background-color: #f2f6fc;--vxe-ui-calendar-selected-color: #fff;--vxe-ui-calendar-festival-selected-color: var(--vxe-ui-calendar-selected-color);--vxe-ui-calendar-notice-selected-background-color: var(--vxe-ui-calendar-selected-color);--vxe-ui-splitter-handle-bar-horizontal-width: .68em;--vxe-ui-splitter-handle-bar-horizontal-height: 3.2em;--vxe-ui-splitter-handle-bar-vertical-width: var(--vxe-ui-splitter-handle-bar-horizontal-height);--vxe-ui-splitter-handle-bar-vertical-height: var(--vxe-ui-splitter-handle-bar-horizontal-width);--vxe-ui-splitter-resizable-line-color: #D9DDDF;--vxe-ui-splitter-resizable-drag-line-color: var(--vxe-ui-font-primary-color);--vxe-ui-segmented-item-background-color: rgba(0, 0, 0, .05);--vxe-ui-segmented-item-hover-background-color: rgba(0, 0, 0, .06);--vxe-ui-context-menu-option-height: 2em;--vxe-ui-backtop-right: 2em;--vxe-ui-backtop-bottom: 2em}[data-vxe-ui-theme=light]{--vxe-ui-font-color: #606266;--vxe-ui-font-tinge-color: #d4d5d7;--vxe-ui-font-lighten-color: #797b80;--vxe-ui-font-darken-color: #47494c;--vxe-ui-font-disabled-color: #BFBFBF;--vxe-ui-font-primary-color: #409eff;--vxe-ui-font-primary-hover-color: #f5f7fa;--vxe-ui-font-primary-tinge-color: #e8f3ff;--vxe-ui-font-primary-lighten-color: #73b8ff;--vxe-ui-font-primary-darken-color: #0d84ff;--vxe-ui-font-primary-disabled-color: #a6d2ff;--vxe-ui-status-success-color: #67c23a;--vxe-ui-status-info-color: #909399;--vxe-ui-status-warning-color: #e6a23c;--vxe-ui-status-danger-color: #f56c6c;--vxe-ui-status-error-color: #f56c6c;--vxe-ui-status-success-tinge-color: #eef8e9;--vxe-ui-status-info-tinge-color: #f5f5f6;--vxe-ui-status-warning-tinge-color: #fcf4e8;--vxe-ui-status-danger-tinge-color: var(--vxe-ui-status-error-tinge-color);--vxe-ui-status-error-tinge-color: #fef2f2;--vxe-ui-status-success-lighten-color: #85cf60;--vxe-ui-status-info-lighten-color: #abadb1;--vxe-ui-status-warning-lighten-color: #ecb869;--vxe-ui-status-danger-lighten-color: var(--vxe-ui-status-error-lighten-color);--vxe-ui-status-error-lighten-color: #f89c9c;--vxe-ui-status-success-darken-color: #529b2e;--vxe-ui-status-info-darken-color: #767980;--vxe-ui-status-warning-darken-color: #d48a1b;--vxe-ui-status-danger-darken-color: var(--vxe-ui-status-error-darken-color);--vxe-ui-status-error-darken-color: #f56c6c;--vxe-ui-status-success-disabled-color: #a3db87;--vxe-ui-status-info-disabled-color: #c5c7ca;--vxe-ui-status-warning-disabled-color: #f2cd96;--vxe-ui-status-danger-disabled-color: var(--vxe-ui-status-error-disabled-color);--vxe-ui-status-error-disabled-color: #f5a8a8;--vxe-ui-base-popup-border-color: #DADCE0;--vxe-ui-base-popup-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .16);--vxe-ui-base-drag-background-color: #dde9fd;--vxe-ui-base-active-background-color: #e6f4ff;--vxe-ui-base-hover-background-color: rgba(0, 0, 0, .04);--vxe-ui-layout-background-color: #ffffff;--vxe-ui-input-border-color: #dcdfe6;--vxe-ui-input-placeholder-color: #C0C4CC;--vxe-ui-input-disabled-background-color: #f3f3f3;--vxe-ui-number-input-control-button-color: #f5f7fa;--vxe-ui-modal-header-background-color: #F8F8F8;--vxe-ui-tabs-card-header-background-color: #f5f7fa;--vxe-ui-tabs-close-hover-background-color: rgba(0, 0, 0, .1);--vxe-ui-tabs-bar-scrolling-box-shadow-color: rgba(0, 0, 0, .12);--vxe-ui-menu-item-hover-color: #409eff;--vxe-ui-menu-collapse-wrapper-box-shadow: var(--vxe-ui-base-popup-box-shadow);--vxe-ui-loading-background-color: rgba(255, 255, 255, .5);--vxe-ui-form-title-background-color: #f8f8f9;--vxe-ui-form-border-color: #e8eaec;--vxe-ui-form-design-widget-hover-background-color: var(--vxe-ui-base-hover-background-color);--vxe-ui-form-design-sub-widget-hover-background-color: rgba(0, 0, 0, .05);--vxe-ui-list-design-table-border-color: #e8eaec;--vxe-ui-list-design-table-header-background-color: #f8f8f9;--vxe-ui-switch-close-background-color: rgba(0, 0, 0, .35);--vxe-ui-upload-drag-over-background-color:rgba(255, 255, 200, .8);--vxe-ui-tree-node-hover-background-color: #f5f7fa;--vxe-ui-tree-node-radio-checked-background-color: #fff3e0;--vxe-ui-tree-node-hover-radio-checked-background-color: #ffebbc;--vxe-ui-tree-node-checkbox-checked-background-color: #fff3e0;--vxe-ui-tree-node-hover-checkbox-checked-background-color: #ffebbc;--vxe-ui-tree-node-current-background-color: #e6f7ff;--vxe-ui-tree-node-hover-current-background-color: #d7effb;--vxe-ui-tree-drag-over-background-color: rgba(255, 255, 200, .3);--vxe-ui-rate-item-color: #f7ba2a;--vxe-ui-splitter-handle-button-background-color: #8b8b8b;--vxe-ui-splitter-handle-bar-background-color: #e2e2e3;--vxe-ui-splitter-handle-bar-hover-background-color: #d8d8d8}[data-vxe-ui-theme=dark]{color-scheme:dark;--vxe-ui-font-color: #a0a3a7;--vxe-ui-font-tinge-color: #33353b;--vxe-ui-font-lighten-color: #797b80;--vxe-ui-font-darken-color: #47494c;--vxe-ui-font-disabled-color: #464646;--vxe-ui-font-primary-color: #409eff;--vxe-ui-font-primary-hover-color: #202326;--vxe-ui-font-primary-tinge-color: #3a4653;--vxe-ui-font-primary-lighten-color: #73b8ff;--vxe-ui-font-primary-darken-color: #0d84ff;--vxe-ui-font-primary-disabled-color: #a6d2ff;--vxe-ui-status-success-color: #67c23a;--vxe-ui-status-info-color: #909399;--vxe-ui-status-warning-color: #e6a23c;--vxe-ui-status-danger-color: #f56c6c;--vxe-ui-status-error-color: #f56c6c;--vxe-ui-status-success-tinge-color: #33412f;--vxe-ui-status-info-tinge-color: #38383b;--vxe-ui-status-warning-tinge-color: #332c22;--vxe-ui-status-danger-tinge-color: var(--vxe-ui-status-error-tinge-color);--vxe-ui-status-error-tinge-color: #372525;--vxe-ui-status-success-lighten-color: #85cf60;--vxe-ui-status-info-lighten-color: #abadb1;--vxe-ui-status-warning-lighten-color: #ecb869;--vxe-ui-status-danger-lighten-color: var(--vxe-ui-status-error-lighten-color);--vxe-ui-status-error-lighten-color: #f89c9c;--vxe-ui-status-success-darken-color: #529b2e;--vxe-ui-status-info-darken-color: #767980;--vxe-ui-status-warning-darken-color: #d48a1b;--vxe-ui-status-danger-darken-color: var(--vxe-ui-status-error-darken-color);--vxe-ui-status-error-darken-color: #f56c6c;--vxe-ui-status-success-disabled-color: #a3db87;--vxe-ui-status-info-disabled-color: #c5c7ca;--vxe-ui-status-warning-disabled-color: #f2cd96;--vxe-ui-status-danger-disabled-color: var(--vxe-ui-status-error-disabled-color);--vxe-ui-status-error-disabled-color: #f5a8a8;--vxe-ui-base-popup-border-color: #424242;--vxe-ui-base-popup-box-shadow: 0px 12px 30px 8px rgba(0, 0, 0, .5);--vxe-ui-base-drag-background-color: #2e3741;--vxe-ui-base-active-background-color: #18222c;--vxe-ui-base-hover-background-color: #191a1c;--vxe-ui-layout-background-color: #121212;--vxe-ui-input-border-color: #424242;--vxe-ui-input-placeholder-color: #3c3d3e;--vxe-ui-input-disabled-background-color: #262727;--vxe-ui-number-input-control-button-color: #262727;--vxe-ui-modal-header-background-color: var(--vxe-ui-layout-background-color);--vxe-ui-tabs-card-header-background-color: #1d1e1f;--vxe-ui-tabs-close-hover-background-color: rgba(48, 48, 0, .8);--vxe-ui-tabs-bar-scrolling-box-shadow-color: rgba(0, 0, 0, .8);--vxe-ui-menu-item-hover-color: var(--vxe-ui-font-primary-color);--vxe-ui-menu-collapse-wrapper-box-shadow: var(--vxe-ui-base-popup-box-shadow);--vxe-ui-loading-background-color: rgba(255, 255, 255, .1);--vxe-ui-form-title-background-color: #28282a;--vxe-ui-form-border-color: #37373a;--vxe-ui-form-design-widget-hover-background-color: var(--vxe-ui-base-hover-background-color);--vxe-ui-form-design-sub-widget-hover-background-color: #27292b;--vxe-ui-list-design-table-border-color: #37373a;--vxe-ui-list-design-table-header-background-color: #28282a;--vxe-ui-switch-close-background-color: #4C4D4F;--vxe-ui-upload-drag-over-background-color:rgba(48, 48, 0, .8);--vxe-ui-tree-node-hover-background-color: #262727;--vxe-ui-tree-node-radio-checked-background-color: #604820;--vxe-ui-tree-node-hover-radio-checked-background-color: #6e5326;--vxe-ui-tree-node-checkbox-checked-background-color: #604820;--vxe-ui-tree-node-hover-checkbox-checked-background-color: #6e5326;--vxe-ui-tree-node-current-background-color: #18222c;--vxe-ui-tree-node-hover-current-background-color: #262727;--vxe-ui-tree-drag-over-background-color:rgba(48, 48, 0, .3);--vxe-ui-rate-item-color: #bd9537;--vxe-ui-splitter-handle-button-background-color: #9f9f9f;--vxe-ui-splitter-handle-bar-background-color: #444444;--vxe-ui-splitter-handle-bar-hover-background-color: #606060}:root{--vxe-ui-font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;--vxe-ui-font-size-default: 14px;--vxe-ui-font-size-medium: 14px;--vxe-ui-font-size-small: 13px;--vxe-ui-font-size-mini: 12px;--vxe-ui-border-radius: 4px;--vxe-ui-input-disabled-color: #dcdfe6;--vxe-ui-input-height-default: 34px;--vxe-ui-input-height-medium: 32px;--vxe-ui-input-height-small: 30px;--vxe-ui-input-height-mini: 28px;--vxe-ui-table-header-font-color: var(--vxe-ui-font-color);--vxe-ui-table-footer-font-color: var(--vxe-ui-font-color);--vxe-ui-table-border-radius: var(--vxe-ui-border-radius);--vxe-ui-table-border-width: 1.05px;--vxe-ui-table-resizable-line-color: #D9DDDF;--vxe-ui-table-resizable-drag-line-color: var(--vxe-ui-font-primary-color);--vxe-ui-table-footer-background-color: var(--vxe-ui-layout-background-color);--vxe-ui-table-tree-node-line-color:#909399;--vxe-ui-table-tree-node-line-style: dotted;--vxe-ui-table-header-font-weight: 700;--vxe-ui-table-row-height-default: 48px;--vxe-ui-table-row-height-medium: 44px;--vxe-ui-table-row-height-small: 40px;--vxe-ui-table-row-height-mini: 36px;--vxe-ui-table-row-line-height: 22px;--vxe-ui-table-column-icon-border-color: #c0c4cc;--vxe-ui-table-column-icon-border-hover-color: #515A6E;--vxe-ui-table-cell-padding-default: 8px;--vxe-ui-table-cell-padding-medium: 7px;--vxe-ui-table-cell-padding-small: 6px;--vxe-ui-table-cell-padding-mini: 5px;--vxe-ui-table-cell-placeholder-color: #C0C4CC;--vxe-ui-table-cell-negative-color: #f56c6c;--vxe-ui-table-cell-input-height-default: var(--vxe-ui-table-row-height-default) - 6;--vxe-ui-table-cell-input-height-medium: var(--vxe-ui-table-row-height-medium) - 6;--vxe-ui-table-cell-input-height-small: var(--vxe-ui-table-row-height-small) - 6;--vxe-ui-table-cell-input-height-mini: var(--vxe-ui-table-row-height-mini) - 6;--vxe-ui-table-cell-dirty-width: 5px;--vxe-ui-table-cell-dirty-update-color: #f56c6c;--vxe-ui-table-cell-dirty-insert-color: #19A15F;--vxe-ui-table-cell-area-border-color: var(--vxe-ui-font-primary-color);--vxe-ui-table-cell-area-border-width: 1px;--vxe-ui-table-cell-area-status-border-width: var(--vxe-ui-table-cell-area-border-width);--vxe-ui-table-cell-main-area-extension-border-color: #fff;--vxe-ui-table-cell-main-area-extension-background-color: var(--vxe-ui-font-primary-color);--vxe-ui-table-cell-extend-area-border-width: 2px;--vxe-ui-table-cell-clip-area-border-width: 3px;--vxe-ui-table-cell-active-area-border-width: 2px;--vxe-ui-table-cell-active-area-background-color: transparent;--vxe-ui-table-cell-clip-area-border-color: var(--vxe-ui-table-cell-area-border-color);--vxe-ui-table-cell-extend-area-border-color: var(--vxe-ui-table-cell-area-border-color);--vxe-ui-table-cell-active-area-border-color: var(--vxe-ui-table-cell-area-border-color);--vxe-ui-table-cell-area-background-color: rgba(64,158,255,.2);--vxe-ui-table-cell-area-status-background-color: rgba(64,158,255,.1);--vxe-ui-table-expand-padding-default: 16px;--vxe-ui-table-checkbox-range-border-width: 1px;--vxe-ui-table-checkbox-range-border-color: #006af1;--vxe-ui-table-checkbox-range-background-color: rgba(50,128,252,.2);--vxe-ui-table-fixed-left-scrolling-box-shadow: 8px 0px 10px -5px var(--vxe-ui-table-fixed-scrolling-box-shadow-color);--vxe-ui-table-fixed-right-scrolling-box-shadow: -8px 0px 10px -5px var(--vxe-ui-table-fixed-scrolling-box-shadow-color);--vxe-ui-table-menu-item-width: 198px;--vxe-ui-table-menu-background-color: #fff;--vxe-ui-table-validate-error-color: #f56c6c;--vxe-ui-table-validate-error-background-color: var(--vxe-ui-layout-background-color);--vxe-ui-toolbar-custom-active-background-color: #D9DADB;--vxe-ui-toolbar-height-default: 48px;--vxe-ui-toolbar-height-medium: 46px;--vxe-ui-toolbar-height-small: 44px;--vxe-ui-toolbar-height-mini: 42px}[data-vxe-ui-theme=light]{--vxe-ui-font-color: #606266;--vxe-ui-font-primary-color: #409eff;--vxe-ui-font-lighten-color: #797b80;--vxe-ui-font-darken-color: #47494c;--vxe-ui-font-disabled-color: #BFBFBF;--vxe-ui-base-popup-border-color: #DADCE0;--vxe-ui-base-popup-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .16);--vxe-ui-layout-background-color: #ffffff;--vxe-ui-input-border-color: #dcdfe6;--vxe-ui-input-placeholder-color: #C0C4CC;--vxe-ui-input-disabled-background-color: #f3f3f3;--vxe-ui-loading-background-color: rgba(255, 255, 255, .5);--vxe-ui-table-header-background-color: #f8f8f9;--vxe-ui-table-column-to-row-background-color: #f8f8f9;--vxe-ui-table-column-hover-background-color: #d7effb;--vxe-ui-table-column-current-background-color: #e6f7ff;--vxe-ui-table-column-hover-current-background-color: #d7effb;--vxe-ui-table-border-color: #e8eaec;--vxe-ui-table-row-hover-background-color: #f5f7fa;--vxe-ui-table-row-striped-background-color: #fafafa;--vxe-ui-table-row-hover-striped-background-color: #f5f7fa;--vxe-ui-table-row-radio-checked-background-color: #fff3e0;--vxe-ui-table-row-hover-radio-checked-background-color: #ffebbc;--vxe-ui-table-row-checkbox-checked-background-color: #fff3e0;--vxe-ui-table-row-hover-checkbox-checked-background-color: #ffebbc;--vxe-ui-table-row-current-background-color: #e6f7ff;--vxe-ui-table-row-hover-current-background-color: #d7effb;--vxe-ui-table-fixed-scrolling-box-shadow-color: rgba(0, 0, 0, .12);--vxe-ui-table-drag-over-background-color:rgba(255, 255, 200, .3)}[data-vxe-ui-theme=dark]{color-scheme:dark;--vxe-ui-font-color: #a0a3a7;--vxe-ui-font-tinge-color: #33353b;--vxe-ui-font-lighten-color: #797b80;--vxe-ui-font-darken-color: #47494c;--vxe-ui-font-disabled-color: #464646;--vxe-ui-font-primary-color: #409eff;--vxe-ui-base-popup-border-color: #424242;--vxe-ui-base-popup-box-shadow: 0px 12px 30px 8px rgba(0, 0, 0, .5);--vxe-ui-layout-background-color: #121212;--vxe-ui-input-border-color: #424242;--vxe-ui-input-placeholder-color: #8D9095;--vxe-ui-input-disabled-background-color: #262727;--vxe-ui-loading-background-color: rgba(255, 255, 255, .1);--vxe-ui-table-header-background-color: #28282a;--vxe-ui-table-column-to-row-background-color: #28282a;--vxe-ui-table-column-hover-background-color: #242f3b;--vxe-ui-table-column-current-background-color: #18222c;--vxe-ui-table-column-hover-current-background-color: #242f3b;--vxe-ui-table-border-color: #37373a;--vxe-ui-table-row-hover-background-color: #262727;--vxe-ui-table-row-striped-background-color: #1D1D1D;--vxe-ui-table-row-hover-striped-background-color: #262727;--vxe-ui-table-row-radio-checked-background-color: #604820;--vxe-ui-table-row-hover-radio-checked-background-color: #6e5326;--vxe-ui-table-row-checkbox-checked-background-color: #604820;--vxe-ui-table-row-hover-checkbox-checked-background-color: #6e5326;--vxe-ui-table-row-current-background-color: #18222c;--vxe-ui-table-row-hover-current-background-color: #242f3b;--vxe-ui-table-fixed-scrolling-box-shadow-color: rgba(0, 0, 0, .8);--vxe-ui-table-drag-over-background-color:rgba(48, 48, 0, .3)}[class*=vxe-]:after,[class*=vxe-]:before,[class*=vxe-] *:after,[class*=vxe-] *:before,[class*=vxe-]{box-sizing:border-box}[class*=vxe-]{font-variant:tabular-nums;font-feature-settings:"tnum"}.yee-grid{--vxe-ui-font-color: var(--yee-foreground);--vxe-ui-font-primary-color: var(--yee-primary);--vxe-ui-font-disabled-color: var(--yee-foreground-disabled);--vxe-ui-base-popup-border-color: var(--yee-border);--vxe-ui-base-border-radius: var(--yee-radius-sm);--vxe-ui-input-border-color: var(--yee-border);--vxe-ui-input-disabled-color: var(--yee-foreground-disabled);--vxe-ui-input-placeholder-color: var(--yee-input-placeholder);--vxe-ui-layout-background-color: var(--yee-card);--vxe-ui-loading-background-color: var(--yee-overlay-content);--vxe-ui-table-border-color: var(--yee-border);--vxe-ui-table-header-background-color: var(--yee-accent);--vxe-ui-table-resizable-line-color: var(--yee-border);--vxe-ui-table-row-current-background-color: var(--yee-accent-dark);--vxe-ui-table-row-checkbox-checked-background-color: var(--yee-accent);--vxe-ui-table-row-hover-checkbox-checked-background-color: var(--yee-accent-hover);--vxe-ui-table-row-hover-background-color: var(--yee-accent-hover);--vxe-ui-table-row-hover-current-background-color: var(--yee-accent-hover);--vxe-ui-table-row-hover-radio-checked-background-color: var(--yee-accent-hover);--vxe-ui-table-row-hover-striped-background-color: var(--yee-accent-hover);--vxe-ui-table-row-radio-checked-background-color: var(--yee-accent);--vxe-ui-table-row-striped-background-color: var(--yee-accent-lighter);--vxe-ui-font-primary-tinge-color: var(--yee-primary-hover);--vxe-ui-font-primary-lighten-color: var(--yee-primary-hover);--vxe-ui-font-primary-darken-color: var(--yee-primary-active);font-family:var(--yee-font-family);font-size:var(--yee-font-size)}.yee-grid .vxe-toolbar{padding:0 0 12px}.yee-grid .vxe-pager--wrapper{display:flex;justify-content:flex-end;align-items:center}.yee-grid .vxe-pager--sizes{margin-right:auto}.yee-grid[data-v-d97be924]{display:flex;flex-direction:column;min-width:0;min-height:100%;overflow:hidden;color:var(--yee-foreground);background:var(--yee-card);border-radius:var(--yee-radius)}.yee-grid__separator[data-v-d97be924]{flex:0 0 12px;background:var(--yee-background-deep)}.yee-grid__table[data-v-d97be924]{flex:1 1 auto;min-height:0;padding:16px}.yee-grid__title[data-v-d97be924]{display:inline-flex;gap:6px;align-items:center;margin-right:12px;font-size:var(--yee-font-size-lg);font-weight:600}.yee-grid__help[data-v-d97be924]{display:inline-grid;width:16px;height:16px;color:var(--yee-muted-foreground);font-size:11px;border:1px solid var(--yee-border);border-radius:50%;place-items:center}.yee-grid__empty[data-v-d97be924]{padding:32px 0;color:var(--yee-muted-foreground);text-align:center}.yee-page[data-v-192f344d]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:100%;color:var(--yee-foreground);background:var(--yee-background-deep)}.yee-page--auto-height[data-v-192f344d]{height:calc(100% - var(--yee-page-height-offset, 0px));min-height:0}.yee-page__header[data-v-192f344d],.yee-page__footer[data-v-192f344d]{display:flex;gap:16px;align-items:center;padding:16px 24px;background:var(--yee-card)}.yee-page__header[data-v-192f344d]{justify-content:space-between;border-bottom:1px solid var(--yee-border-secondary)}.yee-page__footer[data-v-192f344d]{justify-content:flex-end;border-top:1px solid var(--yee-border-secondary)}.yee-page__heading[data-v-192f344d]{min-width:0}.yee-page__title[data-v-192f344d],.yee-page__description[data-v-192f344d]{margin:0}.yee-page__title[data-v-192f344d]{font-size:var(--yee-font-size-lg);font-weight:600;line-height:1.5}.yee-page__description[data-v-192f344d]{margin-top:4px;color:var(--yee-muted-foreground);font-size:var(--yee-font-size);line-height:var(--yee-line-height)}.yee-page__extra[data-v-192f344d]{flex:0 0 auto}.yee-page__content[data-v-192f344d]{min-width:0;min-height:0;padding:16px}.yee-page--auto-height>.yee-page__content[data-v-192f344d]{overflow:auto}
|