@cloudtower/eagle 0.27.5 → 0.27.6
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/components/Calendar/index.d.ts +3 -0
- package/dist/components.css +926 -823
- package/dist/coreX/CronCalendar/CronCalendar.stories.d.ts +7 -0
- package/dist/coreX/CronCalendar/index.d.ts +4 -0
- package/dist/coreX/GoBackButton/GoBackButton.stories.d.ts +9 -0
- package/dist/coreX/GoBackButton/index.d.ts +4 -0
- package/dist/coreX/common/getCalendarTitle.d.ts +2 -0
- package/dist/esm/index.js +681 -516
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +19 -1
- package/dist/style.css +1142 -1039
- package/dist/umd/index.js +679 -514
- package/dist/umd/stats1.html +1 -1
- package/package.json +7 -5
package/dist/spec/base.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ import type TreeSelect from "antd/lib/tree-select";
|
|
|
49
49
|
import { TextProps } from "antd/lib/typography/Text";
|
|
50
50
|
import { DraggerProps, UploadProps } from "antd/lib/upload";
|
|
51
51
|
import type { Dayjs } from "dayjs";
|
|
52
|
+
import type { History } from "history";
|
|
52
53
|
import type { Moment } from "moment";
|
|
53
54
|
import React, { ForwardRefExoticComponent, PropsWithChildren, PropsWithoutRef, ReactNode, RefAttributes } from "react";
|
|
54
55
|
import { CardProps } from "../components/Card";
|
|
@@ -493,7 +494,7 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
|
|
|
493
494
|
overflowTooltip: React.FC<OverflowTooltipProps>;
|
|
494
495
|
I18nNameTag: React.FC<I18nNameTagType>;
|
|
495
496
|
uploadDragger: React.ComponentType<DraggerProps>;
|
|
496
|
-
calendar:
|
|
497
|
+
calendar: CalendarComponentType;
|
|
497
498
|
timePicker: React.FC<TimePickerProps>;
|
|
498
499
|
datePicker: React.ComponentType<DatePickerProps>;
|
|
499
500
|
tabs: React.FC<TabsProps>;
|
|
@@ -537,6 +538,8 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
|
|
|
537
538
|
ChartWithUnit: React.FC<IChartWithUnitProps>;
|
|
538
539
|
DonutChart: React.FC<IDonutChartProps>;
|
|
539
540
|
UnitWithChart: React.FC<IUnitWithChartProps>;
|
|
541
|
+
GoBackButton: React.FC<GoBackButtonType>;
|
|
542
|
+
CronCalendar: React.FC<CronCalendarProps>;
|
|
540
543
|
}
|
|
541
544
|
export type ArchComponentType = React.FC<{
|
|
542
545
|
architecture?: Architecture;
|
|
@@ -637,10 +640,25 @@ export type NamesTooltipType = {
|
|
|
637
640
|
name?: string;
|
|
638
641
|
}[];
|
|
639
642
|
};
|
|
643
|
+
export type CronCalendarProps = {
|
|
644
|
+
plans: {
|
|
645
|
+
expression: string;
|
|
646
|
+
startAt: Dayjs;
|
|
647
|
+
empty: boolean;
|
|
648
|
+
}[];
|
|
649
|
+
};
|
|
640
650
|
export type SwitchWithTextProps = PropsFrom<Kit["switch"]> & {
|
|
641
651
|
text?: {
|
|
642
652
|
checked: React.ReactNode;
|
|
643
653
|
unchecked: React.ReactNode;
|
|
644
654
|
};
|
|
645
655
|
};
|
|
656
|
+
export type GoBackButtonType = {
|
|
657
|
+
history: History;
|
|
658
|
+
title?: string;
|
|
659
|
+
onClick?: () => void;
|
|
660
|
+
path?: string;
|
|
661
|
+
index?: number;
|
|
662
|
+
};
|
|
663
|
+
export type CalendarComponentType = React.FC<CalendarProps<Moment>>;
|
|
646
664
|
export {};
|