@pisell/materials 1.0.1059 → 1.0.1062

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 (374) hide show
  1. package/README.md +285 -285
  2. package/build/lowcode/assets-daily.json +11 -11
  3. package/build/lowcode/assets-dev.json +2 -2
  4. package/build/lowcode/assets-prod.json +11 -11
  5. package/build/lowcode/index.js +1 -1
  6. package/build/lowcode/meta.js +7 -7
  7. package/build/lowcode/preview.js +9 -9
  8. package/build/lowcode/render/default/view.css +1 -1
  9. package/build/lowcode/render/default/view.js +27 -27
  10. package/build/lowcode/view.css +1 -1
  11. package/build/lowcode/view.js +27 -27
  12. package/es/components/PisellLayouts/index.d.ts +2 -1
  13. package/es/components/PisellLayouts/index.js +17 -15
  14. package/es/components/cardMetricItem/index.js +2 -2
  15. package/es/components/pisellFilter/type.d.ts +4 -2
  16. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +1 -1
  17. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +474 -202
  18. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.less +70 -0
  19. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +13 -0
  20. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.js +469 -38
  21. package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +22 -0
  22. package/es/components/pisellFloorMapLayout/components/CanvasTabs.js +203 -0
  23. package/es/components/pisellFloorMapLayout/components/CanvasTabs.less +189 -0
  24. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +37 -0
  25. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.js +341 -0
  26. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.less +89 -0
  27. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +39 -0
  28. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.js +432 -0
  29. package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +17 -0
  30. package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.js +131 -0
  31. package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.less +7 -0
  32. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +11 -0
  33. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +497 -0
  34. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +154 -0
  35. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +34 -0
  36. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +130 -0
  37. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +131 -0
  38. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +6 -0
  39. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.js +69 -0
  40. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +35 -0
  41. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.js +361 -0
  42. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.less +237 -0
  43. package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +7 -0
  44. package/es/components/pisellFloorMapLayout/components/ItemLayer.js +37 -11
  45. package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +4 -0
  46. package/es/components/pisellFloorMapLayout/components/MapLayer.js +11 -3
  47. package/es/components/pisellFloorMapLayout/components/ViewControls.js +2 -2
  48. package/es/components/pisellFloorMapLayout/components/ViewControls.less +3 -2
  49. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +11 -0
  50. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +27 -0
  51. package/es/components/pisellFloorMapLayout/components/index.d.ts +14 -0
  52. package/es/components/pisellFloorMapLayout/components/index.js +8 -1
  53. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
  54. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.js +21 -0
  55. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
  56. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +28 -0
  57. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +62 -0
  58. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +438 -0
  59. package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +21 -0
  60. package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.js +122 -0
  61. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
  62. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +322 -0
  63. package/es/components/pisellFloorMapLayout/index.d.ts +9 -2
  64. package/es/components/pisellFloorMapLayout/index.js +7 -2
  65. package/es/components/pisellFloorMapLayout/locales.d.ts +186 -0
  66. package/es/components/pisellFloorMapLayout/locales.js +185 -0
  67. package/es/components/pisellFloorMapLayout/types.d.ts +362 -1
  68. package/es/components/pisellFloorMapLayout/types.js +148 -1
  69. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +20 -0
  70. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.js +129 -0
  71. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
  72. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +87 -0
  73. package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +26 -0
  74. package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.js +47 -0
  75. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +11 -0
  76. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +69 -0
  77. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
  78. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +88 -0
  79. package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +8 -0
  80. package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.js +8 -0
  81. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
  82. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.js +108 -0
  83. package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
  84. package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.js +125 -0
  85. package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
  86. package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.js +29 -0
  87. package/es/components/pisellFloorMapLayout/utils/snap.d.ts +10 -0
  88. package/es/components/pisellFloorMapLayout/utils/snap.js +21 -0
  89. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  90. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.js +175 -0
  91. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.less +129 -0
  92. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  93. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.js +237 -0
  94. package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
  95. package/es/components/pisellHierarchicalSummaryList/components/Row.js +313 -0
  96. package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  97. package/es/components/pisellHierarchicalSummaryList/components/index.js +1 -0
  98. package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  99. package/es/components/pisellHierarchicalSummaryList/hooks/index.js +1 -0
  100. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  101. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.js +34 -0
  102. package/es/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  103. package/es/components/pisellHierarchicalSummaryList/index.js +5 -0
  104. package/es/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  105. package/es/components/pisellHierarchicalSummaryList/types.js +1 -0
  106. package/es/components/pisellLookup/PisellLookup.js +82 -82
  107. package/es/components/pisellMultipleSelect/PisellMultipleSelect.stories.js +34 -34
  108. package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +2 -1
  109. package/es/components/pisellRecordBoard/PisellRecordBoard.js +95 -18
  110. package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +4 -0
  111. package/es/components/pisellRecordBoard/PisellRecordBoard.stories.js +1315 -383
  112. package/es/components/pisellRecordBoard/index.d.ts +7 -2
  113. package/es/components/pisellRecordBoard/index.js +2 -1
  114. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +1 -3
  115. package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
  116. package/es/components/pisellRecordBoard/shellFrame/FloorMap.js +15 -0
  117. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +16 -0
  118. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.js +11 -0
  119. package/es/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +47 -0
  120. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +57 -10
  121. package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.js +3 -3
  122. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +4 -10
  123. package/es/components/pisellRecordBoard/shellFrame/index.js +101 -19
  124. package/es/components/pisellRecordBoard/types.d.ts +62 -2
  125. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +15 -0
  126. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.js +57 -0
  127. package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +10 -0
  128. package/es/components/pisellReservationSchedule/PisellReservationSchedule.js +156 -0
  129. package/es/components/pisellReservationSchedule/PisellReservationSchedule.less +88 -0
  130. package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +12 -0
  131. package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.js +105 -0
  132. package/es/components/pisellReservationSchedule/index.d.ts +2 -0
  133. package/es/components/pisellReservationSchedule/index.js +1 -0
  134. package/es/components/pisellReservationSchedule/locales.d.ts +25 -0
  135. package/es/components/pisellReservationSchedule/locales.js +24 -0
  136. package/es/components/pisellReservationSchedule/types.d.ts +42 -0
  137. package/es/components/pisellReservationSchedule/types.js +1 -0
  138. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +10 -0
  139. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.js +91 -0
  140. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +49 -0
  141. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
  142. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.js +197 -0
  143. package/es/components/pisellReservationScheduleBand/index.d.ts +2 -0
  144. package/es/components/pisellReservationScheduleBand/index.js +1 -0
  145. package/es/components/pisellReservationScheduleBand/types.d.ts +45 -0
  146. package/es/components/pisellReservationScheduleBand/types.js +1 -0
  147. package/es/components/pisellRow/index.js +7 -7
  148. package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +10 -0
  149. package/es/components/pisellTimeNavigator/PisellTimeNavigator.js +609 -0
  150. package/es/components/pisellTimeNavigator/PisellTimeNavigator.less +412 -0
  151. package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
  152. package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.js +290 -0
  153. package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
  154. package/es/components/pisellTimeNavigator/components/BackgroundLayer.js +30 -0
  155. package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +20 -0
  156. package/es/components/pisellTimeNavigator/components/CursorLayer.js +46 -0
  157. package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +31 -0
  158. package/es/components/pisellTimeNavigator/components/GestureLayer.js +82 -0
  159. package/es/components/pisellTimeNavigator/components/NowButton.d.ts +14 -0
  160. package/es/components/pisellTimeNavigator/components/NowButton.js +38 -0
  161. package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +17 -0
  162. package/es/components/pisellTimeNavigator/components/ScaleLayer.js +51 -0
  163. package/es/components/pisellTimeNavigator/components/index.d.ts +5 -0
  164. package/es/components/pisellTimeNavigator/components/index.js +5 -0
  165. package/es/components/pisellTimeNavigator/hooks/index.d.ts +5 -0
  166. package/es/components/pisellTimeNavigator/hooks/index.js +3 -0
  167. package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
  168. package/es/components/pisellTimeNavigator/hooks/useDragInertia.js +109 -0
  169. package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
  170. package/es/components/pisellTimeNavigator/hooks/useRealtime.js +16 -0
  171. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
  172. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.js +76 -0
  173. package/es/components/pisellTimeNavigator/index.d.ts +4 -0
  174. package/es/components/pisellTimeNavigator/index.js +3 -0
  175. package/es/components/pisellTimeNavigator/locales.d.ts +22 -0
  176. package/es/components/pisellTimeNavigator/locales.js +21 -0
  177. package/es/components/pisellTimeNavigator/types.d.ts +149 -0
  178. package/es/components/pisellTimeNavigator/types.js +1 -0
  179. package/es/components/pisellTimeNavigator/utils/index.d.ts +30 -0
  180. package/es/components/pisellTimeNavigator/utils/index.js +116 -0
  181. package/es/index.d.ts +15 -5
  182. package/es/index.js +7 -1
  183. package/es/locales/en-US.d.ts +2 -0
  184. package/es/locales/en-US.js +6 -4
  185. package/es/locales/zh-CN.d.ts +2 -0
  186. package/es/locales/zh-CN.js +6 -4
  187. package/es/locales/zh-TW.d.ts +2 -0
  188. package/es/locales/zh-TW.js +6 -4
  189. package/lib/components/PisellLayouts/index.d.ts +2 -1
  190. package/lib/components/PisellLayouts/index.js +13 -1
  191. package/lib/components/pisellFilter/type.d.ts +4 -2
  192. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +1 -1
  193. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +566 -181
  194. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.less +70 -0
  195. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +13 -0
  196. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.js +682 -84
  197. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +22 -0
  198. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.js +237 -0
  199. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.less +189 -0
  200. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +37 -0
  201. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.js +358 -0
  202. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.less +89 -0
  203. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +39 -0
  204. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.js +482 -0
  205. package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +17 -0
  206. package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.js +117 -0
  207. package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.less +7 -0
  208. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +11 -0
  209. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +508 -0
  210. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +154 -0
  211. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +34 -0
  212. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +188 -0
  213. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +131 -0
  214. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +6 -0
  215. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.js +94 -0
  216. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +35 -0
  217. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.js +333 -0
  218. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.less +237 -0
  219. package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +7 -0
  220. package/lib/components/pisellFloorMapLayout/components/ItemLayer.js +26 -5
  221. package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +4 -0
  222. package/lib/components/pisellFloorMapLayout/components/MapLayer.js +7 -2
  223. package/lib/components/pisellFloorMapLayout/components/ViewControls.less +3 -2
  224. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +11 -0
  225. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +63 -0
  226. package/lib/components/pisellFloorMapLayout/components/index.d.ts +14 -0
  227. package/lib/components/pisellFloorMapLayout/components/index.js +23 -2
  228. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
  229. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.js +54 -0
  230. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
  231. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +47 -0
  232. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +62 -0
  233. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +431 -0
  234. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +21 -0
  235. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.js +146 -0
  236. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
  237. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +309 -0
  238. package/lib/components/pisellFloorMapLayout/index.d.ts +9 -2
  239. package/lib/components/pisellFloorMapLayout/index.js +31 -2
  240. package/lib/components/pisellFloorMapLayout/locales.d.ts +186 -0
  241. package/lib/components/pisellFloorMapLayout/locales.js +206 -0
  242. package/lib/components/pisellFloorMapLayout/types.d.ts +362 -1
  243. package/lib/components/pisellFloorMapLayout/types.js +15 -0
  244. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +20 -0
  245. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.js +126 -0
  246. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
  247. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +66 -0
  248. package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +26 -0
  249. package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.js +61 -0
  250. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +11 -0
  251. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +70 -0
  252. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
  253. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +135 -0
  254. package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +8 -0
  255. package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.js +33 -0
  256. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
  257. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.js +128 -0
  258. package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
  259. package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.js +96 -0
  260. package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
  261. package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.js +41 -0
  262. package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +10 -0
  263. package/lib/components/pisellFloorMapLayout/utils/snap.js +43 -0
  264. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  265. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.js +179 -0
  266. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.less +129 -0
  267. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  268. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.js +218 -0
  269. package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
  270. package/lib/components/pisellHierarchicalSummaryList/components/Row.js +343 -0
  271. package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  272. package/lib/components/pisellHierarchicalSummaryList/components/index.js +29 -0
  273. package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  274. package/lib/components/pisellHierarchicalSummaryList/hooks/index.js +29 -0
  275. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  276. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.js +51 -0
  277. package/lib/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  278. package/lib/components/pisellHierarchicalSummaryList/index.js +31 -0
  279. package/lib/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  280. package/lib/components/pisellHierarchicalSummaryList/types.js +17 -0
  281. package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +2 -1
  282. package/lib/components/pisellRecordBoard/PisellRecordBoard.js +82 -8
  283. package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +4 -0
  284. package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.js +915 -25
  285. package/lib/components/pisellRecordBoard/index.d.ts +7 -2
  286. package/lib/components/pisellRecordBoard/index.js +1 -0
  287. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +8 -2
  288. package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
  289. package/lib/components/pisellRecordBoard/shellFrame/FloorMap.js +27 -0
  290. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +16 -0
  291. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.js +45 -0
  292. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +47 -0
  293. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +48 -4
  294. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +4 -10
  295. package/lib/components/pisellRecordBoard/shellFrame/index.js +88 -6
  296. package/lib/components/pisellRecordBoard/types.d.ts +62 -2
  297. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +15 -0
  298. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.js +88 -0
  299. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +10 -0
  300. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.js +200 -0
  301. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.less +88 -0
  302. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +12 -0
  303. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.js +116 -0
  304. package/lib/components/pisellReservationSchedule/index.d.ts +2 -0
  305. package/lib/components/pisellReservationSchedule/index.js +29 -0
  306. package/lib/components/pisellReservationSchedule/locales.d.ts +25 -0
  307. package/lib/components/pisellReservationSchedule/locales.js +47 -0
  308. package/lib/components/pisellReservationSchedule/types.d.ts +42 -0
  309. package/lib/components/pisellReservationSchedule/types.js +17 -0
  310. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +10 -0
  311. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.js +127 -0
  312. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +49 -0
  313. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
  314. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.js +181 -0
  315. package/lib/components/pisellReservationScheduleBand/index.d.ts +2 -0
  316. package/lib/components/pisellReservationScheduleBand/index.js +29 -0
  317. package/lib/components/pisellReservationScheduleBand/types.d.ts +45 -0
  318. package/lib/components/pisellReservationScheduleBand/types.js +17 -0
  319. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +10 -0
  320. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.js +716 -0
  321. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.less +412 -0
  322. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
  323. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.js +273 -0
  324. package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
  325. package/lib/components/pisellTimeNavigator/components/BackgroundLayer.js +81 -0
  326. package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +20 -0
  327. package/lib/components/pisellTimeNavigator/components/CursorLayer.js +74 -0
  328. package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +31 -0
  329. package/lib/components/pisellTimeNavigator/components/GestureLayer.js +159 -0
  330. package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +14 -0
  331. package/lib/components/pisellTimeNavigator/components/NowButton.js +81 -0
  332. package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +17 -0
  333. package/lib/components/pisellTimeNavigator/components/ScaleLayer.js +95 -0
  334. package/lib/components/pisellTimeNavigator/components/index.d.ts +5 -0
  335. package/lib/components/pisellTimeNavigator/components/index.js +41 -0
  336. package/lib/components/pisellTimeNavigator/hooks/index.d.ts +5 -0
  337. package/lib/components/pisellTimeNavigator/hooks/index.js +35 -0
  338. package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
  339. package/lib/components/pisellTimeNavigator/hooks/useDragInertia.js +136 -0
  340. package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
  341. package/lib/components/pisellTimeNavigator/hooks/useRealtime.js +49 -0
  342. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
  343. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.js +81 -0
  344. package/lib/components/pisellTimeNavigator/index.d.ts +4 -0
  345. package/lib/components/pisellTimeNavigator/index.js +42 -0
  346. package/lib/components/pisellTimeNavigator/locales.d.ts +22 -0
  347. package/lib/components/pisellTimeNavigator/locales.js +41 -0
  348. package/lib/components/pisellTimeNavigator/types.d.ts +149 -0
  349. package/lib/components/pisellTimeNavigator/types.js +17 -0
  350. package/lib/components/pisellTimeNavigator/utils/index.d.ts +30 -0
  351. package/lib/components/pisellTimeNavigator/utils/index.js +107 -0
  352. package/lib/index.d.ts +15 -5
  353. package/lib/index.js +35 -0
  354. package/lib/locales/en-US.d.ts +2 -0
  355. package/lib/locales/en-US.js +2 -0
  356. package/lib/locales/zh-CN.d.ts +2 -0
  357. package/lib/locales/zh-CN.js +2 -0
  358. package/lib/locales/zh-TW.d.ts +2 -0
  359. package/lib/locales/zh-TW.js +2 -0
  360. package/lowcode/floor-map-layout-provider/meta.ts +65 -0
  361. package/lowcode/pisell-floor-map-layout/meta.ts +3894 -1
  362. package/lowcode/pisell-hierarchical-summary-list/meta.ts +244 -0
  363. package/lowcode/pisell-reservation-schedule/index.ts +3 -0
  364. package/lowcode/pisell-reservation-schedule/meta.ts +69 -0
  365. package/lowcode/pisell-reservation-schedule/snippets.ts +1 -0
  366. package/lowcode/pisell-reservation-schedule-band/index.ts +3 -0
  367. package/lowcode/pisell-reservation-schedule-band/meta.ts +96 -0
  368. package/lowcode/pisell-reservation-schedule-band/snippets.ts +1 -0
  369. package/lowcode/pisell-time-navigator/index.ts +3 -0
  370. package/lowcode/pisell-time-navigator/meta.ts +298 -0
  371. package/lowcode/pisell-time-navigator/snippets.ts +1 -0
  372. package/lowcode/render-figma-style-round-table-card/meta.ts +589 -0
  373. package/lowcode/render-figma-style-table-card/meta.ts +589 -0
  374. package/package.json +3 -3
@@ -0,0 +1,309 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.ts
20
+ var useFloorMapTransformMetrics_exports = {};
21
+ __export(useFloorMapTransformMetrics_exports, {
22
+ useFloorMapTransformMetrics: () => useFloorMapTransformMetrics
23
+ });
24
+ module.exports = __toCommonJS(useFloorMapTransformMetrics_exports);
25
+ var import_react = require("react");
26
+ var import_layoutMeasurements = require("../utils/layoutMeasurements");
27
+ var DEFAULT_BOUNDING_PADDING = 56;
28
+ var VIEWPORT_TOP_LEFT_MARGIN = 16;
29
+ function useFloorMapTransformMetrics(params) {
30
+ const {
31
+ items,
32
+ cellSize,
33
+ itemGap,
34
+ effectiveItemUnit,
35
+ isFloorMapView,
36
+ mode,
37
+ zoom,
38
+ transformRef,
39
+ contentOffsetRef,
40
+ boundingPadding: boundingPaddingProp,
41
+ frameResetKey
42
+ } = params;
43
+ const padSingle = boundingPaddingProp ?? DEFAULT_BOUNDING_PADDING;
44
+ const containerRef = (0, import_react.useRef)(null);
45
+ const mapAreaRef = (0, import_react.useRef)(null);
46
+ const [viewportSize, setViewportSize] = (0, import_react.useState)({ width: 0, height: 0 });
47
+ (0, import_react.useEffect)(() => {
48
+ const el = containerRef.current;
49
+ if (!el) return;
50
+ const ro = new ResizeObserver(() => {
51
+ setViewportSize({ width: el.clientWidth, height: el.clientHeight });
52
+ });
53
+ ro.observe(el);
54
+ setViewportSize({ width: el.clientWidth, height: el.clientHeight });
55
+ return () => ro.disconnect();
56
+ }, []);
57
+ const [mapAreaSize, setMapAreaSize] = (0, import_react.useState)({ width: 0, height: 0 });
58
+ (0, import_react.useEffect)(() => {
59
+ const el = mapAreaRef.current;
60
+ if (!el) return;
61
+ const ro = new ResizeObserver(() => {
62
+ setMapAreaSize({ width: el.clientWidth, height: el.clientHeight });
63
+ });
64
+ ro.observe(el);
65
+ setMapAreaSize({ width: el.clientWidth, height: el.clientHeight });
66
+ return () => ro.disconnect();
67
+ }, []);
68
+ const autoFitOnMount = zoom.autoFitOnMount === true;
69
+ const zoomConfig = (0, import_react.useMemo)(
70
+ () => ({
71
+ initialScale: zoom.defaultScale ?? 1,
72
+ minScale: zoom.min ?? 0.5,
73
+ maxScale: zoom.max ?? 2,
74
+ step: zoom.step ?? 0.1
75
+ }),
76
+ [zoom.defaultScale, zoom.min, zoom.max, zoom.step]
77
+ );
78
+ const [scale, setScale] = (0, import_react.useState)(zoomConfig.initialScale);
79
+ const [isFullscreen, setIsFullscreen] = (0, import_react.useState)(false);
80
+ const {
81
+ contentWidth,
82
+ contentHeight,
83
+ contentOffsetX,
84
+ contentOffsetY,
85
+ alignPadSingle
86
+ } = (0, import_react.useMemo)(() => {
87
+ const fromItems = (0, import_layoutMeasurements.getContentSize)(
88
+ items,
89
+ cellSize,
90
+ itemGap,
91
+ effectiveItemUnit
92
+ );
93
+ const pad = padSingle * 2;
94
+ const zeroOffset = { contentOffsetX: 0, contentOffsetY: 0 };
95
+ const useBoundingBox = isFloorMapView && effectiveItemUnit === "pixel" && items.length > 0;
96
+ const box = useBoundingBox ? (0, import_layoutMeasurements.getPixelBoundingBox)(items, cellSize) : null;
97
+ let padded;
98
+ let alignPad = null;
99
+ if (box) {
100
+ const w = box.maxRight - box.minLeft + pad;
101
+ const h = box.maxBottom - box.minTop + pad;
102
+ padded = {
103
+ contentWidth: w,
104
+ contentHeight: h,
105
+ contentOffsetX: padSingle - box.minLeft,
106
+ contentOffsetY: padSingle - box.minTop
107
+ };
108
+ alignPad = padSingle;
109
+ } else {
110
+ padded = {
111
+ contentWidth: fromItems.contentWidth + pad,
112
+ contentHeight: fromItems.contentHeight + pad,
113
+ ...zeroOffset
114
+ };
115
+ }
116
+ let result = { ...padded, alignPadSingle: alignPad };
117
+ if (!isFloorMapView || mode !== "edit") return result;
118
+ const vw = mapAreaSize.width > 0 ? mapAreaSize.width : viewportSize.width;
119
+ const vh = mapAreaSize.height > 0 ? mapAreaSize.height : viewportSize.height;
120
+ if (vw <= 0 || vh <= 0) return result;
121
+ result = {
122
+ ...result,
123
+ contentWidth: Math.max(padded.contentWidth, vw),
124
+ contentHeight: Math.max(padded.contentHeight, vh)
125
+ };
126
+ return result;
127
+ }, [
128
+ items,
129
+ cellSize,
130
+ itemGap,
131
+ effectiveItemUnit,
132
+ isFloorMapView,
133
+ mode,
134
+ mapAreaSize.width,
135
+ mapAreaSize.height,
136
+ viewportSize.width,
137
+ viewportSize.height,
138
+ padSingle
139
+ ]);
140
+ const padForAlign = alignPadSingle ?? 0;
141
+ const initialPositionX = VIEWPORT_TOP_LEFT_MARGIN - padForAlign * zoomConfig.initialScale;
142
+ const initialPositionY = VIEWPORT_TOP_LEFT_MARGIN - padForAlign * zoomConfig.initialScale;
143
+ contentOffsetRef.current = { x: contentOffsetX, y: contentOffsetY };
144
+ const initialAlignRef = (0, import_react.useRef)({
145
+ frame: "",
146
+ done: false
147
+ });
148
+ (0, import_react.useEffect)(() => {
149
+ if (!isFloorMapView || frameResetKey === void 0) return;
150
+ if (initialAlignRef.current.frame !== frameResetKey) {
151
+ initialAlignRef.current = { frame: frameResetKey, done: false };
152
+ }
153
+ if (autoFitOnMount) {
154
+ initialAlignRef.current.done = true;
155
+ return;
156
+ }
157
+ if (alignPadSingle == null) {
158
+ initialAlignRef.current.done = false;
159
+ return;
160
+ }
161
+ if (initialAlignRef.current.done) return;
162
+ let cancelled = false;
163
+ let raf = 0;
164
+ const tick = () => {
165
+ if (cancelled) return;
166
+ const ctx = transformRef.current;
167
+ if (!ctx) {
168
+ raf = requestAnimationFrame(tick);
169
+ return;
170
+ }
171
+ ctx.setTransform(
172
+ initialPositionX,
173
+ initialPositionY,
174
+ zoomConfig.initialScale
175
+ );
176
+ initialAlignRef.current.done = true;
177
+ };
178
+ raf = requestAnimationFrame(tick);
179
+ return () => {
180
+ cancelled = true;
181
+ cancelAnimationFrame(raf);
182
+ };
183
+ }, [
184
+ isFloorMapView,
185
+ frameResetKey,
186
+ alignPadSingle,
187
+ initialPositionX,
188
+ initialPositionY,
189
+ zoomConfig.initialScale,
190
+ transformRef,
191
+ autoFitOnMount
192
+ ]);
193
+ (0, import_react.useEffect)(() => {
194
+ const el = containerRef.current;
195
+ if (!el) return;
196
+ const onFullscreenChange = () => setIsFullscreen(document.fullscreenElement === el);
197
+ document.addEventListener("fullscreenchange", onFullscreenChange);
198
+ return () => document.removeEventListener("fullscreenchange", onFullscreenChange);
199
+ }, []);
200
+ const toggleFullscreen = (0, import_react.useCallback)(() => {
201
+ var _a, _b;
202
+ const el = containerRef.current;
203
+ if (!el) return;
204
+ if (document.fullscreenElement) {
205
+ (_a = document.exitFullscreen) == null ? void 0 : _a.call(document);
206
+ } else {
207
+ (_b = el.requestFullscreen) == null ? void 0 : _b.call(el);
208
+ }
209
+ }, []);
210
+ const fitBounds = (0, import_react.useCallback)(() => {
211
+ const ctx = transformRef.current;
212
+ const container = containerRef.current;
213
+ if (!ctx || !container) return;
214
+ const wrapper = container.querySelector(".react-transform-wrapper");
215
+ if (!wrapper) return;
216
+ const wrapperRect = wrapper.getBoundingClientRect();
217
+ const nextScale = Math.min(
218
+ wrapperRect.width / contentWidth,
219
+ wrapperRect.height / contentHeight,
220
+ zoom.max ?? 2
221
+ );
222
+ const padA = alignPadSingle ?? 0;
223
+ const x = VIEWPORT_TOP_LEFT_MARGIN - padA * nextScale;
224
+ const y = VIEWPORT_TOP_LEFT_MARGIN - padA * nextScale;
225
+ ctx.setTransform(x, y, nextScale);
226
+ }, [contentWidth, contentHeight, zoom.max, transformRef, alignPadSingle]);
227
+ const autoFitOnceRef = (0, import_react.useRef)({
228
+ frame: "",
229
+ done: false
230
+ });
231
+ (0, import_react.useEffect)(() => {
232
+ if (!isFloorMapView || !autoFitOnMount || frameResetKey === void 0)
233
+ return;
234
+ const frame = String(frameResetKey);
235
+ if (autoFitOnceRef.current.frame !== frame) {
236
+ autoFitOnceRef.current = { frame, done: false };
237
+ }
238
+ if (autoFitOnceRef.current.done) return;
239
+ if (contentWidth <= 0 || contentHeight <= 0) return;
240
+ let cancelled = false;
241
+ let raf = 0;
242
+ const tick = () => {
243
+ if (cancelled) return;
244
+ const ctx = transformRef.current;
245
+ const container = containerRef.current;
246
+ if (!ctx || !(container == null ? void 0 : container.querySelector(".react-transform-wrapper"))) {
247
+ raf = requestAnimationFrame(tick);
248
+ return;
249
+ }
250
+ fitBounds();
251
+ autoFitOnceRef.current.done = true;
252
+ };
253
+ raf = requestAnimationFrame(tick);
254
+ return () => {
255
+ cancelled = true;
256
+ cancelAnimationFrame(raf);
257
+ };
258
+ }, [
259
+ isFloorMapView,
260
+ autoFitOnMount,
261
+ frameResetKey,
262
+ contentWidth,
263
+ contentHeight,
264
+ fitBounds,
265
+ transformRef
266
+ ]);
267
+ const lastTransformRef = (0, import_react.useRef)({ x: 0, y: 0, scale: 1 });
268
+ const [isInteractingWithElement, setIsInteractingWithElement] = (0, import_react.useState)(false);
269
+ const prevInteractingRef = (0, import_react.useRef)(false);
270
+ (0, import_react.useEffect)(() => {
271
+ if (isInteractingWithElement) {
272
+ prevInteractingRef.current = true;
273
+ return;
274
+ }
275
+ if (!prevInteractingRef.current) return;
276
+ prevInteractingRef.current = false;
277
+ const saved = lastTransformRef.current;
278
+ const raf = requestAnimationFrame(() => {
279
+ var _a;
280
+ (_a = transformRef.current) == null ? void 0 : _a.setTransform(saved.x, saved.y, saved.scale);
281
+ });
282
+ return () => cancelAnimationFrame(raf);
283
+ }, [isInteractingWithElement, transformRef]);
284
+ return {
285
+ containerRef,
286
+ mapAreaRef,
287
+ viewportSize,
288
+ mapAreaSize,
289
+ contentWidth,
290
+ contentHeight,
291
+ contentOffsetX,
292
+ contentOffsetY,
293
+ initialPositionX,
294
+ initialPositionY,
295
+ zoomConfig,
296
+ scale,
297
+ setScale,
298
+ isFullscreen,
299
+ toggleFullscreen,
300
+ fitBounds,
301
+ lastTransformRef,
302
+ isInteractingWithElement,
303
+ setIsInteractingWithElement
304
+ };
305
+ }
306
+ // Annotate the CommonJS export names for ESM import in node:
307
+ 0 && (module.exports = {
308
+ useFloorMapTransformMetrics
309
+ });
@@ -1,6 +1,13 @@
1
1
  /**
2
2
  * PisellFloorMapLayout 组件入口
3
- * 空间布局视图:在二维平面按坐标渲染资源,支持缩放/平移/复位
3
+ * 空间布局视图:在二维平面按坐标渲染资源,支持缩放/平移/复位;支持 floorMapConfig + mode 平面图视图
4
4
  */
5
5
  export { PisellFloorMapLayout } from './PisellFloorMapLayout';
6
- export type { PisellFloorMapLayoutProps, PisellFloorMapLayoutRef, FloorMapItemBase, FloorMapItemUnit, FloorMapLayerConfig, FloorMapZoomConfig, FloorMapPanConfig, FloorMapControlsConfig, FloorMapItemShape, FloorMapBackgroundType, FloorMapPanBoundary, FloorMapLayoutMode, FloorMapGridLayoutConfig, } from './types';
6
+ export type { PisellFloorMapLayoutProps, PisellFloorMapLayoutRef, FloorMapItemBase, FloorMapItemUnit, FloorMapLayerConfig, FloorMapZoomConfig, FloorMapPanConfig, FloorMapControlsConfig, FloorMapItemShape, FloorMapBackgroundType, FloorMapPanBoundary, FloorMapLayoutMode, FloorMapGridLayoutConfig, FloorMapCanvas, FloorMapCanvasNameI18n, FloorMapElement, FloorMapData, FloorMapViewConfig, FloorMapCanvasUiConfig, FloorMapSceneElement, FloorMapSceneElementDataBinding, FloorMapPlaceMode, FloorMapElementKindCategory, FloorMapElementDataBindingPolicy, FloorMapElementDefaultPresentation, FloorMapEdge, FloorMapElementKindConfig, FloorMapElementType, FloorMapTextSlot, FloorMapDataSources, FloorMapRenderOptions, FloorMapEditPanelParams, DataSourceFormColumn, FloorMapMergedItem, FloorMapRecordFormRenderContext, FloorMapDataSourceRecordFormContent, FloorMapFullscreenMode, FloorMapLayoutContextValue, } from './types';
7
+ export { FLOOR_MAP_STAGE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, } from './types';
8
+ export { FloorMapLayoutProvider, useFloorMapLayoutContext, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, } from './context/FloorMapLayoutContext';
9
+ export type { FloorMapLayoutProviderProps } from './context/FloorMapLayoutContext';
10
+ export { mergeFloorMapLayoutPropsFromContext } from './context/mergeFloorMapLayoutContext';
11
+ export { FloorMapImageElement } from './components/FloorMapImageElement';
12
+ export { getFigmaTableCardFromMerged, renderFigmaStyleTableCard, renderFigmaStyleRoundTableCard, getRenderItemByKindTable, getRenderItemByKindRoundTable, } from './components/FigmaTableCard';
13
+ export type { FigmaTableCardItem, FigmaTableStatus, } from './components/FigmaTableCard';
@@ -19,11 +19,40 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
19
19
  // src/components/pisellFloorMapLayout/index.tsx
20
20
  var pisellFloorMapLayout_exports = {};
21
21
  __export(pisellFloorMapLayout_exports, {
22
- PisellFloorMapLayout: () => import_PisellFloorMapLayout.PisellFloorMapLayout
22
+ EMPTY_FLOOR_MAP_LAYOUT_CONTEXT: () => import_FloorMapLayoutContext.EMPTY_FLOOR_MAP_LAYOUT_CONTEXT,
23
+ FLOOR_MAP_IMAGE_ELEMENT_KIND: () => import_types.FLOOR_MAP_IMAGE_ELEMENT_KIND,
24
+ FLOOR_MAP_STAGE_ELEMENT_KIND: () => import_types.FLOOR_MAP_STAGE_ELEMENT_KIND,
25
+ FloorMapImageElement: () => import_FloorMapImageElement.FloorMapImageElement,
26
+ FloorMapLayoutProvider: () => import_FloorMapLayoutContext.FloorMapLayoutProvider,
27
+ PisellFloorMapLayout: () => import_PisellFloorMapLayout.PisellFloorMapLayout,
28
+ getFigmaTableCardFromMerged: () => import_FigmaTableCard.getFigmaTableCardFromMerged,
29
+ getRenderItemByKindRoundTable: () => import_FigmaTableCard.getRenderItemByKindRoundTable,
30
+ getRenderItemByKindTable: () => import_FigmaTableCard.getRenderItemByKindTable,
31
+ mergeFloorMapLayoutPropsFromContext: () => import_mergeFloorMapLayoutContext.mergeFloorMapLayoutPropsFromContext,
32
+ renderFigmaStyleRoundTableCard: () => import_FigmaTableCard.renderFigmaStyleRoundTableCard,
33
+ renderFigmaStyleTableCard: () => import_FigmaTableCard.renderFigmaStyleTableCard,
34
+ useFloorMapLayoutContext: () => import_FloorMapLayoutContext.useFloorMapLayoutContext
23
35
  });
24
36
  module.exports = __toCommonJS(pisellFloorMapLayout_exports);
25
37
  var import_PisellFloorMapLayout = require("./PisellFloorMapLayout");
38
+ var import_types = require("./types");
39
+ var import_FloorMapLayoutContext = require("./context/FloorMapLayoutContext");
40
+ var import_mergeFloorMapLayoutContext = require("./context/mergeFloorMapLayoutContext");
41
+ var import_FloorMapImageElement = require("./components/FloorMapImageElement");
42
+ var import_FigmaTableCard = require("./components/FigmaTableCard");
26
43
  // Annotate the CommonJS export names for ESM import in node:
27
44
  0 && (module.exports = {
28
- PisellFloorMapLayout
45
+ EMPTY_FLOOR_MAP_LAYOUT_CONTEXT,
46
+ FLOOR_MAP_IMAGE_ELEMENT_KIND,
47
+ FLOOR_MAP_STAGE_ELEMENT_KIND,
48
+ FloorMapImageElement,
49
+ FloorMapLayoutProvider,
50
+ PisellFloorMapLayout,
51
+ getFigmaTableCardFromMerged,
52
+ getRenderItemByKindRoundTable,
53
+ getRenderItemByKindTable,
54
+ mergeFloorMapLayoutPropsFromContext,
55
+ renderFigmaStyleRoundTableCard,
56
+ renderFigmaStyleTableCard,
57
+ useFloorMapLayoutContext
29
58
  });
@@ -0,0 +1,186 @@
1
+ /**
2
+ * PisellFloorMapLayout 内置文案(画布 Tab、编辑面板等)
3
+ */
4
+ declare const _default: {
5
+ en: {
6
+ 'pisell-floor-map-layout.loading': string;
7
+ 'pisell-floor-map-layout.read-canvas-tabs.aria': string;
8
+ 'pisell-floor-map-layout.edit-top-bar.aria': string;
9
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-enter-aria': string;
10
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-enter-title': string;
11
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-exit-aria': string;
12
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-exit-title': string;
13
+ 'pisell-floor-map-layout.edit-top-bar.unsaved': string;
14
+ 'pisell-floor-map-layout.edit-top-bar.save': string;
15
+ 'pisell-floor-map-layout.edit-top-bar.saving': string;
16
+ 'pisell-floor-map-layout.canvas-tabs.empty': string;
17
+ 'pisell-floor-map-layout.canvas-tabs.add': string;
18
+ 'pisell-floor-map-layout.canvas-tabs.add-title': string;
19
+ 'pisell-floor-map-layout.canvas-tabs.hint': string;
20
+ 'pisell-floor-map-layout.canvas-tabs.rename-aria': string;
21
+ 'pisell-floor-map-layout.canvas-tabs.remove-aria': string;
22
+ 'pisell-floor-map-layout.canvas-tabs.rename-title': string;
23
+ 'pisell-floor-map-layout.canvas-tabs.rename-button-aria': string;
24
+ 'pisell-floor-map-layout.canvas-tabs.rename-button-title': string;
25
+ 'pisell-floor-map-layout.canvas-tabs.default-new-canvas-name': string;
26
+ 'pisell-floor-map-layout.canvas-tabs.rename-modal-title': string;
27
+ 'pisell-floor-map-layout.canvas-tabs.rename-modal-ok': string;
28
+ 'pisell-floor-map-layout.canvas-tabs.rename-modal-cancel': string;
29
+ 'pisell-floor-map-layout.edit-panel.element-props': string;
30
+ 'pisell-floor-map-layout.edit-panel.close-aria': string;
31
+ 'pisell-floor-map-layout.edit-panel.hint-apply': string;
32
+ 'pisell-floor-map-layout.edit-panel.hint-save': string;
33
+ 'pisell-floor-map-layout.edit-panel.section-layout': string;
34
+ 'pisell-floor-map-layout.edit-panel.lock-on': string;
35
+ 'pisell-floor-map-layout.edit-panel.lock-off': string;
36
+ 'pisell-floor-map-layout.edit-panel.label-x': string;
37
+ 'pisell-floor-map-layout.edit-panel.label-y': string;
38
+ 'pisell-floor-map-layout.edit-panel.label-z': string;
39
+ 'pisell-floor-map-layout.edit-panel.label-width': string;
40
+ 'pisell-floor-map-layout.edit-panel.label-height': string;
41
+ 'pisell-floor-map-layout.edit-panel.label-name': string;
42
+ 'pisell-floor-map-layout.edit-panel.label-name-stage': string;
43
+ 'pisell-floor-map-layout.edit-panel.ph-name-stage': string;
44
+ 'pisell-floor-map-layout.edit-panel.ph-name': string;
45
+ 'pisell-floor-map-layout.edit-panel.label-image-url': string;
46
+ 'pisell-floor-map-layout.edit-panel.extra-image-url': string;
47
+ 'pisell-floor-map-layout.edit-panel.ph-https': string;
48
+ 'pisell-floor-map-layout.edit-panel.label-canvas': string;
49
+ 'pisell-floor-map-layout.edit-panel.apply': string;
50
+ 'pisell-floor-map-layout.edit-panel.data-binding': string;
51
+ 'pisell-floor-map-layout.edit-panel.data-binding-note': string;
52
+ 'pisell-floor-map-layout.edit-panel.label-data-source': string;
53
+ 'pisell-floor-map-layout.edit-panel.ph-data-source': string;
54
+ 'pisell-floor-map-layout.edit-panel.label-pick-row': string;
55
+ 'pisell-floor-map-layout.edit-panel.ph-pick-row': string;
56
+ 'pisell-floor-map-layout.edit-panel.ph-no-rows': string;
57
+ 'pisell-floor-map-layout.edit-panel.hint-unbound': string;
58
+ 'pisell-floor-map-layout.edit-panel.record-title': string;
59
+ 'pisell-floor-map-layout.edit-panel.pop-title': string;
60
+ 'pisell-floor-map-layout.edit-panel.pop-desc': string;
61
+ 'pisell-floor-map-layout.edit-panel.btn-delete': string;
62
+ 'pisell-floor-map-layout.edit-panel.btn-cancel': string;
63
+ 'pisell-floor-map-layout.edit-panel.btn-ok-delete': string;
64
+ };
65
+ 'zh-CN': {
66
+ 'pisell-floor-map-layout.loading': string;
67
+ 'pisell-floor-map-layout.read-canvas-tabs.aria': string;
68
+ 'pisell-floor-map-layout.edit-top-bar.aria': string;
69
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-enter-aria': string;
70
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-enter-title': string;
71
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-exit-aria': string;
72
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-exit-title': string;
73
+ 'pisell-floor-map-layout.edit-top-bar.unsaved': string;
74
+ 'pisell-floor-map-layout.edit-top-bar.save': string;
75
+ 'pisell-floor-map-layout.edit-top-bar.saving': string;
76
+ 'pisell-floor-map-layout.canvas-tabs.empty': string;
77
+ 'pisell-floor-map-layout.canvas-tabs.add': string;
78
+ 'pisell-floor-map-layout.canvas-tabs.add-title': string;
79
+ 'pisell-floor-map-layout.canvas-tabs.hint': string;
80
+ 'pisell-floor-map-layout.canvas-tabs.rename-aria': string;
81
+ 'pisell-floor-map-layout.canvas-tabs.remove-aria': string;
82
+ 'pisell-floor-map-layout.canvas-tabs.rename-title': string;
83
+ 'pisell-floor-map-layout.canvas-tabs.rename-button-aria': string;
84
+ 'pisell-floor-map-layout.canvas-tabs.rename-button-title': string;
85
+ 'pisell-floor-map-layout.canvas-tabs.default-new-canvas-name': string;
86
+ 'pisell-floor-map-layout.canvas-tabs.rename-modal-title': string;
87
+ 'pisell-floor-map-layout.canvas-tabs.rename-modal-ok': string;
88
+ 'pisell-floor-map-layout.canvas-tabs.rename-modal-cancel': string;
89
+ 'pisell-floor-map-layout.edit-panel.element-props': string;
90
+ 'pisell-floor-map-layout.edit-panel.close-aria': string;
91
+ 'pisell-floor-map-layout.edit-panel.hint-apply': string;
92
+ 'pisell-floor-map-layout.edit-panel.hint-save': string;
93
+ 'pisell-floor-map-layout.edit-panel.section-layout': string;
94
+ 'pisell-floor-map-layout.edit-panel.lock-on': string;
95
+ 'pisell-floor-map-layout.edit-panel.lock-off': string;
96
+ 'pisell-floor-map-layout.edit-panel.label-x': string;
97
+ 'pisell-floor-map-layout.edit-panel.label-y': string;
98
+ 'pisell-floor-map-layout.edit-panel.label-z': string;
99
+ 'pisell-floor-map-layout.edit-panel.label-width': string;
100
+ 'pisell-floor-map-layout.edit-panel.label-height': string;
101
+ 'pisell-floor-map-layout.edit-panel.label-name': string;
102
+ 'pisell-floor-map-layout.edit-panel.label-name-stage': string;
103
+ 'pisell-floor-map-layout.edit-panel.ph-name-stage': string;
104
+ 'pisell-floor-map-layout.edit-panel.ph-name': string;
105
+ 'pisell-floor-map-layout.edit-panel.label-image-url': string;
106
+ 'pisell-floor-map-layout.edit-panel.extra-image-url': string;
107
+ 'pisell-floor-map-layout.edit-panel.ph-https': string;
108
+ 'pisell-floor-map-layout.edit-panel.label-canvas': string;
109
+ 'pisell-floor-map-layout.edit-panel.apply': string;
110
+ 'pisell-floor-map-layout.edit-panel.data-binding': string;
111
+ 'pisell-floor-map-layout.edit-panel.data-binding-note': string;
112
+ 'pisell-floor-map-layout.edit-panel.label-data-source': string;
113
+ 'pisell-floor-map-layout.edit-panel.ph-data-source': string;
114
+ 'pisell-floor-map-layout.edit-panel.label-pick-row': string;
115
+ 'pisell-floor-map-layout.edit-panel.ph-pick-row': string;
116
+ 'pisell-floor-map-layout.edit-panel.ph-no-rows': string;
117
+ 'pisell-floor-map-layout.edit-panel.hint-unbound': string;
118
+ 'pisell-floor-map-layout.edit-panel.record-title': string;
119
+ 'pisell-floor-map-layout.edit-panel.pop-title': string;
120
+ 'pisell-floor-map-layout.edit-panel.pop-desc': string;
121
+ 'pisell-floor-map-layout.edit-panel.btn-delete': string;
122
+ 'pisell-floor-map-layout.edit-panel.btn-cancel': string;
123
+ 'pisell-floor-map-layout.edit-panel.btn-ok-delete': string;
124
+ };
125
+ 'zh-HK': {
126
+ 'pisell-floor-map-layout.loading': string;
127
+ 'pisell-floor-map-layout.read-canvas-tabs.aria': string;
128
+ 'pisell-floor-map-layout.edit-top-bar.aria': string;
129
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-enter-aria': string;
130
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-enter-title': string;
131
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-exit-aria': string;
132
+ 'pisell-floor-map-layout.edit-top-bar.fullscreen-exit-title': string;
133
+ 'pisell-floor-map-layout.edit-top-bar.unsaved': string;
134
+ 'pisell-floor-map-layout.edit-top-bar.save': string;
135
+ 'pisell-floor-map-layout.edit-top-bar.saving': string;
136
+ 'pisell-floor-map-layout.canvas-tabs.empty': string;
137
+ 'pisell-floor-map-layout.canvas-tabs.add': string;
138
+ 'pisell-floor-map-layout.canvas-tabs.add-title': string;
139
+ 'pisell-floor-map-layout.canvas-tabs.hint': string;
140
+ 'pisell-floor-map-layout.canvas-tabs.rename-aria': string;
141
+ 'pisell-floor-map-layout.canvas-tabs.remove-aria': string;
142
+ 'pisell-floor-map-layout.canvas-tabs.rename-title': string;
143
+ 'pisell-floor-map-layout.canvas-tabs.rename-button-aria': string;
144
+ 'pisell-floor-map-layout.canvas-tabs.rename-button-title': string;
145
+ 'pisell-floor-map-layout.canvas-tabs.default-new-canvas-name': string;
146
+ 'pisell-floor-map-layout.canvas-tabs.rename-modal-title': string;
147
+ 'pisell-floor-map-layout.canvas-tabs.rename-modal-ok': string;
148
+ 'pisell-floor-map-layout.canvas-tabs.rename-modal-cancel': string;
149
+ 'pisell-floor-map-layout.edit-panel.element-props': string;
150
+ 'pisell-floor-map-layout.edit-panel.close-aria': string;
151
+ 'pisell-floor-map-layout.edit-panel.hint-apply': string;
152
+ 'pisell-floor-map-layout.edit-panel.hint-save': string;
153
+ 'pisell-floor-map-layout.edit-panel.section-layout': string;
154
+ 'pisell-floor-map-layout.edit-panel.lock-on': string;
155
+ 'pisell-floor-map-layout.edit-panel.lock-off': string;
156
+ 'pisell-floor-map-layout.edit-panel.label-x': string;
157
+ 'pisell-floor-map-layout.edit-panel.label-y': string;
158
+ 'pisell-floor-map-layout.edit-panel.label-z': string;
159
+ 'pisell-floor-map-layout.edit-panel.label-width': string;
160
+ 'pisell-floor-map-layout.edit-panel.label-height': string;
161
+ 'pisell-floor-map-layout.edit-panel.label-name': string;
162
+ 'pisell-floor-map-layout.edit-panel.label-name-stage': string;
163
+ 'pisell-floor-map-layout.edit-panel.ph-name-stage': string;
164
+ 'pisell-floor-map-layout.edit-panel.ph-name': string;
165
+ 'pisell-floor-map-layout.edit-panel.label-image-url': string;
166
+ 'pisell-floor-map-layout.edit-panel.extra-image-url': string;
167
+ 'pisell-floor-map-layout.edit-panel.ph-https': string;
168
+ 'pisell-floor-map-layout.edit-panel.label-canvas': string;
169
+ 'pisell-floor-map-layout.edit-panel.apply': string;
170
+ 'pisell-floor-map-layout.edit-panel.data-binding': string;
171
+ 'pisell-floor-map-layout.edit-panel.data-binding-note': string;
172
+ 'pisell-floor-map-layout.edit-panel.label-data-source': string;
173
+ 'pisell-floor-map-layout.edit-panel.ph-data-source': string;
174
+ 'pisell-floor-map-layout.edit-panel.label-pick-row': string;
175
+ 'pisell-floor-map-layout.edit-panel.ph-pick-row': string;
176
+ 'pisell-floor-map-layout.edit-panel.ph-no-rows': string;
177
+ 'pisell-floor-map-layout.edit-panel.hint-unbound': string;
178
+ 'pisell-floor-map-layout.edit-panel.record-title': string;
179
+ 'pisell-floor-map-layout.edit-panel.pop-title': string;
180
+ 'pisell-floor-map-layout.edit-panel.pop-desc': string;
181
+ 'pisell-floor-map-layout.edit-panel.btn-delete': string;
182
+ 'pisell-floor-map-layout.edit-panel.btn-cancel': string;
183
+ 'pisell-floor-map-layout.edit-panel.btn-ok-delete': string;
184
+ };
185
+ };
186
+ export default _default;