@cloudtower/eagle 0.27.3-alpha.0 → 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.
Files changed (33) hide show
  1. package/dist/components/Metric/metric.d.ts +1 -1
  2. package/dist/components/index.d.ts +0 -10
  3. package/dist/components.css +607 -531
  4. package/dist/coreX/CronPlan/CronPlan.stories.d.ts +9 -0
  5. package/dist/coreX/CronPlan/index.d.ts +18 -0
  6. package/dist/coreX/NamesTooltip/NamesTooltip.stories.d.ts +7 -0
  7. package/dist/coreX/NamesTooltip/__test__/index.test.d.ts +1 -0
  8. package/dist/coreX/NamesTooltip/index.d.ts +4 -0
  9. package/dist/coreX/index.d.ts +1 -0
  10. package/dist/esm/index.js +3408 -2726
  11. package/dist/esm/stats1.html +1 -1
  12. package/dist/index.d.ts +1 -0
  13. package/dist/spec/base.d.ts +21 -7
  14. package/dist/style.css +1294 -1218
  15. package/dist/umd/index.js +3413 -2731
  16. package/dist/umd/stats1.html +1 -1
  17. package/dist/utils/__test__/compute.spec.d.ts +1 -0
  18. package/dist/utils/__test__/cron-time.spec.d.ts +1 -0
  19. package/dist/utils/__test__/time.spec.d.ts +1 -0
  20. package/dist/utils/compute.d.ts +1 -0
  21. package/dist/utils/cron-time.d.ts +65 -0
  22. package/dist/utils/index.d.ts +3 -0
  23. package/dist/utils/time.d.ts +25 -0
  24. package/dist/utils/tower.d.ts +0 -1
  25. package/package.json +6 -6
  26. package/dist/coreX/BarChart/BarChart.stories.d.ts +0 -6
  27. package/dist/coreX/BarChart/index.d.ts +0 -10
  28. package/dist/coreX/ChartWithTooltip/ChartWithTooltip.stories.d.ts +0 -7
  29. package/dist/coreX/ChartWithTooltip/index.d.ts +0 -40
  30. package/dist/coreX/DonutChart/DonutChart.stories.d.ts +0 -6
  31. package/dist/coreX/DonutChart/index.d.ts +0 -12
  32. package/dist/coreX/UnitWithChart/UnitWithChart.stories.d.ts +0 -7
  33. package/dist/coreX/UnitWithChart/index.d.ts +0 -30
@@ -0,0 +1,9 @@
1
+ import { Meta } from "@storybook/react";
2
+ import React from "react";
3
+ import { CronPlanProps } from "../../spec";
4
+ declare const story: Meta<React.FC<CronPlanProps>>;
5
+ export default story;
6
+ export declare const Basic: {
7
+ (): JSX.Element;
8
+ args: {};
9
+ };
@@ -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,4 @@
1
+ import React from "react";
2
+ import { NamesTooltipType } from "../../spec";
3
+ declare const NamesTooltip: React.FC<NamesTooltipType>;
4
+ export default NamesTooltip;
@@ -0,0 +1 @@
1
+ export { stringifyPlan } from "./CronPlan";