@cloudtower/eagle 0.27.22 → 0.27.24

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.
@@ -5,7 +5,6 @@ import { AutoCompleteProps } from "antd/lib/auto-complete";
5
5
  import { BadgeProps } from "antd/lib/badge";
6
6
  import { ButtonProps as AntdButtonProps, ButtonType } from "antd/lib/button";
7
7
  import { CalendarProps } from "antd/lib/calendar/generateCalendar";
8
- import { CascaderProps } from "antd5/lib/cascader";
9
8
  import { CheckboxGroupProps, CheckboxProps } from "antd/lib/checkbox";
10
9
  import { ColProps } from "antd/lib/col";
11
10
  import { CollapsePanelProps, CollapseProps } from "antd/lib/collapse";
@@ -48,6 +47,7 @@ import { TreeProps as AntdTreeProps } from "antd/lib/tree";
48
47
  import type TreeSelect from "antd/lib/tree-select";
49
48
  import { TextProps } from "antd/lib/typography/Text";
50
49
  import { DraggerProps, UploadProps } from "antd/lib/upload";
50
+ import { CascaderProps } from "antd5/lib/cascader";
51
51
  import type { Dayjs } from "dayjs";
52
52
  import type { History } from "history";
53
53
  import type { Moment } from "moment";
@@ -60,6 +60,7 @@ import { TableFormHandle, TableFormProps } from "../components/TableForm/types";
60
60
  import { TruncatePropTypes } from "../components/Truncate";
61
61
  import type { CloseButtonProps } from "../core/AccordionCard";
62
62
  import { IChartWithUnitProps, ICWTProps } from "../coreX/ChartWithTooltip";
63
+ import { DateRangePickerProps } from "../coreX/DateRangePicker/common";
63
64
  import { IDonutChartProps } from "../coreX/DonutChart";
64
65
  import { IUnitWithChartProps } from "../coreX/UnitWithChart";
65
66
  import { SerializableObject } from "../utils/tower";
@@ -358,6 +359,7 @@ export type StepProps = {
358
359
  onClick?: React.MouseEventHandler<HTMLElement>;
359
360
  title: string;
360
361
  style?: React.CSSProperties;
362
+ disabled?: boolean;
361
363
  };
362
364
  export type IStepsProps = {
363
365
  className?: string;
@@ -548,6 +550,7 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
548
550
  Link: LinkComponentType;
549
551
  DropdownMenu: React.FC<IDropdownMenuProps>;
550
552
  BatchOperation: React.FC<IBatchOperation>;
553
+ DateRangePicker: React.FC<DateRangePickerProps>;
551
554
  }
552
555
  export type ArchComponentType = React.FC<{
553
556
  architecture?: Architecture;
@@ -136,4 +136,9 @@ export interface IBatchOperation {
136
136
  onClearSelection: () => void;
137
137
  actions: Action[];
138
138
  }
139
+ export type PastTime = {
140
+ unit: "h" | "m" | "d";
141
+ value: number;
142
+ disabled?: boolean;
143
+ };
139
144
  export {};