@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
@@ -1,24 +1,25 @@
1
1
  /* source: src/components/input-number/input-number.vue */
2
- div._input-number_1piks_1 {
3
- display: inline-flex;
2
+ div._input-number_1e1b7_1 {
3
+ display: flex;
4
4
  width: auto;
5
5
  padding: 0;
6
6
  }
7
- div._input-number_1piks_1.el-input-group--prepend :not(.el-select) .el-input__wrapper {
7
+ div._input-number_1e1b7_1.el-input-group--prepend :not(.el-select) .el-input__wrapper {
8
8
  border-top-left-radius: 0;
9
9
  border-bottom-left-radius: 0;
10
10
  }
11
- div._input-number_1piks_1.el-input-group--prepend div.el-select .el-input__wrapper {
11
+ div._input-number_1e1b7_1.el-input-group--prepend div.el-select .el-input__wrapper {
12
12
  border-radius: var(--el-input-border-radius, var(--el-border-radius-base)) 0 0 var(--el-input-border-radius, var(--el-border-radius-base));
13
13
  box-shadow: 0 0 0 0;
14
14
  }
15
- div._input-number_1piks_1.input-with-select .el-input-group__prepend {
15
+ div._input-number_1e1b7_1.input-with-select .el-input-group__prepend {
16
16
  background-color: var(--el-fill-color-blank);
17
17
  }
18
- div._el-input-number_1piks_18 {
19
- width: auto;
20
- line-height: 10px;
18
+ div._input-number-width_1e1b7_18 {
19
+ width: var(--v2d4d2c22);
21
20
  }
22
- div._el-input-number_1piks_18 .el-input__inner {
23
- width: var(--e4533d92);
21
+ div._el-input-number_1e1b7_22 {
22
+ display: flex;
23
+ width: 100%;
24
+ line-height: 10px;
24
25
  }
@@ -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-number.mjs';
3
3
 
4
4
  const VcInputNumber = withInstall(Component);
@@ -4,6 +4,6 @@ export interface IInputNumberProps {
4
4
  controlsPosition?: 'right' | '';
5
5
  size?: 'large' | 'default' | 'small';
6
6
  inputNumberClass?: string;
7
- inputWidth?: string;
8
7
  disabled?: boolean;
8
+ width?: string | number;
9
9
  }
@@ -2,8 +2,9 @@ import './index.css'
2
2
  import '../../chunk/Gk1J52Yw.mjs';
3
3
  import '../../chunk/DFOYvCRL.mjs';
4
4
  import { E as ElInputNumber } from '../../chunk/C-7W07Z_.mjs';
5
- import { defineComponent, useCssVars, useSlots, useCssModule, ref, useTemplateRef, computed, watch, onUnmounted, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createBlock, renderSlot, mergeProps, isRef, createSlots, withCtx, nextTick } from 'vue';
5
+ import { defineComponent, useCssVars, unref, computed, useSlots, useCssModule, ref, useTemplateRef, watch, onUnmounted, createElementBlock, openBlock, normalizeClass, createCommentVNode, createBlock, renderSlot, mergeProps, isRef, createSlots, withCtx, nextTick } from 'vue';
6
6
  import { useFormDisabled, useFormItem } from 'element-plus';
7
+ import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
7
8
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
8
9
 
9
10
  const _hoisted_1 = {
@@ -18,13 +19,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
18
19
  controlsPosition: {},
19
20
  size: {},
20
21
  inputNumberClass: {},
21
- inputWidth: { default: "80px" },
22
- disabled: { type: Boolean, default: void 0 }
22
+ disabled: { type: Boolean, default: void 0 },
23
+ width: {}
23
24
  },
24
25
  emits: ["update:modelValue", "change", "blur"],
25
26
  setup(__props, { emit: __emit }) {
26
27
  useCssVars((_ctx) => ({
27
- "e4533d92": _ctx.inputWidth
28
+ "v2d4d2c22": unref(myWidth)
28
29
  }));
29
30
  const props = __props;
30
31
  const emits = __emit;
@@ -37,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
38
  const mainClass = computed(() => {
38
39
  const className = {
39
40
  [$style["input-number"]]: true,
41
+ [$style["input-number-width"]]: !!props.width,
40
42
  "el-input": true,
41
43
  "el-input-group--prepend": $slots.prepend,
42
44
  "input-with-select": inputNumberRef.value?.querySelector(".el-input-group__prepend>.el-select")
@@ -46,6 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
46
48
  }
47
49
  return className;
48
50
  });
51
+ const myWidth = computed(() => props.width ? formatToPx(props.width) : "auto");
49
52
  const myControlsPosition = computed(() => $slots.prepend && props.controlsPosition === void 0 ? "right" : props.controlsPosition);
50
53
  const myValue = computed({
51
54
  get: () => props.modelValue,
@@ -129,8 +132,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
129
132
  });
130
133
 
131
134
  /* unplugin-vue-components disabled */const style0 = {
132
- "input-number": "_input-number_1piks_1",
133
- "el-input-number": "_el-input-number_1piks_18"
135
+ "input-number": "_input-number_1e1b7_1",
136
+ "input-number-width": "_input-number-width_1e1b7_18",
137
+ "el-input-number": "_el-input-number_1e1b7_22"
134
138
  };
135
139
 
136
140
  const cssModules = {
@@ -23,7 +23,6 @@ declare const __VLS_component: import('vue').DefineComponent<IInputNumberProps,
23
23
  }>, {
24
24
  disabled: boolean;
25
25
  precision: number;
26
- inputWidth: string;
27
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
28
27
  inputNumberRef: HTMLDivElement;
29
28
  }, HTMLDivElement>;
@@ -72,36 +72,37 @@
72
72
  color: var(--el-color-primary);
73
73
  background-color: var(--el-color-primary-light-9);
74
74
  border-color: var(--el-color-primary-light-7);
75
- }._popover_gvtb9_1 {
75
+ }._popover_qj0am_1 {
76
76
  width: auto !important;
77
77
  min-width: 80px !important;
78
78
  }
79
- ._container_gvtb9_6 {
79
+ ._container_qj0am_6 {
80
80
  display: flex;
81
81
  }
82
- ._container_gvtb9_6 .el-cascader-menu {
82
+ ._container_qj0am_6 .el-cascader-menu {
83
83
  min-width: 80px;
84
84
  }
85
- ._wrapper_gvtb9_13 {
86
- display: inline-block;
87
- width: unset;
88
- min-width: 300px;
85
+ ._wrapper_qj0am_13 {
86
+ display: block;
89
87
  }
90
- ._wrapper_gvtb9_13 .el-tag .el-icon {
88
+ ._wrapper_qj0am_13 .el-tag .el-icon {
91
89
  display: none;
92
90
  }
93
- ._cascader_gvtb9_22 {
91
+ ._wrapper-width_qj0am_20 {
92
+ width: var(--v51828de6);
93
+ }
94
+ ._cascader_qj0am_24 {
94
95
  width: 100%;
95
96
  }
96
- ._cascader_gvtb9_22 .el-input__wrapper.is-focus {
97
+ ._cascader_qj0am_24 .el-input__wrapper.is-focus {
97
98
  box-shadow: 0 0 0 1px var(--el-input-focus-border-color, var(--el-color-primary)) inset !important;
98
99
  }
99
- ._is-active_gvtb9_29 .el-input__inner {
100
+ ._is-active_qj0am_31 .el-input__inner {
100
101
  border-color: var(--color-primary);
101
102
  }
102
- ._is-active_gvtb9_29 .el-icon {
103
+ ._is-active_qj0am_31 .el-icon {
103
104
  transform: rotateZ(-180deg) !important;
104
105
  }
105
- ._popover-select_gvtb9_36 {
106
+ ._popover-select_qj0am_38 {
106
107
  display: none;
107
108
  }
@@ -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 './pca-picker.mjs';
3
3
 
4
4
  const VcPCAPicker = withInstall(Component);
@@ -21,6 +21,7 @@ export interface IPCAPickerProps {
21
21
  syncActive?: boolean;
22
22
  limit?: number;
23
23
  props?: CascaderProps;
24
+ width?: string | number;
24
25
  }
25
26
  export interface ICommmonStateType {
26
27
  props: Required<IPCAPickerProps>;
@@ -8,9 +8,10 @@ import '../../chunk/DFOYvCRL.mjs';
8
8
  import '../../chunk/DBf73TLo.mjs';
9
9
  import '../../chunk/Do7HIVy5.mjs';
10
10
  import '../../chunk/CqhShW5K.mjs';
11
- import { defineComponent, inject, computed, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, normalizeClass, withCtx, renderSlot, provide, useSlots, ref, watch, onMounted, createElementBlock, createCommentVNode, createElementVNode, unref, nextTick, onBeforeUnmount, createTextVNode, toDisplayString, shallowRef, toRefs, Fragment, createVNode, renderList, useTemplateRef, mergeProps, isRef, useCssModule } from 'vue';
11
+ import { defineComponent, inject, computed, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, normalizeClass, withCtx, renderSlot, provide, useSlots, ref, watch, onMounted, createElementBlock, createCommentVNode, createElementVNode, unref, nextTick, onBeforeUnmount, createTextVNode, toDisplayString, shallowRef, toRefs, Fragment, createVNode, renderList, useTemplateRef, mergeProps, isRef, useCssVars, useCssModule } from 'vue';
12
12
  import { useFormDisabled, useFormItem } from 'element-plus';
13
13
  import { useInject, useProvide } from '../../use/useStore/index.mjs';
14
+ import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
14
15
  import { i as injectConfig } from '../config-provider/config-provider2.mjs';
15
16
  import { isClient, useEventListener, useStorage, useVModel, useToggle, onClickOutside, useThrottleFn } from '@vueuse/core';
16
17
  import { i as index } from '../../chunk/D9iEroQw.mjs';
@@ -1270,10 +1271,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1270
1271
  activeMark: { type: Boolean, default: true },
1271
1272
  syncActive: { type: Boolean, default: false },
1272
1273
  limit: {},
1273
- props: {}
1274
+ props: {},
1275
+ width: {}
1274
1276
  },
1275
1277
  emits: ["update:modelValue", "change", "blur", "limit"],
1276
1278
  setup(__props, { expose: __expose, emit: __emit }) {
1279
+ useCssVars((_ctx) => ({
1280
+ "v51828de6": unref(myWidth)
1281
+ }));
1277
1282
  const props = __props;
1278
1283
  const emits = __emit;
1279
1284
  const myValue = useVModel(props, "modelValue", emits);
@@ -1321,6 +1326,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1321
1326
  }
1322
1327
  });
1323
1328
  const selectClassName = computed(() => ({ [$style["is-active"]]: popoverVisible.value }));
1329
+ const wrapperClassName = computed(() => {
1330
+ return {
1331
+ [$style.wrapper]: true,
1332
+ [$style["wrapper-width"]]: !!props.width
1333
+ };
1334
+ });
1335
+ const myWidth = computed(() => props.width ? formatToPx(props.width) : "auto");
1324
1336
  const handleSelectClick = useThrottleFn(() => !loading.value && !formDisabled.value && togglePopoverVisible(), 300);
1325
1337
  function handleKeyup(event) {
1326
1338
  keyword.value = event.target.value;
@@ -1414,7 +1426,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1414
1426
  }, {
1415
1427
  reference: withCtx(() => [
1416
1428
  createElementVNode("div", {
1417
- class: normalizeClass(unref($style).wrapper),
1429
+ class: normalizeClass(unref(wrapperClassName)),
1418
1430
  onClickCapture: _cache[2] || (_cache[2] = //@ts-ignore
1419
1431
  (...args) => unref(handleSelectClick) && unref(handleSelectClick)(...args)),
1420
1432
  onKeyup: handleKeyup
@@ -1461,17 +1473,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1461
1473
  }
1462
1474
  });
1463
1475
 
1464
- /* unplugin-vue-components disabled */const popover = "_popover_gvtb9_1";
1465
- const container = "_container_gvtb9_6";
1466
- const wrapper = "_wrapper_gvtb9_13";
1467
- const cascader = "_cascader_gvtb9_22";
1476
+ /* unplugin-vue-components disabled */const popover = "_popover_qj0am_1";
1477
+ const container = "_container_qj0am_6";
1478
+ const wrapper = "_wrapper_qj0am_13";
1479
+ const cascader = "_cascader_qj0am_24";
1468
1480
  const style0 = {
1469
1481
  popover: popover,
1470
1482
  container: container,
1471
1483
  wrapper: wrapper,
1484
+ "wrapper-width": "_wrapper-width_qj0am_20",
1472
1485
  cascader: cascader,
1473
- "is-active": "_is-active_gvtb9_29",
1474
- "popover-select": "_popover-select_gvtb9_36"
1486
+ "is-active": "_is-active_qj0am_31",
1487
+ "popover-select": "_popover-select_qj0am_38"
1475
1488
  };
1476
1489
 
1477
1490
  const cssModules = {
@@ -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 './qr-code.mjs';
3
3
 
4
4
  const VcQRCode = 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 './screenfull.mjs';
3
3
 
4
4
  const VcScreenfull = 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 './scrollbar.mjs';
3
3
 
4
4
  const VcScrollbar = withInstall(Component);
@@ -1,9 +1,4 @@
1
1
  /* source: src/components/select/select.vue */
2
- div._select_1fcv5_1 {
3
- width: unset;
4
- min-width: var(--v393aeef3);
5
- }
6
- div._select_1fcv5_1._block_1fcv5_5 {
7
- display: block;
8
- width: var(--v393aeef3);
2
+ div._select-width_140qa_1 {
3
+ width: var(--v38ec4d79);
9
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 './select.mjs';
3
3
 
4
4
  const VcSelect = withInstall(Component);
@@ -1,7 +1,6 @@
1
1
  import { SelectProps } from 'element-plus/es/components/select';
2
2
  export interface ISelectProps {
3
- block?: boolean;
4
- width?: string;
3
+ width?: string | number;
5
4
  options: SelectProps['options'] | string[];
6
5
  disabled?: boolean;
7
6
  }
@@ -6,12 +6,12 @@ import '../../chunk/CqhShW5K.mjs';
6
6
  import '../../chunk/BH1e_-Fa.mjs';
7
7
  import { defineComponent, useCssVars, unref, computed, useCssModule, createBlock, openBlock, mergeProps } from 'vue';
8
8
  import { useFormDisabled, useFormItem } from 'element-plus';
9
+ import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
9
10
  import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
10
11
 
11
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
12
13
  __name: "select",
13
14
  props: {
14
- block: { type: Boolean, default: false },
15
15
  width: { default: "" },
16
16
  options: {},
17
17
  disabled: { type: Boolean, default: void 0 }
@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
19
  emits: ["change", "blur"],
20
20
  setup(__props, { emit: __emit }) {
21
21
  useCssVars((_ctx) => ({
22
- "v393aeef3": unref(myWidth)
22
+ "v38ec4d79": unref(myWidth)
23
23
  }));
24
24
  const props = __props;
25
25
  const emits = __emit;
@@ -43,12 +43,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
43
  });
44
44
  const $style = useCssModule();
45
45
  const className = computed(() => ({
46
- [$style.select]: true,
47
- [$style.block]: props.block
46
+ [$style["select-width"]]: !!props.width
48
47
  }));
49
- const myWidth = computed(() => {
50
- return props.width || (props.block ? "100%" : "240px");
51
- });
48
+ const myWidth = computed(() => props.width ? formatToPx(props.width) : "auto");
52
49
  return (_ctx, _cache) => {
53
50
  const _component_ElSelect = ElSelect;
54
51
  return openBlock(), createBlock(_component_ElSelect, mergeProps({ "collapse-tags": "" }, _ctx.$attrs, {
@@ -62,11 +59,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
62
59
  }
63
60
  });
64
61
 
65
- /* unplugin-vue-components disabled */const select = "_select_1fcv5_1";
66
- const block = "_block_1fcv5_5";
67
- const style0 = {
68
- select: select,
69
- block: block
62
+ /* unplugin-vue-components disabled */const style0 = {
63
+ "select-width": "_select-width_140qa_1"
70
64
  };
71
65
 
72
66
  const cssModules = {
@@ -7,7 +7,6 @@ declare const _default: import('vue').DefineComponent<ISelectProps, {}, {}, {},
7
7
  onChange?: ((value: any) => any) | undefined;
8
8
  }>, {
9
9
  disabled: boolean;
10
- width: string;
11
- block: boolean;
10
+ width: string | number;
12
11
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
12
  export default _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 { C as Component } from './single-player.mjs';
3
3
 
4
4
  const VcSinglePlayer = 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 './splitter.mjs';
3
3
 
4
4
  const VcSplitter = 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 './splitter-panel.mjs';
3
3
 
4
4
  const VcSplitterPanel = 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 './svg-icon.mjs';
3
3
 
4
4
  const VcSVGIcon = 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 './switch.mjs';
3
3
 
4
4
  const VcSwitch = 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 './sync-scroll-container.mjs';
3
3
 
4
4
  const VcSyncScrollContainer = 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 './tags.mjs';
3
3
 
4
4
  const VcTags = 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 './text-ellipsis.mjs';
3
3
 
4
4
  const VcTextEllipsis = 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 './thousand-input.mjs';
3
3
 
4
4
  const VcThousandInput = withInstall(Component);
@@ -87,6 +87,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
87
87
  modelValue: unref(myValue),
88
88
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(myValue) ? myValue.value = $event : null)
89
89
  }, _ctx.$attrs, {
90
+ clearable: false,
90
91
  class: _ctx.$style.main,
91
92
  onChange: handleChange
92
93
  }), createSlots({ _: 2 }, [
@@ -10,8 +10,7 @@ declare function __VLS_template(): {
10
10
  $: import('vue').ComponentInternalInstance;
11
11
  $data: {};
12
12
  $props: {
13
- readonly block?: boolean | undefined;
14
- readonly width?: string | undefined;
13
+ readonly width?: string | number | undefined;
15
14
  readonly disabled?: boolean | undefined;
16
15
  readonly clearable?: boolean | undefined;
17
16
  readonly onBlur?: ((evnet: FocusEvent) => any) | undefined;
@@ -852,7 +851,6 @@ declare function __VLS_template(): {
852
851
  }, string, {
853
852
  disabled: boolean;
854
853
  clearable: boolean;
855
- block: boolean;
856
854
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
857
855
  beforeCreate?: (() => void) | (() => void)[];
858
856
  created?: (() => void) | (() => void)[];
@@ -876,11 +874,10 @@ declare function __VLS_template(): {
876
874
  } & Readonly<{
877
875
  disabled: boolean;
878
876
  clearable: boolean;
879
- block: boolean;
880
877
  }> & Omit<Readonly<import('../input/input').IInputProps> & Readonly<{
881
878
  onBlur?: ((evnet: FocusEvent) => any) | undefined;
882
879
  onChange?: ((value: string, evnet?: Event | undefined) => any) | undefined;
883
- }>, "inputRef" | ("disabled" | "clearable" | "block")> & import('vue').ShallowUnwrapRef<{
880
+ }>, "inputRef" | ("disabled" | "clearable")> & import('vue').ShallowUnwrapRef<{
884
881
  inputRef: Readonly<globalThis.ShallowRef<({
885
882
  $: import('vue').ComponentInternalInstance;
886
883
  $data: {};
@@ -1316,8 +1313,7 @@ declare const __VLS_component: import('vue').DefineComponent<IThousandInputProps
1316
1313
  $: import('vue').ComponentInternalInstance;
1317
1314
  $data: {};
1318
1315
  $props: {
1319
- readonly block?: boolean | undefined;
1320
- readonly width?: string | undefined;
1316
+ readonly width?: string | number | undefined;
1321
1317
  readonly disabled?: boolean | undefined;
1322
1318
  readonly clearable?: boolean | undefined;
1323
1319
  readonly onBlur?: ((evnet: FocusEvent) => any) | undefined;
@@ -2158,7 +2154,6 @@ declare const __VLS_component: import('vue').DefineComponent<IThousandInputProps
2158
2154
  }, string, {
2159
2155
  disabled: boolean;
2160
2156
  clearable: boolean;
2161
- block: boolean;
2162
2157
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
2163
2158
  beforeCreate?: (() => void) | (() => void)[];
2164
2159
  created?: (() => void) | (() => void)[];
@@ -2182,11 +2177,10 @@ declare const __VLS_component: import('vue').DefineComponent<IThousandInputProps
2182
2177
  } & Readonly<{
2183
2178
  disabled: boolean;
2184
2179
  clearable: boolean;
2185
- block: boolean;
2186
2180
  }> & Omit<Readonly<import('../input/input').IInputProps> & Readonly<{
2187
2181
  onBlur?: ((evnet: FocusEvent) => any) | undefined;
2188
2182
  onChange?: ((value: string, evnet?: Event | undefined) => any) | undefined;
2189
- }>, "inputRef" | ("disabled" | "clearable" | "block")> & import('vue').ShallowUnwrapRef<{
2183
+ }>, "inputRef" | ("disabled" | "clearable")> & import('vue').ShallowUnwrapRef<{
2190
2184
  inputRef: Readonly<globalThis.ShallowRef<({
2191
2185
  $: import('vue').ComponentInternalInstance;
2192
2186
  $data: {};
@@ -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 './tinymce.mjs';
3
3
 
4
4
  const VcTinymce = withInstall(Component);
@@ -1,38 +1,32 @@
1
1
  /* source: src/components/transfer/transfer.vue */
2
- ._popover_1kcfx_1 {
2
+ ._popover_6byv7_1 {
3
3
  width: auto !important;
4
4
  min-width: 80px !important;
5
5
  }
6
- ._container_1kcfx_6 {
6
+ ._container_6byv7_6 {
7
7
  display: flex;
8
8
  }
9
- ._container_1kcfx_6 .el-cascader-menu {
9
+ ._container_6byv7_6 .el-cascader-menu {
10
10
  min-width: 80px;
11
11
  }
12
- ._wrapper_1kcfx_13 {
13
- display: inline-block;
14
- width: unset;
15
- min-width: var(--v4c7f4a02);
16
- }
17
- ._wrapper_1kcfx_13._block_1kcfx_18 {
18
- display: block;
19
- width: var(--v4c7f4a02);
20
- }
21
- ._wrapper_1kcfx_13 .el-tag .el-icon {
12
+ ._wrapper_6byv7_13 .el-tag .el-icon {
22
13
  display: none;
23
14
  }
24
- ._select_1kcfx_26 {
15
+ ._wrapper-width_6byv7_17 {
16
+ width: var(--d1a9b78e);
17
+ }
18
+ ._select_6byv7_21 {
25
19
  width: 100%;
26
20
  }
27
- ._select_1kcfx_26 .el-input__wrapper.is-focus {
21
+ ._select_6byv7_21 .el-input__wrapper.is-focus {
28
22
  box-shadow: 0 0 0 1px var(--el-input-focus-border-color, var(--el-color-primary)) inset !important;
29
23
  }
30
- ._is-active_1kcfx_33 .el-input__inner {
24
+ ._is-active_6byv7_28 .el-input__inner {
31
25
  border-color: var(--color-primary);
32
26
  }
33
- ._is-active_1kcfx_33 .el-icon {
27
+ ._is-active_6byv7_28 .el-icon {
34
28
  transform: rotateZ(-180deg) !important;
35
29
  }
36
- ._popper_1kcfx_40 {
30
+ ._popper_6byv7_35 {
37
31
  display: none !important;
38
32
  }
@@ -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 './transfer.mjs';
3
3
 
4
4
  const VcTransfer = withInstall(Component);
@@ -3,8 +3,7 @@ export interface ITransferProps {
3
3
  modelValue?: string[] | number[];
4
4
  data?: ITransferChildItem[];
5
5
  placeholder?: string;
6
- width?: string;
7
- block?: boolean;
6
+ width?: string | number;
8
7
  disabled?: boolean;
9
8
  }
10
9
  export interface ITransferEmits {