pds-dev-kit-web-test 2.2.48 → 2.2.60

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 (128) hide show
  1. package/dist/src/common/assets/icons/fill/Home.d.ts +4 -0
  2. package/dist/src/common/assets/icons/fill/Home.js +30 -0
  3. package/dist/src/common/assets/icons/fill/PappType.d.ts +4 -0
  4. package/dist/src/common/assets/icons/fill/PappType.js +30 -0
  5. package/dist/src/common/assets/icons/fill/Plan.d.ts +4 -0
  6. package/dist/src/common/assets/icons/fill/Plan.js +30 -0
  7. package/dist/src/common/assets/icons/fill/Sales.d.ts +4 -0
  8. package/dist/src/common/assets/icons/fill/Sales.js +30 -0
  9. package/dist/src/common/assets/icons/fill/SellerIntro.d.ts +4 -0
  10. package/dist/src/common/assets/icons/fill/SellerIntro.js +30 -0
  11. package/dist/src/common/assets/icons/fill/Shoppingbag.d.ts +4 -0
  12. package/dist/src/common/assets/icons/fill/Shoppingbag.js +30 -0
  13. package/dist/src/common/assets/icons/fill/Site.d.ts +4 -0
  14. package/dist/src/common/assets/icons/fill/Site.js +30 -0
  15. package/dist/src/common/assets/icons/fill/StarShaped.d.ts +4 -0
  16. package/dist/src/common/assets/icons/fill/StarShaped.js +30 -0
  17. package/dist/src/common/assets/icons/fill/Target.d.ts +4 -0
  18. package/dist/src/common/assets/icons/fill/Target.js +30 -0
  19. package/dist/src/common/assets/icons/fill/User.d.ts +4 -0
  20. package/dist/src/common/assets/icons/fill/User.js +30 -0
  21. package/dist/src/common/assets/icons/fill/Xmark.d.ts +4 -0
  22. package/dist/src/common/assets/icons/fill/Xmark.js +30 -0
  23. package/dist/src/common/assets/icons/fill/index.d.ts +11 -0
  24. package/dist/src/common/assets/icons/fill/index.js +23 -1
  25. package/dist/src/common/assets/icons/line/Site.d.ts +4 -0
  26. package/dist/src/common/assets/icons/line/Site.js +30 -0
  27. package/dist/src/common/assets/icons/line/StarShaped.d.ts +4 -0
  28. package/dist/src/common/assets/icons/line/StarShaped.js +30 -0
  29. package/dist/src/common/assets/icons/line/Ticket.d.ts +4 -0
  30. package/dist/src/common/assets/icons/line/Ticket.js +30 -0
  31. package/dist/src/common/assets/icons/line/User.d.ts +4 -0
  32. package/dist/src/common/assets/icons/line/User.js +30 -0
  33. package/dist/src/common/assets/icons/line/index.d.ts +4 -0
  34. package/dist/src/common/assets/icons/line/index.js +8 -0
  35. package/dist/src/common/services/i18n/resources/en.json +2 -1
  36. package/dist/src/common/services/i18n/resources/es.json +2 -1
  37. package/dist/src/common/services/i18n/resources/fil.json +2 -1
  38. package/dist/src/common/services/i18n/resources/index.d.ts +7 -0
  39. package/dist/src/common/services/i18n/resources/ja.json +2 -1
  40. package/dist/src/common/services/i18n/resources/ko.json +2 -1
  41. package/dist/src/common/services/i18n/resources/zh-cn.json +2 -1
  42. package/dist/src/common/services/i18n/resources/zh-tw.json +2 -1
  43. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +6 -1
  44. package/dist/src/common/styles/colorSet/PaletteColor_light.json +7 -2
  45. package/dist/src/common/styles/colorSet/UIColor.json +8 -1
  46. package/dist/src/common/styles/colorSet/index.d.ts +19 -2
  47. package/dist/src/common/styles/colorSet/index.js +2 -2
  48. package/dist/src/common/styles/colorSet/ui-type.d.ts +7 -0
  49. package/dist/src/common/types/components.d.ts +1 -0
  50. package/dist/src/desktop/components/BasicListItem/RightBox/MainButton.js +1 -2
  51. package/dist/src/desktop/components/BasicListItem/RightBox/Switch.js +1 -1
  52. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +17 -5
  53. package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.js +6 -1
  54. package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.js +1 -1
  55. package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/SecondaryMenu.js +68 -3
  56. package/dist/src/desktop/components/DynamicDesktopNavBar/templates/DynamicDesktopNavBarTemplates.d.ts +0 -1
  57. package/dist/src/desktop/components/DynamicDesktopNavBar/templates/constants.d.ts +0 -1
  58. package/dist/src/desktop/components/DynamicDesktopNavBar/templates/constants.js +5 -6
  59. package/dist/src/desktop/components/TextButton/TextButton.d.ts +3 -2
  60. package/dist/src/desktop/components/TextButton/TextButton.js +15 -2
  61. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.d.ts +2 -1
  62. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.js +20 -9
  63. package/dist/src/mobile/components/BasicListItem/RightBox/MainButton.js +1 -2
  64. package/dist/src/mobile/components/BasicListItem/RightBox/Switch.js +1 -1
  65. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +15 -3
  66. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  67. package/dist/src/sub/DynamicLayout/DynamicLayout.js +4 -3
  68. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.d.ts +3 -2
  69. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +18 -6
  70. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +3 -2
  71. package/dist/src/sub/DynamicLayout/hooks/useCustomSectionShortcut/useCustomSectionShortcut.d.ts +6 -0
  72. package/dist/src/sub/DynamicLayout/hooks/useCustomSectionShortcut/useCustomSectionShortcut.js +50 -0
  73. package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +2467 -2
  74. package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +4321 -15
  75. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +23 -1
  76. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +10 -2
  77. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +292 -26
  78. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.d.ts +2 -1
  79. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.js +2 -2
  80. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.d.ts +2 -1
  81. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +14 -10
  82. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +2 -2
  83. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +4 -2
  84. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.d.ts +2 -2
  85. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +4 -2
  86. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.d.ts +5 -0
  87. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.js +48 -0
  88. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/EmbedIframe.d.ts +8 -0
  89. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/EmbedIframe.js +45 -0
  90. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.d.ts +3 -0
  91. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +21 -0
  92. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/constant.d.ts +1 -0
  93. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/constant.js +9 -0
  94. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.d.ts +6 -0
  95. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.js +2 -0
  96. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.d.ts +2 -2
  97. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +4 -2
  98. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +2 -2
  99. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +4 -2
  100. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.d.ts +2 -2
  101. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +6 -3
  102. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.d.ts +2 -2
  103. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +4 -2
  104. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +2 -2
  105. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +5 -3
  106. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +3 -0
  107. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/index.d.ts +1 -0
  108. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/index.js +8 -0
  109. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/useGroupDrag.d.ts +22 -0
  110. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/useGroupDrag.js +273 -0
  111. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/utils.d.ts +13 -0
  112. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/utils.js +127 -0
  113. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.d.ts +1 -1
  114. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.js +21 -9
  115. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +40 -11
  116. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -0
  117. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +1 -1
  118. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
  119. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  120. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +14 -1
  121. package/dist/src/sub/DynamicLayout/types.d.ts +25 -19
  122. package/dist/src/sub/DynamicLayout/utils/deepCopy.d.ts +1 -0
  123. package/dist/src/sub/DynamicLayout/utils/deepCopy.js +15 -0
  124. package/package.json +2 -2
  125. package/release-note.md +5 -6
  126. package/dist/src/sub/DynamicLayout/mock_customSection.d.ts +0 -2
  127. package/dist/src/sub/DynamicLayout/mock_customSection.js +0 -840
  128. package/dist/src/sub/DynamicLayout/nakedMocks.json +0 -847
@@ -1,11 +1,12 @@
1
- /// <reference types="react" />
2
1
  import type { TypeOfSectionAction } from './sectionActionTypes';
2
+ import type { CustomSectionImperativeHandleRef } from './sections/CustomSection/CustomSection';
3
3
  import type { ComponentBlock } from './sections/CustomSection/types';
4
4
  import type { CB_CONTENT_PROP_VISIBILITY_SPECS } from './sections/CustomSection/util/contentPropParsers/parseContentVisibility';
5
5
  import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim';
6
6
  import type { CB_LAYOUT_PROP_PADDING_SPECS } from './sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding';
7
7
  import type { CB_STYLE_PROP_BGCOLOR_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgColor';
8
8
  import type { CB_STYLE_PROP_BGOVERLAY_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay';
9
+ import type { Ref } from 'react';
9
10
  export { TypeOfSectionAction };
10
11
  export type TypeOfSectionManifestSchema = 'BASE_INTRO' | 'BASE_CONTENTS' | 'BASE_CONTENTS_CAROUSEL' | 'BASE_FOOTER' | 'BASE_INFO_BOX' | 'EXP_IFRAME' | 'PRG_MEMBERSHIP_DISPLAY' | 'CUSTOM';
11
12
  export type TypeofSectionTemplate = 'BASE_INTRO_A' | 'BASE_INTRO_B' | 'BASE_INTRO_C' | 'BASE_INTRO_D' | 'BASE_CONTENTS_A' | 'BASE_CONTENTS_B' | 'BASE_CONTENTS_CAROUSEL_A' | 'BASE_CONTENTS_CAROUSEL_B' | 'BASE_FOOTER_A' | 'BASE_FOOTER_B' | 'BASE_INFO_BOX_A' | 'EXP_IFRAME_A' | 'PRG_MEMBERSHIP_DISPLAY_A' | 'PRG_MEMBERSHIP_DISPLAY_B' | null | undefined;
@@ -210,6 +211,7 @@ export interface IItemDescription extends IDescription {
210
211
  text: string;
211
212
  color?: string;
212
213
  }
214
+ export type CustomSectionShortcutKeysType = 'BULK_SELECT' | 'COLLISION_SELECT' | 'SELECT_ALL' | 'MANUAL_COLLISION_SELECT' | 'MANUAL_BULK_BREAK' | null;
213
215
  export type DynamicLayoutProps = {
214
216
  device: 'DESKTOP' | 'MOBILE';
215
217
  /** @default 'NORMAL */
@@ -224,6 +226,8 @@ export type DynamicLayoutProps = {
224
226
  sectionActionHandler?: (action: TypeOfSectionAction) => void;
225
227
  programmedSectionComponents?: IProgrammedSectionComponents;
226
228
  width?: number;
229
+ shortcutKeyMode?: CustomSectionShortcutKeysType;
230
+ dynamicLayoutRef?: Ref<CustomSectionImperativeHandleRef>;
227
231
  };
228
232
  export type NavHandlerAction = {
229
233
  openNewTab: boolean;
@@ -295,25 +299,27 @@ export type IMembershipDisplay = {
295
299
  connectedMemberships: IConnectedMembership[];
296
300
  };
297
301
  export type ISectionJsonProperties = {
298
- CB_CONTENT_PROP_SECTION: {
299
- CB_CONTENT_PROP_SECTION_SPEC_VARIABLEROOTFONTSIZE: boolean;
300
- };
301
- CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
302
- CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
303
- CB_LAYOUT_PROP_PADDING?: CB_LAYOUT_PROP_PADDING_SPECS;
304
- CB_PLACEMENT_PROP_SECTION: {
305
- CB_PLACEMENT_PROP_SECTION_SPEC_FULLWIDTH: boolean;
306
- 'CB_PLACEMENT_PROP_SECTION_SPEC_FULLWIDTH:MOBILE': boolean | null | undefined;
307
- CB_PLACEMENT_PROP_SECTION_SPEC_MINHEIGHT: number;
308
- 'CB_PLACEMENT_PROP_SECTION_SPEC_MINHEIGHT:MOBILE': number | null | undefined;
309
- CB_PLACEMENT_PROP_SECTION_SPEC_ROWS: number;
310
- 'CB_PLACEMENT_PROP_SECTION_SPEC_ROWS:MOBILE': number | null | undefined;
311
- CB_PLACEMENT_PROP_SECTION_SPEC_WIDTH: number;
312
- 'CB_PLACEMENT_PROP_SECTION_SPEC_WIDTH:MOBILE': number | null | undefined;
302
+ data: {
303
+ CB_CONTENT_PROP_SECTION: {
304
+ CB_CONTENT_PROP_SECTION_SPEC_VARIABLEROOTFONTSIZE: boolean;
305
+ };
306
+ CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
307
+ CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
308
+ CB_LAYOUT_PROP_PADDING?: CB_LAYOUT_PROP_PADDING_SPECS;
309
+ CB_PLACEMENT_PROP_SECTION: {
310
+ CB_PLACEMENT_PROP_SECTION_SPEC_FULLWIDTH: boolean;
311
+ 'CB_PLACEMENT_PROP_SECTION_SPEC_FULLWIDTH:MOBILE': boolean | null | undefined;
312
+ CB_PLACEMENT_PROP_SECTION_SPEC_MINHEIGHT: number;
313
+ 'CB_PLACEMENT_PROP_SECTION_SPEC_MINHEIGHT:MOBILE': number | null | undefined;
314
+ CB_PLACEMENT_PROP_SECTION_SPEC_ROWS: number;
315
+ 'CB_PLACEMENT_PROP_SECTION_SPEC_ROWS:MOBILE': number | null | undefined;
316
+ CB_PLACEMENT_PROP_SECTION_SPEC_WIDTH: number;
317
+ 'CB_PLACEMENT_PROP_SECTION_SPEC_WIDTH:MOBILE': number | null | undefined;
318
+ };
319
+ CB_STYLE_PROP_BGCOLOR?: CB_STYLE_PROP_BGCOLOR_SPECS;
320
+ CB_STYLE_PROP_BGMEDIA?: CB_STYLE_PROP_BGMEDIA_SPECS;
321
+ CB_STYLE_PROP_BGOVERLAY?: CB_STYLE_PROP_BGOVERLAY_SPECS;
313
322
  };
314
- CB_STYLE_PROP_BGCOLOR?: CB_STYLE_PROP_BGCOLOR_SPECS;
315
- CB_STYLE_PROP_BGMEDIA?: CB_STYLE_PROP_BGMEDIA_SPECS;
316
- CB_STYLE_PROP_BGOVERLAY?: CB_STYLE_PROP_BGOVERLAY_SPECS;
317
323
  };
318
324
  export type CB_STYLE_PROP_BGMEDIA_SPECS_BASE = {
319
325
  CB_STYLE_PROP_BGMEDIA_SPEC_YSRC: string;
@@ -0,0 +1 @@
1
+ export default function deepCopy<T>(obj: T): T;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ function deepCopy(obj) {
4
+ if (typeof obj !== 'object' || obj === null) {
5
+ return obj;
6
+ }
7
+ var result = Array.isArray(obj) ? [] : {};
8
+ for (var key in obj) {
9
+ if (Object.prototype.hasOwnProperty.call(obj, key)) {
10
+ result[key] = deepCopy(obj[key]);
11
+ }
12
+ }
13
+ return result;
14
+ }
15
+ exports.default = deepCopy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.2.48",
3
+ "version": "2.2.60",
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.25",
25
+ "publ-echo": "^0.0.61",
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,7 +1,6 @@
1
1
  # pds-dev-kit-web-test Release Notes
2
- ## [v0.3.45]
3
- ## 기준 pds-dev-kit-web 버전 @2.2.48
4
- ### sub
5
- * components
6
- * TextFieldBase
7
- * e.preventDefault()에 대한 조건 e.code가 Enter인 것에서 e.key가 Enter인 것으로 변경
2
+ ## [v2.2.60]
3
+ ## daily|https://design.storybook.publ.biz/
4
+
5
+ ### DynamicLayout
6
+ * CustomSection - Fix cb_embed 사용할 수 없는 호스트 추가
@@ -1,2 +0,0 @@
1
- import type { ISection } from './types';
2
- export declare const customSectionMock1: ISection;