@progress/kendo-vue-popup 8.0.3-develop.2 → 8.0.3-develop.3

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.
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { DOMService } from './domService';
9
+ import { OffsetPosition as Offset } from '@progress/kendo-popup-common';
10
+ import { AlignElementSettings } from '../models/AlignElementSettings';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export declare class AlignService {
15
+ private _dom;
16
+ constructor(_dom: DOMService);
17
+ alignElement(settings: AlignElementSettings): Offset;
18
+ private absoluteRect;
19
+ private elementScrollPosition;
20
+ private relativeRect;
21
+ }
@@ -0,0 +1,41 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { AlignSettings, BoundingRect, ElementRect, OffsetPosition, PositionSettings, ScrollInfo, ViewPort } from '@progress/kendo-popup-common';
9
+ import { Position } from '../models/Position';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare class DOMService {
14
+ addOffset(current: OffsetPosition, addition: OffsetPosition): OffsetPosition;
15
+ align(settings: AlignSettings): OffsetPosition;
16
+ boundingOffset(el: HTMLElement): BoundingRect;
17
+ getWindow(): Window & typeof globalThis;
18
+ isBodyOffset(el: HTMLElement): boolean;
19
+ hasOffsetParent(el: HTMLElement): boolean | null;
20
+ offset(el: HTMLElement): ElementRect;
21
+ staticOffset(element: HTMLElement): ElementRect;
22
+ position(element: HTMLElement, popup: HTMLElement): OffsetPosition | null;
23
+ relativeOffset(el: HTMLElement, currentLocation: OffsetPosition): ElementRect;
24
+ addScroll(rect: ElementRect, scroll: ScrollInfo): ElementRect;
25
+ removeScroll(rect: ElementRect, scroll: ScrollInfo): ElementRect;
26
+ restrictToView(settings: PositionSettings): Position;
27
+ scrollPosition(el: HTMLElement): ScrollInfo;
28
+ scrollableParents(el: HTMLElement): Array<HTMLElement>;
29
+ stackingElementOffset(el: HTMLElement): ElementRect;
30
+ stackingElementScroll(el: HTMLElement): ScrollInfo;
31
+ stackingElementViewPort(el: HTMLElement): {
32
+ height: number;
33
+ width: number;
34
+ };
35
+ getRelativeContextElement(el: HTMLElement): HTMLElement;
36
+ useRelativePosition(el: HTMLElement): boolean;
37
+ windowViewPort(el: HTMLElement): ViewPort;
38
+ zIndex(anchor: HTMLElement, container: HTMLElement): number;
39
+ zoomLevel(): number;
40
+ isZoomed(): boolean;
41
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { PositionElementSettings } from '../models/positionElementSettings';
9
+ import { Position } from '../models/Position';
10
+ import { DOMService } from './domService';
11
+ /**
12
+ * @hidden
13
+ */
14
+ export declare class PositionService {
15
+ private _dom;
16
+ constructor(_dom: DOMService);
17
+ positionElement(settings: PositionElementSettings): Position;
18
+ private elementRect;
19
+ }
package/util.d.ts ADDED
@@ -0,0 +1,81 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { ElementRect, OffsetPosition } from '@progress/kendo-popup-common';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const eitherRect: (rect: ElementRect | null, offset: OffsetPosition) => ElementRect;
13
+ /**
14
+ * @hidden
15
+ */
16
+ export declare const replaceOffset: (rect: ElementRect, offset: OffsetPosition) => ElementRect;
17
+ /**
18
+ * @hidden
19
+ */
20
+ export declare const removeStackingOffset: (rect: ElementRect, stackingOffset: ElementRect | null) => ElementRect;
21
+ /**
22
+ * @hidden
23
+ */
24
+ export declare const isDifferentOffset: (oldOffset: OffsetPosition, newOffset: OffsetPosition) => boolean;
25
+ /**
26
+ * @hidden
27
+ */
28
+ export declare const isDocumentAvailable: () => boolean;
29
+ /**
30
+ * @hidden
31
+ */
32
+ export declare const isWindowAvailable: () => boolean;
33
+ /**
34
+ * @hidden
35
+ */
36
+ export declare const hasBoundingRect: (elem: HTMLElement) => boolean;
37
+ /**
38
+ * @hidden
39
+ */
40
+ export declare const OVERFLOW_REGEXP: RegExp;
41
+ /**
42
+ * @hidden
43
+ */
44
+ export declare const scrollableParents: (element: HTMLElement) => any[];
45
+ /**
46
+ * @hidden
47
+ */
48
+ export declare const FRAME_DURATION: number;
49
+ /**
50
+ * @hidden
51
+ */
52
+ export declare const hasRelativeStackingContext: () => boolean;
53
+ /**
54
+ * @hidden
55
+ */
56
+ export declare const HAS_RELATIVE_STACKING_CONTEXT: boolean;
57
+ /**
58
+ * @hidden
59
+ */
60
+ export declare const zIndex: (anchor: HTMLElement, container: HTMLElement) => number;
61
+ /**
62
+ * @hidden
63
+ */
64
+ export declare const CollisionType: {
65
+ fit: string;
66
+ flip: string;
67
+ };
68
+ /**
69
+ * @hidden
70
+ */
71
+ export declare const AlignPoint: {
72
+ left: string;
73
+ center: string;
74
+ right: string;
75
+ bottom: string;
76
+ top: string;
77
+ };
78
+ /**
79
+ * @hidden
80
+ */
81
+ export declare const throttle: (func: Function, wait: number, options?: any) => () => any;