@pisell/materials 6.11.47 → 6.11.49
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/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +2 -2
- package/es/components/pisellFloorMapLayout/components/ViewControls.less +3 -3
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +3 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +9 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +4 -2
- package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +4 -2
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +26 -10
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +12 -7
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +20 -31
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +7 -3
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
- package/es/index.d.ts +265 -0
- package/es/pisell-materials.tw.css +1 -1
- package/lib/components/pisellFloorMapLayout/components/ViewControls.less +3 -3
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +2 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +9 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +4 -2
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +2 -2
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +16 -7
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +14 -5
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +20 -13
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +7 -3
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
- package/lib/index.d.ts +265 -0
- package/lib/pisell-materials.tw.css +1 -1
- package/package.json +1 -1
- package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/es/components/PisellLayouts/index.d.ts +0 -38
- package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
- package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
- package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
- package/es/components/PisellSuperTabs/types.d.ts +0 -212
- package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
- package/es/components/PisellTabbar/constants.d.ts +0 -47
- package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
- package/es/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/es/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
- package/es/components/PisellTabbar/types.d.ts +0 -90
- package/es/components/PisellTabbar/utils/index.d.ts +0 -69
- package/es/components/cardPro/index.d.ts +0 -4
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
- package/es/components/iconfont/index.d.ts +0 -8
- package/es/components/page/index.d.ts +0 -8
- package/es/components/pisell-config-provider/context.d.ts +0 -22
- package/es/components/pisell-config-provider/index.d.ts +0 -13
- package/es/components/pisellAdjustPrice/index.d.ts +0 -4
- package/es/components/pisellAdjustPrice/status.d.ts +0 -32
- package/es/components/pisellAdjustPrice/type.d.ts +0 -22
- package/es/components/pisellCardList/index.d.ts +0 -107
- package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
- package/es/components/pisellFilter/index.d.ts +0 -3
- package/es/components/pisellFilter/type.d.ts +0 -7
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
- package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
- package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
- package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/components/index.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
- package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
- package/es/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
- package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
- package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
- package/es/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
- package/es/components/pisellGoodPassCard/index.d.ts +0 -50
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
- package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
- package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
- package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
- package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
- package/es/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
- package/es/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
- package/es/components/pisellModal/index.d.ts +0 -62
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
- package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
- package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
- package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
- package/es/components/pisellReservationSchedule/index.d.ts +0 -2
- package/es/components/pisellReservationSchedule/locales.d.ts +0 -43
- package/es/components/pisellReservationSchedule/types.d.ts +0 -52
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
- package/es/components/pisellReservationScheduleBand/index.d.ts +0 -2
- package/es/components/pisellReservationScheduleBand/types.d.ts +0 -61
- package/es/components/pisellText/components/Amount/index.d.ts +0 -20
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
- package/es/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
- package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
- package/es/components/pisellTimeNavigator/components/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
- package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
- package/es/components/pisellTimeNavigator/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/locales.d.ts +0 -22
- package/es/components/pisellTimeNavigator/types.d.ts +0 -160
- package/es/components/pisellTimeNavigator/utils/index.d.ts +0 -41
- package/es/components/pisellToast/index.d.ts +0 -17
- package/es/components/pisellToast/squareToast/index.d.ts +0 -15
- package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
- package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
- package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
- package/es/components/pisellWalletPassCard/index.d.ts +0 -146
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -6
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
- package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -18
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
- package/es/components/productCard/cartSkuCard/locales.d.ts +0 -198
- package/es/components/productCard/components/Action/index.d.ts +0 -4
- package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -3
- package/es/components/productCard/components/Header/index.d.ts +0 -3
- package/es/components/productCard/components/Sales/index.d.ts +0 -3
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
- package/es/components/productCard/index.d.ts +0 -7
- package/es/components/productCard/locales.d.ts +0 -138
- package/es/components/productCard/status.d.ts +0 -32
- package/es/components/productCard/types.d.ts +0 -95
- package/es/components/productCard/utils.d.ts +0 -33
- package/es/components/select-time/index.d.ts +0 -13
- package/es/components/sort/index.d.ts +0 -5
- package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
- package/es/components/table/index.d.ts +0 -4
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
- package/es/components/virtual-keyboard/index.d.ts +0 -25
- package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/lib/components/PisellLayouts/index.d.ts +0 -38
- package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
- package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
- package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
- package/lib/components/PisellSuperTabs/types.d.ts +0 -212
- package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
- package/lib/components/PisellTabbar/constants.d.ts +0 -47
- package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
- package/lib/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/lib/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
- package/lib/components/PisellTabbar/types.d.ts +0 -90
- package/lib/components/PisellTabbar/utils/index.d.ts +0 -69
- package/lib/components/cardPro/index.d.ts +0 -4
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
- package/lib/components/iconfont/index.d.ts +0 -8
- package/lib/components/page/index.d.ts +0 -8
- package/lib/components/pisell-config-provider/context.d.ts +0 -22
- package/lib/components/pisell-config-provider/index.d.ts +0 -13
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
- package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
- package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
- package/lib/components/pisellCardList/index.d.ts +0 -107
- package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
- package/lib/components/pisellFilter/index.d.ts +0 -3
- package/lib/components/pisellFilter/type.d.ts +0 -7
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
- package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
- package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/components/index.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
- package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
- package/lib/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
- package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
- package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
- package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
- package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
- package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
- package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
- package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
- package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
- package/lib/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
- package/lib/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
- package/lib/components/pisellModal/index.d.ts +0 -62
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
- package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
- package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
- package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
- package/lib/components/pisellReservationSchedule/index.d.ts +0 -2
- package/lib/components/pisellReservationSchedule/locales.d.ts +0 -43
- package/lib/components/pisellReservationSchedule/types.d.ts +0 -52
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
- package/lib/components/pisellReservationScheduleBand/index.d.ts +0 -2
- package/lib/components/pisellReservationScheduleBand/types.d.ts +0 -61
- package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
- package/lib/components/pisellTimeNavigator/components/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
- package/lib/components/pisellTimeNavigator/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/locales.d.ts +0 -22
- package/lib/components/pisellTimeNavigator/types.d.ts +0 -160
- package/lib/components/pisellTimeNavigator/utils/index.d.ts +0 -41
- package/lib/components/pisellToast/index.d.ts +0 -17
- package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
- package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
- package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
- package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
- package/lib/components/pisellWalletPassCard/index.d.ts +0 -146
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -6
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
- package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -18
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
- package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -198
- package/lib/components/productCard/components/Action/index.d.ts +0 -4
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -3
- package/lib/components/productCard/components/Header/index.d.ts +0 -3
- package/lib/components/productCard/components/Sales/index.d.ts +0 -3
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
- package/lib/components/productCard/index.d.ts +0 -7
- package/lib/components/productCard/locales.d.ts +0 -138
- package/lib/components/productCard/status.d.ts +0 -32
- package/lib/components/productCard/types.d.ts +0 -95
- package/lib/components/productCard/utils.d.ts +0 -33
- package/lib/components/select-time/index.d.ts +0 -13
- package/lib/components/sort/index.d.ts +0 -5
- package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
- package/lib/components/table/index.d.ts +0 -4
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
- package/lib/components/virtual-keyboard/index.d.ts +0 -25
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import type { Dayjs } from 'dayjs';
|
|
3
|
-
import type { PisellTimeNavigatorProps } from '../pisellTimeNavigator/types';
|
|
4
|
-
import type { PisellReservationScheduleProps } from '../pisellReservationSchedule/types';
|
|
5
|
-
/** 组合值:日历日 + 该日上的时刻(与 PisellTimeNavigator 对齐) */
|
|
6
|
-
export interface ReservationScheduleBandValue {
|
|
7
|
-
date: Dayjs;
|
|
8
|
-
at: Dayjs;
|
|
9
|
-
}
|
|
10
|
-
export declare type TimeNavigatorPassthroughProps = Omit<PisellTimeNavigatorProps, 'value' | 'onChange' | 'referenceDate' | 'defaultValue'>;
|
|
11
|
-
/**
|
|
12
|
-
* PisellReservationScheduleBand:营业日条 + 横向时间轴
|
|
13
|
-
*/
|
|
14
|
-
export interface PisellReservationScheduleBandProps {
|
|
15
|
-
/**
|
|
16
|
-
* 受控:选中日 + 轴上时刻
|
|
17
|
-
*/
|
|
18
|
-
value?: ReservationScheduleBandValue;
|
|
19
|
-
/**
|
|
20
|
-
* 日历日或时刻任一变化时触发
|
|
21
|
-
*/
|
|
22
|
-
onChange?: (next: ReservationScheduleBandValue) => void;
|
|
23
|
-
/**
|
|
24
|
-
* 非受控初始值(可只传部分字段)
|
|
25
|
-
*/
|
|
26
|
-
defaultValue?: Partial<ReservationScheduleBandValue>;
|
|
27
|
-
/**
|
|
28
|
-
* 透传给 PisellReservationSchedule(如 minDate / maxDate)
|
|
29
|
-
*/
|
|
30
|
-
scheduleProps?: Omit<PisellReservationScheduleProps, 'value' | 'onChange' | 'defaultValue'>;
|
|
31
|
-
/**
|
|
32
|
-
* 透传给 PisellTimeNavigator(不含 value/onChange/referenceDate)
|
|
33
|
-
*/
|
|
34
|
-
timeNavigatorProps?: TimeNavigatorPassthroughProps;
|
|
35
|
-
/**
|
|
36
|
-
* 顶栏日程行:PisellReservationSchedule 左侧自定义内容(如标题)
|
|
37
|
-
*/
|
|
38
|
-
scheduleStartSlot?: ReactNode;
|
|
39
|
-
/**
|
|
40
|
-
* 顶栏日程行:PisellReservationSchedule 右侧自定义内容(如状态、主按钮)
|
|
41
|
-
*/
|
|
42
|
-
scheduleEndSlot?: ReactNode;
|
|
43
|
-
/**
|
|
44
|
-
* 顶栏日程行:紧挨在选日组件之后(如「跟随当前」),与中间列同一 flex 区
|
|
45
|
-
*/
|
|
46
|
-
scheduleAfterDateSlot?: ReactNode;
|
|
47
|
-
/**
|
|
48
|
-
* 为 true 时隐藏下方时间导航轴(如日历视图仅需要选日/选周/选月)
|
|
49
|
-
*/
|
|
50
|
-
hideTimeNavigator?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* 为 true 时在整个日程带上叠加载层(如切换营业日后拉预约列表期间)
|
|
53
|
-
*/
|
|
54
|
-
dataLoading?: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* 加载层内文案,由业务侧 {@link locales.getText} 等注入
|
|
57
|
-
*/
|
|
58
|
-
dataLoadingTip?: ReactNode;
|
|
59
|
-
className?: string;
|
|
60
|
-
style?: CSSProperties;
|
|
61
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellContextType } from '../../../pisell-config-provider/context';
|
|
3
|
-
export interface AmountProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
4
|
-
/** 平台 */
|
|
5
|
-
platform?: PisellContextType['platform'];
|
|
6
|
-
/** 当前数值 */
|
|
7
|
-
value?: number | string;
|
|
8
|
-
/** 小数点后位数 默认是小数点后2位 */
|
|
9
|
-
precision?: number;
|
|
10
|
-
/** 显示货币符号 指的是 ¥$ 等货币符号等显隐,默认是展示 */
|
|
11
|
-
showCurrencySymbol?: boolean;
|
|
12
|
-
/** 千分位 指的是长金额的千分位逗号隔开,比如“123, 245, 315” 这种展现形式,默认是关闭 */
|
|
13
|
-
useThousandsSeparator?: boolean;
|
|
14
|
-
/** 整数位隐藏小数 指的是如果价格为整数,后面的".00" 将被省略以节省页面空间 */
|
|
15
|
-
hideDecimalForWholeNumbers?: boolean;
|
|
16
|
-
/** 货币符号 */
|
|
17
|
-
symbol?: string;
|
|
18
|
-
}
|
|
19
|
-
declare const Amount: (props: AmountProps) => JSX.Element;
|
|
20
|
-
export default Amount;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { PisellTimeNavigator } from './PisellTimeNavigator';
|
|
3
|
-
/**
|
|
4
|
-
* PisellTimeNavigator 组件 Storybook
|
|
5
|
-
* 时间导航轴:时间范围内浏览、选择、控制
|
|
6
|
-
*/
|
|
7
|
-
declare const meta: Meta<typeof PisellTimeNavigator>;
|
|
8
|
-
export default meta;
|
|
9
|
-
declare type Story = StoryObj<typeof PisellTimeNavigator>;
|
|
10
|
-
/**
|
|
11
|
-
* 默认:横向、轴动、显示 Now
|
|
12
|
-
*/
|
|
13
|
-
export declare const Default: Story;
|
|
14
|
-
/** 默认 - 竖向 */
|
|
15
|
-
export declare const DefaultVertical: Story;
|
|
16
|
-
/**
|
|
17
|
-
* 受控 + 默认 12:00
|
|
18
|
-
*/
|
|
19
|
-
export declare const Controlled: Story;
|
|
20
|
-
/** 受控 - 竖向 */
|
|
21
|
-
export declare const ControlledVertical: Story;
|
|
22
|
-
/**
|
|
23
|
-
* 非受控 + 默认 14:30
|
|
24
|
-
*/
|
|
25
|
-
export declare const Uncontrolled: Story;
|
|
26
|
-
/** 非受控 - 竖向 */
|
|
27
|
-
export declare const UncontrolledVertical: Story;
|
|
28
|
-
/**
|
|
29
|
-
* 竖向
|
|
30
|
-
*/
|
|
31
|
-
export declare const Vertical: Story;
|
|
32
|
-
/**
|
|
33
|
-
* 指针动模式(cursor-moves)
|
|
34
|
-
*/
|
|
35
|
-
export declare const CursorMoves: Story;
|
|
36
|
-
/** 指针动模式 - 竖向 */
|
|
37
|
-
export declare const CursorMovesVertical: Story;
|
|
38
|
-
/**
|
|
39
|
-
* 营业时间高亮 10:00–22:00
|
|
40
|
-
*/
|
|
41
|
-
export declare const BusinessHours: Story;
|
|
42
|
-
/** 营业时间高亮 - 竖向 */
|
|
43
|
-
export declare const BusinessHoursVertical: Story;
|
|
44
|
-
/**
|
|
45
|
-
* 自定义时间范围 08:00–20:00
|
|
46
|
-
*/
|
|
47
|
-
export declare const CustomRange: Story;
|
|
48
|
-
/** 自定义时间范围 - 竖向 */
|
|
49
|
-
export declare const CustomRangeVertical: Story;
|
|
50
|
-
/**
|
|
51
|
-
* 步长 30 分钟
|
|
52
|
-
*/
|
|
53
|
-
export declare const Step30: Story;
|
|
54
|
-
/** 步长 30 分钟 - 竖向 */
|
|
55
|
-
export declare const Step30Vertical: Story;
|
|
56
|
-
/**
|
|
57
|
-
* 惯性滚动开启
|
|
58
|
-
*/
|
|
59
|
-
export declare const Inertia: Story;
|
|
60
|
-
/** 惯性滚动 - 竖向 */
|
|
61
|
-
export declare const InertiaVertical: Story;
|
|
62
|
-
/**
|
|
63
|
-
* 吸附到整点(松手后自动吸附到 0/15/30/45 分刻度)
|
|
64
|
-
*/
|
|
65
|
-
export declare const SnapToStep: Story;
|
|
66
|
-
/** 吸附到整点 - 竖向 */
|
|
67
|
-
export declare const SnapToStepVertical: Story;
|
|
68
|
-
/**
|
|
69
|
-
* 隐藏 Now 按钮
|
|
70
|
-
*/
|
|
71
|
-
export declare const NoNowButton: Story;
|
|
72
|
-
/** 隐藏 Now 按钮 - 竖向 */
|
|
73
|
-
export declare const NoNowButtonVertical: Story;
|
|
74
|
-
/**
|
|
75
|
-
* 实时模式(仅演示,实际会跟随系统时间)
|
|
76
|
-
*/
|
|
77
|
-
export declare const Realtime: Story;
|
|
78
|
-
/** 实时模式 - 竖向 */
|
|
79
|
-
export declare const RealtimeVertical: Story;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface BackgroundLayerProps {
|
|
3
|
-
orientation: 'horizontal' | 'vertical';
|
|
4
|
-
/** 过去时间淡化色 */
|
|
5
|
-
pastTimeFade?: string;
|
|
6
|
-
/** 营业时间区间 [startPx, endPx],用于视觉高亮 */
|
|
7
|
-
businessHoursPx?: [number, number];
|
|
8
|
-
className?: string;
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* 背景区间层:营业时间高亮、过去时间淡化等(当前时间渐变已拆为独立块,见 axis-wrap 内 .pisell-time-navigator-current-gradient)
|
|
13
|
-
*/
|
|
14
|
-
export declare function BackgroundLayer({ orientation, pastTimeFade, businessHoursPx, className, style, }: BackgroundLayerProps): JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { CSSProperties } from 'react';
|
|
3
|
-
export interface NowButtonProps {
|
|
4
|
-
orientation: 'horizontal' | 'vertical';
|
|
5
|
-
onClick: () => void;
|
|
6
|
-
style?: CSSProperties;
|
|
7
|
-
className?: string;
|
|
8
|
-
renderCustom?: () => React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Now 按钮:固定入口,点击跳回当前时间并进入 Realtime
|
|
12
|
-
* 横向:右侧,左箭头;竖向:底部,上箭头
|
|
13
|
-
*/
|
|
14
|
-
export declare function NowButton({ orientation, onClick, style, className, renderCustom, }: NowButtonProps): JSX.Element;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Dayjs } from 'dayjs';
|
|
3
|
-
export interface ScaleLayerProps {
|
|
4
|
-
orientation: 'horizontal' | 'vertical';
|
|
5
|
-
ticks: Dayjs[];
|
|
6
|
-
stepMinutes: number;
|
|
7
|
-
majorStepMinutes: number;
|
|
8
|
-
timeFormat: string;
|
|
9
|
-
locale?: string;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* 横向每格宽度(px),须与 useTimeAxis 的 cellSizePx 一致;
|
|
14
|
-
* 不传时样式表默认 82(axis-moves);cursor-moves 压缩比例时必传
|
|
15
|
-
*/
|
|
16
|
-
horizontalCellSizePx?: number;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* 刻度层:渲染时间刻度与标签
|
|
20
|
-
* 横向:整点数字 + 小圆点;竖向:整点/半点数字 + 分割线
|
|
21
|
-
*/
|
|
22
|
-
export declare function ScaleLayer({ orientation, ticks, stepMinutes, majorStepMinutes, timeFormat, locale, style, className, horizontalCellSizePx, }: ScaleLayerProps): JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { useTimeAxis } from './useTimeAxis';
|
|
2
|
-
export type { UseTimeAxisOptions, TimeAxisState } from './useTimeAxis';
|
|
3
|
-
export { useRealtime } from './useRealtime';
|
|
4
|
-
export { useDragInertia } from './useDragInertia';
|
|
5
|
-
export type { UseDragInertiaOptions } from './useDragInertia';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface UseDragInertiaOptions {
|
|
2
|
-
enabled: boolean;
|
|
3
|
-
orientation: 'horizontal' | 'vertical';
|
|
4
|
-
getScrollContainer: () => HTMLElement | null;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* 惯性滚动:根据拖动末段速度在松手后继续滚动并衰减
|
|
8
|
-
*/
|
|
9
|
-
export declare function useDragInertia(options: UseDragInertiaOptions): {
|
|
10
|
-
onPointerDown: (e: React.PointerEvent) => void;
|
|
11
|
-
onPointerMove: (e: React.PointerEvent) => void;
|
|
12
|
-
onPointerUp: (e: React.PointerEvent) => void;
|
|
13
|
-
stopInertia: () => void;
|
|
14
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { Dayjs } from 'dayjs';
|
|
2
|
-
import type { TimeRangeOption } from '../types';
|
|
3
|
-
export interface UseTimeAxisOptions {
|
|
4
|
-
range?: TimeRangeOption;
|
|
5
|
-
stepMinutes: number;
|
|
6
|
-
referenceDate: Dayjs;
|
|
7
|
-
orientation: 'horizontal' | 'vertical';
|
|
8
|
-
/** 横向时每格宽度(px),竖向时每格高度(px) */
|
|
9
|
-
cellSizePx: number;
|
|
10
|
-
}
|
|
11
|
-
export interface TimeAxisState {
|
|
12
|
-
rangeStart: Dayjs;
|
|
13
|
-
rangeEnd: Dayjs;
|
|
14
|
-
ticks: Dayjs[];
|
|
15
|
-
/** 时间转主轴偏移(px) */
|
|
16
|
-
timeToOffset: (t: Dayjs) => number;
|
|
17
|
-
/** 主轴偏移(px)转时间(最近刻度,用于刻度对齐) */
|
|
18
|
-
offsetToTime: (offset: number) => Dayjs | null;
|
|
19
|
-
/** 主轴偏移(px)转时间(连续插值,用于拖动时按分钟步长显示) */
|
|
20
|
-
offsetToTimeContinuous: (offset: number) => Dayjs | null;
|
|
21
|
-
/** 主轴总长度(px) */
|
|
22
|
-
totalLengthPx: number;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* 时间轴刻度与时间↔像素换算
|
|
26
|
-
*/
|
|
27
|
-
export declare function useTimeAxis(options: UseTimeAxisOptions): TimeAxisState;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { PisellTimeNavigator } from './PisellTimeNavigator';
|
|
2
|
-
export { getHorizontalAxisSlotCount, getRangeBounds, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, } from './utils';
|
|
3
|
-
export type { PisellTimeNavigatorProps, TimeNavigatorValue, TimeRangeOption, CursorMode, TimeNavigatorOrientation, } from './types';
|
|
4
|
-
/** 多语言文案(en / zh-CN / zh-HK / ja / pt),使用前请在应用内通过 locales.init(pisellTimeNavigatorLocales, lang) 合并 */
|
|
5
|
-
export { default as pisellTimeNavigatorLocales } from './locales';
|
|
@@ -1,22 +0,0 @@
|
|
|
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;
|
|
@@ -1,160 +0,0 @@
|
|
|
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 false
|
|
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
|
-
densitySeries?: number[];
|
|
149
|
-
/**
|
|
150
|
-
* 未传 `densitySeries` 时按 `referenceDate` 拉取;日历日变更会重新请求,过期响应丢弃
|
|
151
|
-
*/
|
|
152
|
-
loadDensity?: (params: {
|
|
153
|
-
referenceDate: Dayjs;
|
|
154
|
-
stepMinutes: number;
|
|
155
|
-
}) => Promise<number[]>;
|
|
156
|
-
/**
|
|
157
|
-
* 用户开始操作时间轴(拖轴、点刻度、键盘、拖指针等)时回调;用于上层关闭「跟随当前」等。
|
|
158
|
-
*/
|
|
159
|
-
onUserInteraction?: () => void;
|
|
160
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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
|
-
export declare const DEFAULT_CALENDAR_SLOT_STEP_MINUTES = 60;
|
|
10
|
-
/**
|
|
11
|
-
* 按营业日 {@link TimeRangeOption} 在锚定自然日零点展开,生成日视图时间轴「列左边界」:
|
|
12
|
-
* 值为相对 `reference.startOf('day')` 的**浮点小时**(可 ≥24,表示次日时刻),步长为 `slotStepMinutes`。
|
|
13
|
-
*/
|
|
14
|
-
export declare function buildCalendarTimelineSlotStartsFromRange(range: TimeRangeOption | undefined, anchorDate: Date | Dayjs, slotStepMinutes?: number): number[];
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated 语义上等价于 {@link buildCalendarTimelineSlotStartsFromRange}(..., 60);保留兼容导出。
|
|
17
|
-
*/
|
|
18
|
-
export declare function buildCalendarHourSlotsFromRange(range: TimeRangeOption | undefined, anchorDate: Date | Dayjs): number[];
|
|
19
|
-
/**
|
|
20
|
-
* 将 range 转为 [startDayjs, endDayjs](reference 为营业锚定日的 0 点)
|
|
21
|
-
* - 同日内:如 08:00–22:00
|
|
22
|
-
* - 跨日营业:结束钟面早于或等于开始(如 02:01–次日 02:00)时,end 解析为 reference 的次日同一时刻
|
|
23
|
-
*/
|
|
24
|
-
export declare function getRangeBounds(range: TimeRangeOption | undefined, reference: Dayjs): [Dayjs, Dayjs];
|
|
25
|
-
/**
|
|
26
|
-
* 将时间吸附到 step 分钟刻度(0、15、30、45 等):四舍五入到最近刻度。
|
|
27
|
-
*/
|
|
28
|
-
export declare function snapToStepMinutes(t: Dayjs, stepMinutes: number): Dayjs;
|
|
29
|
-
/**
|
|
30
|
-
* 判断时间是否落在任一禁用区间内(按绝对时间与区间 [start,end) 比较)
|
|
31
|
-
* 注:与主时间轴同 reference 的跨日 range 一致时需传入同一营业锚定日解析出的区间。
|
|
32
|
-
*/
|
|
33
|
-
export declare function isInDisabledRanges(t: Dayjs, disabledRanges: TimeRangeOption[] | undefined): boolean;
|
|
34
|
-
/**
|
|
35
|
-
* 在 [rangeStart, rangeEnd] 内按 stepMinutes 生成刻度时间列表(Dayjs)
|
|
36
|
-
*/
|
|
37
|
-
export declare function getTicks(rangeStart: Dayjs, rangeEnd: Dayjs, stepMinutes: number): Dayjs[];
|
|
38
|
-
/**
|
|
39
|
-
* 横向时间轴「格」数量,与 useTimeAxis 中 totalLengthPx 算法一致(含尾格)
|
|
40
|
-
*/
|
|
41
|
-
export declare function getHorizontalAxisSlotCount(range: TimeRangeOption | undefined, referenceDate: Dayjs, stepMinutes: number): number;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellToastProps {
|
|
4
|
-
/** 提示内容 */
|
|
5
|
-
content: React.ReactNode;
|
|
6
|
-
/** 自动关闭的延时,单位秒。设为 0 时不自动关闭 */
|
|
7
|
-
duration?: number;
|
|
8
|
-
/** 是否展示action */
|
|
9
|
-
showAction?: boolean;
|
|
10
|
-
/** action文案 */
|
|
11
|
-
actionText?: string;
|
|
12
|
-
/** 关闭时触发的回调函数 */
|
|
13
|
-
onClose?: () => void;
|
|
14
|
-
}
|
|
15
|
-
declare const PisellToast: (props: PisellToastProps) => void;
|
|
16
|
-
export { useToast } from './squareToast';
|
|
17
|
-
export default PisellToast;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { clear, show, success, info, loading, fail, hide } from './methods';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ToastInstance {
|
|
4
|
-
show: typeof show;
|
|
5
|
-
clear: typeof clear;
|
|
6
|
-
success: typeof success;
|
|
7
|
-
info: typeof info;
|
|
8
|
-
loading: typeof loading;
|
|
9
|
-
fail: typeof fail;
|
|
10
|
-
error: typeof fail;
|
|
11
|
-
hide: typeof hide;
|
|
12
|
-
}
|
|
13
|
-
declare const Toast: ToastInstance;
|
|
14
|
-
export declare const useToast: () => ToastInstance;
|
|
15
|
-
export default Toast;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ToastProps } from './toast';
|
|
3
|
-
interface ToastInstance {
|
|
4
|
-
close: () => void;
|
|
5
|
-
}
|
|
6
|
-
declare const show: (configOrContent: Partial<ToastProps> | React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
|
|
7
|
-
declare const clear: () => void;
|
|
8
|
-
declare const success: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
|
|
9
|
-
declare const info: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
|
|
10
|
-
declare const loading: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
|
|
11
|
-
declare const fail: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
|
|
12
|
-
declare const hide: () => void;
|
|
13
|
-
export { show, clear, success, info, loading, fail, hide };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { Root } from 'react-dom/client';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
declare type ImperativeProps = {
|
|
5
|
-
open?: boolean;
|
|
6
|
-
onCancel?: () => void;
|
|
7
|
-
afterClose?: () => void;
|
|
8
|
-
};
|
|
9
|
-
declare type TargetElement = ReactElement<ImperativeProps>;
|
|
10
|
-
export declare type ImperativeHandler = {
|
|
11
|
-
close: () => void;
|
|
12
|
-
replace: (element: TargetElement) => void;
|
|
13
|
-
isRendered?: () => boolean;
|
|
14
|
-
};
|
|
15
|
-
export declare type UnmountType = () => Promise<void>;
|
|
16
|
-
export declare type RenderType = (node: React.ReactElement, container: Element | DocumentFragment) => UnmountType;
|
|
17
|
-
declare const MARK = "__pisell_react_root__";
|
|
18
|
-
declare type ContainerType = (Element | DocumentFragment) & {
|
|
19
|
-
[MARK]?: Root;
|
|
20
|
-
};
|
|
21
|
-
export declare function render(node: React.ReactElement, container: ContainerType): void;
|
|
22
|
-
export declare function unmount(container: ContainerType): Promise<void>;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated 设置 React 渲染函数以兼容使用。
|
|
25
|
-
*/
|
|
26
|
-
export declare function unstableSetRender(render?: RenderType): RenderType;
|
|
27
|
-
export declare function renderImperatively(element: TargetElement): ImperativeHandler;
|
|
28
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export declare type ToastType = 'success' | 'error' | 'warning' | 'info' | 'loading';
|
|
4
|
-
export interface ToastProps {
|
|
5
|
-
/** Toast 类型 */
|
|
6
|
-
icon?: ToastType | React.ReactNode;
|
|
7
|
-
/** 显示的内容,支持文本或 React 节点 */
|
|
8
|
-
content: React.ReactNode;
|
|
9
|
-
/** 是否显示 */
|
|
10
|
-
open?: boolean;
|
|
11
|
-
/** 自动关闭时间,单位毫秒,0 表示不自动关闭 */
|
|
12
|
-
duration?: number;
|
|
13
|
-
/** 关闭 */
|
|
14
|
-
onCancel?: () => void;
|
|
15
|
-
/** 关闭后回调 */
|
|
16
|
-
afterClose?: () => void;
|
|
17
|
-
/** 自定义样式类名 */
|
|
18
|
-
className?: string;
|
|
19
|
-
/** 自定义样式 */
|
|
20
|
-
style?: React.CSSProperties;
|
|
21
|
-
/** 是否显示遮罩 */
|
|
22
|
-
mask?: boolean;
|
|
23
|
-
}
|
|
24
|
-
declare const Toast: React.FC<ToastProps>;
|
|
25
|
-
export default Toast;
|