@sdata/web-vue 3.3.1 → 3.5.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 (99) hide show
  1. package/dist/sd.css +14 -5
  2. package/dist/sd.min.css +1 -1
  3. package/es/_components/select-view/select-view.d.ts +1 -1
  4. package/es/_components/select-view/style/index.css +1 -1
  5. package/es/_components/virtual-list/interface.d.ts +13 -6
  6. package/es/_components/virtual-list/style/index.scss +3 -1
  7. package/es/_components/virtual-list/virtual-list.vue.d.ts +31 -77
  8. package/es/_components/virtual-list/virtual-list.vue_vue_type_script_setup_true_lang.js +180 -503
  9. package/es/auto-complete/auto-complete.d.ts +1 -1
  10. package/es/auto-complete/auto-complete.js +3 -1
  11. package/es/auto-complete/index.d.ts +3 -3
  12. package/es/card/card.d.ts +3 -3
  13. package/es/card/index.d.ts +6 -6
  14. package/es/cascader/base-cascader-panel.d.ts +1 -1
  15. package/es/cascader/cascader-option.d.ts +1 -1
  16. package/es/cascader/cascader-option.js +8 -3
  17. package/es/cascader/cascader-panel.vue.d.ts +1 -1
  18. package/es/cascader/cascader-search-panel.d.ts +1 -1
  19. package/es/cascader/cascader.vue.d.ts +2 -2
  20. package/es/cascader/style/index.css +4 -1
  21. package/es/cascader/style/index.d.ts +1 -0
  22. package/es/cascader/style/index.scss +4 -1
  23. package/es/config-provider/config-provider.vue.d.ts +1 -1
  24. package/es/config-provider/index.d.ts +3 -3
  25. package/es/descriptions/descriptions.d.ts +2 -2
  26. package/es/descriptions/index.d.ts +6 -6
  27. package/es/drawer/drawer.vue.d.ts +2 -2
  28. package/es/drawer/index.d.ts +5 -5
  29. package/es/dropdown/dropdown-panel.vue.d.ts +1 -1
  30. package/es/ellipsis/ellipsis.vue.d.ts +1 -1
  31. package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +1 -1
  32. package/es/ellipsis/index.d.ts +6 -6
  33. package/es/ellipsis/performant-ellipsis.vue.d.ts +1 -1
  34. package/es/image/preview-group.vue.d.ts +1 -1
  35. package/es/index.css +14 -5
  36. package/es/input-tag/style/index.css +1 -1
  37. package/es/link/index.d.ts +6 -6
  38. package/es/link/link.vue.d.ts +2 -2
  39. package/es/list/list-item-meta.vue.d.ts +2 -2
  40. package/es/list/list-item-meta.vue_vue_type_script_setup_true_lang.js +10 -3
  41. package/es/list/style/index.css +5 -0
  42. package/es/list/style/index.d.ts +1 -0
  43. package/es/list/style/index.scss +6 -0
  44. package/es/menu/item.d.ts +1 -1
  45. package/es/modal/index.d.ts +5 -5
  46. package/es/modal/modal.vue.d.ts +2 -2
  47. package/es/progress/line.vue.d.ts +1 -1
  48. package/es/qr-code/index.d.ts +12 -12
  49. package/es/qr-code/qr-code.vue.d.ts +4 -4
  50. package/es/select/index.d.ts +5 -5
  51. package/es/select/select-dropdown.vue.d.ts +1 -1
  52. package/es/select/select.d.ts +2 -2
  53. package/es/select/select.js +4 -2
  54. package/es/select/style/index.d.ts +1 -0
  55. package/es/slider/index.d.ts +3 -3
  56. package/es/slider/slider.vue.d.ts +1 -1
  57. package/es/spin/index.d.ts +3 -3
  58. package/es/spin/spin.d.ts +1 -1
  59. package/es/statistic/index.d.ts +3 -3
  60. package/es/statistic/statistic.vue.d.ts +1 -1
  61. package/es/table/index.d.ts +13 -7
  62. package/es/table/style/index.css +4 -1
  63. package/es/table/style/index.scss +6 -1
  64. package/es/table/table-column.d.ts +1 -1
  65. package/es/table/table-td.d.ts +1 -1
  66. package/es/table/table.d.ts +3 -1
  67. package/es/table/table.js +66 -34
  68. package/es/tabs/index.d.ts +3 -3
  69. package/es/tabs/tabs.d.ts +1 -1
  70. package/es/tag/index.d.ts +6 -6
  71. package/es/tag/style/index.css +1 -1
  72. package/es/tag/style/index.scss +1 -1
  73. package/es/tag/tag.vue.d.ts +2 -2
  74. package/es/timeline/index.d.ts +6 -6
  75. package/es/timeline/timeline.d.ts +3 -3
  76. package/es/toolbar/style/index.css +0 -1
  77. package/es/toolbar/style/index.scss +0 -1
  78. package/es/toolbar/style/token.scss +0 -2
  79. package/es/tree/base-node.vue.d.ts +4 -8
  80. package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +14 -16
  81. package/es/tree/tree.vue.d.ts +2 -2
  82. package/es/tree-select/tree-select.vue.d.ts +4 -4
  83. package/es/typography/base.d.ts +1 -1
  84. package/es/watermark/index.d.ts +3 -3
  85. package/es/watermark/watermark.d.ts +1 -1
  86. package/json/web-types.json +1 -1
  87. package/package.json +3 -3
  88. package/es/_components/virtual-list/use-virtual-size.js +0 -94
  89. package/es/_components/virtual-list-v2/hooks/use-size.d.ts +0 -17
  90. package/es/_components/virtual-list-v2/hooks/use-size.js +0 -95
  91. package/es/_components/virtual-list-v2/index.d.ts +0 -2
  92. package/es/_components/virtual-list-v2/index.js +0 -5
  93. package/es/_components/virtual-list-v2/interface.d.ts +0 -44
  94. package/es/_components/virtual-list-v2/virtual-list-item.d.ts +0 -22
  95. package/es/_components/virtual-list-v2/virtual-list-item.js +0 -37
  96. package/es/_components/virtual-list-v2/virtual-list.js +0 -47
  97. package/es/_components/virtual-list-v2/virtual-list.vue.d.ts +0 -749
  98. package/es/_components/virtual-list-v2/virtual-list.vue_vue_type_script_lang.js +0 -179
  99. package/es/_virtual/_plugin-vue_export-helper.js +0 -8
package/dist/sd.css CHANGED
@@ -670,7 +670,6 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
670
670
  }
671
671
  @charset "UTF-8";
672
672
  /*! Tailwind CSS v4 preflight baseline scoped to SD Design layer */
673
- @import url("vue-virtual-scroller/dist/vue-virtual-scroller.css");
674
673
  /******** borderSize *******/
675
674
  /******** borderStyle *******/
676
675
  /******** radius *******/
@@ -1980,7 +1979,7 @@ body {
1980
1979
  color: var(--sd-color-text-2);
1981
1980
  }
1982
1981
  .sd-tag-text {
1983
- min-width: 0;
1982
+ min-width: 1em;
1984
1983
  max-width: 100%;
1985
1984
  }
1986
1985
  .sd-tag-ellipsis-line-clamp {
@@ -5277,7 +5276,6 @@ body.sd-tour-active .sd-tour-popover * {
5277
5276
  grid-template-columns: repeat(auto-fill, minmax(var(--toolbar-span-width), 1fr));
5278
5277
  gap: 8px;
5279
5278
  width: 100%;
5280
- background-color: var(--sd-color-bg-2);
5281
5279
  }
5282
5280
  .sd-toolbar-body--schema .sd-form > * {
5283
5281
  max-width: var(--toolbar-item-max-width);
@@ -6632,6 +6630,9 @@ body.sd-tour-active .sd-tour-popover * {
6632
6630
  width: 100%;
6633
6631
  min-height: 0;
6634
6632
  }
6633
+ .sd-table-container.sd-table-scroll-y {
6634
+ flex: 1 1 auto;
6635
+ }
6635
6636
  .sd-table-container .sd-table-content {
6636
6637
  display: flex;
6637
6638
  flex-direction: column;
@@ -6930,7 +6931,7 @@ body.sd-tour-active .sd-tour-popover * {
6930
6931
  margin-bottom: 12px;
6931
6932
  }
6932
6933
 
6933
- .sd-virtual-list > .sd-table-element {
6934
+ .sd-virtual-list > .sd-table-element, .sd-virtual-list > .sd-virtual-list-scroller > .sd-table-element {
6934
6935
  width: auto;
6935
6936
  }
6936
6937
 
@@ -11119,6 +11120,7 @@ body.sd-tour-active .sd-tour-popover * {
11119
11120
  }
11120
11121
  .sd-list-item-main {
11121
11122
  flex: 1;
11123
+ overflow: hidden;
11122
11124
  }
11123
11125
  .sd-list-item-main .sd-list-item-action:not(:first-child) {
11124
11126
  margin-top: 4px;
@@ -11141,6 +11143,10 @@ body.sd-tour-active .sd-tour-popover * {
11141
11143
  .sd-list-item-meta-title:not(:last-child) {
11142
11144
  margin-bottom: 2px;
11143
11145
  }
11146
+ .sd-list-item-meta-content {
11147
+ flex-grow: 1;
11148
+ overflow: hidden;
11149
+ }
11144
11150
  .sd-list-item-meta-description {
11145
11151
  color: var(--sd-color-text-2);
11146
11152
  }
@@ -17010,9 +17016,12 @@ body.sd-tour-active .sd-tour-popover * {
17010
17016
  cursor: pointer;
17011
17017
  }
17012
17018
  .sd-cascader-option-label, .sd-cascader-search-option-label {
17013
- flex-grow: 1;
17019
+ flex: 1 1 0;
17020
+ box-sizing: border-box;
17021
+ min-width: 0;
17014
17022
  padding-right: 34px;
17015
17023
  padding-left: 12px;
17024
+ overflow: hidden;
17016
17025
  }
17017
17026
  .sd-cascader-option .sd-icon-right,
17018
17027
  .sd-cascader-option .sd-icon-check, .sd-cascader-search-option .sd-icon-right,