smarteye-e-components 0.0.3 → 0.0.6
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/smarteye-e-components.mjs +1388 -734
- package/dist/style.css +1 -0
- package/lib/comp.d.ts +11 -0
- package/lib/components/index.d.ts +1 -4
- package/lib/components/recursion-device-group/index.vue.d.ts +7 -1
- package/lib/components/recursion-device-group/model/index.d.ts +28 -0
- package/lib/index.d.ts +2 -5
- package/package.json +6 -3
- package/readme.md +0 -0
- package/lib/shims-vue.d.ts +0 -5
- package/lib/src/components/index.d.ts +0 -4
- package/lib/src/components/recursion-device-group/index.vue.d.ts +0 -2
- package/lib/src/index.d.ts +0 -8
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.root[data-v-645fa4e7]{position:relative}.count-show[data-v-645fa4e7]{position:absolute;right:0px;color:#b7b7b7}:root{--device-offline-color: rgb(168, 168, 168);--device-online-color: rgb(1, 172, 1)}.handle-ls-svg[data-v-babbb531]{vertical-align:-5px;cursor:pointer;margin-right:5px;color:#383838}.group-avatar[data-v-babbb531]{vertical-align:-6px;color:gray}.device[data-v-babbb531],.group[data-v-babbb531]{margin:5px 0}.device-avatar[data-v-babbb531]{vertical-align:-2px;margin-right:4px;margin-left:2px;color:var(--device-offline-color)}.device-name[data-v-babbb531]{color:var(--device-offline-color)}.online-device .device-avatar[data-v-babbb531],.online-device .device-name[data-v-babbb531]{color:var(--device-online-color)}:root{--sec-main-search-height: 64px }.device-group-list[data-v-32a0c3cc]{height:100%}.device-group-list .search-panel[data-v-32a0c3cc]{height:var(--sec-main-search-height)}.device-group-list .device-panel[data-v-32a0c3cc]{height:calc(100% - var(--sec-main-search-height));overflow-y:auto}
|
package/lib/comp.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// generated by unplugin-vue-components
|
|
2
|
+
// We suggest you to commit this file into source control
|
|
3
|
+
// Read more: https://github.com/vuejs/core/pull/3399
|
|
4
|
+
|
|
5
|
+
export {}
|
|
6
|
+
|
|
7
|
+
declare module '@vue/runtime-core' {
|
|
8
|
+
export interface GlobalComponents {
|
|
9
|
+
RecursionDeviceGroup: typeof import('./components/recursion-device-group/index.vue')['default']
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { SessionDeviceGroup } from "./model";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
deviceGroup: PropType<SessionDeviceGroup>;
|
|
5
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
+
deviceGroup: PropType<SessionDeviceGroup>;
|
|
7
|
+
}>>, {}>;
|
|
2
8
|
export default _sfc_main;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface IChannelInfo {
|
|
2
|
+
index: number;
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export interface DeviceInfo {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
online: boolean;
|
|
9
|
+
channels: Array<IChannelInfo>;
|
|
10
|
+
}
|
|
11
|
+
export interface DeviceGroup extends ICountInfo {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
devices: Array<DeviceInfo>;
|
|
15
|
+
items: Array<DeviceGroup>;
|
|
16
|
+
}
|
|
17
|
+
export interface SessionDeviceGroup extends ICountInfo {
|
|
18
|
+
name: string;
|
|
19
|
+
items: Array<DeviceGroup>;
|
|
20
|
+
}
|
|
21
|
+
export interface ICountInfo {
|
|
22
|
+
totalCount: number;
|
|
23
|
+
onlineCount: number;
|
|
24
|
+
items: Array<ICountInfo>;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace Test {
|
|
27
|
+
function RandomDeviceGroup(count: number): SessionDeviceGroup;
|
|
28
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Plugin } from "vue";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
interface GlobalComponents extends IComponents {
|
|
5
|
-
}
|
|
6
|
-
}
|
|
2
|
+
export * from "./comp.d";
|
|
3
|
+
export * from "./components";
|
|
7
4
|
declare const _default: Plugin;
|
|
8
5
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smarteye-e-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/smarteye-e-components.mjs",
|
|
6
6
|
"scripts": {
|
|
@@ -17,21 +17,24 @@
|
|
|
17
17
|
"dist",
|
|
18
18
|
"lib"
|
|
19
19
|
],
|
|
20
|
+
"style": "dist/style.css",
|
|
20
21
|
"types": "./lib/index.d.ts",
|
|
21
22
|
"keywords": [],
|
|
22
23
|
"author": "",
|
|
23
24
|
"license": "ISC",
|
|
24
25
|
"devDependencies": {
|
|
26
|
+
"@iconify-icons/ep": "^1.2.8",
|
|
27
|
+
"@iconify/vue": "^4.0.0",
|
|
25
28
|
"@types/node": "^18.7.21",
|
|
26
29
|
"@vitejs/plugin-vue": "^3.1.0",
|
|
27
30
|
"@vue/runtime-core": "^3.2.39",
|
|
28
31
|
"typescript": "^4.8.3",
|
|
32
|
+
"unplugin-vue-components": "^0.22.7",
|
|
29
33
|
"vite": "^3.1.3",
|
|
30
34
|
"vite-plugin-dts": "^1.5.0",
|
|
31
|
-
"vue": "^3.
|
|
35
|
+
"vue": "^3.0.0"
|
|
32
36
|
},
|
|
33
37
|
"peerDependencies": {
|
|
34
|
-
"@vue/runtime-core": "^3.0.0",
|
|
35
38
|
"vue": "^3.0.0"
|
|
36
39
|
}
|
|
37
40
|
}
|
package/readme.md
ADDED
|
File without changes
|
package/lib/shims-vue.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const components: {
|
|
2
|
-
RecursionDeviceGroup: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
3
|
-
};
|
|
4
|
-
export declare type IComponents = typeof components;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _sfc_main;
|
package/lib/src/index.d.ts
DELETED