@wfrog/vc-ui 1.9.19 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/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/color-switcher.d.ts → color-switch/color-switch.d.ts} +2 -2
- package/dist/es/components/{color-switcher/color-switcher.mjs → color-switch/color-switch.mjs} +3 -3
- package/dist/es/components/{color-switcher/color-switcher.vue.d.ts → color-switch/color-switch.vue.d.ts} +3 -3
- package/dist/es/components/{color-switcher → color-switch}/index.css +2 -2
- package/dist/es/components/color-switch/index.d.ts +4 -0
- package/dist/es/components/color-switch/index.mjs +6 -0
- 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/dark-switcher.d.ts → dark-switch/dark-switch.d.ts} +2 -2
- package/dist/es/components/{dark-switcher/dark-switcher.mjs → dark-switch/dark-switch.mjs} +3 -3
- package/dist/es/components/{dark-switcher/dark-switcher.vue.d.ts → dark-switch/dark-switch.vue.d.ts} +3 -3
- package/dist/es/components/{dark-switcher → dark-switch}/index.css +2 -2
- package/dist/es/components/dark-switch/index.d.ts +4 -0
- package/dist/es/components/dark-switch/index.mjs +6 -0
- 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/explorer-column-table.mjs +2 -2
- 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/explorer-tree.mjs +2 -2
- package/dist/es/components/explorer-tree/explorer-tree.vue.d.ts +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.d.ts +2 -2
- package/dist/es/index.mjs +6 -6
- package/dist/es/utils/index.d.ts +1 -0
- package/dist/global.d.ts +2 -2
- package/dist/index.css +60 -76
- package/package.json +1 -1
- package/dist/es/components/color-switcher/index.d.ts +0 -4
- package/dist/es/components/color-switcher/index.mjs +0 -6
- package/dist/es/components/dark-switcher/index.d.ts +0 -4
- package/dist/es/components/dark-switcher/index.mjs +0 -6
|
@@ -4,6 +4,7 @@ import '../../chunk/BH1e_-Fa.mjs';
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { defineComponent, useCssVars, unref, computed, useCssModule, useTemplateRef, createBlock, openBlock, withCtx, createElementVNode, normalizeClass, createVNode, isRef, mergeProps } from 'vue';
|
|
6
6
|
import { useFormDisabled } from 'element-plus';
|
|
7
|
+
import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
|
|
7
8
|
import { C as Component$2 } from '../select/select.mjs';
|
|
8
9
|
import { C as Component$1 } from '../transfer-panel/transfer-panel.mjs';
|
|
9
10
|
import { useVModel, useToggle, useThrottleFn, onClickOutside } from '@vueuse/core';
|
|
@@ -17,13 +18,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
18
|
data: {},
|
|
18
19
|
placeholder: { default: "请选择" },
|
|
19
20
|
width: {},
|
|
20
|
-
block: { type: Boolean },
|
|
21
21
|
disabled: { type: Boolean, default: void 0 }
|
|
22
22
|
},
|
|
23
23
|
emits: ["update:modelValue"],
|
|
24
24
|
setup(__props, { emit: __emit }) {
|
|
25
25
|
useCssVars((_ctx) => ({
|
|
26
|
-
"
|
|
26
|
+
"d1a9b78e": unref(myWidth)
|
|
27
27
|
}));
|
|
28
28
|
const props = __props;
|
|
29
29
|
const emits = __emit;
|
|
@@ -33,11 +33,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
const handleSelectClick = useThrottleFn(() => {
|
|
34
34
|
!formDisabled.value && togglePopoverVisible();
|
|
35
35
|
}, 300);
|
|
36
|
-
const myWidth = computed(() => {
|
|
37
|
-
return props.width || (props.block ? "100%" : "240px");
|
|
38
|
-
});
|
|
39
36
|
const $style = useCssModule();
|
|
40
|
-
const selectClassName = computed(() => ({ [$style["is-active"]]: popoverVisible.value
|
|
37
|
+
const selectClassName = computed(() => ({ [$style["is-active"]]: popoverVisible.value }));
|
|
38
|
+
const wrapperClassName = computed(() => ({ [$style["wrapper-width"]]: !!props.width }));
|
|
39
|
+
const myWidth = computed(() => props.width ? formatToPx(props.width) : "auto");
|
|
41
40
|
const containerRef = useTemplateRef("containerRef");
|
|
42
41
|
onClickOutside(containerRef, (event) => {
|
|
43
42
|
let target = event.target;
|
|
@@ -57,21 +56,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
56
|
}, {
|
|
58
57
|
reference: withCtx(() => [
|
|
59
58
|
createElementVNode("div", {
|
|
60
|
-
class: normalizeClass(unref(
|
|
59
|
+
class: normalizeClass(unref(wrapperClassName)),
|
|
61
60
|
onClickCapture: _cache[2] || (_cache[2] = //@ts-ignore
|
|
62
61
|
(...args) => unref(handleSelectClick) && unref(handleSelectClick)(...args))
|
|
63
62
|
}, [
|
|
64
63
|
createVNode(Component$2, mergeProps({
|
|
65
64
|
modelValue: unref(myValue),
|
|
66
65
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(myValue) ? myValue.value = $event : null),
|
|
67
|
-
block: __props.block,
|
|
68
66
|
placeholder: __props.placeholder,
|
|
69
67
|
class: [unref($style).select, unref(selectClassName)],
|
|
70
68
|
options: __props.data,
|
|
71
69
|
disabled: unref(formDisabled)
|
|
72
70
|
}, { ..._ctx.$attrs, multiple: true }, {
|
|
73
71
|
"popper-class": unref($style).popper
|
|
74
|
-
}), null, 16, ["modelValue", "
|
|
72
|
+
}), null, 16, ["modelValue", "placeholder", "class", "options", "disabled", "popper-class"])
|
|
75
73
|
], 34)
|
|
76
74
|
]),
|
|
77
75
|
default: withCtx(() => [
|
|
@@ -93,19 +91,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
93
91
|
}
|
|
94
92
|
});
|
|
95
93
|
|
|
96
|
-
/* unplugin-vue-components disabled */const popover = "
|
|
97
|
-
const container = "
|
|
98
|
-
const wrapper = "
|
|
99
|
-
const
|
|
100
|
-
const
|
|
101
|
-
const popper = "_popper_1kcfx_40";
|
|
94
|
+
/* unplugin-vue-components disabled */const popover = "_popover_6byv7_1";
|
|
95
|
+
const container = "_container_6byv7_6";
|
|
96
|
+
const wrapper = "_wrapper_6byv7_13";
|
|
97
|
+
const select = "_select_6byv7_21";
|
|
98
|
+
const popper = "_popper_6byv7_35";
|
|
102
99
|
const style0 = {
|
|
103
100
|
popover: popover,
|
|
104
101
|
container: container,
|
|
105
102
|
wrapper: wrapper,
|
|
106
|
-
|
|
103
|
+
"wrapper-width": "_wrapper-width_6byv7_17",
|
|
107
104
|
select: select,
|
|
108
|
-
"is-active": "_is-
|
|
105
|
+
"is-active": "_is-active_6byv7_28",
|
|
109
106
|
popper: popper
|
|
110
107
|
};
|
|
111
108
|
|
|
@@ -1,41 +1,38 @@
|
|
|
1
1
|
/* source: src/components/tree-picker/tree-picker.vue */
|
|
2
|
-
.
|
|
2
|
+
._popover_xrmgt_1 {
|
|
3
3
|
width: auto !important;
|
|
4
4
|
min-width: 80px !important;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._container_xrmgt_6 {
|
|
7
7
|
display: flex;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
._container_xrmgt_6 .el-cascader-menu {
|
|
10
10
|
min-width: 80px;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
13
|
-
|
|
14
|
-
width: unset;
|
|
15
|
-
min-width: var(--v07aa23cc);
|
|
12
|
+
._wrapper_xrmgt_13 {
|
|
13
|
+
width: var(--v7586a416);
|
|
16
14
|
}
|
|
17
|
-
.
|
|
18
|
-
display: block;
|
|
19
|
-
width: var(--v07aa23cc);
|
|
20
|
-
}
|
|
21
|
-
._wrapper_q784j_13 .el-tag .el-icon {
|
|
15
|
+
._wrapper_xrmgt_13 .el-tag .el-icon {
|
|
22
16
|
display: none;
|
|
23
17
|
}
|
|
24
|
-
.
|
|
18
|
+
._cascader_xrmgt_20 {
|
|
25
19
|
width: 100%;
|
|
26
20
|
}
|
|
27
|
-
.
|
|
21
|
+
._cascader_xrmgt_20 .el-input__wrapper.is-focus {
|
|
28
22
|
box-shadow: 0 0 0 1px var(--el-input-focus-border-color, var(--el-color-primary)) inset !important;
|
|
29
23
|
}
|
|
30
|
-
.
|
|
24
|
+
._cascader-width_xrmgt_27 {
|
|
25
|
+
width: var(--v7586a416);
|
|
26
|
+
}
|
|
27
|
+
._is-active_xrmgt_31 .el-input__inner {
|
|
31
28
|
border-color: var(--color-primary);
|
|
32
29
|
}
|
|
33
|
-
._is-
|
|
30
|
+
._is-active_xrmgt_31 .el-icon {
|
|
34
31
|
transform: rotateZ(-180deg) !important;
|
|
35
32
|
}
|
|
36
|
-
._cascader-
|
|
33
|
+
._cascader-popover_xrmgt_38.el-cascader__dropdown {
|
|
37
34
|
display: none;
|
|
38
35
|
}
|
|
39
|
-
._cascader-
|
|
36
|
+
._cascader-panel_xrmgt_42 .el-cascader-panel {
|
|
40
37
|
display: none;
|
|
41
38
|
}
|
|
@@ -7,8 +7,7 @@ export interface ITreePickerProps {
|
|
|
7
7
|
modelValue: string | number | string[] | number[] | undefined;
|
|
8
8
|
options?: CascaderOption[];
|
|
9
9
|
props?: CascaderProps;
|
|
10
|
-
width?: string;
|
|
11
|
-
block?: boolean;
|
|
10
|
+
width?: string | number;
|
|
12
11
|
filterable?: boolean;
|
|
13
12
|
filterEmptyText?: string;
|
|
14
13
|
}
|
|
@@ -11,6 +11,7 @@ import '../../chunk/Do7HIVy5.mjs';
|
|
|
11
11
|
import '../../chunk/CqhShW5K.mjs';
|
|
12
12
|
import { defineComponent, useCssVars, unref, computed, useCssModule, useTemplateRef, ref, createBlock, openBlock, withCtx, createElementVNode, normalizeClass, createVNode, mergeProps, isRef, createTextVNode, toDisplayString, nextTick } from 'vue';
|
|
13
13
|
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
14
|
+
import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
|
|
14
15
|
import { useVModel, useToggle, useThrottleFn, onClickOutside } from '@vueuse/core';
|
|
15
16
|
import { E as ElPopover } from '../../chunk/DdY32YAP.mjs';
|
|
16
17
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
@@ -26,14 +27,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
27
|
options: { default: () => [] },
|
|
27
28
|
props: { default: () => ({}) },
|
|
28
29
|
width: {},
|
|
29
|
-
block: { type: Boolean },
|
|
30
30
|
filterable: { type: Boolean },
|
|
31
31
|
filterEmptyText: { default: "没有匹配到数据" }
|
|
32
32
|
},
|
|
33
33
|
emits: ["update:modelValue", "change", "blur"],
|
|
34
34
|
setup(__props, { emit: __emit }) {
|
|
35
35
|
useCssVars((_ctx) => ({
|
|
36
|
-
"
|
|
36
|
+
"v7586a416": unref(myWidth)
|
|
37
37
|
}));
|
|
38
38
|
const props = __props;
|
|
39
39
|
const emits = __emit;
|
|
@@ -50,11 +50,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
50
|
emitPath: false,
|
|
51
51
|
...props.props
|
|
52
52
|
}));
|
|
53
|
-
const myWidth = computed(() => {
|
|
54
|
-
return props.width || (props.block ? "100%" : "240px");
|
|
55
|
-
});
|
|
56
53
|
const $style = useCssModule();
|
|
57
|
-
const selectClassName = computed(() => ({ [$style["is-active"]]: popoverVisible.value
|
|
54
|
+
const selectClassName = computed(() => ({ [$style["is-active"]]: popoverVisible.value }));
|
|
55
|
+
const wrapperClassName = computed(() => ({ [$style["cascader-width"]]: !!props.width }));
|
|
56
|
+
const myWidth = computed(() => props.width ? formatToPx(props.width) : "auto");
|
|
58
57
|
const containerRef = useTemplateRef("containerRef");
|
|
59
58
|
onClickOutside(containerRef, (event) => {
|
|
60
59
|
let target = event.target;
|
|
@@ -107,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
106
|
}, {
|
|
108
107
|
reference: withCtx(() => [
|
|
109
108
|
createElementVNode("div", {
|
|
110
|
-
class: normalizeClass(unref(
|
|
109
|
+
class: normalizeClass(unref(wrapperClassName)),
|
|
111
110
|
onClickCapture: _cache[3] || (_cache[3] = //@ts-ignore
|
|
112
111
|
(...args) => unref(handleSelectClick) && unref(handleSelectClick)(...args)),
|
|
113
112
|
onKeyup: handleKeyup
|
|
@@ -161,20 +160,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
161
160
|
}
|
|
162
161
|
});
|
|
163
162
|
|
|
164
|
-
/* unplugin-vue-components disabled */const popover = "
|
|
165
|
-
const container = "
|
|
166
|
-
const wrapper = "
|
|
167
|
-
const
|
|
168
|
-
const cascader = "_cascader_q784j_26";
|
|
163
|
+
/* unplugin-vue-components disabled */const popover = "_popover_xrmgt_1";
|
|
164
|
+
const container = "_container_xrmgt_6";
|
|
165
|
+
const wrapper = "_wrapper_xrmgt_13";
|
|
166
|
+
const cascader = "_cascader_xrmgt_20";
|
|
169
167
|
const style0 = {
|
|
170
168
|
popover: popover,
|
|
171
169
|
container: container,
|
|
172
170
|
wrapper: wrapper,
|
|
173
|
-
block: block,
|
|
174
171
|
cascader: cascader,
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"cascader-
|
|
172
|
+
"cascader-width": "_cascader-width_xrmgt_27",
|
|
173
|
+
"is-active": "_is-active_xrmgt_31",
|
|
174
|
+
"cascader-popover": "_cascader-popover_xrmgt_38",
|
|
175
|
+
"cascader-panel": "_cascader-panel_xrmgt_42"
|
|
178
176
|
};
|
|
179
177
|
|
|
180
178
|
const cssModules = {
|
package/dist/es/index.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ export { default as VcButton } from './components/button/button.vue';
|
|
|
4
4
|
export { default as VcChatContainer } from './components/chat-container/chat-container.vue';
|
|
5
5
|
export { default as VcChoiceBoolean } from './components/choice-boolean/choice-boolean.vue';
|
|
6
6
|
export { default as VcChoice } from './components/choice/choice.vue';
|
|
7
|
-
export { default as
|
|
7
|
+
export { default as VcColorSwitch } from './components/color-switch/color-switch.vue';
|
|
8
8
|
export { default as VcConfigProvider } from './components/config-provider/config-provider.vue';
|
|
9
9
|
export { default as VcCropper } from './components/cropper/cropper.vue';
|
|
10
10
|
export { default as VcCurrency } from './components/currency/currency.vue';
|
|
11
|
-
export { default as
|
|
11
|
+
export { default as VcDarkSwitch } from './components/dark-switch/dark-switch.vue';
|
|
12
12
|
export { default as VcDaterangePicker } from './components/daterange-picker/daterange-picker.vue';
|
|
13
13
|
export { default as VcDialogCameraUpload } from './components/dialog-camera-upload/dialog-camera-upload.vue';
|
|
14
14
|
export { default as VcDialogMapPoint } from './components/dialog-map-point/dialog-map-point.vue';
|
package/dist/es/index.mjs
CHANGED
|
@@ -7,15 +7,15 @@ export { C as VcChatContainer } from './components/chat-container/chat-container
|
|
|
7
7
|
import { _ as _sfc_main$3 } from './components/choice-boolean/choice-boolean.mjs';
|
|
8
8
|
import { _ as __vite_glob_0_5 } from './components/choice/choice.mjs';
|
|
9
9
|
export { C as VcChoice } from './components/choice/choice.mjs';
|
|
10
|
-
import { _ as __vite_glob_0_6 } from './components/color-
|
|
11
|
-
export { C as
|
|
10
|
+
import { _ as __vite_glob_0_6 } from './components/color-switch/color-switch.mjs';
|
|
11
|
+
export { C as VcColorSwitch } from './components/color-switch/color-switch.mjs';
|
|
12
12
|
import { _ as _sfc_main$4 } from './components/config-provider/config-provider.mjs';
|
|
13
13
|
import { _ as __vite_glob_0_8 } from './components/cropper/cropper.mjs';
|
|
14
14
|
export { C as VcCropper } from './components/cropper/cropper.mjs';
|
|
15
15
|
import { _ as __vite_glob_0_9 } from './components/currency/currency.mjs';
|
|
16
16
|
export { C as VcCurrency } from './components/currency/currency.mjs';
|
|
17
|
-
import { _ as __vite_glob_0_10 } from './components/dark-
|
|
18
|
-
export { C as
|
|
17
|
+
import { _ as __vite_glob_0_10 } from './components/dark-switch/dark-switch.mjs';
|
|
18
|
+
export { C as VcDarkSwitch } from './components/dark-switch/dark-switch.mjs';
|
|
19
19
|
import { _ as _sfc_main$6 } from './components/daterange-picker/daterange-picker.mjs';
|
|
20
20
|
import { _ as __vite_glob_0_12 } from './components/dialog-camera-upload/dialog-camera-upload.mjs';
|
|
21
21
|
export { C as VcDialogCameraUpload } from './components/dialog-camera-upload/dialog-camera-upload.mjs';
|
|
@@ -156,9 +156,9 @@ const __vite_glob_0_47 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePr
|
|
|
156
156
|
default: _sfc_main$8
|
|
157
157
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
158
158
|
|
|
159
|
-
const version = "1.
|
|
159
|
+
const version = "1.10.0";
|
|
160
160
|
|
|
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-
|
|
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-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/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});
|
|
162
162
|
const upper = (_, letter) => letter.toUpperCase();
|
|
163
163
|
function install(Vue) {
|
|
164
164
|
Object.keys(modules).forEach((key) => {
|
package/dist/es/utils/index.d.ts
CHANGED
|
@@ -4,3 +4,4 @@ export declare function withInstall<T, E extends Record<string, any>>(main: T, e
|
|
|
4
4
|
export declare function withInstallFunction<T>(fn: T, name: string): SFCInstallWithContext<T>;
|
|
5
5
|
export declare function withInstallDirective<T extends Directive>(directive: T, name: string): SFCWithInstall<T>;
|
|
6
6
|
export declare function withNoopInstall<T>(component: T): SFCWithInstall<T>;
|
|
7
|
+
export declare function formatToPx(value: number | string): string;
|
package/dist/global.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ declare module 'vue' {
|
|
|
7
7
|
VcChatContainer: typeof import('@wfrog/vc-ui')['VcChatContainer']
|
|
8
8
|
VcChoice: typeof import('@wfrog/vc-ui')['VcChoice']
|
|
9
9
|
VcChoiceBoolean: typeof import('@wfrog/vc-ui')['VcChoiceBoolean']
|
|
10
|
-
|
|
10
|
+
VcColorSwitch: typeof import('@wfrog/vc-ui')['VcColorSwitch']
|
|
11
11
|
VcConfigProvider: typeof import('@wfrog/vc-ui')['VcConfigProvider']
|
|
12
12
|
VcCropper: typeof import('@wfrog/vc-ui')['VcCropper']
|
|
13
13
|
VcCurrency: typeof import('@wfrog/vc-ui')['VcCurrency']
|
|
14
|
-
|
|
14
|
+
VcDarkSwitch: typeof import('@wfrog/vc-ui')['VcDarkSwitch']
|
|
15
15
|
VcDaterangePicker: typeof import('@wfrog/vc-ui')['VcDaterangePicker']
|
|
16
16
|
VcDialog: typeof import('@wfrog/vc-ui')['VcDialog']
|
|
17
17
|
VcDialogCameraUpload: typeof import('@wfrog/vc-ui')['VcDialogCameraUpload']
|