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.
- package/dist/src/common/assets/icons/fill/Home.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Home.js +30 -0
- package/dist/src/common/assets/icons/fill/PappType.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/PappType.js +30 -0
- package/dist/src/common/assets/icons/fill/Plan.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Plan.js +30 -0
- package/dist/src/common/assets/icons/fill/Sales.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Sales.js +30 -0
- package/dist/src/common/assets/icons/fill/SellerIntro.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/SellerIntro.js +30 -0
- package/dist/src/common/assets/icons/fill/Shoppingbag.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Shoppingbag.js +30 -0
- package/dist/src/common/assets/icons/fill/Site.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Site.js +30 -0
- package/dist/src/common/assets/icons/fill/StarShaped.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/StarShaped.js +30 -0
- package/dist/src/common/assets/icons/fill/Target.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Target.js +30 -0
- package/dist/src/common/assets/icons/fill/User.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/User.js +30 -0
- package/dist/src/common/assets/icons/fill/Xmark.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Xmark.js +30 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +11 -0
- package/dist/src/common/assets/icons/fill/index.js +23 -1
- package/dist/src/common/assets/icons/line/Site.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Site.js +30 -0
- package/dist/src/common/assets/icons/line/StarShaped.d.ts +4 -0
- package/dist/src/common/assets/icons/line/StarShaped.js +30 -0
- package/dist/src/common/assets/icons/line/Ticket.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Ticket.js +30 -0
- package/dist/src/common/assets/icons/line/User.d.ts +4 -0
- package/dist/src/common/assets/icons/line/User.js +30 -0
- package/dist/src/common/assets/icons/line/index.d.ts +4 -0
- package/dist/src/common/assets/icons/line/index.js +8 -0
- package/dist/src/common/services/i18n/resources/en.json +2 -1
- package/dist/src/common/services/i18n/resources/es.json +2 -1
- package/dist/src/common/services/i18n/resources/fil.json +2 -1
- package/dist/src/common/services/i18n/resources/index.d.ts +7 -0
- package/dist/src/common/services/i18n/resources/ja.json +2 -1
- package/dist/src/common/services/i18n/resources/ko.json +2 -1
- package/dist/src/common/services/i18n/resources/zh-cn.json +2 -1
- package/dist/src/common/services/i18n/resources/zh-tw.json +2 -1
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +6 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +7 -2
- package/dist/src/common/styles/colorSet/UIColor.json +8 -1
- package/dist/src/common/styles/colorSet/index.d.ts +19 -2
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +7 -0
- package/dist/src/common/types/components.d.ts +1 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/MainButton.js +1 -2
- package/dist/src/desktop/components/BasicListItem/RightBox/Switch.js +1 -1
- package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +17 -5
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.js +6 -1
- package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.js +1 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/SecondaryMenu.js +68 -3
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/DynamicDesktopNavBarTemplates.d.ts +0 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/constants.d.ts +0 -1
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/constants.js +5 -6
- package/dist/src/desktop/components/TextButton/TextButton.d.ts +3 -2
- package/dist/src/desktop/components/TextButton/TextButton.js +15 -2
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.d.ts +2 -1
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.js +20 -9
- package/dist/src/mobile/components/BasicListItem/RightBox/MainButton.js +1 -2
- package/dist/src/mobile/components/BasicListItem/RightBox/Switch.js +1 -1
- package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +15 -3
- package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +4 -3
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.d.ts +3 -2
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +18 -6
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +3 -2
- package/dist/src/sub/DynamicLayout/hooks/useCustomSectionShortcut/useCustomSectionShortcut.d.ts +6 -0
- package/dist/src/sub/DynamicLayout/hooks/useCustomSectionShortcut/useCustomSectionShortcut.js +50 -0
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +2467 -2
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +4321 -15
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +23 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +10 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +292 -26
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +14 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +4 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +4 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.js +48 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/EmbedIframe.d.ts +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/EmbedIframe.js +45 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +21 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/constant.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/constant.js +9 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.d.ts +6 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +4 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +4 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +6 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +4 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +5 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +3 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/useGroupDrag.d.ts +22 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/useGroupDrag.js +273 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/utils.d.ts +13 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/utils.js +127 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.js +21 -9
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +40 -11
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +14 -1
- package/dist/src/sub/DynamicLayout/types.d.ts +25 -19
- package/dist/src/sub/DynamicLayout/utils/deepCopy.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/utils/deepCopy.js +15 -0
- package/package.json +2 -2
- package/release-note.md +5 -6
- package/dist/src/sub/DynamicLayout/mock_customSection.d.ts +0 -2
- package/dist/src/sub/DynamicLayout/mock_customSection.js +0 -840
- package/dist/src/sub/DynamicLayout/nakedMocks.json +0 -847
|
@@ -16,6 +16,15 @@ type ActionHandlerPayload = {
|
|
|
16
16
|
e?: ResizeEventType;
|
|
17
17
|
node?: HTMLElement;
|
|
18
18
|
};
|
|
19
|
+
'@CUSTOMSECTION/GROUP_DRAG_STOP': {
|
|
20
|
+
layout: Layout;
|
|
21
|
+
prev?: LayoutItem;
|
|
22
|
+
item?: LayoutItem;
|
|
23
|
+
placeholder?: LayoutItem;
|
|
24
|
+
e?: ResizeEventType;
|
|
25
|
+
node?: HTMLElement;
|
|
26
|
+
outerBasedChildrenPositions: LayoutItem[];
|
|
27
|
+
};
|
|
19
28
|
'@CUSTOMSECTION/CB_RESIZE_STOP': {
|
|
20
29
|
layout: Layout;
|
|
21
30
|
prev?: LayoutItem;
|
|
@@ -32,12 +41,25 @@ type ActionHandlerPayload = {
|
|
|
32
41
|
id: number;
|
|
33
42
|
};
|
|
34
43
|
'@CUSTOMSECTION/CB_RIGHT_CLICKED': {
|
|
35
|
-
id: number;
|
|
44
|
+
id: number | 'group';
|
|
36
45
|
e: React.MouseEvent;
|
|
37
46
|
};
|
|
38
47
|
'@CUSTOMSECTION/SECTION_CLICKED': {
|
|
39
48
|
sectionId: number;
|
|
40
49
|
};
|
|
50
|
+
'@CUSTOMSECTION/GROUP_CREATED': {
|
|
51
|
+
message: string;
|
|
52
|
+
data: LayoutItem;
|
|
53
|
+
};
|
|
54
|
+
'@CUSTOMSECTION/GROUP_DISMISSED': {
|
|
55
|
+
message: string;
|
|
56
|
+
};
|
|
57
|
+
'@CUSTOMSECTION/COLLISION_NOT_FOUND': {
|
|
58
|
+
message: string;
|
|
59
|
+
};
|
|
60
|
+
'@CUSTOMSECTION/ESCAPE_ONE_FROM_GROUP': {
|
|
61
|
+
id: string;
|
|
62
|
+
};
|
|
41
63
|
};
|
|
42
64
|
type ActionMap<M extends {
|
|
43
65
|
[index: string]: any;
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ISection } from '../../types';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
|
|
4
|
+
export type LayoutsType = {
|
|
5
|
+
sm: Layout;
|
|
6
|
+
lg: Layout;
|
|
7
|
+
};
|
|
8
|
+
export type CustomSectionImperativeHandleRef = {
|
|
9
|
+
selectCB: (cbId: number | 'group') => void;
|
|
10
|
+
selectCBInBulk: (cbIds: string[]) => void;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ISection & React.RefAttributes<unknown>>>;
|
|
5
13
|
export default _default;
|