@cloudtower/eagle 0.27.1 → 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 (35) 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/Metric/metric.d.ts +1 -1
  5. package/dist/components/Tag/Tag.stories.d.ts +2 -2
  6. package/dist/components/Tag/style.d.ts +1 -0
  7. package/dist/components.css +1233 -953
  8. package/dist/core/StepProgress/StepProgress.stories.d.ts +8 -0
  9. package/dist/core/StepProgress/index.d.ts +3 -0
  10. package/dist/coreX/CronCalendar/CronCalendar.stories.d.ts +6 -0
  11. package/dist/coreX/CronCalendar/index.d.ts +4 -0
  12. package/dist/coreX/CronPlan/CronPlan.stories.d.ts +9 -0
  13. package/dist/coreX/CronPlan/index.d.ts +18 -0
  14. package/dist/coreX/SwitchWithText/SwitchWithText.stories.d.ts +9 -0
  15. package/dist/coreX/SwitchWithText/__tests__/h5_css.test.d.ts +1 -0
  16. package/dist/coreX/SwitchWithText/index.d.ts +4 -0
  17. package/dist/coreX/common/getCalendarTitle.d.ts +2 -0
  18. package/dist/esm/index.js +3804 -2642
  19. package/dist/esm/stats1.html +1 -1
  20. package/dist/spec/base.d.ts +50 -9
  21. package/dist/spec/type.d.ts +6 -0
  22. package/dist/style.css +773 -493
  23. package/dist/umd/index.js +3803 -2642
  24. package/dist/umd/stats1.html +1 -1
  25. package/dist/utils/__test__/compute.spec.d.ts +1 -0
  26. package/dist/utils/__test__/cron-time.spec.d.ts +1 -0
  27. package/dist/utils/__test__/time.spec.d.ts +1 -0
  28. package/dist/utils/compute.d.ts +1 -0
  29. package/dist/utils/cron-time.d.ts +65 -0
  30. package/dist/utils/icon.d.ts +2 -1
  31. package/dist/utils/index.d.ts +3 -0
  32. package/dist/utils/time.d.ts +25 -0
  33. package/dist/variables.scss +2 -0
  34. package/package.json +6 -6
  35. 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;