@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.
- package/dist/sd.css +14 -5
- package/dist/sd.min.css +1 -1
- package/es/_components/select-view/select-view.d.ts +1 -1
- package/es/_components/select-view/style/index.css +1 -1
- package/es/_components/virtual-list/interface.d.ts +13 -6
- package/es/_components/virtual-list/style/index.scss +3 -1
- package/es/_components/virtual-list/virtual-list.vue.d.ts +31 -77
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_setup_true_lang.js +180 -503
- package/es/auto-complete/auto-complete.d.ts +1 -1
- package/es/auto-complete/auto-complete.js +3 -1
- package/es/auto-complete/index.d.ts +3 -3
- package/es/card/card.d.ts +3 -3
- package/es/card/index.d.ts +6 -6
- package/es/cascader/base-cascader-panel.d.ts +1 -1
- package/es/cascader/cascader-option.d.ts +1 -1
- package/es/cascader/cascader-option.js +8 -3
- package/es/cascader/cascader-panel.vue.d.ts +1 -1
- package/es/cascader/cascader-search-panel.d.ts +1 -1
- package/es/cascader/cascader.vue.d.ts +2 -2
- package/es/cascader/style/index.css +4 -1
- package/es/cascader/style/index.d.ts +1 -0
- package/es/cascader/style/index.scss +4 -1
- package/es/config-provider/config-provider.vue.d.ts +1 -1
- package/es/config-provider/index.d.ts +3 -3
- package/es/descriptions/descriptions.d.ts +2 -2
- package/es/descriptions/index.d.ts +6 -6
- package/es/drawer/drawer.vue.d.ts +2 -2
- package/es/drawer/index.d.ts +5 -5
- package/es/dropdown/dropdown-panel.vue.d.ts +1 -1
- package/es/ellipsis/ellipsis.vue.d.ts +1 -1
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/ellipsis/index.d.ts +6 -6
- package/es/ellipsis/performant-ellipsis.vue.d.ts +1 -1
- package/es/image/preview-group.vue.d.ts +1 -1
- package/es/index.css +14 -5
- package/es/input-tag/style/index.css +1 -1
- package/es/link/index.d.ts +6 -6
- package/es/link/link.vue.d.ts +2 -2
- package/es/list/list-item-meta.vue.d.ts +2 -2
- package/es/list/list-item-meta.vue_vue_type_script_setup_true_lang.js +10 -3
- package/es/list/style/index.css +5 -0
- package/es/list/style/index.d.ts +1 -0
- package/es/list/style/index.scss +6 -0
- package/es/menu/item.d.ts +1 -1
- package/es/modal/index.d.ts +5 -5
- package/es/modal/modal.vue.d.ts +2 -2
- package/es/progress/line.vue.d.ts +1 -1
- package/es/qr-code/index.d.ts +12 -12
- package/es/qr-code/qr-code.vue.d.ts +4 -4
- package/es/select/index.d.ts +5 -5
- package/es/select/select-dropdown.vue.d.ts +1 -1
- package/es/select/select.d.ts +2 -2
- package/es/select/select.js +4 -2
- package/es/select/style/index.d.ts +1 -0
- package/es/slider/index.d.ts +3 -3
- package/es/slider/slider.vue.d.ts +1 -1
- package/es/spin/index.d.ts +3 -3
- package/es/spin/spin.d.ts +1 -1
- package/es/statistic/index.d.ts +3 -3
- package/es/statistic/statistic.vue.d.ts +1 -1
- package/es/table/index.d.ts +13 -7
- package/es/table/style/index.css +4 -1
- package/es/table/style/index.scss +6 -1
- package/es/table/table-column.d.ts +1 -1
- package/es/table/table-td.d.ts +1 -1
- package/es/table/table.d.ts +3 -1
- package/es/table/table.js +66 -34
- package/es/tabs/index.d.ts +3 -3
- package/es/tabs/tabs.d.ts +1 -1
- package/es/tag/index.d.ts +6 -6
- package/es/tag/style/index.css +1 -1
- package/es/tag/style/index.scss +1 -1
- package/es/tag/tag.vue.d.ts +2 -2
- package/es/timeline/index.d.ts +6 -6
- package/es/timeline/timeline.d.ts +3 -3
- package/es/toolbar/style/index.css +0 -1
- package/es/toolbar/style/index.scss +0 -1
- package/es/toolbar/style/token.scss +0 -2
- package/es/tree/base-node.vue.d.ts +4 -8
- package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +14 -16
- package/es/tree/tree.vue.d.ts +2 -2
- package/es/tree-select/tree-select.vue.d.ts +4 -4
- package/es/typography/base.d.ts +1 -1
- package/es/watermark/index.d.ts +3 -3
- package/es/watermark/watermark.d.ts +1 -1
- package/json/web-types.json +1 -1
- package/package.json +3 -3
- package/es/_components/virtual-list/use-virtual-size.js +0 -94
- package/es/_components/virtual-list-v2/hooks/use-size.d.ts +0 -17
- package/es/_components/virtual-list-v2/hooks/use-size.js +0 -95
- package/es/_components/virtual-list-v2/index.d.ts +0 -2
- package/es/_components/virtual-list-v2/index.js +0 -5
- package/es/_components/virtual-list-v2/interface.d.ts +0 -44
- package/es/_components/virtual-list-v2/virtual-list-item.d.ts +0 -22
- package/es/_components/virtual-list-v2/virtual-list-item.js +0 -37
- package/es/_components/virtual-list-v2/virtual-list.js +0 -47
- package/es/_components/virtual-list-v2/virtual-list.vue.d.ts +0 -749
- package/es/_components/virtual-list-v2/virtual-list.vue_vue_type_script_lang.js +0 -179
- package/es/_virtual/_plugin-vue_export-helper.js +0 -8
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import virtual_list_vue_vue_type_script_lang_default from "./virtual-list.vue_vue_type_script_lang.js";
|
|
2
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
import { Fragment, createBlock, createElementBlock, mergeProps, openBlock, renderList, renderSlot, resolveComponent, resolveDynamicComponent, withCtx } from "vue";
|
|
4
|
-
//#region components/_components/virtual-list-v2/virtual-list.vue
|
|
5
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6
|
-
const _component_VirtualListItem = resolveComponent("VirtualListItem");
|
|
7
|
-
return openBlock(), createBlock(resolveDynamicComponent(_ctx.containerComponent), mergeProps({
|
|
8
|
-
ref: "containerRef",
|
|
9
|
-
class: _ctx.prefixCls,
|
|
10
|
-
style: _ctx.style
|
|
11
|
-
}, _ctx.containerProps, { onScroll: _ctx.onScroll }), {
|
|
12
|
-
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(_ctx.mergedComponent.list), mergeProps(_ctx.listAttrs, { style: _ctx.paddingPosition === "list" ? {
|
|
13
|
-
paddingTop: `${_ctx.frontPadding}px`,
|
|
14
|
-
paddingBottom: `${_ctx.behindPadding}px`
|
|
15
|
-
} : {} }), {
|
|
16
|
-
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(_ctx.mergedComponent.content), mergeProps({ ref: "contentRef" }, _ctx.contentAttrs, { style: _ctx.paddingPosition === "content" ? {
|
|
17
|
-
paddingTop: `${_ctx.frontPadding}px`,
|
|
18
|
-
paddingBottom: `${_ctx.behindPadding}px`
|
|
19
|
-
} : {} }), {
|
|
20
|
-
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.currentList, (item, index) => {
|
|
21
|
-
var _item$_ctx$itemKey;
|
|
22
|
-
return openBlock(), createBlock(_component_VirtualListItem, {
|
|
23
|
-
key: (_item$_ctx$itemKey = item[_ctx.itemKey]) !== null && _item$_ctx$itemKey !== void 0 ? _item$_ctx$itemKey : _ctx.start + index,
|
|
24
|
-
"has-item-size": _ctx.hasItemSize,
|
|
25
|
-
"set-item-size": _ctx.setItemSize
|
|
26
|
-
}, {
|
|
27
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item", {
|
|
28
|
-
item,
|
|
29
|
-
index: _ctx.start + index
|
|
30
|
-
})]),
|
|
31
|
-
_: 2
|
|
32
|
-
}, 1032, ["has-item-size", "set-item-size"]);
|
|
33
|
-
}), 128))]),
|
|
34
|
-
_: 3
|
|
35
|
-
}, 16, ["style"]))]),
|
|
36
|
-
_: 3
|
|
37
|
-
}, 16, ["style"]))]),
|
|
38
|
-
_: 3
|
|
39
|
-
}, 16, [
|
|
40
|
-
"class",
|
|
41
|
-
"style",
|
|
42
|
-
"onScroll"
|
|
43
|
-
]);
|
|
44
|
-
}
|
|
45
|
-
var virtual_list_default = /*#__PURE__*/ _plugin_vue_export_helper_default(virtual_list_vue_vue_type_script_lang_default, [["render", _sfc_render]]);
|
|
46
|
-
//#endregion
|
|
47
|
-
export { virtual_list_default as default };
|