@povio/ui 3.4.0-rc.40 → 3.4.0-rc.41
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-CWiSRejc.d.ts → Autocomplete-CLcRRdiL.d.ts} +2 -2
- package/dist/{Checkbox-DUz32jLa.js → Checkbox-B-0yFzun.js} +1 -1
- package/dist/{Checkbox-BIZoNFiX.d.ts → Checkbox-DC_1l0o7.d.ts} +2 -2
- package/dist/{CheckboxGroup-U4poUqlk.d.ts → CheckboxGroup-DnWeRs5l.d.ts} +2 -2
- package/dist/{DatePicker-DWnzyBQD.js → DatePicker-DGwt7GCK.js} +1 -1
- package/dist/{DatePicker-IZwn9hAk.d.ts → DatePicker-aWuhaUgu.d.ts} +2 -2
- package/dist/{DateRangePicker-DLuRwuw1.d.ts → DateRangePicker-DpKWDDlC.d.ts} +2 -2
- package/dist/{DateRangePicker-BEluwe3q.js → DateRangePicker-DtYmxrBu.js} +3 -3
- package/dist/{DateTimePicker-C6DZnWcp.js → DateTimePicker-B3j96T4e.js} +1 -1
- package/dist/{DateTimePicker-Co6UXSVA.d.ts → DateTimePicker-BoTa_gTC.d.ts} +2 -2
- package/dist/{FileUpload-B1L78k7y.d.ts → FileUpload-Czof_aOb.d.ts} +2 -2
- package/dist/{FileUpload-DYGyICVb.js → FileUpload-DR9qkDTO.js} +1 -1
- package/dist/{FileUploadContainer-CLPREIin.d.ts → FileUploadContainer--YlhZO19.d.ts} +1 -1
- package/dist/{Form-fI9WMU9d.d.ts → Form-BjwyXqkN.d.ts} +2 -2
- package/dist/{InputItem-122JkDYJ.js → InputItem-DfNvJtim.js} +11 -11
- package/dist/{InputUpload-RPnj3b1Y.d.ts → InputUpload-D-C-886F.d.ts} +2 -2
- package/dist/{InputUpload-BBb6TzVi.js → InputUpload-DiSrhJaH.js} +1 -1
- package/dist/{Inputs-BT0CNY2g.js → Inputs-CO_mXGA2.js} +1 -1
- package/dist/{Inputs-a9CXrVRS.d.ts → Inputs-CwkP8B9O.d.ts} +2 -2
- package/dist/{NumberInput-gqs4vYJf.d.ts → NumberInput-BIRmzsPb.d.ts} +2 -2
- package/dist/{NumberRangeInput-CMHI9yks.d.ts → NumberRangeInput-1vdHmE8h.d.ts} +2 -2
- package/dist/{NumberRangeInput-C--wO5KF.js → NumberRangeInput-DVBv04ap.js} +1 -1
- package/dist/{PasswordInput-CcoU8g5c.d.ts → PasswordInput-DNUEWDEM.d.ts} +3 -3
- package/dist/{QuerySelect-D_vXxG1S.d.ts → QuerySelect-vWifN5XC.d.ts} +3 -3
- package/dist/{RadioGroup-oU2t4qb_.js → RadioGroup-D5BR8ToV.js} +1 -1
- package/dist/{RadioGroup-Cs718lkQ.d.ts → RadioGroup-Dd7xBSCW.d.ts} +2 -2
- package/dist/{Segment-C_Vbrl9f.d.ts → Segment-BZdZb436.d.ts} +2 -2
- package/dist/{Segment-BAVcQyuY.js → Segment-DBEeDt5Z.js} +1 -1
- package/dist/{Select-DIso4xMG.d.ts → Select-Bm2C6tHz.d.ts} +2 -2
- package/dist/{Select-DxHs-Mtq.js → Select-CEAQyS48.js} +1 -1
- package/dist/{SelectBase-72enBk-1.d.ts → SelectBase-DD8_4B-r.d.ts} +2 -2
- package/dist/{Slider-Baw84mjN.d.ts → Slider-C6UeThGK.d.ts} +2 -2
- package/dist/{Slider-BaPUnnLF.js → Slider-DeLVCO-2.js} +1 -1
- package/dist/{TextArea-vdp0uSFx.d.ts → TextArea-B8Yvkkxr.d.ts} +2 -2
- package/dist/{TextArea-DGf6by6e.js → TextArea-Dj2wKadV.js} +1 -1
- package/dist/{TextEditor-D18y8_ro.js → TextEditor-CKUiV4cU.js} +2 -2
- package/dist/{TextEditor-B7vdoTeN.d.ts → TextEditor-DILzgUAj.d.ts} +2 -2
- package/dist/{TextInput-Dxq5XKdp.d.ts → TextInput-Df0Pkuk-.d.ts} +2 -2
- package/dist/{TimePicker-D1ptdYlJ.js → TimePicker-BPLc1Uv5.js} +1 -1
- package/dist/{TimePicker-B_atBC0F.d.ts → TimePicker-Bdz_yJ0I.d.ts} +2 -2
- package/dist/{Toggle-CaBvb0l0.d.ts → Toggle-Ca_t66zh.d.ts} +2 -2
- package/dist/{Toggle-JHUOY2Mh.js → Toggle-Dr7TQZ93.js} +1 -1
- package/dist/{autocomplete-CQqxdk49.d.ts → autocomplete-CIDaulwN.d.ts} +2 -2
- package/dist/{checkbox-Dx7xlf6g.d.ts → checkbox-4smu5B-h.d.ts} +1 -1
- package/dist/{checkbox-group-C4afLmyg.d.ts → checkbox-group-C55R3YH5.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-BT9DHqNa.d.ts → date-picker-g50NliUB.d.ts} +1 -1
- package/dist/{date-range-picker-VxlXnCVb.d.ts → date-range-picker-4EXSwE8B.d.ts} +1 -1
- package/dist/{date-time-picker-HxtcGQjQ.d.ts → date-time-picker-Bjag5nQ1.d.ts} +1 -1
- package/dist/{dynamicInputs-Be0THQ7Z.d.ts → dynamicInputs-p4ATehFR.d.ts} +47 -47
- package/dist/{file-upload-CNJFJ3Jx.d.ts → file-upload-Ba6NwH0N.d.ts} +2 -2
- package/dist/{fileUpload.types-BMs6Zkhr.d.ts → fileUpload.types-ZUblxJUi.d.ts} +2 -2
- package/dist/{form.binding-QO3Py45C.d.ts → form.binding-Cu03pQ8Y.d.ts} +1 -1
- package/dist/form.binding-DLKteDiq.js +157 -0
- package/dist/{form.types-CefwT7Po.d.ts → form.types-qEwMTXTZ.d.ts} +1 -1
- package/dist/index.d.ts +44 -44
- package/dist/index.js +7 -7
- package/dist/{input-upload-D3IM2ZuK.d.ts → input-upload-BxRgcRt4.d.ts} +1 -1
- package/dist/{number-input-nwfbc3kN.d.ts → number-input-BoUfnoR2.d.ts} +1 -1
- package/dist/{number-range-input-BxoPQzi8.d.ts → number-range-input-43A63EzS.d.ts} +1 -1
- package/dist/{password-input-BEneLWqN.d.ts → password-input-BPAjcIly.d.ts} +1 -1
- package/dist/{query-autocomplete-rqGMbEP9.d.ts → query-autocomplete-Dh1Yeu4p.d.ts} +2 -2
- package/dist/{query-select-DbQpRcE3.d.ts → query-select-7lNZcE_x.d.ts} +2 -2
- package/dist/{queryAutocomplete.types-Cnn4GjUo.d.ts → queryAutocomplete.types-D7SmWVq-.d.ts} +3 -3
- package/dist/{radio-group-Cc6b39Jt.d.ts → radio-group-DmilCTsI.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-Csrt70e1.d.ts → segment-BOELlo1K.d.ts} +1 -1
- package/dist/{segment.types-BAFG_n38.d.ts → segment.types-BYTmg69p.d.ts} +2 -2
- package/dist/{select-v-_bJmJ_.d.ts → select-CD3fNAgK.d.ts} +2 -2
- package/dist/{slider-B2wS9JNA.d.ts → slider-tx1tub5d.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 -1
- 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 -17
- package/dist/{text-area-CYY-d5HB.d.ts → text-area-kb2PxyJb.d.ts} +1 -1
- package/dist/{text-editor-Bz57chW2.d.ts → text-editor-CDECpKqj.d.ts} +1 -1
- package/dist/text-editor.d.ts +1 -1
- package/dist/text-editor.js +1 -1
- package/dist/{text-input-CkMv3VpB.d.ts → text-input-VqRJ0y7Y.d.ts} +1 -1
- package/dist/{time-picker-CjqmM5sQ.d.ts → time-picker-BYfudvVK.d.ts} +1 -1
- package/dist/{toggle-BYNFK_xQ.d.ts → toggle-DK5CDOtt.d.ts} +1 -1
- package/dist/{useFormAutosave-DTv1J6w2.js → useFormAutosave-Ckq-Qb34.js} +4 -102
- package/dist/{useTableColumnConfig-DzdaxZ50.js → useTableColumnConfig-C6mWcIwp.js} +1 -1
- package/dist/{useTableNav-DZjPiQUb.d.ts → useTableNav-aDO5L4da.d.ts} +1 -1
- package/package.json +5 -1
- package/dist/form.binding-DyZ4fH8l.js +0 -34
package/dist/tanstack.d.ts
CHANGED
|
@@ -14,32 +14,32 @@ import { n as SplitButtonProps, t as SplitButton } from "./SplitButton-CR4psHKW.
|
|
|
14
14
|
import { r as ButtonProps, t as Button } from "./Button-D0M9lMOR.js";
|
|
15
15
|
import { n as TextButtonProps, t as TextButton } from "./TextButton-cigitfeH.js";
|
|
16
16
|
import { n as ToggleButtonProps, t as ToggleButton } from "./ToggleButton-3lINwoaV.js";
|
|
17
|
-
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-
|
|
17
|
+
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-Cu03pQ8Y.js";
|
|
18
18
|
import { a as checkboxGroupLabelDefinition, i as checkboxDefinition, n as checkboxContentRowDefinition, o as checkboxIconDefinition, r as checkboxContentWrapperDefinition, t as CheckboxVariantProps } from "./checkbox.cva-Caaf2Ysq.js";
|
|
19
|
-
import { a as ControlledCheckboxProps, i as CheckboxProps, t as Checkbox } from "./Checkbox-
|
|
19
|
+
import { a as ControlledCheckboxProps, i as CheckboxProps, t as Checkbox } from "./Checkbox-DC_1l0o7.js";
|
|
20
20
|
import { n as FormFieldProps, t as FormField } from "./FormField-Iy2O8A4g.js";
|
|
21
21
|
import { a as inputContentWrapperDefinition, i as inputClearClassDefinition, n as InputVariantProps, o as inputSideDefinition, r as inputBaseDefinition, s as inputSizeDefinition } from "./input.cva-CfgCOIQW.js";
|
|
22
|
-
import { n as CheckboxGroupProps, r as ControlledCheckboxGroupProps, t as CheckboxGroup } from "./CheckboxGroup-
|
|
23
|
-
import { a as FileUploadError, i as FileUploadContainerProps, l as FileUploadState, o as FileUploadProps, s as FileUploadRequest } from "./fileUpload.types-
|
|
24
|
-
import { t as FileUpload } from "./FileUpload-
|
|
25
|
-
import { t as FileUploadContainer } from "./FileUploadContainer
|
|
26
|
-
import { a as inputUploadDropZoneDefinition, i as inputUploadButtonDefinition, r as InputUploadProps, t as InputUpload } from "./InputUpload-
|
|
27
|
-
import { i as NumberInputProps, n as NumberInput, t as ControlledNumberInputProps } from "./NumberInput-
|
|
28
|
-
import { i as NumberRangeValue, n as NumberRangeInput, r as NumberRangeInputProps, t as ControlledNumberRangeInputProps } from "./NumberRangeInput-
|
|
29
|
-
import { i as TextInputProps, n as TextInput, t as ControlledTextInputProps } from "./TextInput-
|
|
30
|
-
import { n as PasswordInput, r as PasswordInputProps, t as ControlledPasswordInputProps } from "./PasswordInput-
|
|
31
|
-
import { n as TextArea, r as TextAreaProps, t as ControlledTextAreaProps } from "./TextArea-
|
|
22
|
+
import { n as CheckboxGroupProps, r as ControlledCheckboxGroupProps, t as CheckboxGroup } from "./CheckboxGroup-DnWeRs5l.js";
|
|
23
|
+
import { a as FileUploadError, i as FileUploadContainerProps, l as FileUploadState, o as FileUploadProps, s as FileUploadRequest } from "./fileUpload.types-ZUblxJUi.js";
|
|
24
|
+
import { t as FileUpload } from "./FileUpload-Czof_aOb.js";
|
|
25
|
+
import { t as FileUploadContainer } from "./FileUploadContainer--YlhZO19.js";
|
|
26
|
+
import { a as inputUploadDropZoneDefinition, i as inputUploadButtonDefinition, r as InputUploadProps, t as InputUpload } from "./InputUpload-D-C-886F.js";
|
|
27
|
+
import { i as NumberInputProps, n as NumberInput, t as ControlledNumberInputProps } from "./NumberInput-BIRmzsPb.js";
|
|
28
|
+
import { i as NumberRangeValue, n as NumberRangeInput, r as NumberRangeInputProps, t as ControlledNumberRangeInputProps } from "./NumberRangeInput-1vdHmE8h.js";
|
|
29
|
+
import { i as TextInputProps, n as TextInput, t as ControlledTextInputProps } from "./TextInput-Df0Pkuk-.js";
|
|
30
|
+
import { n as PasswordInput, r as PasswordInputProps, t as ControlledPasswordInputProps } from "./PasswordInput-DNUEWDEM.js";
|
|
31
|
+
import { n as TextArea, r as TextAreaProps, t as ControlledTextAreaProps } from "./TextArea-B8Yvkkxr.js";
|
|
32
32
|
import { i as radioDefinition, n as radioContentRowDefinition, r as radioContentWrapperDefinition, t as RadioVariantProps } from "./radio.cva-9lpsise2.js";
|
|
33
|
-
import { n as RadioGroup, r as RadioGroupProps, t as ControlledRadioGroupProps } from "./RadioGroup-
|
|
34
|
-
import { a as SelectAsyncProps, o as SelectBaseProps, s as SelectItem, t as DefaultInitialSelectItem } from "./SelectBase-
|
|
33
|
+
import { n as RadioGroup, r as RadioGroupProps, t as ControlledRadioGroupProps } from "./RadioGroup-Dd7xBSCW.js";
|
|
34
|
+
import { a as SelectAsyncProps, o as SelectBaseProps, s as SelectItem, t as DefaultInitialSelectItem } from "./SelectBase-DD8_4B-r.js";
|
|
35
35
|
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";
|
|
36
|
-
import { n as AutocompleteProps, r as ControlledAutocompleteProps, t as Autocomplete } from "./Autocomplete-
|
|
36
|
+
import { n as AutocompleteProps, r as ControlledAutocompleteProps, t as Autocomplete } from "./Autocomplete-CLcRRdiL.js";
|
|
37
37
|
import { QueryAutocomplete } from "./components/query-autocomplete.js";
|
|
38
|
-
import { n as Select, r as SelectProps, t as ControlledSelectProps } from "./Select-
|
|
39
|
-
import { n as QuerySelectProps, t as QuerySelect } from "./QuerySelect-
|
|
40
|
-
import { n as Slider, r as SliderProps, t as ControlledSliderProps } from "./Slider-
|
|
38
|
+
import { n as Select, r as SelectProps, t as ControlledSelectProps } from "./Select-Bm2C6tHz.js";
|
|
39
|
+
import { n as QuerySelectProps, t as QuerySelect } from "./QuerySelect-vWifN5XC.js";
|
|
40
|
+
import { n as Slider, r as SliderProps, t as ControlledSliderProps } from "./Slider-C6UeThGK.js";
|
|
41
41
|
import { n as toggleDefinition } from "./toggle.cva-2CGLc8aa.js";
|
|
42
|
-
import { n as Toggle, r as ToggleProps, t as ControlledToggleProps } from "./Toggle-
|
|
42
|
+
import { n as Toggle, r as ToggleProps, t as ControlledToggleProps } from "./Toggle-Ca_t66zh.js";
|
|
43
43
|
import { a as modalOverlayDefinition, i as modalMainDefinition, n as ModalProps, r as modalContentDefinition, t as Modal } from "./Modal-BfN_MfR-.js";
|
|
44
44
|
import { n as TypographyProps, t as Typography } from "./Typography-BiHrVFpz.js";
|
|
45
45
|
import { n as ActionModalProps, t as ActionModal } from "./ActionModal-CKS0t-n3.js";
|
|
@@ -59,9 +59,9 @@ import { n as PillProps, t as Pill } from "./Pill-vCBJdOTY.js";
|
|
|
59
59
|
import { i as tagDefinition, n as TagProps, r as TagVariantProps, t as Tag } from "./Tag-DUvBTljf.js";
|
|
60
60
|
import { i as AccordionProps, n as AccordionItem, r as AccordionItemProps, t as Accordion } from "./Accordion-DonRhvvW.js";
|
|
61
61
|
import { t as Confirmation } from "./confirmation.context-D_kJeU8m.js";
|
|
62
|
-
import { n as DatePicker, r as DatePickerProps, t as ControlledDatePickerProps } from "./DatePicker-
|
|
63
|
-
import { a as DateRangeResolvedValue, i as DateRangeRelativeOption, n as DateRangePicker, r as DateRangePickerProps, t as ControlledDateRangePickerProps } from "./DateRangePicker-
|
|
64
|
-
import { n as DateTimePicker, r as DateTimePickerProps, t as ControlledDateTimePickerProps } from "./DateTimePicker-
|
|
62
|
+
import { n as DatePicker, r as DatePickerProps, t as ControlledDatePickerProps } from "./DatePicker-aWuhaUgu.js";
|
|
63
|
+
import { a as DateRangeResolvedValue, i as DateRangeRelativeOption, n as DateRangePicker, r as DateRangePickerProps, t as ControlledDateRangePickerProps } from "./DateRangePicker-DpKWDDlC.js";
|
|
64
|
+
import { n as DateTimePicker, r as DateTimePickerProps, t as ControlledDateTimePickerProps } from "./DateTimePicker-BoTa_gTC.js";
|
|
65
65
|
import { t as DateTimeUtils } from "./date-time.utils-Cu9TVj46.js";
|
|
66
66
|
import { t as DateUtils } from "./date.utils-BoQnMRlF.js";
|
|
67
67
|
import { t as FileUtils } from "./file.utils-Crb-mIHs.js";
|
|
@@ -73,12 +73,12 @@ import { n as MenuListItemProps, t as MenuItem } from "./MenuItem-DLKC94Qs.js";
|
|
|
73
73
|
import { t as uiOutlineClass } from "./outline.clsx-B1hjrX9t.js";
|
|
74
74
|
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";
|
|
75
75
|
import { n as resources, t as ns } from "./i18n-D0Pz0p2u.js";
|
|
76
|
-
import { c as segmentDefinition, l as segmentItemDefinition, o as SegmentProps, t as ControlledSegmentProps } from "./segment.types-
|
|
77
|
-
import { n as TimePicker, r as TimePickerProps, t as ControlledTimePickerProps } from "./TimePicker-
|
|
78
|
-
import { $ as formFieldHelperDefinition, A as useIntersectionObserver, B as useBreakpoint, C as KeyInteractionCallback, Ct as BreadcrumbsVariantProps, D as createKeyInteractionsHandler, Dt as breadcrumbSegmentDefinition, E as UseKeyInteractionsResult, Et as breadcrumbItemDefinition, G as popoverDefinition, I as useDeepCompareEffect, J as selectPopoverDefinition, K as selectListBoxItemDefinition, L as useDeepCompareLayoutEffect, O as getKeyInteractionAction, Ot as breadcrumbsDefinition, Q as textAreaWrapperDefinition, R as useDeepCompareMemo, S as KeyInteractionAction, St as BreadcrumbSegmentVariantProps, T as KeyInteractions, Tt as breadcrumbIconDefinition, U as statusIconDefinition, W as statusSeparatorDefinition, X as LabelConfig, Y as LabelBaseProps, Z as labelDefinition, _ as ArrayUtils, _t as TooltipWrapperTriggerVariantProps, a as DynamicInputsObjectSchema, at as accordionChevronDefinition, b as useLongPressRepeat, bt as BreadcrumbIconVariantProps, ct as accordionHeadingSubtitleDefinition, d as ZodUtils, dt as accordionItemDefinition, et as formFieldErrorDefinition, f as RoutingUtils, ft as accordionPanelContentDefinition, g as DomUtils, gt as MenuPopoverProps, h as isEqual, ht as MenuPopover, it as AccordionVariantProps, k as useKeyInteractions, l as InputDef, lt as accordionHeadingTitleDefinition, m as ObjectUtils, mt as accordionTriggerDefinition, nt as fileUploadDropZoneDefinition, o as DynamicInputsOptions, ot as accordionDefinition, p as QueriesUtils, pt as accordionPanelDefinition, q as selectInputTagsContentWrapperDefinition, rt as datePickerInputContentRowDefinition, s as dynamicInputs, st as accordionHeadingDefinition, tt as formFieldHeaderDefinition, ut as accordionIconDefinition, v as useStateAndRef, vt as tooltipWrapperTriggerDefinition, w as KeyInteractionGroup, wt as breadcrumbChevronDefinition, x as KeyInteraction, xt as BreadcrumbItemVariantProps, y as useScrollableListBox, yt as BreadcrumbChevronVariantProps, z as useDebounceCallback } from "./dynamicInputs-
|
|
76
|
+
import { c as segmentDefinition, l as segmentItemDefinition, o as SegmentProps, t as ControlledSegmentProps } from "./segment.types-BYTmg69p.js";
|
|
77
|
+
import { n as TimePicker, r as TimePickerProps, t as ControlledTimePickerProps } from "./TimePicker-Bdz_yJ0I.js";
|
|
78
|
+
import { $ as formFieldHelperDefinition, A as useIntersectionObserver, B as useBreakpoint, C as KeyInteractionCallback, Ct as BreadcrumbsVariantProps, D as createKeyInteractionsHandler, Dt as breadcrumbSegmentDefinition, E as UseKeyInteractionsResult, Et as breadcrumbItemDefinition, G as popoverDefinition, I as useDeepCompareEffect, J as selectPopoverDefinition, K as selectListBoxItemDefinition, L as useDeepCompareLayoutEffect, O as getKeyInteractionAction, Ot as breadcrumbsDefinition, Q as textAreaWrapperDefinition, R as useDeepCompareMemo, S as KeyInteractionAction, St as BreadcrumbSegmentVariantProps, T as KeyInteractions, Tt as breadcrumbIconDefinition, U as statusIconDefinition, W as statusSeparatorDefinition, X as LabelConfig, Y as LabelBaseProps, Z as labelDefinition, _ as ArrayUtils, _t as TooltipWrapperTriggerVariantProps, a as DynamicInputsObjectSchema, at as accordionChevronDefinition, b as useLongPressRepeat, bt as BreadcrumbIconVariantProps, ct as accordionHeadingSubtitleDefinition, d as ZodUtils, dt as accordionItemDefinition, et as formFieldErrorDefinition, f as RoutingUtils, ft as accordionPanelContentDefinition, g as DomUtils, gt as MenuPopoverProps, h as isEqual, ht as MenuPopover, it as AccordionVariantProps, k as useKeyInteractions, l as InputDef, lt as accordionHeadingTitleDefinition, m as ObjectUtils, mt as accordionTriggerDefinition, nt as fileUploadDropZoneDefinition, o as DynamicInputsOptions, ot as accordionDefinition, p as QueriesUtils, pt as accordionPanelDefinition, q as selectInputTagsContentWrapperDefinition, rt as datePickerInputContentRowDefinition, s as dynamicInputs, st as accordionHeadingDefinition, tt as formFieldHeaderDefinition, ut as accordionIconDefinition, v as useStateAndRef, vt as tooltipWrapperTriggerDefinition, w as KeyInteractionGroup, wt as breadcrumbChevronDefinition, x as KeyInteraction, xt as BreadcrumbItemVariantProps, y as useScrollableListBox, yt as BreadcrumbChevronVariantProps, z as useDebounceCallback } from "./dynamicInputs-p4ATehFR.js";
|
|
79
79
|
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";
|
|
80
80
|
import { n as ToastProvider, t as ToastContainer } from "./ToastContainer-9OS5SK5K.js";
|
|
81
|
-
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-
|
|
81
|
+
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-aDO5L4da.js";
|
|
82
82
|
import { t as UIRouter } from "./router.context-BOYRh2p9.js";
|
|
83
83
|
import { t as ThemeContext } from "./theme.context-B10jqjvZ.js";
|
|
84
84
|
import { t as UIConfig } from "./uiConfig.context-Bjb9TQ6Y.js";
|
|
@@ -86,7 +86,7 @@ import { n as useFilters, t as FilterStore } from "./useFilters-BxRScJdn.js";
|
|
|
86
86
|
import { t as useLocalStorage } from "./useLocalStorage-DGsBUCT6.js";
|
|
87
87
|
import { t as useTranslationMemo } from "./useTranslationMemo-Dy3p6m1g.js";
|
|
88
88
|
import { t as StringUtils } from "./string.utils-Cj6AB7uZ.js";
|
|
89
|
-
import { t as Segment } from "./Segment-
|
|
90
|
-
import { i as useAutosave, n as UseFormAutosaveProps, r as useFormAutosave, t as Form } from "./Form-
|
|
91
|
-
import { n as InputsProps, t as Inputs } from "./Inputs-
|
|
89
|
+
import { t as Segment } from "./Segment-BZdZb436.js";
|
|
90
|
+
import { i as useAutosave, n as UseFormAutosaveProps, r as useFormAutosave, t as Form } from "./Form-BjwyXqkN.js";
|
|
91
|
+
import { n as InputsProps, t as Inputs } from "./Inputs-CwkP8B9O.js";
|
|
92
92
|
export { Accordion, type AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariantProps, ActionModal, type ActionModalProps, Alert, type AlertProps, ArrayUtils, Autocomplete, type AutocompleteProps, 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, X as CloseIcon, ColumnConfigModal, type ColumnConfigModalProps, type CompoundMapper, Confirmation, type ControlledAutocompleteProps, type ControlledCheckboxGroupProps, type ControlledCheckboxProps, type ControlledDatePickerProps, type ControlledDateRangePickerProps, type ControlledDateTimePickerProps, type ControlledNumberInputProps, type ControlledNumberRangeInputProps, type ControlledPasswordInputProps, type ControlledRadioGroupProps, type ControlledSegmentProps, type ControlledSelectProps, type ControlledSliderProps, type ControlledTextAreaProps, type ControlledTextInputProps, type ControlledTimePickerProps, type ControlledToggleProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangeRelativeOption, type DateRangeResolvedValue, DateTimePicker, type DateTimePickerProps, DateTimeUtils, DateUtils, type DeepKeys, type DeepValue, type DefaultInitialSelectItem, DomUtils, Drawer, type DrawerProps, type DynamicColumnsOptions, type DynamicInputsObjectSchema, type DynamicInputsOptions, 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, type InputDef, InputUpload, type InputUploadProps, 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, Loader, type LoaderProps, Menu, type MenuCvaVariantProps, MenuItem, type MenuItemVariantProps, type MenuListItemProps, MenuPopover, type MenuPopoverProps, type MenuPopoverVariantProps, type MenuPopoverWrapperVariantProps, type MenuProps, Modal, type ModalProps, NumberInput, type NumberInputProps, NumberRangeInput, type NumberRangeInputProps, type NumberRangeValue, ObjectUtils, type OmitDiscriminatedUnion, PaginatedTable, type PaginatedTableProps, type PaginatedTableWrapperProps, Pagination, PaginationList, type PaginationProps, PasswordInput, type PasswordInputProps, Pill, PillButton, type PillButtonProps, type PillButtonVariants, type PillProps, ProgressBar, type ProgressBarConfig, type ProgressBarTrackConfig, type ProgressBarVariantProps, QueriesUtils, QueryAutocomplete, QuerySelect, type QuerySelectProps, RadioGroup, type RadioGroupProps, type RadioVariantProps, ResponsivePopover, type ResponsivePopoverProps, RoutingUtils, Segment, type SegmentProps, Select, type SelectAsyncProps, type SelectBaseProps, type SelectItem, type SelectProps, Slider, type SliderProps, SplitButton, type SplitButtonProps, type StepItem, Stepper, type StepperProps, type StepperVariantProps, StringUtils, Table, type TableProps, type TableRowVariantProps, type TableWrapperProps, Tag, type TagProps, type TagVariantProps, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ThemeContext, TimePicker, type TimePickerProps, Toast, type ToastAction, ToastContainer, type ToastOptions, type ToastParams, type ToastProps, ToastProvider, type ToastVariantProps, Toggle, ToggleButton, type ToggleButtonProps, type ToggleProps, 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, dynamicColumns, dynamicInputs, fileUploadDropZoneDefinition, formFieldErrorDefinition, formFieldHeaderDefinition, formFieldHelperDefinition, getKeyInteractionAction, inputBaseDefinition, inputClearClassDefinition, inputContentWrapperDefinition, inputSideDefinition, inputSizeDefinition, inputUploadButtonDefinition, inputUploadDropZoneDefinition, isEqual, labelDefinition, linkDefinition, loaderDefinition, loaderWrapperDefinition, logger, menuDefinition, menuItemDefinition, menuPopoverDefinition, menuPopoverWrapperDefinition, modalContentDefinition, modalMainDefinition, modalOverlayDefinition, ns, pillButtonContentDefinition, pillButtonDefinition, popoverDefinition, progressBarDefinition, progressBarFillDefinition, progressBarTrackDefinition, progressBarTrackWrapperDefinition, progressBarValueDefinition, radioContentRowDefinition, radioContentWrapperDefinition, radioDefinition, resources, segmentDefinition, segmentItemDefinition, selectInputTagsContentWrapperDefinition, selectListBoxItemDefinition, selectPopoverDefinition, statusIconDefinition, statusSeparatorDefinition, stepperDefinition, stepperIconDefinition, stepperItemDefinition, stepperNumberDefinition, stepperSeparatorDefinition, stepperSubtextDefinition, stepperTitleDefinition, tableCellTextDefinition, tableDataDefinition, tableHeadDataDefinition, tableHeadRowDefinition, tableHeaderTextDefinition, tableRowDefinition, tagDefinition, textAreaWrapperDefinition, toastDefinition, statusIconDefinition$1 as toastStatusIconDefinition, statusSeparatorDefinition$1 as toastStatusSeparatorDefinition, toggleDefinition, 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 };
|
package/dist/tanstack.js
CHANGED
|
@@ -2,23 +2,23 @@ import { t as logger } from "./logger-DpUn65wp.js";
|
|
|
2
2
|
import { t as Menu } from "./Menu-RXGizKMF.js";
|
|
3
3
|
import { a as menuItemDefinition, i as menuDefinition, n as MenuPopover, o as menuPopoverDefinition, r as MenuItem, s as menuPopoverWrapperDefinition } from "./MenuDesktop-Dv25P83N.js";
|
|
4
4
|
import { a as isEqual, i as useDeepCompareMemo, n as useDeepCompareEffect, o as ObjectUtils, r as useDeepCompareLayoutEffect, t as UIConfig } from "./uiConfig.context-BG4jfp9p.js";
|
|
5
|
-
import { n as fileUploadDropZoneDefinition, t as FileUpload } from "./FileUpload-
|
|
5
|
+
import { n as fileUploadDropZoneDefinition, t as FileUpload } from "./FileUpload-DR9qkDTO.js";
|
|
6
6
|
import { t as PasswordInput } from "./PasswordInput-CMKZF3YS.js";
|
|
7
|
-
import { _ as tableRowDefinition, a as PaginatedTable, c as Table, d as CellText, f as tableCellTextDefinition, g as tableHeaderTextDefinition, h as tableHeadRowDefinition, i as dynamicColumns, l as useTableNav, m as tableHeadDataDefinition, n as useSorting, o as InfiniteTable, p as tableDataDefinition, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig, u as HeaderText } from "./useTableColumnConfig-
|
|
7
|
+
import { _ as tableRowDefinition, a as PaginatedTable, c as Table, d as CellText, f as tableCellTextDefinition, g as tableHeaderTextDefinition, h as tableHeadRowDefinition, i as dynamicColumns, l as useTableNav, m as tableHeadDataDefinition, n as useSorting, o as InfiniteTable, p as tableDataDefinition, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig, u as HeaderText } from "./useTableColumnConfig-C6mWcIwp.js";
|
|
8
8
|
import { a as checkboxDefinition, i as checkboxContentWrapperDefinition, o as checkboxGroupLabelDefinition, r as checkboxContentRowDefinition, s as checkboxIconDefinition } from "./CheckboxCheckmark-C7Oq15ms.js";
|
|
9
9
|
import { a as selectListBoxItemDefinition, c as useKeyInteractions, i as selectPopoverDefinition, l as selectInputTagsContentWrapperDefinition, o as createKeyInteractionsHandler, s as getKeyInteractionAction, u as useDebounceCallback } from "./staticSelect.utils-C_e1tJ3T.js";
|
|
10
10
|
import { a as tooltipTextDefinition, i as tooltipPointerVerticalDefinition, n as tooltipDefinition, r as tooltipPointerHorizontalDefinition, t as Tooltip } from "./Tooltip-D8YNkKCl.js";
|
|
11
11
|
import { r as datePickerInputContentRowDefinition } from "./DatePickerInput-CvrlkpEN.js";
|
|
12
12
|
import { t as X } from "./x-BYOEO0gW.js";
|
|
13
13
|
import { a as breadcrumbSegmentDefinition, i as breadcrumbItemDefinition, n as breadcrumbChevronDefinition, o as breadcrumbsDefinition, r as breadcrumbIconDefinition, t as Breadcrumbs } from "./Breadcrumbs-BypydWR6.js";
|
|
14
|
-
import { t as Checkbox } from "./Checkbox-
|
|
15
|
-
import { t as Slider } from "./Slider-
|
|
14
|
+
import { t as Checkbox } from "./Checkbox-B-0yFzun.js";
|
|
15
|
+
import { t as Slider } from "./Slider-DeLVCO-2.js";
|
|
16
16
|
import { n as useScrollableListBox } from "./Calendar-KJOP6Bcq.js";
|
|
17
|
-
import { t as DateRangePicker } from "./DateRangePicker-
|
|
17
|
+
import { t as DateRangePicker } from "./DateRangePicker-DtYmxrBu.js";
|
|
18
18
|
import { a as accordionHeadingSubtitleDefinition, c as accordionItemDefinition, d as accordionTriggerDefinition, i as accordionHeadingDefinition, l as accordionPanelContentDefinition, n as accordionChevronDefinition, o as accordionHeadingTitleDefinition, r as accordionDefinition, s as accordionIconDefinition, t as Accordion, u as accordionPanelDefinition } from "./Accordion-BKBl-2EO.js";
|
|
19
|
-
import { i as radioDefinition, n as radioContentRowDefinition, r as radioContentWrapperDefinition, t as RadioGroup } from "./RadioGroup-
|
|
20
|
-
import { n as toggleDefinition, t as Toggle } from "./Toggle-
|
|
21
|
-
import { n as textAreaWrapperDefinition, t as TextArea } from "./TextArea-
|
|
19
|
+
import { i as radioDefinition, n as radioContentRowDefinition, r as radioContentWrapperDefinition, t as RadioGroup } from "./RadioGroup-D5BR8ToV.js";
|
|
20
|
+
import { n as toggleDefinition, t as Toggle } from "./Toggle-Dr7TQZ93.js";
|
|
21
|
+
import { n as textAreaWrapperDefinition, t as TextArea } from "./TextArea-Dj2wKadV.js";
|
|
22
22
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
23
23
|
import { t as typographyDefinition } from "./typography.cva-BI0FyIqm.js";
|
|
24
24
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
@@ -36,6 +36,7 @@ import { t as useBreakpoint } from "./useBreakpoint-DFoeJwp-.js";
|
|
|
36
36
|
import { SplitButton } from "./components/split-button.js";
|
|
37
37
|
import { TextButton } from "./components/text-button.js";
|
|
38
38
|
import { ToggleButton } from "./components/toggle-button.js";
|
|
39
|
+
import { i as useFormValue, n as useForm, r as useFormState } from "./form.binding-DLKteDiq.js";
|
|
39
40
|
import { n as formFieldErrorDefinition } from "./FormFieldError-CFg0Wn3i.js";
|
|
40
41
|
import { a as formFieldHeaderDefinition, i as labelDefinition, n as formFieldHelperDefinition, t as FormField } from "./FormField-Cl-t5Wi1.js";
|
|
41
42
|
import { n as tagDefinition, t as Tag } from "./Tag-DJZ5qQme.js";
|
|
@@ -50,19 +51,19 @@ import { r as useLongPressRepeat } from "./datePickerValue.utils-DtR1CyuD.js";
|
|
|
50
51
|
import { t as IntlUtils } from "./intl.utils-zwAFoZ0U.js";
|
|
51
52
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
52
53
|
import { t as DateUtils } from "./date.utils-B8_QF9y6.js";
|
|
53
|
-
import { t as DatePicker } from "./DatePicker-
|
|
54
|
-
import { t as Select } from "./Select-
|
|
55
|
-
import { t as DateTimePicker } from "./DateTimePicker-
|
|
54
|
+
import { t as DatePicker } from "./DatePicker-DGwt7GCK.js";
|
|
55
|
+
import { t as Select } from "./Select-CEAQyS48.js";
|
|
56
|
+
import { t as DateTimePicker } from "./DateTimePicker-B3j96T4e.js";
|
|
56
57
|
import { t as FileUtils } from "./file.utils-DqQxnuAm.js";
|
|
57
58
|
import { a as progressBarTrackWrapperDefinition, i as progressBarTrackDefinition, n as progressBarDefinition, o as progressBarValueDefinition, r as progressBarFillDefinition, t as ProgressBar } from "./ProgressBar-C8dtVA-1.js";
|
|
58
|
-
import { n as inputUploadButtonDefinition, r as inputUploadDropZoneDefinition, t as InputUpload } from "./InputUpload-
|
|
59
|
+
import { n as inputUploadButtonDefinition, r as inputUploadDropZoneDefinition, t as InputUpload } from "./InputUpload-DiSrhJaH.js";
|
|
59
60
|
import { NumberInput } from "./components/number-input.js";
|
|
60
|
-
import { t as NumberRangeInput } from "./NumberRangeInput-
|
|
61
|
+
import { t as NumberRangeInput } from "./NumberRangeInput-DVBv04ap.js";
|
|
61
62
|
import { QueryAutocomplete } from "./components/query-autocomplete.js";
|
|
62
63
|
import { QuerySelect } from "./components/query-select.js";
|
|
63
|
-
import { n as segmentDefinition, r as segmentItemDefinition, t as Segment } from "./Segment-
|
|
64
|
+
import { n as segmentDefinition, r as segmentItemDefinition, t as Segment } from "./Segment-DBEeDt5Z.js";
|
|
64
65
|
import { ResponsivePopover } from "./components/responsive-popover.js";
|
|
65
|
-
import { t as TimePicker } from "./TimePicker-
|
|
66
|
+
import { t as TimePicker } from "./TimePicker-BPLc1Uv5.js";
|
|
66
67
|
import { FileUploadContainer } from "./components/file-upload-container.js";
|
|
67
68
|
import { t as StringUtils } from "./string.utils-BPgv6QwA.js";
|
|
68
69
|
import { t as ZodUtils } from "./zod.utils-DrrPDT9v.js";
|
|
@@ -91,6 +92,6 @@ import { t as RoutingUtils } from "./routing.utils-UTQonIhB.js";
|
|
|
91
92
|
import { t as useFilters } from "./useFilters-20jpzc29.js";
|
|
92
93
|
import { n as useStateAndRef, t as DomUtils } from "./dom.utils-BOIN4YDz.js";
|
|
93
94
|
import { n as ArrayUtils, t as QueriesUtils } from "./queries.utils-CmbhAoHU.js";
|
|
94
|
-
import {
|
|
95
|
-
import { t as Inputs } from "./Inputs-
|
|
95
|
+
import { n as useAutosave, r as Form, t as useFormAutosave } from "./useFormAutosave-Ckq-Qb34.js";
|
|
96
|
+
import { t as Inputs } from "./Inputs-CO_mXGA2.js";
|
|
96
97
|
export { Accordion, ActionModal, Alert, ArrayUtils, Autocomplete, BottomSheet, Breadcrumbs, Button, CellText, Checkbox, CheckboxGroup, X as CloseIcon, ColumnConfigModal, Confirmation, DatePicker, DateRangePicker, DateTimePicker, DateTimeUtils, DateUtils, DomUtils, Drawer, FileUpload, FileUploadContainer, FileUtils, Form, FormField, HeaderText, IconButton, InfiniteTable, InlineIconButton, InputUpload, Inputs, IntlUtils, Link, LinkContext, Loader, Menu, MenuItem, MenuPopover, Modal, NumberInput, NumberRangeInput, ObjectUtils, PaginatedTable, Pagination, PaginationList, PasswordInput, Pill, PillButton, ProgressBar, QueriesUtils, QueryAutocomplete, QuerySelect, RadioGroup, ResponsivePopover, RoutingUtils, Segment, Select, Slider, SplitButton, Stepper, StringUtils, Table, Tag, TextArea, TextButton, TextInput, ThemeContext, TimePicker, Toast, ToastContainer, ToastProvider, Toggle, ToggleButton, Tooltip, TooltipEllipsis, Typography, UIConfig, UIOverrides, UIRouter, 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, dynamicColumns, dynamicInputs, fileUploadDropZoneDefinition, formFieldErrorDefinition, formFieldHeaderDefinition, formFieldHelperDefinition, getKeyInteractionAction, inputBaseDefinition, inputClearClassDefinition, inputContentWrapperDefinition, inputSideDefinition, inputSizeDefinition, inputUploadButtonDefinition, inputUploadDropZoneDefinition, isEqual, labelDefinition, linkDefinition, loaderDefinition, loaderWrapperDefinition, logger, menuDefinition, menuItemDefinition, menuPopoverDefinition, menuPopoverWrapperDefinition, modalContentDefinition, modalMainDefinition, modalOverlayDefinition, ns, pillButtonContentDefinition, pillButtonDefinition, popoverDefinition, progressBarDefinition, progressBarFillDefinition, progressBarTrackDefinition, progressBarTrackWrapperDefinition, progressBarValueDefinition, radioContentRowDefinition, radioContentWrapperDefinition, radioDefinition, resources, segmentDefinition, segmentItemDefinition, selectInputTagsContentWrapperDefinition, selectListBoxItemDefinition, selectPopoverDefinition, statusIconDefinition, statusSeparatorDefinition, stepperDefinition, stepperIconDefinition, stepperItemDefinition, stepperNumberDefinition, stepperSeparatorDefinition, stepperSubtextDefinition, stepperTitleDefinition, tableCellTextDefinition, tableDataDefinition, tableHeadDataDefinition, tableHeadRowDefinition, tableHeaderTextDefinition, tableRowDefinition, tagDefinition, textAreaWrapperDefinition, toastDefinition, statusIconDefinition$1 as toastStatusIconDefinition, statusSeparatorDefinition$1 as toastStatusSeparatorDefinition, toggleDefinition, 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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as TextAreaProps } from "./TextArea-
|
|
1
|
+
import { r as TextAreaProps } from "./TextArea-B8Yvkkxr.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { FieldValues } from "react-hook-form";
|
|
4
4
|
//#region src/entries/rhf/text-area.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
2
|
-
import { i as TextEditorProps } from "./TextEditor-
|
|
2
|
+
import { i as TextEditorProps } from "./TextEditor-DILzgUAj.js";
|
|
3
3
|
import { FieldValues } from "react-hook-form";
|
|
4
4
|
//#region src/entries/rhf/text-editor.d.ts
|
|
5
5
|
type ControlledTextEditorProps<T extends FieldValues> = ControlProps<TextEditorProps, T>;
|
package/dist/text-editor.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TextEditorValue, i as TextEditorProps, n as TextEditor, t as ControlledTextEditorProps } from "./TextEditor-
|
|
1
|
+
import { a as TextEditorValue, i as TextEditorProps, n as TextEditor, t as ControlledTextEditorProps } from "./TextEditor-DILzgUAj.js";
|
|
2
2
|
export { type ControlledTextEditorProps, TextEditor, type TextEditorProps, type TextEditorValue };
|
package/dist/text-editor.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextEditor } from "./TextEditor-
|
|
1
|
+
import { t as TextEditor } from "./TextEditor-CKUiV4cU.js";
|
|
2
2
|
export { TextEditor };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as TextInputProps } from "./TextInput-
|
|
1
|
+
import { i as TextInputProps } from "./TextInput-Df0Pkuk-.js";
|
|
2
2
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
3
3
|
import { FieldValues } from "react-hook-form";
|
|
4
4
|
//#region src/entries/rhf/text-input.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
2
2
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
3
|
-
import { r as TimePickerProps } from "./TimePicker-
|
|
3
|
+
import { r as TimePickerProps } from "./TimePicker-Bdz_yJ0I.js";
|
|
4
4
|
import { FieldValues } from "react-hook-form";
|
|
5
5
|
//#region src/entries/rhf/time-picker.d.ts
|
|
6
6
|
type ControlledTimePickerProps<T extends FieldValues> = ControlProps<TimePickerProps & FireBlurOnChangeProps, T>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ToggleProps } from "./Toggle-
|
|
1
|
+
import { r as ToggleProps } from "./Toggle-Ca_t66zh.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,13 +1,12 @@
|
|
|
1
1
|
import { a as isEqual, o as ObjectUtils } from "./uiConfig.context-BG4jfp9p.js";
|
|
2
|
+
import { n as useForm } from "./form.binding-DLKteDiq.js";
|
|
2
3
|
import { t as StringUtils } from "./string.utils-BPgv6QwA.js";
|
|
3
4
|
import { t as ZodUtils } from "./zod.utils-DrrPDT9v.js";
|
|
4
5
|
import { n as getDefaultInputComponentType } from "./dynamicInputs-0GjoOaz5.js";
|
|
5
|
-
import { t as InputItem } from "./InputItem-
|
|
6
|
+
import { t as InputItem } from "./InputItem-DfNvJtim.js";
|
|
6
7
|
import { useCallback, useEffect, useMemo, useRef } from "react";
|
|
7
|
-
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import { z } from "zod";
|
|
10
|
-
import { useForm, useStore } from "@tanstack/react-form";
|
|
11
10
|
//#region src/components/inputs/Inputs/Form.tsx
|
|
12
11
|
const createFieldComponent = (field, schemaKeyType, form) => {
|
|
13
12
|
return function FieldComponent({ inputType, label, placeholder, ...inputProps }) {
|
|
@@ -128,103 +127,6 @@ function useAutosave({ form, delay = 500, enabled = true, trigger = "change", on
|
|
|
128
127
|
]);
|
|
129
128
|
}
|
|
130
129
|
//#endregion
|
|
131
|
-
//#region src/hooks/useForm.ts
|
|
132
|
-
function useForm$1({ defaultValues, disabled = false, mode = "onSubmit", onSubmitAsync, zodSchema } = {}) {
|
|
133
|
-
const submitHandlerRef = useRef(() => void 0);
|
|
134
|
-
const submitErrorHandlerRef = useRef(void 0);
|
|
135
|
-
const blurListenersRef = useRef(/* @__PURE__ */ new Set());
|
|
136
|
-
const fieldValidators = useMemo(() => {
|
|
137
|
-
return /* @__PURE__ */ new Map();
|
|
138
|
-
}, [mode, zodSchema]);
|
|
139
|
-
const formValidator = useMemo(() => {
|
|
140
|
-
if (!zodSchema) return;
|
|
141
|
-
return ({ value }) => {
|
|
142
|
-
const result = zodSchema.safeParse(value);
|
|
143
|
-
if (result.success) return;
|
|
144
|
-
return { fields: Object.fromEntries(result.error.issues.map((issue) => [pathToString(issue.path), issue.message])) };
|
|
145
|
-
};
|
|
146
|
-
}, [zodSchema]);
|
|
147
|
-
const form = useForm({
|
|
148
|
-
defaultValues: (typeof defaultValues === "function" ? {} : defaultValues) ?? {},
|
|
149
|
-
validators: formValidator || onSubmitAsync ? {
|
|
150
|
-
onSubmit: formValidator,
|
|
151
|
-
onSubmitAsync
|
|
152
|
-
} : void 0,
|
|
153
|
-
onSubmit: async ({ value: value_0 }) => {
|
|
154
|
-
const transformed = zodSchema ? zodSchema.parse(value_0) : value_0;
|
|
155
|
-
await submitHandlerRef.current(transformed);
|
|
156
|
-
},
|
|
157
|
-
onSubmitInvalid: ({ value: value_1, formApi }) => {
|
|
158
|
-
submitErrorHandlerRef.current?.(formApi.state.errors, value_1);
|
|
159
|
-
}
|
|
160
|
-
});
|
|
161
|
-
const originalHandleSubmit = useMemo(() => form.handleSubmit.bind(form), [form]);
|
|
162
|
-
const uiForm = form;
|
|
163
|
-
Object.defineProperties(uiForm, { disabled: {
|
|
164
|
-
configurable: true,
|
|
165
|
-
get: () => disabled
|
|
166
|
-
} });
|
|
167
|
-
uiForm.getFieldValidators = (name) => {
|
|
168
|
-
const cached = fieldValidators.get(name);
|
|
169
|
-
if (cached || fieldValidators.has(name)) return cached;
|
|
170
|
-
const schema = zodSchema ? getSchemaAtPath(zodSchema, name) : void 0;
|
|
171
|
-
if (!schema || mode === "onSubmit") {
|
|
172
|
-
fieldValidators.set(name, void 0);
|
|
173
|
-
return;
|
|
174
|
-
}
|
|
175
|
-
const validate = ({ value: value_2 }) => {
|
|
176
|
-
const result_0 = schema.safeParse(value_2);
|
|
177
|
-
return result_0.success ? void 0 : result_0.error.issues[0]?.message;
|
|
178
|
-
};
|
|
179
|
-
const validators = mode === "onChange" || mode === "all" ? { onChange: validate } : { onBlur: validate };
|
|
180
|
-
fieldValidators.set(name, validators);
|
|
181
|
-
return validators;
|
|
182
|
-
};
|
|
183
|
-
uiForm.notifyBlur = (name_0) => {
|
|
184
|
-
for (const listener of blurListenersRef.current) listener(name_0);
|
|
185
|
-
};
|
|
186
|
-
uiForm.parseValues = (values) => zodSchema ? zodSchema.parse(values) : values;
|
|
187
|
-
uiForm.subscribeBlur = (listener_0) => {
|
|
188
|
-
blurListenersRef.current.add(listener_0);
|
|
189
|
-
return () => blurListenersRef.current.delete(listener_0);
|
|
190
|
-
};
|
|
191
|
-
uiForm.handleSubmit = (onValid, onInvalid) => async (event) => {
|
|
192
|
-
event?.preventDefault?.();
|
|
193
|
-
event?.stopPropagation?.();
|
|
194
|
-
submitHandlerRef.current = onValid;
|
|
195
|
-
submitErrorHandlerRef.current = onInvalid;
|
|
196
|
-
await originalHandleSubmit();
|
|
197
|
-
};
|
|
198
|
-
useEffect(() => {
|
|
199
|
-
if (typeof defaultValues === "function") defaultValues().then((values_0) => form.reset(values_0));
|
|
200
|
-
}, [defaultValues, form]);
|
|
201
|
-
return uiForm;
|
|
202
|
-
}
|
|
203
|
-
const useFormValue = (form, selector) => {
|
|
204
|
-
const $ = c(2);
|
|
205
|
-
let t0;
|
|
206
|
-
if ($[0] !== selector) {
|
|
207
|
-
t0 = (state) => selector(state.values);
|
|
208
|
-
$[0] = selector;
|
|
209
|
-
$[1] = t0;
|
|
210
|
-
} else t0 = $[1];
|
|
211
|
-
return useStore(form.store, t0);
|
|
212
|
-
};
|
|
213
|
-
const useFormState = (form, selector) => {
|
|
214
|
-
return useStore(form.store, selector);
|
|
215
|
-
};
|
|
216
|
-
const getSchemaAtPath = (rootSchema, path) => {
|
|
217
|
-
let schema = rootSchema;
|
|
218
|
-
for (const segment of parsePath(path)) {
|
|
219
|
-
while (schema?.unwrap && !schema.shape && !schema.element && !schema.items) schema = schema.unwrap();
|
|
220
|
-
schema = typeof segment === "number" ? schema?.element ?? schema?.items?.[segment] : schema?.shape?.[segment];
|
|
221
|
-
if (!schema) return;
|
|
222
|
-
}
|
|
223
|
-
return schema;
|
|
224
|
-
};
|
|
225
|
-
const parsePath = (path) => path.replaceAll("[", ".").replaceAll("]", "").split(".").filter(Boolean).map((segment) => /^\d+$/.test(segment) ? Number(segment) : segment);
|
|
226
|
-
const pathToString = (path) => path.reduce((result, segment) => typeof segment === "number" ? `${result}[${segment}]` : result ? `${result}.${String(segment)}` : String(segment), "");
|
|
227
|
-
//#endregion
|
|
228
130
|
//#region src/hooks/useFormAutosave.ts
|
|
229
131
|
const getResetTimeoutErrorMessage = (resetTimeout) => `Form Reset Timeout (${resetTimeout}ms) - Action Required
|
|
230
132
|
Problem: Form values weren't reset after submission.
|
|
@@ -239,7 +141,7 @@ Solutions:
|
|
|
239
141
|
2. Confirm your submission handler updates state properly (check query invalidation)
|
|
240
142
|
3. For slower operations, consider increasing the timeout threshold`;
|
|
241
143
|
function useFormAutosave({ autosaveDelay, enableAutosave, autosaveOn = "change", normalizeAutosaveData, onAutosave, getResetValues, resetDeps, resetTimeout = 5e3, ...props }) {
|
|
242
|
-
const form = useForm
|
|
144
|
+
const form = useForm({
|
|
243
145
|
...props,
|
|
244
146
|
defaultValues: getResetValues()
|
|
245
147
|
});
|
|
@@ -293,4 +195,4 @@ function useFormAutosave({ autosaveDelay, enableAutosave, autosaveOn = "change",
|
|
|
293
195
|
return form;
|
|
294
196
|
}
|
|
295
197
|
//#endregion
|
|
296
|
-
export { useAutosave as
|
|
198
|
+
export { useAutosave as n, Form as r, useFormAutosave as t };
|
|
@@ -4,7 +4,7 @@ import { t as UIConfig } from "./uiConfig.context-BG4jfp9p.js";
|
|
|
4
4
|
import { t as ChevronDown } from "./chevron-down-Ciz9yP9R.js";
|
|
5
5
|
import { t as ChevronUp } from "./chevron-up-CHRnDSA3.js";
|
|
6
6
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
7
|
-
import { t as Checkbox } from "./Checkbox-
|
|
7
|
+
import { t as Checkbox } from "./Checkbox-B-0yFzun.js";
|
|
8
8
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
9
9
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
10
10
|
import { t as Loader } from "./Loader-C6YkWZOO.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-BdokYcGO.js";
|
|
2
|
-
import { t as FieldPath } from "./form.binding-
|
|
2
|
+
import { t as FieldPath } from "./form.binding-Cu03pQ8Y.js";
|
|
3
3
|
import { n as TypographyProps } from "./Typography-BiHrVFpz.js";
|
|
4
4
|
import { CSSProperties, ComponentType, Dispatch, FC, KeyboardEvent, ReactNode, SetStateAction } from "react";
|
|
5
5
|
import { z } from "zod";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@povio/ui",
|
|
3
|
-
"version": "3.4.0-rc.
|
|
3
|
+
"version": "3.4.0-rc.41",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -1353,6 +1353,7 @@
|
|
|
1353
1353
|
"@tanstack/react-form": "^1.33.2",
|
|
1354
1354
|
"@tanstack/react-query": "^5.89.0",
|
|
1355
1355
|
"@tanstack/react-table": "9.0.0",
|
|
1356
|
+
"@tanstack/store": "^0.11.0",
|
|
1356
1357
|
"@tiptap/core": "^3.19.0",
|
|
1357
1358
|
"@tiptap/extension-color": "^3.19.0",
|
|
1358
1359
|
"@tiptap/extension-heading": "^3.19.0",
|
|
@@ -1406,6 +1407,9 @@
|
|
|
1406
1407
|
"@tanstack/react-form": {
|
|
1407
1408
|
"optional": true
|
|
1408
1409
|
},
|
|
1410
|
+
"@tanstack/store": {
|
|
1411
|
+
"optional": true
|
|
1412
|
+
},
|
|
1409
1413
|
"@tiptap/core": {
|
|
1410
1414
|
"optional": true
|
|
1411
1415
|
},
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
//#region src/components/inputs/shared/form.types.ts
|
|
3
|
-
const getFieldError = (errors) => errors.flatMap((error) => {
|
|
4
|
-
if (typeof error === "string") return [error];
|
|
5
|
-
if (error && typeof error === "object" && "message" in error) return [String(error.message)];
|
|
6
|
-
return [];
|
|
7
|
-
}).at(0);
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/components/inputs/shared/form.binding.tsx
|
|
10
|
-
function FieldController({ control: form, name, render }) {
|
|
11
|
-
return /* @__PURE__ */ jsx(form.Field, {
|
|
12
|
-
name,
|
|
13
|
-
validators: form.getFieldValidators(name),
|
|
14
|
-
children: (field) => render({
|
|
15
|
-
field: {
|
|
16
|
-
disabled: form.disabled,
|
|
17
|
-
name: field.name,
|
|
18
|
-
onBlur: () => {
|
|
19
|
-
field.handleBlur();
|
|
20
|
-
form.notifyBlur(name);
|
|
21
|
-
},
|
|
22
|
-
onChange: field.handleChange,
|
|
23
|
-
ref: () => void 0,
|
|
24
|
-
value: field.state.value
|
|
25
|
-
},
|
|
26
|
-
fieldState: {
|
|
27
|
-
error: getFieldError(field.state.meta.errors) ? { message: getFieldError(field.state.meta.errors) } : void 0,
|
|
28
|
-
isDirty: field.state.meta.isDirty
|
|
29
|
-
}
|
|
30
|
-
})
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
export { FieldController as t };
|