@uzum-tech/ui 2.4.4 → 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 +115 -41
- package/dist/index.mjs +115 -41
- 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 +88 -31
- package/es/data-table/src/DataTable.d.ts +14 -0
- package/es/data-table/src/DataTable.mjs +2 -0
- package/es/data-table/src/TableParts/Body.d.ts +2 -0
- package/es/data-table/src/interface.d.ts +7 -0
- package/es/data-table/src/interface.mjs +6 -0
- 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/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/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 +88 -31
- package/lib/data-table/src/DataTable.d.ts +14 -0
- package/lib/data-table/src/DataTable.js +2 -1
- package/lib/data-table/src/TableParts/Body.d.ts +2 -0
- package/lib/data-table/src/interface.d.ts +7 -0
- package/lib/data-table/src/interface.js +4 -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/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/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 +61 -1
package/dist/index.js
CHANGED
|
@@ -17276,6 +17276,50 @@
|
|
|
17276
17276
|
};
|
|
17277
17277
|
}
|
|
17278
17278
|
|
|
17279
|
+
function useScrollEdgeDetector(getOptions) {
|
|
17280
|
+
let lastEdgeScrollTop = 0;
|
|
17281
|
+
let scrollTopFired = false;
|
|
17282
|
+
let scrollBottomFired = false;
|
|
17283
|
+
const detectScrollEdges = event => {
|
|
17284
|
+
const options = getOptions();
|
|
17285
|
+
if (!options.onScrollToTop && !options.onScrollToBottom) return;
|
|
17286
|
+
const target = event.target;
|
|
17287
|
+
if (!target) return;
|
|
17288
|
+
const {
|
|
17289
|
+
scrollTop,
|
|
17290
|
+
scrollHeight,
|
|
17291
|
+
clientHeight
|
|
17292
|
+
} = target;
|
|
17293
|
+
const scrollDirection = scrollTop > lastEdgeScrollTop ? "down" : "up";
|
|
17294
|
+
const nearTop = scrollTop <= options.scrollThreshold;
|
|
17295
|
+
const nearBottom = scrollHeight - (scrollTop + clientHeight) <= options.scrollThreshold;
|
|
17296
|
+
if (scrollTop > options.scrollThreshold) {
|
|
17297
|
+
scrollTopFired = false;
|
|
17298
|
+
}
|
|
17299
|
+
if (scrollHeight - (scrollTop + clientHeight) > options.scrollThreshold) {
|
|
17300
|
+
scrollBottomFired = false;
|
|
17301
|
+
}
|
|
17302
|
+
if (nearTop && scrollDirection === "up" && !scrollTopFired) {
|
|
17303
|
+
scrollTopFired = true;
|
|
17304
|
+
options.onScrollToTop?.();
|
|
17305
|
+
}
|
|
17306
|
+
if (nearBottom && scrollDirection === "down" && !scrollBottomFired) {
|
|
17307
|
+
scrollBottomFired = true;
|
|
17308
|
+
options.onScrollToBottom?.();
|
|
17309
|
+
}
|
|
17310
|
+
lastEdgeScrollTop = scrollTop;
|
|
17311
|
+
};
|
|
17312
|
+
const resetScrollEdgeState = () => {
|
|
17313
|
+
lastEdgeScrollTop = 0;
|
|
17314
|
+
scrollTopFired = false;
|
|
17315
|
+
scrollBottomFired = false;
|
|
17316
|
+
};
|
|
17317
|
+
return {
|
|
17318
|
+
detectScrollEdges,
|
|
17319
|
+
resetScrollEdgeState
|
|
17320
|
+
};
|
|
17321
|
+
}
|
|
17322
|
+
|
|
17279
17323
|
const commonVars$a = {
|
|
17280
17324
|
railInsetHorizontalBottom: "auto 2px 4px 2px",
|
|
17281
17325
|
railInsetHorizontalTop: "4px 2px auto 2px",
|
|
@@ -17421,6 +17465,12 @@
|
|
|
17421
17465
|
onScroll: Function,
|
|
17422
17466
|
onWheel: Function,
|
|
17423
17467
|
onResize: Function,
|
|
17468
|
+
onScrollToTop: Function,
|
|
17469
|
+
onScrollToBottom: Function,
|
|
17470
|
+
scrollThreshold: {
|
|
17471
|
+
type: Number,
|
|
17472
|
+
default: 5
|
|
17473
|
+
},
|
|
17424
17474
|
internalOnUpdateScrollLeft: Function,
|
|
17425
17475
|
internalHoistYRail: Boolean,
|
|
17426
17476
|
yPlacement: {
|
|
@@ -17468,6 +17518,9 @@
|
|
|
17468
17518
|
let memoMouseY = 0;
|
|
17469
17519
|
let previousScrollHeight = 0;
|
|
17470
17520
|
let previousScrollTop = 0;
|
|
17521
|
+
const { detectScrollEdges, resetScrollEdgeState } = useScrollEdgeDetector(
|
|
17522
|
+
() => props
|
|
17523
|
+
);
|
|
17471
17524
|
const isIos = useIsIos();
|
|
17472
17525
|
const themeRef = useTheme(
|
|
17473
17526
|
"SafeTopScrollbar",
|
|
@@ -17720,6 +17773,7 @@
|
|
|
17720
17773
|
previousScrollTop = container.scrollTop;
|
|
17721
17774
|
}
|
|
17722
17775
|
syncScrollState();
|
|
17776
|
+
detectScrollEdges(e);
|
|
17723
17777
|
}
|
|
17724
17778
|
function syncScrollState() {
|
|
17725
17779
|
const { value: container } = mergedContainerRef;
|
|
@@ -18021,7 +18075,8 @@
|
|
|
18021
18075
|
handleMouseEnterWrapper,
|
|
18022
18076
|
handleMouseLeaveWrapper,
|
|
18023
18077
|
getScrollState,
|
|
18024
|
-
adjustScrollTop
|
|
18078
|
+
adjustScrollTop,
|
|
18079
|
+
resetScrollEdgeState
|
|
18025
18080
|
};
|
|
18026
18081
|
return {
|
|
18027
18082
|
...exposedMethods,
|
|
@@ -18348,6 +18403,12 @@
|
|
|
18348
18403
|
onScroll: Function,
|
|
18349
18404
|
onWheel: Function,
|
|
18350
18405
|
onResize: Function,
|
|
18406
|
+
onScrollToTop: Function,
|
|
18407
|
+
onScrollToBottom: Function,
|
|
18408
|
+
scrollThreshold: {
|
|
18409
|
+
type: Number,
|
|
18410
|
+
default: 5
|
|
18411
|
+
},
|
|
18351
18412
|
internalOnUpdateScrollLeft: Function,
|
|
18352
18413
|
internalHoistYRail: Boolean,
|
|
18353
18414
|
yPlacement: {
|
|
@@ -18389,6 +18450,9 @@
|
|
|
18389
18450
|
let memoXLeft = 0;
|
|
18390
18451
|
let memoMouseX = 0;
|
|
18391
18452
|
let memoMouseY = 0;
|
|
18453
|
+
const { detectScrollEdges, resetScrollEdgeState } = useScrollEdgeDetector(
|
|
18454
|
+
() => props
|
|
18455
|
+
);
|
|
18392
18456
|
const isIos = useIsIos();
|
|
18393
18457
|
const themeRef = useTheme(
|
|
18394
18458
|
"Scrollbar",
|
|
@@ -18623,6 +18687,7 @@
|
|
|
18623
18687
|
if (onScroll)
|
|
18624
18688
|
onScroll(e);
|
|
18625
18689
|
syncScrollState();
|
|
18690
|
+
detectScrollEdges(e);
|
|
18626
18691
|
}
|
|
18627
18692
|
function syncScrollState() {
|
|
18628
18693
|
const { value: container } = mergedContainerRef;
|
|
@@ -18895,7 +18960,8 @@
|
|
|
18895
18960
|
sync,
|
|
18896
18961
|
syncUnifiedContainer,
|
|
18897
18962
|
handleMouseEnterWrapper,
|
|
18898
|
-
handleMouseLeaveWrapper
|
|
18963
|
+
handleMouseLeaveWrapper,
|
|
18964
|
+
resetScrollEdgeState
|
|
18899
18965
|
};
|
|
18900
18966
|
return {
|
|
18901
18967
|
...exposedMethods,
|
|
@@ -51970,6 +52036,9 @@
|
|
|
51970
52036
|
trigger: String,
|
|
51971
52037
|
xScrollable: Boolean,
|
|
51972
52038
|
onScroll: Function,
|
|
52039
|
+
onScrollToTop: Function,
|
|
52040
|
+
onScrollToBottom: Function,
|
|
52041
|
+
scrollThreshold: Number,
|
|
51973
52042
|
size: Number
|
|
51974
52043
|
};
|
|
51975
52044
|
const SafeTopScrollbar = vue.defineComponent({
|
|
@@ -51993,6 +52062,9 @@
|
|
|
51993
52062
|
},
|
|
51994
52063
|
adjustScrollTop: (heightDiff) => {
|
|
51995
52064
|
scrollbarInstRef.value?.adjustScrollTop(heightDiff);
|
|
52065
|
+
},
|
|
52066
|
+
resetScrollEdgeState: () => {
|
|
52067
|
+
scrollbarInstRef.value?.resetScrollEdgeState();
|
|
51996
52068
|
}
|
|
51997
52069
|
};
|
|
51998
52070
|
return {
|
|
@@ -95212,9 +95284,6 @@ img.ProseMirror-separator {
|
|
|
95212
95284
|
});
|
|
95213
95285
|
const attachmentFileList = vue.ref([]);
|
|
95214
95286
|
const uploadedAttachmentsMap = vue.ref(/* @__PURE__ */ new Map());
|
|
95215
|
-
const lastScrollTop = vue.ref(0);
|
|
95216
|
-
const scrollTopFired = vue.ref(false);
|
|
95217
|
-
const scrollBottomFired = vue.ref(false);
|
|
95218
95287
|
const editingMessage = vue.ref(null);
|
|
95219
95288
|
const unreadMessagesCount = vue.computed(() => {
|
|
95220
95289
|
if (!messagesRef.value)
|
|
@@ -95237,9 +95306,9 @@ img.ProseMirror-separator {
|
|
|
95237
95306
|
const unreadBeforeRead = unreadCountsBeforeReadRef.value[newChat.id] || 0;
|
|
95238
95307
|
unreadCountOnOpen.value = unreadBeforeRead;
|
|
95239
95308
|
lastMessageId.value = null;
|
|
95240
|
-
|
|
95241
|
-
|
|
95242
|
-
|
|
95309
|
+
const scrollbarInst = messagesBodyRef.value;
|
|
95310
|
+
if (scrollbarInst && "resetScrollEdgeState" in scrollbarInst)
|
|
95311
|
+
scrollbarInst.resetScrollEdgeState();
|
|
95243
95312
|
shouldScrollOnLoad.value = true;
|
|
95244
95313
|
attachmentFileList.value = [];
|
|
95245
95314
|
uploadedAttachmentsMap.value.clear();
|
|
@@ -95304,31 +95373,6 @@ img.ProseMirror-separator {
|
|
|
95304
95373
|
const showUnreadNotification = vue.computed(() => {
|
|
95305
95374
|
return hasUnreadMessages.value && showNotificationManually.value;
|
|
95306
95375
|
});
|
|
95307
|
-
const handleMessagesScroll = (e) => {
|
|
95308
|
-
const target = e.target;
|
|
95309
|
-
if (!target)
|
|
95310
|
-
return;
|
|
95311
|
-
const { scrollTop, scrollHeight, clientHeight } = target;
|
|
95312
|
-
const threshold = 5;
|
|
95313
|
-
const scrollDirection = scrollTop > lastScrollTop.value ? "down" : "up";
|
|
95314
|
-
const nearTop = scrollTop <= threshold;
|
|
95315
|
-
const nearBottom = scrollHeight - (scrollTop + clientHeight) <= threshold;
|
|
95316
|
-
if (scrollTop > threshold) {
|
|
95317
|
-
scrollTopFired.value = false;
|
|
95318
|
-
}
|
|
95319
|
-
if (scrollHeight - (scrollTop + clientHeight) > threshold) {
|
|
95320
|
-
scrollBottomFired.value = false;
|
|
95321
|
-
}
|
|
95322
|
-
if (nearTop && scrollDirection === "up" && !scrollTopFired.value) {
|
|
95323
|
-
scrollTopFired.value = true;
|
|
95324
|
-
onMessagesScrollToTop?.value?.();
|
|
95325
|
-
}
|
|
95326
|
-
if (nearBottom && scrollDirection === "down" && !scrollBottomFired.value) {
|
|
95327
|
-
scrollBottomFired.value = true;
|
|
95328
|
-
onMessagesScrollToBottom?.value?.();
|
|
95329
|
-
}
|
|
95330
|
-
lastScrollTop.value = scrollTop;
|
|
95331
|
-
};
|
|
95332
95376
|
function scrollToBottom() {
|
|
95333
95377
|
const element = messagesBodyRef.value;
|
|
95334
95378
|
if (!element)
|
|
@@ -95572,7 +95616,8 @@ img.ProseMirror-separator {
|
|
|
95572
95616
|
handleFooterUpdateValue,
|
|
95573
95617
|
handleFooterSend,
|
|
95574
95618
|
cancelEditingMessage,
|
|
95575
|
-
|
|
95619
|
+
onMessagesScrollToTop,
|
|
95620
|
+
onMessagesScrollToBottom,
|
|
95576
95621
|
scrollToBottom
|
|
95577
95622
|
};
|
|
95578
95623
|
},
|
|
@@ -95593,7 +95638,8 @@ img.ProseMirror-separator {
|
|
|
95593
95638
|
{
|
|
95594
95639
|
ref: "messagesBodyRef",
|
|
95595
95640
|
class: `${mergedClsPrefix}-chat-main__body`,
|
|
95596
|
-
|
|
95641
|
+
onScrollToTop: () => this.onMessagesScrollToTop?.(),
|
|
95642
|
+
onScrollToBottom: () => this.onMessagesScrollToBottom?.()
|
|
95597
95643
|
},
|
|
95598
95644
|
{
|
|
95599
95645
|
default: () => /* @__PURE__ */ vue.h(
|
|
@@ -95651,6 +95697,9 @@ img.ProseMirror-separator {
|
|
|
95651
95697
|
trigger: String,
|
|
95652
95698
|
xScrollable: Boolean,
|
|
95653
95699
|
onScroll: Function,
|
|
95700
|
+
onScrollToTop: Function,
|
|
95701
|
+
onScrollToBottom: Function,
|
|
95702
|
+
scrollThreshold: Number,
|
|
95654
95703
|
contentClass: String,
|
|
95655
95704
|
contentStyle: [Object, String],
|
|
95656
95705
|
size: Number,
|
|
@@ -95674,6 +95723,9 @@ img.ProseMirror-separator {
|
|
|
95674
95723
|
},
|
|
95675
95724
|
scrollBy: (...args) => {
|
|
95676
95725
|
scrollbarInstRef.value?.scrollBy(args[0], args[1]);
|
|
95726
|
+
},
|
|
95727
|
+
resetScrollEdgeState: () => {
|
|
95728
|
+
scrollbarInstRef.value?.resetScrollEdgeState();
|
|
95677
95729
|
}
|
|
95678
95730
|
};
|
|
95679
95731
|
return {
|
|
@@ -106915,6 +106967,12 @@ img.ProseMirror-separator {
|
|
|
106915
106967
|
"onUpdate:expandedRowKeys": [Function, Array],
|
|
106916
106968
|
onUpdateExpandedRowKeys: [Function, Array],
|
|
106917
106969
|
onScroll: Function,
|
|
106970
|
+
onScrollToTop: Function,
|
|
106971
|
+
onScrollToBottom: Function,
|
|
106972
|
+
scrollThreshold: {
|
|
106973
|
+
type: Number,
|
|
106974
|
+
default: 5
|
|
106975
|
+
},
|
|
106918
106976
|
// deprecated
|
|
106919
106977
|
onPageChange: [Function, Array],
|
|
106920
106978
|
onPageSizeChange: [Function, Array],
|
|
@@ -111309,6 +111367,10 @@ img.ProseMirror-separator {
|
|
|
111309
111367
|
const leftActiveFixedChildrenColKeysRef = vue.ref([]);
|
|
111310
111368
|
const rightActiveFixedColKeyRef = vue.ref(null);
|
|
111311
111369
|
const rightActiveFixedChildrenColKeysRef = vue.ref([]);
|
|
111370
|
+
const {
|
|
111371
|
+
detectScrollEdges,
|
|
111372
|
+
resetScrollEdgeState
|
|
111373
|
+
} = useScrollEdgeDetector(() => props);
|
|
111312
111374
|
const styleScrollXRef = vue.computed(() => {
|
|
111313
111375
|
return formatLength(props.scrollX);
|
|
111314
111376
|
});
|
|
@@ -111453,6 +111515,7 @@ img.ProseMirror-separator {
|
|
|
111453
111515
|
}
|
|
111454
111516
|
function handleTableBodyScroll(event) {
|
|
111455
111517
|
props.onScroll?.(event);
|
|
111518
|
+
detectScrollEdges(event);
|
|
111456
111519
|
if (scrollPartRef.value !== "head") {
|
|
111457
111520
|
beforeNextFrameOnce(syncScrollState);
|
|
111458
111521
|
} else {
|
|
@@ -111512,7 +111575,8 @@ img.ProseMirror-separator {
|
|
|
111512
111575
|
syncScrollState,
|
|
111513
111576
|
handleTableBodyScroll,
|
|
111514
111577
|
handleTableHeaderScroll,
|
|
111515
|
-
setHeaderScrollLeft
|
|
111578
|
+
setHeaderScrollLeft,
|
|
111579
|
+
resetScrollEdgeState
|
|
111516
111580
|
};
|
|
111517
111581
|
}
|
|
111518
111582
|
|
|
@@ -112223,6 +112287,7 @@ img.ProseMirror-separator {
|
|
|
112223
112287
|
handleTableHeaderScroll,
|
|
112224
112288
|
syncScrollState,
|
|
112225
112289
|
setHeaderScrollLeft,
|
|
112290
|
+
resetScrollEdgeState,
|
|
112226
112291
|
leftActiveFixedColKeyRef,
|
|
112227
112292
|
leftActiveFixedChildrenColKeysRef,
|
|
112228
112293
|
rightActiveFixedColKeyRef,
|
|
@@ -112707,6 +112772,7 @@ img.ProseMirror-separator {
|
|
|
112707
112772
|
scrollTo: (arg0, arg1) => {
|
|
112708
112773
|
mainTableInstRef.value?.scrollTo(arg0, arg1);
|
|
112709
112774
|
},
|
|
112775
|
+
resetScrollEdgeState,
|
|
112710
112776
|
getData: () => {
|
|
112711
112777
|
const originalData = props.data || [];
|
|
112712
112778
|
const totalRowData = autoSummaryRef.value && rawPaginatedDataRef.value ? autoSummaryRef.value(rawPaginatedDataRef.value) : null;
|
|
@@ -118927,11 +118993,14 @@ img.ProseMirror-separator {
|
|
|
118927
118993
|
}
|
|
118928
118994
|
}
|
|
118929
118995
|
function handleClear() {
|
|
118930
|
-
doUpdateValue(null, { doConfirm: false });
|
|
118931
118996
|
doUpdateShow(false);
|
|
118932
118997
|
inputInstRef.value?.deactivate?.();
|
|
118933
118998
|
doClear();
|
|
118934
118999
|
}
|
|
119000
|
+
function handleSelectionClear() {
|
|
119001
|
+
handleClear();
|
|
119002
|
+
doUpdateValue(null, { doConfirm: false });
|
|
119003
|
+
}
|
|
118935
119004
|
function handlePanelClear() {
|
|
118936
119005
|
inputInstRef.value?.deactivate?.();
|
|
118937
119006
|
doClear();
|
|
@@ -119392,6 +119461,7 @@ img.ProseMirror-separator {
|
|
|
119392
119461
|
handleClickOutside,
|
|
119393
119462
|
handleKeydown,
|
|
119394
119463
|
handleClear,
|
|
119464
|
+
handleSelectionClear,
|
|
119395
119465
|
handlePanelClear,
|
|
119396
119466
|
handleTriggerClick,
|
|
119397
119467
|
handleInputActivate,
|
|
@@ -119526,7 +119596,7 @@ img.ProseMirror-separator {
|
|
|
119526
119596
|
onFocus: this.handleInputFocus,
|
|
119527
119597
|
onBlur: this.handleInputBlur,
|
|
119528
119598
|
onClick: this.handleTriggerClick,
|
|
119529
|
-
onClear: this.
|
|
119599
|
+
onClear: this.handleSelectionClear
|
|
119530
119600
|
},
|
|
119531
119601
|
{
|
|
119532
119602
|
arrow: () => this.$slots.arrow?.()
|
|
@@ -121040,7 +121110,6 @@ img.ProseMirror-separator {
|
|
|
121040
121110
|
}
|
|
121041
121111
|
}
|
|
121042
121112
|
function handleClear() {
|
|
121043
|
-
doUpdateValue(null);
|
|
121044
121113
|
doUpdateShow(false);
|
|
121045
121114
|
singleInputValueRef.value = "";
|
|
121046
121115
|
rangeStartInputValueRef.value = "";
|
|
@@ -121052,6 +121121,10 @@ img.ProseMirror-separator {
|
|
|
121052
121121
|
hoverDateRef.value = null;
|
|
121053
121122
|
}
|
|
121054
121123
|
}
|
|
121124
|
+
function handleSelectionClear() {
|
|
121125
|
+
handleClear();
|
|
121126
|
+
doUpdateValue(null);
|
|
121127
|
+
}
|
|
121055
121128
|
function handleSelect(value) {
|
|
121056
121129
|
doUpdateValue(value);
|
|
121057
121130
|
doUpdateShow(false);
|
|
@@ -121368,6 +121441,7 @@ img.ProseMirror-separator {
|
|
|
121368
121441
|
handleInputBlur,
|
|
121369
121442
|
handleClickOutside,
|
|
121370
121443
|
handleClear,
|
|
121444
|
+
handleSelectionClear,
|
|
121371
121445
|
handleSelect,
|
|
121372
121446
|
handleKeydown,
|
|
121373
121447
|
handleInputUpdateValue,
|
|
@@ -121457,7 +121531,7 @@ img.ProseMirror-separator {
|
|
|
121457
121531
|
onFocus: this.handleInputFocus,
|
|
121458
121532
|
onBlur: this.handleInputBlur,
|
|
121459
121533
|
onClick: this.handleTriggerClick,
|
|
121460
|
-
onClear: this.
|
|
121534
|
+
onClear: this.handleSelectionClear
|
|
121461
121535
|
},
|
|
121462
121536
|
{
|
|
121463
121537
|
arrow: () => this.$slots.arrow?.()
|
|
@@ -155023,7 +155097,7 @@ ${icon.label}`.toLowerCase()
|
|
|
155023
155097
|
});
|
|
155024
155098
|
}
|
|
155025
155099
|
|
|
155026
|
-
var version = "2.4.
|
|
155100
|
+
var version = "2.4.5";
|
|
155027
155101
|
|
|
155028
155102
|
function create({
|
|
155029
155103
|
componentPrefix = "U",
|