@wfrog/vc-ui 1.11.11 → 1.11.12
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/button/button.mjs +10 -8
- package/dist/es/components/choice/choice.mjs +7 -5
- package/dist/es/components/choice-boolean/choice-boolean.mjs +3 -3
- package/dist/es/components/currency/currency.mjs +6 -7
- package/dist/es/components/daterange-picker/daterange-picker.mjs +3 -3
- package/dist/es/components/dialog/dialog.mjs +8 -9
- package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +1 -3
- package/dist/es/components/dialog-map-point/dialog-map-point.mjs +0 -1
- package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +6 -7
- package/dist/es/components/drawer/drawer.mjs +7 -8
- package/dist/es/components/drawer/index.css +2 -2
- package/dist/es/components/explorer/explorer.mjs +5 -5
- package/dist/es/components/explorer-list/explorer-list.mjs +13 -9
- package/dist/es/components/explorer-list/explorer-list.vue.d.ts +1 -1
- package/dist/es/components/explorer-list/index.css +16 -16
- package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +4 -4
- package/dist/es/components/explorer-tools/explorer-tools.mjs +10 -7
- package/dist/es/components/explorer-tools/index.css +8 -8
- package/dist/es/components/explorer-tree/explorer-tree.vue.d.ts +1 -1
- package/dist/es/components/form-item/form-item.mjs +3 -3
- package/dist/es/components/scrollbar/index.css +1 -1
- package/dist/es/components/scrollbar/scrollbar.mjs +7 -8
- package/dist/es/components/select/index.css +1 -1
- package/dist/es/components/select/select.mjs +6 -5
- package/dist/es/components/thousand-input/thousand-input.mjs +6 -7
- package/dist/es/index.mjs +1 -1
- package/dist/index.css +28 -28
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { ElPopconfirm, ElButton } from 'element-plus/es';
|
|
|
3
3
|
import 'element-plus/es/components/base/style/css';
|
|
4
4
|
import 'element-plus/es/components/popconfirm/style/css';
|
|
5
5
|
import 'element-plus/es/components/button/style/css';
|
|
6
|
-
import { defineComponent, computed, createBlock, unref, openBlock, withCtx, mergeProps, withModifiers, createCommentVNode, createElementBlock, renderSlot } from 'vue';
|
|
6
|
+
import { defineComponent, computed, createBlock, unref, openBlock, withCtx, mergeProps, withModifiers, createCommentVNode, createElementBlock, renderSlot, normalizeClass } from 'vue';
|
|
7
7
|
import { useFormDisabled, ElMessageBox } from 'element-plus';
|
|
8
8
|
import { i as injectConfig } from '../config-provider/config-provider2.mjs';
|
|
9
9
|
import { _ as _sfc_main$1 } from '../icon/icon.mjs';
|
|
@@ -120,12 +120,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
120
120
|
}, 16, ["type", "class", "disabled", "onClick"]))
|
|
121
121
|
]),
|
|
122
122
|
_: 3
|
|
123
|
-
}, 8, ["title", "confirm-button-text", "cancel-button-text", "popper-class", "onConfirm"])) : __props.stop ? (openBlock(), createBlock(_component_ElButton,
|
|
123
|
+
}, 8, ["title", "confirm-button-text", "cancel-button-text", "popper-class", "onConfirm"])) : __props.stop ? (openBlock(), createBlock(_component_ElButton, {
|
|
124
|
+
key: 1,
|
|
124
125
|
type: __props.type,
|
|
125
|
-
class: _ctx.$style.button,
|
|
126
|
+
class: normalizeClass(_ctx.$style.button),
|
|
126
127
|
disabled: unref(formDisabled),
|
|
127
128
|
onClick: withModifiers(unref(handleClick), ["stop"])
|
|
128
|
-
}
|
|
129
|
+
}, {
|
|
129
130
|
default: withCtx(() => [
|
|
130
131
|
unref(position) === "left" && unref(name) ? (openBlock(), createBlock(_sfc_main$1, {
|
|
131
132
|
key: 0,
|
|
@@ -142,12 +143,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
143
|
}, null, 8, ["type", "name"])) : createCommentVNode("", true)
|
|
143
144
|
]),
|
|
144
145
|
_: 3
|
|
145
|
-
},
|
|
146
|
+
}, 8, ["type", "class", "disabled", "onClick"])) : (openBlock(), createBlock(_component_ElButton, {
|
|
147
|
+
key: 2,
|
|
146
148
|
type: __props.type,
|
|
147
|
-
class: _ctx.$style.button,
|
|
149
|
+
class: normalizeClass(_ctx.$style.button),
|
|
148
150
|
disabled: unref(formDisabled),
|
|
149
151
|
onClick: unref(handleClick)
|
|
150
|
-
}
|
|
152
|
+
}, {
|
|
151
153
|
default: withCtx(() => [
|
|
152
154
|
unref(position) === "left" && unref(name) ? (openBlock(), createBlock(_sfc_main$1, {
|
|
153
155
|
key: 0,
|
|
@@ -164,7 +166,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
164
166
|
}, null, 8, ["type", "name"])) : createCommentVNode("", true)
|
|
165
167
|
]),
|
|
166
168
|
_: 3
|
|
167
|
-
},
|
|
169
|
+
}, 8, ["type", "class", "disabled", "onClick"]));
|
|
168
170
|
};
|
|
169
171
|
}
|
|
170
172
|
});
|
|
@@ -3,7 +3,7 @@ import { ElRadioGroup, ElCheckboxGroup } from 'element-plus/es';
|
|
|
3
3
|
import 'element-plus/es/components/base/style/css';
|
|
4
4
|
import 'element-plus/es/components/checkbox-group/style/css';
|
|
5
5
|
import 'element-plus/es/components/radio-group/style/css';
|
|
6
|
-
import { defineComponent, computed, createBlock, openBlock,
|
|
6
|
+
import { defineComponent, computed, createBlock, openBlock, unref, normalizeClass } from 'vue';
|
|
7
7
|
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
8
8
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
9
9
|
|
|
@@ -36,18 +36,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
return (_ctx, _cache) => {
|
|
37
37
|
const _component_ElRadioGroup = ElRadioGroup;
|
|
38
38
|
const _component_ElCheckboxGroup = ElCheckboxGroup;
|
|
39
|
-
return !props.multiple ? (openBlock(), createBlock(_component_ElRadioGroup,
|
|
39
|
+
return !props.multiple ? (openBlock(), createBlock(_component_ElRadioGroup, {
|
|
40
|
+
key: 0,
|
|
40
41
|
type: unref(myType),
|
|
41
42
|
options: unref(myOptions),
|
|
42
43
|
disabled: unref(formDisabled),
|
|
43
44
|
onChange: handleChange
|
|
44
|
-
}
|
|
45
|
-
|
|
45
|
+
}, null, 8, ["type", "options", "disabled"])) : (openBlock(), createBlock(_component_ElCheckboxGroup, {
|
|
46
|
+
key: 1,
|
|
47
|
+
class: normalizeClass(_ctx.$style.checkbox),
|
|
46
48
|
type: unref(myType),
|
|
47
49
|
options: unref(myOptions),
|
|
48
50
|
disabled: unref(formDisabled),
|
|
49
51
|
onChange: handleChange
|
|
50
|
-
}
|
|
52
|
+
}, null, 8, ["class", "type", "options", "disabled"]));
|
|
51
53
|
};
|
|
52
54
|
}
|
|
53
55
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createBlock, openBlock,
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, isRef } from 'vue';
|
|
2
2
|
import { C as Component } from '../choice/choice.mjs';
|
|
3
3
|
import { useVModel } from '@vueuse/core';
|
|
4
4
|
|
|
@@ -20,11 +20,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
{ label: textFalse, value: props.valueType === "boolean" ? false : 0 }
|
|
21
21
|
]);
|
|
22
22
|
return (_ctx, _cache) => {
|
|
23
|
-
return openBlock(), createBlock(Component,
|
|
23
|
+
return openBlock(), createBlock(Component, {
|
|
24
24
|
modelValue: unref(myValue),
|
|
25
25
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(myValue) ? myValue.value = $event : null),
|
|
26
26
|
options: unref(data)
|
|
27
|
-
},
|
|
27
|
+
}, null, 8, ["modelValue", "options"]);
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -3,7 +3,7 @@ import { ElSelect, ElOption } from 'element-plus/es';
|
|
|
3
3
|
import 'element-plus/es/components/base/style/css';
|
|
4
4
|
import 'element-plus/es/components/select/style/css';
|
|
5
5
|
import 'element-plus/es/components/option/style/css';
|
|
6
|
-
import { defineComponent, computed, ref, onBeforeMount, createBlock, openBlock,
|
|
6
|
+
import { defineComponent, computed, ref, onBeforeMount, createBlock, openBlock, normalizeClass, unref, isRef, createSlots, withCtx, createElementBlock, normalizeStyle, Fragment, renderList, createCommentVNode, createTextVNode, toDisplayString } from 'vue';
|
|
7
7
|
import { useFormDisabled } from 'element-plus';
|
|
8
8
|
import { _ as _sfc_main$1 } from '../flag/flag.mjs';
|
|
9
9
|
import { C as Component$1 } from '../thousand-input/thousand-input.mjs';
|
|
@@ -93,16 +93,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
93
93
|
return (_ctx, _cache) => {
|
|
94
94
|
const _component_ElOption = ElOption;
|
|
95
95
|
const _component_ElSelect = ElSelect;
|
|
96
|
-
return openBlock(), createBlock(Component$1,
|
|
96
|
+
return openBlock(), createBlock(Component$1, {
|
|
97
97
|
modelValue: unref(myValue),
|
|
98
98
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(myValue) ? myValue.value = $event : null),
|
|
99
99
|
"format-value": unref(formatValue),
|
|
100
100
|
"onUpdate:formatValue": _cache[2] || (_cache[2] = ($event) => isRef(formatValue) ? formatValue.value = $event : null),
|
|
101
|
-
options: unref(thousandOption)
|
|
102
|
-
|
|
103
|
-
class: { [_ctx.$style.append]: __props.append, [_ctx.$style.prepend]: __props.prepend },
|
|
101
|
+
options: unref(thousandOption),
|
|
102
|
+
class: normalizeClass({ [_ctx.$style.append]: __props.append, [_ctx.$style.prepend]: __props.prepend }),
|
|
104
103
|
onChange: handleChange
|
|
105
|
-
}
|
|
104
|
+
}, createSlots({ _: 2 }, [
|
|
106
105
|
__props.prepend ? {
|
|
107
106
|
name: "prepend",
|
|
108
107
|
fn: withCtx(() => [
|
|
@@ -162,7 +161,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
162
161
|
]),
|
|
163
162
|
key: "1"
|
|
164
163
|
} : void 0
|
|
165
|
-
]),
|
|
164
|
+
]), 1032, ["modelValue", "format-value", "options", "class"]);
|
|
166
165
|
};
|
|
167
166
|
}
|
|
168
167
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElDatePicker } from 'element-plus/es';
|
|
2
2
|
import 'element-plus/es/components/base/style/css';
|
|
3
3
|
import 'element-plus/es/components/date-picker/style/css';
|
|
4
|
-
import { defineComponent, createBlock, openBlock,
|
|
4
|
+
import { defineComponent, createBlock, openBlock, unref, isRef } from 'vue';
|
|
5
5
|
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
6
6
|
import { useVModel } from '@vueuse/core';
|
|
7
7
|
|
|
@@ -49,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
}
|
|
50
50
|
return (_ctx, _cache) => {
|
|
51
51
|
const _component_ElDatePicker = ElDatePicker;
|
|
52
|
-
return openBlock(), createBlock(_component_ElDatePicker,
|
|
52
|
+
return openBlock(), createBlock(_component_ElDatePicker, {
|
|
53
53
|
modelValue: unref(myValue),
|
|
54
54
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(myValue) ? myValue.value = $event : null),
|
|
55
55
|
"disabled-date": disabledDate,
|
|
@@ -58,7 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
disabled: unref(formDisabled),
|
|
59
59
|
onChange: handleChange,
|
|
60
60
|
onBlur: handleBlur
|
|
61
|
-
}
|
|
61
|
+
}, null, 8, ["modelValue", "value-format", "disabled"]);
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
});
|
|
@@ -3,7 +3,7 @@ import { ElDialog, ElButton } from 'element-plus/es';
|
|
|
3
3
|
import 'element-plus/es/components/base/style/css';
|
|
4
4
|
import 'element-plus/es/components/dialog/style/css';
|
|
5
5
|
import 'element-plus/es/components/button/style/css';
|
|
6
|
-
import { defineComponent, useCssModule, ref, computed, watch, createBlock, createCommentVNode, unref, openBlock,
|
|
6
|
+
import { defineComponent, useCssModule, ref, computed, watch, createBlock, createCommentVNode, unref, openBlock, normalizeStyle, normalizeClass, isRef, createSlots, withCtx, createVNode, renderSlot, createElementVNode, createTextVNode, toDisplayString, withDirectives, vShow } from 'vue';
|
|
7
7
|
import { CopyDocument, FullScreen, Close } from '@element-plus/icons-vue';
|
|
8
8
|
import { C as Component$2 } from '../button/button.mjs';
|
|
9
9
|
import { C as Component$1 } from '../scrollbar/scrollbar.mjs';
|
|
@@ -63,24 +63,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
63
|
return (_ctx, _cache) => {
|
|
64
64
|
const _component_ElButton = ElButton;
|
|
65
65
|
const _component_ElDialog = ElDialog;
|
|
66
|
-
return unref(visible) || !__props.lazy ? (openBlock(), createBlock(_component_ElDialog,
|
|
66
|
+
return unref(visible) || !__props.lazy ? (openBlock(), createBlock(_component_ElDialog, {
|
|
67
67
|
key: 0,
|
|
68
68
|
modelValue: unref(dialogVisible),
|
|
69
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(dialogVisible) ? dialogVisible.value = $event : null)
|
|
70
|
-
}, _ctx.$attrs, {
|
|
69
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(dialogVisible) ? dialogVisible.value = $event : null),
|
|
71
70
|
"append-to-body": "",
|
|
72
71
|
"align-center": "",
|
|
73
72
|
width: __props.width,
|
|
74
73
|
"show-close": false,
|
|
75
74
|
fullscreen: unref(isFullscreen),
|
|
76
75
|
"close-on-click-modal": false,
|
|
77
|
-
class: unref($style).main,
|
|
78
|
-
style: {
|
|
76
|
+
class: normalizeClass(unref($style).main),
|
|
77
|
+
style: normalizeStyle({
|
|
79
78
|
"--vc-dialog-boxPadding": __props.boxPadding ? "block" : "none",
|
|
80
79
|
"--vc-dialog-padding": __props.padding
|
|
81
|
-
},
|
|
80
|
+
}),
|
|
82
81
|
onClosed: handleClosed
|
|
83
|
-
}
|
|
82
|
+
}, createSlots({
|
|
84
83
|
header: withCtx(({ close, titleId, titleClass }) => [
|
|
85
84
|
createElementVNode("div", {
|
|
86
85
|
class: normalizeClass(unref($style).header)
|
|
@@ -147,7 +146,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
147
146
|
]),
|
|
148
147
|
key: "0"
|
|
149
148
|
} : void 0
|
|
150
|
-
]),
|
|
149
|
+
]), 1032, ["modelValue", "width", "fullscreen", "class", "style"])) : createCommentVNode("", true);
|
|
151
150
|
};
|
|
152
151
|
}
|
|
153
152
|
});
|
|
@@ -198,10 +198,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
198
198
|
"close-on-click-modal": false,
|
|
199
199
|
width: unref(dialogWidth),
|
|
200
200
|
"show-close": false,
|
|
201
|
-
"append-to-body": "",
|
|
202
201
|
"destroy-on-close": "",
|
|
203
|
-
"show-fullscreen": false
|
|
204
|
-
lazy: ""
|
|
202
|
+
"show-fullscreen": false
|
|
205
203
|
}, {
|
|
206
204
|
footer: withCtx(() => [
|
|
207
205
|
createElementVNode("div", {
|
|
@@ -4,7 +4,7 @@ import 'element-plus/es/components/base/style/css';
|
|
|
4
4
|
import 'element-plus/es/components/loading/style/css';
|
|
5
5
|
import 'element-plus/es/components/button/style/css';
|
|
6
6
|
import 'element-plus/es/components/upload/style/css';
|
|
7
|
-
import { defineComponent, ref, computed, watch, onBeforeUnmount, createBlock, openBlock,
|
|
7
|
+
import { defineComponent, ref, computed, watch, onBeforeUnmount, createBlock, openBlock, normalizeClass, unref, isRef, withCtx, createVNode, withDirectives, createElementBlock, Fragment, renderList, createElementVNode, createTextVNode } from 'vue';
|
|
8
8
|
import { VueDraggable } from 'vue-draggable-plus';
|
|
9
9
|
import { C as Component$1 } from '../dialog/dialog.mjs';
|
|
10
10
|
import { C as Component$2 } from '../el-icon/el-icon.mjs';
|
|
@@ -106,17 +106,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
const _component_ElUpload = ElUpload;
|
|
107
107
|
const _component_ElButton = ElButton;
|
|
108
108
|
const _directive_loading = ElLoadingDirective;
|
|
109
|
-
return openBlock(), createBlock(Component$1,
|
|
109
|
+
return openBlock(), createBlock(Component$1, {
|
|
110
110
|
modelValue: unref(dialogVisible),
|
|
111
111
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(dialogVisible) ? dialogVisible.value = $event : null),
|
|
112
112
|
title: "上传图片",
|
|
113
113
|
"close-on-click-modal": false,
|
|
114
|
-
class: _ctx.$style.dialog,
|
|
114
|
+
class: normalizeClass(_ctx.$style.dialog),
|
|
115
115
|
width: 862,
|
|
116
116
|
"show-close": false,
|
|
117
|
-
"destroy-on-close": __props.destroyOnClose
|
|
118
|
-
|
|
119
|
-
}, _ctx.$attrs), {
|
|
117
|
+
"destroy-on-close": __props.destroyOnClose
|
|
118
|
+
}, {
|
|
120
119
|
footer: withCtx(() => [
|
|
121
120
|
createVNode(_component_ElButton, {
|
|
122
121
|
type: "primary",
|
|
@@ -185,7 +184,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
185
184
|
}, 8, ["modelValue", "class"])
|
|
186
185
|
]),
|
|
187
186
|
_: 1
|
|
188
|
-
},
|
|
187
|
+
}, 8, ["modelValue", "class", "destroy-on-close"]);
|
|
189
188
|
};
|
|
190
189
|
}
|
|
191
190
|
});
|
|
@@ -4,7 +4,7 @@ import 'element-plus/es/components/base/style/css';
|
|
|
4
4
|
import 'element-plus/es/components/drawer/style/css';
|
|
5
5
|
import 'element-plus/es/components/scrollbar/style/css';
|
|
6
6
|
import 'element-plus/es/components/button/style/css';
|
|
7
|
-
import { defineComponent, useCssVars, ref, computed, watch, createBlock, createCommentVNode, unref, openBlock,
|
|
7
|
+
import { defineComponent, useCssVars, ref, computed, watch, createBlock, createCommentVNode, unref, openBlock, normalizeClass, isRef, withCtx, createVNode, createElementBlock, createElementVNode, renderSlot, createTextVNode, toDisplayString, withDirectives, vShow } from 'vue';
|
|
8
8
|
import { CopyDocument, FullScreen, Close } from '@element-plus/icons-vue';
|
|
9
9
|
import { C as Component$1 } from '../button/button.mjs';
|
|
10
10
|
import { useVModel, useToggle } from '@vueuse/core';
|
|
@@ -26,7 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
emits: ["update:modelValue", "closed"],
|
|
27
27
|
setup(__props, { emit: __emit }) {
|
|
28
28
|
useCssVars((_ctx) => ({
|
|
29
|
-
"
|
|
29
|
+
"v434d6e36": _ctx.boxPadding ? "block" : "none"
|
|
30
30
|
}));
|
|
31
31
|
const props = __props;
|
|
32
32
|
const emits = __emit;
|
|
@@ -50,18 +50,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
50
|
const _component_ElButton = ElButton;
|
|
51
51
|
const _component_ElScrollbar = ElScrollbar;
|
|
52
52
|
const _component_ElDrawer = ElDrawer;
|
|
53
|
-
return unref(visible) || !__props.lazy ? (openBlock(), createBlock(_component_ElDrawer,
|
|
53
|
+
return unref(visible) || !__props.lazy ? (openBlock(), createBlock(_component_ElDrawer, {
|
|
54
54
|
key: 0,
|
|
55
55
|
modelValue: unref(drawerVisible),
|
|
56
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(drawerVisible) ? drawerVisible.value = $event : null)
|
|
57
|
-
}, _ctx.$attrs, {
|
|
56
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(drawerVisible) ? drawerVisible.value = $event : null),
|
|
58
57
|
"close-on-click-modal": false,
|
|
59
58
|
"show-close": false,
|
|
60
|
-
class: _ctx.$style.main,
|
|
59
|
+
class: normalizeClass(_ctx.$style.main),
|
|
61
60
|
"append-to-body": "",
|
|
62
61
|
size: unref(mySize),
|
|
63
62
|
onClosed: handleClosed
|
|
64
|
-
}
|
|
63
|
+
}, {
|
|
65
64
|
header: withCtx(({ close, titleId, titleClass }) => [
|
|
66
65
|
createElementVNode("div", {
|
|
67
66
|
class: normalizeClass(_ctx.$style.header)
|
|
@@ -126,7 +125,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
126
125
|
], 2)) : createCommentVNode("", true)
|
|
127
126
|
]),
|
|
128
127
|
_: 3
|
|
129
|
-
},
|
|
128
|
+
}, 8, ["modelValue", "class", "size"])) : createCommentVNode("", true);
|
|
130
129
|
};
|
|
131
130
|
}
|
|
132
131
|
});
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
background: var(--el-bg-color);
|
|
30
30
|
height: 16px;
|
|
31
31
|
z-index: 3;
|
|
32
|
-
display: var(--
|
|
32
|
+
display: var(--v434d6e36);
|
|
33
33
|
}
|
|
34
34
|
._main_2r9ln_1 > .el-drawer__body > .el-scrollbar::after {
|
|
35
35
|
content: "";
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
background: var(--el-bg-color);
|
|
42
42
|
height: 16px;
|
|
43
43
|
z-index: 3;
|
|
44
|
-
display: var(--
|
|
44
|
+
display: var(--v434d6e36);
|
|
45
45
|
}
|
|
46
46
|
._header_2r9ln_46 {
|
|
47
47
|
display: flex;
|
|
@@ -2,7 +2,7 @@ import './index.css'
|
|
|
2
2
|
import { ElSplitter } from 'element-plus/es';
|
|
3
3
|
import 'element-plus/es/components/base/style/css';
|
|
4
4
|
import 'element-plus/es/components/splitter/style/css';
|
|
5
|
-
import { defineComponent, ref, useTemplateRef, onMounted, createBlock, openBlock,
|
|
5
|
+
import { defineComponent, ref, useTemplateRef, onMounted, createBlock, openBlock, normalizeClass, withCtx, renderSlot } from 'vue';
|
|
6
6
|
import { useProvide } from '../../use/useStore/index.mjs';
|
|
7
7
|
import { K as KEY_NAME } from './explorer2.mjs';
|
|
8
8
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
@@ -29,18 +29,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
});
|
|
30
30
|
return (_ctx, _cache) => {
|
|
31
31
|
const _component_ElSplitter = ElSplitter;
|
|
32
|
-
return openBlock(), createBlock(_component_ElSplitter,
|
|
32
|
+
return openBlock(), createBlock(_component_ElSplitter, {
|
|
33
33
|
ref_key: "splitterRef",
|
|
34
34
|
ref: splitterRef,
|
|
35
35
|
layout: __props.layout,
|
|
36
36
|
lazy: __props.lazy,
|
|
37
|
-
class: _ctx.$style.explorer
|
|
38
|
-
}
|
|
37
|
+
class: normalizeClass(_ctx.$style.explorer)
|
|
38
|
+
}, {
|
|
39
39
|
default: withCtx(() => [
|
|
40
40
|
renderSlot(_ctx.$slots, "default")
|
|
41
41
|
]),
|
|
42
42
|
_: 3
|
|
43
|
-
},
|
|
43
|
+
}, 8, ["layout", "lazy", "class"]);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
});
|
|
@@ -4,7 +4,7 @@ import 'element-plus/es/components/base/style/css';
|
|
|
4
4
|
import 'element-plus/es/components/icon/style/css';
|
|
5
5
|
import 'element-plus/es/components/checkbox-group/style/css';
|
|
6
6
|
import 'element-plus/es/components/checkbox/style/css';
|
|
7
|
-
import { defineComponent,
|
|
7
|
+
import { defineComponent, useCssVars, unref, computed, ref, createBlock, openBlock, normalizeClass, withCtx, withDirectives, createElementBlock, createCommentVNode, createElementVNode, createVNode, isRef, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, mergeProps, vShow } from 'vue';
|
|
8
8
|
import { Loading } from '@element-plus/icons-vue';
|
|
9
9
|
import { C as Component$3 } from '../button/button.mjs';
|
|
10
10
|
import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
|
|
@@ -34,6 +34,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["update:modelValue", "valueChange", "itemClick", "create", "modify", "remove", "up", "down"],
|
|
36
36
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
37
|
+
useCssVars((_ctx) => ({
|
|
38
|
+
"v42d68eb8": unref(cursorStyle)
|
|
39
|
+
}));
|
|
37
40
|
const props = __props;
|
|
38
41
|
const emits = __emit;
|
|
39
42
|
const { filterKeyword } = injectExplorerPanelState();
|
|
@@ -53,6 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
56
|
return filterKeyword.value ? props.data.filter((item) => filterMethod(filterKeyword.value, item)) : props.data;
|
|
54
57
|
});
|
|
55
58
|
const isEmpty = computed(() => myData.value.length === 0);
|
|
59
|
+
const cursorStyle = computed(() => props.highlightCurrent ? "pointer" : "unset");
|
|
56
60
|
function handleClick(item, e) {
|
|
57
61
|
if (!props.highlightCurrent) {
|
|
58
62
|
return;
|
|
@@ -187,14 +191,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
187
191
|
}
|
|
188
192
|
});
|
|
189
193
|
|
|
190
|
-
/* unplugin-vue-components disabled */const item = "
|
|
191
|
-
const actions = "
|
|
192
|
-
const active = "
|
|
193
|
-
const label = "
|
|
194
|
-
const remove = "
|
|
195
|
-
const empty = "
|
|
196
|
-
const loading = "
|
|
197
|
-
const scrollbar = "
|
|
194
|
+
/* unplugin-vue-components disabled */const item = "_item_e98ar_1";
|
|
195
|
+
const actions = "_actions_e98ar_16";
|
|
196
|
+
const active = "_active_e98ar_20";
|
|
197
|
+
const label = "_label_e98ar_25";
|
|
198
|
+
const remove = "_remove_e98ar_58";
|
|
199
|
+
const empty = "_empty_e98ar_62";
|
|
200
|
+
const loading = "_loading_e98ar_63";
|
|
201
|
+
const scrollbar = "_scrollbar_e98ar_71";
|
|
198
202
|
const style0 = {
|
|
199
203
|
item: item,
|
|
200
204
|
actions: actions,
|
|
@@ -28,7 +28,7 @@ declare function __VLS_template(): {
|
|
|
28
28
|
};
|
|
29
29
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
30
|
declare const __VLS_component: import('vue').DefineComponent<IExplorerListProps, {
|
|
31
|
-
setActive: (value
|
|
31
|
+
setActive: (value?: string | number) => void;
|
|
32
32
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
33
33
|
"update:modelValue": (value: (string | number)[] | undefined) => any;
|
|
34
34
|
create: (value: string | number, item: IExplorerListItem<any>) => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* source: src/components/explorer-list/explorer-list.vue */
|
|
2
|
-
.
|
|
2
|
+
._item_e98ar_1 {
|
|
3
3
|
padding: 4px 8px;
|
|
4
|
-
cursor:
|
|
4
|
+
cursor: var(--v42d68eb8);
|
|
5
5
|
display: flex;
|
|
6
6
|
justify-content: space-between;
|
|
7
7
|
align-items: center;
|
|
@@ -11,59 +11,59 @@
|
|
|
11
11
|
box-sizing: border-box;
|
|
12
12
|
line-height: 1;
|
|
13
13
|
}
|
|
14
|
-
.
|
|
14
|
+
._item_e98ar_1:hover {
|
|
15
15
|
background-color: var(--el-color-primary-light-9);
|
|
16
16
|
}
|
|
17
|
-
.
|
|
17
|
+
._item_e98ar_1:hover ._actions_e98ar_16 {
|
|
18
18
|
display: inline-flex;
|
|
19
19
|
align-items: flex-start;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
._item_e98ar_1._active_e98ar_20 {
|
|
22
22
|
color: var(--el-color-primary);
|
|
23
23
|
background-color: var(--el-color-primary-light-9);
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
._label_e98ar_25 {
|
|
26
26
|
overflow: hidden;
|
|
27
27
|
text-overflow: ellipsis;
|
|
28
28
|
white-space: nowrap;
|
|
29
29
|
--el-checkbox-height: 24px;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
._label_e98ar_25 .iconify {
|
|
32
32
|
margin-right: 4px;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
._label_e98ar_25 .el-checkbox {
|
|
35
35
|
width: 100%;
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
._label_e98ar_25 .el-checkbox__label {
|
|
38
38
|
overflow: hidden;
|
|
39
39
|
text-overflow: ellipsis;
|
|
40
40
|
white-space: nowrap;
|
|
41
41
|
color: var(--el-text-color-regular) !important;
|
|
42
42
|
cursor: pointer !important;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._actions_e98ar_16 {
|
|
45
45
|
display: none;
|
|
46
46
|
column-gap: 4px;
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
._actions_e98ar_16 > button {
|
|
49
49
|
margin-left: 0 !important;
|
|
50
50
|
font-size: 1.2em;
|
|
51
51
|
border: 1px solid var(--el-border-color-light) !important;
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
._actions_e98ar_16 > button:hover {
|
|
54
54
|
border-color: var(--el-border-color-dark) !important;
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
._remove_e98ar_58 {
|
|
57
57
|
transform: translateY(-1px);
|
|
58
58
|
}
|
|
59
|
-
.
|
|
60
|
-
.
|
|
59
|
+
._empty_e98ar_62,
|
|
60
|
+
._loading_e98ar_63 {
|
|
61
61
|
padding: 4px 8px;
|
|
62
62
|
display: flex;
|
|
63
63
|
align-items: center;
|
|
64
64
|
column-gap: 4px;
|
|
65
65
|
color: var(--el-text-color-secondary);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
._scrollbar_e98ar_71 {
|
|
68
68
|
margin: 0 -8px;
|
|
69
69
|
}
|
|
@@ -2,7 +2,7 @@ import './index.css'
|
|
|
2
2
|
import { ElLoadingDirective } from 'element-plus/es';
|
|
3
3
|
import 'element-plus/es/components/base/style/css';
|
|
4
4
|
import 'element-plus/es/components/loading/style/css';
|
|
5
|
-
import { defineComponent, useTemplateRef, shallowRef, ref, computed, watch, onUnmounted, createBlock, openBlock, resolveDynamicComponent, unref,
|
|
5
|
+
import { defineComponent, useTemplateRef, shallowRef, ref, computed, watch, onUnmounted, createBlock, openBlock, resolveDynamicComponent, unref, isRef, withCtx, withDirectives, mergeProps, renderSlot, createCommentVNode, createTextVNode, createElementVNode, normalizeClass, toDisplayString } from 'vue';
|
|
6
6
|
import { ElForm } from 'element-plus';
|
|
7
7
|
import { C as Component$3 } from '../button/button.mjs';
|
|
8
8
|
import { C as Component$1 } from '../dialog/dialog.mjs';
|
|
@@ -68,10 +68,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
68
68
|
});
|
|
69
69
|
return (_ctx, _cache) => {
|
|
70
70
|
const _directive_loading = ElLoadingDirective;
|
|
71
|
-
return openBlock(), createBlock(resolveDynamicComponent(unref(component)),
|
|
71
|
+
return openBlock(), createBlock(resolveDynamicComponent(unref(component)), {
|
|
72
72
|
modelValue: unref(modalVisible),
|
|
73
73
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modalVisible) ? modalVisible.value = $event : null)
|
|
74
|
-
},
|
|
74
|
+
}, {
|
|
75
75
|
title: withCtx(({ close }) => [
|
|
76
76
|
createElementVNode("div", {
|
|
77
77
|
class: normalizeClass(_ctx.$style["header-container"])
|
|
@@ -148,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
148
|
])
|
|
149
149
|
]),
|
|
150
150
|
_: 3
|
|
151
|
-
},
|
|
151
|
+
}, 8, ["modelValue"]);
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
154
|
});
|
|
@@ -272,6 +272,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
272
272
|
}, 8, ["modelValue", "class"])) : createCommentVNode("", true),
|
|
273
273
|
tool === "refresh" ? (openBlock(), createBlock(Component$1, {
|
|
274
274
|
key: 3,
|
|
275
|
+
class: "vc-icon-button",
|
|
275
276
|
title: "刷新",
|
|
276
277
|
throttle: __props.throttle,
|
|
277
278
|
circle: "",
|
|
@@ -280,6 +281,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
280
281
|
}, null, 8, ["throttle"])) : createCommentVNode("", true),
|
|
281
282
|
tool === "fullscreen" ? (openBlock(), createBlock(Component$1, {
|
|
282
283
|
key: 4,
|
|
284
|
+
class: "vc-icon-button",
|
|
283
285
|
title: "全屏",
|
|
284
286
|
type: unref(isFullScreen) ? "primary" : "default",
|
|
285
287
|
circle: "",
|
|
@@ -299,11 +301,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
299
301
|
}, {
|
|
300
302
|
default: withCtx(() => [
|
|
301
303
|
createVNode(Component$1, {
|
|
304
|
+
class: normalizeClass(["vc-icon-button", unref($style).test]),
|
|
302
305
|
title: "设置",
|
|
303
306
|
circle: "",
|
|
304
307
|
icon: { name: "Setting", type: "el" },
|
|
305
308
|
throttle: __props.throttle
|
|
306
|
-
}, null, 8, ["throttle"])
|
|
309
|
+
}, null, 8, ["class", "throttle"])
|
|
307
310
|
]),
|
|
308
311
|
_: 1
|
|
309
312
|
}, 8, ["data", "tools-key", "size", "column-to-storage", "reset-visible"])) : createCommentVNode("", true)
|
|
@@ -315,13 +318,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
315
318
|
}
|
|
316
319
|
});
|
|
317
320
|
|
|
318
|
-
/* unplugin-vue-components disabled */const buttons = "
|
|
319
|
-
const tools = "
|
|
320
|
-
const layout = "
|
|
321
|
-
const fullscreen = "
|
|
321
|
+
/* unplugin-vue-components disabled */const buttons = "_buttons_1dsx4_15";
|
|
322
|
+
const tools = "_tools_1dsx4_24";
|
|
323
|
+
const layout = "_layout_1dsx4_35";
|
|
324
|
+
const fullscreen = "_fullscreen_1dsx4_40";
|
|
322
325
|
const style0 = {
|
|
323
|
-
"explorer-tools": "_explorer-
|
|
324
|
-
"bottom-border": "_bottom-
|
|
326
|
+
"explorer-tools": "_explorer-tools_1dsx4_1",
|
|
327
|
+
"bottom-border": "_bottom-border_1dsx4_10",
|
|
325
328
|
buttons: buttons,
|
|
326
329
|
tools: tools,
|
|
327
330
|
layout: layout,
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
div._divider_8k9xf_21 {
|
|
19
19
|
margin: 8px 0;
|
|
20
|
-
}._explorer-
|
|
20
|
+
}._explorer-tools_1dsx4_1 {
|
|
21
21
|
display: flex;
|
|
22
22
|
align-items: center;
|
|
23
23
|
justify-content: space-between;
|
|
@@ -26,33 +26,33 @@ div._divider_8k9xf_21 {
|
|
|
26
26
|
row-gap: 8px;
|
|
27
27
|
box-sizing: border-box;
|
|
28
28
|
}
|
|
29
|
-
._explorer-
|
|
29
|
+
._explorer-tools_1dsx4_1._bottom-border_1dsx4_10 {
|
|
30
30
|
border-bottom: 1px solid var(--el-border-color-lighter);
|
|
31
31
|
margin-bottom: 8px;
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
._buttons_1dsx4_15 {
|
|
34
34
|
display: flex;
|
|
35
35
|
align-items: center;
|
|
36
36
|
column-gap: 8px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._buttons_1dsx4_15 button {
|
|
39
39
|
margin-left: 0 !important;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._tools_1dsx4_24 {
|
|
42
42
|
display: flex;
|
|
43
43
|
align-items: center;
|
|
44
44
|
column-gap: 8px;
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
._tools_1dsx4_24 button.vc-icon-button {
|
|
47
47
|
padding: 4px;
|
|
48
48
|
font-size: 18px;
|
|
49
49
|
margin-left: 0 !important;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
._layout_1dsx4_35 .el-radio-button__inner {
|
|
52
52
|
padding: 6px 8px;
|
|
53
53
|
font-size: 18px;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
._fullscreen_1dsx4_40 {
|
|
56
56
|
position: fixed !important;
|
|
57
57
|
background-color: var(--el-bg-color) !important;
|
|
58
58
|
top: 0 !important;
|
|
@@ -2040,7 +2040,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerTreeProps,
|
|
|
2040
2040
|
readonly showCheckbox: boolean;
|
|
2041
2041
|
readonly highlightCurrent: boolean;
|
|
2042
2042
|
}> | null>>;
|
|
2043
|
-
setActive: (value: string | number | null, shouldAutoExpandParent?: boolean) => void;
|
|
2043
|
+
setActive: (value: string | number | null | undefined, shouldAutoExpandParent?: boolean) => void;
|
|
2044
2044
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
2045
2045
|
create: (value: string | number, node: Node) => any;
|
|
2046
2046
|
modify: (value: string | number, node: Node) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index.css'
|
|
2
|
-
import { defineComponent, shallowRef, onBeforeMount, computed, createBlock, createCommentVNode, unref, openBlock, resolveDynamicComponent,
|
|
2
|
+
import { defineComponent, shallowRef, onBeforeMount, computed, createBlock, createCommentVNode, unref, openBlock, resolveDynamicComponent, withCtx, renderSlot, createElementVNode, normalizeClass, createVNode, toDisplayString, mergeProps } from 'vue';
|
|
3
3
|
import { ElFormItem } from 'element-plus';
|
|
4
4
|
import { C as Component$1 } from '../info-tooltip/info-tooltip.mjs';
|
|
5
5
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
@@ -32,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
emits("click", props.code, props.label);
|
|
33
33
|
}
|
|
34
34
|
return (_ctx, _cache) => {
|
|
35
|
-
return unref(component) ? (openBlock(), createBlock(resolveDynamicComponent(unref(component)),
|
|
35
|
+
return unref(component) ? (openBlock(), createBlock(resolveDynamicComponent(unref(component)), { key: 0 }, {
|
|
36
36
|
label: withCtx(() => [
|
|
37
37
|
createElementVNode("span", {
|
|
38
38
|
class: normalizeClass(_ctx.$style["label-container"])
|
|
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
renderSlot(_ctx.$slots, "error")
|
|
54
54
|
]),
|
|
55
55
|
_: 3
|
|
56
|
-
}
|
|
56
|
+
})) : createCommentVNode("", true);
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
});
|
|
@@ -2,7 +2,7 @@ import './index.css'
|
|
|
2
2
|
import { ElScrollbar } from 'element-plus/es';
|
|
3
3
|
import 'element-plus/es/components/base/style/css';
|
|
4
4
|
import 'element-plus/es/components/scrollbar/style/css';
|
|
5
|
-
import { defineComponent, useCssVars, useTemplateRef, createBlock, openBlock,
|
|
5
|
+
import { defineComponent, useCssVars, useTemplateRef, createBlock, openBlock, normalizeClass, withCtx, renderSlot } from 'vue';
|
|
6
6
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
7
7
|
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -14,23 +14,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
},
|
|
15
15
|
setup(__props, { expose: __expose }) {
|
|
16
16
|
useCssVars((_ctx) => ({
|
|
17
|
-
"
|
|
17
|
+
"v0912858a": _ctx.viewMargin
|
|
18
18
|
}));
|
|
19
19
|
const scrollbarRef = useTemplateRef("scrollbarRef");
|
|
20
20
|
__expose({ scrollbarRef });
|
|
21
21
|
return (_ctx, _cache) => {
|
|
22
22
|
const _component_ElScrollbar = ElScrollbar;
|
|
23
|
-
return openBlock(), createBlock(_component_ElScrollbar,
|
|
23
|
+
return openBlock(), createBlock(_component_ElScrollbar, {
|
|
24
24
|
ref_key: "scrollbarRef",
|
|
25
|
-
ref: scrollbarRef
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}), {
|
|
25
|
+
ref: scrollbarRef,
|
|
26
|
+
class: normalizeClass({ [_ctx.$style.scrollbar]: __props.flex, [_ctx.$style[`fill-height`]]: __props.fillHeight })
|
|
27
|
+
}, {
|
|
29
28
|
default: withCtx(() => [
|
|
30
29
|
renderSlot(_ctx.$slots, "default")
|
|
31
30
|
]),
|
|
32
31
|
_: 3
|
|
33
|
-
},
|
|
32
|
+
}, 8, ["class"]);
|
|
34
33
|
};
|
|
35
34
|
}
|
|
36
35
|
});
|
|
@@ -2,7 +2,7 @@ import './index.css'
|
|
|
2
2
|
import { ElSelect } from 'element-plus/es';
|
|
3
3
|
import 'element-plus/es/components/base/style/css';
|
|
4
4
|
import 'element-plus/es/components/select/style/css';
|
|
5
|
-
import { defineComponent, useCssVars, unref, computed, useCssModule, createBlock, openBlock,
|
|
5
|
+
import { defineComponent, useCssVars, unref, computed, useCssModule, createBlock, openBlock, normalizeClass } from 'vue';
|
|
6
6
|
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
7
7
|
import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
|
|
8
8
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
@@ -17,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
emits: ["change", "blur"],
|
|
18
18
|
setup(__props, { emit: __emit }) {
|
|
19
19
|
useCssVars((_ctx) => ({
|
|
20
|
-
"
|
|
20
|
+
"e6459eea": unref(myWidth)
|
|
21
21
|
}));
|
|
22
22
|
const props = __props;
|
|
23
23
|
const emits = __emit;
|
|
@@ -46,13 +46,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
46
|
const myWidth = computed(() => props.width ? formatToPx(props.width) : "auto");
|
|
47
47
|
return (_ctx, _cache) => {
|
|
48
48
|
const _component_ElSelect = ElSelect;
|
|
49
|
-
return openBlock(), createBlock(_component_ElSelect,
|
|
50
|
-
|
|
49
|
+
return openBlock(), createBlock(_component_ElSelect, {
|
|
50
|
+
"collapse-tags": "",
|
|
51
|
+
class: normalizeClass(unref(className)),
|
|
51
52
|
options: unref(myOptions),
|
|
52
53
|
disabled: unref(formDisabled),
|
|
53
54
|
onChange: handleChange,
|
|
54
55
|
onBlur: handleBlur
|
|
55
|
-
}
|
|
56
|
+
}, null, 8, ["class", "options", "disabled"]);
|
|
56
57
|
};
|
|
57
58
|
}
|
|
58
59
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index.css'
|
|
2
|
-
import { defineComponent, useTemplateRef, computed, ref, watch, nextTick, withDirectives, createCommentVNode, unref, createBlock, openBlock,
|
|
2
|
+
import { defineComponent, useTemplateRef, computed, ref, watch, nextTick, withDirectives, createCommentVNode, unref, createBlock, openBlock, normalizeClass, isRef, createSlots, withCtx, renderSlot } from 'vue';
|
|
3
3
|
import { t as thousand } from '../../chunk/Mq_fqKb4.mjs';
|
|
4
4
|
import { C as Component$1 } from '../input/input.mjs';
|
|
5
5
|
import { b as baseIsEqual } from '../../chunk/uuUHUjSk.mjs';
|
|
@@ -112,17 +112,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
114
|
return (_ctx, _cache) => {
|
|
115
|
-
return unref(visible) ? withDirectives((openBlock(), createBlock(Component$1,
|
|
115
|
+
return unref(visible) ? withDirectives((openBlock(), createBlock(Component$1, {
|
|
116
116
|
key: 0,
|
|
117
117
|
ref_key: "inputRef",
|
|
118
118
|
ref: inputRef,
|
|
119
119
|
modelValue: unref(myValue),
|
|
120
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(myValue) ? myValue.value = $event : null)
|
|
121
|
-
}, _ctx.$attrs, {
|
|
120
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(myValue) ? myValue.value = $event : null),
|
|
122
121
|
clearable: false,
|
|
123
|
-
class: _ctx.$style.main,
|
|
122
|
+
class: normalizeClass(_ctx.$style.main),
|
|
124
123
|
onChange: handleChange
|
|
125
|
-
}
|
|
124
|
+
}, createSlots({ _: 2 }, [
|
|
126
125
|
_ctx.$slots.prepend ? {
|
|
127
126
|
name: "prepend",
|
|
128
127
|
fn: withCtx(() => [
|
|
@@ -137,7 +136,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
137
136
|
]),
|
|
138
137
|
key: "1"
|
|
139
138
|
} : void 0
|
|
140
|
-
]),
|
|
139
|
+
]), 1032, ["modelValue", "class"])), [
|
|
141
140
|
[unref(thousand), __props.options]
|
|
142
141
|
]) : createCommentVNode("", true);
|
|
143
142
|
};
|
package/dist/es/index.mjs
CHANGED
|
@@ -160,7 +160,7 @@ const __vite_glob_0_49 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePr
|
|
|
160
160
|
default: _sfc_main$8
|
|
161
161
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
162
162
|
|
|
163
|
-
const version = "1.11.
|
|
163
|
+
const version = "1.11.12";
|
|
164
164
|
|
|
165
165
|
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-switch/color-switch.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-switch/dark-switch.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/form-item/form-item.vue": __vite_glob_0_34,"./components/icon-picker/icon-picker.vue": __vite_glob_0_35,"./components/icon/icon.vue": __vite_glob_0_36,"./components/iconify-icon/iconify-icon.vue": __vite_glob_0_37,"./components/image/image.vue": __vite_glob_0_38,"./components/info-tooltip/info-tooltip.vue": __vite_glob_0_39,"./components/input-number/input-number.vue": __vite_glob_0_40,"./components/input/input.vue": __vite_glob_0_41,"./components/pca-picker/pca-picker.vue": __vite_glob_0_42,"./components/qr-code/qr-code.vue": __vite_glob_0_43,"./components/screenfull/screenfull.vue": __vite_glob_0_44,"./components/scrollbar/scrollbar.vue": __vite_glob_0_45,"./components/select/select.vue": __vite_glob_0_46,"./components/single-player/single-player.vue": __vite_glob_0_47,"./components/splitter-panel/splitter-panel.vue": __vite_glob_0_48,"./components/splitter/splitter.vue": __vite_glob_0_49,"./components/svg-icon/svg-icon.vue": __vite_glob_0_50,"./components/switch/switch.vue": __vite_glob_0_51,"./components/sync-scroll-container/sync-scroll-container.vue": __vite_glob_0_52,"./components/tags/tags.vue": __vite_glob_0_53,"./components/text-ellipsis/text-ellipsis.vue": __vite_glob_0_54,"./components/thousand-input/thousand-input.vue": __vite_glob_0_55,"./components/tinymce/tinymce.vue": __vite_glob_0_56,"./components/transfer-panel/transfer-panel.vue": __vite_glob_0_57,"./components/transfer/transfer.vue": __vite_glob_0_58,"./components/tree-picker/tree-picker.vue": __vite_glob_0_59,"./components/upload-file/upload-file.vue": __vite_glob_0_60});
|
|
166
166
|
const upper = (_, letter) => letter.toUpperCase();
|
package/dist/index.css
CHANGED
|
@@ -457,7 +457,7 @@ div._main_k37nc_1 ._header_k37nc_48 {
|
|
|
457
457
|
background: var(--el-bg-color);
|
|
458
458
|
height: 16px;
|
|
459
459
|
z-index: 3;
|
|
460
|
-
display: var(--
|
|
460
|
+
display: var(--v434d6e36);
|
|
461
461
|
}
|
|
462
462
|
._main_2r9ln_1 > .el-drawer__body > .el-scrollbar::after {
|
|
463
463
|
content: "";
|
|
@@ -469,7 +469,7 @@ div._main_k37nc_1 ._header_k37nc_48 {
|
|
|
469
469
|
background: var(--el-bg-color);
|
|
470
470
|
height: 16px;
|
|
471
471
|
z-index: 3;
|
|
472
|
-
display: var(--
|
|
472
|
+
display: var(--v434d6e36);
|
|
473
473
|
}
|
|
474
474
|
._header_2r9ln_46 {
|
|
475
475
|
display: flex;
|
|
@@ -667,9 +667,9 @@ div._table_oyix4_1 {
|
|
|
667
667
|
margin: 0 -8px;
|
|
668
668
|
}
|
|
669
669
|
/* source: src/components/explorer-list/explorer-list.vue */
|
|
670
|
-
.
|
|
670
|
+
._item_e98ar_1 {
|
|
671
671
|
padding: 4px 8px;
|
|
672
|
-
cursor:
|
|
672
|
+
cursor: var(--v42d68eb8);
|
|
673
673
|
display: flex;
|
|
674
674
|
justify-content: space-between;
|
|
675
675
|
align-items: center;
|
|
@@ -679,60 +679,60 @@ div._table_oyix4_1 {
|
|
|
679
679
|
box-sizing: border-box;
|
|
680
680
|
line-height: 1;
|
|
681
681
|
}
|
|
682
|
-
.
|
|
682
|
+
._item_e98ar_1:hover {
|
|
683
683
|
background-color: var(--el-color-primary-light-9);
|
|
684
684
|
}
|
|
685
|
-
.
|
|
685
|
+
._item_e98ar_1:hover ._actions_e98ar_16 {
|
|
686
686
|
display: inline-flex;
|
|
687
687
|
align-items: flex-start;
|
|
688
688
|
}
|
|
689
|
-
.
|
|
689
|
+
._item_e98ar_1._active_e98ar_20 {
|
|
690
690
|
color: var(--el-color-primary);
|
|
691
691
|
background-color: var(--el-color-primary-light-9);
|
|
692
692
|
}
|
|
693
|
-
.
|
|
693
|
+
._label_e98ar_25 {
|
|
694
694
|
overflow: hidden;
|
|
695
695
|
text-overflow: ellipsis;
|
|
696
696
|
white-space: nowrap;
|
|
697
697
|
--el-checkbox-height: 24px;
|
|
698
698
|
}
|
|
699
|
-
.
|
|
699
|
+
._label_e98ar_25 .iconify {
|
|
700
700
|
margin-right: 4px;
|
|
701
701
|
}
|
|
702
|
-
.
|
|
702
|
+
._label_e98ar_25 .el-checkbox {
|
|
703
703
|
width: 100%;
|
|
704
704
|
}
|
|
705
|
-
.
|
|
705
|
+
._label_e98ar_25 .el-checkbox__label {
|
|
706
706
|
overflow: hidden;
|
|
707
707
|
text-overflow: ellipsis;
|
|
708
708
|
white-space: nowrap;
|
|
709
709
|
color: var(--el-text-color-regular) !important;
|
|
710
710
|
cursor: pointer !important;
|
|
711
711
|
}
|
|
712
|
-
.
|
|
712
|
+
._actions_e98ar_16 {
|
|
713
713
|
display: none;
|
|
714
714
|
column-gap: 4px;
|
|
715
715
|
}
|
|
716
|
-
.
|
|
716
|
+
._actions_e98ar_16 > button {
|
|
717
717
|
margin-left: 0 !important;
|
|
718
718
|
font-size: 1.2em;
|
|
719
719
|
border: 1px solid var(--el-border-color-light) !important;
|
|
720
720
|
}
|
|
721
|
-
.
|
|
721
|
+
._actions_e98ar_16 > button:hover {
|
|
722
722
|
border-color: var(--el-border-color-dark) !important;
|
|
723
723
|
}
|
|
724
|
-
.
|
|
724
|
+
._remove_e98ar_58 {
|
|
725
725
|
transform: translateY(-1px);
|
|
726
726
|
}
|
|
727
|
-
.
|
|
728
|
-
.
|
|
727
|
+
._empty_e98ar_62,
|
|
728
|
+
._loading_e98ar_63 {
|
|
729
729
|
padding: 4px 8px;
|
|
730
730
|
display: flex;
|
|
731
731
|
align-items: center;
|
|
732
732
|
column-gap: 4px;
|
|
733
733
|
color: var(--el-text-color-secondary);
|
|
734
734
|
}
|
|
735
|
-
.
|
|
735
|
+
._scrollbar_e98ar_71 {
|
|
736
736
|
margin: 0 -8px;
|
|
737
737
|
}
|
|
738
738
|
/* source: src/components/explorer-modal-form/explorer-modal-form.vue */
|
|
@@ -865,7 +865,7 @@ div._table_p2qu9_7 .el-table__empty-block {
|
|
|
865
865
|
}
|
|
866
866
|
div._divider_8k9xf_21 {
|
|
867
867
|
margin: 8px 0;
|
|
868
|
-
}._explorer-
|
|
868
|
+
}._explorer-tools_1dsx4_1 {
|
|
869
869
|
display: flex;
|
|
870
870
|
align-items: center;
|
|
871
871
|
justify-content: space-between;
|
|
@@ -874,33 +874,33 @@ div._divider_8k9xf_21 {
|
|
|
874
874
|
row-gap: 8px;
|
|
875
875
|
box-sizing: border-box;
|
|
876
876
|
}
|
|
877
|
-
._explorer-
|
|
877
|
+
._explorer-tools_1dsx4_1._bottom-border_1dsx4_10 {
|
|
878
878
|
border-bottom: 1px solid var(--el-border-color-lighter);
|
|
879
879
|
margin-bottom: 8px;
|
|
880
880
|
}
|
|
881
|
-
.
|
|
881
|
+
._buttons_1dsx4_15 {
|
|
882
882
|
display: flex;
|
|
883
883
|
align-items: center;
|
|
884
884
|
column-gap: 8px;
|
|
885
885
|
}
|
|
886
|
-
.
|
|
886
|
+
._buttons_1dsx4_15 button {
|
|
887
887
|
margin-left: 0 !important;
|
|
888
888
|
}
|
|
889
|
-
.
|
|
889
|
+
._tools_1dsx4_24 {
|
|
890
890
|
display: flex;
|
|
891
891
|
align-items: center;
|
|
892
892
|
column-gap: 8px;
|
|
893
893
|
}
|
|
894
|
-
.
|
|
894
|
+
._tools_1dsx4_24 button.vc-icon-button {
|
|
895
895
|
padding: 4px;
|
|
896
896
|
font-size: 18px;
|
|
897
897
|
margin-left: 0 !important;
|
|
898
898
|
}
|
|
899
|
-
.
|
|
899
|
+
._layout_1dsx4_35 .el-radio-button__inner {
|
|
900
900
|
padding: 6px 8px;
|
|
901
901
|
font-size: 18px;
|
|
902
902
|
}
|
|
903
|
-
.
|
|
903
|
+
._fullscreen_1dsx4_40 {
|
|
904
904
|
position: fixed !important;
|
|
905
905
|
background-color: var(--el-bg-color) !important;
|
|
906
906
|
top: 0 !important;
|
|
@@ -1376,14 +1376,14 @@ div._input-width_wnpjs_1 {
|
|
|
1376
1376
|
display: flex;
|
|
1377
1377
|
flex-direction: column;
|
|
1378
1378
|
flex-grow: 1;
|
|
1379
|
-
margin: var(--
|
|
1379
|
+
margin: var(--v0912858a);
|
|
1380
1380
|
}
|
|
1381
1381
|
._fill-height_edxkl_18 {
|
|
1382
1382
|
height: 10px;
|
|
1383
1383
|
}
|
|
1384
1384
|
/* source: src/components/select/select.vue */
|
|
1385
1385
|
div._select-width_140qa_1 {
|
|
1386
|
-
width: var(--
|
|
1386
|
+
width: var(--e6459eea);
|
|
1387
1387
|
}
|
|
1388
1388
|
/* source: src/components/single-player/single-player.vue */
|
|
1389
1389
|
._main_15lus_1 {
|