elcrm 0.9.144 → 0.9.145
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/Form/Color.d.ts +1 -1
- package/dist/Form/Files.d.ts +1 -1
- package/dist/Form/Image.d.ts +1 -1
- package/dist/Form/Input.d.ts +1 -1
- package/dist/Form/Money.d.ts +1 -1
- package/dist/Form/Notes.d.ts +1 -3
- package/dist/Form/Textarea.d.ts +1 -2
- package/dist/Form/Time.d.ts +1 -2
- package/dist/index.es.js +1073 -1081
- package/dist/index.umd.js +9 -9
- package/package.json +1 -1
package/dist/Form/Color.d.ts
CHANGED
|
@@ -18,5 +18,5 @@ interface Input {
|
|
|
18
18
|
id?: string;
|
|
19
19
|
className?: string;
|
|
20
20
|
}
|
|
21
|
-
export default function ({ id, value, onValue, name, placeholder, title, error, hide, length, edit, active, after, show, view,
|
|
21
|
+
export default function ({ id, value, onValue, name, placeholder, title, error, hide, length, edit, active, after, show, view, onSave, className, }: Input): import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export {};
|
package/dist/Form/Files.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ interface Input {
|
|
|
16
16
|
view?: string;
|
|
17
17
|
className?: string;
|
|
18
18
|
}
|
|
19
|
-
export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view,
|
|
19
|
+
export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view, onSave, className, }: Input): "" | import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export {};
|
package/dist/Form/Image.d.ts
CHANGED
|
@@ -18,5 +18,5 @@ interface Input {
|
|
|
18
18
|
className?: string;
|
|
19
19
|
type?: "png" | "jpeg" | "webp";
|
|
20
20
|
}
|
|
21
|
-
export default function ({ value, onValue, name, placeholder, title, link, error, hide, edit, active, after, show, type, view,
|
|
21
|
+
export default function ({ value, onValue, name, placeholder, title, link, error, hide, edit, active, after, show, type, view, onSave, className, }: Input): "" | import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export {};
|
package/dist/Form/Input.d.ts
CHANGED
|
@@ -21,5 +21,5 @@ interface Input {
|
|
|
21
21
|
maxLength?: number;
|
|
22
22
|
isReload?: boolean;
|
|
23
23
|
}
|
|
24
|
-
export default function ({ id, value, onValue, name, placeholder, title, error, hide, edit, active, after, before, show, maxLength,
|
|
24
|
+
export default function ({ id, value, onValue, name, placeholder, title, error, hide, edit, active, after, before, show, maxLength, onSave, className, isCopy, isReload, }: Input): "" | import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export {};
|
package/dist/Form/Money.d.ts
CHANGED
|
@@ -19,5 +19,5 @@ interface Input {
|
|
|
19
19
|
course?: number;
|
|
20
20
|
isClear?: boolean;
|
|
21
21
|
}
|
|
22
|
-
export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, course, view,
|
|
22
|
+
export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, course, view, type, onSave, className, isClear, }: Input): "" | import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export {};
|
package/dist/Form/Notes.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
type Input = {
|
|
2
2
|
value?: string;
|
|
3
3
|
onValue?: Function;
|
|
4
|
-
onBlur?: Function;
|
|
5
4
|
onSave?: Function;
|
|
6
5
|
name?: string;
|
|
7
6
|
placeholder?: string;
|
|
@@ -36,11 +35,10 @@ type Input = {
|
|
|
36
35
|
* @param {boolean} [props.show] - отображать
|
|
37
36
|
* @param {number} [props.maxLength] - максимальная длина
|
|
38
37
|
* @param {string} [props.view] - тип view
|
|
39
|
-
* @param {function} [props.onBlur] - callback на blur
|
|
40
38
|
* @param {function} [props.onSave] - callback на save
|
|
41
39
|
* @param {string} [props.className] - css class
|
|
42
40
|
* @param {boolean} [props.isCopy] - разрешить копирование
|
|
43
41
|
* @return {ReactElement} - поле ввода
|
|
44
42
|
*/
|
|
45
|
-
export default function ({ id, value, onValue, name, placeholder, title, error, hide, edit, active, after, show, maxLength, view,
|
|
43
|
+
export default function ({ id, value, onValue, name, placeholder, title, error, hide, edit, active, after, show, maxLength, view, onSave, className, isCopy, }: Input): "" | import("react/jsx-runtime").JSX.Element;
|
|
46
44
|
export {};
|
package/dist/Form/Textarea.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
interface Input {
|
|
2
2
|
value?: string;
|
|
3
3
|
onValue?: Function;
|
|
4
|
-
onBlur?: Function;
|
|
5
4
|
onSave?: Function;
|
|
6
5
|
name?: string;
|
|
7
6
|
placeholder?: string;
|
|
@@ -17,5 +16,5 @@ interface Input {
|
|
|
17
16
|
className?: string;
|
|
18
17
|
maxLength?: number;
|
|
19
18
|
}
|
|
20
|
-
export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view,
|
|
19
|
+
export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view, maxLength, onSave, className, }: Input): "" | import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
export {};
|
package/dist/Form/Time.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
interface Input {
|
|
2
2
|
value?: string;
|
|
3
3
|
onValue?: Function;
|
|
4
|
-
onBlur?: Function;
|
|
5
4
|
onSave?: Function;
|
|
6
5
|
name?: string;
|
|
7
6
|
placeholder?: string;
|
|
@@ -16,5 +15,5 @@ interface Input {
|
|
|
16
15
|
view?: string;
|
|
17
16
|
className?: string;
|
|
18
17
|
}
|
|
19
|
-
export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view,
|
|
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;
|
|
20
19
|
export {};
|