@elcrm/form 0.0.51 → 0.0.53
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/index.css +1 -1
- package/dist/index.es.js +1050 -1037
- package/dist/index.umd.js +29 -29
- package/dist/src/lib/Field.d.ts +2 -2
- package/dist/src/lib/fields/Input.d.ts +1 -1
- package/dist/src/lib/fields/Textarea.d.ts +1 -1
- package/package.json +1 -1
package/dist/src/lib/Field.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
interface Input {
|
|
3
2
|
element_blok?: any;
|
|
4
3
|
element_input?: any;
|
|
@@ -8,6 +7,7 @@ interface Input {
|
|
|
8
7
|
after?: any;
|
|
9
8
|
children?: any;
|
|
10
9
|
ref?: any;
|
|
10
|
+
error?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const MyComponent:
|
|
12
|
+
declare const MyComponent: import('react').ForwardRefExoticComponent<Omit<Input, "ref"> & import('react').RefAttributes<unknown>>;
|
|
13
13
|
export default MyComponent;
|
|
@@ -24,4 +24,4 @@ import { TInput } from './type';
|
|
|
24
24
|
* @param {boolean} [isReload] - Нужно ли обновлять данные при изменении.
|
|
25
25
|
* @param {boolean} [spellCheck] - Включить проверку орфографии.
|
|
26
26
|
*/
|
|
27
|
-
export default function ({ value, onValue, name, inputmode, placeholder, title, label, show, hide, edit, active, maxLength, onSave, className, spellCheck, isCopy, isReload, }: TInput): import("react/jsx-runtime").JSX.Element | "";
|
|
27
|
+
export default function ({ value, onValue, name, inputmode, placeholder, title, label, show, hide, edit, active, maxLength, onSave, className, spellCheck, isCopy, isReload, error, }: TInput): import("react/jsx-runtime").JSX.Element | "";
|
|
@@ -20,4 +20,4 @@ import { TInput } from './type';
|
|
|
20
20
|
* @param {boolean} [isCopy] - разрешить копирование
|
|
21
21
|
* @return {ReactElement} - поле ввода
|
|
22
22
|
*/
|
|
23
|
-
export default function ({ value, onValue, name, placeholder, title, label, hide, edit, active, after, show, maxLength, onSave, className, isCopy, }: TInput): import("react/jsx-runtime").JSX.Element | "";
|
|
23
|
+
export default function ({ value, onValue, name, placeholder, title, label, hide, edit, active, after, show, maxLength, error, onSave, className, isCopy, }: TInput): import("react/jsx-runtime").JSX.Element | "";
|