@wfrog/vc-ui 1.13.9 → 1.14.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/nq3VKXVp.mjs +37 -0
- package/dist/es/components/dialog/dialog.d.ts +1 -0
- package/dist/es/components/dialog/dialog.mjs +29 -6
- package/dist/es/components/explorer-footer/explorer-footer.mjs +1 -35
- package/dist/es/components/select/index.css +1 -1
- package/dist/es/components/select/select.mjs +2 -3
- package/dist/es/components/thousand-separator/index.css +6 -0
- package/dist/es/components/thousand-separator/index.d.ts +4 -0
- package/dist/es/components/thousand-separator/index.mjs +6 -0
- package/dist/es/components/thousand-separator/thousand-separator.d.ts +6 -0
- package/dist/es/components/thousand-separator/thousand-separator.mjs +142 -0
- package/dist/es/components/thousand-separator/thousand-separator.vue.d.ts +8 -0
- package/dist/es/components/tinymce/tinymce.mjs +2 -2
- package/dist/es/components/transfer/transfer.mjs +2 -2
- package/dist/es/components/transfer-panel/transfer-panel.mjs +2 -2
- package/dist/es/components/tree-picker/tree-picker.mjs +2 -2
- package/dist/es/components/tree-select/tree-select.mjs +2 -2
- package/dist/es/components/upload-file/upload-file.mjs +2 -2
- package/dist/es/index.d.ts +1 -0
- package/dist/es/index.mjs +10 -8
- package/dist/global.d.ts +1 -0
- package/dist/index.css +7 -1
- package/package.json +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { i as isObjectLike, b as baseGetTag } from './Fo0dZYnz.mjs';
|
|
2
|
+
|
|
3
|
+
/** `Object#toString` result references. */
|
|
4
|
+
var numberTag = '[object Number]';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Checks if `value` is classified as a `Number` primitive or object.
|
|
8
|
+
*
|
|
9
|
+
* **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
|
|
10
|
+
* classified as numbers, use the `_.isFinite` method.
|
|
11
|
+
*
|
|
12
|
+
* @static
|
|
13
|
+
* @memberOf _
|
|
14
|
+
* @since 0.1.0
|
|
15
|
+
* @category Lang
|
|
16
|
+
* @param {*} value The value to check.
|
|
17
|
+
* @returns {boolean} Returns `true` if `value` is a number, else `false`.
|
|
18
|
+
* @example
|
|
19
|
+
*
|
|
20
|
+
* _.isNumber(3);
|
|
21
|
+
* // => true
|
|
22
|
+
*
|
|
23
|
+
* _.isNumber(Number.MIN_VALUE);
|
|
24
|
+
* // => true
|
|
25
|
+
*
|
|
26
|
+
* _.isNumber(Infinity);
|
|
27
|
+
* // => true
|
|
28
|
+
*
|
|
29
|
+
* _.isNumber('3');
|
|
30
|
+
* // => false
|
|
31
|
+
*/
|
|
32
|
+
function isNumber(value) {
|
|
33
|
+
return typeof value == 'number' ||
|
|
34
|
+
(isObjectLike(value) && baseGetTag(value) == numberTag);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { isNumber as i };
|
|
@@ -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, normalizeStyle, normalizeClass, isRef, createSlots, withCtx, createVNode, renderSlot, createElementVNode, createTextVNode, toDisplayString, withDirectives, vShow } from 'vue';
|
|
6
|
+
import { defineComponent, useCssModule, useSlots, 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';
|
|
@@ -20,9 +20,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
showDefaultFooter: { type: Boolean, default: false },
|
|
21
21
|
lazy: { type: Boolean, default: true },
|
|
22
22
|
height: {},
|
|
23
|
-
maxHeight: { default: "
|
|
23
|
+
maxHeight: { default: "calc(100vh - 98px)" },
|
|
24
24
|
fullscreenHeight: {},
|
|
25
25
|
fullscreen: { type: Boolean, default: false },
|
|
26
|
+
smallFullscreen: { type: Boolean },
|
|
26
27
|
boxPadding: { type: Boolean, default: true },
|
|
27
28
|
padding: { default: "0px" },
|
|
28
29
|
viewMargin: { default: "12px" },
|
|
@@ -33,16 +34,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
34
|
const props = __props;
|
|
34
35
|
const emits = __emit;
|
|
35
36
|
const $style = useCssModule();
|
|
37
|
+
const $slots = useSlots();
|
|
36
38
|
const dialogVisible = useVModel(props, "modelValue", emits);
|
|
37
39
|
const visible = ref(false);
|
|
38
40
|
const isFullscreen = ref(false);
|
|
39
41
|
const toggleFullscreen = useToggle(isFullscreen);
|
|
40
42
|
const Icon = computed(() => isFullscreen.value ? CopyDocument : FullScreen);
|
|
43
|
+
const extraHeight = computed(() => {
|
|
44
|
+
if (props.showDefaultFooter || $slots["footer-action"] || $slots["footer-extra"]) {
|
|
45
|
+
return "98px";
|
|
46
|
+
}
|
|
47
|
+
return "49px";
|
|
48
|
+
});
|
|
41
49
|
const myFullscreenHeight = computed(() => {
|
|
42
50
|
if (props.fullscreenHeight) {
|
|
43
51
|
return props.fullscreenHeight;
|
|
44
52
|
}
|
|
45
|
-
return
|
|
53
|
+
return `calc(100vh - ${extraHeight.value})`;
|
|
46
54
|
});
|
|
47
55
|
const myMaxHeight = computed(() => {
|
|
48
56
|
if (isFullscreen.value || !props.maxHeight) {
|
|
@@ -50,6 +58,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
58
|
}
|
|
51
59
|
return props.maxHeight;
|
|
52
60
|
});
|
|
61
|
+
const myWidth = computed(() => {
|
|
62
|
+
if (props.smallFullscreen) {
|
|
63
|
+
return "calc(100vw - 100px)";
|
|
64
|
+
}
|
|
65
|
+
return props.width;
|
|
66
|
+
});
|
|
67
|
+
const myHeight = computed(() => {
|
|
68
|
+
if (props.smallFullscreen) {
|
|
69
|
+
return `calc(100vh - 100px - ${extraHeight.value})`;
|
|
70
|
+
}
|
|
71
|
+
if (typeof props.height === "string") {
|
|
72
|
+
return `calc(${props.height} - ${extraHeight.value})`;
|
|
73
|
+
}
|
|
74
|
+
return props.height;
|
|
75
|
+
});
|
|
53
76
|
watch(dialogVisible, (val) => {
|
|
54
77
|
if (val) {
|
|
55
78
|
isFullscreen.value = props.fullscreen;
|
|
@@ -69,7 +92,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
69
92
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(dialogVisible) ? dialogVisible.value = $event : null),
|
|
70
93
|
"append-to-body": "",
|
|
71
94
|
"align-center": "",
|
|
72
|
-
width:
|
|
95
|
+
width: unref(myWidth),
|
|
73
96
|
"show-close": false,
|
|
74
97
|
fullscreen: unref(isFullscreen),
|
|
75
98
|
"close-on-click-modal": false,
|
|
@@ -116,7 +139,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
139
|
default: withCtx(() => [
|
|
117
140
|
createVNode(Component$1, {
|
|
118
141
|
"max-height": unref(myMaxHeight),
|
|
119
|
-
height:
|
|
142
|
+
height: unref(myHeight),
|
|
120
143
|
always: "",
|
|
121
144
|
"view-margin": __props.viewMargin,
|
|
122
145
|
"fill-height": false
|
|
@@ -129,7 +152,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129
152
|
]),
|
|
130
153
|
_: 2
|
|
131
154
|
}, [
|
|
132
|
-
__props.showDefaultFooter ||
|
|
155
|
+
__props.showDefaultFooter || unref($slots)["footer-action"] || unref($slots)["footer-extra"] ? {
|
|
133
156
|
name: "footer",
|
|
134
157
|
fn: withCtx(() => [
|
|
135
158
|
createElementVNode("div", null, [
|
|
@@ -3,43 +3,9 @@ import { ElPagination } from 'element-plus/es';
|
|
|
3
3
|
import 'element-plus/es/components/base/style/css';
|
|
4
4
|
import 'element-plus/es/components/pagination/style/css';
|
|
5
5
|
import { defineComponent, useCssVars, unref, computed, createElementBlock, openBlock, normalizeClass, createCommentVNode, createBlock, renderSlot, mergeProps } from 'vue';
|
|
6
|
-
import { i as
|
|
6
|
+
import { i as isNumber } from '../../chunk/nq3VKXVp.mjs';
|
|
7
7
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
8
8
|
|
|
9
|
-
/** `Object#toString` result references. */
|
|
10
|
-
var numberTag = '[object Number]';
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Checks if `value` is classified as a `Number` primitive or object.
|
|
14
|
-
*
|
|
15
|
-
* **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
|
|
16
|
-
* classified as numbers, use the `_.isFinite` method.
|
|
17
|
-
*
|
|
18
|
-
* @static
|
|
19
|
-
* @memberOf _
|
|
20
|
-
* @since 0.1.0
|
|
21
|
-
* @category Lang
|
|
22
|
-
* @param {*} value The value to check.
|
|
23
|
-
* @returns {boolean} Returns `true` if `value` is a number, else `false`.
|
|
24
|
-
* @example
|
|
25
|
-
*
|
|
26
|
-
* _.isNumber(3);
|
|
27
|
-
* // => true
|
|
28
|
-
*
|
|
29
|
-
* _.isNumber(Number.MIN_VALUE);
|
|
30
|
-
* // => true
|
|
31
|
-
*
|
|
32
|
-
* _.isNumber(Infinity);
|
|
33
|
-
* // => true
|
|
34
|
-
*
|
|
35
|
-
* _.isNumber('3');
|
|
36
|
-
* // => false
|
|
37
|
-
*/
|
|
38
|
-
function isNumber(value) {
|
|
39
|
-
return typeof value == 'number' ||
|
|
40
|
-
(isObjectLike(value) && baseGetTag(value) == numberTag);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
9
|
const _hoisted_1 = { key: 0 };
|
|
44
10
|
const _hoisted_2 = { key: 2 };
|
|
45
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -14,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
},
|
|
15
15
|
setup(__props) {
|
|
16
16
|
useCssVars((_ctx) => ({
|
|
17
|
-
"
|
|
17
|
+
"v4e1feee3": unref(myWidth)
|
|
18
18
|
}));
|
|
19
19
|
const props = __props;
|
|
20
20
|
const myOptions = computed(() => {
|
|
@@ -25,8 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
});
|
|
26
26
|
const $style = useCssModule();
|
|
27
27
|
const className = computed(() => ({
|
|
28
|
-
[$style["select-width"]]: !!props.width
|
|
29
|
-
[$style.select]: true
|
|
28
|
+
[$style["select-width"]]: !!props.width
|
|
30
29
|
}));
|
|
31
30
|
const myWidth = computed(() => props.width ? formatToPx(props.width) : "auto");
|
|
32
31
|
return (_ctx, _cache) => {
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import './index.css'
|
|
2
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, toDisplayString, unref } from 'vue';
|
|
3
|
+
import { i as isNumber } from '../../chunk/nq3VKXVp.mjs';
|
|
4
|
+
import { r as root } from '../../chunk/Fo0dZYnz.mjs';
|
|
5
|
+
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
6
|
+
|
|
7
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
8
|
+
var nativeIsFinite = root.isFinite;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Checks if `value` is a finite primitive number.
|
|
12
|
+
*
|
|
13
|
+
* **Note:** This method is based on
|
|
14
|
+
* [`Number.isFinite`](https://mdn.io/Number/isFinite).
|
|
15
|
+
*
|
|
16
|
+
* @static
|
|
17
|
+
* @memberOf _
|
|
18
|
+
* @since 0.1.0
|
|
19
|
+
* @category Lang
|
|
20
|
+
* @param {*} value The value to check.
|
|
21
|
+
* @returns {boolean} Returns `true` if `value` is a finite number, else `false`.
|
|
22
|
+
* @example
|
|
23
|
+
*
|
|
24
|
+
* _.isFinite(3);
|
|
25
|
+
* // => true
|
|
26
|
+
*
|
|
27
|
+
* _.isFinite(Number.MIN_VALUE);
|
|
28
|
+
* // => true
|
|
29
|
+
*
|
|
30
|
+
* _.isFinite(Infinity);
|
|
31
|
+
* // => false
|
|
32
|
+
*
|
|
33
|
+
* _.isFinite('3');
|
|
34
|
+
* // => false
|
|
35
|
+
*/
|
|
36
|
+
function isFinite(value) {
|
|
37
|
+
return typeof value == 'number' && nativeIsFinite(value);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Checks if `value` is `NaN`.
|
|
42
|
+
*
|
|
43
|
+
* **Note:** This method is based on
|
|
44
|
+
* [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as
|
|
45
|
+
* global [`isNaN`](https://mdn.io/isNaN) which returns `true` for
|
|
46
|
+
* `undefined` and other non-number values.
|
|
47
|
+
*
|
|
48
|
+
* @static
|
|
49
|
+
* @memberOf _
|
|
50
|
+
* @since 0.1.0
|
|
51
|
+
* @category Lang
|
|
52
|
+
* @param {*} value The value to check.
|
|
53
|
+
* @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
|
|
54
|
+
* @example
|
|
55
|
+
*
|
|
56
|
+
* _.isNaN(NaN);
|
|
57
|
+
* // => true
|
|
58
|
+
*
|
|
59
|
+
* _.isNaN(new Number(NaN));
|
|
60
|
+
* // => true
|
|
61
|
+
*
|
|
62
|
+
* isNaN(undefined);
|
|
63
|
+
* // => true
|
|
64
|
+
*
|
|
65
|
+
* _.isNaN(undefined);
|
|
66
|
+
* // => false
|
|
67
|
+
*/
|
|
68
|
+
function isNaN(value) {
|
|
69
|
+
// An `NaN` primitive is the only value that is not equal to itself.
|
|
70
|
+
// Perform the `toStringTag` check first to avoid errors with some
|
|
71
|
+
// ActiveX objects in IE.
|
|
72
|
+
return isNumber(value) && value != +value;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
76
|
+
__name: "thousand-separator",
|
|
77
|
+
props: {
|
|
78
|
+
value: { default: null },
|
|
79
|
+
separator: { default: "," },
|
|
80
|
+
decimalPlaces: { default: 0 },
|
|
81
|
+
placeholder: { default: "-" }
|
|
82
|
+
},
|
|
83
|
+
setup(__props) {
|
|
84
|
+
const props = __props;
|
|
85
|
+
function formatNumber(num) {
|
|
86
|
+
if (!isFinite(num))
|
|
87
|
+
return String(num);
|
|
88
|
+
const parts = num.toString().split(".");
|
|
89
|
+
let integerPart = parts[0];
|
|
90
|
+
const decimalPart = parts.length > 1 ? `.${parts[1]}` : "";
|
|
91
|
+
const isNegative = integerPart.startsWith("-");
|
|
92
|
+
if (isNegative) {
|
|
93
|
+
integerPart = integerPart.slice(1);
|
|
94
|
+
}
|
|
95
|
+
const formattedInteger = integerPart.replace(/\B(?=(\d{3})+(?!\d))/g, props.separator);
|
|
96
|
+
let finalDecimal = decimalPart;
|
|
97
|
+
if (props.decimalPlaces === 0) {
|
|
98
|
+
finalDecimal = "";
|
|
99
|
+
} else if (props.decimalPlaces > 0) {
|
|
100
|
+
finalDecimal = `.${num.toFixed(props.decimalPlaces).split(".")[1]}`;
|
|
101
|
+
}
|
|
102
|
+
return (isNegative ? "-" : "") + formattedInteger + finalDecimal;
|
|
103
|
+
}
|
|
104
|
+
const formattedValue = computed(() => {
|
|
105
|
+
if (props.value === null || props.value === void 0 || props.value === "") {
|
|
106
|
+
return props.placeholder;
|
|
107
|
+
}
|
|
108
|
+
let num;
|
|
109
|
+
if (typeof props.value === "string") {
|
|
110
|
+
const cleanStr = props.value.replace(new RegExp(`\\${props.separator}`, "g"), "");
|
|
111
|
+
num = Number.parseFloat(cleanStr);
|
|
112
|
+
} else {
|
|
113
|
+
num = props.value;
|
|
114
|
+
}
|
|
115
|
+
if (isNaN(num)) {
|
|
116
|
+
return String(props.value);
|
|
117
|
+
}
|
|
118
|
+
return formatNumber(num);
|
|
119
|
+
});
|
|
120
|
+
return (_ctx, _cache) => {
|
|
121
|
+
return openBlock(), createElementBlock("span", {
|
|
122
|
+
class: normalizeClass(_ctx.$style["thousand-separator"])
|
|
123
|
+
}, toDisplayString(unref(formattedValue)), 3);
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
/* unplugin-vue-components disabled */const style0 = {
|
|
129
|
+
"thousand-separator": "_thousand-separator_1s3bf_2"
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
const cssModules = {
|
|
133
|
+
"$style": style0
|
|
134
|
+
};
|
|
135
|
+
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
136
|
+
|
|
137
|
+
const __vite_glob_0_57 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
138
|
+
__proto__: null,
|
|
139
|
+
default: Component
|
|
140
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
141
|
+
|
|
142
|
+
export { Component as C, __vite_glob_0_57 as _ };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IThousandSeparatorProps } from './thousand-separator';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IThousandSeparatorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IThousandSeparatorProps> & Readonly<{}>, {
|
|
3
|
+
placeholder: string;
|
|
4
|
+
value: string | number | null;
|
|
5
|
+
separator: string;
|
|
6
|
+
decimalPlaces: number;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
8
|
+
export default _default;
|
|
@@ -200,9 +200,9 @@ const cssModules = {
|
|
|
200
200
|
};
|
|
201
201
|
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
202
202
|
|
|
203
|
-
const
|
|
203
|
+
const __vite_glob_0_58 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
204
204
|
__proto__: null,
|
|
205
205
|
default: Component
|
|
206
206
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
207
207
|
|
|
208
|
-
export { Component as C,
|
|
208
|
+
export { Component as C, __vite_glob_0_58 as _ };
|
|
@@ -110,9 +110,9 @@ const cssModules = {
|
|
|
110
110
|
};
|
|
111
111
|
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
112
112
|
|
|
113
|
-
const
|
|
113
|
+
const __vite_glob_0_60 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
114
114
|
__proto__: null,
|
|
115
115
|
default: Component
|
|
116
116
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
117
117
|
|
|
118
|
-
export { Component as C,
|
|
118
|
+
export { Component as C, __vite_glob_0_60 as _ };
|
|
@@ -285,9 +285,9 @@ const cssModules = {
|
|
|
285
285
|
};
|
|
286
286
|
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
287
287
|
|
|
288
|
-
const
|
|
288
|
+
const __vite_glob_0_59 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
289
289
|
__proto__: null,
|
|
290
290
|
default: Component
|
|
291
291
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
292
292
|
|
|
293
|
-
export { Component as C,
|
|
293
|
+
export { Component as C, __vite_glob_0_59 as _ };
|
|
@@ -176,9 +176,9 @@ const cssModules = {
|
|
|
176
176
|
};
|
|
177
177
|
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
178
178
|
|
|
179
|
-
const
|
|
179
|
+
const __vite_glob_0_61 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
180
180
|
__proto__: null,
|
|
181
181
|
default: Component
|
|
182
182
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
183
183
|
|
|
184
|
-
export { Component as C,
|
|
184
|
+
export { Component as C, __vite_glob_0_61 as _ };
|
|
@@ -214,9 +214,9 @@ const cssModules = {
|
|
|
214
214
|
};
|
|
215
215
|
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
216
216
|
|
|
217
|
-
const
|
|
217
|
+
const __vite_glob_0_62 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
218
218
|
__proto__: null,
|
|
219
219
|
default: Component
|
|
220
220
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
221
221
|
|
|
222
|
-
export { Component as C,
|
|
222
|
+
export { Component as C, __vite_glob_0_62 as _ };
|
|
@@ -195,9 +195,9 @@ const cssModules = {
|
|
|
195
195
|
};
|
|
196
196
|
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
197
197
|
|
|
198
|
-
const
|
|
198
|
+
const __vite_glob_0_63 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
199
199
|
__proto__: null,
|
|
200
200
|
default: Component
|
|
201
201
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
202
202
|
|
|
203
|
-
export { Component as C,
|
|
203
|
+
export { Component as C, __vite_glob_0_63 as _ };
|
package/dist/es/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export { default as VcSyncScrollContainer } from './components/sync-scroll-conta
|
|
|
55
55
|
export { default as VcTags } from './components/tags/tags.vue';
|
|
56
56
|
export { default as VcTextEllipsis } from './components/text-ellipsis/text-ellipsis.vue';
|
|
57
57
|
export { default as VcThousandInput } from './components/thousand-input/thousand-input.vue';
|
|
58
|
+
export { default as VcThousandSeparator } from './components/thousand-separator/thousand-separator.vue';
|
|
58
59
|
export { default as VcTinymce } from './components/tinymce/tinymce.vue';
|
|
59
60
|
export { default as VcTransferPanel } from './components/transfer-panel/transfer-panel.vue';
|
|
60
61
|
export { default as VcTransfer } from './components/transfer/transfer.vue';
|
package/dist/es/index.mjs
CHANGED
|
@@ -103,17 +103,19 @@ import { _ as __vite_glob_0_55 } from './components/text-ellipsis/text-ellipsis.
|
|
|
103
103
|
export { C as VcTextEllipsis } from './components/text-ellipsis/text-ellipsis.mjs';
|
|
104
104
|
import { _ as __vite_glob_0_56 } from './components/thousand-input/thousand-input.mjs';
|
|
105
105
|
export { C as VcThousandInput } from './components/thousand-input/thousand-input.mjs';
|
|
106
|
-
import { _ as __vite_glob_0_57 } from './components/
|
|
106
|
+
import { _ as __vite_glob_0_57 } from './components/thousand-separator/thousand-separator.mjs';
|
|
107
|
+
export { C as VcThousandSeparator } from './components/thousand-separator/thousand-separator.mjs';
|
|
108
|
+
import { _ as __vite_glob_0_58 } from './components/tinymce/tinymce.mjs';
|
|
107
109
|
export { C as VcTinymce } from './components/tinymce/tinymce.mjs';
|
|
108
|
-
import { _ as
|
|
110
|
+
import { _ as __vite_glob_0_59 } from './components/transfer-panel/transfer-panel.mjs';
|
|
109
111
|
export { C as VcTransferPanel } from './components/transfer-panel/transfer-panel.mjs';
|
|
110
|
-
import { _ as
|
|
112
|
+
import { _ as __vite_glob_0_60 } from './components/transfer/transfer.mjs';
|
|
111
113
|
export { C as VcTransfer } from './components/transfer/transfer.mjs';
|
|
112
|
-
import { _ as
|
|
114
|
+
import { _ as __vite_glob_0_61 } from './components/tree-picker/tree-picker.mjs';
|
|
113
115
|
export { C as VcTreePicker } from './components/tree-picker/tree-picker.mjs';
|
|
114
|
-
import { _ as
|
|
116
|
+
import { _ as __vite_glob_0_62 } from './components/tree-select/tree-select.mjs';
|
|
115
117
|
export { C as VcTreeSelect } from './components/tree-select/tree-select.mjs';
|
|
116
|
-
import { _ as
|
|
118
|
+
import { _ as __vite_glob_0_63 } from './components/upload-file/upload-file.mjs';
|
|
117
119
|
export { C as VcUploadFile } from './components/upload-file/upload-file.mjs';
|
|
118
120
|
export { c as VcVCleave } from './chunk/DRLHgORP.mjs';
|
|
119
121
|
export { v as VcVFocus } from './chunk/CL65DvCP.mjs';
|
|
@@ -164,9 +166,9 @@ const __vite_glob_0_50 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePr
|
|
|
164
166
|
default: _sfc_main$8
|
|
165
167
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
166
168
|
|
|
167
|
-
const version = "1.
|
|
169
|
+
const version = "1.14.0";
|
|
168
170
|
|
|
169
|
-
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/gen-input/gen-input.vue": __vite_glob_0_35,"./components/icon-picker/icon-picker.vue": __vite_glob_0_36,"./components/icon/icon.vue": __vite_glob_0_37,"./components/iconify-icon/iconify-icon.vue": __vite_glob_0_38,"./components/image/image.vue": __vite_glob_0_39,"./components/info-tooltip/info-tooltip.vue": __vite_glob_0_40,"./components/input-number/input-number.vue": __vite_glob_0_41,"./components/input/input.vue": __vite_glob_0_42,"./components/pca-picker/pca-picker.vue": __vite_glob_0_43,"./components/qr-code/qr-code.vue": __vite_glob_0_44,"./components/screenfull/screenfull.vue": __vite_glob_0_45,"./components/scrollbar/scrollbar.vue": __vite_glob_0_46,"./components/select/select.vue": __vite_glob_0_47,"./components/single-player/single-player.vue": __vite_glob_0_48,"./components/splitter-panel/splitter-panel.vue": __vite_glob_0_49,"./components/splitter/splitter.vue": __vite_glob_0_50,"./components/svg-icon/svg-icon.vue": __vite_glob_0_51,"./components/switch/switch.vue": __vite_glob_0_52,"./components/sync-scroll-container/sync-scroll-container.vue": __vite_glob_0_53,"./components/tags/tags.vue": __vite_glob_0_54,"./components/text-ellipsis/text-ellipsis.vue": __vite_glob_0_55,"./components/thousand-input/thousand-input.vue": __vite_glob_0_56,"./components/tinymce/tinymce.vue":
|
|
171
|
+
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/gen-input/gen-input.vue": __vite_glob_0_35,"./components/icon-picker/icon-picker.vue": __vite_glob_0_36,"./components/icon/icon.vue": __vite_glob_0_37,"./components/iconify-icon/iconify-icon.vue": __vite_glob_0_38,"./components/image/image.vue": __vite_glob_0_39,"./components/info-tooltip/info-tooltip.vue": __vite_glob_0_40,"./components/input-number/input-number.vue": __vite_glob_0_41,"./components/input/input.vue": __vite_glob_0_42,"./components/pca-picker/pca-picker.vue": __vite_glob_0_43,"./components/qr-code/qr-code.vue": __vite_glob_0_44,"./components/screenfull/screenfull.vue": __vite_glob_0_45,"./components/scrollbar/scrollbar.vue": __vite_glob_0_46,"./components/select/select.vue": __vite_glob_0_47,"./components/single-player/single-player.vue": __vite_glob_0_48,"./components/splitter-panel/splitter-panel.vue": __vite_glob_0_49,"./components/splitter/splitter.vue": __vite_glob_0_50,"./components/svg-icon/svg-icon.vue": __vite_glob_0_51,"./components/switch/switch.vue": __vite_glob_0_52,"./components/sync-scroll-container/sync-scroll-container.vue": __vite_glob_0_53,"./components/tags/tags.vue": __vite_glob_0_54,"./components/text-ellipsis/text-ellipsis.vue": __vite_glob_0_55,"./components/thousand-input/thousand-input.vue": __vite_glob_0_56,"./components/thousand-separator/thousand-separator.vue": __vite_glob_0_57,"./components/tinymce/tinymce.vue": __vite_glob_0_58,"./components/transfer-panel/transfer-panel.vue": __vite_glob_0_59,"./components/transfer/transfer.vue": __vite_glob_0_60,"./components/tree-picker/tree-picker.vue": __vite_glob_0_61,"./components/tree-select/tree-select.vue": __vite_glob_0_62,"./components/upload-file/upload-file.vue": __vite_glob_0_63});
|
|
170
172
|
const upper = (_, letter) => letter.toUpperCase();
|
|
171
173
|
function install(Vue) {
|
|
172
174
|
Object.keys(modules).forEach((key) => {
|
package/dist/global.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ declare module 'vue' {
|
|
|
58
58
|
VcTags: typeof import('@wfrog/vc-ui')['VcTags']
|
|
59
59
|
VcTextEllipsis: typeof import('@wfrog/vc-ui')['VcTextEllipsis']
|
|
60
60
|
VcThousandInput: typeof import('@wfrog/vc-ui')['VcThousandInput']
|
|
61
|
+
VcThousandSeparator: typeof import('@wfrog/vc-ui')['VcThousandSeparator']
|
|
61
62
|
VcTinymce: typeof import('@wfrog/vc-ui')['VcTinymce']
|
|
62
63
|
VcTransfer: typeof import('@wfrog/vc-ui')['VcTransfer']
|
|
63
64
|
VcTransferPanel: typeof import('@wfrog/vc-ui')['VcTransferPanel']
|
package/dist/index.css
CHANGED
|
@@ -1431,7 +1431,7 @@ div._input-width_wnpjs_1 {
|
|
|
1431
1431
|
background-color: var(--vc-highlight-bg-color, var(--el-fill-color-light));
|
|
1432
1432
|
}
|
|
1433
1433
|
div._select-width_jk1e7_5 {
|
|
1434
|
-
width: var(--
|
|
1434
|
+
width: var(--v4e1feee3);
|
|
1435
1435
|
}
|
|
1436
1436
|
/* source: src/components/single-player/single-player.vue */
|
|
1437
1437
|
._main_15lus_1 {
|
|
@@ -1626,6 +1626,12 @@ span._draggable_1tp7v_5 > * {
|
|
|
1626
1626
|
._main_m3b07_1 .el-input__wrapper input {
|
|
1627
1627
|
text-align: right;
|
|
1628
1628
|
}
|
|
1629
|
+
/* source: src/components/thousand-separator/thousand-separator.vue */
|
|
1630
|
+
@charset "UTF-8";
|
|
1631
|
+
._thousand-separator_1s3bf_2 {
|
|
1632
|
+
font-variant-numeric: tabular-nums;
|
|
1633
|
+
/* 可选:继承父元素样式,无需额外样式 */
|
|
1634
|
+
}
|
|
1629
1635
|
/* source: src/components/tinymce/tinymce.vue */
|
|
1630
1636
|
._tinymce_aa7a3_1 {
|
|
1631
1637
|
width: 100%;
|