@m3ui-vue/m3ui-vue 1.2.2 → 1.3.1

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 (241) hide show
  1. package/dist/API.md +3010 -376
  2. package/dist/MButton-Bl_BSUep.js +172 -0
  3. package/dist/MButton-Bl_BSUep.js.map +1 -0
  4. package/dist/MDialog-D_Yik8ou.js +173 -0
  5. package/dist/MDialog-D_Yik8ou.js.map +1 -0
  6. package/dist/MIconButton-DoNotQ9v.js +282 -0
  7. package/dist/MIconButton-DoNotQ9v.js.map +1 -0
  8. package/dist/MListItem-BxifHJdU.js +824 -0
  9. package/dist/MListItem-BxifHJdU.js.map +1 -0
  10. package/dist/MLoadingIndicator-BxbFhSX6.js +115 -0
  11. package/dist/MLoadingIndicator-BxbFhSX6.js.map +1 -0
  12. package/dist/MMenuItem-Bih0h4-n.js +604 -0
  13. package/dist/MMenuItem-Bih0h4-n.js.map +1 -0
  14. package/dist/MProgressBar-BCoruxA-.js +184 -0
  15. package/dist/MProgressBar-BCoruxA-.js.map +1 -0
  16. package/dist/MSeekBar-BeN9QcB3.js +435 -0
  17. package/dist/MSeekBar-BeN9QcB3.js.map +1 -0
  18. package/dist/MSegmentedButton-DL9JtJFX.js +65 -0
  19. package/dist/MSegmentedButton-DL9JtJFX.js.map +1 -0
  20. package/dist/MSlider-BVSbJlGS.js +691 -0
  21. package/dist/MSlider-BVSbJlGS.js.map +1 -0
  22. package/dist/MSpinner-C2SUnWk4.js +65 -0
  23. package/dist/MSpinner-C2SUnWk4.js.map +1 -0
  24. package/dist/MTextField-CEkWSZ2v.js +296 -0
  25. package/dist/MTextField-CEkWSZ2v.js.map +1 -0
  26. package/dist/MTooltip-CodJGEO-.js +756 -0
  27. package/dist/MTooltip-CodJGEO-.js.map +1 -0
  28. package/dist/_storageKeys-CYXsUBwK.js +18 -0
  29. package/dist/_storageKeys-CYXsUBwK.js.map +1 -0
  30. package/dist/_useEscapeStack-CjndQhqg.js +19 -0
  31. package/dist/_useEscapeStack-CjndQhqg.js.map +1 -0
  32. package/dist/api.json +1 -1
  33. package/dist/chart.js +1 -1
  34. package/dist/code-editor.js +1 -1
  35. package/dist/components/MAudioPlayer.vue.d.ts +115 -0
  36. package/dist/components/MBadge.vue.d.ts +1 -1
  37. package/dist/components/MBottomSheetScaffold.vue.d.ts +1 -1
  38. package/dist/components/MBox.vue.d.ts +1 -1
  39. package/dist/components/MButton.vue.d.ts +1 -1
  40. package/dist/components/MConfirmDialog.vue.d.ts +1 -1
  41. package/dist/components/MCopyButton.vue.d.ts +2 -2
  42. package/dist/components/MDataTable.vue.d.ts +2 -2
  43. package/dist/components/MDialog.vue.d.ts +2 -2
  44. package/dist/components/MDivider.vue.d.ts +1 -1
  45. package/dist/components/MDragHandle.vue.d.ts +1 -1
  46. package/dist/components/MDrawCanvas.vue.d.ts +150 -0
  47. package/dist/components/MDrawLayers.vue.d.ts +3 -0
  48. package/dist/components/MDrawToolbar.vue.d.ts +34 -0
  49. package/dist/components/MExportButton.vue.d.ts +1 -1
  50. package/dist/components/MFab.vue.d.ts +2 -2
  51. package/dist/components/MFabMenu.vue.d.ts +2 -2
  52. package/dist/components/MFixed.vue.d.ts +1 -1
  53. package/dist/components/MFlex.vue.d.ts +2 -2
  54. package/dist/components/MFloorPlan.vue.d.ts +248 -0
  55. package/dist/components/MFloorPlanInspector.vue.d.ts +56 -0
  56. package/dist/components/MFloorPlanToolbar.vue.d.ts +51 -0
  57. package/dist/components/MFlow.vue.d.ts +318 -0
  58. package/dist/components/MFlowControls.vue.d.ts +33 -0
  59. package/dist/components/MFlowHandle.vue.d.ts +16 -0
  60. package/dist/components/MFlowMinimap.vue.d.ts +22 -0
  61. package/dist/components/MFlowNode.vue.d.ts +35 -0
  62. package/dist/components/MGantt.vue.d.ts +141 -0
  63. package/dist/components/MGanttControls.vue.d.ts +32 -0
  64. package/dist/components/MIconButton.vue.d.ts +3 -1
  65. package/dist/components/MImageCropper.vue.d.ts +110 -0
  66. package/dist/components/MInfiniteScroll.vue.d.ts +1 -1
  67. package/dist/components/MLightbox.vue.d.ts +2 -2
  68. package/dist/components/MList.vue.d.ts +1 -1
  69. package/dist/components/MLoadingOverlay.vue.d.ts +1 -1
  70. package/dist/components/MMapControl.vue.d.ts +1 -1
  71. package/dist/components/MMapSearch.vue.d.ts +1 -1
  72. package/dist/components/MMaskField.vue.d.ts +12 -1
  73. package/dist/components/MMenu.vue.d.ts +1 -1
  74. package/dist/components/MNavigationDrawer.vue.d.ts +1 -1
  75. package/dist/components/MNumberField.vue.d.ts +11 -2
  76. package/dist/components/MPdfViewer.vue.d.ts +174 -0
  77. package/dist/components/MPullToRefresh.vue.d.ts +1 -1
  78. package/dist/components/MResourceTimeline.vue.d.ts +149 -0
  79. package/dist/components/MScheduler.vue.d.ts +3 -3
  80. package/dist/components/MScheme.vue.d.ts +1 -1
  81. package/dist/components/MSearchField.vue.d.ts +1 -1
  82. package/dist/components/MSeekBar.vue.d.ts +1 -1
  83. package/dist/components/MSimpleCarousel.vue.d.ts +1 -1
  84. package/dist/components/MSkeleton.vue.d.ts +1 -1
  85. package/dist/components/MSlider.vue.d.ts +2 -2
  86. package/dist/components/MSparkline.vue.d.ts +1 -1
  87. package/dist/components/MSplitter.vue.d.ts +1 -1
  88. package/dist/components/MStack.vue.d.ts +2 -2
  89. package/dist/components/MSwipeToDismiss.vue.d.ts +1 -1
  90. package/dist/components/MSwitch.vue.d.ts +1 -1
  91. package/dist/components/MTable.vue.d.ts +1 -1
  92. package/dist/components/MTagInput.vue.d.ts +12 -1
  93. package/dist/components/MTextField.vue.d.ts +13 -2
  94. package/dist/components/MToolbar.vue.d.ts +1 -1
  95. package/dist/components/MTree.vue.d.ts +2 -2
  96. package/dist/components/MVideoPlayer.vue.d.ts +253 -0
  97. package/dist/components/MVirtualTable.vue.d.ts +1 -1
  98. package/dist/components/MWindow.vue.d.ts +3 -3
  99. package/dist/components/_MFlowEdge.vue.d.ts +9 -0
  100. package/dist/components/_MFlowEdgeLabel.vue.d.ts +9 -0
  101. package/dist/components/_MFlowNodeShell.vue.d.ts +9 -0
  102. package/dist/components/_MPdfPage.vue.d.ts +76 -0
  103. package/dist/components/_MTimeBackground.vue.d.ts +14 -0
  104. package/dist/components/_MTimeHeader.vue.d.ts +20 -0
  105. package/dist/composables/_flowPanel.d.ts +2 -0
  106. package/dist/composables/_flowSlot.d.ts +5 -0
  107. package/dist/composables/_ganttTime.d.ts +41 -0
  108. package/dist/composables/_useTimeAxis.d.ts +90 -0
  109. package/dist/composables/drawGeometry.d.ts +119 -0
  110. package/dist/composables/flowFormats.d.ts +79 -0
  111. package/dist/composables/flowLayout.d.ts +45 -0
  112. package/dist/composables/flowPaths.d.ts +53 -0
  113. package/dist/composables/ganttFormats.d.ts +52 -0
  114. package/dist/composables/ganttSchedule.d.ts +99 -0
  115. package/dist/composables/useDrawing.d.ts +44 -0
  116. package/dist/composables/useFloorPlan.d.ts +58 -0
  117. package/dist/composables/useFlow.d.ts +266 -0
  118. package/dist/composables/useGantt.d.ts +87 -0
  119. package/dist/composables/useLocale.d.ts +204 -0
  120. package/dist/composables/useMediaPlayer.d.ts +101 -0
  121. package/dist/composables/usePdf.d.ts +119 -0
  122. package/dist/composables/useResourceTimeline.d.ts +70 -0
  123. package/dist/draw.d.ts +7 -0
  124. package/dist/draw.js +1702 -0
  125. package/dist/draw.js.map +1 -0
  126. package/dist/flow.d.ts +14 -0
  127. package/dist/flow.js +3547 -0
  128. package/dist/flow.js.map +1 -0
  129. package/dist/flowPaths-CUc6X373.js +161 -0
  130. package/dist/flowPaths-CUc6X373.js.map +1 -0
  131. package/dist/gantt.d.ts +12 -0
  132. package/dist/gantt.js +3575 -0
  133. package/dist/gantt.js.map +1 -0
  134. package/dist/index.d.ts +9 -0
  135. package/dist/locales/index.js +1435 -7
  136. package/dist/locales/index.js.map +1 -1
  137. package/dist/m3ui-vue.css +1 -1
  138. package/dist/m3ui.js +8248 -7637
  139. package/dist/m3ui.js.map +1 -1
  140. package/dist/map.js +113 -108
  141. package/dist/map.js.map +1 -1
  142. package/dist/media.d.ts +5 -0
  143. package/dist/media.js +1311 -0
  144. package/dist/media.js.map +1 -0
  145. package/dist/pdf.d.ts +4 -0
  146. package/dist/pdf.js +1871 -0
  147. package/dist/pdf.js.map +1 -0
  148. package/dist/rich-text-editor.js +28 -26
  149. package/dist/rich-text-editor.js.map +1 -1
  150. package/dist/styles.css +1 -1
  151. package/dist/{useLocale-JYxDDeXC.js → useLocale-CaWwi-b6.js} +206 -2
  152. package/dist/useLocale-CaWwi-b6.js.map +1 -0
  153. package/dist/{useThemeTokens-y0HZpyhL.js → useThemeTokens-DQQcaWbE.js} +40 -54
  154. package/dist/useThemeTokens-DQQcaWbE.js.map +1 -0
  155. package/package.json +29 -5
  156. package/src/__tests__/MAudioPlayer.test.ts +75 -0
  157. package/src/__tests__/MDrawCanvas.test.ts +118 -0
  158. package/src/__tests__/MFloorPlan.test.ts +299 -0
  159. package/src/__tests__/MFlow.test.ts +590 -0
  160. package/src/__tests__/MGantt.test.ts +130 -0
  161. package/src/__tests__/MImageCropper.test.ts +89 -0
  162. package/src/__tests__/MPdfViewer.test.ts +235 -0
  163. package/src/__tests__/MResourceTimeline.test.ts +102 -0
  164. package/src/__tests__/MVideoPlayer.test.ts +201 -0
  165. package/src/__tests__/drawGeometry.test.ts +58 -0
  166. package/src/__tests__/fieldExpose.test.ts +30 -0
  167. package/src/__tests__/flowFormats.test.ts +185 -0
  168. package/src/__tests__/flowLayout.test.ts +113 -0
  169. package/src/__tests__/ganttFormats.test.ts +76 -0
  170. package/src/__tests__/ganttSchedule.test.ts +136 -0
  171. package/src/__tests__/pdfMock.ts +83 -0
  172. package/src/__tests__/useMediaPlayer.test.ts +182 -0
  173. package/src/__tests__/usePdf.test.ts +102 -0
  174. package/src/components/MAudioPlayer.vue +319 -0
  175. package/src/components/MDrawCanvas.vue +819 -0
  176. package/src/components/MDrawLayers.vue +114 -0
  177. package/src/components/MDrawToolbar.vue +171 -0
  178. package/src/components/MFloorPlan.vue +1080 -0
  179. package/src/components/MFloorPlanInspector.vue +169 -0
  180. package/src/components/MFloorPlanToolbar.vue +128 -0
  181. package/src/components/MFlow.vue +2060 -0
  182. package/src/components/MFlowControls.vue +110 -0
  183. package/src/components/MFlowHandle.vue +60 -0
  184. package/src/components/MFlowMinimap.vue +134 -0
  185. package/src/components/MFlowNode.vue +98 -0
  186. package/src/components/MGantt.vue +1609 -0
  187. package/src/components/MGanttControls.vue +77 -0
  188. package/src/components/MIconButton.vue +3 -1
  189. package/src/components/MImageCropper.vue +507 -0
  190. package/src/components/MMaskField.vue +13 -0
  191. package/src/components/MNumberField.vue +13 -0
  192. package/src/components/MPdfViewer.vue +1270 -0
  193. package/src/components/MResourceTimeline.vue +1020 -0
  194. package/src/components/MTagInput.vue +13 -0
  195. package/src/components/MTextField.vue +16 -0
  196. package/src/components/MVideoPlayer.vue +839 -0
  197. package/src/components/_MFlowEdge.vue +100 -0
  198. package/src/components/_MFlowEdgeLabel.vue +56 -0
  199. package/src/components/_MFlowNodeShell.vue +111 -0
  200. package/src/components/_MPdfPage.vue +456 -0
  201. package/src/components/_MTimeBackground.vue +16 -0
  202. package/src/components/_MTimeHeader.vue +31 -0
  203. package/src/composables/_flowPanel.ts +13 -0
  204. package/src/composables/_flowSlot.ts +6 -0
  205. package/src/composables/_ganttTime.ts +200 -0
  206. package/src/composables/_useTimeAxis.ts +224 -0
  207. package/src/composables/drawGeometry.ts +405 -0
  208. package/src/composables/flowFormats.ts +916 -0
  209. package/src/composables/flowLayout.ts +297 -0
  210. package/src/composables/flowPaths.ts +239 -0
  211. package/src/composables/ganttFormats.ts +366 -0
  212. package/src/composables/ganttSchedule.ts +403 -0
  213. package/src/composables/useDrawing.ts +53 -0
  214. package/src/composables/useFloorPlan.ts +73 -0
  215. package/src/composables/useFlow.ts +250 -0
  216. package/src/composables/useGantt.ts +92 -0
  217. package/src/composables/useLocale.ts +410 -0
  218. package/src/composables/useMediaPlayer.ts +406 -0
  219. package/src/composables/usePdf.ts +456 -0
  220. package/src/composables/useResourceTimeline.ts +76 -0
  221. package/src/draw.ts +25 -0
  222. package/src/flow.ts +26 -0
  223. package/src/gantt.ts +12 -0
  224. package/src/index.ts +9 -0
  225. package/src/locales/de.ts +204 -0
  226. package/src/locales/es.ts +204 -0
  227. package/src/locales/fr.ts +204 -0
  228. package/src/locales/ja.ts +204 -0
  229. package/src/locales/ko.ts +204 -0
  230. package/src/locales/pt.ts +204 -0
  231. package/src/locales/zh.ts +204 -0
  232. package/src/media.ts +5 -0
  233. package/src/pdf.ts +15 -0
  234. package/dist/MMenuItem-D4Gx_l3F.js +0 -929
  235. package/dist/MMenuItem-D4Gx_l3F.js.map +0 -1
  236. package/dist/MSlider-Dx_S3vJ9.js +0 -1506
  237. package/dist/MSlider-Dx_S3vJ9.js.map +0 -1
  238. package/dist/MTextField-Bz8JIsnl.js +0 -633
  239. package/dist/MTextField-Bz8JIsnl.js.map +0 -1
  240. package/dist/useLocale-JYxDDeXC.js.map +0 -1
  241. package/dist/useThemeTokens-y0HZpyhL.js.map +0 -1
@@ -0,0 +1,248 @@
1
+ import { type FloorItemKind, type FloorPlanContext } from '../composables/useFloorPlan';
2
+ /** A table on the plan, in plan units (not pixels) */
3
+ export interface FloorTable {
4
+ id: string | number;
5
+ label: string;
6
+ x: number;
7
+ y: number;
8
+ shape?: 'round' | 'square' | 'rect';
9
+ seats?: number;
10
+ /** Size in plan units (default: from the shape and the seats) */
11
+ width?: number;
12
+ height?: number;
13
+ /** Degrees */
14
+ rotation?: number;
15
+ /** A key of `statuses` */
16
+ status?: string;
17
+ /** A small badge: minutes seated, the total, a count… */
18
+ badge?: string | number;
19
+ data?: Record<string, unknown>;
20
+ }
21
+ /** Tables joined together (drawn as one group) */
22
+ export interface FloorMerge {
23
+ id: string | number;
24
+ tables: (string | number)[];
25
+ label?: string;
26
+ }
27
+ /** A zone of the room (terrace, main hall, VIP): a rectangle behind the tables */
28
+ export interface FloorArea {
29
+ id: string | number;
30
+ label?: string;
31
+ x: number;
32
+ y: number;
33
+ width: number;
34
+ height: number;
35
+ /** An M3 color role or any CSS color */
36
+ color?: string;
37
+ }
38
+ /** A wall: a line through its points */
39
+ export interface FloorWall {
40
+ id: string | number;
41
+ points: [number, number][];
42
+ thickness?: number;
43
+ }
44
+ /** Something on the plan that isn't a table: a door, a window, a plant, a column, the register, a text label… */
45
+ export interface FloorDecor {
46
+ id: string | number;
47
+ /** A built-in kind, or one of yours from `decorKinds` */
48
+ kind: FloorDecorBuiltin | (string & {});
49
+ x: number;
50
+ y: number;
51
+ width?: number;
52
+ height?: number;
53
+ rotation?: number;
54
+ /** The text of a label (or a caption under the others) */
55
+ label?: string;
56
+ }
57
+ export type FloorDecorBuiltin = 'door' | 'window' | 'plant' | 'column' | 'restroom' | 'kitchen' | 'register' | 'stairs' | 'label';
58
+ /** How a decor kind looks: its default size, an icon, a shape and fill; yours or a built-in one restyled */
59
+ export interface FloorDecorKind {
60
+ /** Name, for the accessible label */
61
+ label?: string;
62
+ icon?: string;
63
+ width: number;
64
+ height: number;
65
+ /** `box` a rounded rectangle, `round` a circle, `bar` a thin slab (doors, windows), `text` the item's label only */
66
+ shape?: 'box' | 'round' | 'bar' | 'text';
67
+ /** Fill: an M3 color role (`surface`, `primary`…) or any CSS color */
68
+ color?: string;
69
+ }
70
+ /** What's picked on the plan besides tables: a zone, a wall (and one of its corners) or a decor item */
71
+ export type FloorPick = {
72
+ kind: 'area' | 'wall' | 'decor';
73
+ id: string | number;
74
+ vertex?: number;
75
+ } | null;
76
+ /** How a status looks: an M3 color role ('primary', 'tertiary', 'error'…) or any CSS color, an icon, a name */
77
+ export interface FloorStatus {
78
+ label: string;
79
+ color: string;
80
+ icon?: string;
81
+ }
82
+ declare const _default: typeof __VLS_export;
83
+ export default _default;
84
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
85
+ /** The plan's size in plan units */
86
+ width?: number;
87
+ height?: number;
88
+ /** Status keys to their look */
89
+ statuses?: Record<string, FloorStatus>;
90
+ /** Drag tables around; otherwise a click opens one */
91
+ editable?: boolean;
92
+ /** Grid step in plan units (0: no snapping) */
93
+ grid?: number;
94
+ /** Draw the grid while editing */
95
+ showGrid?: boolean;
96
+ /** Draw chairs from `seats` */
97
+ chairs?: boolean;
98
+ /** Decor kinds of yours, or the built-in ones restyled (merged over them by name) */
99
+ decorKinds?: Record<string, FloorDecorKind>;
100
+ /** Outside editing, what a click on a table selects: nothing, one, or several (toggling; to merge them) */
101
+ selectable?: "none" | "single" | "multiple";
102
+ /** Whether these tables may be merged: `true`, or `false` / a reason to refuse (shown by `merge-refused`) */
103
+ canMerge?: (ids: (string | number)[]) => boolean | string;
104
+ /** Accessible name */
105
+ label?: string;
106
+ } & {
107
+ tables?: FloorTable[];
108
+ merges?: FloorMerge[];
109
+ selection?: (string | number)[];
110
+ areas?: FloorArea[];
111
+ walls?: FloorWall[];
112
+ decor?: FloorDecor[];
113
+ /** While editing: `select` moves things, `wall` draws a wall (click each corner, double-click or Enter to end), `area` drags out a zone */
114
+ tool?: "select" | "wall" | "area";
115
+ /** While editing: the zone, wall (and corner) or decor item picked, for an inspector of your own */
116
+ picked?: FloorPick;
117
+ }, {
118
+ /** Everything above and more, for MFloorPlanToolbar / MFloorPlanInspector outside the plan (`:plan="plan"`) */
119
+ context: FloorPlanContext;
120
+ addTable: (t?: Partial<FloorTable>) => FloorTable;
121
+ addDecor: (kind: string, d?: Partial<FloorDecor>) => FloorDecor;
122
+ update: (kind: FloorItemKind, id: string | number, patch: Record<string, unknown>) => void;
123
+ removeSelected: () => void;
124
+ /** Merge tables (default: the selection) / split a merge (by its id or a table's) */
125
+ merge: (ids?: (string | number)[], label?: string) => FloorMerge | null;
126
+ split: (idOrTable: string | number) => void;
127
+ /** Undo / redo the plan's own edits (also Ctrl+Z, Ctrl+Shift+Z or Ctrl+Y) */
128
+ undo: () => void;
129
+ redo: () => void;
130
+ canUndo: import("vue").ComputedRef<boolean>;
131
+ canRedo: import("vue").ComputedRef<boolean>;
132
+ /** Copy the selected tables, or the picked zone or decor (also Ctrl+D) */
133
+ duplicate: () => void;
134
+ /** Remove tables, taking them out of their merges (Delete does it for the selection) */
135
+ removeTables: (ids: (string | number)[]) => void;
136
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
137
+ split: (merge: FloorMerge) => any;
138
+ move: (moved: {
139
+ id: string | number;
140
+ x: number;
141
+ y: number;
142
+ }[]) => any;
143
+ "update:tool": (value: "area" | "select" | "wall") => any;
144
+ "update:selection": (value: (string | number)[]) => any;
145
+ "update:tables": (value: FloorTable[]) => any;
146
+ "update:merges": (value: FloorMerge[]) => any;
147
+ "update:areas": (value: FloorArea[]) => any;
148
+ "update:walls": (value: FloorWall[]) => any;
149
+ "update:decor": (value: FloorDecor[]) => any;
150
+ "update:picked": (value: FloorPick) => any;
151
+ merge: (merge: FloorMerge) => any;
152
+ "merge-refused": (ids: (string | number)[], reason: string) => any;
153
+ "table-click": (table: FloorTable, event: MouseEvent | KeyboardEvent) => any;
154
+ }, string, import("vue").PublicProps, Readonly<{
155
+ /** The plan's size in plan units */
156
+ width?: number;
157
+ height?: number;
158
+ /** Status keys to their look */
159
+ statuses?: Record<string, FloorStatus>;
160
+ /** Drag tables around; otherwise a click opens one */
161
+ editable?: boolean;
162
+ /** Grid step in plan units (0: no snapping) */
163
+ grid?: number;
164
+ /** Draw the grid while editing */
165
+ showGrid?: boolean;
166
+ /** Draw chairs from `seats` */
167
+ chairs?: boolean;
168
+ /** Decor kinds of yours, or the built-in ones restyled (merged over them by name) */
169
+ decorKinds?: Record<string, FloorDecorKind>;
170
+ /** Outside editing, what a click on a table selects: nothing, one, or several (toggling; to merge them) */
171
+ selectable?: "none" | "single" | "multiple";
172
+ /** Whether these tables may be merged: `true`, or `false` / a reason to refuse (shown by `merge-refused`) */
173
+ canMerge?: (ids: (string | number)[]) => boolean | string;
174
+ /** Accessible name */
175
+ label?: string;
176
+ } & {
177
+ tables?: FloorTable[];
178
+ merges?: FloorMerge[];
179
+ selection?: (string | number)[];
180
+ areas?: FloorArea[];
181
+ walls?: FloorWall[];
182
+ decor?: FloorDecor[];
183
+ /** While editing: `select` moves things, `wall` draws a wall (click each corner, double-click or Enter to end), `area` drags out a zone */
184
+ tool?: "select" | "wall" | "area";
185
+ /** While editing: the zone, wall (and corner) or decor item picked, for an inspector of your own */
186
+ picked?: FloorPick;
187
+ }> & Readonly<{
188
+ onSplit?: ((merge: FloorMerge) => any) | undefined;
189
+ onMove?: ((moved: {
190
+ id: string | number;
191
+ x: number;
192
+ y: number;
193
+ }[]) => any) | undefined;
194
+ "onUpdate:tool"?: ((value: "area" | "select" | "wall") => any) | undefined;
195
+ "onUpdate:selection"?: ((value: (string | number)[]) => any) | undefined;
196
+ "onUpdate:tables"?: ((value: FloorTable[]) => any) | undefined;
197
+ "onUpdate:merges"?: ((value: FloorMerge[]) => any) | undefined;
198
+ "onUpdate:areas"?: ((value: FloorArea[]) => any) | undefined;
199
+ "onUpdate:walls"?: ((value: FloorWall[]) => any) | undefined;
200
+ "onUpdate:decor"?: ((value: FloorDecor[]) => any) | undefined;
201
+ "onUpdate:picked"?: ((value: FloorPick) => any) | undefined;
202
+ onMerge?: ((merge: FloorMerge) => any) | undefined;
203
+ "onMerge-refused"?: ((ids: (string | number)[], reason: string) => any) | undefined;
204
+ "onTable-click"?: ((table: FloorTable, event: MouseEvent | KeyboardEvent) => any) | undefined;
205
+ }>, {
206
+ width: number;
207
+ height: number;
208
+ grid: number;
209
+ selectable: "none" | "single" | "multiple";
210
+ showGrid: boolean;
211
+ statuses: Record<string, FloorStatus>;
212
+ editable: boolean;
213
+ chairs: boolean;
214
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
215
+ area?: (props: {
216
+ area: FloorArea;
217
+ picked: boolean;
218
+ scale: number;
219
+ }) => any;
220
+ } & {
221
+ decor?: (props: {
222
+ item: FloorDecor;
223
+ kind: FloorDecorKind;
224
+ picked: boolean;
225
+ scale: number;
226
+ }) => any;
227
+ } & {
228
+ merge?: (props: {
229
+ merge: FloorMerge;
230
+ tables: (string | number)[];
231
+ }) => any;
232
+ } & {
233
+ table?: (props: {
234
+ table: FloorTable;
235
+ status: FloorStatus | undefined;
236
+ selected: boolean;
237
+ }) => any;
238
+ } & {
239
+ overlay?: (props: {
240
+ scale: number;
241
+ toPx: (v: number) => number;
242
+ }) => any;
243
+ }>;
244
+ type __VLS_WithSlots<T, S> = T & {
245
+ new (): {
246
+ $slots: S;
247
+ };
248
+ };
@@ -0,0 +1,56 @@
1
+ import { type FloorPlanContext } from '../composables/useFloorPlan';
2
+ import type { FloorArea, FloorDecor, FloorTable, FloorWall } from './MFloorPlan.vue';
3
+ type __VLS_Props = {
4
+ /** The plan: its template ref (or its `context`). Not needed inside the plan's slots */
5
+ plan?: {
6
+ context: FloorPlanContext;
7
+ } | FloorPlanContext | null;
8
+ /** Colors offered for zones: M3 color roles or CSS colors */
9
+ zoneColors?: string[];
10
+ /** Merge and split buttons */
11
+ merging?: boolean;
12
+ };
13
+ declare var __VLS_34: {
14
+ table: FloorTable;
15
+ update: (p: Partial<FloorTable>) => void;
16
+ }, __VLS_65: {
17
+ ids: (string | number)[];
18
+ }, __VLS_117: {
19
+ area: FloorArea;
20
+ update: (p: Partial<FloorArea>) => void;
21
+ }, __VLS_147: {
22
+ wall: FloorWall;
23
+ update: (p: Partial<FloorWall>) => void;
24
+ }, __VLS_198: {
25
+ item: FloorDecor;
26
+ kind: import("./MFloorPlan.vue").FloorDecorKind | undefined;
27
+ update: (p: Partial<FloorDecor>) => void;
28
+ }, __VLS_216: {};
29
+ type __VLS_Slots = {} & {
30
+ table?: (props: typeof __VLS_34) => any;
31
+ } & {
32
+ tables?: (props: typeof __VLS_65) => any;
33
+ } & {
34
+ area?: (props: typeof __VLS_117) => any;
35
+ } & {
36
+ wall?: (props: typeof __VLS_147) => any;
37
+ } & {
38
+ decor?: (props: typeof __VLS_198) => any;
39
+ } & {
40
+ empty?: (props: typeof __VLS_216) => any;
41
+ };
42
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
43
+ plan: {
44
+ context: FloorPlanContext;
45
+ } | FloorPlanContext | null;
46
+ zoneColors: string[];
47
+ merging: boolean;
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
50
+ declare const _default: typeof __VLS_export;
51
+ export default _default;
52
+ type __VLS_WithSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -0,0 +1,51 @@
1
+ import { type FloorPlanContext } from '../composables/useFloorPlan';
2
+ import type { FloorTable } from './MFloorPlan.vue';
3
+ /** A table offered by the toolbar's Add a table menu */
4
+ export type FloorTablePreset = Partial<FloorTable> & {
5
+ name?: string;
6
+ };
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
10
+ /** The plan: its template ref (or its `context`). Not needed inside the plan's slots */
11
+ plan?: {
12
+ context: FloorPlanContext;
13
+ } | FloorPlanContext | null;
14
+ /** Tables offered by Add a table (name, shape, seats, size…) */
15
+ tables?: FloorTablePreset[];
16
+ /** Decor kinds offered (default: every kind the plan knows, yours included) */
17
+ decor?: string[];
18
+ /** Move / wall / zone */
19
+ tools?: boolean;
20
+ /** Undo and redo */
21
+ history?: boolean;
22
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
23
+ /** The plan: its template ref (or its `context`). Not needed inside the plan's slots */
24
+ plan?: {
25
+ context: FloorPlanContext;
26
+ } | FloorPlanContext | null;
27
+ /** Tables offered by Add a table (name, shape, seats, size…) */
28
+ tables?: FloorTablePreset[];
29
+ /** Decor kinds offered (default: every kind the plan knows, yours included) */
30
+ decor?: string[];
31
+ /** Move / wall / zone */
32
+ tools?: boolean;
33
+ /** Undo and redo */
34
+ history?: boolean;
35
+ }> & Readonly<{}>, {
36
+ history: boolean;
37
+ tools: boolean;
38
+ tables: FloorTablePreset[];
39
+ plan: {
40
+ context: FloorPlanContext;
41
+ } | FloorPlanContext | null;
42
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
43
+ default?: (props: {}) => any;
44
+ } & {
45
+ end?: (props: {}) => any;
46
+ }>;
47
+ type __VLS_WithSlots<T, S> = T & {
48
+ new (): {
49
+ $slots: S;
50
+ };
51
+ };
@@ -0,0 +1,318 @@
1
+ import { type FlowConnection, type FlowContext, type FlowInternals, type FlowViewport, type FlowXY } from '../composables/useFlow';
2
+ import { type FlowLayout, type FlowLayoutOptions } from '../composables/flowLayout';
3
+ import type { FlowEdge, FlowNode, FlowSelection } from '../composables/useFlow';
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
7
+ nodes?: FlowNode[];
8
+ edges?: FlowEdge[];
9
+ /** The view (v-model) */
10
+ viewport?: FlowViewport;
11
+ /** Selected node and edge ids (v-model) */
12
+ selection?: FlowSelection;
13
+ /** Switches off moving, connecting, selecting and deleting; the view still pans and zooms (v-model) */
14
+ locked?: boolean;
15
+ /** Which way edges run by default: where the default node's handles go and the layout's direction */
16
+ direction?: "horizontal" | "vertical";
17
+ background?: "dots" | "grid" | "none";
18
+ /** The background's spacing, and the grid nodes snap to, px */
19
+ gridSize?: number;
20
+ snapToGrid?: boolean;
21
+ minZoom?: number;
22
+ maxZoom?: number;
23
+ /** Fits the nodes in view once they're measured, and again after each automatic `layout` */
24
+ fitView?: boolean;
25
+ /** What the plain wheel does (Ctrl + wheel always zooms) */
26
+ wheel?: "pan" | "zoom";
27
+ /** A double click on the background zooms in */
28
+ zoomOnDoubleClick?: boolean;
29
+ /** Dragging the background pans; off, it draws a selection box */
30
+ panOnDrag?: boolean;
31
+ /** Dragging the background draws a selection box (Shift + drag always does) */
32
+ selectionOnDrag?: boolean;
33
+ nodesDraggable?: boolean;
34
+ nodesConnectable?: boolean;
35
+ elementsSelectable?: boolean;
36
+ edgesReconnectable?: boolean;
37
+ /** Merged into edges made by connecting (`type`, `animated`, `markerEnd`…) */
38
+ defaultEdgeOptions?: Partial<FlowEdge>;
39
+ /** Adds an edge to `edges` when a connection is made; off, only `connect` fires */
40
+ autoConnect?: boolean;
41
+ /** Whether a connection may be made (no duplicates or same-node loops are offered either way) */
42
+ isValidConnection?: (c: FlowConnection) => boolean;
43
+ /** How close to a handle a connection snaps to it, px */
44
+ connectionRadius?: number;
45
+ /**
46
+ * Asked before anything is deleted (the keyboard, an edge's ×, an edge dropped on nothing, `remove()`), with what
47
+ * would go: return false to keep it, or a Promise (a confirm dialog) that resolves to whether to delete
48
+ */
49
+ beforeDelete?: (items: {
50
+ nodes: FlowNode[];
51
+ edges: FlowEdge[];
52
+ }) => boolean | Promise<boolean>;
53
+ /** Keys that delete the selection; `null` turns deleting off */
54
+ deleteKeys?: string[] | null;
55
+ /** Undo and redo (Ctrl+Z, Ctrl+Shift+Z / Ctrl+Y), over every change to nodes and edges */
56
+ history?: boolean;
57
+ historySize?: number;
58
+ /** Alignment guides while dragging one node */
59
+ guides?: boolean;
60
+ /** Lays the nodes out when the graph's shape changes (nodes or edges added, removed, hidden) */
61
+ layout?: "tree" | "layered" | FlowLayout | null;
62
+ layoutOptions?: FlowLayoutOptions;
63
+ /**
64
+ * A node with no connections dropped onto an edge splices into it: A → C becomes A → B → C (the edge lights up
65
+ * while it's over one). Only when both new connections are valid. Without room between A and C, the node moves
66
+ * to sit after A and C moves on (with everything after it) along the flow's `direction`
67
+ */
68
+ insertOnEdge?: boolean;
69
+ /** Nodes dropped onto a `group` join it (and leave it when dropped outside) */
70
+ dropIntoGroups?: boolean;
71
+ /** Positions spring to their new place when they change from outside */
72
+ animate?: boolean;
73
+ /** Makes ids for pasted nodes and new edges */
74
+ getId?: (kind: "node" | "edge") => string;
75
+ /**
76
+ * A drag that starts on an edge draws a new edge from the same source, a branch, as in a circuit editor (the
77
+ * preview leaves from where you grabbed it). A click still selects the edge; with a finger, only a selected edge
78
+ * branches, so a swipe across one still pans
79
+ */
80
+ edgeBranching?: boolean;
81
+ /**
82
+ * Let the browser's own context menu open on the canvas (right click, or a long press on a phone). Off by default:
83
+ * the `*-contextmenu` events still fire, for a menu of your own (MContextMenu's `showAt`). Text fields inside
84
+ * nodes always keep it, for copy and paste
85
+ */
86
+ nativeContextMenu?: boolean;
87
+ /** The canvas's accessible name */
88
+ label?: string;
89
+ }, FlowContext, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
90
+ delete: (args_0: {
91
+ nodes: FlowNode[];
92
+ edges: FlowEdge[];
93
+ }) => any;
94
+ insert: (args_0: {
95
+ node: FlowNode;
96
+ edge: FlowEdge;
97
+ connections: [FlowConnection, FlowConnection];
98
+ }) => any;
99
+ "update:selection": (args_0: FlowSelection) => any;
100
+ "update:viewport": (args_0: FlowViewport) => any;
101
+ "update:nodes": (args_0: FlowNode<any>[]) => any;
102
+ "update:edges": (args_0: FlowEdge<any>[]) => any;
103
+ "update:locked": (args_0: boolean) => any;
104
+ connect: (args_0: FlowConnection) => any;
105
+ "connect-start": (args_0: {
106
+ nodeId: string;
107
+ handleId: string | null;
108
+ type: "source" | "target";
109
+ }) => any;
110
+ "connect-end": (args_0: {
111
+ connection: FlowConnection | null;
112
+ position: FlowXY;
113
+ from: {
114
+ nodeId: string;
115
+ handleId: string | null;
116
+ type: "source" | "target";
117
+ };
118
+ }) => any;
119
+ reconnect: (args_0: {
120
+ edge: FlowEdge;
121
+ connection: FlowConnection;
122
+ }) => any;
123
+ "node-click": (args_0: FlowNode<any>, args_1: MouseEvent) => any;
124
+ "node-dblclick": (args_0: FlowNode<any>, args_1: MouseEvent) => any;
125
+ "node-contextmenu": (args_0: FlowNode<any>, args_1: MouseEvent) => any;
126
+ "node-drag-start": (args_0: FlowNode<any>[], args_1: PointerEvent) => any;
127
+ "node-drag": (args_0: FlowNode<any>[], args_1: PointerEvent) => any;
128
+ "node-drag-stop": (args_0: {
129
+ nodes: FlowNode[];
130
+ intersecting: FlowNode[];
131
+ event: PointerEvent;
132
+ }) => any;
133
+ "edge-click": (args_0: FlowEdge<any>, args_1: MouseEvent) => any;
134
+ "edge-dblclick": (args_0: FlowEdge<any>, args_1: MouseEvent) => any;
135
+ "edge-contextmenu": (args_0: FlowEdge<any>, args_1: MouseEvent) => any;
136
+ "pane-click": (args_0: FlowXY, args_1: MouseEvent) => any;
137
+ "pane-contextmenu": (args_0: FlowXY, args_1: MouseEvent) => any;
138
+ "pane-dblclick": (args_0: FlowXY, args_1: MouseEvent) => any;
139
+ init: (args_0: FlowContext) => any;
140
+ }, string, import("vue").PublicProps, Readonly<{
141
+ nodes?: FlowNode[];
142
+ edges?: FlowEdge[];
143
+ /** The view (v-model) */
144
+ viewport?: FlowViewport;
145
+ /** Selected node and edge ids (v-model) */
146
+ selection?: FlowSelection;
147
+ /** Switches off moving, connecting, selecting and deleting; the view still pans and zooms (v-model) */
148
+ locked?: boolean;
149
+ /** Which way edges run by default: where the default node's handles go and the layout's direction */
150
+ direction?: "horizontal" | "vertical";
151
+ background?: "dots" | "grid" | "none";
152
+ /** The background's spacing, and the grid nodes snap to, px */
153
+ gridSize?: number;
154
+ snapToGrid?: boolean;
155
+ minZoom?: number;
156
+ maxZoom?: number;
157
+ /** Fits the nodes in view once they're measured, and again after each automatic `layout` */
158
+ fitView?: boolean;
159
+ /** What the plain wheel does (Ctrl + wheel always zooms) */
160
+ wheel?: "pan" | "zoom";
161
+ /** A double click on the background zooms in */
162
+ zoomOnDoubleClick?: boolean;
163
+ /** Dragging the background pans; off, it draws a selection box */
164
+ panOnDrag?: boolean;
165
+ /** Dragging the background draws a selection box (Shift + drag always does) */
166
+ selectionOnDrag?: boolean;
167
+ nodesDraggable?: boolean;
168
+ nodesConnectable?: boolean;
169
+ elementsSelectable?: boolean;
170
+ edgesReconnectable?: boolean;
171
+ /** Merged into edges made by connecting (`type`, `animated`, `markerEnd`…) */
172
+ defaultEdgeOptions?: Partial<FlowEdge>;
173
+ /** Adds an edge to `edges` when a connection is made; off, only `connect` fires */
174
+ autoConnect?: boolean;
175
+ /** Whether a connection may be made (no duplicates or same-node loops are offered either way) */
176
+ isValidConnection?: (c: FlowConnection) => boolean;
177
+ /** How close to a handle a connection snaps to it, px */
178
+ connectionRadius?: number;
179
+ /**
180
+ * Asked before anything is deleted (the keyboard, an edge's ×, an edge dropped on nothing, `remove()`), with what
181
+ * would go: return false to keep it, or a Promise (a confirm dialog) that resolves to whether to delete
182
+ */
183
+ beforeDelete?: (items: {
184
+ nodes: FlowNode[];
185
+ edges: FlowEdge[];
186
+ }) => boolean | Promise<boolean>;
187
+ /** Keys that delete the selection; `null` turns deleting off */
188
+ deleteKeys?: string[] | null;
189
+ /** Undo and redo (Ctrl+Z, Ctrl+Shift+Z / Ctrl+Y), over every change to nodes and edges */
190
+ history?: boolean;
191
+ historySize?: number;
192
+ /** Alignment guides while dragging one node */
193
+ guides?: boolean;
194
+ /** Lays the nodes out when the graph's shape changes (nodes or edges added, removed, hidden) */
195
+ layout?: "tree" | "layered" | FlowLayout | null;
196
+ layoutOptions?: FlowLayoutOptions;
197
+ /**
198
+ * A node with no connections dropped onto an edge splices into it: A → C becomes A → B → C (the edge lights up
199
+ * while it's over one). Only when both new connections are valid. Without room between A and C, the node moves
200
+ * to sit after A and C moves on (with everything after it) along the flow's `direction`
201
+ */
202
+ insertOnEdge?: boolean;
203
+ /** Nodes dropped onto a `group` join it (and leave it when dropped outside) */
204
+ dropIntoGroups?: boolean;
205
+ /** Positions spring to their new place when they change from outside */
206
+ animate?: boolean;
207
+ /** Makes ids for pasted nodes and new edges */
208
+ getId?: (kind: "node" | "edge") => string;
209
+ /**
210
+ * A drag that starts on an edge draws a new edge from the same source, a branch, as in a circuit editor (the
211
+ * preview leaves from where you grabbed it). A click still selects the edge; with a finger, only a selected edge
212
+ * branches, so a swipe across one still pans
213
+ */
214
+ edgeBranching?: boolean;
215
+ /**
216
+ * Let the browser's own context menu open on the canvas (right click, or a long press on a phone). Off by default:
217
+ * the `*-contextmenu` events still fire, for a menu of your own (MContextMenu's `showAt`). Text fields inside
218
+ * nodes always keep it, for copy and paste
219
+ */
220
+ nativeContextMenu?: boolean;
221
+ /** The canvas's accessible name */
222
+ label?: string;
223
+ }> & Readonly<{
224
+ onDelete?: ((args_0: {
225
+ nodes: FlowNode[];
226
+ edges: FlowEdge[];
227
+ }) => any) | undefined;
228
+ onInsert?: ((args_0: {
229
+ node: FlowNode;
230
+ edge: FlowEdge;
231
+ connections: [FlowConnection, FlowConnection];
232
+ }) => any) | undefined;
233
+ "onUpdate:selection"?: ((args_0: FlowSelection) => any) | undefined;
234
+ "onUpdate:viewport"?: ((args_0: FlowViewport) => any) | undefined;
235
+ "onUpdate:nodes"?: ((args_0: FlowNode<any>[]) => any) | undefined;
236
+ "onUpdate:edges"?: ((args_0: FlowEdge<any>[]) => any) | undefined;
237
+ "onUpdate:locked"?: ((args_0: boolean) => any) | undefined;
238
+ onConnect?: ((args_0: FlowConnection) => any) | undefined;
239
+ "onConnect-start"?: ((args_0: {
240
+ nodeId: string;
241
+ handleId: string | null;
242
+ type: "source" | "target";
243
+ }) => any) | undefined;
244
+ "onConnect-end"?: ((args_0: {
245
+ connection: FlowConnection | null;
246
+ position: FlowXY;
247
+ from: {
248
+ nodeId: string;
249
+ handleId: string | null;
250
+ type: "source" | "target";
251
+ };
252
+ }) => any) | undefined;
253
+ onReconnect?: ((args_0: {
254
+ edge: FlowEdge;
255
+ connection: FlowConnection;
256
+ }) => any) | undefined;
257
+ "onNode-click"?: ((args_0: FlowNode<any>, args_1: MouseEvent) => any) | undefined;
258
+ "onNode-dblclick"?: ((args_0: FlowNode<any>, args_1: MouseEvent) => any) | undefined;
259
+ "onNode-contextmenu"?: ((args_0: FlowNode<any>, args_1: MouseEvent) => any) | undefined;
260
+ "onNode-drag-start"?: ((args_0: FlowNode<any>[], args_1: PointerEvent) => any) | undefined;
261
+ "onNode-drag"?: ((args_0: FlowNode<any>[], args_1: PointerEvent) => any) | undefined;
262
+ "onNode-drag-stop"?: ((args_0: {
263
+ nodes: FlowNode[];
264
+ intersecting: FlowNode[];
265
+ event: PointerEvent;
266
+ }) => any) | undefined;
267
+ "onEdge-click"?: ((args_0: FlowEdge<any>, args_1: MouseEvent) => any) | undefined;
268
+ "onEdge-dblclick"?: ((args_0: FlowEdge<any>, args_1: MouseEvent) => any) | undefined;
269
+ "onEdge-contextmenu"?: ((args_0: FlowEdge<any>, args_1: MouseEvent) => any) | undefined;
270
+ "onPane-click"?: ((args_0: FlowXY, args_1: MouseEvent) => any) | undefined;
271
+ "onPane-contextmenu"?: ((args_0: FlowXY, args_1: MouseEvent) => any) | undefined;
272
+ "onPane-dblclick"?: ((args_0: FlowXY, args_1: MouseEvent) => any) | undefined;
273
+ onInit?: ((args_0: FlowContext) => any) | undefined;
274
+ }>, {
275
+ background: "dots" | "grid" | "none";
276
+ animate: boolean;
277
+ layout: "tree" | "layered" | FlowLayout | null;
278
+ history: boolean;
279
+ historySize: number;
280
+ minZoom: number;
281
+ maxZoom: number;
282
+ selection: FlowSelection;
283
+ viewport: FlowViewport;
284
+ fitView: boolean;
285
+ wheel: "pan" | "zoom";
286
+ locked: boolean;
287
+ nodes: FlowNode[];
288
+ edges: FlowEdge[];
289
+ direction: "horizontal" | "vertical";
290
+ gridSize: number;
291
+ snapToGrid: boolean;
292
+ zoomOnDoubleClick: boolean;
293
+ panOnDrag: boolean;
294
+ selectionOnDrag: boolean;
295
+ nodesDraggable: boolean;
296
+ nodesConnectable: boolean;
297
+ elementsSelectable: boolean;
298
+ edgesReconnectable: boolean;
299
+ autoConnect: boolean;
300
+ connectionRadius: number;
301
+ deleteKeys: string[] | null;
302
+ guides: boolean;
303
+ insertOnEdge: boolean;
304
+ dropIntoGroups: boolean;
305
+ edgeBranching: boolean;
306
+ nativeContextMenu: boolean;
307
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
308
+ empty?: (props: {}) => any;
309
+ } & {
310
+ default?: (props: {
311
+ flow: FlowInternals;
312
+ }) => any;
313
+ }>;
314
+ type __VLS_WithSlots<T, S> = T & {
315
+ new (): {
316
+ $slots: S;
317
+ };
318
+ };