pds-dev-kit-web-test 2.5.321 → 2.5.323

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 (62) hide show
  1. package/dist/src/common/hooks/useTooltip.js +1 -1
  2. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  3. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  4. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +1 -3
  5. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +31 -31
  6. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +4 -1
  7. package/dist/src/sub/DynamicLayout/mocks.d.ts +1 -5
  8. package/dist/src/sub/DynamicLayout/mocks.js +10 -34
  9. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +2 -3
  10. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +2 -8
  11. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +2 -7
  12. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +21 -1
  13. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +2 -2
  14. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +2 -144
  15. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +0 -27
  16. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +5 -14
  17. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +0 -1
  18. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  19. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +1 -33
  20. package/dist/src/sub/DynamicLayout/types.d.ts +2 -2
  21. package/package.json +3 -3
  22. package/release-note.md +2 -2
  23. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +0 -20
  24. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +0 -1115
  25. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +0 -139
  26. package/dist/src/sub/DynamicLayout/compositionActionTypes.js +0 -2
  27. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +0 -3
  28. package/dist/src/sub/DynamicLayout/mock_composition.js +0 -755
  29. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +0 -2
  30. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +0 -326
  31. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +0 -2
  32. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +0 -318
  33. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +0 -17
  34. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +0 -39
  35. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +0 -31
  36. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +0 -167
  37. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +0 -26
  38. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +0 -184
  39. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +0 -19
  40. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +0 -72
  41. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +0 -50
  42. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +0 -919
  43. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +0 -1
  44. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +0 -8
  45. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +0 -90
  46. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.js +0 -2
  47. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +0 -8
  48. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +0 -143
  49. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +0 -15
  50. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +0 -39
  51. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +0 -31
  52. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +0 -167
  53. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +0 -26
  54. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +0 -184
  55. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +0 -19
  56. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +0 -72
  57. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +0 -1
  58. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.js +0 -8
  59. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +0 -48
  60. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +0 -855
  61. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +0 -80
  62. 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 {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- import type { IComposition } from './types';
2
- export declare const sampleMockComposition1: IComposition;
3
- export declare const sampleMockComposition2: IComposition;