@povio/ui 4.0.0-rc.1 → 4.0.0-rc.3
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-NZGvsbuM.d.ts → Form-BQXPNkTh.d.ts} +1 -1
- package/dist/{Inputs-DiFAIBZS.d.ts → Inputs-CrXedhHr.d.ts} +1 -1
- package/dist/{QuerySelect-V9C2b67x.d.ts → QuerySelect-Bpz-qI9h.d.ts} +1 -0
- package/dist/components/query-autocomplete.d.ts +1 -1
- package/dist/components/query-autocomplete.js +33 -16
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +32 -9
- package/dist/{dynamicInputs-uIhp1Ly-.d.ts → dynamicInputs-2sABu31U.d.ts} +4 -4
- package/dist/{fieldAdapter-BaQgRGA9.js → fieldAdapter-DESnl1Sc.js} +5 -3
- package/dist/index.d.ts +3 -3
- package/dist/{query-autocomplete-BeNfRDM_.d.ts → query-autocomplete-DV8fEkK2.d.ts} +1 -1
- package/dist/{query-select-Ded04eju.d.ts → query-select-BZ3-5WTu.d.ts} +1 -1
- package/dist/{queryAutocomplete.types-BlpCYzfA.d.ts → queryAutocomplete.types-Dm8Ttx4v.d.ts} +1 -0
- package/dist/rhf/autocomplete.js +1 -1
- package/dist/rhf/checkbox-group.js +1 -1
- package/dist/rhf/checkbox.js +1 -1
- package/dist/rhf/date-picker.js +1 -1
- package/dist/rhf/date-range-picker.js +1 -1
- package/dist/rhf/date-time-picker.js +1 -1
- package/dist/rhf/file-input.js +1 -1
- package/dist/rhf/file-upload.js +1 -1
- package/dist/rhf/input.js +1 -1
- package/dist/rhf/inputs.d.ts +1 -1
- package/dist/rhf/number-field.js +1 -1
- package/dist/rhf/number-range-input.js +1 -1
- package/dist/rhf/password-input.js +1 -1
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/query-autocomplete.js +2 -2
- package/dist/rhf/query-select.d.ts +1 -1
- package/dist/rhf/query-select.js +2 -2
- package/dist/rhf/radio-group.js +1 -1
- package/dist/rhf/rich-text-editor.js +1 -1
- package/dist/rhf/select.js +1 -1
- package/dist/rhf/slider.js +1 -1
- package/dist/rhf/switch.js +1 -1
- package/dist/rhf/text-area.js +1 -1
- package/dist/rhf/time-picker.js +1 -1
- package/dist/rhf/toggle-group.js +1 -1
- package/dist/rhf.d.ts +3 -3
- package/dist/tanstack/form.d.ts +1 -1
- package/dist/tanstack/inputs.d.ts +2 -2
- package/dist/tanstack/query-select.d.ts +1 -1
- package/dist/tanstack.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as UIForm, l as UseFormProps, o as FormSubmitErrorHandler, s as FormSubmitHandler } from "./form.binding-DVJ5F0JE.js";
|
|
2
|
-
import { c as InputComponentProps, i as DefaultComponentType, r as AllowedComponentType, u as InputDefBaseProps } from "./dynamicInputs-
|
|
2
|
+
import { c as InputComponentProps, i as DefaultComponentType, r as AllowedComponentType, u as InputDefBaseProps } from "./dynamicInputs-2sABu31U.js";
|
|
3
3
|
import { DependencyList, ReactNode } from "react";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/hooks/useAutosave.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as UIForm } from "./form.binding-DVJ5F0JE.js";
|
|
2
|
-
import { l as InputDef } from "./dynamicInputs-
|
|
2
|
+
import { l as InputDef } from "./dynamicInputs-2sABu31U.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/components/inputs/Inputs/Inputs.d.ts
|
|
@@ -10,6 +10,7 @@ type QueryDataType<TQueryFn extends QueryFn> = Exclude<ReturnType<TQueryFn>["dat
|
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/components/inputs/Selection/Select/QuerySelect.d.ts
|
|
12
12
|
type QuerySelectProps<TFieldValues extends FieldValues, TQueryFn extends QueryFn, TKey extends Key = Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>> = OmitDiscriminatedUnion<SelectProps<TKey, TInitialSelectItem>, "items" | "totalItems" | keyof GroupedSelectProps> & GroupedSelectControlProps<TFieldValues, TKey, TInitialSelectItem> & {
|
|
13
|
+
fireBlurOnChange?: boolean;
|
|
13
14
|
query: TQueryFn;
|
|
14
15
|
queryParams?: Parameters<TQueryFn>[0];
|
|
15
16
|
queryOptions?: Parameters<TQueryFn>[1];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as FieldValues } from "../form.binding-DVJ5F0JE.js";
|
|
2
2
|
import { s as SelectItem } from "../SelectBase-DefgAEzh.js";
|
|
3
|
-
import { n as QueryFn, t as QueryAutocompleteProps } from "../queryAutocomplete.types-
|
|
3
|
+
import { n as QueryFn, t as QueryAutocompleteProps } from "../queryAutocomplete.types-Dm8Ttx4v.js";
|
|
4
4
|
//#region src/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts
|
|
5
5
|
declare const QueryAutocompleteComponent: <TFieldValues extends FieldValues, TSelectItem extends SelectItem<any>, TQueryFn extends QueryFn>(props: QueryAutocompleteProps<TFieldValues, TSelectItem, TQueryFn>) => import("react").JSX.Element;
|
|
6
6
|
declare const QueryAutocomplete: typeof QueryAutocompleteComponent;
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-BvBsrMFI.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-DDGNxVX8.js";
|
|
3
3
|
import { t as FieldController } from "../form.binding-DLM7NA2s.js";
|
|
4
|
+
import { t as getStaticInputFocusTarget } from "../useStaticInputHandoff-Denoy4V_.js";
|
|
4
5
|
import { Autocomplete } from "./autocomplete.js";
|
|
5
6
|
import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
|
|
6
|
-
import { memo, useCallback, useMemo, useState } from "react";
|
|
7
|
+
import { memo, useCallback, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
7
8
|
import { jsx } from "react/jsx-runtime";
|
|
8
9
|
//#region src/components/inputs/Selection/Autocomplete/QueryAutocomplete.tsx
|
|
9
|
-
const LoadedQueryAutocompleteContent = ({ query, queryParams, queryOptions, queryMap, resolveSelectedItemsWithIds, isQueryEnabledInitially = false, leadingContent, ...props }) => {
|
|
10
|
+
const LoadedQueryAutocompleteContent = ({ query, queryParams, queryOptions, queryMap, resolveSelectedItemsWithIds, isQueryEnabledInitially = false, initialFocusFromEnd, leadingContent, ...props }) => {
|
|
10
11
|
"use no memo";
|
|
11
12
|
const ui = UIConfig.useConfig();
|
|
12
13
|
const [search, setSearch] = useState("");
|
|
13
|
-
const
|
|
14
|
+
const focusRootRef = useRef(null);
|
|
15
|
+
const didRestoreFocusRef = useRef(false);
|
|
16
|
+
useLayoutEffect(() => {
|
|
17
|
+
if (initialFocusFromEnd === void 0 || didRestoreFocusRef.current || !focusRootRef.current) return;
|
|
18
|
+
didRestoreFocusRef.current = true;
|
|
19
|
+
getStaticInputFocusTarget(focusRootRef.current, initialFocusFromEnd).focus();
|
|
20
|
+
}, [initialFocusFromEnd]);
|
|
14
21
|
const value = "value" in props ? props.value : void 0;
|
|
15
22
|
const selectedIdsToResolve = getSelectionIdsToResolve({
|
|
16
23
|
initialSelection: props.initialSelection,
|
|
@@ -30,12 +37,8 @@ const LoadedQueryAutocompleteContent = ({ query, queryParams, queryOptions, quer
|
|
|
30
37
|
initialQueryState: shouldDisableInitialQuery,
|
|
31
38
|
selectedIdsToResolve: selectedIdsToResolve.items
|
|
32
39
|
});
|
|
33
|
-
const handleChange = useCallback((value) => {
|
|
34
|
-
onChange?.(value);
|
|
35
|
-
onBlur?.({ target: { value: null } });
|
|
36
|
-
}, [onBlur, onChange]);
|
|
37
40
|
const autocompleteProps = useMemo(() => {
|
|
38
|
-
const { isInitialQueryDisabled: _,
|
|
41
|
+
const { isInitialQueryDisabled: _, ...rest } = props;
|
|
39
42
|
return rest;
|
|
40
43
|
}, [props]);
|
|
41
44
|
const onSearchChange = useCallback((value) => {
|
|
@@ -49,8 +52,8 @@ const LoadedQueryAutocompleteContent = ({ query, queryParams, queryOptions, quer
|
|
|
49
52
|
onSearchChange,
|
|
50
53
|
isClientSearchDisabled: true,
|
|
51
54
|
isLoading,
|
|
52
|
-
|
|
53
|
-
renderStaticInput: props.renderStaticInput ?? ui.queryAutocomplete?.renderStaticInput,
|
|
55
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(props.ref, focusRootRef),
|
|
56
|
+
renderStaticInput: initialFocusFromEnd === void 0 && (props.renderStaticInput ?? ui.queryAutocomplete?.renderStaticInput),
|
|
54
57
|
searchDebounceDelay: props.searchDebounceDelay ?? ui.queryAutocomplete?.searchDebounceDelay,
|
|
55
58
|
onMouseEnter: handleEnableQuery,
|
|
56
59
|
onFocusCapture: handleEnableQuery,
|
|
@@ -68,10 +71,12 @@ const QueryAutocompleteContent = (props) => {
|
|
|
68
71
|
value,
|
|
69
72
|
mapInitialToSelectItem: props.mapInitialToSelectItem
|
|
70
73
|
});
|
|
74
|
+
const [initialFocusFromEnd, setInitialFocusFromEnd] = useState();
|
|
71
75
|
const [isQueryMounted, setIsQueryMounted] = useState(() => !isInitialQueryDisabled && !selection.isResolvedByInitialSelection);
|
|
72
76
|
if (!selection.isResolvedByInitialSelection || isQueryMounted) return /* @__PURE__ */ jsx(LoadedQueryAutocompleteContent, {
|
|
73
77
|
...props,
|
|
74
|
-
isQueryEnabledInitially: isQueryMounted
|
|
78
|
+
isQueryEnabledInitially: isQueryMounted,
|
|
79
|
+
initialFocusFromEnd
|
|
75
80
|
});
|
|
76
81
|
const { query: _, queryParams: _queryParams, queryOptions: _queryOptions, queryMap: _queryMap, resolveSelectedItemsWithIds: _resolveSelectedItemsWithIds, isInitialQueryDisabled: _isInitialQueryDisabled, ...autocompleteProps } = props;
|
|
77
82
|
const mountQuery = () => setIsQueryMounted(true);
|
|
@@ -80,12 +85,18 @@ const QueryAutocompleteContent = (props) => {
|
|
|
80
85
|
items: [],
|
|
81
86
|
renderStaticInput: props.renderStaticInput ?? ui.queryAutocomplete?.renderStaticInput,
|
|
82
87
|
onMouseEnter: mountQuery,
|
|
83
|
-
onFocusCapture:
|
|
88
|
+
onFocusCapture: (event) => {
|
|
89
|
+
setInitialFocusFromEnd(event.relatedTarget instanceof Node && !!(event.target.compareDocumentPosition(event.relatedTarget) & Node.DOCUMENT_POSITION_FOLLOWING));
|
|
90
|
+
mountQuery();
|
|
91
|
+
}
|
|
84
92
|
});
|
|
85
93
|
};
|
|
86
94
|
const QueryAutocompleteComponent = (props) => {
|
|
87
|
-
|
|
88
|
-
|
|
95
|
+
const ui = UIConfig.useConfig();
|
|
96
|
+
const { fireBlurOnChange: fireBlurOnChangeProp, ...inputProps } = props;
|
|
97
|
+
const fireBlurOnChange = fireBlurOnChangeProp ?? ui.select.fireBlurOnChange;
|
|
98
|
+
if ("field" in inputProps && inputProps.field) {
|
|
99
|
+
const { field, ref, ...innerProps } = inputProps;
|
|
89
100
|
const controlWithOptions = field.form;
|
|
90
101
|
return /* @__PURE__ */ jsx(FieldController, {
|
|
91
102
|
control: field.form,
|
|
@@ -96,7 +107,7 @@ const QueryAutocompleteComponent = (props) => {
|
|
|
96
107
|
value: field.value,
|
|
97
108
|
onChange: (value) => {
|
|
98
109
|
field.onChange(value);
|
|
99
|
-
field.onBlur();
|
|
110
|
+
if (fireBlurOnChange) field.onBlur();
|
|
100
111
|
},
|
|
101
112
|
onBlur: field.onBlur,
|
|
102
113
|
isDirty,
|
|
@@ -105,7 +116,13 @@ const QueryAutocompleteComponent = (props) => {
|
|
|
105
116
|
})
|
|
106
117
|
});
|
|
107
118
|
}
|
|
108
|
-
return /* @__PURE__ */ jsx(QueryAutocompleteContent, {
|
|
119
|
+
return /* @__PURE__ */ jsx(QueryAutocompleteContent, {
|
|
120
|
+
...inputProps,
|
|
121
|
+
onChange: (value) => {
|
|
122
|
+
inputProps.onChange?.(value);
|
|
123
|
+
if (fireBlurOnChange) inputProps.onBlur?.({ target: { value } });
|
|
124
|
+
}
|
|
125
|
+
});
|
|
109
126
|
};
|
|
110
127
|
const QueryAutocomplete = memo(QueryAutocompleteComponent);
|
|
111
128
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as QuerySelectProps, t as QuerySelect } from "../QuerySelect-
|
|
1
|
+
import { n as QuerySelectProps, t as QuerySelect } from "../QuerySelect-Bpz-qI9h.js";
|
|
2
2
|
export { QuerySelect, QuerySelectProps };
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-BvBsrMFI.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-DDGNxVX8.js";
|
|
3
3
|
import { t as FieldController } from "../form.binding-DLM7NA2s.js";
|
|
4
|
+
import { t as getStaticInputFocusTarget } from "../useStaticInputHandoff-Denoy4V_.js";
|
|
4
5
|
import { t as Select } from "../Select-O9dprkTa.js";
|
|
5
6
|
import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
|
|
6
|
-
import { memo, useCallback, useMemo, useState } from "react";
|
|
7
|
+
import { memo, useCallback, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
7
8
|
import { jsx } from "react/jsx-runtime";
|
|
8
9
|
//#region src/components/inputs/Selection/Select/QuerySelect.tsx
|
|
9
|
-
const LoadedQuerySelectContent = ({ query, queryParams, queryOptions, queryMap, resolveSelectedItemsWithIds, isQueryEnabledInitially = false, ...props }) => {
|
|
10
|
+
const LoadedQuerySelectContent = ({ query, queryParams, queryOptions, queryMap, resolveSelectedItemsWithIds, isQueryEnabledInitially = false, initialFocusFromEnd, ...props }) => {
|
|
10
11
|
const ui = UIConfig.useConfig();
|
|
11
12
|
const [search, setSearch] = useState("");
|
|
13
|
+
const focusRootRef = useRef(null);
|
|
14
|
+
const didRestoreFocusRef = useRef(false);
|
|
15
|
+
useLayoutEffect(() => {
|
|
16
|
+
if (initialFocusFromEnd === void 0 || didRestoreFocusRef.current || !focusRootRef.current) return;
|
|
17
|
+
didRestoreFocusRef.current = true;
|
|
18
|
+
getStaticInputFocusTarget(focusRootRef.current, initialFocusFromEnd).focus();
|
|
19
|
+
}, [initialFocusFromEnd]);
|
|
12
20
|
const isSearchable = props.isSearchable ?? ui.select.isSearchable;
|
|
13
21
|
const value = "value" in props ? props.value : void 0;
|
|
14
22
|
const selectedIdsToResolve = getSelectionIdsToResolve({
|
|
@@ -68,7 +76,8 @@ const LoadedQuerySelectContent = ({ query, queryParams, queryOptions, queryMap,
|
|
|
68
76
|
]);
|
|
69
77
|
return /* @__PURE__ */ jsx(Select, {
|
|
70
78
|
...asyncSelectProps,
|
|
71
|
-
|
|
79
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(props.ref, focusRootRef),
|
|
80
|
+
renderStaticInput: initialFocusFromEnd === void 0 && (props.renderStaticInput ?? ui.querySelect?.renderStaticInput)
|
|
72
81
|
});
|
|
73
82
|
};
|
|
74
83
|
const QuerySelectContent = (props) => {
|
|
@@ -80,10 +89,12 @@ const QuerySelectContent = (props) => {
|
|
|
80
89
|
value,
|
|
81
90
|
mapInitialToSelectItem: props.mapInitialToSelectItem
|
|
82
91
|
});
|
|
92
|
+
const [initialFocusFromEnd, setInitialFocusFromEnd] = useState();
|
|
83
93
|
const [isQueryMounted, setIsQueryMounted] = useState(() => !isInitialQueryDisabled && !selection.isResolvedByInitialSelection);
|
|
84
94
|
if (!selection.isResolvedByInitialSelection || isQueryMounted) return /* @__PURE__ */ jsx(LoadedQuerySelectContent, {
|
|
85
95
|
...props,
|
|
86
|
-
isQueryEnabledInitially: isQueryMounted
|
|
96
|
+
isQueryEnabledInitially: isQueryMounted,
|
|
97
|
+
initialFocusFromEnd
|
|
87
98
|
});
|
|
88
99
|
const { query: _, queryParams: _queryParams, queryOptions: _queryOptions, queryMap: _queryMap, resolveSelectedItemsWithIds: _resolveSelectedItemsWithIds, isInitialQueryDisabled: _isInitialQueryDisabled, ...selectProps } = props;
|
|
89
100
|
const mountQuery = () => setIsQueryMounted(true);
|
|
@@ -92,12 +103,18 @@ const QuerySelectContent = (props) => {
|
|
|
92
103
|
items: [],
|
|
93
104
|
renderStaticInput: props.renderStaticInput ?? ui.querySelect?.renderStaticInput,
|
|
94
105
|
onMouseEnter: mountQuery,
|
|
95
|
-
onFocusCapture:
|
|
106
|
+
onFocusCapture: (event) => {
|
|
107
|
+
setInitialFocusFromEnd(event.relatedTarget instanceof Node && !!(event.target.compareDocumentPosition(event.relatedTarget) & Node.DOCUMENT_POSITION_FOLLOWING));
|
|
108
|
+
mountQuery();
|
|
109
|
+
}
|
|
96
110
|
});
|
|
97
111
|
};
|
|
98
112
|
const QuerySelectComponent = (props) => {
|
|
99
|
-
|
|
100
|
-
|
|
113
|
+
const ui = UIConfig.useConfig();
|
|
114
|
+
const { fireBlurOnChange: fireBlurOnChangeProp, ...inputProps } = props;
|
|
115
|
+
const fireBlurOnChange = fireBlurOnChangeProp ?? ui.select.fireBlurOnChange;
|
|
116
|
+
if ("field" in inputProps && inputProps.field) {
|
|
117
|
+
const { field, ref, ...innerProps } = inputProps;
|
|
101
118
|
const controlWithOptions = field.form;
|
|
102
119
|
return /* @__PURE__ */ jsx(FieldController, {
|
|
103
120
|
control: field.form,
|
|
@@ -108,7 +125,7 @@ const QuerySelectComponent = (props) => {
|
|
|
108
125
|
value: field.value,
|
|
109
126
|
onChange: (value) => {
|
|
110
127
|
field.onChange(value);
|
|
111
|
-
field.onBlur();
|
|
128
|
+
if (fireBlurOnChange) field.onBlur();
|
|
112
129
|
},
|
|
113
130
|
onBlur: field.onBlur,
|
|
114
131
|
isDirty,
|
|
@@ -117,7 +134,13 @@ const QuerySelectComponent = (props) => {
|
|
|
117
134
|
})
|
|
118
135
|
});
|
|
119
136
|
}
|
|
120
|
-
return /* @__PURE__ */ jsx(QuerySelectContent, {
|
|
137
|
+
return /* @__PURE__ */ jsx(QuerySelectContent, {
|
|
138
|
+
...inputProps,
|
|
139
|
+
onChange: (value) => {
|
|
140
|
+
inputProps.onChange?.(value);
|
|
141
|
+
if (fireBlurOnChange) inputProps.onBlur?.({ target: { value } });
|
|
142
|
+
}
|
|
143
|
+
});
|
|
121
144
|
};
|
|
122
145
|
const QuerySelect = memo(QuerySelectComponent);
|
|
123
146
|
//#endregion
|
|
@@ -30,9 +30,9 @@ import "./radio.cva-DAq2M13H.js";
|
|
|
30
30
|
import { s as SelectItem, t as DefaultInitialSelectItem } from "./SelectBase-DefgAEzh.js";
|
|
31
31
|
import { n as HasRequiredProperty } from "./common-UBFya8WY.js";
|
|
32
32
|
import { n as AutocompleteProps, r as ControlledAutocompleteProps } from "./Autocomplete-DE2lQi5o.js";
|
|
33
|
-
import { n as QueryFn, t as QueryAutocompleteProps } from "./queryAutocomplete.types-
|
|
33
|
+
import { n as QueryFn, t as QueryAutocompleteProps } from "./queryAutocomplete.types-Dm8Ttx4v.js";
|
|
34
34
|
import { r as SelectProps, t as ControlledSelectProps } from "./Select-wzB2aQ_X.js";
|
|
35
|
-
import { n as QuerySelectProps, r as QueryFn$1 } from "./QuerySelect-
|
|
35
|
+
import { n as QuerySelectProps, r as QueryFn$1 } from "./QuerySelect-Bpz-qI9h.js";
|
|
36
36
|
import { t as ControlledSliderProps } from "./Slider-CZMNmk6P.js";
|
|
37
37
|
import "./switch.cva-BIioyegR.js";
|
|
38
38
|
import { t as ControlledSwitchProps } from "./Switch-C0S5Juhf.js";
|
|
@@ -73,8 +73,8 @@ import "./file-input-D-46wS5j.js";
|
|
|
73
73
|
import { n as NumberField } from "./number-field-CyP6XgJh.js";
|
|
74
74
|
import { n as NumberRangeInput } from "./number-range-input-DMmlk7Bl.js";
|
|
75
75
|
import { n as PasswordInput } from "./password-input-BWpfQe0G.js";
|
|
76
|
-
import { t as QueryAutocomplete } from "./query-autocomplete-
|
|
77
|
-
import { t as QuerySelect } from "./query-select-
|
|
76
|
+
import { t as QueryAutocomplete } from "./query-autocomplete-DV8fEkK2.js";
|
|
77
|
+
import { t as QuerySelect } from "./query-select-BZ3-5WTu.js";
|
|
78
78
|
import "./radio-group-CmUtsjqP.js";
|
|
79
79
|
import "./toggleGroup.types-DD6uRI5G.js";
|
|
80
80
|
import { n as ToggleGroup } from "./toggle-group-CPkKHm1t.js";
|
|
@@ -22,15 +22,16 @@ const useFireBlurOnChange = (props, key) => {
|
|
|
22
22
|
};
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region src/rhf/fieldAdapter.tsx
|
|
25
|
-
function renderRHFField(Component, props, valueKey = "value", blurValueTransform = (value) => value) {
|
|
25
|
+
function renderRHFField(Component, props, valueKey = "value", blurValueTransform = (value) => value, blurOnChangeOwner = "adapter") {
|
|
26
26
|
if (!("formControl" in props)) {
|
|
27
27
|
const { fireBlurOnChange, ...componentProps } = props;
|
|
28
28
|
const runtimeProps = componentProps;
|
|
29
29
|
return /* @__PURE__ */ jsx(Component, {
|
|
30
30
|
...runtimeProps,
|
|
31
|
+
...blurOnChangeOwner === "component" ? { fireBlurOnChange } : {},
|
|
31
32
|
onChange: (value) => {
|
|
32
33
|
runtimeProps.onChange?.(value);
|
|
33
|
-
if (fireBlurOnChange) runtimeProps.onBlur?.({ target: { value: blurValueTransform(value) } });
|
|
34
|
+
if (blurOnChangeOwner === "adapter" && fireBlurOnChange) runtimeProps.onBlur?.({ target: { value: blurValueTransform(value) } });
|
|
34
35
|
}
|
|
35
36
|
});
|
|
36
37
|
}
|
|
@@ -43,11 +44,12 @@ function renderRHFField(Component, props, valueKey = "value", blurValueTransform
|
|
|
43
44
|
const valueProps = { [valueKey]: field.value ?? (valueKey === "isSelected" ? false : null) };
|
|
44
45
|
return /* @__PURE__ */ jsx(Component, {
|
|
45
46
|
...componentProps,
|
|
47
|
+
...blurOnChangeOwner === "component" ? { fireBlurOnChange } : {},
|
|
46
48
|
...valueProps,
|
|
47
49
|
ref: field.ref,
|
|
48
50
|
onChange: (value) => {
|
|
49
51
|
field.onChange(value ?? null);
|
|
50
|
-
if (fireBlurOnChange) field.onBlur();
|
|
52
|
+
if (blurOnChangeOwner === "adapter" && fireBlurOnChange) field.onBlur();
|
|
51
53
|
},
|
|
52
54
|
onBlur: field.onBlur,
|
|
53
55
|
isDisabled: field.disabled || runtimeProps.isDisabled,
|
package/dist/index.d.ts
CHANGED
|
@@ -79,8 +79,8 @@ import { r as RHFFileInputProps, t as FileInput } from "./file-input-D-46wS5j.js
|
|
|
79
79
|
import { n as NumberField, t as ControlledNumberFieldProps } from "./number-field-CyP6XgJh.js";
|
|
80
80
|
import { n as NumberRangeInput, t as ControlledNumberRangeInputProps } from "./number-range-input-DMmlk7Bl.js";
|
|
81
81
|
import { n as PasswordInput, t as ControlledPasswordInputProps } from "./password-input-BWpfQe0G.js";
|
|
82
|
-
import { t as QueryAutocomplete } from "./query-autocomplete-
|
|
83
|
-
import { r as RHFQuerySelectProps, t as QuerySelect } from "./query-select-
|
|
82
|
+
import { t as QueryAutocomplete } from "./query-autocomplete-DV8fEkK2.js";
|
|
83
|
+
import { r as RHFQuerySelectProps, t as QuerySelect } from "./query-select-BZ3-5WTu.js";
|
|
84
84
|
import { n as RadioGroup, t as ControlledRadioGroupProps } from "./radio-group-CmUtsjqP.js";
|
|
85
85
|
import { c as toggleGroupDefinition, l as toggleGroupItemDefinition, s as ToggleGroupProps } from "./toggleGroup.types-DD6uRI5G.js";
|
|
86
86
|
import { n as ToggleGroup, t as ControlledToggleGroupProps } from "./toggle-group-CPkKHm1t.js";
|
|
@@ -91,7 +91,7 @@ import { n as Input, t as ControlledInputProps } from "./input-CKGPYwfB.js";
|
|
|
91
91
|
import { r as TimePickerProps } from "./TimePicker-BZ4WrI5Z.js";
|
|
92
92
|
import { n as TimePicker, t as ControlledTimePickerProps } from "./time-picker-DdhW8GmD.js";
|
|
93
93
|
import { n as Switch, t as ControlledSwitchProps } from "./switch-Lm3xl1rQ.js";
|
|
94
|
-
import { $ as LabelConfig, A as createKeyInteractionsHandler, At as breadcrumbSegmentDefinition, B as useDeepCompareLayoutEffect, C as useLongPressRepeat, Ct as BreadcrumbIconVariantProps, D as KeyInteractionGroup, Dt as breadcrumbChevronDefinition, E as KeyInteractionCallback, Et as BreadcrumbsVariantProps, F as useFormAutosave, Ft as InputsProps, G as useAutosave, H as useDebounceCallback, I as UseFormProps, J as popoverDefinition, K as statusIconDefinition, L as UseFormResolverProps, M as useKeyInteractions, Mt as Form, N as useIntersectionObserver, Nt as InputDef, O as KeyInteractions, Ot as breadcrumbIconDefinition, P as UseFormAutosaveProps, Pt as Inputs, Q as LabelBaseProps, R as useForm, S as useScrollableListBox, St as BreadcrumbChevronVariantProps, T as KeyInteractionAction, Tt as BreadcrumbSegmentVariantProps, U as useBreakpoint, V as useDeepCompareMemo, W as UseAutosaveProps, X as selectInputTagsContentWrapperDefinition, Y as selectListBoxItemDefinition, Z as selectPopoverDefinition, _ as ObjectUtils, _t as accordionTriggerDefinition, a as DynamicInputsObjectSchema, at as fileUploadDropZoneDefinition, b as ArrayUtils, bt as TooltipWrapperTriggerVariantProps, ct as accordionChevronDefinition, d as ServiceWorkerOptions, dt as accordionHeadingSubtitleDefinition, et as labelDefinition, f as installServiceWorker, ft as accordionHeadingTitleDefinition, g as QueriesUtils, gt as accordionPanelDefinition, h as RoutingUtils, ht as accordionPanelContentDefinition, it as formFieldHeaderDefinition, j as getKeyInteractionAction, jt as breadcrumbsDefinition, k as UseKeyInteractionsResult, kt as breadcrumbItemDefinition, lt as accordionDefinition, m as ZodUtils, mt as accordionItemDefinition, n as dynamicInputs, nt as formFieldHelperDefinition, ot as datePickerInputContentRowDefinition, p as CloseIcon, pt as accordionIconDefinition, q as statusSeparatorDefinition, rt as formFieldErrorDefinition, st as AccordionVariantProps, t as DynamicInputsOptions, tt as textAreaWrapperDefinition, ut as accordionHeadingDefinition, v as isEqual, vt as MenuPopover, w as KeyInteraction, wt as BreadcrumbItemVariantProps, x as useStateAndRef, xt as tooltipWrapperTriggerDefinition, y as DomUtils, yt as MenuPopoverProps, z as useDeepCompareEffect } from "./dynamicInputs-
|
|
94
|
+
import { $ as LabelConfig, A as createKeyInteractionsHandler, At as breadcrumbSegmentDefinition, B as useDeepCompareLayoutEffect, C as useLongPressRepeat, Ct as BreadcrumbIconVariantProps, D as KeyInteractionGroup, Dt as breadcrumbChevronDefinition, E as KeyInteractionCallback, Et as BreadcrumbsVariantProps, F as useFormAutosave, Ft as InputsProps, G as useAutosave, H as useDebounceCallback, I as UseFormProps, J as popoverDefinition, K as statusIconDefinition, L as UseFormResolverProps, M as useKeyInteractions, Mt as Form, N as useIntersectionObserver, Nt as InputDef, O as KeyInteractions, Ot as breadcrumbIconDefinition, P as UseFormAutosaveProps, Pt as Inputs, Q as LabelBaseProps, R as useForm, S as useScrollableListBox, St as BreadcrumbChevronVariantProps, T as KeyInteractionAction, Tt as BreadcrumbSegmentVariantProps, U as useBreakpoint, V as useDeepCompareMemo, W as UseAutosaveProps, X as selectInputTagsContentWrapperDefinition, Y as selectListBoxItemDefinition, Z as selectPopoverDefinition, _ as ObjectUtils, _t as accordionTriggerDefinition, a as DynamicInputsObjectSchema, at as fileUploadDropZoneDefinition, b as ArrayUtils, bt as TooltipWrapperTriggerVariantProps, ct as accordionChevronDefinition, d as ServiceWorkerOptions, dt as accordionHeadingSubtitleDefinition, et as labelDefinition, f as installServiceWorker, ft as accordionHeadingTitleDefinition, g as QueriesUtils, gt as accordionPanelDefinition, h as RoutingUtils, ht as accordionPanelContentDefinition, it as formFieldHeaderDefinition, j as getKeyInteractionAction, jt as breadcrumbsDefinition, k as UseKeyInteractionsResult, kt as breadcrumbItemDefinition, lt as accordionDefinition, m as ZodUtils, mt as accordionItemDefinition, n as dynamicInputs, nt as formFieldHelperDefinition, ot as datePickerInputContentRowDefinition, p as CloseIcon, pt as accordionIconDefinition, q as statusSeparatorDefinition, rt as formFieldErrorDefinition, st as AccordionVariantProps, t as DynamicInputsOptions, tt as textAreaWrapperDefinition, ut as accordionHeadingDefinition, v as isEqual, vt as MenuPopover, w as KeyInteraction, wt as BreadcrumbItemVariantProps, x as useStateAndRef, xt as tooltipWrapperTriggerDefinition, y as DomUtils, yt as MenuPopoverProps, z as useDeepCompareEffect } from "./dynamicInputs-2sABu31U.js";
|
|
95
95
|
import { a as stepperDefinition, c as stepperNumberDefinition, d as stepperTitleDefinition, i as StepperVariantProps, l as stepperSeparatorDefinition, n as StepItem, o as stepperIconDefinition, r as StepperProps, s as stepperItemDefinition, t as Stepper, u as stepperSubtextDefinition } from "./Stepper-PcHlxDD5.js";
|
|
96
96
|
import { n as ToastProvider, t as ToastContainer } from "./ToastContainer-1H_IxvyH.js";
|
|
97
97
|
import { C as HeaderText, D as CellText, E as ColumnConfigModalProps, O as CellTextProps, S as tableRowDefinition, T as ColumnConfigModal, _ as tableCellTextDefinition, a as DynamicColumnsOptions, b as tableHeadRowDefinition, c as PaginatedTableProps, d as InfiniteTableProps, f as InfiniteTableWrapperProps, g as TableRowVariantProps, h as TableWrapperProps, i as usePagination, l as PaginatedTableWrapperProps, m as TableProps, n as useTableColumnConfig, o as dynamicColumns, p as Table, r as useSorting, s as PaginatedTable, t as useTableNav, u as InfiniteTable, v as tableDataDefinition, w as HeaderTextProps, x as tableHeaderTextDefinition, y as tableHeadDataDefinition } from "./useTableNav-Tu8UZxHA.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as SelectItem } from "./SelectBase-DefgAEzh.js";
|
|
2
|
-
import { n as QueryFn, t as QueryAutocompleteProps$1 } from "./queryAutocomplete.types-
|
|
2
|
+
import { n as QueryFn, t as QueryAutocompleteProps$1 } from "./queryAutocomplete.types-Dm8Ttx4v.js";
|
|
3
3
|
import { n as FormControl } from "./form.types-ZNGbcqJS.js";
|
|
4
4
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
5
5
|
import { FieldValues } from "react-hook-form";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as DefaultInitialSelectItem } from "./SelectBase-DefgAEzh.js";
|
|
2
|
-
import { n as QuerySelectProps$1, t as QuerySelect$1 } from "./QuerySelect-
|
|
2
|
+
import { n as QuerySelectProps$1, t as QuerySelect$1 } from "./QuerySelect-Bpz-qI9h.js";
|
|
3
3
|
import { n as FormControl } from "./form.types-ZNGbcqJS.js";
|
|
4
4
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
5
5
|
import { Key } from "react-aria-components";
|
package/dist/{queryAutocomplete.types-BlpCYzfA.d.ts → queryAutocomplete.types-Dm8Ttx4v.d.ts}
RENAMED
|
@@ -13,6 +13,7 @@ type QueryDataType<TQueryFn extends QueryFn> = Exclude<ReturnType<TQueryFn>["dat
|
|
|
13
13
|
type ExtractPageType<T> = T extends InfiniteData<infer TPage> ? TPage : T;
|
|
14
14
|
type ExtractedDataType<TQueryFn extends QueryFn> = ExtractPageType<QueryDataType<TQueryFn>> | ExtractPageType<QueryDataType<TQueryFn>>[];
|
|
15
15
|
type QueryAutocompleteProps<TFieldValues extends FieldValues, TSelectItem extends SelectItem<any>, TQueryFn extends QueryFn> = OmitDiscriminatedUnion<AutocompleteProps<TSelectItem["id"]>, "items" | "onSearchChange" | "isLoading" | keyof GroupedSelectProps> & GroupedSelectControlProps<TFieldValues, TSelectItem["id"]> & {
|
|
16
|
+
fireBlurOnChange?: boolean;
|
|
16
17
|
query: TQueryFn;
|
|
17
18
|
queryParams?: Omit<ExtractQueryParams<TQueryFn>, "search" | "limit"> & {
|
|
18
19
|
limit?: number;
|
package/dist/rhf/autocomplete.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Autocomplete as Autocomplete$1 } from "../components/autocomplete.js";
|
|
2
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
//#region src/entries/rhf/autocomplete.ts
|
|
4
4
|
const Autocomplete = (props) => {
|
|
5
5
|
return renderRHFField(runtime(Autocomplete$1), useFireBlurOnChange(props, "select"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
2
2
|
import { CheckboxGroup as CheckboxGroup$1 } from "../components/checkbox-group.js";
|
|
3
3
|
//#region src/entries/rhf/checkbox-group.ts
|
|
4
4
|
const CheckboxGroup = (props) => {
|
package/dist/rhf/checkbox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Checkbox$1 } from "../Checkbox-BJ7flpwA.js";
|
|
2
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
//#region src/entries/rhf/checkbox.ts
|
|
4
4
|
const Checkbox = (props) => {
|
|
5
5
|
return renderRHFField(runtime(Checkbox$1), useFireBlurOnChange(props, "checkbox"), "isSelected");
|
package/dist/rhf/date-picker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
2
2
|
import { t as DatePicker$1 } from "../DatePicker-CgCr_Z8r.js";
|
|
3
3
|
import { t as toCalendarDate } from "../date.transforms-DLg-eFcE.js";
|
|
4
4
|
//#region src/entries/rhf/date-picker.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as DateRangePicker$1 } from "../DateRangePicker-CS69o2pD.js";
|
|
2
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
import { n as toCalendarDateRange } from "../date.transforms-DLg-eFcE.js";
|
|
4
4
|
//#region src/entries/rhf/date-range-picker.ts
|
|
5
5
|
const DateRangePicker = (props) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
2
2
|
import { r as toCalendarDateTime } from "../date.transforms-DLg-eFcE.js";
|
|
3
3
|
import { t as DateTimePicker$1 } from "../DateTimePicker-Xzc1ve3a.js";
|
|
4
4
|
//#region src/entries/rhf/date-time-picker.ts
|
package/dist/rhf/file-input.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
2
2
|
import { t as FileInput$1 } from "../FileInput-BQS6TAH7.js";
|
|
3
3
|
//#region src/entries/rhf/file-input.ts
|
|
4
4
|
const FileInput = (props) => renderRHFField(runtime(FileInput$1), props);
|
package/dist/rhf/file-upload.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as FileUpload$1 } from "../FileUpload-cS3NOaES.js";
|
|
2
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
//#region src/entries/rhf/file-upload.ts
|
|
4
4
|
const FileUpload = (props) => renderRHFField(runtime(FileUpload$1), props);
|
|
5
5
|
//#endregion
|
package/dist/rhf/input.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Input as Input$1 } from "../components/input.js";
|
|
2
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
//#region src/entries/rhf/input.ts
|
|
4
4
|
const Input = (props) => renderRHFField(runtime(Input$1), props);
|
|
5
5
|
//#endregion
|
package/dist/rhf/inputs.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { n as InputVariantProps } from "../input.cva-ByFuAEIS.js";
|
|
2
2
|
import { s as OmitDiscriminatedUnion } from "../common-UBFya8WY.js";
|
|
3
|
-
import { Ft as InputsProps, Nt as InputDef, Pt as Inputs, a as DynamicInputsObjectSchema, n as dynamicInputs, t as DynamicInputsOptions } from "../dynamicInputs-
|
|
3
|
+
import { Ft as InputsProps, Nt as InputDef, Pt as Inputs, a as DynamicInputsObjectSchema, n as dynamicInputs, t as DynamicInputsOptions } from "../dynamicInputs-2sABu31U.js";
|
|
4
4
|
export { type DynamicInputsObjectSchema, type DynamicInputsOptions, type InputDef, type InputVariantProps, Inputs, type InputsProps, type OmitDiscriminatedUnion, dynamicInputs };
|
package/dist/rhf/number-field.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
2
2
|
import { NumberField as NumberField$1 } from "../components/number-field.js";
|
|
3
3
|
//#region src/entries/rhf/number-field.ts
|
|
4
4
|
const NumberField = (props) => renderRHFField(runtime(NumberField$1), props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
2
2
|
import { t as NumberRangeInput$1 } from "../NumberRangeInput-xjkniTH0.js";
|
|
3
3
|
//#region src/entries/rhf/number-range-input.ts
|
|
4
4
|
const NumberRangeInput = (props) => renderRHFField(runtime(NumberRangeInput$1), props);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as PasswordInput$1 } from "../PasswordInput-DTScGauT.js";
|
|
2
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
//#region src/entries/rhf/password-input.ts
|
|
4
4
|
const PasswordInput = (props) => renderRHFField(runtime(PasswordInput$1), props);
|
|
5
5
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as QueryAutocompleteProps, r as RHFQueryAutocompleteProps, t as QueryAutocomplete } from "../query-autocomplete-
|
|
1
|
+
import { n as QueryAutocompleteProps, r as RHFQueryAutocompleteProps, t as QueryAutocomplete } from "../query-autocomplete-DV8fEkK2.js";
|
|
2
2
|
export { QueryAutocomplete, QueryAutocompleteProps, RHFQueryAutocompleteProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
2
2
|
import { QueryAutocomplete as QueryAutocomplete$1 } from "../components/query-autocomplete.js";
|
|
3
3
|
//#region src/entries/rhf/query-autocomplete.ts
|
|
4
4
|
const QueryAutocomplete = (props) => {
|
|
5
|
-
return renderRHFField(runtime(QueryAutocomplete$1), useFireBlurOnChange(props, "select"));
|
|
5
|
+
return renderRHFField(runtime(QueryAutocomplete$1), useFireBlurOnChange(props, "select"), "value", void 0, "component");
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
8
8
|
export { QueryAutocomplete };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as QuerySelectProps, r as RHFQuerySelectProps, t as QuerySelect } from "../query-select-
|
|
1
|
+
import { n as QuerySelectProps, r as RHFQuerySelectProps, t as QuerySelect } from "../query-select-BZ3-5WTu.js";
|
|
2
2
|
export { QuerySelect, QuerySelectProps, RHFQuerySelectProps };
|
package/dist/rhf/query-select.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
2
2
|
import { QuerySelect as QuerySelect$1 } from "../components/query-select.js";
|
|
3
3
|
//#region src/entries/rhf/query-select.ts
|
|
4
4
|
const QuerySelect = (props) => {
|
|
5
|
-
return renderRHFField(runtime(QuerySelect$1), useFireBlurOnChange(props, "select"));
|
|
5
|
+
return renderRHFField(runtime(QuerySelect$1), useFireBlurOnChange(props, "select"), "value", void 0, "component");
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
8
8
|
export { QuerySelect };
|
package/dist/rhf/radio-group.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as RadioGroup$1 } from "../RadioGroup-B9g4uT4E.js";
|
|
2
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
//#region src/entries/rhf/radio-group.ts
|
|
4
4
|
const RadioGroup = (props) => {
|
|
5
5
|
return renderRHFField(runtime(RadioGroup$1), useFireBlurOnChange(props, "radioGroup"));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as RichTextEditor$1 } from "../RichTextEditor-DWgaZLRW.js";
|
|
2
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
//#region src/entries/rhf/rich-text-editor.ts
|
|
4
4
|
const RichTextEditor = (props) => renderRHFField(runtime(RichTextEditor$1), props);
|
|
5
5
|
//#endregion
|
package/dist/rhf/select.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
2
2
|
import { t as Select$1 } from "../Select-O9dprkTa.js";
|
|
3
3
|
//#region src/entries/rhf/select.ts
|
|
4
4
|
const Select = (props) => {
|
package/dist/rhf/slider.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Slider$1 } from "../Slider-IDDtzb2P.js";
|
|
2
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
//#region src/entries/rhf/slider.ts
|
|
4
4
|
const Slider = (props) => renderRHFField(runtime(Slider$1), props);
|
|
5
5
|
//#endregion
|
package/dist/rhf/switch.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Switch$1 } from "../Switch-BaNEe9Nx.js";
|
|
2
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
//#region src/entries/rhf/switch.ts
|
|
4
4
|
const Switch = (props) => {
|
|
5
5
|
return renderRHFField(runtime(Switch$1), useFireBlurOnChange(props, "switch"), "isSelected");
|
package/dist/rhf/text-area.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as TextArea$1 } from "../TextArea-BcIy_nZ2.js";
|
|
2
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
//#region src/entries/rhf/text-area.ts
|
|
4
4
|
const TextArea = (props) => renderRHFField(runtime(TextArea$1), props);
|
|
5
5
|
//#endregion
|
package/dist/rhf/time-picker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-
|
|
1
|
+
import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
2
2
|
import { t as TimePicker$1 } from "../TimePicker-vbrwgBc5.js";
|
|
3
3
|
import { i as toTime } from "../date.transforms-DLg-eFcE.js";
|
|
4
4
|
//#region src/entries/rhf/time-picker.ts
|
package/dist/rhf/toggle-group.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ToggleGroup$1 } from "../ToggleGroup-BMZsbHY9.js";
|
|
2
|
-
import { n as runtime, t as renderRHFField } from "../fieldAdapter-
|
|
2
|
+
import { n as runtime, t as renderRHFField } from "../fieldAdapter-DESnl1Sc.js";
|
|
3
3
|
//#region src/entries/rhf/toggle-group.ts
|
|
4
4
|
const ToggleGroup = (props) => renderRHFField(runtime(ToggleGroup$1), props);
|
|
5
5
|
//#endregion
|
package/dist/rhf.d.ts
CHANGED
|
@@ -79,8 +79,8 @@ import { r as RHFFileInputProps, t as FileInput } from "./file-input-D-46wS5j.js
|
|
|
79
79
|
import { n as NumberField, t as ControlledNumberFieldProps } from "./number-field-CyP6XgJh.js";
|
|
80
80
|
import { n as NumberRangeInput, t as ControlledNumberRangeInputProps } from "./number-range-input-DMmlk7Bl.js";
|
|
81
81
|
import { n as PasswordInput, t as ControlledPasswordInputProps } from "./password-input-BWpfQe0G.js";
|
|
82
|
-
import { t as QueryAutocomplete } from "./query-autocomplete-
|
|
83
|
-
import { r as RHFQuerySelectProps, t as QuerySelect } from "./query-select-
|
|
82
|
+
import { t as QueryAutocomplete } from "./query-autocomplete-DV8fEkK2.js";
|
|
83
|
+
import { r as RHFQuerySelectProps, t as QuerySelect } from "./query-select-BZ3-5WTu.js";
|
|
84
84
|
import { n as RadioGroup, t as ControlledRadioGroupProps } from "./radio-group-CmUtsjqP.js";
|
|
85
85
|
import { c as toggleGroupDefinition, l as toggleGroupItemDefinition, s as ToggleGroupProps } from "./toggleGroup.types-DD6uRI5G.js";
|
|
86
86
|
import { n as ToggleGroup, t as ControlledToggleGroupProps } from "./toggle-group-CPkKHm1t.js";
|
|
@@ -91,7 +91,7 @@ import { n as Input, t as ControlledInputProps } from "./input-CKGPYwfB.js";
|
|
|
91
91
|
import { r as TimePickerProps } from "./TimePicker-BZ4WrI5Z.js";
|
|
92
92
|
import { n as TimePicker, t as ControlledTimePickerProps } from "./time-picker-DdhW8GmD.js";
|
|
93
93
|
import { n as Switch, t as ControlledSwitchProps } from "./switch-Lm3xl1rQ.js";
|
|
94
|
-
import { $ as LabelConfig, A as createKeyInteractionsHandler, At as breadcrumbSegmentDefinition, B as useDeepCompareLayoutEffect, C as useLongPressRepeat, Ct as BreadcrumbIconVariantProps, D as KeyInteractionGroup, Dt as breadcrumbChevronDefinition, E as KeyInteractionCallback, Et as BreadcrumbsVariantProps, F as useFormAutosave, Ft as InputsProps, G as useAutosave, H as useDebounceCallback, I as UseFormProps, J as popoverDefinition, K as statusIconDefinition, L as UseFormResolverProps, M as useKeyInteractions, Mt as Form, N as useIntersectionObserver, Nt as InputDef, O as KeyInteractions, Ot as breadcrumbIconDefinition, P as UseFormAutosaveProps, Pt as Inputs, Q as LabelBaseProps, R as useForm, S as useScrollableListBox, St as BreadcrumbChevronVariantProps, T as KeyInteractionAction, Tt as BreadcrumbSegmentVariantProps, U as useBreakpoint, V as useDeepCompareMemo, W as UseAutosaveProps, X as selectInputTagsContentWrapperDefinition, Y as selectListBoxItemDefinition, Z as selectPopoverDefinition, _ as ObjectUtils, _t as accordionTriggerDefinition, a as DynamicInputsObjectSchema, at as fileUploadDropZoneDefinition, b as ArrayUtils, bt as TooltipWrapperTriggerVariantProps, ct as accordionChevronDefinition, dt as accordionHeadingSubtitleDefinition, et as labelDefinition, ft as accordionHeadingTitleDefinition, g as QueriesUtils, gt as accordionPanelDefinition, h as RoutingUtils, ht as accordionPanelContentDefinition, it as formFieldHeaderDefinition, j as getKeyInteractionAction, jt as breadcrumbsDefinition, k as UseKeyInteractionsResult, kt as breadcrumbItemDefinition, lt as accordionDefinition, m as ZodUtils, mt as accordionItemDefinition, n as dynamicInputs, nt as formFieldHelperDefinition, ot as datePickerInputContentRowDefinition, p as CloseIcon, pt as accordionIconDefinition, q as statusSeparatorDefinition, rt as formFieldErrorDefinition, st as AccordionVariantProps, t as DynamicInputsOptions, tt as textAreaWrapperDefinition, ut as accordionHeadingDefinition, v as isEqual, vt as MenuPopover, w as KeyInteraction, wt as BreadcrumbItemVariantProps, x as useStateAndRef, xt as tooltipWrapperTriggerDefinition, y as DomUtils, yt as MenuPopoverProps, z as useDeepCompareEffect } from "./dynamicInputs-
|
|
94
|
+
import { $ as LabelConfig, A as createKeyInteractionsHandler, At as breadcrumbSegmentDefinition, B as useDeepCompareLayoutEffect, C as useLongPressRepeat, Ct as BreadcrumbIconVariantProps, D as KeyInteractionGroup, Dt as breadcrumbChevronDefinition, E as KeyInteractionCallback, Et as BreadcrumbsVariantProps, F as useFormAutosave, Ft as InputsProps, G as useAutosave, H as useDebounceCallback, I as UseFormProps, J as popoverDefinition, K as statusIconDefinition, L as UseFormResolverProps, M as useKeyInteractions, Mt as Form, N as useIntersectionObserver, Nt as InputDef, O as KeyInteractions, Ot as breadcrumbIconDefinition, P as UseFormAutosaveProps, Pt as Inputs, Q as LabelBaseProps, R as useForm, S as useScrollableListBox, St as BreadcrumbChevronVariantProps, T as KeyInteractionAction, Tt as BreadcrumbSegmentVariantProps, U as useBreakpoint, V as useDeepCompareMemo, W as UseAutosaveProps, X as selectInputTagsContentWrapperDefinition, Y as selectListBoxItemDefinition, Z as selectPopoverDefinition, _ as ObjectUtils, _t as accordionTriggerDefinition, a as DynamicInputsObjectSchema, at as fileUploadDropZoneDefinition, b as ArrayUtils, bt as TooltipWrapperTriggerVariantProps, ct as accordionChevronDefinition, dt as accordionHeadingSubtitleDefinition, et as labelDefinition, ft as accordionHeadingTitleDefinition, g as QueriesUtils, gt as accordionPanelDefinition, h as RoutingUtils, ht as accordionPanelContentDefinition, it as formFieldHeaderDefinition, j as getKeyInteractionAction, jt as breadcrumbsDefinition, k as UseKeyInteractionsResult, kt as breadcrumbItemDefinition, lt as accordionDefinition, m as ZodUtils, mt as accordionItemDefinition, n as dynamicInputs, nt as formFieldHelperDefinition, ot as datePickerInputContentRowDefinition, p as CloseIcon, pt as accordionIconDefinition, q as statusSeparatorDefinition, rt as formFieldErrorDefinition, st as AccordionVariantProps, t as DynamicInputsOptions, tt as textAreaWrapperDefinition, ut as accordionHeadingDefinition, v as isEqual, vt as MenuPopover, w as KeyInteraction, wt as BreadcrumbItemVariantProps, x as useStateAndRef, xt as tooltipWrapperTriggerDefinition, y as DomUtils, yt as MenuPopoverProps, z as useDeepCompareEffect } from "./dynamicInputs-2sABu31U.js";
|
|
95
95
|
import { a as stepperDefinition, c as stepperNumberDefinition, d as stepperTitleDefinition, i as StepperVariantProps, l as stepperSeparatorDefinition, n as StepItem, o as stepperIconDefinition, r as StepperProps, s as stepperItemDefinition, t as Stepper, u as stepperSubtextDefinition } from "./Stepper-PcHlxDD5.js";
|
|
96
96
|
import { n as ToastProvider, t as ToastContainer } from "./ToastContainer-1H_IxvyH.js";
|
|
97
97
|
import { C as HeaderText, D as CellText, E as ColumnConfigModalProps, O as CellTextProps, S as tableRowDefinition, T as ColumnConfigModal, _ as tableCellTextDefinition, a as DynamicColumnsOptions, b as tableHeadRowDefinition, c as PaginatedTableProps, d as InfiniteTableProps, f as InfiniteTableWrapperProps, g as TableRowVariantProps, h as TableWrapperProps, i as usePagination, l as PaginatedTableWrapperProps, m as TableProps, n as useTableColumnConfig, o as dynamicColumns, p as Table, r as useSorting, s as PaginatedTable, t as useTableNav, u as InfiniteTable, v as tableDataDefinition, w as HeaderTextProps, x as tableHeaderTextDefinition, y as tableHeadDataDefinition } from "./useTableNav-Tu8UZxHA.js";
|
package/dist/tanstack/form.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as DeepValue, c as UIForm, d as useFormState, f as useFormValue, i as DeepKeys, l as UseFormProps, o as FormSubmitErrorHandler, s as FormSubmitHandler, u as useForm } from "../form.binding-DVJ5F0JE.js";
|
|
2
|
-
import { n as UseFormAutosaveProps, r as useFormAutosave, t as Form } from "../Form-
|
|
2
|
+
import { n as UseFormAutosaveProps, r as useFormAutosave, t as Form } from "../Form-BQXPNkTh.js";
|
|
3
3
|
export { type DeepKeys, type DeepValue, Form, type FormSubmitErrorHandler, type FormSubmitHandler, type UIForm, type UseFormAutosaveProps, type UseFormProps, useForm, useFormAutosave, useFormState, useFormValue };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as InputVariantProps } from "../input.cva-ByFuAEIS.js";
|
|
2
2
|
import { s as OmitDiscriminatedUnion } from "../common-UBFya8WY.js";
|
|
3
|
-
import { a as DynamicInputsObjectSchema, l as InputDef, o as DynamicInputsOptions, s as dynamicInputs } from "../dynamicInputs-
|
|
4
|
-
import { n as InputsProps, t as Inputs } from "../Inputs-
|
|
3
|
+
import { a as DynamicInputsObjectSchema, l as InputDef, o as DynamicInputsOptions, s as dynamicInputs } from "../dynamicInputs-2sABu31U.js";
|
|
4
|
+
import { n as InputsProps, t as Inputs } from "../Inputs-CrXedhHr.js";
|
|
5
5
|
export { type DynamicInputsObjectSchema, type DynamicInputsOptions, type InputDef, type InputVariantProps, Inputs, type InputsProps, type OmitDiscriminatedUnion, dynamicInputs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as QuerySelectProps, t as QuerySelect } from "../QuerySelect-
|
|
1
|
+
import { n as QuerySelectProps, t as QuerySelect } from "../QuerySelect-Bpz-qI9h.js";
|
|
2
2
|
export { QuerySelect, QuerySelectProps };
|
package/dist/tanstack.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ import { a as IsRequiredChildrenProperty, i as IsAny, n as HasRequiredProperty,
|
|
|
36
36
|
import { n as AutocompleteProps, r as ControlledAutocompleteProps, t as Autocomplete } from "./Autocomplete-DE2lQi5o.js";
|
|
37
37
|
import { QueryAutocomplete } from "./components/query-autocomplete.js";
|
|
38
38
|
import { n as Select, r as SelectProps, t as ControlledSelectProps } from "./Select-wzB2aQ_X.js";
|
|
39
|
-
import { n as QuerySelectProps, t as QuerySelect } from "./QuerySelect-
|
|
39
|
+
import { n as QuerySelectProps, t as QuerySelect } from "./QuerySelect-Bpz-qI9h.js";
|
|
40
40
|
import { n as Slider, r as SliderProps, t as ControlledSliderProps } from "./Slider-CZMNmk6P.js";
|
|
41
41
|
import { n as switchDefinition } from "./switch.cva-BIioyegR.js";
|
|
42
42
|
import { n as Switch, r as SwitchProps, t as ControlledSwitchProps } from "./Switch-C0S5Juhf.js";
|
|
@@ -74,7 +74,7 @@ import { a as progressDefinition, c as progressTrackWrapperDefinition, i as Prog
|
|
|
74
74
|
import { n as resources, t as ns } from "./i18n-D0Pz0p2u.js";
|
|
75
75
|
import { c as toggleGroupDefinition, l as toggleGroupItemDefinition, s as ToggleGroupProps, t as ControlledToggleGroupProps } from "./toggleGroup.types-DD6uRI5G.js";
|
|
76
76
|
import { n as TimePicker, r as TimePickerProps, t as ControlledTimePickerProps } from "./TimePicker-BZ4WrI5Z.js";
|
|
77
|
-
import { $ as LabelConfig, A as createKeyInteractionsHandler, At as breadcrumbSegmentDefinition, B as useDeepCompareLayoutEffect, C as useLongPressRepeat, Ct as BreadcrumbIconVariantProps, D as KeyInteractionGroup, Dt as breadcrumbChevronDefinition, E as KeyInteractionCallback, Et as BreadcrumbsVariantProps, H as useDebounceCallback, J as popoverDefinition, K as statusIconDefinition, M as useKeyInteractions, N as useIntersectionObserver, O as KeyInteractions, Ot as breadcrumbIconDefinition, Q as LabelBaseProps, S as useScrollableListBox, St as BreadcrumbChevronVariantProps, T as KeyInteractionAction, Tt as BreadcrumbSegmentVariantProps, U as useBreakpoint, V as useDeepCompareMemo, X as selectInputTagsContentWrapperDefinition, Y as selectListBoxItemDefinition, Z as selectPopoverDefinition, _ as ObjectUtils, _t as accordionTriggerDefinition, a as DynamicInputsObjectSchema, at as fileUploadDropZoneDefinition, b as ArrayUtils, bt as TooltipWrapperTriggerVariantProps, ct as accordionChevronDefinition, dt as accordionHeadingSubtitleDefinition, et as labelDefinition, ft as accordionHeadingTitleDefinition, g as QueriesUtils, gt as accordionPanelDefinition, h as RoutingUtils, ht as accordionPanelContentDefinition, it as formFieldHeaderDefinition, j as getKeyInteractionAction, jt as breadcrumbsDefinition, k as UseKeyInteractionsResult, kt as breadcrumbItemDefinition, l as InputDef, lt as accordionDefinition, m as ZodUtils, mt as accordionItemDefinition, nt as formFieldHelperDefinition, o as DynamicInputsOptions, ot as datePickerInputContentRowDefinition, pt as accordionIconDefinition, q as statusSeparatorDefinition, rt as formFieldErrorDefinition, s as dynamicInputs, st as AccordionVariantProps, tt as textAreaWrapperDefinition, ut as accordionHeadingDefinition, v as isEqual, vt as MenuPopover, w as KeyInteraction, wt as BreadcrumbItemVariantProps, x as useStateAndRef, xt as tooltipWrapperTriggerDefinition, y as DomUtils, yt as MenuPopoverProps, z as useDeepCompareEffect } from "./dynamicInputs-
|
|
77
|
+
import { $ as LabelConfig, A as createKeyInteractionsHandler, At as breadcrumbSegmentDefinition, B as useDeepCompareLayoutEffect, C as useLongPressRepeat, Ct as BreadcrumbIconVariantProps, D as KeyInteractionGroup, Dt as breadcrumbChevronDefinition, E as KeyInteractionCallback, Et as BreadcrumbsVariantProps, H as useDebounceCallback, J as popoverDefinition, K as statusIconDefinition, M as useKeyInteractions, N as useIntersectionObserver, O as KeyInteractions, Ot as breadcrumbIconDefinition, Q as LabelBaseProps, S as useScrollableListBox, St as BreadcrumbChevronVariantProps, T as KeyInteractionAction, Tt as BreadcrumbSegmentVariantProps, U as useBreakpoint, V as useDeepCompareMemo, X as selectInputTagsContentWrapperDefinition, Y as selectListBoxItemDefinition, Z as selectPopoverDefinition, _ as ObjectUtils, _t as accordionTriggerDefinition, a as DynamicInputsObjectSchema, at as fileUploadDropZoneDefinition, b as ArrayUtils, bt as TooltipWrapperTriggerVariantProps, ct as accordionChevronDefinition, dt as accordionHeadingSubtitleDefinition, et as labelDefinition, ft as accordionHeadingTitleDefinition, g as QueriesUtils, gt as accordionPanelDefinition, h as RoutingUtils, ht as accordionPanelContentDefinition, it as formFieldHeaderDefinition, j as getKeyInteractionAction, jt as breadcrumbsDefinition, k as UseKeyInteractionsResult, kt as breadcrumbItemDefinition, l as InputDef, lt as accordionDefinition, m as ZodUtils, mt as accordionItemDefinition, nt as formFieldHelperDefinition, o as DynamicInputsOptions, ot as datePickerInputContentRowDefinition, pt as accordionIconDefinition, q as statusSeparatorDefinition, rt as formFieldErrorDefinition, s as dynamicInputs, st as AccordionVariantProps, tt as textAreaWrapperDefinition, ut as accordionHeadingDefinition, v as isEqual, vt as MenuPopover, w as KeyInteraction, wt as BreadcrumbItemVariantProps, x as useStateAndRef, xt as tooltipWrapperTriggerDefinition, y as DomUtils, yt as MenuPopoverProps, z as useDeepCompareEffect } from "./dynamicInputs-2sABu31U.js";
|
|
78
78
|
import { a as stepperDefinition, c as stepperNumberDefinition, d as stepperTitleDefinition, i as StepperVariantProps, l as stepperSeparatorDefinition, n as StepItem, o as stepperIconDefinition, r as StepperProps, s as stepperItemDefinition, t as Stepper, u as stepperSubtextDefinition } from "./Stepper-PcHlxDD5.js";
|
|
79
79
|
import { n as ToastProvider, t as ToastContainer } from "./ToastContainer-1H_IxvyH.js";
|
|
80
80
|
import { C as HeaderText, D as CellText, E as ColumnConfigModalProps, O as CellTextProps, S as tableRowDefinition, T as ColumnConfigModal, _ as tableCellTextDefinition, a as DynamicColumnsOptions, b as tableHeadRowDefinition, c as PaginatedTableProps, d as InfiniteTableProps, f as InfiniteTableWrapperProps, g as TableRowVariantProps, h as TableWrapperProps, i as usePagination, l as PaginatedTableWrapperProps, m as TableProps, n as useTableColumnConfig, o as dynamicColumns, p as Table, r as useSorting, s as PaginatedTable, t as useTableNav, u as InfiniteTable, v as tableDataDefinition, w as HeaderTextProps, x as tableHeaderTextDefinition, y as tableHeadDataDefinition } from "./useTableNav-Tu8UZxHA.js";
|
|
@@ -86,7 +86,7 @@ import { t as useLocalStorage } from "./useLocalStorage-DGsBUCT6.js";
|
|
|
86
86
|
import { t as useTranslationMemo } from "./useTranslationMemo-Dy3p6m1g.js";
|
|
87
87
|
import { t as StringUtils } from "./string.utils-Cj6AB7uZ.js";
|
|
88
88
|
import { t as ToggleGroup } from "./ToggleGroup-D9CFdM5-.js";
|
|
89
|
-
import { i as useAutosave, n as UseFormAutosaveProps, r as useFormAutosave, t as Form } from "./Form-
|
|
90
|
-
import { n as InputsProps, t as Inputs } from "./Inputs-
|
|
89
|
+
import { i as useAutosave, n as UseFormAutosaveProps, r as useFormAutosave, t as Form } from "./Form-BQXPNkTh.js";
|
|
90
|
+
import { n as InputsProps, t as Inputs } from "./Inputs-CrXedhHr.js";
|
|
91
91
|
import { X as CloseIcon } from "lucide-react";
|
|
92
92
|
export { Accordion, type AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariantProps, Alert, AlertDialog, type AlertDialogProps, type AlertProps, ArrayUtils, Autocomplete, type AutocompleteProps, Badge, type BadgeProps, BottomSheet, type BottomSheetProps, type BreadcrumbChevronVariantProps, type BreadcrumbIconVariantProps, type BreadcrumbItem, type BreadcrumbItemVariantProps, type BreadcrumbSegmentVariantProps, Breadcrumbs, type BreadcrumbsProps, type BreadcrumbsVariantProps, Button, type ButtonProps, type ButtonVariantProps, CellText, type CellTextProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxVariantProps, CloseIcon, ColumnConfigModal, type ColumnConfigModalProps, type CompoundMapper, Confirmation, type ControlledAutocompleteProps, type ControlledCheckboxGroupProps, type ControlledCheckboxProps, type ControlledDatePickerProps, type ControlledDateRangePickerProps, type ControlledDateTimePickerProps, type ControlledInputProps, type ControlledNumberFieldProps, type ControlledNumberRangeInputProps, type ControlledPasswordInputProps, type ControlledRadioGroupProps, type ControlledSelectProps, type ControlledSliderProps, type ControlledSwitchProps, type ControlledTextAreaProps, type ControlledTimePickerProps, type ControlledToggleGroupProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangeRelativeOption, type DateRangeResolvedValue, DateTimePicker, type DateTimePickerProps, DateTimeUtils, DateUtils, type DeepKeys, type DeepValue, type DefaultInitialSelectItem, Dialog, type DialogProps, DomUtils, Drawer, type DrawerProps, DropdownMenu, type DropdownMenuCvaVariantProps, type DropdownMenuProps, type DynamicColumnsOptions, type DynamicInputsObjectSchema, type DynamicInputsOptions, FileInput, type FileInputProps, FileUpload, FileUploadContainer, type FileUploadContainerProps, type FileUploadError, type FileUploadProps, type FileUploadRequest, type FileUploadState, FileUtils, type FilterStore, Form, FormField, type FormFieldProps, type FormSubmitErrorHandler, type FormSubmitHandler, type Function, type HasRequiredProperty, HeaderText, type HeaderTextProps, IconButton, type IconButtonProps, type IfAny, InfiniteTable, type InfiniteTableProps, type InfiniteTableWrapperProps, InlineIconButton, type InlineIconButtonProps, Input, type InputDef, type InputProps, type InputVariantProps, Inputs, type InputsProps, IntlUtils, type IsAny, type IsRequiredChildrenProperty, type IsUnknown, type KeyInteraction, type KeyInteractionAction, type KeyInteractionCallback, type KeyInteractionGroup, type KeyInteractions, type LabelBaseProps, type LabelConfig, Link, LinkContext, type LinkNavigationProps, type LinkProps, type LinkVariantProps, MenuItem, type MenuItemVariantProps, type MenuListItemProps, MenuPopover, type MenuPopoverProps, type MenuPopoverVariantProps, type MenuPopoverWrapperVariantProps, NumberField, type NumberFieldProps, NumberRangeInput, type NumberRangeInputProps, type NumberRangeValue, ObjectUtils, type OmitDiscriminatedUnion, PaginatedTable, type PaginatedTableProps, type PaginatedTableWrapperProps, Pagination, PaginationList, type PaginationProps, PasswordInput, type PasswordInputProps, PillButton, type PillButtonProps, type PillButtonVariants, Popover, type PopoverProps, Progress, type ProgressConfig, type ProgressTrackConfig, type ProgressVariantProps, QueriesUtils, QueryAutocomplete, QuerySelect, type QuerySelectProps, RadioGroup, type RadioGroupProps, type RadioVariantProps, RoutingUtils, Select, type SelectAsyncProps, type SelectBaseProps, type SelectItem, type SelectProps, Slider, type SliderProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, type StepItem, Stepper, type StepperProps, type StepperVariantProps, StringUtils, Switch, type SwitchProps, Table, type TableProps, type TableRowVariantProps, type TableWrapperProps, Tag, type TagProps, type TagVariantProps, TextArea, type TextAreaProps, TextButton, type TextButtonProps, ThemeContext, TimePicker, type TimePickerProps, Toast, type ToastAction, ToastContainer, type ToastOptions, type ToastParams, type ToastProps, ToastProvider, type ToastVariantProps, ToggleButton, type ToggleButtonProps, ToggleGroup, type ToggleGroupProps, Tooltip, TooltipEllipsis, type TooltipEllipsisProps, type TooltipProps, type TooltipWrapperTriggerVariantProps, Typography, type TypographyProps, type TypographyVariantProps, UIConfig, type UIForm, UIOverrides, UIRouter, type UseFormAutosaveProps, type UseFormProps, type UseKeyInteractionsResult, ZodUtils, accordionChevronDefinition, accordionDefinition, accordionHeadingDefinition, accordionHeadingSubtitleDefinition, accordionHeadingTitleDefinition, accordionIconDefinition, accordionItemDefinition, accordionPanelContentDefinition, accordionPanelDefinition, accordionTriggerDefinition, alertDefinition, breadcrumbChevronDefinition, breadcrumbIconDefinition, breadcrumbItemDefinition, breadcrumbSegmentDefinition, breadcrumbsDefinition, buttonContentDefinition, buttonDefinition, buttonIconSizeDefinition, buttonSizeDefinition, checkboxContentRowDefinition, checkboxContentWrapperDefinition, checkboxDefinition, checkboxGroupLabelDefinition, checkboxIconDefinition, compoundMapper, createKeyInteractionsHandler, datePickerInputContentRowDefinition, dialogContentDefinition, dialogMainDefinition, dialogOverlayDefinition, dropdownMenuDefinition, dynamicColumns, dynamicInputs, fileInputButtonDefinition, fileInputDropZoneDefinition, fileUploadDropZoneDefinition, formFieldErrorDefinition, formFieldHeaderDefinition, formFieldHelperDefinition, getKeyInteractionAction, inputBaseDefinition, inputClearClassDefinition, inputContentWrapperDefinition, inputSideDefinition, inputSizeDefinition, isEqual, labelDefinition, linkDefinition, logger, menuItemDefinition, menuPopoverDefinition, menuPopoverWrapperDefinition, ns, pillButtonContentDefinition, pillButtonDefinition, popoverDefinition, progressDefinition, progressFillDefinition, progressTrackDefinition, progressTrackWrapperDefinition, progressValueDefinition, radioContentRowDefinition, radioContentWrapperDefinition, radioDefinition, resources, selectInputTagsContentWrapperDefinition, selectListBoxItemDefinition, selectPopoverDefinition, spinnerDefinition, spinnerWrapperDefinition, statusIconDefinition, statusSeparatorDefinition, stepperDefinition, stepperIconDefinition, stepperItemDefinition, stepperNumberDefinition, stepperSeparatorDefinition, stepperSubtextDefinition, stepperTitleDefinition, switchDefinition, tableCellTextDefinition, tableDataDefinition, tableHeadDataDefinition, tableHeadRowDefinition, tableHeaderTextDefinition, tableRowDefinition, tagDefinition, textAreaWrapperDefinition, toastDefinition, statusIconDefinition$1 as toastStatusIconDefinition, statusSeparatorDefinition$1 as toastStatusSeparatorDefinition, toggleGroupDefinition, toggleGroupItemDefinition, tooltipDefinition, tooltipPointerHorizontalDefinition, tooltipPointerVerticalDefinition, tooltipTextDefinition, tooltipWrapperTriggerDefinition, typographyDefinition, uiOutlineClass, useAutosave, useBreakpoint, useDebounceCallback, useDeepCompareEffect, useDeepCompareLayoutEffect, useDeepCompareMemo, useFilters, useForm, useFormAutosave, useFormState, useFormValue, useIntersectionObserver, useKeyInteractions, useLocalStorage, useLongPressRepeat, usePagination, useScrollableListBox, useSorting, useStateAndRef, useTableColumnConfig, useTableNav, useToast, useTranslationMemo };
|