@arudovwen/form-builder-react 1.9.1 → 1.9.2
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-builder-react.css +1 -1
- package/dist/form-builder.es.js +1 -1
- package/dist/form-builder.umd.js +15 -15
- package/dist/{index-CNwly3rk.js → index-BCYTk5tZ.js} +1925 -1836
- package/dist/{logic-flow-C6RomPTZ.js → logic-flow-CyfZlWt6.js} +1 -1
- package/package.json +1 -1
- package/types/components/elements/basic-text.d.ts +2 -1
- package/types/components/elements/data-lookup.d.ts +4 -0
- package/types/components/forms/dynamic-input.d.ts +2 -1
- package/types/utils/contants.d.ts +2 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as ce, jsx as D, Fragment as De } from "react/jsx-runtime";
|
|
2
2
|
import ht, { memo as le, useState as xe, useCallback as we, forwardRef as Oo, useRef as ne, useEffect as ie, useContext as gt, createContext as fn, useMemo as be, useLayoutEffect as Aa } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
import { A as Ia } from "./index-
|
|
4
|
+
import { A as Ia } from "./index-BCYTk5tZ.js";
|
|
5
5
|
function ue(e) {
|
|
6
6
|
if (typeof e == "string" || typeof e == "number") return "" + e;
|
|
7
7
|
let t = "";
|
package/package.json
CHANGED
|
@@ -14,11 +14,12 @@ interface InputProps {
|
|
|
14
14
|
trigger?: any;
|
|
15
15
|
prefix?: string;
|
|
16
16
|
disabled?: boolean;
|
|
17
|
+
readOnly?: boolean;
|
|
17
18
|
watch?: any;
|
|
18
19
|
min?: number;
|
|
19
20
|
max?: number;
|
|
20
21
|
description?: string;
|
|
21
22
|
onChange?: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
22
23
|
}
|
|
23
|
-
export declare const DynamicInput: ({ label, name, register, errors, className, type, placeholder, isFloating, setValue, value, trigger, prefix, disabled, watch, min, max, description, onChange, }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare const DynamicInput: ({ label, name, register, errors, className, type, placeholder, isFloating, setValue, value, trigger, prefix, disabled, watch, min, max, description, onChange, readOnly, }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
25
|
export {};
|
|
@@ -5,7 +5,7 @@ export declare enum ElementKind {
|
|
|
5
5
|
SELECT = "selectField",
|
|
6
6
|
CASCADE_SELECT = "cascadeSelect",
|
|
7
7
|
MULTI_SELECT = "multiSelect",
|
|
8
|
-
|
|
8
|
+
DATA_LOOKUP = "dataLookup",
|
|
9
9
|
NUMBER = "numberField",
|
|
10
10
|
AMOUNT = "amountField",
|
|
11
11
|
DATE = "date",
|
|
@@ -128,6 +128,7 @@ export declare const AllowTableOptions: string[];
|
|
|
128
128
|
export declare const AllowTextOptions: string[];
|
|
129
129
|
export declare const noAllowEdit: string[];
|
|
130
130
|
export declare const allowValue: string[];
|
|
131
|
+
export declare const AllowValueSource: string[];
|
|
131
132
|
export declare const FileTypes: {
|
|
132
133
|
value: string;
|
|
133
134
|
label: string;
|