elcrm 0.9.57 → 0.9.59

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.
@@ -2,12 +2,13 @@ export type TButton = {
2
2
  onClick?: Function;
3
3
  onSend?: Function;
4
4
  onRef?: any;
5
- label: String;
5
+ label?: String;
6
6
  className?: string;
7
7
  size?: "m" | "s" | "l";
8
8
  mode?: "primary" | "secondary" | "tertiary" | "outline" | "link";
9
9
  view?: "confirm" | "cancel" | "action" | "disabled" | "none";
10
10
  awaitText?: string;
11
+ children?: any;
11
12
  };
12
13
  /**
13
14
  * The Button component.
@@ -29,5 +30,5 @@ export type TButton = {
29
30
  *
30
31
  * @returns {React.ReactElement} The button component.
31
32
  */
32
- declare const Button: ({ onClick, onSend, size, view, mode, className, label, onRef, awaitText, }: TButton) => import("react/jsx-runtime").JSX.Element;
33
+ declare const Button: ({ onClick, onSend, size, view, mode, children, className, label, onRef, awaitText, }: TButton) => import("react/jsx-runtime").JSX.Element;
33
34
  export default Button;
@@ -0,0 +1,9 @@
1
+ import { CSSProperties } from 'react';
2
+ export type TProgress = {
3
+ name: string;
4
+ className: string;
5
+ value?: any;
6
+ title?: any;
7
+ style?: CSSProperties;
8
+ };
9
+ export default function ({ name, value, title, style, className }: TProgress): import("react/jsx-runtime").JSX.Element;
@@ -25,6 +25,7 @@ import { default as Toogle } from './Toogle';
25
25
  import { default as Group } from './Group';
26
26
  import { default as Options } from './Options';
27
27
  import { default as Image } from './Image';
28
+ import { default as Progress } from './Progress';
28
29
  import { useData, setValue, runReload, useError } from './use';
29
30
  declare const _default: {
30
31
  Color: typeof Color;
@@ -62,5 +63,6 @@ declare const _default: {
62
63
  Group: typeof Group;
63
64
  Options: typeof Options;
64
65
  useError: typeof useError;
66
+ Progress: typeof Progress;
65
67
  };
66
68
  export default _default;
@@ -24,6 +24,7 @@ import { default as Textarea } from '../Form/Textarea';
24
24
  import { default as Time } from '../Form/Time';
25
25
  import { default as Toogle } from '../Form/Toogle';
26
26
  import { default as Users } from '../Form/Users';
27
+ import { default as Progress } from '../Form/Progress';
27
28
  declare const _default: {
28
29
  Color: typeof Color;
29
30
  Date: typeof Date;
@@ -53,5 +54,6 @@ declare const _default: {
53
54
  Toogle: ({ onValue, value, name, item }: Toogle) => import("react/jsx-runtime").JSX.Element;
54
55
  Group: typeof Group;
55
56
  Options: typeof Options;
57
+ Progress: typeof Progress;
56
58
  };
57
59
  export default _default;