@pisell/materials 6.11.47 → 6.11.49
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.css +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +2 -2
- package/es/components/pisellFloorMapLayout/components/ViewControls.less +3 -3
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +3 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +9 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +4 -2
- package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +4 -2
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +26 -10
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +12 -7
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +20 -31
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +7 -3
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
- package/es/index.d.ts +265 -0
- package/es/pisell-materials.tw.css +1 -1
- package/lib/components/pisellFloorMapLayout/components/ViewControls.less +3 -3
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +2 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +9 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +4 -2
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +2 -2
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +16 -7
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +14 -5
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +20 -13
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +7 -3
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
- package/lib/index.d.ts +265 -0
- package/lib/pisell-materials.tw.css +1 -1
- package/package.json +1 -1
- package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/es/components/PisellLayouts/index.d.ts +0 -38
- package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
- package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
- package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
- package/es/components/PisellSuperTabs/types.d.ts +0 -212
- package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
- package/es/components/PisellTabbar/constants.d.ts +0 -47
- package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
- package/es/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/es/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
- package/es/components/PisellTabbar/types.d.ts +0 -90
- package/es/components/PisellTabbar/utils/index.d.ts +0 -69
- package/es/components/cardPro/index.d.ts +0 -4
- 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/dataSourceForm/type.d.ts +0 -32
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
- package/es/components/iconfont/index.d.ts +0 -8
- package/es/components/page/index.d.ts +0 -8
- package/es/components/pisell-config-provider/context.d.ts +0 -22
- package/es/components/pisell-config-provider/index.d.ts +0 -13
- package/es/components/pisellAdjustPrice/index.d.ts +0 -4
- package/es/components/pisellAdjustPrice/status.d.ts +0 -32
- package/es/components/pisellAdjustPrice/type.d.ts +0 -22
- package/es/components/pisellCardList/index.d.ts +0 -107
- package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
- package/es/components/pisellFilter/index.d.ts +0 -3
- package/es/components/pisellFilter/type.d.ts +0 -7
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
- package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
- package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
- package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/components/index.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
- package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
- package/es/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
- package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
- package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
- package/es/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
- package/es/components/pisellGoodPassCard/index.d.ts +0 -50
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
- package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
- package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
- package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
- package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
- package/es/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
- package/es/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
- package/es/components/pisellModal/index.d.ts +0 -62
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
- package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
- package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
- package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
- package/es/components/pisellReservationSchedule/index.d.ts +0 -2
- package/es/components/pisellReservationSchedule/locales.d.ts +0 -43
- package/es/components/pisellReservationSchedule/types.d.ts +0 -52
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
- package/es/components/pisellReservationScheduleBand/index.d.ts +0 -2
- package/es/components/pisellReservationScheduleBand/types.d.ts +0 -61
- package/es/components/pisellText/components/Amount/index.d.ts +0 -20
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
- package/es/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
- package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
- package/es/components/pisellTimeNavigator/components/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
- package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
- package/es/components/pisellTimeNavigator/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/locales.d.ts +0 -22
- package/es/components/pisellTimeNavigator/types.d.ts +0 -160
- package/es/components/pisellTimeNavigator/utils/index.d.ts +0 -41
- package/es/components/pisellToast/index.d.ts +0 -17
- package/es/components/pisellToast/squareToast/index.d.ts +0 -15
- package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
- package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
- package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
- package/es/components/pisellWalletPassCard/index.d.ts +0 -146
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -6
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
- package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -18
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
- package/es/components/productCard/cartSkuCard/locales.d.ts +0 -198
- package/es/components/productCard/components/Action/index.d.ts +0 -4
- package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -3
- package/es/components/productCard/components/Header/index.d.ts +0 -3
- package/es/components/productCard/components/Sales/index.d.ts +0 -3
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
- package/es/components/productCard/index.d.ts +0 -7
- package/es/components/productCard/locales.d.ts +0 -138
- package/es/components/productCard/status.d.ts +0 -32
- package/es/components/productCard/types.d.ts +0 -95
- package/es/components/productCard/utils.d.ts +0 -33
- package/es/components/select-time/index.d.ts +0 -13
- package/es/components/sort/index.d.ts +0 -5
- package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
- package/es/components/table/index.d.ts +0 -4
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
- package/es/components/virtual-keyboard/index.d.ts +0 -25
- package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/lib/components/PisellLayouts/index.d.ts +0 -38
- package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
- package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
- package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
- package/lib/components/PisellSuperTabs/types.d.ts +0 -212
- package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
- package/lib/components/PisellTabbar/constants.d.ts +0 -47
- package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
- package/lib/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/lib/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
- package/lib/components/PisellTabbar/types.d.ts +0 -90
- package/lib/components/PisellTabbar/utils/index.d.ts +0 -69
- package/lib/components/cardPro/index.d.ts +0 -4
- 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/dataSourceForm/type.d.ts +0 -32
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
- package/lib/components/iconfont/index.d.ts +0 -8
- package/lib/components/page/index.d.ts +0 -8
- package/lib/components/pisell-config-provider/context.d.ts +0 -22
- package/lib/components/pisell-config-provider/index.d.ts +0 -13
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
- package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
- package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
- package/lib/components/pisellCardList/index.d.ts +0 -107
- package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
- package/lib/components/pisellFilter/index.d.ts +0 -3
- package/lib/components/pisellFilter/type.d.ts +0 -7
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
- package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
- package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/components/index.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
- package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
- package/lib/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
- package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
- package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
- package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
- package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
- package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
- package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
- package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
- package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
- package/lib/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
- package/lib/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
- package/lib/components/pisellModal/index.d.ts +0 -62
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
- package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
- package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
- package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
- package/lib/components/pisellReservationSchedule/index.d.ts +0 -2
- package/lib/components/pisellReservationSchedule/locales.d.ts +0 -43
- package/lib/components/pisellReservationSchedule/types.d.ts +0 -52
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
- package/lib/components/pisellReservationScheduleBand/index.d.ts +0 -2
- package/lib/components/pisellReservationScheduleBand/types.d.ts +0 -61
- package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
- package/lib/components/pisellTimeNavigator/components/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
- package/lib/components/pisellTimeNavigator/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/locales.d.ts +0 -22
- package/lib/components/pisellTimeNavigator/types.d.ts +0 -160
- package/lib/components/pisellTimeNavigator/utils/index.d.ts +0 -41
- package/lib/components/pisellToast/index.d.ts +0 -17
- package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
- package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
- package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
- package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
- package/lib/components/pisellWalletPassCard/index.d.ts +0 -146
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -6
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
- package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -18
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
- package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -198
- package/lib/components/productCard/components/Action/index.d.ts +0 -4
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -3
- package/lib/components/productCard/components/Header/index.d.ts +0 -3
- package/lib/components/productCard/components/Sales/index.d.ts +0 -3
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
- package/lib/components/productCard/index.d.ts +0 -7
- package/lib/components/productCard/locales.d.ts +0 -138
- package/lib/components/productCard/status.d.ts +0 -32
- package/lib/components/productCard/types.d.ts +0 -95
- package/lib/components/productCard/utils.d.ts +0 -33
- package/lib/components/select-time/index.d.ts +0 -13
- package/lib/components/sort/index.d.ts +0 -5
- package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
- package/lib/components/table/index.d.ts +0 -4
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
- package/lib/components/virtual-keyboard/index.d.ts +0 -25
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TabbarLevelConfig, LevelType } from '../../types';
|
|
2
|
-
export { getExpandConfig, DEFAULT_ITEMS } from '../../constants';
|
|
3
|
-
/**
|
|
4
|
-
* 默认层级配置
|
|
5
|
-
*/
|
|
6
|
-
export declare const DEFAULT_LEVEL_CONFIG: Record<LevelType, TabbarLevelConfig>;
|
|
7
|
-
/**
|
|
8
|
-
* 获取层级对应的添加项配置
|
|
9
|
-
*/
|
|
10
|
-
export declare const LEVEL_ADD_ITEMS: Record<LevelType, ('all' | 'search' | 'expand')[]>;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Tabbar 数据源项类型
|
|
4
|
-
*/
|
|
5
|
-
export interface TabbarDataSource {
|
|
6
|
-
/** 唯一标识 */
|
|
7
|
-
id: string | number;
|
|
8
|
-
/** 店铺ID */
|
|
9
|
-
shop_id?: number;
|
|
10
|
-
/** 父级ID */
|
|
11
|
-
parent_id?: number;
|
|
12
|
-
/** 显示名称 */
|
|
13
|
-
name: string;
|
|
14
|
-
/** URL slug */
|
|
15
|
-
slug?: string;
|
|
16
|
-
/** 图标 URL 或图标名称 */
|
|
17
|
-
icon?: string;
|
|
18
|
-
/** 子级数据 */
|
|
19
|
-
children?: TabbarDataSource[];
|
|
20
|
-
/** 自定义点击事件标识 */
|
|
21
|
-
customClick?: boolean;
|
|
22
|
-
/** 唯一 key */
|
|
23
|
-
key?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* 层级配置
|
|
27
|
-
*/
|
|
28
|
-
export interface TabbarLevelConfig {
|
|
29
|
-
/** SuperTabs 背景色 */
|
|
30
|
-
superTabsBg: string;
|
|
31
|
-
/** 卡片宽度 */
|
|
32
|
-
cardWidth: number;
|
|
33
|
-
/** 卡片高度 */
|
|
34
|
-
cardHeight: number;
|
|
35
|
-
/** 左侧缩进 */
|
|
36
|
-
paddingLeft?: number;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* 展开配置
|
|
40
|
-
*/
|
|
41
|
-
export interface ExpandConfig {
|
|
42
|
-
/** 激活状态配置 */
|
|
43
|
-
active: {
|
|
44
|
-
icon: string;
|
|
45
|
-
text: string;
|
|
46
|
-
};
|
|
47
|
-
/** 未激活状态配置 */
|
|
48
|
-
inactive: {
|
|
49
|
-
icon: string;
|
|
50
|
-
text: string;
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* 展开状态
|
|
55
|
-
*/
|
|
56
|
-
export interface ExpandState {
|
|
57
|
-
level1: boolean;
|
|
58
|
-
level2: boolean;
|
|
59
|
-
level3: boolean;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* 层级类型
|
|
63
|
-
*/
|
|
64
|
-
export declare type LevelType = 'level1' | 'level2' | 'level3';
|
|
65
|
-
/**
|
|
66
|
-
* PisellTabbar 组件属性
|
|
67
|
-
*/
|
|
68
|
-
export interface PisellTabbarProps {
|
|
69
|
-
/** 数据源 */
|
|
70
|
-
dataSource?: TabbarDataSource[];
|
|
71
|
-
/** 当前选中的值(多层级 key 数组) */
|
|
72
|
-
value?: (string | number)[];
|
|
73
|
-
/** 值变化回调 */
|
|
74
|
-
onChange?: (value: (string | number)[]) => void;
|
|
75
|
-
/** 自定义类名 */
|
|
76
|
-
className?: string;
|
|
77
|
-
/** 自定义样式 */
|
|
78
|
-
style?: CSSProperties;
|
|
79
|
-
/** 层级配置(可按层级自定义) */
|
|
80
|
-
levelConfig?: Partial<Record<LevelType, Partial<TabbarLevelConfig>>>;
|
|
81
|
-
/** 展开配置 */
|
|
82
|
-
expandConfig?: ExpandConfig;
|
|
83
|
-
/** 最大层级数 */
|
|
84
|
-
maxLevel?: 1 | 2 | 3;
|
|
85
|
-
onSearch?: (value: string) => void;
|
|
86
|
-
__designMode?: boolean;
|
|
87
|
-
}
|
|
88
|
-
export interface PisellTabbarRef {
|
|
89
|
-
closeSearchMode: () => void;
|
|
90
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellTabbar 工具函数
|
|
3
|
-
*/
|
|
4
|
-
import { TabbarDataSource } from '../types';
|
|
5
|
-
/**
|
|
6
|
-
* 默认的特殊项配置
|
|
7
|
-
*/
|
|
8
|
-
export declare const defaultItems: {
|
|
9
|
-
all: {
|
|
10
|
-
id: number;
|
|
11
|
-
shop_id: number;
|
|
12
|
-
parent_id: number;
|
|
13
|
-
name: any;
|
|
14
|
-
slug: string;
|
|
15
|
-
icon: string;
|
|
16
|
-
};
|
|
17
|
-
search: {
|
|
18
|
-
id: number;
|
|
19
|
-
shop_id: number;
|
|
20
|
-
parent_id: number;
|
|
21
|
-
name: any;
|
|
22
|
-
text: any;
|
|
23
|
-
slug: string;
|
|
24
|
-
key: string;
|
|
25
|
-
icon: string;
|
|
26
|
-
customClick: boolean;
|
|
27
|
-
};
|
|
28
|
-
expand: {
|
|
29
|
-
id: number;
|
|
30
|
-
shop_id: number;
|
|
31
|
-
parent_id: number;
|
|
32
|
-
key: string;
|
|
33
|
-
icon: string;
|
|
34
|
-
name: string;
|
|
35
|
-
slug: string;
|
|
36
|
-
customClick: boolean;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* 向数据源添加特殊项(如 all、search、expand 按钮)
|
|
41
|
-
*
|
|
42
|
-
* @param dataSource - 原始数据源
|
|
43
|
-
* @param keys - 要添加的特殊项 key 数组
|
|
44
|
-
* @returns 添加了特殊项的新数据源
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* ```tsx
|
|
48
|
-
* const newData = addDataSourceItemsByKey(categoryData, ['expand', 'all']);
|
|
49
|
-
* // 返回: [expandItem, allItem, ...categoryData]
|
|
50
|
-
* ```
|
|
51
|
-
*/
|
|
52
|
-
export declare const addDataSourceItemsByKey: (dataSource: TabbarDataSource[], keys: ('all' | 'search' | 'expand')[]) => TabbarDataSource[];
|
|
53
|
-
/**
|
|
54
|
-
* 获取默认激活的 key 数组
|
|
55
|
-
*
|
|
56
|
-
* @param dataSource - 数据源
|
|
57
|
-
* @param rowKey - 用作唯一标识的字段名
|
|
58
|
-
* @returns 默认激活的 key 数组(多层级)
|
|
59
|
-
*
|
|
60
|
-
* @description
|
|
61
|
-
* 默认选中第一项,如果第一项有子级,同时选中第一个子级
|
|
62
|
-
*
|
|
63
|
-
* @example
|
|
64
|
-
* ```tsx
|
|
65
|
-
* const defaultKeys = getDefaultActiveKey(categoryData, 'id');
|
|
66
|
-
* // 返回: [1, 0] (第一层级的第一项ID,第二层级的第一项ID)
|
|
67
|
-
* ```
|
|
68
|
-
*/
|
|
69
|
-
export declare const getDefaultActiveKey: (dataSource: TabbarDataSource[], rowKey: string) => (string | number)[];
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface SubmitButtonProps extends ButtonProps {
|
|
5
|
-
status: 'normal' | 'disabled' | 'hidden';
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
childrenString?: string;
|
|
8
|
-
confirmConfig?: {
|
|
9
|
-
enable: boolean;
|
|
10
|
-
title: string;
|
|
11
|
-
content: string;
|
|
12
|
-
icon: React.ReactNode;
|
|
13
|
-
okText: string;
|
|
14
|
-
cancelText: string;
|
|
15
|
-
};
|
|
16
|
-
toastConfig?: {
|
|
17
|
-
enable: boolean;
|
|
18
|
-
icon: React.ReactNode;
|
|
19
|
-
title: string;
|
|
20
|
-
showAfterSubmit?: boolean;
|
|
21
|
-
};
|
|
22
|
-
refreshData?: boolean;
|
|
23
|
-
afterSubmitType?: 'none' | 'close' | 'showModal' | 'showNotification';
|
|
24
|
-
afterSubmitModalConfig?: {
|
|
25
|
-
title: string;
|
|
26
|
-
content: string;
|
|
27
|
-
okText: string;
|
|
28
|
-
onOk?: () => void;
|
|
29
|
-
};
|
|
30
|
-
afterSubmitNotificationConfig?: {
|
|
31
|
-
title: string;
|
|
32
|
-
content: string;
|
|
33
|
-
icon: React.ReactNode;
|
|
34
|
-
duration: number;
|
|
35
|
-
placement: 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight';
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
declare const SubmitButton: (props: SubmitButtonProps) => JSX.Element | null;
|
|
39
|
-
export default SubmitButton;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DataSourceType } from "../provider/dataSource/DataSourceContext";
|
|
3
|
-
export declare type ModeType = 'edit' | 'add' | 'view' | 'disabled' | 'hidden' | 'tableView';
|
|
4
|
-
export interface DataSourceFormProps {
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
dataSource: DataSourceType;
|
|
8
|
-
extraParams?: Record<string, any>;
|
|
9
|
-
showTitle: boolean;
|
|
10
|
-
showDescription: boolean;
|
|
11
|
-
groupInfoPosition: 'top' | 'side';
|
|
12
|
-
variables: any[];
|
|
13
|
-
renderMode?: ModeType;
|
|
14
|
-
currentValue?: 'server' | 'local';
|
|
15
|
-
children: React.ReactNode;
|
|
16
|
-
className?: string;
|
|
17
|
-
size?: 'small' | 'middle' | 'large';
|
|
18
|
-
onDataSourceFinish?: (values: any, result: any) => void;
|
|
19
|
-
__designMode?: string;
|
|
20
|
-
formatSubmitValues?: (values: Record<string, any>) => Record<string, any>;
|
|
21
|
-
formatInitialValues?: (values: Record<string, any>) => Record<string, any>;
|
|
22
|
-
customSubmit?: (values: Record<string, any>) => Promise<any>;
|
|
23
|
-
beforeSubmit?: (values: Record<string, any>) => Promise<boolean> | boolean;
|
|
24
|
-
leaveConfirmConfig?: {
|
|
25
|
-
enable: boolean;
|
|
26
|
-
title: string;
|
|
27
|
-
content: string;
|
|
28
|
-
icon: React.ReactNode;
|
|
29
|
-
okText: string;
|
|
30
|
-
cancelText: string;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取nocobase数据列表
|
|
3
|
-
*/
|
|
4
|
-
export declare const getCountryDataList: () => Promise<any>;
|
|
5
|
-
export interface Country {
|
|
6
|
-
id: number;
|
|
7
|
-
name: {
|
|
8
|
-
en: string;
|
|
9
|
-
'zh-CN': string;
|
|
10
|
-
'zh-HK': string;
|
|
11
|
-
'ja': string;
|
|
12
|
-
'pt': string;
|
|
13
|
-
original: string;
|
|
14
|
-
};
|
|
15
|
-
code: string;
|
|
16
|
-
calling_code: string;
|
|
17
|
-
currency_code: string;
|
|
18
|
-
sort: number;
|
|
19
|
-
status: string;
|
|
20
|
-
created_at: string;
|
|
21
|
-
updated_at: string;
|
|
22
|
-
prefix: string;
|
|
23
|
-
}
|
|
24
|
-
export declare const useCountries: () => {
|
|
25
|
-
data: Country[];
|
|
26
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface VariablesContextType {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
variables?: Record<string, any>;
|
|
5
|
-
registerVariable?: (value: Record<string, any>) => void;
|
|
6
|
-
parseVariable?: (str: string, localVariables?: Record<string, any>) => any;
|
|
7
|
-
registerValueVariable?: (componentId: string, value: Record<string, any>) => void;
|
|
8
|
-
registerFunctionVariable?: (componentId: string, value: Record<string, any>) => void;
|
|
9
|
-
subscribeVariables?: (listener: (allVariables: Record<string, any>, updateVariables: Record<string, any>) => void) => () => void;
|
|
10
|
-
config?: {
|
|
11
|
-
disabledHistoryListener?: boolean;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export declare const VariablesContext: import("react").Context<VariablesContextType>;
|
|
15
|
-
export default VariablesContext;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
import { ValueProps, SortType } from '../types';
|
|
4
|
-
declare type IdType = string | number;
|
|
5
|
-
declare type TreeItemProps = {
|
|
6
|
-
id: string | number;
|
|
7
|
-
key: string | number;
|
|
8
|
-
item: ValueProps | any;
|
|
9
|
-
depth: number;
|
|
10
|
-
lists: any[];
|
|
11
|
-
childrenProps?: SortType;
|
|
12
|
-
sensors?: any;
|
|
13
|
-
expandedKeys?: IdType[];
|
|
14
|
-
setExpandedKeys?: any;
|
|
15
|
-
onSelectKeys?: (ids: IdType) => void;
|
|
16
|
-
onChange?: (value: any[]) => void;
|
|
17
|
-
};
|
|
18
|
-
declare const TreeItem: (props: TreeItemProps) => JSX.Element;
|
|
19
|
-
export default TreeItem;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IconComponentProps } from '@ant-design/icons/es/components/Icon';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IconFontProps extends IconComponentProps {
|
|
4
|
-
type: string;
|
|
5
|
-
onClick?: React.MouseEventHandler<HTMLSpanElement>;
|
|
6
|
-
}
|
|
7
|
-
declare const IconFont: React.FC<IconFontProps>;
|
|
8
|
-
export default IconFont;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface PisellContextType {
|
|
3
|
-
platform: 'h5' | 'pc' | 'ipad';
|
|
4
|
-
/** 货币符号 */
|
|
5
|
-
symbol?: string;
|
|
6
|
-
/** 当前语言环境 */
|
|
7
|
-
locale?: string;
|
|
8
|
-
/** 获取货币符号 */
|
|
9
|
-
getSymbolic?: () => string;
|
|
10
|
-
}
|
|
11
|
-
export declare const PisellContext: import("react").Context<PisellContextType>;
|
|
12
|
-
/**
|
|
13
|
-
* provider外获取当前全局配置
|
|
14
|
-
*/
|
|
15
|
-
declare class GlobalConfig {
|
|
16
|
-
private config;
|
|
17
|
-
constructor();
|
|
18
|
-
setConfig(config: PisellContextType): void;
|
|
19
|
-
getConfig(): PisellContextType;
|
|
20
|
-
}
|
|
21
|
-
export declare const globalConfig: GlobalConfig;
|
|
22
|
-
export default PisellContext;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellContextType } from './context';
|
|
3
|
-
interface PisellConfigProviderType {
|
|
4
|
-
platform?: PisellContextType['platform'];
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
/** 货币符号 */
|
|
7
|
-
symbol?: string;
|
|
8
|
-
/** 当前语言环境 */
|
|
9
|
-
locale?: string;
|
|
10
|
-
getSymbolic?: () => string;
|
|
11
|
-
}
|
|
12
|
-
declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
|
|
13
|
-
export default PisellConfigProvider;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const defaultConfig: {
|
|
2
|
-
dark: {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
containerBackgroundColor: string;
|
|
5
|
-
buttonBackgroundColor: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
resetButtonBackgroundColor: string;
|
|
8
|
-
resetButtonTextColor: string;
|
|
9
|
-
isDoneButtonFollowTheme: boolean;
|
|
10
|
-
doneButtonBackgroundColor: string;
|
|
11
|
-
doneButtonTextColor: string;
|
|
12
|
-
isShowMainText: boolean;
|
|
13
|
-
mainTextColor: string;
|
|
14
|
-
isShowSubText: boolean;
|
|
15
|
-
subTextColor: string;
|
|
16
|
-
};
|
|
17
|
-
light: {
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
containerBackgroundColor: string;
|
|
20
|
-
buttonBackgroundColor: string;
|
|
21
|
-
textColor: string;
|
|
22
|
-
resetButtonBackgroundColor: string;
|
|
23
|
-
resetButtonTextColor: string;
|
|
24
|
-
isDoneButtonFollowTheme: boolean;
|
|
25
|
-
doneButtonBackgroundColor: string;
|
|
26
|
-
doneButtonTextColor: string;
|
|
27
|
-
isShowMainText: boolean;
|
|
28
|
-
mainTextColor: string;
|
|
29
|
-
isShowSubText: boolean;
|
|
30
|
-
subTextColor: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface PisellAdjustPriceProps {
|
|
2
|
-
value?: number;
|
|
3
|
-
originValue: number;
|
|
4
|
-
defaultValue?: number;
|
|
5
|
-
onChange?: (val: number) => void;
|
|
6
|
-
selectType?: 'light' | 'dark';
|
|
7
|
-
backgroundColor?: string;
|
|
8
|
-
containerBackgroundColor?: string;
|
|
9
|
-
buttonBackgroundColor?: string;
|
|
10
|
-
textColor?: string;
|
|
11
|
-
resetButtonBackgroundColor?: string;
|
|
12
|
-
resetButtonTextColor?: string;
|
|
13
|
-
isDoneButtonFollowTheme?: boolean;
|
|
14
|
-
doneButtonBackgroundColor?: string;
|
|
15
|
-
doneButtonTextColor?: string;
|
|
16
|
-
isShowMainText?: boolean;
|
|
17
|
-
mainTextColor?: string;
|
|
18
|
-
isShowSubText?: boolean;
|
|
19
|
-
subTextColor?: string;
|
|
20
|
-
resetText?: string;
|
|
21
|
-
doneText?: string;
|
|
22
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellCheckboxGroupProps } from '../pisellCheckboxGroup';
|
|
3
|
-
import { PisellContextType } from '../pisell-config-provider/context';
|
|
4
|
-
import { PisellWalletPassCardProps, FormatOption } from '../pisellWalletPassCard';
|
|
5
|
-
import './index.less';
|
|
6
|
-
export interface PisellCardListProps extends Omit<PisellCheckboxGroupProps, 'options'> {
|
|
7
|
-
platform?: PisellContextType['platform'];
|
|
8
|
-
/** 当用户查看完所有记录时,底部会显示此消息 */
|
|
9
|
-
endMessage?: React.ReactNode;
|
|
10
|
-
/** 加载下次数据时的加载站位 */
|
|
11
|
-
loader?: React.ReactNode;
|
|
12
|
-
/** 是否有更多数据 */
|
|
13
|
-
hasMore: boolean;
|
|
14
|
-
/** 加载更多数据回调 */
|
|
15
|
-
loadMoreData?: () => Promise<void>;
|
|
16
|
-
/** 当前list数据 */
|
|
17
|
-
data: PisellWalletPassCardProps[];
|
|
18
|
-
/** list空数据时展示内容 */
|
|
19
|
-
empty?: React.ReactNode;
|
|
20
|
-
/** 是否展示空状态 */
|
|
21
|
-
showEmpty?: boolean;
|
|
22
|
-
/** 是否展示卡片名称 */
|
|
23
|
-
showName?: boolean;
|
|
24
|
-
/** 是否展示店铺名称 */
|
|
25
|
-
showStoreName?: boolean;
|
|
26
|
-
/** 是否展示核销金额 */
|
|
27
|
-
showRedeem?: boolean;
|
|
28
|
-
/** 是否展示余额 */
|
|
29
|
-
showBalance?: boolean;
|
|
30
|
-
/** 是否展示编码 */
|
|
31
|
-
showCode?: boolean;
|
|
32
|
-
/** 是否展示到期时间 */
|
|
33
|
-
showValidDate?: boolean;
|
|
34
|
-
/** 使用日程信息计算有效期 */
|
|
35
|
-
validDateBySchedule?: boolean;
|
|
36
|
-
/** 日程列表 */
|
|
37
|
-
scheduleList?: any[];
|
|
38
|
-
/** 是否展示详情按钮 */
|
|
39
|
-
showDetail?: boolean;
|
|
40
|
-
/** 是否展示二维码 */
|
|
41
|
-
showQrCode?: boolean;
|
|
42
|
-
/** 是否展示封面图 */
|
|
43
|
-
showCover?: boolean;
|
|
44
|
-
/** 是否余额货币单位 */
|
|
45
|
-
showBalanceSymbol?: boolean;
|
|
46
|
-
/** 卡片大小 */
|
|
47
|
-
type?: 'default' | 'mini';
|
|
48
|
-
/** 展示操作按钮 */
|
|
49
|
-
showActions?: boolean;
|
|
50
|
-
/** 操作按钮配置 */
|
|
51
|
-
actions?: {
|
|
52
|
-
/** 按钮展示方式 */
|
|
53
|
-
layout: 'expanded' | 'collapsed';
|
|
54
|
-
/** detail 按钮配置 */
|
|
55
|
-
detail?: {
|
|
56
|
-
visible: boolean;
|
|
57
|
-
iconColor: string;
|
|
58
|
-
};
|
|
59
|
-
/** edit按钮配置 */
|
|
60
|
-
edit?: {
|
|
61
|
-
visible: boolean;
|
|
62
|
-
iconColor: string;
|
|
63
|
-
dialogTitle: string;
|
|
64
|
-
enableDialog: boolean;
|
|
65
|
-
fields: {
|
|
66
|
-
name: string;
|
|
67
|
-
label: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
/** 编辑编辑按钮后,弹窗展示之前 */
|
|
72
|
-
beforeEdit?: (value: any, index: number) => Promise<any> | boolean | void;
|
|
73
|
-
/** 编辑弹窗点击提交 */
|
|
74
|
-
onConfirmEdit?: (value: any, index: number, data: any) => void;
|
|
75
|
-
/** 是否展示状态标识 */
|
|
76
|
-
showStatus?: boolean;
|
|
77
|
-
/** 名称标题字号字重颜色配置 */
|
|
78
|
-
nameTitleStyle?: {
|
|
79
|
-
fontSize: number;
|
|
80
|
-
fontWeight: number;
|
|
81
|
-
color: string;
|
|
82
|
-
};
|
|
83
|
-
/** 开启编辑金额 */
|
|
84
|
-
enableEditAmount?: boolean;
|
|
85
|
-
/** 编辑金额事件 */
|
|
86
|
-
onConfirmEditAmount?: (value: number, index: number, data: any) => void;
|
|
87
|
-
/** 是否使用外部详情处理 */
|
|
88
|
-
useExternalDetail?: boolean;
|
|
89
|
-
/** 详情事件 */
|
|
90
|
-
onDetail?: (value: any, index: number) => void;
|
|
91
|
-
/** 自定义余额格式化函数,如果提供则优先使用 */
|
|
92
|
-
formatBalance?: (balance?: number, option?: FormatOption) => React.ReactNode;
|
|
93
|
-
/** 自定义余额标题格式化函数,如果提供则优先使用 */
|
|
94
|
-
formatBalanceTitle?: (balanceTitle?: string, option?: FormatOption) => React.ReactNode;
|
|
95
|
-
/** 自定义使用金额格式化函数,如果提供则优先使用 */
|
|
96
|
-
formatRedeem?: (redeem?: number, option?: FormatOption) => React.ReactNode;
|
|
97
|
-
/** 自定义使用金额标题格式化函数,如果提供则优先使用 */
|
|
98
|
-
formatRedeemTitle?: (redeemTitle?: string, option?: FormatOption) => React.ReactNode;
|
|
99
|
-
/** 编辑金额前事件 */
|
|
100
|
-
onBeforeEditAmount?: (value: any, index: number, data: any) => Promise<any> | boolean | void;
|
|
101
|
-
/** 选项点击事件 */
|
|
102
|
-
onItemClick?: (e: React.MouseEvent<HTMLDivElement>, option: any) => void;
|
|
103
|
-
/** 是否展示选中状态的背景色 */
|
|
104
|
-
showActiveBackground?: boolean;
|
|
105
|
-
}
|
|
106
|
-
declare const _default: React.NamedExoticComponent<PisellCardListProps>;
|
|
107
|
-
export default _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellContextType } from '../pisell-config-provider/context';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface PisellCheckboxGroupOption {
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
error?: boolean;
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
}
|
|
11
|
-
declare type PisellCheckboxGroupValue = string | string[] | any;
|
|
12
|
-
export interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
13
|
-
platform?: PisellContextType['platform'];
|
|
14
|
-
direction?: 'horizontal' | 'vertical';
|
|
15
|
-
fullWidth?: boolean;
|
|
16
|
-
gap?: number;
|
|
17
|
-
padding?: number;
|
|
18
|
-
options: PisellCheckboxGroupOption[];
|
|
19
|
-
onChange?: (value: PisellCheckboxGroupValue, item: PisellCheckboxGroupOption) => void;
|
|
20
|
-
value?: PisellCheckboxGroupValue;
|
|
21
|
-
renderOption?: (option: PisellCheckboxGroupOption, active: boolean, index: number) => React.ReactNode;
|
|
22
|
-
rowKey?: string;
|
|
23
|
-
mode?: 'multiple' | 'single';
|
|
24
|
-
iconPosition?: 'left' | 'right' | 'hide';
|
|
25
|
-
optionClassName?: string;
|
|
26
|
-
optionActiveClassName?: string;
|
|
27
|
-
onChangeDebounce?: boolean;
|
|
28
|
-
onItemClick?: (e: React.MouseEvent<HTMLDivElement>, option: PisellCheckboxGroupOption) => void;
|
|
29
|
-
showActiveBackground?: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @title: PisellCheckboxGroup
|
|
33
|
-
* @description: 选中组件
|
|
34
|
-
* @param {PisellCheckboxGroupProps} props
|
|
35
|
-
* @return {*}
|
|
36
|
-
* @Author: zhiwei.Wang
|
|
37
|
-
* @Date: 2024-08-16 10:34
|
|
38
|
-
*/
|
|
39
|
-
declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => JSX.Element;
|
|
40
|
-
export default PisellCheckboxGroup;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DataSourceContainerContextType } from '../../type';
|
|
3
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<Partial<import("antd").PaginationProps> & DataSourceContainerContextType & React.RefAttributes<unknown> & {
|
|
4
|
-
refId?: string | undefined;
|
|
5
|
-
}, "ref"> & React.RefAttributes<any>>;
|
|
6
|
-
export default _default;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { PisellFloorMapLayout } from './PisellFloorMapLayout';
|
|
3
|
-
/**
|
|
4
|
-
* PisellFloorMapLayout 楼层图布局
|
|
5
|
-
*
|
|
6
|
-
* 空间布局视图:在二维平面按坐标渲染资源(桌台/房间/工位等),
|
|
7
|
-
* 支持缩放、平移、复位、区域定位,仅负责展示与交互。
|
|
8
|
-
*/
|
|
9
|
-
declare const meta: Meta<typeof PisellFloorMapLayout>;
|
|
10
|
-
export default meta;
|
|
11
|
-
declare type Story = StoryObj<typeof PisellFloorMapLayout>;
|
|
12
|
-
/**
|
|
13
|
-
* 默认 - 纯色底 + 简单格子(格子单位,默认 item 间距 8px)
|
|
14
|
-
*/
|
|
15
|
-
export declare const Default: Story;
|
|
16
|
-
/**
|
|
17
|
-
* 显示网格线(item 间距由 mapLayer.gap 控制)
|
|
18
|
-
*/
|
|
19
|
-
export declare const WithGrid: Story;
|
|
20
|
-
/**
|
|
21
|
-
* 开启平移 - 可拖拽画布
|
|
22
|
-
*/
|
|
23
|
-
export declare const WithPan: Story;
|
|
24
|
-
export declare const WithShapes: Story;
|
|
25
|
-
export declare const WithVariableSizes: Story;
|
|
26
|
-
export declare const PixelUnits: Story;
|
|
27
|
-
/**
|
|
28
|
-
* 点击与 Hover 事件
|
|
29
|
-
*/
|
|
30
|
-
export declare const WithEvents: Story;
|
|
31
|
-
/**
|
|
32
|
-
* Ref 调用 - 外部按钮控制缩放/复位/区域定位
|
|
33
|
-
*/
|
|
34
|
-
export declare const WithRefControls: Story;
|
|
35
|
-
export declare const FloorMapViewEdit: Story;
|
|
36
|
-
/**
|
|
37
|
-
* 平面图编辑态 + 自定义数据源记录表单(`dataSourceRecordForm.sales`)
|
|
38
|
-
*/
|
|
39
|
-
export declare const FloorMapViewEditCustomRecordForm: Story;
|
|
40
|
-
/**
|
|
41
|
-
* Floor Map 视图 - 阅读态(方桌同样用 Figma 样式)
|
|
42
|
-
*/
|
|
43
|
-
export declare const FloorMapViewRead: Story;
|
|
44
|
-
/**
|
|
45
|
-
* 自定义控制按钮显隐
|
|
46
|
-
*/
|
|
47
|
-
export declare const ControlsHidden: Story;
|
|
48
|
-
/**
|
|
49
|
-
* `FloorMapLayoutProvider` 注入 `floorMapConfig` / `dataSources`;Layout 仅传展示向 props
|
|
50
|
-
*/
|
|
51
|
-
export declare const FloorMapWithLayoutProvider: Story;
|
|
52
|
-
/**
|
|
53
|
-
* Figma 设计稿效果 - 餐厅桌台状态图(顶部 Tab + 图例参考 node 14131:6266,内容区不变)
|
|
54
|
-
*/
|
|
55
|
-
export declare const FigmaDesign: Story;
|