@pisell/materials 6.11.55 → 6.11.56
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.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/drawer/index.js +12 -5
- package/lib/components/drawer/index.js +10 -4
- package/lowcode/pisell-record-board-calendar-view/meta.ts +1 -1
- package/package.json +3 -3
- package/es/components/Pagination/index.d.ts +0 -14
- package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/es/components/PisellLayouts/index.d.ts +0 -37
- 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/provider/formSetting/FormSettingContext.d.ts +0 -18
- package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +0 -8
- package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -201
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -35
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
- package/es/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -121
- 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/filter/components/FilterItem/index.d.ts +0 -5
- package/es/components/filter/components/QuickFilter/index.d.ts +0 -12
- package/es/components/iconfont/index.d.ts +0 -8
- package/es/components/page/index.d.ts +0 -9
- 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 -5
- 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 -4
- package/es/components/pisellFilter/type.d.ts +0 -7
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -43
- package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -14
- package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -24
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -60
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -35
- package/es/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +0 -39
- package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -57
- package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -55
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -25
- 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/floorMapLayoutConstants.d.ts +0 -4
- package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +0 -25
- package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +0 -18
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -71
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -89
- package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/es/components/pisellFloorMapLayout/index.d.ts +0 -26
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +0 -133
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +0 -133
- package/es/components/pisellFloorMapLayout/locales.d.ts +0 -651
- 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/types.d.ts +0 -646
- 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/floorMapElementNameAsTitle.d.ts +0 -50
- 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/PisellRecordBoard.d.ts +0 -9
- package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -89
- package/es/components/pisellRecordBoard/index.d.ts +0 -51
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -9
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -11
- package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -26
- 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/const/bookingCalendarConstants.d.ts +0 -49
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -7
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +0 -17
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -17
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +0 -10
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +0 -232
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +0 -13
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -53
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +0 -23
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +0 -18
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +0 -27
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.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/shellFrame/ToolBar/index.d.ts +0 -12
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +0 -13
- package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +0 -30
- package/es/components/pisellRecordBoard/types.d.ts +0 -802
- 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/pisellShellFrame/PisellShellFrame.d.ts +0 -13
- package/es/components/pisellShellFrame/types.d.ts +0 -62
- package/es/components/pisellText/components/Amount/index.d.ts +0 -20
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- 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/CursorLayer.d.ts +0 -27
- package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -41
- 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/timeNavigatorConstants.d.ts +0 -20
- 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 -4
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
- package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -13
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
- package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -19
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -11
- 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 -4
- package/es/components/productCard/components/Header/index.d.ts +0 -4
- package/es/components/productCard/components/Sales/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -3
- 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 -14
- 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 -6
- 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 -6
- 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/es/index.d.ts +0 -265
- package/es/locales/en-US.d.ts +0 -560
- package/es/locales/ja.d.ts +0 -528
- package/es/locales/pt.d.ts +0 -528
- package/es/locales/zh-CN.d.ts +0 -555
- package/es/locales/zh-TW.d.ts +0 -555
- package/lib/components/Pagination/index.d.ts +0 -14
- package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/lib/components/PisellLayouts/index.d.ts +0 -37
- 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/provider/formSetting/FormSettingContext.d.ts +0 -18
- package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +0 -8
- package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -201
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -35
- package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
- package/lib/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
- package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -121
- 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/filter/components/FilterItem/index.d.ts +0 -5
- package/lib/components/filter/components/QuickFilter/index.d.ts +0 -12
- package/lib/components/iconfont/index.d.ts +0 -8
- package/lib/components/page/index.d.ts +0 -9
- 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 -5
- 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 -4
- package/lib/components/pisellFilter/type.d.ts +0 -7
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -43
- package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -14
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -24
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -60
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -35
- package/lib/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +0 -39
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -57
- package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -55
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -25
- 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/floorMapLayoutConstants.d.ts +0 -4
- package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +0 -25
- package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +0 -18
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -71
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -89
- package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/lib/components/pisellFloorMapLayout/index.d.ts +0 -26
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +0 -133
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +0 -133
- package/lib/components/pisellFloorMapLayout/locales.d.ts +0 -651
- 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/types.d.ts +0 -646
- 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/floorMapElementNameAsTitle.d.ts +0 -50
- 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/PisellRecordBoard.d.ts +0 -9
- package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -89
- package/lib/components/pisellRecordBoard/index.d.ts +0 -51
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -9
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -11
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -26
- 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/const/bookingCalendarConstants.d.ts +0 -49
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -7
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +0 -17
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -17
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +0 -10
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +0 -232
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +0 -13
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -53
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +0 -23
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +0 -18
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +0 -27
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.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/shellFrame/ToolBar/index.d.ts +0 -12
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +0 -13
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +0 -30
- package/lib/components/pisellRecordBoard/types.d.ts +0 -802
- 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/pisellShellFrame/PisellShellFrame.d.ts +0 -13
- package/lib/components/pisellShellFrame/types.d.ts +0 -62
- package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- 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/CursorLayer.d.ts +0 -27
- package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -41
- 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/timeNavigatorConstants.d.ts +0 -20
- 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 -4
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
- package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -13
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
- package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -19
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -11
- 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 -4
- package/lib/components/productCard/components/Header/index.d.ts +0 -4
- package/lib/components/productCard/components/Sales/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -3
- 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 -14
- 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 -6
- 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 -6
- 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
- package/lib/index.d.ts +0 -265
- package/lib/locales/en-US.d.ts +0 -560
- package/lib/locales/ja.d.ts +0 -528
- package/lib/locales/pt.d.ts +0 -528
- package/lib/locales/zh-CN.d.ts +0 -555
- package/lib/locales/zh-TW.d.ts +0 -555
package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts
DELETED
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
import type { Dayjs } from 'dayjs';
|
|
2
|
-
import type { RecordBoardCalendarBookingLike } from '../../../types';
|
|
3
|
-
/**
|
|
4
|
-
* 日历日期与时间轴纯函数:`fmtDate`、占用矩阵、月格、overlay 分段、周范围等,供 BookingCalendar 三视图共用。
|
|
5
|
-
*/
|
|
6
|
-
/** 与 {@link RecordBoardCalendarBookingLike} 一致,并支持跨日 endDate */
|
|
7
|
-
export declare type CalendarBookingSegmentInput = RecordBoardCalendarBookingLike & {
|
|
8
|
-
endDate?: string;
|
|
9
|
-
};
|
|
10
|
-
export interface BookingSegmentForDate {
|
|
11
|
-
startHour: number;
|
|
12
|
-
endHour: number;
|
|
13
|
-
continuesPrev: boolean;
|
|
14
|
-
continuesNext: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface ViewNowReference {
|
|
17
|
-
dateKey: string;
|
|
18
|
-
hourFloat: number;
|
|
19
|
-
}
|
|
20
|
-
export declare function fmtDate(date: Date): string;
|
|
21
|
-
/** 本地当前日期键与「日历时」小数小时,用于状态徽标与当前时刻线 */
|
|
22
|
-
export declare function getViewNowReference(): ViewNowReference;
|
|
23
|
-
export declare function parseDate(str: string): Date;
|
|
24
|
-
export declare function addDays(date: Date, n: number): Date;
|
|
25
|
-
export declare function startOfWeek(date: Date): Date;
|
|
26
|
-
export declare function rangeDays(anchor: Date): Date[];
|
|
27
|
-
export declare function isHourInTimelineSlots(hour: number, hourSlots: number[] | undefined): boolean;
|
|
28
|
-
export declare function formatHourLabel(hour: number): string;
|
|
29
|
-
export declare function buildTimeOptions(start?: number, end?: number, sliceMinutes?: number): number[];
|
|
30
|
-
export declare function monthGrid(date: Date, bookings: CalendarBookingSegmentInput[], courtsList: {
|
|
31
|
-
id: string;
|
|
32
|
-
}[] | undefined, hourSlotsIn: number[] | undefined, slotStepHours?: number): {
|
|
33
|
-
date: Date;
|
|
34
|
-
key: string;
|
|
35
|
-
inMonth: boolean;
|
|
36
|
-
bookingCount: number;
|
|
37
|
-
blockCount: number;
|
|
38
|
-
fullyBooked: boolean;
|
|
39
|
-
}[];
|
|
40
|
-
export declare function getBookingSegmentForDate(item: CalendarBookingSegmentInput, dateKey: string): BookingSegmentForDate | null;
|
|
41
|
-
export declare function dayOccupancy(courtId: string, dateKey: string, bookings: CalendarBookingSegmentInput[], hourSlots: number[] | undefined, slotStepHours: number): Record<number, CalendarBookingSegmentInput | null>;
|
|
42
|
-
export interface SelectedSlotLike {
|
|
43
|
-
courtId: string;
|
|
44
|
-
date: string;
|
|
45
|
-
hour: number;
|
|
46
|
-
}
|
|
47
|
-
export declare function groupSelectedSlots(slots: SelectedSlotLike[], slotStepHours?: number): Array<{
|
|
48
|
-
courtId: string;
|
|
49
|
-
date: string;
|
|
50
|
-
startHour: number;
|
|
51
|
-
endHour: number;
|
|
52
|
-
}>;
|
|
53
|
-
/**
|
|
54
|
-
* 日视图空闲格:仅当全部为同一 court、同一日,且时间上首尾相接成一段时返回 true(与 {@link groupSelectedSlots} 合并规则一致)。
|
|
55
|
-
*/
|
|
56
|
-
export declare function isFreeSelectionContiguousSameResource(slots: SelectedSlotLike[], slotStepHours?: number): boolean;
|
|
57
|
-
export declare function hasConflict(bookings: CalendarBookingSegmentInput[], courtId: string, date: string, startHour: number, endHour: number, ignoreId?: string | null): boolean;
|
|
58
|
-
export declare function overlappingBookings(bookings: CalendarBookingSegmentInput[], courtId: string, date: string, startHour: number, endHour: number): CalendarBookingSegmentInput[];
|
|
59
|
-
export declare function courtDaySummary(courtId: string, dateKey: string, bookings: CalendarBookingSegmentInput[], hourSlots: number[] | undefined, slotStepHours: number): {
|
|
60
|
-
occupiedHours: number[];
|
|
61
|
-
hasBlock: boolean;
|
|
62
|
-
fullyBooked: boolean;
|
|
63
|
-
items: CalendarBookingSegmentInput[];
|
|
64
|
-
};
|
|
65
|
-
export declare function sameSlot(a: SelectedSlotLike, b: SelectedSlotLike): boolean;
|
|
66
|
-
/** 营业日 `dateStr` + 浮点小时(含半格)→ dayjs */
|
|
67
|
-
export declare function dayAndHourToDayjs(dateStr: string, hourFloat: number): Dayjs;
|
|
68
|
-
export declare function getDisplayStatusTag(item: CalendarBookingSegmentInput, dateKey: string): string | null;
|
|
69
|
-
export declare function getLateMinutes(item: CalendarBookingSegmentInput, dateKey: string): number | null;
|
|
70
|
-
export declare function currentTimeLabel(): string;
|
|
71
|
-
export declare function formatDateLoose(str: string | undefined): string;
|
|
72
|
-
export declare function formatTimelineStamp(value: string | undefined | null): {
|
|
73
|
-
date: string;
|
|
74
|
-
time: string;
|
|
75
|
-
};
|
|
76
|
-
/** 日视图 overlay 条(可原地写入 lane) */
|
|
77
|
-
export declare type DayOverlayLaneMutable = {
|
|
78
|
-
courtId: string;
|
|
79
|
-
start: number;
|
|
80
|
-
span: number;
|
|
81
|
-
lane?: number;
|
|
82
|
-
laneCount?: number;
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* 同一 court 上时间重叠的 overlay 分配纵向 lane,避免多张卡片完全叠在同一矩形里。
|
|
86
|
-
* 使用按开始时间排序 + 贪心:每条预约放入「上一条已结束时间不晚于本段开始」的最小编号线。
|
|
87
|
-
*/
|
|
88
|
-
export declare function assignDayOverlapLanesInPlace(overlays: DayOverlayLaneMutable[]): void;
|
|
89
|
-
/** 扫描时间轴:同一 court 在任一时刻的最大并行条数(用于行高,与分 lane 一致) */
|
|
90
|
-
export declare function maxConcurrentBookingsOnCourt(overlays: Array<{
|
|
91
|
-
courtId: string;
|
|
92
|
-
start: number;
|
|
93
|
-
span: number;
|
|
94
|
-
}>, courtId: string): number;
|
|
95
|
-
/** 并行超过 cap 时:cap 条内容 + 1 行「+N」占位 */
|
|
96
|
-
export declare function effectiveDayOverlayDisplayLaneCount(rawConcurrent: number): number;
|
|
97
|
-
/** 同一 court 下时间轴区间相交的 overlay 归为一簇(用于 3+N 合并展示) */
|
|
98
|
-
export declare function clusterDayCourtOverlaysByOverlap<T extends {
|
|
99
|
-
courtId: string;
|
|
100
|
-
start: number;
|
|
101
|
-
span: number;
|
|
102
|
-
}>(overlays: T[], courtId: string): T[][];
|
|
103
|
-
export declare function dayOverlayHiddenKey(item: {
|
|
104
|
-
id?: string | number;
|
|
105
|
-
} | null | undefined, dayKey: string, courtId: string): string;
|
|
106
|
-
/**
|
|
107
|
-
* 将 totalInner 像素整数分给 n 条竖向 lane(含缝),保证 Σheight + Σgap === totalInner,消除底部留白缝。
|
|
108
|
-
*/
|
|
109
|
-
export declare function dayOverlayLaneMetrics(totalInner: number, laneCount: number, gap: number): {
|
|
110
|
-
topFor: (lane: number) => number;
|
|
111
|
-
heightFor: (lane: number) => number;
|
|
112
|
-
};
|
|
113
|
-
export interface BuildOverlayBookingRow {
|
|
114
|
-
kind: string;
|
|
115
|
-
id: string;
|
|
116
|
-
}
|
|
117
|
-
export interface BuiltDayOverlay {
|
|
118
|
-
item: CalendarBookingSegmentInput;
|
|
119
|
-
rowIndex: number;
|
|
120
|
-
rowTop: number;
|
|
121
|
-
rowHeight: number;
|
|
122
|
-
courtId: string;
|
|
123
|
-
start: number;
|
|
124
|
-
end: number;
|
|
125
|
-
span: number;
|
|
126
|
-
continuesNext?: boolean;
|
|
127
|
-
continuesPrev?: boolean;
|
|
128
|
-
lane?: number;
|
|
129
|
-
laneCount?: number;
|
|
130
|
-
}
|
|
131
|
-
export declare function buildOverlayBookings(visibleCourtRows: BuildOverlayBookingRow[], dayKey: string, bookings: CalendarBookingSegmentInput[], rowTopMap: Record<string, number> | undefined, hourSlots: number[] | undefined, dayRowHeights: number[], slotStepHours?: number): BuiltDayOverlay[];
|
|
132
|
-
/** 日视图:按行高累加每行 rowTop(court / group) */
|
|
133
|
-
export declare function buildDayRowTopMap(visibleCourtRows: Array<{
|
|
134
|
-
id: string;
|
|
135
|
-
}>, heights: number[]): Record<string, number>;
|
|
136
|
-
/** 日历状态徽标:返回 i18n key + className;文案在 UI 层通过 tCal 解析,便于 utils 单测 */
|
|
137
|
-
export declare function statusTagMetaParts(tag: string | null | undefined): {
|
|
138
|
-
labelI18nKey: string;
|
|
139
|
-
className: string;
|
|
140
|
-
} | null;
|
|
141
|
-
export declare type CalendarCourtNameRow = {
|
|
142
|
-
id: string;
|
|
143
|
-
name?: string | null;
|
|
144
|
-
};
|
|
145
|
-
export declare function getBookingDetailData(item: CalendarBookingSegmentInput, courtsList?: CalendarCourtNameRow[]): {
|
|
146
|
-
rawSales: null;
|
|
147
|
-
bookingId: string;
|
|
148
|
-
orderNumber: string;
|
|
149
|
-
shopOrderNumber: string;
|
|
150
|
-
orderStatus: string;
|
|
151
|
-
appointmentStatus: string;
|
|
152
|
-
paymentStatus: string;
|
|
153
|
-
customer: {
|
|
154
|
-
id: null;
|
|
155
|
-
name: string;
|
|
156
|
-
email: string;
|
|
157
|
-
phone: string;
|
|
158
|
-
};
|
|
159
|
-
guestCount: number;
|
|
160
|
-
checkedInCount: number;
|
|
161
|
-
guests: never[];
|
|
162
|
-
schedule: {
|
|
163
|
-
startDate: string;
|
|
164
|
-
startTime: string;
|
|
165
|
-
endDate: string;
|
|
166
|
-
endTime: string;
|
|
167
|
-
duration: number;
|
|
168
|
-
arrivedAt: null;
|
|
169
|
-
completedAt: null;
|
|
170
|
-
};
|
|
171
|
-
resources: never[];
|
|
172
|
-
summaryItems: never[];
|
|
173
|
-
items: never[];
|
|
174
|
-
note: string;
|
|
175
|
-
files: {
|
|
176
|
-
form: never[];
|
|
177
|
-
uploaded: never[];
|
|
178
|
-
invoice: never[];
|
|
179
|
-
};
|
|
180
|
-
payments: never[];
|
|
181
|
-
history: never[];
|
|
182
|
-
summary: {};
|
|
183
|
-
paymentSummary: {
|
|
184
|
-
totalAmount: number;
|
|
185
|
-
paidAmount: number;
|
|
186
|
-
balanceAmount: number;
|
|
187
|
-
currencySymbol: string;
|
|
188
|
-
isFullyPaid: boolean;
|
|
189
|
-
};
|
|
190
|
-
itemSummary: {
|
|
191
|
-
itemCount: number;
|
|
192
|
-
itemQtyTotal: number;
|
|
193
|
-
};
|
|
194
|
-
headerSummary: {
|
|
195
|
-
customerName: string;
|
|
196
|
-
guestCount: number;
|
|
197
|
-
checkedInCount: number;
|
|
198
|
-
timeLabel: string;
|
|
199
|
-
resourceLabel: string;
|
|
200
|
-
};
|
|
201
|
-
headerTags: {
|
|
202
|
-
paymentTag: string;
|
|
203
|
-
fulfillmentTag: string;
|
|
204
|
-
hasNote: boolean;
|
|
205
|
-
paymentStatus: string;
|
|
206
|
-
orderStatus: string;
|
|
207
|
-
};
|
|
208
|
-
fileCount: number;
|
|
209
|
-
canChangeCustomer: boolean;
|
|
210
|
-
noteCount: number;
|
|
211
|
-
noteGroups: {
|
|
212
|
-
internal: never[];
|
|
213
|
-
order: {
|
|
214
|
-
id: string;
|
|
215
|
-
label: string;
|
|
216
|
-
text: string;
|
|
217
|
-
}[];
|
|
218
|
-
item: never[];
|
|
219
|
-
};
|
|
220
|
-
metaFlags: {
|
|
221
|
-
itemsChanged: boolean;
|
|
222
|
-
paymentsChanged: boolean;
|
|
223
|
-
guestChanged: boolean;
|
|
224
|
-
filesChanged: boolean;
|
|
225
|
-
notesChanged: boolean;
|
|
226
|
-
formChanged: boolean;
|
|
227
|
-
uploadedChanged: boolean;
|
|
228
|
-
invoiceChanged: boolean;
|
|
229
|
-
historyChanged: boolean;
|
|
230
|
-
};
|
|
231
|
-
actions: never[];
|
|
232
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type SelectedSlotLike } from '../utils/bookingCalendarDateUtils';
|
|
3
|
-
export declare type BookingCalendarDaySelectionBarProps = {
|
|
4
|
-
slotStepHours: number;
|
|
5
|
-
selectedFreeSlots: SelectedSlotLike[];
|
|
6
|
-
selectedBlockSlots: SelectedSlotLike[];
|
|
7
|
-
deselectAll: () => void;
|
|
8
|
-
openSelectedBlocks: () => void;
|
|
9
|
-
onOpenBlockPanel: () => void;
|
|
10
|
-
createBookingFromSelection: () => void;
|
|
11
|
-
};
|
|
12
|
-
/** 日视图底部:多选空闲 / 锁台后的固定操作条 */
|
|
13
|
-
export declare function BookingCalendarDaySelectionBar({ slotStepHours, selectedFreeSlots, selectedBlockSlots, deselectAll, openSelectedBlocks, onOpenBlockPanel, createBookingFromSelection, }: BookingCalendarDaySelectionBarProps): React.JSX.Element | null;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/** 日视图:横向虚拟滚动时间轴 + 资源行,预约条按 lane 叠放与 +N 溢出 */
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { RecordBoardCalendarProps } from '../../../types';
|
|
4
|
-
/** 日视图(含底部多选操作条) */
|
|
5
|
-
export declare function BookingCalendarDayView(dayProps: {
|
|
6
|
-
calendarProps: RecordBoardCalendarProps;
|
|
7
|
-
isLight: boolean;
|
|
8
|
-
view: string;
|
|
9
|
-
anchorDate: Date;
|
|
10
|
-
dayKey: string;
|
|
11
|
-
hourSlots: number[];
|
|
12
|
-
resolvedSlotMinutes: number;
|
|
13
|
-
slotColWidth: number;
|
|
14
|
-
firstTimelineHour: number;
|
|
15
|
-
endTimelineExclusive: number;
|
|
16
|
-
isBusinessHour: (h: number) => boolean;
|
|
17
|
-
dayHourRemaining: Record<number, {
|
|
18
|
-
remaining: number;
|
|
19
|
-
total: number;
|
|
20
|
-
ratio: number;
|
|
21
|
-
}>;
|
|
22
|
-
timelinePxPerHour: number;
|
|
23
|
-
dayContentHeight: number;
|
|
24
|
-
dayRowHeights: number[];
|
|
25
|
-
visibleCourtRows: any[];
|
|
26
|
-
overlayBookings: any[];
|
|
27
|
-
dayOverlayOverflowPluses: any[];
|
|
28
|
-
setCollapsedGroups: React.Dispatch<React.SetStateAction<any>>;
|
|
29
|
-
visibleCourts: any[];
|
|
30
|
-
bookings: any[];
|
|
31
|
-
slotStepHours: number;
|
|
32
|
-
isFreeSelected: (courtId: string, hour: number) => boolean;
|
|
33
|
-
isBlockSelected: (courtId: string, hour: number) => boolean;
|
|
34
|
-
toggleSlot: (courtId: string, hour: number) => void;
|
|
35
|
-
handleDropMove: (courtId: string, date: string, hour: number) => void;
|
|
36
|
-
hiddenDayOverlayIdSet: Set<string>;
|
|
37
|
-
courtDayDisplayLaneCount: Record<string, number>;
|
|
38
|
-
openBookingDetail: (item: any) => void;
|
|
39
|
-
setDraggingItem: (item: any) => void;
|
|
40
|
-
setNavDirection: (n: number) => void;
|
|
41
|
-
commitAnchor: (d: Date) => void;
|
|
42
|
-
setFocusedCourtId: (id: string | null) => void;
|
|
43
|
-
setOverflowListModal: React.Dispatch<React.SetStateAction<any>>;
|
|
44
|
-
selectedFreeSlots: any[];
|
|
45
|
-
selectedBlockSlots: any[];
|
|
46
|
-
deselectAll: () => void;
|
|
47
|
-
openSelectedBlocks: () => void;
|
|
48
|
-
onOpenBlockPanel: () => void;
|
|
49
|
-
createBookingFromSelection: () => void;
|
|
50
|
-
focusedCourtId: string | null;
|
|
51
|
-
/** >0 表示刚从周/月切入日视图,需将横向滚动对准「当前时间」(仅当 dayKey 为今天时生效) */
|
|
52
|
-
dayTimelineScrollToNowToken: number;
|
|
53
|
-
}): React.JSX.Element;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 日视图 / 周视图共用的分组头左侧 sticky 单元(折叠箭头 + 分组名 + 数量角标)。
|
|
3
|
-
* 样式单点维护,与 {@link buildGroupedCourtRows} 的 group 行对应。
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { RecordBoardCalendarProps } from '../../../types';
|
|
7
|
-
export interface BookingCalendarGroupRowModel {
|
|
8
|
-
id: string;
|
|
9
|
-
label: string;
|
|
10
|
-
count: number;
|
|
11
|
-
collapsed: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface BookingCalendarGroupRowHeaderProps {
|
|
14
|
-
isLight: boolean;
|
|
15
|
-
/** 透传给 `renderResourceCell`(低代码自定义左侧格) */
|
|
16
|
-
view: 'day' | 'week';
|
|
17
|
-
row: BookingCalendarGroupRowModel;
|
|
18
|
-
renderResourceCell?: RecordBoardCalendarProps['renderResourceCell'];
|
|
19
|
-
setCollapsedGroups: React.Dispatch<React.SetStateAction<Record<string, boolean>>>;
|
|
20
|
-
/** 日视图虚拟格子/grid 定位时使用 */
|
|
21
|
-
style?: React.CSSProperties;
|
|
22
|
-
}
|
|
23
|
-
export declare function BookingCalendarGroupRowHeader(props: BookingCalendarGroupRowHeaderProps): React.JSX.Element;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/** 月视图:由 BookingCalendar 传入数据与交互,本文件仅负责渲染结构 */
|
|
3
|
-
export declare function BookingCalendarMonthView({ isLight, anchorDate, monthDays, bookings, goToDayFromCell, handleGridDropMove, setDraggingItem, openBookingDetail, overflowPopover, setOverflowPopover, overflowListModal, setOverflowListModal, overflowPanelRef, renderMonthWeekBooking, }: {
|
|
4
|
-
isLight: any;
|
|
5
|
-
anchorDate: any;
|
|
6
|
-
monthDays: any;
|
|
7
|
-
bookings: any;
|
|
8
|
-
goToDayFromCell: any;
|
|
9
|
-
handleGridDropMove: any;
|
|
10
|
-
setDraggingItem: any;
|
|
11
|
-
openBookingDetail: any;
|
|
12
|
-
overflowPopover: any;
|
|
13
|
-
setOverflowPopover: any;
|
|
14
|
-
overflowListModal: any;
|
|
15
|
-
setOverflowListModal: any;
|
|
16
|
-
overflowPanelRef: any;
|
|
17
|
-
renderMonthWeekBooking: any;
|
|
18
|
-
}): React.JSX.Element;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { RecordBoardCalendarProps } from '../../../types';
|
|
3
|
-
/**
|
|
4
|
-
* 周视图:7 日网格 + 左侧分组(可折叠),单元格调起日视图;格内 drop 触发改期草稿。
|
|
5
|
-
*/
|
|
6
|
-
export declare function BookingCalendarWeekView({ calendarProps, isLight, weekDays, bookings, courts, hourSlots, slotStepHours, visibleCourts, visibleCourtRows, isBusinessHour, goToDayFromCell, handleGridDropMove, openBookingDetail, setDraggingItem, setCollapsedGroups, overflowPopover, setOverflowPopover, overflowListModal, setOverflowListModal, overflowPanelRef, }: {
|
|
7
|
-
calendarProps: RecordBoardCalendarProps;
|
|
8
|
-
isLight: boolean;
|
|
9
|
-
weekDays: Date[];
|
|
10
|
-
bookings: any[];
|
|
11
|
-
courts: any[];
|
|
12
|
-
hourSlots: number[];
|
|
13
|
-
slotStepHours: number;
|
|
14
|
-
visibleCourts: any[];
|
|
15
|
-
visibleCourtRows: any[];
|
|
16
|
-
isBusinessHour: (h: number) => boolean;
|
|
17
|
-
goToDayFromCell: (d: Date, courtId: string | null, src: string) => void;
|
|
18
|
-
handleGridDropMove: (dateKey: string, courtId?: string | null) => void;
|
|
19
|
-
openBookingDetail: (item: any) => void;
|
|
20
|
-
setDraggingItem: (item: any) => void;
|
|
21
|
-
setCollapsedGroups: React.Dispatch<React.SetStateAction<any>>;
|
|
22
|
-
overflowPopover: any;
|
|
23
|
-
setOverflowPopover: React.Dispatch<React.SetStateAction<any>>;
|
|
24
|
-
overflowListModal: any;
|
|
25
|
-
setOverflowListModal: React.Dispatch<React.SetStateAction<any>>;
|
|
26
|
-
overflowPanelRef: React.RefObject<HTMLDivElement | null>;
|
|
27
|
-
}): React.JSX.Element;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { RecordBoardCalendarProps } from '../../../types';
|
|
3
|
-
/** 供日视图拆分出的子组件读取 `calendarProps` / 明暗,避免每层透传(可选使用) */
|
|
4
|
-
export declare type BookingCalendarDayChromeContextValue = {
|
|
5
|
-
calendarProps: RecordBoardCalendarProps;
|
|
6
|
-
isLight: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare function BookingCalendarDayChromeProvider({ children, value, }: {
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
value: BookingCalendarDayChromeContextValue;
|
|
11
|
-
}): React.JSX.Element;
|
|
12
|
-
export declare function useBookingCalendarDayChrome(): BookingCalendarDayChromeContextValue;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { RecordBoardFloorMapProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* RecordBoard 平面图槽位:仅在 PisellRecordBoard.ShellFrame 内使用,本身不渲染 DOM。
|
|
5
|
-
* 将 PisellFloorMapLayout 所需 props 声明在树结构上;与 GridLayout 并存时出现「表格 / 平面图」切换。
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* <PisellRecordBoard.ShellFrame>
|
|
9
|
-
* <PisellRecordBoard.GridLayout />
|
|
10
|
-
* <PisellRecordBoard.FloorMap floorMapConfig={...} dataSources={...} />
|
|
11
|
-
* </PisellRecordBoard.ShellFrame>
|
|
12
|
-
*/
|
|
13
|
-
declare const RecordBoardFloorMap: React.FC<RecordBoardFloorMapProps>;
|
|
14
|
-
export default RecordBoardFloorMap;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
import type { RecordBoardContextValue } from '../../types';
|
|
4
|
-
export interface RecordBoardPaginationProps extends Partial<Pick<RecordBoardContextValue, 'pagination' | 'total' | 'onPageChange' | 'loading'>> {
|
|
5
|
-
className?: string;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
render?: (ctx: RecordBoardContextValue) => React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* RecordBoard 下的分页:接入 packages/materials 的 Pagination,从 context 取 pagination / total / onPageChange;可透传 childComponentProps.pagination。
|
|
11
|
-
* 当 context 中 pagination 缺失时使用默认分页,避免在 Storybook 或未完整注入 context 时报错。
|
|
12
|
-
*/
|
|
13
|
-
declare const RecordBoardPagination: React.FC<RecordBoardPaginationProps>;
|
|
14
|
-
export default RecordBoardPagination;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './VenueWallMarquee.less';
|
|
3
|
-
export interface NoteTickerProps {
|
|
4
|
-
text: string;
|
|
5
|
-
color: string;
|
|
6
|
-
/** 跑完一整段所需秒数 */
|
|
7
|
-
duration?: number;
|
|
8
|
-
shouldMarquee: boolean;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* 底部说明条:短文案省略静态展示,长文案无缝跑马灯(多段 copy 与 `VenueWallMarquee.less` 中 -33.333% 动画配套)。
|
|
12
|
-
* 系统「减少动态效果」时强制静态展示;跑马灯区对读屏 `aria-hidden` 避免重复朗读。
|
|
13
|
-
*/
|
|
14
|
-
export declare const NoteTicker: React.NamedExoticComponent<NoteTickerProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { RecordBoardResourceWallProps } from '../../types';
|
|
3
|
-
import './ResourceWallViewport.less';
|
|
4
|
-
/** 与 {@link RecordBoardResourceWallProps.filterFieldKey} 默认一致 */
|
|
5
|
-
export declare const DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY = "resource_wall_resource_ids";
|
|
6
|
-
/**
|
|
7
|
-
* RecordBoard 大屏资源墙主视口:`cards` 提供全量卡数据;可见列表由
|
|
8
|
-
* `searchParams.filter.values[filterFieldKey]` 中的资源 id 与 `cards` 交集决定。
|
|
9
|
-
* 若 ToolBar `searchParams.sort` 指向状态列(默认字段名 `status`),则按占用态重排展示顺序。
|
|
10
|
-
* 支持网格分页轮播、浅深外观、伪全屏与控制台(布局 / 配色 / 选中资源)。
|
|
11
|
-
*/
|
|
12
|
-
export declare const PisellRecordBoardResourceWallView: React.FC<RecordBoardResourceWallProps>;
|
package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { RecordBoardResourceWallProps } from '../../types';
|
|
3
|
-
/**
|
|
4
|
-
* RecordBoard 大屏资源墙槽位:仅在 PisellRecordBoard.ShellFrame 内使用,本身不渲染 DOM。
|
|
5
|
-
* 与 GridLayout / FloorMap / Calendar 并存时出现视图切换。
|
|
6
|
-
*/
|
|
7
|
-
declare const RecordBoardResourceWall: React.FC<RecordBoardResourceWallProps>;
|
|
8
|
-
export default RecordBoardResourceWall;
|
package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type VenueWallStatusToneOverrides } from './venueWallUtils';
|
|
3
|
-
export declare type ResourceWallLayoutPreset = {
|
|
4
|
-
key: string;
|
|
5
|
-
label: string;
|
|
6
|
-
cols: number;
|
|
7
|
-
rows: number;
|
|
8
|
-
};
|
|
9
|
-
export declare type ResourceWallControlPanelApplyPayload = {
|
|
10
|
-
resourceIds: string[];
|
|
11
|
-
layoutKey: string;
|
|
12
|
-
customCols: number;
|
|
13
|
-
customRows: number;
|
|
14
|
-
pageDurationSec: number;
|
|
15
|
-
occupiedCardColor: string;
|
|
16
|
-
availableCardColor: string;
|
|
17
|
-
boardingSoonBeforeMin: number;
|
|
18
|
-
statusToneOverrides: VenueWallStatusToneOverrides;
|
|
19
|
-
/** 与 test.tsx「主文案基准宽度占比」对接,写入 {@link VenueWallCard} */
|
|
20
|
-
heroMaxWidthRatio: number;
|
|
21
|
-
};
|
|
22
|
-
export interface ResourceWallControlPanelProps {
|
|
23
|
-
open: boolean;
|
|
24
|
-
onClose: () => void;
|
|
25
|
-
isDark: boolean;
|
|
26
|
-
layoutPresets: readonly ResourceWallLayoutPreset[];
|
|
27
|
-
layoutKey: string;
|
|
28
|
-
customCols: number;
|
|
29
|
-
customRows: number;
|
|
30
|
-
pageDurationSec: number;
|
|
31
|
-
occupiedCardColor: string;
|
|
32
|
-
availableCardColor: string;
|
|
33
|
-
boardingSoonBeforeMin: number;
|
|
34
|
-
statusToneOverrides: VenueWallStatusToneOverrides | undefined;
|
|
35
|
-
selectedResourceIds: string[];
|
|
36
|
-
onApply: (payload: ResourceWallControlPanelApplyPayload) => void;
|
|
37
|
-
/** 与 test.tsx「当前分页 / 倒计时」展示一致(1-based current) */
|
|
38
|
-
carouselPager: {
|
|
39
|
-
currentPage: number;
|
|
40
|
-
totalPages: number;
|
|
41
|
-
};
|
|
42
|
-
/** 主文案宽度占比初值,与 {@link VenueWallCardProps.heroMaxWidthRatio} 一致 */
|
|
43
|
-
heroMaxWidthRatio?: number;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* 资源墙管理台(Portal):选资源、网格预设/自定义行列、翻页秒数、占用/空闲色、六态说明与色值;
|
|
47
|
-
* `onApply` 回传负载中含 `diffVenueWallStatusToneOverrides` 压缩结果。
|
|
48
|
-
* 源自 test `showAdmin` 对接;关闭(Close / Escape / 遮罩)时提交草稿并关闭。
|
|
49
|
-
*/
|
|
50
|
-
export declare const ResourceWallControlPanel: React.FC<ResourceWallControlPanelProps>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type VenueWallStatusKey, type VenueWallStatusTone } from './venueWallUtils';
|
|
3
|
-
export interface ResourceWallControlPanelColorTabProps {
|
|
4
|
-
adminSectionBg: string;
|
|
5
|
-
adminInputBg: string;
|
|
6
|
-
headerText: string;
|
|
7
|
-
mutedText: string;
|
|
8
|
-
divider: string;
|
|
9
|
-
draftOcc: string;
|
|
10
|
-
setDraftOcc: (v: string) => void;
|
|
11
|
-
draftAvail: string;
|
|
12
|
-
setDraftAvail: (v: string) => void;
|
|
13
|
-
draftTones: Record<VenueWallStatusKey, VenueWallStatusTone>;
|
|
14
|
-
setDraftTones: React.Dispatch<React.SetStateAction<Record<VenueWallStatusKey, VenueWallStatusTone>>>;
|
|
15
|
-
}
|
|
16
|
-
/** 控制台「外观 / 颜色」分页:占用/空闲底色与六态表格 */
|
|
17
|
-
export declare const ResourceWallControlPanelColorTab: React.FC<ResourceWallControlPanelColorTabProps>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ResourceWallControlPanelLayoutTabProps {
|
|
3
|
-
adminSectionBg: string;
|
|
4
|
-
adminInputBg: string;
|
|
5
|
-
headerText: string;
|
|
6
|
-
mutedText: string;
|
|
7
|
-
layoutPresets: readonly {
|
|
8
|
-
key: string;
|
|
9
|
-
label: string;
|
|
10
|
-
cols: number;
|
|
11
|
-
rows: number;
|
|
12
|
-
}[];
|
|
13
|
-
draftLayoutKey: string;
|
|
14
|
-
setDraftLayoutKey: (v: string) => void;
|
|
15
|
-
draftCustomCols: number;
|
|
16
|
-
setDraftCustomCols: (v: number) => void;
|
|
17
|
-
draftCustomRows: number;
|
|
18
|
-
setDraftCustomRows: (v: number) => void;
|
|
19
|
-
draftPageSec: number;
|
|
20
|
-
setDraftPageSec: (v: number) => void;
|
|
21
|
-
draftHeroRatio: number;
|
|
22
|
-
setDraftHeroRatio: (v: number) => void;
|
|
23
|
-
carouselCur: number;
|
|
24
|
-
carouselTot: number;
|
|
25
|
-
isDark: boolean;
|
|
26
|
-
}
|
|
27
|
-
/** 控制台「资源 / 布局」分页:预设、自定义行列、翻页停留、主文案宽度 */
|
|
28
|
-
export declare const ResourceWallControlPanelLayoutTab: React.FC<ResourceWallControlPanelLayoutTabProps>;
|
package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ResourceWallViewportToolbarProps {
|
|
3
|
-
now: Date;
|
|
4
|
-
appearanceMode: 'light' | 'dark';
|
|
5
|
-
onAppearanceModeChange: (m: 'light' | 'dark') => void;
|
|
6
|
-
pseudoFullscreen: boolean;
|
|
7
|
-
onTogglePseudoFullscreen: () => void;
|
|
8
|
-
onOpenControlPanel: () => void;
|
|
9
|
-
headerBorder: string;
|
|
10
|
-
headerBg: string;
|
|
11
|
-
clockColor: string;
|
|
12
|
-
mutedText: string;
|
|
13
|
-
toolbarBtnBorder: string;
|
|
14
|
-
toolbarBtnBg: string;
|
|
15
|
-
toolbarBtnBgActive: string;
|
|
16
|
-
}
|
|
17
|
-
/** 资源墙顶栏:时钟、浅深切换、伪全屏、控制台入口 */
|
|
18
|
-
export declare const ResourceWallViewportToolbar: React.FC<ResourceWallViewportToolbarProps>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { RecordBoardResourceWallCardModel } from '../../types';
|
|
3
|
-
import { type VenueWallStatusKey, type VenueWallStatusTone } from './venueWallUtils';
|
|
4
|
-
import './VenueWallCard.less';
|
|
5
|
-
export interface VenueWallCardProps {
|
|
6
|
-
card: RecordBoardResourceWallCardModel;
|
|
7
|
-
/** 与 PisellRecordBoardResourceWallView 顶栏同源墙钟毫秒时间戳(唯一定时器驱动) */
|
|
8
|
-
wallNowMs: number;
|
|
9
|
-
/** boardingSoon:用于进度条分母(分钟);与「距结束」快结束窗口对称 */
|
|
10
|
-
boardingSoonBeforeMin?: number;
|
|
11
|
-
occupiedCardColor?: string;
|
|
12
|
-
availableCardColor?: string;
|
|
13
|
-
heroMaxWidthRatio?: number;
|
|
14
|
-
/** 合并后的六态配色与文案;不传则用默认 map */
|
|
15
|
-
statusToneMap?: Record<VenueWallStatusKey, VenueWallStatusTone>;
|
|
16
|
-
/** 非占用态主/辅文案色在暗色外壳下的对比度 */
|
|
17
|
-
appearance?: 'light' | 'dark';
|
|
18
|
-
}
|
|
19
|
-
declare function VenueWallCardInner({ card, wallNowMs, boardingSoonBeforeMin, occupiedCardColor, availableCardColor, statusToneMap: statusToneMapProp, appearance, }: VenueWallCardProps): React.JSX.Element;
|
|
20
|
-
/** 单块场地大屏卡:漂移与文案由 {@link buildVenueWallCardPresentation} 统一计算 */
|
|
21
|
-
export declare const VenueWallCard: React.MemoExoticComponent<typeof VenueWallCardInner>;
|
|
22
|
-
export {};
|