@htmlbricks/hb-player-live-camera-ptz 0.17.16 → 0.17.18
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/extra/docs.ts +31 -4
- package/package.json +7 -7
- package/release/docs.js +31 -5
- package/release/docs.js.map +1 -1
- package/release/docs.ts +31 -4
- package/release/manifest.json +208 -15
- package/release/release.js +1 -1
- package/release/release.js.map +1 -1
- package/release/webcomponent.type.d.ts +35 -7
package/extra/docs.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type { Component } from "../app/types/webcomponent.type";
|
|
|
4
4
|
export const storybookArgs = {
|
|
5
5
|
presets: { control: { type: "object" } },
|
|
6
6
|
live_uri: { control: { type: "text" } },
|
|
7
|
+
current_preset: { control: { type: "text" } },
|
|
7
8
|
// height: { control: { type: "text" } },
|
|
8
9
|
zoomAction: { action: "zoomActionEvent" },
|
|
9
10
|
goToHome: { action: "goToHomeEvent" },
|
|
@@ -11,9 +12,17 @@ export const storybookArgs = {
|
|
|
11
12
|
sendDirection: { action: "sendDirectionEvent" },
|
|
12
13
|
addSceneAsPreset: { action: "addSceneAsPresetEvent" },
|
|
13
14
|
changePreset: { action: "changePresetEvent" },
|
|
15
|
+
sendRect: { action: "sendRectEvent" },
|
|
14
16
|
};
|
|
15
17
|
|
|
16
|
-
const cssVars: CssVar[] = [
|
|
18
|
+
const cssVars: CssVar[] = [
|
|
19
|
+
{ name: "--bs-primary", valueType: "color", theme: "bootstrap", defaultValue: "#07689f" },
|
|
20
|
+
{ name: "--bs-secondary", valueType: "color", theme: "bootstrap", defaultValue: "#c9d6df" },
|
|
21
|
+
{ name: "--bs-success", valueType: "color", theme: "bootstrap", defaultValue: "#11d3bc" },
|
|
22
|
+
{ name: "--bs-info", valueType: "color", theme: "bootstrap", defaultValue: "#a2d5f2" },
|
|
23
|
+
{ name: "--bs-warning", valueType: "color", theme: "bootstrap", defaultValue: "#ffc107" },
|
|
24
|
+
{ name: "--bs-danger", valueType: "color", theme: "bootstrap", defaultValue: "#f67280" },
|
|
25
|
+
];
|
|
17
26
|
export const cssParts: CssPart[] = [];
|
|
18
27
|
export const htmlSlots: HtmlSlot[] = [];
|
|
19
28
|
export const i18nLanguages: i18nLang[] = [];
|
|
@@ -27,7 +36,7 @@ const examples: { name: string; description?: string; data: Component }[] = [
|
|
|
27
36
|
{
|
|
28
37
|
name: "default",
|
|
29
38
|
data: {
|
|
30
|
-
live_uri: "
|
|
39
|
+
live_uri: "",
|
|
31
40
|
},
|
|
32
41
|
},
|
|
33
42
|
|
|
@@ -38,14 +47,32 @@ const examples: { name: string; description?: string; data: Component }[] = [
|
|
|
38
47
|
|
|
39
48
|
presets: [
|
|
40
49
|
{
|
|
41
|
-
|
|
50
|
+
name: "Preset 1",
|
|
51
|
+
id: "preset1",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: "Preset 2",
|
|
55
|
+
id: "preset2",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: "withPresetSelected",
|
|
62
|
+
data: {
|
|
63
|
+
live_uri: "",
|
|
64
|
+
|
|
65
|
+
presets: [
|
|
66
|
+
{
|
|
67
|
+
name: "Preset 1",
|
|
42
68
|
id: "preset1",
|
|
43
69
|
},
|
|
44
70
|
{
|
|
45
|
-
|
|
71
|
+
name: "Preset 2",
|
|
46
72
|
id: "preset2",
|
|
47
73
|
},
|
|
48
74
|
],
|
|
75
|
+
current_preset: "preset1",
|
|
49
76
|
},
|
|
50
77
|
},
|
|
51
78
|
];
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-player-live-camera-ptz",
|
|
3
3
|
"displayName": "Svelte Boostrap Pagination WebComponent",
|
|
4
4
|
"description": "Svelte Boostrap Pagination WebComponent",
|
|
5
|
-
"version": "0.17.
|
|
5
|
+
"version": "0.17.18",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepublish": "npm run build:release"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@htmlbricks/hb-jsutils": "^0.17.
|
|
33
|
+
"@htmlbricks/hb-jsutils": "^0.17.18",
|
|
34
34
|
"@htmlbricks/manifester": "^0.0.22",
|
|
35
35
|
"@rollup/plugin-alias": "^3.1.2",
|
|
36
36
|
"@rollup/plugin-commonjs": "^18.0.0",
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
"html5-webcomponents"
|
|
77
77
|
],
|
|
78
78
|
"contributors": [],
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "deb874b7854c5972a7c8375737890db2535a80bb",
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@htmlbricks/hb-dialog": "^0.17.
|
|
82
|
-
"@htmlbricks/hb-pad-joystick": "^0.17.
|
|
83
|
-
"@htmlbricks/hb-player-live": "^0.17.
|
|
84
|
-
"@htmlbricks/hb-table": "^0.17.
|
|
81
|
+
"@htmlbricks/hb-dialog": "^0.17.18",
|
|
82
|
+
"@htmlbricks/hb-pad-joystick": "^0.17.18",
|
|
83
|
+
"@htmlbricks/hb-player-live": "^0.17.18",
|
|
84
|
+
"@htmlbricks/hb-table": "^0.17.18",
|
|
85
85
|
"style-to-object": "^0.3.0"
|
|
86
86
|
}
|
|
87
87
|
}
|
package/release/docs.js
CHANGED
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
export var storybookArgs = {
|
|
2
2
|
presets: { control: { type: "object" } },
|
|
3
3
|
live_uri: { control: { type: "text" } },
|
|
4
|
+
current_preset: { control: { type: "text" } },
|
|
4
5
|
// height: { control: { type: "text" } },
|
|
5
6
|
zoomAction: { action: "zoomActionEvent" },
|
|
6
7
|
goToHome: { action: "goToHomeEvent" },
|
|
7
8
|
sendJoystickPosition: { action: "sendJoystickPositionEvent" },
|
|
8
9
|
sendDirection: { action: "sendDirectionEvent" },
|
|
9
10
|
addSceneAsPreset: { action: "addSceneAsPresetEvent" },
|
|
10
|
-
changePreset: { action: "changePresetEvent" }
|
|
11
|
+
changePreset: { action: "changePresetEvent" },
|
|
12
|
+
sendRect: { action: "sendRectEvent" }
|
|
11
13
|
};
|
|
12
|
-
var cssVars = [
|
|
14
|
+
var cssVars = [
|
|
15
|
+
{ name: "--bs-primary", valueType: "color", theme: "bootstrap", defaultValue: "#07689f" },
|
|
16
|
+
{ name: "--bs-secondary", valueType: "color", theme: "bootstrap", defaultValue: "#c9d6df" },
|
|
17
|
+
{ name: "--bs-success", valueType: "color", theme: "bootstrap", defaultValue: "#11d3bc" },
|
|
18
|
+
{ name: "--bs-info", valueType: "color", theme: "bootstrap", defaultValue: "#a2d5f2" },
|
|
19
|
+
{ name: "--bs-warning", valueType: "color", theme: "bootstrap", defaultValue: "#ffc107" },
|
|
20
|
+
{ name: "--bs-danger", valueType: "color", theme: "bootstrap", defaultValue: "#f67280" },
|
|
21
|
+
];
|
|
13
22
|
export var cssParts = [];
|
|
14
23
|
export var htmlSlots = [];
|
|
15
24
|
export var i18nLanguages = [];
|
|
@@ -21,7 +30,7 @@ var examples = [
|
|
|
21
30
|
{
|
|
22
31
|
name: "default",
|
|
23
32
|
data: {
|
|
24
|
-
live_uri: "
|
|
33
|
+
live_uri: ""
|
|
25
34
|
}
|
|
26
35
|
},
|
|
27
36
|
{
|
|
@@ -30,16 +39,33 @@ var examples = [
|
|
|
30
39
|
live_uri: "",
|
|
31
40
|
presets: [
|
|
32
41
|
{
|
|
33
|
-
|
|
42
|
+
name: "Preset 1",
|
|
34
43
|
id: "preset1"
|
|
35
44
|
},
|
|
36
45
|
{
|
|
37
|
-
|
|
46
|
+
name: "Preset 2",
|
|
38
47
|
id: "preset2"
|
|
39
48
|
},
|
|
40
49
|
]
|
|
41
50
|
}
|
|
42
51
|
},
|
|
52
|
+
{
|
|
53
|
+
name: "withPresetSelected",
|
|
54
|
+
data: {
|
|
55
|
+
live_uri: "",
|
|
56
|
+
presets: [
|
|
57
|
+
{
|
|
58
|
+
name: "Preset 1",
|
|
59
|
+
id: "preset1"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: "Preset 2",
|
|
63
|
+
id: "preset2"
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
current_preset: "preset1"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
43
69
|
];
|
|
44
70
|
export var componentSetup = {
|
|
45
71
|
definitions: null,
|
package/release/docs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,IAAM,aAAa,GAAG;IAC5B,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACxC,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACvC,yCAAyC;IACzC,UAAU,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE;IACzC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE;IACrC,oBAAoB,EAAE,EAAE,MAAM,EAAE,2BAA2B,EAAE;IAC7D,aAAa,EAAE,EAAE,MAAM,EAAE,oBAAoB,EAAE;IAC/C,gBAAgB,EAAE,EAAE,MAAM,EAAE,uBAAuB,EAAE;IACrD,YAAY,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE;
|
|
1
|
+
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,IAAM,aAAa,GAAG;IAC5B,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACxC,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACvC,cAAc,EAAE,EAA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f,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,oBAAoB;IAC9B,QAAQ,EAAE,uCAAuC;IACjD,OAAO,EAAE,IAAW;CACpB,CAAC"}
|
package/release/docs.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type { Component } from "../app/types/webcomponent.type";
|
|
|
4
4
|
export const storybookArgs = {
|
|
5
5
|
presets: { control: { type: "object" } },
|
|
6
6
|
live_uri: { control: { type: "text" } },
|
|
7
|
+
current_preset: { control: { type: "text" } },
|
|
7
8
|
// height: { control: { type: "text" } },
|
|
8
9
|
zoomAction: { action: "zoomActionEvent" },
|
|
9
10
|
goToHome: { action: "goToHomeEvent" },
|
|
@@ -11,9 +12,17 @@ export const storybookArgs = {
|
|
|
11
12
|
sendDirection: { action: "sendDirectionEvent" },
|
|
12
13
|
addSceneAsPreset: { action: "addSceneAsPresetEvent" },
|
|
13
14
|
changePreset: { action: "changePresetEvent" },
|
|
15
|
+
sendRect: { action: "sendRectEvent" },
|
|
14
16
|
};
|
|
15
17
|
|
|
16
|
-
const cssVars: CssVar[] = [
|
|
18
|
+
const cssVars: CssVar[] = [
|
|
19
|
+
{ name: "--bs-primary", valueType: "color", theme: "bootstrap", defaultValue: "#07689f" },
|
|
20
|
+
{ name: "--bs-secondary", valueType: "color", theme: "bootstrap", defaultValue: "#c9d6df" },
|
|
21
|
+
{ name: "--bs-success", valueType: "color", theme: "bootstrap", defaultValue: "#11d3bc" },
|
|
22
|
+
{ name: "--bs-info", valueType: "color", theme: "bootstrap", defaultValue: "#a2d5f2" },
|
|
23
|
+
{ name: "--bs-warning", valueType: "color", theme: "bootstrap", defaultValue: "#ffc107" },
|
|
24
|
+
{ name: "--bs-danger", valueType: "color", theme: "bootstrap", defaultValue: "#f67280" },
|
|
25
|
+
];
|
|
17
26
|
export const cssParts: CssPart[] = [];
|
|
18
27
|
export const htmlSlots: HtmlSlot[] = [];
|
|
19
28
|
export const i18nLanguages: i18nLang[] = [];
|
|
@@ -27,7 +36,7 @@ const examples: { name: string; description?: string; data: Component }[] = [
|
|
|
27
36
|
{
|
|
28
37
|
name: "default",
|
|
29
38
|
data: {
|
|
30
|
-
live_uri: "
|
|
39
|
+
live_uri: "",
|
|
31
40
|
},
|
|
32
41
|
},
|
|
33
42
|
|
|
@@ -38,14 +47,32 @@ const examples: { name: string; description?: string; data: Component }[] = [
|
|
|
38
47
|
|
|
39
48
|
presets: [
|
|
40
49
|
{
|
|
41
|
-
|
|
50
|
+
name: "Preset 1",
|
|
51
|
+
id: "preset1",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: "Preset 2",
|
|
55
|
+
id: "preset2",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: "withPresetSelected",
|
|
62
|
+
data: {
|
|
63
|
+
live_uri: "",
|
|
64
|
+
|
|
65
|
+
presets: [
|
|
66
|
+
{
|
|
67
|
+
name: "Preset 1",
|
|
42
68
|
id: "preset1",
|
|
43
69
|
},
|
|
44
70
|
{
|
|
45
|
-
|
|
71
|
+
name: "Preset 2",
|
|
46
72
|
id: "preset2",
|
|
47
73
|
},
|
|
48
74
|
],
|
|
75
|
+
current_preset: "preset1",
|
|
49
76
|
},
|
|
50
77
|
},
|
|
51
78
|
];
|
package/release/manifest.json
CHANGED
|
@@ -28,10 +28,15 @@
|
|
|
28
28
|
"properties": {
|
|
29
29
|
"id": {
|
|
30
30
|
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"time": {
|
|
33
|
+
"format": "date-time",
|
|
34
|
+
"type": "string"
|
|
31
35
|
}
|
|
32
36
|
},
|
|
33
37
|
"required": [
|
|
34
|
-
"id"
|
|
38
|
+
"id",
|
|
39
|
+
"time"
|
|
35
40
|
],
|
|
36
41
|
"type": "object"
|
|
37
42
|
},
|
|
@@ -41,20 +46,55 @@
|
|
|
41
46
|
"id": {
|
|
42
47
|
"type": "string"
|
|
43
48
|
},
|
|
44
|
-
"label": {
|
|
45
|
-
"type": "string"
|
|
46
|
-
},
|
|
47
49
|
"movementSettings": {
|
|
48
50
|
"$ref": "#/definitions/TMovementSettings"
|
|
49
51
|
},
|
|
52
|
+
"name": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"number": {
|
|
56
|
+
"type": "number"
|
|
57
|
+
},
|
|
50
58
|
"playerId": {
|
|
51
59
|
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"time": {
|
|
62
|
+
"format": "date-time",
|
|
63
|
+
"type": "string"
|
|
52
64
|
}
|
|
53
65
|
},
|
|
54
66
|
"required": [
|
|
55
67
|
"id",
|
|
56
68
|
"movementSettings",
|
|
57
|
-
"playerId"
|
|
69
|
+
"playerId",
|
|
70
|
+
"time"
|
|
71
|
+
],
|
|
72
|
+
"type": "object"
|
|
73
|
+
},
|
|
74
|
+
"deletePreset": {
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"properties": {
|
|
77
|
+
"id": {
|
|
78
|
+
"type": "string"
|
|
79
|
+
},
|
|
80
|
+
"name": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
"number": {
|
|
84
|
+
"type": "number"
|
|
85
|
+
},
|
|
86
|
+
"playerId": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"time": {
|
|
90
|
+
"format": "date-time",
|
|
91
|
+
"type": "string"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"required": [
|
|
95
|
+
"id",
|
|
96
|
+
"playerId",
|
|
97
|
+
"time"
|
|
58
98
|
],
|
|
59
99
|
"type": "object"
|
|
60
100
|
},
|
|
@@ -66,11 +106,16 @@
|
|
|
66
106
|
},
|
|
67
107
|
"movementSettings": {
|
|
68
108
|
"$ref": "#/definitions/TMovementSettings"
|
|
109
|
+
},
|
|
110
|
+
"time": {
|
|
111
|
+
"format": "date-time",
|
|
112
|
+
"type": "string"
|
|
69
113
|
}
|
|
70
114
|
},
|
|
71
115
|
"required": [
|
|
72
116
|
"movementSettings",
|
|
73
|
-
"id"
|
|
117
|
+
"id",
|
|
118
|
+
"time"
|
|
74
119
|
],
|
|
75
120
|
"type": "object"
|
|
76
121
|
},
|
|
@@ -94,13 +139,18 @@
|
|
|
94
139
|
},
|
|
95
140
|
"movementSettings": {
|
|
96
141
|
"$ref": "#/definitions/TMovementSettings"
|
|
142
|
+
},
|
|
143
|
+
"time": {
|
|
144
|
+
"format": "date-time",
|
|
145
|
+
"type": "string"
|
|
97
146
|
}
|
|
98
147
|
},
|
|
99
148
|
"required": [
|
|
100
149
|
"movementSettings",
|
|
101
150
|
"direction",
|
|
102
151
|
"id",
|
|
103
|
-
"joyId"
|
|
152
|
+
"joyId",
|
|
153
|
+
"time"
|
|
104
154
|
],
|
|
105
155
|
"type": "object"
|
|
106
156
|
},
|
|
@@ -119,6 +169,10 @@
|
|
|
119
169
|
"movementSettings": {
|
|
120
170
|
"$ref": "#/definitions/TMovementSettings"
|
|
121
171
|
},
|
|
172
|
+
"time": {
|
|
173
|
+
"format": "date-time",
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
122
176
|
"x": {
|
|
123
177
|
"type": "number"
|
|
124
178
|
},
|
|
@@ -132,7 +186,53 @@
|
|
|
132
186
|
"y",
|
|
133
187
|
"cardinalDirection",
|
|
134
188
|
"id",
|
|
135
|
-
"joyId"
|
|
189
|
+
"joyId",
|
|
190
|
+
"time"
|
|
191
|
+
],
|
|
192
|
+
"type": "object"
|
|
193
|
+
},
|
|
194
|
+
"sendRect": {
|
|
195
|
+
"additionalProperties": false,
|
|
196
|
+
"properties": {
|
|
197
|
+
"height": {
|
|
198
|
+
"type": "number"
|
|
199
|
+
},
|
|
200
|
+
"htmlVideoElementHeight": {
|
|
201
|
+
"type": "number"
|
|
202
|
+
},
|
|
203
|
+
"htmlVideoElementWidth": {
|
|
204
|
+
"type": "number"
|
|
205
|
+
},
|
|
206
|
+
"id": {
|
|
207
|
+
"type": "string"
|
|
208
|
+
},
|
|
209
|
+
"left": {
|
|
210
|
+
"type": "number"
|
|
211
|
+
},
|
|
212
|
+
"movementSettings": {
|
|
213
|
+
"$ref": "#/definitions/TMovementSettings"
|
|
214
|
+
},
|
|
215
|
+
"time": {
|
|
216
|
+
"format": "date-time",
|
|
217
|
+
"type": "string"
|
|
218
|
+
},
|
|
219
|
+
"top": {
|
|
220
|
+
"type": "number"
|
|
221
|
+
},
|
|
222
|
+
"width": {
|
|
223
|
+
"type": "number"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"required": [
|
|
227
|
+
"movementSettings",
|
|
228
|
+
"id",
|
|
229
|
+
"top",
|
|
230
|
+
"left",
|
|
231
|
+
"width",
|
|
232
|
+
"height",
|
|
233
|
+
"htmlVideoElementWidth",
|
|
234
|
+
"htmlVideoElementHeight",
|
|
235
|
+
"time"
|
|
136
236
|
],
|
|
137
237
|
"type": "object"
|
|
138
238
|
},
|
|
@@ -151,12 +251,17 @@
|
|
|
151
251
|
},
|
|
152
252
|
"movementSettings": {
|
|
153
253
|
"$ref": "#/definitions/TMovementSettings"
|
|
254
|
+
},
|
|
255
|
+
"time": {
|
|
256
|
+
"format": "date-time",
|
|
257
|
+
"type": "string"
|
|
154
258
|
}
|
|
155
259
|
},
|
|
156
260
|
"required": [
|
|
157
261
|
"movementSettings",
|
|
158
262
|
"direction",
|
|
159
|
-
"id"
|
|
263
|
+
"id",
|
|
264
|
+
"time"
|
|
160
265
|
],
|
|
161
266
|
"type": "object"
|
|
162
267
|
}
|
|
@@ -164,8 +269,10 @@
|
|
|
164
269
|
"required": [
|
|
165
270
|
"zoomAction",
|
|
166
271
|
"goToHome",
|
|
272
|
+
"sendRect",
|
|
167
273
|
"addSceneAsPreset",
|
|
168
274
|
"changePreset",
|
|
275
|
+
"deletePreset",
|
|
169
276
|
"sendJoystickPosition",
|
|
170
277
|
"sendDirection"
|
|
171
278
|
],
|
|
@@ -199,15 +306,36 @@
|
|
|
199
306
|
"configuration": {
|
|
200
307
|
"additionalProperties": false,
|
|
201
308
|
"properties": {
|
|
309
|
+
"addPreset": {
|
|
310
|
+
"type": "boolean"
|
|
311
|
+
},
|
|
312
|
+
"clickToCenter": {
|
|
313
|
+
"type": "boolean"
|
|
314
|
+
},
|
|
315
|
+
"deletePreset": {
|
|
316
|
+
"type": "boolean"
|
|
317
|
+
},
|
|
202
318
|
"home": {
|
|
203
319
|
"type": "boolean"
|
|
204
320
|
},
|
|
205
321
|
"joystick": {
|
|
206
322
|
"type": "boolean"
|
|
207
323
|
},
|
|
324
|
+
"pan": {
|
|
325
|
+
"type": "boolean"
|
|
326
|
+
},
|
|
208
327
|
"presets": {
|
|
209
328
|
"type": "boolean"
|
|
210
329
|
},
|
|
330
|
+
"settings": {
|
|
331
|
+
"type": "boolean"
|
|
332
|
+
},
|
|
333
|
+
"switchPreset": {
|
|
334
|
+
"type": "boolean"
|
|
335
|
+
},
|
|
336
|
+
"tilt": {
|
|
337
|
+
"type": "boolean"
|
|
338
|
+
},
|
|
211
339
|
"zoom": {
|
|
212
340
|
"additionalProperties": false,
|
|
213
341
|
"properties": {
|
|
@@ -264,8 +392,11 @@
|
|
|
264
392
|
"id": {
|
|
265
393
|
"type": "string"
|
|
266
394
|
},
|
|
267
|
-
"
|
|
395
|
+
"name": {
|
|
268
396
|
"type": "string"
|
|
397
|
+
},
|
|
398
|
+
"number": {
|
|
399
|
+
"type": "number"
|
|
269
400
|
}
|
|
270
401
|
},
|
|
271
402
|
"required": [
|
|
@@ -287,6 +418,11 @@
|
|
|
287
418
|
"type": "text"
|
|
288
419
|
}
|
|
289
420
|
},
|
|
421
|
+
"current_preset": {
|
|
422
|
+
"control": {
|
|
423
|
+
"type": "text"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
290
426
|
"zoomAction": {
|
|
291
427
|
"action": "zoomActionEvent"
|
|
292
428
|
},
|
|
@@ -304,10 +440,50 @@
|
|
|
304
440
|
},
|
|
305
441
|
"changePreset": {
|
|
306
442
|
"action": "changePresetEvent"
|
|
443
|
+
},
|
|
444
|
+
"sendRect": {
|
|
445
|
+
"action": "sendRectEvent"
|
|
307
446
|
}
|
|
308
447
|
},
|
|
309
448
|
"styleSetup": {
|
|
310
|
-
"vars": [
|
|
449
|
+
"vars": [
|
|
450
|
+
{
|
|
451
|
+
"name": "--bs-primary",
|
|
452
|
+
"valueType": "color",
|
|
453
|
+
"theme": "bootstrap",
|
|
454
|
+
"defaultValue": "#07689f"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "--bs-secondary",
|
|
458
|
+
"valueType": "color",
|
|
459
|
+
"theme": "bootstrap",
|
|
460
|
+
"defaultValue": "#c9d6df"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"name": "--bs-success",
|
|
464
|
+
"valueType": "color",
|
|
465
|
+
"theme": "bootstrap",
|
|
466
|
+
"defaultValue": "#11d3bc"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"name": "--bs-info",
|
|
470
|
+
"valueType": "color",
|
|
471
|
+
"theme": "bootstrap",
|
|
472
|
+
"defaultValue": "#a2d5f2"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"name": "--bs-warning",
|
|
476
|
+
"valueType": "color",
|
|
477
|
+
"theme": "bootstrap",
|
|
478
|
+
"defaultValue": "#ffc107"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "--bs-danger",
|
|
482
|
+
"valueType": "color",
|
|
483
|
+
"theme": "bootstrap",
|
|
484
|
+
"defaultValue": "#f67280"
|
|
485
|
+
}
|
|
486
|
+
],
|
|
311
487
|
"parts": []
|
|
312
488
|
},
|
|
313
489
|
"author": "Dario Caruso <dev@dariocaruso.info> (https://dariocaruso.info)",
|
|
@@ -319,7 +495,7 @@
|
|
|
319
495
|
{
|
|
320
496
|
"name": "default",
|
|
321
497
|
"data": {
|
|
322
|
-
"live_uri": "
|
|
498
|
+
"live_uri": ""
|
|
323
499
|
}
|
|
324
500
|
},
|
|
325
501
|
{
|
|
@@ -328,15 +504,32 @@
|
|
|
328
504
|
"live_uri": "",
|
|
329
505
|
"presets": [
|
|
330
506
|
{
|
|
331
|
-
"
|
|
507
|
+
"name": "Preset 1",
|
|
332
508
|
"id": "preset1"
|
|
333
509
|
},
|
|
334
510
|
{
|
|
335
|
-
"
|
|
511
|
+
"name": "Preset 2",
|
|
336
512
|
"id": "preset2"
|
|
337
513
|
}
|
|
338
514
|
]
|
|
339
515
|
}
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"name": "withPresetSelected",
|
|
519
|
+
"data": {
|
|
520
|
+
"live_uri": "",
|
|
521
|
+
"presets": [
|
|
522
|
+
{
|
|
523
|
+
"name": "Preset 1",
|
|
524
|
+
"id": "preset1"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"name": "Preset 2",
|
|
528
|
+
"id": "preset2"
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
"current_preset": "preset1"
|
|
532
|
+
}
|
|
340
533
|
}
|
|
341
534
|
],
|
|
342
535
|
"screenshots": [],
|
|
@@ -357,5 +550,5 @@
|
|
|
357
550
|
"size": {},
|
|
358
551
|
"iifePath": "release/release.js",
|
|
359
552
|
"repoName": "@htmlbricks/hb-player-live-camera-ptz",
|
|
360
|
-
"version": "0.17.
|
|
553
|
+
"version": "0.17.18"
|
|
361
554
|
}
|