seat-editor 3.5.13 → 3.5.14
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/new-board/page.js +1 -0
- package/dist/app/new-board/page.jsx +1 -0
- package/dist/components/form-tools/shape.d.ts +1 -0
- package/dist/components/form-tools/shape.js +13 -3
- package/dist/components/form-tools/shape.jsx +17 -2
- package/dist/components/icons/camera.d.ts +1 -0
- package/dist/components/icons/camera.js +5 -0
- package/dist/components/icons/camera.jsx +26 -0
- package/dist/components/icons/circle.d.ts +1 -0
- package/dist/components/icons/circle.js +5 -0
- package/dist/components/icons/circle.jsx +36 -0
- package/dist/components/icons/index.d.ts +9 -0
- package/dist/components/icons/index.js +9 -0
- package/dist/components/icons/square.d.ts +1 -0
- package/dist/components/icons/square.js +5 -0
- package/dist/components/icons/square.jsx +26 -0
- package/dist/components/icons/type-1.d.ts +1 -0
- package/dist/components/icons/type-1.js +5 -0
- package/dist/components/icons/type-1.jsx +148 -0
- package/dist/components/icons/type-2.d.ts +1 -0
- package/dist/components/icons/type-2.js +5 -0
- package/dist/components/icons/type-2.jsx +138 -0
- package/dist/components/icons/type-3.d.ts +1 -0
- package/dist/components/icons/type-3.js +5 -0
- package/dist/components/icons/type-3.jsx +138 -0
- package/dist/components/icons/type-4.d.ts +1 -0
- package/dist/components/icons/type-4.js +5 -0
- package/dist/components/icons/type-4.jsx +98 -0
- package/dist/components/icons/type-5.d.ts +1 -0
- package/dist/components/icons/type-5.js +5 -0
- package/dist/components/icons/type-5.jsx +108 -0
- package/dist/features/board-v3/index.js +3 -1
- package/dist/features/board-v3/index.jsx +5 -2
- package/dist/features/package/index.js +1 -1
- package/dist/features/package/index.jsx +2 -2
- package/dist/features/panel/index.js +3 -1
- package/dist/features/panel/index.jsx +3 -1
- package/dist/features/panel/polygon.js +1 -1
- package/dist/features/panel/polygon.jsx +1 -1
- package/dist/features/panel/select-tool.js +1 -1
- package/dist/features/panel/select-tool.jsx +1 -1
- package/dist/features/panel/selected-group.d.ts +3 -1
- package/dist/features/panel/selected-group.js +9 -8
- package/dist/features/panel/selected-group.jsx +15 -8
- package/dist/features/panel/upload-group-tool.d.ts +10 -0
- package/dist/features/panel/upload-group-tool.js +147 -0
- package/dist/features/panel/upload-group-tool.jsx +180 -0
- package/dist/features/panel/upload-tool.d.ts +2 -2
- package/dist/features/panel/upload-tool.js +45 -4
- package/dist/features/panel/upload-tool.jsx +108 -10
- package/dist/features/side-tool/index.js +13 -11
- package/dist/features/side-tool/index.jsx +7 -2
- package/dist/provider/antd-provider.js +3 -0
- package/dist/provider/antd-provider.jsx +3 -0
- package/dist/utils/agent.d.ts +1 -0
- package/dist/utils/agent.js +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@ant-design/icons";
|
|
3
|
+
export const Type3Icon = () => {
|
|
4
|
+
return (<Icon component={() => (<svg xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" width="20" zoomAndPan="magnify" viewBox="0 0 1500 1499.999933" height="20" preserveAspectRatio="xMidYMid meet" version="1.0">
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="1c43874ab4">
|
|
7
|
+
<path d="M 238.816406 242.269531 L 1266.277344 242.269531 L 1266.277344 1269.730469 L 238.816406 1269.730469 Z M 238.816406 242.269531 " clipRule="nonzero"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
<clipPath id="f5762a8dcf">
|
|
10
|
+
<path d="M 0.816406 0.269531 L 1028.277344 0.269531 L 1028.277344 1027.730469 L 0.816406 1027.730469 Z M 0.816406 0.269531 " clipRule="nonzero"/>
|
|
11
|
+
</clipPath>
|
|
12
|
+
<clipPath id="c2ff1a0234">
|
|
13
|
+
<rect x="0" width="1029" y="0" height="1028"/>
|
|
14
|
+
</clipPath>
|
|
15
|
+
<clipPath id="fd08c5ab0b">
|
|
16
|
+
<path d="M 609.933594 78.59375 L 890.539062 78.59375 L 890.539062 221.40625 L 609.933594 221.40625 Z M 609.933594 78.59375 " clipRule="nonzero"/>
|
|
17
|
+
</clipPath>
|
|
18
|
+
<clipPath id="d6f612df80">
|
|
19
|
+
<path d="M 890.066406 221.40625 C 890.066406 143.617188 826.292969 78.59375 750 78.59375 C 673.707031 78.59375 609.933594 143.617188 609.933594 221.40625 Z M 890.066406 221.40625 " clipRule="nonzero"/>
|
|
20
|
+
</clipPath>
|
|
21
|
+
<clipPath id="54eb97566a">
|
|
22
|
+
<path d="M 0.933594 0.59375 L 281 0.59375 L 281 143.40625 L 0.933594 143.40625 Z M 0.933594 0.59375 " clipRule="nonzero"/>
|
|
23
|
+
</clipPath>
|
|
24
|
+
<clipPath id="9b50760f91">
|
|
25
|
+
<path d="M 281.066406 143.40625 C 281.066406 65.617188 217.292969 0.59375 141 0.59375 C 64.707031 0.59375 0.933594 65.617188 0.933594 143.40625 Z M 281.066406 143.40625 " clipRule="nonzero"/>
|
|
26
|
+
</clipPath>
|
|
27
|
+
<clipPath id="15ddc7c55e">
|
|
28
|
+
<rect x="0" width="282" y="0" height="144"/>
|
|
29
|
+
</clipPath>
|
|
30
|
+
<clipPath id="c59fd5063d">
|
|
31
|
+
<path d="M 633 1290.71875 L 913.550781 1290.71875 L 913.550781 1433.535156 L 633 1433.535156 Z M 633 1290.71875 " clipRule="nonzero"/>
|
|
32
|
+
</clipPath>
|
|
33
|
+
<clipPath id="262524c871">
|
|
34
|
+
<path d="M 633.417969 1290.71875 C 633.417969 1368.507812 697.191406 1433.535156 773.484375 1433.535156 C 849.777344 1433.535156 913.550781 1368.507812 913.550781 1290.71875 Z M 633.417969 1290.71875 " clipRule="nonzero"/>
|
|
35
|
+
</clipPath>
|
|
36
|
+
<clipPath id="0053ff354d">
|
|
37
|
+
<path d="M 0.359375 0.71875 L 280.550781 0.71875 L 280.550781 143.535156 L 0.359375 143.535156 Z M 0.359375 0.71875 " clipRule="nonzero"/>
|
|
38
|
+
</clipPath>
|
|
39
|
+
<clipPath id="edba2cf97e">
|
|
40
|
+
<path d="M 0.417969 0.71875 C 0.417969 78.507812 64.191406 143.535156 140.484375 143.535156 C 216.777344 143.535156 280.550781 78.507812 280.550781 0.71875 Z M 0.417969 0.71875 " clipRule="nonzero"/>
|
|
41
|
+
</clipPath>
|
|
42
|
+
<clipPath id="2f66a61ccd">
|
|
43
|
+
<rect x="0" width="281" y="0" height="144"/>
|
|
44
|
+
</clipPath>
|
|
45
|
+
<clipPath id="398ee37860">
|
|
46
|
+
<path d="M 78.59375 615.449219 L 221.40625 615.449219 L 221.40625 896.058594 L 78.59375 896.058594 Z M 78.59375 615.449219 " clipRule="nonzero"/>
|
|
47
|
+
</clipPath>
|
|
48
|
+
<clipPath id="153d2c4c9e">
|
|
49
|
+
<path d="M 221.40625 615.921875 C 143.617188 615.921875 78.59375 679.699219 78.59375 755.992188 C 78.59375 832.28125 143.617188 896.058594 221.40625 896.058594 Z M 221.40625 615.921875 " clipRule="nonzero"/>
|
|
50
|
+
</clipPath>
|
|
51
|
+
<clipPath id="3cca412ee1">
|
|
52
|
+
<path d="M 0.59375 1 L 143.40625 1 L 143.40625 281.058594 L 0.59375 281.058594 Z M 0.59375 1 " clipRule="nonzero"/>
|
|
53
|
+
</clipPath>
|
|
54
|
+
<clipPath id="a0a390c088">
|
|
55
|
+
<path d="M 143.40625 0.921875 C 65.617188 0.921875 0.59375 64.699219 0.59375 140.992188 C 0.59375 217.28125 65.617188 281.058594 143.40625 281.058594 Z M 143.40625 0.921875 " clipRule="nonzero"/>
|
|
56
|
+
</clipPath>
|
|
57
|
+
<clipPath id="29872662d8">
|
|
58
|
+
<rect x="0" width="144" y="0" height="282"/>
|
|
59
|
+
</clipPath>
|
|
60
|
+
<clipPath id="d83166a3cf">
|
|
61
|
+
<path d="M 1283.515625 615.933594 L 1426.328125 615.933594 L 1426.328125 896.539062 L 1283.515625 896.539062 Z M 1283.515625 615.933594 " clipRule="nonzero"/>
|
|
62
|
+
</clipPath>
|
|
63
|
+
<clipPath id="55a3022138">
|
|
64
|
+
<path d="M 1283.515625 896.066406 C 1361.304688 896.066406 1426.328125 832.292969 1426.328125 756 C 1426.328125 679.707031 1361.304688 615.933594 1283.515625 615.933594 Z M 1283.515625 896.066406 " clipRule="nonzero"/>
|
|
65
|
+
</clipPath>
|
|
66
|
+
<clipPath id="0ff786d421">
|
|
67
|
+
<path d="M 0.515625 0.933594 L 143.328125 0.933594 L 143.328125 281 L 0.515625 281 Z M 0.515625 0.933594 " clipRule="nonzero"/>
|
|
68
|
+
</clipPath>
|
|
69
|
+
<clipPath id="35645f5104">
|
|
70
|
+
<path d="M 0.515625 281.066406 C 78.304688 281.066406 143.328125 217.292969 143.328125 141 C 143.328125 64.707031 78.304688 0.933594 0.515625 0.933594 Z M 0.515625 281.066406 " clipRule="nonzero"/>
|
|
71
|
+
</clipPath>
|
|
72
|
+
<clipPath id="21326657a7">
|
|
73
|
+
<rect x="0" width="144" y="0" height="282"/>
|
|
74
|
+
</clipPath>
|
|
75
|
+
</defs>
|
|
76
|
+
<g clipPath="url(#1c43874ab4)">
|
|
77
|
+
<g transform="matrix(1, 0, 0, 1, 238, 242)">
|
|
78
|
+
<g clipPath="url(#c2ff1a0234)">
|
|
79
|
+
<g clipPath="url(#f5762a8dcf)">
|
|
80
|
+
<path fill="#000000" d="M 0.816406 0.269531 L 1028.277344 0.269531 L 1028.277344 1027.730469 L 0.816406 1027.730469 Z M 0.816406 0.269531 " fillOpacity="1" fillRule="nonzero"/>
|
|
81
|
+
</g>
|
|
82
|
+
</g>
|
|
83
|
+
</g>
|
|
84
|
+
</g>
|
|
85
|
+
<g clipPath="url(#fd08c5ab0b)">
|
|
86
|
+
<g clipPath="url(#d6f612df80)">
|
|
87
|
+
<g transform="matrix(1, 0, 0, 1, 609, 78)">
|
|
88
|
+
<g clipPath="url(#15ddc7c55e)">
|
|
89
|
+
<g clipPath="url(#54eb97566a)">
|
|
90
|
+
<g clipPath="url(#9b50760f91)">
|
|
91
|
+
<path fill="#000000" d="M 0.933594 0.59375 L 280.980469 0.59375 L 280.980469 143.40625 L 0.933594 143.40625 Z M 0.933594 0.59375 " fillOpacity="1" fillRule="nonzero"/>
|
|
92
|
+
</g>
|
|
93
|
+
</g>
|
|
94
|
+
</g>
|
|
95
|
+
</g>
|
|
96
|
+
</g>
|
|
97
|
+
</g>
|
|
98
|
+
<g clipPath="url(#c59fd5063d)">
|
|
99
|
+
<g clipPath="url(#262524c871)">
|
|
100
|
+
<g transform="matrix(1, 0, 0, 1, 633, 1290)">
|
|
101
|
+
<g clipPath="url(#2f66a61ccd)">
|
|
102
|
+
<g clipPath="url(#0053ff354d)">
|
|
103
|
+
<g clipPath="url(#edba2cf97e)">
|
|
104
|
+
<path fill="#000000" d="M 280.550781 143.535156 L 0.503906 143.535156 L 0.503906 0.71875 L 280.550781 0.71875 Z M 280.550781 143.535156 " fillOpacity="1" fillRule="nonzero"/>
|
|
105
|
+
</g>
|
|
106
|
+
</g>
|
|
107
|
+
</g>
|
|
108
|
+
</g>
|
|
109
|
+
</g>
|
|
110
|
+
</g>
|
|
111
|
+
<g clipPath="url(#398ee37860)">
|
|
112
|
+
<g clipPath="url(#153d2c4c9e)">
|
|
113
|
+
<g transform="matrix(1, 0, 0, 1, 78, 615)">
|
|
114
|
+
<g clipPath="url(#29872662d8)">
|
|
115
|
+
<g clipPath="url(#3cca412ee1)">
|
|
116
|
+
<g clipPath="url(#a0a390c088)">
|
|
117
|
+
<path fill="#000000" d="M 0.59375 281.058594 L 0.59375 1.007812 L 143.40625 1.007812 L 143.40625 281.058594 Z M 0.59375 281.058594 " fillOpacity="1" fillRule="nonzero"/>
|
|
118
|
+
</g>
|
|
119
|
+
</g>
|
|
120
|
+
</g>
|
|
121
|
+
</g>
|
|
122
|
+
</g>
|
|
123
|
+
</g>
|
|
124
|
+
<g clipPath="url(#d83166a3cf)">
|
|
125
|
+
<g clipPath="url(#55a3022138)">
|
|
126
|
+
<g transform="matrix(1, 0, 0, 1, 1283, 615)">
|
|
127
|
+
<g clipPath="url(#21326657a7)">
|
|
128
|
+
<g clipPath="url(#0ff786d421)">
|
|
129
|
+
<g clipPath="url(#35645f5104)">
|
|
130
|
+
<path fill="#000000" d="M 143.328125 0.933594 L 143.328125 280.980469 L 0.515625 280.980469 L 0.515625 0.933594 Z M 143.328125 0.933594 " fillOpacity="1" fillRule="nonzero"/>
|
|
131
|
+
</g>
|
|
132
|
+
</g>
|
|
133
|
+
</g>
|
|
134
|
+
</g>
|
|
135
|
+
</g>
|
|
136
|
+
</g>
|
|
137
|
+
</svg>)}/>);
|
|
138
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Type4Icon: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Icon from "@ant-design/icons";
|
|
3
|
+
export const Type4Icon = () => {
|
|
4
|
+
return (_jsx(Icon, { component: () => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "20", zoomAndPan: "magnify", viewBox: "0 0 1500 1499.999933", height: "20", preserveAspectRatio: "xMidYMid meet", version: "1.0", children: [_jsxs("defs", { children: [_jsx("clipPath", { id: "52edd2177a", children: _jsx("path", { d: "M 238.816406 242.269531 L 1266.277344 242.269531 L 1266.277344 1269.730469 L 238.816406 1269.730469 Z M 238.816406 242.269531 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "874b0ea22a", children: _jsx("path", { d: "M 0.816406 0.269531 L 1028.277344 0.269531 L 1028.277344 1027.730469 L 0.816406 1027.730469 Z M 0.816406 0.269531 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "f54bcf4a7e", children: _jsx("rect", { x: "0", width: "1029", y: "0", height: "1028" }) }), _jsx("clipPath", { id: "af820e73c6", children: _jsx("path", { d: "M 609.933594 78.660156 L 890.066406 78.660156 L 890.066406 221.339844 L 609.933594 221.339844 Z M 609.933594 78.660156 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "3694eb5519", children: _jsx("path", { d: "M 0.933594 0.660156 L 281.066406 0.660156 L 281.066406 143.339844 L 0.933594 143.339844 Z M 0.933594 0.660156 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "2da00837c8", children: _jsx("rect", { x: "0", width: "282", y: "0", height: "144" }) }), _jsx("clipPath", { id: "95fed06e05", children: _jsx("path", { d: "M 612.480469 1290.730469 L 892.613281 1290.730469 L 892.613281 1433.40625 L 612.480469 1433.40625 Z M 612.480469 1290.730469 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "c8c85c4f8a", children: _jsx("path", { d: "M 0.480469 0.730469 L 280.613281 0.730469 L 280.613281 143.40625 L 0.480469 143.40625 Z M 0.480469 0.730469 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "b484510778", children: _jsx("rect", { x: "0", width: "281", y: "0", height: "144" }) }), _jsx("clipPath", { id: "7fa0da225c", children: _jsx("path", { d: "M 78.65625 615.925781 L 221.335938 615.925781 L 221.335938 896.0625 L 78.65625 896.0625 Z M 78.65625 615.925781 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "8509d98062", children: _jsx("path", { d: "M 0.65625 0.925781 L 143.335938 0.925781 L 143.335938 281.0625 L 0.65625 281.0625 Z M 0.65625 0.925781 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "00a0d5b10f", children: _jsx("rect", { x: "0", width: "144", y: "0", height: "282" }) }), _jsx("clipPath", { id: "d58fa6c225", children: _jsx("path", { d: "M 1283.519531 609.925781 L 1426.199219 609.925781 L 1426.199219 890.0625 L 1283.519531 890.0625 Z M 1283.519531 609.925781 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "225c0192fd", children: _jsx("path", { d: "M 0.519531 0.925781 L 143.199219 0.925781 L 143.199219 281.0625 L 0.519531 281.0625 Z M 0.519531 0.925781 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "7881984796", children: _jsx("rect", { x: "0", width: "144", y: "0", height: "282" }) })] }), _jsx("g", { clipPath: "url(#52edd2177a)", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, 238, 242)", children: _jsx("g", { clipPath: "url(#f54bcf4a7e)", children: _jsx("g", { clipPath: "url(#874b0ea22a)", children: _jsx("path", { fill: "#000000", d: "M 0.816406 0.269531 L 1028.277344 0.269531 L 1028.277344 1027.730469 L 0.816406 1027.730469 Z M 0.816406 0.269531 ", fillOpacity: "1", fillRule: "nonzero" }) }) }) }) }), _jsx("g", { clipPath: "url(#af820e73c6)", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, 609, 78)", children: _jsx("g", { clipPath: "url(#2da00837c8)", children: _jsx("g", { clipPath: "url(#3694eb5519)", children: _jsx("path", { fill: "#000000", d: "M 0.933594 0.660156 L 281.273438 0.660156 L 281.273438 143.339844 L 0.933594 143.339844 Z M 0.933594 0.660156 ", fillOpacity: "1", fillRule: "nonzero" }) }) }) }) }), _jsx("g", { clipPath: "url(#95fed06e05)", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, 612, 1290)", children: _jsx("g", { clipPath: "url(#b484510778)", children: _jsx("g", { clipPath: "url(#c8c85c4f8a)", children: _jsx("path", { fill: "#000000", d: "M 0.480469 0.730469 L 280.820312 0.730469 L 280.820312 143.40625 L 0.480469 143.40625 Z M 0.480469 0.730469 ", fillOpacity: "1", fillRule: "nonzero" }) }) }) }) }), _jsx("g", { clipPath: "url(#7fa0da225c)", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, 78, 615)", children: _jsx("g", { clipPath: "url(#00a0d5b10f)", children: _jsx("g", { clipPath: "url(#8509d98062)", children: _jsx("path", { fill: "#000000", d: "M 0.65625 281.0625 L 0.65625 0.722656 L 143.335938 0.722656 L 143.335938 281.0625 Z M 0.65625 281.0625 ", fillOpacity: "1", fillRule: "nonzero" }) }) }) }) }), _jsx("g", { clipPath: "url(#d58fa6c225)", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, 1283, 609)", children: _jsx("g", { clipPath: "url(#7881984796)", children: _jsx("g", { clipPath: "url(#225c0192fd)", children: _jsx("path", { fill: "#000000", d: "M 0.519531 281.0625 L 0.519531 0.722656 L 143.199219 0.722656 L 143.199219 281.0625 Z M 0.519531 281.0625 ", fillOpacity: "1", fillRule: "nonzero" }) }) }) }) })] })) }));
|
|
5
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@ant-design/icons";
|
|
3
|
+
export const Type4Icon = () => {
|
|
4
|
+
return (<Icon component={() => (<svg xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" width="20" zoomAndPan="magnify" viewBox="0 0 1500 1499.999933" height="20" preserveAspectRatio="xMidYMid meet" version="1.0">
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="52edd2177a">
|
|
7
|
+
<path d="M 238.816406 242.269531 L 1266.277344 242.269531 L 1266.277344 1269.730469 L 238.816406 1269.730469 Z M 238.816406 242.269531 " clipRule="nonzero"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
<clipPath id="874b0ea22a">
|
|
10
|
+
<path d="M 0.816406 0.269531 L 1028.277344 0.269531 L 1028.277344 1027.730469 L 0.816406 1027.730469 Z M 0.816406 0.269531 " clipRule="nonzero"/>
|
|
11
|
+
</clipPath>
|
|
12
|
+
<clipPath id="f54bcf4a7e">
|
|
13
|
+
<rect x="0" width="1029" y="0" height="1028"/>
|
|
14
|
+
</clipPath>
|
|
15
|
+
<clipPath id="af820e73c6">
|
|
16
|
+
<path d="M 609.933594 78.660156 L 890.066406 78.660156 L 890.066406 221.339844 L 609.933594 221.339844 Z M 609.933594 78.660156 " clipRule="nonzero"/>
|
|
17
|
+
</clipPath>
|
|
18
|
+
<clipPath id="3694eb5519">
|
|
19
|
+
<path d="M 0.933594 0.660156 L 281.066406 0.660156 L 281.066406 143.339844 L 0.933594 143.339844 Z M 0.933594 0.660156 " clipRule="nonzero"/>
|
|
20
|
+
</clipPath>
|
|
21
|
+
<clipPath id="2da00837c8">
|
|
22
|
+
<rect x="0" width="282" y="0" height="144"/>
|
|
23
|
+
</clipPath>
|
|
24
|
+
<clipPath id="95fed06e05">
|
|
25
|
+
<path d="M 612.480469 1290.730469 L 892.613281 1290.730469 L 892.613281 1433.40625 L 612.480469 1433.40625 Z M 612.480469 1290.730469 " clipRule="nonzero"/>
|
|
26
|
+
</clipPath>
|
|
27
|
+
<clipPath id="c8c85c4f8a">
|
|
28
|
+
<path d="M 0.480469 0.730469 L 280.613281 0.730469 L 280.613281 143.40625 L 0.480469 143.40625 Z M 0.480469 0.730469 " clipRule="nonzero"/>
|
|
29
|
+
</clipPath>
|
|
30
|
+
<clipPath id="b484510778">
|
|
31
|
+
<rect x="0" width="281" y="0" height="144"/>
|
|
32
|
+
</clipPath>
|
|
33
|
+
<clipPath id="7fa0da225c">
|
|
34
|
+
<path d="M 78.65625 615.925781 L 221.335938 615.925781 L 221.335938 896.0625 L 78.65625 896.0625 Z M 78.65625 615.925781 " clipRule="nonzero"/>
|
|
35
|
+
</clipPath>
|
|
36
|
+
<clipPath id="8509d98062">
|
|
37
|
+
<path d="M 0.65625 0.925781 L 143.335938 0.925781 L 143.335938 281.0625 L 0.65625 281.0625 Z M 0.65625 0.925781 " clipRule="nonzero"/>
|
|
38
|
+
</clipPath>
|
|
39
|
+
<clipPath id="00a0d5b10f">
|
|
40
|
+
<rect x="0" width="144" y="0" height="282"/>
|
|
41
|
+
</clipPath>
|
|
42
|
+
<clipPath id="d58fa6c225">
|
|
43
|
+
<path d="M 1283.519531 609.925781 L 1426.199219 609.925781 L 1426.199219 890.0625 L 1283.519531 890.0625 Z M 1283.519531 609.925781 " clipRule="nonzero"/>
|
|
44
|
+
</clipPath>
|
|
45
|
+
<clipPath id="225c0192fd">
|
|
46
|
+
<path d="M 0.519531 0.925781 L 143.199219 0.925781 L 143.199219 281.0625 L 0.519531 281.0625 Z M 0.519531 0.925781 " clipRule="nonzero"/>
|
|
47
|
+
</clipPath>
|
|
48
|
+
<clipPath id="7881984796">
|
|
49
|
+
<rect x="0" width="144" y="0" height="282"/>
|
|
50
|
+
</clipPath>
|
|
51
|
+
</defs>
|
|
52
|
+
<g clipPath="url(#52edd2177a)">
|
|
53
|
+
<g transform="matrix(1, 0, 0, 1, 238, 242)">
|
|
54
|
+
<g clipPath="url(#f54bcf4a7e)">
|
|
55
|
+
<g clipPath="url(#874b0ea22a)">
|
|
56
|
+
<path fill="#000000" d="M 0.816406 0.269531 L 1028.277344 0.269531 L 1028.277344 1027.730469 L 0.816406 1027.730469 Z M 0.816406 0.269531 " fillOpacity="1" fillRule="nonzero"/>
|
|
57
|
+
</g>
|
|
58
|
+
</g>
|
|
59
|
+
</g>
|
|
60
|
+
</g>
|
|
61
|
+
<g clipPath="url(#af820e73c6)">
|
|
62
|
+
<g transform="matrix(1, 0, 0, 1, 609, 78)">
|
|
63
|
+
<g clipPath="url(#2da00837c8)">
|
|
64
|
+
<g clipPath="url(#3694eb5519)">
|
|
65
|
+
<path fill="#000000" d="M 0.933594 0.660156 L 281.273438 0.660156 L 281.273438 143.339844 L 0.933594 143.339844 Z M 0.933594 0.660156 " fillOpacity="1" fillRule="nonzero"/>
|
|
66
|
+
</g>
|
|
67
|
+
</g>
|
|
68
|
+
</g>
|
|
69
|
+
</g>
|
|
70
|
+
<g clipPath="url(#95fed06e05)">
|
|
71
|
+
<g transform="matrix(1, 0, 0, 1, 612, 1290)">
|
|
72
|
+
<g clipPath="url(#b484510778)">
|
|
73
|
+
<g clipPath="url(#c8c85c4f8a)">
|
|
74
|
+
<path fill="#000000" d="M 0.480469 0.730469 L 280.820312 0.730469 L 280.820312 143.40625 L 0.480469 143.40625 Z M 0.480469 0.730469 " fillOpacity="1" fillRule="nonzero"/>
|
|
75
|
+
</g>
|
|
76
|
+
</g>
|
|
77
|
+
</g>
|
|
78
|
+
</g>
|
|
79
|
+
<g clipPath="url(#7fa0da225c)">
|
|
80
|
+
<g transform="matrix(1, 0, 0, 1, 78, 615)">
|
|
81
|
+
<g clipPath="url(#00a0d5b10f)">
|
|
82
|
+
<g clipPath="url(#8509d98062)">
|
|
83
|
+
<path fill="#000000" d="M 0.65625 281.0625 L 0.65625 0.722656 L 143.335938 0.722656 L 143.335938 281.0625 Z M 0.65625 281.0625 " fillOpacity="1" fillRule="nonzero"/>
|
|
84
|
+
</g>
|
|
85
|
+
</g>
|
|
86
|
+
</g>
|
|
87
|
+
</g>
|
|
88
|
+
<g clipPath="url(#d58fa6c225)">
|
|
89
|
+
<g transform="matrix(1, 0, 0, 1, 1283, 609)">
|
|
90
|
+
<g clipPath="url(#7881984796)">
|
|
91
|
+
<g clipPath="url(#225c0192fd)">
|
|
92
|
+
<path fill="#000000" d="M 0.519531 281.0625 L 0.519531 0.722656 L 143.199219 0.722656 L 143.199219 281.0625 Z M 0.519531 281.0625 " fillOpacity="1" fillRule="nonzero"/>
|
|
93
|
+
</g>
|
|
94
|
+
</g>
|
|
95
|
+
</g>
|
|
96
|
+
</g>
|
|
97
|
+
</svg>)}/>);
|
|
98
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Type5Icon: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Icon from "@ant-design/icons";
|
|
3
|
+
export const Type5Icon = () => {
|
|
4
|
+
return (_jsx(Icon, { component: () => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "20", zoomAndPan: "magnify", viewBox: "0 0 1500 1499.999933", height: "20", preserveAspectRatio: "xMidYMid meet", version: "1.0", children: [_jsxs("defs", { children: [_jsx("clipPath", { id: "3fdae0844f", children: _jsx("path", { d: "M 238.816406 242.269531 L 1266.277344 242.269531 L 1266.277344 1269.730469 L 238.816406 1269.730469 Z M 238.816406 242.269531 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "92d0846521", children: _jsx("path", { d: "M 752.546875 242.269531 C 468.820312 242.269531 238.816406 472.273438 238.816406 756 C 238.816406 1039.726562 468.820312 1269.730469 752.546875 1269.730469 C 1036.269531 1269.730469 1266.277344 1039.726562 1266.277344 756 C 1266.277344 472.273438 1036.269531 242.269531 752.546875 242.269531 Z M 752.546875 242.269531 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "57e2b67e15", children: _jsx("path", { d: "M 0.816406 0.269531 L 1028.277344 0.269531 L 1028.277344 1027.730469 L 0.816406 1027.730469 Z M 0.816406 0.269531 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "54dc4f6b95", children: _jsx("path", { d: "M 514.546875 0.269531 C 230.820312 0.269531 0.816406 230.273438 0.816406 514 C 0.816406 797.726562 230.820312 1027.730469 514.546875 1027.730469 C 798.269531 1027.730469 1028.277344 797.726562 1028.277344 514 C 1028.277344 230.273438 798.269531 0.269531 514.546875 0.269531 Z M 514.546875 0.269531 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "3aa1ad9add", children: _jsx("rect", { x: "0", width: "1029", y: "0", height: "1028" }) }), _jsx("clipPath", { id: "eb7c52e539", children: _jsx("path", { d: "M 609.933594 78.660156 L 890.066406 78.660156 L 890.066406 221.339844 L 609.933594 221.339844 Z M 609.933594 78.660156 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "c9b3662033", children: _jsx("path", { d: "M 0.933594 0.660156 L 281.066406 0.660156 L 281.066406 143.339844 L 0.933594 143.339844 Z M 0.933594 0.660156 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "6515cab963", children: _jsx("rect", { x: "0", width: "282", y: "0", height: "144" }) }), _jsx("clipPath", { id: "1ef754e7ae", children: _jsx("path", { d: "M 612.480469 1290.730469 L 892.613281 1290.730469 L 892.613281 1433.40625 L 612.480469 1433.40625 Z M 612.480469 1290.730469 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "41e58767c8", children: _jsx("path", { d: "M 0.480469 0.730469 L 280.613281 0.730469 L 280.613281 143.40625 L 0.480469 143.40625 Z M 0.480469 0.730469 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "a6031379ab", children: _jsx("rect", { x: "0", width: "281", y: "0", height: "144" }) }), _jsx("clipPath", { id: "152c9d5943", children: _jsx("path", { d: "M 78.65625 615.925781 L 221.335938 615.925781 L 221.335938 896.0625 L 78.65625 896.0625 Z M 78.65625 615.925781 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "5952d3ff4b", children: _jsx("path", { d: "M 0.65625 0.925781 L 143.335938 0.925781 L 143.335938 281.0625 L 0.65625 281.0625 Z M 0.65625 0.925781 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "3f82992b69", children: _jsx("rect", { x: "0", width: "144", y: "0", height: "282" }) }), _jsx("clipPath", { id: "8b6b79df0f", children: _jsx("path", { d: "M 1283.519531 609.925781 L 1426.199219 609.925781 L 1426.199219 890.0625 L 1283.519531 890.0625 Z M 1283.519531 609.925781 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "dd0ced785d", children: _jsx("path", { d: "M 0.519531 0.925781 L 143.199219 0.925781 L 143.199219 281.0625 L 0.519531 281.0625 Z M 0.519531 0.925781 ", clipRule: "nonzero" }) }), _jsx("clipPath", { id: "c975f1b69d", children: _jsx("rect", { x: "0", width: "144", y: "0", height: "282" }) })] }), _jsx("g", { clipPath: "url(#3fdae0844f)", children: _jsx("g", { clipPath: "url(#92d0846521)", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, 238, 242)", children: _jsx("g", { clipPath: "url(#3aa1ad9add)", children: _jsx("g", { clipPath: "url(#57e2b67e15)", children: _jsx("g", { clipPath: "url(#54dc4f6b95)", children: _jsx("path", { fill: "#000000", d: "M 0.816406 0.269531 L 1028.277344 0.269531 L 1028.277344 1027.730469 L 0.816406 1027.730469 Z M 0.816406 0.269531 ", fillOpacity: "1", fillRule: "nonzero" }) }) }) }) }) }) }), _jsx("g", { clipPath: "url(#eb7c52e539)", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, 609, 78)", children: _jsx("g", { clipPath: "url(#6515cab963)", children: _jsx("g", { clipPath: "url(#c9b3662033)", children: _jsx("path", { fill: "#000000", d: "M 0.933594 0.660156 L 281.273438 0.660156 L 281.273438 143.339844 L 0.933594 143.339844 Z M 0.933594 0.660156 ", fillOpacity: "1", fillRule: "nonzero" }) }) }) }) }), _jsx("g", { clipPath: "url(#1ef754e7ae)", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, 612, 1290)", children: _jsx("g", { clipPath: "url(#a6031379ab)", children: _jsx("g", { clipPath: "url(#41e58767c8)", children: _jsx("path", { fill: "#000000", d: "M 0.480469 0.730469 L 280.820312 0.730469 L 280.820312 143.40625 L 0.480469 143.40625 Z M 0.480469 0.730469 ", fillOpacity: "1", fillRule: "nonzero" }) }) }) }) }), _jsx("g", { clipPath: "url(#152c9d5943)", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, 78, 615)", children: _jsx("g", { clipPath: "url(#3f82992b69)", children: _jsx("g", { clipPath: "url(#5952d3ff4b)", children: _jsx("path", { fill: "#000000", d: "M 0.65625 281.0625 L 0.65625 0.722656 L 143.335938 0.722656 L 143.335938 281.0625 Z M 0.65625 281.0625 ", fillOpacity: "1", fillRule: "nonzero" }) }) }) }) }), _jsx("g", { clipPath: "url(#8b6b79df0f)", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, 1283, 609)", children: _jsx("g", { clipPath: "url(#c975f1b69d)", children: _jsx("g", { clipPath: "url(#dd0ced785d)", children: _jsx("path", { fill: "#000000", d: "M 0.519531 281.0625 L 0.519531 0.722656 L 143.199219 0.722656 L 143.199219 281.0625 Z M 0.519531 281.0625 ", fillOpacity: "1", fillRule: "nonzero" }) }) }) }) })] })) }));
|
|
5
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Icon from "@ant-design/icons";
|
|
3
|
+
export const Type5Icon = () => {
|
|
4
|
+
return (<Icon component={() => (<svg xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" width="20" zoomAndPan="magnify" viewBox="0 0 1500 1499.999933" height="20" preserveAspectRatio="xMidYMid meet" version="1.0">
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="3fdae0844f">
|
|
7
|
+
<path d="M 238.816406 242.269531 L 1266.277344 242.269531 L 1266.277344 1269.730469 L 238.816406 1269.730469 Z M 238.816406 242.269531 " clipRule="nonzero"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
<clipPath id="92d0846521">
|
|
10
|
+
<path d="M 752.546875 242.269531 C 468.820312 242.269531 238.816406 472.273438 238.816406 756 C 238.816406 1039.726562 468.820312 1269.730469 752.546875 1269.730469 C 1036.269531 1269.730469 1266.277344 1039.726562 1266.277344 756 C 1266.277344 472.273438 1036.269531 242.269531 752.546875 242.269531 Z M 752.546875 242.269531 " clipRule="nonzero"/>
|
|
11
|
+
</clipPath>
|
|
12
|
+
<clipPath id="57e2b67e15">
|
|
13
|
+
<path d="M 0.816406 0.269531 L 1028.277344 0.269531 L 1028.277344 1027.730469 L 0.816406 1027.730469 Z M 0.816406 0.269531 " clipRule="nonzero"/>
|
|
14
|
+
</clipPath>
|
|
15
|
+
<clipPath id="54dc4f6b95">
|
|
16
|
+
<path d="M 514.546875 0.269531 C 230.820312 0.269531 0.816406 230.273438 0.816406 514 C 0.816406 797.726562 230.820312 1027.730469 514.546875 1027.730469 C 798.269531 1027.730469 1028.277344 797.726562 1028.277344 514 C 1028.277344 230.273438 798.269531 0.269531 514.546875 0.269531 Z M 514.546875 0.269531 " clipRule="nonzero"/>
|
|
17
|
+
</clipPath>
|
|
18
|
+
<clipPath id="3aa1ad9add">
|
|
19
|
+
<rect x="0" width="1029" y="0" height="1028"/>
|
|
20
|
+
</clipPath>
|
|
21
|
+
<clipPath id="eb7c52e539">
|
|
22
|
+
<path d="M 609.933594 78.660156 L 890.066406 78.660156 L 890.066406 221.339844 L 609.933594 221.339844 Z M 609.933594 78.660156 " clipRule="nonzero"/>
|
|
23
|
+
</clipPath>
|
|
24
|
+
<clipPath id="c9b3662033">
|
|
25
|
+
<path d="M 0.933594 0.660156 L 281.066406 0.660156 L 281.066406 143.339844 L 0.933594 143.339844 Z M 0.933594 0.660156 " clipRule="nonzero"/>
|
|
26
|
+
</clipPath>
|
|
27
|
+
<clipPath id="6515cab963">
|
|
28
|
+
<rect x="0" width="282" y="0" height="144"/>
|
|
29
|
+
</clipPath>
|
|
30
|
+
<clipPath id="1ef754e7ae">
|
|
31
|
+
<path d="M 612.480469 1290.730469 L 892.613281 1290.730469 L 892.613281 1433.40625 L 612.480469 1433.40625 Z M 612.480469 1290.730469 " clipRule="nonzero"/>
|
|
32
|
+
</clipPath>
|
|
33
|
+
<clipPath id="41e58767c8">
|
|
34
|
+
<path d="M 0.480469 0.730469 L 280.613281 0.730469 L 280.613281 143.40625 L 0.480469 143.40625 Z M 0.480469 0.730469 " clipRule="nonzero"/>
|
|
35
|
+
</clipPath>
|
|
36
|
+
<clipPath id="a6031379ab">
|
|
37
|
+
<rect x="0" width="281" y="0" height="144"/>
|
|
38
|
+
</clipPath>
|
|
39
|
+
<clipPath id="152c9d5943">
|
|
40
|
+
<path d="M 78.65625 615.925781 L 221.335938 615.925781 L 221.335938 896.0625 L 78.65625 896.0625 Z M 78.65625 615.925781 " clipRule="nonzero"/>
|
|
41
|
+
</clipPath>
|
|
42
|
+
<clipPath id="5952d3ff4b">
|
|
43
|
+
<path d="M 0.65625 0.925781 L 143.335938 0.925781 L 143.335938 281.0625 L 0.65625 281.0625 Z M 0.65625 0.925781 " clipRule="nonzero"/>
|
|
44
|
+
</clipPath>
|
|
45
|
+
<clipPath id="3f82992b69">
|
|
46
|
+
<rect x="0" width="144" y="0" height="282"/>
|
|
47
|
+
</clipPath>
|
|
48
|
+
<clipPath id="8b6b79df0f">
|
|
49
|
+
<path d="M 1283.519531 609.925781 L 1426.199219 609.925781 L 1426.199219 890.0625 L 1283.519531 890.0625 Z M 1283.519531 609.925781 " clipRule="nonzero"/>
|
|
50
|
+
</clipPath>
|
|
51
|
+
<clipPath id="dd0ced785d">
|
|
52
|
+
<path d="M 0.519531 0.925781 L 143.199219 0.925781 L 143.199219 281.0625 L 0.519531 281.0625 Z M 0.519531 0.925781 " clipRule="nonzero"/>
|
|
53
|
+
</clipPath>
|
|
54
|
+
<clipPath id="c975f1b69d">
|
|
55
|
+
<rect x="0" width="144" y="0" height="282"/>
|
|
56
|
+
</clipPath>
|
|
57
|
+
</defs>
|
|
58
|
+
<g clipPath="url(#3fdae0844f)">
|
|
59
|
+
<g clipPath="url(#92d0846521)">
|
|
60
|
+
<g transform="matrix(1, 0, 0, 1, 238, 242)">
|
|
61
|
+
<g clipPath="url(#3aa1ad9add)">
|
|
62
|
+
<g clipPath="url(#57e2b67e15)">
|
|
63
|
+
<g clipPath="url(#54dc4f6b95)">
|
|
64
|
+
<path fill="#000000" d="M 0.816406 0.269531 L 1028.277344 0.269531 L 1028.277344 1027.730469 L 0.816406 1027.730469 Z M 0.816406 0.269531 " fillOpacity="1" fillRule="nonzero"/>
|
|
65
|
+
</g>
|
|
66
|
+
</g>
|
|
67
|
+
</g>
|
|
68
|
+
</g>
|
|
69
|
+
</g>
|
|
70
|
+
</g>
|
|
71
|
+
<g clipPath="url(#eb7c52e539)">
|
|
72
|
+
<g transform="matrix(1, 0, 0, 1, 609, 78)">
|
|
73
|
+
<g clipPath="url(#6515cab963)">
|
|
74
|
+
<g clipPath="url(#c9b3662033)">
|
|
75
|
+
<path fill="#000000" d="M 0.933594 0.660156 L 281.273438 0.660156 L 281.273438 143.339844 L 0.933594 143.339844 Z M 0.933594 0.660156 " fillOpacity="1" fillRule="nonzero"/>
|
|
76
|
+
</g>
|
|
77
|
+
</g>
|
|
78
|
+
</g>
|
|
79
|
+
</g>
|
|
80
|
+
<g clipPath="url(#1ef754e7ae)">
|
|
81
|
+
<g transform="matrix(1, 0, 0, 1, 612, 1290)">
|
|
82
|
+
<g clipPath="url(#a6031379ab)">
|
|
83
|
+
<g clipPath="url(#41e58767c8)">
|
|
84
|
+
<path fill="#000000" d="M 0.480469 0.730469 L 280.820312 0.730469 L 280.820312 143.40625 L 0.480469 143.40625 Z M 0.480469 0.730469 " fillOpacity="1" fillRule="nonzero"/>
|
|
85
|
+
</g>
|
|
86
|
+
</g>
|
|
87
|
+
</g>
|
|
88
|
+
</g>
|
|
89
|
+
<g clipPath="url(#152c9d5943)">
|
|
90
|
+
<g transform="matrix(1, 0, 0, 1, 78, 615)">
|
|
91
|
+
<g clipPath="url(#3f82992b69)">
|
|
92
|
+
<g clipPath="url(#5952d3ff4b)">
|
|
93
|
+
<path fill="#000000" d="M 0.65625 281.0625 L 0.65625 0.722656 L 143.335938 0.722656 L 143.335938 281.0625 Z M 0.65625 281.0625 " fillOpacity="1" fillRule="nonzero"/>
|
|
94
|
+
</g>
|
|
95
|
+
</g>
|
|
96
|
+
</g>
|
|
97
|
+
</g>
|
|
98
|
+
<g clipPath="url(#8b6b79df0f)">
|
|
99
|
+
<g transform="matrix(1, 0, 0, 1, 1283, 609)">
|
|
100
|
+
<g clipPath="url(#c975f1b69d)">
|
|
101
|
+
<g clipPath="url(#dd0ced785d)">
|
|
102
|
+
<path fill="#000000" d="M 0.519531 281.0625 L 0.519531 0.722656 L 143.199219 0.722656 L 143.199219 281.0625 Z M 0.519531 281.0625 " fillOpacity="1" fillRule="nonzero"/>
|
|
103
|
+
</g>
|
|
104
|
+
</g>
|
|
105
|
+
</g>
|
|
106
|
+
</g>
|
|
107
|
+
</svg>)}/>);
|
|
108
|
+
};
|
|
@@ -12,10 +12,12 @@ import { Command, ZoomIn, ZoomOut } from "lucide-react";
|
|
|
12
12
|
import { Button, Flex, Radio, Slider, Tag, } from "antd";
|
|
13
13
|
import { getAttributeElement, getAttributeElements } from "./resize-element";
|
|
14
14
|
import { applyResizeToSvgElement, arrayToSvgPointsAttr, createTableGhost, getGlobalBBox, getRotation, getSvgElementSize, getTranslate, isClosingPolygon, normalizeAngle, pointsStringToArray, resizeBox, resizeSeatCircle, resizeSeatRectCircle, resizeSeatRectSquare, resizeSeatSide, resizeSeatSquare, stabilizeRotation, stabilizeTranslateOnRotate, updateManyComponents, updateSelectionBox, updateSelectionGuides, updateSingleComponent, } from "./utils";
|
|
15
|
+
import { getOS } from "../../utils/agent";
|
|
15
16
|
const toolElement = ["square", "circle", "table-seat-circle"];
|
|
16
17
|
const idSelectionBoxGhost = "selection-box-ghost";
|
|
17
18
|
const nameShapeSelectionBoxGhost = "selection-box";
|
|
18
19
|
const BoardTemplate = ({ refs, loadingRender, disabled = false, }) => {
|
|
20
|
+
const os = getOS();
|
|
19
21
|
const dispatch = useAppDispatch();
|
|
20
22
|
const backgroundColor = useAppSelector((state) => state.board.backgroundColor);
|
|
21
23
|
const selectedComponentProps = useAppSelector((state) => state.panel.selectedComponent);
|
|
@@ -1918,7 +1920,7 @@ const BoardTemplate = ({ refs, loadingRender, disabled = false, }) => {
|
|
|
1918
1920
|
alignItems: "center",
|
|
1919
1921
|
gap: "8px", // gap-2 = 0.5rem = 8px
|
|
1920
1922
|
borderTop: "1px solid #d1d5db", // gray-300
|
|
1921
|
-
}, children: ["Select", " ", _jsx(Tag, { color: isShiftPressed ? "red" : "lime", children: footerInfoList[hasSelectionBox ? 1 : 0]["title"] }), " ", footerInfoList[hasSelectionBox ? 1 : 0]["desc"], hasSelectionBox && (_jsxs(_Fragment, { children: [_jsx(Tag, { color: "lime", children: _jsxs(Flex, { children: [_jsx(Command, { size: 16 }), "D"] }) }), "to deselect"] })), " "] }), _jsx(TransformWrapper, { ref: transformRef,
|
|
1923
|
+
}, children: ["Select", " ", _jsx(Tag, { color: isShiftPressed ? "red" : "lime", children: footerInfoList[hasSelectionBox ? 1 : 0]["title"] }), " ", footerInfoList[hasSelectionBox ? 1 : 0]["desc"], hasSelectionBox && (_jsxs(_Fragment, { children: [_jsx(Tag, { color: "lime", children: _jsxs(Flex, { gap: 2, align: "center", children: [os === "mac" ? _jsx(Command, { size: 16 }) : "Ctrl", _jsx("span", { children: "D" })] }) }), "to deselect"] })), " "] }), _jsx(TransformWrapper, { ref: transformRef,
|
|
1922
1924
|
// limitToBounds={true}
|
|
1923
1925
|
panning: {
|
|
1924
1926
|
disabled: [
|
|
@@ -11,10 +11,12 @@ import { Command, ZoomIn, ZoomOut } from "lucide-react";
|
|
|
11
11
|
import { Button, Flex, Radio, Slider, Tag, } from "antd";
|
|
12
12
|
import { getAttributeElement, getAttributeElements } from "./resize-element";
|
|
13
13
|
import { applyResizeToSvgElement, arrayToSvgPointsAttr, createTableGhost, getGlobalBBox, getRotation, getSvgElementSize, getTranslate, isClosingPolygon, normalizeAngle, pointsStringToArray, resizeBox, resizeSeatCircle, resizeSeatRectCircle, resizeSeatRectSquare, resizeSeatSide, resizeSeatSquare, stabilizeRotation, stabilizeTranslateOnRotate, updateManyComponents, updateSelectionBox, updateSelectionGuides, updateSingleComponent, } from "./utils";
|
|
14
|
+
import { getOS } from "../../utils/agent";
|
|
14
15
|
const toolElement = ["square", "circle", "table-seat-circle"];
|
|
15
16
|
const idSelectionBoxGhost = "selection-box-ghost";
|
|
16
17
|
const nameShapeSelectionBoxGhost = "selection-box";
|
|
17
18
|
const BoardTemplate = ({ refs, loadingRender, disabled = false, }) => {
|
|
19
|
+
const os = getOS();
|
|
18
20
|
const dispatch = useAppDispatch();
|
|
19
21
|
const backgroundColor = useAppSelector((state) => state.board.backgroundColor);
|
|
20
22
|
const selectedComponentProps = useAppSelector((state) => state.panel.selectedComponent);
|
|
@@ -1945,8 +1947,9 @@ const BoardTemplate = ({ refs, loadingRender, disabled = false, }) => {
|
|
|
1945
1947
|
{footerInfoList[hasSelectionBox ? 1 : 0]["desc"]}
|
|
1946
1948
|
{hasSelectionBox && (<>
|
|
1947
1949
|
<Tag color="lime">
|
|
1948
|
-
<Flex>
|
|
1949
|
-
<Command size={16}/>
|
|
1950
|
+
<Flex gap={2} align="center">
|
|
1951
|
+
{os === "mac" ? <Command size={16}/> : "Ctrl"}
|
|
1952
|
+
<span>D</span>
|
|
1950
1953
|
</Flex>
|
|
1951
1954
|
</Tag>
|
|
1952
1955
|
to deselect
|
|
@@ -172,6 +172,6 @@ const TableEditor = (props) => {
|
|
|
172
172
|
switch: false,
|
|
173
173
|
drop: false,
|
|
174
174
|
rightClick: false,
|
|
175
|
-
} }, `${viewOnly}`) })) : (_jsxs("div", { className: "w-full h-full flex relative", children: [loading && !isPreview && (_jsx("div", { className: "absolute z-10 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-opacity-50 bg-white w-full h-full flex items-center justify-center", children: (loadingRender === null || loadingRender === void 0 ? void 0 : loadingRender.element) || _jsx(Spin, {}) })), _jsx("div", { className: "absolute top-0 left-0 w-full bg-white
|
|
175
|
+
} }, `${viewOnly}`) })) : (_jsxs("div", { className: "w-full h-full flex relative", children: [loading && !isPreview && (_jsx("div", { className: "absolute z-10 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-opacity-50 bg-white w-full h-full flex items-center justify-center", children: (loadingRender === null || loadingRender === void 0 ? void 0 : loadingRender.element) || _jsx(Spin, {}) })), _jsx("div", { className: "absolute top-0 left-0 w-full bg-white py-[20px] z-[51] border-b border-gray-200", children: props.header ? (props.header) : (_jsx("div", { className: "text-xl font-bold h-[38px] leading-[38px] flex ", children: "Logo Navbar" })) }), _jsx(SideTool, { dragOnly: dragOnly, deleteAutorized: deleteAutorized }), _jsx(Board, { refs: refsBoard, loadingRender: props === null || props === void 0 ? void 0 : props.loadingRender, disabled: props === null || props === void 0 ? void 0 : props.disabledView }, `${viewOnly}`), _jsx(ControlPanels, { action: props.action, transform: (_a = refsBoard === null || refsBoard === void 0 ? void 0 : refsBoard.current) === null || _a === void 0 ? void 0 : _a.transformRef })] }, `${viewOnly}`)) }) }));
|
|
176
176
|
};
|
|
177
177
|
export default TableEditor;
|
|
@@ -179,9 +179,9 @@ const TableEditor = (props) => {
|
|
|
179
179
|
{loading && !isPreview && (<div className="absolute z-10 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-opacity-50 bg-white w-full h-full flex items-center justify-center">
|
|
180
180
|
{(loadingRender === null || loadingRender === void 0 ? void 0 : loadingRender.element) || <Spin />}
|
|
181
181
|
</div>)}
|
|
182
|
-
<div className="absolute top-0 left-0 w-full bg-white
|
|
182
|
+
<div className="absolute top-0 left-0 w-full bg-white py-[20px] z-[51] border-b border-gray-200">
|
|
183
183
|
{props.header ? (props.header) : (<div className="text-xl font-bold h-[38px] leading-[38px] flex ">
|
|
184
|
-
|
|
184
|
+
Logo Navbar
|
|
185
185
|
</div>)}
|
|
186
186
|
</div>
|
|
187
187
|
<SideTool dragOnly={dragOnly} deleteAutorized={deleteAutorized}/>
|
|
@@ -237,6 +237,9 @@ const ControlPanels = (props) => {
|
|
|
237
237
|
};
|
|
238
238
|
const handleChangeComponent = (values, allValues) => {
|
|
239
239
|
var _a, _b, _c;
|
|
240
|
+
if (values === null || values === void 0 ? void 0 : values.src) {
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
240
243
|
const { shape } = allValues, restProps = __rest(allValues, ["shape"]);
|
|
241
244
|
const newValues = createShape(shape, restProps, selectedComponent, values);
|
|
242
245
|
if (selectedComponent) {
|
|
@@ -330,7 +333,6 @@ const ControlPanels = (props) => {
|
|
|
330
333
|
var _a, _b, _c;
|
|
331
334
|
e.stopPropagation();
|
|
332
335
|
const name = e.target.name;
|
|
333
|
-
const values = e.target.value;
|
|
334
336
|
const placeholder = (_c = (_b = (_a = placeholders === null || placeholders === void 0 ? void 0 : placeholders[name]) === null || _a === void 0 ? void 0 : _a.split(",")) === null || _b === void 0 ? void 0 : _b.map(Number)) === null || _c === void 0 ? void 0 : _c.filter((item) => !_.isNaN(item));
|
|
335
337
|
const averageValuePlaceHolder = (placeholder === null || placeholder === void 0 ? void 0 : placeholder.reduce((a, b) => a + b, 0)) / (placeholder === null || placeholder === void 0 ? void 0 : placeholder.length);
|
|
336
338
|
const value = Math.round(averageValuePlaceHolder);
|
|
@@ -236,6 +236,9 @@ const ControlPanels = (props) => {
|
|
|
236
236
|
};
|
|
237
237
|
const handleChangeComponent = (values, allValues) => {
|
|
238
238
|
var _a, _b, _c;
|
|
239
|
+
if (values === null || values === void 0 ? void 0 : values.src) {
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
239
242
|
const { shape } = allValues, restProps = __rest(allValues, ["shape"]);
|
|
240
243
|
const newValues = createShape(shape, restProps, selectedComponent, values);
|
|
241
244
|
if (selectedComponent) {
|
|
@@ -332,7 +335,6 @@ const ControlPanels = (props) => {
|
|
|
332
335
|
var _a, _b, _c;
|
|
333
336
|
e.stopPropagation();
|
|
334
337
|
const name = e.target.name;
|
|
335
|
-
const values = e.target.value;
|
|
336
338
|
const placeholder = (_c = (_b = (_a = placeholders === null || placeholders === void 0 ? void 0 : placeholders[name]) === null || _a === void 0 ? void 0 : _a.split(",")) === null || _b === void 0 ? void 0 : _b.map(Number)) === null || _c === void 0 ? void 0 : _c.filter((item) => !_.isNaN(item));
|
|
337
339
|
const averageValuePlaceHolder = (placeholder === null || placeholder === void 0 ? void 0 : placeholder.reduce((a, b) => a + b, 0)) / (placeholder === null || placeholder === void 0 ? void 0 : placeholder.length);
|
|
338
340
|
const value = Math.round(averageValuePlaceHolder);
|
|
@@ -39,6 +39,6 @@ const PolygonTool = () => {
|
|
|
39
39
|
if (Number.isNaN(num))
|
|
40
40
|
return 0;
|
|
41
41
|
return Math.min(360, Math.max(0, num));
|
|
42
|
-
} }) })] }), _jsx(Button, { type: "
|
|
42
|
+
} }) })] }), _jsx(Button, { type: "primary", onClick: deleteText, className: "w-full", children: "Delete" })] }));
|
|
43
43
|
};
|
|
44
44
|
export default PolygonTool;
|
|
@@ -38,7 +38,7 @@ const SelectToolForm = ({ action, tranform }) => {
|
|
|
38
38
|
};
|
|
39
39
|
const renderSelectionComponent = () => {
|
|
40
40
|
if (selectedGroup) {
|
|
41
|
-
return _jsx(SelectedGroup, {});
|
|
41
|
+
return _jsx(SelectedGroup, { action: action });
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
return (_jsxs("div", { className: "flex flex-col gap-2", children: [renderComponent(), renderSelectionComponent()] }));
|