@wfrog/vc-ui 1.8.0 → 1.9.1
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/dist/es/components/explorer-column-table/explorer-column-table.mjs +13 -1
- package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +3 -2
- package/dist/es/components/explorer-modal-form/index.css +1 -2
- package/dist/es/components/explorer-table/explorer-table.d.ts +1 -0
- package/dist/es/components/explorer-table/explorer-table.mjs +45 -17
- package/dist/es/components/explorer-table/explorer-table.vue.d.ts +9 -1
- package/dist/es/components/transfer/index.css +38 -0
- package/dist/es/components/transfer/index.d.ts +4 -0
- package/dist/es/components/transfer/index.mjs +6 -0
- package/dist/es/components/transfer/transfer.d.ts +12 -0
- package/dist/es/components/transfer/transfer.mjs +122 -0
- package/dist/es/components/transfer/transfer.vue.d.ts +12 -0
- package/dist/es/components/transfer-panel/components/transfer-child-panel.d.ts +19 -0
- package/dist/es/components/transfer-panel/components/transfer-child-panel.vue.d.ts +31 -0
- package/dist/es/components/transfer-panel/index.css +100 -0
- package/dist/es/components/transfer-panel/index.d.ts +4 -0
- package/dist/es/components/transfer-panel/index.mjs +6 -0
- package/dist/es/components/transfer-panel/transfer-panel.d.ts +13 -0
- package/dist/es/components/transfer-panel/transfer-panel.mjs +289 -0
- package/dist/es/components/transfer-panel/transfer-panel.vue.d.ts +14 -0
- package/dist/es/components/tree-picker/index.css +2 -2
- package/dist/es/components/tree-picker/tree-picker.mjs +4 -4
- package/dist/es/components/upload-file/upload-file.mjs +2 -2
- package/dist/es/index.d.ts +2 -0
- package/dist/es/index.mjs +8 -4
- package/dist/global.d.ts +2 -0
- package/dist/index.css +141 -4
- package/package.json +1 -1
|
@@ -2730,6 +2730,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2730
2730
|
return { width: 260, data: 200, fixed: 140, truncate: 76 };
|
|
2731
2731
|
});
|
|
2732
2732
|
const isFullMode = computed(() => props.mode === "full");
|
|
2733
|
+
function getLabel(row) {
|
|
2734
|
+
if (row.label) {
|
|
2735
|
+
return row.label;
|
|
2736
|
+
}
|
|
2737
|
+
if (row.prop === "index") {
|
|
2738
|
+
return "序号";
|
|
2739
|
+
}
|
|
2740
|
+
if (row.prop.startsWith("expand")) {
|
|
2741
|
+
return "展开行";
|
|
2742
|
+
}
|
|
2743
|
+
return "-";
|
|
2744
|
+
}
|
|
2733
2745
|
function handleWidthChange(row) {
|
|
2734
2746
|
if (row.widthType === "width") {
|
|
2735
2747
|
row.width = row.minWidth;
|
|
@@ -2806,7 +2818,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2806
2818
|
createVNode(_component_ElCheckbox, {
|
|
2807
2819
|
modelValue: row.visible,
|
|
2808
2820
|
"onUpdate:modelValue": ($event) => row.visible = $event,
|
|
2809
|
-
label: row
|
|
2821
|
+
label: getLabel(row),
|
|
2810
2822
|
size: __props.size
|
|
2811
2823
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "size"])
|
|
2812
2824
|
], 2)
|
|
@@ -33,6 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
const formRef = useTemplateRef("formRef");
|
|
34
34
|
const isEditing = ref(false);
|
|
35
35
|
const component = computed(() => props.type === "dialog" ? Component$1 : Component$2);
|
|
36
|
+
const modalTitle = computed(() => props.title || (props.form.fields.id ? "编辑" : "新增"));
|
|
36
37
|
function handleCancel() {
|
|
37
38
|
modalVisible.value = false;
|
|
38
39
|
emits("cancel");
|
|
@@ -75,7 +76,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
76
|
class: normalizeClass(_ctx.$style.icon)
|
|
76
77
|
}, null, 8, ["name", "class"])) : createCommentVNode("", true),
|
|
77
78
|
renderSlot(_ctx.$slots, "title", { close }, () => [
|
|
78
|
-
createTextVNode(toDisplayString(
|
|
79
|
+
createTextVNode(toDisplayString(unref(modalTitle)), 1)
|
|
79
80
|
])
|
|
80
81
|
], 2)
|
|
81
82
|
]),
|
|
@@ -142,7 +143,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
143
|
}
|
|
143
144
|
});
|
|
144
145
|
|
|
145
|
-
/* unplugin-vue-components disabled */const icon = "
|
|
146
|
+
/* unplugin-vue-components disabled */const icon = "_icon_ygryy_1";
|
|
146
147
|
const style0 = {
|
|
147
148
|
icon: icon
|
|
148
149
|
};
|
|
@@ -6,7 +6,7 @@ import '../../chunk/BqMf3xBl.mjs';
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
import '../../chunk/D1Ki7NcP.mjs';
|
|
8
8
|
import '../../chunk/Dh_zpmSz.mjs';
|
|
9
|
-
import { defineComponent, h, computed, watch, withDirectives, createElementBlock, openBlock, normalizeClass, createVNode, mergeProps, withCtx, createBlock, createCommentVNode, renderSlot, unref, Fragment, renderList,
|
|
9
|
+
import { defineComponent, h, computed, watch, withDirectives, createElementBlock, openBlock, normalizeClass, createVNode, mergeProps, withCtx, createBlock, createCommentVNode, renderSlot, unref, Fragment, renderList, createSlots, createTextVNode, toDisplayString, resolveDynamicComponent } from 'vue';
|
|
10
10
|
import { ElTableColumn } from 'element-plus';
|
|
11
11
|
import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
|
|
12
12
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
@@ -26,12 +26,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
loadingText: { default: "数据加载中..." },
|
|
27
27
|
size: {},
|
|
28
28
|
columnRender: { type: Function, default: (row, column) => h("span", row[column.prop]) },
|
|
29
|
-
columnConfig: {}
|
|
29
|
+
columnConfig: {},
|
|
30
|
+
startIndex: { default: 0 }
|
|
30
31
|
},
|
|
31
32
|
setup(__props, { expose: __expose }) {
|
|
32
33
|
const props = __props;
|
|
33
34
|
const state = injectExplorerPanelState();
|
|
34
35
|
const columns = computed(() => state.columnConfig.value.filter((item) => item.visible !== false));
|
|
36
|
+
function columnType(item) {
|
|
37
|
+
if (item.prop.startsWith("expand")) {
|
|
38
|
+
return "expand";
|
|
39
|
+
}
|
|
40
|
+
return "default";
|
|
41
|
+
}
|
|
35
42
|
watch(() => props.columnConfig, (val) => {
|
|
36
43
|
if (Array.isArray(state.columnConfig.value) && state.columnConfig.value.length) {
|
|
37
44
|
return;
|
|
@@ -81,23 +88,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
88
|
width: __props.size === "large" ? 50 : 38,
|
|
82
89
|
align: "center"
|
|
83
90
|
}, null, 8, ["width"])) : createCommentVNode("", true),
|
|
84
|
-
|
|
85
|
-
__props.index ? (openBlock(), createBlock(unref(ElTableColumn), {
|
|
86
|
-
key: 1,
|
|
87
|
-
type: "index",
|
|
88
|
-
width: __props.size === "large" ? 80 : 60,
|
|
89
|
-
align: "center",
|
|
90
|
-
fixed: "left"
|
|
91
|
-
}, null, 8, ["width"])) : createCommentVNode("", true),
|
|
92
|
-
unref(columns).length ? (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(unref(columns), (item) => {
|
|
91
|
+
unref(columns).length ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(columns), (item) => {
|
|
93
92
|
return openBlock(), createBlock(unref(ElTableColumn), mergeProps({
|
|
94
93
|
key: item.prop
|
|
95
|
-
}, { ref_for: true }, item
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
94
|
+
}, { ref_for: true }, item, {
|
|
95
|
+
type: columnType(item)
|
|
96
|
+
}), createSlots({ _: 2 }, [
|
|
97
|
+
item.prop.startsWith("expand") ? {
|
|
98
|
+
name: "default",
|
|
99
|
+
fn: withCtx(({ row, $index }) => [
|
|
100
|
+
renderSlot(_ctx.$slots, "expand", {
|
|
101
|
+
row,
|
|
102
|
+
index: $index
|
|
103
|
+
})
|
|
104
|
+
]),
|
|
105
|
+
key: "0"
|
|
106
|
+
} : item.prop === "index" ? {
|
|
107
|
+
name: "default",
|
|
108
|
+
fn: withCtx(({ $index }) => [
|
|
109
|
+
createTextVNode(toDisplayString(__props.startIndex + $index + 1), 1)
|
|
110
|
+
]),
|
|
111
|
+
key: "1"
|
|
112
|
+
} : item.prop === "operation" ? {
|
|
113
|
+
name: "default",
|
|
114
|
+
fn: withCtx(({ row, $index }) => [
|
|
115
|
+
renderSlot(_ctx.$slots, "operation", {
|
|
116
|
+
row,
|
|
117
|
+
index: $index
|
|
118
|
+
})
|
|
119
|
+
]),
|
|
120
|
+
key: "2"
|
|
121
|
+
} : {
|
|
122
|
+
name: "default",
|
|
123
|
+
fn: withCtx(({ row, $index }) => [
|
|
124
|
+
(openBlock(), createBlock(resolveDynamicComponent(__props.columnRender(row, item, $index))))
|
|
125
|
+
]),
|
|
126
|
+
key: "3"
|
|
127
|
+
}
|
|
128
|
+
]), 1040, ["type"]);
|
|
101
129
|
}), 128)) : createCommentVNode("", true),
|
|
102
130
|
renderSlot(_ctx.$slots, "default")
|
|
103
131
|
]),
|
|
@@ -3,7 +3,14 @@ import { IExplorerTableProps } from './explorer-table';
|
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
5
5
|
slots: {
|
|
6
|
-
expand?(_: {
|
|
6
|
+
expand?(_: {
|
|
7
|
+
row: any;
|
|
8
|
+
index: any;
|
|
9
|
+
}): any;
|
|
10
|
+
operation?(_: {
|
|
11
|
+
row: any;
|
|
12
|
+
index: any;
|
|
13
|
+
}): any;
|
|
7
14
|
default?(_: {}): any;
|
|
8
15
|
};
|
|
9
16
|
refs: {};
|
|
@@ -18,6 +25,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerTableProps
|
|
|
18
25
|
emptyText: string;
|
|
19
26
|
highlightCurrent: boolean;
|
|
20
27
|
columnRender: (row: any, column: IColumnConfig, index: number) => VNode;
|
|
28
|
+
startIndex: number;
|
|
21
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
31
|
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* source: src/components/transfer/transfer.vue */
|
|
2
|
+
._popover_1kcfx_1 {
|
|
3
|
+
width: auto !important;
|
|
4
|
+
min-width: 80px !important;
|
|
5
|
+
}
|
|
6
|
+
._container_1kcfx_6 {
|
|
7
|
+
display: flex;
|
|
8
|
+
}
|
|
9
|
+
._container_1kcfx_6 .el-cascader-menu {
|
|
10
|
+
min-width: 80px;
|
|
11
|
+
}
|
|
12
|
+
._wrapper_1kcfx_13 {
|
|
13
|
+
display: inline-block;
|
|
14
|
+
width: unset;
|
|
15
|
+
min-width: var(--v4c7f4a02);
|
|
16
|
+
}
|
|
17
|
+
._wrapper_1kcfx_13._block_1kcfx_18 {
|
|
18
|
+
display: block;
|
|
19
|
+
width: var(--v4c7f4a02);
|
|
20
|
+
}
|
|
21
|
+
._wrapper_1kcfx_13 .el-tag .el-icon {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
._select_1kcfx_26 {
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
._select_1kcfx_26 .el-input__wrapper.is-focus {
|
|
28
|
+
box-shadow: 0 0 0 1px var(--el-input-focus-border-color, var(--el-color-primary)) inset !important;
|
|
29
|
+
}
|
|
30
|
+
._is-active_1kcfx_33 .el-input__inner {
|
|
31
|
+
border-color: var(--color-primary);
|
|
32
|
+
}
|
|
33
|
+
._is-active_1kcfx_33 .el-icon {
|
|
34
|
+
transform: rotateZ(-180deg) !important;
|
|
35
|
+
}
|
|
36
|
+
._popper_1kcfx_40 {
|
|
37
|
+
display: none !important;
|
|
38
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ITransferChildItem } from '../transfer-panel/components/transfer-child-panel';
|
|
2
|
+
export interface ITransferProps {
|
|
3
|
+
modelValue?: string[] | number[];
|
|
4
|
+
data?: ITransferChildItem[];
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
width?: string;
|
|
7
|
+
block?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface ITransferEmits {
|
|
11
|
+
(e: 'update:modelValue', value: string[] | number[]): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import './index.css'
|
|
2
|
+
import '../../chunk/By7FMB3I.mjs';
|
|
3
|
+
import '../../chunk/D1Ki7NcP.mjs';
|
|
4
|
+
/* empty css */
|
|
5
|
+
import { defineComponent, useCssVars, unref, computed, useCssModule, useTemplateRef, createBlock, openBlock, withCtx, createElementVNode, normalizeClass, createVNode, isRef, mergeProps } from 'vue';
|
|
6
|
+
import { useFormDisabled } from 'element-plus';
|
|
7
|
+
import { C as Component$2 } from '../select/select.mjs';
|
|
8
|
+
import { C as Component$1 } from '../transfer-panel/transfer-panel.mjs';
|
|
9
|
+
import { useVModel, useToggle, useThrottleFn, onClickOutside } from '@vueuse/core';
|
|
10
|
+
import { E as ElPopover } from '../../chunk/BzqDqZOf.mjs';
|
|
11
|
+
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
12
|
+
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
|
+
__name: "transfer",
|
|
15
|
+
props: {
|
|
16
|
+
modelValue: {},
|
|
17
|
+
data: {},
|
|
18
|
+
placeholder: { default: "请选择" },
|
|
19
|
+
width: {},
|
|
20
|
+
block: { type: Boolean },
|
|
21
|
+
disabled: { type: Boolean, default: void 0 }
|
|
22
|
+
},
|
|
23
|
+
emits: ["update:modelValue"],
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
|
+
useCssVars((_ctx) => ({
|
|
26
|
+
"v4c7f4a02": unref(myWidth)
|
|
27
|
+
}));
|
|
28
|
+
const props = __props;
|
|
29
|
+
const emits = __emit;
|
|
30
|
+
const myValue = useVModel(props, "modelValue", emits);
|
|
31
|
+
const [popoverVisible, togglePopoverVisible] = useToggle();
|
|
32
|
+
const formDisabled = useFormDisabled();
|
|
33
|
+
const handleSelectClick = useThrottleFn(() => {
|
|
34
|
+
!formDisabled.value && togglePopoverVisible();
|
|
35
|
+
}, 300);
|
|
36
|
+
const myWidth = computed(() => {
|
|
37
|
+
return props.width || (props.block ? "100%" : "240px");
|
|
38
|
+
});
|
|
39
|
+
const $style = useCssModule();
|
|
40
|
+
const selectClassName = computed(() => ({ [$style["is-active"]]: popoverVisible.value, [$style.block]: props.block }));
|
|
41
|
+
const containerRef = useTemplateRef("containerRef");
|
|
42
|
+
onClickOutside(containerRef, (event) => {
|
|
43
|
+
let target = event.target;
|
|
44
|
+
let result = false;
|
|
45
|
+
do {
|
|
46
|
+
result = target.classList ? target.classList.contains($style.select) : false;
|
|
47
|
+
target = target.parentNode;
|
|
48
|
+
} while (result === false && target !== null && target.nodeName !== "BODY");
|
|
49
|
+
!result && togglePopoverVisible(false);
|
|
50
|
+
});
|
|
51
|
+
return (_ctx, _cache) => {
|
|
52
|
+
const _component_ElPopover = ElPopover;
|
|
53
|
+
return openBlock(), createBlock(_component_ElPopover, {
|
|
54
|
+
visible: unref(popoverVisible),
|
|
55
|
+
placement: "bottom",
|
|
56
|
+
"popper-class": unref($style).popover
|
|
57
|
+
}, {
|
|
58
|
+
reference: withCtx(() => [
|
|
59
|
+
createElementVNode("div", {
|
|
60
|
+
class: normalizeClass(unref($style).wrapper),
|
|
61
|
+
onClickCapture: _cache[2] || (_cache[2] = //@ts-ignore
|
|
62
|
+
(...args) => unref(handleSelectClick) && unref(handleSelectClick)(...args))
|
|
63
|
+
}, [
|
|
64
|
+
createVNode(Component$2, mergeProps({
|
|
65
|
+
modelValue: unref(myValue),
|
|
66
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(myValue) ? myValue.value = $event : null),
|
|
67
|
+
block: __props.block,
|
|
68
|
+
placeholder: __props.placeholder,
|
|
69
|
+
class: [unref($style).select, unref(selectClassName)],
|
|
70
|
+
options: __props.data,
|
|
71
|
+
disabled: unref(formDisabled)
|
|
72
|
+
}, { ..._ctx.$attrs, multiple: true }, {
|
|
73
|
+
"popper-class": unref($style).popper
|
|
74
|
+
}), null, 16, ["modelValue", "block", "placeholder", "class", "options", "disabled", "popper-class"])
|
|
75
|
+
], 34)
|
|
76
|
+
]),
|
|
77
|
+
default: withCtx(() => [
|
|
78
|
+
createElementVNode("div", {
|
|
79
|
+
ref_key: "containerRef",
|
|
80
|
+
ref: containerRef,
|
|
81
|
+
class: normalizeClass(unref($style).container)
|
|
82
|
+
}, [
|
|
83
|
+
createVNode(Component$1, {
|
|
84
|
+
modelValue: unref(myValue),
|
|
85
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(myValue) ? myValue.value = $event : null),
|
|
86
|
+
data: __props.data
|
|
87
|
+
}, null, 8, ["modelValue", "data"])
|
|
88
|
+
], 2)
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
}, 8, ["visible", "popper-class"]);
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
/* unplugin-vue-components disabled */const popover = "_popover_1kcfx_1";
|
|
97
|
+
const container = "_container_1kcfx_6";
|
|
98
|
+
const wrapper = "_wrapper_1kcfx_13";
|
|
99
|
+
const block = "_block_1kcfx_18";
|
|
100
|
+
const select = "_select_1kcfx_26";
|
|
101
|
+
const popper = "_popper_1kcfx_40";
|
|
102
|
+
const style0 = {
|
|
103
|
+
popover: popover,
|
|
104
|
+
container: container,
|
|
105
|
+
wrapper: wrapper,
|
|
106
|
+
block: block,
|
|
107
|
+
select: select,
|
|
108
|
+
"is-active": "_is-active_1kcfx_33",
|
|
109
|
+
popper: popper
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
const cssModules = {
|
|
113
|
+
"$style": style0
|
|
114
|
+
};
|
|
115
|
+
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
116
|
+
|
|
117
|
+
const __vite_glob_0_56 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
118
|
+
__proto__: null,
|
|
119
|
+
default: Component
|
|
120
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
121
|
+
|
|
122
|
+
export { Component as C, __vite_glob_0_56 as _ };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ITransferProps } from './transfer';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ITransferProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string[] | number[]) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<ITransferProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string[] | number[]) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
placeholder: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
10
|
+
containerRef: HTMLDivElement;
|
|
11
|
+
}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface ITransferChildItem {
|
|
2
|
+
label: string;
|
|
3
|
+
icon?: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
}
|
|
6
|
+
export interface ITransferChildPanelProps {
|
|
7
|
+
title?: string;
|
|
8
|
+
data?: ITransferChildItem[];
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
type: 'source' | 'choiced';
|
|
11
|
+
width: string;
|
|
12
|
+
modelValue?: string[] | number[];
|
|
13
|
+
debounce?: number;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface ITransferChildPanelEmits {
|
|
17
|
+
(e: 'change', type: number, item?: ITransferChildItem): void;
|
|
18
|
+
(e: 'update:modelValue', value: string[] | number[]): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ITransferChildItem, ITransferChildPanelProps } from './transfer-child-panel';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {
|
|
6
|
+
data: ITransferChildItem;
|
|
7
|
+
index: number;
|
|
8
|
+
}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<ITransferChildPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
change: (type: number, item?: ITransferChildItem | undefined) => any;
|
|
16
|
+
"update:modelValue": (value: string[] | number[]) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<ITransferChildPanelProps> & Readonly<{
|
|
18
|
+
onChange?: ((type: number, item?: ITransferChildItem | undefined) => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string[] | number[]) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
placeholder: string;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
debounce: number;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/* source: src/components/transfer-panel/components/transfer-child-panel.vue,src/components/transfer-panel/transfer-panel.vue */
|
|
2
|
+
._transfer-child-panel_ipfuy_1 {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
padding: 4px;
|
|
6
|
+
position: relative;
|
|
7
|
+
row-gap: 4px;
|
|
8
|
+
width: var(--v4db18f20);
|
|
9
|
+
}
|
|
10
|
+
._item_ipfuy_10 {
|
|
11
|
+
padding: 4px 8px;
|
|
12
|
+
display: flex;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
align-items: center;
|
|
15
|
+
font-size: var(--el-font-size-base);
|
|
16
|
+
color: var(--el-text-color-regular);
|
|
17
|
+
min-height: 32px;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
line-height: 1;
|
|
20
|
+
}
|
|
21
|
+
._item_ipfuy_10._source_ipfuy_21 {
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
._item_ipfuy_10:hover {
|
|
25
|
+
background-color: var(--el-color-primary-light-9);
|
|
26
|
+
}
|
|
27
|
+
._item_ipfuy_10:hover ._actions_ipfuy_27 {
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
align-items: flex-start;
|
|
30
|
+
}
|
|
31
|
+
._item_ipfuy_10._active_ipfuy_31 {
|
|
32
|
+
color: var(--el-color-primary);
|
|
33
|
+
background-color: var(--el-color-primary-light-9);
|
|
34
|
+
}
|
|
35
|
+
._label_ipfuy_36 {
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
text-overflow: ellipsis;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
}
|
|
40
|
+
._icon_ipfuy_42 {
|
|
41
|
+
margin-right: 4px;
|
|
42
|
+
}
|
|
43
|
+
._actions_ipfuy_27 {
|
|
44
|
+
display: none;
|
|
45
|
+
column-gap: 4px;
|
|
46
|
+
}
|
|
47
|
+
._actions_ipfuy_27 > button {
|
|
48
|
+
margin-left: 0 !important;
|
|
49
|
+
font-size: 1.2em;
|
|
50
|
+
border: 1px solid var(--el-border-color-light) !important;
|
|
51
|
+
}
|
|
52
|
+
._actions_ipfuy_27 > button:hover {
|
|
53
|
+
border-color: var(--el-border-color-dark) !important;
|
|
54
|
+
}
|
|
55
|
+
._operation_ipfuy_59 {
|
|
56
|
+
position: absolute;
|
|
57
|
+
z-index: 10;
|
|
58
|
+
bottom: 0;
|
|
59
|
+
right: 0;
|
|
60
|
+
width: 40px;
|
|
61
|
+
height: 20px;
|
|
62
|
+
display: flex;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
align-items: center;
|
|
65
|
+
background-color: var(--el-bg-color-page);
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
._operation_ipfuy_59:hover .el-text {
|
|
69
|
+
color: var(--el-color-primary);
|
|
70
|
+
}
|
|
71
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._item_ipfuy_10 {
|
|
72
|
+
cursor: not-allowed;
|
|
73
|
+
}
|
|
74
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._item_ipfuy_10:hover {
|
|
75
|
+
background-color: inherit;
|
|
76
|
+
}
|
|
77
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._item_ipfuy_10._active_ipfuy_31 {
|
|
78
|
+
color: var(--el-color-info);
|
|
79
|
+
background-color: var(--el-fill-color-light);
|
|
80
|
+
}
|
|
81
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._actions_ipfuy_27 {
|
|
82
|
+
display: none !important;
|
|
83
|
+
}
|
|
84
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._operation_ipfuy_59 {
|
|
85
|
+
cursor: not-allowed;
|
|
86
|
+
}
|
|
87
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._operation_ipfuy_59:hover .el-text {
|
|
88
|
+
color: var(--el-color-info);
|
|
89
|
+
}._transfer-panel_1mztg_1 {
|
|
90
|
+
display: flex;
|
|
91
|
+
height: var(--v7fe0a745);
|
|
92
|
+
border-radius: var(--el-border-radius-base);
|
|
93
|
+
border: 1px solid var(--el-border-color-light);
|
|
94
|
+
width: fit-content;
|
|
95
|
+
}
|
|
96
|
+
._divider_1mztg_9 {
|
|
97
|
+
width: 1px;
|
|
98
|
+
height: 100%;
|
|
99
|
+
background-color: var(--el-border-color-light);
|
|
100
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ITransferChildItem } from './components/transfer-child-panel';
|
|
2
|
+
export interface ITransferPanelProps {
|
|
3
|
+
modelValue?: string[] | number[];
|
|
4
|
+
title?: string;
|
|
5
|
+
data?: ITransferChildItem[];
|
|
6
|
+
height?: string | number;
|
|
7
|
+
halfWidth?: string | number;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface ITransferPanelEmits {
|
|
11
|
+
(e: 'change', type: number, item?: ITransferChildItem): void;
|
|
12
|
+
(e: 'update:modelValue', value: string[] | number[]): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import './index.css'
|
|
2
|
+
import { defineComponent, useCssVars, ref, computed, createElementBlock, openBlock, normalizeClass, createVNode, createElementVNode, unref, withKeys, isRef, withCtx, createBlock, createTextVNode, toDisplayString, Fragment, renderList, createCommentVNode, renderSlot } from 'vue';
|
|
3
|
+
import { useFormDisabled } from 'element-plus';
|
|
4
|
+
import '../../chunk/By7FMB3I.mjs';
|
|
5
|
+
import { E as ElInput } from '../../chunk/CdG7Eqv2.mjs';
|
|
6
|
+
import { E as ElText } from '../../chunk/D5u7KBz_.mjs';
|
|
7
|
+
import { Search } from '@element-plus/icons-vue';
|
|
8
|
+
import { C as Component$3 } from '../button/button.mjs';
|
|
9
|
+
import { C as Component$2 } from '../iconify-icon/iconify-icon.mjs';
|
|
10
|
+
import { C as Component$1 } from '../scrollbar/scrollbar.mjs';
|
|
11
|
+
import { useVModel } from '@vueuse/core';
|
|
12
|
+
import { d as debounce } from '../../chunk/Cdh3HNZa.mjs';
|
|
13
|
+
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
14
|
+
|
|
15
|
+
const _hoisted_1 = ["onClick"];
|
|
16
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
17
|
+
__name: "transfer-child-panel",
|
|
18
|
+
props: {
|
|
19
|
+
title: {},
|
|
20
|
+
data: {},
|
|
21
|
+
placeholder: { default: "查询" },
|
|
22
|
+
type: {},
|
|
23
|
+
width: {},
|
|
24
|
+
modelValue: {},
|
|
25
|
+
debounce: { default: 300 },
|
|
26
|
+
disabled: { type: Boolean, default: void 0 }
|
|
27
|
+
},
|
|
28
|
+
emits: ["change", "update:modelValue"],
|
|
29
|
+
setup(__props, { emit: __emit }) {
|
|
30
|
+
useCssVars((_ctx) => ({
|
|
31
|
+
"v4db18f20": _ctx.width
|
|
32
|
+
}));
|
|
33
|
+
const props = __props;
|
|
34
|
+
const emits = __emit;
|
|
35
|
+
const myValue = useVModel(props, "modelValue", emits);
|
|
36
|
+
const keyword = ref("");
|
|
37
|
+
const filterKeyword = ref("");
|
|
38
|
+
const isSource = computed(() => props.type === "source");
|
|
39
|
+
const choicedData = computed(() => {
|
|
40
|
+
const result = [];
|
|
41
|
+
myValue.value?.forEach((item) => {
|
|
42
|
+
const target = props.data?.find((child) => child.value === item);
|
|
43
|
+
target && result.push(target);
|
|
44
|
+
});
|
|
45
|
+
return result;
|
|
46
|
+
});
|
|
47
|
+
const myData = computed(() => {
|
|
48
|
+
const typeData = isSource.value ? props.data : choicedData.value;
|
|
49
|
+
const filterData = typeData?.filter((item) => item.label.includes(filterKeyword.value));
|
|
50
|
+
return filterData;
|
|
51
|
+
});
|
|
52
|
+
function handleClick(item) {
|
|
53
|
+
if (props.disabled) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
if (myValue.value?.includes(item.value)) {
|
|
57
|
+
myValue.value = myValue.value.filter((v) => v !== item.value);
|
|
58
|
+
emits("change", 1, item);
|
|
59
|
+
} else {
|
|
60
|
+
myValue.value = [...myValue.value, item.value];
|
|
61
|
+
emits("change", -1, item);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function handleFilter() {
|
|
65
|
+
filterKeyword.value = keyword.value;
|
|
66
|
+
}
|
|
67
|
+
function handleOperation() {
|
|
68
|
+
if (props.disabled) {
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
myValue.value = isSource.value ? props.data?.map((item) => item.value) : [];
|
|
72
|
+
emits("change", isSource.value ? 1 : -1);
|
|
73
|
+
}
|
|
74
|
+
const keywordChange = debounce(() => handleFilter(), props.debounce);
|
|
75
|
+
return (_ctx, _cache) => {
|
|
76
|
+
const _component_ElText = ElText;
|
|
77
|
+
const _component_ElInput = ElInput;
|
|
78
|
+
return openBlock(), createElementBlock("div", {
|
|
79
|
+
class: normalizeClass([_ctx.$style["transfer-child-panel"], { [_ctx.$style.disabled]: __props.disabled }])
|
|
80
|
+
}, [
|
|
81
|
+
createVNode(_component_ElInput, {
|
|
82
|
+
modelValue: unref(keyword),
|
|
83
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(keyword) ? keyword.value = $event : null),
|
|
84
|
+
placeholder: __props.placeholder,
|
|
85
|
+
clearable: "",
|
|
86
|
+
"prefix-icon": unref(Search),
|
|
87
|
+
disabled: __props.disabled,
|
|
88
|
+
onKeydown: withKeys(handleFilter, ["enter"]),
|
|
89
|
+
onClear: handleFilter,
|
|
90
|
+
onChange: handleFilter,
|
|
91
|
+
onInput: unref(keywordChange)
|
|
92
|
+
}, {
|
|
93
|
+
suffix: withCtx(() => [
|
|
94
|
+
unref(isSource) ? (openBlock(), createBlock(_component_ElText, {
|
|
95
|
+
key: 0,
|
|
96
|
+
size: "small",
|
|
97
|
+
type: "info"
|
|
98
|
+
}, {
|
|
99
|
+
default: withCtx(() => [
|
|
100
|
+
createTextVNode(toDisplayString(__props.title) + " " + toDisplayString(__props.data?.length || 0), 1)
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
})) : (openBlock(), createBlock(_component_ElText, {
|
|
104
|
+
key: 1,
|
|
105
|
+
size: "small",
|
|
106
|
+
type: "info"
|
|
107
|
+
}, {
|
|
108
|
+
default: withCtx(() => [
|
|
109
|
+
createTextVNode("已选择 " + toDisplayString(unref(choicedData)?.length || 0), 1)
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
}))
|
|
113
|
+
]),
|
|
114
|
+
_: 1
|
|
115
|
+
}, 8, ["modelValue", "placeholder", "prefix-icon", "disabled", "onInput"]),
|
|
116
|
+
createVNode(Component$1, { always: "" }, {
|
|
117
|
+
default: withCtx(() => [
|
|
118
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(myData), (item, index) => {
|
|
119
|
+
return openBlock(), createElementBlock("div", {
|
|
120
|
+
key: item.value,
|
|
121
|
+
class: normalizeClass([_ctx.$style.item, { [_ctx.$style.active]: unref(isSource) && unref(myValue)?.includes(item.value), [_ctx.$style.source]: unref(isSource) }]),
|
|
122
|
+
onClick: () => unref(isSource) && handleClick(item)
|
|
123
|
+
}, [
|
|
124
|
+
createElementVNode("div", {
|
|
125
|
+
class: normalizeClass(_ctx.$style.label)
|
|
126
|
+
}, [
|
|
127
|
+
renderSlot(_ctx.$slots, "default", {
|
|
128
|
+
data: item,
|
|
129
|
+
index
|
|
130
|
+
}, () => [
|
|
131
|
+
item.icon ? (openBlock(), createBlock(Component$2, {
|
|
132
|
+
key: 0,
|
|
133
|
+
name: item.icon,
|
|
134
|
+
class: normalizeClass(_ctx.$style.icon)
|
|
135
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true),
|
|
136
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
137
|
+
])
|
|
138
|
+
], 2),
|
|
139
|
+
!unref(isSource) ? (openBlock(), createElementBlock("div", {
|
|
140
|
+
key: 0,
|
|
141
|
+
class: normalizeClass(_ctx.$style.actions)
|
|
142
|
+
}, [
|
|
143
|
+
createVNode(Component$3, {
|
|
144
|
+
link: "",
|
|
145
|
+
icon: { type: "el", name: "Close" },
|
|
146
|
+
type: "danger",
|
|
147
|
+
confirm: { type: "none" },
|
|
148
|
+
stop: "",
|
|
149
|
+
onClick: ($event) => handleClick(item)
|
|
150
|
+
}, null, 8, ["onClick"])
|
|
151
|
+
], 2)) : createCommentVNode("", true)
|
|
152
|
+
], 10, _hoisted_1);
|
|
153
|
+
}), 128))
|
|
154
|
+
]),
|
|
155
|
+
_: 3
|
|
156
|
+
}),
|
|
157
|
+
createElementVNode("div", {
|
|
158
|
+
class: normalizeClass(_ctx.$style.operation),
|
|
159
|
+
onClick: handleOperation
|
|
160
|
+
}, [
|
|
161
|
+
unref(isSource) ? (openBlock(), createBlock(_component_ElText, {
|
|
162
|
+
key: 0,
|
|
163
|
+
size: "small",
|
|
164
|
+
type: "info"
|
|
165
|
+
}, {
|
|
166
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
167
|
+
createTextVNode("全选", -1)
|
|
168
|
+
])]),
|
|
169
|
+
_: 1
|
|
170
|
+
})) : (openBlock(), createBlock(_component_ElText, {
|
|
171
|
+
key: 1,
|
|
172
|
+
size: "small",
|
|
173
|
+
type: "info"
|
|
174
|
+
}, {
|
|
175
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
176
|
+
createTextVNode("清空", -1)
|
|
177
|
+
])]),
|
|
178
|
+
_: 1
|
|
179
|
+
}))
|
|
180
|
+
], 2)
|
|
181
|
+
], 2);
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
/* unplugin-vue-components disabled */const item = "_item_ipfuy_10";
|
|
187
|
+
const source = "_source_ipfuy_21";
|
|
188
|
+
const actions = "_actions_ipfuy_27";
|
|
189
|
+
const active = "_active_ipfuy_31";
|
|
190
|
+
const label = "_label_ipfuy_36";
|
|
191
|
+
const icon = "_icon_ipfuy_42";
|
|
192
|
+
const operation = "_operation_ipfuy_59";
|
|
193
|
+
const disabled = "_disabled_ipfuy_76";
|
|
194
|
+
const style0$1 = {
|
|
195
|
+
"transfer-child-panel": "_transfer-child-panel_ipfuy_1",
|
|
196
|
+
item: item,
|
|
197
|
+
source: source,
|
|
198
|
+
actions: actions,
|
|
199
|
+
active: active,
|
|
200
|
+
label: label,
|
|
201
|
+
icon: icon,
|
|
202
|
+
operation: operation,
|
|
203
|
+
disabled: disabled
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
const cssModules$1 = {
|
|
207
|
+
"$style": style0$1
|
|
208
|
+
};
|
|
209
|
+
const TransferChildPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
|
|
210
|
+
|
|
211
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
212
|
+
__name: "transfer-panel",
|
|
213
|
+
props: {
|
|
214
|
+
modelValue: {},
|
|
215
|
+
title: {},
|
|
216
|
+
data: { default: () => [] },
|
|
217
|
+
height: { default: "300px" },
|
|
218
|
+
halfWidth: { default: "200px" },
|
|
219
|
+
disabled: { type: Boolean, default: void 0 }
|
|
220
|
+
},
|
|
221
|
+
emits: ["change", "update:modelValue"],
|
|
222
|
+
setup(__props, { emit: __emit }) {
|
|
223
|
+
useCssVars((_ctx) => ({
|
|
224
|
+
"v7fe0a745": unref(transferPanelHeight)
|
|
225
|
+
}));
|
|
226
|
+
const props = __props;
|
|
227
|
+
const emits = __emit;
|
|
228
|
+
const transferPanelValue = useVModel(props, "modelValue", emits);
|
|
229
|
+
const formDisabled = useFormDisabled();
|
|
230
|
+
const transferPanelHeight = computed(() => {
|
|
231
|
+
if (props.height && Number.isNaN(+props.height)) {
|
|
232
|
+
return props.height;
|
|
233
|
+
}
|
|
234
|
+
return `${props.height}px`;
|
|
235
|
+
});
|
|
236
|
+
const panelHalfWidth = computed(() => {
|
|
237
|
+
if (props.halfWidth && Number.isNaN(+props.halfWidth)) {
|
|
238
|
+
return props.halfWidth;
|
|
239
|
+
}
|
|
240
|
+
return `${props.halfWidth}px`;
|
|
241
|
+
});
|
|
242
|
+
return (_ctx, _cache) => {
|
|
243
|
+
return openBlock(), createElementBlock("div", {
|
|
244
|
+
class: normalizeClass(_ctx.$style["transfer-panel"])
|
|
245
|
+
}, [
|
|
246
|
+
createVNode(TransferChildPanel, {
|
|
247
|
+
modelValue: unref(transferPanelValue),
|
|
248
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(transferPanelValue) ? transferPanelValue.value = $event : null),
|
|
249
|
+
disabled: unref(formDisabled),
|
|
250
|
+
width: unref(panelHalfWidth),
|
|
251
|
+
title: __props.title,
|
|
252
|
+
type: "source",
|
|
253
|
+
data: __props.data,
|
|
254
|
+
onChange: _cache[1] || (_cache[1] = (...params) => emits("change", ...params))
|
|
255
|
+
}, null, 8, ["modelValue", "disabled", "width", "title", "data"]),
|
|
256
|
+
createElementVNode("div", {
|
|
257
|
+
class: normalizeClass(_ctx.$style.divider)
|
|
258
|
+
}, null, 2),
|
|
259
|
+
createVNode(TransferChildPanel, {
|
|
260
|
+
modelValue: unref(transferPanelValue),
|
|
261
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(transferPanelValue) ? transferPanelValue.value = $event : null),
|
|
262
|
+
disabled: unref(formDisabled),
|
|
263
|
+
width: unref(panelHalfWidth),
|
|
264
|
+
type: "choiced",
|
|
265
|
+
data: __props.data,
|
|
266
|
+
onChange: _cache[3] || (_cache[3] = (...params) => emits("change", ...params))
|
|
267
|
+
}, null, 8, ["modelValue", "disabled", "width", "data"])
|
|
268
|
+
], 2);
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
|
|
273
|
+
/* unplugin-vue-components disabled */const divider = "_divider_1mztg_9";
|
|
274
|
+
const style0 = {
|
|
275
|
+
"transfer-panel": "_transfer-panel_1mztg_1",
|
|
276
|
+
divider: divider
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
const cssModules = {
|
|
280
|
+
"$style": style0
|
|
281
|
+
};
|
|
282
|
+
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
283
|
+
|
|
284
|
+
const __vite_glob_0_55 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
285
|
+
__proto__: null,
|
|
286
|
+
default: Component
|
|
287
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
288
|
+
|
|
289
|
+
export { Component as C, __vite_glob_0_55 as _ };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ITransferPanelProps } from './transfer-panel';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ITransferPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
change: (type: number, item?: import('./components/transfer-child-panel').ITransferChildItem | undefined) => any;
|
|
4
|
+
"update:modelValue": (value: string[] | number[]) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<ITransferPanelProps> & Readonly<{
|
|
6
|
+
onChange?: ((type: number, item?: import('./components/transfer-child-panel').ITransferChildItem | undefined) => any) | undefined;
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string[] | number[]) => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
data: import('./components/transfer-child-panel').ITransferChildItem[];
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
height: string | number;
|
|
12
|
+
halfWidth: string | number;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
._wrapper_q784j_13 {
|
|
13
13
|
display: inline-block;
|
|
14
14
|
width: unset;
|
|
15
|
-
min-width: var(--
|
|
15
|
+
min-width: var(--f8b9a976);
|
|
16
16
|
}
|
|
17
17
|
._wrapper_q784j_13._block_q784j_18 {
|
|
18
18
|
display: block;
|
|
19
|
-
width: var(--
|
|
19
|
+
width: var(--f8b9a976);
|
|
20
20
|
}
|
|
21
21
|
._wrapper_q784j_13 .el-tag .el-icon {
|
|
22
22
|
display: none;
|
|
@@ -33,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
emits: ["update:modelValue", "change"],
|
|
34
34
|
setup(__props, { emit: __emit }) {
|
|
35
35
|
useCssVars((_ctx) => ({
|
|
36
|
-
"
|
|
36
|
+
"f8b9a976": unref(myWidth)
|
|
37
37
|
}));
|
|
38
38
|
const props = __props;
|
|
39
39
|
const emits = __emit;
|
|
@@ -50,7 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
50
|
...props.props
|
|
51
51
|
}));
|
|
52
52
|
const myWidth = computed(() => {
|
|
53
|
-
return props.width || (props.block ? "100%" : "
|
|
53
|
+
return props.width || (props.block ? "100%" : "240px");
|
|
54
54
|
});
|
|
55
55
|
const $style = useCssModule();
|
|
56
56
|
const selectClassName = computed(() => ({ [$style["is-active"]]: popoverVisible.value, [$style.block]: props.block }));
|
|
@@ -168,9 +168,9 @@ const cssModules = {
|
|
|
168
168
|
};
|
|
169
169
|
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
170
170
|
|
|
171
|
-
const
|
|
171
|
+
const __vite_glob_0_57 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
172
172
|
__proto__: null,
|
|
173
173
|
default: Component
|
|
174
174
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
175
175
|
|
|
176
|
-
export { Component as C,
|
|
176
|
+
export { Component as C, __vite_glob_0_57 as _ };
|
|
@@ -191,9 +191,9 @@ const cssModules = {
|
|
|
191
191
|
};
|
|
192
192
|
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
193
193
|
|
|
194
|
-
const
|
|
194
|
+
const __vite_glob_0_58 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
195
195
|
__proto__: null,
|
|
196
196
|
default: Component
|
|
197
197
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
198
198
|
|
|
199
|
-
export { Component as C,
|
|
199
|
+
export { Component as C, __vite_glob_0_58 as _ };
|
package/dist/es/index.d.ts
CHANGED
|
@@ -53,6 +53,8 @@ export { default as VcTags } from './components/tags/tags.vue';
|
|
|
53
53
|
export { default as VcTextEllipsis } from './components/text-ellipsis/text-ellipsis.vue';
|
|
54
54
|
export { default as VcThousandInput } from './components/thousand-input/thousand-input.vue';
|
|
55
55
|
export { default as VcTinymce } from './components/tinymce/tinymce.vue';
|
|
56
|
+
export { default as VcTransferPanel } from './components/transfer-panel/transfer-panel.vue';
|
|
57
|
+
export { default as VcTransfer } from './components/transfer/transfer.vue';
|
|
56
58
|
export { default as VcTreePicker } from './components/tree-picker/tree-picker.vue';
|
|
57
59
|
export { default as VcUploadFile } from './components/upload-file/upload-file.vue';
|
|
58
60
|
export { default as VcVCleave } from './directives/cleave';
|
package/dist/es/index.mjs
CHANGED
|
@@ -99,9 +99,13 @@ import { _ as __vite_glob_0_53 } from './components/thousand-input/thousand-inpu
|
|
|
99
99
|
export { C as VcThousandInput } from './components/thousand-input/thousand-input.mjs';
|
|
100
100
|
import { _ as __vite_glob_0_54 } from './components/tinymce/tinymce.mjs';
|
|
101
101
|
export { C as VcTinymce } from './components/tinymce/tinymce.mjs';
|
|
102
|
-
import { _ as __vite_glob_0_55 } from './components/
|
|
102
|
+
import { _ as __vite_glob_0_55 } from './components/transfer-panel/transfer-panel.mjs';
|
|
103
|
+
export { C as VcTransferPanel } from './components/transfer-panel/transfer-panel.mjs';
|
|
104
|
+
import { _ as __vite_glob_0_56 } from './components/transfer/transfer.mjs';
|
|
105
|
+
export { C as VcTransfer } from './components/transfer/transfer.mjs';
|
|
106
|
+
import { _ as __vite_glob_0_57 } from './components/tree-picker/tree-picker.mjs';
|
|
103
107
|
export { C as VcTreePicker } from './components/tree-picker/tree-picker.mjs';
|
|
104
|
-
import { _ as
|
|
108
|
+
import { _ as __vite_glob_0_58 } from './components/upload-file/upload-file.mjs';
|
|
105
109
|
export { C as VcUploadFile } from './components/upload-file/upload-file.mjs';
|
|
106
110
|
export { c as VcVCleave } from './chunk/DRLHgORP.mjs';
|
|
107
111
|
export { v as VcVFocus } from './chunk/CL65DvCP.mjs';
|
|
@@ -152,9 +156,9 @@ const __vite_glob_0_47 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePr
|
|
|
152
156
|
default: _sfc_main$8
|
|
153
157
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
154
158
|
|
|
155
|
-
const version = "1.
|
|
159
|
+
const version = "1.9.1";
|
|
156
160
|
|
|
157
|
-
const modules = /* #__PURE__ */ Object.assign({"./components/awesome-icon/awesome-icon.vue": __vite_glob_0_0,"./components/backbottom/backbottom.vue": __vite_glob_0_1,"./components/button/button.vue": __vite_glob_0_2,"./components/chat-container/chat-container.vue": __vite_glob_0_3,"./components/choice-boolean/choice-boolean.vue": __vite_glob_0_4,"./components/choice/choice.vue": __vite_glob_0_5,"./components/color-switcher/color-switcher.vue": __vite_glob_0_6,"./components/config-provider/config-provider.vue": __vite_glob_0_7,"./components/cropper/cropper.vue": __vite_glob_0_8,"./components/currency/currency.vue": __vite_glob_0_9,"./components/dark-switcher/dark-switcher.vue": __vite_glob_0_10,"./components/daterange-picker/daterange-picker.vue": __vite_glob_0_11,"./components/dialog-camera-upload/dialog-camera-upload.vue": __vite_glob_0_12,"./components/dialog-map-point/dialog-map-point.vue": __vite_glob_0_13,"./components/dialog-upload-images/dialog-upload-images.vue": __vite_glob_0_14,"./components/dialog/dialog.vue": __vite_glob_0_15,"./components/drag-verify/drag-verify.vue": __vite_glob_0_16,"./components/drawer/drawer.vue": __vite_glob_0_17,"./components/easy-pagination/easy-pagination.vue": __vite_glob_0_18,"./components/el-icon/el-icon.vue": __vite_glob_0_19,"./components/explorer-column-table/explorer-column-table.vue": __vite_glob_0_20,"./components/explorer-container/explorer-container.vue": __vite_glob_0_21,"./components/explorer-filter/explorer-filter.vue": __vite_glob_0_22,"./components/explorer-footer/explorer-footer.vue": __vite_glob_0_23,"./components/explorer-form/explorer-form.vue": __vite_glob_0_24,"./components/explorer-list/explorer-list.vue": __vite_glob_0_25,"./components/explorer-modal-form/explorer-modal-form.vue": __vite_glob_0_26,"./components/explorer-panel/explorer-panel.vue": __vite_glob_0_27,"./components/explorer-query/explorer-query.vue": __vite_glob_0_28,"./components/explorer-table/explorer-table.vue": __vite_glob_0_29,"./components/explorer-tools/explorer-tools.vue": __vite_glob_0_30,"./components/explorer-tree/explorer-tree.vue": __vite_glob_0_31,"./components/explorer/explorer.vue": __vite_glob_0_32,"./components/flag/flag.vue": __vite_glob_0_33,"./components/icon-picker/icon-picker.vue": __vite_glob_0_34,"./components/icon/icon.vue": __vite_glob_0_35,"./components/iconify-icon/iconify-icon.vue": __vite_glob_0_36,"./components/image/image.vue": __vite_glob_0_37,"./components/input-number/input-number.vue": __vite_glob_0_38,"./components/input/input.vue": __vite_glob_0_39,"./components/pca-picker/pca-picker.vue": __vite_glob_0_40,"./components/qr-code/qr-code.vue": __vite_glob_0_41,"./components/screenfull/screenfull.vue": __vite_glob_0_42,"./components/scrollbar/scrollbar.vue": __vite_glob_0_43,"./components/select/select.vue": __vite_glob_0_44,"./components/single-player/single-player.vue": __vite_glob_0_45,"./components/splitter-panel/splitter-panel.vue": __vite_glob_0_46,"./components/splitter/splitter.vue": __vite_glob_0_47,"./components/svg-icon/svg-icon.vue": __vite_glob_0_48,"./components/switch/switch.vue": __vite_glob_0_49,"./components/sync-scroll-container/sync-scroll-container.vue": __vite_glob_0_50,"./components/tags/tags.vue": __vite_glob_0_51,"./components/text-ellipsis/text-ellipsis.vue": __vite_glob_0_52,"./components/thousand-input/thousand-input.vue": __vite_glob_0_53,"./components/tinymce/tinymce.vue": __vite_glob_0_54,"./components/tree-picker/tree-picker.vue":
|
|
161
|
+
const modules = /* #__PURE__ */ Object.assign({"./components/awesome-icon/awesome-icon.vue": __vite_glob_0_0,"./components/backbottom/backbottom.vue": __vite_glob_0_1,"./components/button/button.vue": __vite_glob_0_2,"./components/chat-container/chat-container.vue": __vite_glob_0_3,"./components/choice-boolean/choice-boolean.vue": __vite_glob_0_4,"./components/choice/choice.vue": __vite_glob_0_5,"./components/color-switcher/color-switcher.vue": __vite_glob_0_6,"./components/config-provider/config-provider.vue": __vite_glob_0_7,"./components/cropper/cropper.vue": __vite_glob_0_8,"./components/currency/currency.vue": __vite_glob_0_9,"./components/dark-switcher/dark-switcher.vue": __vite_glob_0_10,"./components/daterange-picker/daterange-picker.vue": __vite_glob_0_11,"./components/dialog-camera-upload/dialog-camera-upload.vue": __vite_glob_0_12,"./components/dialog-map-point/dialog-map-point.vue": __vite_glob_0_13,"./components/dialog-upload-images/dialog-upload-images.vue": __vite_glob_0_14,"./components/dialog/dialog.vue": __vite_glob_0_15,"./components/drag-verify/drag-verify.vue": __vite_glob_0_16,"./components/drawer/drawer.vue": __vite_glob_0_17,"./components/easy-pagination/easy-pagination.vue": __vite_glob_0_18,"./components/el-icon/el-icon.vue": __vite_glob_0_19,"./components/explorer-column-table/explorer-column-table.vue": __vite_glob_0_20,"./components/explorer-container/explorer-container.vue": __vite_glob_0_21,"./components/explorer-filter/explorer-filter.vue": __vite_glob_0_22,"./components/explorer-footer/explorer-footer.vue": __vite_glob_0_23,"./components/explorer-form/explorer-form.vue": __vite_glob_0_24,"./components/explorer-list/explorer-list.vue": __vite_glob_0_25,"./components/explorer-modal-form/explorer-modal-form.vue": __vite_glob_0_26,"./components/explorer-panel/explorer-panel.vue": __vite_glob_0_27,"./components/explorer-query/explorer-query.vue": __vite_glob_0_28,"./components/explorer-table/explorer-table.vue": __vite_glob_0_29,"./components/explorer-tools/explorer-tools.vue": __vite_glob_0_30,"./components/explorer-tree/explorer-tree.vue": __vite_glob_0_31,"./components/explorer/explorer.vue": __vite_glob_0_32,"./components/flag/flag.vue": __vite_glob_0_33,"./components/icon-picker/icon-picker.vue": __vite_glob_0_34,"./components/icon/icon.vue": __vite_glob_0_35,"./components/iconify-icon/iconify-icon.vue": __vite_glob_0_36,"./components/image/image.vue": __vite_glob_0_37,"./components/input-number/input-number.vue": __vite_glob_0_38,"./components/input/input.vue": __vite_glob_0_39,"./components/pca-picker/pca-picker.vue": __vite_glob_0_40,"./components/qr-code/qr-code.vue": __vite_glob_0_41,"./components/screenfull/screenfull.vue": __vite_glob_0_42,"./components/scrollbar/scrollbar.vue": __vite_glob_0_43,"./components/select/select.vue": __vite_glob_0_44,"./components/single-player/single-player.vue": __vite_glob_0_45,"./components/splitter-panel/splitter-panel.vue": __vite_glob_0_46,"./components/splitter/splitter.vue": __vite_glob_0_47,"./components/svg-icon/svg-icon.vue": __vite_glob_0_48,"./components/switch/switch.vue": __vite_glob_0_49,"./components/sync-scroll-container/sync-scroll-container.vue": __vite_glob_0_50,"./components/tags/tags.vue": __vite_glob_0_51,"./components/text-ellipsis/text-ellipsis.vue": __vite_glob_0_52,"./components/thousand-input/thousand-input.vue": __vite_glob_0_53,"./components/tinymce/tinymce.vue": __vite_glob_0_54,"./components/transfer-panel/transfer-panel.vue": __vite_glob_0_55,"./components/transfer/transfer.vue": __vite_glob_0_56,"./components/tree-picker/tree-picker.vue": __vite_glob_0_57,"./components/upload-file/upload-file.vue": __vite_glob_0_58});
|
|
158
162
|
const upper = (_, letter) => letter.toUpperCase();
|
|
159
163
|
function install(Vue) {
|
|
160
164
|
Object.keys(modules).forEach((key) => {
|
package/dist/global.d.ts
CHANGED
|
@@ -56,6 +56,8 @@ declare module 'vue' {
|
|
|
56
56
|
VcTextEllipsis: typeof import('@wfrog/vc-ui')['VcTextEllipsis']
|
|
57
57
|
VcThousandInput: typeof import('@wfrog/vc-ui')['VcThousandInput']
|
|
58
58
|
VcTinymce: typeof import('@wfrog/vc-ui')['VcTinymce']
|
|
59
|
+
VcTransfer: typeof import('@wfrog/vc-ui')['VcTransfer']
|
|
60
|
+
VcTransferPanel: typeof import('@wfrog/vc-ui')['VcTransferPanel']
|
|
59
61
|
VcTreePicker: typeof import('@wfrog/vc-ui')['VcTreePicker']
|
|
60
62
|
VcUploadFile: typeof import('@wfrog/vc-ui')['VcUploadFile']
|
|
61
63
|
}
|
package/dist/index.css
CHANGED
|
@@ -736,10 +736,9 @@ div._main_15a30_1 ._header_15a30_48 {
|
|
|
736
736
|
color: var(--el-text-color-secondary);
|
|
737
737
|
}
|
|
738
738
|
/* source: src/components/explorer-modal-form/explorer-modal-form.vue */
|
|
739
|
-
.
|
|
739
|
+
._icon_ygryy_1 {
|
|
740
740
|
margin-right: 4px;
|
|
741
741
|
font-size: var(--el-font-size-extra-large);
|
|
742
|
-
transform: translateY(1px);
|
|
743
742
|
}
|
|
744
743
|
/* source: src/components/explorer-panel/explorer-panel.vue */
|
|
745
744
|
._panel_1egb6_1 {
|
|
@@ -1515,6 +1514,144 @@ span._draggable_1tp7v_5 > * {
|
|
|
1515
1514
|
z-index: -1;
|
|
1516
1515
|
visibility: hidden;
|
|
1517
1516
|
}
|
|
1517
|
+
/* source: src/components/transfer-panel/components/transfer-child-panel.vue,src/components/transfer-panel/transfer-panel.vue */
|
|
1518
|
+
._transfer-child-panel_ipfuy_1 {
|
|
1519
|
+
display: flex;
|
|
1520
|
+
flex-direction: column;
|
|
1521
|
+
padding: 4px;
|
|
1522
|
+
position: relative;
|
|
1523
|
+
row-gap: 4px;
|
|
1524
|
+
width: var(--v4db18f20);
|
|
1525
|
+
}
|
|
1526
|
+
._item_ipfuy_10 {
|
|
1527
|
+
padding: 4px 8px;
|
|
1528
|
+
display: flex;
|
|
1529
|
+
justify-content: space-between;
|
|
1530
|
+
align-items: center;
|
|
1531
|
+
font-size: var(--el-font-size-base);
|
|
1532
|
+
color: var(--el-text-color-regular);
|
|
1533
|
+
min-height: 32px;
|
|
1534
|
+
box-sizing: border-box;
|
|
1535
|
+
line-height: 1;
|
|
1536
|
+
}
|
|
1537
|
+
._item_ipfuy_10._source_ipfuy_21 {
|
|
1538
|
+
cursor: pointer;
|
|
1539
|
+
}
|
|
1540
|
+
._item_ipfuy_10:hover {
|
|
1541
|
+
background-color: var(--el-color-primary-light-9);
|
|
1542
|
+
}
|
|
1543
|
+
._item_ipfuy_10:hover ._actions_ipfuy_27 {
|
|
1544
|
+
display: inline-flex;
|
|
1545
|
+
align-items: flex-start;
|
|
1546
|
+
}
|
|
1547
|
+
._item_ipfuy_10._active_ipfuy_31 {
|
|
1548
|
+
color: var(--el-color-primary);
|
|
1549
|
+
background-color: var(--el-color-primary-light-9);
|
|
1550
|
+
}
|
|
1551
|
+
._label_ipfuy_36 {
|
|
1552
|
+
overflow: hidden;
|
|
1553
|
+
text-overflow: ellipsis;
|
|
1554
|
+
white-space: nowrap;
|
|
1555
|
+
}
|
|
1556
|
+
._icon_ipfuy_42 {
|
|
1557
|
+
margin-right: 4px;
|
|
1558
|
+
}
|
|
1559
|
+
._actions_ipfuy_27 {
|
|
1560
|
+
display: none;
|
|
1561
|
+
column-gap: 4px;
|
|
1562
|
+
}
|
|
1563
|
+
._actions_ipfuy_27 > button {
|
|
1564
|
+
margin-left: 0 !important;
|
|
1565
|
+
font-size: 1.2em;
|
|
1566
|
+
border: 1px solid var(--el-border-color-light) !important;
|
|
1567
|
+
}
|
|
1568
|
+
._actions_ipfuy_27 > button:hover {
|
|
1569
|
+
border-color: var(--el-border-color-dark) !important;
|
|
1570
|
+
}
|
|
1571
|
+
._operation_ipfuy_59 {
|
|
1572
|
+
position: absolute;
|
|
1573
|
+
z-index: 10;
|
|
1574
|
+
bottom: 0;
|
|
1575
|
+
right: 0;
|
|
1576
|
+
width: 40px;
|
|
1577
|
+
height: 20px;
|
|
1578
|
+
display: flex;
|
|
1579
|
+
justify-content: center;
|
|
1580
|
+
align-items: center;
|
|
1581
|
+
background-color: var(--el-bg-color-page);
|
|
1582
|
+
cursor: pointer;
|
|
1583
|
+
}
|
|
1584
|
+
._operation_ipfuy_59:hover .el-text {
|
|
1585
|
+
color: var(--el-color-primary);
|
|
1586
|
+
}
|
|
1587
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._item_ipfuy_10 {
|
|
1588
|
+
cursor: not-allowed;
|
|
1589
|
+
}
|
|
1590
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._item_ipfuy_10:hover {
|
|
1591
|
+
background-color: inherit;
|
|
1592
|
+
}
|
|
1593
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._item_ipfuy_10._active_ipfuy_31 {
|
|
1594
|
+
color: var(--el-color-info);
|
|
1595
|
+
background-color: var(--el-fill-color-light);
|
|
1596
|
+
}
|
|
1597
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._actions_ipfuy_27 {
|
|
1598
|
+
display: none !important;
|
|
1599
|
+
}
|
|
1600
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._operation_ipfuy_59 {
|
|
1601
|
+
cursor: not-allowed;
|
|
1602
|
+
}
|
|
1603
|
+
._transfer-child-panel_ipfuy_1._disabled_ipfuy_76 ._operation_ipfuy_59:hover .el-text {
|
|
1604
|
+
color: var(--el-color-info);
|
|
1605
|
+
}._transfer-panel_1mztg_1 {
|
|
1606
|
+
display: flex;
|
|
1607
|
+
height: var(--v7fe0a745);
|
|
1608
|
+
border-radius: var(--el-border-radius-base);
|
|
1609
|
+
border: 1px solid var(--el-border-color-light);
|
|
1610
|
+
width: fit-content;
|
|
1611
|
+
}
|
|
1612
|
+
._divider_1mztg_9 {
|
|
1613
|
+
width: 1px;
|
|
1614
|
+
height: 100%;
|
|
1615
|
+
background-color: var(--el-border-color-light);
|
|
1616
|
+
}
|
|
1617
|
+
/* source: src/components/transfer/transfer.vue */
|
|
1618
|
+
._popover_1kcfx_1 {
|
|
1619
|
+
width: auto !important;
|
|
1620
|
+
min-width: 80px !important;
|
|
1621
|
+
}
|
|
1622
|
+
._container_1kcfx_6 {
|
|
1623
|
+
display: flex;
|
|
1624
|
+
}
|
|
1625
|
+
._container_1kcfx_6 .el-cascader-menu {
|
|
1626
|
+
min-width: 80px;
|
|
1627
|
+
}
|
|
1628
|
+
._wrapper_1kcfx_13 {
|
|
1629
|
+
display: inline-block;
|
|
1630
|
+
width: unset;
|
|
1631
|
+
min-width: var(--v4c7f4a02);
|
|
1632
|
+
}
|
|
1633
|
+
._wrapper_1kcfx_13._block_1kcfx_18 {
|
|
1634
|
+
display: block;
|
|
1635
|
+
width: var(--v4c7f4a02);
|
|
1636
|
+
}
|
|
1637
|
+
._wrapper_1kcfx_13 .el-tag .el-icon {
|
|
1638
|
+
display: none;
|
|
1639
|
+
}
|
|
1640
|
+
._select_1kcfx_26 {
|
|
1641
|
+
width: 100%;
|
|
1642
|
+
}
|
|
1643
|
+
._select_1kcfx_26 .el-input__wrapper.is-focus {
|
|
1644
|
+
box-shadow: 0 0 0 1px var(--el-input-focus-border-color, var(--el-color-primary)) inset !important;
|
|
1645
|
+
}
|
|
1646
|
+
._is-active_1kcfx_33 .el-input__inner {
|
|
1647
|
+
border-color: var(--color-primary);
|
|
1648
|
+
}
|
|
1649
|
+
._is-active_1kcfx_33 .el-icon {
|
|
1650
|
+
transform: rotateZ(-180deg) !important;
|
|
1651
|
+
}
|
|
1652
|
+
._popper_1kcfx_40 {
|
|
1653
|
+
display: none !important;
|
|
1654
|
+
}
|
|
1518
1655
|
/* source: src/components/tree-picker/tree-picker.vue */
|
|
1519
1656
|
._popover_q784j_1 {
|
|
1520
1657
|
width: auto !important;
|
|
@@ -1529,11 +1666,11 @@ span._draggable_1tp7v_5 > * {
|
|
|
1529
1666
|
._wrapper_q784j_13 {
|
|
1530
1667
|
display: inline-block;
|
|
1531
1668
|
width: unset;
|
|
1532
|
-
min-width: var(--
|
|
1669
|
+
min-width: var(--f8b9a976);
|
|
1533
1670
|
}
|
|
1534
1671
|
._wrapper_q784j_13._block_q784j_18 {
|
|
1535
1672
|
display: block;
|
|
1536
|
-
width: var(--
|
|
1673
|
+
width: var(--f8b9a976);
|
|
1537
1674
|
}
|
|
1538
1675
|
._wrapper_q784j_13 .el-tag .el-icon {
|
|
1539
1676
|
display: none;
|