@wfrog/vc-ui 1.9.19 → 1.9.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/chunk/{ClZGuAIb.mjs → DZ5W9TaA.mjs} +4 -1
- package/dist/es/components/awesome-icon/index.mjs +1 -1
- package/dist/es/components/backbottom/index.mjs +1 -1
- package/dist/es/components/button/index.mjs +1 -1
- package/dist/es/components/cdn-tag.vue.d.ts +5 -0
- package/dist/es/components/chat-container/index.mjs +1 -1
- package/dist/es/components/choice/index.mjs +1 -1
- package/dist/es/components/choice-boolean/index.mjs +1 -1
- package/dist/es/components/color-switcher/index.mjs +1 -1
- package/dist/es/components/config-provider/index.mjs +1 -1
- package/dist/es/components/cropper/index.mjs +1 -1
- package/dist/es/components/currency/index.mjs +1 -1
- package/dist/es/components/dark-switcher/index.mjs +1 -1
- package/dist/es/components/daterange-picker/index.mjs +1 -1
- package/dist/es/components/dialog/index.mjs +1 -1
- package/dist/es/components/dialog-camera-upload/index.mjs +1 -1
- package/dist/es/components/dialog-map-point/index.mjs +1 -1
- package/dist/es/components/dialog-upload-images/index.mjs +1 -1
- package/dist/es/components/drag-verify/index.mjs +1 -1
- package/dist/es/components/drawer/index.mjs +1 -1
- package/dist/es/components/easy-pagination/index.mjs +1 -1
- package/dist/es/components/el-icon/index.mjs +1 -1
- package/dist/es/components/explorer/index.mjs +1 -1
- package/dist/es/components/explorer-column-table/index.mjs +1 -1
- package/dist/es/components/explorer-container/index.mjs +1 -1
- package/dist/es/components/explorer-filter/index.mjs +1 -1
- package/dist/es/components/explorer-footer/index.mjs +1 -1
- package/dist/es/components/explorer-form/index.mjs +1 -1
- package/dist/es/components/explorer-list/index.mjs +1 -1
- package/dist/es/components/explorer-modal-form/index.mjs +1 -1
- package/dist/es/components/explorer-panel/index.mjs +1 -1
- package/dist/es/components/explorer-query/index.mjs +1 -1
- package/dist/es/components/explorer-table/index.mjs +1 -1
- package/dist/es/components/explorer-tools/index.mjs +1 -1
- package/dist/es/components/explorer-tree/index.mjs +1 -1
- package/dist/es/components/flag/index.mjs +1 -1
- package/dist/es/components/icon/index.mjs +1 -1
- package/dist/es/components/icon-picker/index.mjs +1 -1
- package/dist/es/components/iconify-icon/index.mjs +1 -1
- package/dist/es/components/image/index.mjs +1 -1
- package/dist/es/components/input/index.css +2 -6
- package/dist/es/components/input/index.mjs +1 -1
- package/dist/es/components/input/input.d.ts +1 -2
- package/dist/es/components/input/input.mjs +6 -12
- package/dist/es/components/input/input.vue.d.ts +0 -1
- package/dist/es/components/input-number/index.css +11 -10
- package/dist/es/components/input-number/index.mjs +1 -1
- package/dist/es/components/input-number/input-number.d.ts +1 -1
- package/dist/es/components/input-number/input-number.mjs +10 -6
- package/dist/es/components/input-number/input-number.vue.d.ts +0 -1
- package/dist/es/components/pca-picker/index.css +14 -13
- package/dist/es/components/pca-picker/index.mjs +1 -1
- package/dist/es/components/pca-picker/pca-picker.d.ts +1 -0
- package/dist/es/components/pca-picker/pca-picker.mjs +22 -9
- package/dist/es/components/qr-code/index.mjs +1 -1
- package/dist/es/components/screenfull/index.mjs +1 -1
- package/dist/es/components/scrollbar/index.mjs +1 -1
- package/dist/es/components/select/index.css +2 -7
- package/dist/es/components/select/index.mjs +1 -1
- package/dist/es/components/select/select.d.ts +1 -2
- package/dist/es/components/select/select.mjs +6 -12
- package/dist/es/components/select/select.vue.d.ts +1 -2
- package/dist/es/components/single-player/index.mjs +1 -1
- package/dist/es/components/splitter/index.mjs +1 -1
- package/dist/es/components/splitter-panel/index.mjs +1 -1
- package/dist/es/components/svg-icon/index.mjs +1 -1
- package/dist/es/components/switch/index.mjs +1 -1
- package/dist/es/components/sync-scroll-container/index.mjs +1 -1
- package/dist/es/components/tags/index.mjs +1 -1
- package/dist/es/components/text-ellipsis/index.mjs +1 -1
- package/dist/es/components/thousand-input/index.mjs +1 -1
- package/dist/es/components/thousand-input/thousand-input.mjs +1 -0
- package/dist/es/components/thousand-input/thousand-input.vue.d.ts +4 -10
- package/dist/es/components/tinymce/index.mjs +1 -1
- package/dist/es/components/transfer/index.css +12 -18
- package/dist/es/components/transfer/index.mjs +1 -1
- package/dist/es/components/transfer/transfer.d.ts +1 -2
- package/dist/es/components/transfer/transfer.mjs +14 -17
- package/dist/es/components/transfer-panel/index.mjs +1 -1
- package/dist/es/components/tree-picker/index.css +15 -18
- package/dist/es/components/tree-picker/index.mjs +1 -1
- package/dist/es/components/tree-picker/tree-picker.d.ts +1 -2
- package/dist/es/components/tree-picker/tree-picker.mjs +14 -16
- package/dist/es/components/upload-file/index.mjs +1 -1
- package/dist/es/index.mjs +1 -1
- package/dist/es/utils/index.d.ts +1 -0
- package/dist/index.css +56 -72
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
interface IPropType {
|
|
2
|
+
name: string;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<IPropType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IPropType> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -3,12 +3,12 @@ import '../../chunk/Gk1J52Yw.mjs';
|
|
|
3
3
|
import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
|
|
4
4
|
import { defineComponent, useCssVars, unref, computed, useCssModule, useTemplateRef, createBlock, openBlock, normalizeClass, createSlots, withCtx, renderSlot } from 'vue';
|
|
5
5
|
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
6
|
+
import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
|
|
6
7
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
7
8
|
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
10
|
__name: "input",
|
|
10
11
|
props: {
|
|
11
|
-
block: { type: Boolean, default: false },
|
|
12
12
|
width: {},
|
|
13
13
|
disabled: { type: Boolean, default: void 0 },
|
|
14
14
|
clearable: { type: Boolean, default: true }
|
|
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
emits: ["blur", "change"],
|
|
17
17
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
18
18
|
useCssVars((_ctx) => ({
|
|
19
|
-
"
|
|
19
|
+
"v02e4134e": unref(myWidth)
|
|
20
20
|
}));
|
|
21
21
|
const props = __props;
|
|
22
22
|
const emits = __emit;
|
|
@@ -25,12 +25,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
const formDisabled = useFormDisabled();
|
|
26
26
|
const { formItem } = useFormItem();
|
|
27
27
|
const className = computed(() => ({
|
|
28
|
-
[$style
|
|
29
|
-
[$style.block]: props.block
|
|
28
|
+
[$style["input-width"]]: !!props.width
|
|
30
29
|
}));
|
|
31
|
-
const myWidth = computed(() =>
|
|
32
|
-
return props.width || (props.block ? "100%" : "240px");
|
|
33
|
-
});
|
|
30
|
+
const myWidth = computed(() => props.width ? formatToPx(props.width) : "auto");
|
|
34
31
|
function handleBlur(evt) {
|
|
35
32
|
formItem?.validate?.("blur").catch(() => {
|
|
36
33
|
});
|
|
@@ -86,11 +83,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
83
|
}
|
|
87
84
|
});
|
|
88
85
|
|
|
89
|
-
/* unplugin-vue-components disabled */const
|
|
90
|
-
|
|
91
|
-
const style0 = {
|
|
92
|
-
input: input,
|
|
93
|
-
block: block
|
|
86
|
+
/* unplugin-vue-components disabled */const style0 = {
|
|
87
|
+
"input-width": "_input-width_wnpjs_1"
|
|
94
88
|
};
|
|
95
89
|
|
|
96
90
|
const cssModules = {
|
|
@@ -832,7 +832,6 @@ declare const __VLS_component: import('vue').DefineComponent<IInputProps, {
|
|
|
832
832
|
}>, {
|
|
833
833
|
disabled: boolean;
|
|
834
834
|
clearable: boolean;
|
|
835
|
-
block: boolean;
|
|
836
835
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
837
836
|
inputRef: ({
|
|
838
837
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
/* source: src/components/input-number/input-number.vue */
|
|
2
|
-
div._input-
|
|
3
|
-
display:
|
|
2
|
+
div._input-number_1e1b7_1 {
|
|
3
|
+
display: flex;
|
|
4
4
|
width: auto;
|
|
5
5
|
padding: 0;
|
|
6
6
|
}
|
|
7
|
-
div._input-
|
|
7
|
+
div._input-number_1e1b7_1.el-input-group--prepend :not(.el-select) .el-input__wrapper {
|
|
8
8
|
border-top-left-radius: 0;
|
|
9
9
|
border-bottom-left-radius: 0;
|
|
10
10
|
}
|
|
11
|
-
div._input-
|
|
11
|
+
div._input-number_1e1b7_1.el-input-group--prepend div.el-select .el-input__wrapper {
|
|
12
12
|
border-radius: var(--el-input-border-radius, var(--el-border-radius-base)) 0 0 var(--el-input-border-radius, var(--el-border-radius-base));
|
|
13
13
|
box-shadow: 0 0 0 0;
|
|
14
14
|
}
|
|
15
|
-
div._input-
|
|
15
|
+
div._input-number_1e1b7_1.input-with-select .el-input-group__prepend {
|
|
16
16
|
background-color: var(--el-fill-color-blank);
|
|
17
17
|
}
|
|
18
|
-
div.
|
|
19
|
-
width:
|
|
20
|
-
line-height: 10px;
|
|
18
|
+
div._input-number-width_1e1b7_18 {
|
|
19
|
+
width: var(--v2d4d2c22);
|
|
21
20
|
}
|
|
22
|
-
div._el-input-
|
|
23
|
-
|
|
21
|
+
div._el-input-number_1e1b7_22 {
|
|
22
|
+
display: flex;
|
|
23
|
+
width: 100%;
|
|
24
|
+
line-height: 10px;
|
|
24
25
|
}
|
|
@@ -2,8 +2,9 @@ import './index.css'
|
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
3
|
import '../../chunk/DFOYvCRL.mjs';
|
|
4
4
|
import { E as ElInputNumber } from '../../chunk/C-7W07Z_.mjs';
|
|
5
|
-
import { defineComponent, useCssVars, useSlots, useCssModule, ref, useTemplateRef,
|
|
5
|
+
import { defineComponent, useCssVars, unref, computed, useSlots, useCssModule, ref, useTemplateRef, watch, onUnmounted, createElementBlock, openBlock, normalizeClass, createCommentVNode, createBlock, renderSlot, mergeProps, isRef, createSlots, withCtx, nextTick } from 'vue';
|
|
6
6
|
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
7
|
+
import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
|
|
7
8
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
8
9
|
|
|
9
10
|
const _hoisted_1 = {
|
|
@@ -18,13 +19,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
19
|
controlsPosition: {},
|
|
19
20
|
size: {},
|
|
20
21
|
inputNumberClass: {},
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
disabled: { type: Boolean, default: void 0 },
|
|
23
|
+
width: {}
|
|
23
24
|
},
|
|
24
25
|
emits: ["update:modelValue", "change", "blur"],
|
|
25
26
|
setup(__props, { emit: __emit }) {
|
|
26
27
|
useCssVars((_ctx) => ({
|
|
27
|
-
"
|
|
28
|
+
"v2d4d2c22": unref(myWidth)
|
|
28
29
|
}));
|
|
29
30
|
const props = __props;
|
|
30
31
|
const emits = __emit;
|
|
@@ -37,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
38
|
const mainClass = computed(() => {
|
|
38
39
|
const className = {
|
|
39
40
|
[$style["input-number"]]: true,
|
|
41
|
+
[$style["input-number-width"]]: !!props.width,
|
|
40
42
|
"el-input": true,
|
|
41
43
|
"el-input-group--prepend": $slots.prepend,
|
|
42
44
|
"input-with-select": inputNumberRef.value?.querySelector(".el-input-group__prepend>.el-select")
|
|
@@ -46,6 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
48
|
}
|
|
47
49
|
return className;
|
|
48
50
|
});
|
|
51
|
+
const myWidth = computed(() => props.width ? formatToPx(props.width) : "auto");
|
|
49
52
|
const myControlsPosition = computed(() => $slots.prepend && props.controlsPosition === void 0 ? "right" : props.controlsPosition);
|
|
50
53
|
const myValue = computed({
|
|
51
54
|
get: () => props.modelValue,
|
|
@@ -129,8 +132,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129
132
|
});
|
|
130
133
|
|
|
131
134
|
/* unplugin-vue-components disabled */const style0 = {
|
|
132
|
-
"input-number": "_input-
|
|
133
|
-
"
|
|
135
|
+
"input-number": "_input-number_1e1b7_1",
|
|
136
|
+
"input-number-width": "_input-number-width_1e1b7_18",
|
|
137
|
+
"el-input-number": "_el-input-number_1e1b7_22"
|
|
134
138
|
};
|
|
135
139
|
|
|
136
140
|
const cssModules = {
|
|
@@ -23,7 +23,6 @@ declare const __VLS_component: import('vue').DefineComponent<IInputNumberProps,
|
|
|
23
23
|
}>, {
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
precision: number;
|
|
26
|
-
inputWidth: string;
|
|
27
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
28
27
|
inputNumberRef: HTMLDivElement;
|
|
29
28
|
}, HTMLDivElement>;
|
|
@@ -72,36 +72,37 @@
|
|
|
72
72
|
color: var(--el-color-primary);
|
|
73
73
|
background-color: var(--el-color-primary-light-9);
|
|
74
74
|
border-color: var(--el-color-primary-light-7);
|
|
75
|
-
}.
|
|
75
|
+
}._popover_qj0am_1 {
|
|
76
76
|
width: auto !important;
|
|
77
77
|
min-width: 80px !important;
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
._container_qj0am_6 {
|
|
80
80
|
display: flex;
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
._container_qj0am_6 .el-cascader-menu {
|
|
83
83
|
min-width: 80px;
|
|
84
84
|
}
|
|
85
|
-
.
|
|
86
|
-
display:
|
|
87
|
-
width: unset;
|
|
88
|
-
min-width: 300px;
|
|
85
|
+
._wrapper_qj0am_13 {
|
|
86
|
+
display: block;
|
|
89
87
|
}
|
|
90
|
-
.
|
|
88
|
+
._wrapper_qj0am_13 .el-tag .el-icon {
|
|
91
89
|
display: none;
|
|
92
90
|
}
|
|
93
|
-
.
|
|
91
|
+
._wrapper-width_qj0am_20 {
|
|
92
|
+
width: var(--v51828de6);
|
|
93
|
+
}
|
|
94
|
+
._cascader_qj0am_24 {
|
|
94
95
|
width: 100%;
|
|
95
96
|
}
|
|
96
|
-
.
|
|
97
|
+
._cascader_qj0am_24 .el-input__wrapper.is-focus {
|
|
97
98
|
box-shadow: 0 0 0 1px var(--el-input-focus-border-color, var(--el-color-primary)) inset !important;
|
|
98
99
|
}
|
|
99
|
-
._is-
|
|
100
|
+
._is-active_qj0am_31 .el-input__inner {
|
|
100
101
|
border-color: var(--color-primary);
|
|
101
102
|
}
|
|
102
|
-
._is-
|
|
103
|
+
._is-active_qj0am_31 .el-icon {
|
|
103
104
|
transform: rotateZ(-180deg) !important;
|
|
104
105
|
}
|
|
105
|
-
._popover-
|
|
106
|
+
._popover-select_qj0am_38 {
|
|
106
107
|
display: none;
|
|
107
108
|
}
|