@baishuyun/ui-base 6.7.0 → 6.7.2
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/dist/Amap/AmapMarker/index.js +2 -2
- package/dist/Amap/AmapMarker-CMlzx_nj.js +153 -0
- package/dist/Amap/AmapMarkerCluster/index.js +2 -2
- package/dist/Amap/{AmapMarkerCluster-DvXchCC0.js → AmapMarkerCluster-MDUfcIqP.js} +27 -28
- package/dist/Amap/AmapProvider/index.js +1 -1
- package/dist/Amap/{AmapProvider-XCrqzo9W.js → AmapProvider-CGedZdvQ.js} +21 -21
- package/dist/Amap/index.js +4 -4
- package/dist/Amap/{useMarkerInfoWindowController-G-Bg-NDJ.js → useMarkerInfoWindowController-BvP2jo7K.js} +21 -21
- package/dist/Calendar/{AllDaySection-DOMayJvh.js → AllDaySection-Bd5Po_DI.js} +3 -3
- package/dist/Calendar/{Calendar-DSqL58yh.js → Calendar-Bs4S-6rW.js} +9 -9
- package/dist/Calendar/{EventCard-BGDwQ-c7.js → EventCard-CvEnWcKd.js} +2 -2
- package/dist/Calendar/context/index.js +1 -1
- package/dist/Calendar/index.js +13 -13
- package/dist/Calendar/subcomponents/AllDaySection/index.js +5 -5
- package/dist/Calendar/subcomponents/CurrentTimeIndicator/index.js +3 -3
- package/dist/Calendar/subcomponents/EventCard/index.js +4 -4
- package/dist/Calendar/subcomponents/TimeAxis/index.js +3 -3
- package/dist/Calendar/subcomponents/TimeGrid/index.js +1 -1
- package/dist/Calendar/{theme-qcYESlpU.js → theme-BRVmxhqD.js} +1 -1
- package/dist/Calendar/utils/index.js +3 -3
- package/dist/Calendar/utils/layout/index.js +2 -2
- package/dist/Calendar/utils/theme/index.js +1 -1
- package/dist/DatePicker/{DatePicker-DnH3zblC.js → DatePicker-C_ssCNGN.js} +3 -3
- package/dist/DatePicker/{DatePickerPanel-CQGrY4wT.js → DatePickerPanel-DNDw-H39.js} +2 -2
- package/dist/DatePicker/index.js +4 -4
- package/dist/DatePicker/style/index.js +1 -1
- package/dist/DropDown/{DropDown-D_Zh6fGX.js → DropDown-DYhDwsNm.js} +21 -21
- package/dist/DropDown/index.js +4 -3
- package/dist/DropDown/style/index.js +1 -1
- package/dist/Editor/{Buttons-De6NyZQs.js → Buttons-D1fP8aYo.js} +1 -1
- package/dist/Editor/ToolbarPlugin/Buttons/index.js +5 -4
- package/dist/Editor/index.js +5 -4
- package/dist/Gantt/GanttChart/index.js +10 -9
- package/dist/Gantt/{GanttChart-MwVs4NFd.js → GanttChart-VoKzDvu-.js} +6 -6
- package/dist/Gantt/GanttTable/index.js +8 -7
- package/dist/Gantt/{GanttTable-DoDMELyN.js → GanttTable-l-pMVjWe.js} +5 -5
- package/dist/Gantt/GanttToolBar/index.js +7 -6
- package/dist/Gantt/{GanttToolBar-BAAQMT0x.js → GanttToolBar-Bm_4cVHF.js} +2 -2
- package/dist/Gantt/{collapseKeys-VeqoqKwC.js → collapseKeys-_ShTXPKt.js} +2 -2
- package/dist/Gantt/index.js +17 -16
- package/dist/Gantt/{timelineViewConfig-C1T1exJd.js → timelineViewConfig-CLIpppp0.js} +1 -1
- package/dist/Gantt/utils/index.js +5 -5
- package/dist/Gantt/utils/theme/index.js +1 -1
- package/dist/InputTag/{InputTag-C4iRY5Mw.js → InputTag-25vFChWE.js} +7 -7
- package/dist/InputTag/index.js +3 -2
- package/dist/Loading/index.js +1 -1
- package/dist/ScrollBar/{ScrollBar-C4-PtPBc.js → ScrollBar-CnwYQfXM.js} +0 -1
- package/dist/ScrollBar/index.js +2 -1
- package/dist/ScrollBar/style-B1NkMGtS.js +1 -0
- package/dist/Select/{Select-CAoozrW7.js → Select-CwABtVnS.js} +82 -82
- package/dist/Select/index.js +4 -3
- package/dist/Table/{Table-BZspRsYV.js → Table-ByNcMkaT.js} +4 -4
- package/dist/Table/hooks/index.js +1 -1
- package/dist/Table/{hooks-5ETrGbzY.js → hooks-uCDY9dqx.js} +1 -1
- package/dist/Table/index.js +6 -5
- package/dist/Table/{processRowspan-CSW5J9Rs.js → processRowspan-nIGqGyHh.js} +1 -1
- package/dist/Table/style/index.js +1 -1
- package/dist/Table/utils/index.js +1 -1
- package/dist/Tabs/{Tabs-sag2ofoG.js → Tabs-ZRWBbBdF.js} +1 -1
- package/dist/Tabs/index.js +2 -2
- package/dist/components/Amap/Amap.d.ts +1 -1
- package/dist/components/Amap/AmapMarkerCluster/utils.d.ts +0 -1
- package/dist/components/Amap/AmapProvider/AmapProvider.d.ts +1 -1
- package/dist/components/Amap/utils/constants.d.ts +2 -0
- package/dist/components/Calendar/Calendar.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/AllDaySection/AllDaySection.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/CalendarHeader/CalendarHeader.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/CalendarHeaderLeft/CalendarHeaderLeft.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/CurrentTimeIndicator/CurrentTimeIndicator.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/DateDisplay/DateDisplay.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/DayView/DayView.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/MonthCell/MonthCell.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/MonthCell/MonthCellPopover/MonthCellPopover.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/MonthHeader/MonthHeader.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/MonthView/MonthView.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/NavButton/NavButton.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/TimeAxis/TimeAxis.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/TimeGrid/TimeGrid.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/TodayButton/TodayButton.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/WeekAllDaySection/WeekAllDaySection.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/WeekEventLayer/MoreButton.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/WeekEventLayer/WeekEventLayer.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/WeekHeader/WeekHeader.d.ts +1 -1
- package/dist/components/Calendar/subcomponents/WeekView/WeekView.d.ts +1 -1
- package/dist/components/CheckBox/CheckboxIcon.d.ts +1 -1
- package/dist/components/Gantt/Gantt.d.ts +1 -1
- package/dist/components/Gantt/GanttChart/GanttBarTooltip/GanttBarTooltip.d.ts +2 -1
- package/dist/components/Gantt/GanttChart/GanttChart.d.ts +2 -2
- package/dist/components/Gantt/GanttChart/GanttSummaryBar/GanttSummaryBar.d.ts +1 -1
- package/dist/components/Gantt/GanttChart/GanttTaskBar/GanttTaskBar.d.ts +1 -1
- package/dist/components/Gantt/GanttChart/GanttTimelineHeader/GanttTimelineHeader.d.ts +1 -1
- package/dist/components/Gantt/GanttChart/GanttTimelineHeader/HeaderStickyTopLabel.d.ts +1 -1
- package/dist/components/Gantt/GanttChart/OffscreenTaskIndicators/OffscreenTaskIndicators.d.ts +1 -1
- package/dist/components/Gantt/GanttChart/TodayIndicator/TodayIndicator.d.ts +2 -1
- package/dist/components/Gantt/GanttChart/hooks/useGanttRowVirtualScroll.d.ts +1 -1
- package/dist/components/Gantt/GanttChart/utils/buildSummaryBarTooltipContent.d.ts +2 -1
- package/dist/components/Gantt/GanttResizeIndicator.d.ts +2 -1
- package/dist/components/Gantt/GanttTable/GanttTable.d.ts +2 -1
- package/dist/components/Gantt/GanttToolBar/GanttToolBar.d.ts +2 -1
- package/dist/components/Gantt/internal/GanttLayout.d.ts +1 -1
- package/dist/components/Loading/Loading.d.ts +1 -1
- package/dist/components/ScrollBar/style.d.ts +0 -0
- package/dist/components/Segmented/Segmented.d.ts +1 -1
- package/dist/components/Table/components/HeaderCell.d.ts +1 -1
- package/dist/components/Table/components/TableBody.d.ts +1 -1
- package/dist/components/Table/components/TableFooter.d.ts +1 -1
- package/dist/components/Table/hooks/useTableVirtual.d.ts +5 -4
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tree/Tree.d.ts +1 -1
- package/dist/components/Tree/TreeNode/TreeNode.d.ts +2 -1
- package/dist/index.js +43 -42
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/Amap/AmapMarker-CB66dQIG.js +0 -152
- /package/dist/Calendar/{CurrentTimeIndicator-CgDrVXin.js → CurrentTimeIndicator-twXtFHIp.js} +0 -0
- /package/dist/Calendar/{TimeAxis-f40447Et.js → TimeAxis-D7bgZDKs.js} +0 -0
- /package/dist/Calendar/{TimeGrid-KeZ4RsDq.js → TimeGrid-DPtU6Qvo.js} +0 -0
- /package/dist/Calendar/{colorUtils-Be9RqvDV.js → colorUtils-lXNjGoCk.js} +0 -0
- /package/dist/Calendar/{context-BrzVkPeC.js → context-CBJnz0IH.js} +0 -0
- /package/dist/Calendar/{layout-rnPhDP7c.js → layout-BglMom3m.js} +0 -0
- /package/dist/DatePicker/{ensureDayjsPlugins-Bz70Nzmi.js → ensureDayjsPlugins-CVL-fnAl.js} +0 -0
- /package/dist/DatePicker/{pickerLocale-g90uglxB.js → pickerLocale-BeMlfhKu.js} +0 -0
- /package/dist/DatePicker/{style-BlAisgTN.js → style-BwmM26RP.js} +0 -0
- /package/dist/DropDown/{style-WiojFVQn.js → style-BSgosymi.js} +0 -0
- /package/dist/Gantt/{GanttHighlightContext-CMXYFPyz.js → GanttHighlightContext-grda5bhd.js} +0 -0
- /package/dist/Gantt/{columnResize-1nSds2g5.js → columnResize-DV1tSBx_.js} +0 -0
- /package/dist/Gantt/{constants-BSCH_s3S.js → constants-BObDP0h6.js} +0 -0
- /package/dist/Gantt/{highlightTarget-EEsL61Qd.js → highlightTarget-DrP0_NrM.js} +0 -0
- /package/dist/Gantt/{theme-DLS8mdri.js → theme-CiMD9Y6i.js} +0 -0
- /package/dist/Loading/{Loading-CV5GuhWQ.js → Loading--cdn92gm.js} +0 -0
- /package/dist/Table/{constants-BZfNf-UU.js → constants-CcwjDbe7.js} +0 -0
- /package/dist/Table/{style-qi0sTT0x.js → style-x9xfw6te.js} +0 -0
- /package/dist/vendors/{useFloatingPortal-CsNiNirJ.js → useFloatingPortal-C8V67X0v.js} +0 -0
|
@@ -7,5 +7,5 @@ interface TimeGridProps {
|
|
|
7
7
|
zoomConfig: ZoomConfig;
|
|
8
8
|
rowAction?: TimeGridRowAction;
|
|
9
9
|
}
|
|
10
|
-
declare const TimeGrid: ({ zoomConfig, rowAction }: TimeGridProps) => import("react
|
|
10
|
+
declare const TimeGrid: ({ zoomConfig, rowAction }: TimeGridProps) => import("react").JSX.Element;
|
|
11
11
|
export default TimeGrid;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const TodayButton: () => import("react
|
|
1
|
+
declare const TodayButton: () => import("react").JSX.Element;
|
|
2
2
|
export default TodayButton;
|
|
@@ -7,5 +7,5 @@ interface WeekAllDaySectionProps {
|
|
|
7
7
|
isGloballyExpanded: boolean;
|
|
8
8
|
onExpandChange?: (expanded: boolean) => void;
|
|
9
9
|
}
|
|
10
|
-
declare const WeekAllDaySection: ({ events, onClick, weekStart, isGloballyExpanded, onExpandChange, }: WeekAllDaySectionProps) => import("react
|
|
10
|
+
declare const WeekAllDaySection: ({ events, onClick, weekStart, isGloballyExpanded, onExpandChange, }: WeekAllDaySectionProps) => import("react").JSX.Element | null;
|
|
11
11
|
export default WeekAllDaySection;
|
|
@@ -7,5 +7,5 @@ interface MoreButtonProps {
|
|
|
7
7
|
cellEvents: NormalizedCalendarDataItem[];
|
|
8
8
|
onEventClick?: (event: NormalizedCalendarDataItem, index?: number) => void;
|
|
9
9
|
}
|
|
10
|
-
declare const MoreButton: ({ dayIndex, date, hiddenCount, cellEvents, onEventClick }: MoreButtonProps) => import("react
|
|
10
|
+
declare const MoreButton: ({ dayIndex, date, hiddenCount, cellEvents, onEventClick }: MoreButtonProps) => import("react").JSX.Element;
|
|
11
11
|
export default MoreButton;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { WeekEventLayerProps } from '../../types.internal';
|
|
2
|
-
declare const WeekEventLayer: ({ weekSegments, hiddenScheduleIds, maxVisibleRows, onEventClick, weekDates, dayEventsByWeek, }: WeekEventLayerProps) => import("react
|
|
2
|
+
declare const WeekEventLayer: ({ weekSegments, hiddenScheduleIds, maxVisibleRows, onEventClick, weekDates, dayEventsByWeek, }: WeekEventLayerProps) => import("react").JSX.Element;
|
|
3
3
|
export default WeekEventLayer;
|
|
@@ -2,5 +2,5 @@ import { Dayjs } from 'dayjs';
|
|
|
2
2
|
interface WeekHeaderProps {
|
|
3
3
|
weekStart: Dayjs;
|
|
4
4
|
}
|
|
5
|
-
declare const WeekHeader: ({ weekStart }: WeekHeaderProps) => import("react
|
|
5
|
+
declare const WeekHeader: ({ weekStart }: WeekHeaderProps) => import("react").JSX.Element;
|
|
6
6
|
export default WeekHeader;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CalendarCoreViewProps } from '../../types.internal';
|
|
2
|
-
declare const WeekView: ({ events }: CalendarCoreViewProps) => import("react
|
|
2
|
+
declare const WeekView: ({ events }: CalendarCoreViewProps) => import("react").JSX.Element;
|
|
3
3
|
export default WeekView;
|
|
@@ -2,5 +2,5 @@ declare const CheckboxIcon: ({ isChecked, indeterminate, disabled }: {
|
|
|
2
2
|
isChecked?: boolean | undefined;
|
|
3
3
|
indeterminate?: boolean | undefined;
|
|
4
4
|
disabled?: boolean | undefined;
|
|
5
|
-
}) => import("react
|
|
5
|
+
}) => import("react").JSX.Element;
|
|
6
6
|
export default CheckboxIcon;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ForwardedRef, Ref } from 'react';
|
|
2
2
|
import { GanttDataItem, GanttProps } from './interface';
|
|
3
|
-
declare function GanttInner<T extends GanttDataItem>({ data, columns, mode, availableModes, onModeChange, id, onRowClick, onTaskTimeChange, tooltip, className, style, tableData, renderTable, collapsedKeys, onToggleCollapse, emptyOverlay, theme, }: GanttProps<T>, ref: ForwardedRef<HTMLDivElement>): import("react
|
|
3
|
+
declare function GanttInner<T extends GanttDataItem>({ data, columns, mode, availableModes, onModeChange, id, onRowClick, onTaskTimeChange, tooltip, className, style, tableData, renderTable, collapsedKeys, onToggleCollapse, emptyOverlay, theme, }: GanttProps<T>, ref: ForwardedRef<HTMLDivElement>): import("react").JSX.Element;
|
|
4
4
|
/**
|
|
5
5
|
* 保住 GanttProps<T> 泛型推导:React.forwardRef 默认会擦除组件级泛型。
|
|
6
6
|
* 消费方传入 MyTask[] 时,onRowClick / tooltip / columns.render 的 item 应为 MyTask。
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { GanttBarTooltipProps } from '../../types.internal';
|
|
2
|
-
declare const GanttBarTooltip: ({ item, tooltip, disabled, children }: GanttBarTooltipProps) =>
|
|
3
|
+
declare const GanttBarTooltip: ({ item, tooltip, disabled, children }: GanttBarTooltipProps) => React.JSX.Element;
|
|
3
4
|
export default GanttBarTooltip;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ForwardedRef, Ref } from 'react';
|
|
1
|
+
import { default as React, ForwardedRef, Ref } from 'react';
|
|
2
2
|
import { GanttDataItem } from '../interface';
|
|
3
3
|
import { GanttChartHandle, GanttChartProps } from '../types.internal';
|
|
4
|
-
declare function GanttChartInner<T extends GanttDataItem>({ items, viewMode, availableModes, onViewModeChange, timeRangeConfig, pixelsPerDayConfig, onTaskTimeChange, onRowClick, tooltip, verticalScrollController, showWeekendHighlight, showTodayLine, collapsedKeys, onToggleCollapse, }: GanttChartProps<T>, ref: ForwardedRef<GanttChartHandle>):
|
|
4
|
+
declare function GanttChartInner<T extends GanttDataItem>({ items, viewMode, availableModes, onViewModeChange, timeRangeConfig, pixelsPerDayConfig, onTaskTimeChange, onRowClick, tooltip, verticalScrollController, showWeekendHighlight, showTodayLine, collapsedKeys, onToggleCollapse, }: GanttChartProps<T>, ref: ForwardedRef<GanttChartHandle>): React.JSX.Element;
|
|
5
5
|
declare const GanttChart: <T extends GanttDataItem = GanttDataItem>(props: GanttChartProps<T> & {
|
|
6
6
|
ref?: Ref<GanttChartHandle>;
|
|
7
7
|
}) => ReturnType<typeof GanttChartInner>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { GanttSummaryBarProps } from '../../types.internal';
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({ item, barTop }: GanttSummaryBarProps) =>
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ item, barTop }: GanttSummaryBarProps) => React.JSX.Element | null>;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { GanttTaskBarProps } from '../../types.internal';
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({ item, barTop, dragTaskId, dragPreview, dragPermission, }: GanttTaskBarProps) =>
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ item, barTop, dragTaskId, dragPreview, dragPermission, }: GanttTaskBarProps) => React.JSX.Element | null>;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { GanttTimelineHeaderProps } from '../../types.internal';
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({ timelineWidth, viewportWidth, scrollLeft, trackRef, virtualColumns, lowerSegments, todayLineLeft, todayCenterMs, showTodayLine, viewMode, availableModes, formatMessage, onViewModeChange, onTodayClick, onScrollPrev, onScrollNext, }: GanttTimelineHeaderProps) =>
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ timelineWidth, viewportWidth, scrollLeft, trackRef, virtualColumns, lowerSegments, todayLineLeft, todayCenterMs, showTodayLine, viewMode, availableModes, formatMessage, onViewModeChange, onTodayClick, onScrollPrev, onScrollNext, }: GanttTimelineHeaderProps) => React.JSX.Element>;
|
|
4
4
|
export default _default;
|
|
@@ -5,5 +5,5 @@ export type HeaderStickyTopLabelProps = {
|
|
|
5
5
|
/** 当前段是否为左侧阅读锚点(已吸附) */
|
|
6
6
|
isReadingAnchor: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare const _default: React.MemoExoticComponent<({ label, dateLabel, isReadingAnchor }: HeaderStickyTopLabelProps) =>
|
|
8
|
+
declare const _default: React.MemoExoticComponent<({ label, dateLabel, isReadingAnchor }: HeaderStickyTopLabelProps) => React.JSX.Element>;
|
|
9
9
|
export default _default;
|
package/dist/components/Gantt/GanttChart/OffscreenTaskIndicators/OffscreenTaskIndicators.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { OffscreenTaskIndicatorsProps } from '../../types.internal';
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({ indicators, onJump }: OffscreenTaskIndicatorsProps) =>
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ indicators, onJump }: OffscreenTaskIndicatorsProps) => React.JSX.Element | null>;
|
|
4
4
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { TodayIndicatorProps } from '../../types.internal';
|
|
2
|
-
declare const TodayIndicator: ({ left, height, className }: TodayIndicatorProps) =>
|
|
3
|
+
declare const TodayIndicator: ({ left, height, className }: TodayIndicatorProps) => React.JSX.Element;
|
|
3
4
|
export default TodayIndicator;
|
|
@@ -6,7 +6,7 @@ export declare function useGanttRowVirtualScroll({ items, contentRef, safeRowHei
|
|
|
6
6
|
viewportHeight: number;
|
|
7
7
|
overscan?: number;
|
|
8
8
|
}): {
|
|
9
|
-
virtualRows:
|
|
9
|
+
virtualRows: import('@tanstack/react-virtual').VirtualItem[];
|
|
10
10
|
canvasHeight: number;
|
|
11
11
|
isScrolling: boolean;
|
|
12
12
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { GanttFormatMessage } from '../../types.internal';
|
|
2
3
|
export declare function buildSummaryBarTooltipContent(item: {
|
|
3
4
|
rawStartMs?: number | null;
|
|
4
5
|
rawEndMs?: number | null;
|
|
5
6
|
progress?: number | null;
|
|
6
|
-
}, formatMessage: GanttFormatMessage):
|
|
7
|
+
}, formatMessage: GanttFormatMessage): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { GanttResizeIndicatorProps } from './types.internal';
|
|
2
|
-
declare const GanttResizeIndicator: ({ tableWidth, onWidthChange, onResizeEnd, containerRef, }: GanttResizeIndicatorProps) =>
|
|
3
|
+
declare const GanttResizeIndicator: ({ tableWidth, onWidthChange, onResizeEnd, containerRef, }: GanttResizeIndicatorProps) => React.JSX.Element;
|
|
3
4
|
export default GanttResizeIndicator;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { GanttDataItem } from '../interface';
|
|
2
3
|
import { GanttTableProps } from '../types.internal';
|
|
3
4
|
declare const GanttTable: {
|
|
4
|
-
<T extends GanttDataItem = GanttDataItem>({ data, columns, onRowClick, rowHeight, tableTheme, }: GanttTableProps<T>):
|
|
5
|
+
<T extends GanttDataItem = GanttDataItem>({ data, columns, onRowClick, rowHeight, tableTheme, }: GanttTableProps<T>): React.JSX.Element;
|
|
5
6
|
displayName: string;
|
|
6
7
|
};
|
|
7
8
|
export default GanttTable;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { GanttToolBarProps } from '../types.internal';
|
|
2
|
-
declare const GanttToolBar: ({ viewMode, availableModes, onViewModeChange, onTodayClick, onScrollPrev, onScrollNext, className, }: GanttToolBarProps) =>
|
|
3
|
+
declare const GanttToolBar: ({ viewMode, availableModes, onViewModeChange, onTodayClick, onScrollPrev, onScrollNext, className, }: GanttToolBarProps) => React.JSX.Element;
|
|
3
4
|
export default GanttToolBar;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ForwardedRef, Ref } from 'react';
|
|
2
2
|
import { GanttDataItem } from '../interface';
|
|
3
3
|
import { GanttLayoutProps } from '../types.internal';
|
|
4
|
-
declare function GanttLayoutInner<T extends GanttDataItem>({ data, tableData, columns, mode: modeProp, availableModes, onModeChange, id, onRowClick, onTaskTimeChange, tooltip, className, style, renderTable, collapsedKeys, onToggleCollapse, emptyOverlay, theme, }: GanttLayoutProps<T>, ref: ForwardedRef<HTMLDivElement>): import("react
|
|
4
|
+
declare function GanttLayoutInner<T extends GanttDataItem>({ data, tableData, columns, mode: modeProp, availableModes, onModeChange, id, onRowClick, onTaskTimeChange, tooltip, className, style, renderTable, collapsedKeys, onToggleCollapse, emptyOverlay, theme, }: GanttLayoutProps<T>, ref: ForwardedRef<HTMLDivElement>): import("react").JSX.Element;
|
|
5
5
|
declare const GanttLayout: <T extends GanttDataItem = GanttDataItem>(props: GanttLayoutProps<T> & {
|
|
6
6
|
ref?: Ref<HTMLDivElement>;
|
|
7
7
|
}) => ReturnType<typeof GanttLayoutInner>;
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SegmentedProps } from './Segmented.type';
|
|
2
2
|
declare const Segmented: {
|
|
3
|
-
<T extends React.Key = string | number>(props: SegmentedProps<T>): import("react
|
|
3
|
+
<T extends React.Key = string | number>(props: SegmentedProps<T>): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default Segmented;
|
|
@@ -12,5 +12,5 @@ export interface HeaderCellProps {
|
|
|
12
12
|
colSpan?: number;
|
|
13
13
|
rowSpan?: number;
|
|
14
14
|
}
|
|
15
|
-
declare const HeaderCell: import('react').MemoExoticComponent<({ column, style, className, onResizeStart, isResizing, resizable, colSpan, rowSpan, }: HeaderCellProps) => import("react
|
|
15
|
+
declare const HeaderCell: import('react').MemoExoticComponent<({ column, style, className, onResizeStart, isResizing, resizable, colSpan, rowSpan, }: HeaderCellProps) => import("react").JSX.Element>;
|
|
16
16
|
export default HeaderCell;
|
|
@@ -39,7 +39,7 @@ export interface TableBodyProps {
|
|
|
39
39
|
forceRowHeight?: boolean;
|
|
40
40
|
}
|
|
41
41
|
declare const _default: import('react').MemoExoticComponent<{
|
|
42
|
-
({ leftFixedColumns, normalColumns, rightFixedColumns, dataSource, rowKey, rowHeight, emptyText, onRowClick, onRow, onCell, totalColumnsWidth, needSpacer, rowRefCallback, isDynamicHeight, emptyRowContent, showEmptyRow, startVirtualIndex, hideWhenEmpty, wrapperClassName, forceRowHeight, }: TableBodyProps): import("react
|
|
42
|
+
({ leftFixedColumns, normalColumns, rightFixedColumns, dataSource, rowKey, rowHeight, emptyText, onRowClick, onRow, onCell, totalColumnsWidth, needSpacer, rowRefCallback, isDynamicHeight, emptyRowContent, showEmptyRow, startVirtualIndex, hideWhenEmpty, wrapperClassName, forceRowHeight, }: TableBodyProps): import("react").JSX.Element | null;
|
|
43
43
|
displayName: string;
|
|
44
44
|
}>;
|
|
45
45
|
export default _default;
|
|
@@ -12,7 +12,7 @@ export interface TableFooterProps {
|
|
|
12
12
|
needSpacer?: boolean;
|
|
13
13
|
}
|
|
14
14
|
declare const _default: import('react').MemoExoticComponent<{
|
|
15
|
-
({ leftFixedColumns, normalColumns, rightFixedColumns, footerData, summary, render, enableFixed, totalColumnsWidth, needSpacer, }: TableFooterProps): import("react
|
|
15
|
+
({ leftFixedColumns, normalColumns, rightFixedColumns, footerData, summary, render, enableFixed, totalColumnsWidth, needSpacer, }: TableFooterProps): import("react").JSX.Element;
|
|
16
16
|
displayName: string;
|
|
17
17
|
}>;
|
|
18
18
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { VirtualItem } from '@tanstack/react-virtual';
|
|
1
2
|
export interface UseTableVirtualOptions {
|
|
2
3
|
rowHeight?: number | string | ((index: number) => number);
|
|
3
4
|
enabled?: boolean;
|
|
@@ -8,10 +9,10 @@ export interface UseTableVirtualOptions {
|
|
|
8
9
|
}
|
|
9
10
|
export declare function useTableVirtual(rows: Record<string, unknown>[], options: UseTableVirtualOptions, containerRef: React.RefObject<HTMLElement | null>): {
|
|
10
11
|
enabled: boolean;
|
|
11
|
-
virtualRows:
|
|
12
|
-
rowRefCallback:
|
|
13
|
-
totalHeight:
|
|
14
|
-
paddingTop:
|
|
12
|
+
virtualRows: VirtualItem[];
|
|
13
|
+
rowRefCallback: (node: Element | null) => void;
|
|
14
|
+
totalHeight: number;
|
|
15
|
+
paddingTop: number;
|
|
15
16
|
paddingBottom: number;
|
|
16
17
|
remeasure: (this: unknown) => void;
|
|
17
18
|
clearRowHeightCache: (this: unknown, rowIds?: string | number | (string | number)[] | undefined) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TooltipProps } from './Tooltip.type';
|
|
2
2
|
declare const Tooltip: {
|
|
3
|
-
({ content, children, ...rest }: TooltipProps): import("react
|
|
3
|
+
({ content, children, ...rest }: TooltipProps): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default Tooltip;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { TreeNodeDefine } from '../types/node';
|
|
2
3
|
type BsyTreeNodeProps = {
|
|
3
4
|
/**
|
|
@@ -17,5 +18,5 @@ type BsyTreeNodeProps = {
|
|
|
17
18
|
children: string;
|
|
18
19
|
};
|
|
19
20
|
};
|
|
20
|
-
declare const BsyTreeNode: ({ node, level, fieldNames }: BsyTreeNodeProps) =>
|
|
21
|
+
declare const BsyTreeNode: ({ node, level, fieldNames }: BsyTreeNodeProps) => React.JSX.Element;
|
|
21
22
|
export default BsyTreeNode;
|
package/dist/index.js
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { t } from "./Icon/Icon-SQ5tu-yG.js";
|
|
1
|
+
import "./ScrollBar/style-B1NkMGtS.js";
|
|
2
|
+
import { t as e } from "./Icon/Icon-SQ5tu-yG.js";
|
|
3
3
|
import "./vendors/LocaleContext-CBcJzvUD.js";
|
|
4
|
-
import { r as
|
|
4
|
+
import { r as t, t as n } from "./vendors/ConfigProvider-AQTr7T_c.js";
|
|
5
5
|
import "./Amap/AmapContext-CFmsMycg.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { n as
|
|
9
|
-
import { t as
|
|
10
|
-
import "./Amap/useMarkerInfoWindowController-
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
6
|
+
import { t as r } from "./Amap/AmapProvider-CGedZdvQ.js";
|
|
7
|
+
import { t as i } from "./Amap/Amap-Dnvu_pUP.js";
|
|
8
|
+
import { n as a, t as o } from "./Amap/hooks-DwRvpafb.js";
|
|
9
|
+
import { t as s } from "./Amap/AmapCircle-Wfn43qco.js";
|
|
10
|
+
import "./Amap/useMarkerInfoWindowController-BvP2jo7K.js";
|
|
11
|
+
import { t as c } from "./Amap/AmapMarker-CMlzx_nj.js";
|
|
12
|
+
import { t as l } from "./Amap/AmapMarkerCluster-MDUfcIqP.js";
|
|
13
|
+
import { t as u } from "./Card/Card-BjWdQRjq.js";
|
|
14
|
+
import { t as d } from "./Modal/Modal-GGHNlZv3.js";
|
|
15
|
+
import { t as f } from "./ColorPicker/ColorPicker-Hjs4Vp5a.js";
|
|
16
16
|
import "./vendors/useFloatingOverlay-WbbHmuT-.js";
|
|
17
17
|
import "./vendors/useLocale-DZ8XW2VL.js";
|
|
18
18
|
import "./vendors/color-BQYy0Wgy.js";
|
|
19
19
|
import "./vendors/useLatchedPopupPortalRoot-hwf14FJ5.js";
|
|
20
|
-
import { t as
|
|
21
|
-
import { n as
|
|
22
|
-
import { t as
|
|
20
|
+
import { t as p } from "./Segmented/Segmented-Ck2ZmfF7.js";
|
|
21
|
+
import { n as m, t as h } from "./Tooltip/Tooltip-DWWWYn1a.js";
|
|
22
|
+
import { t as g } from "./Select/Select-CwABtVnS.js";
|
|
23
23
|
import "./Select/SelectInputSearch-dfBUnTCY.js";
|
|
24
|
-
import { t as
|
|
24
|
+
import { t as _ } from "./vendors/Tree-DMC_MSw1.js";
|
|
25
25
|
import "./CheckBox/CheckBox-D7bCjlkU.js";
|
|
26
|
-
import { t as
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import "./
|
|
26
|
+
import { t as v } from "./CheckBox/CheckBox-GtT43IQ8.js";
|
|
27
|
+
import { t as y } from "./Radio/Radio-CMAwZdP7.js";
|
|
28
|
+
import { t as b } from "./NotFoundContent/NotFoundContent-J-TEnljc.js";
|
|
29
|
+
import { t as x } from "./ScrollBar/ScrollBar-CnwYQfXM.js";
|
|
30
|
+
import "./vendors/useFloatingPortal-C8V67X0v.js";
|
|
30
31
|
import "./Tree/index.js";
|
|
31
|
-
import { n as S, t as C } from "./Tabs/Tabs-
|
|
32
|
-
import { t as w } from "./DropDown/DropDown-
|
|
33
|
-
import { t as T } from "./Loading/Loading
|
|
32
|
+
import { n as S, t as C } from "./Tabs/Tabs-ZRWBbBdF.js";
|
|
33
|
+
import { t as w } from "./DropDown/DropDown-DYhDwsNm.js";
|
|
34
|
+
import { t as T } from "./Loading/Loading--cdn92gm.js";
|
|
34
35
|
import "./NotFoundContent/index.js";
|
|
35
|
-
import { t as E } from "./InputTag/InputTag-
|
|
36
|
-
import "./Calendar/context-
|
|
37
|
-
import { t as D } from "./Calendar/Calendar-
|
|
38
|
-
import { t as O } from "./DatePicker/DatePicker-
|
|
39
|
-
import "./DatePicker/ensureDayjsPlugins-
|
|
40
|
-
import "./DatePicker/pickerLocale-
|
|
41
|
-
import "./DatePicker/style-
|
|
42
|
-
import "./Calendar/layout-
|
|
43
|
-
import "./Calendar/TimeAxis-
|
|
44
|
-
import "./Calendar/TimeGrid-
|
|
45
|
-
import "./Calendar/CurrentTimeIndicator-
|
|
46
|
-
import "./Calendar/EventCard-
|
|
47
|
-
import "./Calendar/AllDaySection-
|
|
48
|
-
import { a as k, c as A, d as j, f as M, n as N, o as P, r as F, t as I, u as L } from "./Table/processRowspan-
|
|
49
|
-
import { t as R } from "./Table/Table-
|
|
50
|
-
import { n as z, t as B } from "./Table/hooks-
|
|
51
|
-
import { t as V } from "./Table/style-
|
|
36
|
+
import { t as E } from "./InputTag/InputTag-25vFChWE.js";
|
|
37
|
+
import "./Calendar/context-CBJnz0IH.js";
|
|
38
|
+
import { t as D } from "./Calendar/Calendar-Bs4S-6rW.js";
|
|
39
|
+
import { t as O } from "./DatePicker/DatePicker-C_ssCNGN.js";
|
|
40
|
+
import "./DatePicker/ensureDayjsPlugins-CVL-fnAl.js";
|
|
41
|
+
import "./DatePicker/pickerLocale-BeMlfhKu.js";
|
|
42
|
+
import "./DatePicker/style-BwmM26RP.js";
|
|
43
|
+
import "./Calendar/layout-BglMom3m.js";
|
|
44
|
+
import "./Calendar/TimeAxis-D7bgZDKs.js";
|
|
45
|
+
import "./Calendar/TimeGrid-DPtU6Qvo.js";
|
|
46
|
+
import "./Calendar/CurrentTimeIndicator-twXtFHIp.js";
|
|
47
|
+
import "./Calendar/EventCard-CvEnWcKd.js";
|
|
48
|
+
import "./Calendar/AllDaySection-Bd5Po_DI.js";
|
|
49
|
+
import { a as k, c as A, d as j, f as M, n as N, o as P, r as F, t as I, u as L } from "./Table/processRowspan-nIGqGyHh.js";
|
|
50
|
+
import { t as R } from "./Table/Table-ByNcMkaT.js";
|
|
51
|
+
import { n as z, t as B } from "./Table/hooks-uCDY9dqx.js";
|
|
52
|
+
import { t as V } from "./Table/style-x9xfw6te.js";
|
|
52
53
|
import "overlayscrollbars/overlayscrollbars.css";
|
|
53
|
-
export {
|
|
54
|
+
export { i as Amap, s as AmapCircle, c as AmapMarker, l as AmapMarkerCluster, r as AmapProvider, D as Calendar, u as Card, v as Checkbox, f as ColorPicker, n as ConfigProvider, O as DatePicker, w as DropDown, e as Icon, E as InputTag, T as Loading, t as LocalTheme, d as Modal, b as NotFoundContent, y as Ratio, x as ScrollBar, p as Segmented, g as Select, C as TabSelect, R as Table, S as Tabs, h as Tooltip, m as TooltipFloatingContext, _ as Tree, k as calculateFixedOffset, P as expandLeafColumns, I as getCellRowspan, A as getColumnsWidth, L as getRowKey, N as processRowspan, V as resolveTableThemeVars, F as shouldRenderCell, j as sortData, M as splitFixedColumns, a as useAmap, B as useColumnResize, o as useCurrentLocation, z as useTableVirtual };
|