pds-dev-kit-web-test 2.5.355 → 2.5.356

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.
Files changed (20) hide show
  1. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +9 -6
  2. package/dist/src/sub/DynamicLayout/mock_composition.js +4 -0
  3. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +2 -0
  4. package/dist/src/sub/DynamicLayout/mock_contentsList.js +2 -0
  5. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +2 -0
  6. package/dist/src/sub/DynamicLayout/mock_video.d.ts +368 -0
  7. package/dist/src/sub/DynamicLayout/mock_video.js +371 -0
  8. package/dist/src/sub/DynamicLayout/mocks.d.ts +52 -644
  9. package/dist/src/sub/DynamicLayout/mocks.js +4269 -4238
  10. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -0
  11. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +5 -0
  12. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +123 -0
  13. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +1 -0
  14. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +8 -0
  15. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +11 -0
  16. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +11 -4
  17. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -0
  18. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +11 -1
  19. package/dist/src/sub/DynamicLayout/types.d.ts +9 -0
  20. package/package.json +1 -1
@@ -28,6 +28,7 @@ var RichText_1 = require("./componentBlocks/RichText");
28
28
  var SlideBanner_1 = require("./componentBlocks/SlideBanner");
29
29
  var Text_1 = __importDefault(require("./componentBlocks/Text/Text"));
30
30
  var Twitter_1 = __importDefault(require("./componentBlocks/Twitter/Twitter"));
31
+ var VideoPlayer_1 = require("./componentBlocks/VideoPlayer");
31
32
  var Youtube_1 = require("./componentBlocks/Youtube");
32
33
  function ComponentBlockMatcher(_a) {
33
34
  var cbProps = _a.cbProps, device = _a.device, index = _a.index;
@@ -50,6 +51,8 @@ function ComponentBlockMatcher(_a) {
50
51
  return (0, jsx_runtime_1.jsx)(Youtube_1.Youtube, __assign({}, propsWithValue, { index: index }));
51
52
  case types_1.CB_ALL_CODES.CB_EMBED:
52
53
  return (0, jsx_runtime_1.jsx)(Embed_1.default, __assign({}, propsWithValue, { index: index }));
54
+ case types_1.CB_ALL_CODES.CB_VIDEOPLAYER:
55
+ return (0, jsx_runtime_1.jsx)(VideoPlayer_1.VideoPlayer, __assign({}, propsWithValue, { index: index }));
53
56
  case types_1.CB_ALL_CODES.CB_CONTENTSCAROUSEL: {
54
57
  var compositions = cbProps.compositions;
55
58
  return ((0, jsx_runtime_1.jsx)(ContentsCarousel_1.ContentsCarousel, __assign({}, propsWithValue, { compositions: compositions, index: index })));
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { CB_VIDEOPLAYER_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
3
+ type Props = CB_VIDEOPLAYER_PROPERTIES_TYPE & IndexForIntersection;
4
+ declare function VideoPlayer(props: Props): JSX.Element;
5
+ export default VideoPlayer;
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __importDefault = (this && this.__importDefault) || function (mod) {
18
+ return (mod && mod.__esModule) ? mod : { "default": mod };
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ var jsx_runtime_1 = require("react/jsx-runtime");
22
+ var react_1 = require("react");
23
+ var compositionQueryContext_1 = require("../../../../../../../DynamicLayout/compositionQueryContext");
24
+ var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
25
+ var styled_components_1 = __importDefault(require("styled-components"));
26
+ require("../components/S_CB_AnimationObserverBox");
27
+ require("../components/S_CB_BoxWithShadow");
28
+ var S_HiddenCover_1 = require("../components/S_HiddenCover");
29
+ function VideoPlayer(props) {
30
+ var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
31
+ var queryContext = (0, compositionQueryContext_1.useCCBQueryPath)();
32
+ var CB_CONTENT_PROP_VIDEO = props.CB_CONTENT_PROP_VIDEO;
33
+ var isEditModeAndHidden = false;
34
+ var CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA, CB_CONTENT_PROP_VIDEO_SPEC_MPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_MPLAY, CB_CONTENT_PROP_VIDEO_SPEC_REPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_REPLAY, CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR, CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME, CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME, CB_CONTENT_PROP_VIDEO_SPEC_THUMB = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_THUMB, CB_CONTENT_PROP_VIDEO_SPEC_TYPE = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_TYPE, CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE;
35
+ // useEffect(() => {
36
+ // const video = videoRef.current;
37
+ // if (!video) return;
38
+ // // 비디오가 로드되면 시작 시간으로 이동
39
+ // const handleLoadedMetadata = () => {
40
+ // if (CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME) {
41
+ // video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
42
+ // }
43
+ // };
44
+ // // 재생 중 끝 시간에 도달하면 정지 또는 루프
45
+ // const handleTimeUpdate = () => {
46
+ // if (
47
+ // CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME &&
48
+ // video.currentTime >= CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME
49
+ // ) {
50
+ // if (CB_CONTENT_PROP_VIDEO_SPEC_REPLAY) {
51
+ // // 루프: 시작 시간으로 이동 후 재생
52
+ // video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME || 0;
53
+ // video.play();
54
+ // } else {
55
+ // // 정지
56
+ // video.pause();
57
+ // video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME;
58
+ // }
59
+ // }
60
+ // };
61
+ // video.addEventListener('loadedmetadata', handleLoadedMetadata);
62
+ // video.addEventListener('timeupdate', handleTimeUpdate);
63
+ // return () => {
64
+ // video.removeEventListener('loadedmetadata', handleLoadedMetadata);
65
+ // video.removeEventListener('timeupdate', handleTimeUpdate);
66
+ // };
67
+ // }, [
68
+ // CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME,
69
+ // CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME,
70
+ // CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR,
71
+ // CB_CONTENT_PROP_VIDEO_SPEC_REPLAY
72
+ // ]);
73
+ var getTimeHash = function () {
74
+ if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number' &&
75
+ typeof CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME === 'number') {
76
+ return "#t=".concat(CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME, ",").concat(CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME);
77
+ }
78
+ if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number') {
79
+ return "#t=".concat(CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME);
80
+ }
81
+ return '';
82
+ };
83
+ var getVideoSrc = function () {
84
+ if (CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE === 'DATA') {
85
+ if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
86
+ return "ERROR: QueryData NOT FOUND";
87
+ }
88
+ var src = queryContext.queryData[CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA];
89
+ return src;
90
+ }
91
+ return CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR;
92
+ };
93
+ var videoRef = (0, react_1.useRef)(null);
94
+ var containerRef = (0, react_1.useRef)(null);
95
+ // viewport 진입 시 자동재생
96
+ (0, react_1.useEffect)(function () {
97
+ var video = videoRef.current;
98
+ // const container = containerRef.current;
99
+ if (!video)
100
+ return;
101
+ var handleIntersection = function (entries) {
102
+ entries.forEach(function (entry) {
103
+ if (entry.isIntersecting) {
104
+ video.play().catch(console.error);
105
+ }
106
+ else {
107
+ video.pause();
108
+ }
109
+ });
110
+ };
111
+ var observer = new IntersectionObserver(handleIntersection, {
112
+ threshold: 0.3 // 30% 이상 보이면 재생
113
+ });
114
+ observer.observe(video);
115
+ return function () {
116
+ observer.disconnect();
117
+ };
118
+ }, []);
119
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsxs)(S_Video, __assign({ ref: videoRef, controls: true, poster: CB_CONTENT_PROP_VIDEO_SPEC_THUMB, preload: "auto", loop: true, muted: true }, { children: [(0, jsx_runtime_1.jsx)("source", { src: getVideoSrc() + getTimeHash(), type: "video/mp4" }), "Your browser does not support the video tag."] }))] }));
120
+ }
121
+ var S_Video = styled_components_1.default.video(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n object-fit: cover;\n width: 100%;\n"], ["\n height: 100%;\n object-fit: cover;\n width: 100%;\n"])));
122
+ exports.default = VideoPlayer;
123
+ var templateObject_1;
@@ -0,0 +1 @@
1
+ export { default as VideoPlayer } from './VideoPlayer';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.VideoPlayer = void 0;
7
+ var VideoPlayer_1 = require("./VideoPlayer");
8
+ Object.defineProperty(exports, "VideoPlayer", { enumerable: true, get: function () { return __importDefault(VideoPlayer_1).default; } });
@@ -29,6 +29,17 @@ export type CB_CONTENT_PROP_TWITTER = {
29
29
  export type CB_CONTENT_PROP_CODEBLOCK = {
30
30
  CB_CONTENT_PROP_CODEBLOCK_SPEC_CODE: STRING_PLAIN;
31
31
  };
32
+ export type CB_CONTENT_PROP_VIDEO = {
33
+ CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA: STRING_PLAIN;
34
+ CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME: number;
35
+ CB_CONTENT_PROP_VIDEO_SPEC_MPLAY: boolean;
36
+ CB_CONTENT_PROP_VIDEO_SPEC_REPLAY: boolean;
37
+ CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR: string;
38
+ CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME: number;
39
+ CB_CONTENT_PROP_VIDEO_SPEC_THUMB: string;
40
+ CB_CONTENT_PROP_VIDEO_SPEC_TYPE: 'FILE' | 'URL';
41
+ CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE: VALUE_TYPE;
42
+ };
32
43
  export type CB_CONTENT_PROP_CONTENTSCAROUSEL = {
33
44
  CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE: VALUE_TYPE;
34
45
  CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA: STRING_PLAIN;
@@ -1,7 +1,7 @@
1
- import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE } from './util/types';
1
+ import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE } from './util/types';
2
2
  import type { IComposition } from '../../../DynamicLayout/types';
3
3
  export type CB_TYPES = 'GENERAL';
4
- export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_LIST | CB_CONTENTSCAROUSEL | CB_SLIDEBANNER;
4
+ export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_LIST | CB_CONTENTSCAROUSEL | CB_SLIDEBANNER | CB_VIDEOPLAYER;
5
5
  type GeneralCustomSectionType = {
6
6
  id: number;
7
7
  type: 'GENERAL';
@@ -19,7 +19,7 @@ export type GroupCustomSectionType = {
19
19
  queryableDefinitionPreset: string;
20
20
  dynamicLayoutSectionId: number;
21
21
  };
22
- export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_LIST_PROPERTIES_TYPE | CB_CONTENTSCAROUSEL_PROPERTIES_TYPE | CB_SLIDEBANNER_PROPERTIES_TYPE;
22
+ export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_LIST_PROPERTIES_TYPE | CB_CONTENTSCAROUSEL_PROPERTIES_TYPE | CB_SLIDEBANNER_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE;
23
23
  export type CB_TEXT_TYPE = GeneralCustomSectionType & {
24
24
  componentBlockCode: CB_ALL_CODES.CB_TEXT;
25
25
  jsonProperties: {
@@ -56,6 +56,12 @@ export type CB_YOUTUBE = GeneralCustomSectionType & {
56
56
  data: CB_YOUTUBE_PROPERTIES_TYPE;
57
57
  };
58
58
  };
59
+ export type CB_VIDEOPLAYER = GeneralCustomSectionType & {
60
+ componentBlockCode: CB_ALL_CODES.CB_VIDEOPLAYER;
61
+ jsonProperties: {
62
+ data: CB_YOUTUBE_PROPERTIES_TYPE;
63
+ };
64
+ };
59
65
  export type CB_TWITTER = GeneralCustomSectionType & {
60
66
  componentBlockCode: CB_ALL_CODES.CB_TWITTER;
61
67
  jsonProperties: {
@@ -107,6 +113,7 @@ export declare enum CB_ALL_CODES {
107
113
  CB_GROUP = "CB_GROUP",
108
114
  CB_LIST = "CB_LIST",
109
115
  CB_CONTENTSCAROUSEL = "CB_CONTENTSCAROUSEL",
110
- CB_SLIDEBANNER = "CB_SLIDEBANNER"
116
+ CB_SLIDEBANNER = "CB_SLIDEBANNER",
117
+ CB_VIDEOPLAYER = "CB_VIDEOPLAYER"
111
118
  }
112
119
  export {};
@@ -15,4 +15,5 @@ var CB_ALL_CODES;
15
15
  CB_ALL_CODES["CB_LIST"] = "CB_LIST";
16
16
  CB_ALL_CODES["CB_CONTENTSCAROUSEL"] = "CB_CONTENTSCAROUSEL";
17
17
  CB_ALL_CODES["CB_SLIDEBANNER"] = "CB_SLIDEBANNER";
18
+ CB_ALL_CODES["CB_VIDEOPLAYER"] = "CB_VIDEOPLAYER";
18
19
  })(CB_ALL_CODES = exports.CB_ALL_CODES || (exports.CB_ALL_CODES = {}));
@@ -2,7 +2,7 @@ import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS } from '../components/Compone
2
2
  import type { CB_STYLE_PROP_CONTENTSLIST_SPECS } from '../components/ComponentBlock/componentBlocks/ContentsList/types';
3
3
  import type { CB_STYLE_PROP_SLIDEBANNER_SPECS } from '../components/ComponentBlock/componentBlocks/SlideBanner/types';
4
4
  import type { CB_TWITTER_STYLE_PROPS } from '../components/ComponentBlock/componentBlocks/Twitter/types';
5
- import type { CB_CONTENT_PROP_CONTENTSCAROUSEL, CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS, CB_CONTENT_PROP_CONTENTSLIST } from '../components/ComponentBlock/componentBlocks/types';
5
+ import type { CB_CONTENT_PROP_CONTENTSCAROUSEL, CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS, CB_CONTENT_PROP_CONTENTSLIST, CB_CONTENT_PROP_VIDEO } from '../components/ComponentBlock/componentBlocks/types';
6
6
  import type { CB_CONTENT_PROP_YOUTUBE_TYPE, CB_STYLE_PROP_BGCOLOR_SPECS } from '../components/ComponentBlock/componentBlocks/Youtube/types';
7
7
  import type { CB_CONTENT_PROP_VISIBILITY_SPECS } from './contentPropParsers/parseContentVisibility';
8
8
  import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './effectPropParsers/parseEffectPropEntAnim';
@@ -168,6 +168,16 @@ export type CB_LIST_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
168
168
  CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
169
169
  CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
170
170
  };
171
+ export type CB_VIDEOPLAYER_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
172
+ CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
173
+ CB_CONTENT_PROP_VIDEO: CB_CONTENT_PROP_VIDEO;
174
+ CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
175
+ CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
176
+ CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
177
+ CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
178
+ CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
179
+ CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
180
+ };
171
181
  export type StyleType = {
172
182
  style: CSSProperties;
173
183
  };
@@ -5,6 +5,7 @@ import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './sections/CustomSection/util
5
5
  import type { CB_LAYOUT_PROP_PADDING_SPECS } from './sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding';
6
6
  import type { CB_STYLE_PROP_BGCOLOR_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgColor';
7
7
  import type { CB_STYLE_PROP_BGOVERLAY_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay';
8
+ import type { VALUE_TYPE } from './sections/CustomSection/util/types';
8
9
  import type { Block, ZOrder } from 'publ-echo/dist/lib/GridLayoutEditor/group';
9
10
  import type { Ref } from 'react';
10
11
  export { TypeOfSectionAction };
@@ -347,6 +348,8 @@ export type CB_STYLE_PROP_BGMEDIA_SPECS_BASE = {
347
348
  CB_STYLE_PROP_BGMEDIA_SPEC_IMAGESELECTOR: string;
348
349
  CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT: string;
349
350
  CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME: number;
351
+ CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR: string;
352
+ CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE: VALUE_TYPE;
350
353
  };
351
354
  export type CB_STYLE_PROP_BGMEDIA_SPECS = CB_STYLE_PROP_BGMEDIA_SPECS_BASE & {
352
355
  'CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME:HOVER': number | null | undefined;
@@ -377,6 +380,12 @@ export type CB_STYLE_PROP_BGMEDIA_SPECS = CB_STYLE_PROP_BGMEDIA_SPECS_BASE & {
377
380
  'CB_STYLE_PROP_BGMEDIA_SPEC_YSRC:HOVER': string | null | undefined;
378
381
  'CB_STYLE_PROP_BGMEDIA_SPEC_YSRC:MOBILE': string | null | undefined;
379
382
  'CB_STYLE_PROP_BGMEDIA_SPEC_YSRC:MOBILE:HOVER': string | null | undefined;
383
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:HOVER'?: string | null;
384
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:MOBILE'?: string | null;
385
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:MOBILE:HOVER'?: string | null;
386
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:HOVER'?: VALUE_TYPE | null;
387
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:MOBILE'?: VALUE_TYPE | null;
388
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:MOBILE:HOVER'?: VALUE_TYPE | null;
380
389
  };
381
390
  export interface IComposition {
382
391
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.355",
3
+ "version": "2.5.356",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",