@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.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +18 -18
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +18 -18
- package/es/components/Pagination/index.d.ts +0 -1
- package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +0 -1
- package/es/components/PisellFields/index.d.ts +0 -1
- package/es/components/PisellMetrics/index.d.ts +0 -1
- package/es/components/cardPro/index.d.ts +1 -0
- package/es/components/colorPicker/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +16 -17
- package/es/components/date-picker/datePickerCpt.d.ts +0 -1
- package/es/components/date-picker/index.d.ts +0 -1
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/es/components/filter/components/FilterItem/index.js +3 -1
- package/es/components/filter/components/QuickFilter/index.js +3 -2
- package/es/components/filter/components/items/index.d.ts +0 -1
- package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
- package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
- package/es/components/filter/components/items/text/index.d.ts +0 -1
- package/es/components/filter/index.d.ts +0 -1
- package/es/components/list/index.d.ts +0 -1
- package/es/components/lowCodePage/index.d.ts +0 -1
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
- package/es/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +0 -1
- package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -3
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
- package/es/components/pisellFilter/index.d.ts +0 -1
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +175 -24
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.less +22 -0
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +2 -2
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.js +268 -103
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +40 -4
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +22 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +138 -12
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +9 -1
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.js +65 -4
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.less +97 -4
- package/es/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +39 -0
- package/es/components/pisellFloorMapLayout/components/HistoryIcons.js +75 -0
- package/es/components/pisellFloorMapLayout/components/ItemLayer.js +14 -1
- package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +9 -0
- package/es/components/pisellFloorMapLayout/components/ViewControls.js +96 -12
- package/es/components/pisellFloorMapLayout/components/ViewControls.less +224 -21
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +6 -0
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +3 -0
- package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +4 -0
- package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.js +4 -0
- package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +25 -0
- package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.js +68 -0
- package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +18 -0
- package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.js +104 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +5 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +121 -34
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +23 -1
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +345 -29
- package/es/components/pisellFloorMapLayout/index.d.ts +1 -0
- package/es/components/pisellFloorMapLayout/index.js +1 -0
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +20 -0
- package/es/components/pisellFloorMapLayout/locales-ja.js +21 -1
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +20 -0
- package/es/components/pisellFloorMapLayout/locales-pt.js +21 -1
- package/es/components/pisellFloorMapLayout/locales.d.ts +100 -0
- package/es/components/pisellFloorMapLayout/locales.js +63 -3
- package/es/components/pisellFloorMapLayout/types.d.ts +37 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +50 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.js +74 -0
- package/es/components/pisellGridPro/ToolBar/index.less +5 -4
- package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/es/components/pisellLoading/index.d.ts +0 -1
- package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/index.d.ts +0 -1
- package/es/components/pisellRecordBoard/PisellRecordBoard.js +9 -3
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +2 -1
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.js +9 -2
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +99 -101
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.js +12 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +13 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.js +66 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +176 -10
- package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +20 -2
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +6 -0
- package/es/components/pisellRecordBoard/shellFrame/index.js +3 -1
- package/es/components/pisellRecordBoard/types.d.ts +20 -1
- package/es/components/pisellShellFrame/PisellShellFrame.js +4 -1
- package/es/components/pisellShellFrame/PisellShellFrame.less +13 -0
- package/es/components/pisellShellFrame/types.d.ts +6 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.js +139 -29
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.less +126 -13
- package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +3 -1
- package/es/components/pisellTimeNavigator/components/CursorLayer.js +3 -0
- package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +9 -1
- package/es/components/pisellTimeNavigator/components/GestureLayer.js +11 -4
- package/es/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +20 -0
- package/es/components/pisellTimeNavigator/timeNavigatorConstants.js +27 -0
- package/es/components/pisellTooltip/index.d.ts +1 -0
- package/es/components/productCard/components/Action/index.d.ts +1 -0
- package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
- package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/es/components/productCard/components/Note/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
- package/es/components/productCard/components/Time/index.d.ts +0 -1
- package/es/components/qrcode/index.d.ts +0 -1
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -1
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
- package/es/components/table/Actions/component/Group/index.d.ts +0 -1
- package/es/components/table/Actions/index.d.ts +0 -1
- package/es/components/table/BasicTable/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
- package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/es/components/table/Table/SelectField/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/index.d.ts +0 -1
- package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/fields/select/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
- package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/View/index.d.ts +0 -1
- package/es/components/versionSelect/index.d.ts +0 -1
- package/es/index.d.ts +8 -1
- package/es/index.js +8 -1
- package/es/locales/en-US.d.ts +2 -0
- package/es/locales/en-US.js +2 -0
- package/es/locales/ja.d.ts +2 -0
- package/es/locales/ja.js +2 -0
- package/es/locales/pt.d.ts +2 -0
- package/es/locales/pt.js +2 -0
- package/es/locales/zh-CN.d.ts +2 -0
- package/es/locales/zh-CN.js +2 -0
- package/es/locales/zh-TW.d.ts +2 -0
- package/es/locales/zh-TW.js +2 -0
- package/es/utils/index.d.ts +1 -1
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/Pagination/index.d.ts +0 -1
- package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +0 -1
- package/lib/components/PisellFields/index.d.ts +0 -1
- package/lib/components/PisellMetrics/index.d.ts +0 -1
- package/lib/components/cardPro/index.d.ts +1 -0
- package/lib/components/colorPicker/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +16 -17
- package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
- package/lib/components/date-picker/index.d.ts +0 -1
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/lib/components/filter/components/FilterItem/index.js +2 -1
- package/lib/components/filter/components/QuickFilter/index.js +3 -2
- package/lib/components/filter/components/items/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/index.d.ts +0 -1
- package/lib/components/filter/index.d.ts +0 -1
- package/lib/components/list/index.d.ts +0 -1
- package/lib/components/lowCodePage/index.d.ts +0 -1
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
- package/lib/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +0 -1
- package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -3
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
- package/lib/components/pisellFilter/index.d.ts +0 -1
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +141 -44
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.less +22 -0
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +2 -2
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.js +213 -94
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +41 -2
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +22 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +128 -12
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +9 -1
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.js +53 -5
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.less +97 -4
- package/lib/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +39 -0
- package/lib/components/pisellFloorMapLayout/components/HistoryIcons.js +71 -0
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.js +2 -1
- package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +9 -0
- package/lib/components/pisellFloorMapLayout/components/ViewControls.js +158 -49
- package/lib/components/pisellFloorMapLayout/components/ViewControls.less +224 -21
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +6 -0
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +3 -0
- package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +4 -0
- package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.js +29 -0
- package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +25 -0
- package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.js +98 -0
- package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +18 -0
- package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.js +95 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +5 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +65 -15
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +23 -1
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +196 -24
- package/lib/components/pisellFloorMapLayout/index.d.ts +1 -0
- package/lib/components/pisellFloorMapLayout/index.js +9 -0
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +20 -0
- package/lib/components/pisellFloorMapLayout/locales-ja.js +21 -1
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +20 -0
- package/lib/components/pisellFloorMapLayout/locales-pt.js +21 -1
- package/lib/components/pisellFloorMapLayout/locales.d.ts +100 -0
- package/lib/components/pisellFloorMapLayout/locales.js +63 -3
- package/lib/components/pisellFloorMapLayout/types.d.ts +37 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +50 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.js +60 -0
- package/lib/components/pisellGridPro/ToolBar/index.less +5 -4
- package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/lib/components/pisellLoading/index.d.ts +0 -1
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/index.d.ts +0 -1
- package/lib/components/pisellRecordBoard/PisellRecordBoard.js +10 -3
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +2 -1
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.js +3 -2
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +70 -75
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.js +38 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +13 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.js +100 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +176 -10
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +6 -0
- package/lib/components/pisellRecordBoard/shellFrame/index.js +2 -1
- package/lib/components/pisellRecordBoard/types.d.ts +20 -1
- package/lib/components/pisellShellFrame/PisellShellFrame.js +2 -1
- package/lib/components/pisellShellFrame/PisellShellFrame.less +13 -0
- package/lib/components/pisellShellFrame/types.d.ts +6 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.js +96 -27
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.less +126 -13
- package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +3 -1
- package/lib/components/pisellTimeNavigator/components/CursorLayer.js +2 -0
- package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +9 -1
- package/lib/components/pisellTimeNavigator/components/GestureLayer.js +5 -2
- package/lib/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +20 -0
- package/lib/components/pisellTimeNavigator/timeNavigatorConstants.js +47 -0
- package/lib/components/pisellTooltip/index.d.ts +1 -0
- package/lib/components/productCard/components/Action/index.d.ts +1 -0
- package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
- package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/lib/components/productCard/components/Note/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/index.d.ts +0 -1
- package/lib/components/qrcode/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -1
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
- package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
- package/lib/components/table/Actions/index.d.ts +0 -1
- package/lib/components/table/BasicTable/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/lib/components/table/Table/SelectField/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/index.d.ts +0 -1
- package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/index.d.ts +0 -1
- package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/fields/select/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/index.d.ts +0 -1
- package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/View/index.d.ts +0 -1
- package/lib/components/versionSelect/index.d.ts +0 -1
- package/lib/index.d.ts +8 -1
- package/lib/index.js +8 -0
- package/lib/locales/en-US.d.ts +2 -0
- package/lib/locales/en-US.js +2 -0
- package/lib/locales/ja.d.ts +2 -0
- package/lib/locales/ja.js +2 -0
- package/lib/locales/pt.d.ts +2 -0
- package/lib/locales/pt.js +2 -0
- package/lib/locales/zh-CN.d.ts +2 -0
- package/lib/locales/zh-CN.js +2 -0
- package/lib/locales/zh-TW.d.ts +2 -0
- package/lib/locales/zh-TW.js +2 -0
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/platform.d.ts +1 -1
- package/lowcode/pisell-record-board-calendar-view/meta.ts +1 -1
- package/package.json +2 -2
|
@@ -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;
|
|
@@ -46,6 +46,14 @@ var locales_default = {
|
|
|
46
46
|
"pisell-floor-map-layout.edit-top-bar.unsaved": "Unsaved",
|
|
47
47
|
"pisell-floor-map-layout.edit-top-bar.save": "Save",
|
|
48
48
|
"pisell-floor-map-layout.edit-top-bar.saving": "Saving…",
|
|
49
|
+
"pisell-floor-map-layout.edit-top-bar.undo": "Undo",
|
|
50
|
+
"pisell-floor-map-layout.edit-top-bar.redo": "Redo",
|
|
51
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-edit": "Cancel",
|
|
52
|
+
"pisell-floor-map-layout.edit-top-bar.finish-edit": "Done",
|
|
53
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-title": "Unsaved changes",
|
|
54
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-content": "If you leave this page, any unsaved changes will be lost.",
|
|
55
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok": "OK",
|
|
56
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel": "Cancel",
|
|
49
57
|
"pisell-floor-map-layout.canvas-tabs.empty": "No canvas",
|
|
50
58
|
"pisell-floor-map-layout.canvas-tabs.add": "+ Add floor",
|
|
51
59
|
"pisell-floor-map-layout.canvas-tabs.add-title": "Add floor",
|
|
@@ -75,6 +83,8 @@ var locales_default = {
|
|
|
75
83
|
"pisell-floor-map-layout.edit-panel.label-name-stage": "Display name (on canvas)",
|
|
76
84
|
"pisell-floor-map-layout.edit-panel.ph-name-stage": "e.g. stage, DJ booth, dance floor",
|
|
77
85
|
"pisell-floor-map-layout.edit-panel.ph-name": "Element name",
|
|
86
|
+
"pisell-floor-map-layout.edit-panel.label-name-as-title": "Use this name as the resource title",
|
|
87
|
+
"pisell-floor-map-layout.edit-panel.tip-name-as-title": "When enabled, this name overrides the bound record title in cards on the canvas.",
|
|
78
88
|
"pisell-floor-map-layout.edit-panel.label-image-url": "Image URL",
|
|
79
89
|
"pisell-floor-map-layout.edit-panel.extra-image-url": "Use a network image URL; lower layer to place under tables.",
|
|
80
90
|
"pisell-floor-map-layout.edit-panel.ph-https": "https://...",
|
|
@@ -115,6 +125,8 @@ var locales_default = {
|
|
|
115
125
|
"pisell-floor-map-layout.toolbar.layout-dirty-hint": "Layout changed — click Save to persist.",
|
|
116
126
|
"pisell-floor-map-layout.toolbar.save": "Save",
|
|
117
127
|
"pisell-floor-map-layout.toolbar.saving": "Saving…",
|
|
128
|
+
"pisell-floor-map-layout.toolbar.collapse": "Collapse panel",
|
|
129
|
+
"pisell-floor-map-layout.toolbar.expand": "Expand panel",
|
|
118
130
|
"pisell-floor-map-layout.view-controls.zoom-out-aria": "Zoom out",
|
|
119
131
|
"pisell-floor-map-layout.view-controls.zoom-in-aria": "Zoom in",
|
|
120
132
|
"pisell-floor-map-layout.view-controls.reset-aria": "Reset view",
|
|
@@ -125,6 +137,8 @@ var locales_default = {
|
|
|
125
137
|
"pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "Exit fullscreen",
|
|
126
138
|
"pisell-floor-map-layout.view-controls.expand-tools-aria": "Show more view tools",
|
|
127
139
|
"pisell-floor-map-layout.view-controls.collapse-tools-aria": "Hide extra view tools",
|
|
140
|
+
"pisell-floor-map-layout.view-controls.viewport-lock-aria": "Lock viewport (disable pan and zoom)",
|
|
141
|
+
"pisell-floor-map-layout.view-controls.viewport-unlock-aria": "Unlock viewport",
|
|
128
142
|
"pisell-floor-map-layout.image-element.default-name": "Image",
|
|
129
143
|
"pisell-floor-map-layout.placement.fallback-image-name": "Background",
|
|
130
144
|
"pisell-floor-map-layout.image-element.hint-no-url": "Enter the image URL in the sidebar; lower the layer to place under tables.",
|
|
@@ -142,7 +156,13 @@ var locales_default = {
|
|
|
142
156
|
"pisell-floor-map-layout.figma-card.kind-square-table": "Table",
|
|
143
157
|
"pisell-floor-map-layout.figma-card.default-table": "Table",
|
|
144
158
|
"pisell-floor-map-layout.figma-card.capacity-seats": "Seats {n}",
|
|
145
|
-
"pisell-floor-map-layout.figma-card.guests-count": "{n} guests"
|
|
159
|
+
"pisell-floor-map-layout.figma-card.guests-count": "{n} guests",
|
|
160
|
+
"pisell-floor-map-layout.figma-card.status-available": "Available",
|
|
161
|
+
"pisell-floor-map-layout.figma-card.status-reserved": "Reserved",
|
|
162
|
+
"pisell-floor-map-layout.figma-card.status-waiting": "Waiting",
|
|
163
|
+
"pisell-floor-map-layout.figma-card.status-dining": "Dining",
|
|
164
|
+
"pisell-floor-map-layout.figma-card.status-billed": "Billed",
|
|
165
|
+
"pisell-floor-map-layout.figma-card.status-availableSoon": "Soon"
|
|
146
166
|
},
|
|
147
167
|
"zh-CN": {
|
|
148
168
|
"pisell-floor-map-layout.loading": "加载中…",
|
|
@@ -155,6 +175,14 @@ var locales_default = {
|
|
|
155
175
|
"pisell-floor-map-layout.edit-top-bar.unsaved": "未保存",
|
|
156
176
|
"pisell-floor-map-layout.edit-top-bar.save": "保存",
|
|
157
177
|
"pisell-floor-map-layout.edit-top-bar.saving": "保存中…",
|
|
178
|
+
"pisell-floor-map-layout.edit-top-bar.undo": "撤销",
|
|
179
|
+
"pisell-floor-map-layout.edit-top-bar.redo": "重做",
|
|
180
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-edit": "取消",
|
|
181
|
+
"pisell-floor-map-layout.edit-top-bar.finish-edit": "完成",
|
|
182
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-title": "未保存的更改",
|
|
183
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-content": "如果退出此页面,任何未保存的更改都将丢失。",
|
|
184
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok": "确定",
|
|
185
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel": "取消",
|
|
158
186
|
"pisell-floor-map-layout.canvas-tabs.empty": "暂无画布",
|
|
159
187
|
"pisell-floor-map-layout.canvas-tabs.add": "+ 添加楼层",
|
|
160
188
|
"pisell-floor-map-layout.canvas-tabs.add-title": "添加楼层",
|
|
@@ -184,6 +212,8 @@ var locales_default = {
|
|
|
184
212
|
"pisell-floor-map-layout.edit-panel.label-name-stage": "显示名称(画布上)",
|
|
185
213
|
"pisell-floor-map-layout.edit-panel.ph-name-stage": "如:舞台、DJ 台、舞池",
|
|
186
214
|
"pisell-floor-map-layout.edit-panel.ph-name": "图元名称",
|
|
215
|
+
"pisell-floor-map-layout.edit-panel.label-name-as-title": "将此名称作为资源标题",
|
|
216
|
+
"pisell-floor-map-layout.edit-panel.tip-name-as-title": "勾选后画布卡片标题以此名称为准,覆盖绑定的业务字段。",
|
|
187
217
|
"pisell-floor-map-layout.edit-panel.label-image-url": "图片地址(URL)",
|
|
188
218
|
"pisell-floor-map-layout.edit-panel.extra-image-url": "可填网络图片地址;将层级调低可铺在桌位下方作底图。",
|
|
189
219
|
"pisell-floor-map-layout.edit-panel.ph-https": "https://...",
|
|
@@ -224,6 +254,8 @@ var locales_default = {
|
|
|
224
254
|
"pisell-floor-map-layout.toolbar.layout-dirty-hint": "布局已修改,请点击「保存」持久化。",
|
|
225
255
|
"pisell-floor-map-layout.toolbar.save": "保存",
|
|
226
256
|
"pisell-floor-map-layout.toolbar.saving": "保存中…",
|
|
257
|
+
"pisell-floor-map-layout.toolbar.collapse": "收起面板",
|
|
258
|
+
"pisell-floor-map-layout.toolbar.expand": "展开面板",
|
|
227
259
|
"pisell-floor-map-layout.view-controls.zoom-out-aria": "缩小",
|
|
228
260
|
"pisell-floor-map-layout.view-controls.zoom-in-aria": "放大",
|
|
229
261
|
"pisell-floor-map-layout.view-controls.reset-aria": "复位",
|
|
@@ -234,6 +266,8 @@ var locales_default = {
|
|
|
234
266
|
"pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "退出全屏",
|
|
235
267
|
"pisell-floor-map-layout.view-controls.expand-tools-aria": "展开更多操作",
|
|
236
268
|
"pisell-floor-map-layout.view-controls.collapse-tools-aria": "收起更多操作",
|
|
269
|
+
"pisell-floor-map-layout.view-controls.viewport-lock-aria": "锁定视图(禁止拖拽和缩放)",
|
|
270
|
+
"pisell-floor-map-layout.view-controls.viewport-unlock-aria": "解锁视图",
|
|
237
271
|
"pisell-floor-map-layout.image-element.default-name": "图片图元",
|
|
238
272
|
"pisell-floor-map-layout.placement.fallback-image-name": "底图",
|
|
239
273
|
"pisell-floor-map-layout.image-element.hint-no-url": "在侧栏填写图片地址;可调层级置于桌位下方作底图",
|
|
@@ -251,7 +285,13 @@ var locales_default = {
|
|
|
251
285
|
"pisell-floor-map-layout.figma-card.kind-square-table": "餐桌",
|
|
252
286
|
"pisell-floor-map-layout.figma-card.default-table": "餐桌",
|
|
253
287
|
"pisell-floor-map-layout.figma-card.capacity-seats": "可坐 {n} 人",
|
|
254
|
-
"pisell-floor-map-layout.figma-card.guests-count": "{n} 人"
|
|
288
|
+
"pisell-floor-map-layout.figma-card.guests-count": "{n} 人",
|
|
289
|
+
"pisell-floor-map-layout.figma-card.status-available": "空闲",
|
|
290
|
+
"pisell-floor-map-layout.figma-card.status-reserved": "已预订",
|
|
291
|
+
"pisell-floor-map-layout.figma-card.status-waiting": "等待",
|
|
292
|
+
"pisell-floor-map-layout.figma-card.status-dining": "用餐中",
|
|
293
|
+
"pisell-floor-map-layout.figma-card.status-billed": "已结账",
|
|
294
|
+
"pisell-floor-map-layout.figma-card.status-availableSoon": "即将可用"
|
|
255
295
|
},
|
|
256
296
|
"zh-HK": {
|
|
257
297
|
"pisell-floor-map-layout.loading": "載入中…",
|
|
@@ -264,6 +304,14 @@ var locales_default = {
|
|
|
264
304
|
"pisell-floor-map-layout.edit-top-bar.unsaved": "未儲存",
|
|
265
305
|
"pisell-floor-map-layout.edit-top-bar.save": "儲存",
|
|
266
306
|
"pisell-floor-map-layout.edit-top-bar.saving": "儲存中…",
|
|
307
|
+
"pisell-floor-map-layout.edit-top-bar.undo": "復原",
|
|
308
|
+
"pisell-floor-map-layout.edit-top-bar.redo": "取消復原",
|
|
309
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-edit": "取消",
|
|
310
|
+
"pisell-floor-map-layout.edit-top-bar.finish-edit": "完成",
|
|
311
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-title": "未儲存的變更",
|
|
312
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-content": "如果退出此頁面,任何未儲存的變更都將遺失。",
|
|
313
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok": "確定",
|
|
314
|
+
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel": "取消",
|
|
267
315
|
"pisell-floor-map-layout.canvas-tabs.empty": "暫無畫布",
|
|
268
316
|
"pisell-floor-map-layout.canvas-tabs.add": "+ 添加樓層",
|
|
269
317
|
"pisell-floor-map-layout.canvas-tabs.add-title": "添加樓層",
|
|
@@ -293,6 +341,8 @@ var locales_default = {
|
|
|
293
341
|
"pisell-floor-map-layout.edit-panel.label-name-stage": "顯示名稱(畫布上)",
|
|
294
342
|
"pisell-floor-map-layout.edit-panel.ph-name-stage": "如:舞台、DJ 台、舞池",
|
|
295
343
|
"pisell-floor-map-layout.edit-panel.ph-name": "圖元名稱",
|
|
344
|
+
"pisell-floor-map-layout.edit-panel.label-name-as-title": "將此名稱作為資源標題",
|
|
345
|
+
"pisell-floor-map-layout.edit-panel.tip-name-as-title": "勾選後畫布卡片標題以此名稱為準,覆蓋綁定的業務欄位。",
|
|
296
346
|
"pisell-floor-map-layout.edit-panel.label-image-url": "圖片地址(URL)",
|
|
297
347
|
"pisell-floor-map-layout.edit-panel.extra-image-url": "可填網絡圖片地址;將層級調低可鋪在桌位下方作底圖。",
|
|
298
348
|
"pisell-floor-map-layout.edit-panel.ph-https": "https://...",
|
|
@@ -333,6 +383,8 @@ var locales_default = {
|
|
|
333
383
|
"pisell-floor-map-layout.toolbar.layout-dirty-hint": "佈局已修改,請點擊「儲存」持久化。",
|
|
334
384
|
"pisell-floor-map-layout.toolbar.save": "儲存",
|
|
335
385
|
"pisell-floor-map-layout.toolbar.saving": "儲存中…",
|
|
386
|
+
"pisell-floor-map-layout.toolbar.collapse": "收起面板",
|
|
387
|
+
"pisell-floor-map-layout.toolbar.expand": "展開面板",
|
|
336
388
|
"pisell-floor-map-layout.view-controls.zoom-out-aria": "縮小",
|
|
337
389
|
"pisell-floor-map-layout.view-controls.zoom-in-aria": "放大",
|
|
338
390
|
"pisell-floor-map-layout.view-controls.reset-aria": "復位",
|
|
@@ -343,6 +395,8 @@ var locales_default = {
|
|
|
343
395
|
"pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "退出全螢幕",
|
|
344
396
|
"pisell-floor-map-layout.view-controls.expand-tools-aria": "展開更多操作",
|
|
345
397
|
"pisell-floor-map-layout.view-controls.collapse-tools-aria": "收起更多操作",
|
|
398
|
+
"pisell-floor-map-layout.view-controls.viewport-lock-aria": "鎖定視圖(禁止拖曳和縮放)",
|
|
399
|
+
"pisell-floor-map-layout.view-controls.viewport-unlock-aria": "解鎖視圖",
|
|
346
400
|
"pisell-floor-map-layout.image-element.default-name": "圖片圖元",
|
|
347
401
|
"pisell-floor-map-layout.placement.fallback-image-name": "底圖",
|
|
348
402
|
"pisell-floor-map-layout.image-element.hint-no-url": "在側欄填寫圖片地址;可調層級置於桌位下方作底圖",
|
|
@@ -360,7 +414,13 @@ var locales_default = {
|
|
|
360
414
|
"pisell-floor-map-layout.figma-card.kind-square-table": "餐桌",
|
|
361
415
|
"pisell-floor-map-layout.figma-card.default-table": "餐桌",
|
|
362
416
|
"pisell-floor-map-layout.figma-card.capacity-seats": "可坐 {n} 人",
|
|
363
|
-
"pisell-floor-map-layout.figma-card.guests-count": "{n} 人"
|
|
417
|
+
"pisell-floor-map-layout.figma-card.guests-count": "{n} 人",
|
|
418
|
+
"pisell-floor-map-layout.figma-card.status-available": "空閒",
|
|
419
|
+
"pisell-floor-map-layout.figma-card.status-reserved": "已預訂",
|
|
420
|
+
"pisell-floor-map-layout.figma-card.status-waiting": "等待",
|
|
421
|
+
"pisell-floor-map-layout.figma-card.status-dining": "用餐中",
|
|
422
|
+
"pisell-floor-map-layout.figma-card.status-billed": "已結帳",
|
|
423
|
+
"pisell-floor-map-layout.figma-card.status-availableSoon": "即將可用"
|
|
364
424
|
},
|
|
365
425
|
ja: import_locales_ja.default,
|
|
366
426
|
pt: import_locales_pt.default
|
|
@@ -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 {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.ts
|
|
20
|
+
var floorMapElementNameAsTitle_exports = {};
|
|
21
|
+
__export(floorMapElementNameAsTitle_exports, {
|
|
22
|
+
NAME_AS_TITLE_EXT_KEY: () => NAME_AS_TITLE_EXT_KEY,
|
|
23
|
+
buildNameAsTitleExtensionsPatch: () => buildNameAsTitleExtensionsPatch,
|
|
24
|
+
isElementNameAsTitleEnabled: () => isElementNameAsTitleEnabled,
|
|
25
|
+
resolveSceneElementDisplayTitle: () => resolveSceneElementDisplayTitle
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(floorMapElementNameAsTitle_exports);
|
|
28
|
+
var NAME_AS_TITLE_EXT_KEY = "nameAsTitle";
|
|
29
|
+
function isElementNameAsTitleEnabled(el) {
|
|
30
|
+
var _a;
|
|
31
|
+
if (!el) return false;
|
|
32
|
+
const v = (_a = el.extensions) == null ? void 0 : _a[NAME_AS_TITLE_EXT_KEY];
|
|
33
|
+
return v === true;
|
|
34
|
+
}
|
|
35
|
+
function buildNameAsTitleExtensionsPatch(prev, enabled) {
|
|
36
|
+
const base = { ...prev ?? {} };
|
|
37
|
+
if (enabled) {
|
|
38
|
+
base[NAME_AS_TITLE_EXT_KEY] = true;
|
|
39
|
+
} else {
|
|
40
|
+
delete base[NAME_AS_TITLE_EXT_KEY];
|
|
41
|
+
}
|
|
42
|
+
return Object.keys(base).length > 0 ? base : void 0;
|
|
43
|
+
}
|
|
44
|
+
function resolveSceneElementDisplayTitle(opts) {
|
|
45
|
+
const { sceneElement, recordTitle, fallback } = opts;
|
|
46
|
+
const elName = (sceneElement == null ? void 0 : sceneElement.name) != null ? String(sceneElement.name).trim() : "";
|
|
47
|
+
const rt = recordTitle != null ? String(recordTitle).trim() : "";
|
|
48
|
+
const fb = fallback != null ? String(fallback).trim() : "";
|
|
49
|
+
if (isElementNameAsTitleEnabled(sceneElement) && elName) {
|
|
50
|
+
return elName;
|
|
51
|
+
}
|
|
52
|
+
return rt || elName || fb || "";
|
|
53
|
+
}
|
|
54
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
55
|
+
0 && (module.exports = {
|
|
56
|
+
NAME_AS_TITLE_EXT_KEY,
|
|
57
|
+
buildNameAsTitleExtensionsPatch,
|
|
58
|
+
isElementNameAsTitleEnabled,
|
|
59
|
+
resolveSceneElementDisplayTitle
|
|
60
|
+
});
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
&-right {
|
|
38
38
|
display: flex;
|
|
39
39
|
flex-direction: row;
|
|
40
|
-
|
|
40
|
+
justify-content: start;
|
|
41
41
|
gap: 12px;
|
|
42
42
|
flex-shrink: 0;
|
|
43
43
|
}
|
|
@@ -45,19 +45,20 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* 手机版宽度:左侧区域与右侧区域换行,避免挤在一行。
|
|
49
|
+
* RecordBoard(`.pisell-record-board-toolbar--grid`)顶栏单行布局见 `recordBoardToolbar.less`,此处排除。
|
|
49
50
|
*/
|
|
50
51
|
@media (max-width: 768px) {
|
|
51
52
|
.pisell-grid-pro-toolbar .toolbar-row {
|
|
52
53
|
flex-wrap: wrap;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
.pisell-grid-pro-toolbar .toolbar-row-left {
|
|
56
|
+
.pisell-grid-pro-toolbar:not(.pisell-record-board-toolbar--grid) .toolbar-row-left {
|
|
56
57
|
flex: 1 1 100%;
|
|
57
58
|
min-width: 0;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
|
-
.pisell-grid-pro-toolbar .toolbar-row-right {
|
|
61
|
+
.pisell-grid-pro-toolbar:not(.pisell-record-board-toolbar--grid) .toolbar-row-right {
|
|
61
62
|
flex: 1 1 100%;
|
|
62
63
|
min-width: 0;
|
|
63
64
|
justify-content: flex-start;
|