@pisell/materials 1.0.1078 → 1.0.1079
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +9 -0
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +163 -0
- package/es/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
- package/es/components/PisellCards/components/GraphicTextCard/components/GraphicArea.d.ts +24 -0
- package/es/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
- package/es/components/PisellCards/components/GraphicTextCard/components/index.d.ts +6 -0
- package/es/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
- package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
- package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
- package/es/components/PisellCards/components/GraphicTextCard/index.d.ts +5 -0
- package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +301 -0
- package/es/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
- package/es/components/PisellCards/components/TextCard/TextCard.stories.d.ts +183 -0
- package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +27 -0
- package/es/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
- package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
- package/es/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
- package/es/components/PisellCards/components/TextCard/index.d.ts +5 -0
- package/es/components/PisellCards/components/TextCard/types.d.ts +277 -0
- package/es/components/PisellCards/components/index.d.ts +10 -0
- package/es/components/PisellCards/index.d.ts +17 -0
- package/es/components/PisellContactBrief/PisellContactBrief.stories.d.ts +31 -0
- package/es/components/PisellContactBrief/components/index.d.ts +5 -0
- package/es/components/PisellContactBrief/index.d.ts +6 -0
- package/es/components/PisellContactBrief/locales.d.ts +55 -0
- package/es/components/PisellContactBrief/types.d.ts +82 -0
- package/es/components/PisellFields/index.d.ts +37 -0
- package/es/components/PisellLayouts/index.d.ts +37 -0
- package/es/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/es/components/PisellTabbar/PisellTabbar.d.ts +20 -0
- package/es/components/PisellTabbar/index.d.ts +9 -0
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
- package/es/components/PisellTabbar/template/Template1/index.d.ts +6 -0
- package/es/components/PisellTabbar2/PisellTabbar.d.ts +23 -0
- package/es/components/PisellTabbar2/components/TabbarLevel.d.ts +8 -0
- package/es/components/PisellTabbar2/components/index.d.ts +1 -0
- package/es/components/PisellTabbar2/index.d.ts +6 -0
- package/es/components/PisellTabbar3/PisellTabbar.d.ts +20 -0
- package/es/components/PisellTabbar3/index.d.ts +6 -0
- package/es/components/Template/[ComponentName].d.ts +0 -0
- package/es/components/appVersionControl/index.d.ts +5 -0
- package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +201 -0
- package/es/components/dataSourceComponents/dataSourceForm/serve.js +4 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +5 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +16 -15
- package/es/components/drag-sort-tree/index.d.ts +4 -0
- package/es/components/filter/components/Dropdown/types.d.ts +13 -0
- package/es/components/filter/components/FilterButton/types.d.ts +24 -0
- package/es/components/filter/types.d.ts +48 -0
- package/es/components/hardwareErrorTip/demo.d.ts +3 -0
- package/es/components/hardwareErrorTip/errorCard/index.d.ts +29 -0
- package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +13 -0
- package/es/components/hardwareErrorTip/index.d.ts +19 -0
- package/es/components/hardwareErrorTip/logCard/index.d.ts +28 -0
- package/es/components/hardwareErrorTip/types.d.ts +28 -0
- package/es/components/iconfont/index.d.ts +8 -0
- package/es/components/login-and-register/index.d.ts +82 -0
- package/es/components/pisell-config-provider/index.d.ts +13 -0
- package/es/components/pisellActionPanel/PisellActionPanel.d.ts +13 -0
- package/es/components/pisellActionPanel/PisellActionPanel.stories.d.ts +19 -0
- package/es/components/pisellActionPanel/index.d.ts +6 -0
- package/es/components/pisellActionPanel/types.d.ts +83 -0
- package/es/components/pisellBaseCard/PisellBaseCard.d.ts +8 -0
- package/es/components/pisellBaseCard/PisellBaseCard.stories.d.ts +19 -0
- package/es/components/pisellBaseCard/index.d.ts +5 -0
- package/es/components/pisellBaseCard/types.d.ts +45 -0
- package/es/components/pisellBatchActionBar/index.d.ts +6 -0
- package/es/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +15 -0
- package/es/components/pisellCustomerBrief/PisellCustomerBrief.stories.d.ts +23 -0
- package/es/components/pisellCustomerBrief/index.d.ts +6 -0
- package/es/components/pisellCustomerBrief/types.d.ts +82 -0
- package/es/components/pisellDataSourceContainer/hooks/useHandleAction.d.ts +32 -0
- package/es/components/pisellDataSourceContainer/provider/ChildComponentProps.d.ts +13 -0
- package/es/components/pisellDataSourceContainer/provider/RefManager.d.ts +9 -0
- package/es/components/pisellDataSourceContainer/type.d.ts +84 -0
- package/es/components/pisellEmpty/index.d.ts +19 -0
- package/es/components/pisellEntityCard/PisellEntityCard.d.ts +8 -0
- package/es/components/pisellEntityCard/PisellEntityCard.stories.d.ts +47 -0
- package/es/components/pisellEntityCard/index.d.ts +5 -0
- package/es/components/pisellEntityCard/types.d.ts +144 -0
- package/es/components/pisellExport/PisellExport.d.ts +9 -0
- package/es/components/pisellExport/PisellExport.stories.d.ts +45 -0
- package/es/components/pisellExport/index.d.ts +2 -0
- package/es/components/pisellExport/types.d.ts +63 -0
- package/es/components/pisellFilter/type.d.ts +7 -0
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +55 -0
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +46 -0
- package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +53 -0
- package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +27 -0
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +19 -0
- package/es/components/pisellFloorMapLayout/components/index.d.ts +21 -0
- package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
- package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
- package/es/components/pisellFloorMapLayout/index.d.ts +25 -0
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +113 -0
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +113 -0
- package/es/components/pisellFloorMapLayout/locales.d.ts +551 -0
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +18 -0
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
- package/es/components/pisellFloorMapLayout/types.d.ts +604 -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/floorMapFallbackRender.d.ts +11 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +17 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
- package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
- package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
- package/es/components/pisellGridPro/index.d.ts +4 -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/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/pisellImport/PisellImport.d.ts +9 -0
- package/es/components/pisellImport/PisellImport.stories.d.ts +49 -0
- package/es/components/pisellImport/index.d.ts +2 -0
- package/es/components/pisellImport/types.d.ts +85 -0
- package/es/components/pisellList01/index.d.ts +17 -0
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/es/components/pisellPhone/PisellPhone.stories.d.ts +80 -0
- package/es/components/pisellPhone/components/DisabledView.d.ts +16 -0
- package/es/components/pisellPhone/components/ReadOnlyView.d.ts +17 -0
- package/es/components/pisellPhone/constants/countryCodes.d.ts +21 -0
- package/es/components/pisellPhone/index.d.ts +8 -0
- package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/es/components/pisellPhone/utils/index.d.ts +6 -0
- package/es/components/pisellQuickFilter/type.d.ts +12 -0
- package/es/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
- package/es/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
- package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
- package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
- package/es/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
- package/es/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
- package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +3 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +7 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +4 -0
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +21 -0
- package/es/components/pisellRecordBoard/types.d.ts +468 -0
- package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +20 -0
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
- package/es/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
- package/es/components/pisellReservationSchedule/locales.d.ts +25 -0
- package/es/components/pisellReservationSchedule/types.d.ts +47 -0
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
- package/es/components/pisellReservationScheduleBand/index.d.ts +2 -0
- package/es/components/pisellReservationScheduleBand/types.d.ts +57 -0
- package/es/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
- package/es/components/pisellShellFrame/PisellShellFrame.stories.d.ts +15 -0
- package/es/components/pisellShellFrame/index.d.ts +2 -0
- package/es/components/pisellShellFrame/types.d.ts +56 -0
- package/es/components/pisellStatisticList/index.d.ts +22 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
- package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +25 -0
- package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +33 -0
- package/es/components/pisellTimeNavigator/components/index.d.ts +5 -0
- package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
- package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
- package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
- package/es/components/pisellTimeNavigator/index.d.ts +5 -0
- package/es/components/pisellTimeNavigator/utils/index.d.ts +35 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +9 -0
- package/es/components/productCard/cartSkuCard/locales.d.ts +163 -0
- package/es/components/productCard/components/Header/Actions/index.d.ts +4 -0
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
- package/es/components/productCard/components/Time/index.d.ts +4 -0
- package/es/components/productCard/status.d.ts +32 -0
- package/es/components/productCard/types.d.ts +85 -0
- package/es/components/table/Actions/component/ViewMode/index.d.ts +9 -0
- package/es/components/table/Table/fields/index.d.ts +2 -2
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/types.d.ts +270 -0
- package/es/components/versionModal/index.d.ts +24 -0
- package/es/locales/en-US.d.ts +439 -0
- package/es/locales/index.d.ts +1 -0
- package/es/locales/ja.d.ts +360 -0
- package/es/locales/pt.d.ts +360 -0
- package/es/locales/zh-CN.d.ts +434 -0
- package/es/locales/zh-TW.d.ts +434 -0
- package/es/theme/pisell-components.d.ts +14 -0
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +9 -0
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +163 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/GraphicArea.d.ts +24 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
- package/lib/components/PisellCards/components/GraphicTextCard/components/index.d.ts +6 -0
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
- package/lib/components/PisellCards/components/GraphicTextCard/index.d.ts +5 -0
- package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +301 -0
- package/lib/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
- package/lib/components/PisellCards/components/TextCard/TextCard.stories.d.ts +183 -0
- package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +27 -0
- package/lib/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
- package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
- package/lib/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
- package/lib/components/PisellCards/components/TextCard/index.d.ts +5 -0
- package/lib/components/PisellCards/components/TextCard/types.d.ts +277 -0
- package/lib/components/PisellCards/components/index.d.ts +10 -0
- package/lib/components/PisellCards/index.d.ts +17 -0
- package/lib/components/PisellContactBrief/PisellContactBrief.stories.d.ts +31 -0
- package/lib/components/PisellContactBrief/components/index.d.ts +5 -0
- package/lib/components/PisellContactBrief/index.d.ts +6 -0
- package/lib/components/PisellContactBrief/locales.d.ts +55 -0
- package/lib/components/PisellContactBrief/types.d.ts +82 -0
- package/lib/components/PisellFields/index.d.ts +37 -0
- package/lib/components/PisellLayouts/index.d.ts +37 -0
- package/lib/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/lib/components/PisellTabbar/PisellTabbar.d.ts +20 -0
- package/lib/components/PisellTabbar/index.d.ts +9 -0
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
- package/lib/components/PisellTabbar/template/Template1/index.d.ts +6 -0
- package/lib/components/PisellTabbar2/PisellTabbar.d.ts +23 -0
- package/lib/components/PisellTabbar2/components/TabbarLevel.d.ts +8 -0
- package/lib/components/PisellTabbar2/components/index.d.ts +1 -0
- package/lib/components/PisellTabbar2/index.d.ts +6 -0
- package/lib/components/PisellTabbar3/PisellTabbar.d.ts +20 -0
- package/lib/components/PisellTabbar3/index.d.ts +6 -0
- package/lib/components/Template/[ComponentName].d.ts +0 -0
- package/lib/components/appVersionControl/index.d.ts +5 -0
- package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +201 -0
- package/lib/components/dataSourceComponents/dataSourceForm/serve.js +4 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +5 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +16 -15
- package/lib/components/drag-sort-tree/index.d.ts +4 -0
- package/lib/components/filter/components/Dropdown/types.d.ts +13 -0
- package/lib/components/filter/components/FilterButton/types.d.ts +24 -0
- package/lib/components/filter/types.d.ts +48 -0
- package/lib/components/hardwareErrorTip/demo.d.ts +3 -0
- package/lib/components/hardwareErrorTip/errorCard/index.d.ts +29 -0
- package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +13 -0
- package/lib/components/hardwareErrorTip/index.d.ts +19 -0
- package/lib/components/hardwareErrorTip/logCard/index.d.ts +28 -0
- package/lib/components/hardwareErrorTip/types.d.ts +28 -0
- package/lib/components/iconfont/index.d.ts +8 -0
- package/lib/components/login-and-register/index.d.ts +82 -0
- package/lib/components/pisell-config-provider/index.d.ts +13 -0
- package/lib/components/pisellActionPanel/PisellActionPanel.d.ts +13 -0
- package/lib/components/pisellActionPanel/PisellActionPanel.stories.d.ts +19 -0
- package/lib/components/pisellActionPanel/index.d.ts +6 -0
- package/lib/components/pisellActionPanel/types.d.ts +83 -0
- package/lib/components/pisellBaseCard/PisellBaseCard.d.ts +8 -0
- package/lib/components/pisellBaseCard/PisellBaseCard.stories.d.ts +19 -0
- package/lib/components/pisellBaseCard/index.d.ts +5 -0
- package/lib/components/pisellBaseCard/types.d.ts +45 -0
- package/lib/components/pisellBatchActionBar/index.d.ts +6 -0
- package/lib/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +15 -0
- package/lib/components/pisellCustomerBrief/PisellCustomerBrief.stories.d.ts +23 -0
- package/lib/components/pisellCustomerBrief/index.d.ts +6 -0
- package/lib/components/pisellCustomerBrief/types.d.ts +82 -0
- package/lib/components/pisellDataSourceContainer/hooks/useHandleAction.d.ts +32 -0
- package/lib/components/pisellDataSourceContainer/provider/ChildComponentProps.d.ts +13 -0
- package/lib/components/pisellDataSourceContainer/provider/RefManager.d.ts +9 -0
- package/lib/components/pisellDataSourceContainer/type.d.ts +84 -0
- package/lib/components/pisellEmpty/index.d.ts +19 -0
- package/lib/components/pisellEntityCard/PisellEntityCard.d.ts +8 -0
- package/lib/components/pisellEntityCard/PisellEntityCard.stories.d.ts +47 -0
- package/lib/components/pisellEntityCard/index.d.ts +5 -0
- package/lib/components/pisellEntityCard/types.d.ts +144 -0
- package/lib/components/pisellExport/PisellExport.d.ts +9 -0
- package/lib/components/pisellExport/PisellExport.stories.d.ts +45 -0
- package/lib/components/pisellExport/index.d.ts +2 -0
- package/lib/components/pisellExport/types.d.ts +63 -0
- package/lib/components/pisellFilter/type.d.ts +7 -0
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +55 -0
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +46 -0
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +53 -0
- package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +27 -0
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +19 -0
- package/lib/components/pisellFloorMapLayout/components/index.d.ts +21 -0
- package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
- package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
- package/lib/components/pisellFloorMapLayout/index.d.ts +25 -0
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +113 -0
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +113 -0
- package/lib/components/pisellFloorMapLayout/locales.d.ts +551 -0
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +18 -0
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
- package/lib/components/pisellFloorMapLayout/types.d.ts +604 -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/floorMapFallbackRender.d.ts +11 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +17 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
- package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
- package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
- package/lib/components/pisellGridPro/index.d.ts +4 -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/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/pisellImport/PisellImport.d.ts +9 -0
- package/lib/components/pisellImport/PisellImport.stories.d.ts +49 -0
- package/lib/components/pisellImport/index.d.ts +2 -0
- package/lib/components/pisellImport/types.d.ts +85 -0
- package/lib/components/pisellList01/index.d.ts +17 -0
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/lib/components/pisellPhone/PisellPhone.stories.d.ts +80 -0
- package/lib/components/pisellPhone/components/DisabledView.d.ts +16 -0
- package/lib/components/pisellPhone/components/ReadOnlyView.d.ts +17 -0
- package/lib/components/pisellPhone/constants/countryCodes.d.ts +21 -0
- package/lib/components/pisellPhone/index.d.ts +8 -0
- package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
- package/lib/components/pisellPhone/utils/index.d.ts +6 -0
- package/lib/components/pisellQuickFilter/type.d.ts +12 -0
- package/lib/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
- package/lib/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
- package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
- package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
- package/lib/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
- package/lib/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
- package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +3 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +7 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +4 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +21 -0
- package/lib/components/pisellRecordBoard/types.d.ts +468 -0
- package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +20 -0
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
- package/lib/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
- package/lib/components/pisellReservationSchedule/locales.d.ts +25 -0
- package/lib/components/pisellReservationSchedule/types.d.ts +47 -0
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
- package/lib/components/pisellReservationScheduleBand/index.d.ts +2 -0
- package/lib/components/pisellReservationScheduleBand/types.d.ts +57 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.stories.d.ts +15 -0
- package/lib/components/pisellShellFrame/index.d.ts +2 -0
- package/lib/components/pisellShellFrame/types.d.ts +56 -0
- package/lib/components/pisellStatisticList/index.d.ts +22 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
- package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
- package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +25 -0
- package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +33 -0
- package/lib/components/pisellTimeNavigator/components/index.d.ts +5 -0
- package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
- package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
- package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
- package/lib/components/pisellTimeNavigator/index.d.ts +5 -0
- package/lib/components/pisellTimeNavigator/utils/index.d.ts +35 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +9 -0
- package/lib/components/productCard/cartSkuCard/locales.d.ts +163 -0
- package/lib/components/productCard/components/Header/Actions/index.d.ts +4 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
- package/lib/components/productCard/components/Time/index.d.ts +4 -0
- package/lib/components/productCard/status.d.ts +32 -0
- package/lib/components/productCard/types.d.ts +85 -0
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +9 -0
- package/lib/components/table/Table/fields/index.d.ts +2 -2
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/types.d.ts +270 -0
- package/lib/components/versionModal/index.d.ts +24 -0
- package/lib/locales/en-US.d.ts +439 -0
- package/lib/locales/index.d.ts +1 -0
- package/lib/locales/ja.d.ts +360 -0
- package/lib/locales/pt.d.ts +360 -0
- package/lib/locales/zh-CN.d.ts +434 -0
- package/lib/locales/zh-TW.d.ts +434 -0
- package/lib/theme/pisell-components.d.ts +14 -0
- package/package.json +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/es/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/es/components/pisellAdjustPrice/index.d.ts +0 -5
- package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
- package/es/components/pisellText/components/Amount/index.d.ts +0 -20
- package/es/components/pisellToast/index.d.ts +0 -17
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/es/components/productCard/components/Sales/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
- package/es/components/productCard/utils.d.ts +0 -33
- package/es/components/sort/index.d.ts +0 -5
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -6
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -6
- package/es/components/virtual-keyboard/index.d.ts +0 -25
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/lib/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -5
- package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
- package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
- package/lib/components/pisellToast/index.d.ts +0 -17
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/lib/components/productCard/components/Sales/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
- package/lib/components/productCard/utils.d.ts +0 -33
- package/lib/components/sort/index.d.ts +0 -5
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -6
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -6
- package/lib/components/virtual-keyboard/index.d.ts +0 -25
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PisellBatchActionBar 组件导出
|
|
3
|
+
* @description 批量操作栏组件,用于承载基于选中对象的批量行为操作
|
|
4
|
+
*/
|
|
5
|
+
export { default } from './PisellBatchActionBar';
|
|
6
|
+
export type { PisellBatchActionBarProps, BatchActionItem, DefaultActionsConfig, BatchActionConfirmConfig, BatchActionBarPosition, } from './types';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellCustomerBriefProps } from './types';
|
|
3
|
+
import './PisellCustomerBrief.less';
|
|
4
|
+
/**
|
|
5
|
+
* PisellCustomerBrief 客户简要卡片
|
|
6
|
+
* 基于 PisellEntityCard,用于展示客户(Customer)实体的核心识别信息与客户级属性。
|
|
7
|
+
* 设计文档:Customer Info (pcl_customerInfon_V1.0)
|
|
8
|
+
*
|
|
9
|
+
* - 无头像时显示默认占位 Avatar
|
|
10
|
+
* - 文本过长按配置省略
|
|
11
|
+
* - Actions 为空时不占位
|
|
12
|
+
*
|
|
13
|
+
* @param props 组件 Props
|
|
14
|
+
*/
|
|
15
|
+
export declare function PisellCustomerBrief({ name, subtitle, avatar, email, address, company, date, extendedFields, tags, actions, showActions, showAvatar, showPrimaryText, showSubtitle, showExtended, showTags, density, layout, width, swipeToDelete, onDelete, tagPosition, contentGap, primaryLineClamp, secondaryLineClamp, renderMedia, renderPrimary, renderSubtitle, renderSecondary, renderTags, renderActions, className, style, hoverStyle, activeStyle, disabledStyle, clickable, disabled, onClick, }: PisellCustomerBriefProps): React.JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PisellCustomerBrief } from './PisellCustomerBrief';
|
|
3
|
+
declare const meta: Meta<typeof PisellCustomerBrief>;
|
|
4
|
+
export default meta;
|
|
5
|
+
declare type Story = StoryObj<typeof PisellCustomerBrief>;
|
|
6
|
+
/** 默认:客户名称 + 副标题 + 扩展信息 + 标签 */
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
/** 无头像(默认占位) */
|
|
9
|
+
export declare const NoAvatar: Story;
|
|
10
|
+
/** 有头像 */
|
|
11
|
+
export declare const WithAvatar: Story;
|
|
12
|
+
/** B5 密度:扩展信息多行 */
|
|
13
|
+
export declare const B5Extended: Story;
|
|
14
|
+
/** 带操作区:图标 + 文本 + 按钮 */
|
|
15
|
+
export declare const WithActions: Story;
|
|
16
|
+
/** 竖向布局 */
|
|
17
|
+
export declare const VerticalLayout: Story;
|
|
18
|
+
/** 左滑删除 */
|
|
19
|
+
export declare const SwipeToDelete: Story;
|
|
20
|
+
/** 可点击卡片 */
|
|
21
|
+
export declare const Clickable: Story;
|
|
22
|
+
/** 禁用态 */
|
|
23
|
+
export declare const Disabled: Story;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { PisellBaseCardProps } from '../pisellBaseCard/types';
|
|
3
|
+
import type { EntityCardActionItem, EntityCardDensity, EntityCardLayout, EntityCardTagItem, EntityCardWidth } from '../pisellEntityCard/types';
|
|
4
|
+
/**
|
|
5
|
+
* 客户简要卡片扩展字段项(用于 B5/B9 等多行展示)
|
|
6
|
+
* 与 Entity Card 的 secondaryTexts 对应,语义为客户领域
|
|
7
|
+
*/
|
|
8
|
+
export interface CustomerBriefExtendedField {
|
|
9
|
+
/** 展示文案(如 Email、Address、Company、Date、自定义属性) */
|
|
10
|
+
text: string;
|
|
11
|
+
/** 是否显示提示图标 */
|
|
12
|
+
showTooltip?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* PisellCustomerBrief 组件 Props
|
|
16
|
+
* 基于 PisellEntityCard,用于展示客户(Customer)实体的核心识别信息与客户级属性
|
|
17
|
+
* 设计文档:Customer Info (pcl_customerInfon_V1.0)
|
|
18
|
+
*/
|
|
19
|
+
export interface PisellCustomerBriefProps extends Pick<PisellBaseCardProps, 'className' | 'style' | 'hoverStyle' | 'activeStyle' | 'disabledStyle' | 'clickable' | 'disabled' | 'onClick'> {
|
|
20
|
+
/** 客户名称(主文案) */
|
|
21
|
+
name: string;
|
|
22
|
+
/** 副标题,与主标题同行(如电话、客户编号) */
|
|
23
|
+
subtitle?: string;
|
|
24
|
+
/** 头像图片地址;不传则显示默认占位 Avatar */
|
|
25
|
+
avatar?: string;
|
|
26
|
+
/** 邮箱 */
|
|
27
|
+
email?: string;
|
|
28
|
+
/** 地址 */
|
|
29
|
+
address?: string;
|
|
30
|
+
/** 公司 */
|
|
31
|
+
company?: string;
|
|
32
|
+
/** 日期类信息(如创建日期、跟进日期) */
|
|
33
|
+
date?: string;
|
|
34
|
+
/** 自定义扩展字段,顺序即展示顺序 */
|
|
35
|
+
extendedFields?: CustomerBriefExtendedField[];
|
|
36
|
+
/** 标签列表(如等级、状态) */
|
|
37
|
+
tags?: EntityCardTagItem[];
|
|
38
|
+
/** 操作项:仅图标 / 图标+文本 / 按钮 */
|
|
39
|
+
actions?: EntityCardActionItem[];
|
|
40
|
+
/** 是否显示操作区 @default false */
|
|
41
|
+
showActions?: boolean;
|
|
42
|
+
/** 是否显示头像 @default true */
|
|
43
|
+
showAvatar?: boolean;
|
|
44
|
+
/** 是否显示主文案 @default true */
|
|
45
|
+
showPrimaryText?: boolean;
|
|
46
|
+
/** 是否显示副标题 @default true */
|
|
47
|
+
showSubtitle?: boolean;
|
|
48
|
+
/** 是否显示扩展信息(email/address/company/date/extendedFields) @default true */
|
|
49
|
+
showExtended?: boolean;
|
|
50
|
+
/** 是否显示标签 @default true */
|
|
51
|
+
showTags?: boolean;
|
|
52
|
+
/** 信息密度 @default 'B2' */
|
|
53
|
+
density?: EntityCardDensity;
|
|
54
|
+
/** 布局方向 @default 'horizontal' */
|
|
55
|
+
layout?: EntityCardLayout;
|
|
56
|
+
/** 卡片宽度 @default 'content' */
|
|
57
|
+
width?: EntityCardWidth;
|
|
58
|
+
/** 是否开启左滑删除 @default false */
|
|
59
|
+
swipeToDelete?: boolean;
|
|
60
|
+
/** 左滑删除回调 */
|
|
61
|
+
onDelete?: () => void;
|
|
62
|
+
/** 标签位置 @default 'below' */
|
|
63
|
+
tagPosition?: 'inline' | 'below';
|
|
64
|
+
/** 内容区间距 */
|
|
65
|
+
contentGap?: number | string;
|
|
66
|
+
/** 主文案行数限制 */
|
|
67
|
+
primaryLineClamp?: number;
|
|
68
|
+
/** 扩展信息行数限制(按密度有默认值) */
|
|
69
|
+
secondaryLineClamp?: number;
|
|
70
|
+
/** 自定义渲染媒体区 */
|
|
71
|
+
renderMedia?: () => ReactNode;
|
|
72
|
+
/** 自定义渲染主文案区 */
|
|
73
|
+
renderPrimary?: () => ReactNode;
|
|
74
|
+
/** 自定义渲染副标题区 */
|
|
75
|
+
renderSubtitle?: () => ReactNode;
|
|
76
|
+
/** 自定义渲染扩展信息区 */
|
|
77
|
+
renderSecondary?: () => ReactNode;
|
|
78
|
+
/** 自定义渲染标签区 */
|
|
79
|
+
renderTags?: () => ReactNode;
|
|
80
|
+
/** 自定义渲染操作区 */
|
|
81
|
+
renderActions?: () => ReactNode;
|
|
82
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DataSourceContainerProps } from '../type';
|
|
2
|
+
import { FormInstance } from 'antd';
|
|
3
|
+
declare const useHandleAction: (initialParams: Record<string, any> | undefined, options: DataSourceContainerProps['pagination'], form: FormInstance | undefined) => {
|
|
4
|
+
list: {
|
|
5
|
+
pagination?: {
|
|
6
|
+
pageNumber: number;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
} | undefined;
|
|
9
|
+
data: {
|
|
10
|
+
list: any;
|
|
11
|
+
count: any;
|
|
12
|
+
};
|
|
13
|
+
onSearch: (newParams?: Record<string, any>) => void;
|
|
14
|
+
onReset: () => void;
|
|
15
|
+
onPageChange: (pageNumber: number, pageSize: number) => void;
|
|
16
|
+
loading: boolean;
|
|
17
|
+
error?: Error | undefined;
|
|
18
|
+
params: any;
|
|
19
|
+
cancel: () => void;
|
|
20
|
+
refresh: () => void;
|
|
21
|
+
refreshAsync: () => Promise<any>;
|
|
22
|
+
run: (...params: any) => void;
|
|
23
|
+
runAsync: (...params: any) => Promise<any>;
|
|
24
|
+
mutate: (data?: any) => void;
|
|
25
|
+
};
|
|
26
|
+
get: import("ahooks/es/useRequest/src/types").Result<any, any>;
|
|
27
|
+
update: import("ahooks/es/useRequest/src/types").Result<any, any>;
|
|
28
|
+
create: import("ahooks/es/useRequest/src/types").Result<any, any>;
|
|
29
|
+
destroy: import("ahooks/es/useRequest/src/types").Result<any, any>;
|
|
30
|
+
getCurrentRecord: () => any;
|
|
31
|
+
};
|
|
32
|
+
export default useHandleAction;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { FormInstance } from 'antd';
|
|
3
|
+
import { ChildComponentPropsType } from '../type';
|
|
4
|
+
declare type ChildComponentPropsContextType = ChildComponentPropsType & {
|
|
5
|
+
form: FormInstance;
|
|
6
|
+
};
|
|
7
|
+
interface ChildComponentPropsProviderProps {
|
|
8
|
+
childComponentProps?: ChildComponentPropsType;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare const ChildComponentPropsProvider: React.FC<ChildComponentPropsProviderProps>;
|
|
12
|
+
export declare const useChildComponentPropsContext: () => ChildComponentPropsContextType;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RefManagerContextType } from '../type';
|
|
3
|
+
export declare const RefManagerContext: React.Context<RefManagerContextType | null>;
|
|
4
|
+
interface RefManagerProviderProps {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const RefManagerProvider: React.FC<RefManagerProviderProps>;
|
|
8
|
+
export declare const useRefManagerProvider: () => RefManagerContextType;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { DataSourceContextProps, DataSourceContextType } from '../dataSourceComponents/provider/dataSource/DataSourceContext';
|
|
2
|
+
import { Result } from 'ahooks/es/useRequest/src/types';
|
|
3
|
+
import { TableProps as AntdTableProps, PaginationProps, TabsProps as AntdTabsProps, FormInstance as AntdFormInstance } from 'antd';
|
|
4
|
+
import { SortListProps } from '../sort/types';
|
|
5
|
+
import { FilterItemProps } from '../filter/types';
|
|
6
|
+
import { FilterListProps } from '../filter/components/FilterButton/types';
|
|
7
|
+
/**
|
|
8
|
+
* 子组件属性集合类型定义
|
|
9
|
+
*/
|
|
10
|
+
export interface ChildComponentPropsType {
|
|
11
|
+
/** Filter 组件属性 */
|
|
12
|
+
filterComponent?: {
|
|
13
|
+
value: {
|
|
14
|
+
quickFilter?: FilterItemProps[];
|
|
15
|
+
otherFilter?: FilterItemProps[];
|
|
16
|
+
};
|
|
17
|
+
formFiltersPrefix?: string;
|
|
18
|
+
quickFilterMaxLength?: number;
|
|
19
|
+
};
|
|
20
|
+
/** QuickFilter 组件属性 */
|
|
21
|
+
quickFilterComponent?: {
|
|
22
|
+
filterList: FilterItemProps[];
|
|
23
|
+
formFiltersPrefix?: string;
|
|
24
|
+
};
|
|
25
|
+
/** FilterButton 组件属性 */
|
|
26
|
+
filterButtonComponent?: FilterListProps;
|
|
27
|
+
/** tabsComponent 组件属性 */
|
|
28
|
+
tabsComponent?: {
|
|
29
|
+
items: AntdTabsProps['items'];
|
|
30
|
+
type?: 'default' | 'button' | 'buttonGroup' | 'dropdown';
|
|
31
|
+
};
|
|
32
|
+
/** Sort 组件属性 */
|
|
33
|
+
sortComponent?: SortListProps;
|
|
34
|
+
/** Table 组件属性 */
|
|
35
|
+
tableComponent?: AntdTableProps<any>;
|
|
36
|
+
/** ColumnsSetting 组件属性 */
|
|
37
|
+
columnsSettingComponent?: {
|
|
38
|
+
value?: Record<string, any>[];
|
|
39
|
+
onChange?: (val: Record<string, any>[]) => void;
|
|
40
|
+
};
|
|
41
|
+
/** Pagination 组件属性 */
|
|
42
|
+
paginationComponent?: PaginationProps;
|
|
43
|
+
}
|
|
44
|
+
export interface DataSourceContainerProps extends DataSourceContextProps {
|
|
45
|
+
pagination?: boolean | {
|
|
46
|
+
pageNumber: number;
|
|
47
|
+
pageSize: number;
|
|
48
|
+
};
|
|
49
|
+
childComponentProps?: ChildComponentPropsType;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* 扩展的 HandleActionContextType
|
|
53
|
+
*/
|
|
54
|
+
export interface HandleActionContextType extends Omit<DataSourceContextType, 'list'> {
|
|
55
|
+
list: Result<any, any> & {
|
|
56
|
+
onSearch: (newParams?: Record<string, any>) => void;
|
|
57
|
+
onReset: () => void;
|
|
58
|
+
onPageChange: (pageNumber: number, pageSize: number) => void;
|
|
59
|
+
pagination?: {
|
|
60
|
+
pageNumber: number;
|
|
61
|
+
pageSize: number;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export interface RefManagerContextType {
|
|
66
|
+
getRef: <T = any>(id: string) => T | undefined;
|
|
67
|
+
registerRef: <T = any>(id: string, ref: T) => void;
|
|
68
|
+
unregisterRef: (id: string) => void;
|
|
69
|
+
getSharedState: <T = any>(key: string) => T | undefined;
|
|
70
|
+
setSharedState: <T = any>(key: string, value: T) => void;
|
|
71
|
+
subscribeSharedState: <T = any>(key: string, callback: (value: T) => void) => () => void;
|
|
72
|
+
}
|
|
73
|
+
export interface DataSourceContainerContextType {
|
|
74
|
+
serverActions: HandleActionContextType;
|
|
75
|
+
refManager: RefManagerContextType;
|
|
76
|
+
form: AntdFormInstance;
|
|
77
|
+
}
|
|
78
|
+
export interface UseContainerContextReturnType {
|
|
79
|
+
serverActions: HandleActionContextType;
|
|
80
|
+
refManager: RefManagerContextType;
|
|
81
|
+
form: AntdFormInstance;
|
|
82
|
+
onValuesChange: (changedValues: Record<string, any>, allValues: Record<string, any>) => void;
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EmptyProps } from 'antd';
|
|
3
|
+
import { PisellContextType } from '../pisell-config-provider/context';
|
|
4
|
+
import './index.less';
|
|
5
|
+
export interface PisellEmptyProps extends EmptyProps {
|
|
6
|
+
/** 平台 */
|
|
7
|
+
platform?: PisellContextType['platform'];
|
|
8
|
+
/** 额外内容描述 */
|
|
9
|
+
extraDescription?: React.ReactNode;
|
|
10
|
+
/** 额外内容描述 */
|
|
11
|
+
icon?: React.ReactNode;
|
|
12
|
+
/** 自定义底部额外操作区域 */
|
|
13
|
+
footer?: React.ReactNode;
|
|
14
|
+
/** 最大宽度 */
|
|
15
|
+
maxWidth?: number;
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}
|
|
18
|
+
declare const PisellEmpty: (props: PisellEmptyProps) => React.JSX.Element;
|
|
19
|
+
export default PisellEmpty;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellEntityCardProps } from './types';
|
|
3
|
+
import './PisellEntityCard.less';
|
|
4
|
+
/**
|
|
5
|
+
* PisellEntityCard 实体卡片
|
|
6
|
+
* 基于 PisellBaseCard,使用结构化配置展示实体信息,支持密度、布局、左滑删除与插槽
|
|
7
|
+
*/
|
|
8
|
+
export declare function PisellEntityCard({ children, className, style, hoverStyle, activeStyle, disabledStyle, clickable, disabled, onClick, media, primaryText, subtitleText, secondaryTexts, tags, actions, showMedia, showPrimaryText, showSubtitle, showSecondaryText, showTags, showActions, density, layout, width, swipeToDelete, onDelete, tagPosition, contentGap, primaryLineClamp, secondaryLineClamp: secondaryLineClampProp, renderMedia, renderPrimary, renderSubtitle, renderSecondary, renderTags, renderActions, }: PisellEntityCardProps): React.JSX.Element;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PisellEntityCard } from './PisellEntityCard';
|
|
3
|
+
declare const meta: Meta<typeof PisellEntityCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
declare type Story = StoryObj<typeof PisellEntityCard>;
|
|
6
|
+
/** 默认:横向 B2,主文案 + 次级 + 头像 */
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
/** 仅主文案(最小) */
|
|
9
|
+
export declare const PrimaryOnly: Story;
|
|
10
|
+
/** 主文案 + 头像 一行 */
|
|
11
|
+
export declare const B1Line: Story;
|
|
12
|
+
/** B2 横向:头像 + 主 + 次级两行 */
|
|
13
|
+
export declare const B2Horizontal: Story;
|
|
14
|
+
/** B2 竖向 */
|
|
15
|
+
export declare const B2Vertical: Story;
|
|
16
|
+
/** B5:次级最多 5 行 */
|
|
17
|
+
export declare const B5Standard: Story;
|
|
18
|
+
/** B9 全部展示 */
|
|
19
|
+
export declare const B9Extended: Story;
|
|
20
|
+
/** Action 区域默认关闭(不传 showActions 或 showActions: false) */
|
|
21
|
+
export declare const ActionDefaultOff: Story;
|
|
22
|
+
/** Action 仅文本 */
|
|
23
|
+
export declare const ActionTextOnly: Story;
|
|
24
|
+
/** Action 仅按钮 */
|
|
25
|
+
export declare const ActionButtonOnly: Story;
|
|
26
|
+
/** Action 仅图标(Figma 支持右侧按钮 - 编辑图标) */
|
|
27
|
+
export declare const ActionIconOnly: Story;
|
|
28
|
+
/** Action 混合:文本 + 按钮 + 图标,并各自自定义样式 */
|
|
29
|
+
export declare const ActionMixedWithCustomStyle: Story;
|
|
30
|
+
/** 带底部操作(兼容旧名) */
|
|
31
|
+
export declare const WithActions: Story;
|
|
32
|
+
/** 左滑删除(需在真机或模拟 touch 下左滑验证) */
|
|
33
|
+
export declare const SwipeToDelete: Story;
|
|
34
|
+
/** 标签 inline */
|
|
35
|
+
export declare const TagPositionInline: Story;
|
|
36
|
+
/** 宽度撑满父容器 */
|
|
37
|
+
export declare const WidthFull: Story;
|
|
38
|
+
/** 自定义主文案插槽 */
|
|
39
|
+
export declare const SlotPrimary: Story;
|
|
40
|
+
/** 缩略图类型媒体 */
|
|
41
|
+
export declare const MediaThumbnail: Story;
|
|
42
|
+
/** 图标类型媒体 */
|
|
43
|
+
export declare const MediaIcon: Story;
|
|
44
|
+
/** 可点击卡片 */
|
|
45
|
+
export declare const Clickable: Story;
|
|
46
|
+
/** 禁用态 */
|
|
47
|
+
export declare const Disabled: Story;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PisellEntityCard 组件导出
|
|
3
|
+
*/
|
|
4
|
+
export { PisellEntityCard } from './PisellEntityCard';
|
|
5
|
+
export type { PisellEntityCardProps, EntityCardDensity, EntityCardLayout, EntityCardWidth, EntityCardMediaType, EntityCardMediaConfig, EntityCardSecondaryItem, EntityCardTagItem, EntityCardActionItem, EntityCardTagPosition, } from './types';
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import type { PisellBaseCardProps } from '../pisellBaseCard/types';
|
|
3
|
+
/**
|
|
4
|
+
* 实体卡信息密度等级
|
|
5
|
+
* - B1: 最小单位,一行
|
|
6
|
+
* - B2: 主+次级两行
|
|
7
|
+
* - B5: 次级最多 5 行
|
|
8
|
+
* - B9: 全部展示
|
|
9
|
+
*/
|
|
10
|
+
export declare type EntityCardDensity = 'B1' | 'B2' | 'B5' | 'B9';
|
|
11
|
+
/**
|
|
12
|
+
* 实体卡布局方向
|
|
13
|
+
*/
|
|
14
|
+
export declare type EntityCardLayout = 'horizontal' | 'vertical';
|
|
15
|
+
/**
|
|
16
|
+
* 实体卡宽度模式
|
|
17
|
+
* - content: 由内容撑满
|
|
18
|
+
* - full: 撑满父容器
|
|
19
|
+
* - number: 固定像素宽度
|
|
20
|
+
*/
|
|
21
|
+
export declare type EntityCardWidth = 'content' | 'full' | number;
|
|
22
|
+
/**
|
|
23
|
+
* 媒体类型:头像 / 缩略图 / 图标
|
|
24
|
+
*/
|
|
25
|
+
export declare type EntityCardMediaType = 'avatar' | 'thumbnail' | 'icon';
|
|
26
|
+
/**
|
|
27
|
+
* 实体卡媒体配置(头像、缩略图、图标)
|
|
28
|
+
*/
|
|
29
|
+
export interface EntityCardMediaConfig {
|
|
30
|
+
/** 类型 */
|
|
31
|
+
type: EntityCardMediaType;
|
|
32
|
+
/** 图片地址(avatar/thumbnail 使用) */
|
|
33
|
+
src?: string;
|
|
34
|
+
/** 替换文本 / 描述 */
|
|
35
|
+
alt?: string;
|
|
36
|
+
/** 图标节点(type 为 icon 时使用) */
|
|
37
|
+
icon?: ReactNode;
|
|
38
|
+
/** 尺寸,如 24、48、64 或 CSS 值 */
|
|
39
|
+
size?: number | string;
|
|
40
|
+
/** 形状(avatar/thumbnail):circle | square */
|
|
41
|
+
shape?: 'circle' | 'square';
|
|
42
|
+
/** 图标颜色(type 为 icon 时) */
|
|
43
|
+
color?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* 次级文案单项(可带提示)
|
|
47
|
+
*/
|
|
48
|
+
export interface EntityCardSecondaryItem {
|
|
49
|
+
/** 文本内容 */
|
|
50
|
+
text: string;
|
|
51
|
+
/** 是否显示提示 icon(如 info-circle) */
|
|
52
|
+
showTooltip?: boolean;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* 实体卡标签项
|
|
56
|
+
*/
|
|
57
|
+
export interface EntityCardTagItem {
|
|
58
|
+
/** 标签文案 */
|
|
59
|
+
text: string;
|
|
60
|
+
/** 可选自定义样式 */
|
|
61
|
+
style?: CSSProperties;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* 实体卡底部操作项
|
|
65
|
+
* 支持文本、按钮、图标三种形式,可各自通过 style / className 更改样式
|
|
66
|
+
*/
|
|
67
|
+
export interface EntityCardActionItem {
|
|
68
|
+
/** 展示形式:文本 / 按钮 / 图标 */
|
|
69
|
+
type: 'text' | 'button' | 'icon';
|
|
70
|
+
/** 文案(text/button 时显示) */
|
|
71
|
+
label?: string;
|
|
72
|
+
/** 图标节点(icon 时单独展示,或 button 旁图标) */
|
|
73
|
+
icon?: ReactNode;
|
|
74
|
+
/** 点击回调 */
|
|
75
|
+
onClick?: () => void;
|
|
76
|
+
/** 单项内联样式 */
|
|
77
|
+
style?: CSSProperties;
|
|
78
|
+
/** 单项类名,用于自定义样式 */
|
|
79
|
+
className?: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* 标签展示位置:与主标题同行 / 次级信息下方
|
|
83
|
+
*/
|
|
84
|
+
export declare type EntityCardTagPosition = 'inline' | 'below';
|
|
85
|
+
/**
|
|
86
|
+
* PisellEntityCard 组件 Props
|
|
87
|
+
* 基于 PisellBaseCard,使用结构化配置展示实体信息,支持密度、布局、左滑删除与插槽
|
|
88
|
+
*/
|
|
89
|
+
export interface PisellEntityCardProps extends PisellBaseCardProps {
|
|
90
|
+
/** 媒体区:头像 / 缩略图 / 图标配置 */
|
|
91
|
+
media?: EntityCardMediaConfig;
|
|
92
|
+
/** 主文案(Name/Title) */
|
|
93
|
+
primaryText?: string;
|
|
94
|
+
/** 副标题:与主标题同一行、紧跟主标题后的部分(如电话号),14px Regular #667085 */
|
|
95
|
+
subtitleText?: string;
|
|
96
|
+
/** 次级文案列表,顺序即展示顺序;可带 showTooltip */
|
|
97
|
+
secondaryTexts?: EntityCardSecondaryItem[];
|
|
98
|
+
/** 标签列表,顺序即展示顺序 */
|
|
99
|
+
tags?: EntityCardTagItem[];
|
|
100
|
+
/** 底部操作列表(View Detail、Select 等) */
|
|
101
|
+
actions?: EntityCardActionItem[];
|
|
102
|
+
/** 是否显示媒体区 @default true */
|
|
103
|
+
showMedia?: boolean;
|
|
104
|
+
/** 是否显示主文案 @default true */
|
|
105
|
+
showPrimaryText?: boolean;
|
|
106
|
+
/** 是否显示副标题(与主标题同行) @default true */
|
|
107
|
+
showSubtitle?: boolean;
|
|
108
|
+
/** 是否显示次级文案 @default true */
|
|
109
|
+
showSecondaryText?: boolean;
|
|
110
|
+
/** 是否显示标签 @default true */
|
|
111
|
+
showTags?: boolean;
|
|
112
|
+
/** 是否显示底部 Action 区 @default false */
|
|
113
|
+
showActions?: boolean;
|
|
114
|
+
/** 信息密度 @default 'B2' */
|
|
115
|
+
density?: EntityCardDensity;
|
|
116
|
+
/** 布局方向 @default 'horizontal' */
|
|
117
|
+
layout?: EntityCardLayout;
|
|
118
|
+
/** 卡片宽度 @default 'content' */
|
|
119
|
+
width?: EntityCardWidth;
|
|
120
|
+
/** 是否开启左滑删除 @default false */
|
|
121
|
+
swipeToDelete?: boolean;
|
|
122
|
+
/** 左滑后点击删除时回调 */
|
|
123
|
+
onDelete?: () => void;
|
|
124
|
+
/** 标签展示位置 @default 'below' */
|
|
125
|
+
tagPosition?: EntityCardTagPosition;
|
|
126
|
+
/** 内容区 gap(CSS gap 值) */
|
|
127
|
+
contentGap?: number | string;
|
|
128
|
+
/** 主文案行数限制(CSS -webkit-line-clamp) */
|
|
129
|
+
primaryLineClamp?: number;
|
|
130
|
+
/** 次级文案行数限制(按密度有默认值,可覆盖) */
|
|
131
|
+
secondaryLineClamp?: number;
|
|
132
|
+
/** 自定义渲染媒体区 */
|
|
133
|
+
renderMedia?: () => ReactNode;
|
|
134
|
+
/** 自定义渲染主文案区 */
|
|
135
|
+
renderPrimary?: () => ReactNode;
|
|
136
|
+
/** 自定义渲染副标题区(与主标题同行) */
|
|
137
|
+
renderSubtitle?: () => ReactNode;
|
|
138
|
+
/** 自定义渲染次级文案区 */
|
|
139
|
+
renderSecondary?: () => ReactNode;
|
|
140
|
+
/** 自定义渲染标签区 */
|
|
141
|
+
renderTags?: () => ReactNode;
|
|
142
|
+
/** 自定义渲染底部操作区 */
|
|
143
|
+
renderActions?: () => ReactNode;
|
|
144
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellExportProps } from './types';
|
|
3
|
+
import './PisellExport.less';
|
|
4
|
+
/**
|
|
5
|
+
* PisellExport 导出触发器组件
|
|
6
|
+
*
|
|
7
|
+
* @description 仅负责 UI 展示与点击回调,不内置导出逻辑;支持 Icon/Button 两种形态与三种尺寸
|
|
8
|
+
*/
|
|
9
|
+
export declare function PisellExport(props: PisellExportProps): React.JSX.Element;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PisellExport } from './PisellExport';
|
|
3
|
+
declare const meta: Meta<typeof PisellExport>;
|
|
4
|
+
export default meta;
|
|
5
|
+
declare type Story = StoryObj<typeof PisellExport>;
|
|
6
|
+
/**
|
|
7
|
+
* 默认 Button 形态
|
|
8
|
+
*/
|
|
9
|
+
export declare const Basic: Story;
|
|
10
|
+
/**
|
|
11
|
+
* 仅图标形态
|
|
12
|
+
*/
|
|
13
|
+
export declare const IconOnly: Story;
|
|
14
|
+
/**
|
|
15
|
+
* 三种尺寸 - Button
|
|
16
|
+
*/
|
|
17
|
+
export declare const SizesButton: Story;
|
|
18
|
+
/**
|
|
19
|
+
* 三种尺寸 - Icon
|
|
20
|
+
*/
|
|
21
|
+
export declare const SizesIcon: Story;
|
|
22
|
+
/**
|
|
23
|
+
* 默认样式 vs 主色样式
|
|
24
|
+
*/
|
|
25
|
+
export declare const DefaultVsPrimary: Story;
|
|
26
|
+
/**
|
|
27
|
+
* 禁用态
|
|
28
|
+
*/
|
|
29
|
+
export declare const Disabled: Story;
|
|
30
|
+
/**
|
|
31
|
+
* 自定义文案
|
|
32
|
+
*/
|
|
33
|
+
export declare const CustomLabel: Story;
|
|
34
|
+
/**
|
|
35
|
+
* 自定义图标(antd 图标)
|
|
36
|
+
*/
|
|
37
|
+
export declare const CustomIcon: Story;
|
|
38
|
+
/**
|
|
39
|
+
* 点击回调示例
|
|
40
|
+
*/
|
|
41
|
+
export declare const WithCallback: Story;
|
|
42
|
+
/**
|
|
43
|
+
* 设计稿矩阵:Button 形态 × 尺寸 × 类型
|
|
44
|
+
*/
|
|
45
|
+
export declare const ButtonMatrix: Story;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { CSSProperties, MouseEvent as ReactMouseEvent, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 展示形态
|
|
4
|
+
* @description icon:仅图标;button:图标 + 文案
|
|
5
|
+
*/
|
|
6
|
+
export declare type VariantType = 'icon' | 'button';
|
|
7
|
+
/**
|
|
8
|
+
* 尺寸
|
|
9
|
+
* @description 小、中、大三种尺寸,对应设计稿 padding 与字体
|
|
10
|
+
*/
|
|
11
|
+
export declare type SizeType = 'small' | 'medium' | 'large';
|
|
12
|
+
/**
|
|
13
|
+
* 视觉类型
|
|
14
|
+
* @description default:默认边框/灰字;primary:主色描边或填充
|
|
15
|
+
*/
|
|
16
|
+
export declare type ExportButtonType = 'default' | 'primary';
|
|
17
|
+
/**
|
|
18
|
+
* PisellExport 组件 Props
|
|
19
|
+
* @description 导出触发器 UI 组件,仅负责展示与点击回调,不内置导出逻辑
|
|
20
|
+
*/
|
|
21
|
+
export interface PisellExportProps {
|
|
22
|
+
/**
|
|
23
|
+
* 展示形态
|
|
24
|
+
* @default 'button'
|
|
25
|
+
*/
|
|
26
|
+
variant?: VariantType;
|
|
27
|
+
/**
|
|
28
|
+
* 尺寸
|
|
29
|
+
* @default 'medium'
|
|
30
|
+
*/
|
|
31
|
+
size?: SizeType;
|
|
32
|
+
/**
|
|
33
|
+
* 视觉类型(默认样式 / 主色样式)
|
|
34
|
+
* @default 'default'
|
|
35
|
+
*/
|
|
36
|
+
type?: ExportButtonType;
|
|
37
|
+
/**
|
|
38
|
+
* 是否禁用
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Button 形态下的文案,不传时使用国际化默认文案
|
|
44
|
+
*/
|
|
45
|
+
label?: ReactNode;
|
|
46
|
+
/**
|
|
47
|
+
* 自定义图标,不传时使用内置下载图标(download-cloud-01)
|
|
48
|
+
*/
|
|
49
|
+
icon?: ReactNode;
|
|
50
|
+
/**
|
|
51
|
+
* 点击触发导出
|
|
52
|
+
* @description 由调用方在此回调中实现导出请求、轮询、下载等逻辑
|
|
53
|
+
*/
|
|
54
|
+
onExport?: (e: ReactMouseEvent<HTMLElement>) => void;
|
|
55
|
+
/**
|
|
56
|
+
* 自定义类名
|
|
57
|
+
*/
|
|
58
|
+
className?: string;
|
|
59
|
+
/**
|
|
60
|
+
* 自定义样式
|
|
61
|
+
*/
|
|
62
|
+
style?: CSSProperties;
|
|
63
|
+
}
|