@evercam/ui 0.0.61 → 0.0.63-preview-create-image-comparator-comp-e2247e3c3
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 +15 -0
- package/dist/{src/components → components}/EExpandableMenu.vue.d.ts +1 -0
- package/dist/{src/components → components}/EGlobalSearch.vue.d.ts +1 -0
- package/dist/components/EImagesComparator.vue.d.ts +28 -0
- package/dist/{src/components → components}/ETimeline.vue.d.ts +6 -0
- package/dist/{src/components → components}/EToggleSwitch.vue.d.ts +1 -0
- package/dist/components/charts/classNames.d.ts +7 -0
- package/dist/components/charts/utils.d.ts +3 -0
- package/dist/{src/constants.d.ts → constants.d.ts} +1 -1
- package/dist/index.d.ts +779 -3
- package/dist/index.mjs +2125 -1740
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +23 -23
- package/dist/index.umd.js.map +1 -1
- package/dist/{src/mixins → mixins}/event-listeners.d.ts +2 -0
- package/dist/{src/mixins → mixins}/inactivity-listener.d.ts +5 -1
- package/dist/style.css +1 -1
- package/dist/styles.css +37984 -2545
- package/dist/tags.json +8 -0
- package/dist/{src/types.d.ts → types.d.ts} +46 -0
- package/dist/{src/utils.d.ts → utils.d.ts} +1 -0
- package/dist/web-types.json +40 -2
- package/package.json +21 -13
- package/dist/src/index.d.ts +0 -743
- /package/dist/{src/components → components}/EAvatar.vue.d.ts +0 -0
- /package/dist/{src/components → components}/EBadge.vue.d.ts +0 -0
- /package/dist/{src/components → components}/ECol.vue.d.ts +0 -0
- /package/dist/{src/components → components}/ECompareSeparator.vue.d.ts +0 -0
- /package/dist/{src/components → components}/EHeatmapBar.vue.d.ts +0 -0
- /package/dist/{src/components → components}/EHoursHeatmap.vue.d.ts +0 -0
- /package/dist/{src/components → components}/EIcon.vue.d.ts +0 -0
- /package/dist/{src/components → components}/EReadMore.vue.d.ts +0 -0
- /package/dist/{src/components → components}/ERow.vue.d.ts +0 -0
- /package/dist/{src/components → components}/ESpinner.vue.d.ts +0 -0
- /package/dist/{src/components → components}/ESvgIcon.vue.d.ts +0 -0
- /package/dist/{src/components → components}/ETimeline.config.d.ts +0 -0
- /package/dist/{src/components → components}/ETimelineMilestone.vue.d.ts +0 -0
- /package/dist/{src/components → components}/ETruncatedDiv.vue.d.ts +0 -0
- /package/dist/{src/components → components}/EVideoEmbed.vue.d.ts +0 -0
- /package/dist/{src/components → components}/EVideoPlayer.vue.d.ts +0 -0
- /package/dist/{src/components → components}/EZoomable.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/BaseIcon.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/Bim.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/Blur.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/Compare.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/ConcretePump.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/DroneView.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/Dumper.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/Evercam.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/EvercamLogo.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/Excavator.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/FlatbedSemiTrailer.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/FreeDrawing.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/IModel.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/Inspection.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/Loader.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/MiniModel.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/OtherTruck.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/RoadVehicle.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/Roller.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/SemiTrailer.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/SkidSteerLoader.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/SmallTruck.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/TankTruck.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/The360.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/TippingTruck.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/TruckHead.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/TruckMixer.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/Worker.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/ZohoCrm.vue.d.ts +0 -0
- /package/dist/{src/components → components}/svgIcons/index.d.ts +0 -0
- /package/dist/{src/directives → directives}/index.d.ts +0 -0
- /package/dist/{src/directives → directives}/resize-observer.d.ts +0 -0
- /package/dist/{src/mixins → mixins}/index.d.ts +0 -0
- /package/dist/{src/mixins → mixins}/timeouts.d.ts +0 -0
package/dist/tags.json
CHANGED
|
@@ -195,6 +195,14 @@
|
|
|
195
195
|
],
|
|
196
196
|
"description": ""
|
|
197
197
|
},
|
|
198
|
+
"EImagesComparator": {
|
|
199
|
+
"attributes": [
|
|
200
|
+
"before-image-src",
|
|
201
|
+
"after-image-src",
|
|
202
|
+
"is-loading"
|
|
203
|
+
],
|
|
204
|
+
"description": ""
|
|
205
|
+
},
|
|
198
206
|
"EToggleSwitch": {
|
|
199
207
|
"attributes": [
|
|
200
208
|
"options",
|
|
@@ -25,10 +25,25 @@ export declare enum BaseColor {
|
|
|
25
25
|
brand = "brand",
|
|
26
26
|
default = "default"
|
|
27
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* {@link Size}
|
|
30
|
+
* */
|
|
28
31
|
export type TBadgeSize = (typeof BadgeSizes)[number];
|
|
32
|
+
/**
|
|
33
|
+
* {@link Size}
|
|
34
|
+
* */
|
|
29
35
|
export type TAvatarSize = (typeof AvatarSizes)[number];
|
|
36
|
+
/**
|
|
37
|
+
* {@link Size}
|
|
38
|
+
* */
|
|
30
39
|
export type TIconSize = (typeof IconSizes)[number];
|
|
40
|
+
/**
|
|
41
|
+
* {@link Size}
|
|
42
|
+
* */
|
|
31
43
|
export type TToggleSwitchSize = (typeof ToggleSwitchSizes)[number];
|
|
44
|
+
/**
|
|
45
|
+
* {@link BaseColor}
|
|
46
|
+
* */
|
|
32
47
|
export type TBadgeColor = (typeof BadgeColors)[number];
|
|
33
48
|
export type TailwindColorClass = string;
|
|
34
49
|
export type FlexJustifyContent = "around" | "between" | "center" | "end" | "evenly" | "normal" | "start" | "stretch";
|
|
@@ -45,6 +60,10 @@ export type TimelineTicksConfig = {
|
|
|
45
60
|
interval: any;
|
|
46
61
|
format: string | ((d: Date) => string);
|
|
47
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* {@link TimelineAxis}
|
|
65
|
+
* {@link TimelineTicksConfig}
|
|
66
|
+
* */
|
|
48
67
|
export type TimelineAxesConfig = {
|
|
49
68
|
[key in TimelineAxis]: TimelineTicksConfig[];
|
|
50
69
|
};
|
|
@@ -77,6 +96,12 @@ export type TimelineMilestoneEvent = {
|
|
|
77
96
|
size?: number;
|
|
78
97
|
[key: string]: any;
|
|
79
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* {@link TimelineBarEvent}
|
|
101
|
+
* {@link TimelineRangeEvent}
|
|
102
|
+
* {@link TimelineCountEvent}
|
|
103
|
+
* {@link TimelineMilestoneEvent}
|
|
104
|
+
*/
|
|
80
105
|
export type TimelineEvent = TimelineBarEvent | TimelineRangeEvent | TimelineCountEvent | TimelineMilestoneEvent;
|
|
81
106
|
export declare enum TimelineChartType {
|
|
82
107
|
bars = "bars",
|
|
@@ -85,6 +110,10 @@ export declare enum TimelineChartType {
|
|
|
85
110
|
barChart = "barGraph",
|
|
86
111
|
milestones = "milestones"
|
|
87
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* {@link TimelineEvent}
|
|
115
|
+
* {@link TimelineChartType}
|
|
116
|
+
* */
|
|
88
117
|
export type TimelineEventsGroup = {
|
|
89
118
|
events: Array<TimelineEvent>;
|
|
90
119
|
label: string;
|
|
@@ -102,6 +131,9 @@ export type TimelineEventsGroup = {
|
|
|
102
131
|
bottom?: boolean;
|
|
103
132
|
barBorderRadius?: number;
|
|
104
133
|
};
|
|
134
|
+
/**
|
|
135
|
+
* {@link TimelineEventsGroup}
|
|
136
|
+
* */
|
|
105
137
|
export type TimelineEventsByType = {
|
|
106
138
|
[eventsType: string]: TimelineEventsGroup;
|
|
107
139
|
};
|
|
@@ -140,16 +172,21 @@ export type GlobalSearchMatch = {
|
|
|
140
172
|
path: Array<string>;
|
|
141
173
|
value: string | number | boolean;
|
|
142
174
|
};
|
|
175
|
+
/**
|
|
176
|
+
* {@link GlobalSearchMatch}
|
|
177
|
+
* */
|
|
143
178
|
export type GlobalSearchResult = {
|
|
144
179
|
index: number;
|
|
145
180
|
matches: Array<GlobalSearchMatch>;
|
|
146
181
|
};
|
|
147
182
|
export type GlobalSearchResultInput = Array<Record<any, any> | Array<any>>;
|
|
183
|
+
/** @ignore */
|
|
148
184
|
export interface FullscreenHTMLElement extends HTMLElement {
|
|
149
185
|
mozRequestFullScreen?: () => Promise<void>;
|
|
150
186
|
webkitRequestFullScreen?: () => Promise<void>;
|
|
151
187
|
msRequestFullscreen?: () => Promise<void>;
|
|
152
188
|
}
|
|
189
|
+
/** @ignore */
|
|
153
190
|
export interface FullscreenDocument extends Document {
|
|
154
191
|
mozCancelFullScreen?: () => Promise<void>;
|
|
155
192
|
webkitCancelFullScreen?: () => Promise<void>;
|
|
@@ -161,5 +198,14 @@ export interface FullscreenDocument extends Document {
|
|
|
161
198
|
msFullscreenEnabled: boolean;
|
|
162
199
|
mozFullScreenEnabled: boolean;
|
|
163
200
|
}
|
|
201
|
+
export type D3TimestampParams = {
|
|
202
|
+
timestamp: string | Date;
|
|
203
|
+
timezone: string;
|
|
204
|
+
};
|
|
205
|
+
export type D3DateParams = {
|
|
206
|
+
date: Date;
|
|
207
|
+
timezone: string;
|
|
208
|
+
};
|
|
209
|
+
export type TimelineDomain = Date[] | string[];
|
|
164
210
|
declare const _default: {};
|
|
165
211
|
export default _default;
|
|
@@ -2,3 +2,4 @@ export declare function isFullScreen(): boolean;
|
|
|
2
2
|
export declare function makeFullScreen(element: HTMLElement): Promise<unknown>;
|
|
3
3
|
export declare function exitFullScreen(): Promise<void | null>;
|
|
4
4
|
export declare function debounce<T extends (...args: any[]) => any>(func: T, wait?: number): (...args: Parameters<T>) => void;
|
|
5
|
+
export declare function getRandomChars(length?: number): string;
|
package/dist/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@evercam/ui",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.63-preview-create-image-comparator-comp-e2247e3c3",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -691,7 +691,7 @@
|
|
|
691
691
|
{
|
|
692
692
|
"name": "x-axes-config",
|
|
693
693
|
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
694
|
-
"default": "() =>
|
|
694
|
+
"default": "() => St",
|
|
695
695
|
"value": {
|
|
696
696
|
"kind": "expression",
|
|
697
697
|
"type": "object"
|
|
@@ -1377,6 +1377,44 @@
|
|
|
1377
1377
|
}
|
|
1378
1378
|
]
|
|
1379
1379
|
},
|
|
1380
|
+
{
|
|
1381
|
+
"name": "EImagesComparator",
|
|
1382
|
+
"source": {
|
|
1383
|
+
"module": "./src/components/EImagesComparator.vue",
|
|
1384
|
+
"symbol": "EImagesComparator"
|
|
1385
|
+
},
|
|
1386
|
+
"description": "",
|
|
1387
|
+
"doc-url": "https://ui.evercam.io/",
|
|
1388
|
+
"attributes": [
|
|
1389
|
+
{
|
|
1390
|
+
"name": "before-image-src",
|
|
1391
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
1392
|
+
"default": "null",
|
|
1393
|
+
"value": {
|
|
1394
|
+
"kind": "expression",
|
|
1395
|
+
"type": "string"
|
|
1396
|
+
}
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"name": "after-image-src",
|
|
1400
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
1401
|
+
"default": "null",
|
|
1402
|
+
"value": {
|
|
1403
|
+
"kind": "expression",
|
|
1404
|
+
"type": "string"
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"name": "is-loading",
|
|
1409
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
1410
|
+
"default": "false",
|
|
1411
|
+
"value": {
|
|
1412
|
+
"kind": "expression",
|
|
1413
|
+
"type": "boolean"
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
]
|
|
1417
|
+
},
|
|
1380
1418
|
{
|
|
1381
1419
|
"name": "EToggleSwitch",
|
|
1382
1420
|
"source": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evercam/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.63-preview-create-image-comparator-comp-e2247e3c3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Evercam - Constuction Cameras.",
|
|
@@ -27,42 +27,50 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"scripts": {
|
|
30
|
-
"story:dev": "histoire dev",
|
|
31
|
-
"story:build": "histoire build",
|
|
32
|
-
"story:preview": "histoire preview",
|
|
33
30
|
"build": "yarn build:lib && yarn build:style && yarn generate-ide-docs",
|
|
34
31
|
"build:lib": "vite build",
|
|
35
32
|
"build:style": "postcss src/style/main.css --verbose -o dist/styles.css",
|
|
36
33
|
"build-and-copy": "yarn build && rsync -av --delete ./dist/ ../../node_modules/@evercam/ui/dist/",
|
|
34
|
+
"story:dev": "yarn stroy:build:tailwind && yarn stroy:build:typedoc && yarn stroy:dev:styleguide",
|
|
35
|
+
"stroy:dev:styleguide": "vue-styleguidist --config docs/config/styleguide.config.js server",
|
|
36
|
+
"story:build": "yarn stroy:build:typedoc && yarn stroy:build:tailwind && yarn stroy:build:styleguide",
|
|
37
|
+
"stroy:build:styleguide": "vue-styleguidist --config docs/config/styleguide.config.js build",
|
|
38
|
+
"stroy:build:typedoc": "yarn typedoc --options docs/config/typedoc.config.js --out docs/assets/typedoc",
|
|
39
|
+
"stroy:build:tailwind": "tailwind-config-viewer export docs/assets/tailwind-config-viewer",
|
|
37
40
|
"typecheck": "vue-tsc --declaration --emitDeclarationOnly",
|
|
38
41
|
"generate-ide-docs": "node scripts/generateVetur.mjs && node scripts/generateWebTypes.mjs",
|
|
39
42
|
"ci": "(cd ../..; yarn ci)",
|
|
40
43
|
"publish-ci": "cd ../.. && yarn publish-ci"
|
|
41
44
|
},
|
|
42
45
|
"devDependencies": {
|
|
43
|
-
"@fontsource-variable/inter": "^5.0.8",
|
|
44
|
-
"@fortawesome/fontawesome-free": "^5.15.3",
|
|
45
|
-
"@histoire/plugin-vue2": "^0.17.1",
|
|
46
|
-
"@histoire/vendors": "^0.17.0",
|
|
47
46
|
"@types/d3": "^7.4.2",
|
|
48
47
|
"@types/vue": "^2.0.0",
|
|
49
48
|
"@vitejs/plugin-vue2": "^2.2.0",
|
|
50
49
|
"autoprefixer": "^10.4.15",
|
|
50
|
+
"browser-sync": "^3.0.2",
|
|
51
|
+
"browser-sync-webpack-plugin": "^2.3.0",
|
|
52
|
+
"css-loader": "^6.11.0",
|
|
51
53
|
"d3": "^7.8.5",
|
|
52
|
-
"histoire": "^0.17.0",
|
|
53
54
|
"hls.js": "^1.5.6",
|
|
54
55
|
"moment-timezone": "^0.5.43",
|
|
55
56
|
"postcss": "^8.4.29",
|
|
56
57
|
"postcss-cli": "^10.1.0",
|
|
57
|
-
"
|
|
58
|
+
"tailwind-config-viewer": "^2.0.1",
|
|
59
|
+
"tailwindcss": "^3.4.3",
|
|
60
|
+
"ts-loader": "^9.5.1",
|
|
61
|
+
"typedoc": "^0.25.13",
|
|
62
|
+
"typedoc-plugin-markdown": "^4.0.0-next.55",
|
|
58
63
|
"typescript": "^5.2.2",
|
|
59
64
|
"vite": "^4.4.9",
|
|
65
|
+
"vite-plugin-commonjs": "^0.10.1",
|
|
60
66
|
"vite-plugin-dts": "^3.6.0",
|
|
61
|
-
"vscode-oniguruma": "^1.6.1",
|
|
62
|
-
"vscode-textmate": "^6.0.0",
|
|
63
67
|
"vue": "^2.7.16",
|
|
68
|
+
"vue-loader": "^15.0.0",
|
|
69
|
+
"vue-style-loader": "^4.1.3",
|
|
70
|
+
"vue-styleguidist": "^4.72.4",
|
|
64
71
|
"vue-template-compiler": "^2.7.16",
|
|
65
|
-
"
|
|
72
|
+
"webpack": "^5.91.0",
|
|
73
|
+
"webpack-shell-plugin-next": "^2.3.1"
|
|
66
74
|
},
|
|
67
75
|
"peerDependencies": {
|
|
68
76
|
"@fontsource-variable/inter": "^5.0.8",
|