@pisell/materials 6.11.107 → 6.11.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/es/components/buttonGroupPreview/index.js +2 -1
- package/es/components/pisellFind/index.js +114 -18
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +6 -1
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +24 -18
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +4 -6
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +4 -2
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +3 -14
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +2 -3
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +4 -11
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -8
- package/es/components/productCard/cartSkuCard/components/resources/index.less +4 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.js +5 -1
- package/es/components/productCard/cartSkuCard/components/specs/index.less +0 -24
- package/es/components/productCard/cartSkuCard/components/weighing/index.js +1 -4
- package/es/components/productCard/cartSkuCard/components/weighing/index.less +2 -10
- package/es/components/productCard/cartSkuCard/index.less +0 -2
- package/es/components/productCard/lineItem/BookingLineItem.js +39 -21
- package/es/components/productCard/lineItem/components/Holders/index.js +74 -0
- package/es/components/productCard/lineItem/components/Holders/index.less +39 -0
- package/es/components/productCard/lineItem/index.d.ts +11 -7
- package/es/components/productCard/lineItem/index.js +89 -27
- package/es/components/productCard/lineItem/index.less +40 -3
- package/lib/components/buttonGroupPreview/index.js +2 -1
- package/lib/components/pisellFind/index.js +80 -5
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +6 -1
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +36 -17
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +3 -5
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +1 -1
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +2 -11
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +2 -3
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +10 -22
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -8
- package/lib/components/productCard/cartSkuCard/components/resources/index.less +4 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.js +11 -1
- package/lib/components/productCard/cartSkuCard/components/specs/index.less +0 -24
- package/lib/components/productCard/cartSkuCard/components/weighing/index.js +4 -6
- package/lib/components/productCard/cartSkuCard/components/weighing/index.less +2 -10
- package/lib/components/productCard/cartSkuCard/index.less +0 -2
- package/lib/components/productCard/lineItem/BookingLineItem.js +40 -48
- package/lib/components/productCard/lineItem/components/Holders/index.js +83 -0
- package/lib/components/productCard/lineItem/components/Holders/index.less +39 -0
- package/lib/components/productCard/lineItem/index.d.ts +11 -7
- package/lib/components/productCard/lineItem/index.js +63 -21
- package/lib/components/productCard/lineItem/index.less +40 -3
- package/lowcode/pisell-find/meta.ts +19 -0
- package/package.json +1 -1
- package/es/components/Pagination/index.d.ts +0 -14
- package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -7
- package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
- package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
- package/es/components/PisellCards/components/TextCard/types.d.ts +0 -270
- package/es/components/PisellCards/index.d.ts +0 -15
- package/es/components/PisellScrollView/PisellScrollView.d.ts +0 -5
- package/es/components/PisellScrollView/components/Actions/index.d.ts +0 -18
- package/es/components/PisellScrollView/types.d.ts +0 -203
- package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/es/components/appVersionControl/index.d.ts +0 -5
- package/es/components/buttonGroupPreview/index.d.ts +0 -19
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +0 -48
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -100
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
- package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -3
- package/es/components/drag-sort-tree/index.d.ts +0 -4
- package/es/components/drawer/index.d.ts +0 -3
- package/es/components/filter/components/Dropdown/index.d.ts +0 -10
- package/es/components/filter/components/FilterButton/index.d.ts +0 -5
- package/es/components/filter/components/FilterItem/index.d.ts +0 -9
- package/es/components/filter/components/QuickFilter/index.d.ts +0 -16
- package/es/components/keyboard/index.d.ts +0 -22
- package/es/components/login-and-register/index.d.ts +0 -82
- package/es/components/pisell-config-provider/index.d.ts +0 -13
- package/es/components/pisellCurrency/PisellCurrency.d.ts +0 -39
- package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
- package/es/components/pisellEmail/PisellEmail.d.ts +0 -37
- package/es/components/pisellEmpty/index.d.ts +0 -19
- package/es/components/pisellFilter/index.d.ts +0 -4
- package/es/components/pisellFind/index.d.ts +0 -40
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -59
- package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +0 -29
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/components/EdgeLayer.d.ts +0 -37
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -66
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -39
- package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +0 -7
- package/es/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.d.ts +0 -13
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -11
- package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -23
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -64
- package/es/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +0 -44
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -84
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +0 -20
- package/es/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +0 -6
- package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -59
- package/es/components/pisellFloorMapLayout/components/NodePortMarkers.d.ts +0 -20
- package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -61
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -28
- package/es/components/pisellFloorMapLayout/components/index.d.ts +0 -23
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
- package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -35
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.d.ts +0 -61
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +0 -15
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -79
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -91
- package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/es/components/pisellFloorMapLayout/index.d.ts +0 -37
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +0 -184
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +0 -184
- package/es/components/pisellFloorMapLayout/locales.d.ts +0 -969
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/types.d.ts +0 -778
- package/es/components/pisellFloorMapLayout/utils/alignSnap.d.ts +0 -64
- package/es/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.d.ts +0 -45
- package/es/components/pisellFloorMapLayout/utils/edgeRouting.d.ts +0 -267
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasStage.d.ts +0 -83
- 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/floorMapElementKindUtils.d.ts +0 -35
- package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
- package/es/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.d.ts +0 -44
- package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
- package/es/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.d.ts +0 -34
- package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
- package/es/components/pisellGridPro/index.d.ts +0 -4
- package/es/components/pisellLongText/PisellLongText.d.ts +0 -39
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
- package/es/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/es/components/pisellNumber/PisellNumber.d.ts +0 -42
- package/es/components/pisellPhone/PisellPhone.d.ts +0 -36
- package/es/components/pisellPhone/components/EditView.d.ts +0 -19
- package/es/components/pisellPhone/constants/countryCodes.d.ts +0 -20
- package/es/components/pisellPhone/types.d.ts +0 -209
- package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
- package/es/components/pisellRating/PisellRating.d.ts +0 -31
- package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
- package/es/components/pisellRecordBoard/index.d.ts +0 -53
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -5
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -11
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +0 -43
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -26
- package/es/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.d.ts +0 -18
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -7
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.d.ts +0 -26
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +0 -17
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -19
- 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 -236
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.d.ts +0 -7
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +0 -21
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -49
- 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/BookingCalendarResourceView.d.ts +0 -57
- 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/Calendar/view/day/useBookingCalendarDayHourRemaining.d.ts +0 -10
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.d.ts +0 -11
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.d.ts +0 -3
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.d.ts +0 -3
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.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/VenueWallCard.d.ts +0 -22
- 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/recordBoardToolBarI18n.d.ts +0 -13
- package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -19
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +0 -30
- package/es/components/pisellRecordBoard/types.d.ts +0 -874
- package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
- package/es/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +0 -27
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
- package/es/components/pisellReservationScheduleBand/index.d.ts +0 -3
- package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
- package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
- package/es/components/pisellStatisticList/index.d.ts +0 -22
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/es/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
- package/es/components/pisellTimeNavigator/index.d.ts +0 -5
- package/es/components/pisellUrl/PisellUrl.d.ts +0 -37
- 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/BookingItem/index.d.ts +0 -10
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- 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/specs/index.d.ts +0 -21
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
- package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -22
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -13
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
- package/es/components/productCard/components/Header/EditButton/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/SelectHolderMultiple/index.d.ts +0 -3
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
- package/es/components/productCard/components/Time/index.d.ts +0 -4
- package/es/components/productCard/lineItem/BookingLineItem.d.ts +0 -17
- package/es/components/productCard/lineItem/components/Resources/index.d.ts +0 -6
- package/es/components/productCard/lineItem/components/TimeRange/index.d.ts +0 -12
- package/es/components/productCard/lineItem/types.d.ts +0 -9
- package/es/components/productCard/status.d.ts +0 -32
- package/es/components/productCard/types.d.ts +0 -95
- package/es/components/select-time/index.d.ts +0 -14
- package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -8
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -9
- package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -9
- package/es/components/table/BasicTable/index.d.ts +0 -4
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
- package/es/components/table/Gallery/index.d.ts +0 -5
- package/es/components/table/Table/index.d.ts +0 -4
- package/es/components/table/Table/utils.d.ts +0 -161
- package/es/components/table/hooks/useTableSetting.d.ts +0 -21
- package/es/components/table/hooks/useTransDataSource.d.ts +0 -11
- package/es/components/table/types.d.ts +0 -268
- package/es/components/translation/index.d.ts +0 -17
- package/es/components/versionModal/index.d.ts +0 -23
- package/es/index.d.ts +0 -271
- package/lib/components/Pagination/index.d.ts +0 -14
- package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -7
- package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
- package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
- package/lib/components/PisellCards/components/TextCard/types.d.ts +0 -270
- package/lib/components/PisellCards/index.d.ts +0 -15
- package/lib/components/PisellScrollView/PisellScrollView.d.ts +0 -5
- package/lib/components/PisellScrollView/components/Actions/index.d.ts +0 -18
- package/lib/components/PisellScrollView/types.d.ts +0 -203
- package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/lib/components/appVersionControl/index.d.ts +0 -5
- package/lib/components/buttonGroupPreview/index.d.ts +0 -19
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +0 -48
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -100
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
- package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -3
- package/lib/components/drag-sort-tree/index.d.ts +0 -4
- package/lib/components/drawer/index.d.ts +0 -3
- package/lib/components/filter/components/Dropdown/index.d.ts +0 -10
- package/lib/components/filter/components/FilterButton/index.d.ts +0 -5
- package/lib/components/filter/components/FilterItem/index.d.ts +0 -9
- package/lib/components/filter/components/QuickFilter/index.d.ts +0 -16
- package/lib/components/keyboard/index.d.ts +0 -22
- package/lib/components/login-and-register/index.d.ts +0 -82
- package/lib/components/pisell-config-provider/index.d.ts +0 -13
- package/lib/components/pisellCurrency/PisellCurrency.d.ts +0 -39
- package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
- package/lib/components/pisellEmail/PisellEmail.d.ts +0 -37
- package/lib/components/pisellEmpty/index.d.ts +0 -19
- package/lib/components/pisellFilter/index.d.ts +0 -4
- package/lib/components/pisellFind/index.d.ts +0 -40
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -59
- package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +0 -29
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/components/EdgeLayer.d.ts +0 -37
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -66
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -39
- package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +0 -7
- package/lib/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.d.ts +0 -13
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -11
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -23
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -64
- package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +0 -44
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -84
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +0 -20
- package/lib/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +0 -6
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -59
- package/lib/components/pisellFloorMapLayout/components/NodePortMarkers.d.ts +0 -20
- package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -61
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -28
- package/lib/components/pisellFloorMapLayout/components/index.d.ts +0 -23
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
- package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -35
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.d.ts +0 -61
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +0 -15
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -79
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -91
- package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/lib/components/pisellFloorMapLayout/index.d.ts +0 -37
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +0 -184
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +0 -184
- package/lib/components/pisellFloorMapLayout/locales.d.ts +0 -969
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/types.d.ts +0 -778
- package/lib/components/pisellFloorMapLayout/utils/alignSnap.d.ts +0 -64
- package/lib/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.d.ts +0 -45
- package/lib/components/pisellFloorMapLayout/utils/edgeRouting.d.ts +0 -267
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasStage.d.ts +0 -83
- 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/floorMapElementKindUtils.d.ts +0 -35
- package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
- package/lib/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.d.ts +0 -44
- package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
- package/lib/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.d.ts +0 -34
- package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
- package/lib/components/pisellGridPro/index.d.ts +0 -4
- package/lib/components/pisellLongText/PisellLongText.d.ts +0 -39
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
- package/lib/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/lib/components/pisellNumber/PisellNumber.d.ts +0 -42
- package/lib/components/pisellPhone/PisellPhone.d.ts +0 -36
- package/lib/components/pisellPhone/components/EditView.d.ts +0 -19
- package/lib/components/pisellPhone/constants/countryCodes.d.ts +0 -20
- package/lib/components/pisellPhone/types.d.ts +0 -209
- package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
- package/lib/components/pisellRating/PisellRating.d.ts +0 -31
- package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
- package/lib/components/pisellRecordBoard/index.d.ts +0 -53
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -5
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -11
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +0 -43
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -26
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.d.ts +0 -18
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -7
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.d.ts +0 -26
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +0 -17
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -19
- 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 -236
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.d.ts +0 -7
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +0 -21
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -49
- 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/BookingCalendarResourceView.d.ts +0 -57
- 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/Calendar/view/day/useBookingCalendarDayHourRemaining.d.ts +0 -10
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.d.ts +0 -11
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.d.ts +0 -3
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.d.ts +0 -3
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.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/VenueWallCard.d.ts +0 -22
- 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/recordBoardToolBarI18n.d.ts +0 -13
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -19
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +0 -30
- package/lib/components/pisellRecordBoard/types.d.ts +0 -874
- package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
- package/lib/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +0 -27
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
- package/lib/components/pisellReservationScheduleBand/index.d.ts +0 -3
- package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
- package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
- package/lib/components/pisellStatisticList/index.d.ts +0 -22
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/index.d.ts +0 -5
- package/lib/components/pisellUrl/PisellUrl.d.ts +0 -37
- 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/BookingItem/index.d.ts +0 -10
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- 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/specs/index.d.ts +0 -21
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
- package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -22
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -13
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
- package/lib/components/productCard/components/Header/EditButton/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/SelectHolderMultiple/index.d.ts +0 -3
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
- package/lib/components/productCard/components/Time/index.d.ts +0 -4
- package/lib/components/productCard/lineItem/BookingLineItem.d.ts +0 -17
- package/lib/components/productCard/lineItem/components/Resources/index.d.ts +0 -6
- package/lib/components/productCard/lineItem/components/TimeRange/index.d.ts +0 -12
- package/lib/components/productCard/lineItem/types.d.ts +0 -9
- package/lib/components/productCard/status.d.ts +0 -32
- package/lib/components/productCard/types.d.ts +0 -95
- package/lib/components/select-time/index.d.ts +0 -14
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -8
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -9
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -9
- package/lib/components/table/BasicTable/index.d.ts +0 -4
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
- package/lib/components/table/Gallery/index.d.ts +0 -5
- package/lib/components/table/Table/index.d.ts +0 -4
- package/lib/components/table/Table/utils.d.ts +0 -161
- package/lib/components/table/hooks/useTableSetting.d.ts +0 -21
- package/lib/components/table/hooks/useTransDataSource.d.ts +0 -11
- package/lib/components/table/types.d.ts +0 -268
- package/lib/components/translation/index.d.ts +0 -17
- package/lib/components/versionModal/index.d.ts +0 -23
- package/lib/index.d.ts +0 -271
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import GridLayout from './layouts/GridLayout';
|
|
3
|
-
import CardLayout from './layouts/CardLayout';
|
|
4
|
-
import RecordBoardShellFrame, { RecordBoardToolBar, RecordBoardBatchActionBar, RecordBoardPagination, RecordBoardSearch, RecordBoardFloorMap, RecordBoardCalendar, RecordBoardResourceWall } from './shellFrame';
|
|
5
|
-
import RecordBoardGridView from './layouts/GridLayout/Grid';
|
|
6
|
-
import RecordBoardCardList from './layouts/CardLayout/CardList';
|
|
7
|
-
import { useRecordBoardContext } from './hooks/useRecordBoardContext';
|
|
8
|
-
import type { RecordBoardProps } from './types';
|
|
9
|
-
/** RecordBoard 复合组件类型 */
|
|
10
|
-
interface PisellRecordBoardType extends React.FC<RecordBoardProps> {
|
|
11
|
-
/** Shell Frame:对 Layout 的扩展,提供 ToolBar + BatchActionBar + children(Layout) */
|
|
12
|
-
ShellFrame: typeof RecordBoardShellFrame;
|
|
13
|
-
/** Grid 布局:仅内容区(表格 + 分页),需配合 ShellFrame 使用 */
|
|
14
|
-
GridLayout: typeof GridLayout;
|
|
15
|
-
/** 卡片布局:仅内容区(卡片列表 + 分页),需配合 ShellFrame 使用 */
|
|
16
|
-
CardLayout: typeof CardLayout;
|
|
17
|
-
/**
|
|
18
|
-
* 平面图槽位:仅在 ShellFrame 内声明,无 DOM; props 与 PisellFloorMapLayout 对齐。
|
|
19
|
-
* 与 GridLayout 同时存在时出现「表格 / 平面图」切换。
|
|
20
|
-
*/
|
|
21
|
-
FloorMap: typeof RecordBoardFloorMap;
|
|
22
|
-
/**
|
|
23
|
-
* 日历槽位:仅在 ShellFrame 内声明,无 DOM;与 GridLayout / FloorMap 并存时出现「表格 / 平面图 / 日历」切换。
|
|
24
|
-
*/
|
|
25
|
-
Calendar: typeof RecordBoardCalendar;
|
|
26
|
-
/**
|
|
27
|
-
* 大屏资源墙槽位:仅在 ShellFrame 内声明,无 DOM;与其它主区并存时出现视图切换。
|
|
28
|
-
*/
|
|
29
|
-
ResourceWall: typeof RecordBoardResourceWall;
|
|
30
|
-
/** 单独使用:搜索槽(PisellFind,绑定 searchParams.keyword / onSearch) */
|
|
31
|
-
Search: typeof RecordBoardSearch;
|
|
32
|
-
/** 单独使用:工具栏(PisellToolBar,含搜索/导出,可透传 topLeft/topRight 等) */
|
|
33
|
-
ToolBar: typeof RecordBoardToolBar;
|
|
34
|
-
/** 单独使用:分页槽 */
|
|
35
|
-
Pagination: typeof RecordBoardPagination;
|
|
36
|
-
/** 单独使用:Grid 视图(表格) */
|
|
37
|
-
Grid: typeof RecordBoardGridView;
|
|
38
|
-
/** 单独使用:卡片列表视图 */
|
|
39
|
-
CardList: typeof RecordBoardCardList;
|
|
40
|
-
/** 多选操作栏(基于 PisellBatchActionBar,有选中项时展示) */
|
|
41
|
-
BatchActionBar: typeof RecordBoardBatchActionBar;
|
|
42
|
-
/** 消费 RecordBoard 上下文 */
|
|
43
|
-
useRecordBoardContext: typeof useRecordBoardContext;
|
|
44
|
-
}
|
|
45
|
-
declare const PisellRecordBoard: PisellRecordBoardType;
|
|
46
|
-
export default PisellRecordBoard;
|
|
47
|
-
export type { RecordBoardProps, RecordBoardLayoutType, RecordBoardLayoutVariant, RecordBoardContextValue, RecordBoardChildComponentProps, RecordBoardGridProps, RecordBoardColumnType, RecordBoardFieldType, RecordBoardColumnFilterConfig, RecordBoardOptionItem, RecordBoardGetOptions, RecordBoardBodyView, RecordBoardFloorMapProps, RecordBoardCalendarProps, RecordBoardCalendarBlockedTimePayload, RecordBoardCalendarResource, RecordBoardCalendarBookingLike, RecordBoardCalendarDayOverlayBooking, RecordBoardCalendarTimelineHeaderGroup, RecordBoardCalendarTimelineHeaderRenderContext, RecordBoardCalendarResourceRenderArgs, RecordBoardCalendarBookingRenderArgs, RecordBoardBookingMoveDraft, RecordBoardBlockedTimeMergedRange, RecordBoardBlockedTimePanelPayload, RecordBoardCreateBookingDayGroup, RecordBoardCreateBookingFromSelectionPayload, RecordBoardCalendarSelectedFreeSlot, RecordBoardToolBarProps, RecordBoardResourceWallProps, RecordBoardResourceWallCardModel, RecordBoardResourceWallLayoutPersist, } from './types';
|
|
48
|
-
export { DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST } from './types';
|
|
49
|
-
export { useRecordBoardContext } from './hooks/useRecordBoardContext';
|
|
50
|
-
export { useRecordBoardShellBodyMeta } from './shellFrame';
|
|
51
|
-
export { DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY } from './shellFrame/ResourceWall/PisellRecordBoardResourceWallView';
|
|
52
|
-
export { adaptColumnsForPhoneLayout, RECORD_BOARD_PHONE_GRID_CLASS, } from './utils/recordBoardPhoneGrid';
|
|
53
|
-
export type { AdaptColumnsForPhoneLayoutOptions } from './utils/recordBoardPhoneGrid';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { TableProps } from 'antd';
|
|
3
|
-
import type { RecordBoardContextValue } from '../../types';
|
|
4
|
-
import './Grid.less';
|
|
5
|
-
export interface RecordBoardGridViewProps extends Omit<TableProps<any>, 'dataSource' | 'loading' | 'pagination'>, Partial<Pick<RecordBoardContextValue, 'data' | 'loading'>> {
|
|
6
|
-
/** 列配置,同 antd Table columns */
|
|
7
|
-
columns?: TableProps<any>['columns'];
|
|
8
|
-
className?: string;
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
/** 自定义渲染,传入后不再使用内置 Table */
|
|
11
|
-
render?: (ctx: RecordBoardContextValue) => React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
declare const RecordBoardGridView: React.FC<RecordBoardGridViewProps>;
|
|
14
|
-
export default RecordBoardGridView;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { RecordBoardCalendarProps } from '../../types';
|
|
3
|
-
import './BookingCalendar.less';
|
|
4
|
-
/** 看板日历根组件:内含主题 CSS 与 Spin,按 `view` 挂载月 / 周 / 日子组件 */
|
|
5
|
-
export default function BookingCalendar(props?: RecordBoardCalendarProps): JSX.Element;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { RecordBoardCalendarProps } from '../../types';
|
|
3
|
-
export declare type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
|
|
4
|
-
/**
|
|
5
|
-
* RecordBoard 日历视图:内嵌 `BookingCalendar`(Tailwind 由包入口 `pisell-materials.tw.css` 注入)。
|
|
6
|
-
*
|
|
7
|
-
* **布局分工**:外层 Shell 上 `pisell-record-board-calendar-viewport`(flex:1 / min-height:0 / overflow:hidden)
|
|
8
|
-
* 只做「占位与裁剪高度」;本组件根节点负责在同一 flex 列里向下传递 **min-height:0**,避免 `BookingCalendar`
|
|
9
|
-
* 撑破壳层(一层即可,历史上曾双包一层重复 flex+overflow)。
|
|
10
|
-
*/
|
|
11
|
-
export declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): JSX.Element;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BookingCalendar 专用类型(不放入全局 RecordBoard types,避免对外膨胀)。
|
|
3
|
-
*/
|
|
4
|
-
import type { RecordBoardCalendarBookingLike } from '../../types';
|
|
5
|
-
import type { CalendarBookingSegmentInput, SelectedSlotLike } from './utils/bookingCalendarDateUtils';
|
|
6
|
-
import type { Dayjs } from 'dayjs';
|
|
7
|
-
/** 资源视图格子选中:仅记 court + 日 */
|
|
8
|
-
export declare type ResourceCellPick = {
|
|
9
|
-
courtId: string;
|
|
10
|
-
dateKey: string;
|
|
11
|
-
};
|
|
12
|
-
/** 顶栏粒度切换 */
|
|
13
|
-
export declare type CalendarViewMode = 'resource' | 'day' | 'week' | 'month';
|
|
14
|
-
export declare type FreeSlotSelection = SelectedSlotLike & {
|
|
15
|
-
court?: string;
|
|
16
|
-
};
|
|
17
|
-
export declare type OverflowListModalState = {
|
|
18
|
-
scope: string;
|
|
19
|
-
date: string;
|
|
20
|
-
title: string;
|
|
21
|
-
items: CalendarBookingSegmentInput[];
|
|
22
|
-
};
|
|
23
|
-
export declare type OverflowPopoverState = {
|
|
24
|
-
courtId: string;
|
|
25
|
-
date: string;
|
|
26
|
-
items: CalendarBookingSegmentInput[];
|
|
27
|
-
pinned?: boolean;
|
|
28
|
-
};
|
|
29
|
-
export declare type MoveConfirmState = {
|
|
30
|
-
item: RecordBoardCalendarBookingLike;
|
|
31
|
-
targetCourtId: string;
|
|
32
|
-
targetDate: string;
|
|
33
|
-
targetHour: number;
|
|
34
|
-
};
|
|
35
|
-
export declare type MoveDraftState = {
|
|
36
|
-
targetCourtId: string;
|
|
37
|
-
targetDate: string;
|
|
38
|
-
targetHour: number;
|
|
39
|
-
};
|
|
40
|
-
export declare type TransitioningToDayState = {
|
|
41
|
-
source: string;
|
|
42
|
-
};
|
|
43
|
-
export declare type BlockTimeRange = [Dayjs, Dayjs] | null;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/** UI 层:状态徽标文案走 i18n(utils 侧为 {@link statusTagMetaParts}) */
|
|
2
|
-
export declare function statusTagMeta(tag: string | null | undefined): {
|
|
3
|
-
label: string;
|
|
4
|
-
className: string;
|
|
5
|
-
} | null;
|
|
6
|
-
/** 锁台卡片副标题:操作人、锁台时间等拼接一行 */
|
|
7
|
-
export declare function getBlockMetaLine(item: any): string;
|
|
8
|
-
export declare function getRemainingToneClass(ratio: any, isLight?: boolean): "text-red-600" | "text-red-300" | "text-amber-600" | "text-amber-300" | "theme-text-muted" | "text-zinc-400";
|
|
9
|
-
/**
|
|
10
|
-
* @param options.flattenWhenAllGroupsCollapsed
|
|
11
|
-
* 若为 `true`:全部分组折叠时仅有 group 头、无 court 行,会退化为平铺 court(易与「全部展开」混淆)。
|
|
12
|
-
* 日/周/月日历统一为默认 `false`,保留分组头行与折叠态(与底部「全部关闭」预期一致)。
|
|
13
|
-
*
|
|
14
|
-
* 若全部资源只属于**一个**分组(含仅 VIP、仅 Standard、或仅一种自定义 type),日/周视图不展示分组头行,
|
|
15
|
-
* 直接平铺资源行(单组折叠时也同样平铺资源,避免只剩一条分组栏)。
|
|
16
|
-
*/
|
|
17
|
-
export declare function buildGroupedCourtRows(courts: any, collapsedGroups?: {}, options?: {}): any;
|
|
18
|
-
/** 日视图 overlay 内单条预约/锁台:窄宽自适应与 Tooltip */
|
|
19
|
-
export declare function BookingCard({ booking, dayKey, onOpenDetail, onDragStart, onJumpNext, overlayWidthPx, }: {
|
|
20
|
-
booking: any;
|
|
21
|
-
dayKey: any;
|
|
22
|
-
onOpenDetail: any;
|
|
23
|
-
onDragStart: any;
|
|
24
|
-
onJumpNext: any;
|
|
25
|
-
overlayWidthPx: any;
|
|
26
|
-
}): any;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type CalendarBookingSegmentInput } from '../utils/bookingCalendarDateUtils';
|
|
2
|
-
export declare function useBookingCalendarDayOverlayLayout(visibleCourtRows: unknown[], dayKey: string, bookings: CalendarBookingSegmentInput[], hourSlots: number[], slotStepHours: number): {
|
|
3
|
-
dayRowHeights: number[];
|
|
4
|
-
dayRowTopMap: Record<string, number>;
|
|
5
|
-
overlayBookings: import("../utils/bookingCalendarDateUtils").BuiltDayOverlay[];
|
|
6
|
-
courtDayDisplayLaneCount: Record<string, number>;
|
|
7
|
-
hiddenDayOverlayIdSet: Set<string>;
|
|
8
|
-
dayOverlayOverflowPluses: {
|
|
9
|
-
key: string;
|
|
10
|
-
courtId: string;
|
|
11
|
-
rowTop: number;
|
|
12
|
-
rowHeight: number;
|
|
13
|
-
start: number;
|
|
14
|
-
span: number;
|
|
15
|
-
plusCount: number;
|
|
16
|
-
overflowItems: CalendarBookingSegmentInput[];
|
|
17
|
-
}[];
|
|
18
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 看板日历子模块导出:持久化守卫、日历根视图、Shell 槽位占位组件。
|
|
3
|
-
*/
|
|
4
|
-
export { CalendarPersistProvider, useCalendarPersist, } from './calendarPersistGuard';
|
|
5
|
-
export type { CalendarPersistContextValue, CalendarPersistKind, } from './calendarPersistGuard';
|
|
6
|
-
export { PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, } from './PisellRecordBoardCalendarView';
|
|
7
|
-
export { default as RecordBoardCalendar } from './RecordBoardCalendar';
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { BlockTimeRange } from '../bookingCalendarInternalTypes';
|
|
3
|
-
export declare type BookingCalendarBlockPanelProps = {
|
|
4
|
-
blockPanelRef: React.RefObject<HTMLDivElement | null>;
|
|
5
|
-
isLight: boolean;
|
|
6
|
-
blockFormName: string;
|
|
7
|
-
setBlockFormName: (v: string) => void;
|
|
8
|
-
blockModalNote: string;
|
|
9
|
-
setBlockModalNote: (v: string) => void;
|
|
10
|
-
blockResourceId: string;
|
|
11
|
-
setBlockResourceId: (v: string) => void;
|
|
12
|
-
blockTimeRange: BlockTimeRange;
|
|
13
|
-
setBlockTimeRange: (v: BlockTimeRange) => void;
|
|
14
|
-
resolvedSlotMinutes: number;
|
|
15
|
-
visibleCourts: Array<{
|
|
16
|
-
id: string;
|
|
17
|
-
name: string;
|
|
18
|
-
}>;
|
|
19
|
-
blockSaving: boolean;
|
|
20
|
-
onClose: () => void;
|
|
21
|
-
onSave: () => void;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* 内置锁台 / 屏蔽时间表单(宿主未传 `onBlockedTimePanelRequest` 时使用)。
|
|
25
|
-
*/
|
|
26
|
-
export declare function BookingCalendarBlockPanel({ blockPanelRef, isLight, blockFormName, setBlockFormName, blockModalNote, setBlockModalNote, blockResourceId, setBlockResourceId, blockTimeRange, setBlockTimeRange, resolvedSlotMinutes, visibleCourts, blockSaving, onClose, onSave, }: BookingCalendarBlockPanelProps): JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { RecordBoardCalendarBookingLike } from '../../../types';
|
|
3
|
-
import type { OverflowListModalState } from '../bookingCalendarInternalTypes';
|
|
4
|
-
export declare type BookingCalendarOverflowListLayerProps = {
|
|
5
|
-
overflowPanelRef: React.RefObject<HTMLDivElement | null>;
|
|
6
|
-
isLight: boolean;
|
|
7
|
-
modal: OverflowListModalState;
|
|
8
|
-
onClose: () => void;
|
|
9
|
-
onPickItem: (item: RecordBoardCalendarBookingLike) => void;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* 全局溢出预约列表弹层(月/周/资源格 `+N` 点开后)。
|
|
13
|
-
*/
|
|
14
|
-
export declare function BookingCalendarOverflowListLayer({ overflowPanelRef, isLight, modal, onClose, onPickItem, }: BookingCalendarOverflowListLayerProps): JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/** 拖拽改期后的确认弹窗(Court / 日期 / 起止时间) */
|
|
3
|
-
export declare function MoveConfirmModal({ moveConfirm, moveDraft, setMoveDraft, panelRef, isLight, courts, visibleCourts, hourSlots, isBusinessHour, firstTimelineHour, endTimelineExclusive, onConfirm, onClose, }: {
|
|
4
|
-
moveConfirm: any;
|
|
5
|
-
moveDraft: any;
|
|
6
|
-
setMoveDraft: any;
|
|
7
|
-
panelRef: any;
|
|
8
|
-
isLight: any;
|
|
9
|
-
courts: any;
|
|
10
|
-
visibleCourts: any;
|
|
11
|
-
hourSlots: any;
|
|
12
|
-
isBusinessHour: any;
|
|
13
|
-
firstTimelineHour: any;
|
|
14
|
-
endTimelineExclusive: any;
|
|
15
|
-
onConfirm: any;
|
|
16
|
-
onClose: any;
|
|
17
|
-
}): JSX.Element | null;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type CalendarBookingSegmentInput } from '../utils/bookingCalendarDateUtils';
|
|
3
|
-
export declare type OverflowListModalVirtualListProps = {
|
|
4
|
-
items: CalendarBookingSegmentInput[];
|
|
5
|
-
dateKey: string;
|
|
6
|
-
onPickItem: (item: CalendarBookingSegmentInput) => void;
|
|
7
|
-
onClose: () => void;
|
|
8
|
-
/**
|
|
9
|
-
* 为 true 时按日视图逻辑展示状态徽标与状态底色(如日视图 lane 溢出列表)。
|
|
10
|
-
* 月 / 周打开的列表传 false,仅默认 booking / block 样式。
|
|
11
|
-
* @default true
|
|
12
|
-
*/
|
|
13
|
-
showStatusUi?: boolean;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* 溢出预约列表弹层:`FixedSizeList` 虚拟列表;视口宽高由 `AutoSizer` 跟随 flex 剩余区域,
|
|
17
|
-
* 列表可视高度取 `min(内容总高, 可用高度)`,避免条数少时底部大块空白。
|
|
18
|
-
*/
|
|
19
|
-
export declare function OverflowListModalVirtualList({ items, dateKey, onPickItem, onClose, showStatusUi, }: OverflowListModalVirtualListProps): JSX.Element | null;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type CalendarBookingSegmentInput } from '../utils/bookingCalendarDateUtils';
|
|
3
|
-
export declare type MonthGridOverflowVirtualListProps = {
|
|
4
|
-
items: CalendarBookingSegmentInput[];
|
|
5
|
-
listWidth: number;
|
|
6
|
-
onPickItem: (item: CalendarBookingSegmentInput) => void;
|
|
7
|
-
};
|
|
8
|
-
/** 月/周格「+N」悬停层内的虚拟列表(overflowPopover) */
|
|
9
|
-
export declare function MonthGridOverflowVirtualList({ items, listWidth, onPickItem, }: MonthGridOverflowVirtualListProps): JSX.Element | null;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type CalendarBookingSegmentInput } from './bookingCalendarDateUtils';
|
|
2
|
-
export declare function getDrawerStatusTheme(item: CalendarBookingSegmentInput, dateKey: string): "bg-red-700/88 border-b-4 border-red-300/55" | "bg-zinc-700/88 border-b-4 border-zinc-400/45" | "bg-zinc-700/88 border-b-4 border-red-400/75" | "bg-violet-700/92 border-b-4 border-amber-400/95" | "bg-violet-700/92 border-b-4 border-zinc-300/45" | "bg-violet-700/92 border-b-4 border-violet-300/30";
|
|
3
|
-
export declare function paymentTagClass(label: string, isLight?: boolean): "theme-success-chip border" | "bg-emerald-500 text-white" | "theme-warning-chip border" | "bg-amber-500 text-white" | "theme-info-chip border" | "bg-sky-500 text-white" | "theme-danger-chip border" | "bg-red-500 text-white";
|
|
4
|
-
export declare function fulfillmentTagClass(label: string, isLight?: boolean): "bg-violet-600 text-white" | "theme-success-chip border" | "theme-warning-chip border" | "bg-amber-500 text-white" | "theme-info-chip border" | "theme-danger-chip border" | "bg-emerald-600 text-white" | "bg-cyan-500 text-white" | "bg-red-600 text-white" | "border border-[var(--border-strong)] bg-[var(--bg-input)] theme-text-soft" | "bg-zinc-600 text-white" | "border border-[var(--brand-light)] bg-[var(--brand-surface)] theme-brand-text";
|
|
5
|
-
export declare function getBookingStateClasses(item: CalendarBookingSegmentInput, dateKey: string): "bg-zinc-700/55 border border-zinc-500/70 text-zinc-100 grayscale-[0.2]" | "bg-zinc-700/55 border border-red-500/70 text-zinc-200 grayscale-[0.15]" | "bg-violet-700/90 border border-amber-400/80 text-violet-50" | "bg-red-700/70 text-red-100" | "bg-violet-700/90 text-violet-50";
|
|
6
|
-
/**
|
|
7
|
-
* 月 / 周紧凑格:不按签到/取消/迟到等状态变色,仅区分 booking(默认紫)与 block(红)。
|
|
8
|
-
* 与 {@link getBookingStateClasses} 在无状态分支时一致,但不读取 `dateKey`。
|
|
9
|
-
*/
|
|
10
|
-
export declare function getGridBookingRowStateClasses(item: CalendarBookingSegmentInput): string;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts
DELETED
|
@@ -1,236 +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
|
-
/**
|
|
28
|
-
* 锚定日所在自然月的每一天(1 号至月末),用于资源视图横向「日」列。
|
|
29
|
-
*/
|
|
30
|
-
export declare function monthCalendarDays(anchor: Date): Date[];
|
|
31
|
-
export declare function isHourInTimelineSlots(hour: number, hourSlots: number[] | undefined): boolean;
|
|
32
|
-
export declare function formatHourLabel(hour: number): string;
|
|
33
|
-
export declare function buildTimeOptions(start?: number, end?: number, sliceMinutes?: number): number[];
|
|
34
|
-
export declare function monthGrid(date: Date, bookings: CalendarBookingSegmentInput[], courtsList: {
|
|
35
|
-
id: string;
|
|
36
|
-
}[] | undefined, hourSlotsIn: number[] | undefined, slotStepHours?: number): {
|
|
37
|
-
date: Date;
|
|
38
|
-
key: string;
|
|
39
|
-
inMonth: boolean;
|
|
40
|
-
bookingCount: number;
|
|
41
|
-
blockCount: number;
|
|
42
|
-
fullyBooked: boolean;
|
|
43
|
-
}[];
|
|
44
|
-
export declare function getBookingSegmentForDate(item: CalendarBookingSegmentInput, dateKey: string): BookingSegmentForDate | null;
|
|
45
|
-
export declare function dayOccupancy(courtId: string, dateKey: string, bookings: CalendarBookingSegmentInput[], hourSlots: number[] | undefined, slotStepHours: number): Record<number, CalendarBookingSegmentInput | null>;
|
|
46
|
-
export interface SelectedSlotLike {
|
|
47
|
-
courtId: string;
|
|
48
|
-
date: string;
|
|
49
|
-
hour: number;
|
|
50
|
-
}
|
|
51
|
-
export declare function groupSelectedSlots(slots: SelectedSlotLike[], slotStepHours?: number): Array<{
|
|
52
|
-
courtId: string;
|
|
53
|
-
date: string;
|
|
54
|
-
startHour: number;
|
|
55
|
-
endHour: number;
|
|
56
|
-
}>;
|
|
57
|
-
/**
|
|
58
|
-
* 日视图空闲格:仅当全部为同一 court、同一日,且时间上首尾相接成一段时返回 true(与 {@link groupSelectedSlots} 合并规则一致)。
|
|
59
|
-
*/
|
|
60
|
-
export declare function isFreeSelectionContiguousSameResource(slots: SelectedSlotLike[], slotStepHours?: number): boolean;
|
|
61
|
-
export declare function hasConflict(bookings: CalendarBookingSegmentInput[], courtId: string, date: string, startHour: number, endHour: number, ignoreId?: string | null): boolean;
|
|
62
|
-
export declare function overlappingBookings(bookings: CalendarBookingSegmentInput[], courtId: string, date: string, startHour: number, endHour: number): CalendarBookingSegmentInput[];
|
|
63
|
-
export declare function courtDaySummary(courtId: string, dateKey: string, bookings: CalendarBookingSegmentInput[], hourSlots: number[] | undefined, slotStepHours: number): {
|
|
64
|
-
occupiedHours: number[];
|
|
65
|
-
hasBlock: boolean;
|
|
66
|
-
fullyBooked: boolean;
|
|
67
|
-
items: CalendarBookingSegmentInput[];
|
|
68
|
-
};
|
|
69
|
-
export declare function sameSlot(a: SelectedSlotLike, b: SelectedSlotLike): boolean;
|
|
70
|
-
/** 营业日 `dateStr` + 浮点小时(含半格)→ dayjs */
|
|
71
|
-
export declare function dayAndHourToDayjs(dateStr: string, hourFloat: number): Dayjs;
|
|
72
|
-
export declare function getDisplayStatusTag(item: CalendarBookingSegmentInput, dateKey: string): string | null;
|
|
73
|
-
export declare function getLateMinutes(item: CalendarBookingSegmentInput, dateKey: string): number | null;
|
|
74
|
-
export declare function currentTimeLabel(): string;
|
|
75
|
-
export declare function formatDateLoose(str: string | undefined): string;
|
|
76
|
-
export declare function formatTimelineStamp(value: string | undefined | null): {
|
|
77
|
-
date: string;
|
|
78
|
-
time: string;
|
|
79
|
-
};
|
|
80
|
-
/** 日视图 overlay 条(可原地写入 lane) */
|
|
81
|
-
export declare type DayOverlayLaneMutable = {
|
|
82
|
-
courtId: string;
|
|
83
|
-
start: number;
|
|
84
|
-
span: number;
|
|
85
|
-
lane?: number;
|
|
86
|
-
laneCount?: number;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* 同一 court 上时间重叠的 overlay 分配纵向 lane,避免多张卡片完全叠在同一矩形里。
|
|
90
|
-
* 使用按开始时间排序 + 贪心:每条预约放入「上一条已结束时间不晚于本段开始」的最小编号线。
|
|
91
|
-
*/
|
|
92
|
-
export declare function assignDayOverlapLanesInPlace(overlays: DayOverlayLaneMutable[]): void;
|
|
93
|
-
/** 扫描时间轴:同一 court 在任一时刻的最大并行条数(用于行高,与分 lane 一致) */
|
|
94
|
-
export declare function maxConcurrentBookingsOnCourt(overlays: Array<{
|
|
95
|
-
courtId: string;
|
|
96
|
-
start: number;
|
|
97
|
-
span: number;
|
|
98
|
-
}>, courtId: string): number;
|
|
99
|
-
/** 并行超过 cap 时:cap 条内容 + 1 行「+N」占位 */
|
|
100
|
-
export declare function effectiveDayOverlayDisplayLaneCount(rawConcurrent: number): number;
|
|
101
|
-
/** 同一 court 下时间轴区间相交的 overlay 归为一簇(用于 3+N 合并展示) */
|
|
102
|
-
export declare function clusterDayCourtOverlaysByOverlap<T extends {
|
|
103
|
-
courtId: string;
|
|
104
|
-
start: number;
|
|
105
|
-
span: number;
|
|
106
|
-
}>(overlays: T[], courtId: string): T[][];
|
|
107
|
-
export declare function dayOverlayHiddenKey(item: {
|
|
108
|
-
id?: string | number;
|
|
109
|
-
} | null | undefined, dayKey: string, courtId: string): string;
|
|
110
|
-
/**
|
|
111
|
-
* 将 totalInner 像素整数分给 n 条竖向 lane(含缝),保证 Σheight + Σgap === totalInner,消除底部留白缝。
|
|
112
|
-
*/
|
|
113
|
-
export declare function dayOverlayLaneMetrics(totalInner: number, laneCount: number, gap: number): {
|
|
114
|
-
topFor: (lane: number) => number;
|
|
115
|
-
heightFor: (lane: number) => number;
|
|
116
|
-
};
|
|
117
|
-
export interface BuildOverlayBookingRow {
|
|
118
|
-
kind: string;
|
|
119
|
-
id: string;
|
|
120
|
-
}
|
|
121
|
-
export interface BuiltDayOverlay {
|
|
122
|
-
item: CalendarBookingSegmentInput;
|
|
123
|
-
rowIndex: number;
|
|
124
|
-
rowTop: number;
|
|
125
|
-
rowHeight: number;
|
|
126
|
-
courtId: string;
|
|
127
|
-
start: number;
|
|
128
|
-
end: number;
|
|
129
|
-
span: number;
|
|
130
|
-
continuesNext?: boolean;
|
|
131
|
-
continuesPrev?: boolean;
|
|
132
|
-
lane?: number;
|
|
133
|
-
laneCount?: number;
|
|
134
|
-
}
|
|
135
|
-
export declare function buildOverlayBookings(visibleCourtRows: BuildOverlayBookingRow[], dayKey: string, bookings: CalendarBookingSegmentInput[], rowTopMap: Record<string, number> | undefined, hourSlots: number[] | undefined, dayRowHeights: number[], slotStepHours?: number): BuiltDayOverlay[];
|
|
136
|
-
/** 日视图:按行高累加每行 rowTop(court / group) */
|
|
137
|
-
export declare function buildDayRowTopMap(visibleCourtRows: Array<{
|
|
138
|
-
id: string;
|
|
139
|
-
}>, heights: number[]): Record<string, number>;
|
|
140
|
-
/** 日历状态徽标:返回 i18n key + className;文案在 UI 层通过 tCal 解析,便于 utils 单测 */
|
|
141
|
-
export declare function statusTagMetaParts(tag: string | null | undefined): {
|
|
142
|
-
labelI18nKey: string;
|
|
143
|
-
className: string;
|
|
144
|
-
} | null;
|
|
145
|
-
export declare type CalendarCourtNameRow = {
|
|
146
|
-
id: string;
|
|
147
|
-
name?: string | null;
|
|
148
|
-
};
|
|
149
|
-
export declare function getBookingDetailData(item: CalendarBookingSegmentInput, courtsList?: CalendarCourtNameRow[]): {
|
|
150
|
-
rawSales: null;
|
|
151
|
-
bookingId: string;
|
|
152
|
-
orderNumber: string;
|
|
153
|
-
shopOrderNumber: string;
|
|
154
|
-
orderStatus: string;
|
|
155
|
-
appointmentStatus: string;
|
|
156
|
-
paymentStatus: string;
|
|
157
|
-
customer: {
|
|
158
|
-
id: null;
|
|
159
|
-
name: string;
|
|
160
|
-
email: string;
|
|
161
|
-
phone: string;
|
|
162
|
-
};
|
|
163
|
-
guestCount: number;
|
|
164
|
-
checkedInCount: number;
|
|
165
|
-
guests: never[];
|
|
166
|
-
schedule: {
|
|
167
|
-
startDate: string;
|
|
168
|
-
startTime: string;
|
|
169
|
-
endDate: string;
|
|
170
|
-
endTime: string;
|
|
171
|
-
duration: number;
|
|
172
|
-
arrivedAt: null;
|
|
173
|
-
completedAt: null;
|
|
174
|
-
};
|
|
175
|
-
resources: never[];
|
|
176
|
-
summaryItems: never[];
|
|
177
|
-
items: never[];
|
|
178
|
-
note: string;
|
|
179
|
-
files: {
|
|
180
|
-
form: never[];
|
|
181
|
-
uploaded: never[];
|
|
182
|
-
invoice: never[];
|
|
183
|
-
};
|
|
184
|
-
payments: never[];
|
|
185
|
-
history: never[];
|
|
186
|
-
summary: {};
|
|
187
|
-
paymentSummary: {
|
|
188
|
-
totalAmount: number;
|
|
189
|
-
paidAmount: number;
|
|
190
|
-
balanceAmount: number;
|
|
191
|
-
currencySymbol: string;
|
|
192
|
-
isFullyPaid: boolean;
|
|
193
|
-
};
|
|
194
|
-
itemSummary: {
|
|
195
|
-
itemCount: number;
|
|
196
|
-
itemQtyTotal: number;
|
|
197
|
-
};
|
|
198
|
-
headerSummary: {
|
|
199
|
-
customerName: string;
|
|
200
|
-
guestCount: number;
|
|
201
|
-
checkedInCount: number;
|
|
202
|
-
timeLabel: string;
|
|
203
|
-
resourceLabel: string;
|
|
204
|
-
};
|
|
205
|
-
headerTags: {
|
|
206
|
-
paymentTag: string;
|
|
207
|
-
fulfillmentTag: string;
|
|
208
|
-
hasNote: boolean;
|
|
209
|
-
paymentStatus: string;
|
|
210
|
-
orderStatus: string;
|
|
211
|
-
};
|
|
212
|
-
fileCount: number;
|
|
213
|
-
canChangeCustomer: boolean;
|
|
214
|
-
noteCount: number;
|
|
215
|
-
noteGroups: {
|
|
216
|
-
internal: never[];
|
|
217
|
-
order: {
|
|
218
|
-
id: string;
|
|
219
|
-
label: string;
|
|
220
|
-
text: string;
|
|
221
|
-
}[];
|
|
222
|
-
item: never[];
|
|
223
|
-
};
|
|
224
|
-
metaFlags: {
|
|
225
|
-
itemsChanged: boolean;
|
|
226
|
-
paymentsChanged: boolean;
|
|
227
|
-
guestChanged: boolean;
|
|
228
|
-
filesChanged: boolean;
|
|
229
|
-
notesChanged: boolean;
|
|
230
|
-
formChanged: boolean;
|
|
231
|
-
uploadedChanged: boolean;
|
|
232
|
-
invoiceChanged: boolean;
|
|
233
|
-
historyChanged: boolean;
|
|
234
|
-
};
|
|
235
|
-
actions: never[];
|
|
236
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ResourceCellPick } from '../bookingCalendarInternalTypes';
|
|
2
|
-
/**
|
|
3
|
-
* 资源视图选区是否「同一 court + 连续多天」:
|
|
4
|
-
* 仅当满足时才允许 Block / Create Booking(与日视图「同 court 连续多小时」语义对应)。
|
|
5
|
-
* 单天选中(n === 1)也算连续。
|
|
6
|
-
*/
|
|
7
|
-
export declare function isResourceSelectionContiguousSameCourt(selections: ResourceCellPick[]): boolean;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type SelectedSlotLike } from '../utils/bookingCalendarDateUtils';
|
|
3
|
-
export declare type BookingCalendarDaySelectionBarProps = {
|
|
4
|
-
slotStepHours: number;
|
|
5
|
-
selectedFreeSlots: SelectedSlotLike[];
|
|
6
|
-
/**
|
|
7
|
-
* 资源视图:真实选中记在「按日格子」上,不向栏传入展开后的小时槽数组(避免与格数等价的巨数组 + 栏内重复排序)。
|
|
8
|
-
* 传此对象时,用其字段驱动显隐与锁台按钮,忽略 selected*Slots 的长度(传 [] 即可)。
|
|
9
|
-
*/
|
|
10
|
-
resourceSelectionSummary?: {
|
|
11
|
-
freePickCount: number;
|
|
12
|
-
blockPickCount: number;
|
|
13
|
-
/** 资源视图:仅单选时可点「屏蔽」 */
|
|
14
|
-
freeAllowsBlockPanel: boolean;
|
|
15
|
-
} | null;
|
|
16
|
-
deselectAll: () => void;
|
|
17
|
-
onOpenBlockPanel: () => void;
|
|
18
|
-
createBookingFromSelection: () => void;
|
|
19
|
-
};
|
|
20
|
-
/** 日视图底部:多选空闲 / 锁台后的固定操作条 */
|
|
21
|
-
export declare function BookingCalendarDaySelectionBar({ slotStepHours, selectedFreeSlots, resourceSelectionSummary, deselectAll, onOpenBlockPanel, createBookingFromSelection, }: BookingCalendarDaySelectionBarProps): JSX.Element | null;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts
DELETED
|
@@ -1,49 +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
|
-
focusedCourtId: string | null;
|
|
47
|
-
/** >0 表示刚从周/月切入日视图,需将横向滚动对准「当前时间」(仅当 dayKey 为今天时生效) */
|
|
48
|
-
dayTimelineScrollToNowToken: number;
|
|
49
|
-
}): 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' | 'resource';
|
|
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): JSX.Element;
|
package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="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
|
-
}): JSX.Element;
|