elcrm 0.5.6 → 0.5.7
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/Alert/Line.d.ts +12 -0
- package/dist/Alert/index.d.ts +2 -0
- package/dist/Api/index.d.ts +2 -1
- package/dist/Bookmarks/Bookmarks.d.ts +4 -0
- package/dist/Bookmarks/index.d.ts +6 -0
- package/dist/Button/Button.d.ts +8 -9
- package/dist/Company/Company.d.ts +10 -0
- package/dist/Company/index.d.ts +6 -0
- package/dist/Component/F.d.ts +6 -0
- package/dist/Component/G.d.ts +5 -0
- package/dist/Component/H.d.ts +8 -0
- package/dist/Component/UL.d.ts +5 -0
- package/dist/Component/index.d.ts +21 -5
- package/dist/DataBase/DataDase.d.ts +7 -7
- package/dist/DataBase/index.d.ts +7 -7
- package/dist/Files/Files.d.ts +2 -1
- package/dist/Files/index.d.ts +2 -1
- package/dist/Filter/Filter.d.ts +6 -0
- package/dist/Filter/index.d.ts +11 -0
- package/dist/Form/Button.d.ts +8 -0
- package/dist/Form/Captcha.d.ts +1 -0
- package/dist/Form/Check.d.ts +10 -0
- package/dist/Form/Code.d.ts +1 -0
- package/dist/Form/Color.d.ts +1 -0
- package/dist/Form/Date.d.ts +1 -0
- package/dist/Form/Generator.d.ts +1 -0
- package/dist/Form/Init.d.ts +1 -0
- package/dist/Form/Input.d.ts +5 -4
- package/dist/Form/MaskPhone.d.ts +2 -0
- package/dist/Form/Message.d.ts +14 -0
- package/dist/Form/Modal.d.ts +17 -0
- package/dist/Form/Money.d.ts +1 -0
- package/dist/Form/Month.d.ts +17 -0
- package/dist/Form/Notes.d.ts +1 -0
- package/dist/Form/Number.d.ts +19 -0
- package/dist/Form/Password.d.ts +18 -0
- package/dist/Form/Phone.d.ts +17 -0
- package/dist/Form/Rating.d.ts +0 -0
- package/dist/Form/Search.d.ts +2 -0
- package/dist/Form/Select.d.ts +18 -0
- package/dist/Form/Set.d.ts +20 -0
- package/dist/Form/Textarea.d.ts +1 -0
- package/dist/Form/Time.d.ts +1 -0
- package/dist/Form/Users.d.ts +1 -0
- package/dist/Form/index.d.ts +48 -1
- package/dist/Form/interfaface.d.ts +15 -0
- package/dist/Form/use.d.ts +9 -0
- package/dist/Format/index.d.ts +2 -0
- package/dist/Icon/Hugeicons.d.ts +3 -0
- package/dist/Icon/Sprite.d.ts +3 -0
- package/dist/Icon/index.d.ts +3 -0
- package/dist/Input/index.d.ts +50 -0
- package/dist/List/Reducer.d.ts +1 -0
- package/dist/List/View.d.ts +9 -0
- package/dist/List/index.d.ts +11 -0
- package/dist/List/useValue.d.ts +2 -0
- package/dist/Loading/Inline.d.ts +1 -0
- package/dist/Loading/Spinner.d.ts +1 -0
- package/dist/Loading/index.d.ts +8 -0
- package/dist/Modal/Center.d.ts +1 -0
- package/dist/Modal/Form.d.ts +1 -0
- package/dist/Modal/Modal.d.ts +25 -10
- package/dist/Modal/index.d.ts +10 -20
- package/dist/Notifications/Notifications.d.ts +5 -0
- package/dist/Notifications/index.d.ts +8 -0
- package/dist/Pagination/Pagination.d.ts +8 -0
- package/dist/Pagination/index.d.ts +6 -0
- package/dist/Phone/Phone.d.ts +3 -0
- package/dist/Phone/index.d.ts +6 -0
- package/dist/Search/Search.d.ts +4 -0
- package/dist/Search/index.d.ts +9 -0
- package/dist/Store/Store.d.ts +6 -8
- package/dist/WebRTC/WebRTC.d.ts +2 -0
- package/dist/Widget/Widget.d.ts +8 -0
- package/dist/Widget/index.d.ts +0 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +17 -5
- package/dist/index.es.js +6640 -8
- package/dist/index.umd.js +11 -11
- package/package.json +13 -2
- package/dist/Component/C copy.d.ts +0 -5
- package/dist/Component/Header.d.ts +0 -6
- /package/dist/Component/{List.d.ts → L.d.ts} +0 -0
- /package/dist/Component/{Section.d.ts → S.d.ts} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface Alert {
|
|
2
|
+
type: "success" | "error" | "remark" | "default" | "none";
|
|
3
|
+
text: string;
|
|
4
|
+
button?: Button;
|
|
5
|
+
}
|
|
6
|
+
type Button = {
|
|
7
|
+
onClick?: Function;
|
|
8
|
+
onSend?: Function;
|
|
9
|
+
label: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function Line({ text, type, button }: Alert): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
package/dist/Alert/index.d.ts
CHANGED
package/dist/Api/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { audio, url, fetch, remoute } from './Api';
|
|
1
|
+
import { audio, url, fetch, remoute, telegram } from './Api';
|
|
2
2
|
|
|
3
3
|
declare const _default: {
|
|
4
4
|
audio: typeof audio;
|
|
5
5
|
fetch: typeof fetch;
|
|
6
6
|
remoute: typeof remoute;
|
|
7
7
|
url: typeof url;
|
|
8
|
+
telegram: typeof telegram;
|
|
8
9
|
};
|
|
9
10
|
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const Init: () => "" | import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Icon: ({ id, type, name }: any) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const Item: ({ data }: any) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const Active: (a: any) => void;
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
export default Button;
|
|
1
|
+
interface Button {
|
|
2
|
+
onClick?: Function;
|
|
3
|
+
onSend?: Function;
|
|
4
|
+
onRef?: any;
|
|
5
|
+
label: String;
|
|
6
|
+
}
|
|
7
|
+
export default function ({ onClick, onSend, label, onRef }: Button): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { setSetting, getSetting } from '../Store/Store';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
setSetting: typeof setSetting;
|
|
5
|
+
getSetting: typeof getSetting;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare function loadCompany(j: any): void;
|
|
9
|
+
export declare function Get(): any;
|
|
10
|
+
export declare function getId(): any;
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { default as Section } from './
|
|
3
|
-
import { default as
|
|
1
|
+
import { default as Group } from './G';
|
|
2
|
+
import { default as Section } from './S';
|
|
3
|
+
import { default as List } from './L';
|
|
4
|
+
import { default as Header } from './H';
|
|
5
|
+
import { Line as A } from '../Alert/Line';
|
|
4
6
|
|
|
5
7
|
declare const _default: {
|
|
6
|
-
Header: ({ title, children }: Header) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
Header: ({ title, left, right, children }: Header) => import("react/jsx-runtime").JSX.Element;
|
|
7
9
|
Section: ({ children }: Section) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
Group: typeof Group;
|
|
11
|
+
Form: ({ children, edit }: {
|
|
12
|
+
children?: any;
|
|
13
|
+
edit?: boolean | undefined;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
15
|
List: ({ children, ...restProps }: List) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
A: typeof A;
|
|
9
17
|
U: ({ children }: {
|
|
10
18
|
children?: any;
|
|
11
19
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
G: typeof Group;
|
|
12
21
|
C: ({ children }: {
|
|
13
22
|
children?: any;
|
|
14
23
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -19,6 +28,13 @@ declare const _default: {
|
|
|
19
28
|
className?: string | undefined;
|
|
20
29
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
30
|
S: ({ children }: Section) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
H: ({ title, children }: Header) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
H: ({ title, left, right, children }: Header) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
M: ({ children }: {
|
|
33
|
+
children?: any;
|
|
34
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
F: ({ children, edit }: {
|
|
36
|
+
children?: any;
|
|
37
|
+
edit?: boolean | undefined;
|
|
38
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
23
39
|
};
|
|
24
40
|
export default _default;
|
|
@@ -8,11 +8,11 @@ export declare const split: (a: any, b: any, search?: any, filter?: any) => {
|
|
|
8
8
|
search: any;
|
|
9
9
|
filter: any;
|
|
10
10
|
};
|
|
11
|
-
export declare const upd: (base: any, value: any, page
|
|
12
|
-
export declare const add: (_load: any, _page: any, _base: any, _back
|
|
13
|
-
export declare const updAll: (_load: any, _page: any, _base: any, _back
|
|
14
|
-
export declare const delAll: (_load: any, _page: any, _base: any, _back
|
|
15
|
-
export declare const delList: (_load: any, _page
|
|
16
|
-
export declare const addList: (_load: any, _page: any, _back
|
|
17
|
-
export declare const id: (_key: any, _base: any, _back
|
|
11
|
+
export declare const upd: (base: any, value: any, page?: any, store?: any) => any;
|
|
12
|
+
export declare const add: (_load: any, _page: any, _base: any, _back?: any) => Promise<void>;
|
|
13
|
+
export declare const updAll: (_load: any, _page: any, _base: any, _back?: any) => Promise<void>;
|
|
14
|
+
export declare const delAll: (_load: any, _page: any, _base: any, _back?: any) => Promise<void>;
|
|
15
|
+
export declare const delList: (_load: any, _page?: any, _back?: any) => Promise<void>;
|
|
16
|
+
export declare const addList: (_load: any, _page: any, _back?: any) => Promise<void>;
|
|
17
|
+
export declare const id: (_key: any, _base: any, _back?: any) => Promise<any>;
|
|
18
18
|
export declare const load: (_key: any) => any;
|
package/dist/DataBase/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
id: (_key: any, _base: any, _back
|
|
2
|
+
id: (_key: any, _base: any, _back?: any) => Promise<any>;
|
|
3
3
|
get: (key: any, store?: any) => any;
|
|
4
4
|
set: (key: any, value: any, store?: any) => any;
|
|
5
|
-
add: (_load: any, _page: any, _base: any, _back
|
|
5
|
+
add: (_load: any, _page: any, _base: any, _back?: any) => Promise<void>;
|
|
6
6
|
del: (key: any, store?: any) => any;
|
|
7
|
-
upd: (base: any, value: any, page
|
|
7
|
+
upd: (base: any, value: any, page?: any, store?: any) => any;
|
|
8
8
|
key: (store?: any) => any;
|
|
9
9
|
load: (_key: any) => any;
|
|
10
10
|
split: (a: any, b: any, search?: any, filter?: any) => {
|
|
@@ -13,9 +13,9 @@ declare const _default: {
|
|
|
13
13
|
filter: any;
|
|
14
14
|
};
|
|
15
15
|
clear: (store?: any) => any;
|
|
16
|
-
updAll: (_load: any, _page: any, _base: any, _back
|
|
17
|
-
delAll: (_load: any, _page: any, _base: any, _back
|
|
18
|
-
delList: (_load: any, _page
|
|
19
|
-
addList: (_load: any, _page: any, _back
|
|
16
|
+
updAll: (_load: any, _page: any, _base: any, _back?: any) => Promise<void>;
|
|
17
|
+
delAll: (_load: any, _page: any, _base: any, _back?: any) => Promise<void>;
|
|
18
|
+
delList: (_load: any, _page?: any, _back?: any) => Promise<void>;
|
|
19
|
+
addList: (_load: any, _page: any, _back?: any) => Promise<void>;
|
|
20
20
|
};
|
|
21
21
|
export default _default;
|
package/dist/Files/Files.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const Init: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
export declare const Widget: ({ id, name, dir, }: {
|
|
2
|
+
export declare const Widget: ({ id, name, listen, dir, }: {
|
|
3
3
|
id: number;
|
|
4
4
|
name?: string | undefined;
|
|
5
|
+
listen?: string | undefined;
|
|
5
6
|
dir: string;
|
|
6
7
|
}) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Files/index.d.ts
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function Button(): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function useValue(get: any): void;
|
|
3
|
+
export declare function Set(set: any): void;
|
|
4
|
+
export declare function Reset(set?: any): void;
|
|
5
|
+
export declare function Run(data: any, take: any, base: any, active: any): any;
|
|
6
|
+
export declare function Count(set: any): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Button, useValue, Set, Run, Count, Reset } from './Filter';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
Button: typeof Button;
|
|
5
|
+
useValue: typeof useValue;
|
|
6
|
+
Set: typeof Set;
|
|
7
|
+
Run: typeof Run;
|
|
8
|
+
Count: typeof Count;
|
|
9
|
+
Reset: typeof Reset;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ({ value, onValue, placeholder, name }: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Check {
|
|
2
|
+
onValue: (a: any) => void;
|
|
3
|
+
value?: any;
|
|
4
|
+
className?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
reload?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export default function ({ onValue, label, value, className, name, reload, }: Check): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): import("react/jsx-runtime").JSX.Element;
|
package/dist/Form/Input.d.ts
CHANGED
|
@@ -4,14 +4,15 @@ interface Input {
|
|
|
4
4
|
name?: string;
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
title?: string;
|
|
7
|
+
label?: string;
|
|
7
8
|
error?: string;
|
|
8
|
-
hide?:
|
|
9
|
-
edit?:
|
|
9
|
+
hide?: boolean;
|
|
10
|
+
edit?: boolean;
|
|
10
11
|
active?: Boolean;
|
|
11
12
|
after?: string;
|
|
12
13
|
show?: Boolean;
|
|
13
14
|
view?: string;
|
|
14
15
|
className?: string;
|
|
15
16
|
}
|
|
16
|
-
|
|
17
|
-
export
|
|
17
|
+
export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view, className, }: Input): "" | import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface Message {
|
|
2
|
+
value?: any;
|
|
3
|
+
onValue?: any;
|
|
4
|
+
onActive?: any;
|
|
5
|
+
data?: any;
|
|
6
|
+
name?: any;
|
|
7
|
+
view?: any;
|
|
8
|
+
edit?: any;
|
|
9
|
+
active?: any;
|
|
10
|
+
placeholder?: any;
|
|
11
|
+
listen?: any;
|
|
12
|
+
}
|
|
13
|
+
export default function ({ value, onValue, onActive, data, name, view, edit, active, placeholder, }: Message): any;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface Input {
|
|
2
|
+
value?: string;
|
|
3
|
+
onValue?: Function;
|
|
4
|
+
name?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
hide?: boolean;
|
|
9
|
+
edit?: boolean;
|
|
10
|
+
show?: boolean;
|
|
11
|
+
active?: boolean;
|
|
12
|
+
after?: string;
|
|
13
|
+
view?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
export default function ({ value, onValue, name, placeholder, title, error, hide, edit, show, active, after, view, }: Input): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface Input {
|
|
2
|
+
value?: string;
|
|
3
|
+
onValue?: Function;
|
|
4
|
+
name?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
hide?: string;
|
|
9
|
+
edit?: Boolean;
|
|
10
|
+
active?: Boolean;
|
|
11
|
+
after?: string;
|
|
12
|
+
show?: Boolean;
|
|
13
|
+
view?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
export default function ({ value, onValue, name, view, error, edit, active, title, placeholder, after, }: Input): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type Data = {
|
|
2
|
+
value?: string;
|
|
3
|
+
onValue?: Function;
|
|
4
|
+
name?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
max?: number;
|
|
8
|
+
error?: string;
|
|
9
|
+
hide?: boolean;
|
|
10
|
+
edit?: Boolean;
|
|
11
|
+
active?: Boolean;
|
|
12
|
+
after?: string;
|
|
13
|
+
show?: Boolean;
|
|
14
|
+
view?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
item?: string;
|
|
17
|
+
};
|
|
18
|
+
export default function Number({ onValue, active, max, edit, title, error, show, hide, value, placeholder, className, name, after, view, }: Data): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface Data {
|
|
2
|
+
value?: string;
|
|
3
|
+
onValue?: Function;
|
|
4
|
+
name?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
hide?: string;
|
|
9
|
+
edit?: Boolean;
|
|
10
|
+
active?: Boolean;
|
|
11
|
+
after?: string;
|
|
12
|
+
show?: Boolean;
|
|
13
|
+
view?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
reload?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export default function ({ value, onValue, name, placeholder, className, title, error, edit, active, reload, after, }: Data): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface Input {
|
|
2
|
+
value?: string;
|
|
3
|
+
onValue?: Function;
|
|
4
|
+
name?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
hide?: boolean;
|
|
9
|
+
edit?: boolean;
|
|
10
|
+
show?: boolean;
|
|
11
|
+
active?: boolean;
|
|
12
|
+
after?: string;
|
|
13
|
+
view?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view, className, }: Input): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface Data {
|
|
2
|
+
value?: string;
|
|
3
|
+
onValue?: Function;
|
|
4
|
+
name?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
hide?: boolean;
|
|
9
|
+
edit?: Boolean;
|
|
10
|
+
active?: Boolean;
|
|
11
|
+
after?: string;
|
|
12
|
+
show?: Boolean;
|
|
13
|
+
view?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
options?: any;
|
|
16
|
+
}
|
|
17
|
+
export default function ({ title, error, edit, active, hide, value, onValue, options, placeholder, name, after, view, }: Data): "" | import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type Data = {
|
|
2
|
+
set: string;
|
|
3
|
+
value?: string;
|
|
4
|
+
onValue?: Function;
|
|
5
|
+
name?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
error?: string;
|
|
9
|
+
hide?: boolean;
|
|
10
|
+
edit?: boolean;
|
|
11
|
+
show?: boolean;
|
|
12
|
+
active?: boolean;
|
|
13
|
+
after?: string;
|
|
14
|
+
view?: string;
|
|
15
|
+
options: Array<any>;
|
|
16
|
+
className?: string;
|
|
17
|
+
item?: string;
|
|
18
|
+
};
|
|
19
|
+
export default function ({ set, value, onValue, name, placeholder, title, error, hide, edit, show, active, after, view, item, className, }: Data): import("react/jsx-runtime").JSX.Element | undefined;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (props: any): import("react/jsx-runtime").JSX.Element;
|
package/dist/Form/index.d.ts
CHANGED
|
@@ -1,8 +1,55 @@
|
|
|
1
|
+
import { useData, setValue, runReload } from './use';
|
|
2
|
+
import { default as Check } from './Check';
|
|
3
|
+
import { default as Users } from './Users';
|
|
4
|
+
import { default as Time } from './Time';
|
|
5
|
+
import { default as Textarea } from './Textarea';
|
|
6
|
+
import { default as Set } from './Set';
|
|
7
|
+
import { default as Select } from './Select';
|
|
8
|
+
import { default as Phone } from './Phone';
|
|
9
|
+
import { default as Password } from './Password';
|
|
10
|
+
import { default as Number } from './Number';
|
|
11
|
+
import { default as Notes } from './Notes';
|
|
12
|
+
import { default as Month } from './Month';
|
|
13
|
+
import { default as Money } from './Money';
|
|
14
|
+
import { default as Modal } from './Modal';
|
|
15
|
+
import { default as Date } from './Date';
|
|
16
|
+
import { default as Color } from './Color';
|
|
17
|
+
import { default as Code } from './Code';
|
|
18
|
+
import { default as Captcha } from './Captcha';
|
|
19
|
+
import { default as Generator } from './Generator';
|
|
20
|
+
import { default as Message } from './Message';
|
|
21
|
+
import { default as Button } from './Button';
|
|
1
22
|
import { default as Input } from './Input';
|
|
2
23
|
import { default as Switch } from './Switch';
|
|
3
24
|
|
|
4
25
|
declare const _default: {
|
|
26
|
+
Color: typeof Color;
|
|
27
|
+
Date: typeof Date;
|
|
28
|
+
Code: typeof Code;
|
|
29
|
+
Check: typeof Check;
|
|
5
30
|
Switch: ({ onClick, active }: Switch) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
Input:
|
|
31
|
+
Input: typeof Input;
|
|
32
|
+
Button: typeof Button;
|
|
33
|
+
Message: typeof Message;
|
|
34
|
+
Generator: typeof Generator;
|
|
35
|
+
Captcha: typeof Captcha;
|
|
36
|
+
Modal: typeof Modal;
|
|
37
|
+
Money: typeof Money;
|
|
38
|
+
Month: typeof Month;
|
|
39
|
+
Notes: typeof Notes;
|
|
40
|
+
Number: typeof Number;
|
|
41
|
+
Password: typeof Password;
|
|
42
|
+
Phone: typeof Phone;
|
|
43
|
+
Search: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
Select: typeof Select;
|
|
45
|
+
Set: typeof Set;
|
|
46
|
+
Textarea: typeof Textarea;
|
|
47
|
+
Time: typeof Time;
|
|
48
|
+
Users: typeof Users;
|
|
49
|
+
String: typeof Input;
|
|
50
|
+
Form: typeof Set;
|
|
51
|
+
runReload: typeof runReload;
|
|
52
|
+
useData: typeof useData;
|
|
53
|
+
setValue: typeof setValue;
|
|
7
54
|
};
|
|
8
55
|
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface Input {
|
|
2
|
+
value?: string;
|
|
3
|
+
onValue?: Function;
|
|
4
|
+
name?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
hide?: string;
|
|
9
|
+
edit?: Boolean;
|
|
10
|
+
active?: Boolean;
|
|
11
|
+
after?: string;
|
|
12
|
+
show?: Boolean;
|
|
13
|
+
view?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
package/dist/Format/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as DeclensionWord } from './DeclensionWord';
|
|
1
2
|
import { default as CapitalizeFirstLetter } from './CapitalizeFirstLetter';
|
|
2
3
|
import { default as Percent } from './Percent';
|
|
3
4
|
import { default as Number } from './Number';
|
|
@@ -23,5 +24,6 @@ declare const _default: {
|
|
|
23
24
|
Number: typeof Number;
|
|
24
25
|
Percent: typeof Percent;
|
|
25
26
|
CapitalizeFirstLetter: typeof CapitalizeFirstLetter;
|
|
27
|
+
DeclensionWord: typeof DeclensionWord;
|
|
26
28
|
};
|
|
27
29
|
export default _default;
|