elcrm 0.9.84 → 0.9.86
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/Form/Input.d.ts +3 -1
- package/dist/Form/Number.d.ts +3 -2
- package/dist/Form/Select.d.ts +4 -4
- package/dist/Tabs/Lite.d.ts +2 -1
- package/dist/Tabs/index.d.ts +2 -1
- package/dist/index.es.js +771 -760
- package/dist/index.umd.js +10 -10
- package/package.json +1 -1
package/dist/Form/Input.d.ts
CHANGED
|
@@ -12,12 +12,14 @@ interface Input {
|
|
|
12
12
|
edit?: boolean;
|
|
13
13
|
active?: Boolean;
|
|
14
14
|
after?: any;
|
|
15
|
+
before?: any;
|
|
15
16
|
show?: Boolean;
|
|
16
17
|
view?: string;
|
|
17
18
|
id?: string;
|
|
18
19
|
className?: string;
|
|
19
20
|
isCopy?: boolean;
|
|
20
21
|
maxLength?: number;
|
|
22
|
+
isReload?: boolean;
|
|
21
23
|
}
|
|
22
|
-
export default function ({ id, value, onValue, name, placeholder, title, error, hide, edit, active, after, show, maxLength, view, onBlur, onSave, className, isCopy, }: Input): "" | import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export default function ({ id, value, onValue, name, placeholder, title, error, hide, edit, active, after, before, show, maxLength, view, onBlur, onSave, className, isCopy, isReload, }: Input): "" | import("react/jsx-runtime").JSX.Element;
|
|
23
25
|
export {};
|
package/dist/Form/Number.d.ts
CHANGED
|
@@ -10,11 +10,12 @@ type Data = {
|
|
|
10
10
|
hide?: boolean;
|
|
11
11
|
edit?: Boolean;
|
|
12
12
|
active?: Boolean;
|
|
13
|
-
after?:
|
|
13
|
+
after?: any;
|
|
14
|
+
before?: any;
|
|
14
15
|
show?: Boolean;
|
|
15
16
|
view?: string;
|
|
16
17
|
className?: string;
|
|
17
18
|
item?: string;
|
|
18
19
|
};
|
|
19
|
-
export default function Number({ onValue, onSave, active, max, edit, title, error, show, hide, value, placeholder, className, name, after, view, }: Data): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export default function Number({ onValue, onSave, active, max, edit, title, error, show, hide, value, placeholder, className, name, after, before, view, }: Data): import("react/jsx-runtime").JSX.Element;
|
|
20
21
|
export {};
|
package/dist/Form/Select.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
export type TSelect = {
|
|
2
2
|
value?: string;
|
|
3
3
|
onValue?: Function;
|
|
4
4
|
name?: string;
|
|
5
|
+
isReload?: boolean;
|
|
5
6
|
placeholder?: string;
|
|
6
7
|
title?: string;
|
|
7
8
|
error?: string;
|
|
@@ -14,6 +15,5 @@ interface Data {
|
|
|
14
15
|
className?: string;
|
|
15
16
|
options?: any;
|
|
16
17
|
order?: any;
|
|
17
|
-
}
|
|
18
|
-
export default function ({ title, error, edit, active, hide, value, onValue, options, placeholder, className, name, after, view, order, }:
|
|
19
|
-
export {};
|
|
18
|
+
};
|
|
19
|
+
export default function ({ title, error, edit, active, hide, value, onValue, options, placeholder, className, name, after, view, order, isReload, }: TSelect): "" | import("react/jsx-runtime").JSX.Element;
|
package/dist/Tabs/Lite.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
type Tabs = {
|
|
2
2
|
list?: Array<Tab>;
|
|
3
3
|
active?: string;
|
|
4
|
+
onTab?: (id: string) => void;
|
|
4
5
|
};
|
|
5
6
|
type Tab = {
|
|
6
7
|
id: string;
|
|
7
8
|
label: string;
|
|
8
9
|
};
|
|
9
|
-
declare const Lite: ({ list, active }: Tabs) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const Lite: ({ list, active, onTab }: Tabs) => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export default Lite;
|
package/dist/Tabs/index.d.ts
CHANGED
|
@@ -9,12 +9,13 @@ declare const _default: {
|
|
|
9
9
|
view?: string | undefined;
|
|
10
10
|
onClick: (link: string) => void;
|
|
11
11
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
Lite: ({ list, active }: {
|
|
12
|
+
Lite: ({ list, active, onTab }: {
|
|
13
13
|
list?: {
|
|
14
14
|
id: string;
|
|
15
15
|
label: string;
|
|
16
16
|
}[] | undefined;
|
|
17
17
|
active?: string | undefined;
|
|
18
|
+
onTab?: ((id: string) => void) | undefined;
|
|
18
19
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
19
20
|
Button: ({ list, active, onChange, className, after, }: {
|
|
20
21
|
list: any;
|