@cloudtower/eagle 0.27.3-alpha.0 → 0.27.3-gobackbutton1
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/Metric/metric.d.ts +1 -1
- package/dist/components/index.d.ts +0 -10
- package/dist/components.css +946 -860
- package/dist/coreX/CronPlan/CronPlan.stories.d.ts +9 -0
- package/dist/coreX/CronPlan/index.d.ts +18 -0
- package/dist/coreX/GoBackButton/GoBackButton.stories.d.ts +12 -0
- package/dist/coreX/GoBackButton/index.d.ts +11 -0
- package/dist/coreX/NamesTooltip/NamesTooltip.stories.d.ts +7 -0
- package/dist/coreX/NamesTooltip/__test__/index.test.d.ts +1 -0
- package/dist/coreX/NamesTooltip/index.d.ts +4 -0
- package/dist/coreX/index.d.ts +1 -0
- package/dist/esm/index.js +3434 -2716
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/spec/base.d.ts +22 -7
- package/dist/style.css +756 -670
- package/dist/umd/index.js +3429 -2711
- package/dist/umd/stats1.html +1 -1
- package/dist/utils/__test__/compute.spec.d.ts +1 -0
- package/dist/utils/__test__/cron-time.spec.d.ts +1 -0
- package/dist/utils/__test__/time.spec.d.ts +1 -0
- package/dist/utils/compute.d.ts +1 -0
- package/dist/utils/cron-time.d.ts +65 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/time.d.ts +25 -0
- package/dist/utils/tower.d.ts +0 -1
- package/package.json +8 -6
- package/dist/coreX/BarChart/BarChart.stories.d.ts +0 -6
- package/dist/coreX/BarChart/index.d.ts +0 -10
- package/dist/coreX/ChartWithTooltip/ChartWithTooltip.stories.d.ts +0 -7
- package/dist/coreX/ChartWithTooltip/index.d.ts +0 -40
- package/dist/coreX/DonutChart/DonutChart.stories.d.ts +0 -6
- package/dist/coreX/DonutChart/index.d.ts +0 -12
- package/dist/coreX/UnitWithChart/UnitWithChart.stories.d.ts +0 -7
- package/dist/coreX/UnitWithChart/index.d.ts +0 -30
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import "./styles/index.scss";
|
|
|
2
2
|
export type { CardProps, DateRange, GraphType, IconProps, IDataPoint, } from "./components";
|
|
3
3
|
export { antdKit, BaseIcon, Button, ButtonStyle, createBatchMessageMethods, FailedLoad, FullView, Icon, InputTagItem, KitStoreProvider, ModalStack, tableStyleCover, tickFormatter, Truncate, Typo, useKitDispatch, useKitSelector, WizardBody, } from "./components";
|
|
4
4
|
export * from "./components/TableForm/types";
|
|
5
|
+
export * from "./coreX";
|
|
5
6
|
export { useElementsSize } from "./hooks";
|
|
6
7
|
export type { AntdInputComponentType, AntdTreeSelectComponentType, BaseEnumProps, ButtonProps, DateTimeRangeProps, EnumProps, FloatProps, InputSize, IntegerFieldProps, IntFieldProps, IntProps, Kit, KitSelectProps, ModalProps, RequiredColumnProps, SorterOrder, StringProps, TableProps, TagColor, TextAreaProps, TooltipProps, WizardSteps, } from "./spec";
|
|
7
8
|
export * from "./spec/type";
|
package/dist/spec/base.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ import { TreeProps as AntdTreeProps } from "antd/lib/tree";
|
|
|
48
48
|
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
|
+
import type { Dayjs } from "dayjs";
|
|
51
52
|
import type { Moment } from "moment";
|
|
52
53
|
import React, { ForwardRefExoticComponent, PropsWithChildren, PropsWithoutRef, ReactNode, RefAttributes } from "react";
|
|
53
54
|
import { CardProps } from "../components/Card";
|
|
@@ -56,9 +57,6 @@ import { MessageApi } from "../components/message";
|
|
|
56
57
|
import { TableFormHandle, TableFormProps } from "../components/TableForm/types";
|
|
57
58
|
import { TruncatePropTypes } from "../components/Truncate";
|
|
58
59
|
import type { CloseButtonProps } from "../core/AccordionCard";
|
|
59
|
-
import { IChartWithUnitProps, ICWTProps } from "../coreX/ChartWithTooltip";
|
|
60
|
-
import { IDonutChartProps } from "../coreX/DonutChart";
|
|
61
|
-
import { IUnitWithChartProps } from "../coreX/UnitWithChart";
|
|
62
60
|
import { SerializableObject } from "../utils/tower";
|
|
63
61
|
import { FieldRenderProps } from "./react-final-form";
|
|
64
62
|
import { Architecture, DropdownTransitionProps, IAccordionCardProps, IBreadcrumbProps, ICircleProgressProps, ICountingProps, IDetailCardProps, ISpaceProps, ITimeProps, ITimeZoneSelectProps, PropsFrom } from "./type";
|
|
@@ -491,6 +489,7 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
|
|
|
491
489
|
token: TokenComponentType;
|
|
492
490
|
overflowTooltip: React.FC<OverflowTooltipProps>;
|
|
493
491
|
I18nNameTag: React.FC<I18nNameTagType>;
|
|
492
|
+
GoBackButton: React.FC<any>;
|
|
494
493
|
uploadDragger: React.ComponentType<DraggerProps>;
|
|
495
494
|
calendar: React.FC<CalendarProps<Moment>>;
|
|
496
495
|
timePicker: React.FC<TimePickerProps>;
|
|
@@ -530,10 +529,8 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
|
|
|
530
529
|
Breadcrumb: React.FC<IBreadcrumbProps>;
|
|
531
530
|
CircleProgress: React.FC<ICircleProgressProps>;
|
|
532
531
|
SwitchWithText: React.FC<SwitchWithTextProps>;
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
DonutChart: React.FC<IDonutChartProps>;
|
|
536
|
-
UnitWithChart: React.FC<IUnitWithChartProps>;
|
|
532
|
+
CronPlan: React.FC<CronPlanProps>;
|
|
533
|
+
NamesTooltip: React.FC<NamesTooltipType>;
|
|
537
534
|
}
|
|
538
535
|
export type ArchComponentType = React.FC<{
|
|
539
536
|
architecture?: Architecture;
|
|
@@ -616,6 +613,24 @@ export type I18nNameTagType = {
|
|
|
616
613
|
i18nKey: string;
|
|
617
614
|
[key: string]: unknown;
|
|
618
615
|
};
|
|
616
|
+
export type CronPlanState = {
|
|
617
|
+
expression: string;
|
|
618
|
+
retain: number;
|
|
619
|
+
startAt: Dayjs;
|
|
620
|
+
enabled: boolean;
|
|
621
|
+
empty: boolean;
|
|
622
|
+
};
|
|
623
|
+
export type CronPlanProps = {
|
|
624
|
+
value: CronPlanState;
|
|
625
|
+
onChange: (value: CronPlanState) => unknown;
|
|
626
|
+
onRemove?: () => void;
|
|
627
|
+
};
|
|
628
|
+
export type NamesTooltipType = {
|
|
629
|
+
names: {
|
|
630
|
+
id: string;
|
|
631
|
+
name?: string;
|
|
632
|
+
}[];
|
|
633
|
+
};
|
|
619
634
|
export type SwitchWithTextProps = PropsFrom<Kit["switch"]> & {
|
|
620
635
|
text?: {
|
|
621
636
|
checked: React.ReactNode;
|