@pisell/materials 6.11.108 → 6.11.109
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/es/components/Pagination/index.d.ts +13 -0
- package/es/components/PisellCards/index.d.ts +15 -0
- package/es/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/es/components/PisellTabbar/constants.d.ts +47 -0
- package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
- package/es/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
- package/es/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/es/components/PisellTabbar/types.d.ts +90 -0
- package/es/components/PisellTabbar/utils/index.d.ts +69 -0
- package/es/components/SafeAreaTop/index.d.ts +5 -0
- package/es/components/SafeAreaTop/types.d.ts +9 -0
- package/es/components/appVersionControl/index.d.ts +4 -0
- package/es/components/buttonGroupPreview/index.d.ts +19 -0
- package/es/components/cardPro/index.d.ts +3 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +3 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +4 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +48 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +3 -0
- package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
- package/es/components/drawer/index.d.ts +3 -0
- package/es/components/filter/components/Dropdown/index.d.ts +10 -0
- package/es/components/filter/components/Dropdown/types.d.ts +15 -0
- package/es/components/filter/components/FilterButton/index.d.ts +5 -0
- package/es/components/filter/components/FilterButton/types.d.ts +29 -0
- package/es/components/filter/components/FilterItem/index.d.ts +9 -0
- package/es/components/filter/components/QuickFilter/index.d.ts +16 -0
- package/es/components/filter/types.d.ts +52 -0
- package/es/components/iconfont/index.d.ts +8 -0
- package/es/components/keyboard/index.d.ts +22 -0
- package/es/components/page/index.d.ts +0 -1
- package/es/components/pisell-config-provider/context.d.ts +22 -0
- package/es/components/pisell-config-provider/index.d.ts +13 -0
- package/es/components/pisellAdjustPrice/index.d.ts +0 -1
- package/es/components/pisellAdjustPrice/status.d.ts +32 -0
- package/es/components/pisellAdjustPrice/type.d.ts +22 -0
- package/es/components/pisellCurrency/PisellCurrency.d.ts +39 -0
- package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +6 -0
- package/es/components/pisellEmail/PisellEmail.d.ts +37 -0
- package/es/components/pisellEmpty/index.d.ts +19 -0
- package/es/components/pisellFilter/index.d.ts +3 -0
- package/es/components/pisellFilter/type.d.ts +7 -0
- package/es/components/pisellFind/index.d.ts +62 -0
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +13 -0
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +59 -0
- package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +29 -0
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +22 -0
- package/es/components/pisellFloorMapLayout/components/EdgeLayer.d.ts +37 -0
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +66 -0
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +39 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +7 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.d.ts +13 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +11 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +64 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +44 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +84 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +20 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +6 -0
- package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +59 -0
- package/es/components/pisellFloorMapLayout/components/NodePortMarkers.d.ts +20 -0
- package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +61 -0
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +28 -0
- package/es/components/pisellFloorMapLayout/components/index.d.ts +23 -0
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.d.ts +61 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +15 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +85 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +91 -0
- package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
- package/es/components/pisellFloorMapLayout/index.d.ts +37 -0
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +184 -0
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +184 -0
- package/es/components/pisellFloorMapLayout/locales.d.ts +969 -0
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
- package/es/components/pisellFloorMapLayout/types.d.ts +778 -0
- package/es/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.d.ts +45 -0
- package/es/components/pisellFloorMapLayout/utils/edgeRouting.d.ts +267 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +20 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasStage.d.ts +83 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +21 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +35 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.d.ts +44 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.d.ts +34 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
- package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
- package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
- package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
- package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
- package/es/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
- package/es/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
- package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/es/components/pisellInput/index.d.ts +0 -1
- package/es/components/pisellLongText/PisellLongText.d.ts +39 -0
- package/es/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/es/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +9 -0
- package/es/components/pisellMultipleSelect/components/EditView.d.ts +8 -0
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +5 -0
- package/es/components/pisellNumber/PisellNumber.d.ts +42 -0
- package/es/components/pisellPhone/PisellPhone.d.ts +36 -0
- package/es/components/pisellPhone/components/EditView.d.ts +19 -0
- package/es/components/pisellPhone/constants/countryCodes.d.ts +20 -0
- package/es/components/pisellPhone/types.d.ts +209 -0
- package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/es/components/pisellRating/PisellRating.d.ts +31 -0
- package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +9 -0
- package/es/components/pisellRecordBoard/index.d.ts +53 -0
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +11 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +43 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +26 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +7 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.d.ts +26 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +19 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +9 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +236 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.d.ts +7 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +21 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +49 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +23 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +57 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +27 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.d.ts +11 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.d.ts +3 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.d.ts +3 -0
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +12 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +50 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +22 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +58 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +64 -0
- package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +24 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +12 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +13 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +19 -0
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
- package/es/components/pisellRecordBoard/types.d.ts +874 -0
- package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +23 -0
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
- package/es/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +27 -0
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +10 -0
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +10 -0
- package/es/components/pisellReservationScheduleBand/index.d.ts +3 -0
- package/es/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
- package/es/components/pisellShellFrame/types.d.ts +62 -0
- package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +40 -0
- package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +9 -0
- package/es/components/pisellStatisticList/index.d.ts +22 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +10 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/es/components/pisellTimeNavigator/components/NowButton.d.ts +14 -0
- package/es/components/pisellTimeNavigator/index.d.ts +5 -0
- package/es/components/pisellToast/squareToast/index.d.ts +15 -0
- package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/es/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
- package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
- package/es/components/pisellUrl/PisellUrl.d.ts +37 -0
- package/es/components/pisellWalletPassCard/index.d.ts +146 -0
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/BookingItem/index.d.ts +10 -0
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +4 -0
- package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +36 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +11 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +21 -0
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +8 -0
- package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +22 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +13 -0
- package/es/components/productCard/cartSkuCard/locales.d.ts +203 -0
- package/es/components/productCard/components/Action/index.d.ts +3 -0
- package/es/components/productCard/components/Header/EditButton/index.d.ts +3 -0
- package/es/components/productCard/components/Header/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Sales/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
- package/es/components/productCard/components/Time/index.d.ts +4 -0
- package/es/components/productCard/lineItem/BookingLineItem.d.ts +19 -0
- package/es/components/productCard/lineItem/components/Holders/index.d.ts +9 -0
- package/es/components/productCard/lineItem/components/Resources/index.d.ts +6 -0
- package/es/components/productCard/lineItem/components/TimeRange/index.d.ts +11 -0
- package/es/components/productCard/lineItem/locales.d.ts +23 -0
- package/es/components/productCard/lineItem/types.d.ts +13 -0
- package/es/components/productCard/locales.d.ts +138 -0
- package/es/components/productCard/status.d.ts +32 -0
- package/es/components/productCard/types.d.ts +96 -0
- package/es/components/select/index.d.ts +9 -0
- package/es/components/select-time/index.d.ts +13 -0
- package/es/components/table/Actions/component/ExportImport/index.d.ts +8 -0
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +9 -0
- package/es/components/table/Actions/component/ViewMode/index.d.ts +9 -0
- package/es/components/table/BasicTable/index.d.ts +3 -0
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/es/components/table/Gallery/index.d.ts +5 -0
- package/es/components/table/Table/index.d.ts +4 -0
- package/es/components/table/Table/utils.d.ts +161 -0
- package/es/components/table/hooks/useTableSetting.d.ts +21 -0
- package/es/components/table/hooks/useTransDataSource.d.ts +11 -0
- package/es/components/table/types.d.ts +268 -0
- package/es/components/translation/index.d.ts +17 -0
- package/es/components/versionModal/index.d.ts +23 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/es/hooks/useResponsive.d.ts +1 -1
- package/es/index.d.ts +271 -0
- package/es/locales/en-US.d.ts +565 -0
- package/es/locales/ja.d.ts +533 -0
- package/es/locales/pt.d.ts +533 -0
- package/es/locales/zh-CN.d.ts +560 -0
- package/es/locales/zh-TW.d.ts +560 -0
- package/lib/components/Pagination/index.d.ts +13 -0
- package/lib/components/PisellCards/index.d.ts +15 -0
- package/lib/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/lib/components/PisellTabbar/constants.d.ts +47 -0
- package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
- package/lib/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
- package/lib/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/lib/components/PisellTabbar/types.d.ts +90 -0
- package/lib/components/PisellTabbar/utils/index.d.ts +69 -0
- package/lib/components/SafeAreaTop/index.d.ts +5 -0
- package/lib/components/SafeAreaTop/types.d.ts +9 -0
- package/lib/components/appVersionControl/index.d.ts +4 -0
- package/lib/components/buttonGroupPreview/index.d.ts +19 -0
- package/lib/components/cardPro/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +4 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +48 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
- package/lib/components/drawer/index.d.ts +3 -0
- package/lib/components/filter/components/Dropdown/index.d.ts +10 -0
- package/lib/components/filter/components/Dropdown/types.d.ts +15 -0
- package/lib/components/filter/components/FilterButton/index.d.ts +5 -0
- package/lib/components/filter/components/FilterButton/types.d.ts +29 -0
- package/lib/components/filter/components/FilterItem/index.d.ts +9 -0
- package/lib/components/filter/components/QuickFilter/index.d.ts +16 -0
- package/lib/components/filter/types.d.ts +52 -0
- package/lib/components/iconfont/index.d.ts +8 -0
- package/lib/components/keyboard/index.d.ts +22 -0
- package/lib/components/page/index.d.ts +0 -1
- package/lib/components/pisell-config-provider/context.d.ts +22 -0
- package/lib/components/pisell-config-provider/index.d.ts +13 -0
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
- package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
- package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
- package/lib/components/pisellCurrency/PisellCurrency.d.ts +39 -0
- package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +6 -0
- package/lib/components/pisellEmail/PisellEmail.d.ts +37 -0
- package/lib/components/pisellEmpty/index.d.ts +19 -0
- package/lib/components/pisellFilter/index.d.ts +3 -0
- package/lib/components/pisellFilter/type.d.ts +7 -0
- package/lib/components/pisellFind/index.d.ts +62 -0
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +13 -0
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +59 -0
- package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +29 -0
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +22 -0
- package/lib/components/pisellFloorMapLayout/components/EdgeLayer.d.ts +37 -0
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +66 -0
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +39 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +7 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.d.ts +13 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +11 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +64 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +44 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +84 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +20 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +6 -0
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +59 -0
- package/lib/components/pisellFloorMapLayout/components/NodePortMarkers.d.ts +20 -0
- package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +61 -0
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +28 -0
- package/lib/components/pisellFloorMapLayout/components/index.d.ts +23 -0
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.d.ts +61 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.d.ts +15 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +85 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +91 -0
- package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
- package/lib/components/pisellFloorMapLayout/index.d.ts +37 -0
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +184 -0
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +184 -0
- package/lib/components/pisellFloorMapLayout/locales.d.ts +969 -0
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
- package/lib/components/pisellFloorMapLayout/types.d.ts +778 -0
- package/lib/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.d.ts +45 -0
- package/lib/components/pisellFloorMapLayout/utils/edgeRouting.d.ts +267 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +20 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasStage.d.ts +83 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +21 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +35 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.d.ts +44 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.d.ts +34 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
- package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
- package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
- package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
- package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
- package/lib/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
- package/lib/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
- package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/lib/components/pisellInput/index.d.ts +0 -1
- package/lib/components/pisellLongText/PisellLongText.d.ts +39 -0
- package/lib/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/lib/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +9 -0
- package/lib/components/pisellMultipleSelect/components/EditView.d.ts +8 -0
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +5 -0
- package/lib/components/pisellNumber/PisellNumber.d.ts +42 -0
- package/lib/components/pisellPhone/PisellPhone.d.ts +36 -0
- package/lib/components/pisellPhone/components/EditView.d.ts +19 -0
- package/lib/components/pisellPhone/constants/countryCodes.d.ts +20 -0
- package/lib/components/pisellPhone/types.d.ts +209 -0
- package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/lib/components/pisellRating/PisellRating.d.ts +31 -0
- package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +9 -0
- package/lib/components/pisellRecordBoard/index.d.ts +53 -0
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +11 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +43 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +26 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +7 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.d.ts +26 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +19 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +9 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +236 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.d.ts +7 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +21 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +49 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +23 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +57 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +27 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.d.ts +11 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.d.ts +3 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.d.ts +3 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +12 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +50 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +22 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +58 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +64 -0
- package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +24 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +12 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +13 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +19 -0
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
- package/lib/components/pisellRecordBoard/types.d.ts +874 -0
- package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +23 -0
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
- package/lib/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +27 -0
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +10 -0
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +10 -0
- package/lib/components/pisellReservationScheduleBand/index.d.ts +3 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
- package/lib/components/pisellShellFrame/types.d.ts +62 -0
- package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +40 -0
- package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +9 -0
- package/lib/components/pisellStatisticList/index.d.ts +22 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +10 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +14 -0
- package/lib/components/pisellTimeNavigator/index.d.ts +5 -0
- package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
- package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
- package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
- package/lib/components/pisellUrl/PisellUrl.d.ts +37 -0
- package/lib/components/pisellWalletPassCard/index.d.ts +146 -0
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/BookingItem/index.d.ts +10 -0
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +4 -0
- package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +36 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +11 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +21 -0
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +8 -0
- package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +22 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +13 -0
- package/lib/components/productCard/cartSkuCard/locales.d.ts +203 -0
- package/lib/components/productCard/components/Action/index.d.ts +3 -0
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +3 -0
- package/lib/components/productCard/components/Header/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Sales/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
- package/lib/components/productCard/components/Time/index.d.ts +4 -0
- package/lib/components/productCard/lineItem/BookingLineItem.d.ts +19 -0
- package/lib/components/productCard/lineItem/components/Holders/index.d.ts +9 -0
- package/lib/components/productCard/lineItem/components/Resources/index.d.ts +6 -0
- package/lib/components/productCard/lineItem/components/TimeRange/index.d.ts +11 -0
- package/lib/components/productCard/lineItem/locales.d.ts +23 -0
- package/lib/components/productCard/lineItem/types.d.ts +13 -0
- package/lib/components/productCard/locales.d.ts +138 -0
- package/lib/components/productCard/status.d.ts +32 -0
- package/lib/components/productCard/types.d.ts +96 -0
- package/lib/components/select/index.d.ts +9 -0
- package/lib/components/select-time/index.d.ts +13 -0
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +8 -0
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +9 -0
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +9 -0
- package/lib/components/table/BasicTable/index.d.ts +3 -0
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/lib/components/table/Gallery/index.d.ts +5 -0
- package/lib/components/table/Table/index.d.ts +4 -0
- package/lib/components/table/Table/utils.d.ts +161 -0
- package/lib/components/table/hooks/useTableSetting.d.ts +21 -0
- package/lib/components/table/hooks/useTransDataSource.d.ts +11 -0
- package/lib/components/table/types.d.ts +268 -0
- package/lib/components/translation/index.d.ts +17 -0
- package/lib/components/versionModal/index.d.ts +23 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/lib/hooks/useResponsive.d.ts +1 -1
- package/lib/index.d.ts +271 -0
- package/lib/locales/en-US.d.ts +565 -0
- package/lib/locales/ja.d.ts +533 -0
- package/lib/locales/pt.d.ts +533 -0
- package/lib/locales/zh-CN.d.ts +560 -0
- package/lib/locales/zh-TW.d.ts +560 -0
- package/package.json +1 -1
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { BaseTextInputProps } from '@pisell/utils';
|
|
3
|
+
/**
|
|
4
|
+
* 国家码配置类型
|
|
5
|
+
*/
|
|
6
|
+
export interface CountryCode {
|
|
7
|
+
/**
|
|
8
|
+
* 国家码
|
|
9
|
+
* @example '+86', '+1', '+44'
|
|
10
|
+
*/
|
|
11
|
+
code: string;
|
|
12
|
+
/**
|
|
13
|
+
* 国家名称
|
|
14
|
+
* @example '中国', '美国', '英国'
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* 国旗 emoji 或图标
|
|
19
|
+
* @example '🇨🇳', '🇺🇸', '🇬🇧'
|
|
20
|
+
*/
|
|
21
|
+
flag: string;
|
|
22
|
+
/**
|
|
23
|
+
* 号码格式(可选,用于显示占位符)
|
|
24
|
+
* @example 'XXX XXXX XXXX', '(XXX) XXX-XXXX'
|
|
25
|
+
*/
|
|
26
|
+
format?: string;
|
|
27
|
+
/**
|
|
28
|
+
* 最大长度
|
|
29
|
+
* @example 11 (中国), 10 (美国)
|
|
30
|
+
*/
|
|
31
|
+
maxLength: number;
|
|
32
|
+
/**
|
|
33
|
+
* 校验正则
|
|
34
|
+
* @example /^1[3-9]\d{9}$/ (中国手机号)
|
|
35
|
+
*/
|
|
36
|
+
pattern: RegExp;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* PisellPhone 组件 Props 类型定义
|
|
40
|
+
*
|
|
41
|
+
* 继承 BaseTextInputProps,添加电话号码特有的配置
|
|
42
|
+
*/
|
|
43
|
+
export interface PisellPhoneProps extends BaseTextInputProps {
|
|
44
|
+
/**
|
|
45
|
+
* 状态模式
|
|
46
|
+
* @default 'edit'
|
|
47
|
+
*/
|
|
48
|
+
mode?: 'read' | 'edit';
|
|
49
|
+
/**
|
|
50
|
+
* 是否禁用
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
disabled?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* 当前选中的国家码
|
|
56
|
+
* @default '+86'
|
|
57
|
+
* @example '+86', '+1', '+44'
|
|
58
|
+
*/
|
|
59
|
+
countryCode?: string;
|
|
60
|
+
/**
|
|
61
|
+
* 默认国家码(非受控模式)
|
|
62
|
+
* @default '+86'
|
|
63
|
+
*/
|
|
64
|
+
defaultCountryCode?: string;
|
|
65
|
+
/**
|
|
66
|
+
* 是否显示国家码选择器
|
|
67
|
+
* @default true
|
|
68
|
+
*/
|
|
69
|
+
showCountrySelector?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* 可用的国家码列表(从预设24个中过滤)
|
|
72
|
+
* @example ['+86', '+1', '+44']
|
|
73
|
+
*/
|
|
74
|
+
availableCountryCodes?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* 常用国家码(置顶显示)
|
|
77
|
+
* @example ['+86', '+1']
|
|
78
|
+
*/
|
|
79
|
+
commonCountryCodes?: string[];
|
|
80
|
+
/**
|
|
81
|
+
* 完全自定义国家码列表(覆盖预设)
|
|
82
|
+
*/
|
|
83
|
+
countryCodes?: CountryCode[];
|
|
84
|
+
/**
|
|
85
|
+
* 国家码变更回调
|
|
86
|
+
* @param code 新的国家码
|
|
87
|
+
*/
|
|
88
|
+
onCountryCodeChange?: (code: string) => void;
|
|
89
|
+
/**
|
|
90
|
+
* 是否自动格式化
|
|
91
|
+
* @default true
|
|
92
|
+
*/
|
|
93
|
+
autoFormat?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* 格式化规则
|
|
96
|
+
* @default 'auto'
|
|
97
|
+
*/
|
|
98
|
+
formatRule?: 'mobile' | 'landline' | 'auto';
|
|
99
|
+
/**
|
|
100
|
+
* 格式化分隔符
|
|
101
|
+
* @default ' '
|
|
102
|
+
*/
|
|
103
|
+
separator?: string;
|
|
104
|
+
/**
|
|
105
|
+
* 是否启用拨号(移动端)
|
|
106
|
+
* @default true
|
|
107
|
+
*/
|
|
108
|
+
enableDial?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* 是否显示拨号图标
|
|
111
|
+
* @default false
|
|
112
|
+
*/
|
|
113
|
+
showDialIcon?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* 拨号回调
|
|
116
|
+
* @param phone 完整的电话号码(含国家码)
|
|
117
|
+
*/
|
|
118
|
+
onDial?: (phone: string) => void;
|
|
119
|
+
/**
|
|
120
|
+
* 是否脱敏显示(只读态)
|
|
121
|
+
* @default false
|
|
122
|
+
*/
|
|
123
|
+
enableMasking?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* 脱敏模式
|
|
126
|
+
* - middle: 中间4位脱敏(138****0000)
|
|
127
|
+
* - last: 后4位脱敏(1380000****)
|
|
128
|
+
* - custom: 使用自定义函数
|
|
129
|
+
* @default 'middle'
|
|
130
|
+
*/
|
|
131
|
+
maskPattern?: 'middle' | 'last' | 'custom';
|
|
132
|
+
/**
|
|
133
|
+
* 自定义脱敏函数
|
|
134
|
+
* @param phone 电话号码
|
|
135
|
+
* @returns 脱敏后的号码
|
|
136
|
+
*/
|
|
137
|
+
customMask?: (phone: string) => string;
|
|
138
|
+
/**
|
|
139
|
+
* 是否显示国旗图标
|
|
140
|
+
* @default true
|
|
141
|
+
*/
|
|
142
|
+
showFlag?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* 字号
|
|
145
|
+
* @example '14px' 或 14
|
|
146
|
+
* @default 16
|
|
147
|
+
*/
|
|
148
|
+
fontSize?: string | number;
|
|
149
|
+
/**
|
|
150
|
+
* 字重
|
|
151
|
+
* @example 'bold' 或 600
|
|
152
|
+
* @default 500
|
|
153
|
+
*/
|
|
154
|
+
fontWeight?: string | number;
|
|
155
|
+
/**
|
|
156
|
+
* 文本颜色
|
|
157
|
+
* @example '#000000'
|
|
158
|
+
* @default '#101828'
|
|
159
|
+
*/
|
|
160
|
+
color?: string;
|
|
161
|
+
/**
|
|
162
|
+
* 占位文本
|
|
163
|
+
* @default '请输入电话号码'
|
|
164
|
+
*/
|
|
165
|
+
placeholder?: string;
|
|
166
|
+
/**
|
|
167
|
+
* 最大长度(根据国家码自动设置)
|
|
168
|
+
*/
|
|
169
|
+
maxLength?: number;
|
|
170
|
+
/**
|
|
171
|
+
* 是否显示清空按钮
|
|
172
|
+
* @default false
|
|
173
|
+
*/
|
|
174
|
+
allowClear?: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* 是否自动聚焦
|
|
177
|
+
* @default false
|
|
178
|
+
*/
|
|
179
|
+
autoFocus?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* 是否校验格式
|
|
182
|
+
* @default true
|
|
183
|
+
*/
|
|
184
|
+
validateFormat?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* 自定义校验函数
|
|
187
|
+
* @param phone 电话号码(纯数字)
|
|
188
|
+
* @param countryCode 国家码
|
|
189
|
+
* @returns true 表示校验通过,string 表示错误信息
|
|
190
|
+
*/
|
|
191
|
+
customValidator?: (phone: string, countryCode: string) => boolean | string;
|
|
192
|
+
/**
|
|
193
|
+
* 自定义类名
|
|
194
|
+
*/
|
|
195
|
+
className?: string;
|
|
196
|
+
/**
|
|
197
|
+
* 自定义样式
|
|
198
|
+
*/
|
|
199
|
+
style?: CSSProperties;
|
|
200
|
+
/**
|
|
201
|
+
* ARIA 标签
|
|
202
|
+
*/
|
|
203
|
+
'aria-label'?: string;
|
|
204
|
+
/**
|
|
205
|
+
* ARIA 描述
|
|
206
|
+
*/
|
|
207
|
+
'aria-describedby'?: string;
|
|
208
|
+
}
|
|
209
|
+
export type { DisplayState, ValidationResult, TextInputState } from '@pisell/utils';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { CountryCode, PisellPhoneProps } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* 根据国家码获取国旗 emoji
|
|
4
|
+
* @param countryCode 国家码
|
|
5
|
+
* @returns 国旗 emoji
|
|
6
|
+
*/
|
|
7
|
+
export declare function getCountryFlag(countryCode: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* 根据国家码获取最大长度
|
|
10
|
+
* @param countryCode 国家码
|
|
11
|
+
* @param countryCodes 国家码列表
|
|
12
|
+
* @returns 最大长度
|
|
13
|
+
*/
|
|
14
|
+
export declare function getMaxLength(countryCode: string, countryCodes: CountryCode[]): number;
|
|
15
|
+
/**
|
|
16
|
+
* 根据国家码获取配置
|
|
17
|
+
* @param countryCode 国家码
|
|
18
|
+
* @param countryCodes 国家码列表
|
|
19
|
+
* @returns 国家码配置
|
|
20
|
+
*/
|
|
21
|
+
export declare function getCountryConfig(countryCode: string, countryCodes: CountryCode[]): CountryCode | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* 获取最终的国家码列表
|
|
24
|
+
*
|
|
25
|
+
* 优先级:
|
|
26
|
+
* 1. props.countryCodes(完全自定义)
|
|
27
|
+
* 2. props.availableCountryCodes(从预设中过滤)
|
|
28
|
+
* 3. PRESET_COUNTRY_CODES(默认全部24个)
|
|
29
|
+
*
|
|
30
|
+
* 然后根据 props.commonCountryCodes 排序(置顶)
|
|
31
|
+
*
|
|
32
|
+
* @param props 组件 Props
|
|
33
|
+
* @returns 国家码列表
|
|
34
|
+
*/
|
|
35
|
+
export declare function getCountryCodes(props: PisellPhoneProps): CountryCode[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellRatingProps } from './types';
|
|
3
|
+
import './PisellRating.less';
|
|
4
|
+
/**
|
|
5
|
+
* PisellRating 评分组件
|
|
6
|
+
*
|
|
7
|
+
* 基于 Ant Design Rate 组件开发,提供直观的星级评分交互。
|
|
8
|
+
* 支持只读、编辑、禁用三种状态。
|
|
9
|
+
*
|
|
10
|
+
* @param props 组件 Props
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* // 基础使用
|
|
14
|
+
* const [rating, setRating] = useState(0);
|
|
15
|
+
* <PisellRating value={rating} onChange={setRating} />
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* // 只读态
|
|
19
|
+
* <PisellRating mode="read" value={4.5} allowHalf />
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* // 带评分描述
|
|
23
|
+
* <PisellRating
|
|
24
|
+
* value={rating}
|
|
25
|
+
* onChange={setRating}
|
|
26
|
+
* tooltips={['很差', '差', '一般', '好', '很好']}
|
|
27
|
+
* />
|
|
28
|
+
*/
|
|
29
|
+
export declare const PisellRating: React.FC<PisellRatingProps>;
|
|
30
|
+
declare const _default: React.NamedExoticComponent<PisellRatingProps>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RecordBoardProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* RecordBoard 容器:提供统一的 data / pagination / search 上下文。
|
|
5
|
+
* 打散 props:列表/分页/搜索/多选、grid/toolBar/…;可选根级 **floorMap**(兼容透传)。
|
|
6
|
+
* 平面图推荐在 ShellFrame 内使用 **PisellRecordBoard.FloorMap** 声明,与根级 `floorMap` 合并(子优先)。
|
|
7
|
+
*/
|
|
8
|
+
declare const PisellRecordBoard: React.FC<RecordBoardProps>;
|
|
9
|
+
export default PisellRecordBoard;
|
|
@@ -0,0 +1,53 @@
|
|
|
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';
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
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;
|
|
@@ -0,0 +1,26 @@
|
|
|
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;
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
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;
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
@@ -0,0 +1,17 @@
|
|
|
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;
|
|
@@ -0,0 +1,19 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,10 @@
|
|
|
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;
|