@pisell/materials 6.11.42 → 6.11.44

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 (360) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +18 -18
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +18 -18
  11. package/es/components/Pagination/index.d.ts +0 -1
  12. package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +0 -1
  13. package/es/components/PisellFields/index.d.ts +0 -1
  14. package/es/components/PisellMetrics/index.d.ts +0 -1
  15. package/es/components/cardPro/index.d.ts +1 -0
  16. package/es/components/colorPicker/index.d.ts +0 -1
  17. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  18. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  19. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  20. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  21. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  22. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  23. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
  24. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  25. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  26. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  27. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  28. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  29. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  30. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -2
  31. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  32. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
  33. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  34. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  35. package/es/components/dataSourceComponents/fields/index.d.ts +16 -17
  36. package/es/components/date-picker/datePickerCpt.d.ts +0 -1
  37. package/es/components/date-picker/index.d.ts +0 -1
  38. package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  39. package/es/components/filter/components/FilterItem/index.js +3 -1
  40. package/es/components/filter/components/QuickFilter/index.js +3 -2
  41. package/es/components/filter/components/items/index.d.ts +0 -1
  42. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  43. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  44. package/es/components/filter/components/items/text/index.d.ts +0 -1
  45. package/es/components/filter/index.d.ts +0 -1
  46. package/es/components/list/index.d.ts +0 -1
  47. package/es/components/lowCodePage/index.d.ts +0 -1
  48. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  49. package/es/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +0 -1
  50. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -3
  51. package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  52. package/es/components/pisellFilter/index.d.ts +0 -1
  53. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +175 -24
  54. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.less +22 -0
  55. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +2 -2
  56. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.js +268 -103
  57. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +40 -4
  58. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +22 -0
  59. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +138 -12
  60. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +9 -1
  61. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.js +65 -4
  62. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.less +97 -4
  63. package/es/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +39 -0
  64. package/es/components/pisellFloorMapLayout/components/HistoryIcons.js +75 -0
  65. package/es/components/pisellFloorMapLayout/components/ItemLayer.js +14 -1
  66. package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +9 -0
  67. package/es/components/pisellFloorMapLayout/components/ViewControls.js +96 -12
  68. package/es/components/pisellFloorMapLayout/components/ViewControls.less +224 -21
  69. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +6 -0
  70. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +3 -0
  71. package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +4 -0
  72. package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.js +4 -0
  73. package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +25 -0
  74. package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.js +68 -0
  75. package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +18 -0
  76. package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.js +104 -0
  77. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +5 -0
  78. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +121 -34
  79. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +23 -1
  80. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +345 -29
  81. package/es/components/pisellFloorMapLayout/index.d.ts +1 -0
  82. package/es/components/pisellFloorMapLayout/index.js +1 -0
  83. package/es/components/pisellFloorMapLayout/locales-ja.d.ts +20 -0
  84. package/es/components/pisellFloorMapLayout/locales-ja.js +21 -1
  85. package/es/components/pisellFloorMapLayout/locales-pt.d.ts +20 -0
  86. package/es/components/pisellFloorMapLayout/locales-pt.js +21 -1
  87. package/es/components/pisellFloorMapLayout/locales.d.ts +100 -0
  88. package/es/components/pisellFloorMapLayout/locales.js +63 -3
  89. package/es/components/pisellFloorMapLayout/types.d.ts +37 -0
  90. package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +50 -0
  91. package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.js +74 -0
  92. package/es/components/pisellGridPro/ToolBar/index.less +5 -4
  93. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
  94. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  95. package/es/components/pisellLoading/index.d.ts +0 -1
  96. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  97. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  98. package/es/components/pisellModal/components/index.d.ts +0 -1
  99. package/es/components/pisellRecordBoard/PisellRecordBoard.js +9 -3
  100. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  101. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +2 -1
  102. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.js +9 -2
  103. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +99 -101
  104. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +8 -0
  105. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.js +12 -0
  106. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +13 -0
  107. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.js +66 -0
  108. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +176 -10
  109. package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +20 -2
  110. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +6 -0
  111. package/es/components/pisellRecordBoard/shellFrame/index.js +3 -1
  112. package/es/components/pisellRecordBoard/types.d.ts +20 -1
  113. package/es/components/pisellShellFrame/PisellShellFrame.js +4 -1
  114. package/es/components/pisellShellFrame/PisellShellFrame.less +13 -0
  115. package/es/components/pisellShellFrame/types.d.ts +6 -0
  116. package/es/components/pisellTimeNavigator/PisellTimeNavigator.js +139 -29
  117. package/es/components/pisellTimeNavigator/PisellTimeNavigator.less +126 -13
  118. package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +3 -1
  119. package/es/components/pisellTimeNavigator/components/CursorLayer.js +3 -0
  120. package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +9 -1
  121. package/es/components/pisellTimeNavigator/components/GestureLayer.js +11 -4
  122. package/es/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +20 -0
  123. package/es/components/pisellTimeNavigator/timeNavigatorConstants.js +27 -0
  124. package/es/components/pisellTooltip/index.d.ts +1 -0
  125. package/es/components/productCard/components/Action/index.d.ts +1 -0
  126. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
  127. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  128. package/es/components/productCard/components/Note/index.d.ts +0 -1
  129. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  130. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  131. package/es/components/productCard/components/Packages/index.d.ts +0 -1
  132. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
  133. package/es/components/productCard/components/Time/index.d.ts +0 -1
  134. package/es/components/qrcode/index.d.ts +0 -1
  135. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  136. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -1
  137. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  138. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  139. package/es/components/table/Actions/index.d.ts +0 -1
  140. package/es/components/table/BasicTable/index.d.ts +0 -1
  141. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  142. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  143. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  144. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  145. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  146. package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
  147. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  148. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  149. package/es/components/table/Table/fields/index.d.ts +0 -1
  150. package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
  151. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  152. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  153. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  154. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  155. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  156. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  157. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  158. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  159. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  160. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  161. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  162. package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
  163. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  164. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  165. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  166. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  167. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  168. package/es/components/table/Table/utils.d.ts +1 -1
  169. package/es/components/table/View/index.d.ts +0 -1
  170. package/es/components/versionSelect/index.d.ts +0 -1
  171. package/es/index.d.ts +8 -1
  172. package/es/index.js +8 -1
  173. package/es/locales/en-US.d.ts +2 -0
  174. package/es/locales/en-US.js +2 -0
  175. package/es/locales/ja.d.ts +2 -0
  176. package/es/locales/ja.js +2 -0
  177. package/es/locales/pt.d.ts +2 -0
  178. package/es/locales/pt.js +2 -0
  179. package/es/locales/zh-CN.d.ts +2 -0
  180. package/es/locales/zh-CN.js +2 -0
  181. package/es/locales/zh-TW.d.ts +2 -0
  182. package/es/locales/zh-TW.js +2 -0
  183. package/es/utils/index.d.ts +1 -1
  184. package/es/utils/platform.d.ts +1 -1
  185. package/lib/components/Pagination/index.d.ts +0 -1
  186. package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +0 -1
  187. package/lib/components/PisellFields/index.d.ts +0 -1
  188. package/lib/components/PisellMetrics/index.d.ts +0 -1
  189. package/lib/components/cardPro/index.d.ts +1 -0
  190. package/lib/components/colorPicker/index.d.ts +0 -1
  191. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  192. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  193. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  194. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  195. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  196. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  197. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
  198. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  199. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  200. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  201. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  202. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  203. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  204. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -2
  205. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  206. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
  207. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  208. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  209. package/lib/components/dataSourceComponents/fields/index.d.ts +16 -17
  210. package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
  211. package/lib/components/date-picker/index.d.ts +0 -1
  212. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  213. package/lib/components/filter/components/FilterItem/index.js +2 -1
  214. package/lib/components/filter/components/QuickFilter/index.js +3 -2
  215. package/lib/components/filter/components/items/index.d.ts +0 -1
  216. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  217. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  218. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  219. package/lib/components/filter/index.d.ts +0 -1
  220. package/lib/components/list/index.d.ts +0 -1
  221. package/lib/components/lowCodePage/index.d.ts +0 -1
  222. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  223. package/lib/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +0 -1
  224. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -3
  225. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  226. package/lib/components/pisellFilter/index.d.ts +0 -1
  227. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +141 -44
  228. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.less +22 -0
  229. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +2 -2
  230. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.js +213 -94
  231. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +41 -2
  232. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +22 -0
  233. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +128 -12
  234. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +9 -1
  235. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.js +53 -5
  236. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.less +97 -4
  237. package/lib/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +39 -0
  238. package/lib/components/pisellFloorMapLayout/components/HistoryIcons.js +71 -0
  239. package/lib/components/pisellFloorMapLayout/components/ItemLayer.js +2 -1
  240. package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +9 -0
  241. package/lib/components/pisellFloorMapLayout/components/ViewControls.js +158 -49
  242. package/lib/components/pisellFloorMapLayout/components/ViewControls.less +224 -21
  243. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +6 -0
  244. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +3 -0
  245. package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +4 -0
  246. package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.js +29 -0
  247. package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +25 -0
  248. package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.js +98 -0
  249. package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +18 -0
  250. package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.js +95 -0
  251. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +5 -0
  252. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +65 -15
  253. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +23 -1
  254. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +196 -24
  255. package/lib/components/pisellFloorMapLayout/index.d.ts +1 -0
  256. package/lib/components/pisellFloorMapLayout/index.js +9 -0
  257. package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +20 -0
  258. package/lib/components/pisellFloorMapLayout/locales-ja.js +21 -1
  259. package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +20 -0
  260. package/lib/components/pisellFloorMapLayout/locales-pt.js +21 -1
  261. package/lib/components/pisellFloorMapLayout/locales.d.ts +100 -0
  262. package/lib/components/pisellFloorMapLayout/locales.js +63 -3
  263. package/lib/components/pisellFloorMapLayout/types.d.ts +37 -0
  264. package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +50 -0
  265. package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.js +60 -0
  266. package/lib/components/pisellGridPro/ToolBar/index.less +5 -4
  267. package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
  268. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  269. package/lib/components/pisellLoading/index.d.ts +0 -1
  270. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  271. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  272. package/lib/components/pisellModal/components/index.d.ts +0 -1
  273. package/lib/components/pisellRecordBoard/PisellRecordBoard.js +10 -3
  274. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  275. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +2 -1
  276. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.js +3 -2
  277. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +70 -75
  278. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +8 -0
  279. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.js +38 -0
  280. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +13 -0
  281. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.js +100 -0
  282. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +176 -10
  283. package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +8 -0
  284. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +6 -0
  285. package/lib/components/pisellRecordBoard/shellFrame/index.js +2 -1
  286. package/lib/components/pisellRecordBoard/types.d.ts +20 -1
  287. package/lib/components/pisellShellFrame/PisellShellFrame.js +2 -1
  288. package/lib/components/pisellShellFrame/PisellShellFrame.less +13 -0
  289. package/lib/components/pisellShellFrame/types.d.ts +6 -0
  290. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.js +96 -27
  291. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.less +126 -13
  292. package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +3 -1
  293. package/lib/components/pisellTimeNavigator/components/CursorLayer.js +2 -0
  294. package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +9 -1
  295. package/lib/components/pisellTimeNavigator/components/GestureLayer.js +5 -2
  296. package/lib/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +20 -0
  297. package/lib/components/pisellTimeNavigator/timeNavigatorConstants.js +47 -0
  298. package/lib/components/pisellTooltip/index.d.ts +1 -0
  299. package/lib/components/productCard/components/Action/index.d.ts +1 -0
  300. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
  301. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  302. package/lib/components/productCard/components/Note/index.d.ts +0 -1
  303. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  304. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  305. package/lib/components/productCard/components/Packages/index.d.ts +0 -1
  306. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
  307. package/lib/components/productCard/components/Time/index.d.ts +0 -1
  308. package/lib/components/qrcode/index.d.ts +0 -1
  309. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  310. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -1
  311. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  312. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  313. package/lib/components/table/Actions/index.d.ts +0 -1
  314. package/lib/components/table/BasicTable/index.d.ts +0 -1
  315. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  316. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  317. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  318. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  319. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  320. package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
  321. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  322. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  323. package/lib/components/table/Table/fields/index.d.ts +0 -1
  324. package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
  325. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  326. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  327. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  328. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  329. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  330. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  331. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  332. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  333. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  334. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  335. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  336. package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
  337. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  338. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  339. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  340. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  341. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  342. package/lib/components/table/Table/utils.d.ts +1 -1
  343. package/lib/components/table/View/index.d.ts +0 -1
  344. package/lib/components/versionSelect/index.d.ts +0 -1
  345. package/lib/index.d.ts +8 -1
  346. package/lib/index.js +8 -0
  347. package/lib/locales/en-US.d.ts +2 -0
  348. package/lib/locales/en-US.js +2 -0
  349. package/lib/locales/ja.d.ts +2 -0
  350. package/lib/locales/ja.js +2 -0
  351. package/lib/locales/pt.d.ts +2 -0
  352. package/lib/locales/pt.js +2 -0
  353. package/lib/locales/zh-CN.d.ts +2 -0
  354. package/lib/locales/zh-CN.js +2 -0
  355. package/lib/locales/zh-TW.d.ts +2 -0
  356. package/lib/locales/zh-TW.js +2 -0
  357. package/lib/utils/index.d.ts +1 -1
  358. package/lib/utils/platform.d.ts +1 -1
  359. package/lowcode/pisell-record-board-calendar-view/meta.ts +1 -1
  360. package/package.json +2 -2
@@ -12,6 +12,14 @@ export default {
12
12
  'pisell-floor-map-layout.edit-top-bar.unsaved': 'Não guardado',
13
13
  'pisell-floor-map-layout.edit-top-bar.save': 'Guardar',
14
14
  'pisell-floor-map-layout.edit-top-bar.saving': 'A guardar…',
15
+ 'pisell-floor-map-layout.edit-top-bar.undo': 'Anular',
16
+ 'pisell-floor-map-layout.edit-top-bar.redo': 'Refazer',
17
+ 'pisell-floor-map-layout.edit-top-bar.cancel-edit': 'Cancelar',
18
+ 'pisell-floor-map-layout.edit-top-bar.finish-edit': 'Concluir',
19
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': 'Alterações não guardadas',
20
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': 'Se sair desta página, quaisquer alterações não guardadas serão perdidas.',
21
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': 'OK',
22
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': 'Cancelar',
15
23
  'pisell-floor-map-layout.canvas-tabs.empty': 'Sem canvas',
16
24
  'pisell-floor-map-layout.canvas-tabs.add': '+ Adicionar piso',
17
25
  'pisell-floor-map-layout.canvas-tabs.add-title': 'Adicionar piso',
@@ -41,6 +49,8 @@ export default {
41
49
  'pisell-floor-map-layout.edit-panel.label-name-stage': 'Nome (no canvas)',
42
50
  'pisell-floor-map-layout.edit-panel.ph-name-stage': 'Ex.: palco, cabine DJ, pista de dança',
43
51
  'pisell-floor-map-layout.edit-panel.ph-name': 'Nome do elemento',
52
+ 'pisell-floor-map-layout.edit-panel.label-name-as-title': 'Usar este nome como título do recurso',
53
+ 'pisell-floor-map-layout.edit-panel.tip-name-as-title': 'Quando ativado, este nome substitui o título do registro vinculado nos cards do mapa.',
44
54
  'pisell-floor-map-layout.edit-panel.label-image-url': 'URL da imagem',
45
55
  'pisell-floor-map-layout.edit-panel.extra-image-url': 'URL de imagem na rede. Baixe a ordem para colocar atrás das mesas.',
46
56
  'pisell-floor-map-layout.edit-panel.ph-https': 'https://...',
@@ -81,6 +91,8 @@ export default {
81
91
  'pisell-floor-map-layout.toolbar.layout-dirty-hint': 'O layout foi alterado. Use «Guardar» para confirmar.',
82
92
  'pisell-floor-map-layout.toolbar.save': 'Guardar',
83
93
  'pisell-floor-map-layout.toolbar.saving': 'A guardar…',
94
+ 'pisell-floor-map-layout.toolbar.collapse': 'Recolher painel',
95
+ 'pisell-floor-map-layout.toolbar.expand': 'Expandir painel',
84
96
  'pisell-floor-map-layout.view-controls.zoom-out-aria': 'Reduzir zoom',
85
97
  'pisell-floor-map-layout.view-controls.zoom-in-aria': 'Aumentar zoom',
86
98
  'pisell-floor-map-layout.view-controls.reset-aria': 'Repor vista',
@@ -91,6 +103,8 @@ export default {
91
103
  'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': 'Sair do ecrã inteiro',
92
104
  'pisell-floor-map-layout.view-controls.expand-tools-aria': 'Mostrar mais ferramentas de vista',
93
105
  'pisell-floor-map-layout.view-controls.collapse-tools-aria': 'Ocultar ferramentas extra',
106
+ 'pisell-floor-map-layout.view-controls.viewport-lock-aria': 'Bloquear vista (desativar deslocação e zoom)',
107
+ 'pisell-floor-map-layout.view-controls.viewport-unlock-aria': 'Desbloquear vista',
94
108
  'pisell-floor-map-layout.image-element.default-name': 'Elemento de imagem',
95
109
  'pisell-floor-map-layout.placement.fallback-image-name': 'Fundo',
96
110
  'pisell-floor-map-layout.image-element.hint-no-url': 'Introduza o URL da imagem na barra lateral. Baixe a ordem para ficar atrás das mesas.',
@@ -108,5 +122,11 @@ export default {
108
122
  'pisell-floor-map-layout.figma-card.kind-square-table': 'Mesa',
109
123
  'pisell-floor-map-layout.figma-card.default-table': 'Mesa',
110
124
  'pisell-floor-map-layout.figma-card.capacity-seats': 'Lotação {n}',
111
- 'pisell-floor-map-layout.figma-card.guests-count': '{n} pessoas'
125
+ 'pisell-floor-map-layout.figma-card.guests-count': '{n} pessoas',
126
+ 'pisell-floor-map-layout.figma-card.status-available': 'Livre',
127
+ 'pisell-floor-map-layout.figma-card.status-reserved': 'Reservada',
128
+ 'pisell-floor-map-layout.figma-card.status-waiting': 'Aguardando',
129
+ 'pisell-floor-map-layout.figma-card.status-dining': 'Em uso',
130
+ 'pisell-floor-map-layout.figma-card.status-billed': 'Cobrada',
131
+ 'pisell-floor-map-layout.figma-card.status-availableSoon': 'Em breve'
112
132
  };
@@ -13,6 +13,14 @@ declare const _default: {
13
13
  'pisell-floor-map-layout.edit-top-bar.unsaved': string;
14
14
  'pisell-floor-map-layout.edit-top-bar.save': string;
15
15
  'pisell-floor-map-layout.edit-top-bar.saving': string;
16
+ 'pisell-floor-map-layout.edit-top-bar.undo': string;
17
+ 'pisell-floor-map-layout.edit-top-bar.redo': string;
18
+ 'pisell-floor-map-layout.edit-top-bar.cancel-edit': string;
19
+ 'pisell-floor-map-layout.edit-top-bar.finish-edit': string;
20
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': string;
21
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': string;
22
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': string;
23
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': string;
16
24
  'pisell-floor-map-layout.canvas-tabs.empty': string;
17
25
  'pisell-floor-map-layout.canvas-tabs.add': string;
18
26
  'pisell-floor-map-layout.canvas-tabs.add-title': string;
@@ -42,6 +50,8 @@ declare const _default: {
42
50
  'pisell-floor-map-layout.edit-panel.label-name-stage': string;
43
51
  'pisell-floor-map-layout.edit-panel.ph-name-stage': string;
44
52
  'pisell-floor-map-layout.edit-panel.ph-name': string;
53
+ 'pisell-floor-map-layout.edit-panel.label-name-as-title': string;
54
+ 'pisell-floor-map-layout.edit-panel.tip-name-as-title': string;
45
55
  'pisell-floor-map-layout.edit-panel.label-image-url': string;
46
56
  'pisell-floor-map-layout.edit-panel.extra-image-url': string;
47
57
  'pisell-floor-map-layout.edit-panel.ph-https': string;
@@ -82,6 +92,8 @@ declare const _default: {
82
92
  'pisell-floor-map-layout.toolbar.layout-dirty-hint': string;
83
93
  'pisell-floor-map-layout.toolbar.save': string;
84
94
  'pisell-floor-map-layout.toolbar.saving': string;
95
+ 'pisell-floor-map-layout.toolbar.collapse': string;
96
+ 'pisell-floor-map-layout.toolbar.expand': string;
85
97
  'pisell-floor-map-layout.view-controls.zoom-out-aria': string;
86
98
  'pisell-floor-map-layout.view-controls.zoom-in-aria': string;
87
99
  'pisell-floor-map-layout.view-controls.reset-aria': string;
@@ -92,6 +104,8 @@ declare const _default: {
92
104
  'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': string;
93
105
  'pisell-floor-map-layout.view-controls.expand-tools-aria': string;
94
106
  'pisell-floor-map-layout.view-controls.collapse-tools-aria': string;
107
+ 'pisell-floor-map-layout.view-controls.viewport-lock-aria': string;
108
+ 'pisell-floor-map-layout.view-controls.viewport-unlock-aria': string;
95
109
  'pisell-floor-map-layout.image-element.default-name': string;
96
110
  'pisell-floor-map-layout.placement.fallback-image-name': string;
97
111
  'pisell-floor-map-layout.image-element.hint-no-url': string;
@@ -110,6 +124,12 @@ declare const _default: {
110
124
  'pisell-floor-map-layout.figma-card.default-table': string;
111
125
  'pisell-floor-map-layout.figma-card.capacity-seats': string;
112
126
  'pisell-floor-map-layout.figma-card.guests-count': string;
127
+ 'pisell-floor-map-layout.figma-card.status-available': string;
128
+ 'pisell-floor-map-layout.figma-card.status-reserved': string;
129
+ 'pisell-floor-map-layout.figma-card.status-waiting': string;
130
+ 'pisell-floor-map-layout.figma-card.status-dining': string;
131
+ 'pisell-floor-map-layout.figma-card.status-billed': string;
132
+ 'pisell-floor-map-layout.figma-card.status-availableSoon': string;
113
133
  };
114
134
  'zh-CN': {
115
135
  'pisell-floor-map-layout.loading': string;
@@ -122,6 +142,14 @@ declare const _default: {
122
142
  'pisell-floor-map-layout.edit-top-bar.unsaved': string;
123
143
  'pisell-floor-map-layout.edit-top-bar.save': string;
124
144
  'pisell-floor-map-layout.edit-top-bar.saving': string;
145
+ 'pisell-floor-map-layout.edit-top-bar.undo': string;
146
+ 'pisell-floor-map-layout.edit-top-bar.redo': string;
147
+ 'pisell-floor-map-layout.edit-top-bar.cancel-edit': string;
148
+ 'pisell-floor-map-layout.edit-top-bar.finish-edit': string;
149
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': string;
150
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': string;
151
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': string;
152
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': string;
125
153
  'pisell-floor-map-layout.canvas-tabs.empty': string;
126
154
  'pisell-floor-map-layout.canvas-tabs.add': string;
127
155
  'pisell-floor-map-layout.canvas-tabs.add-title': string;
@@ -151,6 +179,8 @@ declare const _default: {
151
179
  'pisell-floor-map-layout.edit-panel.label-name-stage': string;
152
180
  'pisell-floor-map-layout.edit-panel.ph-name-stage': string;
153
181
  'pisell-floor-map-layout.edit-panel.ph-name': string;
182
+ 'pisell-floor-map-layout.edit-panel.label-name-as-title': string;
183
+ 'pisell-floor-map-layout.edit-panel.tip-name-as-title': string;
154
184
  'pisell-floor-map-layout.edit-panel.label-image-url': string;
155
185
  'pisell-floor-map-layout.edit-panel.extra-image-url': string;
156
186
  'pisell-floor-map-layout.edit-panel.ph-https': string;
@@ -191,6 +221,8 @@ declare const _default: {
191
221
  'pisell-floor-map-layout.toolbar.layout-dirty-hint': string;
192
222
  'pisell-floor-map-layout.toolbar.save': string;
193
223
  'pisell-floor-map-layout.toolbar.saving': string;
224
+ 'pisell-floor-map-layout.toolbar.collapse': string;
225
+ 'pisell-floor-map-layout.toolbar.expand': string;
194
226
  'pisell-floor-map-layout.view-controls.zoom-out-aria': string;
195
227
  'pisell-floor-map-layout.view-controls.zoom-in-aria': string;
196
228
  'pisell-floor-map-layout.view-controls.reset-aria': string;
@@ -201,6 +233,8 @@ declare const _default: {
201
233
  'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': string;
202
234
  'pisell-floor-map-layout.view-controls.expand-tools-aria': string;
203
235
  'pisell-floor-map-layout.view-controls.collapse-tools-aria': string;
236
+ 'pisell-floor-map-layout.view-controls.viewport-lock-aria': string;
237
+ 'pisell-floor-map-layout.view-controls.viewport-unlock-aria': string;
204
238
  'pisell-floor-map-layout.image-element.default-name': string;
205
239
  'pisell-floor-map-layout.placement.fallback-image-name': string;
206
240
  'pisell-floor-map-layout.image-element.hint-no-url': string;
@@ -219,6 +253,12 @@ declare const _default: {
219
253
  'pisell-floor-map-layout.figma-card.default-table': string;
220
254
  'pisell-floor-map-layout.figma-card.capacity-seats': string;
221
255
  'pisell-floor-map-layout.figma-card.guests-count': string;
256
+ 'pisell-floor-map-layout.figma-card.status-available': string;
257
+ 'pisell-floor-map-layout.figma-card.status-reserved': string;
258
+ 'pisell-floor-map-layout.figma-card.status-waiting': string;
259
+ 'pisell-floor-map-layout.figma-card.status-dining': string;
260
+ 'pisell-floor-map-layout.figma-card.status-billed': string;
261
+ 'pisell-floor-map-layout.figma-card.status-availableSoon': string;
222
262
  };
223
263
  'zh-HK': {
224
264
  'pisell-floor-map-layout.loading': string;
@@ -231,6 +271,14 @@ declare const _default: {
231
271
  'pisell-floor-map-layout.edit-top-bar.unsaved': string;
232
272
  'pisell-floor-map-layout.edit-top-bar.save': string;
233
273
  'pisell-floor-map-layout.edit-top-bar.saving': string;
274
+ 'pisell-floor-map-layout.edit-top-bar.undo': string;
275
+ 'pisell-floor-map-layout.edit-top-bar.redo': string;
276
+ 'pisell-floor-map-layout.edit-top-bar.cancel-edit': string;
277
+ 'pisell-floor-map-layout.edit-top-bar.finish-edit': string;
278
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': string;
279
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': string;
280
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': string;
281
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': string;
234
282
  'pisell-floor-map-layout.canvas-tabs.empty': string;
235
283
  'pisell-floor-map-layout.canvas-tabs.add': string;
236
284
  'pisell-floor-map-layout.canvas-tabs.add-title': string;
@@ -260,6 +308,8 @@ declare const _default: {
260
308
  'pisell-floor-map-layout.edit-panel.label-name-stage': string;
261
309
  'pisell-floor-map-layout.edit-panel.ph-name-stage': string;
262
310
  'pisell-floor-map-layout.edit-panel.ph-name': string;
311
+ 'pisell-floor-map-layout.edit-panel.label-name-as-title': string;
312
+ 'pisell-floor-map-layout.edit-panel.tip-name-as-title': string;
263
313
  'pisell-floor-map-layout.edit-panel.label-image-url': string;
264
314
  'pisell-floor-map-layout.edit-panel.extra-image-url': string;
265
315
  'pisell-floor-map-layout.edit-panel.ph-https': string;
@@ -300,6 +350,8 @@ declare const _default: {
300
350
  'pisell-floor-map-layout.toolbar.layout-dirty-hint': string;
301
351
  'pisell-floor-map-layout.toolbar.save': string;
302
352
  'pisell-floor-map-layout.toolbar.saving': string;
353
+ 'pisell-floor-map-layout.toolbar.collapse': string;
354
+ 'pisell-floor-map-layout.toolbar.expand': string;
303
355
  'pisell-floor-map-layout.view-controls.zoom-out-aria': string;
304
356
  'pisell-floor-map-layout.view-controls.zoom-in-aria': string;
305
357
  'pisell-floor-map-layout.view-controls.reset-aria': string;
@@ -310,6 +362,8 @@ declare const _default: {
310
362
  'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': string;
311
363
  'pisell-floor-map-layout.view-controls.expand-tools-aria': string;
312
364
  'pisell-floor-map-layout.view-controls.collapse-tools-aria': string;
365
+ 'pisell-floor-map-layout.view-controls.viewport-lock-aria': string;
366
+ 'pisell-floor-map-layout.view-controls.viewport-unlock-aria': string;
313
367
  'pisell-floor-map-layout.image-element.default-name': string;
314
368
  'pisell-floor-map-layout.placement.fallback-image-name': string;
315
369
  'pisell-floor-map-layout.image-element.hint-no-url': string;
@@ -328,6 +382,12 @@ declare const _default: {
328
382
  'pisell-floor-map-layout.figma-card.default-table': string;
329
383
  'pisell-floor-map-layout.figma-card.capacity-seats': string;
330
384
  'pisell-floor-map-layout.figma-card.guests-count': string;
385
+ 'pisell-floor-map-layout.figma-card.status-available': string;
386
+ 'pisell-floor-map-layout.figma-card.status-reserved': string;
387
+ 'pisell-floor-map-layout.figma-card.status-waiting': string;
388
+ 'pisell-floor-map-layout.figma-card.status-dining': string;
389
+ 'pisell-floor-map-layout.figma-card.status-billed': string;
390
+ 'pisell-floor-map-layout.figma-card.status-availableSoon': string;
331
391
  };
332
392
  ja: {
333
393
  'pisell-floor-map-layout.loading': string;
@@ -340,6 +400,14 @@ declare const _default: {
340
400
  'pisell-floor-map-layout.edit-top-bar.unsaved': string;
341
401
  'pisell-floor-map-layout.edit-top-bar.save': string;
342
402
  'pisell-floor-map-layout.edit-top-bar.saving': string;
403
+ 'pisell-floor-map-layout.edit-top-bar.undo': string;
404
+ 'pisell-floor-map-layout.edit-top-bar.redo': string;
405
+ 'pisell-floor-map-layout.edit-top-bar.cancel-edit': string;
406
+ 'pisell-floor-map-layout.edit-top-bar.finish-edit': string;
407
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': string;
408
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': string;
409
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': string;
410
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': string;
343
411
  'pisell-floor-map-layout.canvas-tabs.empty': string;
344
412
  'pisell-floor-map-layout.canvas-tabs.add': string;
345
413
  'pisell-floor-map-layout.canvas-tabs.add-title': string;
@@ -369,6 +437,8 @@ declare const _default: {
369
437
  'pisell-floor-map-layout.edit-panel.label-name-stage': string;
370
438
  'pisell-floor-map-layout.edit-panel.ph-name-stage': string;
371
439
  'pisell-floor-map-layout.edit-panel.ph-name': string;
440
+ 'pisell-floor-map-layout.edit-panel.label-name-as-title': string;
441
+ 'pisell-floor-map-layout.edit-panel.tip-name-as-title': string;
372
442
  'pisell-floor-map-layout.edit-panel.label-image-url': string;
373
443
  'pisell-floor-map-layout.edit-panel.extra-image-url': string;
374
444
  'pisell-floor-map-layout.edit-panel.ph-https': string;
@@ -409,6 +479,8 @@ declare const _default: {
409
479
  'pisell-floor-map-layout.toolbar.layout-dirty-hint': string;
410
480
  'pisell-floor-map-layout.toolbar.save': string;
411
481
  'pisell-floor-map-layout.toolbar.saving': string;
482
+ 'pisell-floor-map-layout.toolbar.collapse': string;
483
+ 'pisell-floor-map-layout.toolbar.expand': string;
412
484
  'pisell-floor-map-layout.view-controls.zoom-out-aria': string;
413
485
  'pisell-floor-map-layout.view-controls.zoom-in-aria': string;
414
486
  'pisell-floor-map-layout.view-controls.reset-aria': string;
@@ -419,6 +491,8 @@ declare const _default: {
419
491
  'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': string;
420
492
  'pisell-floor-map-layout.view-controls.expand-tools-aria': string;
421
493
  'pisell-floor-map-layout.view-controls.collapse-tools-aria': string;
494
+ 'pisell-floor-map-layout.view-controls.viewport-lock-aria': string;
495
+ 'pisell-floor-map-layout.view-controls.viewport-unlock-aria': string;
422
496
  'pisell-floor-map-layout.image-element.default-name': string;
423
497
  'pisell-floor-map-layout.placement.fallback-image-name': string;
424
498
  'pisell-floor-map-layout.image-element.hint-no-url': string;
@@ -437,6 +511,12 @@ declare const _default: {
437
511
  'pisell-floor-map-layout.figma-card.default-table': string;
438
512
  'pisell-floor-map-layout.figma-card.capacity-seats': string;
439
513
  'pisell-floor-map-layout.figma-card.guests-count': string;
514
+ 'pisell-floor-map-layout.figma-card.status-available': string;
515
+ 'pisell-floor-map-layout.figma-card.status-reserved': string;
516
+ 'pisell-floor-map-layout.figma-card.status-waiting': string;
517
+ 'pisell-floor-map-layout.figma-card.status-dining': string;
518
+ 'pisell-floor-map-layout.figma-card.status-billed': string;
519
+ 'pisell-floor-map-layout.figma-card.status-availableSoon': string;
440
520
  };
441
521
  pt: {
442
522
  'pisell-floor-map-layout.loading': string;
@@ -449,6 +529,14 @@ declare const _default: {
449
529
  'pisell-floor-map-layout.edit-top-bar.unsaved': string;
450
530
  'pisell-floor-map-layout.edit-top-bar.save': string;
451
531
  'pisell-floor-map-layout.edit-top-bar.saving': string;
532
+ 'pisell-floor-map-layout.edit-top-bar.undo': string;
533
+ 'pisell-floor-map-layout.edit-top-bar.redo': string;
534
+ 'pisell-floor-map-layout.edit-top-bar.cancel-edit': string;
535
+ 'pisell-floor-map-layout.edit-top-bar.finish-edit': string;
536
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': string;
537
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': string;
538
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': string;
539
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': string;
452
540
  'pisell-floor-map-layout.canvas-tabs.empty': string;
453
541
  'pisell-floor-map-layout.canvas-tabs.add': string;
454
542
  'pisell-floor-map-layout.canvas-tabs.add-title': string;
@@ -478,6 +566,8 @@ declare const _default: {
478
566
  'pisell-floor-map-layout.edit-panel.label-name-stage': string;
479
567
  'pisell-floor-map-layout.edit-panel.ph-name-stage': string;
480
568
  'pisell-floor-map-layout.edit-panel.ph-name': string;
569
+ 'pisell-floor-map-layout.edit-panel.label-name-as-title': string;
570
+ 'pisell-floor-map-layout.edit-panel.tip-name-as-title': string;
481
571
  'pisell-floor-map-layout.edit-panel.label-image-url': string;
482
572
  'pisell-floor-map-layout.edit-panel.extra-image-url': string;
483
573
  'pisell-floor-map-layout.edit-panel.ph-https': string;
@@ -518,6 +608,8 @@ declare const _default: {
518
608
  'pisell-floor-map-layout.toolbar.layout-dirty-hint': string;
519
609
  'pisell-floor-map-layout.toolbar.save': string;
520
610
  'pisell-floor-map-layout.toolbar.saving': string;
611
+ 'pisell-floor-map-layout.toolbar.collapse': string;
612
+ 'pisell-floor-map-layout.toolbar.expand': string;
521
613
  'pisell-floor-map-layout.view-controls.zoom-out-aria': string;
522
614
  'pisell-floor-map-layout.view-controls.zoom-in-aria': string;
523
615
  'pisell-floor-map-layout.view-controls.reset-aria': string;
@@ -528,6 +620,8 @@ declare const _default: {
528
620
  'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': string;
529
621
  'pisell-floor-map-layout.view-controls.expand-tools-aria': string;
530
622
  'pisell-floor-map-layout.view-controls.collapse-tools-aria': string;
623
+ 'pisell-floor-map-layout.view-controls.viewport-lock-aria': string;
624
+ 'pisell-floor-map-layout.view-controls.viewport-unlock-aria': string;
531
625
  'pisell-floor-map-layout.image-element.default-name': string;
532
626
  'pisell-floor-map-layout.placement.fallback-image-name': string;
533
627
  'pisell-floor-map-layout.image-element.hint-no-url': string;
@@ -546,6 +640,12 @@ declare const _default: {
546
640
  'pisell-floor-map-layout.figma-card.default-table': string;
547
641
  'pisell-floor-map-layout.figma-card.capacity-seats': string;
548
642
  'pisell-floor-map-layout.figma-card.guests-count': string;
643
+ 'pisell-floor-map-layout.figma-card.status-available': string;
644
+ 'pisell-floor-map-layout.figma-card.status-reserved': string;
645
+ 'pisell-floor-map-layout.figma-card.status-waiting': string;
646
+ 'pisell-floor-map-layout.figma-card.status-dining': string;
647
+ 'pisell-floor-map-layout.figma-card.status-billed': string;
648
+ 'pisell-floor-map-layout.figma-card.status-availableSoon': string;
549
649
  };
550
650
  };
551
651
  export default _default;
@@ -16,6 +16,14 @@ export default {
16
16
  'pisell-floor-map-layout.edit-top-bar.unsaved': 'Unsaved',
17
17
  'pisell-floor-map-layout.edit-top-bar.save': 'Save',
18
18
  'pisell-floor-map-layout.edit-top-bar.saving': 'Saving…',
19
+ 'pisell-floor-map-layout.edit-top-bar.undo': 'Undo',
20
+ 'pisell-floor-map-layout.edit-top-bar.redo': 'Redo',
21
+ 'pisell-floor-map-layout.edit-top-bar.cancel-edit': 'Cancel',
22
+ 'pisell-floor-map-layout.edit-top-bar.finish-edit': 'Done',
23
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': 'Unsaved changes',
24
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': 'If you leave this page, any unsaved changes will be lost.',
25
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': 'OK',
26
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': 'Cancel',
19
27
  'pisell-floor-map-layout.canvas-tabs.empty': 'No canvas',
20
28
  'pisell-floor-map-layout.canvas-tabs.add': '+ Add floor',
21
29
  'pisell-floor-map-layout.canvas-tabs.add-title': 'Add floor',
@@ -45,6 +53,8 @@ export default {
45
53
  'pisell-floor-map-layout.edit-panel.label-name-stage': 'Display name (on canvas)',
46
54
  'pisell-floor-map-layout.edit-panel.ph-name-stage': 'e.g. stage, DJ booth, dance floor',
47
55
  'pisell-floor-map-layout.edit-panel.ph-name': 'Element name',
56
+ 'pisell-floor-map-layout.edit-panel.label-name-as-title': 'Use this name as the resource title',
57
+ 'pisell-floor-map-layout.edit-panel.tip-name-as-title': 'When enabled, this name overrides the bound record title in cards on the canvas.',
48
58
  'pisell-floor-map-layout.edit-panel.label-image-url': 'Image URL',
49
59
  'pisell-floor-map-layout.edit-panel.extra-image-url': 'Use a network image URL; lower layer to place under tables.',
50
60
  'pisell-floor-map-layout.edit-panel.ph-https': 'https://...',
@@ -85,6 +95,8 @@ export default {
85
95
  'pisell-floor-map-layout.toolbar.layout-dirty-hint': 'Layout changed — click Save to persist.',
86
96
  'pisell-floor-map-layout.toolbar.save': 'Save',
87
97
  'pisell-floor-map-layout.toolbar.saving': 'Saving…',
98
+ 'pisell-floor-map-layout.toolbar.collapse': 'Collapse panel',
99
+ 'pisell-floor-map-layout.toolbar.expand': 'Expand panel',
88
100
  'pisell-floor-map-layout.view-controls.zoom-out-aria': 'Zoom out',
89
101
  'pisell-floor-map-layout.view-controls.zoom-in-aria': 'Zoom in',
90
102
  'pisell-floor-map-layout.view-controls.reset-aria': 'Reset view',
@@ -95,6 +107,8 @@ export default {
95
107
  'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': 'Exit fullscreen',
96
108
  'pisell-floor-map-layout.view-controls.expand-tools-aria': 'Show more view tools',
97
109
  'pisell-floor-map-layout.view-controls.collapse-tools-aria': 'Hide extra view tools',
110
+ 'pisell-floor-map-layout.view-controls.viewport-lock-aria': 'Lock viewport (disable pan and zoom)',
111
+ 'pisell-floor-map-layout.view-controls.viewport-unlock-aria': 'Unlock viewport',
98
112
  'pisell-floor-map-layout.image-element.default-name': 'Image',
99
113
  'pisell-floor-map-layout.placement.fallback-image-name': 'Background',
100
114
  'pisell-floor-map-layout.image-element.hint-no-url': 'Enter the image URL in the sidebar; lower the layer to place under tables.',
@@ -112,7 +126,13 @@ export default {
112
126
  'pisell-floor-map-layout.figma-card.kind-square-table': 'Table',
113
127
  'pisell-floor-map-layout.figma-card.default-table': 'Table',
114
128
  'pisell-floor-map-layout.figma-card.capacity-seats': 'Seats {n}',
115
- 'pisell-floor-map-layout.figma-card.guests-count': '{n} guests'
129
+ 'pisell-floor-map-layout.figma-card.guests-count': '{n} guests',
130
+ 'pisell-floor-map-layout.figma-card.status-available': 'Available',
131
+ 'pisell-floor-map-layout.figma-card.status-reserved': 'Reserved',
132
+ 'pisell-floor-map-layout.figma-card.status-waiting': 'Waiting',
133
+ 'pisell-floor-map-layout.figma-card.status-dining': 'Dining',
134
+ 'pisell-floor-map-layout.figma-card.status-billed': 'Billed',
135
+ 'pisell-floor-map-layout.figma-card.status-availableSoon': 'Soon'
116
136
  },
117
137
  'zh-CN': {
118
138
  'pisell-floor-map-layout.loading': '加载中…',
@@ -125,6 +145,14 @@ export default {
125
145
  'pisell-floor-map-layout.edit-top-bar.unsaved': '未保存',
126
146
  'pisell-floor-map-layout.edit-top-bar.save': '保存',
127
147
  'pisell-floor-map-layout.edit-top-bar.saving': '保存中…',
148
+ 'pisell-floor-map-layout.edit-top-bar.undo': '撤销',
149
+ 'pisell-floor-map-layout.edit-top-bar.redo': '重做',
150
+ 'pisell-floor-map-layout.edit-top-bar.cancel-edit': '取消',
151
+ 'pisell-floor-map-layout.edit-top-bar.finish-edit': '完成',
152
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': '未保存的更改',
153
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': '如果退出此页面,任何未保存的更改都将丢失。',
154
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': '确定',
155
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': '取消',
128
156
  'pisell-floor-map-layout.canvas-tabs.empty': '暂无画布',
129
157
  'pisell-floor-map-layout.canvas-tabs.add': '+ 添加楼层',
130
158
  'pisell-floor-map-layout.canvas-tabs.add-title': '添加楼层',
@@ -154,6 +182,8 @@ export default {
154
182
  'pisell-floor-map-layout.edit-panel.label-name-stage': '显示名称(画布上)',
155
183
  'pisell-floor-map-layout.edit-panel.ph-name-stage': '如:舞台、DJ 台、舞池',
156
184
  'pisell-floor-map-layout.edit-panel.ph-name': '图元名称',
185
+ 'pisell-floor-map-layout.edit-panel.label-name-as-title': '将此名称作为资源标题',
186
+ 'pisell-floor-map-layout.edit-panel.tip-name-as-title': '勾选后画布卡片标题以此名称为准,覆盖绑定的业务字段。',
157
187
  'pisell-floor-map-layout.edit-panel.label-image-url': '图片地址(URL)',
158
188
  'pisell-floor-map-layout.edit-panel.extra-image-url': '可填网络图片地址;将层级调低可铺在桌位下方作底图。',
159
189
  'pisell-floor-map-layout.edit-panel.ph-https': 'https://...',
@@ -194,6 +224,8 @@ export default {
194
224
  'pisell-floor-map-layout.toolbar.layout-dirty-hint': '布局已修改,请点击「保存」持久化。',
195
225
  'pisell-floor-map-layout.toolbar.save': '保存',
196
226
  'pisell-floor-map-layout.toolbar.saving': '保存中…',
227
+ 'pisell-floor-map-layout.toolbar.collapse': '收起面板',
228
+ 'pisell-floor-map-layout.toolbar.expand': '展开面板',
197
229
  'pisell-floor-map-layout.view-controls.zoom-out-aria': '缩小',
198
230
  'pisell-floor-map-layout.view-controls.zoom-in-aria': '放大',
199
231
  'pisell-floor-map-layout.view-controls.reset-aria': '复位',
@@ -204,6 +236,8 @@ export default {
204
236
  'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': '退出全屏',
205
237
  'pisell-floor-map-layout.view-controls.expand-tools-aria': '展开更多操作',
206
238
  'pisell-floor-map-layout.view-controls.collapse-tools-aria': '收起更多操作',
239
+ 'pisell-floor-map-layout.view-controls.viewport-lock-aria': '锁定视图(禁止拖拽和缩放)',
240
+ 'pisell-floor-map-layout.view-controls.viewport-unlock-aria': '解锁视图',
207
241
  'pisell-floor-map-layout.image-element.default-name': '图片图元',
208
242
  'pisell-floor-map-layout.placement.fallback-image-name': '底图',
209
243
  'pisell-floor-map-layout.image-element.hint-no-url': '在侧栏填写图片地址;可调层级置于桌位下方作底图',
@@ -221,7 +255,13 @@ export default {
221
255
  'pisell-floor-map-layout.figma-card.kind-square-table': '餐桌',
222
256
  'pisell-floor-map-layout.figma-card.default-table': '餐桌',
223
257
  'pisell-floor-map-layout.figma-card.capacity-seats': '可坐 {n} 人',
224
- 'pisell-floor-map-layout.figma-card.guests-count': '{n} 人'
258
+ 'pisell-floor-map-layout.figma-card.guests-count': '{n} 人',
259
+ 'pisell-floor-map-layout.figma-card.status-available': '空闲',
260
+ 'pisell-floor-map-layout.figma-card.status-reserved': '已预订',
261
+ 'pisell-floor-map-layout.figma-card.status-waiting': '等待',
262
+ 'pisell-floor-map-layout.figma-card.status-dining': '用餐中',
263
+ 'pisell-floor-map-layout.figma-card.status-billed': '已结账',
264
+ 'pisell-floor-map-layout.figma-card.status-availableSoon': '即将可用'
225
265
  },
226
266
  'zh-HK': {
227
267
  'pisell-floor-map-layout.loading': '載入中…',
@@ -234,6 +274,14 @@ export default {
234
274
  'pisell-floor-map-layout.edit-top-bar.unsaved': '未儲存',
235
275
  'pisell-floor-map-layout.edit-top-bar.save': '儲存',
236
276
  'pisell-floor-map-layout.edit-top-bar.saving': '儲存中…',
277
+ 'pisell-floor-map-layout.edit-top-bar.undo': '復原',
278
+ 'pisell-floor-map-layout.edit-top-bar.redo': '取消復原',
279
+ 'pisell-floor-map-layout.edit-top-bar.cancel-edit': '取消',
280
+ 'pisell-floor-map-layout.edit-top-bar.finish-edit': '完成',
281
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': '未儲存的變更',
282
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': '如果退出此頁面,任何未儲存的變更都將遺失。',
283
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': '確定',
284
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': '取消',
237
285
  'pisell-floor-map-layout.canvas-tabs.empty': '暫無畫布',
238
286
  'pisell-floor-map-layout.canvas-tabs.add': '+ 添加樓層',
239
287
  'pisell-floor-map-layout.canvas-tabs.add-title': '添加樓層',
@@ -263,6 +311,8 @@ export default {
263
311
  'pisell-floor-map-layout.edit-panel.label-name-stage': '顯示名稱(畫布上)',
264
312
  'pisell-floor-map-layout.edit-panel.ph-name-stage': '如:舞台、DJ 台、舞池',
265
313
  'pisell-floor-map-layout.edit-panel.ph-name': '圖元名稱',
314
+ 'pisell-floor-map-layout.edit-panel.label-name-as-title': '將此名稱作為資源標題',
315
+ 'pisell-floor-map-layout.edit-panel.tip-name-as-title': '勾選後畫布卡片標題以此名稱為準,覆蓋綁定的業務欄位。',
266
316
  'pisell-floor-map-layout.edit-panel.label-image-url': '圖片地址(URL)',
267
317
  'pisell-floor-map-layout.edit-panel.extra-image-url': '可填網絡圖片地址;將層級調低可鋪在桌位下方作底圖。',
268
318
  'pisell-floor-map-layout.edit-panel.ph-https': 'https://...',
@@ -303,6 +353,8 @@ export default {
303
353
  'pisell-floor-map-layout.toolbar.layout-dirty-hint': '佈局已修改,請點擊「儲存」持久化。',
304
354
  'pisell-floor-map-layout.toolbar.save': '儲存',
305
355
  'pisell-floor-map-layout.toolbar.saving': '儲存中…',
356
+ 'pisell-floor-map-layout.toolbar.collapse': '收起面板',
357
+ 'pisell-floor-map-layout.toolbar.expand': '展開面板',
306
358
  'pisell-floor-map-layout.view-controls.zoom-out-aria': '縮小',
307
359
  'pisell-floor-map-layout.view-controls.zoom-in-aria': '放大',
308
360
  'pisell-floor-map-layout.view-controls.reset-aria': '復位',
@@ -313,6 +365,8 @@ export default {
313
365
  'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': '退出全螢幕',
314
366
  'pisell-floor-map-layout.view-controls.expand-tools-aria': '展開更多操作',
315
367
  'pisell-floor-map-layout.view-controls.collapse-tools-aria': '收起更多操作',
368
+ 'pisell-floor-map-layout.view-controls.viewport-lock-aria': '鎖定視圖(禁止拖曳和縮放)',
369
+ 'pisell-floor-map-layout.view-controls.viewport-unlock-aria': '解鎖視圖',
316
370
  'pisell-floor-map-layout.image-element.default-name': '圖片圖元',
317
371
  'pisell-floor-map-layout.placement.fallback-image-name': '底圖',
318
372
  'pisell-floor-map-layout.image-element.hint-no-url': '在側欄填寫圖片地址;可調層級置於桌位下方作底圖',
@@ -330,7 +384,13 @@ export default {
330
384
  'pisell-floor-map-layout.figma-card.kind-square-table': '餐桌',
331
385
  'pisell-floor-map-layout.figma-card.default-table': '餐桌',
332
386
  'pisell-floor-map-layout.figma-card.capacity-seats': '可坐 {n} 人',
333
- 'pisell-floor-map-layout.figma-card.guests-count': '{n} 人'
387
+ 'pisell-floor-map-layout.figma-card.guests-count': '{n} 人',
388
+ 'pisell-floor-map-layout.figma-card.status-available': '空閒',
389
+ 'pisell-floor-map-layout.figma-card.status-reserved': '已預訂',
390
+ 'pisell-floor-map-layout.figma-card.status-waiting': '等待',
391
+ 'pisell-floor-map-layout.figma-card.status-dining': '用餐中',
392
+ 'pisell-floor-map-layout.figma-card.status-billed': '已結帳',
393
+ 'pisell-floor-map-layout.figma-card.status-availableSoon': '即將可用'
334
394
  },
335
395
  ja: floorMapJa,
336
396
  pt: floorMapPt
@@ -114,6 +114,11 @@ export interface FloorMapControlsConfig {
114
114
  * 是否显示网格开关(写入当前画布 draft 的 mapLayer.showGrid),默认 false
115
115
  */
116
116
  showGridToggle?: boolean;
117
+ /**
118
+ * 是否显示「视口锁定」按钮:锁定后画布的位置 / 缩放不允许通过任何用户交互(拖拽、滚轮、触摸缩放、缩放按钮、适配视口)改变,
119
+ * 防止误触改变视图。默认 false;平面图模式(启用了视口持久化时)由 PisellFloorMapLayout 默认置 true。
120
+ */
121
+ showViewportLock?: boolean;
117
122
  /**
118
123
  * 悬浮控件条水平位置:`start` 左下(默认),`end` 右下
119
124
  */
@@ -293,6 +298,15 @@ export interface FloorMapElementKindConfig {
293
298
  defaultImageUrl?: string;
294
299
  /** 无绑定或行缺失时的说明向展示 */
295
300
  defaultPresentation?: FloorMapElementDefaultPresentation;
301
+ /**
302
+ * 是否允许该 kind 的图元在编辑面板里勾选「将图元名作为资源标题」。
303
+ * 缺省 false:新增 kind 默认不显示该选项,需业务显式开启,向前兼容。
304
+ *
305
+ * 勾选效果(业务展示侧统一通过 {@link resolveSceneElementDisplayTitle} 接入):
306
+ * `el.name` 非空时优先于业务字段(如预约页的 `row.main_field`/`row.code`)作为标题;
307
+ * 未勾选保持现状(业务字段为主,`el.name` 仅作兜底)。
308
+ */
309
+ nameAsTitleConfigurable?: boolean;
296
310
  }
297
311
  /**
298
312
  * 画布/编辑器层能力:新建图元、布局与画布 Tab 的编辑权限
@@ -495,6 +509,21 @@ export interface PisellFloorMapLayoutProps<T extends FloorMapItemBase = FloorMap
495
509
  * 视图控制按钮显隐
496
510
  */
497
511
  controls?: FloorMapControlsConfig;
512
+ /**
513
+ * 视口(画布位置 + 缩放百分比)持久化开关,默认 `true`。
514
+ * 设为 `false` 时完全不读不写 localStorage,始终走 autoFit / 初始对齐行为。
515
+ *
516
+ * 仅在平面图模式(有 `floorMapConfig`)下生效;其它模式没有「画布」概念。
517
+ */
518
+ viewportPersist?: boolean;
519
+ /**
520
+ * 视口持久化的业务命名空间(建议传入店铺 / floor plan 维度的稳定标识,如 floor plan code)。
521
+ *
522
+ * 存储 key 形如 `pisell-floor-map-layout.viewport:<namespace>:<canvasId>`;
523
+ * 不传时 fallback 为仅用 `<canvasId>`,同一 `canvasId` 在跨业务场景(不同店铺 / 不同平面图)会共享视角,
524
+ * 若 `canvasId` 存在全局冲突(例如业务里使用固定常量作 canvasId),务必传入此字段做隔离。
525
+ */
526
+ viewportPersistNamespace?: string;
498
527
  /**
499
528
  * 是否开启 hover 高亮或 hover 事件,默认 true
500
529
  */
@@ -527,6 +556,14 @@ export interface PisellFloorMapLayoutProps<T extends FloorMapItemBase = FloorMap
527
556
  dataSources?: FloorMapDataSources;
528
557
  /** 保存平面图配置,由上层调接口持久化 */
529
558
  onSave?: (config: FloorMapViewConfig) => void;
559
+ /**
560
+ * 退出编辑模式回调(不保存)。
561
+ * 传入后编辑态顶栏会展示「取消编辑」+「完成」两个按钮:
562
+ * - 取消编辑 → `onExitEdit()`(业务层负责把 `mode` 切回 `read`)
563
+ * - 完成 → 先 `onSave(config)` 再 `onExitEdit()`
564
+ * 不传则保持旧版「保存」按钮行为(仅保存,不退出)。
565
+ */
566
+ onExitEdit?: () => void;
530
567
  /** 保存单条数据源记录 */
531
568
  onDataSourceRecordSave?: (dataSourceKey: string, id: string, newData: Record<string, unknown>) => void;
532
569
  /** 数据源展示名,key 为 dataSourceKey */
@@ -0,0 +1,50 @@
1
+ /**
2
+ * 「将图元名作为资源标题」开关:通用读写 + 标题解析。
3
+ *
4
+ * - 持久化在 `sceneElement.extensions[NAME_AS_TITLE_EXT_KEY]`,避免污染顶层 schema、
5
+ * 不影响未启用该能力的旧 / 新 kind。
6
+ * - 是否在编辑面板「显示」该选项,由 `FloorMapElementKindConfig.nameAsTitleConfigurable`
7
+ * 控制;展示侧(业务卡片渲染)只读 extensions,不依赖 kindConfig,确保即便业务方
8
+ * 后续撤回 kindConfig 开关,已落库的偏好仍生效。
9
+ */
10
+ /** 持久化字段名:固定字符串,跨包共用,勿改 */
11
+ export declare const NAME_AS_TITLE_EXT_KEY: "nameAsTitle";
12
+ interface ElementWithExtensions {
13
+ name?: string;
14
+ extensions?: Record<string, unknown>;
15
+ }
16
+ /** 安全读取「图元名作为标题」开关 */
17
+ export declare function isElementNameAsTitleEnabled(el: ElementWithExtensions | null | undefined): boolean;
18
+ /**
19
+ * 计算 `extensions` patch:返回值供调用方写入 `sceneElement.extensions`。
20
+ *
21
+ * - `enabled === true` 时写入 `true`;
22
+ * - `enabled === false` 时**移除**该 key(而非写 `false`),避免持久化里残留无意义字段;
23
+ * - 返回 `undefined` 表示「extensions 整体可清空」(仅当结果是空对象时)。
24
+ *
25
+ * @example
26
+ * const nextExt = buildNameAsTitleExtensionsPatch(el.extensions, true);
27
+ * onUpdate({ extensions: nextExt });
28
+ */
29
+ export declare function buildNameAsTitleExtensionsPatch(prev: Record<string, unknown> | undefined, enabled: boolean): Record<string, unknown> | undefined;
30
+ /**
31
+ * 通用图元标题解析:业务展示层(卡片标题、占位标题等)统一调用本函数,
32
+ * 让「图元名作为资源标题」这一偏好对所有接入方一致生效。
33
+ *
34
+ * 优先级:
35
+ * 1. 启用了 nameAsTitle 且 `el.name` 非空 → `el.name`
36
+ * 2. `recordTitle`(业务侧按自己规则算出来的,如预约页 `row.main_field` / `row.code`)
37
+ * 3. `el.name`(业务字段缺失时的兜底,与历史行为一致)
38
+ * 4. `fallback`(如 kindLabel)
39
+ * 5. 空串
40
+ *
41
+ * 不更改 `displayRoomTitleFromRow` / `record.name` 等业务函数本身,
42
+ * 业务方只需把"按业务字段"算出来的结果以 `recordTitle` 传入即可,
43
+ * `bookingDetailModal` 等下游不会被联动改坏。
44
+ */
45
+ export declare function resolveSceneElementDisplayTitle(opts: {
46
+ sceneElement?: ElementWithExtensions | null;
47
+ recordTitle?: string;
48
+ fallback?: string;
49
+ }): string;
50
+ export {};