@pisell/materials 6.11.36 → 6.11.38
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/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +26 -56
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +26 -56
- package/es/components/PisellLayouts/index.d.ts +1 -1
- package/es/components/colorPicker/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +6 -6
- package/es/components/filter/components/items/index.d.ts +0 -1
- package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
- package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
- package/es/components/filter/components/items/text/index.d.ts +0 -1
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +2 -1
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +47 -3
- package/es/components/pisellFloorMapLayout/types.d.ts +7 -7
- package/es/components/pisellFloorMapLayout/types.js +2 -2
- package/es/components/pisellRecordBoard/index.d.ts +1 -1
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +1039 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +323 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +5 -1
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js +10 -10
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +23 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.js +287 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +4 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +28 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +1 -1
- package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +36 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +38 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +3 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/index.js +3 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.js +197 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.js +65 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +9 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.js +52 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.js +58 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +232 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +735 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +13 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.js +37 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +56 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +682 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +155 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +27 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +259 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.js +19 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +2 -1
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.js +44 -14
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +4 -2
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +117 -125
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +3 -5
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +71 -352
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.js +143 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +128 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +8 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +18 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.js +115 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +6 -4
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +63 -120
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +2 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.js +2 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +42 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +114 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +26 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +54 -1
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +67 -12
- package/es/components/pisellRecordBoard/shellFrame/index.js +34 -7
- package/es/components/pisellRecordBoard/types.d.ts +97 -4
- package/es/components/pisellRecordBoard/types.js +18 -2
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +34 -2
- package/es/components/pisellShellFrame/PisellShellFrame.less +5 -2
- package/es/components/table/Table/SelectField/index.d.ts +0 -1
- package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/es/hooks/useResponsive.d.ts +1 -1
- package/es/index.d.ts +1 -1
- package/es/locales/en-US.d.ts +74 -0
- package/es/locales/en-US.js +76 -1
- package/es/locales/ja.d.ts +74 -0
- package/es/locales/ja.js +75 -0
- package/es/locales/pt.d.ts +74 -0
- package/es/locales/pt.js +75 -0
- package/es/locales/zh-CN.d.ts +74 -0
- package/es/locales/zh-CN.js +76 -1
- package/es/locales/zh-TW.d.ts +74 -0
- package/es/locales/zh-TW.js +76 -1
- package/es/pisell-materials.tw.css +1 -1
- package/lib/components/PisellLayouts/index.d.ts +1 -1
- package/lib/components/colorPicker/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +6 -6
- package/lib/components/filter/components/items/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/index.d.ts +0 -1
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +2 -1
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +1 -1
- package/lib/components/pisellFloorMapLayout/types.d.ts +7 -7
- package/lib/components/pisellRecordBoard/index.d.ts +1 -1
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +5 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +892 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +323 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +5 -1
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js +7 -6
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +23 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.js +268 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +4 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +53 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +1 -1
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +36 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +98 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +3 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.js +306 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.js +111 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +9 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.js +96 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.js +92 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +232 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +666 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +13 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.js +90 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +56 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +812 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +219 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +27 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +352 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +12 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.js +57 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +2 -1
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.js +44 -9
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +4 -2
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +60 -142
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +3 -5
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +40 -269
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.js +163 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +28 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +136 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +18 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.js +175 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +6 -4
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +61 -88
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +2 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.js +29 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +42 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +139 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +26 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +31 -3
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +50 -5
- package/lib/components/pisellRecordBoard/shellFrame/index.js +29 -13
- package/lib/components/pisellRecordBoard/types.d.ts +97 -4
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +34 -2
- package/lib/components/pisellShellFrame/PisellShellFrame.less +5 -2
- package/lib/components/table/Table/SelectField/index.d.ts +0 -1
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/lib/hooks/useResponsive.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/locales/en-US.d.ts +74 -0
- package/lib/locales/en-US.js +76 -1
- package/lib/locales/ja.d.ts +74 -0
- package/lib/locales/ja.js +75 -0
- package/lib/locales/pt.d.ts +74 -0
- package/lib/locales/pt.js +75 -0
- package/lib/locales/zh-CN.d.ts +74 -0
- package/lib/locales/zh-CN.js +76 -1
- package/lib/locales/zh-TW.d.ts +74 -0
- package/lib/locales/zh-TW.js +76 -1
- package/lib/pisell-materials.tw.css +1 -1
- package/package.json +3 -4
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +0 -3
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.js +0 -6233
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +0 -3
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.js +0 -7079
|
@@ -18,7 +18,7 @@ declare const PisellLayouts: {
|
|
|
18
18
|
BasicGrid: <T>(props: import("../PisellBasicGrid").PisellBasicGridProps<T>) => JSX.Element;
|
|
19
19
|
ScrollView: import("react").ForwardRefExoticComponent<Omit<import("../PisellScrollView").PisellScrollViewProps, "ref"> & import("react").RefAttributes<import("../PisellScrollView").PisellScrollViewRef>>;
|
|
20
20
|
FloorMapLayout: <T_1 extends import("../pisellFloorMapLayout").FloorMapItemBase = import("../pisellFloorMapLayout").FloorMapItemBase>(props: import("../pisellFloorMapLayout").PisellFloorMapLayoutProps<T_1> & {
|
|
21
|
-
ref?: import("react").Ref<import("../pisellFloorMapLayout").PisellFloorMapLayoutRef> | undefined;
|
|
21
|
+
ref?: import("react").Ref<import("../pisellFloorMapLayout").PisellFloorMapLayoutRef | null> | undefined;
|
|
22
22
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
23
23
|
Layout: import("../pisellLayout").CompoundedComponent;
|
|
24
24
|
Content: import("react").FC<import("../pisellLayout/content").PisellContentProps>;
|
|
@@ -44,7 +44,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
|
|
|
44
44
|
}) => JSX.Element;
|
|
45
45
|
export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
|
|
46
46
|
options?: any;
|
|
47
|
-
optionSourceType?: "
|
|
47
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
48
48
|
labelField: string;
|
|
49
49
|
valueField: string;
|
|
50
50
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
|
|
|
19
19
|
*/
|
|
20
20
|
declare const useTableProps: (props: UseTablePropsProps) => {
|
|
21
21
|
currentComponentId: any;
|
|
22
|
-
title: number | boolean |
|
|
22
|
+
title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
|
|
23
23
|
pagination: {
|
|
24
24
|
total: number;
|
|
25
25
|
current: number;
|
|
@@ -28,7 +28,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
28
28
|
showSizeChanger: boolean;
|
|
29
29
|
};
|
|
30
30
|
columns: import("./useColumns").Column[];
|
|
31
|
-
subTitle: number | boolean |
|
|
31
|
+
subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
|
|
32
32
|
buttons: any[] | null;
|
|
33
33
|
filter: {
|
|
34
34
|
dom: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const RecordListWrapperWithDataSource: (props: import("./type").RecordListWrapperProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
|
|
3
3
|
options?: any;
|
|
4
|
-
optionSourceType?: "
|
|
4
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
5
5
|
labelField: string;
|
|
6
6
|
valueField: string;
|
|
7
7
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
|
|
3
3
|
options?: any;
|
|
4
|
-
optionSourceType?: "
|
|
4
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
5
5
|
labelField: string;
|
|
6
6
|
valueField: string;
|
|
7
7
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/** 包装 DataSource 层(提供数据源上下文) */
|
|
3
3
|
declare const FormItemTabs: (props: import("./type").TabsProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
|
|
4
4
|
options?: any;
|
|
5
|
-
optionSourceType?: "
|
|
5
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
6
6
|
labelField: string;
|
|
7
7
|
valueField: string;
|
|
8
8
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
|
|
|
15
15
|
metadata?: MediaMetadata;
|
|
16
16
|
}) => Record<string, any>;
|
|
17
17
|
export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
|
|
18
|
-
export declare const getBaseTime: (size: number) =>
|
|
18
|
+
export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
|
|
@@ -35,7 +35,7 @@ declare const formFieldMap: {
|
|
|
35
35
|
};
|
|
36
36
|
FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
37
37
|
options?: any;
|
|
38
|
-
optionSourceType?: "
|
|
38
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
39
39
|
labelField: string;
|
|
40
40
|
valueField: string;
|
|
41
41
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -62,7 +62,7 @@ declare const formFieldMap: {
|
|
|
62
62
|
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
63
63
|
FormItemRecordListWrapper: (props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
64
64
|
options?: any;
|
|
65
|
-
optionSourceType?: "
|
|
65
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
66
66
|
labelField: string;
|
|
67
67
|
valueField: string;
|
|
68
68
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -72,7 +72,7 @@ declare const formFieldMap: {
|
|
|
72
72
|
}) => JSX.Element;
|
|
73
73
|
FormItemTabs: (props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
74
74
|
options?: any;
|
|
75
|
-
optionSourceType?: "
|
|
75
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
76
76
|
labelField: string;
|
|
77
77
|
valueField: string;
|
|
78
78
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -113,7 +113,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
113
113
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
114
114
|
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
115
115
|
options?: any;
|
|
116
|
-
optionSourceType?: "
|
|
116
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
117
117
|
labelField: string;
|
|
118
118
|
valueField: string;
|
|
119
119
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -122,7 +122,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
122
122
|
extraParams?: Record<string, any> | undefined;
|
|
123
123
|
}) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | ((props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
124
124
|
options?: any;
|
|
125
|
-
optionSourceType?: "
|
|
125
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
126
126
|
labelField: string;
|
|
127
127
|
valueField: string;
|
|
128
128
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -131,7 +131,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
131
131
|
extraParams?: Record<string, any> | undefined;
|
|
132
132
|
}) => JSX.Element) | ((props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
133
133
|
options?: any;
|
|
134
|
-
optionSourceType?: "
|
|
134
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
135
135
|
labelField: string;
|
|
136
136
|
valueField: string;
|
|
137
137
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { FloorMapItemBase, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef } from './types';
|
|
7
7
|
import './PisellFloorMapLayout.less';
|
|
8
|
+
/** 空间布局根组件:阅读/编辑、列表与平面图双模式,ref 见 {@link PisellFloorMapLayoutRef} */
|
|
8
9
|
declare const PisellFloorMapLayout: <T extends FloorMapItemBase = FloorMapItemBase>(props: PisellFloorMapLayoutProps<T> & {
|
|
9
|
-
ref?: React.Ref<PisellFloorMapLayoutRef> | undefined;
|
|
10
|
+
ref?: React.Ref<PisellFloorMapLayoutRef | null> | undefined;
|
|
10
11
|
}) => React.ReactElement;
|
|
11
12
|
export { PisellFloorMapLayout };
|
|
12
13
|
export default PisellFloorMapLayout;
|
|
@@ -42,6 +42,11 @@ import { locales } from '@pisell/utils';
|
|
|
42
42
|
import { initFloorMapLayoutLocales } from "./utils/floorMapCanvasDisplay";
|
|
43
43
|
import "./PisellFloorMapLayout.less";
|
|
44
44
|
var PREFIX = 'pisell-floor-map-layout';
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* 布局根实现(由 {@link PisellFloorMapLayout} forwardRef 包裹)。
|
|
48
|
+
* 负责:上下文与 props 合并、编辑态/阅读态分支、Transform 视口、图元层与工具栏联动。
|
|
49
|
+
*/
|
|
45
50
|
function PisellFloorMapLayoutInner(props, ref) {
|
|
46
51
|
var _engineCtx$engine, _config$sceneElements;
|
|
47
52
|
var layoutCtx = useFloorMapLayoutContext();
|
|
@@ -138,6 +143,8 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
138
143
|
toggleSelectedLayoutLock = edit.toggleSelectedLayoutLock,
|
|
139
144
|
duplicateSelectedElement = edit.duplicateSelectedElement,
|
|
140
145
|
deleteSelectedElement = edit.deleteSelectedElement;
|
|
146
|
+
|
|
147
|
+
/** 当前画布下的 mapLayer:全局 `mapLayer` 与画布级配置合并,供 MapLayer / 吸附等读取 */
|
|
141
148
|
var effectiveMapLayer = useMemo(function () {
|
|
142
149
|
var _canvas$mapLayer;
|
|
143
150
|
if (!isFloorMapView || !config || !currentCanvasId) {
|
|
@@ -160,6 +167,8 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
160
167
|
var z = (_zoom$defaultScale = zoom.defaultScale) !== null && _zoom$defaultScale !== void 0 ? _zoom$defaultScale : 1;
|
|
161
168
|
return "fmap-".concat(currentCanvasId !== null && currentCanvasId !== void 0 ? currentCanvasId : 'na', "-bp").concat(bp, "-z").concat(z);
|
|
162
169
|
}, [isFloorMapView, currentCanvasId, effectiveMapLayer === null || effectiveMapLayer === void 0 ? void 0 : effectiveMapLayer.boundingPadding, zoom.defaultScale]);
|
|
170
|
+
|
|
171
|
+
/** 供顶栏 Tab 使用:合并草稿画布等后的画布列表 */
|
|
163
172
|
var canvasesForTabs = useMemo(function () {
|
|
164
173
|
return config ? mergeCanvasesForTabs(config) : [];
|
|
165
174
|
}, [config]);
|
|
@@ -171,18 +180,21 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
171
180
|
return c.enabled;
|
|
172
181
|
}).length;
|
|
173
182
|
}, [canvasesForTabs]);
|
|
183
|
+
|
|
184
|
+
/** 阅读态是否展示画布 Tab:多启用画布或配置了 `canvasTabsBarTrailing` 时出现 */
|
|
174
185
|
var showReadModeCanvasTabsBar = useMemo(function () {
|
|
175
186
|
if (!isFloorMapView || mode !== 'read' || !config) return false;
|
|
176
187
|
if (hasCanvasTabsBarTrailing) return true;
|
|
177
188
|
return enabledCanvasCount > 1;
|
|
178
189
|
}, [isFloorMapView, mode, config, hasCanvasTabsBarTrailing, enabledCanvasCount]);
|
|
190
|
+
|
|
191
|
+
/** 阅读态画布 Tab 工具条的无障碍标签(随引擎语言初始化文案) */
|
|
179
192
|
var readCanvasTabsAriaLabel = useMemo(function () {
|
|
180
193
|
initFloorMapLayoutLocales(engineLocale);
|
|
181
194
|
return locales.getText('pisell-floor-map-layout.read-canvas-tabs.aria');
|
|
182
195
|
}, [engineLocale]);
|
|
183
196
|
|
|
184
|
-
/**
|
|
185
|
-
var showEditCompactTopBar = isFloorMapView && mode === 'edit' && Boolean(config) && !useFullTopChrome;
|
|
197
|
+
/** 加载遮罩上的文案 */
|
|
186
198
|
var loadingLabel = useMemo(function () {
|
|
187
199
|
initFloorMapLayoutLocales(engineLocale);
|
|
188
200
|
return locales.getText('pisell-floor-map-layout.loading');
|
|
@@ -217,9 +229,11 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
217
229
|
};
|
|
218
230
|
}, [isFloorMapView, mode, config === null || config === void 0 ? void 0 : config.canvasUi.canEdit, selectedId, items, engineLocale, toggleSelectedLayoutLock, duplicateSelectedElement, deleteSelectedElement]);
|
|
219
231
|
var cellSize = cellSizeProp !== null && cellSizeProp !== void 0 ? cellSizeProp : DEFAULT_CELL_SIZE;
|
|
232
|
+
/** 图元间距(像素):由 mapLayer.gap 解析 */
|
|
220
233
|
var itemGap = useMemo(function () {
|
|
221
234
|
return gapToPx(effectiveMapLayer === null || effectiveMapLayer === void 0 ? void 0 : effectiveMapLayer.gap);
|
|
222
235
|
}, [effectiveMapLayer === null || effectiveMapLayer === void 0 ? void 0 : effectiveMapLayer.gap]);
|
|
236
|
+
/** 平面图坐标始终按像素;非平面图沿用 props `itemUnit` */
|
|
223
237
|
var effectiveItemUnit = isFloorMapView ? 'pixel' : itemUnit;
|
|
224
238
|
var metrics = useFloorMapTransformMetrics({
|
|
225
239
|
items: items,
|
|
@@ -258,6 +272,11 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
258
272
|
var useFullTopChrome = isFloorMapView && mode === 'edit' && (fsMode === 'locked' || fsMode === 'toggle' && isFullscreen);
|
|
259
273
|
/** toggle 时左下 Dock 展示全屏;locked/disabled 不传 API */
|
|
260
274
|
var dockToggleFullscreen = isFloorMapView && fsMode === 'toggle' ? toggleFullscreen : undefined;
|
|
275
|
+
|
|
276
|
+
/** 编辑态始终保留顶栏 Tab(单画布也要能「添加画布」);仅阅读态在单画布时可隐藏 Tab 行 */
|
|
277
|
+
var showEditCompactTopBar = isFloorMapView && mode === 'edit' && Boolean(config) && !useFullTopChrome;
|
|
278
|
+
|
|
279
|
+
/** 右下角视口控件:平面图下默认带出全屏按钮(若当前策略允许 toggle) */
|
|
261
280
|
var viewControlsConfig = useMemo(function () {
|
|
262
281
|
var _controls$showFullscr;
|
|
263
282
|
if (!isFloorMapView) return controls;
|
|
@@ -266,10 +285,14 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
266
285
|
});
|
|
267
286
|
}, [isFloorMapView, controls, dockToggleFullscreen]);
|
|
268
287
|
var topBarExtraActions = null;
|
|
288
|
+
|
|
289
|
+
/** 从侧栏/调色板拖入画布时,地图区高亮态(用于 dragleave/over 判定) */
|
|
269
290
|
var _useState = useState(false),
|
|
270
291
|
_useState2 = _slicedToArray(_useState, 2),
|
|
271
292
|
mapPaletteDragActive = _useState2[0],
|
|
272
293
|
setMapPaletteDragActive = _useState2[1];
|
|
294
|
+
|
|
295
|
+
/** 全局 dragend 时清除调色板拖入高亮,避免松手在画布外仍保持 active */
|
|
273
296
|
useEffect(function () {
|
|
274
297
|
var clear = function clear() {
|
|
275
298
|
return setMapPaletteDragActive(false);
|
|
@@ -279,6 +302,10 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
279
302
|
return window.removeEventListener('dragend', clear);
|
|
280
303
|
};
|
|
281
304
|
}, []);
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* 桌面端:在画布 drop 层释放拖拽时,解析 dataTransfer 并在场景坐标下落位图元。
|
|
308
|
+
*/
|
|
282
309
|
var handlePaletteDropOnCanvas = useCallback(function (e) {
|
|
283
310
|
e.preventDefault();
|
|
284
311
|
e.stopPropagation();
|
|
@@ -297,6 +324,10 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
297
324
|
recordIds: payload.recordIds
|
|
298
325
|
});
|
|
299
326
|
}, [isFloorMapView, mode, placeSceneElementFromPaletteDrop]);
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* 触摸拖拽模拟 drop:由 {@link useFloorMapPaletteTouchDrag} 在松手时调用,逻辑同桌面 drop。
|
|
330
|
+
*/
|
|
300
331
|
var applyPaletteTouchDropInScene = useCallback(function (payload, cx, cy) {
|
|
301
332
|
if (!isFloorMapView || mode !== 'edit') return;
|
|
302
333
|
placeSceneElementFromPaletteDrop(cx, cy, {
|
|
@@ -316,9 +347,15 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
316
347
|
setMapPaletteDragActive: setMapPaletteDragActive,
|
|
317
348
|
onDropInScene: applyPaletteTouchDropInScene
|
|
318
349
|
});
|
|
350
|
+
|
|
351
|
+
/** 平面图下未配置对应 kind 的 `renderItemByKind` 时的占位渲染 */
|
|
319
352
|
var fallbackPlaceholderRender = useCallback(function (item) {
|
|
320
353
|
return renderFloorMapFallbackPlaceholder(item);
|
|
321
354
|
}, []);
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* 统一图元渲染入口:平面图优先按 kind 查 `renderItemByKind`,校验绑定/配置问题后回退占位或 `renderItem`。
|
|
358
|
+
*/
|
|
322
359
|
var effectiveRenderItem = useCallback(function (item, index, options) {
|
|
323
360
|
var merged = item;
|
|
324
361
|
var kind = merged === null || merged === void 0 ? void 0 : merged.elementKind;
|
|
@@ -344,10 +381,14 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
344
381
|
}
|
|
345
382
|
return renderItem(item, index, options);
|
|
346
383
|
}, [isFloorMapView, floorMapConfigProp, dataSources, renderItemByKind, renderItem, fallbackPlaceholderRender, onElementRenderError]);
|
|
384
|
+
|
|
385
|
+
/** 点击图元:编辑态同步选中 id,并透传业务 `onItemClick` */
|
|
347
386
|
var handleItemClick = useCallback(function (item, index, e) {
|
|
348
387
|
if (isFloorMapView && mode === 'edit') setSelectedId(item.id);
|
|
349
388
|
onItemClick === null || onItemClick === void 0 || onItemClick(item, index, e);
|
|
350
389
|
}, [isFloorMapView, mode, onItemClick, setSelectedId]);
|
|
390
|
+
|
|
391
|
+
/** 对外 ref:缩放/复位/套合视口/保存布局,见 {@link PisellFloorMapLayoutRef} */
|
|
351
392
|
useImperativeHandle(ref, function () {
|
|
352
393
|
return {
|
|
353
394
|
zoomIn: function zoomIn() {
|
|
@@ -492,7 +533,8 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
492
533
|
minWidth: 0,
|
|
493
534
|
overflow: 'hidden'
|
|
494
535
|
},
|
|
495
|
-
onClick: handleMapAreaBackgroundClick
|
|
536
|
+
onClick: handleMapAreaBackgroundClick
|
|
537
|
+
/* 编辑态:侧栏 palette 拖入时 enter/over 维持 drop 合法态,leave 出地图区则取消高亮 */,
|
|
496
538
|
onDragEnter: function onDragEnter(e) {
|
|
497
539
|
if (!isFloorMapView || mode !== 'edit') return;
|
|
498
540
|
if (!isFloorMapPaletteDrag(e.dataTransfer)) return;
|
|
@@ -661,6 +703,8 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
661
703
|
}))));
|
|
662
704
|
}))));
|
|
663
705
|
}
|
|
706
|
+
|
|
707
|
+
/** 空间布局根组件:阅读/编辑、列表与平面图双模式,ref 见 {@link PisellFloorMapLayoutRef} */
|
|
664
708
|
var PisellFloorMapLayout = /*#__PURE__*/React.forwardRef(PisellFloorMapLayoutInner);
|
|
665
709
|
export { PisellFloorMapLayout };
|
|
666
710
|
export default PisellFloorMapLayout;
|
|
@@ -587,18 +587,18 @@ export declare type FloorMapViewportOverlayRenderArgs<T extends FloorMapItemBase
|
|
|
587
587
|
mode: 'read' | 'edit';
|
|
588
588
|
};
|
|
589
589
|
/**
|
|
590
|
-
* PisellFloorMapLayout
|
|
591
|
-
*
|
|
590
|
+
* `PisellFloorMapLayout` 通过 ref 暴露的 imperative API。
|
|
591
|
+
* 缩放/复位委托内部 `react-zoom-pan-pinch`;`fitBounds` / `saveLayout` 依赖当前画布与编辑状态。
|
|
592
592
|
*/
|
|
593
593
|
export interface PisellFloorMapLayoutRef {
|
|
594
|
-
/**
|
|
594
|
+
/** 在允许范围内放大一级(与右下角「+」一致) */
|
|
595
595
|
zoomIn: () => void;
|
|
596
|
-
/**
|
|
596
|
+
/** 在允许范围内缩小一级(与右下角「−」一致) */
|
|
597
597
|
zoomOut: () => void;
|
|
598
|
-
/**
|
|
598
|
+
/** 重置 transform 为初始 scale 与 initialPosition(与「复位」控件一致) */
|
|
599
599
|
reset: () => void;
|
|
600
|
-
/**
|
|
600
|
+
/** 计算内容包盒并将视口平移/缩放至全部图元可见 */
|
|
601
601
|
fitBounds: () => void;
|
|
602
|
-
/**
|
|
602
|
+
/** 触发与顶栏/侧栏相同的保存流程(无 `onSave` 时内部可能为 no-op,由 hook 决定) */
|
|
603
603
|
saveLayout: () => void;
|
|
604
604
|
}
|
|
@@ -147,6 +147,6 @@ export var FLOOR_MAP_IMAGE_ELEMENT_KIND = 'floorMapImage';
|
|
|
147
147
|
*/
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
|
-
* PisellFloorMapLayout
|
|
151
|
-
*
|
|
150
|
+
* `PisellFloorMapLayout` 通过 ref 暴露的 imperative API。
|
|
151
|
+
* 缩放/复位委托内部 `react-zoom-pan-pinch`;`fitBounds` / `saveLayout` 依赖当前画布与编辑状态。
|
|
152
152
|
*/
|
|
@@ -44,7 +44,7 @@ interface PisellRecordBoardType extends React.FC<RecordBoardProps> {
|
|
|
44
44
|
}
|
|
45
45
|
declare const PisellRecordBoard: PisellRecordBoardType;
|
|
46
46
|
export default PisellRecordBoard;
|
|
47
|
-
export type { RecordBoardProps, RecordBoardLayoutType, RecordBoardContextValue, RecordBoardChildComponentProps, RecordBoardGridProps, RecordBoardColumnType, RecordBoardFieldType, RecordBoardColumnFilterConfig, RecordBoardOptionItem, RecordBoardGetOptions, RecordBoardBodyView, RecordBoardFloorMapProps, RecordBoardCalendarProps, RecordBoardCalendarBlockedTimePayload, RecordBoardCalendarResource, RecordBoardCalendarBookingLike, RecordBoardCalendarDayOverlayBooking, RecordBoardCalendarTimelineHeaderGroup, RecordBoardCalendarTimelineHeaderRenderContext, RecordBoardCalendarResourceRenderArgs, RecordBoardCalendarBookingRenderArgs, RecordBoardToolBarProps, RecordBoardResourceWallProps, RecordBoardResourceWallCardModel, RecordBoardResourceWallLayoutPersist, } from './types';
|
|
47
|
+
export type { RecordBoardProps, RecordBoardLayoutType, RecordBoardContextValue, RecordBoardChildComponentProps, RecordBoardGridProps, RecordBoardColumnType, RecordBoardFieldType, RecordBoardColumnFilterConfig, RecordBoardOptionItem, RecordBoardGetOptions, RecordBoardBodyView, RecordBoardFloorMapProps, RecordBoardCalendarProps, RecordBoardCalendarBlockedTimePayload, RecordBoardCalendarResource, RecordBoardCalendarBookingLike, RecordBoardCalendarDayOverlayBooking, RecordBoardCalendarTimelineHeaderGroup, RecordBoardCalendarTimelineHeaderRenderContext, RecordBoardCalendarResourceRenderArgs, RecordBoardCalendarBookingRenderArgs, RecordBoardBookingMoveDraft, RecordBoardBlockedTimeMergedRange, RecordBoardBlockedTimePanelPayload, RecordBoardCalendarSelectedFreeSlot, RecordBoardToolBarProps, RecordBoardResourceWallProps, RecordBoardResourceWallCardModel, RecordBoardResourceWallLayoutPersist, } from './types';
|
|
48
48
|
export { DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST } from './types';
|
|
49
49
|
export { useRecordBoardContext } from './hooks/useRecordBoardContext';
|
|
50
50
|
export { useRecordBoardShellBodyMeta } from './shellFrame';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { RecordBoardCalendarProps } from '../../types';
|
|
3
|
+
import './BookingCalendar.less';
|
|
4
|
+
/** 看板日历根组件:内含主题 CSS 与 Spin,按 `view` 挂载月 / 周 / 日子组件 */
|
|
5
|
+
export default function BookingCalendar(props?: RecordBoardCalendarProps): JSX.Element;
|