@wfrog/vc-ui 1.9.19 → 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 (88) 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/index.mjs +1 -1
  25. package/dist/es/components/explorer-container/index.mjs +1 -1
  26. package/dist/es/components/explorer-filter/index.mjs +1 -1
  27. package/dist/es/components/explorer-footer/index.mjs +1 -1
  28. package/dist/es/components/explorer-form/index.mjs +1 -1
  29. package/dist/es/components/explorer-list/index.mjs +1 -1
  30. package/dist/es/components/explorer-modal-form/index.mjs +1 -1
  31. package/dist/es/components/explorer-panel/index.mjs +1 -1
  32. package/dist/es/components/explorer-query/index.mjs +1 -1
  33. package/dist/es/components/explorer-table/index.mjs +1 -1
  34. package/dist/es/components/explorer-tools/index.mjs +1 -1
  35. package/dist/es/components/explorer-tree/index.mjs +1 -1
  36. package/dist/es/components/flag/index.mjs +1 -1
  37. package/dist/es/components/icon/index.mjs +1 -1
  38. package/dist/es/components/icon-picker/index.mjs +1 -1
  39. package/dist/es/components/iconify-icon/index.mjs +1 -1
  40. package/dist/es/components/image/index.mjs +1 -1
  41. package/dist/es/components/input/index.css +2 -6
  42. package/dist/es/components/input/index.mjs +1 -1
  43. package/dist/es/components/input/input.d.ts +1 -2
  44. package/dist/es/components/input/input.mjs +6 -12
  45. package/dist/es/components/input/input.vue.d.ts +0 -1
  46. package/dist/es/components/input-number/index.css +11 -10
  47. package/dist/es/components/input-number/index.mjs +1 -1
  48. package/dist/es/components/input-number/input-number.d.ts +1 -1
  49. package/dist/es/components/input-number/input-number.mjs +10 -6
  50. package/dist/es/components/input-number/input-number.vue.d.ts +0 -1
  51. package/dist/es/components/pca-picker/index.css +14 -13
  52. package/dist/es/components/pca-picker/index.mjs +1 -1
  53. package/dist/es/components/pca-picker/pca-picker.d.ts +1 -0
  54. package/dist/es/components/pca-picker/pca-picker.mjs +22 -9
  55. package/dist/es/components/qr-code/index.mjs +1 -1
  56. package/dist/es/components/screenfull/index.mjs +1 -1
  57. package/dist/es/components/scrollbar/index.mjs +1 -1
  58. package/dist/es/components/select/index.css +2 -7
  59. package/dist/es/components/select/index.mjs +1 -1
  60. package/dist/es/components/select/select.d.ts +1 -2
  61. package/dist/es/components/select/select.mjs +6 -12
  62. package/dist/es/components/select/select.vue.d.ts +1 -2
  63. package/dist/es/components/single-player/index.mjs +1 -1
  64. package/dist/es/components/splitter/index.mjs +1 -1
  65. package/dist/es/components/splitter-panel/index.mjs +1 -1
  66. package/dist/es/components/svg-icon/index.mjs +1 -1
  67. package/dist/es/components/switch/index.mjs +1 -1
  68. package/dist/es/components/sync-scroll-container/index.mjs +1 -1
  69. package/dist/es/components/tags/index.mjs +1 -1
  70. package/dist/es/components/text-ellipsis/index.mjs +1 -1
  71. package/dist/es/components/thousand-input/index.mjs +1 -1
  72. package/dist/es/components/thousand-input/thousand-input.mjs +1 -0
  73. package/dist/es/components/thousand-input/thousand-input.vue.d.ts +4 -10
  74. package/dist/es/components/tinymce/index.mjs +1 -1
  75. package/dist/es/components/transfer/index.css +12 -18
  76. package/dist/es/components/transfer/index.mjs +1 -1
  77. package/dist/es/components/transfer/transfer.d.ts +1 -2
  78. package/dist/es/components/transfer/transfer.mjs +14 -17
  79. package/dist/es/components/transfer-panel/index.mjs +1 -1
  80. package/dist/es/components/tree-picker/index.css +15 -18
  81. package/dist/es/components/tree-picker/index.mjs +1 -1
  82. package/dist/es/components/tree-picker/tree-picker.d.ts +1 -2
  83. package/dist/es/components/tree-picker/tree-picker.mjs +14 -16
  84. package/dist/es/components/upload-file/index.mjs +1 -1
  85. package/dist/es/index.mjs +1 -1
  86. package/dist/es/utils/index.d.ts +1 -0
  87. package/dist/index.css +56 -72
  88. 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);
@@ -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);
@@ -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 = {
@@ -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>;