@cloudtower/eagle 0.27.2-alpha.0 → 0.27.2-calendar

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 (36) hide show
  1. package/dist/components/Calendar/index.d.ts +3 -0
  2. package/dist/components/Fields/FieldsString/FieldsString.stories.d.ts +1 -1
  3. package/dist/components/I18nNameTag/index.d.ts +2 -8
  4. package/dist/components/Loading/style.d.ts +4 -0
  5. package/dist/components/Metric/metric.d.ts +1 -1
  6. package/dist/components/Tag/Tag.stories.d.ts +2 -2
  7. package/dist/components/Tag/style.d.ts +1 -0
  8. package/dist/components.css +1031 -1071
  9. package/dist/core/StepProgress/StepProgress.stories.d.ts +8 -0
  10. package/dist/core/StepProgress/index.d.ts +3 -0
  11. package/dist/coreX/CronCalendar/CronCalendar.stories.d.ts +6 -0
  12. package/dist/coreX/CronCalendar/index.d.ts +4 -0
  13. package/dist/coreX/CronPlan/CronPlan.stories.d.ts +9 -0
  14. package/dist/coreX/CronPlan/index.d.ts +18 -0
  15. package/dist/coreX/SwitchWithText/SwitchWithText.stories.d.ts +9 -0
  16. package/dist/coreX/SwitchWithText/__tests__/h5_css.test.d.ts +1 -0
  17. package/dist/coreX/SwitchWithText/index.d.ts +4 -0
  18. package/dist/coreX/common/getCalendarTitle.d.ts +2 -0
  19. package/dist/esm/index.js +3802 -2635
  20. package/dist/esm/stats1.html +1 -1
  21. package/dist/spec/base.d.ts +50 -9
  22. package/dist/spec/type.d.ts +6 -0
  23. package/dist/style.css +1448 -1488
  24. package/dist/umd/index.js +3770 -2604
  25. package/dist/umd/stats1.html +1 -1
  26. package/dist/utils/__test__/compute.spec.d.ts +1 -0
  27. package/dist/utils/__test__/cron-time.spec.d.ts +1 -0
  28. package/dist/utils/__test__/time.spec.d.ts +1 -0
  29. package/dist/utils/compute.d.ts +1 -0
  30. package/dist/utils/cron-time.d.ts +65 -0
  31. package/dist/utils/icon.d.ts +2 -1
  32. package/dist/utils/index.d.ts +3 -0
  33. package/dist/utils/time.d.ts +25 -0
  34. package/dist/variables.scss +2 -0
  35. package/package.json +6 -6
  36. package/dist/components/images/index.d.ts +0 -15
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import { CircleProgress } from ".";
3
+ declare const meta: Meta<typeof CircleProgress>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof CircleProgress>;
6
+ export declare const HundredPercent: Story;
7
+ export declare const FiftyPercent: Story;
8
+ export declare const ColorRed: Story;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { ICircleProgressProps } from "../../spec";
3
+ export declare const CircleProgress: React.FC<ICircleProgressProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta } from "@storybook/react";
2
+ import React from "react";
3
+ import { CronCalendarProps } from "../../spec";
4
+ declare const story: Meta<React.FC<CronCalendarProps>>;
5
+ export default story;
6
+ export declare const Basic: () => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { CronCalendarProps } from "../../spec";
3
+ declare const CronCalendar: React.FC<CronCalendarProps>;
4
+ export default CronCalendar;
@@ -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,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,4 @@
1
+ import React from "react";
2
+ import { SwitchWithTextProps } from "../../spec";
3
+ declare const SwitchWithText: React.FC<SwitchWithTextProps>;
4
+ export default SwitchWithText;
@@ -0,0 +1,2 @@
1
+ import { i18n, TFunction } from "i18next";
2
+ export declare function getCalendarTitle(month: string, t: TFunction, i18n: i18n): string;