@povio/ui 3.4.0-rc.46 → 3.4.0-rc.47
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/{Autocomplete-DP8yKVLd.d.ts → Autocomplete-BHThT8o6.d.ts} +2 -2
- package/dist/{Checkbox-BEONSfOL.d.ts → Checkbox-DGzd9pZ2.d.ts} +2 -2
- package/dist/{Checkbox-Bg_KpTR1.js → Checkbox-YHAooOvQ.js} +1 -1
- package/dist/{CheckboxGroup-DYdyX_0H.d.ts → CheckboxGroup-Bm0W41Eu.d.ts} +2 -2
- package/dist/{DatePicker-DSa6RE1Z.d.ts → DatePicker-BpkXBEW3.d.ts} +2 -2
- package/dist/{DatePicker-DyAL-7Ze.js → DatePicker-D4J0iOtc.js} +1 -1
- package/dist/{DateRangePicker-CNkQIrwx.js → DateRangePicker-cn0jlUFe.js} +3 -3
- package/dist/{DateRangePicker-DduITEx6.d.ts → DateRangePicker-uizMF2l6.d.ts} +2 -2
- package/dist/{DateTimePicker-tN-z-tVd.d.ts → DateTimePicker-BYsxFhGA.d.ts} +2 -2
- package/dist/{DateTimePicker-C6RmNdPP.js → DateTimePicker-DH9G4lvs.js} +1 -1
- package/dist/{FileUpload-vWf9nvu_.d.ts → FileUpload-8CS7oVp3.d.ts} +2 -2
- package/dist/{FileUpload-D_kEAfO0.js → FileUpload-Bp_PJsEh.js} +1 -1
- package/dist/{FileUploadContainer-DQp3ma_5.d.ts → FileUploadContainer-AXKKhDA2.d.ts} +1 -1
- package/dist/{Form-ClkPByHS.d.ts → Form-Deo6XMcJ.d.ts} +2 -2
- package/dist/{InputItem-BgpoT7wO.js → InputItem-Ccq-CPhO.js} +11 -11
- package/dist/{InputUpload-toP6to1k.d.ts → InputUpload-CeuW0fyb.d.ts} +2 -2
- package/dist/{InputUpload-BJpTDs3D.js → InputUpload-DhHwq04b.js} +1 -1
- package/dist/{Inputs-DtjIuT7_.js → Inputs-BEpDZNbM.js} +1 -1
- package/dist/{Inputs-DnyhKDWY.d.ts → Inputs-ScVfcq71.d.ts} +2 -2
- package/dist/{NumberInput-Er4_JOdF.d.ts → NumberInput-D55Euj-I.d.ts} +2 -2
- package/dist/{NumberRangeInput-Docbid25.d.ts → NumberRangeInput-DzefGyd0.d.ts} +2 -2
- package/dist/{NumberRangeInput-CW7X27p1.js → NumberRangeInput-z6Vtc1_K.js} +1 -1
- package/dist/{PasswordInput-CMuecbth.d.ts → PasswordInput-DJsTL6MK.d.ts} +3 -3
- package/dist/{QuerySelect-spwFI_4I.d.ts → QuerySelect-ChJeOeeX.d.ts} +3 -3
- package/dist/{RadioGroup-DMke8FAY.d.ts → RadioGroup-B9zgdNVL.d.ts} +2 -2
- package/dist/{RadioGroup-DSsr_W6H.js → RadioGroup-DbPn2mnb.js} +1 -1
- package/dist/{Segment-Cnmq-yRu.d.ts → Segment-Cs-lZFiv.d.ts} +2 -2
- package/dist/{Segment-BnyGK1kI.js → Segment-KHQYRSY3.js} +1 -1
- package/dist/{Select-DPG_tS7y.js → Select-BH0NIzjw.js} +1 -1
- package/dist/{Select-DKNYrAih.d.ts → Select-CMQMP_tH.d.ts} +2 -2
- package/dist/{SelectBase-BqiKBIUQ.d.ts → SelectBase-DCzwAxex.d.ts} +2 -2
- package/dist/{Slider-DpjeijYH.js → Slider-DtUK508Z.js} +1 -1
- package/dist/{Slider-BSr-DceL.d.ts → Slider-Dy0GfOxe.d.ts} +2 -2
- package/dist/{TextArea-DTnFqwbo.d.ts → TextArea-DKP9ZCPb.d.ts} +2 -2
- package/dist/{TextArea-Bm3QhIRz.js → TextArea-DMvw-JCk.js} +1 -1
- package/dist/{TextEditor-BlVZ7XEZ.js → TextEditor-DbL1D7el.js} +2 -2
- package/dist/{TextEditor-CDgUmfAI.d.ts → TextEditor-LFoZqOe9.d.ts} +2 -2
- package/dist/{TextInput-CIR7FMvy.d.ts → TextInput-DAqwg4vP.d.ts} +2 -2
- package/dist/{TimePicker-Bf82rbFG.js → TimePicker-B9qpVHTI.js} +1 -1
- package/dist/{TimePicker-DzEDojxz.d.ts → TimePicker-DLhC6VV6.d.ts} +2 -2
- package/dist/{Toggle-BTyx3bF-.d.ts → Toggle-CXwxnLLX.d.ts} +2 -2
- package/dist/{Toggle-Cf8jQ991.js → Toggle-DsvSShE-.js} +1 -1
- package/dist/{autocomplete-_Z_vjt1R.d.ts → autocomplete-DezC1PNA.d.ts} +2 -2
- package/dist/{checkbox-DFNzE8SC.d.ts → checkbox-boU4zAYX.d.ts} +1 -1
- package/dist/{checkbox-group-C9ZNl3az.d.ts → checkbox-group-BlH09Lhn.d.ts} +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group.js +2 -2
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/file-upload.js +1 -1
- package/dist/components/input-upload.d.ts +1 -1
- package/dist/components/input-upload.js +1 -1
- package/dist/components/number-input.d.ts +1 -1
- package/dist/components/number-input.js +1 -1
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/query-autocomplete.d.ts +3 -3
- package/dist/components/query-autocomplete.js +1 -1
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +2 -2
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/segment.d.ts +2 -2
- package/dist/components/segment.js +1 -1
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/text-input.d.ts +1 -1
- package/dist/components/text-input.js +1 -1
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/toggle.js +1 -1
- package/dist/config/ui-config.d.ts +1 -1
- package/dist/{date-picker-D3U7KFrt.d.ts → date-picker-C4IiQKfK.d.ts} +1 -1
- package/dist/{date-range-picker-D5SU50_L.d.ts → date-range-picker-BEDP3EVS.d.ts} +1 -1
- package/dist/{date-time-picker-Ce4YSseQ.d.ts → date-time-picker-DxE8Dvn-.d.ts} +1 -1
- package/dist/{dynamicInputs-BeAeCoCp.d.ts → dynamicInputs-CY6tmcvQ.d.ts} +47 -47
- package/dist/{file-upload-DkyiGZ7E.d.ts → file-upload-CzD3U0_9.d.ts} +2 -2
- package/dist/{fileUpload.types-BDhN2rsb.d.ts → fileUpload.types-1EevkMSt.d.ts} +2 -2
- package/dist/{form.binding-DAAmi5nC.js → form.binding-CiRiRcTS.js} +5 -3
- package/dist/{form.binding-K3vP-Nhi.d.ts → form.binding-DVJ5F0JE.d.ts} +1 -0
- package/dist/{form.types-BXiBJ8-5.d.ts → form.types-CecYaerF.d.ts} +1 -1
- package/dist/index.d.ts +44 -44
- package/dist/index.js +7 -7
- package/dist/{input-upload-Dem5wN3q.d.ts → input-upload-sjrDwwj8.d.ts} +1 -1
- package/dist/{number-input-BqozX92g.d.ts → number-input-m47wtnO5.d.ts} +1 -1
- package/dist/{number-range-input-D7oH1mFY.d.ts → number-range-input-CDI2cgH-.d.ts} +1 -1
- package/dist/{password-input-C-vVqZOQ.d.ts → password-input-BSjEW5qV.d.ts} +1 -1
- package/dist/{query-autocomplete-BAAoA4cn.d.ts → query-autocomplete-BmyGnaKU.d.ts} +2 -2
- package/dist/{query-select-CC4UIjSF.d.ts → query-select-BdSJS43M.d.ts} +2 -2
- package/dist/{queryAutocomplete.types-B6mZJnhq.d.ts → queryAutocomplete.types-BtQJn8sf.d.ts} +3 -3
- package/dist/{radio-group-9Nn3LIbn.d.ts → radio-group-HZHXgwiW.d.ts} +1 -1
- package/dist/rhf/autocomplete.d.ts +2 -2
- package/dist/rhf/checkbox-group.d.ts +2 -2
- package/dist/rhf/checkbox.d.ts +2 -2
- package/dist/rhf/checkbox.js +1 -1
- package/dist/rhf/date-picker.d.ts +2 -2
- package/dist/rhf/date-picker.js +1 -1
- package/dist/rhf/date-range-picker.d.ts +2 -2
- package/dist/rhf/date-range-picker.js +1 -1
- package/dist/rhf/date-time-picker.d.ts +2 -2
- package/dist/rhf/date-time-picker.js +1 -1
- package/dist/rhf/file-upload.d.ts +2 -2
- package/dist/rhf/file-upload.js +1 -1
- package/dist/rhf/input-upload.d.ts +2 -2
- package/dist/rhf/input-upload.js +1 -1
- package/dist/rhf/inputs.d.ts +1 -1
- package/dist/rhf/number-input.d.ts +2 -2
- package/dist/rhf/number-range-input.d.ts +2 -2
- package/dist/rhf/number-range-input.js +1 -1
- package/dist/rhf/password-input.d.ts +2 -2
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/query-select.d.ts +1 -1
- package/dist/rhf/radio-group.d.ts +2 -2
- package/dist/rhf/radio-group.js +1 -1
- package/dist/rhf/segment.d.ts +2 -2
- package/dist/rhf/segment.js +1 -1
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/select.js +1 -1
- package/dist/rhf/slider.d.ts +2 -2
- package/dist/rhf/slider.js +1 -1
- package/dist/rhf/text-area.d.ts +2 -2
- package/dist/rhf/text-area.js +1 -1
- package/dist/rhf/text-editor.d.ts +2 -2
- package/dist/rhf/text-editor.js +1 -1
- package/dist/rhf/text-input.d.ts +2 -2
- package/dist/rhf/time-picker.d.ts +2 -2
- package/dist/rhf/time-picker.js +1 -1
- package/dist/rhf/toggle.d.ts +2 -2
- package/dist/rhf/toggle.js +1 -1
- package/dist/rhf.d.ts +44 -44
- package/dist/rhf.js +7 -7
- package/dist/{segment-DnRosWxP.d.ts → segment-CXgrI1D3.d.ts} +1 -1
- package/dist/{segment.types-11U4nbX6.d.ts → segment.types-BhDbUSjd.d.ts} +2 -2
- package/dist/{select-B8ei3QXS.d.ts → select-C8jT5aAx.d.ts} +2 -2
- package/dist/{slider-Vfx_Q9t3.d.ts → slider-CfQxAtGi.d.ts} +1 -1
- package/dist/tanstack/autocomplete.d.ts +1 -1
- package/dist/tanstack/checkbox-group.d.ts +1 -1
- package/dist/tanstack/checkbox.d.ts +1 -1
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.d.ts +1 -1
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.d.ts +1 -1
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.d.ts +1 -1
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-upload.d.ts +2 -2
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.d.ts +2 -2
- package/dist/tanstack/form.js +2 -2
- package/dist/tanstack/input-upload.d.ts +1 -1
- package/dist/tanstack/input-upload.js +1 -1
- package/dist/tanstack/inputs.d.ts +2 -2
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/number-input.d.ts +1 -1
- package/dist/tanstack/number-range-input.d.ts +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.d.ts +1 -1
- package/dist/tanstack/query-select.d.ts +1 -1
- package/dist/tanstack/radio-group.d.ts +1 -1
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/segment.d.ts +2 -2
- package/dist/tanstack/segment.js +1 -1
- package/dist/tanstack/select.d.ts +1 -1
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.d.ts +1 -1
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/table.d.ts +1 -1
- package/dist/tanstack/table.js +1 -1
- package/dist/tanstack/text-area.d.ts +1 -1
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/text-editor.d.ts +1 -1
- package/dist/tanstack/text-editor.js +1 -1
- package/dist/tanstack/text-input.d.ts +1 -1
- package/dist/tanstack/time-picker.d.ts +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle.d.ts +1 -1
- package/dist/tanstack/toggle.js +1 -1
- package/dist/tanstack.d.ts +29 -29
- package/dist/tanstack.js +18 -18
- package/dist/{text-area-00UEdcjI.d.ts → text-area-DC66AoNt.d.ts} +1 -1
- package/dist/{text-editor-n_MOxVhe.d.ts → text-editor-C-EwtPlu.d.ts} +1 -1
- package/dist/text-editor.d.ts +1 -1
- package/dist/text-editor.js +1 -1
- package/dist/{text-input-C0JhuyKl.d.ts → text-input-Bqs1Zjkb.d.ts} +1 -1
- package/dist/{time-picker-Stm-htK8.d.ts → time-picker-PuMNF85l.d.ts} +1 -1
- package/dist/{toggle-BkjWTQJR.d.ts → toggle-Cq1LSIQH.d.ts} +1 -1
- package/dist/{useFormAutosave-CaF9uarl.js → useFormAutosave-BlLWGgwY.js} +2 -2
- package/dist/{useTableColumnConfig-BGfALpxU.js → useTableColumnConfig-CKQtX6hN.js} +1 -1
- package/dist/{useTableNav-DUNcrp60.d.ts → useTableNav-COJSkL1L.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as FileUploadError, c as FileUploadResponse, l as FileUploadState, n as FileUploadBaseProps, o as FileUploadProps, r as FileUploadButtonProps, s as FileUploadRequest, t as DefaultFile } from "../fileUpload.types-
|
|
2
|
-
import { t as FileUpload } from "../FileUpload-
|
|
1
|
+
import { a as FileUploadError, c as FileUploadResponse, l as FileUploadState, n as FileUploadBaseProps, o as FileUploadProps, r as FileUploadButtonProps, s as FileUploadRequest, t as DefaultFile } from "../fileUpload.types-1EevkMSt.js";
|
|
2
|
+
import { t as FileUpload } from "../FileUpload-8CS7oVp3.js";
|
|
3
3
|
export { type DefaultFile, FileUpload, type FileUploadBaseProps, type FileUploadButtonProps, type FileUploadError, type FileUploadProps, type FileUploadRequest, type FileUploadResponse, type FileUploadState };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FileUpload } from "../FileUpload-
|
|
1
|
+
import { t as FileUpload } from "../FileUpload-Bp_PJsEh.js";
|
|
2
2
|
export { FileUpload };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputUploadBaseProps, r as InputUploadProps, t as InputUpload } from "../InputUpload-
|
|
1
|
+
import { n as InputUploadBaseProps, r as InputUploadProps, t as InputUpload } from "../InputUpload-CeuW0fyb.js";
|
|
2
2
|
export { InputUpload, type InputUploadBaseProps, type InputUploadProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as InputUpload } from "../InputUpload-
|
|
1
|
+
import { t as InputUpload } from "../InputUpload-DhHwq04b.js";
|
|
2
2
|
export { InputUpload };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as NumberInputProps, n as NumberInput, r as NumberInputComponent, t as ControlledNumberInputProps } from "../NumberInput-
|
|
1
|
+
import { i as NumberInputProps, n as NumberInput, r as NumberInputComponent, t as ControlledNumberInputProps } from "../NumberInput-D55Euj-I.js";
|
|
2
2
|
export { ControlledNumberInputProps, NumberInput, NumberInputComponent, NumberInputProps };
|
|
@@ -5,7 +5,7 @@ import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../context-74MZZ
|
|
|
5
5
|
import { n as $81397a9303501bda$export$23f548e970bdf099, r as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, t as getStaticNumberDisplayValue } from "../numberStatic.utils-DcnGigJ6.js";
|
|
6
6
|
import { n as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../Input-BefLtZJe.js";
|
|
7
7
|
import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
|
|
8
|
-
import { t as FieldController } from "../form.binding-
|
|
8
|
+
import { t as FieldController } from "../form.binding-CiRiRcTS.js";
|
|
9
9
|
import { t as FormField } from "../FormField-Cl-t5Wi1.js";
|
|
10
10
|
import { t as inputBaseDefinition } from "../input.cva-KYGD4Bdz.js";
|
|
11
11
|
import { t as TooltipWrapper } from "../TooltipWrapper-_N-GOMaV.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as NumberRangeValue, n as NumberRangeInput, r as NumberRangeInputProps, t as ControlledNumberRangeInputProps } from "../NumberRangeInput-
|
|
1
|
+
import { i as NumberRangeValue, n as NumberRangeInput, r as NumberRangeInputProps, t as ControlledNumberRangeInputProps } from "../NumberRangeInput-DzefGyd0.js";
|
|
2
2
|
export { ControlledNumberRangeInputProps, NumberRangeInput, NumberRangeInputProps, type NumberRangeValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as NumberRangeInput } from "../NumberRangeInput-
|
|
1
|
+
import { t as NumberRangeInput } from "../NumberRangeInput-z6Vtc1_K.js";
|
|
2
2
|
export { NumberRangeInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PasswordInput, r as PasswordInputProps, t as ControlledPasswordInputProps } from "../PasswordInput-
|
|
1
|
+
import { n as PasswordInput, r as PasswordInputProps, t as ControlledPasswordInputProps } from "../PasswordInput-DJsTL6MK.js";
|
|
2
2
|
export { ControlledPasswordInputProps, PasswordInput, PasswordInputProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as FieldValues } from "../form.binding-
|
|
2
|
-
import { s as SelectItem } from "../SelectBase-
|
|
3
|
-
import { n as QueryFn, t as QueryAutocompleteProps } from "../queryAutocomplete.types-
|
|
1
|
+
import { n as FieldValues } from "../form.binding-DVJ5F0JE.js";
|
|
2
|
+
import { s as SelectItem } from "../SelectBase-DCzwAxex.js";
|
|
3
|
+
import { n as QueryFn, t as QueryAutocompleteProps } from "../queryAutocomplete.types-BtQJn8sf.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-runtime").JSX.Element;
|
|
6
6
|
declare const QueryAutocomplete: typeof QueryAutocompleteComponent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-BG4jfp9p.js";
|
|
2
2
|
import { f as $5dc95899b306f630$export$c9058316764c140e } from "../utils-D-KKbY-n.js";
|
|
3
|
-
import { t as FieldController } from "../form.binding-
|
|
3
|
+
import { t as FieldController } from "../form.binding-CiRiRcTS.js";
|
|
4
4
|
import { Autocomplete } from "./autocomplete.js";
|
|
5
5
|
import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
|
|
6
6
|
import { memo, useCallback, useMemo, useState } from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as QuerySelectProps, t as QuerySelect } from "../QuerySelect-
|
|
1
|
+
import { n as QuerySelectProps, t as QuerySelect } from "../QuerySelect-ChJeOeeX.js";
|
|
2
2
|
export { QuerySelect, QuerySelectProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-BG4jfp9p.js";
|
|
2
2
|
import { f as $5dc95899b306f630$export$c9058316764c140e } from "../utils-D-KKbY-n.js";
|
|
3
|
-
import { t as FieldController } from "../form.binding-
|
|
4
|
-
import { t as Select } from "../Select-
|
|
3
|
+
import { t as FieldController } from "../form.binding-CiRiRcTS.js";
|
|
4
|
+
import { t as Select } from "../Select-BH0NIzjw.js";
|
|
5
5
|
import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
|
|
6
6
|
import { memo, useCallback, useMemo, useState } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RadioGroup, r as RadioGroupProps, t as ControlledRadioGroupProps } from "../RadioGroup-
|
|
1
|
+
import { n as RadioGroup, r as RadioGroupProps, t as ControlledRadioGroupProps } from "../RadioGroup-B9zgdNVL.js";
|
|
2
2
|
export { ControlledRadioGroupProps, RadioGroup, RadioGroupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as RadioGroup } from "../RadioGroup-
|
|
1
|
+
import { t as RadioGroup } from "../RadioGroup-DbPn2mnb.js";
|
|
2
2
|
export { RadioGroup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { o as SegmentProps, t as ControlledSegmentProps } from "../segment.types-
|
|
2
|
-
import { t as Segment } from "../Segment-
|
|
1
|
+
import { o as SegmentProps, t as ControlledSegmentProps } from "../segment.types-BhDbUSjd.js";
|
|
2
|
+
import { t as Segment } from "../Segment-Cs-lZFiv.js";
|
|
3
3
|
export { type ControlledSegmentProps, Segment, type SegmentProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Segment } from "../Segment-
|
|
1
|
+
import { t as Segment } from "../Segment-KHQYRSY3.js";
|
|
2
2
|
export { Segment };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as SelectAsyncProps, o as SelectBaseProps, s as SelectItem, t as DefaultInitialSelectItem } from "../SelectBase-
|
|
2
|
-
import { n as Select, r as SelectProps, t as ControlledSelectProps } from "../Select-
|
|
1
|
+
import { a as SelectAsyncProps, o as SelectBaseProps, s as SelectItem, t as DefaultInitialSelectItem } from "../SelectBase-DCzwAxex.js";
|
|
2
|
+
import { n as Select, r as SelectProps, t as ControlledSelectProps } from "../Select-CMQMP_tH.js";
|
|
3
3
|
export { type ControlledSelectProps, type DefaultInitialSelectItem, Select, type SelectAsyncProps, type SelectBaseProps, type SelectItem, type SelectProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Select } from "../Select-
|
|
1
|
+
import { t as Select } from "../Select-BH0NIzjw.js";
|
|
2
2
|
export { Select };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Slider, r as SliderProps, t as ControlledSliderProps } from "../Slider-
|
|
1
|
+
import { n as Slider, r as SliderProps, t as ControlledSliderProps } from "../Slider-Dy0GfOxe.js";
|
|
2
2
|
export { ControlledSliderProps, Slider, SliderProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Slider } from "../Slider-
|
|
1
|
+
import { t as Slider } from "../Slider-DtUK508Z.js";
|
|
2
2
|
export { Slider };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TextArea, r as TextAreaProps, t as ControlledTextAreaProps } from "../TextArea-
|
|
1
|
+
import { n as TextArea, r as TextAreaProps, t as ControlledTextAreaProps } from "../TextArea-DKP9ZCPb.js";
|
|
2
2
|
export { ControlledTextAreaProps, TextArea, TextAreaProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextArea } from "../TextArea-
|
|
1
|
+
import { t as TextArea } from "../TextArea-DMvw-JCk.js";
|
|
2
2
|
export { TextArea };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as TextInputProps, n as TextInput, r as TextInputComponent, t as ControlledTextInputProps } from "../TextInput-
|
|
1
|
+
import { i as TextInputProps, n as TextInput, r as TextInputComponent, t as ControlledTextInputProps } from "../TextInput-DAqwg4vP.js";
|
|
2
2
|
export { ControlledTextInputProps, TextInput, TextInputComponent, TextInputProps };
|
|
@@ -3,7 +3,7 @@ import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
|
3
3
|
import { f as $5dc95899b306f630$export$c9058316764c140e } from "../utils-D-KKbY-n.js";
|
|
4
4
|
import { n as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../Input-BefLtZJe.js";
|
|
5
5
|
import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
|
|
6
|
-
import { t as FieldController } from "../form.binding-
|
|
6
|
+
import { t as FieldController } from "../form.binding-CiRiRcTS.js";
|
|
7
7
|
import { t as FormField } from "../FormField-Cl-t5Wi1.js";
|
|
8
8
|
import { t as inputBaseDefinition } from "../input.cva-KYGD4Bdz.js";
|
|
9
9
|
import { t as TooltipWrapper } from "../TooltipWrapper-_N-GOMaV.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TimePicker, r as TimePickerProps, t as ControlledTimePickerProps } from "../TimePicker-
|
|
1
|
+
import { n as TimePicker, r as TimePickerProps, t as ControlledTimePickerProps } from "../TimePicker-DLhC6VV6.js";
|
|
2
2
|
export { type ControlledTimePickerProps, TimePicker, type TimePickerProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TimePicker } from "../TimePicker-
|
|
1
|
+
import { t as TimePicker } from "../TimePicker-B9qpVHTI.js";
|
|
2
2
|
export { TimePicker };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Toggle, r as ToggleProps, t as ControlledToggleProps } from "../Toggle-
|
|
1
|
+
import { n as Toggle, r as ToggleProps, t as ControlledToggleProps } from "../Toggle-CXwxnLLX.js";
|
|
2
2
|
export { ControlledToggleProps, Toggle, ToggleProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Toggle } from "../Toggle-
|
|
1
|
+
import { t as Toggle } from "../Toggle-DsvSShE-.js";
|
|
2
2
|
export { Toggle };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as DateRangeResolvedValue, i as DateRangeRelativeOption } from "../DateRangePicker-
|
|
1
|
+
import { a as DateRangeResolvedValue, i as DateRangeRelativeOption } from "../DateRangePicker-uizMF2l6.js";
|
|
2
2
|
import { t as UIConfig } from "../uiConfig.context-D9Aig1NJ.js";
|
|
3
3
|
export { type DateRangeRelativeOption, type DateRangeResolvedValue, UIConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as DatePickerProps } from "./DatePicker-
|
|
1
|
+
import { r as DatePickerProps } from "./DatePicker-BpkXBEW3.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as DateRangePickerProps } from "./DateRangePicker-
|
|
1
|
+
import { r as DateRangePickerProps } from "./DateRangePicker-uizMF2l6.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as DateTimePickerProps } from "./DateTimePicker-
|
|
1
|
+
import { r as DateTimePickerProps } from "./DateTimePicker-BYsxFhGA.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
@@ -12,30 +12,30 @@ import "./SplitButton-Cr_TZk_j.js";
|
|
|
12
12
|
import "./Button-DIy4SCYi.js";
|
|
13
13
|
import "./TextButton-CEueS1ax.js";
|
|
14
14
|
import "./ToggleButton-CWCpemW4.js";
|
|
15
|
-
import { c as UIForm, n as FieldValues$1, r as FormInstance } from "./form.binding-
|
|
15
|
+
import { c as UIForm, n as FieldValues$1, r as FormInstance } from "./form.binding-DVJ5F0JE.js";
|
|
16
16
|
import "./checkbox.cva-Caaf2Ysq.js";
|
|
17
|
-
import { a as ControlledCheckboxProps } from "./Checkbox-
|
|
17
|
+
import { a as ControlledCheckboxProps } from "./Checkbox-DGzd9pZ2.js";
|
|
18
18
|
import "./FormField-H4QV55fT.js";
|
|
19
19
|
import "./input.cva-CfgCOIQW.js";
|
|
20
|
-
import { r as ControlledCheckboxGroupProps } from "./CheckboxGroup-
|
|
21
|
-
import "./FileUpload-
|
|
22
|
-
import "./FileUploadContainer-
|
|
23
|
-
import "./InputUpload-
|
|
24
|
-
import { r as NumberInputComponent } from "./NumberInput-
|
|
25
|
-
import { t as ControlledNumberRangeInputProps } from "./NumberRangeInput-
|
|
26
|
-
import { r as TextInputComponent } from "./TextInput-
|
|
27
|
-
import { t as ControlledPasswordInputProps } from "./PasswordInput-
|
|
28
|
-
import { t as ControlledTextAreaProps } from "./TextArea-
|
|
20
|
+
import { r as ControlledCheckboxGroupProps } from "./CheckboxGroup-Bm0W41Eu.js";
|
|
21
|
+
import "./FileUpload-8CS7oVp3.js";
|
|
22
|
+
import "./FileUploadContainer-AXKKhDA2.js";
|
|
23
|
+
import "./InputUpload-CeuW0fyb.js";
|
|
24
|
+
import { r as NumberInputComponent } from "./NumberInput-D55Euj-I.js";
|
|
25
|
+
import { t as ControlledNumberRangeInputProps } from "./NumberRangeInput-DzefGyd0.js";
|
|
26
|
+
import { r as TextInputComponent } from "./TextInput-DAqwg4vP.js";
|
|
27
|
+
import { t as ControlledPasswordInputProps } from "./PasswordInput-DJsTL6MK.js";
|
|
28
|
+
import { t as ControlledTextAreaProps } from "./TextArea-DKP9ZCPb.js";
|
|
29
29
|
import "./radio.cva-9lpsise2.js";
|
|
30
|
-
import { s as SelectItem, t as DefaultInitialSelectItem } from "./SelectBase-
|
|
30
|
+
import { s as SelectItem, t as DefaultInitialSelectItem } from "./SelectBase-DCzwAxex.js";
|
|
31
31
|
import { n as HasRequiredProperty } from "./common-UBFya8WY.js";
|
|
32
|
-
import { n as AutocompleteProps, r as ControlledAutocompleteProps } from "./Autocomplete-
|
|
33
|
-
import { n as QueryFn, t as QueryAutocompleteProps } from "./queryAutocomplete.types-
|
|
34
|
-
import { r as SelectProps, t as ControlledSelectProps } from "./Select-
|
|
35
|
-
import { n as QuerySelectProps, r as QueryFn$1 } from "./QuerySelect-
|
|
36
|
-
import { t as ControlledSliderProps } from "./Slider-
|
|
32
|
+
import { n as AutocompleteProps, r as ControlledAutocompleteProps } from "./Autocomplete-BHThT8o6.js";
|
|
33
|
+
import { n as QueryFn, t as QueryAutocompleteProps } from "./queryAutocomplete.types-BtQJn8sf.js";
|
|
34
|
+
import { r as SelectProps, t as ControlledSelectProps } from "./Select-CMQMP_tH.js";
|
|
35
|
+
import { n as QuerySelectProps, r as QueryFn$1 } from "./QuerySelect-ChJeOeeX.js";
|
|
36
|
+
import { t as ControlledSliderProps } from "./Slider-Dy0GfOxe.js";
|
|
37
37
|
import "./toggle.cva-2CGLc8aa.js";
|
|
38
|
-
import { t as ControlledToggleProps } from "./Toggle-
|
|
38
|
+
import { t as ControlledToggleProps } from "./Toggle-CXwxnLLX.js";
|
|
39
39
|
import "./Modal--xD51Y24.js";
|
|
40
40
|
import "./Typography-BiHrVFpz.js";
|
|
41
41
|
import "./ActionModal-Cr1duuOL.js";
|
|
@@ -55,46 +55,46 @@ import "./Pill-Bhp_PzWU.js";
|
|
|
55
55
|
import "./Tag-Da5X5cTK.js";
|
|
56
56
|
import "./Accordion-Ba1AN8Oh.js";
|
|
57
57
|
import "./confirmation.context-CmbxKmXo.js";
|
|
58
|
-
import { t as ControlledDatePickerProps } from "./DatePicker-
|
|
59
|
-
import { t as ControlledDateRangePickerProps } from "./DateRangePicker-
|
|
60
|
-
import { t as ControlledDateTimePickerProps } from "./DateTimePicker-
|
|
58
|
+
import { t as ControlledDatePickerProps } from "./DatePicker-BpkXBEW3.js";
|
|
59
|
+
import { t as ControlledDateRangePickerProps } from "./DateRangePicker-uizMF2l6.js";
|
|
60
|
+
import { t as ControlledDateTimePickerProps } from "./DateTimePicker-BYsxFhGA.js";
|
|
61
61
|
import "./date-time.utils-Cu9TVj46.js";
|
|
62
62
|
import "./link.context-BoEOZqJY.js";
|
|
63
63
|
import "./MenuItem-Cw_-egy4.js";
|
|
64
64
|
import "./ProgressBar-DG-ClG9v.js";
|
|
65
|
-
import { t as Autocomplete } from "./autocomplete-
|
|
66
|
-
import { t as Checkbox } from "./checkbox-
|
|
67
|
-
import { t as CheckboxGroup } from "./checkbox-group-
|
|
68
|
-
import { n as DatePicker } from "./date-picker-
|
|
69
|
-
import { n as DateRangePicker } from "./date-range-picker-
|
|
70
|
-
import { n as DateTimePicker } from "./date-time-picker-
|
|
71
|
-
import "./file-upload-
|
|
72
|
-
import "./input-upload-
|
|
73
|
-
import { n as NumberInput } from "./number-input-
|
|
74
|
-
import { n as NumberRangeInput } from "./number-range-input-
|
|
75
|
-
import { n as PasswordInput } from "./password-input-
|
|
76
|
-
import { t as QueryAutocomplete } from "./query-autocomplete-
|
|
77
|
-
import { t as QuerySelect } from "./query-select-
|
|
78
|
-
import "./radio-group-
|
|
79
|
-
import "./segment.types-
|
|
80
|
-
import { n as Segment } from "./segment-
|
|
81
|
-
import { n as Select } from "./select-
|
|
82
|
-
import { n as Slider } from "./slider-
|
|
83
|
-
import { n as TextArea } from "./text-area-
|
|
84
|
-
import "./text-editor-
|
|
85
|
-
import { n as TextInput } from "./text-input-
|
|
86
|
-
import { t as ControlledTimePickerProps } from "./TimePicker-
|
|
87
|
-
import { n as TimePicker } from "./time-picker-
|
|
88
|
-
import { n as Toggle } from "./toggle-
|
|
65
|
+
import { t as Autocomplete } from "./autocomplete-DezC1PNA.js";
|
|
66
|
+
import { t as Checkbox } from "./checkbox-boU4zAYX.js";
|
|
67
|
+
import { t as CheckboxGroup } from "./checkbox-group-BlH09Lhn.js";
|
|
68
|
+
import { n as DatePicker } from "./date-picker-C4IiQKfK.js";
|
|
69
|
+
import { n as DateRangePicker } from "./date-range-picker-BEDP3EVS.js";
|
|
70
|
+
import { n as DateTimePicker } from "./date-time-picker-DxE8Dvn-.js";
|
|
71
|
+
import "./file-upload-CzD3U0_9.js";
|
|
72
|
+
import "./input-upload-sjrDwwj8.js";
|
|
73
|
+
import { n as NumberInput } from "./number-input-m47wtnO5.js";
|
|
74
|
+
import { n as NumberRangeInput } from "./number-range-input-CDI2cgH-.js";
|
|
75
|
+
import { n as PasswordInput } from "./password-input-BSjEW5qV.js";
|
|
76
|
+
import { t as QueryAutocomplete } from "./query-autocomplete-BmyGnaKU.js";
|
|
77
|
+
import { t as QuerySelect } from "./query-select-BdSJS43M.js";
|
|
78
|
+
import "./radio-group-HZHXgwiW.js";
|
|
79
|
+
import "./segment.types-BhDbUSjd.js";
|
|
80
|
+
import { n as Segment } from "./segment-CXgrI1D3.js";
|
|
81
|
+
import { n as Select } from "./select-C8jT5aAx.js";
|
|
82
|
+
import { n as Slider } from "./slider-CfQxAtGi.js";
|
|
83
|
+
import { n as TextArea } from "./text-area-DC66AoNt.js";
|
|
84
|
+
import "./text-editor-C-EwtPlu.js";
|
|
85
|
+
import { n as TextInput } from "./text-input-Bqs1Zjkb.js";
|
|
86
|
+
import { t as ControlledTimePickerProps } from "./TimePicker-DLhC6VV6.js";
|
|
87
|
+
import { n as TimePicker } from "./time-picker-PuMNF85l.js";
|
|
88
|
+
import { n as Toggle } from "./toggle-Cq1LSIQH.js";
|
|
89
89
|
import "./Stepper-JUO4MbZx.js";
|
|
90
|
-
import "./useTableNav-
|
|
90
|
+
import "./useTableNav-COJSkL1L.js";
|
|
91
91
|
import "./router.context-BOYRh2p9.js";
|
|
92
92
|
import "./theme.context-B10jqjvZ.js";
|
|
93
93
|
import "./uiConfig.context-D9Aig1NJ.js";
|
|
94
94
|
import "./useFilters-BxRScJdn.js";
|
|
95
95
|
import "./useLocalStorage-DGsBUCT6.js";
|
|
96
96
|
import "./useTranslationMemo-Dy3p6m1g.js";
|
|
97
|
-
import { t as Segment$1 } from "./Segment-
|
|
97
|
+
import { t as Segment$1 } from "./Segment-Cs-lZFiv.js";
|
|
98
98
|
import { ComponentProps, DependencyList, EffectCallback, JSXElementConstructor, KeyboardEvent, ReactElement, ReactNode, RefObject, SetStateAction, SyntheticEvent } from "react";
|
|
99
99
|
import { PopoverProps } from "react-aria-components";
|
|
100
100
|
import { z } from "zod";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as FileUploadBaseProps } from "./fileUpload.types-
|
|
2
|
-
import "./FileUpload-
|
|
1
|
+
import { n as FileUploadBaseProps } from "./fileUpload.types-1EevkMSt.js";
|
|
2
|
+
import "./FileUpload-8CS7oVp3.js";
|
|
3
3
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
5
5
|
//#region src/entries/rhf/file-upload.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as ButtonProps$1 } from "./Button-DIy4SCYi.js";
|
|
2
|
-
import { n as FieldValues } from "./form.binding-
|
|
3
|
-
import { t as ControlProps } from "./form.types-
|
|
2
|
+
import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
|
|
3
|
+
import { t as ControlProps } from "./form.types-CecYaerF.js";
|
|
4
4
|
import { n as FormFieldProps } from "./FormField-H4QV55fT.js";
|
|
5
5
|
import { ReactNode, Ref } from "react";
|
|
6
6
|
import { DropZoneProps, FileTriggerProps } from "react-aria-components";
|
|
@@ -9,6 +9,7 @@ function useForm$1({ defaultValues, disabled = false, mode = "onSubmit", onSubmi
|
|
|
9
9
|
const submitHandlerRef = useRef(() => void 0);
|
|
10
10
|
const submitErrorHandlerRef = useRef(void 0);
|
|
11
11
|
const blurListenersRef = useRef(/* @__PURE__ */ new Set());
|
|
12
|
+
const defaultValuesRef = useRef(defaultValues);
|
|
12
13
|
const fieldValidators = useMemo(() => {
|
|
13
14
|
return /* @__PURE__ */ new Map();
|
|
14
15
|
}, [mode, zodSchema]);
|
|
@@ -20,8 +21,9 @@ function useForm$1({ defaultValues, disabled = false, mode = "onSubmit", onSubmi
|
|
|
20
21
|
return { fields: Object.fromEntries(result.error.issues.map((issue) => [pathToString(issue.path), issue.message])) };
|
|
21
22
|
};
|
|
22
23
|
}, [zodSchema]);
|
|
24
|
+
const initialDefaultValues = defaultValuesRef.current;
|
|
23
25
|
const form = useForm({
|
|
24
|
-
defaultValues: (typeof
|
|
26
|
+
defaultValues: (typeof initialDefaultValues === "function" ? {} : initialDefaultValues) ?? {},
|
|
25
27
|
validators: formValidator || onSubmitAsync ? {
|
|
26
28
|
onBlur: mode === "all" || mode !== "onChange" ? formValidator : void 0,
|
|
27
29
|
onChange: mode === "all" || mode === "onChange" ? formValidator : void 0,
|
|
@@ -83,8 +85,8 @@ function useForm$1({ defaultValues, disabled = false, mode = "onSubmit", onSubmi
|
|
|
83
85
|
await originalHandleSubmit();
|
|
84
86
|
};
|
|
85
87
|
useEffect(() => {
|
|
86
|
-
if (typeof
|
|
87
|
-
}, [
|
|
88
|
+
if (typeof initialDefaultValues === "function") initialDefaultValues().then((values_0) => form.reset(values_0));
|
|
89
|
+
}, [form, initialDefaultValues]);
|
|
88
90
|
useLayoutEffect(() => {
|
|
89
91
|
if (disabledStore.state !== disabled) disabledStore.setState(() => disabled);
|
|
90
92
|
}, [disabled, disabledStore]);
|
|
@@ -27,6 +27,7 @@ type UIForm<TFieldValues extends Record<string, unknown> = Record<string, unknow
|
|
|
27
27
|
type AsyncDefaultValues<TFieldValues> = (payload?: unknown) => Promise<TFieldValues>;
|
|
28
28
|
type NullableDefaults<T> = T extends Date | File | Blob ? T : T extends Array<infer TItem> ? Array<NullableDefaults<TItem>> : T extends object ? { [K in keyof T]?: NullableDefaults<T[K]> | null; } : T | null;
|
|
29
29
|
interface UseFormProps<TFieldValues, TTransformedValues = TFieldValues> {
|
|
30
|
+
/** Initial form values. Changes after mount are ignored; use `form.reset()` to replace form values. */
|
|
30
31
|
defaultValues?: NullableDefaults<TFieldValues> | AsyncDefaultValues<TFieldValues>;
|
|
31
32
|
disabled?: boolean;
|
|
32
33
|
mode?: FormMode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DeepValue, c as UIForm, i as DeepKeys } from "./form.binding-
|
|
1
|
+
import { a as DeepValue, c as UIForm, i as DeepKeys } from "./form.binding-DVJ5F0JE.js";
|
|
2
2
|
//#region src/components/inputs/shared/form.types.d.ts
|
|
3
3
|
type ControlKeys<TProps, TValueProp extends keyof TProps = "value" extends keyof TProps ? "value" : never> = TValueProp | "onChange" | "onBlur";
|
|
4
4
|
interface FormControl<TFieldValues extends Record<string, unknown>, TType> {
|
package/dist/index.d.ts
CHANGED
|
@@ -15,27 +15,27 @@ import { r as ButtonProps, t as Button } from "./Button-DIy4SCYi.js";
|
|
|
15
15
|
import { n as TextButtonProps, t as TextButton } from "./TextButton-CEueS1ax.js";
|
|
16
16
|
import { n as ToggleButtonProps, t as ToggleButton } from "./ToggleButton-CWCpemW4.js";
|
|
17
17
|
import { a as checkboxGroupLabelDefinition, i as checkboxDefinition, n as checkboxContentRowDefinition, o as checkboxIconDefinition, r as checkboxContentWrapperDefinition, t as CheckboxVariantProps } from "./checkbox.cva-Caaf2Ysq.js";
|
|
18
|
-
import { i as CheckboxProps } from "./Checkbox-
|
|
18
|
+
import { i as CheckboxProps } from "./Checkbox-DGzd9pZ2.js";
|
|
19
19
|
import { n as FormFieldProps, t as FormField } from "./FormField-H4QV55fT.js";
|
|
20
20
|
import { a as inputContentWrapperDefinition, i as inputClearClassDefinition, n as InputVariantProps, o as inputSideDefinition, r as inputBaseDefinition, s as inputSizeDefinition } from "./input.cva-CfgCOIQW.js";
|
|
21
|
-
import { n as CheckboxGroupProps } from "./CheckboxGroup-
|
|
22
|
-
import { a as FileUploadError, i as FileUploadContainerProps, l as FileUploadState, s as FileUploadRequest } from "./fileUpload.types-
|
|
23
|
-
import { t as FileUploadContainer } from "./FileUploadContainer-
|
|
24
|
-
import { a as inputUploadDropZoneDefinition, i as inputUploadButtonDefinition } from "./InputUpload-
|
|
25
|
-
import { i as NumberInputProps } from "./NumberInput-
|
|
26
|
-
import { i as NumberRangeValue, r as NumberRangeInputProps } from "./NumberRangeInput-
|
|
27
|
-
import { i as TextInputProps } from "./TextInput-
|
|
28
|
-
import { r as PasswordInputProps } from "./PasswordInput-
|
|
29
|
-
import { r as TextAreaProps } from "./TextArea-
|
|
21
|
+
import { n as CheckboxGroupProps } from "./CheckboxGroup-Bm0W41Eu.js";
|
|
22
|
+
import { a as FileUploadError, i as FileUploadContainerProps, l as FileUploadState, s as FileUploadRequest } from "./fileUpload.types-1EevkMSt.js";
|
|
23
|
+
import { t as FileUploadContainer } from "./FileUploadContainer-AXKKhDA2.js";
|
|
24
|
+
import { a as inputUploadDropZoneDefinition, i as inputUploadButtonDefinition } from "./InputUpload-CeuW0fyb.js";
|
|
25
|
+
import { i as NumberInputProps } from "./NumberInput-D55Euj-I.js";
|
|
26
|
+
import { i as NumberRangeValue, r as NumberRangeInputProps } from "./NumberRangeInput-DzefGyd0.js";
|
|
27
|
+
import { i as TextInputProps } from "./TextInput-DAqwg4vP.js";
|
|
28
|
+
import { r as PasswordInputProps } from "./PasswordInput-DJsTL6MK.js";
|
|
29
|
+
import { r as TextAreaProps } from "./TextArea-DKP9ZCPb.js";
|
|
30
30
|
import { i as radioDefinition, n as radioContentRowDefinition, r as radioContentWrapperDefinition, t as RadioVariantProps } from "./radio.cva-9lpsise2.js";
|
|
31
|
-
import { r as RadioGroupProps } from "./RadioGroup-
|
|
32
|
-
import { a as SelectAsyncProps, o as SelectBaseProps, s as SelectItem, t as DefaultInitialSelectItem } from "./SelectBase-
|
|
31
|
+
import { r as RadioGroupProps } from "./RadioGroup-B9zgdNVL.js";
|
|
32
|
+
import { a as SelectAsyncProps, o as SelectBaseProps, s as SelectItem, t as DefaultInitialSelectItem } from "./SelectBase-DCzwAxex.js";
|
|
33
33
|
import { a as IsRequiredChildrenProperty, i as IsAny, n as HasRequiredProperty, o as IsUnknown, r as IfAny, s as OmitDiscriminatedUnion, t as Function } from "./common-UBFya8WY.js";
|
|
34
|
-
import { n as AutocompleteProps } from "./Autocomplete-
|
|
35
|
-
import { r as SelectProps } from "./Select-
|
|
36
|
-
import { r as SliderProps } from "./Slider-
|
|
34
|
+
import { n as AutocompleteProps } from "./Autocomplete-BHThT8o6.js";
|
|
35
|
+
import { r as SelectProps } from "./Select-CMQMP_tH.js";
|
|
36
|
+
import { r as SliderProps } from "./Slider-Dy0GfOxe.js";
|
|
37
37
|
import { n as toggleDefinition } from "./toggle.cva-2CGLc8aa.js";
|
|
38
|
-
import { r as ToggleProps } from "./Toggle-
|
|
38
|
+
import { r as ToggleProps } from "./Toggle-CXwxnLLX.js";
|
|
39
39
|
import { a as modalOverlayDefinition, i as modalMainDefinition, n as ModalProps, r as modalContentDefinition, t as Modal } from "./Modal--xD51Y24.js";
|
|
40
40
|
import { n as TypographyProps, t as Typography } from "./Typography-BiHrVFpz.js";
|
|
41
41
|
import { n as ActionModalProps, t as ActionModal } from "./ActionModal-Cr1duuOL.js";
|
|
@@ -55,9 +55,9 @@ import { n as PillProps, t as Pill } from "./Pill-Bhp_PzWU.js";
|
|
|
55
55
|
import { i as tagDefinition, n as TagProps, r as TagVariantProps, t as Tag } from "./Tag-Da5X5cTK.js";
|
|
56
56
|
import { i as AccordionProps, n as AccordionItem, r as AccordionItemProps, t as Accordion } from "./Accordion-Ba1AN8Oh.js";
|
|
57
57
|
import { t as Confirmation } from "./confirmation.context-CmbxKmXo.js";
|
|
58
|
-
import { r as DatePickerProps } from "./DatePicker-
|
|
59
|
-
import { r as DateRangePickerProps } from "./DateRangePicker-
|
|
60
|
-
import { r as DateTimePickerProps } from "./DateTimePicker-
|
|
58
|
+
import { r as DatePickerProps } from "./DatePicker-BpkXBEW3.js";
|
|
59
|
+
import { r as DateRangePickerProps } from "./DateRangePicker-uizMF2l6.js";
|
|
60
|
+
import { r as DateTimePickerProps } from "./DateTimePicker-BYsxFhGA.js";
|
|
61
61
|
import { t as DateTimeUtils } from "./date-time.utils-Cu9TVj46.js";
|
|
62
62
|
import { t as DateUtils } from "./date.utils-BoQnMRlF.js";
|
|
63
63
|
import { t as FileUtils } from "./file.utils-Crb-mIHs.js";
|
|
@@ -68,33 +68,33 @@ import { n as MenuListItemProps, t as MenuItem } from "./MenuItem-Cw_-egy4.js";
|
|
|
68
68
|
import { t as uiOutlineClass } from "./outline.clsx-B1hjrX9t.js";
|
|
69
69
|
import { a as progressBarDefinition, c as progressBarTrackWrapperDefinition, i as ProgressBarVariantProps, l as progressBarValueDefinition, n as ProgressBarConfig, o as progressBarFillDefinition, r as ProgressBarTrackConfig, s as progressBarTrackDefinition, t as ProgressBar } from "./ProgressBar-DG-ClG9v.js";
|
|
70
70
|
import { n as resources, t as ns } from "./i18n-D0Pz0p2u.js";
|
|
71
|
-
import { n as ControlledAutocompleteProps, t as Autocomplete } from "./autocomplete-
|
|
72
|
-
import { n as ControlledCheckboxProps, t as Checkbox } from "./checkbox-
|
|
73
|
-
import { n as ControlledCheckboxGroupProps, t as CheckboxGroup } from "./checkbox-group-
|
|
74
|
-
import { n as DatePicker, t as ControlledDatePickerProps } from "./date-picker-
|
|
75
|
-
import { n as DateRangePicker, t as ControlledDateRangePickerProps } from "./date-range-picker-
|
|
76
|
-
import { n as DateTimePicker, t as ControlledDateTimePickerProps } from "./date-time-picker-
|
|
77
|
-
import { r as RHFFileUploadProps, t as FileUpload } from "./file-upload-
|
|
78
|
-
import { r as RHFInputUploadProps, t as InputUpload } from "./input-upload-
|
|
79
|
-
import { n as NumberInput, t as ControlledNumberInputProps } from "./number-input-
|
|
80
|
-
import { n as NumberRangeInput, t as ControlledNumberRangeInputProps } from "./number-range-input-
|
|
81
|
-
import { n as PasswordInput, t as ControlledPasswordInputProps } from "./password-input-
|
|
82
|
-
import { t as QueryAutocomplete } from "./query-autocomplete-
|
|
83
|
-
import { r as RHFQuerySelectProps, t as QuerySelect } from "./query-select-
|
|
84
|
-
import { n as RadioGroup, t as ControlledRadioGroupProps } from "./radio-group-
|
|
85
|
-
import { c as segmentDefinition, l as segmentItemDefinition, o as SegmentProps } from "./segment.types-
|
|
86
|
-
import { n as Segment, t as ControlledSegmentProps } from "./segment-
|
|
87
|
-
import { n as Select, t as ControlledSelectProps } from "./select-
|
|
88
|
-
import { n as Slider, t as ControlledSliderProps } from "./slider-
|
|
89
|
-
import { n as TextArea, t as ControlledTextAreaProps } from "./text-area-
|
|
90
|
-
import { n as TextInput, t as ControlledTextInputProps } from "./text-input-
|
|
91
|
-
import { r as TimePickerProps } from "./TimePicker-
|
|
92
|
-
import { n as TimePicker, t as ControlledTimePickerProps } from "./time-picker-
|
|
93
|
-
import { n as Toggle, t as ControlledToggleProps } from "./toggle-
|
|
94
|
-
import { $ as textAreaWrapperDefinition, A as useKeyInteractions, At as Form, B as useDebounceCallback, C as KeyInteractionAction, Ct as BreadcrumbSegmentVariantProps, D as UseKeyInteractionsResult, Dt as breadcrumbItemDefinition, E as KeyInteractions, Et as breadcrumbIconDefinition, F as UseFormResolverProps, G as statusSeparatorDefinition, H as UseAutosaveProps, I as useForm, J as selectInputTagsContentWrapperDefinition, K as popoverDefinition, L as useDeepCompareEffect, M as UseFormAutosaveProps, Mt as Inputs, N as useFormAutosave, Nt as InputsProps, O as createKeyInteractionsHandler, Ot as breadcrumbSegmentDefinition, P as UseFormProps, Q as labelDefinition, R as useDeepCompareLayoutEffect, S as KeyInteraction, St as BreadcrumbItemVariantProps, T as KeyInteractionGroup, Tt as breadcrumbChevronDefinition, U as useAutosave, V as useBreakpoint, W as statusIconDefinition, X as LabelBaseProps, Y as selectPopoverDefinition, Z as LabelConfig, _ as DomUtils, _t as MenuPopoverProps, a as DynamicInputsObjectSchema, at as AccordionVariantProps, b as useScrollableListBox, bt as BreadcrumbChevronVariantProps, ct as accordionHeadingDefinition, d as CloseIcon, dt as accordionIconDefinition, et as formFieldHelperDefinition, f as ZodUtils, ft as accordionItemDefinition, g as isEqual, gt as MenuPopover, h as ObjectUtils, ht as accordionTriggerDefinition, it as datePickerInputContentRowDefinition, j as useIntersectionObserver, jt as InputDef, k as getKeyInteractionAction, kt as breadcrumbsDefinition, lt as accordionHeadingSubtitleDefinition, m as QueriesUtils, mt as accordionPanelDefinition, n as dynamicInputs, nt as formFieldHeaderDefinition, ot as accordionChevronDefinition, p as RoutingUtils, pt as accordionPanelContentDefinition, q as selectListBoxItemDefinition, rt as fileUploadDropZoneDefinition, st as accordionDefinition, t as DynamicInputsOptions, tt as formFieldErrorDefinition, ut as accordionHeadingTitleDefinition, v as ArrayUtils, vt as TooltipWrapperTriggerVariantProps, w as KeyInteractionCallback, wt as BreadcrumbsVariantProps, x as useLongPressRepeat, xt as BreadcrumbIconVariantProps, y as useStateAndRef, yt as tooltipWrapperTriggerDefinition, z as useDeepCompareMemo } from "./dynamicInputs-
|
|
71
|
+
import { n as ControlledAutocompleteProps, t as Autocomplete } from "./autocomplete-DezC1PNA.js";
|
|
72
|
+
import { n as ControlledCheckboxProps, t as Checkbox } from "./checkbox-boU4zAYX.js";
|
|
73
|
+
import { n as ControlledCheckboxGroupProps, t as CheckboxGroup } from "./checkbox-group-BlH09Lhn.js";
|
|
74
|
+
import { n as DatePicker, t as ControlledDatePickerProps } from "./date-picker-C4IiQKfK.js";
|
|
75
|
+
import { n as DateRangePicker, t as ControlledDateRangePickerProps } from "./date-range-picker-BEDP3EVS.js";
|
|
76
|
+
import { n as DateTimePicker, t as ControlledDateTimePickerProps } from "./date-time-picker-DxE8Dvn-.js";
|
|
77
|
+
import { r as RHFFileUploadProps, t as FileUpload } from "./file-upload-CzD3U0_9.js";
|
|
78
|
+
import { r as RHFInputUploadProps, t as InputUpload } from "./input-upload-sjrDwwj8.js";
|
|
79
|
+
import { n as NumberInput, t as ControlledNumberInputProps } from "./number-input-m47wtnO5.js";
|
|
80
|
+
import { n as NumberRangeInput, t as ControlledNumberRangeInputProps } from "./number-range-input-CDI2cgH-.js";
|
|
81
|
+
import { n as PasswordInput, t as ControlledPasswordInputProps } from "./password-input-BSjEW5qV.js";
|
|
82
|
+
import { t as QueryAutocomplete } from "./query-autocomplete-BmyGnaKU.js";
|
|
83
|
+
import { r as RHFQuerySelectProps, t as QuerySelect } from "./query-select-BdSJS43M.js";
|
|
84
|
+
import { n as RadioGroup, t as ControlledRadioGroupProps } from "./radio-group-HZHXgwiW.js";
|
|
85
|
+
import { c as segmentDefinition, l as segmentItemDefinition, o as SegmentProps } from "./segment.types-BhDbUSjd.js";
|
|
86
|
+
import { n as Segment, t as ControlledSegmentProps } from "./segment-CXgrI1D3.js";
|
|
87
|
+
import { n as Select, t as ControlledSelectProps } from "./select-C8jT5aAx.js";
|
|
88
|
+
import { n as Slider, t as ControlledSliderProps } from "./slider-CfQxAtGi.js";
|
|
89
|
+
import { n as TextArea, t as ControlledTextAreaProps } from "./text-area-DC66AoNt.js";
|
|
90
|
+
import { n as TextInput, t as ControlledTextInputProps } from "./text-input-Bqs1Zjkb.js";
|
|
91
|
+
import { r as TimePickerProps } from "./TimePicker-DLhC6VV6.js";
|
|
92
|
+
import { n as TimePicker, t as ControlledTimePickerProps } from "./time-picker-PuMNF85l.js";
|
|
93
|
+
import { n as Toggle, t as ControlledToggleProps } from "./toggle-Cq1LSIQH.js";
|
|
94
|
+
import { $ as textAreaWrapperDefinition, A as useKeyInteractions, At as Form, B as useDebounceCallback, C as KeyInteractionAction, Ct as BreadcrumbSegmentVariantProps, D as UseKeyInteractionsResult, Dt as breadcrumbItemDefinition, E as KeyInteractions, Et as breadcrumbIconDefinition, F as UseFormResolverProps, G as statusSeparatorDefinition, H as UseAutosaveProps, I as useForm, J as selectInputTagsContentWrapperDefinition, K as popoverDefinition, L as useDeepCompareEffect, M as UseFormAutosaveProps, Mt as Inputs, N as useFormAutosave, Nt as InputsProps, O as createKeyInteractionsHandler, Ot as breadcrumbSegmentDefinition, P as UseFormProps, Q as labelDefinition, R as useDeepCompareLayoutEffect, S as KeyInteraction, St as BreadcrumbItemVariantProps, T as KeyInteractionGroup, Tt as breadcrumbChevronDefinition, U as useAutosave, V as useBreakpoint, W as statusIconDefinition, X as LabelBaseProps, Y as selectPopoverDefinition, Z as LabelConfig, _ as DomUtils, _t as MenuPopoverProps, a as DynamicInputsObjectSchema, at as AccordionVariantProps, b as useScrollableListBox, bt as BreadcrumbChevronVariantProps, ct as accordionHeadingDefinition, d as CloseIcon, dt as accordionIconDefinition, et as formFieldHelperDefinition, f as ZodUtils, ft as accordionItemDefinition, g as isEqual, gt as MenuPopover, h as ObjectUtils, ht as accordionTriggerDefinition, it as datePickerInputContentRowDefinition, j as useIntersectionObserver, jt as InputDef, k as getKeyInteractionAction, kt as breadcrumbsDefinition, lt as accordionHeadingSubtitleDefinition, m as QueriesUtils, mt as accordionPanelDefinition, n as dynamicInputs, nt as formFieldHeaderDefinition, ot as accordionChevronDefinition, p as RoutingUtils, pt as accordionPanelContentDefinition, q as selectListBoxItemDefinition, rt as fileUploadDropZoneDefinition, st as accordionDefinition, t as DynamicInputsOptions, tt as formFieldErrorDefinition, ut as accordionHeadingTitleDefinition, v as ArrayUtils, vt as TooltipWrapperTriggerVariantProps, w as KeyInteractionCallback, wt as BreadcrumbsVariantProps, x as useLongPressRepeat, xt as BreadcrumbIconVariantProps, y as useStateAndRef, yt as tooltipWrapperTriggerDefinition, z as useDeepCompareMemo } from "./dynamicInputs-CY6tmcvQ.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-JUO4MbZx.js";
|
|
96
96
|
import { n as ToastProvider, t as ToastContainer } from "./ToastContainer-9OS5SK5K.js";
|
|
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-
|
|
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-COJSkL1L.js";
|
|
98
98
|
import { t as UIRouter } from "./router.context-BOYRh2p9.js";
|
|
99
99
|
import { t as ThemeContext } from "./theme.context-B10jqjvZ.js";
|
|
100
100
|
import { t as UIConfig } from "./uiConfig.context-D9Aig1NJ.js";
|