pds-dev-kit-web-test 2.5.322 → 2.5.324
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/hooks/useTooltip.js +1 -1
- package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +1 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +1 -3
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +31 -26
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +4 -1
- package/dist/src/sub/DynamicLayout/mocks.d.ts +1 -5
- package/dist/src/sub/DynamicLayout/mocks.js +12 -36
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +2 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +11 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +21 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +2 -144
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +0 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +7 -16
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -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 +1 -33
- package/dist/src/sub/DynamicLayout/types.d.ts +2 -2
- package/package.json +3 -3
- package/release-note.md +3 -3
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +0 -20
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +0 -1115
- package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +0 -139
- package/dist/src/sub/DynamicLayout/compositionActionTypes.js +0 -2
- package/dist/src/sub/DynamicLayout/mock_composition.d.ts +0 -3
- package/dist/src/sub/DynamicLayout/mock_composition.js +0 -755
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +0 -2
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +0 -326
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +0 -2
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +0 -318
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +0 -17
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +0 -39
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +0 -31
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +0 -167
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +0 -26
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +0 -184
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +0 -19
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +0 -72
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +0 -50
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +0 -919
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +0 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +0 -90
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.js +0 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +0 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +0 -143
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +0 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +0 -39
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +0 -31
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +0 -167
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +0 -26
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +0 -184
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +0 -19
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +0 -72
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.js +0 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +0 -48
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +0 -855
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +0 -80
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +0 -2
@@ -1,139 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import type { Layout } from 'publ-echo/dist/lib';
|
3
|
-
import type { ResizeEventType } from 'publ-echo/dist/lib/GridItem/types';
|
4
|
-
import type { ComponentBlock, GroupBlock } from 'publ-echo/dist/lib/GridLayoutEditor/group';
|
5
|
-
import type { LayoutItem, Layouts } from 'publ-echo/dist/lib/GridLayoutEditor/types';
|
6
|
-
export type TypeOfCompositionAction = ActionMap<ActionHandlerPayload>[keyof ActionMap<ActionHandlerPayload>];
|
7
|
-
export type PayloadCBType = {
|
8
|
-
type: ComponentBlock['type'];
|
9
|
-
blockId: string;
|
10
|
-
cbId: number;
|
11
|
-
workDir: string;
|
12
|
-
};
|
13
|
-
export type PayloadGBType = {
|
14
|
-
type: GroupBlock['type'];
|
15
|
-
blockId: string;
|
16
|
-
childrenBlockIds: string[];
|
17
|
-
childrenCBIds: number[];
|
18
|
-
workDir: string;
|
19
|
-
};
|
20
|
-
export type PayloadBulkType = {
|
21
|
-
type: 'BULK';
|
22
|
-
blockId: 'BULK';
|
23
|
-
childrenBlockIds: string[];
|
24
|
-
childrenCBIds: number[];
|
25
|
-
workDir: string;
|
26
|
-
groupDisabled: boolean;
|
27
|
-
};
|
28
|
-
export type BlockPayloadType = PayloadCBType | PayloadGBType | PayloadBulkType;
|
29
|
-
type ActionHandlerPayload = {
|
30
|
-
'@COMPOSITION/CB_DRAG_START': {
|
31
|
-
layout: Layout;
|
32
|
-
prev?: LayoutItem;
|
33
|
-
item?: LayoutItem;
|
34
|
-
placeholder?: LayoutItem;
|
35
|
-
e?: ResizeEventType;
|
36
|
-
node?: HTMLElement;
|
37
|
-
};
|
38
|
-
'@COMPOSITION/CB_DRAG_STOP': {
|
39
|
-
layout: Layout;
|
40
|
-
prev?: LayoutItem;
|
41
|
-
item?: LayoutItem;
|
42
|
-
placeholder?: LayoutItem;
|
43
|
-
e?: ResizeEventType;
|
44
|
-
node?: HTMLElement;
|
45
|
-
blockId: string;
|
46
|
-
workDir: string;
|
47
|
-
};
|
48
|
-
'@COMPOSITION/CB_RESIZE_STOP': {
|
49
|
-
layout: Layout;
|
50
|
-
prev?: LayoutItem;
|
51
|
-
item?: LayoutItem;
|
52
|
-
placeholder?: LayoutItem;
|
53
|
-
e?: ResizeEventType;
|
54
|
-
node?: HTMLElement;
|
55
|
-
blockId: string;
|
56
|
-
workDir: string;
|
57
|
-
};
|
58
|
-
'@COMPOSITION/CB_AUTO_FIT_CONTENT': {
|
59
|
-
layout: Layout;
|
60
|
-
prev?: LayoutItem;
|
61
|
-
item?: LayoutItem;
|
62
|
-
placeholder?: LayoutItem;
|
63
|
-
e?: ResizeEventType;
|
64
|
-
node?: HTMLElement;
|
65
|
-
details: {
|
66
|
-
hadPaddingChanged: boolean;
|
67
|
-
};
|
68
|
-
blockId: string;
|
69
|
-
workDir: string;
|
70
|
-
};
|
71
|
-
'@COMPOSITION/PLACEMENT_CHANGED': {
|
72
|
-
layout: Layout;
|
73
|
-
layouts: Layouts;
|
74
|
-
};
|
75
|
-
'@COMPOSITION/BLOCK_CLICKED': {
|
76
|
-
block: BlockPayloadType;
|
77
|
-
};
|
78
|
-
'@COMPOSITION/CB_RIGHT_CLICKED': {
|
79
|
-
e: React.MouseEvent;
|
80
|
-
block: BlockPayloadType;
|
81
|
-
};
|
82
|
-
'@COMPOSITION/SECTION_CLICKED': {
|
83
|
-
sectionId: number;
|
84
|
-
};
|
85
|
-
'@COMPOSITION/SECTION_RIGHT_CLICKED': {
|
86
|
-
sectionId: number;
|
87
|
-
e: React.MouseEvent;
|
88
|
-
};
|
89
|
-
'@COMPOSITION/GROUP_RIGHT_CLICKED': {
|
90
|
-
e: React.MouseEvent;
|
91
|
-
block: PayloadGBType;
|
92
|
-
isEditingGroup: boolean;
|
93
|
-
};
|
94
|
-
'@COMPOSITION/BULK_RIGHT_CLICKED': {
|
95
|
-
e: React.MouseEvent;
|
96
|
-
block: PayloadBulkType;
|
97
|
-
};
|
98
|
-
'@COMPOSITION/BULK_CREATED': {
|
99
|
-
message: string;
|
100
|
-
data: LayoutItem;
|
101
|
-
};
|
102
|
-
'@COMPOSITION/BULK_DISMISSED': {
|
103
|
-
message: string;
|
104
|
-
editingGroupBlock: string;
|
105
|
-
};
|
106
|
-
'@COMPOSITION/COLLISION_NOT_FOUND': {
|
107
|
-
message: string;
|
108
|
-
};
|
109
|
-
'@COMPOSITION/ESCAPE_ONE_FROM_BULK': {
|
110
|
-
id: string;
|
111
|
-
};
|
112
|
-
'@COMPOSITION/BULK_DRAG_STOP': {
|
113
|
-
updatedBlocks: UpdatedBlock[];
|
114
|
-
};
|
115
|
-
'@COMPOSITION/GROUP_DRAG_STOP': {
|
116
|
-
updatedBlocks: UpdatedBlock[];
|
117
|
-
workDir: string;
|
118
|
-
};
|
119
|
-
'@COMPOSITION/WORKDIR_CHANGED': {
|
120
|
-
workDir: string;
|
121
|
-
};
|
122
|
-
};
|
123
|
-
export type UpdatedBlock = {
|
124
|
-
blockId: string;
|
125
|
-
cbId: number;
|
126
|
-
x: number;
|
127
|
-
y: number;
|
128
|
-
};
|
129
|
-
type ActionMap<M extends {
|
130
|
-
[index: string]: any;
|
131
|
-
}> = {
|
132
|
-
[Key in keyof M]: M[Key] extends undefined ? {
|
133
|
-
type: Key;
|
134
|
-
} : {
|
135
|
-
type: Key;
|
136
|
-
payload: M[Key];
|
137
|
-
};
|
138
|
-
};
|
139
|
-
export {};
|