@pisell/materials 6.11.55 → 6.11.57
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/drawer/index.js +12 -5
- package/lib/components/drawer/index.js +10 -4
- package/lowcode/pisell-record-board-calendar-view/meta.ts +1 -1
- package/package.json +3 -3
- package/es/components/Pagination/index.d.ts +0 -14
- package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/es/components/PisellLayouts/index.d.ts +0 -37
- 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/provider/formSetting/FormSettingContext.d.ts +0 -18
- package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +0 -8
- package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -201
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -35
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
- package/es/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -121
- 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/filter/components/FilterItem/index.d.ts +0 -5
- package/es/components/filter/components/QuickFilter/index.d.ts +0 -12
- package/es/components/iconfont/index.d.ts +0 -8
- package/es/components/page/index.d.ts +0 -9
- 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 -5
- 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 -4
- package/es/components/pisellFilter/type.d.ts +0 -7
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -43
- package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -14
- package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -24
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -60
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -35
- package/es/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +0 -39
- package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -57
- package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -55
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -25
- 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/floorMapLayoutConstants.d.ts +0 -4
- package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +0 -25
- package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +0 -18
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -71
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -89
- package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/es/components/pisellFloorMapLayout/index.d.ts +0 -26
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +0 -133
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +0 -133
- package/es/components/pisellFloorMapLayout/locales.d.ts +0 -651
- 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/types.d.ts +0 -646
- 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/floorMapElementNameAsTitle.d.ts +0 -50
- 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/PisellRecordBoard.d.ts +0 -9
- package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -89
- package/es/components/pisellRecordBoard/index.d.ts +0 -51
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -9
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -11
- package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -26
- 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/const/bookingCalendarConstants.d.ts +0 -49
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -7
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +0 -17
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -17
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +0 -10
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +0 -232
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +0 -13
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -53
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +0 -23
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +0 -18
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +0 -27
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.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/shellFrame/ToolBar/index.d.ts +0 -12
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +0 -13
- package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +0 -30
- package/es/components/pisellRecordBoard/types.d.ts +0 -802
- 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/pisellShellFrame/PisellShellFrame.d.ts +0 -13
- package/es/components/pisellShellFrame/types.d.ts +0 -62
- package/es/components/pisellText/components/Amount/index.d.ts +0 -20
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- 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/CursorLayer.d.ts +0 -27
- package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -41
- 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/timeNavigatorConstants.d.ts +0 -20
- 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 -4
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
- package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -13
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
- package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -19
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -11
- 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 -4
- package/es/components/productCard/components/Header/index.d.ts +0 -4
- package/es/components/productCard/components/Sales/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -3
- 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 -14
- 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 -6
- 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 -6
- 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/es/index.d.ts +0 -265
- package/es/locales/en-US.d.ts +0 -560
- package/es/locales/ja.d.ts +0 -528
- package/es/locales/pt.d.ts +0 -528
- package/es/locales/zh-CN.d.ts +0 -555
- package/es/locales/zh-TW.d.ts +0 -555
- package/lib/components/Pagination/index.d.ts +0 -14
- package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/lib/components/PisellLayouts/index.d.ts +0 -37
- 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/provider/formSetting/FormSettingContext.d.ts +0 -18
- package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +0 -8
- package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -201
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -35
- package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
- package/lib/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
- package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -121
- 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/filter/components/FilterItem/index.d.ts +0 -5
- package/lib/components/filter/components/QuickFilter/index.d.ts +0 -12
- package/lib/components/iconfont/index.d.ts +0 -8
- package/lib/components/page/index.d.ts +0 -9
- 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 -5
- 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 -4
- package/lib/components/pisellFilter/type.d.ts +0 -7
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -43
- package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -14
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -24
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -60
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -35
- package/lib/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +0 -39
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -57
- package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -55
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -25
- 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/floorMapLayoutConstants.d.ts +0 -4
- package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +0 -25
- package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +0 -18
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -71
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -89
- package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
- package/lib/components/pisellFloorMapLayout/index.d.ts +0 -26
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +0 -133
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +0 -133
- package/lib/components/pisellFloorMapLayout/locales.d.ts +0 -651
- 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/types.d.ts +0 -646
- 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/floorMapElementNameAsTitle.d.ts +0 -50
- 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/PisellRecordBoard.d.ts +0 -9
- package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -89
- package/lib/components/pisellRecordBoard/index.d.ts +0 -51
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -9
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -11
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -26
- 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/const/bookingCalendarConstants.d.ts +0 -49
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -7
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +0 -17
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -17
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +0 -10
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +0 -232
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +0 -13
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -53
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +0 -23
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +0 -18
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +0 -27
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.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/shellFrame/ToolBar/index.d.ts +0 -12
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +0 -13
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +0 -30
- package/lib/components/pisellRecordBoard/types.d.ts +0 -802
- 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/pisellShellFrame/PisellShellFrame.d.ts +0 -13
- package/lib/components/pisellShellFrame/types.d.ts +0 -62
- package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- 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/CursorLayer.d.ts +0 -27
- package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -41
- 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/timeNavigatorConstants.d.ts +0 -20
- 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 -4
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
- package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -13
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
- package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -19
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -11
- 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 -4
- package/lib/components/productCard/components/Header/index.d.ts +0 -4
- package/lib/components/productCard/components/Sales/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -3
- 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 -14
- 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 -6
- 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 -6
- 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
- package/lib/index.d.ts +0 -265
- package/lib/locales/en-US.d.ts +0 -560
- package/lib/locales/ja.d.ts +0 -528
- package/lib/locales/pt.d.ts +0 -528
- package/lib/locales/zh-CN.d.ts +0 -555
- package/lib/locales/zh-TW.d.ts +0 -555
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from '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) => React.JSX.Element;
|
|
19
|
-
export default TreeItem;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { FilterItemProps } from "../../types";
|
|
3
|
-
interface QuickFilterProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
formFiltersPrefix: string;
|
|
6
|
-
value?: {
|
|
7
|
-
quickFilter?: FilterItemProps[];
|
|
8
|
-
notSortFilter?: FilterItemProps[];
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
declare const QuickFilter: React.FC<QuickFilterProps>;
|
|
12
|
-
export default QuickFilter;
|
|
@@ -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,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ConfigProviderProps } from '../config-provider';
|
|
3
|
-
interface PageProps extends ConfigProviderProps {
|
|
4
|
-
variablesConfig?: {
|
|
5
|
-
disabledHistoryListener?: boolean;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
declare const Page: (props: PageProps) => React.JSX.Element;
|
|
9
|
-
export default Page;
|
|
@@ -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) => React.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,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellFloorMapLayout - 空间布局视图
|
|
3
|
-
* 支持两种用法:1) 仅传入 items + renderItem(原有用法);2) 传入 floorMapConfig + dataSources + mode 使用平面图视图(含多画布/编辑态)
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { FloorMapItemBase, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef } from './types';
|
|
7
|
-
import './PisellFloorMapLayout.less';
|
|
8
|
-
/** 空间布局根组件:阅读/编辑、列表与平面图双模式,ref 见 {@link PisellFloorMapLayoutRef} */
|
|
9
|
-
declare const PisellFloorMapLayout: <T extends FloorMapItemBase = FloorMapItemBase>(props: PisellFloorMapLayoutProps<T> & {
|
|
10
|
-
ref?: React.Ref<PisellFloorMapLayoutRef | null> | undefined;
|
|
11
|
-
}) => React.ReactElement;
|
|
12
|
-
export { PisellFloorMapLayout };
|
|
13
|
-
export default PisellFloorMapLayout;
|
|
@@ -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;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CanvasTabs - 多画布 Tab,支持切换、动态添加、删除与重命名(编辑态)
|
|
3
|
-
* - 展示名:可选 `nameKey` + `locales.getText`,否则用 `name`(字符串或多语言对象)
|
|
4
|
-
* - 角标:可选 `tabBadge` 或由布局层注入合并后的数量
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import type { FloorMapCanvas, FloorMapCanvasNameI18n } from '../types';
|
|
8
|
-
import './CanvasTabs.less';
|
|
9
|
-
export interface CanvasTabsProps {
|
|
10
|
-
/** 画布列表 */
|
|
11
|
-
canvases: FloorMapCanvas[];
|
|
12
|
-
/** 当前画布 id */
|
|
13
|
-
currentCanvasId: string | null;
|
|
14
|
-
/** 切换画布 */
|
|
15
|
-
onTabChange: (canvasId: string) => void;
|
|
16
|
-
/** 是否允许添加/删除/重命名画布(编辑态) */
|
|
17
|
-
canEdit?: boolean;
|
|
18
|
-
/** 添加画布 */
|
|
19
|
-
onAddCanvas?: () => void;
|
|
20
|
-
/** 删除画布(至少保留一个画布时可调用) */
|
|
21
|
-
onRemoveCanvas?: (canvasId: string) => void;
|
|
22
|
-
/** 重命名画布(对象写入 `name`,并清除 `nameKey`) */
|
|
23
|
-
onRenameCanvas?: (canvasId: string, name: string | FloorMapCanvasNameI18n) => void;
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
26
|
-
export declare function CanvasTabs(props: CanvasTabsProps): React.JSX.Element;
|
|
27
|
-
export default CanvasTabs;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EditableItemLayer - 编辑态图元层:拖拽、缩放、选中、吸附
|
|
3
|
-
*/
|
|
4
|
-
import React, { type CSSProperties } from 'react';
|
|
5
|
-
import type { FloorMapItemBase, FloorMapMergedItem, FloorMapRenderOptions } from '../types';
|
|
6
|
-
import { type FloorMapEditQuickActionLabels } from './FloorMapEditQuickActions';
|
|
7
|
-
import './EditableItemLayer.less';
|
|
8
|
-
export interface EditableItemLayerProps<T extends FloorMapItemBase = FloorMapMergedItem> {
|
|
9
|
-
items: T[];
|
|
10
|
-
renderItem: (item: T, index: number, options?: FloorMapRenderOptions) => React.ReactNode;
|
|
11
|
-
rowKey?: string | ((item: T, index: number) => string);
|
|
12
|
-
cellSize: number;
|
|
13
|
-
itemUnit?: 'cell' | 'pixel';
|
|
14
|
-
itemGap?: number;
|
|
15
|
-
contentWidth: number;
|
|
16
|
-
contentHeight: number;
|
|
17
|
-
/** 内容区 X/Y 偏移(画布包围盒向左/上扩展时,图元层整体平移) */
|
|
18
|
-
contentOffsetX?: number;
|
|
19
|
-
contentOffsetY?: number;
|
|
20
|
-
selectedId: string | null;
|
|
21
|
-
onSelect: (id: string | null) => void;
|
|
22
|
-
onUpdateItem: (itemId: string, patch: Partial<{
|
|
23
|
-
x: number;
|
|
24
|
-
y: number;
|
|
25
|
-
width: number;
|
|
26
|
-
height: number;
|
|
27
|
-
}>) => void;
|
|
28
|
-
snapStep?: number;
|
|
29
|
-
/** 画布当前缩放,用于将屏幕位移转为内容位移 */
|
|
30
|
-
scale?: number;
|
|
31
|
-
/** 拖拽/缩放图元时通知父组件,用于禁用画布平移,避免松手时画布跟着动 */
|
|
32
|
-
onInteractionChange?: (active: boolean) => void;
|
|
33
|
-
/** 每项外层容器额外样式(与定位样式合并) */
|
|
34
|
-
getMergedItemWrapperStyle?: (item: T, index: number) => CSSProperties | undefined;
|
|
35
|
-
className?: string;
|
|
36
|
-
/** 编辑态选中时图元旁快捷栏(上锁 / 复制 / 删除) */
|
|
37
|
-
editQuickBar?: {
|
|
38
|
-
labels: FloorMapEditQuickActionLabels;
|
|
39
|
-
isLocked: boolean;
|
|
40
|
-
onToggleLock: () => void;
|
|
41
|
-
onDuplicate: () => void;
|
|
42
|
-
onDelete: () => void;
|
|
43
|
-
} | null;
|
|
44
|
-
}
|
|
45
|
-
export declare function EditableItemLayer<T extends FloorMapItemBase>(props: EditableItemLayerProps<T>): React.JSX.Element;
|
|
46
|
-
export default EditableItemLayer;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Figma 样式餐桌/圆桌卡片:上下小条 + 白底卡片 + 状态色边框
|
|
3
|
-
* 供 Floor Map Story 与 Sales Grid 平面图复用
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { FloorMapMergedItem, FloorMapDataSources } from '../types';
|
|
7
|
-
export declare type FigmaTableStatus = 'available' | 'reserved' | 'waiting' | 'dining' | 'billed' | 'availableSoon';
|
|
8
|
-
/** 方桌/圆桌卡片展示用数据结构(与 Figma 设计一致,支持桌号/状态/人数/区域等) */
|
|
9
|
-
export interface FigmaTableCardItem {
|
|
10
|
-
id: string;
|
|
11
|
-
/**
|
|
12
|
-
* 无绑定或无可展示数据行时与蘸料摆台占位一致:浅灰底 + 虚线框 + 提示文案
|
|
13
|
-
* @see getRenderItemByKindCondimentStation(RecordBoard Story)
|
|
14
|
-
*/
|
|
15
|
-
isNoDataPlaceholder?: boolean;
|
|
16
|
-
placeholderBorderColor?: string;
|
|
17
|
-
placeholderHint?: string;
|
|
18
|
-
/** 占位主标题:优先图元名称,否则「餐桌」/「圆桌」 */
|
|
19
|
-
placeholderTitle?: string;
|
|
20
|
-
/** 桌号/名称,空闲态居中显示 */
|
|
21
|
-
displayName?: string;
|
|
22
|
-
status?: FigmaTableStatus;
|
|
23
|
-
customerName?: string;
|
|
24
|
-
reserveTime?: string;
|
|
25
|
-
/** 当前用餐人数(与 Figma 设计一致) */
|
|
26
|
-
guests?: number;
|
|
27
|
-
/** 可坐人数(与表格列「可坐人数」绑定) */
|
|
28
|
-
capacity?: number;
|
|
29
|
-
dishes?: string;
|
|
30
|
-
duration?: string;
|
|
31
|
-
/** 区域(与表格列「区域」绑定,如大厅/包厢A) */
|
|
32
|
-
area?: string;
|
|
33
|
-
}
|
|
34
|
-
/** 从 merged item + dataSources 得到卡片数据 */
|
|
35
|
-
export declare function getFigmaTableCardFromMerged(item: FloorMapMergedItem, dataSources: FloorMapDataSources): FigmaTableCardItem;
|
|
36
|
-
/** 渲染 Figma 样式的方桌卡片(上下小条 + 资源信息标题栏 + 白底卡片 + 状态色边框) */
|
|
37
|
-
export declare function renderFigmaStyleTableCard(cardItem: FigmaTableCardItem): React.JSX.Element;
|
|
38
|
-
/** 渲染 Figma 样式的圆桌卡片(顶部资源信息 chip + 圆形主体,圆形主体只展示状态相关内容) */
|
|
39
|
-
export declare function renderFigmaStyleRoundTableCard(cardItem: FigmaTableCardItem): React.JSX.Element;
|
|
40
|
-
/** 返回用于 renderItemByKind.table 的渲染函数(方桌) */
|
|
41
|
-
export declare function getRenderItemByKindTable(dataSources: FloorMapDataSources): (item: unknown) => React.JSX.Element;
|
|
42
|
-
/** 返回用于 renderItemByKind.roundTable 的渲染函数(圆桌) */
|
|
43
|
-
export declare function getRenderItemByKindRoundTable(dataSources: FloorMapDataSources): (item: unknown) => React.JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FloorMapDataForm - 数据源落位的数据表单,调用 onDataSourceRecordSave
|
|
3
|
-
* 支持通过 columns 配置列标签与控件类型(string/number/select),与表格列一致
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { FloorMapDataSources, DataSourceFormColumn } from '../types';
|
|
7
|
-
import './FloorMapDataForm.less';
|
|
8
|
-
export interface FloorMapDataFormProps {
|
|
9
|
-
dataSourceKey: string;
|
|
10
|
-
recordId: string;
|
|
11
|
-
record: Record<string, unknown>;
|
|
12
|
-
dataSources: FloorMapDataSources;
|
|
13
|
-
onSave: (dataSourceKey: string, id: string, newData: Record<string, unknown>) => void;
|
|
14
|
-
saving?: boolean;
|
|
15
|
-
/** 列配置:标签、类型(string/number/select)、选项(select 时);不传则自动列举 record 除 id 外字段 */
|
|
16
|
-
columns?: DataSourceFormColumn[];
|
|
17
|
-
className?: string;
|
|
18
|
-
}
|
|
19
|
-
/** 简单通用表单:可编辑记录中的字段;支持 columns 配置标签与控件类型 */
|
|
20
|
-
export declare function FloorMapDataForm(props: FloorMapDataFormProps): React.JSX.Element;
|
|
21
|
-
export default FloorMapDataForm;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FloorMapEditPanel - 选中图元后的编辑面板:画布属性 + 可选数据绑定 + 数据源记录表单
|
|
3
|
-
*/
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import type { FloorMapEditPanelParams, FloorMapViewConfig, FloorMapDataSources } from '../types';
|
|
6
|
-
import './FloorMapEditPanel.less';
|
|
7
|
-
export interface FloorMapEditPanelProps extends FloorMapEditPanelParams {
|
|
8
|
-
config: FloorMapViewConfig;
|
|
9
|
-
dataSources: FloorMapDataSources;
|
|
10
|
-
savingRecord?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare function FloorMapEditPanel(props: FloorMapEditPanelProps): React.JSX.Element;
|
|
14
|
-
export default FloorMapEditPanel;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 编辑态选中图元旁的快捷操作:锁定 / 复制 / 删除(与侧栏同源逻辑)
|
|
3
|
-
*/
|
|
4
|
-
import React from 'react';
|
|
5
|
-
export interface FloorMapEditQuickActionLabels {
|
|
6
|
-
lock: string;
|
|
7
|
-
unlock: string;
|
|
8
|
-
duplicate: string;
|
|
9
|
-
delete: string;
|
|
10
|
-
popTitle: string;
|
|
11
|
-
popDesc: string;
|
|
12
|
-
cancel: string;
|
|
13
|
-
okDelete: string;
|
|
14
|
-
ariaToolbar: string;
|
|
15
|
-
}
|
|
16
|
-
export interface FloorMapEditQuickActionsProps {
|
|
17
|
-
className?: string;
|
|
18
|
-
labels: FloorMapEditQuickActionLabels;
|
|
19
|
-
isLocked: boolean;
|
|
20
|
-
onToggleLock: () => void;
|
|
21
|
-
onDuplicate: () => void;
|
|
22
|
-
onDelete: () => void;
|
|
23
|
-
}
|
|
24
|
-
export declare function FloorMapEditQuickActions(props: FloorMapEditQuickActionsProps): React.JSX.Element;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FloorMapEditTopBar - 编辑态顶栏
|
|
3
|
-
* - `mode="compact"`:画布 Tab + 可选 `canvasTabsBarTrailing`(全屏入口在左下 Dock)
|
|
4
|
-
* - `mode="full"`:画布 Tab + `canvasTabsBarTrailing` + 保存(仅非浏览器全屏时)+ 扩展操作
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import type { CanvasTabsProps } from './CanvasTabs';
|
|
8
|
-
import type { FloorMapControlsConfig, FloorMapViewConfig } from '../types';
|
|
9
|
-
import './FloorMapEditTopBar.less';
|
|
10
|
-
export declare type FloorMapEditTopBarMode = 'full' | 'compact';
|
|
11
|
-
export interface FloorMapEditTopBarProps {
|
|
12
|
-
/** full:全屏时的完整顶栏;compact:非全屏时 Tab + 扩展区 */
|
|
13
|
-
mode?: FloorMapEditTopBarMode;
|
|
14
|
-
config: FloorMapViewConfig;
|
|
15
|
-
canvases: CanvasTabsProps['canvases'];
|
|
16
|
-
currentCanvasId: CanvasTabsProps['currentCanvasId'];
|
|
17
|
-
onTabChange: CanvasTabsProps['onTabChange'];
|
|
18
|
-
canEditTabs?: CanvasTabsProps['canEdit'];
|
|
19
|
-
onAddCanvas?: CanvasTabsProps['onAddCanvas'];
|
|
20
|
-
onRemoveCanvas?: CanvasTabsProps['onRemoveCanvas'];
|
|
21
|
-
onRenameCanvas?: CanvasTabsProps['onRenameCanvas'];
|
|
22
|
-
onSave?: () => void;
|
|
23
|
-
saving?: boolean;
|
|
24
|
-
saveError?: Error | string;
|
|
25
|
-
layoutDirty?: boolean;
|
|
26
|
-
/** full 模式:浏览器全屏时为 true,顶栏不展示保存(改由侧栏) */
|
|
27
|
-
isFullscreen?: boolean;
|
|
28
|
-
controls?: FloorMapControlsConfig;
|
|
29
|
-
/** 顶栏右侧扩展(如「区域定位」等),仅 full 模式 */
|
|
30
|
-
extraActions?: React.ReactNode;
|
|
31
|
-
/** 画布 Tab 同排最右侧业务区 */
|
|
32
|
-
canvasTabsBarTrailing?: React.ReactNode;
|
|
33
|
-
/** 启用画布仅 1 个时隐藏 Tab 行,仅保留右侧操作区(全屏顶栏保存等) */
|
|
34
|
-
hideCanvasTabs?: boolean;
|
|
35
|
-
/** 撤销当前编辑步骤(不传则不显示按钮) */
|
|
36
|
-
onUndo?: () => void;
|
|
37
|
-
/** 重做最近一次撤销(不传则不显示按钮) */
|
|
38
|
-
onRedo?: () => void;
|
|
39
|
-
/** 是否还有可撤销步骤 */
|
|
40
|
-
canUndo?: boolean;
|
|
41
|
-
/** 是否还有可重做步骤 */
|
|
42
|
-
canRedo?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* 退出编辑模式回调(不保存)。
|
|
45
|
-
* 传入后顶栏右侧会渲染「取消编辑」+「完成」两个按钮,替代原独立「保存」按钮:
|
|
46
|
-
* - 取消编辑 → `onCancelEdit?.() ?? onExitEdit()`
|
|
47
|
-
* - 完成 → `onSave?.()` + `onExitEdit()`
|
|
48
|
-
* 不传则维持旧版「保存」按钮(保存但不退出)。
|
|
49
|
-
*/
|
|
50
|
-
onExitEdit?: () => void;
|
|
51
|
-
/**
|
|
52
|
-
* 「取消编辑」专用回调(可选)。传入时取消按钮优先调它,业务层可以在这里
|
|
53
|
-
* 完成「丢弃草稿 + 退出编辑」组合,从而保证回到阅读态不会看到未保存的脏数据。
|
|
54
|
-
* 不传时取消按钮回退到 `onExitEdit`。完成按钮链路不受此 prop 影响。
|
|
55
|
-
*/
|
|
56
|
-
onCancelEdit?: () => void;
|
|
57
|
-
className?: string;
|
|
58
|
-
}
|
|
59
|
-
export declare function FloorMapEditTopBar(props: FloorMapEditTopBarProps): React.JSX.Element | null;
|
|
60
|
-
export default FloorMapEditTopBar;
|