@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,35 @@
|
|
|
1
|
+
import type { CountryCode, PisellPhoneProps } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* 根据国家码获取国家/地区展示标识(正常文本,如 CN、US)
|
|
4
|
+
* @param countryCode 国家码
|
|
5
|
+
* @returns 展示用标识,未匹配时返回 '--'
|
|
6
|
+
*/
|
|
7
|
+
export declare function getCountryFlag(countryCode: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* 根据国家码获取最大长度(数字位数)
|
|
10
|
+
* @param countryCode 国家码
|
|
11
|
+
* @param countryCodes 国家码列表
|
|
12
|
+
* @returns 最大长度(如中国 11 位数字)
|
|
13
|
+
*/
|
|
14
|
+
export declare function getMaxLength(countryCode: string, countryCodes: CountryCode[]): number;
|
|
15
|
+
/**
|
|
16
|
+
* 根据国家码获取配置
|
|
17
|
+
* @param countryCode 国家码
|
|
18
|
+
* @param countryCodes 国家码列表
|
|
19
|
+
* @returns 国家码配置
|
|
20
|
+
*/
|
|
21
|
+
export declare function getCountryConfig(countryCode: string, countryCodes: CountryCode[]): CountryCode | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* 获取最终的国家码列表
|
|
24
|
+
*
|
|
25
|
+
* 优先级:
|
|
26
|
+
* 1. props.countryCodes(完全自定义)
|
|
27
|
+
* 2. props.availableCountryCodes(从预设中过滤)
|
|
28
|
+
* 3. PRESET_COUNTRY_CODES(默认全部24个)
|
|
29
|
+
*
|
|
30
|
+
* 然后根据 props.commonCountryCodes 排序(置顶)
|
|
31
|
+
*
|
|
32
|
+
* @param props 组件 Props
|
|
33
|
+
* @returns 国家码列表
|
|
34
|
+
*/
|
|
35
|
+
export declare function getCountryCodes(props: PisellPhoneProps): CountryCode[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 电话号码工具函数导出
|
|
3
|
+
*/
|
|
4
|
+
export { formatPhone, formatChinaMobile, formatUSPhone, maskPhone, detectPhoneType } from './phoneFormatter';
|
|
5
|
+
export { validatePhone } from './phoneValidator';
|
|
6
|
+
export { getCountryFlag, getMaxLength, getCountryConfig, getCountryCodes, } from './countryCodeHelper';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FilterItemProps } from '../filter/types';
|
|
3
|
+
import { FormInstance } from 'antd';
|
|
4
|
+
export declare type PisellQuickFilterProps = FormInstance & {
|
|
5
|
+
hasForm?: boolean;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
formFiltersPrefix: string;
|
|
8
|
+
filterList?: FilterItemProps[];
|
|
9
|
+
quickFilterMaxLength: number;
|
|
10
|
+
hiddenQuickFilter: boolean;
|
|
11
|
+
hiddenOtherFilter: boolean;
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import type { RecordBoardContextValue } from '../types';
|
|
3
|
+
export interface RecordBoardProviderProps {
|
|
4
|
+
value: RecordBoardContextValue;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 仅负责注入 RecordBoard 上下文。
|
|
9
|
+
* 实际的数据源、onSearch/onPageChange 由上层(如接 DataSourceContainer 或独立 fetch)提供。
|
|
10
|
+
*/
|
|
11
|
+
export declare const RecordBoardProvider: React.FC<RecordBoardProviderProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { RecordBoardContextValue, RecordBoardChildComponentProps, RecordBoardGridProps } from '../types';
|
|
2
|
+
export interface UseRecordBoardContextOptions {
|
|
3
|
+
/** 子组件 displayName,用于从 childComponentProps 中取对应 props */
|
|
4
|
+
displayName?: keyof RecordBoardChildComponentProps;
|
|
5
|
+
/** 上层传入的 childComponentProps(若 Context 未提供则从参数传入) */
|
|
6
|
+
childComponentProps?: RecordBoardChildComponentProps;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* 消费 RecordBoard 上下文,供各 layout 内子组件(Search / ToolBar / Grid / CardList / Pagination)使用。
|
|
10
|
+
* 若传入 displayName,返回会合并 childComponentProps[displayName] 便于透传。
|
|
11
|
+
* 当 displayName 为 'grid' 时,返回类型包含 RecordBoardGridProps(columns、scroll、size)。
|
|
12
|
+
*/
|
|
13
|
+
export declare function useRecordBoardContext(options: UseRecordBoardContextOptions & {
|
|
14
|
+
displayName: 'grid';
|
|
15
|
+
}): RecordBoardContextValue & RecordBoardGridProps;
|
|
16
|
+
export declare function useRecordBoardContext(options?: UseRecordBoardContextOptions): RecordBoardContextValue;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RecordBoardContextValue } from '../../types';
|
|
3
|
+
export interface RecordBoardCardListProps extends Partial<Pick<RecordBoardContextValue, 'data' | 'loading'>> {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
render?: (ctx: RecordBoardContextValue) => React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Card 布局下的数据视图:从 context 取 data / loading。
|
|
10
|
+
*/
|
|
11
|
+
declare const RecordBoardCardList: React.FC<RecordBoardCardListProps>;
|
|
12
|
+
export default RecordBoardCardList;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import RecordBoardCardList from './CardList';
|
|
3
|
+
/**
|
|
4
|
+
* Card 布局:仅内容区 = 卡片列表(不含分页)。
|
|
5
|
+
* 工具栏、多选操作栏、分页由 Shell Frame 提供,使用时用 ShellFrame 包裹:
|
|
6
|
+
* <PisellRecordBoard.ShellFrame><PisellRecordBoard.CardLayout /></PisellRecordBoard.ShellFrame>
|
|
7
|
+
*/
|
|
8
|
+
declare const CardLayout: React.FC<{
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
}>;
|
|
12
|
+
export default CardLayout;
|
|
13
|
+
export { RecordBoardCardList as CardLayoutCardList };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TableProps } from 'antd';
|
|
3
|
+
import type { RecordBoardContextValue } from '../../types';
|
|
4
|
+
import './Grid.less';
|
|
5
|
+
export interface RecordBoardGridViewProps extends Omit<TableProps<any>, 'dataSource' | 'loading' | 'pagination'>, Partial<Pick<RecordBoardContextValue, 'data' | 'loading'>> {
|
|
6
|
+
/** 列配置,同 antd Table columns */
|
|
7
|
+
columns?: TableProps<any>['columns'];
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
/** 自定义渲染,传入后不再使用内置 Table */
|
|
11
|
+
render?: (ctx: RecordBoardContextValue) => React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare const RecordBoardGridView: React.FC<RecordBoardGridViewProps>;
|
|
14
|
+
export default RecordBoardGridView;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import RecordBoardGridView from './Grid';
|
|
3
|
+
/**
|
|
4
|
+
* Grid 布局:仅内容区 = 表格(不含分页)。
|
|
5
|
+
* 工具栏、多选操作栏、分页由 Shell Frame 提供,使用时用 ShellFrame 包裹:
|
|
6
|
+
* <PisellRecordBoard.ShellFrame><PisellRecordBoard.GridLayout /></PisellRecordBoard.ShellFrame>
|
|
7
|
+
*/
|
|
8
|
+
declare const GridLayout: React.FC<{
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
}>;
|
|
12
|
+
export default GridLayout;
|
|
13
|
+
export { RecordBoardGridView as GridLayoutGrid };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellBatchActionBarProps } from '../../../pisellBatchActionBar';
|
|
3
|
+
/**
|
|
4
|
+
* RecordBoard 下的多选操作栏:从 context 取选中态与数据,渲染 PisellBatchActionBar。
|
|
5
|
+
* 仅在有选中项时展示;全选/反选/清空基于当前页 data。
|
|
6
|
+
*/
|
|
7
|
+
declare const RecordBoardBatchActionBar: React.FC<Partial<PisellBatchActionBarProps>>;
|
|
8
|
+
export default RecordBoardBatchActionBar;
|
package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RecordBoardCalendarProps } from '../../types';
|
|
3
|
+
export declare type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
|
|
4
|
+
/**
|
|
5
|
+
* RecordBoard 日历视图:内嵌 BookingCalendarDemo(Tailwind 样式由包入口 `pisell-materials.tw.css` 注入)。
|
|
6
|
+
*/
|
|
7
|
+
export declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RecordBoardCalendarProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* RecordBoard 日历槽位:仅在 PisellRecordBoard.ShellFrame 内使用,本身不渲染 DOM。
|
|
5
|
+
* 与 GridLayout、FloorMap 并存时出现「表格 / 平面图 / 日历」切换。
|
|
6
|
+
*/
|
|
7
|
+
declare const RecordBoardCalendar: React.FC<RecordBoardCalendarProps>;
|
|
8
|
+
export default RecordBoardCalendar;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/** 日历内会改本地预约数据的动作类型,供业务层拦截(如平面图未支持写接口时 toast) */
|
|
3
|
+
export declare type CalendarPersistKind = 'moveBooking' | 'applyConflictMove' | 'createBooking' | 'removeBlocks' | 'createBlock' | 'confirmBlockWithConflicts' | 'checkin' | 'checkinReschedule' | 'mergeOrder' | 'other';
|
|
4
|
+
export interface CalendarPersistContextValue {
|
|
5
|
+
/**
|
|
6
|
+
* 返回 false 时日历组件应取消本次本地数据变更(由调用方决定是否已 toast)。
|
|
7
|
+
* 未提供时默认允许所有本地变更(Story / 独立演示)。
|
|
8
|
+
*/
|
|
9
|
+
beforePersist?: (kind: CalendarPersistKind) => boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const CalendarPersistProvider: React.FC<{
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
value?: CalendarPersistContextValue;
|
|
14
|
+
}>;
|
|
15
|
+
/**
|
|
16
|
+
* 在日历 Demo 内判断某类写操作是否允许执行本地 state 更新。
|
|
17
|
+
*/
|
|
18
|
+
export declare function useCalendarPersist(): (kind: CalendarPersistKind) => boolean;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { CalendarPersistProvider, useCalendarPersist, } from './calendarPersistGuard';
|
|
2
|
+
export type { CalendarPersistContextValue, CalendarPersistKind, } from './calendarPersistGuard';
|
|
3
|
+
export { PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, } from './PisellRecordBoardCalendarView';
|
|
4
|
+
export { default as RecordBoardCalendar } from './RecordBoardCalendar';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 列显示隐藏弹层内容:显隐切换 + 拖拽排序(参考 table Actions ColumnsSetting PopoverContent)。
|
|
3
|
+
*/
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import type { RecordBoardColumnType } from '../../types';
|
|
6
|
+
export interface ColumnSettingPopoverProps {
|
|
7
|
+
columns: RecordBoardColumnType[];
|
|
8
|
+
columnVisibility: Record<string, boolean>;
|
|
9
|
+
onColumnVisibilityChange: (visibility: Record<string, boolean>) => void;
|
|
10
|
+
/** 列 key 顺序(拖拽排序后持久化);未传则按 columns 顺序 */
|
|
11
|
+
columnOrder?: string[] | null;
|
|
12
|
+
onColumnOrderChange?: (columnKeys: string[]) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const ColumnSettingPopover: React.FC<ColumnSettingPopoverProps>;
|
|
15
|
+
export default ColumnSettingPopover;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RecordBoardFloorMapProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* RecordBoard 平面图槽位:仅在 PisellRecordBoard.ShellFrame 内使用,本身不渲染 DOM。
|
|
5
|
+
* 将 PisellFloorMapLayout 所需 props 声明在树结构上;与 GridLayout 并存时出现「表格 / 平面图」切换。
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* <PisellRecordBoard.ShellFrame>
|
|
9
|
+
* <PisellRecordBoard.GridLayout />
|
|
10
|
+
* <PisellRecordBoard.FloorMap floorMapConfig={...} dataSources={...} />
|
|
11
|
+
* </PisellRecordBoard.ShellFrame>
|
|
12
|
+
*/
|
|
13
|
+
declare const RecordBoardFloorMap: React.FC<RecordBoardFloorMapProps>;
|
|
14
|
+
export default RecordBoardFloorMap;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface RecordBoardSearchProps {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* RecordBoard 下的独立搜索槽:使用 PisellFind,绑定 context.searchParams.keyword 与 onSearch。
|
|
7
|
+
* 可通过 childComponentProps.search 透传 PisellFind 的 props。
|
|
8
|
+
*/
|
|
9
|
+
declare const RecordBoardSearch: React.FC<RecordBoardSearchProps>;
|
|
10
|
+
export default RecordBoardSearch;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RecordBoardFloorMapProps } from '../types';
|
|
3
|
+
import type { RecordBoardCalendarProps } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* ShellFrame 解析子节点后的元信息,供 ToolBar 等判断是否需要「表格 / 平面图 / 日历」Segmented。
|
|
6
|
+
* 未处于 ShellFrame.Provider 内时为 undefined(如单独挂载 ToolBar)。
|
|
7
|
+
*/
|
|
8
|
+
export interface RecordBoardShellBodyMeta {
|
|
9
|
+
/** 子组件 FloorMap props 与根级 floorMap 合并后的结果(子优先) */
|
|
10
|
+
effectiveFloorMapProps?: RecordBoardFloorMapProps;
|
|
11
|
+
/** 子组件 Calendar props 与根级 calendar 合并后的结果(子优先) */
|
|
12
|
+
effectiveCalendarProps?: RecordBoardCalendarProps;
|
|
13
|
+
/** ShellFrame 内是否存在 GridLayout / CardLayout 等非 FloorMap 子节点 */
|
|
14
|
+
hasGridContent: boolean;
|
|
15
|
+
/** 合并后是否存在可渲染的平面图配置 */
|
|
16
|
+
hasFloorMapSlot: boolean;
|
|
17
|
+
/** 合并后是否存在可渲染的日历配置 */
|
|
18
|
+
hasCalendarSlot: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare const RecordBoardShellBodyMetaContext: React.Context<RecordBoardShellBodyMeta | undefined>;
|
|
21
|
+
export declare function useRecordBoardShellBodyMeta(): RecordBoardShellBodyMeta | undefined;
|