@evercam/ui 0.0.61 → 0.0.62
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/{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/index.d.ts +750 -3
- package/dist/index.mjs +1673 -1449
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +10 -10
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/styles.css +37976 -2545
- 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 +2 -2
- package/package.json +27 -10
- package/CHANGELOG.md +0 -25
- 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}/EExpandableMenu.vue.d.ts +0 -0
- /package/dist/{src/components → components}/EGlobalSearch.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/constants.d.ts → constants.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}/event-listeners.d.ts +0 -0
- /package/dist/{src/mixins → mixins}/inactivity-listener.d.ts +0 -0
- /package/dist/{src/mixins → mixins}/index.d.ts +0 -0
- /package/dist/{src/mixins → mixins}/timeouts.d.ts +0 -0
|
@@ -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.62",
|
|
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": "() => Lt",
|
|
695
695
|
"value": {
|
|
696
696
|
"kind": "expression",
|
|
697
697
|
"type": "object"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evercam/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.62",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Evercam - Constuction Cameras.",
|
|
@@ -27,13 +27,16 @@
|
|
|
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)",
|
|
@@ -42,27 +45,41 @@
|
|
|
42
45
|
"devDependencies": {
|
|
43
46
|
"@fontsource-variable/inter": "^5.0.8",
|
|
44
47
|
"@fortawesome/fontawesome-free": "^5.15.3",
|
|
45
|
-
"@histoire/plugin-vue2": "^0.17.1",
|
|
46
|
-
"@histoire/vendors": "^0.17.0",
|
|
47
48
|
"@types/d3": "^7.4.2",
|
|
48
49
|
"@types/vue": "^2.0.0",
|
|
49
50
|
"@vitejs/plugin-vue2": "^2.2.0",
|
|
50
51
|
"autoprefixer": "^10.4.15",
|
|
52
|
+
"browser-sync": "^3.0.2",
|
|
53
|
+
"browser-sync-webpack-plugin": "^2.3.0",
|
|
54
|
+
"css-loader": "^6.11.0",
|
|
51
55
|
"d3": "^7.8.5",
|
|
52
|
-
"histoire": "^0.17.0",
|
|
53
56
|
"hls.js": "^1.5.6",
|
|
54
57
|
"moment-timezone": "^0.5.43",
|
|
55
58
|
"postcss": "^8.4.29",
|
|
56
59
|
"postcss-cli": "^10.1.0",
|
|
57
|
-
"
|
|
60
|
+
"postcss-loader": "^8.1.1",
|
|
61
|
+
"style-loader": "^3.3.4",
|
|
62
|
+
"tailwind-config-viewer": "^2.0.1",
|
|
63
|
+
"tailwindcss": "^3.4.3",
|
|
64
|
+
"ts-loader": "^9.5.1",
|
|
65
|
+
"typedoc": "^0.25.13",
|
|
66
|
+
"typedoc-plugin-markdown": "^4.0.0-next.55",
|
|
67
|
+
"typedoc-theme-hierarchy": "^4.1.2",
|
|
58
68
|
"typescript": "^5.2.2",
|
|
59
69
|
"vite": "^4.4.9",
|
|
70
|
+
"vite-plugin-commonjs": "^0.10.1",
|
|
60
71
|
"vite-plugin-dts": "^3.6.0",
|
|
61
72
|
"vscode-oniguruma": "^1.6.1",
|
|
62
73
|
"vscode-textmate": "^6.0.0",
|
|
63
74
|
"vue": "^2.7.16",
|
|
75
|
+
"vue-loader": "^15.0.0",
|
|
76
|
+
"vue-style-loader": "^4.1.3",
|
|
77
|
+
"vue-styleguidist": "^4.72.4",
|
|
64
78
|
"vue-template-compiler": "^2.7.16",
|
|
65
|
-
"vue-tsc": "^1.8.15"
|
|
79
|
+
"vue-tsc": "^1.8.15",
|
|
80
|
+
"webpack": "^5.91.0",
|
|
81
|
+
"webpack-cli": "^5.1.4",
|
|
82
|
+
"webpack-shell-plugin-next": "^2.3.1"
|
|
66
83
|
},
|
|
67
84
|
"peerDependencies": {
|
|
68
85
|
"@fontsource-variable/inter": "^5.0.8",
|
|
@@ -77,4 +94,4 @@
|
|
|
77
94
|
"attributes": "dist/attributes.json"
|
|
78
95
|
},
|
|
79
96
|
"web-types": "dist/web-types.json"
|
|
80
|
-
}
|
|
97
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 0.0.58-preview-evercam-ui-ci-8a95cf24a (2024-04-04)
|
|
4
|
-
|
|
5
|
-
* updating package version to 0.0.58-preview-evercam-ui-ci-8a95cf24a ([0d10b1294](https://github.com/evercam/evercam-frontend/commit/0d10b1294b3cfc824d0dd63090bdeb1caeb00c24))
|
|
6
|
-
* trigger new build ([8a95cf24a](https://github.com/evercam/evercam-frontend/commit/8a95cf24ad763ab2f4df098bf1c26b60772eea66))
|
|
7
|
-
* updating @evercam/ui to 0.0.58-preview-evercam-ui-ci-d73244c2c ([0d337b326](https://github.com/evercam/evercam-frontend/commit/0d337b326d4021e849d976a1b19a9bffe9518edc))
|
|
8
|
-
* updating @evercam/ui to 0.0.58-preview-evercam-ui-ci-d73244c2c ([ae32eb977](https://github.com/evercam/evercam-frontend/commit/ae32eb9774dce7c7db0f9afeb934cc55be03eea4))
|
|
9
|
-
* updating package version to 0.0.58-preview-evercam-ui-ci-d73244c2c ([2c7f9738a](https://github.com/evercam/evercam-frontend/commit/2c7f9738a697adc10b789b0ec1cd13864afd6d0b))
|
|
10
|
-
* trigger a build ([d73244c2c](https://github.com/evercam/evercam-frontend/commit/d73244c2c410d9bcc7df67abe84f4ac219fbc85d))
|
|
11
|
-
* trigger build ([6ba99d20a](https://github.com/evercam/evercam-frontend/commit/6ba99d20a84aeee97cab918dc1f0207c7c68d624))
|
|
12
|
-
* trigger build ([162216864](https://github.com/evercam/evercam-frontend/commit/1622168643afefad3bf51978616c44371a42a645))
|
|
13
|
-
* updating @evercam/ui to 0.0.58-preview-evercam-ui-ci-1581e3229 ([2ab9d4eda](https://github.com/evercam/evercam-frontend/commit/2ab9d4eda6f9999c394a3038f6945a22d8ab8968))
|
|
14
|
-
* updating package version to 0.0.58-preview-evercam-ui-ci-1581e3229 ([01f2a9f6b](https://github.com/evercam/evercam-frontend/commit/01f2a9f6b43e6a3778a638dcc0dc8e541d1e5a3d))
|
|
15
|
-
* fix it ([1581e3229](https://github.com/evercam/evercam-frontend/commit/1581e322926ee979f505b27f5e950c7e534a4182))
|
|
16
|
-
* updating @evercam/ui to 0.0.58-preview-evercam-ui-ci-00c612b81 ([ebe811d26](https://github.com/evercam/evercam-frontend/commit/ebe811d2656741da27c56d52a59c58aa0bcbc11e))
|
|
17
|
-
* Update changelog for 0.0.58-preview-evercam-ui-ci-00c612b81 ([fa028fa2c](https://github.com/evercam/evercam-frontend/commit/fa028fa2cbc62539053320d0cd657b31b6bdda4f))
|
|
18
|
-
* updating package version to 0.0.58-preview-evercam-ui-ci-00c612b81 ([b0c521577](https://github.com/evercam/evercam-frontend/commit/b0c5215773e22c06ae410a0974e6baf020374b27))
|
|
19
|
-
* feat: create release script for evercam-ui ([00c612b81](https://github.com/evercam/evercam-frontend/commit/00c612b81e68653aaf6bc9dcfd5a098426089811))
|
|
20
|
-
|
|
21
|
-
## 0.0.58-preview-evercam-ui-ci-00c612b81 (2024-04-04)
|
|
22
|
-
|
|
23
|
-
* updating package version to 0.0.58-preview-evercam-ui-ci-00c612b81 ([b0c521577](https://github.com/evercam/evercam-frontend/commit/b0c5215773e22c06ae410a0974e6baf020374b27))
|
|
24
|
-
* feat: create release script for evercam-ui ([00c612b81](https://github.com/evercam/evercam-frontend/commit/00c612b81e68653aaf6bc9dcfd5a098426089811))
|
|
25
|
-
|