@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
|
@@ -4,25 +4,33 @@ exports.useResizable = useResizable;
|
|
|
4
4
|
const vue_1 = require("vue");
|
|
5
5
|
function useResizable() {
|
|
6
6
|
const resizableWidthsRef = (0, vue_1.ref)({});
|
|
7
|
+
const preferredWidthsRef = (0, vue_1.ref)({});
|
|
7
8
|
function getResizableWidth(key) {
|
|
8
9
|
return resizableWidthsRef.value[key];
|
|
9
10
|
}
|
|
10
11
|
function doUpdateResizableWidth(column, width) {
|
|
11
12
|
if ('key' in column) {
|
|
13
|
+
preferredWidthsRef.value[column.key] = width;
|
|
12
14
|
resizableWidthsRef.value[column.key] = width;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
15
17
|
function setResizableWidths(widths) {
|
|
16
18
|
resizableWidthsRef.value = widths;
|
|
17
19
|
}
|
|
20
|
+
function setPreferredWidths(widths) {
|
|
21
|
+
preferredWidthsRef.value = widths;
|
|
22
|
+
}
|
|
18
23
|
function clearResizableWidth() {
|
|
24
|
+
preferredWidthsRef.value = {};
|
|
19
25
|
resizableWidthsRef.value = {};
|
|
20
26
|
}
|
|
21
27
|
return {
|
|
22
28
|
getResizableWidth,
|
|
23
29
|
doUpdateResizableWidth,
|
|
24
30
|
setResizableWidths,
|
|
31
|
+
setPreferredWidths,
|
|
25
32
|
clearResizableWidth,
|
|
26
|
-
resizableWidthsRef
|
|
33
|
+
resizableWidthsRef,
|
|
34
|
+
preferredWidthsRef
|
|
27
35
|
};
|
|
28
36
|
}
|
|
@@ -4,6 +4,7 @@ exports.useScroll = useScroll;
|
|
|
4
4
|
const seemly_1 = require("seemly");
|
|
5
5
|
const vue_1 = require("vue");
|
|
6
6
|
const _utils_1 = require("../../_utils");
|
|
7
|
+
const use_scroll_edge_detector_1 = require("../../_utils/composable/use-scroll-edge-detector");
|
|
7
8
|
const utils_1 = require("./utils");
|
|
8
9
|
function useScroll(props, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef, getResizableWidth }) {
|
|
9
10
|
let lastScrollLeft = 0;
|
|
@@ -12,6 +13,7 @@ function useScroll(props, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef
|
|
|
12
13
|
const leftActiveFixedChildrenColKeysRef = (0, vue_1.ref)([]);
|
|
13
14
|
const rightActiveFixedColKeyRef = (0, vue_1.ref)(null);
|
|
14
15
|
const rightActiveFixedChildrenColKeysRef = (0, vue_1.ref)([]);
|
|
16
|
+
const { detectScrollEdges, resetScrollEdgeState } = (0, use_scroll_edge_detector_1.useScrollEdgeDetector)(() => props);
|
|
15
17
|
const styleScrollXRef = (0, vue_1.computed)(() => {
|
|
16
18
|
return (0, _utils_1.formatLength)(props.scrollX);
|
|
17
19
|
});
|
|
@@ -162,6 +164,7 @@ function useScroll(props, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef
|
|
|
162
164
|
function handleTableBodyScroll(event) {
|
|
163
165
|
var _a;
|
|
164
166
|
(_a = props.onScroll) === null || _a === void 0 ? void 0 : _a.call(props, event);
|
|
167
|
+
detectScrollEdges(event);
|
|
165
168
|
if (scrollPartRef.value !== 'head') {
|
|
166
169
|
(0, seemly_1.beforeNextFrameOnce)(syncScrollState);
|
|
167
170
|
}
|
|
@@ -225,6 +228,7 @@ function useScroll(props, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef
|
|
|
225
228
|
syncScrollState,
|
|
226
229
|
handleTableBodyScroll,
|
|
227
230
|
handleTableHeaderScroll,
|
|
228
|
-
setHeaderScrollLeft
|
|
231
|
+
setHeaderScrollLeft,
|
|
232
|
+
resetScrollEdgeState
|
|
229
233
|
};
|
|
230
234
|
}
|
|
@@ -5290,6 +5290,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
5290
5290
|
sync: () => void;
|
|
5291
5291
|
handleMouseEnterWrapper: () => void;
|
|
5292
5292
|
handleMouseLeaveWrapper: () => void;
|
|
5293
|
+
resetScrollEdgeState: () => void;
|
|
5293
5294
|
} | null | undefined;
|
|
5294
5295
|
yearVlRef?: {
|
|
5295
5296
|
listElRef: HTMLElement;
|
|
@@ -5307,6 +5308,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
5307
5308
|
sync: () => void;
|
|
5308
5309
|
handleMouseEnterWrapper: () => void;
|
|
5309
5310
|
handleMouseLeaveWrapper: () => void;
|
|
5311
|
+
resetScrollEdgeState: () => void;
|
|
5310
5312
|
} | null | undefined;
|
|
5311
5313
|
endYearScrollbarRef?: {
|
|
5312
5314
|
$el: HTMLElement;
|
|
@@ -5319,6 +5321,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
5319
5321
|
sync: () => void;
|
|
5320
5322
|
handleMouseEnterWrapper: () => void;
|
|
5321
5323
|
handleMouseLeaveWrapper: () => void;
|
|
5324
|
+
resetScrollEdgeState: () => void;
|
|
5322
5325
|
} | null | undefined;
|
|
5323
5326
|
startMonthScrollbarRef?: {
|
|
5324
5327
|
$el: HTMLElement;
|
|
@@ -5331,6 +5334,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
5331
5334
|
sync: () => void;
|
|
5332
5335
|
handleMouseEnterWrapper: () => void;
|
|
5333
5336
|
handleMouseLeaveWrapper: () => void;
|
|
5337
|
+
resetScrollEdgeState: () => void;
|
|
5334
5338
|
} | null | undefined;
|
|
5335
5339
|
endMonthScrollbarRef?: {
|
|
5336
5340
|
$el: HTMLElement;
|
|
@@ -5343,6 +5347,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
5343
5347
|
sync: () => void;
|
|
5344
5348
|
handleMouseEnterWrapper: () => void;
|
|
5345
5349
|
handleMouseLeaveWrapper: () => void;
|
|
5350
|
+
resetScrollEdgeState: () => void;
|
|
5346
5351
|
} | null | undefined;
|
|
5347
5352
|
startYearVlRef?: {
|
|
5348
5353
|
listElRef: HTMLElement;
|
|
@@ -5367,6 +5372,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
5367
5372
|
sync: () => void;
|
|
5368
5373
|
handleMouseEnterWrapper: () => void;
|
|
5369
5374
|
handleMouseLeaveWrapper: () => void;
|
|
5375
|
+
resetScrollEdgeState: () => void;
|
|
5370
5376
|
} | null | undefined;
|
|
5371
5377
|
yearVlRef?: {
|
|
5372
5378
|
listElRef: HTMLElement;
|
|
@@ -5384,6 +5390,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
5384
5390
|
sync: () => void;
|
|
5385
5391
|
handleMouseEnterWrapper: () => void;
|
|
5386
5392
|
handleMouseLeaveWrapper: () => void;
|
|
5393
|
+
resetScrollEdgeState: () => void;
|
|
5387
5394
|
} | null | undefined;
|
|
5388
5395
|
endYearScrollbarRef?: {
|
|
5389
5396
|
$el: HTMLElement;
|
|
@@ -5396,6 +5403,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
5396
5403
|
sync: () => void;
|
|
5397
5404
|
handleMouseEnterWrapper: () => void;
|
|
5398
5405
|
handleMouseLeaveWrapper: () => void;
|
|
5406
|
+
resetScrollEdgeState: () => void;
|
|
5399
5407
|
} | null | undefined;
|
|
5400
5408
|
startMonthScrollbarRef?: {
|
|
5401
5409
|
$el: HTMLElement;
|
|
@@ -5408,6 +5416,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
5408
5416
|
sync: () => void;
|
|
5409
5417
|
handleMouseEnterWrapper: () => void;
|
|
5410
5418
|
handleMouseLeaveWrapper: () => void;
|
|
5419
|
+
resetScrollEdgeState: () => void;
|
|
5411
5420
|
} | null | undefined;
|
|
5412
5421
|
endMonthScrollbarRef?: {
|
|
5413
5422
|
$el: HTMLElement;
|
|
@@ -5420,6 +5429,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
5420
5429
|
sync: () => void;
|
|
5421
5430
|
handleMouseEnterWrapper: () => void;
|
|
5422
5431
|
handleMouseLeaveWrapper: () => void;
|
|
5432
|
+
resetScrollEdgeState: () => void;
|
|
5423
5433
|
} | null | undefined;
|
|
5424
5434
|
startYearVlRef?: {
|
|
5425
5435
|
listElRef: HTMLElement;
|
|
@@ -5489,6 +5499,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
5489
5499
|
handleClickOutside: (e: MouseEvent) => void;
|
|
5490
5500
|
handleKeydown: (e: KeyboardEvent) => void;
|
|
5491
5501
|
handleClear: () => void;
|
|
5502
|
+
handleSelectionClear: () => void;
|
|
5492
5503
|
handlePanelClear: () => void;
|
|
5493
5504
|
handleTriggerClick: (e: MouseEvent) => void;
|
|
5494
5505
|
handleInputActivate: () => void;
|
|
@@ -375,11 +375,14 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
375
375
|
}
|
|
376
376
|
function handleClear() {
|
|
377
377
|
var _a, _b;
|
|
378
|
-
doUpdateValue(null, { doConfirm: false });
|
|
379
378
|
doUpdateShow(false);
|
|
380
379
|
(_b = (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.deactivate) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
381
380
|
doClear();
|
|
382
381
|
}
|
|
382
|
+
function handleSelectionClear() {
|
|
383
|
+
handleClear();
|
|
384
|
+
doUpdateValue(null, { doConfirm: false });
|
|
385
|
+
}
|
|
383
386
|
function handlePanelClear() {
|
|
384
387
|
var _a, _b;
|
|
385
388
|
// close will be called inside panel
|
|
@@ -721,6 +724,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
721
724
|
handleClickOutside,
|
|
722
725
|
handleKeydown,
|
|
723
726
|
handleClear,
|
|
727
|
+
handleSelectionClear,
|
|
724
728
|
handlePanelClear,
|
|
725
729
|
handleTriggerClick,
|
|
726
730
|
handleInputActivate,
|
|
@@ -809,7 +813,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
809
813
|
label: displayValue,
|
|
810
814
|
value: displayValue
|
|
811
815
|
}
|
|
812
|
-
: null, round: this.round, status: this.mergedStatus, clsPrefix: mergedClsPrefix, bordered: this.mergedBordered, size: this.mergedSize, theme: this.mergedTheme.peers.Select, themeOverrides: this.mergedTheme.peerOverrides.Select, placeholder: this.localizedPlacehoder, active: this.mergedShow, clearable: this.clearable, disabled: this.mergedDisabled, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onClick: this.handleTriggerClick, onClear: this.
|
|
816
|
+
: null, round: this.round, status: this.mergedStatus, clsPrefix: mergedClsPrefix, bordered: this.mergedBordered, size: this.mergedSize, theme: this.mergedTheme.peers.Select, themeOverrides: this.mergedTheme.peerOverrides.Select, placeholder: this.localizedPlacehoder, active: this.mergedShow, clearable: this.clearable, disabled: this.mergedDisabled, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onClick: this.handleTriggerClick, onClear: this.handleSelectionClear }, {
|
|
813
817
|
arrow: () => { var _a, _b; return (_b = (_a = this.$slots).arrow) === null || _b === void 0 ? void 0 : _b.call(_a); }
|
|
814
818
|
}));
|
|
815
819
|
}
|
|
@@ -3404,6 +3404,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3404
3404
|
handleInputBlur: (e: FocusEvent) => void;
|
|
3405
3405
|
handleClickOutside: (e: MouseEvent) => void;
|
|
3406
3406
|
handleClear: () => void;
|
|
3407
|
+
handleSelectionClear: () => void;
|
|
3407
3408
|
handleSelect: (value: Value | RangeValue) => void;
|
|
3408
3409
|
handleKeydown: (e: KeyboardEvent) => void;
|
|
3409
3410
|
handleInputUpdateValue: (value: string | [string, string]) => void;
|
|
@@ -329,7 +329,6 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
function handleClear() {
|
|
332
|
-
doUpdateValue(null);
|
|
333
332
|
doUpdateShow(false);
|
|
334
333
|
singleInputValueRef.value = '';
|
|
335
334
|
rangeStartInputValueRef.value = '';
|
|
@@ -342,6 +341,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
342
341
|
hoverDateRef.value = null;
|
|
343
342
|
}
|
|
344
343
|
}
|
|
344
|
+
function handleSelectionClear() {
|
|
345
|
+
handleClear();
|
|
346
|
+
doUpdateValue(null);
|
|
347
|
+
}
|
|
345
348
|
function handleSelect(value) {
|
|
346
349
|
doUpdateValue(value);
|
|
347
350
|
doUpdateShow(false);
|
|
@@ -644,6 +647,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
644
647
|
handleInputBlur,
|
|
645
648
|
handleClickOutside,
|
|
646
649
|
handleClear,
|
|
650
|
+
handleSelectionClear,
|
|
647
651
|
handleSelect,
|
|
648
652
|
handleKeydown,
|
|
649
653
|
handleInputUpdateValue,
|
|
@@ -713,7 +717,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
713
717
|
}
|
|
714
718
|
: null, round: this.round, status: this.mergedStatus, clsPrefix: mergedClsPrefix, bordered: this.mergedBordered, size: this.mergedSize, theme: (_b = (_a = this.mergedTheme) === null || _a === void 0 ? void 0 : _a.peers) === null || _b === void 0 ? void 0 : _b.Select, themeOverrides: (_d = (_c = this.mergedTheme) === null || _c === void 0 ? void 0 : _c.peerOverrides) === null || _d === void 0 ? void 0 : _d.Select, placeholder: isRange
|
|
715
719
|
? `${this.startPlaceholder} — ${this.endPlaceholder}`
|
|
716
|
-
: this.singlePlaceholder, active: this.mergedShow, clearable: this.clearable, disabled: this.mergedDisabled, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onClick: this.handleTriggerClick, onClear: this.
|
|
720
|
+
: this.singlePlaceholder, active: this.mergedShow, clearable: this.clearable, disabled: this.mergedDisabled, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onClick: this.handleTriggerClick, onClear: this.handleSelectionClear }, {
|
|
717
721
|
arrow: () => { var _a, _b; return (_b = (_a = this.$slots).arrow) === null || _b === void 0 ? void 0 : _b.call(_a); }
|
|
718
722
|
}));
|
|
719
723
|
}
|
|
@@ -26,6 +26,12 @@ export declare function useCalendarScroll(): {
|
|
|
26
26
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
27
27
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
28
28
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
29
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
30
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
31
|
+
readonly scrollThreshold: {
|
|
32
|
+
readonly type: NumberConstructor;
|
|
33
|
+
readonly default: 5;
|
|
34
|
+
};
|
|
29
35
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
30
36
|
readonly internalHoistYRail: BooleanConstructor;
|
|
31
37
|
readonly yPlacement: {
|
|
@@ -128,6 +134,7 @@ export declare function useCalendarScroll(): {
|
|
|
128
134
|
sync: () => void;
|
|
129
135
|
handleMouseEnterWrapper: () => void;
|
|
130
136
|
handleMouseLeaveWrapper: () => void;
|
|
137
|
+
resetScrollEdgeState: () => void;
|
|
131
138
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
132
139
|
readonly duration: number;
|
|
133
140
|
readonly scrollable: boolean;
|
|
@@ -135,6 +142,7 @@ export declare function useCalendarScroll(): {
|
|
|
135
142
|
readonly trigger: "none" | "hover";
|
|
136
143
|
readonly useUnifiedContainer: boolean;
|
|
137
144
|
readonly triggerDisplayManually: boolean;
|
|
145
|
+
readonly scrollThreshold: number;
|
|
138
146
|
readonly internalHoistYRail: boolean;
|
|
139
147
|
readonly yPlacement: "left" | "right";
|
|
140
148
|
readonly xPlacement: "top" | "bottom";
|
|
@@ -172,6 +180,12 @@ export declare function useCalendarScroll(): {
|
|
|
172
180
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
173
181
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
174
182
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
183
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
184
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
185
|
+
readonly scrollThreshold: {
|
|
186
|
+
readonly type: NumberConstructor;
|
|
187
|
+
readonly default: 5;
|
|
188
|
+
};
|
|
175
189
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
176
190
|
readonly internalHoistYRail: BooleanConstructor;
|
|
177
191
|
readonly yPlacement: {
|
|
@@ -274,6 +288,7 @@ export declare function useCalendarScroll(): {
|
|
|
274
288
|
sync: () => void;
|
|
275
289
|
handleMouseEnterWrapper: () => void;
|
|
276
290
|
handleMouseLeaveWrapper: () => void;
|
|
291
|
+
resetScrollEdgeState: () => void;
|
|
277
292
|
}, {}, {}, {}, {
|
|
278
293
|
readonly duration: number;
|
|
279
294
|
readonly scrollable: boolean;
|
|
@@ -281,6 +296,7 @@ export declare function useCalendarScroll(): {
|
|
|
281
296
|
readonly trigger: "none" | "hover";
|
|
282
297
|
readonly useUnifiedContainer: boolean;
|
|
283
298
|
readonly triggerDisplayManually: boolean;
|
|
299
|
+
readonly scrollThreshold: number;
|
|
284
300
|
readonly internalHoistYRail: boolean;
|
|
285
301
|
readonly yPlacement: "left" | "right";
|
|
286
302
|
readonly xPlacement: "top" | "bottom";
|
|
@@ -311,6 +327,12 @@ export declare function useCalendarScroll(): {
|
|
|
311
327
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
312
328
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
313
329
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
330
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
331
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
332
|
+
readonly scrollThreshold: {
|
|
333
|
+
readonly type: NumberConstructor;
|
|
334
|
+
readonly default: 5;
|
|
335
|
+
};
|
|
314
336
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
315
337
|
readonly internalHoistYRail: BooleanConstructor;
|
|
316
338
|
readonly yPlacement: {
|
|
@@ -413,6 +435,7 @@ export declare function useCalendarScroll(): {
|
|
|
413
435
|
sync: () => void;
|
|
414
436
|
handleMouseEnterWrapper: () => void;
|
|
415
437
|
handleMouseLeaveWrapper: () => void;
|
|
438
|
+
resetScrollEdgeState: () => void;
|
|
416
439
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
417
440
|
readonly duration: number;
|
|
418
441
|
readonly scrollable: boolean;
|
|
@@ -420,6 +443,7 @@ export declare function useCalendarScroll(): {
|
|
|
420
443
|
readonly trigger: "none" | "hover";
|
|
421
444
|
readonly useUnifiedContainer: boolean;
|
|
422
445
|
readonly triggerDisplayManually: boolean;
|
|
446
|
+
readonly scrollThreshold: number;
|
|
423
447
|
readonly internalHoistYRail: boolean;
|
|
424
448
|
readonly yPlacement: "left" | "right";
|
|
425
449
|
readonly xPlacement: "top" | "bottom";
|
|
@@ -457,6 +481,12 @@ export declare function useCalendarScroll(): {
|
|
|
457
481
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
458
482
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
459
483
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
484
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
485
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
486
|
+
readonly scrollThreshold: {
|
|
487
|
+
readonly type: NumberConstructor;
|
|
488
|
+
readonly default: 5;
|
|
489
|
+
};
|
|
460
490
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
461
491
|
readonly internalHoistYRail: BooleanConstructor;
|
|
462
492
|
readonly yPlacement: {
|
|
@@ -559,6 +589,7 @@ export declare function useCalendarScroll(): {
|
|
|
559
589
|
sync: () => void;
|
|
560
590
|
handleMouseEnterWrapper: () => void;
|
|
561
591
|
handleMouseLeaveWrapper: () => void;
|
|
592
|
+
resetScrollEdgeState: () => void;
|
|
562
593
|
}, {}, {}, {}, {
|
|
563
594
|
readonly duration: number;
|
|
564
595
|
readonly scrollable: boolean;
|
|
@@ -566,6 +597,7 @@ export declare function useCalendarScroll(): {
|
|
|
566
597
|
readonly trigger: "none" | "hover";
|
|
567
598
|
readonly useUnifiedContainer: boolean;
|
|
568
599
|
readonly triggerDisplayManually: boolean;
|
|
600
|
+
readonly scrollThreshold: number;
|
|
569
601
|
readonly internalHoistYRail: boolean;
|
|
570
602
|
readonly yPlacement: "left" | "right";
|
|
571
603
|
readonly xPlacement: "top" | "bottom";
|
|
@@ -597,6 +629,12 @@ export declare function useCalendarScroll(): {
|
|
|
597
629
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
598
630
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
599
631
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
632
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
633
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
634
|
+
readonly scrollThreshold: {
|
|
635
|
+
readonly type: NumberConstructor;
|
|
636
|
+
readonly default: 5;
|
|
637
|
+
};
|
|
600
638
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
601
639
|
readonly internalHoistYRail: BooleanConstructor;
|
|
602
640
|
readonly yPlacement: {
|
|
@@ -699,6 +737,7 @@ export declare function useCalendarScroll(): {
|
|
|
699
737
|
sync: () => void;
|
|
700
738
|
handleMouseEnterWrapper: () => void;
|
|
701
739
|
handleMouseLeaveWrapper: () => void;
|
|
740
|
+
resetScrollEdgeState: () => void;
|
|
702
741
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
703
742
|
readonly duration: number;
|
|
704
743
|
readonly scrollable: boolean;
|
|
@@ -706,6 +745,7 @@ export declare function useCalendarScroll(): {
|
|
|
706
745
|
readonly trigger: "none" | "hover";
|
|
707
746
|
readonly useUnifiedContainer: boolean;
|
|
708
747
|
readonly triggerDisplayManually: boolean;
|
|
748
|
+
readonly scrollThreshold: number;
|
|
709
749
|
readonly internalHoistYRail: boolean;
|
|
710
750
|
readonly yPlacement: "left" | "right";
|
|
711
751
|
readonly xPlacement: "top" | "bottom";
|
|
@@ -743,6 +783,12 @@ export declare function useCalendarScroll(): {
|
|
|
743
783
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
744
784
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
745
785
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
786
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
787
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
788
|
+
readonly scrollThreshold: {
|
|
789
|
+
readonly type: NumberConstructor;
|
|
790
|
+
readonly default: 5;
|
|
791
|
+
};
|
|
746
792
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
747
793
|
readonly internalHoistYRail: BooleanConstructor;
|
|
748
794
|
readonly yPlacement: {
|
|
@@ -845,6 +891,7 @@ export declare function useCalendarScroll(): {
|
|
|
845
891
|
sync: () => void;
|
|
846
892
|
handleMouseEnterWrapper: () => void;
|
|
847
893
|
handleMouseLeaveWrapper: () => void;
|
|
894
|
+
resetScrollEdgeState: () => void;
|
|
848
895
|
}, {}, {}, {}, {
|
|
849
896
|
readonly duration: number;
|
|
850
897
|
readonly scrollable: boolean;
|
|
@@ -852,6 +899,7 @@ export declare function useCalendarScroll(): {
|
|
|
852
899
|
readonly trigger: "none" | "hover";
|
|
853
900
|
readonly useUnifiedContainer: boolean;
|
|
854
901
|
readonly triggerDisplayManually: boolean;
|
|
902
|
+
readonly scrollThreshold: number;
|
|
855
903
|
readonly internalHoistYRail: boolean;
|
|
856
904
|
readonly yPlacement: "left" | "right";
|
|
857
905
|
readonly xPlacement: "top" | "bottom";
|
|
@@ -882,6 +930,12 @@ export declare function useCalendarScroll(): {
|
|
|
882
930
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
883
931
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
884
932
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
933
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
934
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
935
|
+
readonly scrollThreshold: {
|
|
936
|
+
readonly type: NumberConstructor;
|
|
937
|
+
readonly default: 5;
|
|
938
|
+
};
|
|
885
939
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
886
940
|
readonly internalHoistYRail: BooleanConstructor;
|
|
887
941
|
readonly yPlacement: {
|
|
@@ -984,6 +1038,7 @@ export declare function useCalendarScroll(): {
|
|
|
984
1038
|
sync: () => void;
|
|
985
1039
|
handleMouseEnterWrapper: () => void;
|
|
986
1040
|
handleMouseLeaveWrapper: () => void;
|
|
1041
|
+
resetScrollEdgeState: () => void;
|
|
987
1042
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
988
1043
|
readonly duration: number;
|
|
989
1044
|
readonly scrollable: boolean;
|
|
@@ -991,6 +1046,7 @@ export declare function useCalendarScroll(): {
|
|
|
991
1046
|
readonly trigger: "none" | "hover";
|
|
992
1047
|
readonly useUnifiedContainer: boolean;
|
|
993
1048
|
readonly triggerDisplayManually: boolean;
|
|
1049
|
+
readonly scrollThreshold: number;
|
|
994
1050
|
readonly internalHoistYRail: boolean;
|
|
995
1051
|
readonly yPlacement: "left" | "right";
|
|
996
1052
|
readonly xPlacement: "top" | "bottom";
|
|
@@ -1028,6 +1084,12 @@ export declare function useCalendarScroll(): {
|
|
|
1028
1084
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
1029
1085
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
1030
1086
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
1087
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
1088
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
1089
|
+
readonly scrollThreshold: {
|
|
1090
|
+
readonly type: NumberConstructor;
|
|
1091
|
+
readonly default: 5;
|
|
1092
|
+
};
|
|
1031
1093
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
1032
1094
|
readonly internalHoistYRail: BooleanConstructor;
|
|
1033
1095
|
readonly yPlacement: {
|
|
@@ -1130,6 +1192,7 @@ export declare function useCalendarScroll(): {
|
|
|
1130
1192
|
sync: () => void;
|
|
1131
1193
|
handleMouseEnterWrapper: () => void;
|
|
1132
1194
|
handleMouseLeaveWrapper: () => void;
|
|
1195
|
+
resetScrollEdgeState: () => void;
|
|
1133
1196
|
}, {}, {}, {}, {
|
|
1134
1197
|
readonly duration: number;
|
|
1135
1198
|
readonly scrollable: boolean;
|
|
@@ -1137,6 +1200,7 @@ export declare function useCalendarScroll(): {
|
|
|
1137
1200
|
readonly trigger: "none" | "hover";
|
|
1138
1201
|
readonly useUnifiedContainer: boolean;
|
|
1139
1202
|
readonly triggerDisplayManually: boolean;
|
|
1203
|
+
readonly scrollThreshold: number;
|
|
1140
1204
|
readonly internalHoistYRail: boolean;
|
|
1141
1205
|
readonly yPlacement: "left" | "right";
|
|
1142
1206
|
readonly xPlacement: "top" | "bottom";
|
|
@@ -1168,6 +1232,12 @@ export declare function useCalendarScroll(): {
|
|
|
1168
1232
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
1169
1233
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
1170
1234
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
1235
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
1236
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
1237
|
+
readonly scrollThreshold: {
|
|
1238
|
+
readonly type: NumberConstructor;
|
|
1239
|
+
readonly default: 5;
|
|
1240
|
+
};
|
|
1171
1241
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
1172
1242
|
readonly internalHoistYRail: BooleanConstructor;
|
|
1173
1243
|
readonly yPlacement: {
|
|
@@ -1270,6 +1340,7 @@ export declare function useCalendarScroll(): {
|
|
|
1270
1340
|
sync: () => void;
|
|
1271
1341
|
handleMouseEnterWrapper: () => void;
|
|
1272
1342
|
handleMouseLeaveWrapper: () => void;
|
|
1343
|
+
resetScrollEdgeState: () => void;
|
|
1273
1344
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
1274
1345
|
readonly duration: number;
|
|
1275
1346
|
readonly scrollable: boolean;
|
|
@@ -1277,6 +1348,7 @@ export declare function useCalendarScroll(): {
|
|
|
1277
1348
|
readonly trigger: "none" | "hover";
|
|
1278
1349
|
readonly useUnifiedContainer: boolean;
|
|
1279
1350
|
readonly triggerDisplayManually: boolean;
|
|
1351
|
+
readonly scrollThreshold: number;
|
|
1280
1352
|
readonly internalHoistYRail: boolean;
|
|
1281
1353
|
readonly yPlacement: "left" | "right";
|
|
1282
1354
|
readonly xPlacement: "top" | "bottom";
|
|
@@ -1314,6 +1386,12 @@ export declare function useCalendarScroll(): {
|
|
|
1314
1386
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
1315
1387
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
1316
1388
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
1389
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
1390
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
1391
|
+
readonly scrollThreshold: {
|
|
1392
|
+
readonly type: NumberConstructor;
|
|
1393
|
+
readonly default: 5;
|
|
1394
|
+
};
|
|
1317
1395
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
1318
1396
|
readonly internalHoistYRail: BooleanConstructor;
|
|
1319
1397
|
readonly yPlacement: {
|
|
@@ -1416,6 +1494,7 @@ export declare function useCalendarScroll(): {
|
|
|
1416
1494
|
sync: () => void;
|
|
1417
1495
|
handleMouseEnterWrapper: () => void;
|
|
1418
1496
|
handleMouseLeaveWrapper: () => void;
|
|
1497
|
+
resetScrollEdgeState: () => void;
|
|
1419
1498
|
}, {}, {}, {}, {
|
|
1420
1499
|
readonly duration: number;
|
|
1421
1500
|
readonly scrollable: boolean;
|
|
@@ -1423,6 +1502,7 @@ export declare function useCalendarScroll(): {
|
|
|
1423
1502
|
readonly trigger: "none" | "hover";
|
|
1424
1503
|
readonly useUnifiedContainer: boolean;
|
|
1425
1504
|
readonly triggerDisplayManually: boolean;
|
|
1505
|
+
readonly scrollThreshold: number;
|
|
1426
1506
|
readonly internalHoistYRail: boolean;
|
|
1427
1507
|
readonly yPlacement: "left" | "right";
|
|
1428
1508
|
readonly xPlacement: "top" | "bottom";
|
|
@@ -1453,6 +1533,12 @@ export declare function useCalendarScroll(): {
|
|
|
1453
1533
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
1454
1534
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
1455
1535
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
1536
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
1537
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
1538
|
+
readonly scrollThreshold: {
|
|
1539
|
+
readonly type: NumberConstructor;
|
|
1540
|
+
readonly default: 5;
|
|
1541
|
+
};
|
|
1456
1542
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
1457
1543
|
readonly internalHoistYRail: BooleanConstructor;
|
|
1458
1544
|
readonly yPlacement: {
|
|
@@ -1555,6 +1641,7 @@ export declare function useCalendarScroll(): {
|
|
|
1555
1641
|
sync: () => void;
|
|
1556
1642
|
handleMouseEnterWrapper: () => void;
|
|
1557
1643
|
handleMouseLeaveWrapper: () => void;
|
|
1644
|
+
resetScrollEdgeState: () => void;
|
|
1558
1645
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
1559
1646
|
readonly duration: number;
|
|
1560
1647
|
readonly scrollable: boolean;
|
|
@@ -1562,6 +1649,7 @@ export declare function useCalendarScroll(): {
|
|
|
1562
1649
|
readonly trigger: "none" | "hover";
|
|
1563
1650
|
readonly useUnifiedContainer: boolean;
|
|
1564
1651
|
readonly triggerDisplayManually: boolean;
|
|
1652
|
+
readonly scrollThreshold: number;
|
|
1565
1653
|
readonly internalHoistYRail: boolean;
|
|
1566
1654
|
readonly yPlacement: "left" | "right";
|
|
1567
1655
|
readonly xPlacement: "top" | "bottom";
|
|
@@ -1599,6 +1687,12 @@ export declare function useCalendarScroll(): {
|
|
|
1599
1687
|
readonly onScroll: import("vue").PropType<(e: Event) => void>;
|
|
1600
1688
|
readonly onWheel: import("vue").PropType<(e: WheelEvent) => void>;
|
|
1601
1689
|
readonly onResize: import("vue").PropType<(e: ResizeObserverEntry) => void>;
|
|
1690
|
+
readonly onScrollToTop: import("vue").PropType<() => void>;
|
|
1691
|
+
readonly onScrollToBottom: import("vue").PropType<() => void>;
|
|
1692
|
+
readonly scrollThreshold: {
|
|
1693
|
+
readonly type: NumberConstructor;
|
|
1694
|
+
readonly default: 5;
|
|
1695
|
+
};
|
|
1602
1696
|
readonly internalOnUpdateScrollLeft: import("vue").PropType<(scrollLeft: number) => void>;
|
|
1603
1697
|
readonly internalHoistYRail: BooleanConstructor;
|
|
1604
1698
|
readonly yPlacement: {
|
|
@@ -1701,6 +1795,7 @@ export declare function useCalendarScroll(): {
|
|
|
1701
1795
|
sync: () => void;
|
|
1702
1796
|
handleMouseEnterWrapper: () => void;
|
|
1703
1797
|
handleMouseLeaveWrapper: () => void;
|
|
1798
|
+
resetScrollEdgeState: () => void;
|
|
1704
1799
|
}, {}, {}, {}, {
|
|
1705
1800
|
readonly duration: number;
|
|
1706
1801
|
readonly scrollable: boolean;
|
|
@@ -1708,6 +1803,7 @@ export declare function useCalendarScroll(): {
|
|
|
1708
1803
|
readonly trigger: "none" | "hover";
|
|
1709
1804
|
readonly useUnifiedContainer: boolean;
|
|
1710
1805
|
readonly triggerDisplayManually: boolean;
|
|
1806
|
+
readonly scrollThreshold: number;
|
|
1711
1807
|
readonly internalHoistYRail: boolean;
|
|
1712
1808
|
readonly yPlacement: "left" | "right";
|
|
1713
1809
|
readonly xPlacement: "top" | "bottom";
|