@cloudtower/eagle 0.32.10 → 0.32.12

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.
@@ -19,6 +19,7 @@ export type CustomizedColumnRenderProps = {
19
19
  placeholder?: string;
20
20
  isHeader: boolean;
21
21
  error?: boolean;
22
+ formValue: any;
22
23
  };
23
24
  export type TableFormColumn = {
24
25
  /**
@@ -1,20 +1,20 @@
1
- import React from "react";
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, Omit<import("antd/lib/input").InputProps, "onChange"> & {
3
- debounceWait?: number | undefined;
4
- total?: number | undefined;
5
- onSearchNext?: ((value: string, current: number) => void) | undefined;
6
- onSearchPrev?: ((value: string, current: number) => void) | undefined;
7
- onChange: (value: string) => void;
8
- } & {
9
- children?: React.ReactNode;
10
- }>;
11
- export default _default;
12
- export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, Omit<import("antd/lib/input").InputProps, "onChange"> & {
13
- debounceWait?: number | undefined;
14
- total?: number | undefined;
15
- onSearchNext?: ((value: string, current: number) => void) | undefined;
16
- onSearchPrev?: ((value: string, current: number) => void) | undefined;
17
- onChange: (value: string) => void;
18
- } & {
19
- children?: React.ReactNode;
20
- }>;
1
+ import SearchInput from "../../../src/core/SearchInput";
2
+ import type { StoryObj } from "@storybook/react";
3
+ /**
4
+ * * tower legacy 组件, 带 debounce 的搜索框
5
+ * * MR: http://gitlab.smartx.com/frontend/tower/-/merge_requests/930
6
+ */
7
+ declare const meta: {
8
+ component: import("../../../src/core/SearchInput").SearchInputComponentType;
9
+ title: "Core/SearchInput | 搜索框";
10
+ args: {
11
+ debounceWait: number;
12
+ onSearchPrev: undefined;
13
+ onSearchNext: undefined;
14
+ total: undefined;
15
+ };
16
+ };
17
+ export default meta;
18
+ type Story = StoryObj<typeof SearchInput>;
19
+ export declare const Basic: Story;
20
+ export declare const withTotal: Story;