@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,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PisellTabbarProps } from './types';
|
|
3
|
+
import './PisellTabbar.less';
|
|
4
|
+
/**
|
|
5
|
+
* PisellTabbar - 多层级 Tabbar 组件
|
|
6
|
+
*
|
|
7
|
+
* 支持最多 3 层级的 Tab 导航,每层级可独立展开/收起
|
|
8
|
+
*
|
|
9
|
+
* @component
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <PisellTabbar
|
|
13
|
+
* dataSource={categoryData}
|
|
14
|
+
* value={[1, 10, 100]}
|
|
15
|
+
* onChange={(value) => console.log('当前选中:', value)}
|
|
16
|
+
* />
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
declare const PisellTabbar: React.FC<PisellTabbarProps>;
|
|
20
|
+
export default PisellTabbar;
|
|
File without changes
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
export interface DataSourceType {
|
|
2
|
+
key: string;
|
|
3
|
+
displayName: string;
|
|
4
|
+
status: string;
|
|
5
|
+
type: string;
|
|
6
|
+
isDBInstance: boolean;
|
|
7
|
+
collections: Collection[];
|
|
8
|
+
}
|
|
9
|
+
export declare type ActionsItem = {
|
|
10
|
+
method: string;
|
|
11
|
+
path: string;
|
|
12
|
+
params: {
|
|
13
|
+
name: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}[];
|
|
16
|
+
headers: {
|
|
17
|
+
name: string;
|
|
18
|
+
value: string;
|
|
19
|
+
}[];
|
|
20
|
+
body: Record<string, any>;
|
|
21
|
+
};
|
|
22
|
+
export interface Collection {
|
|
23
|
+
name: string;
|
|
24
|
+
title: string;
|
|
25
|
+
tableName: string;
|
|
26
|
+
timestamps: boolean;
|
|
27
|
+
autoGenId: boolean;
|
|
28
|
+
filterTargetKey: string;
|
|
29
|
+
fields: Field[];
|
|
30
|
+
introspected: boolean;
|
|
31
|
+
unavailableActions: any[];
|
|
32
|
+
actions: {
|
|
33
|
+
get: ActionsItem;
|
|
34
|
+
update: ActionsItem;
|
|
35
|
+
create: ActionsItem;
|
|
36
|
+
delete: ActionsItem;
|
|
37
|
+
list: ActionsItem;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
interface Field {
|
|
41
|
+
name: string;
|
|
42
|
+
type: string;
|
|
43
|
+
allowNull: boolean;
|
|
44
|
+
primaryKey: boolean;
|
|
45
|
+
unique: boolean;
|
|
46
|
+
autoIncrement: boolean;
|
|
47
|
+
description?: (null | string)[];
|
|
48
|
+
possibleTypes?: string[];
|
|
49
|
+
rawType: string;
|
|
50
|
+
interface: string;
|
|
51
|
+
uiSchema: UiSchema;
|
|
52
|
+
key?: string;
|
|
53
|
+
collectionName?: string;
|
|
54
|
+
collectionKey?: any;
|
|
55
|
+
dataSourceKey?: string;
|
|
56
|
+
defaultValue?: any;
|
|
57
|
+
}
|
|
58
|
+
interface UiSchema {
|
|
59
|
+
type?: string;
|
|
60
|
+
'x-component': string;
|
|
61
|
+
'x-component-props'?: Xcomponentprops;
|
|
62
|
+
'x-validator'?: string;
|
|
63
|
+
title: string;
|
|
64
|
+
default?: any;
|
|
65
|
+
enum?: any[];
|
|
66
|
+
}
|
|
67
|
+
interface Xcomponentprops {
|
|
68
|
+
style?: Style;
|
|
69
|
+
autoSize?: AutoSize;
|
|
70
|
+
stringMode?: boolean;
|
|
71
|
+
step?: string;
|
|
72
|
+
dateFormat?: string;
|
|
73
|
+
showTime?: boolean;
|
|
74
|
+
}
|
|
75
|
+
interface AutoSize {
|
|
76
|
+
minRows: number;
|
|
77
|
+
}
|
|
78
|
+
interface Style {
|
|
79
|
+
width: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* 获取nocobase自定义数据源
|
|
83
|
+
*/
|
|
84
|
+
export declare const getNocobaseDataSource: () => Promise<DataSourceType[]>;
|
|
85
|
+
/**
|
|
86
|
+
* 获取nocobase主数据源
|
|
87
|
+
*/
|
|
88
|
+
export declare const getNocobaseMainDataSource: () => Promise<any>;
|
|
89
|
+
/**
|
|
90
|
+
* 获取nocobase数据源设置
|
|
91
|
+
*/
|
|
92
|
+
export declare const getNocobaseDataSourceOptions: () => Promise<any>;
|
|
93
|
+
/**
|
|
94
|
+
* 创建nocobase数据
|
|
95
|
+
*/
|
|
96
|
+
export declare const createNocobaseData: (params: {
|
|
97
|
+
key: string;
|
|
98
|
+
data: any;
|
|
99
|
+
headers?: any;
|
|
100
|
+
}) => Promise<any>;
|
|
101
|
+
/**
|
|
102
|
+
* nocobase get数据
|
|
103
|
+
*/
|
|
104
|
+
export declare const getNocobaseData: (params: {
|
|
105
|
+
key: string;
|
|
106
|
+
query: Record<string, any>;
|
|
107
|
+
headers?: any;
|
|
108
|
+
}) => Promise<any>;
|
|
109
|
+
/**
|
|
110
|
+
* 自定义api接口
|
|
111
|
+
*/
|
|
112
|
+
export declare const customApi: (url: string, data: Record<string, any>, options: {
|
|
113
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE';
|
|
114
|
+
baseUrl?: string | undefined;
|
|
115
|
+
headers?: {
|
|
116
|
+
name: string;
|
|
117
|
+
value: any;
|
|
118
|
+
}[] | undefined;
|
|
119
|
+
params?: {
|
|
120
|
+
name: string;
|
|
121
|
+
value: any;
|
|
122
|
+
}[] | undefined;
|
|
123
|
+
body?: Record<string, any> | undefined;
|
|
124
|
+
dataSourceKey?: string | undefined;
|
|
125
|
+
}) => Promise<any>;
|
|
126
|
+
/**
|
|
127
|
+
* 更新nocobase数据
|
|
128
|
+
*/
|
|
129
|
+
export declare const updateNocobaseData: (params: {
|
|
130
|
+
key: string;
|
|
131
|
+
data: any;
|
|
132
|
+
headers?: any;
|
|
133
|
+
query?: Record<string, any> | undefined;
|
|
134
|
+
}) => Promise<any>;
|
|
135
|
+
/**
|
|
136
|
+
* 获取nocobase数据列表
|
|
137
|
+
*/
|
|
138
|
+
export declare const getNocobaseDataList: (allParams: {
|
|
139
|
+
key: string;
|
|
140
|
+
params: {
|
|
141
|
+
page: number;
|
|
142
|
+
pageSize: number;
|
|
143
|
+
};
|
|
144
|
+
headers?: any;
|
|
145
|
+
}) => Promise<any>;
|
|
146
|
+
/**
|
|
147
|
+
* 删除nocobase数据
|
|
148
|
+
*/
|
|
149
|
+
export declare const deleteNocobaseData: (key: string, id: string, headers?: any) => Promise<any>;
|
|
150
|
+
/**
|
|
151
|
+
* 获取formSettingMeta数据
|
|
152
|
+
* @param params 请求参数
|
|
153
|
+
* @param params.sectionCodes 配置段代码数组,如 ['payment']
|
|
154
|
+
* @param params.businessCode 业务代码
|
|
155
|
+
* @param params.channelCode 渠道代码
|
|
156
|
+
* @param params.isBoard 是否包含board_code参数
|
|
157
|
+
* @returns Promise<any> 返回设置元数据
|
|
158
|
+
*/
|
|
159
|
+
export declare const getFormSettingMetaData: (params: {
|
|
160
|
+
sectionCodes: string[];
|
|
161
|
+
scope: string;
|
|
162
|
+
target?: string | undefined;
|
|
163
|
+
}) => Promise<any>;
|
|
164
|
+
/**
|
|
165
|
+
* 更新租户设置数据
|
|
166
|
+
* @param params 请求参数
|
|
167
|
+
* @param params.businessCode 业务代码
|
|
168
|
+
* @param params.channelCode 渠道代码
|
|
169
|
+
* @param params.boardCode 板块代码
|
|
170
|
+
* @param params.data 要更新的数据对象,如 {"order.prefix":"","order.suffix":"","payment.number":""}
|
|
171
|
+
* @returns Promise<any> 返回更新结果
|
|
172
|
+
*/
|
|
173
|
+
export declare const updateTenantSetting: (params: {
|
|
174
|
+
scope: string;
|
|
175
|
+
target?: string | undefined;
|
|
176
|
+
data: Record<string, any>;
|
|
177
|
+
}) => Promise<any>;
|
|
178
|
+
export declare type DeviceSettingScene = 'template' | 'profile' | 'instance';
|
|
179
|
+
/**
|
|
180
|
+
* 获取设备设置元数据(POST 类型 GET)
|
|
181
|
+
* @param params.scene 场景,默认 template
|
|
182
|
+
* @param params.sceneRequestId URL 中 {id} 占位符的实际取值
|
|
183
|
+
* @param params.items 需要获取的字段列表,例如 ['order.name', 'order.id']
|
|
184
|
+
*/
|
|
185
|
+
export declare const getDeviceSettingMetaData: (params: {
|
|
186
|
+
scene?: DeviceSettingScene | undefined;
|
|
187
|
+
sceneRequestId: string;
|
|
188
|
+
items: string[];
|
|
189
|
+
}) => Promise<any>;
|
|
190
|
+
/**
|
|
191
|
+
* 更新设备设置数据
|
|
192
|
+
* @param params.scene 场景,默认 template
|
|
193
|
+
* @param params.sceneRequestId URL 中 {id} 占位符的实际取值
|
|
194
|
+
* @param params.data 需要更新的字段值对象
|
|
195
|
+
*/
|
|
196
|
+
export declare const updateDeviceSetting: (params: {
|
|
197
|
+
scene?: DeviceSettingScene | undefined;
|
|
198
|
+
sceneRequestId: string;
|
|
199
|
+
data: Record<string, any>;
|
|
200
|
+
}) => Promise<any>;
|
|
201
|
+
export {};
|
|
@@ -232,7 +232,8 @@ var getDeviceSettingMetaData = async (params) => {
|
|
|
232
232
|
{
|
|
233
233
|
headers: {
|
|
234
234
|
"Content-Type": "application/json"
|
|
235
|
-
}
|
|
235
|
+
},
|
|
236
|
+
isPisell2: true
|
|
236
237
|
}
|
|
237
238
|
);
|
|
238
239
|
};
|
|
@@ -254,7 +255,8 @@ var updateDeviceSetting = async (params) => {
|
|
|
254
255
|
{
|
|
255
256
|
headers: {
|
|
256
257
|
"Content-Type": "application/json"
|
|
257
|
-
}
|
|
258
|
+
},
|
|
259
|
+
isPisell2: true
|
|
258
260
|
}
|
|
259
261
|
);
|
|
260
262
|
};
|
|
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
|
|
|
19
19
|
*/
|
|
20
20
|
declare const useTableProps: (props: UseTablePropsProps) => {
|
|
21
21
|
currentComponentId: any;
|
|
22
|
-
title: string | number | boolean |
|
|
22
|
+
title: string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | (() => React.ReactNode) | null | undefined;
|
|
23
23
|
pagination: {
|
|
24
24
|
total: number;
|
|
25
25
|
current: number;
|
|
@@ -28,7 +28,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
28
28
|
showSizeChanger: boolean;
|
|
29
29
|
};
|
|
30
30
|
columns: import("./useColumns").Column[];
|
|
31
|
-
subTitle: string | number | boolean |
|
|
31
|
+
subTitle: string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | (() => React.ReactNode) | null | undefined;
|
|
32
32
|
buttons: any[] | null;
|
|
33
33
|
filter: {
|
|
34
34
|
dom: any;
|
|
@@ -72,7 +72,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
72
72
|
useCustomAction: boolean;
|
|
73
73
|
actionType: string;
|
|
74
74
|
openMode: "modal" | "drawer";
|
|
75
|
-
openContentSize: "
|
|
75
|
+
openContentSize: "small" | "middle" | "large";
|
|
76
76
|
openTitle: string;
|
|
77
77
|
key: string;
|
|
78
78
|
} | undefined;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ColumnType } from 'antd/es/table';
|
|
3
|
+
import { LocalSettingsType } from '../../table/types';
|
|
4
|
+
import { DataSourceType } from '../provider/dataSource/DataSourceContext';
|
|
5
|
+
export declare type OperationItem = {
|
|
6
|
+
label?: string;
|
|
7
|
+
openMode: 'modal' | 'drawer' | 'custom';
|
|
8
|
+
openContentSize: 'small' | 'middle' | 'large';
|
|
9
|
+
openTitle: string;
|
|
10
|
+
actionType: 'detail' | 'edit' | 'delete' | 'custom';
|
|
11
|
+
key: string;
|
|
12
|
+
buttonProps?: any;
|
|
13
|
+
onClick?: (record: any) => void;
|
|
14
|
+
afterClose?: () => void;
|
|
15
|
+
};
|
|
16
|
+
export interface DataSourceTableProps {
|
|
17
|
+
__id?: string;
|
|
18
|
+
currentComponentId?: string;
|
|
19
|
+
currentSettingKey?: string;
|
|
20
|
+
title?: string | React.ReactNode | (() => React.ReactNode);
|
|
21
|
+
subTitle?: string | React.ReactNode | (() => React.ReactNode);
|
|
22
|
+
titleButtons?: {
|
|
23
|
+
show: boolean;
|
|
24
|
+
maxCount: number;
|
|
25
|
+
items: OperationItem[];
|
|
26
|
+
};
|
|
27
|
+
tableButtons?: {
|
|
28
|
+
show: boolean;
|
|
29
|
+
maxCount: number;
|
|
30
|
+
items: OperationItem[];
|
|
31
|
+
};
|
|
32
|
+
buttons?: any[];
|
|
33
|
+
operation?: {
|
|
34
|
+
show: boolean;
|
|
35
|
+
title: string;
|
|
36
|
+
width: number;
|
|
37
|
+
align: 'left' | 'center' | 'right';
|
|
38
|
+
fixed: 'left' | 'right' | false;
|
|
39
|
+
type: 'link' | 'button';
|
|
40
|
+
items: OperationItem[];
|
|
41
|
+
};
|
|
42
|
+
operationContent?: {
|
|
43
|
+
[key: string]: React.ReactNode;
|
|
44
|
+
};
|
|
45
|
+
dataSource: DataSourceType;
|
|
46
|
+
columns: ColumnType<any>[];
|
|
47
|
+
filter: any;
|
|
48
|
+
search?: {
|
|
49
|
+
show: boolean;
|
|
50
|
+
placeholder: string;
|
|
51
|
+
};
|
|
52
|
+
__designMode: string;
|
|
53
|
+
componentId: string;
|
|
54
|
+
clickToDetail?: {
|
|
55
|
+
show: boolean;
|
|
56
|
+
useCustomAction: boolean;
|
|
57
|
+
actionType: string;
|
|
58
|
+
openMode: 'modal' | 'drawer';
|
|
59
|
+
openContentSize: 'small' | 'middle' | 'large';
|
|
60
|
+
openTitle: string;
|
|
61
|
+
key: string;
|
|
62
|
+
};
|
|
63
|
+
onRow?: any;
|
|
64
|
+
filterBy?: Record<string, any>;
|
|
65
|
+
sortBy: string;
|
|
66
|
+
tabs?: {
|
|
67
|
+
show: boolean;
|
|
68
|
+
type: string;
|
|
69
|
+
items: {
|
|
70
|
+
name: string;
|
|
71
|
+
filterBy: Record<string, any>;
|
|
72
|
+
sortBy: string;
|
|
73
|
+
}[];
|
|
74
|
+
};
|
|
75
|
+
onValuesChange?: (changedValues: any, values: any) => void;
|
|
76
|
+
onDeleteFinish?: (record: Record<string, any>) => void;
|
|
77
|
+
extraParams?: {
|
|
78
|
+
list?: Record<string, any>;
|
|
79
|
+
get?: Record<string, any>;
|
|
80
|
+
update?: Record<string, any>;
|
|
81
|
+
create?: Record<string, any>;
|
|
82
|
+
destroy?: Record<string, any>;
|
|
83
|
+
};
|
|
84
|
+
localSettings?: LocalSettingsType;
|
|
85
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const formFieldMap: {
|
|
2
3
|
FormItemCheckbox: import("react").FC<{}> & {
|
|
3
4
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -19,7 +20,7 @@ declare const formFieldMap: {
|
|
|
19
20
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
20
21
|
onChange: (value: string) => void;
|
|
21
22
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
22
|
-
rootDomain: "custom" | "
|
|
23
|
+
rootDomain: "custom" | "xzero" | "saas";
|
|
23
24
|
customDomain?: string | undefined;
|
|
24
25
|
value?: string | undefined;
|
|
25
26
|
tenantId: string;
|
|
@@ -34,7 +35,7 @@ declare const formFieldMap: {
|
|
|
34
35
|
};
|
|
35
36
|
FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
36
37
|
options?: any;
|
|
37
|
-
optionSourceType?: "
|
|
38
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
38
39
|
labelField: string;
|
|
39
40
|
valueField: string;
|
|
40
41
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -61,7 +62,7 @@ declare const formFieldMap: {
|
|
|
61
62
|
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
62
63
|
FormItemRecordListWrapper: (props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
63
64
|
options?: any;
|
|
64
|
-
optionSourceType?: "
|
|
65
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
65
66
|
labelField: string;
|
|
66
67
|
valueField: string;
|
|
67
68
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -71,7 +72,7 @@ declare const formFieldMap: {
|
|
|
71
72
|
}) => import("react").JSX.Element;
|
|
72
73
|
FormItemTabs: (props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
73
74
|
options?: any;
|
|
74
|
-
optionSourceType?: "
|
|
75
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
75
76
|
labelField: string;
|
|
76
77
|
valueField: string;
|
|
77
78
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -80,7 +81,11 @@ declare const formFieldMap: {
|
|
|
80
81
|
extraParams?: Record<string, any> | undefined;
|
|
81
82
|
}) => import("react").JSX.Element;
|
|
82
83
|
};
|
|
83
|
-
declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<import("./
|
|
84
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./DatePicker").DataSourceDatePickerProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
85
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
86
|
+
} & {
|
|
87
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
88
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
84
89
|
JSON: import("react").FC<any>;
|
|
85
90
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
86
91
|
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
@@ -93,24 +98,20 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
93
98
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
94
99
|
onChange: (value: string) => void;
|
|
95
100
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
96
|
-
rootDomain: "custom" | "
|
|
101
|
+
rootDomain: "custom" | "xzero" | "saas";
|
|
97
102
|
customDomain?: string | undefined;
|
|
98
103
|
value?: string | undefined;
|
|
99
104
|
tenantId: string;
|
|
100
105
|
name?: string | undefined;
|
|
101
106
|
fieldKey?: string | undefined;
|
|
102
107
|
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
103
|
-
}) |
|
|
104
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
105
|
-
} & {
|
|
106
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
107
|
-
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DatePicker").DataSourceDatePickerProps> | (import("react").FC<{}> & {
|
|
108
|
+
}) | (import("react").FC<{}> & {
|
|
108
109
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
109
110
|
} & {
|
|
110
111
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
111
112
|
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
112
113
|
options?: any;
|
|
113
|
-
optionSourceType?: "
|
|
114
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
114
115
|
labelField: string;
|
|
115
116
|
valueField: string;
|
|
116
117
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -119,9 +120,9 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
119
120
|
extraParams?: Record<string, any> | undefined;
|
|
120
121
|
}) => import("react").JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
|
|
121
122
|
onChange: (value: string) => void;
|
|
122
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./
|
|
123
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | ((props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
123
124
|
options?: any;
|
|
124
|
-
optionSourceType?: "
|
|
125
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
125
126
|
labelField: string;
|
|
126
127
|
valueField: string;
|
|
127
128
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -130,7 +131,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
130
131
|
extraParams?: Record<string, any> | undefined;
|
|
131
132
|
}) => import("react").JSX.Element) | ((props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
132
133
|
options?: any;
|
|
133
|
-
optionSourceType?: "
|
|
134
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
134
135
|
labelField: string;
|
|
135
136
|
valueField: string;
|
|
136
137
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FilterItemProps } from '../../types';
|
|
2
|
+
export interface DropdownProps {
|
|
3
|
+
quickFilter: FilterItemProps[];
|
|
4
|
+
otherFilter: FilterItemProps[];
|
|
5
|
+
hiddenQuickFilter?: boolean;
|
|
6
|
+
hiddenOtherFilter?: boolean;
|
|
7
|
+
onChange: (list: {
|
|
8
|
+
quickFilter: FilterItemProps[];
|
|
9
|
+
otherFilter: FilterItemProps[];
|
|
10
|
+
}) => void;
|
|
11
|
+
quickFilterMaxLength: number;
|
|
12
|
+
formFiltersPrefix: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FilterItemProps } from '../../types';
|
|
3
|
+
export declare type FilterValueType = {
|
|
4
|
+
quickFilter: FilterItemProps[];
|
|
5
|
+
otherFilter: FilterItemProps[];
|
|
6
|
+
/** 筛选项表单值,字段名 -> 值,与 Form 的 values 一致 */
|
|
7
|
+
values?: Record<string, any>;
|
|
8
|
+
};
|
|
9
|
+
export declare type FilterListProps = {
|
|
10
|
+
value?: FilterValueType;
|
|
11
|
+
hiddenQuickFilter?: boolean;
|
|
12
|
+
hiddenOtherFilter?: boolean;
|
|
13
|
+
onChange?: (value: FilterValueType) => void;
|
|
14
|
+
quickFilterMaxLength: number;
|
|
15
|
+
formFiltersPrefix: string;
|
|
16
|
+
renderItem?: (item: any, otherProps?: any) => React.ReactNode;
|
|
17
|
+
placement?: 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
18
|
+
/** 筛选按钮尺寸,与 antd Button size 一致 */
|
|
19
|
+
size?: 'small' | 'middle' | 'large';
|
|
20
|
+
/** 筛选触发按钮的 className,用于定制样式(如与设计系统对齐) */
|
|
21
|
+
buttonClassName?: string;
|
|
22
|
+
/** 筛选按钮文案,不传则使用 materials 内置多语言 */
|
|
23
|
+
buttonText?: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ModeType } from "../table/types";
|
|
2
|
+
/**
|
|
3
|
+
* 筛选总配置
|
|
4
|
+
*/
|
|
5
|
+
export declare type FilterType = {
|
|
6
|
+
/** 筛选是否展示 */
|
|
7
|
+
show: boolean;
|
|
8
|
+
/** 筛选项排序按钮是否展示 */
|
|
9
|
+
sortButtonShow: boolean;
|
|
10
|
+
/** 筛选列表 */
|
|
11
|
+
list: FilterItemProps[];
|
|
12
|
+
items?: string[];
|
|
13
|
+
/** 快速筛选最大长度 */
|
|
14
|
+
quickFilterMaxLength: number;
|
|
15
|
+
/** 配置存储模式 */
|
|
16
|
+
storageMode: "" | "localStorage";
|
|
17
|
+
/** 筛选列表项dom */
|
|
18
|
+
dom?: any;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* 筛选列表项配置
|
|
22
|
+
* - type 为 single/input/rangePicker 等时使用内置或映射组件
|
|
23
|
+
* - type 为 "custom" 时使用 other.component,组件接收 value/onChange(由 Form 注入)
|
|
24
|
+
*/
|
|
25
|
+
export declare type FilterItemProps = {
|
|
26
|
+
type: "single" | "input" | "datePicker" | "rangePicker" | "rangePickerNew" | "search" | "custom";
|
|
27
|
+
name?: string | string[];
|
|
28
|
+
key: string;
|
|
29
|
+
props?: object;
|
|
30
|
+
label?: string;
|
|
31
|
+
sort?: boolean;
|
|
32
|
+
localFilter?: boolean;
|
|
33
|
+
other: Record<string, any>;
|
|
34
|
+
isCustom?: boolean;
|
|
35
|
+
columnKey?: string;
|
|
36
|
+
isHidden?: boolean;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* 筛选组件属性
|
|
40
|
+
*/
|
|
41
|
+
export interface FilterProps {
|
|
42
|
+
filter: FilterType;
|
|
43
|
+
isRenderFormContent: boolean;
|
|
44
|
+
onValuesChange?: () => void;
|
|
45
|
+
tableId?: string;
|
|
46
|
+
viewMode?: ModeType;
|
|
47
|
+
isMobile?: boolean;
|
|
48
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 ErrorCardData {
|
|
14
|
+
error_level: 0 | 1 | 2 | 3;
|
|
15
|
+
error_message: string;
|
|
16
|
+
error_code: string;
|
|
17
|
+
time: string;
|
|
18
|
+
device: {
|
|
19
|
+
device_type: keyof typeof DEVICE_TYPE_MAP;
|
|
20
|
+
device_name: string;
|
|
21
|
+
device_idfa: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
interface IErrorCardProps {
|
|
25
|
+
data: ErrorCardData;
|
|
26
|
+
onClose?: () => void;
|
|
27
|
+
}
|
|
28
|
+
declare const ErrorCard: (props: IErrorCardProps) => React.JSX.Element | null;
|
|
29
|
+
export default ErrorCard;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export declare type StatisticsData = {
|
|
4
|
+
fatal: number;
|
|
5
|
+
critical: number;
|
|
6
|
+
normal: number;
|
|
7
|
+
info: number;
|
|
8
|
+
};
|
|
9
|
+
interface IStatisticsProps {
|
|
10
|
+
data: StatisticsData;
|
|
11
|
+
}
|
|
12
|
+
declare const Statistics: (props: IStatisticsProps) => React.JSX.Element;
|
|
13
|
+
export default Statistics;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type StatisticsData } from './errorTipStatistics';
|
|
3
|
+
import { type ErrorCardData } from './errorCard';
|
|
4
|
+
import { type LogCardData } from './logCard';
|
|
5
|
+
import './index.less';
|
|
6
|
+
interface HardwareErrorTipProps {
|
|
7
|
+
statistics: StatisticsData;
|
|
8
|
+
errors?: ErrorCardData[];
|
|
9
|
+
logs?: LogCardData[];
|
|
10
|
+
onExportLogs?: (logs: any) => void;
|
|
11
|
+
onCloseError?: (error: ErrorCardData, index?: number) => void;
|
|
12
|
+
onTabChange?: (activeTab: string) => void;
|
|
13
|
+
activeTab?: string;
|
|
14
|
+
isLoadingErrors?: boolean;
|
|
15
|
+
isLoadingLogs?: boolean;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
declare const HardwareErrorTip: React.FC<HardwareErrorTipProps>;
|
|
19
|
+
export default HardwareErrorTip;
|