@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,109 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 平面图资源选择槽位的通用类型与工具。
|
|
3
|
-
* 默认由 `@pisell/materials` 的 `PisellResourcePickerModal` 承担;
|
|
4
|
-
* 业务可通过 `renderFilterBar` 注入 Tabbar 等筛选区,或通过 `renderResourcePickerModal` 整页覆盖。
|
|
5
|
-
*/
|
|
6
|
-
import type { ReactNode } from 'react';
|
|
7
|
-
/** 选择模式 */
|
|
8
|
-
export declare type PisellCardPickerMode = 'single' | 'multiple';
|
|
9
|
-
/** 可选条目:至少包含稳定主键 id */
|
|
10
|
-
export interface PisellCardPickerItem {
|
|
11
|
-
id: string;
|
|
12
|
-
[key: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
/** 分类路径,最多 3 级(不足时后续为 null;未选层级表示「全部」) */
|
|
15
|
-
export declare type PisellCardPickerCategoryPath = [
|
|
16
|
-
string | null | undefined,
|
|
17
|
-
string | null | undefined,
|
|
18
|
-
string | null | undefined
|
|
19
|
-
];
|
|
20
|
-
/** 单级分类配置(最多 3 级) */
|
|
21
|
-
export interface PisellCardPickerCategoryLevelConfig {
|
|
22
|
-
/** 嵌套模式下该级行左侧标签(如「省」「市」「区/镇」) */
|
|
23
|
-
label?: string;
|
|
24
|
-
/**
|
|
25
|
-
* parallel 模式:从 item[field] 读取该维度的 key。
|
|
26
|
-
* nested 模式:请用 getCategoryPath / nestedPathField 从单字段拆路径。
|
|
27
|
-
*/
|
|
28
|
-
field?: string;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* nested:同一维度嵌套分级(广东 → 中山 → 三乡),子级依赖父级已选。
|
|
32
|
-
* parallel:三个独立维度(每级互不影响)。
|
|
33
|
-
*/
|
|
34
|
-
export declare type PisellCardPickerCategoryMode = 'nested' | 'parallel';
|
|
35
|
-
/** 分类筛选配置(最多 3 级;数据只有 1 级时 UI 只展示有值的那一行) */
|
|
36
|
-
export interface PisellCardPickerCategoryConfig {
|
|
37
|
-
/** 默认 nested */
|
|
38
|
-
mode?: PisellCardPickerCategoryMode;
|
|
39
|
-
/**
|
|
40
|
-
* 最多 3 级配置位。
|
|
41
|
-
* nested:单字段拆路径;仅 1 段时只出现第 1 行,多段时再逐级出现。
|
|
42
|
-
*/
|
|
43
|
-
levels: [
|
|
44
|
-
PisellCardPickerCategoryLevelConfig?,
|
|
45
|
-
PisellCardPickerCategoryLevelConfig?,
|
|
46
|
-
PisellCardPickerCategoryLevelConfig?
|
|
47
|
-
];
|
|
48
|
-
/** 自定义 [L1,L2,L3];优先于 levels[].field */
|
|
49
|
-
getCategoryPath?: (item: PisellCardPickerItem) => PisellCardPickerCategoryPath;
|
|
50
|
-
/**
|
|
51
|
-
* nested 便捷项:从 item[nestedPathField] 用 `/` `>` 等拆成最多 3 段。
|
|
52
|
-
* 与 getCategoryPath 同时存在时以 getCategoryPath 为准。
|
|
53
|
-
*/
|
|
54
|
-
nestedPathField?: string;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* 卡片小标签(如人数、状态、面积等)。
|
|
58
|
-
* - text:必填,纯文本内容
|
|
59
|
-
* - icon:可选 ReactNode,前置图标(如 TeamOutlined)
|
|
60
|
-
* 业务自由组合多个;空数组等价于不展示。
|
|
61
|
-
*/
|
|
62
|
-
export interface PisellCardPickerCardBadge {
|
|
63
|
-
text: string;
|
|
64
|
-
icon?: ReactNode;
|
|
65
|
-
}
|
|
66
|
-
export interface PisellCardPickerCardMeta {
|
|
67
|
-
title: string;
|
|
68
|
-
subtitles: string[];
|
|
69
|
-
/**
|
|
70
|
-
* 卡片末行的标签数组(如人数 / 状态)。比 subtitle 更紧凑,支持前置 icon。
|
|
71
|
-
*/
|
|
72
|
-
badges?: PisellCardPickerCardBadge[];
|
|
73
|
-
/**
|
|
74
|
-
* 左侧缩略图/预览节点。传入字符串走内置 `<img>`,传入 ReactNode 直接渲染
|
|
75
|
-
* (如平面图 View All 的 palette preview cell)。
|
|
76
|
-
*/
|
|
77
|
-
image?: ReactNode | string;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* 平面图工具栏「打开资源选择」槽位 props。
|
|
81
|
-
* 与 `PisellProResourcePickerModalProps` 字段对齐;业务注入 modal 时可透传
|
|
82
|
-
* `categoryConfig` / `getSearchText` / `getCardMeta` 等扩展项。
|
|
83
|
-
*/
|
|
84
|
-
export interface FloorMapResourcePickerSlotProps {
|
|
85
|
-
open: boolean;
|
|
86
|
-
onClose: () => void;
|
|
87
|
-
onConfirm: (selectedIds: string[]) => void;
|
|
88
|
-
records: PisellCardPickerItem[];
|
|
89
|
-
mode?: PisellCardPickerMode;
|
|
90
|
-
value?: string[];
|
|
91
|
-
title?: string;
|
|
92
|
-
disabledIds?: string[];
|
|
93
|
-
/** 最多三级分类;不传则仅搜索 + 列表 */
|
|
94
|
-
categoryConfig?: PisellCardPickerCategoryConfig;
|
|
95
|
-
getSearchText?: (record: PisellCardPickerItem) => string;
|
|
96
|
-
getCardMeta?: (record: PisellCardPickerItem) => PisellCardPickerCardMeta;
|
|
97
|
-
renderCard?: (record: PisellCardPickerItem, ctx: {
|
|
98
|
-
selected: boolean;
|
|
99
|
-
disabled: boolean;
|
|
100
|
-
}) => ReactNode;
|
|
101
|
-
zIndex?: number;
|
|
102
|
-
width?: number;
|
|
103
|
-
className?: string;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* 把单字段中的层级路径解析为 [L1, L2, L3]。
|
|
107
|
-
* 例:`广东/中山/三乡` → `['广东','中山','三乡']`;不足三级后续为 null。
|
|
108
|
-
*/
|
|
109
|
-
export declare function parseNestedPathSegments(raw: unknown, maxDepth?: number): PisellCardPickerCategoryPath;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { FloorMapElementKindConfig } from '../types';
|
|
2
|
-
import { type FloorMapBuiltinShapeDef } from './floorMapBuiltinShapes';
|
|
3
|
-
/** @deprecated 使用 {@link FLOOR_MAP_TOOLBAR_PALETTE_SIDEBAR_LIMIT} */
|
|
4
|
-
export declare const FLOOR_MAP_TOOLBAR_PALETTE_VISIBLE_LIMIT = 5;
|
|
5
|
-
/** 解析侧栏每类展示上限(至少 1) */
|
|
6
|
-
export declare function resolvePaletteSidebarVisibleLimit(limit?: number): number;
|
|
7
|
-
/** 分类下图元数是否应显示「查看全部」 */
|
|
8
|
-
export declare function shouldShowPaletteViewAll(entryCount: number, limit?: number): boolean;
|
|
9
|
-
/** 侧栏直接展示的 palette 条目(前 N 项) */
|
|
10
|
-
export declare function getPaletteSidebarVisibleEntries<T>(entries: T[], limit?: number): T[];
|
|
11
|
-
/** 批量从弹窗落点时的单项描述(与 {@link FloorMapPlaceMode} scene 子集对齐) */
|
|
12
|
-
export interface FloorMapPaletteBulkPlaceItem {
|
|
13
|
-
elementKind: string;
|
|
14
|
-
builtinShapeKey?: string;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 侧栏 / 弹窗共用的 palette 条目:普通 kind 一项;内置图形 kind 按预设展开多项。
|
|
18
|
-
*/
|
|
19
|
-
export interface FloorMapToolbarPaletteEntry {
|
|
20
|
-
key: string;
|
|
21
|
-
kind: FloorMapElementKindConfig;
|
|
22
|
-
builtinShapeKey?: string;
|
|
23
|
-
label: string;
|
|
24
|
-
shapeDef?: FloorMapBuiltinShapeDef;
|
|
25
|
-
}
|
|
26
|
-
/** 该 palette 条目是否点击即落画布(装饰内置图形单卡、无绑定 kind 等) */
|
|
27
|
-
export declare function isDirectPlacePaletteEntry(entry: FloorMapToolbarPaletteEntry): boolean;
|
|
28
|
-
export declare function buildToolbarPaletteEntries(kinds: FloorMapElementKindConfig[], resolveBuiltinLabel: (shapeDef: FloorMapBuiltinShapeDef) => string): FloorMapToolbarPaletteEntry[];
|
|
29
|
-
/** palette 条目 → 批量落点 payload(每项数量 1) */
|
|
30
|
-
export declare function paletteEntriesToBulkPlaceItems(entries: FloorMapToolbarPaletteEntry[]): FloorMapPaletteBulkPlaceItem[];
|
|
31
|
-
/**
|
|
32
|
-
* 按弹窗内各条目数量展开为落点列表(数量为 n 则重复 n 次,落点时阶梯偏移)。
|
|
33
|
-
*/
|
|
34
|
-
export declare function expandPaletteEntriesByQuantity(entries: FloorMapToolbarPaletteEntry[], quantities: Readonly<Record<string, number>>): FloorMapPaletteBulkPlaceItem[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { FloorMapViewConfig } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* 与 {@link useFloorMapEditState} 中 `useEffect` 逻辑一致:补全 `canvasUi`、空 `elementKinds` 时的默认调色板、`sceneElements`。
|
|
4
|
-
* 用于从上游 prop 得到「可与当前 draft 公平比较」的基准配置。
|
|
5
|
-
*/
|
|
6
|
-
export declare function normalizeFloorMapViewConfigFromProp(floorMapConfigProp: FloorMapViewConfig): FloorMapViewConfig;
|
|
7
|
-
/** 判断当前编辑草稿是否与基准配置一致(数组顺序无关) */
|
|
8
|
-
export declare function floorMapViewConfigsEqual(a: FloorMapViewConfig, b: FloorMapViewConfig): boolean;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellLongTextProps } from './types';
|
|
3
|
-
import './PisellLongText.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellLongText 长文本/多行文本组件
|
|
6
|
-
*
|
|
7
|
-
* 多行文本输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design TextArea 组件开发,提供展开/折叠功能和完整的校验框架。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 编辑态
|
|
14
|
-
* <PisellLongText
|
|
15
|
-
* placeholder="请输入内容"
|
|
16
|
-
* rows={3}
|
|
17
|
-
* maxLength={500}
|
|
18
|
-
* showCount
|
|
19
|
-
* />
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* // 只读态(展开折叠)
|
|
23
|
-
* <PisellLongText
|
|
24
|
-
* mode="read"
|
|
25
|
-
* value={longText}
|
|
26
|
-
* maxLines={3}
|
|
27
|
-
* enableExpand
|
|
28
|
-
* />
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* // 自动高度
|
|
32
|
-
* <PisellLongText
|
|
33
|
-
* autoSize={{ minRows: 3, maxRows: 10 }}
|
|
34
|
-
* placeholder="自动调整高度"
|
|
35
|
-
* />
|
|
36
|
-
*/
|
|
37
|
-
export declare const PisellLongText: React.FC<PisellLongTextProps>;
|
|
38
|
-
declare const _default: React.NamedExoticComponent<PisellLongTextProps>;
|
|
39
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellMultipleSelect - 多选下拉组件
|
|
3
|
-
* 基于 Ant Design Select 封装,提供符合 Pisell 设计规范的多选功能
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { PisellMultipleSelectProps, MultipleSelectRef } from './types';
|
|
7
|
-
import './PisellMultipleSelect.less';
|
|
8
|
-
declare const PisellMultipleSelect: React.ForwardRefExoticComponent<PisellMultipleSelectProps<string | number> & React.RefAttributes<MultipleSelectRef<string | number>>>;
|
|
9
|
-
export default PisellMultipleSelect;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellMultipleSelect - EditView (编辑态视图)
|
|
3
|
-
* 正常可编辑状态下的渲染
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { EditViewProps } from '../types';
|
|
7
|
-
declare const EditView: React.ForwardRefExoticComponent<EditViewProps<string | number> & React.RefAttributes<any>>;
|
|
8
|
-
export default EditView;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellNumberProps } from './types';
|
|
3
|
-
import './PisellNumber.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellNumber 数值组件
|
|
6
|
-
*
|
|
7
|
-
* 通用的数值输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design InputNumber 组件开发,提供完整的校验框架。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 受控模式
|
|
14
|
-
* const [value, setValue] = useState(0);
|
|
15
|
-
* <PisellNumber
|
|
16
|
-
* value={value}
|
|
17
|
-
* onChange={setValue}
|
|
18
|
-
* min={0}
|
|
19
|
-
* max={100}
|
|
20
|
-
* />
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* // 非受控模式
|
|
24
|
-
* <PisellNumber
|
|
25
|
-
* defaultValue={10}
|
|
26
|
-
* min={0}
|
|
27
|
-
* max={999}
|
|
28
|
-
* step={10}
|
|
29
|
-
* />
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* // 只读态
|
|
33
|
-
* <PisellNumber
|
|
34
|
-
* mode="read"
|
|
35
|
-
* value={1234.567}
|
|
36
|
-
* precision={2}
|
|
37
|
-
* useGrouping
|
|
38
|
-
* />
|
|
39
|
-
*/
|
|
40
|
-
export declare const PisellNumber: React.FC<PisellNumberProps>;
|
|
41
|
-
declare const MemoizedPisellNumber: React.NamedExoticComponent<PisellNumberProps>;
|
|
42
|
-
export default MemoizedPisellNumber;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellPhoneProps } from './types';
|
|
3
|
-
import './PisellPhone.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellPhone 电话号码组件
|
|
6
|
-
*
|
|
7
|
-
* 电话号码输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design Input 和 Select 组件开发,提供国家码选择、自动格式化、格式校验和拨号功能。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 编辑态(中国手机号)
|
|
14
|
-
* <PisellPhone
|
|
15
|
-
* placeholder="请输入手机号"
|
|
16
|
-
* required
|
|
17
|
-
* />
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* // 只读态(可拨号)
|
|
21
|
-
* <PisellPhone
|
|
22
|
-
* mode="read"
|
|
23
|
-
* value="13800000000"
|
|
24
|
-
* countryCode="+86"
|
|
25
|
-
* />
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* // 国家码选择
|
|
29
|
-
* <PisellPhone
|
|
30
|
-
* showCountrySelector
|
|
31
|
-
* availableCountryCodes={['+86', '+1', '+44']}
|
|
32
|
-
* />
|
|
33
|
-
*/
|
|
34
|
-
export declare const PisellPhone: React.FC<PisellPhoneProps>;
|
|
35
|
-
declare const _default: React.NamedExoticComponent<PisellPhoneProps>;
|
|
36
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellPhoneProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* PisellPhone 编辑态视图组件
|
|
5
|
-
*
|
|
6
|
-
* 负责渲染编辑态的电话号码输入,包含国家码选择器和号码输入框
|
|
7
|
-
*
|
|
8
|
-
* 功能:
|
|
9
|
-
* - 国家码选择器(下拉,支持搜索)
|
|
10
|
-
* - 电话号码输入(只保留数字)
|
|
11
|
-
* - 自动格式化(根据国家码)
|
|
12
|
-
* - 动态设置最大长度(根据国家码)
|
|
13
|
-
* - 实时或失焦校验
|
|
14
|
-
* - 错误提示展示
|
|
15
|
-
*
|
|
16
|
-
* @param props 组件 Props
|
|
17
|
-
*/
|
|
18
|
-
declare const EditView: React.FC<PisellPhoneProps>;
|
|
19
|
-
export default EditView;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { CountryCode } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* 预设的国家码列表(24个常见国家)
|
|
4
|
-
*
|
|
5
|
-
* 包含:
|
|
6
|
-
* - 亚洲:中国、香港、澳门、台湾、日本、韩国、新加坡、马来西亚、泰国、印度
|
|
7
|
-
* - 欧洲:英国、法国、德国、意大利、西班牙、俄罗斯
|
|
8
|
-
* - 美洲:美国、加拿大、墨西哥、巴西
|
|
9
|
-
* - 大洋洲:澳大利亚、新西兰
|
|
10
|
-
* - 中东:阿联酋、沙特阿拉伯
|
|
11
|
-
*/
|
|
12
|
-
export declare const PRESET_COUNTRY_CODES: CountryCode[];
|
|
13
|
-
/**
|
|
14
|
-
* 默认国家码
|
|
15
|
-
*/
|
|
16
|
-
export declare const DEFAULT_COUNTRY_CODE = "+86";
|
|
17
|
-
/**
|
|
18
|
-
* 常用国家码(可作为默认的 commonCountryCodes)
|
|
19
|
-
*/
|
|
20
|
-
export declare const COMMON_COUNTRY_CODES: string[];
|
|
@@ -1,209 +0,0 @@
|
|
|
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';
|
|
@@ -1,35 +0,0 @@
|
|
|
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[];
|
|
@@ -1,31 +0,0 @@
|
|
|
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;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|