seat-editor 3.6.0 → 3.6.2
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/graph-view/page.d.ts +1 -1
- package/dist/app/graph-view-new/page.d.ts +1 -1
- package/dist/app/layout.d.ts +1 -1
- package/dist/app/new-board/page.d.ts +1 -1
- package/dist/app/old-board/page.d.ts +2 -1
- package/dist/app/only-view/chair.d.ts +1 -1
- package/dist/app/only-view/chair.js +10 -2
- package/dist/app/only-view/page.d.ts +1 -1
- package/dist/app/only-view/user.d.ts +1 -1
- package/dist/app/only-view/user.js +10 -2
- package/dist/app/page.d.ts +1 -1
- package/dist/app/test/page.d.ts +2 -1
- package/dist/app/v2/page.d.ts +1 -1
- package/dist/components/button-radio/index.d.ts +1 -1
- package/dist/components/button-radio/index.js +4 -1
- package/dist/components/button-radio/index.jsx +4 -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/shape.d.ts +2 -2
- package/dist/components/icons/camera.d.ts +2 -1
- package/dist/components/icons/circle.d.ts +2 -1
- package/dist/components/icons/square.d.ts +2 -1
- package/dist/components/icons/type-1.d.ts +2 -1
- package/dist/components/icons/type-2.d.ts +2 -1
- package/dist/components/icons/type-3.d.ts +2 -1
- package/dist/components/icons/type-4.d.ts +2 -1
- package/dist/components/icons/type-5.d.ts +2 -1
- package/dist/components/input/number-indicator.d.ts +1 -1
- package/dist/components/joystick/index.d.ts +2 -1
- 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 +3 -2
- package/dist/components/layer-v4/index.d.ts +1 -1
- package/dist/components/layer-v5/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 +2 -1
- package/dist/features/board-v3/icons.d.ts +1 -0
- package/dist/features/board-v3/icons.js +3 -0
- package/dist/features/board-v3/icons.jsx +7 -0
- package/dist/features/board-v3/index.d.ts +1 -1
- package/dist/features/board-v3/index.js +9 -5
- package/dist/features/board-v3/index.jsx +22 -11
- package/dist/features/navbar/index.d.ts +1 -1
- package/dist/features/package/index.d.ts +1 -1
- package/dist/features/panel/index.d.ts +1 -1
- package/dist/features/panel/polygon.d.ts +1 -1
- package/dist/features/panel/select-tool.d.ts +1 -1
- 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-square.d.ts +1 -1
- package/dist/features/panel/text-tool.d.ts +1 -1
- package/dist/features/panel/upload-group-tool.d.ts +1 -1
- package/dist/features/panel/upload-tool.d.ts +1 -1
- package/dist/features/side-tool/icons.d.ts +1 -1
- package/dist/features/side-tool/index.d.ts +1 -1
- 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-3/index.d.ts +1 -1
- package/dist/features/view-only-4/index.d.ts +1 -1
- package/dist/features/view-only-5/index.d.ts +1 -1
- package/dist/features/view-only-6/index.d.ts +1 -1
- package/dist/features/view-only-7/index.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/provider/redux-provider.d.ts +1 -1
- package/dist/provider/store-provider.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function DrawIO(): import("react
|
|
1
|
+
export default function DrawIO(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function GraphView(): import("react
|
|
1
|
+
export default function GraphView(): import("react").JSX.Element;
|
package/dist/app/layout.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function NewBoard(): import("react
|
|
1
|
+
export default function NewBoard(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function ChairIcon(): import("react
|
|
1
|
+
export function ChairIcon(): import("react").JSX.Element;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
1
|
export const ChairIcon = () => {
|
|
3
|
-
return (
|
|
2
|
+
return (<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<g clip-path="url(#clip0_3019_14165)">
|
|
4
|
+
<path d="M15.9717 7.5339V4.70339C15.9717 3.07627 14.7076 2.5 13.5189 2.5H6.46226C5.27359 2.5 4.00943 3.07627 4.00943 4.70339V7.5339C3.14151 7.73729 2.5 8.4322 2.5 9.27966V13.822C2.5 15.161 3.5 15.6864 4.48113 15.7373V16.8898C4.48113 17.2288 4.78302 17.5 5.16038 17.5H5.85849C6.23585 17.5 6.53774 17.2288 6.53774 16.8898V15.7373H13.4623V16.8898C13.4623 17.2288 13.7642 17.5 14.1415 17.5H14.8396C15.217 17.5 15.5189 17.2288 15.5189 16.8898V15.7373C16.9717 15.6695 17.5 14.7203 17.5 13.822V9.26271C17.4623 8.4322 16.8208 7.72034 15.9717 7.5339ZM4.68868 4.70339C4.68868 3.31356 5.80189 3.09322 6.46226 3.09322H13.5189C14.1792 3.09322 15.2925 3.29661 15.2925 4.68644V7.4661C14.2736 7.55085 13.4623 8.31356 13.4623 9.26271V9.68644H6.51887V9.26271C6.51887 8.31356 5.70755 7.55085 4.68868 7.4661V4.70339ZM13.4434 10.2966V12.3983H6.51887V10.2966H13.4434ZM5.85849 16.8898H5.16038V15.7373H5.85849V16.8898ZM14.8208 16.8898H14.1226V15.7373H14.8208V16.8898ZM16.8208 13.822H16.8019C16.8019 14.4153 16.5566 15.1441 15.3302 15.1441H14.8208H14.1226H5.85849H5.16038H4.65094C3.99057 15.1441 3.17925 14.9237 3.17925 13.822V9.26271C3.17925 8.6017 3.78302 8.05932 4.51887 8.05932C5.25472 8.05932 5.85849 8.6017 5.85849 9.26271V12.7034C5.85849 12.8729 6.00943 13.0085 6.19811 13.0085H13.8019C13.9906 13.0085 14.1415 12.8729 14.1415 12.7034V9.26271C14.1415 8.6017 14.7453 8.05932 15.4811 8.05932C16.217 8.05932 16.8208 8.6017 16.8208 9.26271V13.822Z" fill="#347ADB" stroke="#347ADB" stroke-width="0.8"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<clipPath id="clip0_3019_14165">
|
|
8
|
+
<rect width="16.6667" height="16.6667" fill="white" transform="translate(1.66675 1.6665)"/>
|
|
9
|
+
</clipPath>
|
|
10
|
+
</defs>
|
|
11
|
+
</svg>);
|
|
4
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function UserIcon(): import("react
|
|
1
|
+
export function UserIcon(): import("react").JSX.Element;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
1
|
export const UserIcon = () => {
|
|
3
|
-
return (
|
|
2
|
+
return (<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M7.61992 10.1625C9.00754 10.1625 10.1324 9.03757 10.1324 7.64995C10.1324 6.26234 9.00754 5.13745 7.61992 5.13745C6.23231 5.13745 5.10742 6.26234 5.10742 7.64995C5.10742 9.03757 6.23231 10.1625 7.61992 10.1625Z" fill="#5E6278"/>
|
|
4
|
+
<path d="M7.62 14.9999C9.34313 14.9999 10.74 14.1168 10.74 13.0274C10.74 11.9381 9.34313 11.0549 7.62 11.0549C5.89687 11.0549 4.5 11.9381 4.5 13.0274C4.5 14.1168 5.89687 14.9999 7.62 14.9999Z" fill="#5E6278"/>
|
|
5
|
+
<path opacity="0.3" d="M11.595 4.23C12.7631 4.23 13.71 3.28308 13.71 2.115C13.71 0.946918 12.7631 0 11.595 0C10.4269 0 9.47998 0.946918 9.47998 2.115C9.47998 3.28308 10.4269 4.23 11.595 4.23Z" fill="#5E6278"/>
|
|
6
|
+
<path opacity="0.3" d="M3.62257 4.23C4.79065 4.23 5.73757 3.28308 5.73757 2.115C5.73757 0.946918 4.79065 0 3.62257 0C2.45449 0 1.50757 0.946918 1.50757 2.115C1.50757 3.28308 2.45449 4.23 3.62257 4.23Z" fill="#5E6278"/>
|
|
7
|
+
<g opacity="0.3">
|
|
8
|
+
<path d="M11.4749 5.87256C11.2349 5.87256 11.0024 5.87256 10.7699 5.91006C11.1229 6.52313 11.2825 7.22856 11.2276 7.93388C11.1727 8.63919 10.906 9.31147 10.4624 9.86256C10.7984 9.92909 11.1399 9.96424 11.4824 9.96756C13.3874 9.96756 14.9249 9.04506 14.9249 7.92006C14.9249 6.79506 13.3799 5.87256 11.4749 5.87256Z" fill="#5E6278"/>
|
|
9
|
+
<path d="M3.4499 6C3.6899 6 3.9224 6 4.1549 6.0375C3.80187 6.65057 3.64233 7.356 3.6972 8.06132C3.75208 8.76664 4.0188 9.43891 4.4624 9.99C4.12639 10.0565 3.78492 10.0917 3.4424 10.095C1.5374 10.095 -9.77516e-05 9.1725 -9.77516e-05 8.0475C-9.77516e-05 6.9225 1.5449 6 3.4499 6Z" fill="#5E6278"/>
|
|
10
|
+
</g>
|
|
11
|
+
</svg>);
|
|
4
12
|
};
|
package/dist/app/page.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const TableEditor: () => import("react
|
|
1
|
+
declare const TableEditor: () => import("react").JSX.Element;
|
|
2
2
|
export default TableEditor;
|
package/dist/app/test/page.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export default function DraggableRect(): React.JSX.Element;
|
package/dist/app/v2/page.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const TableEditor: () => import("react
|
|
1
|
+
declare const TableEditor: () => import("react").JSX.Element;
|
|
2
2
|
export default TableEditor;
|
|
@@ -7,5 +7,5 @@ type ButtonRadioProps<T extends string> = {
|
|
|
7
7
|
value?: T;
|
|
8
8
|
onChange?: (value: T) => void;
|
|
9
9
|
};
|
|
10
|
-
declare const ButtonRadio: <T extends string>({ options, value, onChange, }: ButtonRadioProps<T>) => import("react
|
|
10
|
+
declare const ButtonRadio: <T extends string>({ options, value, onChange, }: ButtonRadioProps<T>) => import("react").JSX.Element;
|
|
11
11
|
export default ButtonRadio;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from "react";
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
const ButtonRadio = ({ options, value, onChange, }) => {
|
|
6
6
|
const [selected, setSelected] = useState(value);
|
|
@@ -8,6 +8,9 @@ const ButtonRadio = ({ options, value, onChange, }) => {
|
|
|
8
8
|
setSelected(val);
|
|
9
9
|
onChange === null || onChange === void 0 ? void 0 : onChange(val);
|
|
10
10
|
};
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
setSelected(value);
|
|
13
|
+
}, [value]);
|
|
11
14
|
return (_jsx("div", { className: "flex items-center gap-[22px] p-1 rounded-xl w-fit", children: options.map((option) => {
|
|
12
15
|
const isSelected = selected === option.value;
|
|
13
16
|
return (_jsx("button", { type: "button", onClick: () => handleSelect(option.value), className: clsx("px-4 py-2.5 rounded-[6px] text-[12px] font-semibold transition-all duration-200", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useState } from "react";
|
|
2
|
+
import { useEffect, useState } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
const ButtonRadio = ({ options, value, onChange, }) => {
|
|
5
5
|
const [selected, setSelected] = useState(value);
|
|
@@ -7,6 +7,9 @@ const ButtonRadio = ({ options, value, onChange, }) => {
|
|
|
7
7
|
setSelected(val);
|
|
8
8
|
onChange === null || onChange === void 0 ? void 0 : onChange(val);
|
|
9
9
|
};
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
setSelected(value);
|
|
12
|
+
}, [value]);
|
|
10
13
|
return (<div className="flex items-center gap-[22px] p-1 rounded-xl w-fit">
|
|
11
14
|
{options.map((option) => {
|
|
12
15
|
const isSelected = selected === option.value;
|
|
@@ -7,5 +7,5 @@ interface ButtonToolsProps {
|
|
|
7
7
|
}>;
|
|
8
8
|
popoverProps?: PopoverProps;
|
|
9
9
|
}
|
|
10
|
-
declare const ButtonTools: (props: ButtonToolsProps) => import("react
|
|
10
|
+
declare const ButtonTools: (props: ButtonToolsProps) => import("react").JSX.Element;
|
|
11
11
|
export default ButtonTools;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const SectionLabel: () => import("react
|
|
1
|
+
declare const SectionLabel: () => import("react").JSX.Element;
|
|
2
2
|
export default SectionLabel;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const optionsShape: {
|
|
2
2
|
value: string;
|
|
3
3
|
label: string;
|
|
4
|
-
icon: import("react
|
|
4
|
+
icon: import("react").JSX.Element;
|
|
5
5
|
}[];
|
|
6
6
|
declare const SectionShape: ({ allowChangeShape, }: {
|
|
7
7
|
allowChangeShape?: boolean;
|
|
8
|
-
}) => import("react
|
|
8
|
+
}) => import("react").JSX.Element;
|
|
9
9
|
export default SectionShape;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const Camera: () => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const Circle: () => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const Square: () => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const Type1Icon: () => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const Type2Icon: () => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const Type3Icon: () => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const Type4Icon: () => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const Type5Icon: () => React.JSX.Element;
|
|
@@ -3,5 +3,5 @@ interface NumberIndicatorProps {
|
|
|
3
3
|
defaultValue?: number;
|
|
4
4
|
onChange: (value: number) => void;
|
|
5
5
|
}
|
|
6
|
-
declare const NumberIndicator: ({ name, defaultValue, onChange }: NumberIndicatorProps) => import("react
|
|
6
|
+
declare const NumberIndicator: ({ name, defaultValue, onChange }: NumberIndicatorProps) => import("react").JSX.Element;
|
|
7
7
|
export default NumberIndicator;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
type JoystickPosition = {
|
|
2
3
|
x: number;
|
|
3
4
|
y: number;
|
|
@@ -7,5 +8,5 @@ type JoystickProps = {
|
|
|
7
8
|
onMove?: (pos: JoystickPosition) => void;
|
|
8
9
|
onEnd?: () => void;
|
|
9
10
|
};
|
|
10
|
-
export declare const Joystick: ({ size, onMove, onEnd, }: JoystickProps) =>
|
|
11
|
+
export declare const Joystick: ({ size, onMove, onEnd, }: JoystickProps) => React.JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -15,5 +15,5 @@ interface LayersProps {
|
|
|
15
15
|
onTouchMove?: (e: React.TouchEvent<SVGRectElement | SVGCircleElement | SVGTextElement | SVGImageElement>) => void;
|
|
16
16
|
onTouchEnd?: (e: React.TouchEvent<SVGRectElement | SVGCircleElement | SVGTextElement | SVGImageElement>) => void;
|
|
17
17
|
}
|
|
18
|
-
declare const Layers: ({ shadowShape, components, onClick, selectedComponent, selectedTable, activeTool, onMouseDown, onMouseUp, onBlur, selectedTableColor, mode, style, onTouchEnd, onTouchMove, onTouchStart }: LayersProps) => import("react
|
|
18
|
+
declare const Layers: ({ shadowShape, components, onClick, selectedComponent, selectedTable, activeTool, onMouseDown, onMouseUp, onBlur, selectedTableColor, mode, style, onTouchEnd, onTouchMove, onTouchStart }: LayersProps) => import("react").JSX.Element;
|
|
19
19
|
export default Layers;
|
|
@@ -15,5 +15,5 @@ interface LayersProps {
|
|
|
15
15
|
onTouchMove?: (e: React.TouchEvent<SVGRectElement | SVGCircleElement | SVGTextElement | SVGImageElement>) => void;
|
|
16
16
|
onTouchEnd?: (e: React.TouchEvent<SVGRectElement | SVGCircleElement | SVGTextElement | SVGImageElement>) => void;
|
|
17
17
|
}
|
|
18
|
-
declare const Layers: ({ shadowShape, components, onClick, selectedComponent, selectedTable, activeTool, onMouseDown, onMouseUp, onBlur, selectedTableColor, mode, style, onTouchStart }: LayersProps) => import("react
|
|
18
|
+
declare const Layers: ({ shadowShape, components, onClick, selectedComponent, selectedTable, activeTool, onMouseDown, onMouseUp, onBlur, selectedTableColor, mode, style, onTouchStart }: LayersProps) => import("react").JSX.Element;
|
|
19
19
|
export default Layers;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropertiesProps, BaseElement, Label, Point } from "../../dto/table";
|
|
2
|
+
import React from "react";
|
|
2
3
|
export interface SelectionLines extends BaseElement {
|
|
3
4
|
points?: Point[];
|
|
4
5
|
id?: string | number;
|
|
@@ -9,7 +10,7 @@ interface LayersProps {
|
|
|
9
10
|
activeTool?: string;
|
|
10
11
|
selectionLines?: SelectionLines;
|
|
11
12
|
}
|
|
12
|
-
declare const Layers: ({ components, selectedComponent, activeTool, selectionLines, }: LayersProps) =>
|
|
13
|
+
declare const Layers: ({ components, selectedComponent, activeTool, selectionLines, }: LayersProps) => React.JSX.Element;
|
|
13
14
|
export declare const LabelItem: ({ id, width, height, labels, commonProps, rotation, }: {
|
|
14
15
|
id: string | number;
|
|
15
16
|
width: number;
|
|
@@ -17,5 +18,5 @@ export declare const LabelItem: ({ id, width, height, labels, commonProps, rotat
|
|
|
17
18
|
labels: Label[];
|
|
18
19
|
commonProps: any;
|
|
19
20
|
rotation?: number;
|
|
20
|
-
}) =>
|
|
21
|
+
}) => React.JSX.Element;
|
|
21
22
|
export default Layers;
|
|
@@ -20,5 +20,5 @@ interface LayersProps {
|
|
|
20
20
|
items: string[];
|
|
21
21
|
}[];
|
|
22
22
|
}
|
|
23
|
-
declare const Layers: ({ components, selectedTable, iconTags, eventMatchTable, onHighlightGroup, onForceRestoreGroup, selectedTableColor, privilegedTags, }: LayersProps) => import("react
|
|
23
|
+
declare const Layers: ({ components, selectedTable, iconTags, eventMatchTable, onHighlightGroup, onForceRestoreGroup, selectedTableColor, privilegedTags, }: LayersProps) => import("react").JSX.Element;
|
|
24
24
|
export default Layers;
|
|
@@ -20,5 +20,5 @@ interface LayersProps {
|
|
|
20
20
|
items: string[];
|
|
21
21
|
}[];
|
|
22
22
|
}
|
|
23
|
-
declare const Layers: ({ components, selectedTable, iconTags, eventMatchTable, onHighlightGroup, onForceRestoreGroup, selectedTableColor, privilegedTags, }: LayersProps) => import("react
|
|
23
|
+
declare const Layers: ({ components, selectedTable, iconTags, eventMatchTable, onHighlightGroup, onForceRestoreGroup, selectedTableColor, privilegedTags, }: LayersProps) => import("react").JSX.Element;
|
|
24
24
|
export default Layers;
|
|
@@ -3,6 +3,6 @@ export interface LayerViewProps {
|
|
|
3
3
|
componentProps: any[];
|
|
4
4
|
extraComponentProps: any[];
|
|
5
5
|
}
|
|
6
|
-
declare const TableEditor: ({ componentProps, extraComponentProps, }: LayerViewProps) => import("react
|
|
6
|
+
declare const TableEditor: ({ componentProps, extraComponentProps, }: LayerViewProps) => import("react").JSX.Element;
|
|
7
7
|
export default TableEditor;
|
|
8
8
|
export { LayerView };
|
|
@@ -2,5 +2,5 @@ interface BoardTemplateProps {
|
|
|
2
2
|
onSelectComponent?: (items: any) => void;
|
|
3
3
|
mappingKey?: string;
|
|
4
4
|
}
|
|
5
|
-
declare const BoardTemplate: ({ onSelectComponent }: BoardTemplateProps) => import("react
|
|
5
|
+
declare const BoardTemplate: ({ onSelectComponent }: BoardTemplateProps) => import("react").JSX.Element;
|
|
6
6
|
export default BoardTemplate;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
interface BoardTemplateProps {
|
|
2
3
|
onSelectComponent?: (items: any) => void;
|
|
3
4
|
mappingKey?: string;
|
|
4
5
|
viewOnly?: boolean;
|
|
5
6
|
}
|
|
6
|
-
declare const BoardTemplate: ({ onSelectComponent, viewOnly }: BoardTemplateProps) =>
|
|
7
|
+
declare const BoardTemplate: ({ onSelectComponent, viewOnly }: BoardTemplateProps) => React.JSX.Element;
|
|
7
8
|
export default BoardTemplate;
|
|
@@ -14,3 +14,6 @@ export const RsvpIcons = {
|
|
|
14
14
|
walk: (props) => (_jsx("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: _jsx("path", { d: "M13.0233 5.09302C14.1489 5.09302 15.0698 4.17209 15.0698 3.04651C15.0698 1.92093 14.1489 1 13.0233 1C11.8977 1 10.9768 1.92093 10.9768 3.04651C10.9768 4.17209 11.8977 5.09302 13.0233 5.09302ZM9.23725 8.57209L6.61771 21.7823C6.48469 22.4065 6.97585 23 7.62051 23H7.70237C8.1833 23 8.5926 22.6726 8.70516 22.2019L10.3628 14.814L12.5117 16.8605V21.9767C12.5117 22.5395 12.9721 23 13.5349 23C14.0977 23 14.5582 22.5395 14.5582 21.9767V16.2056C14.5582 15.6428 14.3331 15.1107 13.9238 14.7219L12.4093 13.2791L13.0233 10.2093C14.1764 11.5276 15.755 12.4002 17.4847 12.6753C18.0986 12.7674 18.6512 12.2763 18.6512 11.6521C18.6512 11.1507 18.2828 10.7312 17.7814 10.6493C16.2261 10.3935 14.9368 9.47256 14.2512 8.26512L13.2279 6.62791C12.9516 6.18602 12.527 5.85689 12.0302 5.69941C11.5334 5.54193 10.9968 5.56638 10.5163 5.76837L6.59725 7.42605C6.22654 7.5845 5.91057 7.84841 5.68862 8.18498C5.46667 8.52154 5.34853 8.91591 5.34888 9.31907V11.7442C5.34888 12.307 5.80934 12.7674 6.37213 12.7674C6.93492 12.7674 7.39539 12.307 7.39539 11.7442V9.28837L9.23725 8.57209Z", fill: "currentColor" }) }))),
|
|
15
15
|
people: (props) => (_jsxs("svg", Object.assign({ width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [_jsx("path", { d: "M8.40752 11.6627C9.79514 11.6627 10.92 10.5378 10.92 9.15019C10.92 7.76258 9.79514 6.6377 8.40752 6.6377C7.0199 6.6377 5.89502 7.76258 5.89502 9.15019C5.89502 10.5378 7.0199 11.6627 8.40752 11.6627Z", fill: "#5E6278" }), _jsx("path", { d: "M8.4076 16.5002C10.1307 16.5002 11.5276 15.6171 11.5276 14.5277C11.5276 13.4383 10.1307 12.5552 8.4076 12.5552C6.68447 12.5552 5.2876 13.4383 5.2876 14.5277C5.2876 15.6171 6.68447 16.5002 8.4076 16.5002Z", fill: "#5E6278" }), _jsx("path", { opacity: "0.3", d: "M12.3826 5.73C13.5507 5.73 14.4976 4.78308 14.4976 3.615C14.4976 2.44692 13.5507 1.5 12.3826 1.5C11.2145 1.5 10.2676 2.44692 10.2676 3.615C10.2676 4.78308 11.2145 5.73 12.3826 5.73Z", fill: "#5E6278" }), _jsx("path", { opacity: "0.3", d: "M4.41017 5.73C5.57825 5.73 6.52517 4.78308 6.52517 3.615C6.52517 2.44692 5.57825 1.5 4.41017 1.5C3.24208 1.5 2.29517 2.44692 2.29517 3.615C2.29517 4.78308 3.24208 5.73 4.41017 5.73Z", fill: "#5E6278" }), _jsxs("g", { opacity: "0.3", children: [_jsx("path", { d: "M12.2625 7.37256C12.0225 7.37256 11.79 7.37256 11.5575 7.41006C11.9105 8.02313 12.0701 8.72856 12.0152 9.43388C11.9603 10.1392 11.6936 10.8115 11.25 11.3626C11.586 11.4291 11.9275 11.4642 12.27 11.4676C14.175 11.4676 15.7125 10.5451 15.7125 9.42006C15.7125 8.29506 14.1675 7.37256 12.2625 7.37256Z", fill: "#5E6278" }), _jsx("path", { d: "M4.2375 7.5C4.4775 7.5 4.71 7.5 4.9425 7.5375C4.58947 8.15057 4.42993 8.856 4.4848 9.56132C4.53968 10.2666 4.8064 10.9389 5.25 11.49C4.91399 11.5565 4.57252 11.5917 4.23 11.595C2.325 11.595 0.7875 10.6725 0.7875 9.5475C0.7875 8.4225 2.3325 7.5 4.2375 7.5Z", fill: "#5E6278" })] })] }))),
|
|
16
16
|
};
|
|
17
|
+
export const WarningIcon = () => {
|
|
18
|
+
return (_jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { opacity: "0.3", d: "M9.99935 18.3346C14.6017 18.3346 18.3327 14.6037 18.3327 10.0013C18.3327 5.39893 14.6017 1.66797 9.99935 1.66797C5.39698 1.66797 1.66602 5.39893 1.66602 10.0013C1.66602 14.6037 5.39698 18.3346 9.99935 18.3346Z", fill: "#5E6278" }), _jsx("path", { d: "M9.99935 8.83594C10.2204 8.83594 10.4323 8.92373 10.5886 9.08001C10.7449 9.23629 10.8327 9.44826 10.8327 9.66927V13.5526C10.8327 13.7736 10.7449 13.9856 10.5886 14.1419C10.4323 14.2981 10.2204 14.3859 9.99935 14.3859C9.77834 14.3859 9.56637 14.2981 9.41009 14.1419C9.25381 13.9856 9.16602 13.7736 9.16602 13.5526V9.66927C9.16602 9.44826 9.25381 9.23629 9.41009 9.08001C9.56637 8.92373 9.77834 8.83594 9.99935 8.83594Z", fill: "#5E6278" }), _jsx("path", { d: "M9.9987 7.70052C10.574 7.70052 11.0404 7.23415 11.0404 6.65885C11.0404 6.08356 10.574 5.61719 9.9987 5.61719C9.4234 5.61719 8.95703 6.08356 8.95703 6.65885C8.95703 7.23415 9.4234 7.70052 9.9987 7.70052Z", fill: "#5E6278" })] }));
|
|
19
|
+
};
|
|
@@ -98,3 +98,10 @@ export const RsvpIcons = {
|
|
|
98
98
|
</g>
|
|
99
99
|
</svg>),
|
|
100
100
|
};
|
|
101
|
+
export const WarningIcon = () => {
|
|
102
|
+
return (<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
103
|
+
<path opacity="0.3" d="M9.99935 18.3346C14.6017 18.3346 18.3327 14.6037 18.3327 10.0013C18.3327 5.39893 14.6017 1.66797 9.99935 1.66797C5.39698 1.66797 1.66602 5.39893 1.66602 10.0013C1.66602 14.6037 5.39698 18.3346 9.99935 18.3346Z" fill="#5E6278"/>
|
|
104
|
+
<path d="M9.99935 8.83594C10.2204 8.83594 10.4323 8.92373 10.5886 9.08001C10.7449 9.23629 10.8327 9.44826 10.8327 9.66927V13.5526C10.8327 13.7736 10.7449 13.9856 10.5886 14.1419C10.4323 14.2981 10.2204 14.3859 9.99935 14.3859C9.77834 14.3859 9.56637 14.2981 9.41009 14.1419C9.25381 13.9856 9.16602 13.7736 9.16602 13.5526V9.66927C9.16602 9.44826 9.25381 9.23629 9.41009 9.08001C9.56637 8.92373 9.77834 8.83594 9.99935 8.83594Z" fill="#5E6278"/>
|
|
105
|
+
<path d="M9.9987 7.70052C10.574 7.70052 11.0404 7.23415 11.0404 6.65885C11.0404 6.08356 10.574 5.61719 9.9987 5.61719C9.4234 5.61719 8.95703 6.08356 8.95703 6.65885C8.95703 7.23415 9.4234 7.70052 9.9987 7.70052Z" fill="#5E6278"/>
|
|
106
|
+
</svg>);
|
|
107
|
+
};
|
|
@@ -18,5 +18,5 @@ interface BoardTemplateProps {
|
|
|
18
18
|
label: string;
|
|
19
19
|
}[];
|
|
20
20
|
}
|
|
21
|
-
declare const BoardTemplate: ({ refs, loadingRender, disabled, priviewActive, }: BoardTemplateProps) =>
|
|
21
|
+
declare const BoardTemplate: ({ refs, loadingRender, disabled, priviewActive, }: BoardTemplateProps) => React.JSX.Element;
|
|
22
22
|
export default BoardTemplate;
|
|
@@ -15,11 +15,11 @@ import { applyResizeToSvgElement, arrayToSvgPointsAttr, createTableGhost, getGlo
|
|
|
15
15
|
import { getOS } from "../../utils/agent";
|
|
16
16
|
import { MIN_HEIGHT, MIN_WIDTH, ZOOM_STEP, ZOOM_MAX, ZOOM_MIN, FONT_SCALES, } from "./constant";
|
|
17
17
|
import ButtonRadio from "../../components/button-radio";
|
|
18
|
+
import { WarningIcon } from "./icons";
|
|
18
19
|
const toolElement = ["square", "circle", "table-seat-circle"];
|
|
19
20
|
const idSelectionBoxGhost = "selection-box-ghost";
|
|
20
21
|
const nameShapeSelectionBoxGhost = "selection-box";
|
|
21
22
|
const BoardTemplate = ({ refs, loadingRender, disabled = false, priviewActive = [], }) => {
|
|
22
|
-
var _a;
|
|
23
23
|
const os = getOS();
|
|
24
24
|
const dispatch = useAppDispatch();
|
|
25
25
|
const backgroundColor = useAppSelector((state) => state.board.backgroundColor);
|
|
@@ -1973,15 +1973,19 @@ const BoardTemplate = ({ refs, loadingRender, disabled = false, priviewActive =
|
|
|
1973
1973
|
return 1;
|
|
1974
1974
|
};
|
|
1975
1975
|
const { typePreview } = useAppSelector((state) => state.tool);
|
|
1976
|
-
const previewTabValue = typePreview === "setting"
|
|
1976
|
+
const previewTabValue = typePreview === "setting"
|
|
1977
|
+
? priviewActive === null || priviewActive === void 0 ? void 0 : priviewActive.filter((item) => item.type !== "default")
|
|
1978
|
+
: priviewActive;
|
|
1977
1979
|
return (_jsxs(_Fragment, { children: [_jsx(ModalPreview, { modalProps: {
|
|
1978
|
-
footer:
|
|
1980
|
+
footer: typePreview === "setting" && isShowTagType !== "default" && (_jsx(_Fragment, { children: _jsxs("div", { className: "flex gap-2 p-[20px]", children: [_jsx("span", { className: "font-bold text-[14px]", children: "Select Font Size:" }), _jsx(Radio.Group, { value: valuesScalingFontSize(), onChange: (e) => {
|
|
1979
1981
|
handleClickButtonFontScaling(e.target.value, isShowTagType);
|
|
1980
1982
|
}, children: FONT_SCALES === null || FONT_SCALES === void 0 ? void 0 : FONT_SCALES.map((item) => (_jsx(Radio, { value: item.value, children: item.label }, item.value))) })] }) })),
|
|
1981
|
-
title: (_jsxs(_Fragment, { children: [_jsx("div", { className: "flex flex-col gap-[20px] p-[20px]", children: _jsx("h1", { className: "text-[22px] font-semibold leading-[22px]", children: typePreview === "setting"
|
|
1983
|
+
title: (_jsxs(_Fragment, { children: [_jsx("div", { className: "flex flex-col gap-[20px] p-[20px]", children: _jsx("h1", { className: "text-[22px] font-semibold leading-[22px]", children: typePreview === "setting"
|
|
1984
|
+
? "Font Size Setting"
|
|
1985
|
+
: "Preview Board" }) }), _jsx("div", { className: "w-full h-[1px] bg-[#E6E6E6]" }), _jsx("div", { className: "p-[10px]", children: _jsx(ButtonRadio, { onChange: (val) => handleCheckPreview(val), options: previewTabValue === null || previewTabValue === void 0 ? void 0 : previewTabValue.map((item) => ({
|
|
1982
1986
|
label: item.label,
|
|
1983
1987
|
value: item.type,
|
|
1984
|
-
})), value:
|
|
1988
|
+
})), value: isShowTagType }) }), typePreview === "setting" && (_jsxs("div", { className: "py-2.5 px-3 bg-[#FFF8DD] border-[#FFC700] border text-[#181C32] flex gap-2.5 text-[12px] font-semibold items-center tracking-[0%]", children: [_jsx(WarningIcon, {}), " Font adjustments made here are scaled based on the original font sizes set in the main layout. Changes made here affect the operational layouts only, without changing your main editing canvas."] }))] })),
|
|
1985
1989
|
}, children: _jsx(LayerView, { statusKey: "status", loadingRender: loadingRender, actionPrivileged: {
|
|
1986
1990
|
select: false,
|
|
1987
1991
|
move: false,
|
|
@@ -14,11 +14,11 @@ import { applyResizeToSvgElement, arrayToSvgPointsAttr, createTableGhost, getGlo
|
|
|
14
14
|
import { getOS } from "../../utils/agent";
|
|
15
15
|
import { MIN_HEIGHT, MIN_WIDTH, ZOOM_STEP, ZOOM_MAX, ZOOM_MIN, FONT_SCALES, } from "./constant";
|
|
16
16
|
import ButtonRadio from "../../components/button-radio";
|
|
17
|
+
import { WarningIcon } from "./icons";
|
|
17
18
|
const toolElement = ["square", "circle", "table-seat-circle"];
|
|
18
19
|
const idSelectionBoxGhost = "selection-box-ghost";
|
|
19
20
|
const nameShapeSelectionBoxGhost = "selection-box";
|
|
20
21
|
const BoardTemplate = ({ refs, loadingRender, disabled = false, priviewActive = [], }) => {
|
|
21
|
-
var _a;
|
|
22
22
|
const os = getOS();
|
|
23
23
|
const dispatch = useAppDispatch();
|
|
24
24
|
const backgroundColor = useAppSelector((state) => state.board.backgroundColor);
|
|
@@ -1972,12 +1972,14 @@ const BoardTemplate = ({ refs, loadingRender, disabled = false, priviewActive =
|
|
|
1972
1972
|
return 1;
|
|
1973
1973
|
};
|
|
1974
1974
|
const { typePreview } = useAppSelector((state) => state.tool);
|
|
1975
|
-
const previewTabValue = typePreview === "setting"
|
|
1975
|
+
const previewTabValue = typePreview === "setting"
|
|
1976
|
+
? priviewActive === null || priviewActive === void 0 ? void 0 : priviewActive.filter((item) => item.type !== "default")
|
|
1977
|
+
: priviewActive;
|
|
1976
1978
|
return (<>
|
|
1977
1979
|
<ModalPreview modalProps={{
|
|
1978
|
-
footer:
|
|
1980
|
+
footer: typePreview === "setting" && isShowTagType !== "default" && (<>
|
|
1979
1981
|
<div className="flex gap-2 p-[20px]">
|
|
1980
|
-
|
|
1982
|
+
<span className="font-bold text-[14px]">Select Font Size:</span>
|
|
1981
1983
|
|
|
1982
1984
|
<Radio.Group value={valuesScalingFontSize()} onChange={(e) => {
|
|
1983
1985
|
handleClickButtonFontScaling(e.target.value, isShowTagType);
|
|
@@ -2022,18 +2024,27 @@ const BoardTemplate = ({ refs, loadingRender, disabled = false, priviewActive =
|
|
|
2022
2024
|
</div> */}
|
|
2023
2025
|
</>),
|
|
2024
2026
|
title: (<>
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2027
|
+
<div className="flex flex-col gap-[20px] p-[20px]">
|
|
2028
|
+
<h1 className="text-[22px] font-semibold leading-[22px]">
|
|
2029
|
+
{typePreview === "setting"
|
|
2030
|
+
? "Font Size Setting"
|
|
2031
|
+
: "Preview Board"}
|
|
2032
|
+
</h1>
|
|
2033
|
+
</div>
|
|
2034
|
+
<div className="w-full h-[1px] bg-[#E6E6E6]"/>
|
|
2029
2035
|
<div className="p-[10px]">
|
|
2030
2036
|
<ButtonRadio onChange={(val) => handleCheckPreview(val)} options={previewTabValue === null || previewTabValue === void 0 ? void 0 : previewTabValue.map((item) => ({
|
|
2031
2037
|
label: item.label,
|
|
2032
2038
|
value: item.type,
|
|
2033
|
-
}))} value={
|
|
2034
|
-
|
|
2039
|
+
}))} value={isShowTagType}/>
|
|
2035
2040
|
</div>
|
|
2036
|
-
|
|
2041
|
+
{typePreview === "setting" && (<div className="py-2.5 px-3 bg-[#FFF8DD] border-[#FFC700] border text-[#181C32] flex gap-2.5 text-[12px] font-semibold items-center tracking-[0%]">
|
|
2042
|
+
<WarningIcon /> Font adjustments made here are scaled based on
|
|
2043
|
+
the original font sizes set in the main layout. Changes made
|
|
2044
|
+
here affect the operational layouts only, without changing your
|
|
2045
|
+
main editing canvas.
|
|
2046
|
+
</div>)}
|
|
2047
|
+
</>),
|
|
2037
2048
|
}}>
|
|
2038
2049
|
<LayerView statusKey="status" loadingRender={loadingRender} actionPrivileged={{
|
|
2039
2050
|
select: false,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Navbar: () => import("react
|
|
1
|
+
declare const Navbar: () => import("react").JSX.Element;
|
|
2
2
|
export default Navbar;
|
|
@@ -54,5 +54,5 @@ export interface TableEditorProps<TMeta = undefined> {
|
|
|
54
54
|
label: string;
|
|
55
55
|
}[];
|
|
56
56
|
}
|
|
57
|
-
declare const TableEditor: <TMeta>(props: TableEditorProps<TMeta>) =>
|
|
57
|
+
declare const TableEditor: <TMeta>(props: TableEditorProps<TMeta>) => React.JSX.Element;
|
|
58
58
|
export default TableEditor;
|
|
@@ -9,6 +9,6 @@ interface FormPlaceholderContextType {
|
|
|
9
9
|
setPlaceholderBulk: (bulk: Record<string, string>) => void;
|
|
10
10
|
resetPlaceholders: () => void;
|
|
11
11
|
}
|
|
12
|
-
declare const ControlPanels: (props: ControlPanelsProps) => import("react
|
|
12
|
+
declare const ControlPanels: (props: ControlPanelsProps) => import("react").JSX.Element;
|
|
13
13
|
export default ControlPanels;
|
|
14
14
|
export declare const useFormPlaceholder: () => FormPlaceholderContextType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const PolygonTool: () => import("react
|
|
1
|
+
declare const PolygonTool: () => import("react").JSX.Element;
|
|
2
2
|
export default PolygonTool;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const SquareToolForm: () => import("react
|
|
1
|
+
declare const SquareToolForm: () => import("react").JSX.Element;
|
|
2
2
|
export default SquareToolForm;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const SeatCircle: () => import("react
|
|
1
|
+
declare const SeatCircle: () => import("react").JSX.Element;
|
|
2
2
|
export default SeatCircle;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const SeatSquare: () => import("react
|
|
1
|
+
declare const SeatSquare: () => import("react").JSX.Element;
|
|
2
2
|
export default SeatSquare;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const TextTool: () => import("react
|
|
1
|
+
declare const TextTool: () => import("react").JSX.Element;
|
|
2
2
|
export default TextTool;
|
|
@@ -6,5 +6,5 @@ interface UploadToolProps {
|
|
|
6
6
|
defaultValue?: PropertiesProps;
|
|
7
7
|
transform?: any;
|
|
8
8
|
}
|
|
9
|
-
declare const UploadTool: ({ name, type, action, transform }: UploadToolProps) => import("react
|
|
9
|
+
declare const UploadTool: ({ name, type, action, transform }: UploadToolProps) => import("react").JSX.Element;
|
|
10
10
|
export default UploadTool;
|
|
@@ -6,5 +6,5 @@ interface UploadToolProps {
|
|
|
6
6
|
defaultValue?: PropertiesProps;
|
|
7
7
|
transform?: any;
|
|
8
8
|
}
|
|
9
|
-
declare const UploadToolForm: (props: UploadToolProps) => import("react
|
|
9
|
+
declare const UploadToolForm: (props: UploadToolProps) => import("react").JSX.Element;
|
|
10
10
|
export default UploadToolForm;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FontSizeIcon: () => import("react
|
|
1
|
+
export declare const FontSizeIcon: () => import("react").JSX.Element;
|
|
@@ -15,5 +15,5 @@ export interface LayerViewProps {
|
|
|
15
15
|
containerProps?: any;
|
|
16
16
|
svgProps?: any;
|
|
17
17
|
}
|
|
18
|
-
declare const LayerView: (props: LayerViewProps) => import("react
|
|
18
|
+
declare const LayerView: (props: LayerViewProps) => import("react").JSX.Element;
|
|
19
19
|
export default LayerView;
|
|
@@ -91,5 +91,5 @@ export interface LayerViewProps<TMeta = undefined> {
|
|
|
91
91
|
rightClick: boolean;
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
-
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) =>
|
|
94
|
+
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) => React.JSX.Element;
|
|
95
95
|
export default LayerView;
|
|
@@ -93,5 +93,5 @@ export interface LayerViewProps<TMeta = undefined> {
|
|
|
93
93
|
double?: boolean;
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) =>
|
|
96
|
+
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) => React.JSX.Element;
|
|
97
97
|
export default LayerView;
|
|
@@ -95,5 +95,5 @@ export interface LayerViewProps<TMeta = undefined> {
|
|
|
95
95
|
onEdgesChange?: (edges: EdgeType[], table: PropertiesProps[]) => void;
|
|
96
96
|
keyNode: string;
|
|
97
97
|
}
|
|
98
|
-
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) =>
|
|
98
|
+
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) => React.JSX.Element;
|
|
99
99
|
export default LayerView;
|
|
@@ -98,5 +98,5 @@ export interface LayerViewProps<TMeta = undefined> {
|
|
|
98
98
|
isSelectNode?: boolean;
|
|
99
99
|
onMakeSelection?: (component: ComponentProps<TMeta>[]) => void;
|
|
100
100
|
}
|
|
101
|
-
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) =>
|
|
101
|
+
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) => React.JSX.Element;
|
|
102
102
|
export default LayerView;
|
|
@@ -95,5 +95,5 @@ export interface LayerViewProps<TMeta = undefined> {
|
|
|
95
95
|
onEdgesChange?: (edges: EdgeType[], table: PropertiesProps[]) => void;
|
|
96
96
|
keyNode: string;
|
|
97
97
|
}
|
|
98
|
-
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) =>
|
|
98
|
+
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) => React.JSX.Element;
|
|
99
99
|
export default LayerView;
|
|
@@ -95,5 +95,5 @@ export interface LayerViewProps<TMeta = undefined> {
|
|
|
95
95
|
onEdgesChange?: (edges: EdgeType[], table: PropertiesProps[]) => void;
|
|
96
96
|
keyNode: string;
|
|
97
97
|
}
|
|
98
|
-
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) =>
|
|
98
|
+
declare const LayerView: <TMeta>(props: LayerViewProps<TMeta>) => React.JSX.Element;
|
|
99
99
|
export default LayerView;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,5 +8,7 @@ import LayerView3, { type LayerViewProps as LayerViewProps3 } from "./features/v
|
|
|
8
8
|
import LayerView5, { type LayerViewProps as LayerViewProps5 } from "./features/view-only-5";
|
|
9
9
|
import TableEditor, { type TableEditorProps } from "./features/package";
|
|
10
10
|
import { UploadFile } from "antd";
|
|
11
|
+
import { ShowTagType } from "./features/board-v3/board-slice";
|
|
11
12
|
export * from "./dto/table";
|
|
12
13
|
export { StoreProvider as ProviderSeatEditor, Board, SideTool, ControlPanels, LayerView, LayerView2, LayerViewProps2, LayerViewProps, TableEditor as SeatEditor, LayerView3, LayerViewProps3, TableEditorProps, type UploadFile, LayerView5, LayerViewProps5 };
|
|
14
|
+
export type { ShowTagType };
|