seat-editor 1.2.20 → 1.2.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +8 -3
  2. package/dist/app/layout.d.ts +1 -1
  3. package/dist/app/new-board/page.d.ts +1 -1
  4. package/dist/app/old-board/page.d.ts +1 -2
  5. package/dist/app/only-view/constant.d.ts +18 -20
  6. package/dist/app/only-view/constant.js +1307 -1385
  7. package/dist/app/only-view/page.d.ts +1 -1
  8. package/dist/app/page.d.ts +1 -1
  9. package/dist/components/button-tools/index.d.ts +1 -1
  10. package/dist/components/form-tools/label.d.ts +1 -1
  11. package/dist/components/form-tools/shape.d.ts +1 -1
  12. package/dist/components/input/number-indicator.d.ts +1 -1
  13. package/dist/components/layer/index.d.ts +1 -1
  14. package/dist/components/layer/index.js +3 -3
  15. package/dist/components/lib/index.d.ts +1 -1
  16. package/dist/components/modal-preview/index.d.ts +1 -1
  17. package/dist/features/board/board-slice.js +1 -1
  18. package/dist/features/board/index.d.ts +1 -1
  19. package/dist/features/board/index.js +21 -1
  20. package/dist/features/board/index.jsx +20 -0
  21. package/dist/features/navbar/index.d.ts +1 -1
  22. package/dist/features/package/index.d.ts +8 -1
  23. package/dist/features/package/index.js +13 -6
  24. package/dist/features/package/index.jsx +6 -5
  25. package/dist/features/panel/index.d.ts +10 -1
  26. package/dist/features/panel/index.js +5 -5
  27. package/dist/features/panel/index.jsx +5 -5
  28. package/dist/features/panel/select-tool.d.ts +1 -1
  29. package/dist/features/panel/square-circle-tool.d.ts +1 -1
  30. package/dist/features/panel/table-seat-circle.d.ts +1 -1
  31. package/dist/features/panel/text-tool.d.ts +1 -1
  32. package/dist/features/panel/upload-tool.d.ts +8 -1
  33. package/dist/features/panel/upload-tool.js +94 -38
  34. package/dist/features/panel/upload-tool.jsx +94 -38
  35. package/dist/features/side-tool/index.d.ts +1 -1
  36. package/dist/features/view/index.d.ts +1 -1
  37. package/dist/features/view/index.js +17 -7
  38. package/dist/features/view/index.jsx +3 -3
  39. package/dist/provider/redux-provider.d.ts +1 -1
  40. package/dist/provider/store-provider.d.ts +1 -1
  41. package/package.json +5 -2
package/README.md CHANGED
@@ -95,8 +95,13 @@ export default OnlyView;
95
95
  | `selectedTableColor` | `string` | Color value for highlighting selected components. |
96
96
  | `colorMatchKey` | `{ color: string, key: string }[]` | Array to match status keys with specific colors. |
97
97
  | `statusKey` | `string` | Key name used from each component to determine its current status. |
98
-
99
- ## Comming SOOON!!
100
- - 🎨 actions upload image
98
+ | `action` | `File` | You can put logic to this props|
99
+ | `mappingProps` | `any` | responseMapping?: {
100
+ status: string;
101
+ message: string;
102
+ data: string;
103
+ src: string;
104
+ };|
105
+
101
106
 
102
107
 
@@ -3,4 +3,4 @@ import "./globals.css";
3
3
  export declare const metadata: Metadata;
4
4
  export default function RootLayout({ children, }: Readonly<{
5
5
  children: React.ReactNode;
6
- }>): import("react").JSX.Element;
6
+ }>): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export default function NewBoard(): import("react").JSX.Element;
1
+ export default function NewBoard(): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- import React from "react";
2
- declare const SeatEditor: () => React.JSX.Element;
1
+ declare const SeatEditor: () => import("react/jsx-runtime").JSX.Element;
3
2
  export default SeatEditor;
@@ -18,25 +18,23 @@ export declare const dummyImage: {
18
18
  }[];
19
19
  }[];
20
20
  export declare const dataDummy: {
21
- status: number;
22
- properties: {
23
- x: number;
21
+ x: number;
22
+ y: number;
23
+ width: number;
24
+ height: number;
25
+ shape: string;
26
+ id: number;
27
+ fill: string;
28
+ rotation: number;
29
+ seatCount: number;
30
+ text: string;
31
+ labels: ({
32
+ label: string;
33
+ fontSize: number;
34
+ y: number;
35
+ } | {
36
+ label: string;
24
37
  y: number;
25
- width: number;
26
- height: number;
27
- shape: string;
28
- id: number;
29
- fill: string;
30
- rotation: number;
31
- seatCount: number;
32
- text: string;
33
- opacity: number;
34
- labels: {
35
- label: string;
36
- fontColor: string;
37
- x: number;
38
- fontSize: number;
39
- y: number;
40
- }[];
41
- };
38
+ fontSize?: undefined;
39
+ })[];
42
40
  }[];