@cloudtower/eagle 0.27.2 → 0.27.3
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 +1818 -1651
- 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/SwitchWithText/SwitchWithText.stories.d.ts +9 -0
- package/dist/coreX/SwitchWithText/__tests__/h5_css.test.d.ts +1 -0
- package/dist/coreX/SwitchWithText/index.d.ts +4 -0
- package/dist/coreX/index.d.ts +1 -0
- package/dist/esm/index.js +3322 -2288
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/spec/base.d.ts +29 -1
- package/dist/spec/type.d.ts +1 -0
- package/dist/style.css +1112 -945
- package/dist/umd/index.js +3322 -2288
- 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 -5
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { i18n as Ii18n } from "i18next";
|
|
2
|
+
import moment from "moment";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { CronPlanProps } from "../../spec";
|
|
5
|
+
export declare const stringifyPlan: (mode: CronMode, daily: DailyState, weekly: WeeklyState, monthly: MonthlyState, i18n: Ii18n) => string | undefined;
|
|
6
|
+
type CronMode = "day" | "week" | "month";
|
|
7
|
+
type DailyState = {
|
|
8
|
+
step: number;
|
|
9
|
+
time: moment.Moment;
|
|
10
|
+
};
|
|
11
|
+
type WeeklyState = {
|
|
12
|
+
step: number;
|
|
13
|
+
days: number[];
|
|
14
|
+
time: moment.Moment;
|
|
15
|
+
};
|
|
16
|
+
type MonthlyState = WeeklyState;
|
|
17
|
+
declare const CronPlan: React.FC<CronPlanProps>;
|
|
18
|
+
export default CronPlan;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { NamesTooltipType } from "../../spec";
|
|
4
|
+
type NamesTooltipComponentType = React.FC<NamesTooltipType>;
|
|
5
|
+
declare const story: Meta<NamesTooltipComponentType>;
|
|
6
|
+
export default story;
|
|
7
|
+
export declare const Basic: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Meta } from "@storybook/react";
|
|
3
|
+
import { SwitchWithTextProps } from "../../spec";
|
|
4
|
+
declare const story: Meta<SwitchWithTextProps>;
|
|
5
|
+
export default story;
|
|
6
|
+
export declare const Basic: {
|
|
7
|
+
(): JSX.Element;
|
|
8
|
+
args: {};
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { stringifyPlan } from "./CronPlan";
|