smarteye-e-components 0.0.32 → 0.0.33
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/package.json +1 -1
- package/dist/smarteye-e-components.js +0 -28
- package/dist/smarteye-e-components.js.map +0 -1
- package/dist/smarteye-e-components.mjs +0 -2773
- package/dist/smarteye-e-components.mjs.map +0 -1
- package/dist/style.css +0 -1
- package/lib/comp.d.ts +0 -12
- package/lib/components/index.d.ts +0 -1
- package/lib/components/recursion-device-group/index.vue.d.ts +0 -37
- package/lib/components/recursion-device-group/model/index.d.ts +0 -48
- package/lib/index.d.ts +0 -5
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.root[data-v-a063c331]{position:relative}.count-show[data-v-a063c331]{position:absolute;right:10px;color:#b7b7b7}.infinite-list-container[data-v-12d2a294]{height:100%;overflow:auto;position:relative;-webkit-overflow-scrolling:touch}.infinite-list-phantom[data-v-12d2a294]{position:absolute;left:0;top:0;right:0;z-index:-1}.infinite-list[data-v-12d2a294]{left:0;right:0;top:0;position:absolute}.infinite-list-item[data-v-12d2a294]{color:#555;box-sizing:border-box}:root{--device-offline-color: rgb(168, 168, 168);--device-online-color: rgb(1, 172, 1);--group-name-width: 160px;--device-opts-width: 80px}.group-head-db-click[data-v-9ed5d2b9],.group-head-db-click .group-name[data-v-9ed5d2b9]{cursor:pointer;user-select:none;position:relative}.group-head-count[data-v-9ed5d2b9]{position:absolute;left:0px;display:inline-block;width:24px;height:24px;line-height:24px;top:calc(50% - 12px);text-align:center;font-size:10px}.device-show-div[data-v-9ed5d2b9]{max-height:400px;overflow-y:auto}.dark .handle-ls-svg[data-v-9ed5d2b9]{color:#fff}.handle-ls-svg[data-v-9ed5d2b9]{vertical-align:-5px;cursor:pointer;margin-right:5px;color:#383838}.group-avatar[data-v-9ed5d2b9]{vertical-align:-6px;color:gray}.device[data-v-9ed5d2b9],.group[data-v-9ed5d2b9]{margin:5px 0}.group-name[data-v-9ed5d2b9]{display:inline-block;width:var(--group-name-width);cursor:default;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:middle;line-height:24px;padding-left:5px}.group-slot[data-v-9ed5d2b9]{display:inline-block;width:calc(100% - var(--group-name-width) - 100px)}.device-slot[data-v-9ed5d2b9]{display:inline-block;width:calc(var(--device-opts-width))}.device-avatar[data-v-9ed5d2b9]{vertical-align:-2px;margin-right:4px;margin-left:2px;color:var(--device-offline-color)}.device-name[data-v-9ed5d2b9]{display:inline-block;width:calc(100% - var(--device-opts-width) - 42px);cursor:default;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:bottom;color:var(--device-offline-color);padding-left:5px}.online-device .device-avatar[data-v-9ed5d2b9],.online-device .device-name[data-v-9ed5d2b9]{color:var(--device-online-color)}:root{--sec-main-search-height: 32px }.device-group-list[data-v-17e4082a]{height:100%}.device-group-list .search-panel[data-v-17e4082a]{height:var(--sec-main-search-height)}.device-group-list .device-panel[data-v-17e4082a]{height:calc(100% - var(--sec-main-search-height));overflow-y:auto}
|
package/lib/comp.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
MultiVideoAreaLayoutSwitch: typeof import('./components/multi-video-area-layout-switch/index.vue')['default']
|
|
10
|
-
RecursionDeviceGroup: typeof import('./components/recursion-device-group/index.vue')['default']
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../components/recursion-device-group/model';
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { RecursionDeviceGroup } from "./model";
|
|
3
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
-
deviceGroup: PropType<RecursionDeviceGroup.SessionDeviceGroup<any, any, any>>;
|
|
5
|
-
theme: {
|
|
6
|
-
type: PropType<"" | "dark">;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
locale: PropType<"en-us" | "zh-cn">;
|
|
10
|
-
}, {
|
|
11
|
-
i18nHello: import("vue-i18n").VueI18n<{
|
|
12
|
-
"zh-cn": any;
|
|
13
|
-
"en-us": any;
|
|
14
|
-
}, {}, {}, string, "en-us" | "zh-cn", "en-us" | "zh-cn", import("vue-i18n").Composer<{
|
|
15
|
-
"zh-cn": any;
|
|
16
|
-
"en-us": any;
|
|
17
|
-
}, {}, {}, string, "en-us" | "zh-cn", "en-us" | "zh-cn">>;
|
|
18
|
-
inputSearchRef: import("vue").Ref<HTMLInputElement | undefined>;
|
|
19
|
-
controlParams: import("vue").Ref<{
|
|
20
|
-
onlyShowOnline: boolean;
|
|
21
|
-
searchStr: string;
|
|
22
|
-
}>;
|
|
23
|
-
}, unknown, {}, {
|
|
24
|
-
onCheckBoxChange(): void;
|
|
25
|
-
onSearchChange(): void;
|
|
26
|
-
search(str: string): void;
|
|
27
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
deviceGroup: PropType<RecursionDeviceGroup.SessionDeviceGroup<any, any, any>>;
|
|
29
|
-
theme: {
|
|
30
|
-
type: PropType<"" | "dark">;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
locale: PropType<"en-us" | "zh-cn">;
|
|
34
|
-
}>>, {
|
|
35
|
-
theme: "" | "dark";
|
|
36
|
-
}>;
|
|
37
|
-
export default _sfc_main;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export declare namespace RecursionDeviceGroup {
|
|
2
|
-
interface IChannelInfo {
|
|
3
|
-
index: number;
|
|
4
|
-
name: string;
|
|
5
|
-
mediaDir: number;
|
|
6
|
-
}
|
|
7
|
-
interface DeviceInfo<T = any> {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
pid: string;
|
|
11
|
-
online: boolean;
|
|
12
|
-
channels: Array<IChannelInfo>;
|
|
13
|
-
tag?: T;
|
|
14
|
-
}
|
|
15
|
-
interface DeviceGroup<T = any, DT = any> extends ICountInfo {
|
|
16
|
-
id: string;
|
|
17
|
-
name: string;
|
|
18
|
-
pid: string;
|
|
19
|
-
devices: Array<DeviceInfo<DT>>;
|
|
20
|
-
items: Array<DeviceGroup<T, DT>>;
|
|
21
|
-
tag?: T;
|
|
22
|
-
}
|
|
23
|
-
interface SessionDeviceGroup<GroupTag = any, DeviceTag = any, SessionTag = any> extends ICountInfo {
|
|
24
|
-
name: string;
|
|
25
|
-
items: Array<DeviceGroup>;
|
|
26
|
-
tag?: SessionTag;
|
|
27
|
-
}
|
|
28
|
-
interface ICountInfo {
|
|
29
|
-
totalCount: number;
|
|
30
|
-
onlineCount: number;
|
|
31
|
-
items: Array<ICountInfo>;
|
|
32
|
-
devices?: Array<DeviceInfo>;
|
|
33
|
-
}
|
|
34
|
-
interface IControlParams {
|
|
35
|
-
onlyShowOnline: boolean;
|
|
36
|
-
searchStr: string;
|
|
37
|
-
}
|
|
38
|
-
namespace Test {
|
|
39
|
-
function RandomDeviceGroup(count: number): SessionDeviceGroup;
|
|
40
|
-
}
|
|
41
|
-
namespace Utils {
|
|
42
|
-
function AccessSession(session: SessionDeviceGroup): {
|
|
43
|
-
getGroup(id: string): DeviceGroup<any, any>;
|
|
44
|
-
getDevice(id: string): DeviceInfo<any>;
|
|
45
|
-
foreachGroup(handle: (item: DeviceGroup) => void): void;
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
}
|