@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,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
declare const DEVICE_TYPE_MAP: {
|
|
4
|
+
readonly printer: any;
|
|
5
|
+
readonly barcode_scanner: any;
|
|
6
|
+
readonly cds: any;
|
|
7
|
+
readonly kds: any;
|
|
8
|
+
readonly display: any;
|
|
9
|
+
readonly card_reader: any;
|
|
10
|
+
readonly till: any;
|
|
11
|
+
readonly scale: any;
|
|
12
|
+
};
|
|
13
|
+
export interface LogCardData {
|
|
14
|
+
log_level: 0 | 1 | 2;
|
|
15
|
+
message: string;
|
|
16
|
+
time: string;
|
|
17
|
+
device: {
|
|
18
|
+
device_type: keyof typeof DEVICE_TYPE_MAP;
|
|
19
|
+
device_name: string;
|
|
20
|
+
device_idfa: string;
|
|
21
|
+
};
|
|
22
|
+
data?: string;
|
|
23
|
+
}
|
|
24
|
+
interface ILogCardProps {
|
|
25
|
+
data: LogCardData;
|
|
26
|
+
}
|
|
27
|
+
declare const LogCard: (props: ILogCardProps) => React.JSX.Element;
|
|
28
|
+
export default LogCard;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const prefix = "pisell-lowcode";
|
|
2
|
+
export declare const ErrorTypeTheme: {
|
|
3
|
+
readonly fatal: {
|
|
4
|
+
readonly iconColor: "#cf1322";
|
|
5
|
+
readonly backgroundColor: "#fff1f0";
|
|
6
|
+
readonly shadowColor: "#ffa39e";
|
|
7
|
+
readonly badgeColor: "#fee2e1";
|
|
8
|
+
};
|
|
9
|
+
readonly critical: {
|
|
10
|
+
readonly iconColor: "#d4380d";
|
|
11
|
+
readonly backgroundColor: "#fff2e8";
|
|
12
|
+
readonly shadowColor: "#ffbb96";
|
|
13
|
+
readonly badgeColor: "#ffedd5";
|
|
14
|
+
};
|
|
15
|
+
readonly normal: {
|
|
16
|
+
readonly iconColor: "#0958d9";
|
|
17
|
+
readonly backgroundColor: "#e6f4ff";
|
|
18
|
+
readonly shadowColor: "#91caff";
|
|
19
|
+
readonly badgeColor: "#d2eafd";
|
|
20
|
+
};
|
|
21
|
+
readonly info: {
|
|
22
|
+
readonly iconColor: "#389e0d";
|
|
23
|
+
readonly backgroundColor: "#f6ffed";
|
|
24
|
+
readonly shadowColor: "#b7eb8f";
|
|
25
|
+
readonly badgeColor: "#dcfce7";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export declare const errorTypes: any[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IconComponentProps } from '@ant-design/icons/es/components/Icon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IconFontProps extends IconComponentProps {
|
|
4
|
+
type: string;
|
|
5
|
+
onClick?: React.MouseEventHandler<HTMLSpanElement>;
|
|
6
|
+
}
|
|
7
|
+
declare const IconFont: React.FC<IconFontProps>;
|
|
8
|
+
export default IconFont;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
/**
|
|
4
|
+
* loginAndRegister组件的属性接口
|
|
5
|
+
*/
|
|
6
|
+
export interface loginAndRegisterProps {
|
|
7
|
+
/** Logo相关配置 */
|
|
8
|
+
showLogo?: boolean;
|
|
9
|
+
logo?: string;
|
|
10
|
+
logoPosition?: 'left' | 'center' | 'right';
|
|
11
|
+
logoSize?: {
|
|
12
|
+
width?: number;
|
|
13
|
+
height?: number;
|
|
14
|
+
};
|
|
15
|
+
/** 标题相关配置 */
|
|
16
|
+
title?: string;
|
|
17
|
+
showTitle?: boolean;
|
|
18
|
+
titleAlign?: 'left' | 'center' | 'right';
|
|
19
|
+
/** 副标题相关配置 */
|
|
20
|
+
subtitle?: string;
|
|
21
|
+
showSubtitle?: boolean;
|
|
22
|
+
subtitleAlign?: 'left' | 'center' | 'right';
|
|
23
|
+
/** 登录方式配置 */
|
|
24
|
+
loginMethods?: ('email' | 'google' | 'facebook' | 'apple')[];
|
|
25
|
+
defaultLoginMethod?: 'email' | 'google' | 'facebook' | 'apple';
|
|
26
|
+
/** 表单配置 */
|
|
27
|
+
emailLabel?: string;
|
|
28
|
+
passwordLabel?: string;
|
|
29
|
+
emailPlaceholder?: string;
|
|
30
|
+
passwordPlaceholder?: string;
|
|
31
|
+
emailRules?: any[];
|
|
32
|
+
buttonText?: string;
|
|
33
|
+
rememberMeText?: string;
|
|
34
|
+
forgotPasswordText?: string;
|
|
35
|
+
showRememberMe?: boolean;
|
|
36
|
+
showForgotPassword?: boolean;
|
|
37
|
+
/** 社交登录配置 */
|
|
38
|
+
socialLoginTexts?: {
|
|
39
|
+
google?: string;
|
|
40
|
+
facebook?: string;
|
|
41
|
+
apple?: string;
|
|
42
|
+
};
|
|
43
|
+
/** 底部配置 */
|
|
44
|
+
showFooter?: boolean;
|
|
45
|
+
showSignUp?: boolean;
|
|
46
|
+
signUpText?: string;
|
|
47
|
+
signUpLink?: string;
|
|
48
|
+
signUpPosition?: 'left' | 'center' | 'right';
|
|
49
|
+
otherLinks?: Array<{
|
|
50
|
+
text: string;
|
|
51
|
+
url: string;
|
|
52
|
+
}>;
|
|
53
|
+
otherLinksPosition?: 'left' | 'center' | 'right';
|
|
54
|
+
/** 登录/注册切换配置 */
|
|
55
|
+
showTabs?: boolean;
|
|
56
|
+
loginTabText?: string;
|
|
57
|
+
registerTabText?: string;
|
|
58
|
+
/** 注册表单配置 */
|
|
59
|
+
registerEmailPlaceholder?: string;
|
|
60
|
+
registerPasswordPlaceholder?: string;
|
|
61
|
+
registerButtonText?: string;
|
|
62
|
+
/** 事件回调 */
|
|
63
|
+
onLogin?: (values: {
|
|
64
|
+
email: string;
|
|
65
|
+
loginMethod: string;
|
|
66
|
+
}) => void;
|
|
67
|
+
onSocialLogin?: (type: 'google' | 'facebook' | 'apple') => void;
|
|
68
|
+
onSignUp?: () => void;
|
|
69
|
+
onRegister?: (values: {
|
|
70
|
+
email: string;
|
|
71
|
+
password: string;
|
|
72
|
+
}) => void;
|
|
73
|
+
/** 新增背景图片属性 */
|
|
74
|
+
backgroundImage?: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Saas登录组件
|
|
78
|
+
* @param props - 组件属性
|
|
79
|
+
* @returns React组件
|
|
80
|
+
*/
|
|
81
|
+
declare const loginAndRegister: React.FC<loginAndRegisterProps>;
|
|
82
|
+
export default loginAndRegister;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PisellContextType } from './context';
|
|
3
|
+
interface PisellConfigProviderType {
|
|
4
|
+
platform?: PisellContextType['platform'];
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
/** 货币符号 */
|
|
7
|
+
symbol?: string;
|
|
8
|
+
/** 当前语言环境 */
|
|
9
|
+
locale?: string;
|
|
10
|
+
getSymbolic?: () => string;
|
|
11
|
+
}
|
|
12
|
+
declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
|
|
13
|
+
export default PisellConfigProvider;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellActionPanelProps } from './types';
|
|
3
|
+
import './PisellActionPanel.less';
|
|
4
|
+
/**
|
|
5
|
+
* PisellActionPanel 操作面板
|
|
6
|
+
* 用于统一承载、编排和呈现一组用户可执行操作(Actions)的 Pro 组件。
|
|
7
|
+
* 支持分组、布局、对齐、主/次/危险层级与条件显隐。
|
|
8
|
+
*
|
|
9
|
+
* 设计文档:Action Panel (pcp_ge_actionPanel_V1.0)
|
|
10
|
+
*
|
|
11
|
+
* @param props 组件 Props
|
|
12
|
+
*/
|
|
13
|
+
export declare function PisellActionPanel({ groups, layout, align, overflowStrategy, groupGap, itemGap, className, style, }: PisellActionPanelProps): React.JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PisellActionPanel } from './PisellActionPanel';
|
|
3
|
+
declare const meta: Meta<typeof PisellActionPanel>;
|
|
4
|
+
export default meta;
|
|
5
|
+
declare type Story = StoryObj<typeof PisellActionPanel>;
|
|
6
|
+
/** 默认:单组两按钮 */
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
/** 右对齐(表单底部常见) */
|
|
9
|
+
export declare const AlignRight: Story;
|
|
10
|
+
/** 多组:主操作 + 危险操作 */
|
|
11
|
+
export declare const MultipleGroups: Story;
|
|
12
|
+
/** 竖向布局 */
|
|
13
|
+
export declare const VerticalLayout: Story;
|
|
14
|
+
/** 条件显隐(某条 visible: false) */
|
|
15
|
+
export declare const ConditionalVisible: Story;
|
|
16
|
+
/** 居中 */
|
|
17
|
+
export declare const AlignCenter: Story;
|
|
18
|
+
/** space-between 两端对齐 */
|
|
19
|
+
export declare const SpaceBetween: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PisellActionPanel 组件导出
|
|
3
|
+
* 操作面板:统一承载、编排一组用户可执行操作
|
|
4
|
+
*/
|
|
5
|
+
export { PisellActionPanel } from './PisellActionPanel';
|
|
6
|
+
export type { PisellActionPanelProps, PisellActionPanelGroup, PisellActionPanelItem, ActionPanelLayout, ActionPanelAlign, ActionPanelOverflowStrategy, ActionPanelItemPriority, } from './types';
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 操作项层级(主/次/危险)
|
|
4
|
+
*/
|
|
5
|
+
export declare type ActionPanelItemPriority = 'primary' | 'secondary' | 'danger' | 'default';
|
|
6
|
+
/**
|
|
7
|
+
* Action Panel 单条操作项
|
|
8
|
+
* 对应设计文档 Action Item,可渲染为 Button / IconButton
|
|
9
|
+
*/
|
|
10
|
+
export interface PisellActionPanelItem {
|
|
11
|
+
/** 唯一 key,用于 React key;不传则用 index */
|
|
12
|
+
key?: string;
|
|
13
|
+
/** 展示文案(Button 时显示) */
|
|
14
|
+
label?: string;
|
|
15
|
+
/** 图标节点(可单独图标或与 label 同显) */
|
|
16
|
+
icon?: ReactNode;
|
|
17
|
+
/** 点击回调 */
|
|
18
|
+
onClick?: () => void;
|
|
19
|
+
/** 是否禁用 */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** 是否显示(条件显隐) @default true */
|
|
22
|
+
visible?: boolean;
|
|
23
|
+
/** 层级:主/次/危险/默认,影响按钮样式 */
|
|
24
|
+
priority?: ActionPanelItemPriority;
|
|
25
|
+
/** 单项内联样式 */
|
|
26
|
+
style?: CSSProperties;
|
|
27
|
+
/** 单项类名 */
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Action Panel 分组
|
|
32
|
+
* 对应设计文档 Action Group,内包含多个 Action Item
|
|
33
|
+
*/
|
|
34
|
+
export interface PisellActionPanelGroup {
|
|
35
|
+
/** 唯一 key;不传则用 index */
|
|
36
|
+
key?: string;
|
|
37
|
+
/** 本组操作项 */
|
|
38
|
+
items: PisellActionPanelItem[];
|
|
39
|
+
/** 组内整体优先级(可影响组内按钮默认 priority) */
|
|
40
|
+
priority?: ActionPanelItemPriority;
|
|
41
|
+
/** 是否显示该组 @default true */
|
|
42
|
+
visible?: boolean;
|
|
43
|
+
/** 组内对齐方式(组内多个 item 时的对齐) */
|
|
44
|
+
align?: 'start' | 'center' | 'end';
|
|
45
|
+
/** 组容器类名 */
|
|
46
|
+
className?: string;
|
|
47
|
+
/** 组容器样式 */
|
|
48
|
+
style?: CSSProperties;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Panel 布局方式
|
|
52
|
+
*/
|
|
53
|
+
export declare type ActionPanelLayout = 'horizontal' | 'vertical' | 'grid';
|
|
54
|
+
/**
|
|
55
|
+
* Panel 对齐方式
|
|
56
|
+
*/
|
|
57
|
+
export declare type ActionPanelAlign = 'left' | 'center' | 'right' | 'space-between';
|
|
58
|
+
/**
|
|
59
|
+
* 溢出策略:换行 / 滚动 / 更多菜单收纳
|
|
60
|
+
*/
|
|
61
|
+
export declare type ActionPanelOverflowStrategy = 'wrap' | 'scroll' | 'moreMenu';
|
|
62
|
+
/**
|
|
63
|
+
* PisellActionPanel 组件 Props
|
|
64
|
+
* 设计文档:Action Panel (pcp_ge_actionPanel_V1.0)
|
|
65
|
+
*/
|
|
66
|
+
export interface PisellActionPanelProps {
|
|
67
|
+
/** 操作分组列表,顺序即展示顺序 */
|
|
68
|
+
groups: PisellActionPanelGroup[];
|
|
69
|
+
/** 布局方式 @default 'horizontal' */
|
|
70
|
+
layout?: ActionPanelLayout;
|
|
71
|
+
/** 整体对齐方式 @default 'left' */
|
|
72
|
+
align?: ActionPanelAlign;
|
|
73
|
+
/** 溢出策略 @default 'wrap' */
|
|
74
|
+
overflowStrategy?: ActionPanelOverflowStrategy;
|
|
75
|
+
/** 组与组之间的间距(CSS gap 或 number px) */
|
|
76
|
+
groupGap?: number | string;
|
|
77
|
+
/** 组内操作项之间的间距(CSS gap 或 number px) */
|
|
78
|
+
itemGap?: number | string;
|
|
79
|
+
/** 根节点类名 */
|
|
80
|
+
className?: string;
|
|
81
|
+
/** 根节点样式 */
|
|
82
|
+
style?: CSSProperties;
|
|
83
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellBaseCardProps } from './types';
|
|
3
|
+
import './PisellBaseCard.less';
|
|
4
|
+
/**
|
|
5
|
+
* PisellBaseCard 基础卡片容器
|
|
6
|
+
* 提供可定制的容器用于承载子内容,支持默认/悬停/按下/禁用四态样式,可点击时支持焦点与键盘触发
|
|
7
|
+
*/
|
|
8
|
+
export declare function PisellBaseCard({ children, className, style, hoverStyle, activeStyle, disabledStyle, clickable, disabled, onClick, }: PisellBaseCardProps): React.JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PisellBaseCard } from './PisellBaseCard';
|
|
3
|
+
declare const meta: Meta<typeof PisellBaseCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
declare type Story = StoryObj<typeof PisellBaseCard>;
|
|
6
|
+
/** 默认:可点击、无内容 */
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
/** 带内容 */
|
|
9
|
+
export declare const WithChildren: Story;
|
|
10
|
+
/** 可点击并带点击回调 */
|
|
11
|
+
export declare const Clickable: Story;
|
|
12
|
+
/** 禁用态 */
|
|
13
|
+
export declare const Disabled: Story;
|
|
14
|
+
/** 不可点击(仅容器) */
|
|
15
|
+
export declare const NotClickable: Story;
|
|
16
|
+
/** 自定义默认样式 */
|
|
17
|
+
export declare const CustomStyle: Story;
|
|
18
|
+
/** 悬停/按下/禁用样式 */
|
|
19
|
+
export declare const StateStyles: Story;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* PisellBaseCard 组件 Props
|
|
4
|
+
* @description 基础卡片容器,支持四态样式与可点击配置,无选中逻辑(选中由低代码处理)
|
|
5
|
+
*/
|
|
6
|
+
export interface PisellBaseCardProps {
|
|
7
|
+
/**
|
|
8
|
+
* 卡片内容,由低代码插槽或直接传入
|
|
9
|
+
*/
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* 自定义类名,应用于根节点
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 默认状态下的内联样式(背景、圆角、边框、阴影、padding、宽高等)
|
|
17
|
+
*/
|
|
18
|
+
style?: CSSProperties;
|
|
19
|
+
/**
|
|
20
|
+
* 悬停时的样式覆盖,与 style 合并后应用
|
|
21
|
+
*/
|
|
22
|
+
hoverStyle?: CSSProperties;
|
|
23
|
+
/**
|
|
24
|
+
* 按下(active)时的样式覆盖,与 style 合并后应用
|
|
25
|
+
*/
|
|
26
|
+
activeStyle?: CSSProperties;
|
|
27
|
+
/**
|
|
28
|
+
* 禁用时的样式覆盖,与 style 合并后应用
|
|
29
|
+
*/
|
|
30
|
+
disabledStyle?: CSSProperties;
|
|
31
|
+
/**
|
|
32
|
+
* 是否可点击(可聚焦并触发 onClick)
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
clickable?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* 是否禁用,禁用时应用 disabledStyle 且不响应点击与焦点
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* 点击回调,仅在 clickable 且非 disabled 时触发
|
|
43
|
+
*/
|
|
44
|
+
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
45
|
+
}
|
|
@@ -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
|
+
}
|