pds-dev-kit-web-test 2.5.45 → 2.5.47

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 (61) hide show
  1. package/dist/src/common/assets/icons/fill/CheckboxIndeterminate.js +1 -1
  2. package/dist/src/common/assets/icons/fill/CheckboxOn.js +1 -1
  3. package/dist/src/common/assets/icons/fill/CloudDownload.js +1 -1
  4. package/dist/src/common/assets/icons/fill/Downloaded.js +1 -1
  5. package/dist/src/common/assets/icons/fill/ToggleDown.js +1 -1
  6. package/dist/src/common/assets/icons/fill/ToggleUp.js +1 -1
  7. package/dist/src/common/assets/icons/fill/index.d.ts +0 -5
  8. package/dist/src/common/assets/icons/fill/index.js +1 -11
  9. package/dist/src/common/assets/icons/line/BookingCompleted.js +1 -1
  10. package/dist/src/common/assets/icons/line/index.d.ts +0 -6
  11. package/dist/src/common/assets/icons/line/index.js +1 -13
  12. package/dist/src/common/styles/colorSet/UIColor.json +1 -1
  13. package/dist/src/common/styles/colorSet/index.d.ts +2 -2
  14. package/dist/src/common/styles/colorSet/index.js +2 -2
  15. package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.d.ts +0 -1
  16. package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.js +1 -1
  17. package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/UserProfile.d.ts +0 -1
  18. package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/UserProfile.js +2 -2
  19. package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +5 -2
  20. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/fill/CheckboxIndeterminate.js +1 -1
  21. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/fill/CheckboxOn.js +1 -1
  22. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/fill/CloudDownload.js +1 -1
  23. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/fill/Downloaded.js +1 -1
  24. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/BookingCompleted.js +1 -1
  25. package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +2 -2
  26. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +3 -0
  27. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +53 -31
  28. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +1 -1
  29. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.d.ts +2 -1
  30. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +4 -1
  31. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Group/GroupedCB.d.ts +7 -0
  32. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Group/GroupedCB.js +63 -0
  33. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_Backdrop.d.ts +1 -0
  34. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_Backdrop.js +13 -0
  35. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +9 -2
  36. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -0
  37. package/dist/src/sub/DynamicLayout/types.d.ts +2 -1
  38. package/package.json +2 -2
  39. package/release-note.md +2 -2
  40. package/dist/src/common/assets/icons/fill/MenuHome.d.ts +0 -4
  41. package/dist/src/common/assets/icons/fill/MenuHome.js +0 -30
  42. package/dist/src/common/assets/icons/fill/PostPost.d.ts +0 -4
  43. package/dist/src/common/assets/icons/fill/PostPost.js +0 -30
  44. package/dist/src/common/assets/icons/fill/PostSeries.d.ts +0 -4
  45. package/dist/src/common/assets/icons/fill/PostSeries.js +0 -30
  46. package/dist/src/common/assets/icons/fill/VideoEpisode.d.ts +0 -4
  47. package/dist/src/common/assets/icons/fill/VideoEpisode.js +0 -30
  48. package/dist/src/common/assets/icons/fill/VideoSeries.d.ts +0 -4
  49. package/dist/src/common/assets/icons/fill/VideoSeries.js +0 -30
  50. package/dist/src/common/assets/icons/line/Heart.d.ts +0 -4
  51. package/dist/src/common/assets/icons/line/Heart.js +0 -30
  52. package/dist/src/common/assets/icons/line/MenuHome.d.ts +0 -4
  53. package/dist/src/common/assets/icons/line/MenuHome.js +0 -30
  54. package/dist/src/common/assets/icons/line/PostPost.d.ts +0 -4
  55. package/dist/src/common/assets/icons/line/PostPost.js +0 -30
  56. package/dist/src/common/assets/icons/line/PostSeries.d.ts +0 -4
  57. package/dist/src/common/assets/icons/line/PostSeries.js +0 -31
  58. package/dist/src/common/assets/icons/line/VideoEpisode.d.ts +0 -4
  59. package/dist/src/common/assets/icons/line/VideoEpisode.js +0 -30
  60. package/dist/src/common/assets/icons/line/VideoSeries.d.ts +0 -4
  61. package/dist/src/common/assets/icons/line/VideoSeries.js +0 -30
@@ -61,6 +61,7 @@ var deepCopy_1 = __importDefault(require("../../../DynamicLayout/utils/deepCopy"
61
61
  var styled_components_1 = __importDefault(require("styled-components"));
62
62
  var components_1 = require("../../components");
63
63
  var ComponentBlockMatcher_1 = __importDefault(require("./components/ComponentBlock/ComponentBlockMatcher"));
64
+ var S_Backdrop_1 = require("./components/ComponentBlock/componentBlocks/components/S_Backdrop");
64
65
  var S_HiddenCover_1 = require("./components/ComponentBlock/componentBlocks/components/S_HiddenCover");
65
66
  var useGroupDrag_1 = require("./hooks/useGroupDrag");
66
67
  var useGroupDrag_2 = require("./hooks/useGroupDrag/useGroupDrag");
@@ -75,8 +76,8 @@ var MOBILE_GRID_COLS = 8;
75
76
  var GLE_MIN_WIDTH_DESKTOP_PX = "".concat(GRID_CELL_MIN * DESKTOP_GRID_COLS, "px");
76
77
  var GLE_MIN_WIDTH_MOBILE_PX = "".concat(GRID_CELL_MIN * MOBILE_GRID_COLS, "px");
77
78
  var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
78
- var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, editingSectionId = _a.editingSectionId, mode = _a.mode, shortcutKeyMode = _a.shortcutKeyMode, sectionActionHandler = _a.sectionActionHandler, zoomScale = _a.zoomScale;
79
- var componentBlocks = props.componentBlocks, jsonProperties = props.jsonProperties;
79
+ var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, editingSectionId = _a.editingSectionId, mode = _a.mode, shortcutKeyMode = _a.shortcutKeyMode, sectionActionHandler = _a.sectionActionHandler;
80
+ var componentBlocks = props.componentBlocks, jsonProperties = props.jsonProperties, pedigree = props.pedigree;
80
81
  var _b = jsonProperties.data, CB_PLACEMENT_PROP_SECTION = _b.CB_PLACEMENT_PROP_SECTION, CB_LAYOUT_PROP_PADDING = _b.CB_LAYOUT_PROP_PADDING, CB_CONTENT_PROP_SECTION = _b.CB_CONTENT_PROP_SECTION;
81
82
  var _c = (0, react_1.useState)(null), selectedCB = _c[0], setSelectedCB = _c[1];
82
83
  var gleRef = (0, react_1.useRef)(null);
@@ -346,26 +347,26 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
346
347
  });
347
348
  }
348
349
  };
349
- // const onAutoFitContent: OnFitContentCallBack = (props) => {
350
- // const { prev, item } = props;
351
- // if (!isEditMode || !item) {
352
- // return;
353
- // }
354
- // const numberId = Number(item.i);
355
- // const isIdNumber = !Number.isNaN(numberId);
356
- // if (isLayoutPlacementSame(item, prev)) {
357
- // return;
358
- // }
359
- // if (isIdNumber) {
360
- // setSelectedCB(numberId);
361
- // }
362
- // if (sectionActionHandler && isIdNumber) {
363
- // sectionActionHandler({
364
- // type: '@CUSTOMSECTION/CB_AUTO_FIT_CONTENT',
365
- // payload: { ...props, details: { hadPaddingChanged: props.hasPaddingChanged } }
366
- // });
367
- // }
368
- // };
350
+ var onAutoFitContent = function (props) {
351
+ var prev = props.prev, item = props.item;
352
+ if (!isEditMode || !item) {
353
+ return;
354
+ }
355
+ var numberId = Number(item.i);
356
+ var isIdNumber = !Number.isNaN(numberId);
357
+ if (isLayoutPlacementSame(item, prev)) {
358
+ return;
359
+ }
360
+ if (isIdNumber) {
361
+ setSelectedCB(numberId);
362
+ }
363
+ if (sectionActionHandler && isIdNumber) {
364
+ sectionActionHandler({
365
+ type: '@CUSTOMSECTION/CB_AUTO_FIT_CONTENT',
366
+ payload: __assign(__assign({}, props), { details: { hadPaddingChanged: props.hasPaddingChanged } })
367
+ });
368
+ }
369
+ };
369
370
  var onClickSection = function () {
370
371
  if (!isEditMode) {
371
372
  return;
@@ -382,6 +383,22 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
382
383
  }
383
384
  });
384
385
  };
386
+ var onContextSection = function () {
387
+ if (!isEditMode) {
388
+ return;
389
+ }
390
+ if ((0, useGroupDrag_2.getGroupCB)(layouts[layoutByDevice])) {
391
+ breakGroupCB();
392
+ }
393
+ setSelectedCB(null);
394
+ sectionActionHandler &&
395
+ sectionActionHandler({
396
+ type: '@CUSTOMSECTION/SECTION_RIGHT_CLICKED',
397
+ payload: {
398
+ sectionId: props.id
399
+ }
400
+ });
401
+ };
385
402
  var onWidthChange = function (width) {
386
403
  var responsiveFontMode =
387
404
  // NOTE: local환경에서 CB_CONTENT_PROP_SECTION이 없는 경우가 있음.
@@ -445,7 +462,11 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
445
462
  }
446
463
  return false;
447
464
  })();
448
- return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsxs)(exports.S_gleStyles, { children: [showSectionHiddenCover && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_SectionWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection }, { children: (0, jsx_runtime_1.jsx)(components_1.CustomSection, __assign({}, props, { isMobile: isMobile, overrideStyles: {
465
+ return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsxs)(exports.S_gleStyles, { children: [showSectionHiddenCover && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_SectionWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection, onContextMenu: function (e) {
466
+ e.stopPropagation();
467
+ e.preventDefault();
468
+ onContextSection();
469
+ } }, { children: (0, jsx_runtime_1.jsx)(components_1.CustomSection, __assign({}, props, { isMobile: isMobile, overrideStyles: {
449
470
  minHeight: customSectionStyles.minHeight,
450
471
  paddingTop: padding.top,
451
472
  paddingBottom: padding.bottom,
@@ -456,13 +477,14 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
456
477
  maxWidth: customSectionStyles.maxWidth,
457
478
  minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
458
479
  fontSize: "".concat(baseFontSize, "px")
459
- }, onLayoutChange: onLayoutChange, onDragStart: onDragStart, onDragStop: onDragStop, onResizeStop: onResizeStop,
460
- // onFitToContent={onAutoFitContent}
461
- onWidthChange: onWidthChange, minNbRow: rows, isDraggable: isEditMode, isResizable: isEditMode, transformScale: zoomScale }, { children: keepSimilarOrderToPreventRerender(layouts[layoutByDevice]).map(function (each, index) {
480
+ }, onLayoutChange: onLayoutChange, onDragStart: onDragStart, onDragStop: onDragStop, onResizeStop: onResizeStop, onFitToContent: onAutoFitContent, onWidthChange: onWidthChange, minNbRow: rows, isDraggable: false, isResizable: isEditMode }, { children: keepSimilarOrderToPreventRerender(layouts[layoutByDevice]).map(function (each, index) {
462
481
  var _a;
463
482
  if (each === null) {
464
483
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
465
484
  }
485
+ if (each.i === 'backdrop') {
486
+ return (0, jsx_runtime_1.jsx)(S_Backdrop_1.S_Backdrop, {}, "backdrop");
487
+ }
466
488
  var matchedCB = componentBlocks === null || componentBlocks === void 0 ? void 0 : componentBlocks.find(function (cb) { return cb.id.toString() === each.i; });
467
489
  if (each.i === 'group' && each.groupLayouts) {
468
490
  return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "iamgroup", onClick: function (e) {
@@ -472,7 +494,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
472
494
  e.stopPropagation();
473
495
  e.preventDefault();
474
496
  onContextMenuCB('group', e);
475
- } }, { children: (0, jsx_runtime_1.jsx)(WidthProvidedRGL, __assign({ cols: each.w, allowOverlap: true, layout: each.groupLayouts, rowHeight: rowHeight, containerPadding: [0, 0], margin: [10, 10], isDraggable: false, isResizable: false, transformScale: zoomScale, style: {
497
+ } }, { children: (0, jsx_runtime_1.jsx)(WidthProvidedRGL, __assign({ cols: each.w, allowOverlap: true, layout: each.groupLayouts, rowHeight: rowHeight, containerPadding: [0, 0], margin: [10, 10], isDraggable: false, isResizable: false, style: {
476
498
  width: '100%'
477
499
  } }, { children: (_a = each.groupLayouts) === null || _a === void 0 ? void 0 : _a.map(function (layoutItem, index, array) {
478
500
  var matchedCB = componentBlocks === null || componentBlocks === void 0 ? void 0 : componentBlocks.find(function (cb) { return cb.id.toString() === layoutItem.i; });
@@ -486,7 +508,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
486
508
  return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "cb-box-in-group", onClick: function (e) {
487
509
  e.stopPropagation();
488
510
  clickOneCBInBulk(matchedCB.id, array);
489
- } }, { children: (0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(ComponentBlockMatcher_1.default, { cbProps: cbCopy, device: device, index: index }) }) }), matchedCB.id));
511
+ } }, { children: (0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(ComponentBlockMatcher_1.default, { rowHeight: rowHeight, cbProps: cbCopy, device: device, index: index }) }) }), matchedCB.id));
490
512
  }) })) }), each.i));
491
513
  }
492
514
  if (!matchedCB) {
@@ -502,7 +524,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
502
524
  e.stopPropagation();
503
525
  e.preventDefault();
504
526
  onContextMenuCB(matchedCB.id, e);
505
- } }, { children: (0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(ComponentBlockMatcher_1.default, { cbProps: matchedCB, device: device, index: index }) }) })) }), each.i));
527
+ } }, { children: (0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(ComponentBlockMatcher_1.default, { cbProps: matchedCB, device: device, rowHeight: rowHeight, index: index }) }) })) }), each.i));
506
528
  }) })) })) }))] }) }));
507
529
  });
508
530
  function keepSimilarOrderToPreventRerender(arr) {
@@ -512,9 +534,9 @@ function keepSimilarOrderToPreventRerender(arr) {
512
534
  if (groupIdx >= 0) {
513
535
  var group = arrCopy.splice(groupIdx, 1)[0];
514
536
  (_a = group.groupLayouts) === null || _a === void 0 ? void 0 : _a.sort(function (a, b) { return Number(a.i) - Number(b.i); });
515
- return __spreadArray([group], arrCopy, true);
537
+ return __spreadArray(__spreadArray([group], arrCopy, true), [{ i: 'backdrop' }], false);
516
538
  }
517
- return __spreadArray([null], arrCopy, true);
539
+ return __spreadArray(__spreadArray([null], arrCopy, true), [{ i: 'backdrop' }], false);
518
540
  }
519
541
  function isLayoutPlacementSame(current, prev) {
520
542
  if (!prev) {
@@ -34,7 +34,7 @@ function FlexGridItem(_a) {
34
34
  zIndex: zIndex,
35
35
  gridArea: gridArea
36
36
  // maxHeight: cb.componentBlockCode !== CB_ALL_CODES.CB_TEXT ? defaultHeight : undefined
37
- } }, { children: (0, jsx_runtime_1.jsx)(ComponentBlockMatcher_1.default, { cbProps: cb, device: device, index: index }) })));
37
+ } }, { children: (0, jsx_runtime_1.jsx)(ComponentBlockMatcher_1.default, { rowHeight: rowHeight, cbProps: cb, device: device, index: index }) })));
38
38
  }
39
39
  var GridItem = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: auto;\n word-break: break-word;\n"], ["\n height: auto;\n word-break: break-word;\n"])));
40
40
  function getMaxHeight(props, device, rowHeight) {
@@ -5,6 +5,7 @@ type Props = {
5
5
  cbProps: ComponentBlock;
6
6
  device: Device;
7
7
  index: number;
8
+ rowHeight: number;
8
9
  };
9
- export default function ComponentBlockMatcher({ cbProps, device, index }: Props): JSX.Element;
10
+ export default function ComponentBlockMatcher({ cbProps, device, index, rowHeight }: Props): JSX.Element;
10
11
  export {};
@@ -21,13 +21,14 @@ var types_1 = require("../../types");
21
21
  var Button_1 = __importDefault(require("./componentBlocks/Button/Button"));
22
22
  var Divider_1 = __importDefault(require("./componentBlocks/Divider/Divider"));
23
23
  var Embed_1 = __importDefault(require("./componentBlocks/Embed/Embed"));
24
+ var GroupedCB_1 = __importDefault(require("./componentBlocks/Group/GroupedCB"));
24
25
  var Image_1 = __importDefault(require("./componentBlocks/Image/Image"));
25
26
  var RichText_1 = require("./componentBlocks/RichText");
26
27
  var Text_1 = __importDefault(require("./componentBlocks/Text/Text"));
27
28
  var Twitter_1 = __importDefault(require("./componentBlocks/Twitter/Twitter"));
28
29
  var Youtube_1 = require("./componentBlocks/Youtube");
29
30
  function ComponentBlockMatcher(_a) {
30
- var cbProps = _a.cbProps, device = _a.device, index = _a.index;
31
+ var cbProps = _a.cbProps, device = _a.device, index = _a.index, rowHeight = _a.rowHeight;
31
32
  var componentBlockCode = cbProps.componentBlockCode, data = cbProps.jsonProperties.data;
32
33
  var propsWithValue = device === 'MOBILE' ? (0, newUtils_1.replaceUndefinedValues)(data) : data;
33
34
  switch (componentBlockCode) {
@@ -47,6 +48,8 @@ function ComponentBlockMatcher(_a) {
47
48
  return (0, jsx_runtime_1.jsx)(Youtube_1.Youtube, __assign({}, propsWithValue, { index: index }));
48
49
  case types_1.CB_ALL_CODES.CB_EMBED:
49
50
  return (0, jsx_runtime_1.jsx)(Embed_1.default, __assign({}, propsWithValue, { index: index }));
51
+ case types_1.CB_ALL_CODES.CB_GROUP:
52
+ return ((0, jsx_runtime_1.jsx)(GroupedCB_1.default, __assign({}, propsWithValue, { index: index, rowHeight: rowHeight })));
50
53
  default:
51
54
  return (0, jsx_runtime_1.jsx)("div", { children: "Error: not supported CB" });
52
55
  }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import type { CB_BTN_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
3
+ type Props = CB_BTN_PROPERTIES_TYPE & IndexForIntersection & {
4
+ rowHeight: number;
5
+ };
6
+ declare function GroupedCB(props: Props): JSX.Element;
7
+ export default GroupedCB;
@@ -0,0 +1,63 @@
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 __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var jsx_runtime_1 = require("react/jsx-runtime");
18
+ var lib_1 = require("publ-echo/dist/lib");
19
+ var ReactGridLayout_1 = __importDefault(require("publ-echo/dist/lib/GridLayoutEditor/ReactGridLayout"));
20
+ var react_1 = require("react");
21
+ var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
22
+ require("../components/S_Backdrop");
23
+ var WidthProvidedRGL = (0, lib_1.WidthProvider)(ReactGridLayout_1.default);
24
+ var samplelayout = [
25
+ {
26
+ w: 2,
27
+ h: 2,
28
+ x: 1,
29
+ y: 1,
30
+ z: 1,
31
+ i: '1'
32
+ // minW?: number,
33
+ // minH?: number,
34
+ // maxW?: number,
35
+ // maxH?: number,
36
+ // moved?: boolean,
37
+ // static?: boolean,
38
+ // isDraggable?: boolean,
39
+ // isResizable?: boolean,
40
+ // resizeHandles?: ResizeHandleAxis[],
41
+ // isBounded?: boolean,
42
+ // groupLayouts?: LayoutItem[],
43
+ // autoResize?: boolean,
44
+ },
45
+ {
46
+ w: 2,
47
+ h: 2,
48
+ x: 3,
49
+ y: 3,
50
+ z: 1,
51
+ i: '2'
52
+ }
53
+ ];
54
+ function GroupedCB(props) {
55
+ var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
56
+ var index = props.index, rowHeight = props.rowHeight, CB_STYLE_PROP_BTNCOLOR = props.CB_STYLE_PROP_BTNCOLOR, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM, CB_PLACEMENT_PROP_PLACEMENT = props.CB_PLACEMENT_PROP_PLACEMENT;
57
+ return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)(WidthProvidedRGL, __assign({ cols: CB_PLACEMENT_PROP_PLACEMENT.CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS - 1, allowOverlap: true, layout: samplelayout, rowHeight: rowHeight, containerPadding: [0, 0], margin: [10, 10], isDraggable: true, isResizable: true, style: {
58
+ width: '100%',
59
+ height: '100%',
60
+ zIndex: 100002
61
+ } }, { children: [(0, jsx_runtime_1.jsx)("div", { className: "react-grid-item-selected" }, "1"), (0, jsx_runtime_1.jsx)("div", { className: "react-grid-item-selected" }, "2")] })) }));
62
+ }
63
+ exports.default = GroupedCB;
@@ -0,0 +1 @@
1
+ export declare const S_Backdrop: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,13 @@
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 __importDefault = (this && this.__importDefault) || function (mod) {
7
+ return (mod && mod.__esModule) ? mod : { "default": mod };
8
+ };
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.S_Backdrop = void 0;
11
+ var styled_components_1 = __importDefault(require("styled-components"));
12
+ exports.S_Backdrop = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n /* background: #bababaa3; */\n background-color: red;\n height: 100vh;\n pointer-events: none;\n position: absolute;\n width: 100vw;\n z-index: 100002;\n"], ["\n /* background: #bababaa3; */\n background-color: red;\n height: 100vh;\n pointer-events: none;\n position: absolute;\n width: 100vw;\n z-index: 100002;\n"])));
13
+ var templateObject_1;
@@ -1,6 +1,6 @@
1
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 } from './util/types';
2
2
  export type CB_TYPES = 'GENERAL';
3
- export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME;
3
+ export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP;
4
4
  type GeneralCustomSectionType = {
5
5
  id: number;
6
6
  type: 'GENERAL';
@@ -66,6 +66,12 @@ export type CB_IFRAME = GeneralCustomSectionType & {
66
66
  data: CB_TWITTER_PROPERTIES_TYPE;
67
67
  };
68
68
  };
69
+ export type CB_GROUP = GeneralCustomSectionType & {
70
+ componentBlockCode: CB_ALL_CODES.CB_GROUP;
71
+ jsonProperties: {
72
+ data: CB_BTN_PROPERTIES_TYPE;
73
+ };
74
+ };
69
75
  export declare enum CB_ALL_CODES {
70
76
  CB_TEXT = "CB_TEXT",
71
77
  CB_BTN = "CB_BTN",
@@ -74,6 +80,7 @@ export declare enum CB_ALL_CODES {
74
80
  CB_IMG = "CB_IMG",
75
81
  CB_YOUTUBE = "CB_YOUTUBE",
76
82
  CB_TWITTER = "CB_TWITTER",
77
- CB_EMBED = "CB_EMBED"
83
+ CB_EMBED = "CB_EMBED",
84
+ CB_GROUP = "CB_GROUP"
78
85
  }
79
86
  export {};
@@ -11,4 +11,5 @@ var CB_ALL_CODES;
11
11
  CB_ALL_CODES["CB_YOUTUBE"] = "CB_YOUTUBE";
12
12
  CB_ALL_CODES["CB_TWITTER"] = "CB_TWITTER";
13
13
  CB_ALL_CODES["CB_EMBED"] = "CB_EMBED";
14
+ CB_ALL_CODES["CB_GROUP"] = "CB_GROUP";
14
15
  })(CB_ALL_CODES = exports.CB_ALL_CODES || (exports.CB_ALL_CODES = {}));
@@ -58,8 +58,10 @@ export interface ISection {
58
58
  };
59
59
  };
60
60
  componentBlocks?: ComponentBlock[];
61
+ pedigree?: SectionPedigree;
61
62
  jsonProperties?: ISectionJsonProperties;
62
63
  }
64
+ export type SectionPedigree = any;
63
65
  export interface SubscriptionProductInList {
64
66
  id: number;
65
67
  type: SubscriptionProductType;
@@ -228,7 +230,6 @@ export type DynamicLayoutProps = {
228
230
  width?: number;
229
231
  shortcutKeyMode?: CustomSectionShortcutKeysType;
230
232
  dynamicLayoutRef?: Ref<CustomSectionImperativeHandleRef>;
231
- zoomScale?: number;
232
233
  };
233
234
  export type NavHandlerAction = {
234
235
  openNewTab: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.45",
3
+ "version": "2.5.47",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "i18next-intervalplural-postprocessor": "^3.0.0",
23
23
  "lottie-react": "^2.3.1",
24
24
  "nuka-carousel": "^4.8.4",
25
- "publ-echo": "^0.0.100",
25
+ "publ-echo": "^0.0.99",
26
26
  "react-hook-form": "^7.28.1",
27
27
  "react-i18next": "^11.12.0",
28
28
  "react-router-dom": "^5.2.0",
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.104]
2
+ ## [v2.2.99]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
- * [PDS-1253] 일부 아이콘이 톤에 따라 내부 요소의 컬러가 바뀌지 않는 이슈
6
+ * Echo를 0045 버전으로 롤백
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type IconType from '../IconType';
3
- declare const MenuHome: ({ color, size, ...rest }: IconType) => JSX.Element;
4
- export default MenuHome;
@@ -1,30 +0,0 @@
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 MenuHome = function (_a) {
27
- var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
28
- return ((0, jsx_runtime_1.jsx)("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M19.2298,8.4646 L19.2298,8.4646 L13.3638,3.5996 C12.5728,2.9446 11.4278,2.9446 10.6368,3.5996 L4.7708,8.4626 C4.2298,8.9116 3.9158,9.5786 3.9158,10.2826 L3.9158,18.3446 C3.9158,19.2296 4.6328,19.9466 5.5178,19.9466 L9.2618,19.9466 C9.5988,19.9466 9.8718,19.6726 9.8718,19.3356 L9.8718,16.0496 C9.8718,15.5876 10.2468,15.2136 10.7078,15.2136 L13.2928,15.2136 C13.7538,15.2136 14.1278,15.5876 14.1278,16.0496 L14.1278,19.3356 C14.1278,19.6726 14.4018,19.9466 14.7388,19.9466 L18.4818,19.9466 C19.3668,19.9466 20.0838,19.2296 20.0838,18.3446 L20.0838,10.2826 C20.0838,9.5776 19.7728,8.9146 19.2298,8.4646" }) })));
29
- };
30
- exports.default = MenuHome;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type IconType from '../IconType';
3
- declare const PostPost: ({ color, size, ...rest }: IconType) => JSX.Element;
4
- export default PostPost;
@@ -1,30 +0,0 @@
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 PostPost = function (_a) {
27
- var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
28
- return ((0, jsx_runtime_1.jsx)("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none", fillRule: "evenodd" }, { children: [(0, jsx_runtime_1.jsx)("rect", { width: "17", height: "19", x: "3.5", y: "2.5", stroke: color, strokeWidth: "2", rx: "4" }), (0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeWidth: "2", d: "M7.3102,7.999 L16.6892,7.999 M7.3102,11.9956 L16.6892,11.9956 M7.3102,15.9922 L12.8362,15.9922" })] })) })));
29
- };
30
- exports.default = PostPost;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type IconType from '../IconType';
3
- declare const PostSeries: ({ color, size, ...rest }: IconType) => JSX.Element;
4
- export default PostSeries;
@@ -1,30 +0,0 @@
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 PostSeries = function (_a) {
27
- var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
28
- return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none", fillRule: "evenodd" }, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, d: "M15.464,4.5658 L4.795,4.5658 C2.92,4.5658 1.4,6.0858 1.4,7.9608 L1.4,19.5998 C1.4,21.4748 2.92,22.9948 4.795,22.9948 L15.464,22.9948 C17.339,22.9948 18.859,21.4748 18.859,19.5998 L18.859,7.9608 C18.859,6.0858 17.339,4.5658 15.464,4.5658 L15.464,4.5658 Z M15.464,6.5658 C16.233,6.5658 16.859,7.1918 16.859,7.9608 L16.859,19.5998 C16.859,20.3688 16.233,20.9948 15.464,20.9948 L4.795,20.9948 C4.026,20.9948 3.4,20.3688 3.4,19.5998 L3.4,7.9608 C3.4,7.1918 4.026,6.5658 4.795,6.5658 L15.464,6.5658 Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeWidth: "2", d: "M6.0355,10.2915 L14.2235,10.2915 M6.0355,13.7804 L14.2235,13.7804 M6.0355,17.2692 L10.8595,17.2692" }), (0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinejoin: "round", strokeWidth: "2", d: "M5.6243,5.592 L5.6243,4.929 C5.6243,3.201 7.0253,1.8 8.7523,1.8 L18.5843,1.8 C20.3123,1.8 21.7133,3.201 21.7133,4.929 L21.7133,15.654 C21.7133,17.382 20.3123,18.783 18.5843,18.783 L17.7783,18.783" })] })) })));
29
- };
30
- exports.default = PostSeries;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type IconType from '../IconType';
3
- declare const VideoEpisode: ({ color, size, ...rest }: IconType) => JSX.Element;
4
- export default VideoEpisode;
@@ -1,30 +0,0 @@
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 VideoEpisode = function (_a) {
27
- var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
28
- return ((0, jsx_runtime_1.jsx)("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M14.6682,12.6872 L12.8852,13.7172 L11.1012,14.7462 C10.5722,15.0522 9.9112,14.6702 9.9112,14.0592 L9.9112,12.0002 L9.9112,9.9402 C9.9112,9.3302 10.5722,8.9482 11.1012,9.2532 L12.8852,10.2832 L14.6682,11.3132 C15.1972,11.6182 15.1972,12.3822 14.6682,12.6872 M18.1152,4.5712 L5.8842,4.5712 C4.2272,4.5712 2.8842,5.9142 2.8842,7.5712 L2.8842,16.4292 C2.8842,18.0862 4.2272,19.4292 5.8842,19.4292 L18.1152,19.4292 C19.7722,19.4292 21.1152,18.0862 21.1152,16.4292 L21.1152,7.5712 C21.1152,5.9142 19.7722,4.5712 18.1152,4.5712" }) })));
29
- };
30
- exports.default = VideoEpisode;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type IconType from '../IconType';
3
- declare const VideoSeries: ({ color, size, ...rest }: IconType) => JSX.Element;
4
- export default VideoSeries;
@@ -1,30 +0,0 @@
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 VideoSeries = function (_a) {
27
- var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
28
- return ((0, jsx_runtime_1.jsx)("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none", fillRule: "evenodd" }, { children: [(0, jsx_runtime_1.jsx)("path", { fill: color, d: "M13.9309,13.1571 L12.2319,14.1381 L10.5329,15.1191 C10.0289,15.4101 9.3999,15.0461 9.3999,14.4641 L9.3999,12.5021 L9.3999,10.5411 C9.3999,9.9591 10.0289,9.5951 10.5329,9.8861 L12.2319,10.8671 L13.9309,11.8481 C14.4349,12.1391 14.4349,12.8661 13.9309,13.1571 M16.9779,5.4261 L5.8009,5.4261 C4.0919,5.4261 2.7059,6.8111 2.7059,8.5201 L2.7059,16.4851 C2.7059,18.1941 4.0919,19.5791 5.8009,19.5791 L16.9779,19.5791 C18.6869,19.5791 20.0729,18.1941 20.0729,16.4851 L20.0729,8.5201 C20.0729,6.8111 18.6869,5.4261 16.9779,5.4261" }), (0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.4", d: "M6.3538,6.3685 L6.3538,6.3685 C6.3538,5.1335 7.3548,4.1325 8.5898,4.1325 L19.0578,4.1325 C20.2928,4.1325 21.2938,5.1335 21.2938,6.3685 L21.2938,14.0725 C21.2938,15.3075 20.2928,16.3085 19.0578,16.3085" })] })) })));
29
- };
30
- exports.default = VideoSeries;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type IconType from '../IconType';
3
- declare const Heart: ({ color, size, ...rest }: IconType) => JSX.Element;
4
- export default Heart;
@@ -1,30 +0,0 @@
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 Heart = function (_a) {
27
- var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
28
- return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: "none", stroke: color, strokeWidth: "1.8", d: "M16.981,3 C15.701,3 14.41,3.519 13.377,4.576 C12.807,5.161 12.454,5.672 12.248,6.022 C12.192,6.118 12.097,6.165 12.002,6.165 C11.905,6.165 11.806,6.115 11.749,6.017 C11.543,5.667 11.19,5.158 10.623,4.576 C9.59,3.519 8.299,3 7.019,3 C5.629,3 4.253,3.612 3.235,4.81 C1.404,6.966 1.672,10.216 3.629,12.259 L11.278,20.246 C11.671,20.657 12.329,20.657 12.722,20.246 L20.371,12.259 C22.326,10.218 22.596,6.972 20.769,4.815 C19.752,3.613 18.373,3 16.981,3" }) })));
29
- };
30
- exports.default = Heart;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type IconType from '../IconType';
3
- declare const MenuHome: ({ color, size, ...rest }: IconType) => JSX.Element;
4
- export default MenuHome;