smarteye-e-components 0.0.50 → 0.0.52

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/style.css CHANGED
@@ -1 +1 @@
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-93cfc8dc],.group-head-db-click .group-name[data-v-93cfc8dc]{cursor:pointer;user-select:none;position:relative}.group-head-count[data-v-93cfc8dc]{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-93cfc8dc]{max-height:400px;overflow-y:auto}.dark .handle-ls-svg[data-v-93cfc8dc]{color:#fff}.handle-ls-svg[data-v-93cfc8dc]{vertical-align:-5px;cursor:pointer;margin-right:5px;color:#383838}.group-avatar[data-v-93cfc8dc]{vertical-align:-6px;color:gray}.device[data-v-93cfc8dc],.group[data-v-93cfc8dc]{margin:5px 0}.group-name[data-v-93cfc8dc]{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-93cfc8dc]{display:inline-block;width:calc(100% - var(--group-name-width) - 100px)}.device-slot[data-v-93cfc8dc]{display:inline-block;width:calc(var(--device-opts-width))}.device-avatar[data-v-93cfc8dc]{vertical-align:-2px;margin-right:4px;margin-left:2px;color:var(--device-offline-color)}.device-name[data-v-93cfc8dc]{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-93cfc8dc],.online-device .device-name[data-v-93cfc8dc]{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}.svg-style[data-v-e550e731]{height:24px;background-color:#ddd;display:inline-block;vertical-align:middle}.layout-item[data-v-e550e731]{border-radius:5px;display:inline-block;cursor:pointer;box-sizing:border-box;border:2px solid rgba(0,0,0,0)}.layout-item[data-v-e550e731]:hover{border:2px solid rgb(212,212,212)}.layout-item-select[data-v-e550e731]:hover,.layout-item-select[data-v-e550e731]{border:2px solid rgb(177,177,177)}.layout-switcher[data-v-095d33f6]{position:relative;color:#000;display:inline-block}.switch-switcher[data-v-095d33f6]{background-color:#ddd;cursor:pointer}.switch-panel[data-v-095d33f6]{border-radius:5px;width:400px;position:absolute;background-color:#fff;border:1px solid grey}.play-area[data-v-efd900be]{border-right:0px;border-top:0px}
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-93cfc8dc],.group-head-db-click .group-name[data-v-93cfc8dc]{cursor:pointer;user-select:none;position:relative}.group-head-count[data-v-93cfc8dc]{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-93cfc8dc]{max-height:400px;overflow-y:auto}.dark .handle-ls-svg[data-v-93cfc8dc]{color:#fff}.handle-ls-svg[data-v-93cfc8dc]{vertical-align:-5px;cursor:pointer;margin-right:5px;color:#383838}.group-avatar[data-v-93cfc8dc]{vertical-align:-6px;color:gray}.device[data-v-93cfc8dc],.group[data-v-93cfc8dc]{margin:5px 0}.group-name[data-v-93cfc8dc]{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-93cfc8dc]{display:inline-block;width:calc(100% - var(--group-name-width) - 100px)}.device-slot[data-v-93cfc8dc]{display:inline-block;width:calc(var(--device-opts-width))}.device-avatar[data-v-93cfc8dc]{vertical-align:-2px;margin-right:4px;margin-left:2px;color:var(--device-offline-color)}.device-name[data-v-93cfc8dc]{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-93cfc8dc],.online-device .device-name[data-v-93cfc8dc]{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}.svg-style[data-v-36f7a9fc]{height:24px;background-color:#ddd;display:inline-block;vertical-align:middle}.layout-item[data-v-36f7a9fc]{border-radius:5px;display:inline-block;cursor:pointer;box-sizing:border-box;border:2px solid rgba(0,0,0,0)}.layout-item[data-v-36f7a9fc]:hover{border:2px solid rgb(212,212,212)}.layout-item-select[data-v-36f7a9fc]:hover,.layout-item-select[data-v-36f7a9fc]{border:2px solid rgb(177,177,177)}.layout-switcher[data-v-22d9dfa1]{position:relative;color:#000;display:inline-block}.switch-switcher[data-v-22d9dfa1]{background-color:#ddd;cursor:pointer}.switch-panel[data-v-22d9dfa1]{border-radius:5px;width:400px;position:absolute;background-color:#fff;border:1px solid grey}.play-area[data-v-efd900be]{border-right:0px;border-top:0px}
@@ -1,5 +1,149 @@
1
1
  import { VideoAreaLayout } from "./model";
2
2
  declare const _sfc_main: import("vue").DefineComponent<{}, {
3
+ selectLoyoutById: (id: string, record?: boolean | undefined) => void;
4
+ refLayoutShow: import("vue").Ref<({
5
+ $: import("vue").ComponentInternalInstance;
6
+ $data: {};
7
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
8
+ defaultLayout: {
9
+ type: import("vue").PropType<VideoAreaLayout.ILayout>;
10
+ };
11
+ layouts: {
12
+ type: import("vue").PropType<VideoAreaLayout.ILayout[]>;
13
+ };
14
+ }>> & {
15
+ onOnselect?: ((layout: VideoAreaLayout.ILayoutChangeEvent, svg: string) => any) | undefined;
16
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
17
+ $attrs: {
18
+ [x: string]: unknown;
19
+ };
20
+ $refs: {
21
+ [x: string]: unknown;
22
+ };
23
+ $slots: Readonly<{
24
+ [name: string]: import("vue").Slot | undefined;
25
+ }>;
26
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
27
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
28
+ $emit: (event: "onselect", layout: VideoAreaLayout.ILayoutChangeEvent, svg: string) => void;
29
+ $el: any;
30
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
31
+ defaultLayout: {
32
+ type: import("vue").PropType<VideoAreaLayout.ILayout>;
33
+ };
34
+ layouts: {
35
+ type: import("vue").PropType<VideoAreaLayout.ILayout[]>;
36
+ };
37
+ }>> & {
38
+ onOnselect?: ((layout: VideoAreaLayout.ILayoutChangeEvent, svg: string) => any) | undefined;
39
+ }, {
40
+ layoutInfos: import("vue").Ref<{
41
+ svg: string;
42
+ layout: {
43
+ name: string;
44
+ row: number;
45
+ col: number;
46
+ count: number;
47
+ area?: {
48
+ leftTop: {
49
+ row: number;
50
+ col: number;
51
+ };
52
+ rightBottom: {
53
+ row: number;
54
+ col: number;
55
+ };
56
+ } | undefined;
57
+ areas?: {
58
+ leftTop: {
59
+ row: number;
60
+ col: number;
61
+ };
62
+ rightBottom: {
63
+ row: number;
64
+ col: number;
65
+ };
66
+ }[] | undefined;
67
+ };
68
+ select: boolean;
69
+ }[]>;
70
+ }, unknown, {}, {
71
+ SelectLayoutById(id: string): boolean;
72
+ selectClick(item: {
73
+ svg: string;
74
+ layout: VideoAreaLayout.ILayout;
75
+ select: boolean;
76
+ }): void;
77
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
78
+ onselect(layout: VideoAreaLayout.ILayoutChangeEvent, svg: string): true;
79
+ }, string, {}> & {
80
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
81
+ created?: ((() => void) | (() => void)[]) | undefined;
82
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
83
+ mounted?: ((() => void) | (() => void)[]) | undefined;
84
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
85
+ updated?: ((() => void) | (() => void)[]) | undefined;
86
+ activated?: ((() => void) | (() => void)[]) | undefined;
87
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
88
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
89
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
90
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
91
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
92
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
93
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
94
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
95
+ };
96
+ $forceUpdate: () => void;
97
+ $nextTick: typeof import("vue").nextTick;
98
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
99
+ } & Readonly<import("vue").ExtractPropTypes<{
100
+ defaultLayout: {
101
+ type: import("vue").PropType<VideoAreaLayout.ILayout>;
102
+ };
103
+ layouts: {
104
+ type: import("vue").PropType<VideoAreaLayout.ILayout[]>;
105
+ };
106
+ }>> & {
107
+ onOnselect?: ((layout: VideoAreaLayout.ILayoutChangeEvent, svg: string) => any) | undefined;
108
+ } & import("vue").ShallowUnwrapRef<{
109
+ layoutInfos: import("vue").Ref<{
110
+ svg: string;
111
+ layout: {
112
+ name: string;
113
+ row: number;
114
+ col: number;
115
+ count: number;
116
+ area?: {
117
+ leftTop: {
118
+ row: number;
119
+ col: number;
120
+ };
121
+ rightBottom: {
122
+ row: number;
123
+ col: number;
124
+ };
125
+ } | undefined;
126
+ areas?: {
127
+ leftTop: {
128
+ row: number;
129
+ col: number;
130
+ };
131
+ rightBottom: {
132
+ row: number;
133
+ col: number;
134
+ };
135
+ }[] | undefined;
136
+ };
137
+ select: boolean;
138
+ }[]>;
139
+ }> & {} & {
140
+ SelectLayoutById(id: string): boolean;
141
+ selectClick(item: {
142
+ svg: string;
143
+ layout: VideoAreaLayout.ILayout;
144
+ select: boolean;
145
+ }): void;
146
+ } & import("vue").ComponentCustomProperties) | undefined>;
3
147
  clickShowSelectPanel: () => void;
4
148
  showSelectPanel: import("vue").Ref<boolean>;
5
149
  onselect: (layoutSelect: VideoAreaLayout.ILayoutChangeEvent, svg: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smarteye-e-components",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "description": "",
5
5
  "main": "./dist/smarteye-e-components.mjs",
6
6
  "scripts": {