@uzum-tech/ui 1.8.1 → 1.9.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/index.js +847 -249
- package/dist/index.prod.js +3 -3
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
- package/es/_internal/scrollbar/src/Scrollbar.js +121 -68
- package/es/_internal/scrollbar/src/styles/index.cssr.js +32 -15
- package/es/_internal/scrollbar/styles/common.d.ts +7 -0
- package/es/_internal/scrollbar/styles/common.js +7 -0
- package/es/_internal/scrollbar/styles/light.d.ts +8 -0
- package/es/_internal/scrollbar/styles/light.js +3 -5
- package/es/_internal/select-menu/src/SelectMenu.d.ts +57 -1
- package/es/_internal/select-menu/styles/light.d.ts +8 -0
- package/es/_internal/selection/src/Selection.d.ts +3 -1
- package/es/_internal/selection/src/Selection.js +3 -1
- package/es/_utils/css/index.d.ts +1 -0
- package/es/_utils/css/index.js +1 -0
- package/es/_utils/css/rtl-inset.d.ts +1 -0
- package/es/_utils/css/rtl-inset.js +5 -0
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.js +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +88 -0
- package/es/auto-complete/styles/light.d.ts +8 -0
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/button/src/Button.d.ts +72 -0
- package/es/button/src/Button.js +13 -7
- package/es/button/src/styles/index.cssr.js +1 -2
- package/es/button/styles/light.d.ts +8 -0
- package/es/button/styles/light.js +7 -7
- package/es/calendar/src/Calendar.d.ts +80 -0
- package/es/calendar/styles/light.d.ts +8 -0
- package/es/cascader/src/Cascader.d.ts +168 -0
- package/es/cascader/src/CascaderMenu.d.ts +24 -0
- package/es/cascader/src/CascaderOption.d.ts +24 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +24 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +25 -1
- package/es/cascader/styles/light.d.ts +16 -0
- package/es/chat/src/Chat.d.ts +175 -7
- package/es/chat/src/Chat.js +11 -12
- package/es/chat/src/ChatListItems.d.ts +192 -0
- package/es/chat/src/ChatListItems.js +4 -1
- package/es/chat/src/ChatMessages.d.ts +192 -0
- package/es/chat/src/styles/index.cssr.js +1 -3
- package/es/chat/styles/dark.d.ts +16 -0
- package/es/chat/styles/light.d.ts +16 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +8 -0
- package/es/color-picker/src/ColorPicker.d.ts +72 -0
- package/es/color-picker/styles/light.d.ts +8 -0
- package/es/components.d.ts +2 -0
- package/es/components.js +2 -0
- package/es/data-table/src/DataTable.d.ts +240 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +48 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +48 -0
- package/es/data-table/src/TableParts/Body.d.ts +49 -1
- package/es/data-table/src/TableParts/Header.d.ts +48 -0
- package/es/data-table/src/interface.d.ts +96 -0
- package/es/data-table/styles/light.d.ts +32 -0
- package/es/date-picker/src/DatePicker.d.ts +339 -3
- package/es/date-picker/src/panel/date.d.ts +49 -1
- package/es/date-picker/src/panel/daterange.d.ts +50 -2
- package/es/date-picker/src/panel/datetime.d.ts +49 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +50 -2
- package/es/date-picker/src/panel/panelMonth.d.ts +98 -2
- package/es/date-picker/src/panel/panelMonthContent.d.ts +49 -1
- package/es/date-picker/src/panel/panelYear.d.ts +98 -2
- package/es/date-picker/src/panel/panelYearContent.d.ts +49 -1
- package/es/date-picker/src/panel/use-calendar.d.ts +48 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +48 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +48 -0
- package/es/date-picker/styles/light.d.ts +32 -0
- package/es/dialog/src/Dialog.d.ts +56 -0
- package/es/dialog/src/DialogProvider.d.ts +18 -2
- package/es/dialog/styles/light.d.ts +8 -0
- package/es/drawer/src/Drawer.d.ts +81 -1
- package/es/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/es/drawer/src/DrawerContent.d.ts +8 -0
- package/es/drawer/styles/light.d.ts +8 -0
- package/es/dropdown/src/Dropdown.d.ts +1 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +80 -0
- package/es/dynamic-input/src/InputPreset.d.ts +8 -0
- package/es/dynamic-input/src/PairPreset.d.ts +8 -0
- package/es/dynamic-input/styles/light.d.ts +8 -0
- package/es/dynamic-tags/src/DynamicTags.d.ts +80 -0
- package/es/dynamic-tags/styles/light.d.ts +8 -0
- package/es/infinite-scroll/index.d.ts +2 -0
- package/es/infinite-scroll/index.js +1 -0
- package/es/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
- package/es/infinite-scroll/src/InfiniteScroll.js +78 -0
- package/es/input-number/src/InputNumber.d.ts +80 -0
- package/es/input-number/styles/light.d.ts +8 -0
- package/es/layout/src/Layout.d.ts +112 -0
- package/es/layout/src/LayoutContent.d.ts +56 -0
- package/es/layout/src/LayoutFooter.d.ts +72 -0
- package/es/layout/src/LayoutHeader.d.ts +48 -0
- package/es/layout/src/LayoutSider.d.ts +56 -0
- package/es/layout/styles/light.d.ts +8 -0
- package/es/legacy-transfer/src/Transfer.d.ts +160 -0
- package/es/legacy-transfer/src/TransferFilter.d.ts +16 -0
- package/es/legacy-transfer/src/TransferList.d.ts +17 -1
- package/es/legacy-transfer/src/TransferListItem.d.ts +16 -0
- package/es/legacy-transfer/styles/light.d.ts +16 -0
- package/es/log/src/Log.d.ts +80 -0
- package/es/log/styles/light.d.ts +8 -0
- package/es/mention/src/Mention.d.ts +88 -0
- package/es/mention/styles/light.d.ts +8 -0
- package/es/menu/src/Menu.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +25 -1
- package/es/modal/src/Modal.d.ts +145 -1
- package/es/modal/styles/light.d.ts +16 -0
- package/es/notification/src/Notification.d.ts +5 -0
- package/es/notification/src/Notification.js +16 -6
- package/es/notification/src/NotificationContainer.d.ts +20 -0
- package/es/notification/src/NotificationProvider.d.ts +180 -0
- package/es/notification/src/styles/index.cssr.js +12 -8
- package/es/notification/styles/light.d.ts +32 -0
- package/es/notification/styles/light.js +9 -8
- package/es/pagination/src/Pagination.d.ts +176 -0
- package/es/pagination/styles/light.d.ts +16 -0
- package/es/popconfirm/src/Popconfirm.d.ts +80 -0
- package/es/popconfirm/styles/light.d.ts +8 -0
- package/es/popselect/src/Popselect.d.ts +88 -0
- package/es/popselect/src/PopselectPanel.d.ts +16 -0
- package/es/popselect/styles/light.d.ts +8 -0
- package/es/scrollbar/src/Scrollbar.d.ts +72 -0
- package/es/select/src/Select.d.ts +88 -0
- package/es/select/styles/light.d.ts +8 -0
- package/es/time-picker/src/Panel.d.ts +16 -0
- package/es/time-picker/src/TimePicker.d.ts +160 -0
- package/es/time-picker/styles/light.d.ts +16 -0
- package/es/transfer/src/Transfer.d.ts +160 -0
- package/es/transfer/src/TransferFilter.d.ts +16 -0
- package/es/transfer/src/TransferList.d.ts +17 -1
- package/es/transfer/src/TransferListItem.d.ts +16 -0
- package/es/transfer/styles/light.d.ts +16 -0
- package/es/tree/src/Tree.d.ts +82 -2
- package/es/tree/src/TreeNodeCheckbox.d.ts +8 -0
- package/es/tree/styles/light.d.ts +8 -0
- package/es/tree-select/src/TreeSelect.d.ts +89 -1
- package/es/tree-select/styles/light.d.ts +8 -0
- package/es/upload/src/Upload.d.ts +90 -0
- package/es/upload/src/Upload.js +2 -1
- package/es/upload/src/UploadFile.d.ts +9 -0
- package/es/upload/src/UploadProgress.d.ts +9 -0
- package/es/upload/src/styles/index.cssr.js +1 -0
- package/es/upload/src/useUploadActionsRender.js +5 -1
- package/es/upload/styles/light.d.ts +10 -0
- package/es/upload/styles/light.js +6 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/virtual-list/index.d.ts +2 -0
- package/es/virtual-list/index.js +1 -0
- package/es/virtual-list/src/VirtualList.d.ts +146 -0
- package/es/virtual-list/src/VirtualList.js +103 -0
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
- package/lib/_internal/scrollbar/src/Scrollbar.js +118 -65
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +32 -15
- package/lib/_internal/scrollbar/styles/common.d.ts +7 -0
- package/lib/_internal/scrollbar/styles/common.js +10 -0
- package/lib/_internal/scrollbar/styles/light.d.ts +8 -0
- package/lib/_internal/scrollbar/styles/light.js +3 -5
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +57 -1
- package/lib/_internal/select-menu/styles/light.d.ts +8 -0
- package/lib/_internal/selection/src/Selection.d.ts +3 -1
- package/lib/_internal/selection/src/Selection.js +3 -1
- package/lib/_utils/css/index.d.ts +1 -0
- package/lib/_utils/css/index.js +3 -1
- package/lib/_utils/css/rtl-inset.d.ts +1 -0
- package/lib/_utils/css/rtl-inset.js +8 -0
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +2 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +88 -0
- package/lib/auto-complete/styles/light.d.ts +8 -0
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/button/src/Button.d.ts +72 -0
- package/lib/button/src/Button.js +13 -7
- package/lib/button/src/styles/index.cssr.js +1 -2
- package/lib/button/styles/light.d.ts +8 -0
- package/lib/button/styles/light.js +7 -7
- package/lib/calendar/src/Calendar.d.ts +80 -0
- package/lib/calendar/styles/light.d.ts +8 -0
- package/lib/cascader/src/Cascader.d.ts +168 -0
- package/lib/cascader/src/CascaderMenu.d.ts +24 -0
- package/lib/cascader/src/CascaderOption.d.ts +24 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +24 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +25 -1
- package/lib/cascader/styles/light.d.ts +16 -0
- package/lib/chat/src/Chat.d.ts +175 -7
- package/lib/chat/src/Chat.js +11 -12
- package/lib/chat/src/ChatListItems.d.ts +192 -0
- package/lib/chat/src/ChatListItems.js +4 -1
- package/lib/chat/src/ChatMessages.d.ts +192 -0
- package/lib/chat/src/styles/index.cssr.js +1 -3
- package/lib/chat/styles/dark.d.ts +16 -0
- package/lib/chat/styles/light.d.ts +16 -0
- package/lib/color-picker/src/ColorInputUnit.d.ts +8 -0
- package/lib/color-picker/src/ColorPicker.d.ts +72 -0
- package/lib/color-picker/styles/light.d.ts +8 -0
- package/lib/components.d.ts +2 -0
- package/lib/components.js +2 -0
- package/lib/data-table/src/DataTable.d.ts +240 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +48 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +48 -0
- package/lib/data-table/src/TableParts/Body.d.ts +49 -1
- package/lib/data-table/src/TableParts/Header.d.ts +48 -0
- package/lib/data-table/src/interface.d.ts +96 -0
- package/lib/data-table/styles/light.d.ts +32 -0
- package/lib/date-picker/src/DatePicker.d.ts +339 -3
- package/lib/date-picker/src/panel/date.d.ts +49 -1
- package/lib/date-picker/src/panel/daterange.d.ts +50 -2
- package/lib/date-picker/src/panel/datetime.d.ts +49 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +50 -2
- package/lib/date-picker/src/panel/panelMonth.d.ts +98 -2
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +49 -1
- package/lib/date-picker/src/panel/panelYear.d.ts +98 -2
- package/lib/date-picker/src/panel/panelYearContent.d.ts +49 -1
- package/lib/date-picker/src/panel/use-calendar.d.ts +48 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +48 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +48 -0
- package/lib/date-picker/styles/light.d.ts +32 -0
- package/lib/dialog/src/Dialog.d.ts +56 -0
- package/lib/dialog/src/DialogProvider.d.ts +18 -2
- package/lib/dialog/styles/light.d.ts +8 -0
- package/lib/drawer/src/Drawer.d.ts +81 -1
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/lib/drawer/src/DrawerContent.d.ts +8 -0
- package/lib/drawer/styles/light.d.ts +8 -0
- package/lib/dropdown/src/Dropdown.d.ts +1 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +80 -0
- package/lib/dynamic-input/src/InputPreset.d.ts +8 -0
- package/lib/dynamic-input/src/PairPreset.d.ts +8 -0
- package/lib/dynamic-input/styles/light.d.ts +8 -0
- package/lib/dynamic-tags/src/DynamicTags.d.ts +80 -0
- package/lib/dynamic-tags/styles/light.d.ts +8 -0
- package/lib/infinite-scroll/index.d.ts +2 -0
- package/lib/infinite-scroll/index.js +9 -0
- package/lib/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
- package/lib/infinite-scroll/src/InfiniteScroll.js +81 -0
- package/lib/input-number/src/InputNumber.d.ts +80 -0
- package/lib/input-number/styles/light.d.ts +8 -0
- package/lib/layout/src/Layout.d.ts +112 -0
- package/lib/layout/src/LayoutContent.d.ts +56 -0
- package/lib/layout/src/LayoutFooter.d.ts +72 -0
- package/lib/layout/src/LayoutHeader.d.ts +48 -0
- package/lib/layout/src/LayoutSider.d.ts +56 -0
- package/lib/layout/styles/light.d.ts +8 -0
- package/lib/legacy-transfer/src/Transfer.d.ts +160 -0
- package/lib/legacy-transfer/src/TransferFilter.d.ts +16 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +17 -1
- package/lib/legacy-transfer/src/TransferListItem.d.ts +16 -0
- package/lib/legacy-transfer/styles/light.d.ts +16 -0
- package/lib/log/src/Log.d.ts +80 -0
- package/lib/log/styles/light.d.ts +8 -0
- package/lib/mention/src/Mention.d.ts +88 -0
- package/lib/mention/styles/light.d.ts +8 -0
- package/lib/menu/src/Menu.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +25 -1
- package/lib/modal/src/Modal.d.ts +145 -1
- package/lib/modal/styles/light.d.ts +16 -0
- package/lib/notification/src/Notification.d.ts +5 -0
- package/lib/notification/src/Notification.js +14 -4
- package/lib/notification/src/NotificationContainer.d.ts +20 -0
- package/lib/notification/src/NotificationProvider.d.ts +180 -0
- package/lib/notification/src/styles/index.cssr.js +12 -8
- package/lib/notification/styles/light.d.ts +32 -0
- package/lib/notification/styles/light.js +9 -8
- package/lib/pagination/src/Pagination.d.ts +176 -0
- package/lib/pagination/styles/light.d.ts +16 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +80 -0
- package/lib/popconfirm/styles/light.d.ts +8 -0
- package/lib/popselect/src/Popselect.d.ts +88 -0
- package/lib/popselect/src/PopselectPanel.d.ts +16 -0
- package/lib/popselect/styles/light.d.ts +8 -0
- package/lib/scrollbar/src/Scrollbar.d.ts +72 -0
- package/lib/select/src/Select.d.ts +88 -0
- package/lib/select/styles/light.d.ts +8 -0
- package/lib/time-picker/src/Panel.d.ts +16 -0
- package/lib/time-picker/src/TimePicker.d.ts +160 -0
- package/lib/time-picker/styles/light.d.ts +16 -0
- package/lib/transfer/src/Transfer.d.ts +160 -0
- package/lib/transfer/src/TransferFilter.d.ts +16 -0
- package/lib/transfer/src/TransferList.d.ts +17 -1
- package/lib/transfer/src/TransferListItem.d.ts +16 -0
- package/lib/transfer/styles/light.d.ts +16 -0
- package/lib/tree/src/Tree.d.ts +82 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +8 -0
- package/lib/tree/styles/light.d.ts +8 -0
- package/lib/tree-select/src/TreeSelect.d.ts +89 -1
- package/lib/tree-select/styles/light.d.ts +8 -0
- package/lib/upload/src/Upload.d.ts +90 -0
- package/lib/upload/src/Upload.js +2 -1
- package/lib/upload/src/UploadFile.d.ts +9 -0
- package/lib/upload/src/UploadProgress.d.ts +9 -0
- package/lib/upload/src/styles/index.cssr.js +1 -0
- package/lib/upload/src/useUploadActionsRender.js +5 -1
- package/lib/upload/styles/light.d.ts +10 -0
- package/lib/upload/styles/light.js +6 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/index.d.ts +2 -0
- package/lib/virtual-list/index.js +9 -0
- package/lib/virtual-list/src/VirtualList.d.ts +146 -0
- package/lib/virtual-list/src/VirtualList.js +106 -0
- package/package.json +2 -2
- package/volar.d.ts +1 -0
- package/web-types.json +33 -4
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.virtualListProps = void 0;
|
|
4
|
+
const vue_1 = require("vue");
|
|
5
|
+
const vueuc_1 = require("vueuc");
|
|
6
|
+
const _internal_1 = require("../../_internal");
|
|
7
|
+
exports.virtualListProps = {
|
|
8
|
+
scrollbarProps: Object,
|
|
9
|
+
items: {
|
|
10
|
+
type: Array,
|
|
11
|
+
default: () => []
|
|
12
|
+
},
|
|
13
|
+
itemSize: {
|
|
14
|
+
type: Number,
|
|
15
|
+
required: true
|
|
16
|
+
},
|
|
17
|
+
itemResizable: Boolean,
|
|
18
|
+
itemsStyle: [String, Object],
|
|
19
|
+
visibleItemsTag: {
|
|
20
|
+
type: [String, Object],
|
|
21
|
+
default: 'div'
|
|
22
|
+
},
|
|
23
|
+
visibleItemsProps: Object,
|
|
24
|
+
ignoreItemResize: Boolean,
|
|
25
|
+
onScroll: Function,
|
|
26
|
+
onWheel: Function,
|
|
27
|
+
onResize: Function,
|
|
28
|
+
defaultScrollKey: [Number, String],
|
|
29
|
+
defaultScrollIndex: Number,
|
|
30
|
+
keyField: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: 'key'
|
|
33
|
+
},
|
|
34
|
+
paddingTop: {
|
|
35
|
+
type: [Number, String],
|
|
36
|
+
default: 0
|
|
37
|
+
},
|
|
38
|
+
paddingBottom: {
|
|
39
|
+
type: [Number, String],
|
|
40
|
+
default: 0
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
exports.default = (0, vue_1.defineComponent)({
|
|
44
|
+
name: 'VirtualList',
|
|
45
|
+
props: exports.virtualListProps,
|
|
46
|
+
setup(props) {
|
|
47
|
+
const scrollbarInstRef = (0, vue_1.ref)(null);
|
|
48
|
+
const virtualListInstRef = (0, vue_1.ref)(null);
|
|
49
|
+
function syncScrollbar() {
|
|
50
|
+
const { value: scrollbarInst } = scrollbarInstRef;
|
|
51
|
+
if (scrollbarInst) {
|
|
52
|
+
scrollbarInst.sync();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function handleScroll(e) {
|
|
56
|
+
var _a;
|
|
57
|
+
syncScrollbar();
|
|
58
|
+
(_a = props.onScroll) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
59
|
+
}
|
|
60
|
+
function handleResize(e) {
|
|
61
|
+
var _a;
|
|
62
|
+
syncScrollbar();
|
|
63
|
+
(_a = props.onResize) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
64
|
+
}
|
|
65
|
+
function handleWheel(e) {
|
|
66
|
+
var _a;
|
|
67
|
+
(_a = props.onWheel) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
68
|
+
}
|
|
69
|
+
function scrollTo(options, y) {
|
|
70
|
+
var _a, _b;
|
|
71
|
+
if (typeof options === 'number') {
|
|
72
|
+
(_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(options, y !== null && y !== void 0 ? y : 0);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
(_b = virtualListInstRef.value) === null || _b === void 0 ? void 0 : _b.scrollTo(options);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function getScrollContainer() {
|
|
79
|
+
var _a;
|
|
80
|
+
return (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.listElRef;
|
|
81
|
+
}
|
|
82
|
+
function getScrollContent() {
|
|
83
|
+
var _a;
|
|
84
|
+
return (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.itemsElRef;
|
|
85
|
+
}
|
|
86
|
+
return {
|
|
87
|
+
scrollTo,
|
|
88
|
+
scrollbarInstRef,
|
|
89
|
+
virtualListInstRef,
|
|
90
|
+
getScrollContainer,
|
|
91
|
+
getScrollContent,
|
|
92
|
+
handleScroll,
|
|
93
|
+
handleResize,
|
|
94
|
+
handleWheel
|
|
95
|
+
};
|
|
96
|
+
},
|
|
97
|
+
render() {
|
|
98
|
+
return ((0, vue_1.h)(_internal_1.UxScrollbar, Object.assign({}, this.scrollbarProps, { ref: "scrollbarInstRef", container: this.getScrollContainer, content: this.getScrollContent }), {
|
|
99
|
+
default: () => {
|
|
100
|
+
return ((0, vue_1.h)(vueuc_1.VVirtualList, { ref: "virtualListInstRef", showScrollbar: false, items: this.items, itemSize: this.itemSize, itemResizable: this.itemResizable, itemsStyle: this.itemsStyle, visibleItemsTag: this.visibleItemsTag, visibleItemsProps: this.visibleItemsProps, ignoreItemResize: this.ignoreItemResize, keyField: this.keyField, defaultScrollKey: this.defaultScrollKey, defaultScrollIndex: this.defaultScrollIndex, paddingTop: this.paddingTop, paddingBottom: this.paddingBottom, onScroll: this.handleScroll, onResize: this.handleResize, onWheel: this.handleWheel }, {
|
|
101
|
+
default: ({ item, index }) => { var _a, _b; return (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a, { item, index }); }
|
|
102
|
+
}));
|
|
103
|
+
}
|
|
104
|
+
}));
|
|
105
|
+
}
|
|
106
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uzum-tech/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"treemate": "0.3.11",
|
|
186
186
|
"vdirs": "0.1.8",
|
|
187
187
|
"vooks": "0.2.12",
|
|
188
|
-
"vueuc": "0.4.
|
|
188
|
+
"vueuc": "0.4.65"
|
|
189
189
|
},
|
|
190
190
|
"sideEffects": false,
|
|
191
191
|
"homepage": "https://uzum-ui.kapitalbank.uz",
|
package/volar.d.ts
CHANGED
|
@@ -149,6 +149,7 @@ declare module 'vue' {
|
|
|
149
149
|
UChat: typeof import('@uzum-tech/ui')['UChat']
|
|
150
150
|
UChatListItems: typeof import('@uzum-tech/ui')['UChatListItems']
|
|
151
151
|
UChatMessages: typeof import('@uzum-tech/ui')['UChatMessages']
|
|
152
|
+
UInfiniteScroll: typeof import('@uzum-tech/ui')['UInfiniteScroll']
|
|
152
153
|
}
|
|
153
154
|
}
|
|
154
155
|
export {}
|
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@uzum-tech/ui",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.9.0",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -2156,11 +2156,11 @@
|
|
|
2156
2156
|
"default": "5"
|
|
2157
2157
|
},
|
|
2158
2158
|
{
|
|
2159
|
-
"name": "
|
|
2159
|
+
"name": "height",
|
|
2160
2160
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
|
|
2161
2161
|
"type": "string | number",
|
|
2162
|
-
"description": "
|
|
2163
|
-
"default": "
|
|
2162
|
+
"description": "Container height of the chat component.",
|
|
2163
|
+
"default": "800"
|
|
2164
2164
|
}
|
|
2165
2165
|
],
|
|
2166
2166
|
"js": {
|
|
@@ -7770,6 +7770,35 @@
|
|
|
7770
7770
|
]
|
|
7771
7771
|
}
|
|
7772
7772
|
},
|
|
7773
|
+
{
|
|
7774
|
+
"name": "UInfiniteScroll",
|
|
7775
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll",
|
|
7776
|
+
"source": {
|
|
7777
|
+
"symbol": "UInfiniteScroll"
|
|
7778
|
+
},
|
|
7779
|
+
"slots": [],
|
|
7780
|
+
"attributes": [],
|
|
7781
|
+
"props": [
|
|
7782
|
+
{
|
|
7783
|
+
"name": "distance",
|
|
7784
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll",
|
|
7785
|
+
"type": "number"
|
|
7786
|
+
},
|
|
7787
|
+
{
|
|
7788
|
+
"name": "scrollbar-props",
|
|
7789
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll",
|
|
7790
|
+
"type": "object"
|
|
7791
|
+
}
|
|
7792
|
+
],
|
|
7793
|
+
"js": {
|
|
7794
|
+
"events": [
|
|
7795
|
+
{
|
|
7796
|
+
"name": "load",
|
|
7797
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll"
|
|
7798
|
+
}
|
|
7799
|
+
]
|
|
7800
|
+
}
|
|
7801
|
+
},
|
|
7773
7802
|
{
|
|
7774
7803
|
"name": "UInput",
|
|
7775
7804
|
"description": "Many years ago, inputs were just punched cards.",
|