@evercam/ui 1.0.0-preview-new-smart-search-73cd08914 → 1.0.0-preview-compare-xray-8f6cff47d
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/README.md +1 -0
- package/dist/attributes.json +25 -5
- package/dist/components/EDragResize.vue.d.ts +28 -0
- package/dist/components/EImagesComparator.vue.d.ts +24 -11
- package/dist/components/EToggleSwitch.vue.d.ts +7 -2
- package/dist/index.d.ts +59 -14
- package/dist/index.mjs +1774 -1594
- 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 +12 -2
- package/dist/web-types.json +60 -4
- package/package.json +1 -1
package/README.md
CHANGED
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",
|
|
@@ -645,6 +660,11 @@
|
|
|
645
660
|
"description": "",
|
|
646
661
|
"default": false
|
|
647
662
|
},
|
|
663
|
+
"EToggleSwitch/dark": {
|
|
664
|
+
"type": "boolean",
|
|
665
|
+
"description": "",
|
|
666
|
+
"default": true
|
|
667
|
+
},
|
|
648
668
|
"EExpandableMenu/padding": {
|
|
649
669
|
"type": "number",
|
|
650
670
|
"description": "",
|
|
@@ -0,0 +1,28 @@
|
|
|
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").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
28
|
+
export default _default;
|
|
@@ -1,31 +1,44 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
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
3
|
separatorPositionX: number;
|
|
4
|
-
startSeparatorPositionX: number;
|
|
5
|
-
computedImageDimension: Record<string, any>;
|
|
6
4
|
isSeparatorDragging: boolean;
|
|
7
|
-
|
|
5
|
+
containerRect: DOMRect;
|
|
6
|
+
computedImageDimension: {
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
left: number;
|
|
10
|
+
top: number;
|
|
11
|
+
};
|
|
12
|
+
zoomState: {};
|
|
8
13
|
touchIdentifier: number | null;
|
|
9
14
|
startTouchX: number;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
15
|
+
startSeparatorPositionX: number;
|
|
16
|
+
windowState: {
|
|
17
|
+
x: number;
|
|
18
|
+
y: number;
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
};
|
|
13
22
|
}, {
|
|
23
|
+
onZoomChange(state: Record<string, any>): void;
|
|
14
24
|
handleResize(): void;
|
|
15
|
-
handleWatermarkResize(): void;
|
|
16
25
|
handleMouseMove(event: MouseEvent): void;
|
|
17
26
|
handleMouseDown(): void;
|
|
18
27
|
handleMouseUp(): void;
|
|
19
28
|
handleTouchStart(event: TouchEvent): void;
|
|
20
29
|
handleTouchMove(event: TouchEvent): void;
|
|
21
|
-
handleTouchEnd(
|
|
30
|
+
handleTouchEnd(): void;
|
|
31
|
+
handleWindowChange(state: any): void;
|
|
22
32
|
}, {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
33
|
+
beforeImageStyle: Record<string, string>;
|
|
34
|
+
afterImageStyle: Record<string, string>;
|
|
35
|
+
windowBounds: Record<string, number>;
|
|
36
|
+
watermarkStyle: Record<string, string>;
|
|
26
37
|
}, {
|
|
27
38
|
beforeImageSrc: string;
|
|
28
39
|
afterImageSrc: string;
|
|
29
40
|
isLoading: boolean;
|
|
41
|
+
mode: string;
|
|
42
|
+
transparency: number;
|
|
30
43
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
31
44
|
export default _default;
|
|
@@ -7,12 +7,16 @@ type SizeClasses = {
|
|
|
7
7
|
};
|
|
8
8
|
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>>, unknown, {
|
|
9
9
|
getButtonClasses(item: ESelectionGroupOption): {
|
|
10
|
-
"e-toggle-switch e-border-none e-
|
|
11
|
-
"e-
|
|
10
|
+
"e-toggle-switch e-border-none e-rounded-md e-transition e-duration-200 e-ease-in-out e-cursor-pointer": boolean;
|
|
11
|
+
"e-text-gray-200": boolean;
|
|
12
|
+
"e-bg-gray-900": boolean;
|
|
13
|
+
"e-bg-gray-200": boolean;
|
|
14
|
+
"e-text-gray-900": boolean;
|
|
12
15
|
"e-bg-brand-600": boolean;
|
|
13
16
|
"e-bg-gray-600": boolean;
|
|
14
17
|
"e-bg-[#629efc] e-text-gray-900 e-font-normal": boolean;
|
|
15
18
|
"e-opacity-50 e-cursor-not-allowed": boolean | undefined;
|
|
19
|
+
"e-shadow ": boolean;
|
|
16
20
|
};
|
|
17
21
|
}, {
|
|
18
22
|
sizeClasses: SizeClasses;
|
|
@@ -22,6 +26,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
22
26
|
color: string;
|
|
23
27
|
size: Size;
|
|
24
28
|
vertical: boolean;
|
|
29
|
+
dark: boolean;
|
|
25
30
|
}, {}, 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>>, unknown, {
|
|
26
31
|
isSelected(value: any): boolean;
|
|
27
32
|
onItemClick(value: any): void;
|
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,43 +481,86 @@ 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").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
483
510
|
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
511
|
separatorPositionX: number;
|
|
485
|
-
startSeparatorPositionX: number;
|
|
486
|
-
computedImageDimension: Record<string, any>;
|
|
487
512
|
isSeparatorDragging: boolean;
|
|
488
|
-
|
|
513
|
+
containerRect: DOMRect;
|
|
514
|
+
computedImageDimension: {
|
|
515
|
+
width: number;
|
|
516
|
+
height: number;
|
|
517
|
+
left: number;
|
|
518
|
+
top: number;
|
|
519
|
+
};
|
|
520
|
+
zoomState: {};
|
|
489
521
|
touchIdentifier: number | null;
|
|
490
522
|
startTouchX: number;
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
523
|
+
startSeparatorPositionX: number;
|
|
524
|
+
windowState: {
|
|
525
|
+
x: number;
|
|
526
|
+
y: number;
|
|
527
|
+
width: number;
|
|
528
|
+
height: number;
|
|
529
|
+
};
|
|
494
530
|
}, {
|
|
531
|
+
onZoomChange(state: Record<string, any>): void;
|
|
495
532
|
handleResize(): void;
|
|
496
|
-
handleWatermarkResize(): void;
|
|
497
533
|
handleMouseMove(event: MouseEvent): void;
|
|
498
534
|
handleMouseDown(): void;
|
|
499
535
|
handleMouseUp(): void;
|
|
500
536
|
handleTouchStart(event: TouchEvent): void;
|
|
501
537
|
handleTouchMove(event: TouchEvent): void;
|
|
502
|
-
handleTouchEnd(
|
|
538
|
+
handleTouchEnd(): void;
|
|
539
|
+
handleWindowChange(state: any): void;
|
|
503
540
|
}, {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
541
|
+
beforeImageStyle: Record<string, string>;
|
|
542
|
+
afterImageStyle: Record<string, string>;
|
|
543
|
+
windowBounds: Record<string, number>;
|
|
544
|
+
watermarkStyle: Record<string, string>;
|
|
507
545
|
}, {
|
|
508
546
|
beforeImageSrc: string;
|
|
509
547
|
afterImageSrc: string;
|
|
510
548
|
isLoading: boolean;
|
|
549
|
+
mode: string;
|
|
550
|
+
transparency: number;
|
|
511
551
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
512
552
|
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
553
|
getButtonClasses(item: import('./types').ESelectionGroupOption): {
|
|
514
|
-
"e-toggle-switch e-border-none e-
|
|
515
|
-
"e-
|
|
554
|
+
"e-toggle-switch e-border-none e-rounded-md e-transition e-duration-200 e-ease-in-out e-cursor-pointer": boolean;
|
|
555
|
+
"e-text-gray-200": boolean;
|
|
556
|
+
"e-bg-gray-900": boolean;
|
|
557
|
+
"e-bg-gray-200": boolean;
|
|
558
|
+
"e-text-gray-900": boolean;
|
|
516
559
|
"e-bg-brand-600": boolean;
|
|
517
560
|
"e-bg-gray-600": boolean;
|
|
518
561
|
"e-bg-[#629efc] e-text-gray-900 e-font-normal": boolean;
|
|
519
562
|
"e-opacity-50 e-cursor-not-allowed": boolean | undefined;
|
|
563
|
+
"e-shadow ": boolean;
|
|
520
564
|
};
|
|
521
565
|
}, {
|
|
522
566
|
sizeClasses: {
|
|
@@ -530,6 +574,7 @@ export declare const components: {
|
|
|
530
574
|
color: string;
|
|
531
575
|
size: import('./types').Size;
|
|
532
576
|
vertical: boolean;
|
|
577
|
+
dark: boolean;
|
|
533
578
|
}, {}, 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, {
|
|
534
579
|
isSelected(value: any): boolean;
|
|
535
580
|
onItemClick(value: any): void;
|
|
@@ -1303,7 +1348,7 @@ declare const _default: {
|
|
|
1303
1348
|
install(Vue: VueConstructor): void;
|
|
1304
1349
|
};
|
|
1305
1350
|
export default _default;
|
|
1306
|
-
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, };
|
|
1351
|
+
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, };
|
|
1307
1352
|
export * from './constants';
|
|
1308
1353
|
export * from './types';
|
|
1309
1354
|
export * from './utils';
|