elcrm 0.8.14 → 0.8.16

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.
@@ -0,0 +1,20 @@
1
+ interface Input {
2
+ value?: string;
3
+ onValue?: Function;
4
+ onBlur?: Function;
5
+ onSave?: Function;
6
+ name?: string;
7
+ placeholder?: string;
8
+ title?: string;
9
+ label?: string;
10
+ error?: string;
11
+ hide?: boolean;
12
+ edit?: boolean;
13
+ active?: Boolean;
14
+ after?: string;
15
+ show?: Boolean;
16
+ view?: string;
17
+ className?: string;
18
+ }
19
+ export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view, onBlur, onSave, className, }: Input): "" | import("react/jsx-runtime").JSX.Element;
20
+ export {};
@@ -0,0 +1,9 @@
1
+ interface Palette {
2
+ onValue: Function;
3
+ name?: string;
4
+ item?: string;
5
+ value?: string;
6
+ label?: string;
7
+ }
8
+ declare const Palette: ({ label, onValue, value, name, item }: Palette) => import("react/jsx-runtime").JSX.Element;
9
+ export default Palette;
@@ -1 +1,20 @@
1
- export default function (props: any): import("react/jsx-runtime").JSX.Element;
1
+ interface Input {
2
+ value?: string;
3
+ onValue?: Function;
4
+ onBlur?: Function;
5
+ onSave?: Function;
6
+ name?: string;
7
+ placeholder?: string;
8
+ title?: string;
9
+ label?: string;
10
+ error?: string;
11
+ hide?: boolean;
12
+ edit?: boolean;
13
+ active?: Boolean;
14
+ after?: string;
15
+ show?: Boolean;
16
+ view?: string;
17
+ className?: string;
18
+ }
19
+ export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view, onBlur, onSave, className, }: Input): "" | import("react/jsx-runtime").JSX.Element;
20
+ export {};
@@ -0,0 +1,8 @@
1
+ interface Toogle {
2
+ onValue: Function;
3
+ name?: string;
4
+ item?: string;
5
+ value?: string;
6
+ }
7
+ declare const Toogle: ({ onValue, value, name, item }: Toogle) => import("react/jsx-runtime").JSX.Element;
8
+ export default Toogle;
@@ -20,6 +20,9 @@ import { default as Textarea } from './Textarea';
20
20
  import { default as Time } from './Time';
21
21
  import { default as Users } from './Users';
22
22
  import { default as Check } from './Check';
23
+ import { default as Palette } from './Palette';
24
+ import { default as Toogle } from './Toogle';
25
+ import { default as Group } from './Group';
23
26
  import { useData, setValue, runReload } from './use';
24
27
 
25
28
  declare const _default: {
@@ -51,5 +54,8 @@ declare const _default: {
51
54
  runReload: typeof runReload;
52
55
  useData: typeof useData;
53
56
  setValue: typeof setValue;
57
+ Palette: ({ label, onValue, value, name, item }: Palette) => import("react/jsx-runtime").JSX.Element;
58
+ Toogle: ({ onValue, value, name, item }: Toogle) => import("react/jsx-runtime").JSX.Element;
59
+ Group: typeof Group;
54
60
  };
55
61
  export default _default;
@@ -20,6 +20,7 @@ import { default as Textarea } from '../Form/Textarea';
20
20
  import { default as Time } from '../Form/Time';
21
21
  import { default as Users } from '../Form/Users';
22
22
  import { default as Check } from '../Form/Check';
23
+ import { default as Toogle } from '../Form/Toogle';
23
24
 
24
25
  declare const _default: {
25
26
  Color: typeof Color;
@@ -46,5 +47,6 @@ declare const _default: {
46
47
  Time: typeof Time;
47
48
  Users: typeof Users;
48
49
  String: typeof Input;
50
+ Toogle: ({ onValue, value, name, item }: Toogle) => import("react/jsx-runtime").JSX.Element;
49
51
  };
50
52
  export default _default;
@@ -17,7 +17,7 @@ export declare function getPage(): any;
17
17
  export declare function useModule(): any[];
18
18
  export declare function setModule(module: string, reload: string): void;
19
19
  export declare function getModule(): any;
20
- export declare function useTabs(tab: string): any[];
20
+ export declare function useTabs(tab?: any): any[] | undefined;
21
21
  export declare function setTabs(tabs: string, reload: string): void;
22
22
  export declare function getTabs(): any;
23
23
  export declare function useId(fn?: (id: number) => void): any[];