@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
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;
|
|
@@ -3,12 +3,12 @@ import '../../chunk/Gk1J52Yw.mjs';
|
|
|
3
3
|
import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
|
|
4
4
|
import { defineComponent, useCssVars, unref, computed, useCssModule, useTemplateRef, createBlock, openBlock, normalizeClass, createSlots, withCtx, renderSlot } from 'vue';
|
|
5
5
|
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
6
|
+
import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
|
|
6
7
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
7
8
|
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
10
|
__name: "input",
|
|
10
11
|
props: {
|
|
11
|
-
block: { type: Boolean, default: false },
|
|
12
12
|
width: {},
|
|
13
13
|
disabled: { type: Boolean, default: void 0 },
|
|
14
14
|
clearable: { type: Boolean, default: true }
|
|
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
emits: ["blur", "change"],
|
|
17
17
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
18
18
|
useCssVars((_ctx) => ({
|
|
19
|
-
"
|
|
19
|
+
"v02e4134e": unref(myWidth)
|
|
20
20
|
}));
|
|
21
21
|
const props = __props;
|
|
22
22
|
const emits = __emit;
|
|
@@ -25,12 +25,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
const formDisabled = useFormDisabled();
|
|
26
26
|
const { formItem } = useFormItem();
|
|
27
27
|
const className = computed(() => ({
|
|
28
|
-
[$style
|
|
29
|
-
[$style.block]: props.block
|
|
28
|
+
[$style["input-width"]]: !!props.width
|
|
30
29
|
}));
|
|
31
|
-
const myWidth = computed(() =>
|
|
32
|
-
return props.width || (props.block ? "100%" : "240px");
|
|
33
|
-
});
|
|
30
|
+
const myWidth = computed(() => props.width ? formatToPx(props.width) : "auto");
|
|
34
31
|
function handleBlur(evt) {
|
|
35
32
|
formItem?.validate?.("blur").catch(() => {
|
|
36
33
|
});
|
|
@@ -86,11 +83,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
83
|
}
|
|
87
84
|
});
|
|
88
85
|
|
|
89
|
-
/* unplugin-vue-components disabled */const
|
|
90
|
-
|
|
91
|
-
const style0 = {
|
|
92
|
-
input: input,
|
|
93
|
-
block: block
|
|
86
|
+
/* unplugin-vue-components disabled */const style0 = {
|
|
87
|
+
"input-width": "_input-width_wnpjs_1"
|
|
94
88
|
};
|
|
95
89
|
|
|
96
90
|
const cssModules = {
|
|
@@ -832,7 +832,6 @@ declare const __VLS_component: import('vue').DefineComponent<IInputProps, {
|
|
|
832
832
|
}>, {
|
|
833
833
|
disabled: boolean;
|
|
834
834
|
clearable: boolean;
|
|
835
|
-
block: boolean;
|
|
836
835
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
837
836
|
inputRef: ({
|
|
838
837
|
$: import('vue').ComponentInternalInstance;
|