@cloudtower/eagle 0.27.3-alpha.0 → 0.27.4
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.css +1657 -1498
- package/dist/coreX/CronPlan/CronPlan.stories.d.ts +9 -0
- package/dist/coreX/CronPlan/index.d.ts +18 -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 +2686 -1703
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/spec/base.d.ts +21 -0
- package/dist/style.css +1500 -1341
- package/dist/umd/index.js +2685 -1702
- 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/package.json +6 -6
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";
|
|
@@ -530,6 +531,8 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
|
|
|
530
531
|
Breadcrumb: React.FC<IBreadcrumbProps>;
|
|
531
532
|
CircleProgress: React.FC<ICircleProgressProps>;
|
|
532
533
|
SwitchWithText: React.FC<SwitchWithTextProps>;
|
|
534
|
+
CronPlan: React.FC<CronPlanProps>;
|
|
535
|
+
NamesTooltip: React.FC<NamesTooltipType>;
|
|
533
536
|
ChartWithTooltip: React.FC<ICWTProps>;
|
|
534
537
|
ChartWithUnit: React.FC<IChartWithUnitProps>;
|
|
535
538
|
DonutChart: React.FC<IDonutChartProps>;
|
|
@@ -616,6 +619,24 @@ export type I18nNameTagType = {
|
|
|
616
619
|
i18nKey: string;
|
|
617
620
|
[key: string]: unknown;
|
|
618
621
|
};
|
|
622
|
+
export type CronPlanState = {
|
|
623
|
+
expression: string;
|
|
624
|
+
retain: number;
|
|
625
|
+
startAt: Dayjs;
|
|
626
|
+
enabled: boolean;
|
|
627
|
+
empty: boolean;
|
|
628
|
+
};
|
|
629
|
+
export type CronPlanProps = {
|
|
630
|
+
value: CronPlanState;
|
|
631
|
+
onChange: (value: CronPlanState) => unknown;
|
|
632
|
+
onRemove?: () => void;
|
|
633
|
+
};
|
|
634
|
+
export type NamesTooltipType = {
|
|
635
|
+
names: {
|
|
636
|
+
id: string;
|
|
637
|
+
name?: string;
|
|
638
|
+
}[];
|
|
639
|
+
};
|
|
619
640
|
export type SwitchWithTextProps = PropsFrom<Kit["switch"]> & {
|
|
620
641
|
text?: {
|
|
621
642
|
checked: React.ReactNode;
|