@wfrog/vc-ui 1.9.20 → 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/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/{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/explorer-column-table/explorer-column-table.mjs +2 -2
- 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/index.d.ts +2 -2
- package/dist/es/index.mjs +6 -6
- package/dist/global.d.ts +2 -2
- package/dist/index.css +4 -4
- package/package.json +1 -1
- package/dist/es/components/cdn-tag.vue.d.ts +0 -5
- 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
package/dist/es/components/{color-switcher/color-switcher.d.ts → color-switch/color-switch.d.ts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface IColorSwitchProps {
|
|
2
2
|
darkStorageKey?: string;
|
|
3
3
|
storageKey?: string;
|
|
4
4
|
size?: string | number;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface IColorSwitchEmits {
|
|
7
7
|
(e: 'change', value: string): void;
|
|
8
8
|
}
|
|
9
9
|
export declare const PRESET_COLORS: readonly ["#409EFF", "#8B5CF6", "#EC4899", "#EAB308", "#0EA5E9", "#22C55E", "#52525B", "#14B8A6", "#1D4ED8", "#F97316", "#E11D48", "#262626", "#475569", "#6B7280"];
|
package/dist/es/components/{color-switcher/color-switcher.mjs → color-switch/color-switch.mjs}
RENAMED
|
@@ -1145,7 +1145,7 @@ function useTheme(storageKey, darkStorageKey) {
|
|
|
1145
1145
|
}
|
|
1146
1146
|
|
|
1147
1147
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1148
|
-
__name: "color-
|
|
1148
|
+
__name: "color-switch",
|
|
1149
1149
|
props: {
|
|
1150
1150
|
darkStorageKey: { default: "vc-dark" },
|
|
1151
1151
|
storageKey: { default: "vc-primary-color" },
|
|
@@ -1173,7 +1173,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1173
1173
|
}, {
|
|
1174
1174
|
reference: withCtx(() => [
|
|
1175
1175
|
createElementVNode("i", {
|
|
1176
|
-
class: normalizeClass(_ctx.$style["color-
|
|
1176
|
+
class: normalizeClass(_ctx.$style["color-switch"])
|
|
1177
1177
|
}, [
|
|
1178
1178
|
createVNode(Component$1, {
|
|
1179
1179
|
name: "carbon:color-palette",
|
|
@@ -1199,7 +1199,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1199
1199
|
});
|
|
1200
1200
|
|
|
1201
1201
|
/* unplugin-vue-components disabled */const style0 = {
|
|
1202
|
-
"color-
|
|
1202
|
+
"color-switch": "_color-switch_1qps0_1"
|
|
1203
1203
|
};
|
|
1204
1204
|
|
|
1205
1205
|
const cssModules = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
import { IColorSwitchProps } from './color-switch';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IColorSwitchProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
3
|
change: (value: string) => any;
|
|
4
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<IColorSwitchProps> & Readonly<{
|
|
5
5
|
onChange?: ((value: string) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
7
|
size: string | number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* source: src/components/color-
|
|
2
|
-
.el-color-picker-panel{--el-colorpicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-colorpicker-bg-color);background:var(--el-colorpicker-bg-color);box-sizing:content-box;padding:12px;width:300px}.el-color-picker-panel.is-border{border:1px solid var(--el-border-color-lighter);border-radius:4px}.el-color-picker-panel__wrapper{margin-bottom:6px}.el-color-picker-panel__footer{display:flex;justify-content:space-between;margin-top:12px;text-align:right}.el-color-picker-panel__footer .el-input{color:#000000;font-size:12px;line-height:26px;width:160px}.el-color-picker-panel.is-disabled .el-color-hue-slider,.el-color-picker-panel.is-disabled .el-color-svpanel{cursor:not-allowed;opacity:.3}.el-color-picker-panel.is-disabled .el-color-hue-slider__thumb{cursor:not-allowed}.el-color-picker-panel.is-disabled .el-color-alpha-slider,.el-color-picker-panel.is-disabled .el-color-predefine .el-color-predefine__color-selector{cursor:not-allowed;opacity:.3}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap;gap:8px}.el-color-predefine__color-selector{border:none;border-radius:var(--el-border-radius-base);cursor:pointer;height:20px;outline:none;overflow:hidden;padding:0;width:20px}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-predefine__color-selector>div{display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:#f00;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:linear-gradient(90deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{background-image:linear-gradient(0deg,#000,rgba(0,0,0,0)),linear-gradient(90deg,#fff,rgba(255,255,255,0));height:180px;position:relative;width:280px}.el-color-svpanel__cursor{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);cursor:pointer;height:4px;position:absolute;transform:translate(-2px,-2px);width:4px}.el-color-svpanel__cursor:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-alpha-slider{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider.is-disabled .el-color-alpha-slider__thumb{cursor:not-allowed}.el-color-alpha-slider__bar{background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgb(255,255,255))}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-picker-panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker-panel{--el-color-picker-alpha-bg-a:#333333}._color-
|
|
1
|
+
/* source: src/components/color-switch/color-switch.vue */
|
|
2
|
+
.el-color-picker-panel{--el-colorpicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-colorpicker-bg-color);background:var(--el-colorpicker-bg-color);box-sizing:content-box;padding:12px;width:300px}.el-color-picker-panel.is-border{border:1px solid var(--el-border-color-lighter);border-radius:4px}.el-color-picker-panel__wrapper{margin-bottom:6px}.el-color-picker-panel__footer{display:flex;justify-content:space-between;margin-top:12px;text-align:right}.el-color-picker-panel__footer .el-input{color:#000000;font-size:12px;line-height:26px;width:160px}.el-color-picker-panel.is-disabled .el-color-hue-slider,.el-color-picker-panel.is-disabled .el-color-svpanel{cursor:not-allowed;opacity:.3}.el-color-picker-panel.is-disabled .el-color-hue-slider__thumb{cursor:not-allowed}.el-color-picker-panel.is-disabled .el-color-alpha-slider,.el-color-picker-panel.is-disabled .el-color-predefine .el-color-predefine__color-selector{cursor:not-allowed;opacity:.3}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap;gap:8px}.el-color-predefine__color-selector{border:none;border-radius:var(--el-border-radius-base);cursor:pointer;height:20px;outline:none;overflow:hidden;padding:0;width:20px}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-predefine__color-selector>div{display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:#f00;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:linear-gradient(90deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{background-image:linear-gradient(0deg,#000,rgba(0,0,0,0)),linear-gradient(90deg,#fff,rgba(255,255,255,0));height:180px;position:relative;width:280px}.el-color-svpanel__cursor{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);cursor:pointer;height:4px;position:absolute;transform:translate(-2px,-2px);width:4px}.el-color-svpanel__cursor:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-alpha-slider{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider.is-disabled .el-color-alpha-slider__thumb{cursor:not-allowed}.el-color-alpha-slider__bar{background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgb(255,255,255))}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-picker-panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker-panel{--el-color-picker-alpha-bg-a:#333333}._color-switch_1qps0_1 {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
}
|
package/dist/es/components/{dark-switcher/dark-switcher.d.ts → dark-switch/dark-switch.d.ts}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BasicColorSchema } from '@vueuse/core';
|
|
2
|
-
export interface
|
|
2
|
+
export interface IDarkSwitchProps {
|
|
3
3
|
initialValue?: globalThis.MaybeRefOrGetter<BasicColorSchema>;
|
|
4
4
|
size?: string | number;
|
|
5
5
|
storageKey?: string;
|
|
6
6
|
duration?: number;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface IDarkSwitchEmits {
|
|
9
9
|
(e: 'change', value: boolean): void;
|
|
10
10
|
}
|
|
@@ -5,7 +5,7 @@ import { C as Component$1 } from '../iconify-icon/iconify-icon.mjs';
|
|
|
5
5
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
6
6
|
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "dark-
|
|
8
|
+
__name: "dark-switch",
|
|
9
9
|
props: {
|
|
10
10
|
initialValue: { default: "auto" },
|
|
11
11
|
size: { default: 28 },
|
|
@@ -58,7 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
}
|
|
59
59
|
return (_ctx, _cache) => {
|
|
60
60
|
return openBlock(), createElementBlock("i", {
|
|
61
|
-
class: normalizeClass(_ctx.$style["dark-
|
|
61
|
+
class: normalizeClass(_ctx.$style["dark-switch"])
|
|
62
62
|
}, [
|
|
63
63
|
createVNode(Component$1, {
|
|
64
64
|
name: unref(iconName),
|
|
@@ -71,7 +71,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
71
71
|
});
|
|
72
72
|
|
|
73
73
|
/* unplugin-vue-components disabled */const style0 = {
|
|
74
|
-
"dark-
|
|
74
|
+
"dark-switch": "_dark-switch_jfj90_9"
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
const cssModules = {
|
package/dist/es/components/{dark-switcher/dark-switcher.vue.d.ts → dark-switch/dark-switch.vue.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
import { IDarkSwitchProps } from './dark-switch';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IDarkSwitchProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
3
|
change: (value: boolean) => any;
|
|
4
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<IDarkSwitchProps> & Readonly<{
|
|
5
5
|
onChange?: ((value: boolean) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
7
|
size: string | number;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* source: src/components/dark-
|
|
1
|
+
/* source: src/components/dark-switch/dark-switch.vue */
|
|
2
2
|
html.dark::view-transition-old(root) {
|
|
3
3
|
z-index: 10000;
|
|
4
4
|
}
|
|
5
5
|
::view-transition-new(root), ::view-transition-old(root) {
|
|
6
6
|
animation: none !important;
|
|
7
7
|
}
|
|
8
|
-
._dark-
|
|
8
|
+
._dark-switch_jfj90_9 {
|
|
9
9
|
display: inline-flex;
|
|
10
10
|
cursor: pointer;
|
|
11
11
|
}
|
|
@@ -258,7 +258,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
258
258
|
min: 0,
|
|
259
259
|
size: __props.size,
|
|
260
260
|
controls: false,
|
|
261
|
-
|
|
261
|
+
width: "80px",
|
|
262
262
|
disabled: row.disabled
|
|
263
263
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "size", "disabled"])) : (openBlock(), createBlock(Component$4, {
|
|
264
264
|
key: 1,
|
|
@@ -267,7 +267,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
267
267
|
min: 0,
|
|
268
268
|
size: __props.size,
|
|
269
269
|
controls: false,
|
|
270
|
-
|
|
270
|
+
width: "80px",
|
|
271
271
|
disabled: row.disabled
|
|
272
272
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "size", "disabled"]))
|
|
273
273
|
], 2)
|
|
@@ -66,8 +66,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
66
66
|
});
|
|
67
67
|
__expose({
|
|
68
68
|
getTreeRef: () => treeRef.value,
|
|
69
|
-
setActive: (value) => {
|
|
70
|
-
treeRef.value?.setCurrentKey(value);
|
|
69
|
+
setActive: (value, shouldAutoExpandParent = true) => {
|
|
70
|
+
treeRef.value?.setCurrentKey(value, shouldAutoExpandParent);
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
73
|
return (_ctx, _cache) => {
|
|
@@ -2032,7 +2032,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerTreeProps,
|
|
|
2032
2032
|
readonly showCheckbox: boolean;
|
|
2033
2033
|
readonly highlightCurrent: boolean;
|
|
2034
2034
|
}> | null;
|
|
2035
|
-
setActive: (value: string | number) => void;
|
|
2035
|
+
setActive: (value: string | number | null, shouldAutoExpandParent?: boolean) => void;
|
|
2036
2036
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
2037
2037
|
create: (value: string | number, node: Node) => any;
|
|
2038
2038
|
modify: (value: string | number, node: Node) => any;
|
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/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']
|
package/dist/index.css
CHANGED
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
._checkbox_8th42_1 .el-checkbox-button__inner {
|
|
59
59
|
border-left: 0;
|
|
60
60
|
}
|
|
61
|
-
/* source: src/components/color-
|
|
62
|
-
.el-color-picker-panel{--el-colorpicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-colorpicker-bg-color);background:var(--el-colorpicker-bg-color);box-sizing:content-box;padding:12px;width:300px}.el-color-picker-panel.is-border{border:1px solid var(--el-border-color-lighter);border-radius:4px}.el-color-picker-panel__wrapper{margin-bottom:6px}.el-color-picker-panel__footer{display:flex;justify-content:space-between;margin-top:12px;text-align:right}.el-color-picker-panel__footer .el-input{color:#000000;font-size:12px;line-height:26px;width:160px}.el-color-picker-panel.is-disabled .el-color-hue-slider,.el-color-picker-panel.is-disabled .el-color-svpanel{cursor:not-allowed;opacity:.3}.el-color-picker-panel.is-disabled .el-color-hue-slider__thumb{cursor:not-allowed}.el-color-picker-panel.is-disabled .el-color-alpha-slider,.el-color-picker-panel.is-disabled .el-color-predefine .el-color-predefine__color-selector{cursor:not-allowed;opacity:.3}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap;gap:8px}.el-color-predefine__color-selector{border:none;border-radius:var(--el-border-radius-base);cursor:pointer;height:20px;outline:none;overflow:hidden;padding:0;width:20px}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-predefine__color-selector>div{display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:#f00;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:linear-gradient(90deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{background-image:linear-gradient(0deg,#000,rgba(0,0,0,0)),linear-gradient(90deg,#fff,rgba(255,255,255,0));height:180px;position:relative;width:280px}.el-color-svpanel__cursor{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);cursor:pointer;height:4px;position:absolute;transform:translate(-2px,-2px);width:4px}.el-color-svpanel__cursor:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-alpha-slider{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider.is-disabled .el-color-alpha-slider__thumb{cursor:not-allowed}.el-color-alpha-slider__bar{background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgb(255,255,255))}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-picker-panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker-panel{--el-color-picker-alpha-bg-a:#333333}._color-
|
|
61
|
+
/* source: src/components/color-switch/color-switch.vue */
|
|
62
|
+
.el-color-picker-panel{--el-colorpicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-colorpicker-bg-color);background:var(--el-colorpicker-bg-color);box-sizing:content-box;padding:12px;width:300px}.el-color-picker-panel.is-border{border:1px solid var(--el-border-color-lighter);border-radius:4px}.el-color-picker-panel__wrapper{margin-bottom:6px}.el-color-picker-panel__footer{display:flex;justify-content:space-between;margin-top:12px;text-align:right}.el-color-picker-panel__footer .el-input{color:#000000;font-size:12px;line-height:26px;width:160px}.el-color-picker-panel.is-disabled .el-color-hue-slider,.el-color-picker-panel.is-disabled .el-color-svpanel{cursor:not-allowed;opacity:.3}.el-color-picker-panel.is-disabled .el-color-hue-slider__thumb{cursor:not-allowed}.el-color-picker-panel.is-disabled .el-color-alpha-slider,.el-color-picker-panel.is-disabled .el-color-predefine .el-color-predefine__color-selector{cursor:not-allowed;opacity:.3}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap;gap:8px}.el-color-predefine__color-selector{border:none;border-radius:var(--el-border-radius-base);cursor:pointer;height:20px;outline:none;overflow:hidden;padding:0;width:20px}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-predefine__color-selector>div{display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:#f00;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:linear-gradient(90deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{background-image:linear-gradient(0deg,#000,rgba(0,0,0,0)),linear-gradient(90deg,#fff,rgba(255,255,255,0));height:180px;position:relative;width:280px}.el-color-svpanel__cursor{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);cursor:pointer;height:4px;position:absolute;transform:translate(-2px,-2px);width:4px}.el-color-svpanel__cursor:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-alpha-slider{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider.is-disabled .el-color-alpha-slider__thumb{cursor:not-allowed}.el-color-alpha-slider__bar{background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgb(255,255,255))}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-picker-panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker-panel{--el-color-picker-alpha-bg-a:#333333}._color-switch_1qps0_1 {
|
|
63
63
|
display: inline-flex;
|
|
64
64
|
cursor: pointer;
|
|
65
65
|
}
|
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
._flag_vkceh_6 {
|
|
76
76
|
margin-right: 8px;
|
|
77
77
|
}
|
|
78
|
-
/* source: src/components/dark-
|
|
78
|
+
/* source: src/components/dark-switch/dark-switch.vue */
|
|
79
79
|
html.dark::view-transition-old(root) {
|
|
80
80
|
z-index: 10000;
|
|
81
81
|
}
|
|
82
82
|
::view-transition-new(root), ::view-transition-old(root) {
|
|
83
83
|
animation: none !important;
|
|
84
84
|
}
|
|
85
|
-
._dark-
|
|
85
|
+
._dark-switch_jfj90_9 {
|
|
86
86
|
display: inline-flex;
|
|
87
87
|
cursor: pointer;
|
|
88
88
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
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;
|