smarteye-e-components 0.0.39 → 0.0.41

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}
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-dd409189]{height:24px;background-color:#ddd;display:inline-block;vertical-align:middle}.layout-item[data-v-dd409189]{display:inline-block;cursor:pointer;box-sizing:border-box;border:2px solid rgba(0,0,0,0)}.layout-item[data-v-dd409189]:hover{border:2px solid rgb(212,212,212)}.layout-item-select[data-v-dd409189]:hover,.layout-item-select[data-v-dd409189]{border:2px solid rgb(177,177,177)}.switch-panel[data-v-ff93817a]{width:400px}.play-area[data-v-e5654385]{border:1px solid;border-right:0px;border-top:0px}
@@ -1 +1,2 @@
1
1
  export * from '../components/recursion-device-group/model';
2
+ export * from '../components/multi-video-area-layout-switch/model/';
@@ -0,0 +1,8 @@
1
+ import { VideoAreaLayout } from "./model";
2
+ declare const _sfc_main: import("vue").DefineComponent<{}, {
3
+ onselect: (layoutSelect: VideoAreaLayout.ILayoutChangeEvent, svg: string) => void;
4
+ svgSelect: import("vue").Ref<string>;
5
+ layout: VideoAreaLayout.ILayout[];
6
+ defaultLayout: VideoAreaLayout.ILayout;
7
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
8
+ export default _sfc_main;
@@ -0,0 +1,40 @@
1
+ export declare namespace VideoAreaLayout {
2
+ interface IPoint {
3
+ row: number;
4
+ col: number;
5
+ }
6
+ interface IArea {
7
+ leftTop: IPoint;
8
+ rightBottom: IPoint;
9
+ }
10
+ interface ILayout {
11
+ name: string;
12
+ row: number;
13
+ col: number;
14
+ count: number;
15
+ area?: IArea;
16
+ areas?: Array<IArea>;
17
+ }
18
+ interface ILayoutChangeEvent {
19
+ layout: ILayout;
20
+ cancel: boolean;
21
+ }
22
+ interface IAreaIdentifier {
23
+ id: string;
24
+ row: number;
25
+ col: number;
26
+ }
27
+ interface IRectLayout extends IAreaIdentifier {
28
+ layout: {
29
+ left: number;
30
+ top: number;
31
+ width: number;
32
+ height: number;
33
+ };
34
+ }
35
+ function genLayout(row: number, col: number, areas?: Array<[x1: number, y1: number, x2: number, y2: number]>): ILayout;
36
+ namespace Test {
37
+ function genLayout(row: number, col: number, area?: [x1: number, y1: number, x2: number, y2: number]): ILayout;
38
+ function getTestLayout(): ILayout;
39
+ }
40
+ }
@@ -0,0 +1,18 @@
1
+ import { VideoAreaLayout } from "../model/index";
2
+ export interface ISVGSize {
3
+ width: number;
4
+ height: number;
5
+ }
6
+ export interface ISVGMultiplier {
7
+ col: number;
8
+ row: number;
9
+ }
10
+ declare const _default: {
11
+ TransLayoutToFrams(layout: VideoAreaLayout.ILayout): Array<VideoAreaLayout.IRectLayout>;
12
+ TransLayoutToSVG(layout: VideoAreaLayout.ILayout, svgSize: ISVGSize): string;
13
+ StorageDefaultLayout: {
14
+ get(): VideoAreaLayout.ILayout | null;
15
+ set(layout: VideoAreaLayout.ILayout): void;
16
+ };
17
+ };
18
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { PropType } from "vue";
2
+ import { VideoAreaLayout } from "../multi-video-area-layout-switch/model";
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ layout: {
5
+ type: PropType<VideoAreaLayout.ILayout>;
6
+ };
7
+ }, {
8
+ frameRef: import("vue").ComputedRef<VideoAreaLayout.IRectLayout[]>;
9
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
+ layout: {
11
+ type: PropType<VideoAreaLayout.ILayout>;
12
+ };
13
+ }>>, {}>;
14
+ export default _sfc_main;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smarteye-e-components",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "description": "",
5
5
  "main": "./dist/smarteye-e-components.mjs",
6
6
  "scripts": {