pds-dev-kit-web-test 0.3.38 → 0.3.39
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.
|
@@ -132,6 +132,10 @@ function CustomSection(props) {
|
|
|
132
132
|
makeAllInOneGroup();
|
|
133
133
|
return;
|
|
134
134
|
}
|
|
135
|
+
if (shortcutKeyMode === 'MANUAL_BULK_BREAK') {
|
|
136
|
+
breakGroupCB();
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
135
139
|
}, [shortcutKeyMode]);
|
|
136
140
|
(0, react_1.useLayoutEffect)(function () {
|
|
137
141
|
if (props.id !== editingSectionId) {
|
|
@@ -253,6 +257,10 @@ function CustomSection(props) {
|
|
|
253
257
|
var numberId = Number((_a = props.item) === null || _a === void 0 ? void 0 : _a.i);
|
|
254
258
|
var isIdNumber = !Number.isNaN(numberId);
|
|
255
259
|
if (hasLayoutPlacementChanged(item, prev)) {
|
|
260
|
+
setTimeout(function () {
|
|
261
|
+
// NOTE: to fix.
|
|
262
|
+
breakGroupCB();
|
|
263
|
+
}, 100);
|
|
256
264
|
return;
|
|
257
265
|
}
|
|
258
266
|
if (isIdNumber) {
|
|
@@ -210,6 +210,7 @@ export interface IItemDescription extends IDescription {
|
|
|
210
210
|
text: string;
|
|
211
211
|
color?: string;
|
|
212
212
|
}
|
|
213
|
+
export type CustomSectionShortcutKeysType = 'BULK_SELECT' | 'COLLISION_SELECT' | 'SELECT_ALL' | 'MANUAL_COLLISION_SELECT' | 'MANUAL_BULK_BREAK' | null;
|
|
213
214
|
export type DynamicLayoutProps = {
|
|
214
215
|
device: 'DESKTOP' | 'MOBILE';
|
|
215
216
|
/** @default 'NORMAL */
|
|
@@ -224,7 +225,7 @@ export type DynamicLayoutProps = {
|
|
|
224
225
|
sectionActionHandler?: (action: TypeOfSectionAction) => void;
|
|
225
226
|
programmedSectionComponents?: IProgrammedSectionComponents;
|
|
226
227
|
width?: number;
|
|
227
|
-
shortcutKeyMode?:
|
|
228
|
+
shortcutKeyMode?: CustomSectionShortcutKeysType;
|
|
228
229
|
};
|
|
229
230
|
export type NavHandlerAction = {
|
|
230
231
|
openNewTab: boolean;
|
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# pds-dev-kit-web-test Release Notes
|
|
2
|
-
## [v0.3.
|
|
2
|
+
## [v0.3.39]
|
|
3
3
|
## 기준 pds-dev-kit-web 버전 @2.2.41
|
|
4
4
|
### sub
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
* DynamicLayout
|
|
6
|
+
* ESC키로 그룹 해제
|
|
7
|
+
* 제자리 drop에서도 벌크 부시기
|