elcrm 0.8.67 → 0.8.69

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.
@@ -13,7 +13,8 @@ interface Input {
13
13
  after?: string;
14
14
  show?: Boolean;
15
15
  view?: string;
16
+ separator: string;
16
17
  className?: string;
17
18
  }
18
- export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view, onSave, className, }: Input): "" | import("react/jsx-runtime").JSX.Element;
19
+ export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view, onSave, className, separator, }: Input): "" | import("react/jsx-runtime").JSX.Element;
19
20
  export {};
@@ -1,6 +1,12 @@
1
+ export type onActive = {
2
+ value: number;
3
+ is: boolean;
4
+ name?: string;
5
+ id?: number;
6
+ };
1
7
  interface Switch {
2
8
  active?: any;
3
- onActive?: (j: any) => {};
9
+ onActive?: (j: onActive) => void;
4
10
  name?: string;
5
11
  id?: any;
6
12
  }
@@ -0,0 +1 @@
1
+ export { type onActive as TonActive } from '../Switch/Switch';
package/dist/index.d.ts CHANGED
@@ -37,3 +37,4 @@ export { default as Company } from './Company';
37
37
  export { default as WebRTC } from './WebRTC/WebRTC';
38
38
  export { default as Phone } from './Phone';
39
39
  export { default as Switch } from './Switch';
40
+ export * from './Type';