vft 0.0.499 → 0.0.501

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 (85) hide show
  1. package/dist/index.css +1 -1
  2. package/es/components/autocomplete/autocomplete.vue.d.ts +6 -6
  3. package/es/components/autocomplete/index.d.ts +18 -18
  4. package/es/components/button/index.d.ts +9 -9
  5. package/es/components/carousel/use-carousel.js +1 -1
  6. package/es/components/config-provider/hooks/use-global-config.js +3 -3
  7. package/es/components/image-viewer/image-viewer.vue.d.ts +2 -0
  8. package/es/components/image-viewer/image-viewer.vue2.js +89 -85
  9. package/es/components/image-viewer/index.d.ts +18 -0
  10. package/es/components/input/input.vue2.js +4 -4
  11. package/es/components/input-tag/composables/use-input-tag.js +1 -1
  12. package/es/components/popconfirm/index.d.ts +15 -15
  13. package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
  14. package/es/components/popper/index.d.ts +3 -3
  15. package/es/components/select/index.d.ts +15 -15
  16. package/es/components/select/select.vue.d.ts +15 -15
  17. package/es/components/select/useSelect.d.ts +12 -12
  18. package/es/components/super-form/style/css.d.ts +1 -0
  19. package/es/components/super-form/style/index.d.ts +1 -0
  20. package/es/components/super-form/super-form-item.vue2.js +360 -325
  21. package/es/components/super-form/types.d.ts +3 -1
  22. package/es/components/table/field.js +32 -33
  23. package/es/components/table/table.vue2.js +51 -49
  24. package/es/components/table/use/use-data-source.js +166 -143
  25. package/es/components/table/use/use-loading.js +11 -11
  26. package/es/components/table/use/use-table.js +7 -6
  27. package/es/components/tooltip/index.d.ts +3 -3
  28. package/es/components/tree/index.d.ts +5 -5
  29. package/es/components/tree/tree.vue.d.ts +2 -2
  30. package/es/components/tree-select/select.js +24 -24
  31. package/es/components/tree-select/tree-select-option.js +18 -7
  32. package/es/components/tree-select/tree-select.vue2.js +28 -26
  33. package/es/components/tree-select/tree.js +27 -26
  34. package/es/components/upload/index.d.ts +15 -15
  35. package/es/components/upload/upload-content.vue.d.ts +1 -1
  36. package/es/components/upload/upload.vue.d.ts +1 -1
  37. package/es/hooks/use-z-index/index.js +3 -3
  38. package/es/package.json.d.ts +1 -1
  39. package/es/package.json.js +1 -1
  40. package/es/utils/form-register.d.ts +1 -0
  41. package/es/utils/form-register.js +5 -4
  42. package/es/utils/vue/vnode.js +1 -1
  43. package/lib/components/autocomplete/autocomplete.vue.d.ts +6 -6
  44. package/lib/components/autocomplete/index.d.ts +18 -18
  45. package/lib/components/button/index.d.ts +9 -9
  46. package/lib/components/image-viewer/image-viewer.vue.d.ts +2 -0
  47. package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
  48. package/lib/components/image-viewer/index.d.ts +18 -0
  49. package/lib/components/input/input.vue2.cjs +1 -1
  50. package/lib/components/popconfirm/index.d.ts +15 -15
  51. package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
  52. package/lib/components/popper/index.d.ts +3 -3
  53. package/lib/components/select/index.d.ts +15 -15
  54. package/lib/components/select/select.vue.d.ts +15 -15
  55. package/lib/components/select/useSelect.d.ts +12 -12
  56. package/lib/components/super-form/style/css.d.ts +1 -0
  57. package/lib/components/super-form/style/index.d.ts +1 -0
  58. package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
  59. package/lib/components/super-form/types.d.ts +3 -1
  60. package/lib/components/table/field.cjs +1 -1
  61. package/lib/components/table/table.vue2.cjs +1 -1
  62. package/lib/components/table/use/use-data-source.cjs +1 -1
  63. package/lib/components/table/use/use-loading.cjs +1 -1
  64. package/lib/components/table/use/use-table.cjs +1 -1
  65. package/lib/components/tooltip/index.d.ts +3 -3
  66. package/lib/components/tree/index.d.ts +5 -5
  67. package/lib/components/tree/tree.vue.d.ts +2 -2
  68. package/lib/components/tree-select/select.cjs +1 -1
  69. package/lib/components/tree-select/tree-select-option.cjs +1 -1
  70. package/lib/components/tree-select/tree-select.vue2.cjs +1 -1
  71. package/lib/components/tree-select/tree.cjs +1 -1
  72. package/lib/components/upload/index.d.ts +15 -15
  73. package/lib/components/upload/upload-content.vue.d.ts +1 -1
  74. package/lib/components/upload/upload.vue.d.ts +1 -1
  75. package/lib/package.json.cjs +1 -1
  76. package/lib/package.json.d.ts +1 -1
  77. package/lib/utils/form-register.cjs +1 -1
  78. package/lib/utils/form-register.d.ts +1 -0
  79. package/package.json +5 -5
  80. package/theme-style/index.css +1 -1
  81. package/theme-style/src/icon-text.scss +1 -1
  82. package/theme-style/src/tree-select.scss +8 -0
  83. package/theme-style/vft-icon-text.css +1 -1
  84. package/theme-style/vft-tree-select.css +1 -1
  85. package/web-types.json +1 -1
@@ -15,7 +15,7 @@ $name: icon-text;
15
15
  width: fit-content;
16
16
  color: getCompCssVar('color');
17
17
  font-size: getCompCssVar('font-size');
18
- line-height: 1;
18
+ line-height: normal;
19
19
  cursor: getCompCssVar('cursor');
20
20
 
21
21
  @include when(col) {
@@ -46,5 +46,13 @@
46
46
  .#{$namespace}-select-dropdown {
47
47
  overflow-x: hidden;
48
48
  }
49
+
50
+ // Add selected state styling for tree-select-option
51
+ .vft-tree-select-option {
52
+ &.is-selected {
53
+ color: getCssVar('primary-color');
54
+ font-weight: bold;
55
+ }
56
+ }
49
57
  }
50
58
  }
@@ -1 +1 @@
1
- :root{--vft-icon-text-color:inherit;--vft-icon-text-font-size:var(--vft-font-size-extra-small);--vft-icon-text-cursor:initial}.vft-icon-text{display:flex;align-items:center;width:-moz-fit-content;width:fit-content;color:var(--vft-icon-text-color);font-size:var(--vft-icon-text-font-size);line-height:1;cursor:var(--vft-icon-text-cursor)}.vft-icon-text.is-col{flex-direction:column;height:-moz-fit-content;height:fit-content}.vft-icon-text:hover{color:var(--vft-icon-text-hover-color,var(--vft-icon-text-color))}.vft-icon-text:not(.disable-icon-hover):hover i{color:var(--vft-icon-hover-color,var(--vft-icon-text-color))}.vft-icon-text i{flex:none}.vft-icon-text .text-clamp{overflow:visible!important}
1
+ :root{--vft-icon-text-color:inherit;--vft-icon-text-font-size:var(--vft-font-size-extra-small);--vft-icon-text-cursor:initial}.vft-icon-text{display:flex;align-items:center;width:-moz-fit-content;width:fit-content;color:var(--vft-icon-text-color);font-size:var(--vft-icon-text-font-size);line-height:normal;cursor:var(--vft-icon-text-cursor)}.vft-icon-text.is-col{flex-direction:column;height:-moz-fit-content;height:fit-content}.vft-icon-text:hover{color:var(--vft-icon-text-hover-color,var(--vft-icon-text-color))}.vft-icon-text:not(.disable-icon-hover):hover i{color:var(--vft-icon-hover-color,var(--vft-icon-text-color))}.vft-icon-text i{flex:none}.vft-icon-text .text-clamp{overflow:visible!important}
@@ -1 +1 @@
1
- .vft-tree-select{--vft-tree-node-hover-bg-color:var(--vft-fill-color-light);--vft-tree-text-color:var(--vft-text-regular-color);--vft-tree-expand-icon-color:var(--vft-text-placeholder-color)}.vft-tree-select__popper{border-radius:10px}.vft-tree-select__popper .vft-tree-node__expand-icon{margin-left:8px}.vft-tree-select__popper .vft-tree-node.is-checked>.vft-tree-node__content .vft-select-dropdown__item.selected::after{content:none}.vft-tree-select__popper .vft-select-dropdown__list>.vft-select-dropdown__item{padding-left:32px}.vft-tree-select__popper .vft-select-dropdown__item{flex:1;height:20px;padding-left:0;background:0 0!important;line-height:20px}.vft-tree-select__popper .vft-select-dropdown__footer{border-top:none}.vft-tree-select__popper .vft-select-dropdown{overflow-x:hidden}
1
+ .vft-tree-select{--vft-tree-node-hover-bg-color:var(--vft-fill-color-light);--vft-tree-text-color:var(--vft-text-regular-color);--vft-tree-expand-icon-color:var(--vft-text-placeholder-color)}.vft-tree-select__popper{border-radius:10px}.vft-tree-select__popper .vft-tree-node__expand-icon{margin-left:8px}.vft-tree-select__popper .vft-tree-node.is-checked>.vft-tree-node__content .vft-select-dropdown__item.selected::after{content:none}.vft-tree-select__popper .vft-select-dropdown__list>.vft-select-dropdown__item{padding-left:32px}.vft-tree-select__popper .vft-select-dropdown__item{flex:1;height:20px;padding-left:0;background:0 0!important;line-height:20px}.vft-tree-select__popper .vft-select-dropdown__footer{border-top:none}.vft-tree-select__popper .vft-select-dropdown{overflow-x:hidden}.vft-tree-select__popper .vft-tree-select-option.is-selected{color:var(--vft-primary-color);font-weight:700}