@das-fed/ui 6.4.0-dev.24 → 6.4.0-dev.26
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/package.json +5 -5
- package/packages/business-components/process-form/App.vue.d.ts +2 -0
- package/packages/business-components/process-form/index.d.ts +2 -0
- package/packages/business-components/process-form/index.js +151 -151
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-form/type.d.ts +1 -0
- package/packages/business-components/process-table/hooks/useProcessTable.d.ts +12 -4
- package/packages/business-components/process-table/hooks/useTableShow.d.ts +8 -12
- package/packages/business-components/process-table/index.d.ts +18 -2
- package/packages/business-components/process-table/index.js +613 -591
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/process-table/src/App.vue.d.ts +3 -1
- package/packages/business-components/process-table/src/type.d.ts +21 -0
- package/packages/business-components/process-table/style.css +1 -1
- package/packages/components/form/index.js +21 -21
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form/style.css +1 -1
- package/packages/components/form-item/index.js +2 -2
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/rich-editor/index.js +1 -0
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search/index.js +19 -19
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/tree/index.js +2 -1
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +50 -40
|
Binary file
|
|
@@ -179,7 +179,7 @@ declare function __VLS_template(): {
|
|
|
179
179
|
default: string;
|
|
180
180
|
};
|
|
181
181
|
tableLayout: {
|
|
182
|
-
type: import("vue"
|
|
182
|
+
type: import("vue").PropType<"auto" | "fixed">;
|
|
183
183
|
default: string;
|
|
184
184
|
};
|
|
185
185
|
scrollbarAlwaysOn: {
|
|
@@ -2411,8 +2411,10 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
2411
2411
|
reqTableList: () => Promise<void>;
|
|
2412
2412
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2413
2413
|
getSearchQuery: (val: any) => any;
|
|
2414
|
+
changeSlotShow: (val: import("./type").ITableShowColumn[]) => any;
|
|
2414
2415
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
2415
2416
|
onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
2417
|
+
onChangeSlotShow?: ((val: import("./type").ITableShowColumn[]) => any) | undefined;
|
|
2416
2418
|
}>, {
|
|
2417
2419
|
flowKey: string;
|
|
2418
2420
|
needDisplayFileds: boolean;
|
|
@@ -70,6 +70,20 @@ export interface IModelData {
|
|
|
70
70
|
tableName: string
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
|
|
74
|
+
export interface ITableSlotMap {
|
|
75
|
+
|
|
76
|
+
desc: string
|
|
77
|
+
|
|
78
|
+
name: string
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
export interface ITableShowColumn extends ITableSlotMap {
|
|
83
|
+
|
|
84
|
+
switch: boolean
|
|
85
|
+
}
|
|
86
|
+
|
|
73
87
|
export interface Props {
|
|
74
88
|
|
|
75
89
|
flowKey: string
|
|
@@ -125,4 +139,11 @@ export interface Props {
|
|
|
125
139
|
export interface Emits {
|
|
126
140
|
|
|
127
141
|
(e: 'getSearchQuery', val: any): void
|
|
142
|
+
|
|
143
|
+
(e: 'changeSlotShow', val: ITableShowColumn[]): void
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export type Slot = {
|
|
147
|
+
append?: () => { props: { label: string; prop: string } }[]
|
|
148
|
+
prepend?: () => { props: { label: string; prop: string } }[]
|
|
128
149
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-process-table[data-v-
|
|
1
|
+
.das-process-table[data-v-eb1af03b]{width:100%;height:100%}.das-process-table .setting-top[data-v-eb1af03b]{border-bottom:1px solid #e5e5e5}.das-process-table .setting-top .setting-top-content[data-v-eb1af03b]{width:88px;height:32px;line-height:32px;text-align:center;background:#fff;font-size:12px;color:#5582f3;letter-spacing:0;font-weight:400;border-bottom:2px solid #5582f3}.das-process-table .operate[data-v-eb1af03b]{display:flex;justify-content:flex-end;align-items:center;height:40px}.das-process-table .operate .text-btn[data-v-eb1af03b]{font-size:14px;color:#5582f3;letter-spacing:0;line-height:21px;font-weight:400;cursor:pointer}.das-process-table[data-v-eb1af03b] .das-ui-switch{display:block}.no-header-column[data-v-eb1af03b] .el-table td.el-table__cell,.no-header-column[data-v-eb1af03b] .el-table th.el-table__cell.is-leaf{border-bottom:none}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/form/style.css';
|
|
2
|
-
import { defineComponent as
|
|
2
|
+
import { defineComponent as _, ref as p, useSlots as x, watch as N, nextTick as I, provide as M, reactive as b, onMounted as k, openBlock as S, createElementBlock as w, normalizeClass as z, normalizeStyle as B, renderSlot as C } from "vue";
|
|
3
3
|
import { withInstall as E } from "@das-fed/utils/with-install/index";
|
|
4
4
|
import "@das-fed/ui/packages/global/theme";
|
|
5
|
-
const
|
|
5
|
+
const L = /* @__PURE__ */ _({
|
|
6
6
|
__name: "Index",
|
|
7
7
|
props: {
|
|
8
8
|
labelLength: { default: 4 },
|
|
@@ -20,16 +20,16 @@ const T = /* @__PURE__ */ x({
|
|
|
20
20
|
autoMarginRight: { type: Boolean, default: !1 }
|
|
21
21
|
},
|
|
22
22
|
setup(n, { expose: d }) {
|
|
23
|
-
const a = n, i = p(), c =
|
|
23
|
+
const a = n, i = p(), c = x(), g = () => {
|
|
24
24
|
const e = ["#comment", "#text"], t = Array.from(i.value.childNodes).filter(
|
|
25
|
-
(
|
|
25
|
+
(r) => !e.includes(r.nodeName)
|
|
26
26
|
), l = a.cols || 4;
|
|
27
27
|
let o = 0;
|
|
28
|
-
t.forEach((
|
|
29
|
-
const f = Number(
|
|
28
|
+
t.forEach((r, R) => {
|
|
29
|
+
const f = Number(r.dataset.col ?? 1);
|
|
30
30
|
o += f;
|
|
31
|
-
const m = t[
|
|
32
|
-
o === l || o > l && f === l ? m.
|
|
31
|
+
const m = t[R];
|
|
32
|
+
o === l || o > l && f === l ? m.classList.add("marin-right-0") : m.classList.remove("marin-right-0"), o === l ? o = 0 : o > l && (o = f);
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
N(
|
|
@@ -43,35 +43,35 @@ const T = /* @__PURE__ */ x({
|
|
|
43
43
|
deep: !0
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
|
-
let
|
|
47
|
-
M("DasForm",
|
|
48
|
-
|
|
46
|
+
let s = [];
|
|
47
|
+
M("DasForm", b({ props: a, addField: (e) => {
|
|
48
|
+
s.push(e);
|
|
49
49
|
}, removeField: (e) => {
|
|
50
|
-
|
|
50
|
+
s = s.filter((t) => t.timeStamp !== e.timeStamp);
|
|
51
51
|
} }));
|
|
52
52
|
const h = async (e) => {
|
|
53
53
|
const t = await y();
|
|
54
54
|
e(t);
|
|
55
55
|
}, v = async (e, t) => {
|
|
56
|
-
const o = await
|
|
56
|
+
const o = await s.find((r) => r.propName === e && r.rules.length > 0).validate();
|
|
57
57
|
t(o);
|
|
58
58
|
}, y = async () => {
|
|
59
59
|
let e = !0;
|
|
60
|
-
for (const t of
|
|
60
|
+
for (const t of s)
|
|
61
61
|
t.propName && t.rules.length > 0 && (await t.validate() || (e = !1));
|
|
62
62
|
return e;
|
|
63
|
-
},
|
|
64
|
-
|
|
63
|
+
}, F = () => {
|
|
64
|
+
s.forEach((e) => {
|
|
65
65
|
e.resetError();
|
|
66
66
|
});
|
|
67
67
|
}, u = () => {
|
|
68
68
|
a.autoMarginRight && a.alignType === "horizontal" && g();
|
|
69
69
|
};
|
|
70
|
-
return
|
|
70
|
+
return k(u), d({
|
|
71
71
|
validate: h,
|
|
72
72
|
validateField: v,
|
|
73
|
-
resetField:
|
|
74
|
-
}), (e, t) => (
|
|
73
|
+
resetField: F
|
|
74
|
+
}), (e, t) => (S(), w(
|
|
75
75
|
"div",
|
|
76
76
|
{
|
|
77
77
|
class: z(["das-ui-form", { horizontal: e.alignType === "horizontal" }]),
|
|
@@ -86,12 +86,12 @@ const T = /* @__PURE__ */ x({
|
|
|
86
86
|
/* CLASS, STYLE */
|
|
87
87
|
));
|
|
88
88
|
}
|
|
89
|
-
}),
|
|
89
|
+
}), T = (n, d) => {
|
|
90
90
|
const a = n.__vccOpts || n;
|
|
91
91
|
for (const [i, c] of d)
|
|
92
92
|
a[i] = c;
|
|
93
93
|
return a;
|
|
94
|
-
},
|
|
94
|
+
}, A = /* @__PURE__ */ T(L, [["__scopeId", "data-v-e05eb9be"]]), j = E(A), q = () => p(null);
|
|
95
95
|
export {
|
|
96
96
|
j as DasForm,
|
|
97
97
|
q as DasFormRef,
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-form[data-v-
|
|
1
|
+
.das-ui-form[data-v-e05eb9be]{display:flex;flex-direction:column;align-content:flex-start}.das-ui-form.horizontal[data-v-e05eb9be]{flex-direction:row;flex-wrap:wrap}
|
|
@@ -1412,7 +1412,7 @@ const Lo = (e, t, r) => {
|
|
|
1412
1412
|
emits: ["update:modelValue", "update:optionValue", "update:error", "change", "input", "select-change"],
|
|
1413
1413
|
setup(e, { expose: t, emit: r }) {
|
|
1414
1414
|
fr((s) => ({
|
|
1415
|
-
|
|
1415
|
+
cf197e58: l(j)
|
|
1416
1416
|
}));
|
|
1417
1417
|
const n = e, a = r, i = pr(), { isShow: o } = Pr(n), {
|
|
1418
1418
|
innerError: u,
|
|
@@ -1916,7 +1916,7 @@ const Lo = (e, t, r) => {
|
|
|
1916
1916
|
for (const [n, a] of t)
|
|
1917
1917
|
r[n] = a;
|
|
1918
1918
|
return r;
|
|
1919
|
-
}, Yo = /* @__PURE__ */ Zo(Jo, [["__scopeId", "data-v-
|
|
1919
|
+
}, Yo = /* @__PURE__ */ Zo(Jo, [["__scopeId", "data-v-1ce9227b"]]), Xo = {
|
|
1920
1920
|
"--das-ui-form-error-label-color": { light: "#fb2323" },
|
|
1921
1921
|
"--das-ui-form-label-normal": { light: rr("--das-ui-color-secondary") }
|
|
1922
1922
|
}, vs = tr(Yo);
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-form-item[data-v-
|
|
1
|
+
.das-ui-form-item[data-v-1ce9227b]{display:flex;flex-direction:column}.das-ui-form-item.marin-right-0[data-v-1ce9227b]{margin-right:0!important}.das-ui-form-item.top[data-v-1ce9227b]{align-items:flex-start!important}.das-ui-form-item.top .das-ui-form-item-label[data-v-1ce9227b]{margin-bottom:3px;margin-right:0!important}.das-ui-form-item.left[data-v-1ce9227b]{flex-direction:row}.das-ui-form-item.left .das-ui-form-item-label[data-v-1ce9227b]{text-align:left}.das-ui-form-item.right[data-v-1ce9227b]{flex-direction:row}.das-ui-form-item.right .das-ui-form-item-label[data-v-1ce9227b]{text-align:right}.das-ui-form-item.right .das-ui-form-item-label .label[data-v-1ce9227b]{width:auto}.das-ui-form-item.flex-layout[data-v-1ce9227b]{width:100%}.das-ui-form-item.flex-layout .das-ui-form-container[data-v-1ce9227b]{flex:1}.das-ui-form-item .das-ui-form-item-label[data-v-1ce9227b]{font-size:var(--das-ui-font-size-sm);height:18px;line-height:18px}.das-ui-form-item .das-ui-form-item-label .label[data-v-1ce9227b]{width:fit-content;position:relative;max-width:100%;display:flex;color:var(--das-ui-form-label-normal)}.das-ui-form-item .das-ui-form-item-label .label .label-context[data-v-1ce9227b]{width:100%}.das-ui-form-item .das-ui-form-item-label .label.required-mark[data-v-1ce9227b]:after{content:"*";position:absolute;top:0;right:-8px;width:6px;height:18px;line-height:18px;text-align:left;color:var(--das-ui-form-error-label-color)}.das-ui-form-item .das-ui-form-item-label .label .help-icon[data-v-1ce9227b]{position:absolute;right:-28px;top:1px}.das-ui-form-item .das-ui-form-item-label .label .help-icon.no-required[data-v-1ce9227b]{right:-20px}.das-ui-form-item .das-ui-form-container[data-v-1ce9227b]{display:flex;position:relative}.das-ui-form-item .das-ui-form-container .error-label[data-v-1ce9227b]{position:absolute;height:22px;width:100%;font-size:12px;left:0;top:100%;line-height:18px;font-weight:400;letter-spacing:0;color:var(--das-ui-form-error-label-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-form-item .das-ui-form-container .error-label--overlay[data-v-1ce9227b]{position:absolute;width:100%;left:0;top:100%;background-color:var(--das-ui-input-number-overlay-error-bg-color);box-shadow:0 4px 10px #0003;border-radius:1px;padding:2px 8px;box-sizing:border-box;font-size:12px;z-index:99;color:var(--das-ui-form-error-label-color)}.das-form-item-overlay-error-label-content[data-v-1ce9227b]{position:absolute;top:100%;left:0;width:var(--cf197e58)}.das-ui-form-item.flex-layout .das-ui-form-container .das-ui-input{width:100%}
|
|
Binary file
|
|
@@ -21882,6 +21882,7 @@ const p2t = {
|
|
|
21882
21882
|
onCustomPaste: po(q)
|
|
21883
21883
|
}, null, 8, ["class", "mode", "modelValue", "default-content", "onOnCreated", "onOnChange", "onOnFocus", "onOnBlur", "onCustomPaste"]), [
|
|
21884
21884
|
[po(L$), {
|
|
21885
|
+
usePrevOverlay: !0,
|
|
21885
21886
|
target: Z,
|
|
21886
21887
|
x: !1,
|
|
21887
21888
|
"z-index": 0
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/search/style.css';
|
|
2
2
|
import { withInstall as z } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { defineComponent as S, ref as I, computed as V, watchEffect as L, openBlock as n, createElementBlock as w, normalizeClass as M, createBlock as
|
|
3
|
+
import { defineComponent as S, ref as I, computed as V, watchEffect as L, openBlock as n, createElementBlock as w, normalizeClass as M, createBlock as u, unref as o, mergeProps as p, withCtx as v, createCommentVNode as i } from "vue";
|
|
4
4
|
import { DasAutoRegisterIcon as T, DasIcon as s } from "@das-fed/ui/packages/components/icon/index";
|
|
5
|
-
import { Input as
|
|
5
|
+
import { Input as B } from "ant-design-vue";
|
|
6
6
|
import "ant-design-vue/es/input/style/css";
|
|
7
7
|
import { setI18nRule as E } from "@das-fed/web/packages/i18n/index";
|
|
8
8
|
import { setThemeRule as F } from "@das-fed/web/packages/theme/index";
|
|
@@ -84,7 +84,7 @@ const D = {
|
|
|
84
84
|
let h = I(!0), y = I(!0), l = I(c.modelValue);
|
|
85
85
|
const a = V({
|
|
86
86
|
get: () => c.modelValue,
|
|
87
|
-
set: (
|
|
87
|
+
set: (d) => t("update:modelValue", d)
|
|
88
88
|
});
|
|
89
89
|
L(() => {
|
|
90
90
|
});
|
|
@@ -94,38 +94,38 @@ const D = {
|
|
|
94
94
|
y.value = !0;
|
|
95
95
|
}, k = () => {
|
|
96
96
|
h.value = !y.value;
|
|
97
|
-
},
|
|
97
|
+
}, $ = () => {
|
|
98
98
|
l.value !== a.value && (l.value = a.value, t("change", a.value)), a.value === "" && (l.value = ""), t("press-enter");
|
|
99
99
|
}, C = () => {
|
|
100
100
|
a.value = "", l.value = "", t("change", "");
|
|
101
101
|
}, r = () => {
|
|
102
102
|
l.value !== a.value && (l.value = a.value, t("change", a.value)), a.value === "" && (l.value = ""), t("search");
|
|
103
103
|
};
|
|
104
|
-
return (
|
|
104
|
+
return (d, f) => (n(), w(
|
|
105
105
|
"div",
|
|
106
106
|
{
|
|
107
107
|
class: M(`das-ui-search ${e.size}`)
|
|
108
108
|
},
|
|
109
109
|
[
|
|
110
|
-
e.searchType === "basis" ? (n(), o(
|
|
110
|
+
e.searchType === "basis" ? (n(), u(o(B), p({ key: 0 }, d.$attrs, {
|
|
111
111
|
type: e.searchType,
|
|
112
|
-
class: `main-input ${e.size} ${e.border ? "border" : ""} ${e.isIconLeft ? "left" : ""}`,
|
|
112
|
+
class: `das-ui-search-input main-input ${e.size} ${e.border ? "border" : ""} ${e.isIconLeft ? "left" : ""}`,
|
|
113
113
|
value: a.value,
|
|
114
|
-
"onUpdate:value":
|
|
114
|
+
"onUpdate:value": f[0] || (f[0] = (b) => a.value = b),
|
|
115
115
|
disabled: e.disabled,
|
|
116
116
|
onBlur: g,
|
|
117
117
|
onFocus: x,
|
|
118
|
-
onPressEnter:
|
|
118
|
+
onPressEnter: $
|
|
119
119
|
}), {
|
|
120
120
|
prefix: v(() => [
|
|
121
|
-
e.isIconLeft ? (n(), o(
|
|
121
|
+
e.isIconLeft ? (n(), u(o(s), {
|
|
122
122
|
key: 0,
|
|
123
123
|
icon: e.prefixIcon ? e.prefixIcon : "search",
|
|
124
124
|
onMousedown: r
|
|
125
125
|
}, null, 8, ["icon"])) : i("v-if", !0)
|
|
126
126
|
]),
|
|
127
127
|
suffix: v(() => [
|
|
128
|
-
e.clearable && a.value.length ? (n(), o(
|
|
128
|
+
e.clearable && a.value.length ? (n(), u(o(s), {
|
|
129
129
|
key: 0,
|
|
130
130
|
class: "close-icon",
|
|
131
131
|
size: "large",
|
|
@@ -134,7 +134,7 @@ const D = {
|
|
|
134
134
|
onMousedown: C,
|
|
135
135
|
onMouseenter: k
|
|
136
136
|
})) : i("v-if", !0),
|
|
137
|
-
e.isIconLeft ? i("v-if", !0) : (n(), o(
|
|
137
|
+
e.isIconLeft ? i("v-if", !0) : (n(), u(o(s), {
|
|
138
138
|
key: 1,
|
|
139
139
|
icon: e.suffixIcon ? e.suffixIcon : "search",
|
|
140
140
|
onMousedown: r
|
|
@@ -142,24 +142,24 @@ const D = {
|
|
|
142
142
|
]),
|
|
143
143
|
_: 1
|
|
144
144
|
/* STABLE */
|
|
145
|
-
}, 16, ["type", "class", "value", "disabled"])) : (n(), o(
|
|
145
|
+
}, 16, ["type", "class", "value", "disabled"])) : (n(), u(o(B), p({ key: 1 }, d.$attrs, {
|
|
146
146
|
type: e.searchType,
|
|
147
|
-
class: `main-input ${e.size} ${e.border ? "border" : ""} ${e.isIconLeft ? "left" : ""}`,
|
|
147
|
+
class: `das-ui-search-input main-input ${e.size} ${e.border ? "border" : ""} ${e.isIconLeft ? "left" : ""}`,
|
|
148
148
|
value: a.value,
|
|
149
|
-
"onUpdate:value":
|
|
149
|
+
"onUpdate:value": f[1] || (f[1] = (b) => a.value = b),
|
|
150
150
|
disabled: e.disabled,
|
|
151
151
|
onFocus: x,
|
|
152
152
|
onBlur: g
|
|
153
153
|
}), {
|
|
154
154
|
prefix: v(() => [
|
|
155
|
-
e.isIconLeft ? (n(), o(
|
|
155
|
+
e.isIconLeft ? (n(), u(o(s), {
|
|
156
156
|
key: 0,
|
|
157
157
|
icon: e.prefixIcon ? e.prefixIcon : "search",
|
|
158
158
|
onClick: r
|
|
159
159
|
}, null, 8, ["icon"])) : i("v-if", !0)
|
|
160
160
|
]),
|
|
161
161
|
suffix: v(() => [
|
|
162
|
-
e.clearable && a.value.length ? (n(), o(
|
|
162
|
+
e.clearable && a.value.length ? (n(), u(o(s), {
|
|
163
163
|
key: 0,
|
|
164
164
|
class: "close-icon",
|
|
165
165
|
size: "large",
|
|
@@ -168,7 +168,7 @@ const D = {
|
|
|
168
168
|
onClick: C,
|
|
169
169
|
onMouseenter: k
|
|
170
170
|
})) : i("v-if", !0),
|
|
171
|
-
e.isIconLeft ? i("v-if", !0) : (n(), o(
|
|
171
|
+
e.isIconLeft ? i("v-if", !0) : (n(), u(o(s), {
|
|
172
172
|
key: 1,
|
|
173
173
|
icon: e.suffixIcon ? e.suffixIcon : "search",
|
|
174
174
|
onClick: r
|
|
@@ -187,7 +187,7 @@ const D = {
|
|
|
187
187
|
for (const [t, h] of m)
|
|
188
188
|
c[t] = h;
|
|
189
189
|
return c;
|
|
190
|
-
}, A = /* @__PURE__ */ R(P, [["__scopeId", "data-v-
|
|
190
|
+
}, A = /* @__PURE__ */ R(P, [["__scopeId", "data-v-f8207fd2"]]), N = {
|
|
191
191
|
"demo-msg": {
|
|
192
192
|
"zh-CN": "这是第一个示例路由页面",
|
|
193
193
|
en: "This is Demo Page"
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-search.small[data-v-
|
|
1
|
+
.das-ui-search.small[data-v-f8207fd2]{width:200px}.das-ui-search.large[data-v-f8207fd2]{width:320px}.das-ui-search.middle[data-v-f8207fd2]{width:260px}.das-ui-search .das-ui-search-input.main-input[data-v-f8207fd2]{border-width:0 0 1px 0!important;border-color:var(--das-ui-search-border);box-shadow:none!important;outline:none;color:var(--das-ui-search-text);border-radius:0}.das-ui-search .das-ui-search-input.main-input.border[data-v-f8207fd2]{border-width:1px!important;border-radius:2px}.das-ui-search .das-ui-search-input.main-input[data-v-f8207fd2]:hover,.das-ui-search .das-ui-search-input.main-input[data-v-f8207fd2]:active,.das-ui-search .das-ui-search-input.main-input[data-v-f8207fd2]:focus{border-color:var(--das-ui-search-border-active)}.das-ui-search .das-ui-search-input.main-input:hover.ant-input-affix-wrapper .ant-input-prefix .das-icon[data-v-f8207fd2],.das-ui-search .das-ui-search-input.main-input:hover.ant-input-affix-wrapper .ant-input-suffix .das-icon[data-v-f8207fd2]:not(.close-icon),.das-ui-search .das-ui-search-input.main-input:active.ant-input-affix-wrapper .ant-input-prefix .das-icon[data-v-f8207fd2],.das-ui-search .das-ui-search-input.main-input:active.ant-input-affix-wrapper .ant-input-suffix .das-icon[data-v-f8207fd2]:not(.close-icon),.das-ui-search .das-ui-search-input.main-input:focus.ant-input-affix-wrapper .ant-input-prefix .das-icon[data-v-f8207fd2],.das-ui-search .das-ui-search-input.main-input:focus.ant-input-affix-wrapper .ant-input-suffix .das-icon[data-v-f8207fd2]:not(.close-icon){color:var(--das-ui-search-border-active)}.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper[data-v-f8207fd2]{padding:0 0 1px;box-sizing:border-box}.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper.border[data-v-f8207fd2]{padding:5px}.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper.left .ant-input-suffix .das-icon.close-icon[data-v-f8207fd2]{margin-right:0}.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper .ant-input-prefix .das-icon[data-v-f8207fd2]{color:var(--das-ui-search-icon)}.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper .ant-input-prefix .das-icon[data-v-f8207fd2]:hover{color:var(--das-ui-search-border-active)}.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper .ant-input-suffix .das-icon[data-v-f8207fd2]{color:var(--das-ui-search-icon);cursor:pointer}.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper .ant-input-suffix .das-icon.close-icon[data-v-f8207fd2]{margin-right:4px}.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper .ant-input-suffix .das-icon.close-icon[data-v-f8207fd2]:hover{color:#999}.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper .ant-input-suffix .das-icon[data-v-f8207fd2]:hover{color:var(--das-ui-search-border-active)}.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper-focused[data-v-f8207fd2]{border-color:var(--das-ui-search-border-active)}.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper-focused.ant-input-affix-wrapper .ant-input-prefix .das-icon[data-v-f8207fd2],.das-ui-search .das-ui-search-input.main-input.ant-input-affix-wrapper-focused.ant-input-affix-wrapper .ant-input-suffix .das-icon[data-v-f8207fd2]:not(.close-icon){color:var(--das-ui-search-border-active)}.das-ui-search .das-ui-search-input.main-input.small[data-v-f8207fd2]{height:24px}.das-ui-search .das-ui-search-input.main-input.middle[data-v-f8207fd2],.das-ui-search .das-ui-search-input.main-input.custom[data-v-f8207fd2]{height:28px}.das-ui-search .das-ui-search-input.main-input.middle-l[data-v-f8207fd2]{height:30px}.das-ui-search .das-ui-search-input.main-input.middle-xl[data-v-f8207fd2]{height:32px}.das-ui-search .das-ui-search-input.main-input.large[data-v-f8207fd2]{height:36px}.das-ui-search .result-container[data-v-f8207fd2]{background:#fff;box-shadow:0 4px 10px #0003;border-radius:2px;padding:8px 0;box-sizing:border-box;margin-top:4px}.das-ui-search .result-container .tips[data-v-f8207fd2]{display:inline-block;font-size:12px;color:#999;padding-left:12px}.das-ui-search .result-container .result-list .result-item[data-v-f8207fd2]{padding-left:12px;font-size:12px;color:var(--das-ui-search-text);list-style:none;height:32px;line-height:32px;cursor:pointer}.das-ui-search .result-container .result-list .result-item[data-v-f8207fd2]:hover{background:#f2f6ff;color:var(--das-ui-search-border-active)}.das-ui-search .main-input.small .ant-input,.das-ui-search .main-input.small .das-icon{font-size:12px}.das-ui-search .main-input.large .ant-input,.das-ui-search .main-input.large .das-icon{font-size:16px}.das-ui-search .main-input.middle .ant-input,.das-ui-search .main-input.custom .ant-input,.das-ui-search .main-input.middle-l .ant-input,.das-ui-search .main-input.middle-xl .ant-input{font-size:12px}.das-ui-search .main-input.middle .das-icon,.das-ui-search .main-input.custom .das-icon,.das-ui-search .main-input.middle-l .das-icon,.das-ui-search .main-input.middle-xl .das-icon{font-size:16px}.das-ui-search .main-input .ant-input,.das-ui-search .main-input .das-icon{color:var(--das-ui-search-text)}
|
|
Binary file
|
|
@@ -2145,7 +2145,8 @@ const dt = /* @__PURE__ */ Bl(gg), bg = (e, t, r, a, c, v, l, p, h, $, P, k, u,
|
|
|
2145
2145
|
}, n.inputOptions, {
|
|
2146
2146
|
placeholder: (A = n.inputOptions) != null && A.placeholder ? n.inputOptions.placeholder : "请搜索",
|
|
2147
2147
|
onClear: Dt,
|
|
2148
|
-
clearable: ""
|
|
2148
|
+
clearable: "",
|
|
2149
|
+
filterSpace: !1
|
|
2149
2150
|
}), mt({
|
|
2150
2151
|
prefix: ke(() => [
|
|
2151
2152
|
F(n.$slots, "prefix", {}, () => [
|
|
Binary file
|
|
@@ -72,11 +72,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
72
72
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
73
73
|
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
|
74
74
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
75
|
-
"onCheck-change"?: ((...
|
|
76
|
-
"onNode-click"?: ((
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
...
|
|
75
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
"onNode-click"?: ((
|
|
77
|
+
/** 数据是否为空 */
|
|
78
|
+
...args: any[]) => any) | undefined;
|
|
79
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
80
80
|
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
|
81
81
|
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
|
82
82
|
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
|
@@ -141,10 +141,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
141
141
|
collapse: () => void;
|
|
142
142
|
shouldLoadData: () => boolean;
|
|
143
143
|
updateLeafState: () => void;
|
|
144
|
-
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue
|
|
145
|
-
|
|
144
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue
|
|
145
|
+
/** 非懒加载:子级联动父级 */
|
|
146
|
+
?: boolean | undefined) => void;
|
|
147
|
+
getChildren: (forceInit?: boolean) => import(
|
|
148
|
+
/** 清空搜索框并重新加载整棵树方法(用于懒加载重新请求整颗树的数据) */
|
|
149
|
+
"element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData | import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData[];
|
|
146
150
|
updateChildren: () => void;
|
|
147
|
-
loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node.mjs").default) => void, defaultProps?: import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeLoadedDefaultProps) => void;
|
|
151
|
+
loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node.mjs").default) => void, defaultProps?: import("element-plus/es/components/tree/src/tree.type.mjs" /** 自动展开父节点方法 */).TreeNodeLoadedDefaultProps) => void;
|
|
148
152
|
};
|
|
149
153
|
currentNodeKey: import("element-plus/es/components/tree/src/tree.type.mjs").TreeKey;
|
|
150
154
|
nodesMap: import("element-plus/es/components/tree/src/tree.type.mjs").TreeStoreNodesMap;
|
|
@@ -336,15 +340,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
336
340
|
dropIndicator$: import("vue").Ref<import("element-plus/es/utils/typescript.mjs").Nullable<HTMLElement>>;
|
|
337
341
|
isEmpty: import("vue").ComputedRef<boolean>;
|
|
338
342
|
filter: (value: any) => void;
|
|
339
|
-
getNodeKey: (node: import(
|
|
340
|
-
/** 置空提前处理 */
|
|
341
|
-
"element-plus/es/components/tree/src/model/node.mjs").default) => any;
|
|
343
|
+
getNodeKey: (node: import("element-plus/es/components/tree/src/model/node.mjs").default) => any;
|
|
342
344
|
getNodePath: (data: import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData | import("element-plus/es/components/tree/src/tree.type.mjs").TreeKey) => import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData[];
|
|
343
345
|
getCheckedNodes: (leafOnly?: boolean | undefined, includeHalfChecked?: boolean | undefined) => import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData[];
|
|
344
346
|
getCheckedKeys: (leafOnly?: boolean | undefined) => import("element-plus/es/components/tree/src/tree.type.mjs").TreeKey[];
|
|
345
347
|
getCurrentNode: () => import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData;
|
|
346
348
|
getCurrentKey: () => any;
|
|
347
|
-
setCheckedNodes: (nodes: import(
|
|
349
|
+
setCheckedNodes: (nodes: import(
|
|
350
|
+
/** 非懒加载 */
|
|
351
|
+
"element-plus/es/components/tree/src/model/node.mjs").default[], leafOnly?: boolean | undefined) => void;
|
|
348
352
|
setCheckedKeys: (keys: import("element-plus/es/components/tree/src/tree.type.mjs").TreeKey[], leafOnly?: boolean | undefined) => void;
|
|
349
353
|
setChecked: (data: import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData | import("element-plus/es/components/tree/src/tree.type.mjs").TreeKey, checked: boolean, deep: boolean) => void;
|
|
350
354
|
getHalfCheckedNodes: () => import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData[];
|
|
@@ -428,11 +432,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
428
432
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
429
433
|
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
|
430
434
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
431
|
-
"onCheck-change"?: ((...
|
|
432
|
-
"onNode-click"?: ((
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
...
|
|
435
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
|
436
|
+
"onNode-click"?: ((
|
|
437
|
+
/** 数据是否为空 */
|
|
438
|
+
...args: any[]) => any) | undefined;
|
|
439
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
436
440
|
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
|
437
441
|
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
|
438
442
|
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
|
@@ -532,11 +536,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
532
536
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
533
537
|
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
|
534
538
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
535
|
-
"onCheck-change"?: ((...
|
|
536
|
-
"onNode-click"?: ((
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
...
|
|
539
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
|
540
|
+
"onNode-click"?: ((
|
|
541
|
+
/** 数据是否为空 */
|
|
542
|
+
...args: any[]) => any) | undefined;
|
|
543
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
540
544
|
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
|
541
545
|
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
|
542
546
|
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
|
@@ -601,7 +605,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
601
605
|
collapse: () => void;
|
|
602
606
|
shouldLoadData: () => boolean;
|
|
603
607
|
updateLeafState: () => void;
|
|
604
|
-
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue
|
|
608
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue
|
|
609
|
+
/** 非懒加载:子级联动父级 */
|
|
610
|
+
?: boolean | undefined) => void;
|
|
605
611
|
getChildren: (forceInit?: boolean) => import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData | import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData[];
|
|
606
612
|
updateChildren: () => void;
|
|
607
613
|
loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node.mjs").default) => void, defaultProps?: import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeLoadedDefaultProps) => void;
|
|
@@ -902,11 +908,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
902
908
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
903
909
|
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
|
904
910
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
905
|
-
"onCheck-change"?: ((...
|
|
906
|
-
"onNode-click"?: ((
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
...
|
|
911
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
|
912
|
+
"onNode-click"?: ((
|
|
913
|
+
/** 数据是否为空 */
|
|
914
|
+
...args: any[]) => any) | undefined;
|
|
915
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
910
916
|
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
|
911
917
|
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
|
912
918
|
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
|
@@ -971,7 +977,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
971
977
|
collapse: () => void;
|
|
972
978
|
shouldLoadData: () => boolean;
|
|
973
979
|
updateLeafState: () => void;
|
|
974
|
-
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue
|
|
980
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue
|
|
981
|
+
/** 非懒加载:子级联动父级 */
|
|
982
|
+
?: boolean | undefined) => void;
|
|
975
983
|
getChildren: (forceInit?: boolean) => import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData | import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData[];
|
|
976
984
|
updateChildren: () => void;
|
|
977
985
|
loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node.mjs").default) => void, defaultProps?: import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeLoadedDefaultProps) => void;
|
|
@@ -1256,11 +1264,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
1256
1264
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
1257
1265
|
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
|
1258
1266
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
1259
|
-
"onCheck-change"?: ((...
|
|
1260
|
-
"onNode-click"?: ((
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
...
|
|
1267
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
|
1268
|
+
"onNode-click"?: ((
|
|
1269
|
+
/** 数据是否为空 */
|
|
1270
|
+
...args: any[]) => any) | undefined;
|
|
1271
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
1264
1272
|
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
|
1265
1273
|
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
|
1266
1274
|
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1360,11 +1368,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
1360
1368
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
1361
1369
|
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
|
1362
1370
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
1363
|
-
"onCheck-change"?: ((...
|
|
1364
|
-
"onNode-click"?: ((
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
...
|
|
1371
|
+
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
|
1372
|
+
"onNode-click"?: ((
|
|
1373
|
+
/** 数据是否为空 */
|
|
1374
|
+
...args: any[]) => any) | undefined;
|
|
1375
|
+
"onNode-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
1368
1376
|
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
|
1369
1377
|
"onNode-drag-start"?: ((...args: any[]) => any) | undefined;
|
|
1370
1378
|
"onNode-drag-end"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1429,7 +1437,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
1429
1437
|
collapse: () => void;
|
|
1430
1438
|
shouldLoadData: () => boolean;
|
|
1431
1439
|
updateLeafState: () => void;
|
|
1432
|
-
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue
|
|
1440
|
+
setChecked: (value?: string | boolean | undefined, deep?: boolean | undefined, recursion?: boolean | undefined, passValue
|
|
1441
|
+
/** 非懒加载:子级联动父级 */
|
|
1442
|
+
?: boolean | undefined) => void;
|
|
1433
1443
|
getChildren: (forceInit?: boolean) => import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData | import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeData[];
|
|
1434
1444
|
updateChildren: () => void;
|
|
1435
1445
|
loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node.mjs").default) => void, defaultProps?: import("element-plus/es/components/tree/src/tree.type.mjs").TreeNodeLoadedDefaultProps) => void;
|