@htmlbricks/hb-gallery-video 0.8.37 → 0.8.43
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 +37 -6
- package/package.json +11 -9
- package/release/docs.js +33 -4
- package/release/docs.js.map +1 -1
- package/release/docs.mjs +61 -0
- package/release/docs.ts +37 -6
- package/release/manifest.json +203 -0
- package/release/release.js +1 -1
- package/release/release.js.map +1 -1
- package/release/webcomponent.type.d.json +1 -4
- package/release/webcomponent_events.type.d.json +10 -0
- package/release/docs.type.d.json +0 -66
package/extra/docs.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup } from "@htmlbricks/hb-jsutils/main";
|
|
1
|
+
import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "@htmlbricks/hb-jsutils/main";
|
|
2
|
+
import type { Component } from "../app/types/webcomponent.type";
|
|
2
3
|
|
|
3
4
|
export const storybookArgs = {
|
|
4
5
|
size: { control: { type: "range", min: 1, max: 100 } },
|
|
@@ -22,15 +23,45 @@ export const styleSetup: StyleSetup = {
|
|
|
22
23
|
vars: cssVars,
|
|
23
24
|
parts: cssParts,
|
|
24
25
|
};
|
|
26
|
+
const cards: Component["cards"] = [
|
|
27
|
+
{
|
|
28
|
+
title: "bau",
|
|
29
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
30
|
+
time: new Date("2021-08-06T22:46:30.565Z"),
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
title: "bb1",
|
|
34
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
35
|
+
time: new Date("2021-08-06T22:46:31.565Z"),
|
|
36
|
+
},
|
|
25
37
|
|
|
26
|
-
|
|
38
|
+
{
|
|
39
|
+
title: "bb4",
|
|
40
|
+
time: new Date("2021-08-06T22:46:34.565Z"),
|
|
41
|
+
videoSrc: "https://www.youtube.com/embed/tgbNymZ7vqY",
|
|
42
|
+
provider: "youtube",
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
{
|
|
46
|
+
title: "bb12",
|
|
47
|
+
time: new Date("2021-08-06T22:46:34.565Z"),
|
|
48
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
const examples: Component[] = [
|
|
52
|
+
{
|
|
53
|
+
cards,
|
|
54
|
+
},
|
|
55
|
+
];
|
|
56
|
+
export const componentSetup: ComponentSetup & { examples: Component[] } = {
|
|
57
|
+
definitions: null,
|
|
27
58
|
storybookArgs,
|
|
28
59
|
styleSetup,
|
|
29
60
|
htmlSlots,
|
|
30
61
|
i18n: i18nLanguages,
|
|
31
|
-
examples
|
|
32
|
-
name: "",
|
|
33
|
-
category: "",
|
|
34
|
-
tags: [],
|
|
62
|
+
examples,
|
|
63
|
+
name: "hb-gallery-video",
|
|
64
|
+
category: "components",
|
|
65
|
+
tags: ["components"],
|
|
35
66
|
size: {},
|
|
36
67
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-gallery-video",
|
|
3
3
|
"displayName": "Svelte Boostrap Video Gallery WebComponent",
|
|
4
4
|
"description": "Svelte Boostrap Video Gallery WebComponent",
|
|
5
|
-
"version": "0.8.
|
|
5
|
+
"version": "0.8.43",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -20,15 +20,18 @@
|
|
|
20
20
|
"start": "sirv dist",
|
|
21
21
|
"dev": "rm -rf ./dist && rollup -c -w",
|
|
22
22
|
"build": "rm -rf ./dist && rollup -c",
|
|
23
|
-
"generate-
|
|
24
|
-
"generate-schema": "ts-json-schema-generator --path 'app/types/webcomponent.type.d.ts' > dist/webcomponent.type.d.json",
|
|
23
|
+
"generate-manifest": "npm run generate-schemes && manifester --dir $PWD",
|
|
24
|
+
"generate-component-schema": "ts-json-schema-generator --type 'Component' --path 'app/types/webcomponent.type.d.ts' > dist/webcomponent.type.d.json",
|
|
25
|
+
"generate-events-schema": "ts-json-schema-generator --type 'Events' --path 'app/types/webcomponent.type.d.ts' > dist/webcomponent_events.type.d.json",
|
|
26
|
+
"generate-schemes": "npm run generate-events-schema && npm run generate-component-schema",
|
|
25
27
|
"copydest": "rm -rf release && mkdir -p release && mkdir -p release && cp dist/* ./release/",
|
|
26
28
|
"build-extra": "tsc --moduleResolution node --module es2020 --esModuleInterop true --outDir dist --sourceMap --skipLibCheck extra/*",
|
|
27
|
-
"build:release": "PRODUCTION=true npm run build && npm run build-extra && npm run generate-
|
|
29
|
+
"build:release": "PRODUCTION=true npm run build && npm run build-extra && npm run generate-manifest && npm run copydest",
|
|
28
30
|
"prepublish": "npm run build:release"
|
|
29
31
|
},
|
|
30
32
|
"devDependencies": {
|
|
31
|
-
"@htmlbricks/hb-jsutils": "^0.8.
|
|
33
|
+
"@htmlbricks/hb-jsutils": "^0.8.43",
|
|
34
|
+
"@htmlbricks/manifester": "^0.0.5",
|
|
32
35
|
"@rollup/plugin-alias": "^3.1.2",
|
|
33
36
|
"@rollup/plugin-commonjs": "^18.0.0",
|
|
34
37
|
"@rollup/plugin-json": "^4.1.0",
|
|
@@ -42,7 +45,6 @@
|
|
|
42
45
|
"eslint": "^7.25.0",
|
|
43
46
|
"eslint-plugin-jsdoc": "^33.0.0",
|
|
44
47
|
"eslint-plugin-svelte3": "^3.2.0",
|
|
45
|
-
"generate-json-from-js-object": "^0.0.17",
|
|
46
48
|
"node-sass": "^6.0.1",
|
|
47
49
|
"postcss": "^8.2.13",
|
|
48
50
|
"postcss-load-config": "^3.0.1",
|
|
@@ -74,9 +76,9 @@
|
|
|
74
76
|
],
|
|
75
77
|
"contributors": [],
|
|
76
78
|
"dependencies": {
|
|
77
|
-
"@htmlbricks/hb-card-video": "^0.8.
|
|
78
|
-
"@htmlbricks/hb-paginate": "^0.8.
|
|
79
|
+
"@htmlbricks/hb-card-video": "^0.8.43",
|
|
80
|
+
"@htmlbricks/hb-paginate": "^0.8.43",
|
|
79
81
|
"dayjs": "^1.10.7"
|
|
80
82
|
},
|
|
81
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "00bfec0d080db03f42972124577a880c9bf2570e"
|
|
82
84
|
}
|
package/release/docs.js
CHANGED
|
@@ -18,15 +18,44 @@ export var styleSetup = {
|
|
|
18
18
|
vars: cssVars,
|
|
19
19
|
parts: cssParts
|
|
20
20
|
};
|
|
21
|
+
var cards = [
|
|
22
|
+
{
|
|
23
|
+
title: "bau",
|
|
24
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
25
|
+
time: new Date("2021-08-06T22:46:30.565Z")
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
title: "bb1",
|
|
29
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
30
|
+
time: new Date("2021-08-06T22:46:31.565Z")
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
title: "bb4",
|
|
34
|
+
time: new Date("2021-08-06T22:46:34.565Z"),
|
|
35
|
+
videoSrc: "https://www.youtube.com/embed/tgbNymZ7vqY",
|
|
36
|
+
provider: "youtube"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
title: "bb12",
|
|
40
|
+
time: new Date("2021-08-06T22:46:34.565Z"),
|
|
41
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video"
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
var examples = [
|
|
45
|
+
{
|
|
46
|
+
cards: cards
|
|
47
|
+
},
|
|
48
|
+
];
|
|
21
49
|
export var componentSetup = {
|
|
50
|
+
definitions: null,
|
|
22
51
|
storybookArgs: storybookArgs,
|
|
23
52
|
styleSetup: styleSetup,
|
|
24
53
|
htmlSlots: htmlSlots,
|
|
25
54
|
i18n: i18nLanguages,
|
|
26
|
-
examples:
|
|
27
|
-
name: "",
|
|
28
|
-
category: "",
|
|
29
|
-
tags: [],
|
|
55
|
+
examples: examples,
|
|
56
|
+
name: "hb-gallery-video",
|
|
57
|
+
category: "components",
|
|
58
|
+
tags: ["components"],
|
|
30
59
|
size: {}
|
|
31
60
|
};
|
|
32
61
|
//# sourceMappingURL=docs.js.map
|
package/release/docs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,IAAM,aAAa,GAAG;IAC5B,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE;IACtD,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACrC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACxC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACvC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACrC,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC5C,UAAU,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE;IACzC,cAAc,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAChD,gBAAgB,EAAE,EAAE,MAAM,EAAE,uBAAuB,EAAE;IACrD,gBAAgB,EAAE,EAAE,MAAM,EAAE,uBAAuB,EAAE;CACrD,CAAC;AAEF,IAAM,OAAO,GAAa,EAAE,CAAC;AAC7B,MAAM,CAAC,IAAM,QAAQ,GAAc,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;AAC5E,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;AACF,IAAM,KAAK,GAAuB;IACjC;QACC,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,0EAA0E;QACpF,IAAI,EAAE,IAAI,IAAI,CAAC,0BAA0B,CAAC;KAC1C;IACD;QACC,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,0EAA0E;QACpF,IAAI,EAAE,IAAI,IAAI,CAAC,0BAA0B,CAAC;KAC1C;IAED;QACC,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,IAAI,IAAI,CAAC,0BAA0B,CAAC;QAC1C,QAAQ,EAAE,2CAA2C;QACrD,QAAQ,EAAE,SAAS;KACnB;IAED;QACC,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,IAAI,IAAI,CAAC,0BAA0B,CAAC;QAC1C,QAAQ,EAAE,0EAA0E;KACpF;CACD,CAAC;AACF,IAAM,QAAQ,GAAgB;IAC7B;QACC,KAAK,OAAA;KACL;CACD,CAAC;AACF,MAAM,CAAC,IAAM,cAAc,GAA+C;IACzE,WAAW,EAAE,IAAI;IACjB,aAAa,eAAA;IACb,UAAU,YAAA;IACV,SAAS,WAAA;IACT,IAAI,EAAE,aAAa;IACnB,QAAQ,UAAA;IACR,IAAI,EAAE,kBAAkB;IACxB,QAAQ,EAAE,YAAY;IACtB,IAAI,EAAE,CAAC,YAAY,CAAC;IACpB,IAAI,EAAE,EAAE;CACR,CAAC"}
|
package/release/docs.mjs
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export var storybookArgs = {
|
|
2
|
+
size: { control: { type: "range", min: 1, max: 100 } },
|
|
3
|
+
page: { control: { type: "number" } },
|
|
4
|
+
resturi: { control: { type: "object" } },
|
|
5
|
+
headers: { control: { type: "array" } },
|
|
6
|
+
cards: { control: { type: "array" } },
|
|
7
|
+
primarycolor: { control: { type: "color" } },
|
|
8
|
+
pagechange: { action: "pagechangeEvent" },
|
|
9
|
+
externalfilter: { control: { type: "boolean" } },
|
|
10
|
+
textFilterVideos: { action: "textFilterVideosEvent" },
|
|
11
|
+
dateFilterVideos: { action: "dateFilterVideosEvent" }
|
|
12
|
+
};
|
|
13
|
+
var cssVars = [];
|
|
14
|
+
export var cssParts = [{ name: "container", description: "" }];
|
|
15
|
+
export var htmlSlots = [];
|
|
16
|
+
export var i18nLanguages = [];
|
|
17
|
+
export var styleSetup = {
|
|
18
|
+
vars: cssVars,
|
|
19
|
+
parts: cssParts
|
|
20
|
+
};
|
|
21
|
+
var cards = [
|
|
22
|
+
{
|
|
23
|
+
title: "bau",
|
|
24
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
25
|
+
time: new Date("2021-08-06T22:46:30.565Z")
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
title: "bb1",
|
|
29
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
30
|
+
time: new Date("2021-08-06T22:46:31.565Z")
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
title: "bb4",
|
|
34
|
+
time: new Date("2021-08-06T22:46:34.565Z"),
|
|
35
|
+
videoSrc: "https://www.youtube.com/embed/tgbNymZ7vqY",
|
|
36
|
+
provider: "youtube"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
title: "bb12",
|
|
40
|
+
time: new Date("2021-08-06T22:46:34.565Z"),
|
|
41
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video"
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
var examples = [
|
|
45
|
+
{
|
|
46
|
+
cards: cards
|
|
47
|
+
},
|
|
48
|
+
];
|
|
49
|
+
export var componentSetup = {
|
|
50
|
+
definitions: null,
|
|
51
|
+
storybookArgs: storybookArgs,
|
|
52
|
+
styleSetup: styleSetup,
|
|
53
|
+
htmlSlots: htmlSlots,
|
|
54
|
+
i18n: i18nLanguages,
|
|
55
|
+
examples: examples,
|
|
56
|
+
name: "hb-gallery-video",
|
|
57
|
+
category: "components",
|
|
58
|
+
tags: ["components"],
|
|
59
|
+
size: {}
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=docs.js.map
|
package/release/docs.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup } from "@htmlbricks/hb-jsutils/main";
|
|
1
|
+
import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "@htmlbricks/hb-jsutils/main";
|
|
2
|
+
import type { Component } from "../app/types/webcomponent.type";
|
|
2
3
|
|
|
3
4
|
export const storybookArgs = {
|
|
4
5
|
size: { control: { type: "range", min: 1, max: 100 } },
|
|
@@ -22,15 +23,45 @@ export const styleSetup: StyleSetup = {
|
|
|
22
23
|
vars: cssVars,
|
|
23
24
|
parts: cssParts,
|
|
24
25
|
};
|
|
26
|
+
const cards: Component["cards"] = [
|
|
27
|
+
{
|
|
28
|
+
title: "bau",
|
|
29
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
30
|
+
time: new Date("2021-08-06T22:46:30.565Z"),
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
title: "bb1",
|
|
34
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
35
|
+
time: new Date("2021-08-06T22:46:31.565Z"),
|
|
36
|
+
},
|
|
25
37
|
|
|
26
|
-
|
|
38
|
+
{
|
|
39
|
+
title: "bb4",
|
|
40
|
+
time: new Date("2021-08-06T22:46:34.565Z"),
|
|
41
|
+
videoSrc: "https://www.youtube.com/embed/tgbNymZ7vqY",
|
|
42
|
+
provider: "youtube",
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
{
|
|
46
|
+
title: "bb12",
|
|
47
|
+
time: new Date("2021-08-06T22:46:34.565Z"),
|
|
48
|
+
videoSrc: "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
const examples: Component[] = [
|
|
52
|
+
{
|
|
53
|
+
cards,
|
|
54
|
+
},
|
|
55
|
+
];
|
|
56
|
+
export const componentSetup: ComponentSetup & { examples: Component[] } = {
|
|
57
|
+
definitions: null,
|
|
27
58
|
storybookArgs,
|
|
28
59
|
styleSetup,
|
|
29
60
|
htmlSlots,
|
|
30
61
|
i18n: i18nLanguages,
|
|
31
|
-
examples
|
|
32
|
-
name: "",
|
|
33
|
-
category: "",
|
|
34
|
-
tags: [],
|
|
62
|
+
examples,
|
|
63
|
+
name: "hb-gallery-video",
|
|
64
|
+
category: "components",
|
|
65
|
+
tags: ["components"],
|
|
35
66
|
size: {},
|
|
36
67
|
};
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {
|
|
3
|
+
"events": {
|
|
4
|
+
"$ref": "#/definitions/Events",
|
|
5
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
6
|
+
"definitions": {
|
|
7
|
+
"Events": {
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"type": "object"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"component": {
|
|
14
|
+
"$ref": "#/definitions/Component",
|
|
15
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
16
|
+
"definitions": {
|
|
17
|
+
"Component": {
|
|
18
|
+
"additionalProperties": false,
|
|
19
|
+
"properties": {
|
|
20
|
+
"cards": {
|
|
21
|
+
"items": {
|
|
22
|
+
"$ref": "#/definitions/ICard"
|
|
23
|
+
},
|
|
24
|
+
"type": "array"
|
|
25
|
+
},
|
|
26
|
+
"dateformat": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"disabletextfilter": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"externalfilter": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"filter": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"id": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"initialdate": {
|
|
42
|
+
"format": "date-time",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"lastdate": {
|
|
46
|
+
"format": "date-time",
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"linkLabel": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"page": {
|
|
53
|
+
"type": "number"
|
|
54
|
+
},
|
|
55
|
+
"pages": {
|
|
56
|
+
"type": "number"
|
|
57
|
+
},
|
|
58
|
+
"primarycolor": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"size": {
|
|
62
|
+
"type": "number"
|
|
63
|
+
},
|
|
64
|
+
"style": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"cards"
|
|
70
|
+
],
|
|
71
|
+
"type": "object"
|
|
72
|
+
},
|
|
73
|
+
"ICard": {
|
|
74
|
+
"additionalProperties": false,
|
|
75
|
+
"properties": {
|
|
76
|
+
"_id": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"dateformat": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"description": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
"pageUri": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"provider": {
|
|
89
|
+
"const": "youtube",
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
"time": {
|
|
93
|
+
"format": "date-time",
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"title": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"videoSrc": {
|
|
100
|
+
"type": "string"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"required": [
|
|
104
|
+
"videoSrc"
|
|
105
|
+
],
|
|
106
|
+
"type": "object"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"storybookArgs": {
|
|
112
|
+
"size": {
|
|
113
|
+
"control": {
|
|
114
|
+
"type": "range",
|
|
115
|
+
"min": 1,
|
|
116
|
+
"max": 100
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"page": {
|
|
120
|
+
"control": {
|
|
121
|
+
"type": "number"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"resturi": {
|
|
125
|
+
"control": {
|
|
126
|
+
"type": "object"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"headers": {
|
|
130
|
+
"control": {
|
|
131
|
+
"type": "array"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"cards": {
|
|
135
|
+
"control": {
|
|
136
|
+
"type": "array"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"primarycolor": {
|
|
140
|
+
"control": {
|
|
141
|
+
"type": "color"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"pagechange": {
|
|
145
|
+
"action": "pagechangeEvent"
|
|
146
|
+
},
|
|
147
|
+
"externalfilter": {
|
|
148
|
+
"control": {
|
|
149
|
+
"type": "boolean"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"textFilterVideos": {
|
|
153
|
+
"action": "textFilterVideosEvent"
|
|
154
|
+
},
|
|
155
|
+
"dateFilterVideos": {
|
|
156
|
+
"action": "dateFilterVideosEvent"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"styleSetup": {
|
|
160
|
+
"vars": [],
|
|
161
|
+
"parts": [
|
|
162
|
+
{
|
|
163
|
+
"name": "container",
|
|
164
|
+
"description": ""
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
"htmlSlots": [],
|
|
169
|
+
"i18n": [],
|
|
170
|
+
"examples": [
|
|
171
|
+
{
|
|
172
|
+
"cards": [
|
|
173
|
+
{
|
|
174
|
+
"title": "bau",
|
|
175
|
+
"videoSrc": "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
176
|
+
"time": "2021-08-06T22:46:30.565Z"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"title": "bb1",
|
|
180
|
+
"videoSrc": "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
|
|
181
|
+
"time": "2021-08-06T22:46:31.565Z"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"title": "bb4",
|
|
185
|
+
"time": "2021-08-06T22:46:34.565Z",
|
|
186
|
+
"videoSrc": "https://www.youtube.com/embed/tgbNymZ7vqY",
|
|
187
|
+
"provider": "youtube"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"title": "bb12",
|
|
191
|
+
"time": "2021-08-06T22:46:34.565Z",
|
|
192
|
+
"videoSrc": "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video"
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"name": "hb-gallery-video",
|
|
198
|
+
"category": "components",
|
|
199
|
+
"tags": [
|
|
200
|
+
"components"
|
|
201
|
+
],
|
|
202
|
+
"size": {}
|
|
203
|
+
}
|