seat-editor 3.3.45 → 3.4.0
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/app/constant.d.ts +4 -3
- package/dist/app/constant.js +3 -2
- package/dist/app/layout.d.ts +1 -1
- package/dist/app/new-board/page.d.ts +1 -1
- package/dist/app/new-board/page.js +6 -1
- package/dist/app/new-board/page.jsx +6 -1
- package/dist/app/old-board/page.d.ts +1 -2
- package/dist/app/only-view/chair.d.ts +1 -1
- package/dist/app/only-view/chair.js +2 -10
- package/dist/app/only-view/constant.d.ts +288 -30
- package/dist/app/only-view/constant.js +7227 -912
- package/dist/app/only-view/page.d.ts +1 -1
- package/dist/app/only-view/page.js +7 -7
- package/dist/app/only-view/page.jsx +7 -7
- package/dist/app/only-view/user.d.ts +1 -1
- package/dist/app/only-view/user.js +2 -10
- package/dist/app/page.d.ts +1 -1
- package/dist/app/test/page.d.ts +1 -2
- package/dist/app/v2/page.d.ts +1 -1
- package/dist/components/button-tools/index.d.ts +1 -1
- package/dist/components/form-tools/label.d.ts +1 -1
- package/dist/components/form-tools/label.js +8 -4
- package/dist/components/form-tools/label.jsx +27 -21
- package/dist/components/form-tools/shape.d.ts +1 -1
- package/dist/components/form-tools/shape.js +41 -16
- package/dist/components/form-tools/shape.jsx +35 -14
- package/dist/components/input/number-indicator.d.ts +1 -1
- package/dist/components/joystick/index.d.ts +1 -2
- package/dist/components/layer/index.d.ts +1 -1
- package/dist/components/layer-v2/index.d.ts +1 -1
- package/dist/components/layer-v3/index.d.ts +1 -1
- package/dist/components/layer-v4/index.d.ts +1 -1
- package/dist/components/lib/index.d.ts +1 -1
- package/dist/components/modal-preview/index.d.ts +1 -1
- package/dist/features/board/index.d.ts +1 -1
- package/dist/features/board-v2/index.d.ts +1 -2
- package/dist/features/board-v3/index.d.ts +1 -1
- package/dist/features/board-v3/index.js +12 -5
- package/dist/features/board-v3/index.jsx +12 -5
- package/dist/features/navbar/index.d.ts +1 -1
- package/dist/features/package/index.d.ts +2 -1
- package/dist/features/package/index.js +22 -17
- package/dist/features/package/index.jsx +22 -17
- package/dist/features/panel/index.d.ts +1 -1
- package/dist/features/panel/index.js +26 -13
- package/dist/features/panel/index.jsx +26 -13
- package/dist/features/panel/panel-slice.d.ts +2 -0
- package/dist/features/panel/panel-slice.js +3 -0
- package/dist/features/panel/select-tool.d.ts +1 -1
- package/dist/features/panel/select-tool.js +31 -14
- package/dist/features/panel/select-tool.jsx +31 -24
- package/dist/features/panel/selected-group.d.ts +1 -1
- package/dist/features/panel/square-circle-tool.d.ts +1 -1
- package/dist/features/panel/table-seat-circle.d.ts +1 -1
- package/dist/features/panel/table-seat-circle.js +2 -2
- package/dist/features/panel/table-seat-circle.jsx +6 -14
- package/dist/features/panel/table-seat-square.d.ts +1 -1
- package/dist/features/panel/table-seat-square.js +8 -2
- package/dist/features/panel/table-seat-square.jsx +15 -8
- package/dist/features/panel/text-tool.d.ts +1 -1
- package/dist/features/panel/upload-tool.d.ts +1 -1
- package/dist/features/panel/upload-tool.js +3 -1
- package/dist/features/panel/upload-tool.jsx +4 -2
- package/dist/features/panel/utils.d.ts +8 -2
- package/dist/features/panel/utils.js +60 -23
- package/dist/features/side-tool/index.d.ts +1 -1
- package/dist/features/side-tool/index.js +9 -3
- package/dist/features/side-tool/index.jsx +16 -4
- package/dist/features/view-only/index.d.ts +1 -1
- package/dist/features/view-only-2/index.d.ts +1 -1
- package/dist/features/view-only-2/index.js +6 -4
- package/dist/features/view-only-2/index.jsx +6 -4
- package/dist/features/view-only-3/index.d.ts +1 -1
- package/dist/features/view-only-3/index.js +7 -5
- package/dist/features/view-only-3/index.jsx +7 -5
- package/dist/provider/redux-provider.d.ts +1 -1
- package/dist/provider/store-provider.d.ts +1 -1
- package/package.json +1 -1
|
@@ -89,9 +89,11 @@ const LayerView = (props) => {
|
|
|
89
89
|
payload: defaultBoundingBox,
|
|
90
90
|
});
|
|
91
91
|
// }
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
if (loading) {
|
|
93
|
+
setTimeout(() => {
|
|
94
|
+
dispatch({ type: "panel/setLoading", payload: false });
|
|
95
|
+
}, 1000);
|
|
96
|
+
}
|
|
95
97
|
}, [
|
|
96
98
|
componentProps,
|
|
97
99
|
extraComponentProps,
|
|
@@ -325,7 +327,7 @@ const LayerView = (props) => {
|
|
|
325
327
|
: !((_a = props === null || props === void 0 ? void 0 : props.dragTableBlockKey) === null || _a === void 0 ? void 0 : _a.some((_) => {
|
|
326
328
|
const dataRaw = originalData({ id: ghostId, type: "find" });
|
|
327
329
|
return _.value === (dataRaw === null || dataRaw === void 0 ? void 0 : dataRaw[_.key]);
|
|
328
|
-
}))) &&
|
|
330
|
+
}))) && ((actionPrivileged === null || actionPrivileged === void 0 ? void 0 : actionPrivileged.move) && (actionPrivileged === null || actionPrivileged === void 0 ? void 0 : actionPrivileged.switch));
|
|
329
331
|
if (ghostAttributes) {
|
|
330
332
|
Object.keys(ghostAttributes).forEach((key) => {
|
|
331
333
|
ghost.setAttribute(key, ghostAttributes[key]);
|
|
@@ -432,7 +434,7 @@ const LayerView = (props) => {
|
|
|
432
434
|
}
|
|
433
435
|
if (isDragging.current && hasMoved && allowedDrag) {
|
|
434
436
|
// drag between group
|
|
435
|
-
console.log("drag between group");
|
|
437
|
+
// console.log("drag between group");
|
|
436
438
|
const dataHoveredGhost = hoverUnderghostId.current;
|
|
437
439
|
const sourceTable = JSON.parse(targetGroup.getAttribute("data-id") || "{}");
|
|
438
440
|
const data = {
|