elcrm 0.8.13 → 0.8.15

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,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,8 @@ 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';
23
25
  import { useData, setValue, runReload } from './use';
24
26
 
25
27
  declare const _default: {
@@ -51,5 +53,7 @@ declare const _default: {
51
53
  runReload: typeof runReload;
52
54
  useData: typeof useData;
53
55
  setValue: typeof setValue;
56
+ Palette: ({ label, onValue, value, name, item }: Palette) => import("react/jsx-runtime").JSX.Element;
57
+ Toogle: ({ onValue, value, name, item }: Toogle) => import("react/jsx-runtime").JSX.Element;
54
58
  };
55
59
  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[];
@@ -46,7 +46,7 @@ export declare function setUser(s: any): void;
46
46
  export declare function getUser(): any;
47
47
  export declare function setBookmarks(j: any): void;
48
48
  export declare function getBookmarks(): any;
49
- export declare function loadBase(n: any): any;
49
+ export declare function loadBase(array: any): void;
50
50
  export declare function getBase(n: string): any;
51
51
  export declare function setBase(n: string, j: any): void;
52
52
  export declare function editBase(n: string, j: any, d: any): void;