@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,57 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import type { Dayjs } from 'dayjs';
|
|
3
|
+
import type { PisellTimeNavigatorProps } from '../pisellTimeNavigator/types';
|
|
4
|
+
import type { PisellReservationScheduleProps } from '../pisellReservationSchedule/types';
|
|
5
|
+
/** 组合值:日历日 + 该日上的时刻(与 PisellTimeNavigator 对齐) */
|
|
6
|
+
export interface ReservationScheduleBandValue {
|
|
7
|
+
date: Dayjs;
|
|
8
|
+
at: Dayjs;
|
|
9
|
+
}
|
|
10
|
+
export declare type TimeNavigatorPassthroughProps = Omit<PisellTimeNavigatorProps, 'value' | 'onChange' | 'referenceDate' | 'defaultValue'>;
|
|
11
|
+
/**
|
|
12
|
+
* PisellReservationScheduleBand:营业日条 + 横向时间轴
|
|
13
|
+
*/
|
|
14
|
+
export interface PisellReservationScheduleBandProps {
|
|
15
|
+
/**
|
|
16
|
+
* 受控:选中日 + 轴上时刻
|
|
17
|
+
*/
|
|
18
|
+
value?: ReservationScheduleBandValue;
|
|
19
|
+
/**
|
|
20
|
+
* 日历日或时刻任一变化时触发
|
|
21
|
+
*/
|
|
22
|
+
onChange?: (next: ReservationScheduleBandValue) => void;
|
|
23
|
+
/**
|
|
24
|
+
* 非受控初始值(可只传部分字段)
|
|
25
|
+
*/
|
|
26
|
+
defaultValue?: Partial<ReservationScheduleBandValue>;
|
|
27
|
+
/**
|
|
28
|
+
* 透传给 PisellReservationSchedule(如 minDate / maxDate)
|
|
29
|
+
*/
|
|
30
|
+
scheduleProps?: Omit<PisellReservationScheduleProps, 'value' | 'onChange' | 'defaultValue'>;
|
|
31
|
+
/**
|
|
32
|
+
* 透传给 PisellTimeNavigator(不含 value/onChange/referenceDate)
|
|
33
|
+
*/
|
|
34
|
+
timeNavigatorProps?: TimeNavigatorPassthroughProps;
|
|
35
|
+
/**
|
|
36
|
+
* 顶栏日程行:PisellReservationSchedule 左侧自定义内容(如标题)
|
|
37
|
+
*/
|
|
38
|
+
scheduleStartSlot?: ReactNode;
|
|
39
|
+
/**
|
|
40
|
+
* 顶栏日程行:PisellReservationSchedule 右侧自定义内容(如状态、主按钮)
|
|
41
|
+
*/
|
|
42
|
+
scheduleEndSlot?: ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
* 顶栏日程行:紧挨在选日组件之后(如「跟随当前」),与中间列同一 flex 区
|
|
45
|
+
*/
|
|
46
|
+
scheduleAfterDateSlot?: ReactNode;
|
|
47
|
+
/**
|
|
48
|
+
* 为 true 时在整个日程带上叠加载层(如切换营业日后拉预约列表期间)
|
|
49
|
+
*/
|
|
50
|
+
dataLoading?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* 加载层内文案,由业务侧 {@link locales.getText} 等注入
|
|
53
|
+
*/
|
|
54
|
+
dataLoadingTip?: ReactNode;
|
|
55
|
+
className?: string;
|
|
56
|
+
style?: CSSProperties;
|
|
57
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PisellShellFrameProps } from './types';
|
|
3
|
+
import './PisellShellFrame.less';
|
|
4
|
+
/**
|
|
5
|
+
* PisellShellFrame:通用壳层布局组件。
|
|
6
|
+
* 支持通过 config 控制各区域显隐,不同展示类型(表格/看板/日历/楼层图等)复用同一壳层。
|
|
7
|
+
*
|
|
8
|
+
* - 顶部:标题区(标题/副标题/辅助信息)、工具区(Toolbar)、统计区(Statistic List,可选折叠)
|
|
9
|
+
* - 中间:滚动承载(可选)+ Layout 插槽(children)
|
|
10
|
+
* - 底部:批量操作条(按选中状态出现)、状态提示区(加载/错误/同步提示等)
|
|
11
|
+
*/
|
|
12
|
+
export declare const PisellShellFrame: React.FC<PisellShellFrameProps>;
|
|
13
|
+
export default PisellShellFrame;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PisellShellFrame } from './PisellShellFrame';
|
|
3
|
+
declare const meta: Meta<typeof PisellShellFrame>;
|
|
4
|
+
export default meta;
|
|
5
|
+
declare type Story = StoryObj<typeof PisellShellFrame>;
|
|
6
|
+
/** 仅标题区 */
|
|
7
|
+
export declare const TitleOnly: Story;
|
|
8
|
+
/** 标题 + 工具区 */
|
|
9
|
+
export declare const WithToolbar: Story;
|
|
10
|
+
/** 标题 + 统计区(可折叠,国际化) */
|
|
11
|
+
export declare const WithStatisticCollapsible: Story;
|
|
12
|
+
/** 中间滚动 + 底部批量条 + 状态区 */
|
|
13
|
+
export declare const WithScrollBatchAndStatus: Story;
|
|
14
|
+
/** 全区域展示(默认展开统计) */
|
|
15
|
+
export declare const Full: Story;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 滚动配置:为 true 时使用默认滚动;为对象时传入样式或 scroll 相关配置。
|
|
4
|
+
*/
|
|
5
|
+
export declare type PisellShellFrameScrollConfig = boolean | {
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* PisellShellFrame 配置:控制各区域的展示与行为。
|
|
11
|
+
* 不同展示类型(表格/看板/日历等)复用同一壳层,通过配置控制显隐。
|
|
12
|
+
*/
|
|
13
|
+
export interface PisellShellFrameConfig {
|
|
14
|
+
/** 是否展示顶部标题区(标题/副标题/辅助信息) */
|
|
15
|
+
showTitle?: boolean;
|
|
16
|
+
/** 是否展示顶部工具区(Toolbar) */
|
|
17
|
+
showToolbar?: boolean;
|
|
18
|
+
/** 是否展示顶部统计区(Statistic List) */
|
|
19
|
+
showStatistic?: boolean;
|
|
20
|
+
/** 统计区是否支持折叠,仅 showStatistic 为 true 时有效 */
|
|
21
|
+
statisticCollapsible?: boolean;
|
|
22
|
+
/** 中间内容区是否使用滚动承载包裹;为 true 时默认 overflow auto */
|
|
23
|
+
scroll?: PisellShellFrameScrollConfig;
|
|
24
|
+
/** 是否展示底部批量操作条(按选中状态出现由调用方控制,此处仅控制是否渲染该槽位) */
|
|
25
|
+
showBatchActionBar?: boolean;
|
|
26
|
+
/** 是否展示底部状态提示区(加载/错误/同步提示等) */
|
|
27
|
+
showStatusArea?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* PisellShellFrame 组件 Props。
|
|
31
|
+
* 通过 config 控制各区域显隐,通过 slot props 传入各区域内容。
|
|
32
|
+
*/
|
|
33
|
+
export interface PisellShellFrameProps {
|
|
34
|
+
/** 类名 */
|
|
35
|
+
className?: string;
|
|
36
|
+
/** 内联样式 */
|
|
37
|
+
style?: CSSProperties;
|
|
38
|
+
/** 区域显隐与行为配置,未传则默认不展示可选区域 */
|
|
39
|
+
config?: PisellShellFrameConfig;
|
|
40
|
+
/** 标题 */
|
|
41
|
+
title?: ReactNode;
|
|
42
|
+
/** 副标题 */
|
|
43
|
+
subtitle?: ReactNode;
|
|
44
|
+
/** 标题区右侧辅助信息 */
|
|
45
|
+
titleExtra?: ReactNode;
|
|
46
|
+
/** 工具栏内容 */
|
|
47
|
+
toolbar?: ReactNode;
|
|
48
|
+
/** 统计列表内容(如 PisellStatisticList 或自定义) */
|
|
49
|
+
statisticList?: ReactNode;
|
|
50
|
+
/** 主内容(表格/看板/日历/楼层图等),当 config.scroll 为 true 时会被滚动容器包裹 */
|
|
51
|
+
children?: ReactNode;
|
|
52
|
+
/** 批量操作条,通常按选中状态显隐由调用方控制 */
|
|
53
|
+
batchActionBar?: ReactNode;
|
|
54
|
+
/** 状态提示(加载/错误/同步提示等) */
|
|
55
|
+
statusArea?: ReactNode;
|
|
56
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface PisellStatisticListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
isHasBorder?: boolean;
|
|
5
|
+
backgroundColors?: string[];
|
|
6
|
+
labelColor?: string;
|
|
7
|
+
valueColor?: string;
|
|
8
|
+
data: {
|
|
9
|
+
label: string;
|
|
10
|
+
value: string;
|
|
11
|
+
isLink?: boolean;
|
|
12
|
+
link?: string;
|
|
13
|
+
tip?: string;
|
|
14
|
+
onClick?: () => void;
|
|
15
|
+
children?: {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
}[];
|
|
19
|
+
}[];
|
|
20
|
+
}
|
|
21
|
+
declare const PisellStatisticList: (props: PisellStatisticListProps) => React.JSX.Element;
|
|
22
|
+
export default PisellStatisticList;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PisellTimeNavigator } from './PisellTimeNavigator';
|
|
3
|
+
/**
|
|
4
|
+
* PisellTimeNavigator 组件 Storybook
|
|
5
|
+
* 时间导航轴:时间范围内浏览、选择、控制
|
|
6
|
+
*/
|
|
7
|
+
declare const meta: Meta<typeof PisellTimeNavigator>;
|
|
8
|
+
export default meta;
|
|
9
|
+
declare type Story = StoryObj<typeof PisellTimeNavigator>;
|
|
10
|
+
/**
|
|
11
|
+
* 默认:横向、轴动、显示 Now
|
|
12
|
+
*/
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
/** 默认 - 竖向 */
|
|
15
|
+
export declare const DefaultVertical: Story;
|
|
16
|
+
/**
|
|
17
|
+
* 受控 + 默认 12:00
|
|
18
|
+
*/
|
|
19
|
+
export declare const Controlled: Story;
|
|
20
|
+
/** 受控 - 竖向 */
|
|
21
|
+
export declare const ControlledVertical: Story;
|
|
22
|
+
/**
|
|
23
|
+
* 非受控 + 默认 14:30
|
|
24
|
+
*/
|
|
25
|
+
export declare const Uncontrolled: Story;
|
|
26
|
+
/** 非受控 - 竖向 */
|
|
27
|
+
export declare const UncontrolledVertical: Story;
|
|
28
|
+
/**
|
|
29
|
+
* 竖向
|
|
30
|
+
*/
|
|
31
|
+
export declare const Vertical: Story;
|
|
32
|
+
/**
|
|
33
|
+
* 指针动模式(cursor-moves)
|
|
34
|
+
*/
|
|
35
|
+
export declare const CursorMoves: Story;
|
|
36
|
+
/** 指针动模式 - 竖向 */
|
|
37
|
+
export declare const CursorMovesVertical: Story;
|
|
38
|
+
/**
|
|
39
|
+
* 营业时间高亮 10:00–22:00
|
|
40
|
+
*/
|
|
41
|
+
export declare const BusinessHours: Story;
|
|
42
|
+
/** 营业时间高亮 - 竖向 */
|
|
43
|
+
export declare const BusinessHoursVertical: Story;
|
|
44
|
+
/**
|
|
45
|
+
* 自定义时间范围 08:00–20:00
|
|
46
|
+
*/
|
|
47
|
+
export declare const CustomRange: Story;
|
|
48
|
+
/** 自定义时间范围 - 竖向 */
|
|
49
|
+
export declare const CustomRangeVertical: Story;
|
|
50
|
+
/**
|
|
51
|
+
* 步长 30 分钟
|
|
52
|
+
*/
|
|
53
|
+
export declare const Step30: Story;
|
|
54
|
+
/** 步长 30 分钟 - 竖向 */
|
|
55
|
+
export declare const Step30Vertical: Story;
|
|
56
|
+
/**
|
|
57
|
+
* 惯性滚动开启
|
|
58
|
+
*/
|
|
59
|
+
export declare const Inertia: Story;
|
|
60
|
+
/** 惯性滚动 - 竖向 */
|
|
61
|
+
export declare const InertiaVertical: Story;
|
|
62
|
+
/**
|
|
63
|
+
* 吸附到整点(松手后自动吸附到 0/15/30/45 分刻度)
|
|
64
|
+
*/
|
|
65
|
+
export declare const SnapToStep: Story;
|
|
66
|
+
/** 吸附到整点 - 竖向 */
|
|
67
|
+
export declare const SnapToStepVertical: Story;
|
|
68
|
+
/**
|
|
69
|
+
* 隐藏 Now 按钮
|
|
70
|
+
*/
|
|
71
|
+
export declare const NoNowButton: Story;
|
|
72
|
+
/** 隐藏 Now 按钮 - 竖向 */
|
|
73
|
+
export declare const NoNowButtonVertical: Story;
|
|
74
|
+
/**
|
|
75
|
+
* 实时模式(仅演示,实际会跟随系统时间)
|
|
76
|
+
*/
|
|
77
|
+
export declare const Realtime: Story;
|
|
78
|
+
/** 实时模式 - 竖向 */
|
|
79
|
+
export declare const RealtimeVertical: Story;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface BackgroundLayerProps {
|
|
3
|
+
orientation: 'horizontal' | 'vertical';
|
|
4
|
+
/** 过去时间淡化色 */
|
|
5
|
+
pastTimeFade?: string;
|
|
6
|
+
/** 营业时间区间 [startPx, endPx],用于视觉高亮 */
|
|
7
|
+
businessHoursPx?: [number, number];
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 背景区间层:营业时间高亮、过去时间淡化等(当前时间渐变已拆为独立块,见 axis-wrap 内 .pisell-time-navigator-current-gradient)
|
|
13
|
+
*/
|
|
14
|
+
export declare function BackgroundLayer({ orientation, pastTimeFade, businessHoursPx, className, style, }: BackgroundLayerProps): React.JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Dayjs } from 'dayjs';
|
|
3
|
+
export interface CursorLayerProps {
|
|
4
|
+
orientation: 'horizontal' | 'vertical';
|
|
5
|
+
value: Dayjs | null;
|
|
6
|
+
timeFormat: string;
|
|
7
|
+
locale?: string;
|
|
8
|
+
isRealtime: boolean;
|
|
9
|
+
offsetPx: number;
|
|
10
|
+
/** axis-moves 时固定于视口中央,不应用 offsetPx */
|
|
11
|
+
fixedCenter?: boolean;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
className?: string;
|
|
14
|
+
/** cursor-moves:允许拖指针改时间 */
|
|
15
|
+
dragInteractive?: boolean;
|
|
16
|
+
onDragPointerDown?: React.PointerEventHandler<HTMLDivElement>;
|
|
17
|
+
onDragPointerMove?: React.PointerEventHandler<HTMLDivElement>;
|
|
18
|
+
onDragPointerUp?: React.PointerEventHandler<HTMLDivElement>;
|
|
19
|
+
onDragPointerCancel?: React.PointerEventHandler<HTMLDivElement>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* 时间指示器层:横向为「顶三角 + 竖长方条」SVG,竖向为横线 + 时间气泡
|
|
23
|
+
* 对齐基准为几何中心。Realtime 态 #FF692E,浏览态 #344054
|
|
24
|
+
*/
|
|
25
|
+
export declare function CursorLayer({ orientation, value, timeFormat, locale, isRealtime, offsetPx, fixedCenter, style, className, dragInteractive, onDragPointerDown, onDragPointerMove, onDragPointerUp, onDragPointerCancel, }: CursorLayerProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Dayjs } from 'dayjs';
|
|
3
|
+
export interface GestureLayerProps {
|
|
4
|
+
orientation: 'horizontal' | 'vertical';
|
|
5
|
+
cellSizePx: number;
|
|
6
|
+
/** 轴在滚动内容中的起始边距(左/上),用于把「滚动内容坐标」转为「轴内偏移」(与 dot 对齐) */
|
|
7
|
+
axisStartMarginPx: number;
|
|
8
|
+
offsetToTime: (offset: number) => Dayjs | null;
|
|
9
|
+
onSelectTime: (t: Dayjs) => void;
|
|
10
|
+
isInDisabledRanges: (t: Dayjs) => boolean;
|
|
11
|
+
snapToStep: boolean;
|
|
12
|
+
stepMinutes: number;
|
|
13
|
+
snapFn: (t: Dayjs) => Dayjs;
|
|
14
|
+
scrollPosition: {
|
|
15
|
+
scrollLeft: number;
|
|
16
|
+
scrollTop: number;
|
|
17
|
+
};
|
|
18
|
+
viewportSize: {
|
|
19
|
+
w: number;
|
|
20
|
+
h: number;
|
|
21
|
+
};
|
|
22
|
+
onPointerDown?: React.PointerEventHandler;
|
|
23
|
+
onPointerMove?: React.PointerEventHandler;
|
|
24
|
+
onPointerUp?: React.PointerEventHandler;
|
|
25
|
+
onPointerLeave?: React.PointerEventHandler;
|
|
26
|
+
/** 轴上任意指针按下(含惯性拖轴) */
|
|
27
|
+
onUserInteraction?: () => void;
|
|
28
|
+
children: React.ReactNode;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 交互层:点击刻度跳转、键盘左右/上下 + 回车
|
|
32
|
+
*/
|
|
33
|
+
export declare function GestureLayer({ orientation, cellSizePx, axisStartMarginPx, offsetToTime, onSelectTime, isInDisabledRanges, snapToStep, stepMinutes, snapFn, scrollPosition, viewportSize, onPointerDown, onPointerMove, onPointerUp, onPointerLeave, onUserInteraction, children, }: GestureLayerProps): React.JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface UseDragInertiaOptions {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
orientation: 'horizontal' | 'vertical';
|
|
4
|
+
getScrollContainer: () => HTMLElement | null;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* 惯性滚动:根据拖动末段速度在松手后继续滚动并衰减
|
|
8
|
+
*/
|
|
9
|
+
export declare function useDragInertia(options: UseDragInertiaOptions): {
|
|
10
|
+
onPointerDown: (e: React.PointerEvent) => void;
|
|
11
|
+
onPointerMove: (e: React.PointerEvent) => void;
|
|
12
|
+
onPointerUp: (e: React.PointerEvent) => void;
|
|
13
|
+
stopInertia: () => void;
|
|
14
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Dayjs } from 'dayjs';
|
|
2
|
+
import type { TimeRangeOption } from '../types';
|
|
3
|
+
export interface UseTimeAxisOptions {
|
|
4
|
+
range?: TimeRangeOption;
|
|
5
|
+
stepMinutes: number;
|
|
6
|
+
referenceDate: Dayjs;
|
|
7
|
+
orientation: 'horizontal' | 'vertical';
|
|
8
|
+
/** 横向时每格宽度(px),竖向时每格高度(px) */
|
|
9
|
+
cellSizePx: number;
|
|
10
|
+
}
|
|
11
|
+
export interface TimeAxisState {
|
|
12
|
+
rangeStart: Dayjs;
|
|
13
|
+
rangeEnd: Dayjs;
|
|
14
|
+
ticks: Dayjs[];
|
|
15
|
+
/** 时间转主轴偏移(px) */
|
|
16
|
+
timeToOffset: (t: Dayjs) => number;
|
|
17
|
+
/** 主轴偏移(px)转时间(最近刻度,用于刻度对齐) */
|
|
18
|
+
offsetToTime: (offset: number) => Dayjs | null;
|
|
19
|
+
/** 主轴偏移(px)转时间(连续插值,用于拖动时按分钟步长显示) */
|
|
20
|
+
offsetToTimeContinuous: (offset: number) => Dayjs | null;
|
|
21
|
+
/** 主轴总长度(px) */
|
|
22
|
+
totalLengthPx: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* 时间轴刻度与时间↔像素换算
|
|
26
|
+
*/
|
|
27
|
+
export declare function useTimeAxis(options: UseTimeAxisOptions): TimeAxisState;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { PisellTimeNavigator } from './PisellTimeNavigator';
|
|
2
|
+
export { getHorizontalAxisSlotCount, getRangeBounds, buildCalendarHourSlotsFromRange, } from './utils';
|
|
3
|
+
export type { PisellTimeNavigatorProps, TimeNavigatorValue, TimeRangeOption, CursorMode, TimeNavigatorOrientation, } from './types';
|
|
4
|
+
/** 多语言文案(en / zh-CN / zh-HK / ja / pt),使用前请在应用内通过 locales.init(pisellTimeNavigatorLocales, lang) 合并 */
|
|
5
|
+
export { default as pisellTimeNavigatorLocales } from './locales';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type Dayjs } from 'dayjs';
|
|
2
|
+
import type { TimeNavigatorValue, TimeRangeOption } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* 解析 value 为 Dayjs,无效则返回 null。
|
|
5
|
+
* 支持 dayjs 可解析的日期时间;纯时间字符串(如 '12:00'、'14:30')会基于 reference 的日期解析。
|
|
6
|
+
*/
|
|
7
|
+
export declare function parseValue(value: TimeNavigatorValue, reference?: Dayjs): Dayjs | null;
|
|
8
|
+
/**
|
|
9
|
+
* 按营业日 {@link TimeRangeOption}(如 02:00–次日 02:00)在锚定自然日零点展开,生成日视图「整点列」的槽位:
|
|
10
|
+
* 值为相对 `reference.startOf('day')` 的小时数(可 ≥24,表示次日时刻)。
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildCalendarHourSlotsFromRange(range: TimeRangeOption | undefined, anchorDate: Date | Dayjs): number[];
|
|
13
|
+
/**
|
|
14
|
+
* 将 range 转为 [startDayjs, endDayjs](reference 为营业锚定日的 0 点)
|
|
15
|
+
* - 同日内:如 08:00–22:00
|
|
16
|
+
* - 跨日营业:结束钟面早于或等于开始(如 02:01–次日 02:00)时,end 解析为 reference 的次日同一时刻
|
|
17
|
+
*/
|
|
18
|
+
export declare function getRangeBounds(range: TimeRangeOption | undefined, reference: Dayjs): [Dayjs, Dayjs];
|
|
19
|
+
/**
|
|
20
|
+
* 将时间吸附到 step 分钟刻度(0、15、30、45 等):四舍五入到最近刻度。
|
|
21
|
+
*/
|
|
22
|
+
export declare function snapToStepMinutes(t: Dayjs, stepMinutes: number): Dayjs;
|
|
23
|
+
/**
|
|
24
|
+
* 判断时间是否落在任一禁用区间内(按绝对时间与区间 [start,end) 比较)
|
|
25
|
+
* 注:与主时间轴同 reference 的跨日 range 一致时需传入同一营业锚定日解析出的区间。
|
|
26
|
+
*/
|
|
27
|
+
export declare function isInDisabledRanges(t: Dayjs, disabledRanges: TimeRangeOption[] | undefined): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* 在 [rangeStart, rangeEnd] 内按 stepMinutes 生成刻度时间列表(Dayjs)
|
|
30
|
+
*/
|
|
31
|
+
export declare function getTicks(rangeStart: Dayjs, rangeEnd: Dayjs, stepMinutes: number): Dayjs[];
|
|
32
|
+
/**
|
|
33
|
+
* 横向时间轴「格」数量,与 useTimeAxis 中 totalLengthPx 算法一致(含尾格)
|
|
34
|
+
*/
|
|
35
|
+
export declare function getHorizontalAxisSlotCount(range: TimeRangeOption | undefined, referenceDate: Dayjs, stepMinutes: number): number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import 'dayjs/locale/zh-cn';
|
|
3
|
+
import 'dayjs/locale/en';
|
|
4
|
+
import 'dayjs/locale/zh-tw';
|
|
5
|
+
import 'dayjs/locale/ja';
|
|
6
|
+
import 'dayjs/locale/pt';
|
|
7
|
+
import './index.less';
|
|
8
|
+
declare const TimeRange: (props: any) => React.JSX.Element | null;
|
|
9
|
+
export default TimeRange;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.product.card.discount.reason': string;
|
|
4
|
+
'pisell2.cart.sku-card.more': string;
|
|
5
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
6
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
7
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
8
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
9
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
10
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
11
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
12
|
+
'pisell2.product.card.discount.note': string;
|
|
13
|
+
'pisell2.product.card.edit': string;
|
|
14
|
+
'pisell2.product.card.discount.add.note': string;
|
|
15
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
16
|
+
'pisell2.product.card.confirm': string;
|
|
17
|
+
'pisell2.product.card.cancel': string;
|
|
18
|
+
'pisell2.product.card.note.pla': string;
|
|
19
|
+
'pisell2.product.card.items.package': string;
|
|
20
|
+
'pisell2.product.card.view-all': string;
|
|
21
|
+
'pisell2.product.card.view-less': string;
|
|
22
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
23
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
24
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
25
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
26
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
27
|
+
'pisell2.product.card.sales': string;
|
|
28
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
29
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
30
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
31
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
32
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
33
|
+
};
|
|
34
|
+
'zh-CN': {
|
|
35
|
+
'pisell2.product.card.discount.reason': string;
|
|
36
|
+
'pisell2.cart.sku-card.more': string;
|
|
37
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
38
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
39
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
40
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
41
|
+
'pisell2.product.card.edit': string;
|
|
42
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
43
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
44
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
45
|
+
'pisell2.product.card.discount.note': string;
|
|
46
|
+
'pisell2.product.card.discount.add.note': string;
|
|
47
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
48
|
+
'pisell2.product.card.confirm': string;
|
|
49
|
+
'pisell2.product.card.cancel': string;
|
|
50
|
+
'pisell2.product.card.note.pla': string;
|
|
51
|
+
'pisell2.product.card.items.package': string;
|
|
52
|
+
'pisell2.product.card.view-all': string;
|
|
53
|
+
'pisell2.product.card.view-less': string;
|
|
54
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
55
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
56
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
57
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
58
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
59
|
+
'pisell2.product.card.sales': string;
|
|
60
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
61
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
62
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
63
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
64
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
65
|
+
};
|
|
66
|
+
'zh-HK': {
|
|
67
|
+
'pisell2.product.card.discount.reason': string;
|
|
68
|
+
'pisell2.cart.sku-card.more': string;
|
|
69
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
70
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
71
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
72
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
73
|
+
'pisell2.product.card.edit': string;
|
|
74
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
75
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
76
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
77
|
+
'pisell2.product.card.discount.note': string;
|
|
78
|
+
'pisell2.product.card.discount.add.note': string;
|
|
79
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
80
|
+
'pisell2.product.card.confirm': string;
|
|
81
|
+
'pisell2.product.card.cancel': string;
|
|
82
|
+
'pisell2.product.card.note.pla': string;
|
|
83
|
+
'pisell2.product.card.items.package': string;
|
|
84
|
+
'pisell2.product.card.view-all': string;
|
|
85
|
+
'pisell2.product.card.view-less': string;
|
|
86
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
87
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
88
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
89
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
90
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
91
|
+
'pisell2.product.card.sales': string;
|
|
92
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
93
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
94
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
95
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
96
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
97
|
+
};
|
|
98
|
+
ja: {
|
|
99
|
+
'pisell2.product.card.discount.reason': string;
|
|
100
|
+
'pisell2.cart.sku-card.more': string;
|
|
101
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
102
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
103
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
104
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
105
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
106
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
107
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
108
|
+
'pisell2.product.card.discount.note': string;
|
|
109
|
+
'pisell2.product.card.edit': string;
|
|
110
|
+
'pisell2.product.card.discount.add.note': string;
|
|
111
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
112
|
+
'pisell2.product.card.confirm': string;
|
|
113
|
+
'pisell2.product.card.cancel': string;
|
|
114
|
+
'pisell2.product.card.note.pla': string;
|
|
115
|
+
'pisell2.product.card.items.package': string;
|
|
116
|
+
'pisell2.product.card.view-all': string;
|
|
117
|
+
'pisell2.product.card.view-less': string;
|
|
118
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
119
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
120
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
121
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
122
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
123
|
+
'pisell2.product.card.sales': string;
|
|
124
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
125
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
126
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
127
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
128
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
129
|
+
};
|
|
130
|
+
pt: {
|
|
131
|
+
'pisell2.product.card.discount.reason': string;
|
|
132
|
+
'pisell2.cart.sku-card.more': string;
|
|
133
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
134
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
135
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
136
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
137
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
138
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
139
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
140
|
+
'pisell2.product.card.discount.note': string;
|
|
141
|
+
'pisell2.product.card.edit': string;
|
|
142
|
+
'pisell2.product.card.discount.add.note': string;
|
|
143
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
144
|
+
'pisell2.product.card.confirm': string;
|
|
145
|
+
'pisell2.product.card.cancel': string;
|
|
146
|
+
'pisell2.product.card.note.pla': string;
|
|
147
|
+
'pisell2.product.card.items.package': string;
|
|
148
|
+
'pisell2.product.card.view-all': string;
|
|
149
|
+
'pisell2.product.card.view-less': string;
|
|
150
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
151
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
152
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
153
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
154
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
155
|
+
'pisell2.product.card.sales': string;
|
|
156
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
157
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
158
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
159
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
160
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => React.JSX.Element | null;
|
|
4
|
+
export default Time;
|