@htmlbricks/hb-player-live-camera-ptz 0.17.14 → 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 CHANGED
@@ -2,12 +2,27 @@ import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup }
2
2
  import type { Component } from "../app/types/webcomponent.type";
3
3
 
4
4
  export const storybookArgs = {
5
- // width: { control: { type: "text" } },
5
+ presets: { control: { type: "object" } },
6
+ live_uri: { control: { type: "text" } },
7
+ current_preset: { control: { type: "text" } },
6
8
  // height: { control: { type: "text" } },
7
- // liveStatus: { action: "liveStatusEvent" },
9
+ zoomAction: { action: "zoomActionEvent" },
10
+ goToHome: { action: "goToHomeEvent" },
11
+ sendJoystickPosition: { action: "sendJoystickPositionEvent" },
12
+ sendDirection: { action: "sendDirectionEvent" },
13
+ addSceneAsPreset: { action: "addSceneAsPresetEvent" },
14
+ changePreset: { action: "changePresetEvent" },
15
+ sendRect: { action: "sendRectEvent" },
8
16
  };
9
17
 
10
- 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
+ ];
11
26
  export const cssParts: CssPart[] = [];
12
27
  export const htmlSlots: HtmlSlot[] = [];
13
28
  export const i18nLanguages: i18nLang[] = [];
@@ -20,7 +35,45 @@ export const styleSetup: StyleSetup = {
20
35
  const examples: { name: string; description?: string; data: Component }[] = [
21
36
  {
22
37
  name: "default",
23
- data: {},
38
+ data: {
39
+ live_uri: "",
40
+ },
41
+ },
42
+
43
+ {
44
+ name: "withPresets",
45
+ data: {
46
+ live_uri: "",
47
+
48
+ presets: [
49
+ {
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",
68
+ id: "preset1",
69
+ },
70
+ {
71
+ name: "Preset 2",
72
+ id: "preset2",
73
+ },
74
+ ],
75
+ current_preset: "preset1",
76
+ },
24
77
  },
25
78
  ];
26
79
  export const componentSetup: ComponentSetup & { examples: { name: string; description?: string; data: Component }[] } = {
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.14",
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.14",
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,9 +76,12 @@
76
76
  "html5-webcomponents"
77
77
  ],
78
78
  "contributors": [],
79
- "gitHead": "494d11594aa56dfafe3f181517d20bd4da884d04",
79
+ "gitHead": "deb874b7854c5972a7c8375737890db2535a80bb",
80
80
  "dependencies": {
81
- "@htmlbricks/hb-player-live": "^0.17.14",
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",
82
85
  "style-to-object": "^0.3.0"
83
86
  }
84
87
  }
package/release/docs.js CHANGED
@@ -1,9 +1,24 @@
1
1
  export var storybookArgs = {
2
- // width: { control: { type: "text" } },
3
- // height: { control: { type: "text" } },
4
- // liveStatus: { action: "liveStatusEvent" },
2
+ presets: { control: { type: "object" } },
3
+ live_uri: { control: { type: "text" } },
4
+ current_preset: { control: { type: "text" } },
5
+ // height: { control: { type: "text" } },
6
+ zoomAction: { action: "zoomActionEvent" },
7
+ goToHome: { action: "goToHomeEvent" },
8
+ sendJoystickPosition: { action: "sendJoystickPositionEvent" },
9
+ sendDirection: { action: "sendDirectionEvent" },
10
+ addSceneAsPreset: { action: "addSceneAsPresetEvent" },
11
+ changePreset: { action: "changePresetEvent" },
12
+ sendRect: { action: "sendRectEvent" }
5
13
  };
6
- 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
+ ];
7
22
  export var cssParts = [];
8
23
  export var htmlSlots = [];
9
24
  export var i18nLanguages = [];
@@ -14,7 +29,42 @@ export var styleSetup = {
14
29
  var examples = [
15
30
  {
16
31
  name: "default",
17
- data: {}
32
+ data: {
33
+ live_uri: ""
34
+ }
35
+ },
36
+ {
37
+ name: "withPresets",
38
+ data: {
39
+ live_uri: "",
40
+ presets: [
41
+ {
42
+ name: "Preset 1",
43
+ id: "preset1"
44
+ },
45
+ {
46
+ name: "Preset 2",
47
+ id: "preset2"
48
+ },
49
+ ]
50
+ }
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
+ }
18
68
  },
19
69
  ];
20
70
  export var componentSetup = {
@@ -1 +1 @@
1
- {"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,IAAM,aAAa,GAAG;AAC5B,wCAAwC;AACxC,yCAAyC;AACzC,6CAA6C;CAC7C,CAAC;AAEF,IAAM,OAAO,GAAa,EAAE,CAAC;AAC7B,MAAM,CAAC,IAAM,QAAQ,GAAc,EAAE,CAAC;AACtC,MAAM,CAAC,IAAM,SAAS,GAAe,EAAE,CAAC;AACxC,MAAM,CAAC,IAAM,aAAa,GAAe,EAAE,CAAC;AAE5C,MAAM,CAAC,IAAM,UAAU,GAAe;IACrC,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,QAAQ;CACf,CAAC;AAEF,IAAM,QAAQ,GAA8D;IAC3E;QACC,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,EAAE;KACR;CACD,CAAC;AACF,MAAM,CAAC,IAAM,cAAc,GAA6F;IACvH,WAAW,EAAE,IAAW;IACxB,aAAa,eAAA;IACb,UAAU,YAAA;IACV,MAAM,EAAE,IAAW;IACnB,YAAY,EAAE,EAAE;IAChB,KAAK,EAAE,IAAW;IAClB,SAAS,WAAA;IACT,IAAI,EAAE,aAAa;IACnB,QAAQ,UAAA;IACR,WAAW,EAAE,EAAE;IACf,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IA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AACF,MAAM,CAAC,IAAM,cAAc,GAA6F;IACvH,WAAW,EAAE,IAAW;IACxB,aAAa,eAAA;IACb,UAAU,YAAA;IACV,MAAM,EAAE,IAAW;IACnB,YAAY,EAAE,EAAE;IAChB,KAAK,EAAE,IAAW;IAClB,SAAS,WAAA;IACT,IAAI,EAAE,aAAa;IACnB,QAAQ,UAAA;IACR,WAAW,EAAE,EAAE;IACf,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChF,UAAU,EAAE,WAAW;IACvB,IAAI,EAAE,2BAA2B;IACjC,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,CAAC,OAAO,CAAC;IACf,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,oBAAoB;IAC9B,QAAQ,EAAE,uCAAuC;IACjD,OAAO,EAAE,IAAW;CACpB,CAAC"}
package/release/docs.ts CHANGED
@@ -2,12 +2,27 @@ import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup }
2
2
  import type { Component } from "../app/types/webcomponent.type";
3
3
 
4
4
  export const storybookArgs = {
5
- // width: { control: { type: "text" } },
5
+ presets: { control: { type: "object" } },
6
+ live_uri: { control: { type: "text" } },
7
+ current_preset: { control: { type: "text" } },
6
8
  // height: { control: { type: "text" } },
7
- // liveStatus: { action: "liveStatusEvent" },
9
+ zoomAction: { action: "zoomActionEvent" },
10
+ goToHome: { action: "goToHomeEvent" },
11
+ sendJoystickPosition: { action: "sendJoystickPositionEvent" },
12
+ sendDirection: { action: "sendDirectionEvent" },
13
+ addSceneAsPreset: { action: "addSceneAsPresetEvent" },
14
+ changePreset: { action: "changePresetEvent" },
15
+ sendRect: { action: "sendRectEvent" },
8
16
  };
9
17
 
10
- 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
+ ];
11
26
  export const cssParts: CssPart[] = [];
12
27
  export const htmlSlots: HtmlSlot[] = [];
13
28
  export const i18nLanguages: i18nLang[] = [];
@@ -20,7 +35,45 @@ export const styleSetup: StyleSetup = {
20
35
  const examples: { name: string; description?: string; data: Component }[] = [
21
36
  {
22
37
  name: "default",
23
- data: {},
38
+ data: {
39
+ live_uri: "",
40
+ },
41
+ },
42
+
43
+ {
44
+ name: "withPresets",
45
+ data: {
46
+ live_uri: "",
47
+
48
+ presets: [
49
+ {
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",
68
+ id: "preset1",
69
+ },
70
+ {
71
+ name: "Preset 2",
72
+ id: "preset2",
73
+ },
74
+ ],
75
+ current_preset: "preset1",
76
+ },
24
77
  },
25
78
  ];
26
79
  export const componentSetup: ComponentSetup & { examples: { name: string; description?: string; data: Component }[] } = {