pds-dev-kit-web-test 2.5.337 → 2.5.339

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 (28) hide show
  1. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +20 -20
  2. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +3 -0
  3. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1 -1
  4. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +2 -0
  5. package/dist/src/sub/DynamicLayout/mock_contentsList.js +291 -0
  6. package/dist/src/sub/DynamicLayout/mocks.d.ts +3 -1
  7. package/dist/src/sub/DynamicLayout/mocks.js +14 -2
  8. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +5 -0
  9. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +8 -0
  10. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +93 -0
  11. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +17 -0
  12. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +39 -0
  13. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +27 -0
  14. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +188 -0
  15. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +30 -0
  16. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +357 -0
  17. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +1 -0
  18. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +8 -0
  19. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +46 -0
  20. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +2 -0
  21. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +11 -1
  22. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +11 -3
  23. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -0
  24. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +1 -1
  25. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  26. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +16 -1
  27. package/dist/src/sub/DynamicLayout/types.d.ts +1 -1
  28. package/package.json +1 -1
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __rest = (this && this.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
+ t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
22
+ return t;
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ var jsx_runtime_1 = require("react/jsx-runtime");
26
+ var react_1 = require("react");
27
+ var swiper_1 = require("swiper");
28
+ require("swiper/modules/navigation/navigation.min.css");
29
+ var react_2 = require("swiper/react");
30
+ require("swiper/swiper-bundle.css");
31
+ var ContentsListCore = (0, react_1.forwardRef)(function (_a, ref) {
32
+ var scrollbar = _a.scrollbar, slidesPerView = _a.slidesPerView, slidesPerGroup = _a.slidesPerGroup, spaceBetween = _a.spaceBetween, freeMode = _a.freeMode, autoplay = _a.autoplay, useAutoplay = _a.useAutoplay, loop = _a.loop, children = _a.children, props = __rest(_a, ["scrollbar", "slidesPerView", "slidesPerGroup", "spaceBetween", "freeMode", "autoplay", "useAutoplay", "loop", "children"]);
33
+ return ((0, jsx_runtime_1.jsx)(react_2.Swiper, __assign({ ref: ref, style: {
34
+ width: '100%',
35
+ height: '100%'
36
+ }, modules: [swiper_1.Pagination, swiper_1.Navigation, swiper_1.Scrollbar, swiper_1.FreeMode, swiper_1.Autoplay], slidesPerView: slidesPerView, scrollbar: scrollbar, slidesPerGroup: slidesPerGroup, spaceBetween: spaceBetween, freeMode: freeMode, autoplay: useAutoplay ? autoplay : false, loop: loop }, props, { children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children === null || children === void 0 ? void 0 : children.map(function (slide, index) { return ((0, jsx_runtime_1.jsx)(react_2.SwiperSlide, { children: slide }, index)); }) }) })));
37
+ });
38
+ ContentsListCore.displayName = 'ContentsListCore';
39
+ exports.default = ContentsListCore;
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ import type { CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE_TYPE } from '../types';
3
+ export interface CustomPaginationProps {
4
+ effectVisibleStyle?: React.CSSProperties;
5
+ current?: number;
6
+ total?: number;
7
+ type?: CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE_TYPE;
8
+ offset?: {
9
+ top?: string;
10
+ bottom?: string;
11
+ left?: string;
12
+ right?: string;
13
+ translateX?: number;
14
+ translateY?: number;
15
+ transformOrigin?: string;
16
+ };
17
+ size?: number;
18
+ onBulletClick?: (index: number) => void;
19
+ }
20
+ export declare const CustomPagination: ({ effectVisibleStyle, current, total, type, offset, size, onBulletClick }: CustomPaginationProps) => JSX.Element;
21
+ export interface FlexBoxProps {
22
+ direction?: 'row' | 'column';
23
+ justifyContent?: string;
24
+ alignItems?: string;
25
+ gap?: string;
26
+ }
27
+ export default CustomPagination;
@@ -0,0 +1,188 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ var desc = Object.getOwnPropertyDescriptor(m, k);
20
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
+ desc = { enumerable: true, get: function() { return m[k]; } };
22
+ }
23
+ Object.defineProperty(o, k2, desc);
24
+ }) : (function(o, m, k, k2) {
25
+ if (k2 === undefined) k2 = k;
26
+ o[k2] = m[k];
27
+ }));
28
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
30
+ }) : function(o, v) {
31
+ o["default"] = v;
32
+ });
33
+ var __importStar = (this && this.__importStar) || function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ exports.CustomPagination = void 0;
42
+ var jsx_runtime_1 = require("react/jsx-runtime");
43
+ var components_1 = require("../../../../../../../../DynamicLayout/components");
44
+ var styled_components_1 = __importStar(require("styled-components"));
45
+ var CustomPagination = function (_a) {
46
+ var effectVisibleStyle = _a.effectVisibleStyle, _b = _a.current, current = _b === void 0 ? 1 : _b, _c = _a.total, total = _c === void 0 ? 1 : _c, _d = _a.type, type = _d === void 0 ? 'NONE' : _d, _e = _a.offset, offset = _e === void 0 ? { top: '0' } : _e, _f = _a.size, size = _f === void 0 ? 1 : _f, onBulletClick = _a.onBulletClick;
47
+ var bullets = Array.from({ length: total }, function (_, i) { return i; });
48
+ return ((0, jsx_runtime_1.jsx)(S_Pagination, __assign({ className: "custom-pagination_".concat(current), "$offset": offset, "$size": size, effectVisibleStyle: effectVisibleStyle }, { children: (function () {
49
+ switch (type) {
50
+ case 'NONE':
51
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
52
+ case 'DESIGN1':
53
+ case 'DESIGN2':
54
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "4px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: "/ ".concat(total) }))] })));
55
+ case 'DESIGN3':
56
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "4px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular" }, { children: "/ ".concat(total) }))] })));
57
+ case 'DESIGN4':
58
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL", color: "WHITE" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: total }))] })));
59
+ case 'DESIGN5':
60
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL", color: "WHITE" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular" }, { children: total }))] })));
61
+ case 'DESIGN6':
62
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16, colorKey: "ui_cpnt_icon_sys_dark" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginLeft: '8px', marginRight: '4px' }, styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginRight: '8px', marginLeft: '4px', opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: "/ ".concat(total) })), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16, colorKey: "ui_cpnt_icon_sys_dark" })] }));
63
+ case 'DESIGN7':
64
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16 }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginLeft: '8px', marginRight: '4px' }, styleTheme: "body2Bold", colorTheme: "sysTextWhite" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginRight: '8px', marginLeft: '4px', opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextWhite" }, { children: "/ ".concat(total) })), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16 })] }));
65
+ case 'DESIGN8':
66
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16, colorKey: "ui_cpnt_icon_sys_dark" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: total })), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16, colorKey: "ui_cpnt_icon_sys_dark" })] })));
67
+ case 'DESIGN9':
68
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16 }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextWhite" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL", color: "WHITE" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextWhite" }, { children: total })), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16 })] })));
69
+ case 'DESIGN10':
70
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ direction: "column", gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { paddingLeft: '8px', paddingRight: '8px' }, styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "HORIZONTAL" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: total }))] })));
71
+ case 'DESIGN11':
72
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ direction: "column", gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { paddingLeft: '8px', paddingRight: '8px' }, styleTheme: "body2Bold", colorTheme: "sysTextWhite" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "HORIZONTAL", color: "DARK" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextWhite" }, { children: total }))] })));
73
+ case 'DESIGN12':
74
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: "DARK", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
75
+ case 'DESIGN13':
76
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: "WHITE", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
77
+ case 'DESIGN14':
78
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ direction: "column", gap: "12px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: "DARK", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
79
+ case 'DESIGN15':
80
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ direction: "column", gap: "12px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: "WHITE", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
81
+ case 'DESIGN16':
82
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color: "DARK", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
83
+ case 'DESIGN17':
84
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color: "WHITE", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
85
+ default:
86
+ return (0, jsx_runtime_1.jsx)("div", { children: "Default Design" });
87
+ }
88
+ })() })));
89
+ };
90
+ exports.CustomPagination = CustomPagination;
91
+ var FlexBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: ", ";\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n justify-content: ", ";\n"], ["\n align-items: ", ";\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n justify-content: ", ";\n"])), function (_a) {
92
+ var _b = _a.alignItems, alignItems = _b === void 0 ? 'center' : _b;
93
+ return alignItems;
94
+ }, function (_a) {
95
+ var _b = _a.direction, direction = _b === void 0 ? 'row' : _b;
96
+ return direction;
97
+ }, function (_a) {
98
+ var _b = _a.gap, gap = _b === void 0 ? '0' : _b;
99
+ return gap;
100
+ }, function (_a) {
101
+ var _b = _a.justifyContent, justifyContent = _b === void 0 ? 'center' : _b;
102
+ return justifyContent;
103
+ });
104
+ var S_Pagination = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n /* ", "; */\n"], ["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n /* ", "; */\n"])), function (_a) {
105
+ var $offset = _a.$offset;
106
+ return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), $offset.top !== undefined ? "top: ".concat($offset.top, ";") : '', $offset.bottom !== undefined ? "bottom: ".concat($offset.bottom, ";") : '', $offset.left !== undefined ? "left: ".concat($offset.left, ";") : '', $offset.right !== undefined ? "right: ".concat($offset.right, ";") : '');
107
+ }, function (_a) {
108
+ var _b, _c;
109
+ var $size = _a.$size, $offset = _a.$offset;
110
+ return "scale(".concat($size, ") translate(").concat((_b = $offset.translateX) !== null && _b !== void 0 ? _b : 0, "%, ").concat((_c = $offset.translateY) !== null && _c !== void 0 ? _c : 0, "%)");
111
+ }, function (_a) {
112
+ var $offset = _a.$offset;
113
+ return $offset.transformOrigin || 'center center';
114
+ }, function (_a) {
115
+ var effectVisibleStyle = _a.effectVisibleStyle;
116
+ return effectVisibleStyle && __assign({}, effectVisibleStyle);
117
+ });
118
+ var body2Bold = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"])), function (_a) {
119
+ var theme = _a.theme;
120
+ return theme.desktopFontSize.body2;
121
+ }, function (_a) {
122
+ var theme = _a.theme;
123
+ return theme.fontWeight.bold;
124
+ }, function (_a) {
125
+ var theme = _a.theme;
126
+ return theme.desktopLineHeight.body2;
127
+ });
128
+ var body2Regular = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"])), function (_a) {
129
+ var theme = _a.theme;
130
+ return theme.desktopFontSize.body2;
131
+ }, function (_a) {
132
+ var theme = _a.theme;
133
+ return theme.fontWeight.normal;
134
+ }, function (_a) {
135
+ var theme = _a.theme;
136
+ return theme.desktopLineHeight.body2;
137
+ });
138
+ var sysTextWhite = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
139
+ var theme = _a.theme;
140
+ return theme.ui_cpnt_textlabel_sys_white;
141
+ });
142
+ var sysTextBlack = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
143
+ var theme = _a.theme;
144
+ return theme.ui_cpnt_textlabel_sys_black;
145
+ });
146
+ var S_TextLabel = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n ", ";\n\n ", ";\n"], ["\n ", ";\n\n ", ";\n"])), function (_a) {
147
+ var styleTheme = _a.styleTheme;
148
+ return styleTheme &&
149
+ {
150
+ body2Bold: body2Bold,
151
+ body2Regular: body2Regular
152
+ }[styleTheme];
153
+ }, function (_a) {
154
+ var colorTheme = _a.colorTheme;
155
+ return colorTheme
156
+ ? {
157
+ sysTextWhite: sysTextWhite,
158
+ sysTextBlack: sysTextBlack
159
+ }[colorTheme]
160
+ : sysTextWhite;
161
+ });
162
+ var verticalDivider = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n height: 16px;\n width: 1px;\n"], ["\n height: 16px;\n width: 1px;\n"])));
163
+ var horizontalDivider = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n height: 1px;\n width: 100%;\n"], ["\n height: 1px;\n width: 100%;\n"])));
164
+ var S_Divider = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background-color: ", ";\n opacity: 0.6;\n ", ";\n"], ["\n background-color: ", ";\n opacity: 0.6;\n ", ";\n"])), function (_a) {
165
+ var color = _a.color;
166
+ return (color === 'WHITE' ? '#ffffff' : '#000000');
167
+ }, function (_a) {
168
+ var type = _a.type;
169
+ return (type === 'VERTICAL' ? verticalDivider : horizontalDivider);
170
+ });
171
+ var whiteBullet = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: #ffffff;\n opacity: ", ";\n"], ["\n background-color: #ffffff;\n opacity: ", ";\n"])), function (_a) {
172
+ var isActive = _a.isActive;
173
+ return (isActive ? 1 : 0.2);
174
+ });
175
+ var darkBullet = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n background-color: #000000;\n opacity: ", ";\n"], ["\n background-color: #000000;\n opacity: ", ";\n"])), function (_a) {
176
+ var isActive = _a.isActive;
177
+ return (isActive ? 1 : 0.3);
178
+ });
179
+ var S_Dot = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n ", ";\n"], ["\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n ", ";\n"])), function (_a) {
180
+ var color = _a.color;
181
+ return (color === 'WHITE' ? whiteBullet : darkBullet);
182
+ });
183
+ var S_Bar = styled_components_1.default.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n cursor: pointer;\n height: 2px;\n width: 40px;\n ", ";\n"], ["\n cursor: pointer;\n height: 2px;\n width: 40px;\n ", ";\n"])), function (_a) {
184
+ var color = _a.color;
185
+ return (color === 'WHITE' ? whiteBullet : darkBullet);
186
+ });
187
+ exports.default = exports.CustomPagination;
188
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15;
@@ -0,0 +1,30 @@
1
+ import { FlattenSimpleInterpolation } from 'styled-components';
2
+ import type { CB_CONTENT_PROP_CONTENTSLIST } from '../types';
3
+ import type { CustomPaginationProps } from './components/CustomPagination';
4
+ import type { CB_STYLE_PROP_CONTENTSLIST_SPECS, ContentsListPropsKeys } from './types';
5
+ import type { Device } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
6
+ type StyleProps = {
7
+ props: CB_STYLE_PROP_CONTENTSLIST_SPECS;
8
+ device: Device;
9
+ };
10
+ type ContentProps = {
11
+ props: CB_CONTENT_PROP_CONTENTSLIST;
12
+ };
13
+ type PaginationProps = {
14
+ props: CB_STYLE_PROP_CONTENTSLIST_SPECS;
15
+ device: Device;
16
+ };
17
+ type CssFragment = FlattenSimpleInterpolation;
18
+ export declare function parseGridStyleProp({ props, device }: StyleProps): {
19
+ stylePropCss: CssFragment;
20
+ hoverStylePropCss: CssFragment;
21
+ };
22
+ export declare function parseGridContentProp({ props }: ContentProps): {
23
+ contentPropCss: CssFragment;
24
+ };
25
+ export declare function parsePaginationStyleProp({ props, device }: PaginationProps): {
26
+ normalStyle: CustomPaginationProps;
27
+ hoverStyle: CustomPaginationProps;
28
+ };
29
+ export declare function getCustomPaginationPropKey(key: ContentsListPropsKeys): "" | "size" | "type" | "offset";
30
+ export {};
@@ -0,0 +1,357 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.getCustomPaginationPropKey = exports.parsePaginationStyleProp = exports.parseGridContentProp = exports.parseGridStyleProp = void 0;
19
+ var styled_components_1 = require("styled-components");
20
+ function getStyleTypePropStyleValues(value) {
21
+ switch (value) {
22
+ case 'DESIGN1': {
23
+ return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: red;\n height: 100%;\n width: 100%;\n "], ["\n background-color: red;\n height: 100%;\n width: 100%;\n "])));
24
+ }
25
+ case 'DESIGN2': {
26
+ var overlayEffect = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: rgba(255, 255, 255, 0.7);\n content: '';\n height: 100%;\n position: absolute;\n top: 0; /* \uD22C\uBA85\uB3C4 \uC870\uC808 (0 = \uC644\uC804 \uD22C\uBA85, 1 = \uBD88\uD22C\uBA85) */\n width: 20%;\n z-index: 2;\n "], ["\n background: rgba(255, 255, 255, 0.7);\n content: '';\n height: 100%;\n position: absolute;\n top: 0; /* \uD22C\uBA85\uB3C4 \uC870\uC808 (0 = \uC644\uC804 \uD22C\uBA85, 1 = \uBD88\uD22C\uBA85) */\n width: 20%;\n z-index: 2;\n "])));
27
+ return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n overflow: hidden;\n position: relative;\n\n &::before {\n ", "\n left: 0;\n }\n\n &::after {\n ", "\n right: 0;\n }\n "], ["\n overflow: hidden;\n position: relative;\n\n &::before {\n ", "\n left: 0;\n }\n\n &::after {\n ", "\n right: 0;\n }\n "])), overlayEffect, overlayEffect);
28
+ }
29
+ default: {
30
+ return (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n "], ["\n height: 100%;\n width: 100%;\n "])));
31
+ }
32
+ }
33
+ }
34
+ function getItemSpacingPropStyleValues(value) {
35
+ switch (value) {
36
+ case 'NARROW': {
37
+ return (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n grid-column-gap: 8px;\n "], ["\n grid-column-gap: 8px;\n "])));
38
+ }
39
+ case 'NORMAL': {
40
+ return (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n grid-column-gap: 24px;\n "], ["\n grid-column-gap: 24px;\n "])));
41
+ }
42
+ case 'WIDE': {
43
+ return (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n grid-column-gap: 36px;\n "], ["\n grid-column-gap: 36px;\n "])));
44
+ }
45
+ default: {
46
+ return (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n grid-column-gap: 24px;\n "], ["\n grid-column-gap: 24px;\n "])));
47
+ }
48
+ }
49
+ }
50
+ function getItemLineHeightPropStyleValues(value) {
51
+ return (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n grid-row-gap: ", "px;\n "], ["\n grid-row-gap: ", "px;\n "])), value);
52
+ }
53
+ function getItemHeightFitContentPropStyleValues(value) {
54
+ return (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n overflow-y: ", ";\n "], ["\n overflow-y: ", ";\n "])), value ? 'visible' : 'auto');
55
+ }
56
+ function parseStylePropertyStyles(key, value) {
57
+ switch (key) {
58
+ case 'CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE':
59
+ return getStyleTypePropStyleValues(value);
60
+ case 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING':
61
+ return getItemSpacingPropStyleValues(value);
62
+ case 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT':
63
+ return getItemLineHeightPropStyleValues(value);
64
+ case 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT':
65
+ return getItemHeightFitContentPropStyleValues(value);
66
+ case 'CB_STYLE_PROP_CONTENTSLIST_SPEC_INFINITESCROLL':
67
+ break;
68
+ }
69
+ return undefined;
70
+ }
71
+ function getColumnsPropStyleValues(value) {
72
+ return (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n grid-template-columns: repeat(", ", 1fr);\n "], ["\n grid-template-columns: repeat(", ", 1fr);\n "])), value);
73
+ }
74
+ function parseContentPropertyStyles(key, value) {
75
+ switch (key) {
76
+ case 'CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS':
77
+ return getColumnsPropStyleValues(value);
78
+ }
79
+ return undefined;
80
+ }
81
+ function parseGridStyleProp(_a) {
82
+ var props = _a.props, device = _a.device;
83
+ var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
84
+ return availableSpecCodes.reduce(function (acc, currentKey) {
85
+ var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
86
+ var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
87
+ var value = props[keyWithDevice];
88
+ var hoverValue = props[keyWithHover];
89
+ var styles = parseStylePropertyStyles(currentKey, value);
90
+ var hoverStyles = parseStylePropertyStyles(currentKey, hoverValue);
91
+ if (hoverValue === null || hoverValue === undefined) {
92
+ return {
93
+ stylePropCss: (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), acc.stylePropCss, styles),
94
+ hoverStylePropCss: (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), acc.hoverStylePropCss)
95
+ };
96
+ }
97
+ return {
98
+ stylePropCss: (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), acc.stylePropCss, styles),
99
+ hoverStylePropCss: (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), acc.hoverStylePropCss, hoverStyles)
100
+ };
101
+ }, {
102
+ stylePropCss: (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject([""], [""]))),
103
+ hoverStylePropCss: (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject([""], [""])))
104
+ });
105
+ }
106
+ exports.parseGridStyleProp = parseGridStyleProp;
107
+ function parseGridContentProp(_a) {
108
+ var props = _a.props;
109
+ var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
110
+ return availableSpecCodes.reduce(function (acc, currentKey) {
111
+ var value = props[currentKey];
112
+ var styles = parseContentPropertyStyles(currentKey, value);
113
+ return {
114
+ contentPropCss: (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), acc.contentPropCss, styles)
115
+ };
116
+ }, {
117
+ contentPropCss: (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = __makeTemplateObject([""], [""])))
118
+ });
119
+ }
120
+ exports.parseGridContentProp = parseGridContentProp;
121
+ function parsePaginationStyleProp(_a) {
122
+ var props = _a.props, device = _a.device;
123
+ var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
124
+ return availableSpecCodes.reduce(function (acc, currentKey) {
125
+ var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
126
+ var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
127
+ var customPaginationPropertyKey = getCustomPaginationPropKey(currentKey);
128
+ if (customPaginationPropertyKey === 'type') {
129
+ var value = props[keyWithDevice];
130
+ var hoverValue = props[keyWithHover];
131
+ return {
132
+ normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
133
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
134
+ };
135
+ }
136
+ if (customPaginationPropertyKey === 'offset') {
137
+ var value = props[keyWithDevice];
138
+ var hoverValue = props[keyWithHover];
139
+ return {
140
+ normalStyle: __assign(__assign({}, acc.normalStyle), { offset: getCustomPaginationOffset(value) }),
141
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { offset: getCustomPaginationOffset(hoverValue) })
142
+ };
143
+ }
144
+ if (customPaginationPropertyKey === 'size') {
145
+ var value = props[keyWithDevice];
146
+ var hoverValue = props[keyWithHover];
147
+ return {
148
+ normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomPaginationSize(value) }),
149
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomPaginationSize(hoverValue) })
150
+ };
151
+ }
152
+ return {
153
+ normalStyle: __assign({}, acc.normalStyle),
154
+ hoverStyle: __assign({}, acc.hoverStyle)
155
+ };
156
+ }, {
157
+ normalStyle: {},
158
+ hoverStyle: {}
159
+ });
160
+ }
161
+ exports.parsePaginationStyleProp = parsePaginationStyleProp;
162
+ function getCustomPaginationPropKey(key) {
163
+ switch (key) {
164
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE":
165
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:HOVER":
166
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:MOBILE":
167
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:MOBILE:HOVER":
168
+ return 'type';
169
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION":
170
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION:HOVER":
171
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION:MOBILE":
172
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION:MOBILE:HOVER":
173
+ return 'offset';
174
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE":
175
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:HOVER":
176
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:MOBILE":
177
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:MOBILE:HOVER":
178
+ return 'size';
179
+ default:
180
+ return '';
181
+ }
182
+ }
183
+ exports.getCustomPaginationPropKey = getCustomPaginationPropKey;
184
+ function getCustomPaginationOffset(value) {
185
+ var OUTSET1 = {
186
+ top: '0px',
187
+ left: '0px',
188
+ translateX: 0,
189
+ translateY: -100,
190
+ transformOrigin: 'top left'
191
+ };
192
+ switch (value) {
193
+ case 'OUTSET1':
194
+ return OUTSET1;
195
+ case 'OUTSET2':
196
+ return {
197
+ top: '0px',
198
+ left: '50%',
199
+ translateX: -50,
200
+ translateY: -100,
201
+ transformOrigin: 'top left'
202
+ };
203
+ case 'OUTSET3':
204
+ return {
205
+ top: '0px',
206
+ right: '0px',
207
+ translateX: 0,
208
+ translateY: -100,
209
+ transformOrigin: 'top right'
210
+ };
211
+ case 'OUTSET4':
212
+ return {
213
+ top: '0px',
214
+ left: '100%',
215
+ translateX: 0,
216
+ translateY: 0,
217
+ transformOrigin: 'left top'
218
+ };
219
+ case 'OUTSET5':
220
+ return {
221
+ top: '50%',
222
+ left: '100%',
223
+ translateX: 0,
224
+ translateY: -50,
225
+ transformOrigin: 'left top'
226
+ };
227
+ case 'OUTSET6':
228
+ return {
229
+ top: '100%',
230
+ left: '100%',
231
+ translateX: 0,
232
+ translateY: -100,
233
+ transformOrigin: 'left top'
234
+ };
235
+ case 'OUTSET7':
236
+ return {
237
+ top: '100%',
238
+ left: '100%',
239
+ translateX: -100,
240
+ translateY: 0,
241
+ transformOrigin: 'top left'
242
+ };
243
+ case 'OUTSET8':
244
+ return {
245
+ top: '100%',
246
+ left: '50%',
247
+ translateX: -50,
248
+ translateY: 0,
249
+ transformOrigin: 'top left'
250
+ };
251
+ case 'OUTSET9':
252
+ return {
253
+ top: '100%',
254
+ left: '0px',
255
+ translateX: 0,
256
+ translateY: 0,
257
+ transformOrigin: 'top left'
258
+ };
259
+ case 'OUTSET10':
260
+ return {
261
+ top: '100%',
262
+ left: '0px',
263
+ translateX: -100,
264
+ translateY: -100,
265
+ transformOrigin: 'right top'
266
+ };
267
+ case 'OUTSET11':
268
+ return {
269
+ top: '50%',
270
+ left: '0px',
271
+ translateX: -100,
272
+ translateY: -50,
273
+ transformOrigin: 'right top'
274
+ };
275
+ case 'OUTSET12':
276
+ return {
277
+ top: '0px',
278
+ left: '0px',
279
+ translateX: -100,
280
+ translateY: 0,
281
+ transformOrigin: 'right top'
282
+ };
283
+ case 'INSET13':
284
+ return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
285
+ case 'INSET14':
286
+ return {
287
+ top: '0px',
288
+ left: '50%',
289
+ translateX: -50,
290
+ translateY: 0,
291
+ transformOrigin: 'left top'
292
+ };
293
+ case 'INSET15':
294
+ return {
295
+ top: '0px',
296
+ left: '100%',
297
+ translateX: -100,
298
+ translateY: 0,
299
+ transformOrigin: 'left top'
300
+ };
301
+ case 'INSET16':
302
+ return {
303
+ top: '50%',
304
+ left: '100%',
305
+ translateX: -100,
306
+ translateY: -50,
307
+ transformOrigin: 'left top'
308
+ };
309
+ case 'INSET17':
310
+ return {
311
+ top: '100%',
312
+ left: '100%',
313
+ translateX: -100,
314
+ translateY: -100,
315
+ transformOrigin: 'left top'
316
+ };
317
+ case 'INSET18':
318
+ return {
319
+ top: '100%',
320
+ left: '50%',
321
+ translateX: -50,
322
+ translateY: -100,
323
+ transformOrigin: 'left top'
324
+ };
325
+ case 'INSET19':
326
+ return {
327
+ top: '100%',
328
+ left: '0px',
329
+ translateX: 0,
330
+ translateY: -100,
331
+ transformOrigin: 'top left'
332
+ };
333
+ case 'INSET20':
334
+ return {
335
+ top: '50%',
336
+ left: '0px',
337
+ translateX: 0,
338
+ translateY: -50,
339
+ transformOrigin: 'top left'
340
+ };
341
+ default:
342
+ return OUTSET1;
343
+ }
344
+ }
345
+ function getCustomPaginationSize(value) {
346
+ switch (value) {
347
+ case 'SMALL':
348
+ return 1;
349
+ case 'MEDIUM':
350
+ return 2;
351
+ case 'LARGE':
352
+ return 3;
353
+ default:
354
+ return 1;
355
+ }
356
+ }
357
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19;
@@ -0,0 +1 @@
1
+ export { default as ContentsList } from './ContentsList';