@evercam/ui 1.0.0-preview-fix-gr-count-tl-date-selection-48630d989 → 1.0.0-preview-compare-xray-ddd2fc142
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/attributes.json +20 -5
- package/dist/components/EDragResize.vue.d.ts +34 -0
- package/dist/components/EImagesComparator.vue.d.ts +26 -11
- package/dist/index.d.ts +59 -12
- package/dist/index.mjs +1423 -1246
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +16 -16
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/tags.json +10 -1
- package/dist/types.d.ts +5 -0
- package/dist/web-types.json +53 -6
- package/package.json +1 -1
package/dist/attributes.json
CHANGED
|
@@ -572,20 +572,35 @@
|
|
|
572
572
|
"description": "",
|
|
573
573
|
"default": 50
|
|
574
574
|
},
|
|
575
|
+
"EDragResize/bounds": {
|
|
576
|
+
"type": "object",
|
|
577
|
+
"description": ""
|
|
578
|
+
},
|
|
579
|
+
"EDragResize/initial": {
|
|
580
|
+
"type": "object",
|
|
581
|
+
"description": ""
|
|
582
|
+
},
|
|
575
583
|
"EImagesComparator/before-image-src": {
|
|
576
584
|
"type": "string",
|
|
577
|
-
"description": ""
|
|
578
|
-
"default": null
|
|
585
|
+
"description": ""
|
|
579
586
|
},
|
|
580
587
|
"EImagesComparator/after-image-src": {
|
|
581
588
|
"type": "string",
|
|
582
|
-
"description": ""
|
|
583
|
-
"default": null
|
|
589
|
+
"description": ""
|
|
584
590
|
},
|
|
585
591
|
"EImagesComparator/is-loading": {
|
|
586
592
|
"type": "boolean",
|
|
593
|
+
"description": ""
|
|
594
|
+
},
|
|
595
|
+
"EImagesComparator/mode": {
|
|
596
|
+
"type": "string",
|
|
587
597
|
"description": "",
|
|
588
|
-
"default":
|
|
598
|
+
"default": "curtain"
|
|
599
|
+
},
|
|
600
|
+
"EImagesComparator/transparency": {
|
|
601
|
+
"type": "number",
|
|
602
|
+
"description": "",
|
|
603
|
+
"default": 0.5
|
|
589
604
|
},
|
|
590
605
|
"EToggleSwitch/value": {
|
|
591
606
|
"type": "string|number|boolean|object|array",
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
3
|
+
lens: any;
|
|
4
|
+
isDragging: boolean;
|
|
5
|
+
dragOffset: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
};
|
|
9
|
+
resizeHandles: string[];
|
|
10
|
+
currentHandle: null;
|
|
11
|
+
}, {
|
|
12
|
+
startDrag(e: MouseEvent | TouchEvent): void;
|
|
13
|
+
onDrag(e: MouseEvent | TouchEvent): void;
|
|
14
|
+
endDrag(): void;
|
|
15
|
+
startResize(handle: string, e: MouseEvent | TouchEvent): void;
|
|
16
|
+
onResize(e: MouseEvent | TouchEvent): void;
|
|
17
|
+
endResize(): void;
|
|
18
|
+
getPoint(e: MouseEvent | TouchEvent): {
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
windowStyle: Record<string, string>;
|
|
24
|
+
}, {
|
|
25
|
+
bounds: any;
|
|
26
|
+
initial: any;
|
|
27
|
+
}, {}, import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
28
|
+
eventListeners: import('../mixins/event-listeners').IEventListener[];
|
|
29
|
+
}, {
|
|
30
|
+
$addEventListener(event: string, cb: () => void, element?: Window & typeof globalThis): void;
|
|
31
|
+
$removeEventListener(event: string, cb: () => void, element?: Window & typeof globalThis): void;
|
|
32
|
+
$removeEventListeners(): void;
|
|
33
|
+
}, unknown, Record<never, any>, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>, import("vue").ComponentOptionsMixin>;
|
|
34
|
+
export default _default;
|
|
@@ -1,31 +1,46 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
+
import { CompareMode } from '../types';
|
|
2
3
|
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
3
4
|
separatorPositionX: number;
|
|
4
|
-
startSeparatorPositionX: number;
|
|
5
|
-
computedImageDimension: Record<string, any>;
|
|
6
5
|
isSeparatorDragging: boolean;
|
|
7
|
-
|
|
6
|
+
containerRect: DOMRect;
|
|
7
|
+
computedImageDimension: {
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
left: number;
|
|
11
|
+
top: number;
|
|
12
|
+
};
|
|
13
|
+
zoomState: {};
|
|
8
14
|
touchIdentifier: number | null;
|
|
9
15
|
startTouchX: number;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
startSeparatorPositionX: number;
|
|
17
|
+
windowState: {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
width: number;
|
|
21
|
+
height: number;
|
|
22
|
+
};
|
|
23
|
+
CompareMode: typeof CompareMode;
|
|
13
24
|
}, {
|
|
25
|
+
onZoomChange(state: Record<string, any>): void;
|
|
14
26
|
handleResize(): void;
|
|
15
|
-
handleWatermarkResize(): void;
|
|
16
27
|
handleMouseMove(event: MouseEvent): void;
|
|
17
28
|
handleMouseDown(): void;
|
|
18
29
|
handleMouseUp(): void;
|
|
19
30
|
handleTouchStart(event: TouchEvent): void;
|
|
20
31
|
handleTouchMove(event: TouchEvent): void;
|
|
21
|
-
handleTouchEnd(
|
|
32
|
+
handleTouchEnd(): void;
|
|
33
|
+
handleWindowChange(state: any): void;
|
|
22
34
|
}, {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
35
|
+
beforeImageStyle: Record<string, string>;
|
|
36
|
+
afterImageStyle: Record<string, string>;
|
|
37
|
+
windowBounds: Record<string, number>;
|
|
38
|
+
watermarkStyle: Record<string, string>;
|
|
26
39
|
}, {
|
|
27
40
|
beforeImageSrc: string;
|
|
28
41
|
afterImageSrc: string;
|
|
29
42
|
isLoading: boolean;
|
|
43
|
+
mode: string;
|
|
44
|
+
transparency: number;
|
|
30
45
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
31
46
|
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import EHoursHeatmap from './components/EHoursHeatmap.vue';
|
|
|
12
12
|
import EReadMore from './components/EReadMore.vue';
|
|
13
13
|
import ETruncatedDiv from './components/ETruncatedDiv.vue';
|
|
14
14
|
import ECompareSeparator from './components/ECompareSeparator.vue';
|
|
15
|
+
import EDragResize from './components/EDragResize.vue';
|
|
15
16
|
import EImagesComparator from './components/EImagesComparator.vue';
|
|
16
17
|
import EExpandableMenu from './components/EExpandableMenu.vue';
|
|
17
18
|
import ESvgIcon from './components/ESvgIcon.vue';
|
|
@@ -480,34 +481,80 @@ export declare const components: {
|
|
|
480
481
|
}, {
|
|
481
482
|
xOffset: string | number;
|
|
482
483
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
484
|
+
EDragResize: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
485
|
+
lens: any;
|
|
486
|
+
isDragging: boolean;
|
|
487
|
+
dragOffset: {
|
|
488
|
+
x: number;
|
|
489
|
+
y: number;
|
|
490
|
+
};
|
|
491
|
+
resizeHandles: string[];
|
|
492
|
+
currentHandle: null;
|
|
493
|
+
}, {
|
|
494
|
+
startDrag(e: MouseEvent | TouchEvent): void;
|
|
495
|
+
onDrag(e: MouseEvent | TouchEvent): void;
|
|
496
|
+
endDrag(): void;
|
|
497
|
+
startResize(handle: string, e: MouseEvent | TouchEvent): void;
|
|
498
|
+
onResize(e: MouseEvent | TouchEvent): void;
|
|
499
|
+
endResize(): void;
|
|
500
|
+
getPoint(e: MouseEvent | TouchEvent): {
|
|
501
|
+
x: number;
|
|
502
|
+
y: number;
|
|
503
|
+
};
|
|
504
|
+
}, {
|
|
505
|
+
windowStyle: Record<string, string>;
|
|
506
|
+
}, {
|
|
507
|
+
bounds: any;
|
|
508
|
+
initial: any;
|
|
509
|
+
}, {}, import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
510
|
+
eventListeners: import("./mixins/event-listeners").IEventListener[];
|
|
511
|
+
}, {
|
|
512
|
+
$addEventListener(event: string, cb: () => void, element?: Window & typeof globalThis): void;
|
|
513
|
+
$removeEventListener(event: string, cb: () => void, element?: Window & typeof globalThis): void;
|
|
514
|
+
$removeEventListeners(): void;
|
|
515
|
+
}, unknown, Record<never, any>, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>, import("vue").ComponentOptionsMixin>;
|
|
483
516
|
EImagesComparator: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
484
517
|
separatorPositionX: number;
|
|
485
|
-
startSeparatorPositionX: number;
|
|
486
|
-
computedImageDimension: Record<string, any>;
|
|
487
518
|
isSeparatorDragging: boolean;
|
|
488
|
-
|
|
519
|
+
containerRect: DOMRect;
|
|
520
|
+
computedImageDimension: {
|
|
521
|
+
width: number;
|
|
522
|
+
height: number;
|
|
523
|
+
left: number;
|
|
524
|
+
top: number;
|
|
525
|
+
};
|
|
526
|
+
zoomState: {};
|
|
489
527
|
touchIdentifier: number | null;
|
|
490
528
|
startTouchX: number;
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
529
|
+
startSeparatorPositionX: number;
|
|
530
|
+
windowState: {
|
|
531
|
+
x: number;
|
|
532
|
+
y: number;
|
|
533
|
+
width: number;
|
|
534
|
+
height: number;
|
|
535
|
+
};
|
|
536
|
+
CompareMode: typeof import('./types').CompareMode;
|
|
494
537
|
}, {
|
|
538
|
+
onZoomChange(state: Record<string, any>): void;
|
|
495
539
|
handleResize(): void;
|
|
496
|
-
handleWatermarkResize(): void;
|
|
497
540
|
handleMouseMove(event: MouseEvent): void;
|
|
498
541
|
handleMouseDown(): void;
|
|
499
542
|
handleMouseUp(): void;
|
|
500
543
|
handleTouchStart(event: TouchEvent): void;
|
|
501
544
|
handleTouchMove(event: TouchEvent): void;
|
|
502
|
-
handleTouchEnd(
|
|
545
|
+
handleTouchEnd(): void;
|
|
546
|
+
handleWindowChange(state: any): void;
|
|
503
547
|
}, {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
548
|
+
beforeImageStyle: Record<string, string>;
|
|
549
|
+
afterImageStyle: Record<string, string>;
|
|
550
|
+
windowBounds: Record<string, number>;
|
|
551
|
+
watermarkStyle: Record<string, string>;
|
|
507
552
|
}, {
|
|
508
553
|
beforeImageSrc: string;
|
|
509
554
|
afterImageSrc: string;
|
|
510
555
|
isLoading: boolean;
|
|
556
|
+
mode: string;
|
|
557
|
+
transparency: number;
|
|
511
558
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
512
559
|
EToggleSwitch: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, unknown, {
|
|
513
560
|
getButtonClasses(item: import('./types').ESelectionGroupOption): {
|
|
@@ -1308,7 +1355,7 @@ declare const _default: {
|
|
|
1308
1355
|
install(Vue: VueConstructor): void;
|
|
1309
1356
|
};
|
|
1310
1357
|
export default _default;
|
|
1311
|
-
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline, EVideoEmbed, EHeatmapBar, EHoursHeatmap, EReadMore, ETruncatedDiv, ECompareSeparator, EImagesComparator, EToggleSwitch, EExpandableMenu, EZoomable, EGlobalSearch, ESvgIcon, ECalendarHeatmap, EImagePlayer, EZoomableImg, EZoomSlider, EActionButton, ETooltip, ELayout, ECopyToClipboardBtn, EPopover, EVoiceRecorderToText, ERadioGroup, ESelect, ETabs, ESchedulePicker, };
|
|
1358
|
+
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline, EVideoEmbed, EHeatmapBar, EHoursHeatmap, EReadMore, ETruncatedDiv, ECompareSeparator, EImagesComparator, EDragResize, EToggleSwitch, EExpandableMenu, EZoomable, EGlobalSearch, ESvgIcon, ECalendarHeatmap, EImagePlayer, EZoomableImg, EZoomSlider, EActionButton, ETooltip, ELayout, ECopyToClipboardBtn, EPopover, EVoiceRecorderToText, ERadioGroup, ESelect, ETabs, ESchedulePicker, };
|
|
1312
1359
|
export * from './constants';
|
|
1313
1360
|
export * from './types';
|
|
1314
1361
|
export * from './utils';
|