@uzum-tech/ui 2.4.3 → 2.4.5
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 +274 -84
- package/dist/index.mjs +274 -84
- package/dist/index.prod.js +3 -3
- package/dist/index.prod.mjs +3 -3
- package/es/_internal/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +21 -0
- package/es/_internal/safe-top-scrollbar/src/SafeTopScrollbar.mjs +14 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +21 -0
- package/es/_internal/scrollbar/src/Scrollbar.mjs +14 -1
- package/es/_internal/select-menu/src/SelectMenuParts/List.d.ts +2 -0
- package/es/_utils/composable/use-scroll-edge-detector.d.ts +9 -0
- package/es/_utils/composable/use-scroll-edge-detector.mjs +44 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/es/chat/src/Chat.d.ts +12 -24
- package/es/chat/src/ChatMainArea.d.ts +4 -7
- package/es/chat/src/ChatMainArea.mjs +12 -37
- package/es/chat/src/interface.d.ts +2 -0
- package/es/components.d.ts +109 -31
- package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +2 -2
- package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.mjs +1 -1
- package/es/data-table/src/DataTable.d.ts +14 -0
- package/es/data-table/src/DataTable.mjs +18 -13
- package/es/data-table/src/TableParts/Body.d.ts +2 -0
- package/es/data-table/src/interface.d.ts +160 -151
- package/es/data-table/src/interface.mjs +13 -7
- package/es/data-table/src/use-column-settings.mjs +4 -1
- package/es/data-table/src/use-resizable.d.ts +2 -0
- package/es/data-table/src/use-resizable.mjs +9 -1
- package/es/data-table/src/use-scroll.d.ts +1 -0
- package/es/data-table/src/use-scroll.mjs +8 -1
- package/es/date-picker/src/DatePicker.d.ts +11 -0
- package/es/date-picker/src/DatePicker.mjs +8 -4
- package/es/date-picker-v2/src/DatePickerV2.d.ts +1 -0
- package/es/date-picker-v2/src/DatePickerV2.mjs +6 -2
- package/es/date-picker-v2/src/composables/useCalendarScroll.d.ts +96 -0
- package/es/date-picker-v2/src/panel/CalendarPanel.d.ts +96 -0
- package/es/date-picker-v2/src/panel/CalendarRangePanel.d.ts +96 -0
- package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +2 -0
- package/es/infinite-scroll/src/InfiniteScroll.d.ts +2 -0
- package/es/input/src/Input.d.ts +2 -0
- package/es/kanban/src/Kanban.d.ts +1 -1
- package/es/layout/src/Layout.d.ts +4 -0
- package/es/layout/src/LayoutContent.d.ts +2 -0
- package/es/layout/src/LayoutSider.d.ts +2 -0
- package/es/legacy-transfer/src/TransferList.d.ts +2 -0
- package/es/locales/common/ruRU.mjs +1 -1
- package/es/log/src/Log.d.ts +2 -0
- package/es/modal/src/BodyWrapper.d.ts +2 -0
- package/es/modal-fullscreen/src/ModalFull.d.ts +2 -0
- package/es/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +13 -0
- package/es/safe-top-scrollbar/src/SafeTopScrollbar.mjs +7 -0
- package/es/scrollbar/src/Scrollbar.d.ts +13 -0
- package/es/scrollbar/src/Scrollbar.mjs +7 -0
- package/es/time-picker/src/TimePicker.d.ts +8 -0
- package/es/transfer/src/TransferList.d.ts +2 -0
- package/es/tree/src/Tree.d.ts +2 -0
- package/es/upload/src/Upload.d.ts +21 -0
- package/es/upload/src/Upload.mjs +7 -1
- package/es/upload/src/UploadFile.d.ts +6 -0
- package/es/upload/src/UploadFile.mjs +12 -8
- package/es/upload/src/UploadFileList.mjs +3 -2
- package/es/upload/src/UploadProgress.d.ts +6 -0
- package/es/upload/src/interface.d.ts +10 -1
- package/es/upload/src/styles/index.cssr.mjs +84 -1
- package/es/upload/src/useUploadActionsRender.mjs +10 -5
- package/es/upload/styles/light.d.ts +6 -0
- package/es/upload/styles/light.mjs +4 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/virtual-list/src/VirtualList.d.ts +2 -0
- package/lib/_internal/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +21 -0
- package/lib/_internal/safe-top-scrollbar/src/SafeTopScrollbar.js +9 -2
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +21 -0
- package/lib/_internal/scrollbar/src/Scrollbar.js +9 -2
- package/lib/_internal/select-menu/src/SelectMenuParts/List.d.ts +2 -0
- package/lib/_utils/composable/use-scroll-edge-detector.d.ts +9 -0
- package/lib/_utils/composable/use-scroll-edge-detector.js +42 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/lib/chat/src/Chat.d.ts +12 -24
- package/lib/chat/src/ChatMainArea.d.ts +4 -7
- package/lib/chat/src/ChatMainArea.js +6 -36
- package/lib/chat/src/interface.d.ts +2 -0
- package/lib/components.d.ts +109 -31
- package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +2 -2
- package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.js +1 -1
- package/lib/data-table/src/DataTable.d.ts +14 -0
- package/lib/data-table/src/DataTable.js +16 -14
- package/lib/data-table/src/TableParts/Body.d.ts +2 -0
- package/lib/data-table/src/interface.d.ts +160 -151
- package/lib/data-table/src/interface.js +11 -8
- package/lib/data-table/src/use-column-settings.js +6 -1
- package/lib/data-table/src/use-resizable.d.ts +2 -0
- package/lib/data-table/src/use-resizable.js +9 -1
- package/lib/data-table/src/use-scroll.d.ts +1 -0
- package/lib/data-table/src/use-scroll.js +5 -1
- package/lib/date-picker/src/DatePicker.d.ts +11 -0
- package/lib/date-picker/src/DatePicker.js +6 -2
- package/lib/date-picker-v2/src/DatePickerV2.d.ts +1 -0
- package/lib/date-picker-v2/src/DatePickerV2.js +6 -2
- package/lib/date-picker-v2/src/composables/useCalendarScroll.d.ts +96 -0
- package/lib/date-picker-v2/src/panel/CalendarPanel.d.ts +96 -0
- package/lib/date-picker-v2/src/panel/CalendarRangePanel.d.ts +96 -0
- package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +2 -0
- package/lib/infinite-scroll/src/InfiniteScroll.d.ts +2 -0
- package/lib/input/src/Input.d.ts +2 -0
- package/lib/kanban/src/Kanban.d.ts +1 -1
- package/lib/layout/src/Layout.d.ts +4 -0
- package/lib/layout/src/LayoutContent.d.ts +2 -0
- package/lib/layout/src/LayoutSider.d.ts +2 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +2 -0
- package/lib/locales/common/ruRU.js +1 -1
- package/lib/log/src/Log.d.ts +2 -0
- package/lib/modal/src/BodyWrapper.d.ts +2 -0
- package/lib/modal-fullscreen/src/ModalFull.d.ts +2 -0
- package/lib/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +13 -0
- package/lib/safe-top-scrollbar/src/SafeTopScrollbar.js +5 -1
- package/lib/scrollbar/src/Scrollbar.d.ts +13 -0
- package/lib/scrollbar/src/Scrollbar.js +5 -1
- package/lib/time-picker/src/TimePicker.d.ts +8 -0
- package/lib/transfer/src/TransferList.d.ts +2 -0
- package/lib/tree/src/Tree.d.ts +2 -0
- package/lib/upload/src/Upload.d.ts +21 -0
- package/lib/upload/src/Upload.js +5 -2
- package/lib/upload/src/UploadFile.d.ts +6 -0
- package/lib/upload/src/UploadFile.js +19 -11
- package/lib/upload/src/UploadFileList.js +5 -1
- package/lib/upload/src/UploadProgress.d.ts +6 -0
- package/lib/upload/src/interface.d.ts +10 -1
- package/lib/upload/src/styles/index.cssr.js +84 -1
- package/lib/upload/src/useUploadActionsRender.js +17 -7
- package/lib/upload/styles/light.d.ts +6 -0
- package/lib/upload/styles/light.js +4 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/src/VirtualList.d.ts +2 -0
- package/package.json +1 -1
- package/web-types.json +73 -10
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "2.4.
|
|
1
|
+
declare const _default: "2.4.5";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
|
@@ -89,6 +89,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
89
89
|
sync: () => void;
|
|
90
90
|
handleMouseEnterWrapper: () => void;
|
|
91
91
|
handleMouseLeaveWrapper: () => void;
|
|
92
|
+
resetScrollEdgeState: () => void;
|
|
92
93
|
} | null, ScrollbarInst | {
|
|
93
94
|
$el: HTMLElement;
|
|
94
95
|
containerRef: HTMLElement | null;
|
|
@@ -100,6 +101,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
100
101
|
sync: () => void;
|
|
101
102
|
handleMouseEnterWrapper: () => void;
|
|
102
103
|
handleMouseLeaveWrapper: () => void;
|
|
104
|
+
resetScrollEdgeState: () => void;
|
|
103
105
|
} | null>;
|
|
104
106
|
virtualListInstRef: import("vue").Ref<{
|
|
105
107
|
listElRef: HTMLElement;
|
package/package.json
CHANGED
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": "2.4.
|
|
5
|
+
"version": "2.4.5",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -4131,6 +4131,16 @@
|
|
|
4131
4131
|
"type": "boolean",
|
|
4132
4132
|
"description": "Whether to use virtual scroll to deal with large data. Make sure `max-height` is set before using it. When `virtual-scroll` is `true`, `rowSpan` will not take effect.",
|
|
4133
4133
|
"default": "false"
|
|
4134
|
+
},
|
|
4135
|
+
{
|
|
4136
|
+
"name": "scroll-threshold",
|
|
4137
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/data-table",
|
|
4138
|
+
"type": "number",
|
|
4139
|
+
"description": "Distance in pixels from an edge to be considered \"reached\" when detecting scroll edges.",
|
|
4140
|
+
"default": "5",
|
|
4141
|
+
"description-sections": {
|
|
4142
|
+
"since": "2.4.5"
|
|
4143
|
+
}
|
|
4134
4144
|
}
|
|
4135
4145
|
],
|
|
4136
4146
|
"js": {
|
|
@@ -4155,6 +4165,26 @@
|
|
|
4155
4165
|
"since": "2.29.1"
|
|
4156
4166
|
}
|
|
4157
4167
|
},
|
|
4168
|
+
{
|
|
4169
|
+
"name": "scroll-to-top",
|
|
4170
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/data-table",
|
|
4171
|
+
"type": "() => void",
|
|
4172
|
+
"description": "Callback fired once when the table body scroll position reaches the top edge while scrolling up. Works with both normal and `virtual-scroll` modes.",
|
|
4173
|
+
"default": "undefined",
|
|
4174
|
+
"description-sections": {
|
|
4175
|
+
"since": "2.4.5"
|
|
4176
|
+
}
|
|
4177
|
+
},
|
|
4178
|
+
{
|
|
4179
|
+
"name": "scroll-to-bottom",
|
|
4180
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/data-table",
|
|
4181
|
+
"type": "() => void",
|
|
4182
|
+
"description": "Callback fired once when the table body scroll position reaches the bottom edge while scrolling down. Works with both normal and `virtual-scroll` modes.",
|
|
4183
|
+
"default": "undefined",
|
|
4184
|
+
"description-sections": {
|
|
4185
|
+
"since": "2.4.5"
|
|
4186
|
+
}
|
|
4187
|
+
},
|
|
4158
4188
|
{
|
|
4159
4189
|
"name": "update:checked-row-keys",
|
|
4160
4190
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/data-table",
|
|
@@ -13025,6 +13055,16 @@
|
|
|
13025
13055
|
"description-sections": {
|
|
13026
13056
|
"since": "2.40.0"
|
|
13027
13057
|
}
|
|
13058
|
+
},
|
|
13059
|
+
{
|
|
13060
|
+
"name": "scroll-threshold",
|
|
13061
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/scrollbar",
|
|
13062
|
+
"type": "number",
|
|
13063
|
+
"description": "Distance in pixels from an edge to be considered \"reached\" when detecting scroll edges.",
|
|
13064
|
+
"default": "5",
|
|
13065
|
+
"description-sections": {
|
|
13066
|
+
"since": "2.4.5"
|
|
13067
|
+
}
|
|
13028
13068
|
}
|
|
13029
13069
|
],
|
|
13030
13070
|
"js": {
|
|
@@ -13035,6 +13075,26 @@
|
|
|
13035
13075
|
"type": "(e: Event) => void",
|
|
13036
13076
|
"description": "Callback on scroll.",
|
|
13037
13077
|
"default": "undefined"
|
|
13078
|
+
},
|
|
13079
|
+
{
|
|
13080
|
+
"name": "scroll-to-top",
|
|
13081
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/scrollbar",
|
|
13082
|
+
"type": "() => void",
|
|
13083
|
+
"description": "Callback fired once when the scroll position reaches the top edge while scrolling up.",
|
|
13084
|
+
"default": "undefined",
|
|
13085
|
+
"description-sections": {
|
|
13086
|
+
"since": "2.4.5"
|
|
13087
|
+
}
|
|
13088
|
+
},
|
|
13089
|
+
{
|
|
13090
|
+
"name": "scroll-to-bottom",
|
|
13091
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/scrollbar",
|
|
13092
|
+
"type": "() => void",
|
|
13093
|
+
"description": "Callback fired once when the scroll position reaches the bottom edge while scrolling down.",
|
|
13094
|
+
"default": "undefined",
|
|
13095
|
+
"description-sections": {
|
|
13096
|
+
"since": "2.4.5"
|
|
13097
|
+
}
|
|
13038
13098
|
}
|
|
13039
13099
|
]
|
|
13040
13100
|
}
|
|
@@ -17411,7 +17471,7 @@
|
|
|
17411
17471
|
"name": "image-group-props",
|
|
17412
17472
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
17413
17473
|
"type": "ImageGroupProps",
|
|
17414
|
-
"description": "Props of the `u-image-group` used for image preview. See [ImageGroup Props](image#ImageGroup-Props). With `list-type=\"preview-list\"` the `src-list`, `show` and `current` props of the group are managed by the component.",
|
|
17474
|
+
"description": "Props of the `u-image-group` used for image preview. See [ImageGroup Props](image#ImageGroup-Props). With `list-type=\"preview-list\"` or `list-type=\"preview-card\"` the `src-list`, `show` and `current` props of the group are managed by the component.",
|
|
17415
17475
|
"default": "undefined",
|
|
17416
17476
|
"description-sections": {
|
|
17417
17477
|
"since": "2.24.0"
|
|
@@ -17438,10 +17498,10 @@
|
|
|
17438
17498
|
"name": "list-type",
|
|
17439
17499
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
17440
17500
|
"type": "string",
|
|
17441
|
-
"description": "Built-in styles for file lists, `text`, `image`, `image-card` and `preview-
|
|
17501
|
+
"description": "Built-in styles for file lists, `text`, `image`, `image-card`, `preview-list` and `preview-card`. `preview-list` looks exactly like `text`, but image files are opened in the built-in image preview. `preview-card` renders the files as compact tiles: image files show their thumbnail and are opened in the built-in image preview on click, other files show a document mock; each tile has a single hover action chosen by the file status.",
|
|
17442
17502
|
"default": "'text'",
|
|
17443
17503
|
"description-sections": {
|
|
17444
|
-
"since": "`preview-list` 2.3.2"
|
|
17504
|
+
"since": "`preview-list` 2.3.2, `preview-card` 2.4.4"
|
|
17445
17505
|
}
|
|
17446
17506
|
},
|
|
17447
17507
|
{
|
|
@@ -17513,10 +17573,10 @@
|
|
|
17513
17573
|
"name": "should-use-thumbnail-url",
|
|
17514
17574
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
17515
17575
|
"type": "(file: UploadSettledFileInfo) => boolean",
|
|
17516
|
-
"description": "A function that determines whether to show thumbnail for the file. It only works when `list-type=\"image\"` or `list-type=\"image-card\"`. For `list-type=\"preview-list\"` it determines which files can be opened in the image preview.",
|
|
17576
|
+
"description": "A function that determines whether to show thumbnail for the file. It only works when `list-type=\"image\"` or `list-type=\"image-card\"`. For `list-type=\"preview-list\"` it determines which files can be opened in the image preview. For `list-type=\"preview-card\"` it determines which files render a thumbnail tile and can be opened in the image preview.",
|
|
17517
17577
|
"default": "A function that only returns `true` for image typed file.",
|
|
17518
17578
|
"description-sections": {
|
|
17519
|
-
"since": "2.34.0, `preview-list` 2.3.2"
|
|
17579
|
+
"since": "2.34.0, `preview-list` 2.3.2, `preview-card` 2.4.4"
|
|
17520
17580
|
}
|
|
17521
17581
|
},
|
|
17522
17582
|
{
|
|
@@ -17544,18 +17604,21 @@
|
|
|
17544
17604
|
"name": "show-preview-button",
|
|
17545
17605
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
17546
17606
|
"type": "boolean",
|
|
17547
|
-
"description": "Show a preview button (when `list-type` is `image-card` or `preview-list`). Use the `on-preview` callback to replace the built-in preview.",
|
|
17607
|
+
"description": "Show a preview button (when `list-type` is `image-card` or `preview-list`). `preview-card` has no preview button — the preview is opened by clicking the thumbnail. Use the `on-preview` callback to replace the built-in preview.",
|
|
17548
17608
|
"default": "true",
|
|
17549
17609
|
"description-sections": {
|
|
17550
|
-
"since": "`preview-list` 2.3.2"
|
|
17610
|
+
"since": "`preview-list` 2.3.2, `preview-card` 2.4.4"
|
|
17551
17611
|
}
|
|
17552
17612
|
},
|
|
17553
17613
|
{
|
|
17554
17614
|
"name": "show-remove-button",
|
|
17555
17615
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/upload",
|
|
17556
17616
|
"type": "boolean",
|
|
17557
|
-
"description": "Show a remove button (after upload completed). Use the `on-remove` callback for this event.",
|
|
17558
|
-
"default": "true"
|
|
17617
|
+
"description": "Show a remove button (after upload completed). Use the `on-remove` callback for this event. For `list-type=\"preview-card\"` the remove button is the single hover action of a finished file.",
|
|
17618
|
+
"default": "true",
|
|
17619
|
+
"description-sections": {
|
|
17620
|
+
"since": "`preview-card` 2.4.4"
|
|
17621
|
+
}
|
|
17559
17622
|
},
|
|
17560
17623
|
{
|
|
17561
17624
|
"name": "show-retry-button",
|