pds-dev-kit-web-test 2.5.401 → 2.5.402

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/hooks/useTooltip.js +1 -1
  2. package/dist/src/common/styles/colorSet/index.d.ts +2 -2
  3. package/dist/src/common/styles/colorSet/index.js +2 -2
  4. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  5. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  6. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +1 -4
  7. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +2 -4
  8. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +53 -53
  9. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +6 -0
  10. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +27 -0
  11. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  12. package/dist/src/sub/DynamicLayout/DynamicLayout.js +2 -3
  13. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  14. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +0 -40
  15. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +177 -36
  16. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +4 -152
  17. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +2 -150
  18. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +1 -45
  19. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +9 -262
  20. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +0 -593
  21. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +0 -253
  22. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +1 -0
  23. package/dist/src/sub/DynamicLayout/mock_video_cb.js +5 -4
  24. package/dist/src/sub/DynamicLayout/mocks.d.ts +961 -8
  25. package/dist/src/sub/DynamicLayout/mocks.js +7 -4287
  26. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -13
  27. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +2 -18
  28. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +4 -4
  29. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +2 -230
  30. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +4 -51
  31. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +7 -50
  32. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +27 -2
  33. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +3 -45
  34. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  35. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +10 -27
  36. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -3
  37. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  38. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  39. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  40. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  41. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +3 -52
  42. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +0 -1
  43. package/dist/src/sub/DynamicLayout/types.d.ts +15 -48
  44. package/package.json +2 -2
  45. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +0 -20
  46. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +0 -1132
  47. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +0 -11
  48. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +0 -45
  49. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +0 -9
  50. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +0 -79
  51. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/downIcons.d.ts +0 -12
  52. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/downIcons.js +0 -76
  53. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/index.d.ts +0 -4
  54. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/index.js +0 -47
  55. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/leftIcons.d.ts +0 -12
  56. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/leftIcons.js +0 -76
  57. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/rightIcons.d.ts +0 -12
  58. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/rightIcons.js +0 -76
  59. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/upIcons.d.ts +0 -12
  60. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/upIcons.js +0 -76
  61. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +0 -139
  62. package/dist/src/sub/DynamicLayout/compositionActionTypes.js +0 -2
  63. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +0 -8
  64. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +0 -14
  65. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +0 -3
  66. package/dist/src/sub/DynamicLayout/mock_composition.js +0 -801
  67. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +0 -1
  68. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +0 -1099
  69. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +0 -1
  70. package/dist/src/sub/DynamicLayout/mock_contentsList.js +0 -1082
  71. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +0 -810
  72. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +0 -822
  73. package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
  74. package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
  75. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +0 -17
  76. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +0 -59
  77. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +0 -31
  78. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +0 -118
  79. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +0 -31
  80. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +0 -191
  81. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +0 -21
  82. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +0 -117
  83. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
  84. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -889
  85. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -27
  86. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -96
  87. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +0 -50
  88. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +0 -905
  89. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +0 -1
  90. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +0 -8
  91. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +0 -90
  92. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.js +0 -2
  93. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +0 -8
  94. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +0 -112
  95. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +0 -17
  96. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +0 -39
  97. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +0 -27
  98. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +0 -115
  99. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -23
  100. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -176
  101. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +0 -30
  102. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +0 -351
  103. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +0 -1
  104. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +0 -8
  105. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +0 -46
  106. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +0 -2
  107. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +0 -8
  108. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +0 -225
  109. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +0 -15
  110. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +0 -39
  111. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +0 -31
  112. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +0 -118
  113. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +0 -31
  114. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +0 -191
  115. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +0 -21
  116. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +0 -117
  117. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
  118. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -889
  119. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -27
  120. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -96
  121. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +0 -1
  122. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.js +0 -8
  123. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +0 -48
  124. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +0 -852
  125. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +0 -80
  126. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +0 -2
  127. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +0 -14
  128. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +0 -26
@@ -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/COMPOSITION_CLICKED': {
83
- compositionId: number;
84
- };
85
- '@COMPOSITION/COMPOSITION_RIGHT_CLICKED': {
86
- compositionId: 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,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface CCBQueryPathContextType {
3
- queryData: Record<string, any>;
4
- }
5
- export declare const CCBQueryPathContext: import("react").Context<CCBQueryPathContextType | undefined>;
6
- export declare const useCCBQueryPath: () => CCBQueryPathContextType | null;
7
- export declare const CCBQueryPathProvider: import("react").Provider<CCBQueryPathContextType | undefined>;
8
- export {};
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CCBQueryPathProvider = exports.useCCBQueryPath = exports.CCBQueryPathContext = void 0;
4
- var react_1 = require("react");
5
- exports.CCBQueryPathContext = (0, react_1.createContext)(undefined);
6
- var useCCBQueryPath = function () {
7
- var context = (0, react_1.useContext)(exports.CCBQueryPathContext);
8
- if (!context) {
9
- return null;
10
- }
11
- return context;
12
- };
13
- exports.useCCBQueryPath = useCCBQueryPath;
14
- exports.CCBQueryPathProvider = exports.CCBQueryPathContext.Provider;
@@ -1,3 +0,0 @@
1
- import type { IComposition } from './types';
2
- export declare const sampleMockComposition1: IComposition;
3
- export declare const sampleMockComposition2: IComposition;