@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
@@ -24,8 +24,7 @@ __export(useFloorMapTransformMetrics_exports, {
24
24
  module.exports = __toCommonJS(useFloorMapTransformMetrics_exports);
25
25
  var import_react = require("react");
26
26
  var import_layoutMeasurements = require("../utils/layoutMeasurements");
27
- var DEFAULT_BOUNDING_PADDING = 56;
28
- var VIEWPORT_TOP_LEFT_MARGIN = 16;
27
+ var import_floorMapViewportPersistence = require("./floorMapViewportPersistence");
29
28
  function useFloorMapTransformMetrics(params) {
30
29
  const {
31
30
  items,
@@ -38,9 +37,10 @@ function useFloorMapTransformMetrics(params) {
38
37
  transformRef,
39
38
  contentOffsetRef,
40
39
  boundingPadding: boundingPaddingProp,
41
- frameResetKey
40
+ frameResetKey,
41
+ viewportPersistKey
42
42
  } = params;
43
- const padSingle = boundingPaddingProp ?? DEFAULT_BOUNDING_PADDING;
43
+ const padSingle = boundingPaddingProp ?? import_floorMapViewportPersistence.DEFAULT_BOUNDING_PADDING;
44
44
  const containerRef = (0, import_react.useRef)(null);
45
45
  const mapAreaRef = (0, import_react.useRef)(null);
46
46
  const [viewportSize, setViewportSize] = (0, import_react.useState)({ width: 0, height: 0 });
@@ -77,6 +77,32 @@ function useFloorMapTransformMetrics(params) {
77
77
  );
78
78
  const [scale, setScale] = (0, import_react.useState)(zoomConfig.initialScale);
79
79
  const [isFullscreen, setIsFullscreen] = (0, import_react.useState)(false);
80
+ const lastFitSnapshotRef = (0, import_react.useRef)(null);
81
+ const [isAtFitBounds, setIsAtFitBounds] = (0, import_react.useState)(false);
82
+ const [viewportLocked, setViewportLockedState] = (0, import_react.useState)(
83
+ () => viewportPersistKey ? (0, import_floorMapViewportPersistence.readPersistedViewportLock)(viewportPersistKey) : false
84
+ );
85
+ const viewportLockedRef = (0, import_react.useRef)(viewportLocked);
86
+ viewportLockedRef.current = viewportLocked;
87
+ (0, import_react.useEffect)(() => {
88
+ if (!viewportPersistKey) {
89
+ setViewportLockedState(false);
90
+ return;
91
+ }
92
+ setViewportLockedState((0, import_floorMapViewportPersistence.readPersistedViewportLock)(viewportPersistKey));
93
+ }, [viewportPersistKey]);
94
+ const setViewportLocked = (0, import_react.useCallback)(
95
+ (next) => {
96
+ setViewportLockedState(next);
97
+ const key = viewportPersistKey;
98
+ if (!key) return;
99
+ (0, import_floorMapViewportPersistence.writePersistedViewportLock)(key, next);
100
+ },
101
+ [viewportPersistKey]
102
+ );
103
+ const toggleViewportLocked = (0, import_react.useCallback)(() => {
104
+ setViewportLocked(!viewportLockedRef.current);
105
+ }, [setViewportLocked]);
80
106
  const {
81
107
  contentWidth,
82
108
  contentHeight,
@@ -137,8 +163,8 @@ function useFloorMapTransformMetrics(params) {
137
163
  padSingle
138
164
  ]);
139
165
  const padForAlign = alignPadSingle ?? 0;
140
- const initialPositionX = VIEWPORT_TOP_LEFT_MARGIN - padForAlign * zoomConfig.initialScale;
141
- const initialPositionY = VIEWPORT_TOP_LEFT_MARGIN - padForAlign * zoomConfig.initialScale;
166
+ const initialPositionX = import_floorMapViewportPersistence.VIEWPORT_TOP_LEFT_MARGIN - padForAlign * zoomConfig.initialScale;
167
+ const initialPositionY = import_floorMapViewportPersistence.VIEWPORT_TOP_LEFT_MARGIN - padForAlign * zoomConfig.initialScale;
142
168
  contentOffsetRef.current = { x: contentOffsetX, y: contentOffsetY };
143
169
  const initialAlignRef = (0, import_react.useRef)({
144
170
  frame: "",
@@ -190,23 +216,26 @@ function useFloorMapTransformMetrics(params) {
190
216
  autoFitOnMount
191
217
  ]);
192
218
  (0, import_react.useEffect)(() => {
193
- const el = containerRef.current;
194
- if (!el) return;
195
- const onFullscreenChange = () => setIsFullscreen(document.fullscreenElement === el);
196
- document.addEventListener("fullscreenchange", onFullscreenChange);
197
- return () => document.removeEventListener("fullscreenchange", onFullscreenChange);
219
+ if (!isFullscreen) return;
220
+ if (typeof document === "undefined") return;
221
+ const bodyCls = "pisell-floor-map-layout-fullscreen-host";
222
+ document.body.classList.add(bodyCls);
223
+ return () => {
224
+ document.body.classList.remove(bodyCls);
225
+ };
226
+ }, [isFullscreen]);
227
+ (0, import_react.useEffect)(() => {
228
+ return () => {
229
+ if (typeof document === "undefined") return;
230
+ document.body.classList.remove("pisell-floor-map-layout-fullscreen-host");
231
+ };
198
232
  }, []);
199
233
  const toggleFullscreen = (0, import_react.useCallback)(() => {
200
- var _a, _b;
201
- const el = containerRef.current;
202
- if (!el) return;
203
- if (document.fullscreenElement) {
204
- (_a = document.exitFullscreen) == null ? void 0 : _a.call(document);
205
- } else {
206
- (_b = el.requestFullscreen) == null ? void 0 : _b.call(el);
207
- }
234
+ setIsFullscreen((prev) => !prev);
208
235
  }, []);
236
+ const fitBoundsRef = (0, import_react.useRef)(null);
209
237
  const fitBounds = (0, import_react.useCallback)(() => {
238
+ if (viewportLockedRef.current) return true;
210
239
  const ctx = transformRef.current;
211
240
  const container = containerRef.current;
212
241
  if (!ctx || !container) return false;
@@ -229,6 +258,8 @@ function useFloorMapTransformMetrics(params) {
229
258
  const x2 = wrapperRect.width / 2 - bboxCx * nextScale2;
230
259
  const y2 = wrapperRect.height / 2 - bboxCy * nextScale2;
231
260
  ctx.setTransform(x2, y2, nextScale2);
261
+ lastFitSnapshotRef.current = { x: x2, y: y2, scale: nextScale2 };
262
+ setIsAtFitBounds(true);
232
263
  return true;
233
264
  }
234
265
  if (contentWidth <= 0 || contentHeight <= 0) return false;
@@ -238,9 +269,11 @@ function useFloorMapTransformMetrics(params) {
238
269
  );
239
270
  const nextScale = Math.min(raw, zoom.max ?? 2);
240
271
  const padA = alignPadSingle ?? 0;
241
- const x = VIEWPORT_TOP_LEFT_MARGIN - padA * nextScale;
242
- const y = VIEWPORT_TOP_LEFT_MARGIN - padA * nextScale;
272
+ const x = import_floorMapViewportPersistence.VIEWPORT_TOP_LEFT_MARGIN - padA * nextScale;
273
+ const y = import_floorMapViewportPersistence.VIEWPORT_TOP_LEFT_MARGIN - padA * nextScale;
243
274
  ctx.setTransform(x, y, nextScale);
275
+ lastFitSnapshotRef.current = { x, y, scale: nextScale };
276
+ setIsAtFitBounds(true);
244
277
  return true;
245
278
  }, [
246
279
  contentWidth,
@@ -254,21 +287,29 @@ function useFloorMapTransformMetrics(params) {
254
287
  cellSize,
255
288
  padSingle
256
289
  ]);
290
+ fitBoundsRef.current = fitBounds;
257
291
  const autoFitOnceRef = (0, import_react.useRef)({
258
292
  frame: "",
259
293
  done: false
260
294
  });
261
295
  const prevItemsCountForAutoFitRef = (0, import_react.useRef)(null);
296
+ const cachedRestoredFrameRef = (0, import_react.useRef)("");
262
297
  (0, import_react.useLayoutEffect)(() => {
263
298
  if (!isFloorMapView || !autoFitOnMount || frameResetKey === void 0) return;
264
299
  const frame = String(frameResetKey);
265
300
  if (autoFitOnceRef.current.frame !== frame) {
266
301
  autoFitOnceRef.current = { frame, done: false };
267
302
  prevItemsCountForAutoFitRef.current = null;
303
+ if (viewportPersistKey && (0, import_floorMapViewportPersistence.readPersistedViewport)(viewportPersistKey)) {
304
+ autoFitOnceRef.current.done = true;
305
+ cachedRestoredFrameRef.current = frame;
306
+ } else if (cachedRestoredFrameRef.current !== frame) {
307
+ cachedRestoredFrameRef.current = "";
308
+ }
268
309
  }
269
310
  const itemCount = items.length;
270
311
  const prevN = prevItemsCountForAutoFitRef.current;
271
- if (prevN !== null && prevN === 0 && itemCount > 0) {
312
+ if (prevN !== null && prevN === 0 && itemCount > 0 && cachedRestoredFrameRef.current !== frame) {
272
313
  autoFitOnceRef.current.done = false;
273
314
  }
274
315
  prevItemsCountForAutoFitRef.current = itemCount;
@@ -334,7 +375,8 @@ function useFloorMapTransformMetrics(params) {
334
375
  mapAreaSize.width,
335
376
  mapAreaSize.height,
336
377
  fitBounds,
337
- transformRef
378
+ transformRef,
379
+ viewportPersistKey
338
380
  ]);
339
381
  const lastTransformRef = (0, import_react.useRef)({ x: 0, y: 0, scale: 1 });
340
382
  const [isInteractingWithElement, setIsInteractingWithElement] = (0, import_react.useState)(false);
@@ -353,6 +395,129 @@ function useFloorMapTransformMetrics(params) {
353
395
  });
354
396
  return () => cancelAnimationFrame(raf);
355
397
  }, [isInteractingWithElement, transformRef]);
398
+ const persistKeyRef = (0, import_react.useRef)(viewportPersistKey);
399
+ persistKeyRef.current = viewportPersistKey;
400
+ const persistTimerRef = (0, import_react.useRef)(null);
401
+ const flushPersistRef = (0, import_react.useRef)(null);
402
+ const schedulePersistViewport = (0, import_react.useCallback)(
403
+ (snapshot) => {
404
+ const key = persistKeyRef.current;
405
+ if (!key) return;
406
+ if (persistTimerRef.current != null) {
407
+ clearTimeout(persistTimerRef.current);
408
+ persistTimerRef.current = null;
409
+ }
410
+ const targetKey = key;
411
+ const doWrite = () => {
412
+ persistTimerRef.current = null;
413
+ flushPersistRef.current = null;
414
+ (0, import_floorMapViewportPersistence.writePersistedViewport)(targetKey, snapshot);
415
+ };
416
+ flushPersistRef.current = doWrite;
417
+ persistTimerRef.current = setTimeout(doWrite, import_floorMapViewportPersistence.VIEWPORT_PERSIST_DEBOUNCE_MS);
418
+ },
419
+ []
420
+ );
421
+ const notifyTransformed = (0, import_react.useCallback)(
422
+ (x, y, nextScale) => {
423
+ lastTransformRef.current = { x, y, scale: nextScale };
424
+ const snap = lastFitSnapshotRef.current;
425
+ if (snap) {
426
+ const same = Math.abs(snap.x - x) < import_floorMapViewportPersistence.FIT_BOUNDS_MATCH_POS_EPSILON && Math.abs(snap.y - y) < import_floorMapViewportPersistence.FIT_BOUNDS_MATCH_POS_EPSILON && Math.abs(snap.scale - nextScale) < import_floorMapViewportPersistence.FIT_BOUNDS_MATCH_SCALE_EPSILON;
427
+ setIsAtFitBounds((prev) => prev === same ? prev : same);
428
+ } else {
429
+ setIsAtFitBounds((prev) => prev ? false : prev);
430
+ }
431
+ },
432
+ []
433
+ );
434
+ const persistCurrentViewport = (0, import_react.useCallback)(() => {
435
+ const snapshot = lastTransformRef.current;
436
+ schedulePersistViewport({
437
+ x: snapshot.x,
438
+ y: snapshot.y,
439
+ scale: snapshot.scale
440
+ });
441
+ }, [schedulePersistViewport]);
442
+ const frameResetKeyRef = (0, import_react.useRef)(frameResetKey);
443
+ frameResetKeyRef.current = frameResetKey;
444
+ const viewportPersistKeyRef = (0, import_react.useRef)(viewportPersistKey);
445
+ viewportPersistKeyRef.current = viewportPersistKey;
446
+ const applyPersistedViewport = (0, import_react.useCallback)(
447
+ (cached) => {
448
+ const ctx = transformRef.current;
449
+ if (!ctx) return false;
450
+ ctx.setTransform(cached.x, cached.y, cached.scale, 0);
451
+ lastTransformRef.current = { ...cached };
452
+ lastFitSnapshotRef.current = null;
453
+ setIsAtFitBounds(false);
454
+ autoFitOnceRef.current.done = true;
455
+ initialAlignRef.current.done = true;
456
+ const currentFrame = frameResetKeyRef.current;
457
+ if (currentFrame !== void 0) {
458
+ cachedRestoredFrameRef.current = String(currentFrame);
459
+ }
460
+ return true;
461
+ },
462
+ [transformRef]
463
+ );
464
+ (0, import_react.useEffect)(() => {
465
+ if (!viewportPersistKey) return;
466
+ const cached = (0, import_floorMapViewportPersistence.readPersistedViewport)(viewportPersistKey);
467
+ if (!cached) return;
468
+ let cancelled = false;
469
+ let raf1 = 0;
470
+ let raf2 = 0;
471
+ let attempts = 0;
472
+ const MAX_ATTEMPTS = 60;
473
+ const tick = () => {
474
+ if (cancelled) return;
475
+ if (!applyPersistedViewport(cached)) {
476
+ if (attempts++ < MAX_ATTEMPTS) {
477
+ raf1 = requestAnimationFrame(tick);
478
+ }
479
+ }
480
+ };
481
+ raf1 = requestAnimationFrame(() => {
482
+ raf2 = requestAnimationFrame(tick);
483
+ });
484
+ return () => {
485
+ cancelled = true;
486
+ cancelAnimationFrame(raf1);
487
+ cancelAnimationFrame(raf2);
488
+ };
489
+ }, [viewportPersistKey, frameResetKey, applyPersistedViewport]);
490
+ const attachTransformContext = (0, import_react.useCallback)(
491
+ (ctx) => {
492
+ transformRef.current = ctx;
493
+ const key = viewportPersistKeyRef.current;
494
+ const currentFrame = frameResetKeyRef.current;
495
+ if (!key || currentFrame === void 0) return;
496
+ const frameStr = String(currentFrame);
497
+ if (cachedRestoredFrameRef.current === frameStr) return;
498
+ const cached = (0, import_floorMapViewportPersistence.readPersistedViewport)(key);
499
+ if (!cached) return;
500
+ cachedRestoredFrameRef.current = frameStr;
501
+ requestAnimationFrame(() => {
502
+ requestAnimationFrame(() => {
503
+ if (frameResetKeyRef.current !== currentFrame) return;
504
+ applyPersistedViewport(cached);
505
+ });
506
+ });
507
+ },
508
+ [transformRef, applyPersistedViewport]
509
+ );
510
+ (0, import_react.useEffect)(() => {
511
+ return () => {
512
+ var _a;
513
+ if (persistTimerRef.current != null) {
514
+ clearTimeout(persistTimerRef.current);
515
+ persistTimerRef.current = null;
516
+ }
517
+ (_a = flushPersistRef.current) == null ? void 0 : _a.call(flushPersistRef);
518
+ flushPersistRef.current = null;
519
+ };
520
+ }, [viewportPersistKey]);
356
521
  return {
357
522
  containerRef,
358
523
  mapAreaRef,
@@ -370,9 +535,16 @@ function useFloorMapTransformMetrics(params) {
370
535
  isFullscreen,
371
536
  toggleFullscreen,
372
537
  fitBounds,
538
+ isAtFitBounds,
539
+ notifyTransformed,
540
+ persistCurrentViewport,
541
+ attachTransformContext,
373
542
  lastTransformRef,
374
543
  isInteractingWithElement,
375
- setIsInteractingWithElement
544
+ setIsInteractingWithElement,
545
+ viewportLocked,
546
+ setViewportLocked,
547
+ toggleViewportLocked
376
548
  };
377
549
  }
378
550
  // Annotate the CommonJS export names for ESM import in node:
@@ -7,6 +7,7 @@ export type { PisellFloorMapLayoutProps, PisellFloorMapLayoutRef, FloorMapItemBa
7
7
  export { FLOOR_MAP_STAGE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, } from './types';
8
8
  export { renderFloorMapFallbackPlaceholder } from './utils/floorMapFallbackRender';
9
9
  export { isFloorMapImageElementKind } from './utils/floorMapElementKindUtils';
10
+ export { NAME_AS_TITLE_EXT_KEY, isElementNameAsTitleEnabled, buildNameAsTitleExtensionsPatch, resolveSceneElementDisplayTitle, } from './utils/floorMapElementNameAsTitle';
10
11
  export { findFloorMapRowByDataBinding, getFloorMapBindingPlaceholderReason, } from './utils/floorMapDataBindingUtils';
11
12
  export type { FloorMapDataSourceRow, FloorMapBindingPlaceholderReason, } from './utils/floorMapDataBindingUtils';
12
13
  export { createShopFloorPlanClient, SHOP_FLOOR_PLAN_DUPLICATE_CODE, } from './shopFloorPlan/shopFloorPlanClient';
@@ -24,9 +24,11 @@ __export(pisellFloorMapLayout_exports, {
24
24
  FLOOR_MAP_STAGE_ELEMENT_KIND: () => import_types.FLOOR_MAP_STAGE_ELEMENT_KIND,
25
25
  FloorMapImageElement: () => import_FloorMapImageElement.FloorMapImageElement,
26
26
  FloorMapLayoutProvider: () => import_FloorMapLayoutContext.FloorMapLayoutProvider,
27
+ NAME_AS_TITLE_EXT_KEY: () => import_floorMapElementNameAsTitle.NAME_AS_TITLE_EXT_KEY,
27
28
  PisellFloorMapLayout: () => import_PisellFloorMapLayout.PisellFloorMapLayout,
28
29
  SHOP_FLOOR_PLAN_DUPLICATE_CODE: () => import_shopFloorPlanClient.SHOP_FLOOR_PLAN_DUPLICATE_CODE,
29
30
  buildFloorPlanPutBody: () => import_shopFloorPlanPure.buildFloorPlanPutBody,
31
+ buildNameAsTitleExtensionsPatch: () => import_floorMapElementNameAsTitle.buildNameAsTitleExtensionsPatch,
30
32
  createShopFloorPlanClient: () => import_shopFloorPlanClient.createShopFloorPlanClient,
31
33
  findFloorMapRowByDataBinding: () => import_floorMapDataBindingUtils.findFloorMapRowByDataBinding,
32
34
  floorMapSavedConfigToRemotePatch: () => import_shopFloorPlanPure.floorMapSavedConfigToRemotePatch,
@@ -35,6 +37,7 @@ __export(pisellFloorMapLayout_exports, {
35
37
  getRenderItemByKindRoundTable: () => import_FigmaTableCard.getRenderItemByKindRoundTable,
36
38
  getRenderItemByKindTable: () => import_FigmaTableCard.getRenderItemByKindTable,
37
39
  inferCanvasSizeFromScene: () => import_shopFloorPlanPure.inferCanvasSizeFromScene,
40
+ isElementNameAsTitleEnabled: () => import_floorMapElementNameAsTitle.isElementNameAsTitleEnabled,
38
41
  isFloorMapImageElementKind: () => import_floorMapElementKindUtils.isFloorMapImageElementKind,
39
42
  isFloorPlanDuplicateCodeError: () => import_shopFloorPlanPure.isFloorPlanDuplicateCodeError,
40
43
  isHttpNotFoundError: () => import_shopFloorPlanPure.isHttpNotFoundError,
@@ -46,6 +49,7 @@ __export(pisellFloorMapLayout_exports, {
46
49
  renderFigmaStyleRoundTableCard: () => import_FigmaTableCard.renderFigmaStyleRoundTableCard,
47
50
  renderFigmaStyleTableCard: () => import_FigmaTableCard.renderFigmaStyleTableCard,
48
51
  renderFloorMapFallbackPlaceholder: () => import_floorMapFallbackRender.renderFloorMapFallbackPlaceholder,
52
+ resolveSceneElementDisplayTitle: () => import_floorMapElementNameAsTitle.resolveSceneElementDisplayTitle,
49
53
  sceneElementsToShopLayout: () => import_shopFloorPlanMapping.sceneElementsToShopLayout,
50
54
  shopLayoutToSceneElements: () => import_shopFloorPlanMapping.shopLayoutToSceneElements,
51
55
  useFloorMapLayoutContext: () => import_FloorMapLayoutContext.useFloorMapLayoutContext,
@@ -58,6 +62,7 @@ var import_PisellFloorMapLayout = require("./PisellFloorMapLayout");
58
62
  var import_types = require("./types");
59
63
  var import_floorMapFallbackRender = require("./utils/floorMapFallbackRender");
60
64
  var import_floorMapElementKindUtils = require("./utils/floorMapElementKindUtils");
65
+ var import_floorMapElementNameAsTitle = require("./utils/floorMapElementNameAsTitle");
61
66
  var import_floorMapDataBindingUtils = require("./utils/floorMapDataBindingUtils");
62
67
  var import_shopFloorPlanClient = require("./shopFloorPlan/shopFloorPlanClient");
63
68
  var import_shopFloorPlanPure = require("./shopFloorPlan/shopFloorPlanPure");
@@ -75,9 +80,11 @@ var import_FigmaTableCard = require("./components/FigmaTableCard");
75
80
  FLOOR_MAP_STAGE_ELEMENT_KIND,
76
81
  FloorMapImageElement,
77
82
  FloorMapLayoutProvider,
83
+ NAME_AS_TITLE_EXT_KEY,
78
84
  PisellFloorMapLayout,
79
85
  SHOP_FLOOR_PLAN_DUPLICATE_CODE,
80
86
  buildFloorPlanPutBody,
87
+ buildNameAsTitleExtensionsPatch,
81
88
  createShopFloorPlanClient,
82
89
  findFloorMapRowByDataBinding,
83
90
  floorMapSavedConfigToRemotePatch,
@@ -86,6 +93,7 @@ var import_FigmaTableCard = require("./components/FigmaTableCard");
86
93
  getRenderItemByKindRoundTable,
87
94
  getRenderItemByKindTable,
88
95
  inferCanvasSizeFromScene,
96
+ isElementNameAsTitleEnabled,
89
97
  isFloorMapImageElementKind,
90
98
  isFloorPlanDuplicateCodeError,
91
99
  isHttpNotFoundError,
@@ -97,6 +105,7 @@ var import_FigmaTableCard = require("./components/FigmaTableCard");
97
105
  renderFigmaStyleRoundTableCard,
98
106
  renderFigmaStyleTableCard,
99
107
  renderFloorMapFallbackPlaceholder,
108
+ resolveSceneElementDisplayTitle,
100
109
  sceneElementsToShopLayout,
101
110
  shopLayoutToSceneElements,
102
111
  useFloorMapLayoutContext,
@@ -12,6 +12,14 @@ declare const _default: {
12
12
  'pisell-floor-map-layout.edit-top-bar.unsaved': string;
13
13
  'pisell-floor-map-layout.edit-top-bar.save': string;
14
14
  'pisell-floor-map-layout.edit-top-bar.saving': string;
15
+ 'pisell-floor-map-layout.edit-top-bar.undo': string;
16
+ 'pisell-floor-map-layout.edit-top-bar.redo': string;
17
+ 'pisell-floor-map-layout.edit-top-bar.cancel-edit': string;
18
+ 'pisell-floor-map-layout.edit-top-bar.finish-edit': string;
19
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': string;
20
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': string;
21
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': string;
22
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': string;
15
23
  'pisell-floor-map-layout.canvas-tabs.empty': string;
16
24
  'pisell-floor-map-layout.canvas-tabs.add': string;
17
25
  'pisell-floor-map-layout.canvas-tabs.add-title': string;
@@ -41,6 +49,8 @@ declare const _default: {
41
49
  'pisell-floor-map-layout.edit-panel.label-name-stage': string;
42
50
  'pisell-floor-map-layout.edit-panel.ph-name-stage': string;
43
51
  'pisell-floor-map-layout.edit-panel.ph-name': string;
52
+ 'pisell-floor-map-layout.edit-panel.label-name-as-title': string;
53
+ 'pisell-floor-map-layout.edit-panel.tip-name-as-title': string;
44
54
  'pisell-floor-map-layout.edit-panel.label-image-url': string;
45
55
  'pisell-floor-map-layout.edit-panel.extra-image-url': string;
46
56
  'pisell-floor-map-layout.edit-panel.ph-https': string;
@@ -81,6 +91,8 @@ declare const _default: {
81
91
  'pisell-floor-map-layout.toolbar.layout-dirty-hint': string;
82
92
  'pisell-floor-map-layout.toolbar.save': string;
83
93
  'pisell-floor-map-layout.toolbar.saving': string;
94
+ 'pisell-floor-map-layout.toolbar.collapse': string;
95
+ 'pisell-floor-map-layout.toolbar.expand': string;
84
96
  'pisell-floor-map-layout.view-controls.zoom-out-aria': string;
85
97
  'pisell-floor-map-layout.view-controls.zoom-in-aria': string;
86
98
  'pisell-floor-map-layout.view-controls.reset-aria': string;
@@ -91,6 +103,8 @@ declare const _default: {
91
103
  'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': string;
92
104
  'pisell-floor-map-layout.view-controls.expand-tools-aria': string;
93
105
  'pisell-floor-map-layout.view-controls.collapse-tools-aria': string;
106
+ 'pisell-floor-map-layout.view-controls.viewport-lock-aria': string;
107
+ 'pisell-floor-map-layout.view-controls.viewport-unlock-aria': string;
94
108
  'pisell-floor-map-layout.image-element.default-name': string;
95
109
  'pisell-floor-map-layout.placement.fallback-image-name': string;
96
110
  'pisell-floor-map-layout.image-element.hint-no-url': string;
@@ -109,5 +123,11 @@ declare const _default: {
109
123
  'pisell-floor-map-layout.figma-card.default-table': string;
110
124
  'pisell-floor-map-layout.figma-card.capacity-seats': string;
111
125
  'pisell-floor-map-layout.figma-card.guests-count': string;
126
+ 'pisell-floor-map-layout.figma-card.status-available': string;
127
+ 'pisell-floor-map-layout.figma-card.status-reserved': string;
128
+ 'pisell-floor-map-layout.figma-card.status-waiting': string;
129
+ 'pisell-floor-map-layout.figma-card.status-dining': string;
130
+ 'pisell-floor-map-layout.figma-card.status-billed': string;
131
+ 'pisell-floor-map-layout.figma-card.status-availableSoon': string;
112
132
  };
113
133
  export default _default;
@@ -33,6 +33,14 @@ var locales_ja_default = {
33
33
  "pisell-floor-map-layout.edit-top-bar.unsaved": "未保存",
34
34
  "pisell-floor-map-layout.edit-top-bar.save": "保存",
35
35
  "pisell-floor-map-layout.edit-top-bar.saving": "保存中…",
36
+ "pisell-floor-map-layout.edit-top-bar.undo": "元に戻す",
37
+ "pisell-floor-map-layout.edit-top-bar.redo": "やり直す",
38
+ "pisell-floor-map-layout.edit-top-bar.cancel-edit": "キャンセル",
39
+ "pisell-floor-map-layout.edit-top-bar.finish-edit": "完了",
40
+ "pisell-floor-map-layout.edit-top-bar.cancel-confirm-title": "未保存の変更",
41
+ "pisell-floor-map-layout.edit-top-bar.cancel-confirm-content": "このページを離れると、保存していない変更は失われます。",
42
+ "pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok": "確定",
43
+ "pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel": "キャンセル",
36
44
  "pisell-floor-map-layout.canvas-tabs.empty": "キャンバスがありません",
37
45
  "pisell-floor-map-layout.canvas-tabs.add": "+ フロアを追加",
38
46
  "pisell-floor-map-layout.canvas-tabs.add-title": "フロアを追加",
@@ -62,6 +70,8 @@ var locales_ja_default = {
62
70
  "pisell-floor-map-layout.edit-panel.label-name-stage": "表示名(キャンバス上)",
63
71
  "pisell-floor-map-layout.edit-panel.ph-name-stage": "例:ステージ、DJ ブース、ダンスフロア",
64
72
  "pisell-floor-map-layout.edit-panel.ph-name": "要素名",
73
+ "pisell-floor-map-layout.edit-panel.label-name-as-title": "この名前をリソース名として使用",
74
+ "pisell-floor-map-layout.edit-panel.tip-name-as-title": "有効にするとキャンバス上のカードのタイトルがこの名前になり、紐付けたレコードのタイトルを上書きします。",
65
75
  "pisell-floor-map-layout.edit-panel.label-image-url": "画像 URL",
66
76
  "pisell-floor-map-layout.edit-panel.extra-image-url": "ネットワーク上の画像 URL を指定。重なり順を下げるとテーブルの下に配置できます。",
67
77
  "pisell-floor-map-layout.edit-panel.ph-https": "https://...",
@@ -102,6 +112,8 @@ var locales_ja_default = {
102
112
  "pisell-floor-map-layout.toolbar.layout-dirty-hint": "レイアウトが変更されました。「保存」で確定してください。",
103
113
  "pisell-floor-map-layout.toolbar.save": "保存",
104
114
  "pisell-floor-map-layout.toolbar.saving": "保存中…",
115
+ "pisell-floor-map-layout.toolbar.collapse": "パネルを折りたたむ",
116
+ "pisell-floor-map-layout.toolbar.expand": "パネルを展開",
105
117
  "pisell-floor-map-layout.view-controls.zoom-out-aria": "縮小",
106
118
  "pisell-floor-map-layout.view-controls.zoom-in-aria": "拡大",
107
119
  "pisell-floor-map-layout.view-controls.reset-aria": "表示をリセット",
@@ -112,6 +124,8 @@ var locales_ja_default = {
112
124
  "pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "全画面を終了",
113
125
  "pisell-floor-map-layout.view-controls.expand-tools-aria": "その他の表示ツールを表示",
114
126
  "pisell-floor-map-layout.view-controls.collapse-tools-aria": "その他の表示ツールを隠す",
127
+ "pisell-floor-map-layout.view-controls.viewport-lock-aria": "ビューを固定(パン・ズームを無効化)",
128
+ "pisell-floor-map-layout.view-controls.viewport-unlock-aria": "ビュー固定を解除",
115
129
  "pisell-floor-map-layout.image-element.default-name": "画像要素",
116
130
  "pisell-floor-map-layout.placement.fallback-image-name": "背景",
117
131
  "pisell-floor-map-layout.image-element.hint-no-url": "サイドバーで画像 URL を入力。重なり順を下げるとテーブル下の背景にできます。",
@@ -129,5 +143,11 @@ var locales_ja_default = {
129
143
  "pisell-floor-map-layout.figma-card.kind-square-table": "テーブル",
130
144
  "pisell-floor-map-layout.figma-card.default-table": "テーブル",
131
145
  "pisell-floor-map-layout.figma-card.capacity-seats": "着席 {n} 名",
132
- "pisell-floor-map-layout.figma-card.guests-count": "{n} 名"
146
+ "pisell-floor-map-layout.figma-card.guests-count": "{n} 名",
147
+ "pisell-floor-map-layout.figma-card.status-available": "空席",
148
+ "pisell-floor-map-layout.figma-card.status-reserved": "予約済",
149
+ "pisell-floor-map-layout.figma-card.status-waiting": "待機中",
150
+ "pisell-floor-map-layout.figma-card.status-dining": "食事中",
151
+ "pisell-floor-map-layout.figma-card.status-billed": "会計済",
152
+ "pisell-floor-map-layout.figma-card.status-availableSoon": "間もなく"
133
153
  };
@@ -12,6 +12,14 @@ declare const _default: {
12
12
  'pisell-floor-map-layout.edit-top-bar.unsaved': string;
13
13
  'pisell-floor-map-layout.edit-top-bar.save': string;
14
14
  'pisell-floor-map-layout.edit-top-bar.saving': string;
15
+ 'pisell-floor-map-layout.edit-top-bar.undo': string;
16
+ 'pisell-floor-map-layout.edit-top-bar.redo': string;
17
+ 'pisell-floor-map-layout.edit-top-bar.cancel-edit': string;
18
+ 'pisell-floor-map-layout.edit-top-bar.finish-edit': string;
19
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': string;
20
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': string;
21
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': string;
22
+ 'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': string;
15
23
  'pisell-floor-map-layout.canvas-tabs.empty': string;
16
24
  'pisell-floor-map-layout.canvas-tabs.add': string;
17
25
  'pisell-floor-map-layout.canvas-tabs.add-title': string;
@@ -41,6 +49,8 @@ declare const _default: {
41
49
  'pisell-floor-map-layout.edit-panel.label-name-stage': string;
42
50
  'pisell-floor-map-layout.edit-panel.ph-name-stage': string;
43
51
  'pisell-floor-map-layout.edit-panel.ph-name': string;
52
+ 'pisell-floor-map-layout.edit-panel.label-name-as-title': string;
53
+ 'pisell-floor-map-layout.edit-panel.tip-name-as-title': string;
44
54
  'pisell-floor-map-layout.edit-panel.label-image-url': string;
45
55
  'pisell-floor-map-layout.edit-panel.extra-image-url': string;
46
56
  'pisell-floor-map-layout.edit-panel.ph-https': string;
@@ -81,6 +91,8 @@ declare const _default: {
81
91
  'pisell-floor-map-layout.toolbar.layout-dirty-hint': string;
82
92
  'pisell-floor-map-layout.toolbar.save': string;
83
93
  'pisell-floor-map-layout.toolbar.saving': string;
94
+ 'pisell-floor-map-layout.toolbar.collapse': string;
95
+ 'pisell-floor-map-layout.toolbar.expand': string;
84
96
  'pisell-floor-map-layout.view-controls.zoom-out-aria': string;
85
97
  'pisell-floor-map-layout.view-controls.zoom-in-aria': string;
86
98
  'pisell-floor-map-layout.view-controls.reset-aria': string;
@@ -91,6 +103,8 @@ declare const _default: {
91
103
  'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': string;
92
104
  'pisell-floor-map-layout.view-controls.expand-tools-aria': string;
93
105
  'pisell-floor-map-layout.view-controls.collapse-tools-aria': string;
106
+ 'pisell-floor-map-layout.view-controls.viewport-lock-aria': string;
107
+ 'pisell-floor-map-layout.view-controls.viewport-unlock-aria': string;
94
108
  'pisell-floor-map-layout.image-element.default-name': string;
95
109
  'pisell-floor-map-layout.placement.fallback-image-name': string;
96
110
  'pisell-floor-map-layout.image-element.hint-no-url': string;
@@ -109,5 +123,11 @@ declare const _default: {
109
123
  'pisell-floor-map-layout.figma-card.default-table': string;
110
124
  'pisell-floor-map-layout.figma-card.capacity-seats': string;
111
125
  'pisell-floor-map-layout.figma-card.guests-count': string;
126
+ 'pisell-floor-map-layout.figma-card.status-available': string;
127
+ 'pisell-floor-map-layout.figma-card.status-reserved': string;
128
+ 'pisell-floor-map-layout.figma-card.status-waiting': string;
129
+ 'pisell-floor-map-layout.figma-card.status-dining': string;
130
+ 'pisell-floor-map-layout.figma-card.status-billed': string;
131
+ 'pisell-floor-map-layout.figma-card.status-availableSoon': string;
112
132
  };
113
133
  export default _default;
@@ -33,6 +33,14 @@ var locales_pt_default = {
33
33
  "pisell-floor-map-layout.edit-top-bar.unsaved": "Não guardado",
34
34
  "pisell-floor-map-layout.edit-top-bar.save": "Guardar",
35
35
  "pisell-floor-map-layout.edit-top-bar.saving": "A guardar…",
36
+ "pisell-floor-map-layout.edit-top-bar.undo": "Anular",
37
+ "pisell-floor-map-layout.edit-top-bar.redo": "Refazer",
38
+ "pisell-floor-map-layout.edit-top-bar.cancel-edit": "Cancelar",
39
+ "pisell-floor-map-layout.edit-top-bar.finish-edit": "Concluir",
40
+ "pisell-floor-map-layout.edit-top-bar.cancel-confirm-title": "Alterações não guardadas",
41
+ "pisell-floor-map-layout.edit-top-bar.cancel-confirm-content": "Se sair desta página, quaisquer alterações não guardadas serão perdidas.",
42
+ "pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok": "OK",
43
+ "pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel": "Cancelar",
36
44
  "pisell-floor-map-layout.canvas-tabs.empty": "Sem canvas",
37
45
  "pisell-floor-map-layout.canvas-tabs.add": "+ Adicionar piso",
38
46
  "pisell-floor-map-layout.canvas-tabs.add-title": "Adicionar piso",
@@ -62,6 +70,8 @@ var locales_pt_default = {
62
70
  "pisell-floor-map-layout.edit-panel.label-name-stage": "Nome (no canvas)",
63
71
  "pisell-floor-map-layout.edit-panel.ph-name-stage": "Ex.: palco, cabine DJ, pista de dança",
64
72
  "pisell-floor-map-layout.edit-panel.ph-name": "Nome do elemento",
73
+ "pisell-floor-map-layout.edit-panel.label-name-as-title": "Usar este nome como título do recurso",
74
+ "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.",
65
75
  "pisell-floor-map-layout.edit-panel.label-image-url": "URL da imagem",
66
76
  "pisell-floor-map-layout.edit-panel.extra-image-url": "URL de imagem na rede. Baixe a ordem para colocar atrás das mesas.",
67
77
  "pisell-floor-map-layout.edit-panel.ph-https": "https://...",
@@ -102,6 +112,8 @@ var locales_pt_default = {
102
112
  "pisell-floor-map-layout.toolbar.layout-dirty-hint": "O layout foi alterado. Use «Guardar» para confirmar.",
103
113
  "pisell-floor-map-layout.toolbar.save": "Guardar",
104
114
  "pisell-floor-map-layout.toolbar.saving": "A guardar…",
115
+ "pisell-floor-map-layout.toolbar.collapse": "Recolher painel",
116
+ "pisell-floor-map-layout.toolbar.expand": "Expandir painel",
105
117
  "pisell-floor-map-layout.view-controls.zoom-out-aria": "Reduzir zoom",
106
118
  "pisell-floor-map-layout.view-controls.zoom-in-aria": "Aumentar zoom",
107
119
  "pisell-floor-map-layout.view-controls.reset-aria": "Repor vista",
@@ -112,6 +124,8 @@ var locales_pt_default = {
112
124
  "pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "Sair do ecrã inteiro",
113
125
  "pisell-floor-map-layout.view-controls.expand-tools-aria": "Mostrar mais ferramentas de vista",
114
126
  "pisell-floor-map-layout.view-controls.collapse-tools-aria": "Ocultar ferramentas extra",
127
+ "pisell-floor-map-layout.view-controls.viewport-lock-aria": "Bloquear vista (desativar deslocação e zoom)",
128
+ "pisell-floor-map-layout.view-controls.viewport-unlock-aria": "Desbloquear vista",
115
129
  "pisell-floor-map-layout.image-element.default-name": "Elemento de imagem",
116
130
  "pisell-floor-map-layout.placement.fallback-image-name": "Fundo",
117
131
  "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.",
@@ -129,5 +143,11 @@ var locales_pt_default = {
129
143
  "pisell-floor-map-layout.figma-card.kind-square-table": "Mesa",
130
144
  "pisell-floor-map-layout.figma-card.default-table": "Mesa",
131
145
  "pisell-floor-map-layout.figma-card.capacity-seats": "Lotação {n}",
132
- "pisell-floor-map-layout.figma-card.guests-count": "{n} pessoas"
146
+ "pisell-floor-map-layout.figma-card.guests-count": "{n} pessoas",
147
+ "pisell-floor-map-layout.figma-card.status-available": "Livre",
148
+ "pisell-floor-map-layout.figma-card.status-reserved": "Reservada",
149
+ "pisell-floor-map-layout.figma-card.status-waiting": "Aguardando",
150
+ "pisell-floor-map-layout.figma-card.status-dining": "Em uso",
151
+ "pisell-floor-map-layout.figma-card.status-billed": "Cobrada",
152
+ "pisell-floor-map-layout.figma-card.status-availableSoon": "Em breve"
133
153
  };