@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.
Files changed (106) hide show
  1. package/dist/es/chunk/{ClZGuAIb.mjs → DZ5W9TaA.mjs} +4 -1
  2. package/dist/es/components/awesome-icon/index.mjs +1 -1
  3. package/dist/es/components/backbottom/index.mjs +1 -1
  4. package/dist/es/components/button/index.mjs +1 -1
  5. package/dist/es/components/chat-container/index.mjs +1 -1
  6. package/dist/es/components/choice/index.mjs +1 -1
  7. package/dist/es/components/choice-boolean/index.mjs +1 -1
  8. package/dist/es/components/{color-switcher/color-switcher.d.ts → color-switch/color-switch.d.ts} +2 -2
  9. package/dist/es/components/{color-switcher/color-switcher.mjs → color-switch/color-switch.mjs} +3 -3
  10. package/dist/es/components/{color-switcher/color-switcher.vue.d.ts → color-switch/color-switch.vue.d.ts} +3 -3
  11. package/dist/es/components/{color-switcher → color-switch}/index.css +2 -2
  12. package/dist/es/components/color-switch/index.d.ts +4 -0
  13. package/dist/es/components/color-switch/index.mjs +6 -0
  14. package/dist/es/components/config-provider/index.mjs +1 -1
  15. package/dist/es/components/cropper/index.mjs +1 -1
  16. package/dist/es/components/currency/index.mjs +1 -1
  17. package/dist/es/components/{dark-switcher/dark-switcher.d.ts → dark-switch/dark-switch.d.ts} +2 -2
  18. package/dist/es/components/{dark-switcher/dark-switcher.mjs → dark-switch/dark-switch.mjs} +3 -3
  19. package/dist/es/components/{dark-switcher/dark-switcher.vue.d.ts → dark-switch/dark-switch.vue.d.ts} +3 -3
  20. package/dist/es/components/{dark-switcher → dark-switch}/index.css +2 -2
  21. package/dist/es/components/dark-switch/index.d.ts +4 -0
  22. package/dist/es/components/dark-switch/index.mjs +6 -0
  23. package/dist/es/components/daterange-picker/index.mjs +1 -1
  24. package/dist/es/components/dialog/index.mjs +1 -1
  25. package/dist/es/components/dialog-camera-upload/index.mjs +1 -1
  26. package/dist/es/components/dialog-map-point/index.mjs +1 -1
  27. package/dist/es/components/dialog-upload-images/index.mjs +1 -1
  28. package/dist/es/components/drag-verify/index.mjs +1 -1
  29. package/dist/es/components/drawer/index.mjs +1 -1
  30. package/dist/es/components/easy-pagination/index.mjs +1 -1
  31. package/dist/es/components/el-icon/index.mjs +1 -1
  32. package/dist/es/components/explorer/index.mjs +1 -1
  33. package/dist/es/components/explorer-column-table/explorer-column-table.mjs +2 -2
  34. package/dist/es/components/explorer-column-table/index.mjs +1 -1
  35. package/dist/es/components/explorer-container/index.mjs +1 -1
  36. package/dist/es/components/explorer-filter/index.mjs +1 -1
  37. package/dist/es/components/explorer-footer/index.mjs +1 -1
  38. package/dist/es/components/explorer-form/index.mjs +1 -1
  39. package/dist/es/components/explorer-list/index.mjs +1 -1
  40. package/dist/es/components/explorer-modal-form/index.mjs +1 -1
  41. package/dist/es/components/explorer-panel/index.mjs +1 -1
  42. package/dist/es/components/explorer-query/index.mjs +1 -1
  43. package/dist/es/components/explorer-table/index.mjs +1 -1
  44. package/dist/es/components/explorer-tools/index.mjs +1 -1
  45. package/dist/es/components/explorer-tree/explorer-tree.mjs +2 -2
  46. package/dist/es/components/explorer-tree/explorer-tree.vue.d.ts +1 -1
  47. package/dist/es/components/explorer-tree/index.mjs +1 -1
  48. package/dist/es/components/flag/index.mjs +1 -1
  49. package/dist/es/components/icon/index.mjs +1 -1
  50. package/dist/es/components/icon-picker/index.mjs +1 -1
  51. package/dist/es/components/iconify-icon/index.mjs +1 -1
  52. package/dist/es/components/image/index.mjs +1 -1
  53. package/dist/es/components/input/index.css +2 -6
  54. package/dist/es/components/input/index.mjs +1 -1
  55. package/dist/es/components/input/input.d.ts +1 -2
  56. package/dist/es/components/input/input.mjs +6 -12
  57. package/dist/es/components/input/input.vue.d.ts +0 -1
  58. package/dist/es/components/input-number/index.css +11 -10
  59. package/dist/es/components/input-number/index.mjs +1 -1
  60. package/dist/es/components/input-number/input-number.d.ts +1 -1
  61. package/dist/es/components/input-number/input-number.mjs +10 -6
  62. package/dist/es/components/input-number/input-number.vue.d.ts +0 -1
  63. package/dist/es/components/pca-picker/index.css +14 -13
  64. package/dist/es/components/pca-picker/index.mjs +1 -1
  65. package/dist/es/components/pca-picker/pca-picker.d.ts +1 -0
  66. package/dist/es/components/pca-picker/pca-picker.mjs +22 -9
  67. package/dist/es/components/qr-code/index.mjs +1 -1
  68. package/dist/es/components/screenfull/index.mjs +1 -1
  69. package/dist/es/components/scrollbar/index.mjs +1 -1
  70. package/dist/es/components/select/index.css +2 -7
  71. package/dist/es/components/select/index.mjs +1 -1
  72. package/dist/es/components/select/select.d.ts +1 -2
  73. package/dist/es/components/select/select.mjs +6 -12
  74. package/dist/es/components/select/select.vue.d.ts +1 -2
  75. package/dist/es/components/single-player/index.mjs +1 -1
  76. package/dist/es/components/splitter/index.mjs +1 -1
  77. package/dist/es/components/splitter-panel/index.mjs +1 -1
  78. package/dist/es/components/svg-icon/index.mjs +1 -1
  79. package/dist/es/components/switch/index.mjs +1 -1
  80. package/dist/es/components/sync-scroll-container/index.mjs +1 -1
  81. package/dist/es/components/tags/index.mjs +1 -1
  82. package/dist/es/components/text-ellipsis/index.mjs +1 -1
  83. package/dist/es/components/thousand-input/index.mjs +1 -1
  84. package/dist/es/components/thousand-input/thousand-input.mjs +1 -0
  85. package/dist/es/components/thousand-input/thousand-input.vue.d.ts +4 -10
  86. package/dist/es/components/tinymce/index.mjs +1 -1
  87. package/dist/es/components/transfer/index.css +12 -18
  88. package/dist/es/components/transfer/index.mjs +1 -1
  89. package/dist/es/components/transfer/transfer.d.ts +1 -2
  90. package/dist/es/components/transfer/transfer.mjs +14 -17
  91. package/dist/es/components/transfer-panel/index.mjs +1 -1
  92. package/dist/es/components/tree-picker/index.css +15 -18
  93. package/dist/es/components/tree-picker/index.mjs +1 -1
  94. package/dist/es/components/tree-picker/tree-picker.d.ts +1 -2
  95. package/dist/es/components/tree-picker/tree-picker.mjs +14 -16
  96. package/dist/es/components/upload-file/index.mjs +1 -1
  97. package/dist/es/index.d.ts +2 -2
  98. package/dist/es/index.mjs +6 -6
  99. package/dist/es/utils/index.d.ts +1 -0
  100. package/dist/global.d.ts +2 -2
  101. package/dist/index.css +60 -76
  102. package/package.json +1 -1
  103. package/dist/es/components/color-switcher/index.d.ts +0 -4
  104. package/dist/es/components/color-switcher/index.mjs +0 -6
  105. package/dist/es/components/dark-switcher/index.d.ts +0 -4
  106. package/dist/es/components/dark-switcher/index.mjs +0 -6
@@ -6,5 +6,8 @@ function withInstall(main, extra) {
6
6
  };
7
7
  return main;
8
8
  }
9
+ function formatToPx(value) {
10
+ return typeof value === "number" ? `${value}px` : value;
11
+ }
9
12
 
10
- export { withInstall as w };
13
+ export { formatToPx as f, withInstall as w };
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { _ as _sfc_main } from './awesome-icon.mjs';
3
3
 
4
4
  const VcAwesomeIcon = withInstall(_sfc_main);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { _ as _sfc_main } from './backbottom.mjs';
3
3
 
4
4
  const VcBackbottom = withInstall(_sfc_main);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './button.mjs';
3
3
 
4
4
  const VcButton = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './chat-container.mjs';
3
3
 
4
4
  const VcChatContainer = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './choice.mjs';
3
3
 
4
4
  const VcChoice = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { _ as _sfc_main } from './choice-boolean.mjs';
3
3
 
4
4
  const VcChoiceBoolean = withInstall(_sfc_main);
@@ -1,9 +1,9 @@
1
- export interface IColorSwitcherProps {
1
+ export interface IColorSwitchProps {
2
2
  darkStorageKey?: string;
3
3
  storageKey?: string;
4
4
  size?: string | number;
5
5
  }
6
- export interface IColorSwitcherEmits {
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"];
@@ -1145,7 +1145,7 @@ function useTheme(storageKey, darkStorageKey) {
1145
1145
  }
1146
1146
 
1147
1147
  const _sfc_main = /* @__PURE__ */ defineComponent({
1148
- __name: "color-switcher",
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-switcher"])
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-switcher": "_color-switcher_1n96n_1"
1202
+ "color-switch": "_color-switch_1qps0_1"
1203
1203
  };
1204
1204
 
1205
1205
  const cssModules = {
@@ -1,7 +1,7 @@
1
- import { IColorSwitcherProps } from './color-switcher';
2
- declare const _default: import('vue').DefineComponent<IColorSwitcherProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
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<IColorSwitcherProps> & 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-switcher/color-switcher.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-switcher_1n96n_1 {
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
  }
@@ -0,0 +1,4 @@
1
+ import { SFCWithInstall } from '../../utils/typescript';
2
+ import { default as Component } from './color-switch.vue';
3
+ export declare const VcColorSwitch: SFCWithInstall<typeof Component>;
4
+ export default VcColorSwitch;
@@ -0,0 +1,6 @@
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
+ import { C as Component } from './color-switch.mjs';
3
+
4
+ const VcColorSwitch = withInstall(Component);
5
+
6
+ export { VcColorSwitch, VcColorSwitch as default };
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { _ as _sfc_main } from './config-provider.mjs';
3
3
 
4
4
  const VcConfigProvider = withInstall(_sfc_main);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './cropper.mjs';
3
3
 
4
4
  const VcCropper = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './currency.mjs';
3
3
 
4
4
  const VcCurrency = withInstall(Component);
@@ -1,10 +1,10 @@
1
1
  import { BasicColorSchema } from '@vueuse/core';
2
- export interface IDarkSwitcherProps {
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 IDarkSwitcherEmits {
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-switcher",
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-switcher"])
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-switcher": "_dark-switcher_1siiv_9"
74
+ "dark-switch": "_dark-switch_jfj90_9"
75
75
  };
76
76
 
77
77
  const cssModules = {
@@ -1,7 +1,7 @@
1
- import { IDarkSwitcherProps } from './dark-switcher';
2
- declare const _default: import('vue').DefineComponent<IDarkSwitcherProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
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<IDarkSwitcherProps> & 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-switcher/dark-switcher.vue */
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-switcher_1siiv_9 {
8
+ ._dark-switch_jfj90_9 {
9
9
  display: inline-flex;
10
10
  cursor: pointer;
11
11
  }
@@ -0,0 +1,4 @@
1
+ import { SFCWithInstall } from '../../utils/typescript';
2
+ import { default as Component } from './dark-switch.vue';
3
+ export declare const VcDarkSwitch: SFCWithInstall<typeof Component>;
4
+ export default VcDarkSwitch;
@@ -0,0 +1,6 @@
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
+ import { C as Component } from './dark-switch.mjs';
3
+
4
+ const VcDarkSwitch = withInstall(Component);
5
+
6
+ export { VcDarkSwitch, VcDarkSwitch as default };
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { _ as _sfc_main } from './daterange-picker.mjs';
3
3
 
4
4
  const VcDaterangePicker = withInstall(_sfc_main);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './dialog.mjs';
3
3
 
4
4
  const VcDialog = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './dialog-camera-upload.mjs';
3
3
 
4
4
  const VcDialogCameraUpload = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './dialog-map-point.mjs';
3
3
 
4
4
  const VcDialogMapPoint = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './dialog-upload-images.mjs';
3
3
 
4
4
  const VcDialogUploadImages = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './drag-verify.mjs';
3
3
 
4
4
  const VcDragVerify = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './drawer.mjs';
3
3
 
4
4
  const VcDrawer = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './easy-pagination.mjs';
3
3
 
4
4
  const VcEasyPagination = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './el-icon.mjs';
3
3
 
4
4
  const VcElIcon = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer.mjs';
3
3
 
4
4
  const VcExplorer = withInstall(Component);
@@ -258,7 +258,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
258
258
  min: 0,
259
259
  size: __props.size,
260
260
  controls: false,
261
- "input-width": "50px",
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
- "input-width": "50px",
270
+ width: "80px",
271
271
  disabled: row.disabled
272
272
  }, null, 8, ["modelValue", "onUpdate:modelValue", "size", "disabled"]))
273
273
  ], 2)
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-column-table.mjs';
3
3
 
4
4
  const VcExplorerColumnTable = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-container.mjs';
3
3
 
4
4
  const VcExplorerContainer = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-filter.mjs';
3
3
 
4
4
  const VcExplorerFilter = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-footer.mjs';
3
3
 
4
4
  const VcExplorerFooter = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-form.mjs';
3
3
 
4
4
  const VcExplorerContainer = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-list.mjs';
3
3
 
4
4
  const VcExplorerList = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-modal-form.mjs';
3
3
 
4
4
  const VcExplorerDialogForm = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-panel.mjs';
3
3
 
4
4
  const VcExplorerPanel = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-query.mjs';
3
3
 
4
4
  const VcExplorerQuery = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-table.mjs';
3
3
 
4
4
  const VcExplorerTable = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-tools.mjs';
3
3
 
4
4
  const VcExplorerTools = withInstall(Component);
@@ -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;
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './explorer-tree.mjs';
3
3
 
4
4
  const VcExplorerTree = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { _ as _sfc_main } from './flag.mjs';
3
3
 
4
4
  const VcFlag = withInstall(_sfc_main);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { _ as _sfc_main } from './icon.mjs';
3
3
 
4
4
  const VcIcon = withInstall(_sfc_main);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './icon-picker.mjs';
3
3
 
4
4
  const VcIconPicker = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './iconify-icon.mjs';
3
3
 
4
4
  const VcIconifyIcon = withInstall(Component);
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './image.mjs';
3
3
 
4
4
  const VcImage = withInstall(Component);
@@ -1,8 +1,4 @@
1
1
  /* source: src/components/input/input.vue */
2
- div._input_1vcoq_1 {
3
- width: var(--v7a89bfe6);
4
- display: inline-flex;
5
- }
6
- div._input_1vcoq_1._block_1vcoq_5 {
7
- display: flex;
2
+ div._input-width_wnpjs_1 {
3
+ width: var(--v02e4134e);
8
4
  }
@@ -1,4 +1,4 @@
1
- import { w as withInstall } from '../../chunk/ClZGuAIb.mjs';
1
+ import { w as withInstall } from '../../chunk/DZ5W9TaA.mjs';
2
2
  import { C as Component } from './input.mjs';
3
3
 
4
4
  const VcInput = withInstall(Component);
@@ -1,6 +1,5 @@
1
1
  export interface IInputProps {
2
- block?: boolean;
3
- width?: string;
2
+ width?: string | number;
4
3
  disabled?: boolean;
5
4
  clearable?: boolean;
6
5
  }
@@ -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
- "v7a89bfe6": unref(myWidth)
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.input]: true,
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 input = "_input_1vcoq_1";
90
- const block = "_block_1vcoq_5";
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;