@wfrog/vc-ui 1.9.18 → 1.9.20

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 (93) 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/cdn-tag.vue.d.ts +5 -0
  6. package/dist/es/components/chat-container/index.mjs +1 -1
  7. package/dist/es/components/choice/index.mjs +1 -1
  8. package/dist/es/components/choice-boolean/index.mjs +1 -1
  9. package/dist/es/components/color-switcher/index.mjs +1 -1
  10. package/dist/es/components/config-provider/index.mjs +1 -1
  11. package/dist/es/components/cropper/index.mjs +1 -1
  12. package/dist/es/components/currency/index.mjs +1 -1
  13. package/dist/es/components/dark-switcher/index.mjs +1 -1
  14. package/dist/es/components/daterange-picker/index.mjs +1 -1
  15. package/dist/es/components/dialog/index.mjs +1 -1
  16. package/dist/es/components/dialog-camera-upload/index.mjs +1 -1
  17. package/dist/es/components/dialog-map-point/index.mjs +1 -1
  18. package/dist/es/components/dialog-upload-images/index.mjs +1 -1
  19. package/dist/es/components/drag-verify/index.mjs +1 -1
  20. package/dist/es/components/drawer/index.mjs +1 -1
  21. package/dist/es/components/easy-pagination/index.mjs +1 -1
  22. package/dist/es/components/el-icon/index.mjs +1 -1
  23. package/dist/es/components/explorer/index.mjs +1 -1
  24. package/dist/es/components/explorer-column-table/explorer-column-table.mjs +3 -0
  25. package/dist/es/components/explorer-column-table/explorer-column-table.vue.d.ts +6 -0
  26. package/dist/es/components/explorer-column-table/index.mjs +1 -1
  27. package/dist/es/components/explorer-container/index.mjs +1 -1
  28. package/dist/es/components/explorer-filter/index.mjs +1 -1
  29. package/dist/es/components/explorer-footer/index.mjs +1 -1
  30. package/dist/es/components/explorer-form/explorer-form.mjs +1 -1
  31. package/dist/es/components/explorer-form/index.mjs +1 -1
  32. package/dist/es/components/explorer-list/index.mjs +1 -1
  33. package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +2 -2
  34. package/dist/es/components/explorer-modal-form/index.mjs +1 -1
  35. package/dist/es/components/explorer-panel/index.mjs +1 -1
  36. package/dist/es/components/explorer-query/index.mjs +1 -1
  37. package/dist/es/components/explorer-table/index.mjs +1 -1
  38. package/dist/es/components/explorer-tools/components/column-setter.vue.d.ts +26 -2
  39. package/dist/es/components/explorer-tools/index.mjs +1 -1
  40. package/dist/es/components/explorer-tree/index.mjs +1 -1
  41. package/dist/es/components/flag/index.mjs +1 -1
  42. package/dist/es/components/icon/index.mjs +1 -1
  43. package/dist/es/components/icon-picker/index.mjs +1 -1
  44. package/dist/es/components/iconify-icon/index.mjs +1 -1
  45. package/dist/es/components/image/index.mjs +1 -1
  46. package/dist/es/components/input/index.css +2 -6
  47. package/dist/es/components/input/index.mjs +1 -1
  48. package/dist/es/components/input/input.d.ts +1 -2
  49. package/dist/es/components/input/input.mjs +6 -12
  50. package/dist/es/components/input/input.vue.d.ts +0 -1
  51. package/dist/es/components/input-number/index.css +11 -10
  52. package/dist/es/components/input-number/index.mjs +1 -1
  53. package/dist/es/components/input-number/input-number.d.ts +1 -1
  54. package/dist/es/components/input-number/input-number.mjs +10 -6
  55. package/dist/es/components/input-number/input-number.vue.d.ts +0 -1
  56. package/dist/es/components/pca-picker/index.css +14 -13
  57. package/dist/es/components/pca-picker/index.mjs +1 -1
  58. package/dist/es/components/pca-picker/pca-picker.d.ts +1 -0
  59. package/dist/es/components/pca-picker/pca-picker.mjs +22 -9
  60. package/dist/es/components/qr-code/index.mjs +1 -1
  61. package/dist/es/components/screenfull/index.mjs +1 -1
  62. package/dist/es/components/scrollbar/index.mjs +1 -1
  63. package/dist/es/components/select/index.css +2 -7
  64. package/dist/es/components/select/index.mjs +1 -1
  65. package/dist/es/components/select/select.d.ts +1 -2
  66. package/dist/es/components/select/select.mjs +6 -12
  67. package/dist/es/components/select/select.vue.d.ts +1 -2
  68. package/dist/es/components/single-player/index.mjs +1 -1
  69. package/dist/es/components/splitter/index.mjs +1 -1
  70. package/dist/es/components/splitter-panel/index.mjs +1 -1
  71. package/dist/es/components/svg-icon/index.mjs +1 -1
  72. package/dist/es/components/switch/index.mjs +1 -1
  73. package/dist/es/components/sync-scroll-container/index.mjs +1 -1
  74. package/dist/es/components/tags/index.mjs +1 -1
  75. package/dist/es/components/text-ellipsis/index.mjs +1 -1
  76. package/dist/es/components/thousand-input/index.mjs +1 -1
  77. package/dist/es/components/thousand-input/thousand-input.mjs +1 -0
  78. package/dist/es/components/thousand-input/thousand-input.vue.d.ts +4 -10
  79. package/dist/es/components/tinymce/index.mjs +1 -1
  80. package/dist/es/components/transfer/index.css +12 -18
  81. package/dist/es/components/transfer/index.mjs +1 -1
  82. package/dist/es/components/transfer/transfer.d.ts +1 -2
  83. package/dist/es/components/transfer/transfer.mjs +14 -17
  84. package/dist/es/components/transfer-panel/index.mjs +1 -1
  85. package/dist/es/components/tree-picker/index.css +15 -18
  86. package/dist/es/components/tree-picker/index.mjs +1 -1
  87. package/dist/es/components/tree-picker/tree-picker.d.ts +1 -2
  88. package/dist/es/components/tree-picker/tree-picker.mjs +14 -16
  89. package/dist/es/components/upload-file/index.mjs +1 -1
  90. package/dist/es/index.mjs +1 -1
  91. package/dist/es/utils/index.d.ts +1 -0
  92. package/dist/index.css +56 -72
  93. package/package.json +1 -1
@@ -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);
@@ -0,0 +1,5 @@
1
+ interface IPropType {
2
+ name: string;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<IPropType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IPropType> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ export default _default;
@@ -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,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 './color-switcher.mjs';
3
3
 
4
4
  const VcColorSwitcher = 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 './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,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 './dark-switcher.mjs';
3
3
 
4
4
  const VcDarkSwitcher = 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 './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);
@@ -136,6 +136,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
136
136
  rerender,
137
137
  setWidthConfig: (params) => {
138
138
  widthConfig.value = params;
139
+ },
140
+ getWidthConfig: () => {
141
+ return widthConfig.value;
139
142
  }
140
143
  });
141
144
  onBeforeUnmount(() => widthConfigWatch.stop());
@@ -2972,6 +2972,12 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerColumnTabl
2972
2972
  }> | null>>;
2973
2973
  rerender: typeof rerender;
2974
2974
  setWidthConfig: (params: typeof widthConfig.value) => void;
2975
+ getWidthConfig: () => {
2976
+ width: number;
2977
+ data: number;
2978
+ fixed: number;
2979
+ truncate: number;
2980
+ };
2975
2981
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
2976
2982
  "update:data": (data: IColumnConfig[]) => any;
2977
2983
  }, string, import('vue').PublicProps, Readonly<IExplorerColumnTableProps> & Readonly<{
@@ -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);
@@ -32,8 +32,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
32
  isEditing.value = true;
33
33
  }
34
34
  async function handleCancel() {
35
- formRef.value.resetFields();
36
35
  emits("cancel");
36
+ formRef.value.resetFields();
37
37
  isEditing.value = false;
38
38
  }
39
39
  async function handleSave() {
@@ -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);
@@ -36,8 +36,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  const component = computed(() => props.type === "dialog" ? Component$1 : Component$2);
37
37
  const modalTitle = computed(() => props.title || (props.form.fields.id ? "编辑" : "新增"));
38
38
  function handleCancel() {
39
- modalVisible.value = false;
40
39
  emits("cancel");
40
+ modalVisible.value = false;
41
41
  }
42
42
  async function handleSave() {
43
43
  try {
@@ -52,8 +52,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
52
52
  }
53
53
  }
54
54
  function handleEdit() {
55
- isEditing.value = true;
56
55
  emits("edit");
56
+ isEditing.value = true;
57
57
  }
58
58
  const visibleWatch = watch(modalVisible, (val) => {
59
59
  if (!val) {
@@ -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);
@@ -2984,6 +2984,12 @@ declare function __VLS_template(): {
2984
2984
  fixed: number;
2985
2985
  truncate: number;
2986
2986
  }) => void;
2987
+ getWidthConfig: () => {
2988
+ width: number;
2989
+ data: number;
2990
+ fixed: number;
2991
+ truncate: number;
2992
+ };
2987
2993
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
2988
2994
  "update:data": (data: import('../../explorer-column-table/explorer-column-table').IColumnConfig[]) => any;
2989
2995
  }, string, {
@@ -3022,7 +3028,7 @@ declare function __VLS_template(): {
3022
3028
  emptyColumn: boolean;
3023
3029
  }> & Omit<Readonly<import('../../explorer-column-table/explorer-column-table').IExplorerColumnTableProps> & Readonly<{
3024
3030
  "onUpdate:data"?: ((data: import('../../explorer-column-table/explorer-column-table').IColumnConfig[]) => any) | undefined;
3025
- }>, "init" | ("mode" | "size" | "height" | "editable" | "highlightCurrent" | "emptyColumn") | "tableRef" | "rerender" | "setWidthConfig"> & import('vue').ShallowUnwrapRef<{
3031
+ }>, "init" | ("mode" | "size" | "height" | "editable" | "highlightCurrent" | "emptyColumn") | "tableRef" | "rerender" | "setWidthConfig" | "getWidthConfig"> & import('vue').ShallowUnwrapRef<{
3026
3032
  init: () => void;
3027
3033
  tableRef: Readonly<globalThis.ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
3028
3034
  data: {
@@ -4501,6 +4507,12 @@ declare function __VLS_template(): {
4501
4507
  fixed: number;
4502
4508
  truncate: number;
4503
4509
  }) => void;
4510
+ getWidthConfig: () => {
4511
+ width: number;
4512
+ data: number;
4513
+ fixed: number;
4514
+ truncate: number;
4515
+ };
4504
4516
  }> & {} & import('vue').ComponentCustomProperties & {} & {
4505
4517
  $slots: {
4506
4518
  default?(_: {}): any;
@@ -7501,6 +7513,12 @@ declare const __VLS_component: import('vue').DefineComponent<IColumnSetterProps,
7501
7513
  fixed: number;
7502
7514
  truncate: number;
7503
7515
  }) => void;
7516
+ getWidthConfig: () => {
7517
+ width: number;
7518
+ data: number;
7519
+ fixed: number;
7520
+ truncate: number;
7521
+ };
7504
7522
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7505
7523
  "update:data": (data: import('../../explorer-column-table/explorer-column-table').IColumnConfig[]) => any;
7506
7524
  }, string, {
@@ -7539,7 +7557,7 @@ declare const __VLS_component: import('vue').DefineComponent<IColumnSetterProps,
7539
7557
  emptyColumn: boolean;
7540
7558
  }> & Omit<Readonly<import('../../explorer-column-table/explorer-column-table').IExplorerColumnTableProps> & Readonly<{
7541
7559
  "onUpdate:data"?: ((data: import('../../explorer-column-table/explorer-column-table').IColumnConfig[]) => any) | undefined;
7542
- }>, "init" | ("mode" | "size" | "height" | "editable" | "highlightCurrent" | "emptyColumn") | "tableRef" | "rerender" | "setWidthConfig"> & import('vue').ShallowUnwrapRef<{
7560
+ }>, "init" | ("mode" | "size" | "height" | "editable" | "highlightCurrent" | "emptyColumn") | "tableRef" | "rerender" | "setWidthConfig" | "getWidthConfig"> & import('vue').ShallowUnwrapRef<{
7543
7561
  init: () => void;
7544
7562
  tableRef: Readonly<globalThis.ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
7545
7563
  data: {
@@ -9018,6 +9036,12 @@ declare const __VLS_component: import('vue').DefineComponent<IColumnSetterProps,
9018
9036
  fixed: number;
9019
9037
  truncate: number;
9020
9038
  }) => void;
9039
+ getWidthConfig: () => {
9040
+ width: number;
9041
+ data: number;
9042
+ fixed: number;
9043
+ truncate: number;
9044
+ };
9021
9045
  }> & {} & import('vue').ComponentCustomProperties & {} & {
9022
9046
  $slots: {
9023
9047
  default?(_: {}): 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-tools.mjs';
3
3
 
4
4
  const VcExplorerTools = 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-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;
@@ -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 = {