@pisell/materials 1.0.1059 → 1.0.1062
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +285 -285
- 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 +7 -7
- package/build/lowcode/preview.js +9 -9
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +27 -27
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +27 -27
- package/es/components/PisellLayouts/index.d.ts +2 -1
- package/es/components/PisellLayouts/index.js +17 -15
- package/es/components/cardMetricItem/index.js +2 -2
- package/es/components/pisellFilter/type.d.ts +4 -2
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +1 -1
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +474 -202
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.less +70 -0
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +13 -0
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.js +469 -38
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +22 -0
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.js +203 -0
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.less +189 -0
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +37 -0
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.js +341 -0
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.less +89 -0
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +39 -0
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.js +432 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +17 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.js +131 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.less +7 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +11 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +497 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +154 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +34 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +130 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +131 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +6 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.js +69 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +35 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.js +361 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.less +237 -0
- package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +7 -0
- package/es/components/pisellFloorMapLayout/components/ItemLayer.js +37 -11
- package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +4 -0
- package/es/components/pisellFloorMapLayout/components/MapLayer.js +11 -3
- package/es/components/pisellFloorMapLayout/components/ViewControls.js +2 -2
- package/es/components/pisellFloorMapLayout/components/ViewControls.less +3 -2
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +11 -0
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +27 -0
- package/es/components/pisellFloorMapLayout/components/index.d.ts +14 -0
- package/es/components/pisellFloorMapLayout/components/index.js +8 -1
- package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
- package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.js +21 -0
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +28 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +62 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +438 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +21 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.js +122 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +322 -0
- package/es/components/pisellFloorMapLayout/index.d.ts +9 -2
- package/es/components/pisellFloorMapLayout/index.js +7 -2
- package/es/components/pisellFloorMapLayout/locales.d.ts +186 -0
- package/es/components/pisellFloorMapLayout/locales.js +185 -0
- package/es/components/pisellFloorMapLayout/types.d.ts +362 -1
- package/es/components/pisellFloorMapLayout/types.js +148 -1
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +20 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.js +129 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +87 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +26 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.js +47 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +11 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +69 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +88 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +8 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.js +8 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.js +108 -0
- package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
- package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.js +125 -0
- package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
- package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.js +29 -0
- package/es/components/pisellFloorMapLayout/utils/snap.d.ts +10 -0
- package/es/components/pisellFloorMapLayout/utils/snap.js +21 -0
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.js +175 -0
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.less +129 -0
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.js +237 -0
- package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
- package/es/components/pisellHierarchicalSummaryList/components/Row.js +313 -0
- package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
- package/es/components/pisellHierarchicalSummaryList/components/index.js +1 -0
- package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
- package/es/components/pisellHierarchicalSummaryList/hooks/index.js +1 -0
- package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
- package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.js +34 -0
- package/es/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
- package/es/components/pisellHierarchicalSummaryList/index.js +5 -0
- package/es/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
- package/es/components/pisellHierarchicalSummaryList/types.js +1 -0
- package/es/components/pisellLookup/PisellLookup.js +82 -82
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.stories.js +34 -34
- package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +2 -1
- package/es/components/pisellRecordBoard/PisellRecordBoard.js +95 -18
- package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +4 -0
- package/es/components/pisellRecordBoard/PisellRecordBoard.stories.js +1315 -383
- package/es/components/pisellRecordBoard/index.d.ts +7 -2
- package/es/components/pisellRecordBoard/index.js +2 -1
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +1 -3
- package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/FloorMap.js +15 -0
- package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +16 -0
- package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.js +11 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +47 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +57 -10
- package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.js +3 -3
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +4 -10
- package/es/components/pisellRecordBoard/shellFrame/index.js +101 -19
- package/es/components/pisellRecordBoard/types.d.ts +62 -2
- package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +15 -0
- package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.js +57 -0
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +10 -0
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.js +156 -0
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.less +88 -0
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +12 -0
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.js +105 -0
- package/es/components/pisellReservationSchedule/index.d.ts +2 -0
- package/es/components/pisellReservationSchedule/index.js +1 -0
- package/es/components/pisellReservationSchedule/locales.d.ts +25 -0
- package/es/components/pisellReservationSchedule/locales.js +24 -0
- package/es/components/pisellReservationSchedule/types.d.ts +42 -0
- package/es/components/pisellReservationSchedule/types.js +1 -0
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +10 -0
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.js +91 -0
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +49 -0
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.js +197 -0
- package/es/components/pisellReservationScheduleBand/index.d.ts +2 -0
- package/es/components/pisellReservationScheduleBand/index.js +1 -0
- package/es/components/pisellReservationScheduleBand/types.d.ts +45 -0
- package/es/components/pisellReservationScheduleBand/types.js +1 -0
- package/es/components/pisellRow/index.js +7 -7
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +10 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.js +609 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.less +412 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.js +290 -0
- package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
- package/es/components/pisellTimeNavigator/components/BackgroundLayer.js +30 -0
- package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +20 -0
- package/es/components/pisellTimeNavigator/components/CursorLayer.js +46 -0
- package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +31 -0
- package/es/components/pisellTimeNavigator/components/GestureLayer.js +82 -0
- package/es/components/pisellTimeNavigator/components/NowButton.d.ts +14 -0
- package/es/components/pisellTimeNavigator/components/NowButton.js +38 -0
- package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +17 -0
- package/es/components/pisellTimeNavigator/components/ScaleLayer.js +51 -0
- package/es/components/pisellTimeNavigator/components/index.d.ts +5 -0
- package/es/components/pisellTimeNavigator/components/index.js +5 -0
- package/es/components/pisellTimeNavigator/hooks/index.d.ts +5 -0
- package/es/components/pisellTimeNavigator/hooks/index.js +3 -0
- package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
- package/es/components/pisellTimeNavigator/hooks/useDragInertia.js +109 -0
- package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
- package/es/components/pisellTimeNavigator/hooks/useRealtime.js +16 -0
- package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
- package/es/components/pisellTimeNavigator/hooks/useTimeAxis.js +76 -0
- package/es/components/pisellTimeNavigator/index.d.ts +4 -0
- package/es/components/pisellTimeNavigator/index.js +3 -0
- package/es/components/pisellTimeNavigator/locales.d.ts +22 -0
- package/es/components/pisellTimeNavigator/locales.js +21 -0
- package/es/components/pisellTimeNavigator/types.d.ts +149 -0
- package/es/components/pisellTimeNavigator/types.js +1 -0
- package/es/components/pisellTimeNavigator/utils/index.d.ts +30 -0
- package/es/components/pisellTimeNavigator/utils/index.js +116 -0
- package/es/index.d.ts +15 -5
- package/es/index.js +7 -1
- package/es/locales/en-US.d.ts +2 -0
- package/es/locales/en-US.js +6 -4
- package/es/locales/zh-CN.d.ts +2 -0
- package/es/locales/zh-CN.js +6 -4
- package/es/locales/zh-TW.d.ts +2 -0
- package/es/locales/zh-TW.js +6 -4
- package/lib/components/PisellLayouts/index.d.ts +2 -1
- package/lib/components/PisellLayouts/index.js +13 -1
- package/lib/components/pisellFilter/type.d.ts +4 -2
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +1 -1
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +566 -181
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.less +70 -0
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +13 -0
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.js +682 -84
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +22 -0
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.js +237 -0
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.less +189 -0
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +37 -0
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.js +358 -0
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.less +89 -0
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +39 -0
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.js +482 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +17 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.js +117 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.less +7 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +11 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +508 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +154 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +34 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +188 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +131 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +6 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.js +94 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +35 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.js +333 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.less +237 -0
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +7 -0
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.js +26 -5
- package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +4 -0
- package/lib/components/pisellFloorMapLayout/components/MapLayer.js +7 -2
- package/lib/components/pisellFloorMapLayout/components/ViewControls.less +3 -2
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +11 -0
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +63 -0
- package/lib/components/pisellFloorMapLayout/components/index.d.ts +14 -0
- package/lib/components/pisellFloorMapLayout/components/index.js +23 -2
- package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
- package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.js +54 -0
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +47 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +62 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +431 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +21 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.js +146 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +309 -0
- package/lib/components/pisellFloorMapLayout/index.d.ts +9 -2
- package/lib/components/pisellFloorMapLayout/index.js +31 -2
- package/lib/components/pisellFloorMapLayout/locales.d.ts +186 -0
- package/lib/components/pisellFloorMapLayout/locales.js +206 -0
- package/lib/components/pisellFloorMapLayout/types.d.ts +362 -1
- package/lib/components/pisellFloorMapLayout/types.js +15 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +20 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.js +126 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +66 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +26 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.js +61 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +11 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +70 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +135 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +8 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.js +33 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.js +128 -0
- package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
- package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.js +96 -0
- package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
- package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.js +41 -0
- package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +10 -0
- package/lib/components/pisellFloorMapLayout/utils/snap.js +43 -0
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.js +179 -0
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.less +129 -0
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.js +218 -0
- package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
- package/lib/components/pisellHierarchicalSummaryList/components/Row.js +343 -0
- package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
- package/lib/components/pisellHierarchicalSummaryList/components/index.js +29 -0
- package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
- package/lib/components/pisellHierarchicalSummaryList/hooks/index.js +29 -0
- package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
- package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.js +51 -0
- package/lib/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
- package/lib/components/pisellHierarchicalSummaryList/index.js +31 -0
- package/lib/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
- package/lib/components/pisellHierarchicalSummaryList/types.js +17 -0
- package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +2 -1
- package/lib/components/pisellRecordBoard/PisellRecordBoard.js +82 -8
- package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +4 -0
- package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.js +915 -25
- package/lib/components/pisellRecordBoard/index.d.ts +7 -2
- package/lib/components/pisellRecordBoard/index.js +1 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +8 -2
- package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/FloorMap.js +27 -0
- package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +16 -0
- package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.js +45 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +47 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +48 -4
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +4 -10
- package/lib/components/pisellRecordBoard/shellFrame/index.js +88 -6
- package/lib/components/pisellRecordBoard/types.d.ts +62 -2
- package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +15 -0
- package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.js +88 -0
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +10 -0
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.js +200 -0
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.less +88 -0
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +12 -0
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.js +116 -0
- package/lib/components/pisellReservationSchedule/index.d.ts +2 -0
- package/lib/components/pisellReservationSchedule/index.js +29 -0
- package/lib/components/pisellReservationSchedule/locales.d.ts +25 -0
- package/lib/components/pisellReservationSchedule/locales.js +47 -0
- package/lib/components/pisellReservationSchedule/types.d.ts +42 -0
- package/lib/components/pisellReservationSchedule/types.js +17 -0
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +10 -0
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.js +127 -0
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +49 -0
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.js +181 -0
- package/lib/components/pisellReservationScheduleBand/index.d.ts +2 -0
- package/lib/components/pisellReservationScheduleBand/index.js +29 -0
- package/lib/components/pisellReservationScheduleBand/types.d.ts +45 -0
- package/lib/components/pisellReservationScheduleBand/types.js +17 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +10 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.js +716 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.less +412 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.js +273 -0
- package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
- package/lib/components/pisellTimeNavigator/components/BackgroundLayer.js +81 -0
- package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +20 -0
- package/lib/components/pisellTimeNavigator/components/CursorLayer.js +74 -0
- package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +31 -0
- package/lib/components/pisellTimeNavigator/components/GestureLayer.js +159 -0
- package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +14 -0
- package/lib/components/pisellTimeNavigator/components/NowButton.js +81 -0
- package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +17 -0
- package/lib/components/pisellTimeNavigator/components/ScaleLayer.js +95 -0
- package/lib/components/pisellTimeNavigator/components/index.d.ts +5 -0
- package/lib/components/pisellTimeNavigator/components/index.js +41 -0
- package/lib/components/pisellTimeNavigator/hooks/index.d.ts +5 -0
- package/lib/components/pisellTimeNavigator/hooks/index.js +35 -0
- package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
- package/lib/components/pisellTimeNavigator/hooks/useDragInertia.js +136 -0
- package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
- package/lib/components/pisellTimeNavigator/hooks/useRealtime.js +49 -0
- package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
- package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.js +81 -0
- package/lib/components/pisellTimeNavigator/index.d.ts +4 -0
- package/lib/components/pisellTimeNavigator/index.js +42 -0
- package/lib/components/pisellTimeNavigator/locales.d.ts +22 -0
- package/lib/components/pisellTimeNavigator/locales.js +41 -0
- package/lib/components/pisellTimeNavigator/types.d.ts +149 -0
- package/lib/components/pisellTimeNavigator/types.js +17 -0
- package/lib/components/pisellTimeNavigator/utils/index.d.ts +30 -0
- package/lib/components/pisellTimeNavigator/utils/index.js +107 -0
- package/lib/index.d.ts +15 -5
- package/lib/index.js +35 -0
- package/lib/locales/en-US.d.ts +2 -0
- package/lib/locales/en-US.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/lowcode/floor-map-layout-provider/meta.ts +65 -0
- package/lowcode/pisell-floor-map-layout/meta.ts +3894 -1
- package/lowcode/pisell-hierarchical-summary-list/meta.ts +244 -0
- package/lowcode/pisell-reservation-schedule/index.ts +3 -0
- package/lowcode/pisell-reservation-schedule/meta.ts +69 -0
- package/lowcode/pisell-reservation-schedule/snippets.ts +1 -0
- package/lowcode/pisell-reservation-schedule-band/index.ts +3 -0
- package/lowcode/pisell-reservation-schedule-band/meta.ts +96 -0
- package/lowcode/pisell-reservation-schedule-band/snippets.ts +1 -0
- package/lowcode/pisell-time-navigator/index.ts +3 -0
- package/lowcode/pisell-time-navigator/meta.ts +298 -0
- package/lowcode/pisell-time-navigator/snippets.ts +1 -0
- package/lowcode/render-figma-style-round-table-card/meta.ts +589 -0
- package/lowcode/render-figma-style-table-card/meta.ts +589 -0
- package/package.json +3 -3
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PisellTimeNavigator 多语言文案
|
|
3
|
+
* 使用前请在应用内通过 locales.init() 合并本模块导出的 key
|
|
4
|
+
*/
|
|
5
|
+
declare const _default: {
|
|
6
|
+
en: {
|
|
7
|
+
'pisell-time-navigator.now': string;
|
|
8
|
+
};
|
|
9
|
+
'zh-CN': {
|
|
10
|
+
'pisell-time-navigator.now': string;
|
|
11
|
+
};
|
|
12
|
+
'zh-HK': {
|
|
13
|
+
'pisell-time-navigator.now': string;
|
|
14
|
+
};
|
|
15
|
+
ja: {
|
|
16
|
+
'pisell-time-navigator.now': string;
|
|
17
|
+
};
|
|
18
|
+
pt: {
|
|
19
|
+
'pisell-time-navigator.now': string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
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/pisellTimeNavigator/locales.ts
|
|
20
|
+
var locales_exports = {};
|
|
21
|
+
__export(locales_exports, {
|
|
22
|
+
default: () => locales_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(locales_exports);
|
|
25
|
+
var locales_default = {
|
|
26
|
+
en: {
|
|
27
|
+
"pisell-time-navigator.now": "Now"
|
|
28
|
+
},
|
|
29
|
+
"zh-CN": {
|
|
30
|
+
"pisell-time-navigator.now": "现在"
|
|
31
|
+
},
|
|
32
|
+
"zh-HK": {
|
|
33
|
+
"pisell-time-navigator.now": "現在"
|
|
34
|
+
},
|
|
35
|
+
ja: {
|
|
36
|
+
"pisell-time-navigator.now": "今"
|
|
37
|
+
},
|
|
38
|
+
pt: {
|
|
39
|
+
"pisell-time-navigator.now": "Agora"
|
|
40
|
+
}
|
|
41
|
+
};
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import type { Dayjs } from 'dayjs';
|
|
3
|
+
/**
|
|
4
|
+
* value / defaultValue 的 dayjs 兼容类型(组件内部统一为 Dayjs)
|
|
5
|
+
*/
|
|
6
|
+
export declare type TimeNavigatorValue = Dayjs | string | null;
|
|
7
|
+
/**
|
|
8
|
+
* 时间范围(HH:mm 或 HH:mm:ss,相对 referenceDate 的营业日)
|
|
9
|
+
* - 同自然日:如 08:00–22:00
|
|
10
|
+
* - 跨日:结束钟面 ≤ 开始时视为次日结束,如 02:01–02:00 表示至次日 02:00
|
|
11
|
+
*/
|
|
12
|
+
export interface TimeRangeOption {
|
|
13
|
+
start: string;
|
|
14
|
+
end: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 拖动/指示器模式
|
|
18
|
+
* - axis-moves:指示器固定视口中央,刻度移动(默认)
|
|
19
|
+
* - cursor-moves:刻度固定,指示器在轴上移动
|
|
20
|
+
*/
|
|
21
|
+
export declare type CursorMode = 'axis-moves' | 'cursor-moves';
|
|
22
|
+
/**
|
|
23
|
+
* 布局方向
|
|
24
|
+
*/
|
|
25
|
+
export declare type TimeNavigatorOrientation = 'horizontal' | 'vertical';
|
|
26
|
+
/**
|
|
27
|
+
* PisellTimeNavigator 组件 Props
|
|
28
|
+
*/
|
|
29
|
+
export interface PisellTimeNavigatorProps {
|
|
30
|
+
/**
|
|
31
|
+
* 当前选中时间(受控)。支持 dayjs 实例或可被 dayjs 解析的字符串
|
|
32
|
+
*/
|
|
33
|
+
value?: TimeNavigatorValue;
|
|
34
|
+
/**
|
|
35
|
+
* 时间变更回调(受控时必传)
|
|
36
|
+
*/
|
|
37
|
+
onChange?: (value: Dayjs) => void;
|
|
38
|
+
/**
|
|
39
|
+
* 默认选中时间(非受控)
|
|
40
|
+
*/
|
|
41
|
+
defaultValue?: TimeNavigatorValue;
|
|
42
|
+
/**
|
|
43
|
+
* 时间轴锚定到的日历日(startOf day)。`range` 的 HH:mm 均相对于该日。
|
|
44
|
+
* 不传则与历史一致:取「当天」0 点,避免跨天后刻度错位。
|
|
45
|
+
*/
|
|
46
|
+
referenceDate?: TimeNavigatorValue;
|
|
47
|
+
/**
|
|
48
|
+
* 是否 Realtime 模式:value 自动跟随系统当前时间更新
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
realtime?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* 时间范围(支持跨日营业,见 {@link TimeRangeOption})。不传则默认当日 00:00–24:00
|
|
54
|
+
*/
|
|
55
|
+
range?: TimeRangeOption;
|
|
56
|
+
/**
|
|
57
|
+
* 吸附步长(分钟),如 15、30、60
|
|
58
|
+
* @default 15
|
|
59
|
+
*/
|
|
60
|
+
stepMinutes?: number;
|
|
61
|
+
/**
|
|
62
|
+
* 大刻度间隔(分钟),用于整点刻度;不传则与 stepMinutes 一致或 60
|
|
63
|
+
* @default 60
|
|
64
|
+
*/
|
|
65
|
+
majorStepMinutes?: number;
|
|
66
|
+
/**
|
|
67
|
+
* 指示器/轴移动模式
|
|
68
|
+
* @default 'axis-moves'
|
|
69
|
+
*/
|
|
70
|
+
cursorMode?: CursorMode;
|
|
71
|
+
/**
|
|
72
|
+
* 横向或竖向展示
|
|
73
|
+
* @default 'horizontal'
|
|
74
|
+
*/
|
|
75
|
+
orientation?: TimeNavigatorOrientation;
|
|
76
|
+
/**
|
|
77
|
+
* 营业时间范围(视觉高亮,可选限制选择范围)
|
|
78
|
+
*/
|
|
79
|
+
businessHours?: TimeRangeOption;
|
|
80
|
+
/**
|
|
81
|
+
* 禁用时间段,禁止选中(点击/吸附到该区间无效)
|
|
82
|
+
*/
|
|
83
|
+
disabledRanges?: TimeRangeOption[];
|
|
84
|
+
/**
|
|
85
|
+
* 是否显示 Now 按钮(固定入口)
|
|
86
|
+
* @default true
|
|
87
|
+
*/
|
|
88
|
+
showNowButton?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* 为 true 时禁止用户拖动/滚动时间轴、点击刻度改时间(仍随 `value` 程序性对齐视口;用于「跟随当前时刻」等只读轴)
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
userInteractionLocked?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* 是否吸附到 step 刻度
|
|
96
|
+
* @default true
|
|
97
|
+
*/
|
|
98
|
+
snapToStep?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* 是否开启惯性滚动(拖动松手后减速)
|
|
101
|
+
* @default false
|
|
102
|
+
*/
|
|
103
|
+
inertia?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* 过去时间淡化背景色(CSS 颜色值)
|
|
106
|
+
*/
|
|
107
|
+
pastTimeFade?: string;
|
|
108
|
+
/**
|
|
109
|
+
* 容器样式覆盖
|
|
110
|
+
*/
|
|
111
|
+
containerStyle?: CSSProperties;
|
|
112
|
+
/**
|
|
113
|
+
* 刻度层样式覆盖
|
|
114
|
+
*/
|
|
115
|
+
scaleStyle?: CSSProperties;
|
|
116
|
+
/**
|
|
117
|
+
* 时间气泡/竖线样式覆盖(区分 realtime 时由组件内部应用主题色)
|
|
118
|
+
*/
|
|
119
|
+
cursorStyle?: CSSProperties;
|
|
120
|
+
/**
|
|
121
|
+
* Now 按钮样式覆盖
|
|
122
|
+
*/
|
|
123
|
+
nowButtonStyle?: CSSProperties;
|
|
124
|
+
/**
|
|
125
|
+
* 自定义类名
|
|
126
|
+
*/
|
|
127
|
+
className?: string;
|
|
128
|
+
/**
|
|
129
|
+
* 根节点自定义样式
|
|
130
|
+
*/
|
|
131
|
+
style?: CSSProperties;
|
|
132
|
+
/**
|
|
133
|
+
* dayjs locale
|
|
134
|
+
*/
|
|
135
|
+
locale?: string;
|
|
136
|
+
/**
|
|
137
|
+
* 时间气泡展示格式(dayjs format)
|
|
138
|
+
* @default 'HH:mm'
|
|
139
|
+
*/
|
|
140
|
+
timeFormat?: string;
|
|
141
|
+
/**
|
|
142
|
+
* 自定义 Now 按钮内容(覆盖默认文案与图标时使用)
|
|
143
|
+
*/
|
|
144
|
+
renderNowButton?: () => ReactNode;
|
|
145
|
+
/**
|
|
146
|
+
* 用户开始操作时间轴(拖轴、点刻度、键盘、拖指针等)时回调;用于上层关闭「跟随当前」等。
|
|
147
|
+
*/
|
|
148
|
+
onUserInteraction?: () => void;
|
|
149
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
|
|
15
|
+
// src/components/pisellTimeNavigator/types.ts
|
|
16
|
+
var types_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(types_exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type Dayjs } from 'dayjs';
|
|
2
|
+
import type { TimeNavigatorValue, TimeRangeOption } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* 解析 value 为 Dayjs,无效则返回 null。
|
|
5
|
+
* 支持 dayjs 可解析的日期时间;纯时间字符串(如 '12:00'、'14:30')会基于 reference 的日期解析。
|
|
6
|
+
*/
|
|
7
|
+
export declare function parseValue(value: TimeNavigatorValue, reference?: Dayjs): Dayjs | null;
|
|
8
|
+
/**
|
|
9
|
+
* 将 range 转为 [startDayjs, endDayjs](reference 为营业锚定日的 0 点)
|
|
10
|
+
* - 同日内:如 08:00–22:00
|
|
11
|
+
* - 跨日营业:结束钟面早于或等于开始(如 02:01–次日 02:00)时,end 解析为 reference 的次日同一时刻
|
|
12
|
+
*/
|
|
13
|
+
export declare function getRangeBounds(range: TimeRangeOption | undefined, reference: Dayjs): [Dayjs, Dayjs];
|
|
14
|
+
/**
|
|
15
|
+
* 将时间吸附到 step 分钟刻度(0、15、30、45 等):四舍五入到最近刻度。
|
|
16
|
+
*/
|
|
17
|
+
export declare function snapToStepMinutes(t: Dayjs, stepMinutes: number): Dayjs;
|
|
18
|
+
/**
|
|
19
|
+
* 判断时间是否落在任一禁用区间内(按绝对时间与区间 [start,end) 比较)
|
|
20
|
+
* 注:与主时间轴同 reference 的跨日 range 一致时需传入同一营业锚定日解析出的区间。
|
|
21
|
+
*/
|
|
22
|
+
export declare function isInDisabledRanges(t: Dayjs, disabledRanges: TimeRangeOption[] | undefined): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* 在 [rangeStart, rangeEnd] 内按 stepMinutes 生成刻度时间列表(Dayjs)
|
|
25
|
+
*/
|
|
26
|
+
export declare function getTicks(rangeStart: Dayjs, rangeEnd: Dayjs, stepMinutes: number): Dayjs[];
|
|
27
|
+
/**
|
|
28
|
+
* 横向时间轴「格」数量,与 useTimeAxis 中 totalLengthPx 算法一致(含尾格)
|
|
29
|
+
*/
|
|
30
|
+
export declare function getHorizontalAxisSlotCount(range: TimeRangeOption | undefined, referenceDate: Dayjs, stepMinutes: number): number;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/pisellTimeNavigator/utils/index.ts
|
|
30
|
+
var utils_exports = {};
|
|
31
|
+
__export(utils_exports, {
|
|
32
|
+
getHorizontalAxisSlotCount: () => getHorizontalAxisSlotCount,
|
|
33
|
+
getRangeBounds: () => getRangeBounds,
|
|
34
|
+
getTicks: () => getTicks,
|
|
35
|
+
isInDisabledRanges: () => isInDisabledRanges,
|
|
36
|
+
parseValue: () => parseValue,
|
|
37
|
+
snapToStepMinutes: () => snapToStepMinutes
|
|
38
|
+
});
|
|
39
|
+
module.exports = __toCommonJS(utils_exports);
|
|
40
|
+
var import_dayjs = __toESM(require("dayjs"));
|
|
41
|
+
function parseTimeOfDay(timeStr, reference) {
|
|
42
|
+
const [h, m, s] = timeStr.trim().split(":").map(Number);
|
|
43
|
+
return reference.hour(isNaN(h) ? 0 : h).minute(isNaN(m) ? 0 : m).second(isNaN(s) ? 0 : s).millisecond(0);
|
|
44
|
+
}
|
|
45
|
+
var TIME_ONLY_REGEX = /^\s*\d{1,2}:\d{2}(:\d{2})?\s*$/;
|
|
46
|
+
function parseValue(value, reference) {
|
|
47
|
+
if (value == null) return null;
|
|
48
|
+
const ref = reference ?? (0, import_dayjs.default)();
|
|
49
|
+
if (typeof value === "string" && TIME_ONLY_REGEX.test(value)) {
|
|
50
|
+
return parseTimeOfDay(value, ref);
|
|
51
|
+
}
|
|
52
|
+
const d = (0, import_dayjs.default)(value);
|
|
53
|
+
return d.isValid() ? d : null;
|
|
54
|
+
}
|
|
55
|
+
function getRangeBounds(range, reference) {
|
|
56
|
+
if (!range) {
|
|
57
|
+
return [reference.startOf("day"), reference.endOf("day")];
|
|
58
|
+
}
|
|
59
|
+
const start = parseTimeOfDay(range.start, reference);
|
|
60
|
+
let end = parseTimeOfDay(range.end, reference);
|
|
61
|
+
if (end.isBefore(start) || end.isSame(start)) {
|
|
62
|
+
end = parseTimeOfDay(range.end, reference.add(1, "day"));
|
|
63
|
+
}
|
|
64
|
+
return [start, end];
|
|
65
|
+
}
|
|
66
|
+
function snapToStepMinutes(t, stepMinutes) {
|
|
67
|
+
const m = t.minute();
|
|
68
|
+
const snapped = Math.round(m / stepMinutes) * stepMinutes;
|
|
69
|
+
if (snapped >= 60) {
|
|
70
|
+
return t.add(1, "hour").minute(0).second(0).millisecond(0);
|
|
71
|
+
}
|
|
72
|
+
return t.minute(snapped).second(0).millisecond(0);
|
|
73
|
+
}
|
|
74
|
+
function isInDisabledRanges(t, disabledRanges) {
|
|
75
|
+
if (!(disabledRanges == null ? void 0 : disabledRanges.length)) return false;
|
|
76
|
+
const tMin = t.startOf("minute");
|
|
77
|
+
for (const r of disabledRanges) {
|
|
78
|
+
const [s, e] = getRangeBounds(r, t.startOf("day"));
|
|
79
|
+
if ((tMin.isAfter(s) || tMin.isSame(s)) && tMin.isBefore(e)) return true;
|
|
80
|
+
}
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
function getTicks(rangeStart, rangeEnd, stepMinutes) {
|
|
84
|
+
const out = [];
|
|
85
|
+
let cur = rangeStart;
|
|
86
|
+
while (!cur.isAfter(rangeEnd)) {
|
|
87
|
+
out.push(cur);
|
|
88
|
+
cur = cur.add(stepMinutes, "minute");
|
|
89
|
+
}
|
|
90
|
+
return out;
|
|
91
|
+
}
|
|
92
|
+
function getHorizontalAxisSlotCount(range, referenceDate, stepMinutes) {
|
|
93
|
+
const [rangeStart, rangeEnd] = getRangeBounds(range, referenceDate);
|
|
94
|
+
const ticks = getTicks(rangeStart, rangeEnd, stepMinutes);
|
|
95
|
+
const lastTick = ticks.length > 0 ? ticks[ticks.length - 1] : null;
|
|
96
|
+
const needTailCell = lastTick != null && rangeEnd.isAfter(lastTick);
|
|
97
|
+
return ticks.length + (needTailCell ? 1 : 0);
|
|
98
|
+
}
|
|
99
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
100
|
+
0 && (module.exports = {
|
|
101
|
+
getHorizontalAxisSlotCount,
|
|
102
|
+
getRangeBounds,
|
|
103
|
+
getTicks,
|
|
104
|
+
isInDisabledRanges,
|
|
105
|
+
parseValue,
|
|
106
|
+
snapToStepMinutes
|
|
107
|
+
});
|
package/lib/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export type { PisellMetricCardProps, PisellStatisticProps, } from './components/
|
|
|
22
22
|
* <PisellLayouts.BasicGrid columns={3}>{children}</PisellLayouts.BasicGrid>
|
|
23
23
|
*/
|
|
24
24
|
export { default as PisellLayouts } from './components/PisellLayouts';
|
|
25
|
-
export type { PisellBasicGridProps, PisellScrollViewProps, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef, PisellLayoutProps, CompoundedComponent, PisellRowProps, } from './components/PisellLayouts';
|
|
25
|
+
export type { PisellBasicGridProps, PisellScrollViewProps, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef, FloorMapFullscreenMode, FloorMapLayoutContextValue, FloorMapLayoutProviderProps, PisellLayoutProps, CompoundedComponent, PisellRowProps, } from './components/PisellLayouts';
|
|
26
26
|
export { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col, ColorPicker, Descriptions, Divider, Empty, Grid, InputNumber, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version, } from 'antd';
|
|
27
27
|
export { default as AutoComplete } from './components/auto-complete';
|
|
28
28
|
export { default as AutoCompleteNumber } from './components/auto-complete-number';
|
|
@@ -96,10 +96,19 @@ export type { PisellCustomerBriefProps, CustomerBriefExtendedField, } from './co
|
|
|
96
96
|
export { PisellActionPanel } from './components/pisellActionPanel';
|
|
97
97
|
export type { PisellActionPanelProps, PisellActionPanelGroup, PisellActionPanelItem, ActionPanelLayout, ActionPanelAlign, ActionPanelOverflowStrategy, ActionPanelItemPriority, } from './components/pisellActionPanel';
|
|
98
98
|
export { default as PisellMetricCard } from './components/pisellMetricCard';
|
|
99
|
+
export { PisellHierarchicalSummaryList, HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, } from './components/pisellHierarchicalSummaryList';
|
|
100
|
+
export type { PisellHierarchicalSummaryListProps, PisellHierarchicalSummaryListItem, PisellHierarchicalSummaryListKey, PisellHierarchicalSummaryListLevelConfig, PisellHierarchicalSummaryListAggregateConfig, PisellHierarchicalSummaryListAggregateMode, } from './components/pisellHierarchicalSummaryList';
|
|
99
101
|
export { default as PisellDateTimeDisplay } from './components/pisellDateTimeDisplay';
|
|
100
102
|
export type { PisellDateTimeDisplayProps } from './components/pisellDateTimeDisplay';
|
|
101
103
|
export { PisellTimeRangeDisplay } from './components/pisellTimeRangeDisplay';
|
|
102
104
|
export type { PisellTimeRangeDisplayProps } from './components/pisellTimeRangeDisplay';
|
|
105
|
+
export { PisellTimeNavigator } from './components/pisellTimeNavigator';
|
|
106
|
+
export type { PisellTimeNavigatorProps, TimeNavigatorValue, TimeRangeOption, CursorMode, TimeNavigatorOrientation, } from './components/pisellTimeNavigator';
|
|
107
|
+
export { PisellReservationSchedule } from './components/pisellReservationSchedule';
|
|
108
|
+
export type { PisellReservationScheduleProps, ReservationScheduleValue, } from './components/pisellReservationSchedule';
|
|
109
|
+
export { PisellReservationScheduleBand } from './components/pisellReservationScheduleBand';
|
|
110
|
+
export type { PisellReservationScheduleBandProps, ReservationScheduleBandValue, TimeNavigatorPassthroughProps, } from './components/pisellReservationScheduleBand';
|
|
111
|
+
export { pisellTimeNavigatorLocales } from './components/pisellTimeNavigator';
|
|
103
112
|
export { default as PisellStatisticList } from './components/pisellStatisticList';
|
|
104
113
|
export { default as PisellEmpty } from './components/pisellEmpty';
|
|
105
114
|
export { default as PisellText } from './components/pisellText';
|
|
@@ -120,8 +129,9 @@ export { default as PisellRow } from './components/pisellRow';
|
|
|
120
129
|
export { default as Div } from './components/div';
|
|
121
130
|
export { default as PisellBasicGrid } from './components/PisellBasicGrid';
|
|
122
131
|
export { default as PisellScrollView } from './components/PisellScrollView';
|
|
123
|
-
export { PisellFloorMapLayout } from './components/pisellFloorMapLayout';
|
|
124
|
-
export type {
|
|
132
|
+
export { PisellFloorMapLayout, FloorMapLayoutProvider, useFloorMapLayoutContext, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, mergeFloorMapLayoutPropsFromContext, getFigmaTableCardFromMerged, renderFigmaStyleTableCard, renderFigmaStyleRoundTableCard, getRenderItemByKindTable, getRenderItemByKindRoundTable, } from './components/pisellFloorMapLayout';
|
|
133
|
+
export type { FloorMapViewConfig, FloorMapSceneElement, FloorMapCanvasNameI18n, FloorMapMergedItem, FloorMapDataSources, FloorMapItemBase, FloorMapRenderOptions, } from './components/pisellFloorMapLayout';
|
|
134
|
+
/** PisellLayouts 命名空间另含 PisellFloorMapLayoutProps 等;平面图场景细粒度类型见上方 */
|
|
125
135
|
export { default as PisellViewGrid } from './components/pisellViewGrid';
|
|
126
136
|
export { default as Table } from './components/table';
|
|
127
137
|
export { default as PisellGridView } from './components/pisellGridPro/GridView';
|
|
@@ -131,8 +141,8 @@ export type { ToolBarProps } from './components/pisellGridPro/ToolBar';
|
|
|
131
141
|
export { default as PisellGridPro } from './components/pisellGridPro';
|
|
132
142
|
export type { GridProProps } from './components/pisellGridPro';
|
|
133
143
|
export { default as RecordView } from './components/record-view';
|
|
134
|
-
export { default as PisellRecordBoard, useRecordBoardContext } from './components/pisellRecordBoard';
|
|
135
|
-
export type { RecordBoardProps, RecordBoardLayoutType, RecordBoardContextValue, RecordBoardChildComponentProps, RecordBoardGridProps, RecordBoardColumnType, RecordBoardFieldType, RecordBoardColumnFilterConfig, RecordBoardOptionItem, RecordBoardGetOptions, } from './components/pisellRecordBoard';
|
|
144
|
+
export { default as PisellRecordBoard, useRecordBoardContext, } from './components/pisellRecordBoard';
|
|
145
|
+
export type { RecordBoardProps, RecordBoardLayoutType, RecordBoardContextValue, RecordBoardChildComponentProps, RecordBoardGridProps, RecordBoardColumnType, RecordBoardFieldType, RecordBoardColumnFilterConfig, RecordBoardOptionItem, RecordBoardGetOptions, RecordBoardBodyView, RecordBoardFloorMapProps, RecordBoardToolBarProps, } from './components/pisellRecordBoard';
|
|
136
146
|
export { PisellShellFrame } from './components/pisellShellFrame';
|
|
137
147
|
export type { PisellShellFrameProps, PisellShellFrameConfig, PisellShellFrameScrollConfig, } from './components/pisellShellFrame';
|
|
138
148
|
export { default as Form } from './components/form';
|
package/lib/index.js
CHANGED
|
@@ -74,8 +74,10 @@ __export(src_exports, {
|
|
|
74
74
|
DragSortTree: () => import_drag_sort_tree.default,
|
|
75
75
|
Drawer: () => import_drawer.default,
|
|
76
76
|
Dropdown: () => import_dropdown.default,
|
|
77
|
+
EMPTY_FLOOR_MAP_LAYOUT_CONTEXT: () => import_pisellFloorMapLayout.EMPTY_FLOOR_MAP_LAYOUT_CONTEXT,
|
|
77
78
|
Empty: () => import_antd.Empty,
|
|
78
79
|
Filter: () => import_filter.default,
|
|
80
|
+
FloorMapLayoutProvider: () => import_pisellFloorMapLayout.FloorMapLayoutProvider,
|
|
79
81
|
Form: () => import_form.default,
|
|
80
82
|
FormGroup: () => import_group.default,
|
|
81
83
|
FormItemCheckbox: () => import_Checkbox.default,
|
|
@@ -94,6 +96,7 @@ __export(src_exports, {
|
|
|
94
96
|
FormItemUpload: () => import_Upload.default,
|
|
95
97
|
GraphicTextCard: () => import_GraphicTextCard.default,
|
|
96
98
|
Grid: () => import_antd.Grid,
|
|
99
|
+
HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS: () => import_pisellHierarchicalSummaryList.HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS,
|
|
97
100
|
HardwareErrorTip: () => import_hardwareErrorTip.default,
|
|
98
101
|
Icon: () => import_icon.default,
|
|
99
102
|
IconSelect: () => import_iconSelect.default,
|
|
@@ -158,6 +161,7 @@ __export(src_exports, {
|
|
|
158
161
|
PisellGridView: () => import_GridView.default,
|
|
159
162
|
PisellHeader: () => import_header.default,
|
|
160
163
|
PisellHeaderProgressBar: () => import_pisellHeaderProgressBar.default,
|
|
164
|
+
PisellHierarchicalSummaryList: () => import_pisellHierarchicalSummaryList.PisellHierarchicalSummaryList,
|
|
161
165
|
PisellImageCard: () => import_PisellImageCard.default,
|
|
162
166
|
PisellImageCarousels: () => import_pisellImageCarousels.default,
|
|
163
167
|
PisellImport: () => import_pisellImport.PisellImport,
|
|
@@ -186,6 +190,8 @@ __export(src_exports, {
|
|
|
186
190
|
PisellQuickFilter: () => import_pisellQuickFilter.default,
|
|
187
191
|
PisellRating: () => import_pisellRating.PisellRating,
|
|
188
192
|
PisellRecordBoard: () => import_pisellRecordBoard.default,
|
|
193
|
+
PisellReservationSchedule: () => import_pisellReservationSchedule.PisellReservationSchedule,
|
|
194
|
+
PisellReservationScheduleBand: () => import_pisellReservationScheduleBand.PisellReservationScheduleBand,
|
|
189
195
|
PisellRow: () => import_pisellRow.default,
|
|
190
196
|
PisellScan: () => import_pisellScan.default,
|
|
191
197
|
PisellScrollView: () => import_PisellScrollView.default,
|
|
@@ -203,6 +209,7 @@ __export(src_exports, {
|
|
|
203
209
|
PisellTabbarTemplate1: () => import_Template1.default,
|
|
204
210
|
PisellTags: () => import_pisellTags.default,
|
|
205
211
|
PisellText: () => import_pisellText.default,
|
|
212
|
+
PisellTimeNavigator: () => import_pisellTimeNavigator.PisellTimeNavigator,
|
|
206
213
|
PisellTimeRangeDisplay: () => import_pisellTimeRangeDisplay.PisellTimeRangeDisplay,
|
|
207
214
|
PisellToast: () => import_pisellToast.default,
|
|
208
215
|
PisellToolBar: () => import_ToolBar.default,
|
|
@@ -256,10 +263,18 @@ __export(src_exports, {
|
|
|
256
263
|
VirtualKeyboardTime: () => import_Time.default,
|
|
257
264
|
WalletCard: () => import_walletCard.default,
|
|
258
265
|
getBankCardTypeImg: () => import_utils.getBankCardTypeImg,
|
|
266
|
+
getFigmaTableCardFromMerged: () => import_pisellFloorMapLayout.getFigmaTableCardFromMerged,
|
|
267
|
+
getRenderItemByKindRoundTable: () => import_pisellFloorMapLayout.getRenderItemByKindRoundTable,
|
|
268
|
+
getRenderItemByKindTable: () => import_pisellFloorMapLayout.getRenderItemByKindTable,
|
|
259
269
|
globalConfig: () => import_context.globalConfig,
|
|
260
270
|
loginAndRegister: () => import_login_and_register.default,
|
|
271
|
+
mergeFloorMapLayoutPropsFromContext: () => import_pisellFloorMapLayout.mergeFloorMapLayoutPropsFromContext,
|
|
261
272
|
message: () => import_antd.message,
|
|
262
273
|
notification: () => import_antd.notification,
|
|
274
|
+
pisellTimeNavigatorLocales: () => import_pisellTimeNavigator2.pisellTimeNavigatorLocales,
|
|
275
|
+
renderFigmaStyleRoundTableCard: () => import_pisellFloorMapLayout.renderFigmaStyleRoundTableCard,
|
|
276
|
+
renderFigmaStyleTableCard: () => import_pisellFloorMapLayout.renderFigmaStyleTableCard,
|
|
277
|
+
useFloorMapLayoutContext: () => import_pisellFloorMapLayout.useFloorMapLayoutContext,
|
|
263
278
|
usePisellConfig: () => import_usePisellConfig.default,
|
|
264
279
|
useRecordBoardContext: () => import_pisellRecordBoard.useRecordBoardContext,
|
|
265
280
|
useToast: () => import_pisellToast.useToast,
|
|
@@ -330,8 +345,13 @@ var import_PisellContactBrief = require("./components/PisellContactBrief");
|
|
|
330
345
|
var import_pisellCustomerBrief = require("./components/pisellCustomerBrief");
|
|
331
346
|
var import_pisellActionPanel = require("./components/pisellActionPanel");
|
|
332
347
|
var import_pisellMetricCard = __toESM(require("./components/pisellMetricCard"));
|
|
348
|
+
var import_pisellHierarchicalSummaryList = require("./components/pisellHierarchicalSummaryList");
|
|
333
349
|
var import_pisellDateTimeDisplay = __toESM(require("./components/pisellDateTimeDisplay"));
|
|
334
350
|
var import_pisellTimeRangeDisplay = require("./components/pisellTimeRangeDisplay");
|
|
351
|
+
var import_pisellTimeNavigator = require("./components/pisellTimeNavigator");
|
|
352
|
+
var import_pisellReservationSchedule = require("./components/pisellReservationSchedule");
|
|
353
|
+
var import_pisellReservationScheduleBand = require("./components/pisellReservationScheduleBand");
|
|
354
|
+
var import_pisellTimeNavigator2 = require("./components/pisellTimeNavigator");
|
|
335
355
|
var import_pisellStatisticList = __toESM(require("./components/pisellStatisticList"));
|
|
336
356
|
var import_pisellEmpty = __toESM(require("./components/pisellEmpty"));
|
|
337
357
|
var import_pisellText = __toESM(require("./components/pisellText"));
|
|
@@ -510,8 +530,10 @@ var import_usePisellConfig = __toESM(require("./components/pisell-config-provide
|
|
|
510
530
|
DragSortTree,
|
|
511
531
|
Drawer,
|
|
512
532
|
Dropdown,
|
|
533
|
+
EMPTY_FLOOR_MAP_LAYOUT_CONTEXT,
|
|
513
534
|
Empty,
|
|
514
535
|
Filter,
|
|
536
|
+
FloorMapLayoutProvider,
|
|
515
537
|
Form,
|
|
516
538
|
FormGroup,
|
|
517
539
|
FormItemCheckbox,
|
|
@@ -530,6 +552,7 @@ var import_usePisellConfig = __toESM(require("./components/pisell-config-provide
|
|
|
530
552
|
FormItemUpload,
|
|
531
553
|
GraphicTextCard,
|
|
532
554
|
Grid,
|
|
555
|
+
HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS,
|
|
533
556
|
HardwareErrorTip,
|
|
534
557
|
Icon,
|
|
535
558
|
IconSelect,
|
|
@@ -594,6 +617,7 @@ var import_usePisellConfig = __toESM(require("./components/pisell-config-provide
|
|
|
594
617
|
PisellGridView,
|
|
595
618
|
PisellHeader,
|
|
596
619
|
PisellHeaderProgressBar,
|
|
620
|
+
PisellHierarchicalSummaryList,
|
|
597
621
|
PisellImageCard,
|
|
598
622
|
PisellImageCarousels,
|
|
599
623
|
PisellImport,
|
|
@@ -622,6 +646,8 @@ var import_usePisellConfig = __toESM(require("./components/pisell-config-provide
|
|
|
622
646
|
PisellQuickFilter,
|
|
623
647
|
PisellRating,
|
|
624
648
|
PisellRecordBoard,
|
|
649
|
+
PisellReservationSchedule,
|
|
650
|
+
PisellReservationScheduleBand,
|
|
625
651
|
PisellRow,
|
|
626
652
|
PisellScan,
|
|
627
653
|
PisellScrollView,
|
|
@@ -639,6 +665,7 @@ var import_usePisellConfig = __toESM(require("./components/pisell-config-provide
|
|
|
639
665
|
PisellTabbarTemplate1,
|
|
640
666
|
PisellTags,
|
|
641
667
|
PisellText,
|
|
668
|
+
PisellTimeNavigator,
|
|
642
669
|
PisellTimeRangeDisplay,
|
|
643
670
|
PisellToast,
|
|
644
671
|
PisellToolBar,
|
|
@@ -692,10 +719,18 @@ var import_usePisellConfig = __toESM(require("./components/pisell-config-provide
|
|
|
692
719
|
VirtualKeyboardTime,
|
|
693
720
|
WalletCard,
|
|
694
721
|
getBankCardTypeImg,
|
|
722
|
+
getFigmaTableCardFromMerged,
|
|
723
|
+
getRenderItemByKindRoundTable,
|
|
724
|
+
getRenderItemByKindTable,
|
|
695
725
|
globalConfig,
|
|
696
726
|
loginAndRegister,
|
|
727
|
+
mergeFloorMapLayoutPropsFromContext,
|
|
697
728
|
message,
|
|
698
729
|
notification,
|
|
730
|
+
pisellTimeNavigatorLocales,
|
|
731
|
+
renderFigmaStyleRoundTableCard,
|
|
732
|
+
renderFigmaStyleTableCard,
|
|
733
|
+
useFloorMapLayoutContext,
|
|
699
734
|
usePisellConfig,
|
|
700
735
|
useRecordBoardContext,
|
|
701
736
|
useToast,
|
package/lib/locales/en-US.d.ts
CHANGED
|
@@ -101,6 +101,8 @@ declare const _default: {
|
|
|
101
101
|
'pisell2.recordBoard.toolbar.sort': string;
|
|
102
102
|
'pisell2.recordBoard.toolbar.filter': string;
|
|
103
103
|
'pisell2.recordBoard.toolbar.reset': string;
|
|
104
|
+
'pisell2.recordBoard.toolbar.viewGrid': string;
|
|
105
|
+
'pisell2.recordBoard.toolbar.viewFloorMap': string;
|
|
104
106
|
'pisell2.salesManagement.pagination.previous': string;
|
|
105
107
|
'pisell2.salesManagement.pagination.next': string;
|
|
106
108
|
'pisell2.salesManagement.pagination.showTotal': (start: number, end: number) => string;
|
package/lib/locales/en-US.js
CHANGED
|
@@ -131,6 +131,8 @@ var en_US_default = {
|
|
|
131
131
|
"pisell2.recordBoard.toolbar.sort": "Sort",
|
|
132
132
|
"pisell2.recordBoard.toolbar.filter": "Filter",
|
|
133
133
|
"pisell2.recordBoard.toolbar.reset": "Reset",
|
|
134
|
+
"pisell2.recordBoard.toolbar.viewGrid": "Table",
|
|
135
|
+
"pisell2.recordBoard.toolbar.viewFloorMap": "Floor map",
|
|
134
136
|
"pisell2.salesManagement.pagination.previous": "Previous",
|
|
135
137
|
"pisell2.salesManagement.pagination.next": "Next",
|
|
136
138
|
"pisell2.salesManagement.pagination.showTotal": (start, end) => `Page ${start} of ${end}`,
|
package/lib/locales/zh-CN.d.ts
CHANGED
|
@@ -101,6 +101,8 @@ declare const _default: {
|
|
|
101
101
|
'pisell2.recordBoard.toolbar.sort': string;
|
|
102
102
|
'pisell2.recordBoard.toolbar.filter': string;
|
|
103
103
|
'pisell2.recordBoard.toolbar.reset': string;
|
|
104
|
+
'pisell2.recordBoard.toolbar.viewGrid': string;
|
|
105
|
+
'pisell2.recordBoard.toolbar.viewFloorMap': string;
|
|
104
106
|
'pisell2.salesManagement.pagination.previous': string;
|
|
105
107
|
'pisell2.salesManagement.pagination.next': string;
|
|
106
108
|
'pisell2.salesManagement.pagination.showTotal': (start: number, end: number) => string;
|
package/lib/locales/zh-CN.js
CHANGED
|
@@ -131,6 +131,8 @@ var zh_CN_default = {
|
|
|
131
131
|
"pisell2.recordBoard.toolbar.sort": "排序",
|
|
132
132
|
"pisell2.recordBoard.toolbar.filter": "筛选",
|
|
133
133
|
"pisell2.recordBoard.toolbar.reset": "重置",
|
|
134
|
+
"pisell2.recordBoard.toolbar.viewGrid": "表格",
|
|
135
|
+
"pisell2.recordBoard.toolbar.viewFloorMap": "平面图",
|
|
134
136
|
"pisell2.salesManagement.pagination.previous": "上一页",
|
|
135
137
|
"pisell2.salesManagement.pagination.next": "下一页",
|
|
136
138
|
"pisell2.salesManagement.pagination.showTotal": (start, end) => `第 ${start}-${end} 条`,
|
package/lib/locales/zh-TW.d.ts
CHANGED
|
@@ -101,6 +101,8 @@ declare const _default: {
|
|
|
101
101
|
'pisell2.recordBoard.toolbar.sort': string;
|
|
102
102
|
'pisell2.recordBoard.toolbar.filter': string;
|
|
103
103
|
'pisell2.recordBoard.toolbar.reset': string;
|
|
104
|
+
'pisell2.recordBoard.toolbar.viewGrid': string;
|
|
105
|
+
'pisell2.recordBoard.toolbar.viewFloorMap': string;
|
|
104
106
|
'pisell2.salesManagement.pagination.previous': string;
|
|
105
107
|
'pisell2.salesManagement.pagination.next': string;
|
|
106
108
|
'pisell2.salesManagement.pagination.showTotal': (start: number, end: number) => string;
|
package/lib/locales/zh-TW.js
CHANGED
|
@@ -131,6 +131,8 @@ var zh_TW_default = {
|
|
|
131
131
|
"pisell2.recordBoard.toolbar.sort": "排序",
|
|
132
132
|
"pisell2.recordBoard.toolbar.filter": "篩選",
|
|
133
133
|
"pisell2.recordBoard.toolbar.reset": "重置",
|
|
134
|
+
"pisell2.recordBoard.toolbar.viewGrid": "表格",
|
|
135
|
+
"pisell2.recordBoard.toolbar.viewFloorMap": "平面圖",
|
|
134
136
|
"pisell2.salesManagement.pagination.previous": "上一頁",
|
|
135
137
|
"pisell2.salesManagement.pagination.next": "下一頁",
|
|
136
138
|
"pisell2.salesManagement.pagination.showTotal": (start, end) => `第 ${start}-${end} 條`,
|