@povio/ui 3.4.0-rc.37 → 3.4.0-rc.39
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/{Accordion-KHMSEFyK.d.ts → Accordion-DonRhvvW.d.ts} +1 -1
- package/dist/{ActionModal-C4lfhfPx.d.ts → ActionModal-CKS0t-n3.d.ts} +1 -1
- package/dist/{Autocomplete-0tckACUz.d.ts → Autocomplete-CWiSRejc.d.ts} +3 -3
- package/dist/{Breadcrumbs-JQIFk783.d.ts → Breadcrumbs-C46_H95J.d.ts} +2 -2
- package/dist/{Button-OxjPE7Hf.d.ts → Button-D0M9lMOR.d.ts} +3 -3
- package/dist/{Checkbox-Di3VlWJj.d.ts → Checkbox-BIZoNFiX.d.ts} +3 -3
- package/dist/{CheckboxGroup-5r9b-9qT.d.ts → CheckboxGroup-U4poUqlk.d.ts} +4 -4
- package/dist/{DatePicker-COJoYiqp.d.ts → DatePicker-IZwn9hAk.d.ts} +5 -5
- package/dist/{DatePickerInput-BJi1U0fr.d.ts → DatePickerInput-B7yVoI9Y.d.ts} +3 -3
- package/dist/{DateRangePicker-C8hu6_ms.d.ts → DateRangePicker-DLuRwuw1.d.ts} +6 -5
- package/dist/{DateTimePicker-BPCAME01.d.ts → DateTimePicker-Co6UXSVA.d.ts} +6 -5
- package/dist/{FileUpload-Cn2Fel_W.d.ts → FileUpload-B1L78k7y.d.ts} +2 -2
- package/dist/{FileUploadContainer-Cg1UdVE5.d.ts → FileUploadContainer-CLPREIin.d.ts} +1 -1
- package/dist/{Form-D0y6YSfq.d.ts → Form-fI9WMU9d.d.ts} +7 -7
- package/dist/FormField-Iy2O8A4g.d.ts +37 -0
- package/dist/{IconButton-Dv45TT1w.d.ts → IconButton-CUpL6CsP.d.ts} +2 -2
- package/dist/{InlineIconButton-DvsOdnfE.d.ts → InlineIconButton-AQ8SViM3.d.ts} +3 -3
- package/dist/InputContent-jcMfOzpN.d.ts +27 -0
- package/dist/{InputUpload-CR7mp6ED.d.ts → InputUpload-RPnj3b1Y.d.ts} +4 -4
- package/dist/Inputs-a9CXrVRS.d.ts +13 -0
- package/dist/{Link-Bz8vOksk.d.ts → Link-CKi4C00S.d.ts} +4 -2
- package/dist/{Menu-ucX0h-jq.d.ts → Menu-BHpiqpJ9.d.ts} +5 -2
- package/dist/{MenuItem--lQvt0VV.d.ts → MenuItem-DLKC94Qs.d.ts} +1 -1
- package/dist/{Modal-9GwkBJOj.d.ts → Modal-BfN_MfR-.d.ts} +1 -1
- package/dist/{NumberInput-Cr_nD98h.d.ts → NumberInput-gqs4vYJf.d.ts} +5 -4
- package/dist/{NumberRangeInput-Dgm-8DFi.d.ts → NumberRangeInput-CMHI9yks.d.ts} +4 -4
- package/dist/{Pagination-BBnE2yzX.d.ts → Pagination-uuqyFAu_.d.ts} +1 -1
- package/dist/{PaginationList-DhwiyUOh.d.ts → PaginationList-CmZBILfU.d.ts} +1 -1
- package/dist/{PasswordInput-DjDWoOHW.d.ts → PasswordInput-CcoU8g5c.d.ts} +3 -3
- package/dist/{Pill-C0Ubkm_y.d.ts → Pill-vCBJdOTY.d.ts} +1 -1
- package/dist/{PillButton-MeVkDMKW.d.ts → PillButton-CEF431l4.d.ts} +1 -1
- package/dist/{QuerySelect-tupQOlAT.d.ts → QuerySelect-D_vXxG1S.d.ts} +4 -4
- package/dist/RadioGroup-Cs718lkQ.d.ts +24 -0
- package/dist/{ResponsivePopover-B-Z9sFxq.d.ts → ResponsivePopover-BmURECUv.d.ts} +1 -1
- package/dist/{Segment-D6zpeIiW.d.ts → Segment-C_Vbrl9f.d.ts} +3 -3
- package/dist/{Select-Do5qWHLj.d.ts → Select-DIso4xMG.d.ts} +3 -3
- package/dist/{SelectBase-aSvWd7Cx.d.ts → SelectBase-72enBk-1.d.ts} +36 -37
- package/dist/{Slider-CdZdFERe.d.ts → Slider-Baw84mjN.d.ts} +4 -4
- package/dist/{SplitButton-DxrWH3EX.d.ts → SplitButton-CR4psHKW.d.ts} +3 -3
- package/dist/{Tag-DkTx1S7H.d.ts → Tag-DUvBTljf.d.ts} +1 -1
- package/dist/{TextArea-WosRv99w.d.ts → TextArea-vdp0uSFx.d.ts} +4 -4
- package/dist/{TextButton-CJm2kbLZ.d.ts → TextButton-cigitfeH.d.ts} +3 -3
- package/dist/{TextEditor-CI9MAPyT.d.ts → TextEditor-B7vdoTeN.d.ts} +3 -3
- package/dist/TextInput-Dxq5XKdp.d.ts +27 -0
- package/dist/{TimePicker-DivbHhCw.d.ts → TimePicker-B_atBC0F.d.ts} +4 -4
- package/dist/Toast-DL8_g0WV.d.ts +16 -0
- package/dist/Toggle-CaBvb0l0.d.ts +19 -0
- package/dist/{ToggleButton-C0aNgZdw.d.ts → ToggleButton-3lINwoaV.d.ts} +2 -2
- package/dist/{Tooltip-BIoJ7tNr.d.ts → Tooltip-D1oFPqFF.d.ts} +1 -1
- package/dist/{autocomplete-bNuG6_dG.d.ts → autocomplete-CQqxdk49.d.ts} +3 -3
- package/dist/button-BQmy1LZS.d.ts +1 -0
- package/dist/{checkbox-BYnCRnOf.d.ts → checkbox-Dx7xlf6g.d.ts} +1 -1
- package/dist/{checkbox-group-CeIFa44k.d.ts → checkbox-group-C4afLmyg.d.ts} +1 -1
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/action-modal.d.ts +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/inline-icon-button.d.ts +1 -1
- package/dist/components/input-upload.d.ts +1 -1
- package/dist/components/link.d.ts +2 -2
- package/dist/components/menu.d.ts +2 -2
- package/dist/components/modal.d.ts +1 -1
- package/dist/components/number-input.d.ts +1 -1
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/pill-button.d.ts +1 -1
- package/dist/components/pill.d.ts +1 -1
- package/dist/components/query-autocomplete.d.ts +3 -3
- package/dist/components/query-autocomplete.js +4 -3
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +4 -3
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/responsive-popover.d.ts +1 -1
- package/dist/components/segment.d.ts +2 -2
- package/dist/components/select.d.ts +2 -2
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-button.d.ts +1 -1
- package/dist/components/text-input.d.ts +1 -1
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/toast.d.ts +2 -1
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/theme-context.d.ts +1 -1
- package/dist/config/theme-context.js +1 -1
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/{confirmation.context-CLV-kSkd.d.ts → confirmation.context-D_kJeU8m.d.ts} +1 -1
- package/dist/{date-picker-gLc7aPL7.d.ts → date-picker-BT9DHqNa.d.ts} +1 -1
- package/dist/{date-range-picker-Vk7K6noM.d.ts → date-range-picker-VxlXnCVb.d.ts} +1 -1
- package/dist/{date-time-picker-Db_pMYsD.d.ts → date-time-picker-HxtcGQjQ.d.ts} +1 -1
- package/dist/{dynamicInputs-D8j0ko24.js → dynamicInputs-0GjoOaz5.js} +14 -14
- package/dist/{dynamicInputs-i58CWBjC.d.ts → dynamicInputs-Be0THQ7Z.d.ts} +135 -132
- package/dist/{dynamicInputs-4JB41qRW.js → dynamicInputs-bhlywWDy.js} +4 -4
- package/dist/{file-upload-JIICz2sD.d.ts → file-upload-CNJFJ3Jx.d.ts} +2 -2
- package/dist/{fileUpload.types-DNAlG2R3.d.ts → fileUpload.types-BMs6Zkhr.d.ts} +5 -5
- package/dist/{form.binding-DWlFTecs.d.ts → form.binding-QO3Py45C.d.ts} +6 -3
- package/dist/{form.types-B9Vp8q2g.d.ts → form.types-CefwT7Po.d.ts} +1 -1
- package/dist/hooks/use-filters.d.ts +1 -1
- package/dist/hooks/use-filters.js +1 -1
- package/dist/hooks/use-local-storage.d.ts +1 -1
- package/dist/index-DCUSluLL.d.ts +269 -0
- package/dist/index.d.ts +76 -73
- package/dist/index.js +5 -5
- package/dist/{input-upload-Bm68Vqws.d.ts → input-upload-D3IM2ZuK.d.ts} +1 -1
- package/dist/{link.context-BUgF4OQ8.d.ts → link.context-C1RcdC0i.d.ts} +1 -1
- package/dist/{number-input-0eEiBuYH.d.ts → number-input-nwfbc3kN.d.ts} +1 -1
- package/dist/{number-range-input-Xe0GcGzn.d.ts → number-range-input-BxoPQzi8.d.ts} +1 -1
- package/dist/{password-input-Dzt77vHH.d.ts → password-input-BEneLWqN.d.ts} +1 -1
- package/dist/{query-autocomplete-CHtcx_ND.d.ts → query-autocomplete-rqGMbEP9.d.ts} +2 -2
- package/dist/{query-select-CD0iFQqR.d.ts → query-select-DbQpRcE3.d.ts} +3 -3
- package/dist/{queryAutocomplete.types-DaTDttX5.d.ts → queryAutocomplete.types-Cnn4GjUo.d.ts} +4 -4
- package/dist/{radio-group-Bhnx7pCI.d.ts → radio-group-Cc6b39Jt.d.ts} +1 -1
- package/dist/{RadioGroup-iry4UYlW.d.ts → radio.cva-9lpsise2.d.ts} +1 -23
- 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/date-picker.d.ts +2 -2
- package/dist/rhf/date-range-picker.d.ts +2 -2
- package/dist/rhf/date-time-picker.d.ts +2 -2
- package/dist/rhf/file-upload.d.ts +2 -2
- package/dist/rhf/input-upload.d.ts +2 -2
- package/dist/rhf/inputs.d.ts +1 -1
- package/dist/rhf/inputs.js +1 -1
- package/dist/rhf/number-input.d.ts +2 -2
- package/dist/rhf/number-range-input.d.ts +2 -2
- 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/segment.d.ts +2 -2
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/slider.d.ts +2 -2
- package/dist/rhf/text-area.d.ts +2 -2
- package/dist/rhf/text-editor.d.ts +2 -2
- package/dist/rhf/text-input.d.ts +2 -2
- package/dist/rhf/time-picker.d.ts +2 -2
- package/dist/rhf/toggle.d.ts +2 -2
- package/dist/rhf.d.ts +76 -73
- package/dist/rhf.js +5 -5
- package/dist/{segment-CK9gjZ8s.d.ts → segment-Csrt70e1.d.ts} +2 -2
- package/dist/{segment.types-CCpnAbOH.d.ts → segment.types-BAFG_n38.d.ts} +3 -3
- package/dist/{select-D80pWSgi.d.ts → select-v-_bJmJ_.d.ts} +3 -3
- package/dist/{slider-MG-JqKNN.d.ts → slider-B2wS9JNA.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/date-picker.d.ts +1 -1
- package/dist/tanstack/date-range-picker.d.ts +1 -1
- package/dist/tanstack/date-time-picker.d.ts +1 -1
- package/dist/tanstack/file-upload.d.ts +2 -2
- package/dist/tanstack/form.d.ts +2 -2
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/input-upload.d.ts +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/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/segment.d.ts +2 -2
- package/dist/tanstack/select.d.ts +1 -1
- package/dist/tanstack/slider.d.ts +1 -1
- package/dist/tanstack/table.d.ts +1 -2
- package/dist/tanstack/table.js +1 -1
- package/dist/tanstack/text-area.d.ts +1 -1
- package/dist/tanstack/text-editor.d.ts +1 -1
- package/dist/tanstack/text-input.d.ts +1 -1
- package/dist/tanstack/time-picker.d.ts +1 -1
- package/dist/tanstack/toggle.d.ts +1 -1
- package/dist/tanstack.d.ts +61 -58
- package/dist/tanstack.js +6 -6
- package/dist/{text-area-BOlfnGaF.d.ts → text-area-CYY-d5HB.d.ts} +1 -1
- package/dist/{text-editor-CQGYgGI3.d.ts → text-editor-Bz57chW2.d.ts} +1 -1
- package/dist/text-editor.d.ts +1 -1
- package/dist/{text-input-JUX2SUzO.d.ts → text-input-CkMv3VpB.d.ts} +1 -1
- package/dist/{theme.context-rPpAYJZo.d.ts → theme.context-B10jqjvZ.d.ts} +3 -3
- package/dist/{theme.context-CCXz56lV.js → theme.context-B3wQDJ-i.js} +2 -2
- package/dist/{time-picker-Dm642_yK.d.ts → time-picker-CjqmM5sQ.d.ts} +1 -1
- package/dist/{Toast-JL9yaI35.d.ts → toast.cva-C1ZPw_oP.d.ts} +1 -15
- package/dist/{toggle-IhObgudF.d.ts → toggle-BYNFK_xQ.d.ts} +1 -1
- package/dist/{Toggle-vHKDihtx.d.ts → toggle.cva-2CGLc8aa.d.ts} +1 -18
- package/dist/types-BT18i837.d.ts +69 -0
- package/dist/{types-BSiv-Igp.d.ts → types-ZbFfCz06.d.ts} +16 -343
- package/dist/uiConfig.context-Bjb9TQ6Y.d.ts +126 -0
- package/dist/{useFilters-Cc_lW3jH.js → useFilters-20jpzc29.js} +5 -5
- package/dist/{useFilters-6IOuvBTm.d.ts → useFilters-BxRScJdn.d.ts} +2 -2
- package/dist/{useFormAutosave-MWfz07Xf.js → useFormAutosave-CBtT6V83.js} +4 -4
- package/dist/{useLocalStorage-kcEdRxqC.d.ts → useLocalStorage-DGsBUCT6.d.ts} +2 -2
- package/dist/{useTableColumnConfig-jYZYcSlm.js → useTableColumnConfig-DzdaxZ50.js} +11 -11
- package/dist/{useTableNav-CFHbvYvu.d.ts → useTableNav-DZjPiQUb.d.ts} +36 -19
- package/dist/{useToast-B55ZUvwy.d.ts → useToast-q70ayd29.d.ts} +1 -1
- package/dist/zod.utils-DrrPDT9v.js +24 -0
- package/package.json +4 -4
- package/dist/FormField-CpPQoyv_.d.ts +0 -81
- package/dist/HeaderText-BrZaEuIn.d.ts +0 -19
- package/dist/Inputs-Cuxfe-fC.d.ts +0 -13
- package/dist/button-CAOolCjz.d.ts +0 -1
- package/dist/schemas-BkfyFvBp.js +0 -4004
- package/dist/schemas-CAtYiHoz.d.ts +0 -2127
- package/dist/uiConfig.context-BLXZG1Mu.d.ts +0 -90
- package/dist/zod.utils-Nz_Tbo_v.js +0 -24
|
@@ -13,9 +13,8 @@ import "./i18n-BDjNuy4Z.js";
|
|
|
13
13
|
import { t as useIntersectionObserver } from "./useIntersectionObserver-DYfHnGGU.js";
|
|
14
14
|
import { t as IntlUtils } from "./intl.utils-zwAFoZ0U.js";
|
|
15
15
|
import { t as DateUtils } from "./date.utils-B8_QF9y6.js";
|
|
16
|
-
import { f as ZodISODateTime, i as ZodEnum, l as ZodString, n as ZodBoolean, o as ZodNumber, s as ZodObject, t as ZodArray } from "./schemas-BkfyFvBp.js";
|
|
17
16
|
import { t as StringUtils } from "./string.utils-BPgv6QwA.js";
|
|
18
|
-
import { t as ZodUtils } from "./zod.utils-
|
|
17
|
+
import { t as ZodUtils } from "./zod.utils-DrrPDT9v.js";
|
|
19
18
|
import { t as Modal } from "./Modal-r0ucQNPK.js";
|
|
20
19
|
import { Pagination } from "./components/pagination.js";
|
|
21
20
|
import { t as useTranslationMemo } from "./useTranslationMemo-CrZbeyBv.js";
|
|
@@ -25,6 +24,7 @@ import { Suspense, lazy, useCallback, useEffect, useMemo, useRef, useState } fro
|
|
|
25
24
|
import { c } from "react/compiler-runtime";
|
|
26
25
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
27
26
|
import { useTranslation } from "react-i18next";
|
|
27
|
+
import { z } from "zod";
|
|
28
28
|
import { createPaginatedRowModel, createSortedRowModel, flexRender, stockFeatures, tableFeatures, useTable } from "@tanstack/react-table";
|
|
29
29
|
import i18next from "i18next";
|
|
30
30
|
/**
|
|
@@ -1103,11 +1103,11 @@ const FORMAT_MAP = {
|
|
|
1103
1103
|
}
|
|
1104
1104
|
};
|
|
1105
1105
|
const ZOD_TYPE_FORMAT_MAP = [
|
|
1106
|
-
[ZodEnum, FORMAT_MAP.enum],
|
|
1107
|
-
[ZodNumber, FORMAT_MAP.number],
|
|
1108
|
-
[ZodString, FORMAT_MAP.string],
|
|
1109
|
-
[ZodBoolean, FORMAT_MAP.boolean],
|
|
1110
|
-
[ZodISODateTime, FORMAT_MAP.datetime]
|
|
1106
|
+
[z.ZodEnum, FORMAT_MAP.enum],
|
|
1107
|
+
[z.ZodNumber, FORMAT_MAP.number],
|
|
1108
|
+
[z.ZodString, FORMAT_MAP.string],
|
|
1109
|
+
[z.ZodBoolean, FORMAT_MAP.boolean],
|
|
1110
|
+
[z.ZodISODateTime, FORMAT_MAP.datetime]
|
|
1111
1111
|
];
|
|
1112
1112
|
const configValueToColumnDef = (value) => {
|
|
1113
1113
|
if (typeof value === "function" || typeof value === "string") return { cell: value };
|
|
@@ -1170,7 +1170,7 @@ const formatValueByType = (value, schemaType) => {
|
|
|
1170
1170
|
if (value === null || value === void 0) return null;
|
|
1171
1171
|
if (ZodUtils.isDateRange(schemaType)) return FORMAT_MAP.dateRange(value);
|
|
1172
1172
|
const unwrappedType = ZodUtils.unwrapZodType(schemaType);
|
|
1173
|
-
if (unwrappedType instanceof ZodArray) {
|
|
1173
|
+
if (unwrappedType instanceof z.ZodArray) {
|
|
1174
1174
|
if (!Array.isArray(value)) return null;
|
|
1175
1175
|
const elementType = unwrappedType.element;
|
|
1176
1176
|
return value.map((element) => formatValueByType(element, elementType)).join(", ");
|
|
@@ -1187,7 +1187,7 @@ const getNestedValue = (obj, path) => {
|
|
|
1187
1187
|
const getKeyType = (schema, key) => {
|
|
1188
1188
|
const pathParts = key.split(".");
|
|
1189
1189
|
let currentType = schema.shape[pathParts[0]];
|
|
1190
|
-
for (let i = 1; i < pathParts.length; i++) if (currentType instanceof ZodObject) currentType = currentType.shape[pathParts[i]];
|
|
1190
|
+
for (let i = 1; i < pathParts.length; i++) if (currentType instanceof z.ZodObject) currentType = currentType.shape[pathParts[i]];
|
|
1191
1191
|
else {
|
|
1192
1192
|
currentType = schema.shape[key];
|
|
1193
1193
|
break;
|
|
@@ -1210,7 +1210,7 @@ const getCellFunction = (schema, schemaKey, columnDef, options) => {
|
|
|
1210
1210
|
const normalizeSortable = (sortable) => {
|
|
1211
1211
|
if (!sortable) return;
|
|
1212
1212
|
if (Array.isArray(sortable)) return sortable;
|
|
1213
|
-
if (sortable instanceof ZodEnum) return Object.values(sortable.enum);
|
|
1213
|
+
if (sortable instanceof z.ZodEnum) return Object.values(sortable.enum);
|
|
1214
1214
|
};
|
|
1215
1215
|
const getDefaultColumnHeader = (key, options) => {
|
|
1216
1216
|
const localeKey = `${options.namespace ?? DEFAULT_NAMESPACE}.${key}`;
|
|
@@ -1296,7 +1296,7 @@ const getAllSchemaKeys = (schema) => {
|
|
|
1296
1296
|
Object.entries(obj).forEach(([key, value]) => {
|
|
1297
1297
|
const currentPath = prefix ? `${prefix}.${key}` : key;
|
|
1298
1298
|
keys.push(currentPath);
|
|
1299
|
-
if (value instanceof ZodObject) traverse(value.shape, currentPath);
|
|
1299
|
+
if (value instanceof z.ZodObject) traverse(value.shape, currentPath);
|
|
1300
1300
|
});
|
|
1301
1301
|
};
|
|
1302
1302
|
traverse(shape);
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-BdokYcGO.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { ComponentType, Dispatch, KeyboardEvent, ReactNode, SetStateAction } from "react";
|
|
2
|
+
import { t as FieldPath } from "./form.binding-QO3Py45C.js";
|
|
3
|
+
import { n as TypographyProps } from "./Typography-BiHrVFpz.js";
|
|
4
|
+
import { CSSProperties, ComponentType, Dispatch, FC, KeyboardEvent, ReactNode, SetStateAction } from "react";
|
|
5
|
+
import { z } from "zod";
|
|
5
6
|
import { CellContext, ColumnDef, ColumnMeta, ColumnOrderState, ColumnVisibilityState, OnChangeFn, PaginationState, Row, RowData, RowSelectionState, SortingState, StockFeatures, Table } from "@tanstack/react-table";
|
|
6
7
|
import { TFunction } from "i18next";
|
|
7
8
|
import { DragEndEvent, UniqueIdentifier } from "@dnd-kit/core";
|
|
9
|
+
//#region src/components/table/CellText.d.ts
|
|
10
|
+
interface CellTextProps extends Partial<Pick<TypographyProps, "variant" | "size">> {
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
declare const CellText: FC<CellTextProps>;
|
|
16
|
+
//#endregion
|
|
8
17
|
//#region src/components/table/ColumnConfig.d.ts
|
|
9
18
|
type ColumnDef$4<TData extends RowData, TValue = unknown> = ColumnDef<StockFeatures, TData, TValue>;
|
|
10
19
|
type VisibilityState$2 = ColumnVisibilityState;
|
|
@@ -18,6 +27,14 @@ interface ColumnConfigModalProps<TData extends RowData, TValue> {
|
|
|
18
27
|
}
|
|
19
28
|
declare function ColumnConfigModal<TData extends RowData, TValue>({ isOpen, onClose, configColumns, visibleColumns, onVisibilityChange, onOrderChange }: ColumnConfigModalProps<TData, TValue>): import("react/jsx-runtime").JSX.Element | null;
|
|
20
29
|
//#endregion
|
|
30
|
+
//#region src/components/table/HeaderText.d.ts
|
|
31
|
+
interface HeaderTextProps extends Partial<Pick<TypographyProps, "variant" | "size">> {
|
|
32
|
+
children: ReactNode;
|
|
33
|
+
className?: string;
|
|
34
|
+
style?: CSSProperties;
|
|
35
|
+
}
|
|
36
|
+
declare const HeaderText: FC<HeaderTextProps>;
|
|
37
|
+
//#endregion
|
|
21
38
|
//#region src/components/table/table.cva.d.ts
|
|
22
39
|
declare const tableRowDefinition: {
|
|
23
40
|
base: string[];
|
|
@@ -118,27 +135,27 @@ type CellContext$1<TData extends RowData, TValue> = CellContext<StockFeatures, T
|
|
|
118
135
|
type ColumnDef$2<TData extends RowData, TValue = unknown> = ColumnDef<StockFeatures, TData, TValue>;
|
|
119
136
|
type ColumnMeta$1<TData extends RowData, TValue> = ColumnMeta<StockFeatures, TData, TValue>;
|
|
120
137
|
type NestedTypeFromKey<T, K extends string> = K extends keyof T ? T[K] : K extends `${infer First}.${infer Rest}` ? First extends keyof T ? NestedTypeFromKey<T[First], Rest> : never : never;
|
|
121
|
-
type SchemaType<TSchema extends ZodObject<any>> =
|
|
122
|
-
type SchemaKey<TSchema extends ZodObject<any>> = keyof SchemaType<TSchema>;
|
|
123
|
-
type NestedSchemaKey<TSchema extends ZodObject<any>> = FieldPath<SchemaType<TSchema>>;
|
|
124
|
-
type SchemaValue<TSchema extends ZodObject<any>> = SchemaType<TSchema>[SchemaKey<TSchema>];
|
|
125
|
-
type ColumnMetaType<TSchema extends ZodObject<any>> = ColumnMeta$1<SchemaType<TSchema>, SchemaValue<TSchema>>;
|
|
126
|
-
type GetNestedValueType<TSchema extends ZodObject<any>, K extends string> = NestedTypeFromKey<SchemaType<TSchema>, K>;
|
|
127
|
-
type NestedSchemaKeyOrString<TSchema extends ZodObject<any>> = NestedSchemaKey<TSchema> | (string & {});
|
|
128
|
-
type DynamicColumnDef<TSchema extends ZodObject<any>, TValue = any> = Omit<ColumnDef$2<SchemaType<TSchema>, TValue>, "accessorKey" | "cell"> & {
|
|
138
|
+
type SchemaType<TSchema extends z.ZodObject<any>> = z.infer<TSchema>;
|
|
139
|
+
type SchemaKey<TSchema extends z.ZodObject<any>> = keyof SchemaType<TSchema>;
|
|
140
|
+
type NestedSchemaKey<TSchema extends z.ZodObject<any>> = FieldPath<SchemaType<TSchema>>;
|
|
141
|
+
type SchemaValue<TSchema extends z.ZodObject<any>> = SchemaType<TSchema>[SchemaKey<TSchema>];
|
|
142
|
+
type ColumnMetaType<TSchema extends z.ZodObject<any>> = ColumnMeta$1<SchemaType<TSchema>, SchemaValue<TSchema>>;
|
|
143
|
+
type GetNestedValueType<TSchema extends z.ZodObject<any>, K extends string> = NestedTypeFromKey<SchemaType<TSchema>, K>;
|
|
144
|
+
type NestedSchemaKeyOrString<TSchema extends z.ZodObject<any>> = NestedSchemaKey<TSchema> | (string & {});
|
|
145
|
+
type DynamicColumnDef<TSchema extends z.ZodObject<any>, TValue = any> = Omit<ColumnDef$2<SchemaType<TSchema>, TValue>, "accessorKey" | "cell"> & {
|
|
129
146
|
cell?: ((props: CellContext$1<SchemaType<TSchema>, TValue>) => any) | NestedSchemaKey<TSchema>;
|
|
130
147
|
};
|
|
131
|
-
type ColumnsConfig<TSchema extends ZodObject<any>> = { [K in NestedSchemaKey<TSchema>]?: DynamicColumnDef<TSchema, GetNestedValueType<TSchema, K>> | ((props: CellContext$1<SchemaType<TSchema>, GetNestedValueType<TSchema, K>>) => any) | NestedSchemaKey<TSchema> | boolean; };
|
|
132
|
-
type CustomColumnDef<TSchema extends ZodObject<any>> = Omit<ColumnDef$2<SchemaType<TSchema>, any>, "accessorKey" | "cell"> & {
|
|
148
|
+
type ColumnsConfig<TSchema extends z.ZodObject<any>> = { [K in NestedSchemaKey<TSchema>]?: DynamicColumnDef<TSchema, GetNestedValueType<TSchema, K>> | ((props: CellContext$1<SchemaType<TSchema>, GetNestedValueType<TSchema, K>>) => any) | NestedSchemaKey<TSchema> | boolean; };
|
|
149
|
+
type CustomColumnDef<TSchema extends z.ZodObject<any>> = Omit<ColumnDef$2<SchemaType<TSchema>, any>, "accessorKey" | "cell"> & {
|
|
133
150
|
accessorKey?: NestedSchemaKeyOrString<TSchema>;
|
|
134
151
|
cell?: ((props: CellContext$1<SchemaType<TSchema>, any>) => any) | NestedSchemaKey<TSchema>;
|
|
135
152
|
};
|
|
136
|
-
type CustomColumnsConfig<TSchema extends ZodObject<any>> = Record<string, CustomColumnDef<TSchema> | ((props: CellContext$1<SchemaType<TSchema>, undefined>) => any) | NestedSchemaKey<TSchema>>;
|
|
137
|
-
interface DynamicColumnsOptions<TSchema extends ZodObject<any>> {
|
|
153
|
+
type CustomColumnsConfig<TSchema extends z.ZodObject<any>> = Record<string, CustomColumnDef<TSchema> | ((props: CellContext$1<SchemaType<TSchema>, undefined>) => any) | NestedSchemaKey<TSchema>>;
|
|
154
|
+
interface DynamicColumnsOptions<TSchema extends z.ZodObject<any>> {
|
|
138
155
|
columns?: ColumnsConfig<TSchema>;
|
|
139
156
|
customColumns?: CustomColumnsConfig<TSchema>;
|
|
140
157
|
order?: NestedSchemaKeyOrString<TSchema>[];
|
|
141
|
-
sortable?: NestedSchemaKeyOrString<TSchema>[] | ZodEnum<any>;
|
|
158
|
+
sortable?: NestedSchemaKeyOrString<TSchema>[] | z.ZodEnum<any>;
|
|
142
159
|
disableFormatting?: NestedSchemaKeyOrString<TSchema>[];
|
|
143
160
|
emptyValue?: ReactNode;
|
|
144
161
|
namespace?: string;
|
|
@@ -147,12 +164,12 @@ interface DynamicColumnsOptions<TSchema extends ZodObject<any>> {
|
|
|
147
164
|
globalWrapper?: (children: ReactNode) => ReactNode;
|
|
148
165
|
includeAll?: boolean;
|
|
149
166
|
}
|
|
150
|
-
interface DynamicColumnsParams<TSchema extends ZodObject<any>> {
|
|
167
|
+
interface DynamicColumnsParams<TSchema extends z.ZodObject<any>> {
|
|
151
168
|
schema: TSchema;
|
|
152
169
|
preset?: ColumnDef$2<SchemaType<TSchema>>[];
|
|
153
170
|
options: DynamicColumnsOptions<TSchema>;
|
|
154
171
|
}
|
|
155
|
-
declare const dynamicColumns: <TSchema extends ZodObject<any>>({ schema, preset, options }: DynamicColumnsParams<TSchema>) => ColumnDef$2<SchemaType<TSchema>>[];
|
|
172
|
+
declare const dynamicColumns: <TSchema extends z.ZodObject<any>>({ schema, preset, options }: DynamicColumnsParams<TSchema>) => ColumnDef$2<SchemaType<TSchema>>[];
|
|
156
173
|
//#endregion
|
|
157
174
|
//#region src/hooks/usePagination.d.ts
|
|
158
175
|
declare function usePagination(defaultPagination?: PaginationState): {
|
|
@@ -271,4 +288,4 @@ declare function useTableNav(options?: Config): {
|
|
|
271
288
|
tableNav: DataGridNav;
|
|
272
289
|
};
|
|
273
290
|
//#endregion
|
|
274
|
-
export {
|
|
291
|
+
export { HeaderText as C, CellText as D, ColumnConfigModalProps as E, CellTextProps as O, tableRowDefinition as S, ColumnConfigModal as T, tableCellTextDefinition as _, DynamicColumnsOptions as a, tableHeadRowDefinition as b, PaginatedTableProps as c, InfiniteTableProps as d, InfiniteTableWrapperProps as f, TableRowVariantProps as g, TableWrapperProps as h, usePagination as i, PaginatedTableWrapperProps as l, TableProps as m, useTableColumnConfig as n, dynamicColumns as o, Table$1 as p, useSorting as r, PaginatedTable as s, useTableNav as t, InfiniteTable as u, tableDataDefinition as v, HeaderTextProps as w, tableHeaderTextDefinition as x, tableHeadDataDefinition as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ToastOptions$1, r as ToastPosition, t as Id } from "./index-B8r_kiw4.js";
|
|
2
|
-
import { r as ToastProps } from "./Toast-
|
|
2
|
+
import { r as ToastProps } from "./Toast-DL8_g0WV.js";
|
|
3
3
|
//#region src/components/status/Toast/useToast.d.ts
|
|
4
4
|
interface ToastParams extends Omit<ToastProps, "color"> {
|
|
5
5
|
position?: ToastPosition;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/utils/zod.utils.ts
|
|
3
|
+
let ZodUtils;
|
|
4
|
+
(function(_ZodUtils) {
|
|
5
|
+
const unwrapZodType = _ZodUtils.unwrapZodType = (schemaType) => {
|
|
6
|
+
let unwrappedType = schemaType;
|
|
7
|
+
while (unwrappedType instanceof z.ZodNullable || unwrappedType instanceof z.ZodOptional) unwrappedType = unwrappedType.unwrap();
|
|
8
|
+
return unwrappedType;
|
|
9
|
+
};
|
|
10
|
+
_ZodUtils.unwrapToZodObject = (schema) => {
|
|
11
|
+
const inner = unwrapZodType(schema);
|
|
12
|
+
if (!(inner instanceof z.ZodObject)) throw new Error("ZodUtils.unwrapToZodObject: expected a Zod object, or optional/nullable wrapping a Zod object.");
|
|
13
|
+
return inner;
|
|
14
|
+
};
|
|
15
|
+
const hasZodObjectProperty = (schemaType, property, type) => {
|
|
16
|
+
return property in schemaType.shape && schemaType.shape[property] instanceof z.core.$ZodType && unwrapZodType(schemaType.shape[property]) instanceof type;
|
|
17
|
+
};
|
|
18
|
+
_ZodUtils.isDateRange = (schemaType) => {
|
|
19
|
+
const unwrappedType = unwrapZodType(schemaType);
|
|
20
|
+
return unwrappedType instanceof z.ZodObject && hasZodObjectProperty(unwrappedType, "start", z.ZodISODateTime) && hasZodObjectProperty(unwrappedType, "end", z.ZodISODateTime);
|
|
21
|
+
};
|
|
22
|
+
})(ZodUtils || (ZodUtils = {}));
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ZodUtils as t };
|
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.39",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -1336,8 +1336,7 @@
|
|
|
1336
1336
|
"react-stately": "^3.44.0",
|
|
1337
1337
|
"react-toastify": "^11.0.5",
|
|
1338
1338
|
"tailwindcss": "^4.2.4",
|
|
1339
|
-
"tailwindcss-react-aria-components": "^2.1.0"
|
|
1340
|
-
"zod": "^4.4.3"
|
|
1339
|
+
"tailwindcss-react-aria-components": "^2.1.0"
|
|
1341
1340
|
},
|
|
1342
1341
|
"peerDependencies": {
|
|
1343
1342
|
"@casl/ability": "^6.7.3",
|
|
@@ -1370,7 +1369,8 @@
|
|
|
1370
1369
|
"react": "^19.1.0",
|
|
1371
1370
|
"react-dom": "^19.1.0",
|
|
1372
1371
|
"react-hook-form": "^7.65.0",
|
|
1373
|
-
"react-i18next": ">=16"
|
|
1372
|
+
"react-i18next": ">=16",
|
|
1373
|
+
"zod": "^4.4.3"
|
|
1374
1374
|
},
|
|
1375
1375
|
"peerDependenciesMeta": {
|
|
1376
1376
|
"@dnd-kit/core": {
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { D as DOMAttributes$1, s as InputProps } from "./types-BSiv-Igp.js";
|
|
2
|
-
import { n as InlineIconButtonProps } from "./InlineIconButton-DvsOdnfE.js";
|
|
3
|
-
import { n as FieldValues } from "./form.binding-DWlFTecs.js";
|
|
4
|
-
import { t as FormFieldErrorProps } from "./FormFieldError-BT4uxbKY.js";
|
|
5
|
-
import { t as ControlProps } from "./form.types-B9Vp8q2g.js";
|
|
6
|
-
import { n as InputVariantProps } from "./input.cva-CfgCOIQW.js";
|
|
7
|
-
import { FC, FocusEvent, FocusEventHandler, LabelHTMLAttributes, MouseEventHandler, PropsWithChildren, ReactElement, ReactNode, Ref, SVGProps } from "react";
|
|
8
|
-
import { AriaTextFieldProps } from "@react-aria/textfield";
|
|
9
|
-
//#region src/components/inputs/FormField/FormFieldHeader.d.ts
|
|
10
|
-
interface FormFieldHeaderProps {
|
|
11
|
-
label: string;
|
|
12
|
-
tooltipText?: string;
|
|
13
|
-
helperText?: string;
|
|
14
|
-
isRequired?: boolean;
|
|
15
|
-
rightContent?: ReactNode;
|
|
16
|
-
isHeaderHidden?: boolean;
|
|
17
|
-
isDisabled?: boolean;
|
|
18
|
-
className?: string;
|
|
19
|
-
labelProps?: DOMAttributes$1<HTMLLabelElement> & LabelHTMLAttributes<HTMLLabelElement>;
|
|
20
|
-
}
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region src/components/inputs/Input/shared/InputContent.d.ts
|
|
23
|
-
interface InputContentProps {
|
|
24
|
-
className?: string;
|
|
25
|
-
unit?: string;
|
|
26
|
-
isLoading?: boolean;
|
|
27
|
-
isDisabled?: boolean;
|
|
28
|
-
action?: {
|
|
29
|
-
icon: InlineIconButtonProps["icon"];
|
|
30
|
-
onClick: () => void;
|
|
31
|
-
altText: string;
|
|
32
|
-
className?: string;
|
|
33
|
-
};
|
|
34
|
-
leadingIcon?: FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
35
|
-
trailingIcon?: FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
36
|
-
isClearable?: boolean;
|
|
37
|
-
isClearableIfDisabled?: boolean;
|
|
38
|
-
value?: string | number | null;
|
|
39
|
-
onChange?: (value: string) => void;
|
|
40
|
-
onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
41
|
-
headerProps?: FormFieldHeaderProps;
|
|
42
|
-
}
|
|
43
|
-
//#endregion
|
|
44
|
-
//#region src/components/inputs/Input/TextInput/TextInput.d.ts
|
|
45
|
-
type AllowedHTMLInputTypeAttribute = "email" | "hidden" | "tel" | "text" | "url";
|
|
46
|
-
interface TextInputBaseProps extends FormFieldProps, InputVariantProps, Omit<InputContentProps, "ref" | "value" | "onChange" | "onBlur">, Omit<InputProps, "value" | "defaultValue" | "onChange" | "disabled" | "required" | "type" | "size" | "className" | keyof AriaTextFieldProps>, Omit<AriaTextFieldProps<HTMLInputElement>, "label"> {
|
|
47
|
-
ref?: Ref<HTMLInputElement>;
|
|
48
|
-
inputClassName?: string;
|
|
49
|
-
type?: AllowedHTMLInputTypeAttribute;
|
|
50
|
-
todayIcon?: boolean;
|
|
51
|
-
isDirty?: boolean;
|
|
52
|
-
autoFocusOnMount?: boolean;
|
|
53
|
-
}
|
|
54
|
-
interface TextInputProps extends TextInputBaseProps {
|
|
55
|
-
renderStaticInput?: boolean;
|
|
56
|
-
}
|
|
57
|
-
type ControlledTextInputProps<TFieldValues extends Record<string, unknown>> = ControlProps<TextInputProps, TFieldValues>;
|
|
58
|
-
/** @internal Exported for production render benchmarks. */
|
|
59
|
-
declare const TextInputComponent: <TFieldValues extends FieldValues>({ renderStaticInput, ...props }: ControlledTextInputProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
60
|
-
declare const TextInput: typeof TextInputComponent;
|
|
61
|
-
//#endregion
|
|
62
|
-
//#region src/components/inputs/FormField/FormField.d.ts
|
|
63
|
-
interface FormFieldProps extends Omit<FormFieldHeaderProps, "className" | "labelProps">, Omit<FormFieldErrorProps, "className"> {
|
|
64
|
-
errorMessageId?: string;
|
|
65
|
-
helperTextId?: string;
|
|
66
|
-
hideLabel?: boolean;
|
|
67
|
-
headerClassName?: string;
|
|
68
|
-
errorClassName?: string;
|
|
69
|
-
className?: string;
|
|
70
|
-
}
|
|
71
|
-
interface FormFieldComponentProps extends PropsWithChildren<FormFieldProps> {
|
|
72
|
-
ref?: Ref<HTMLDivElement>;
|
|
73
|
-
labelProps?: FormFieldHeaderProps["labelProps"];
|
|
74
|
-
as?: TextInputProps["as"];
|
|
75
|
-
tabIndex?: number;
|
|
76
|
-
onMouseEnter?: MouseEventHandler<HTMLDivElement>;
|
|
77
|
-
onFocusCapture?: FocusEventHandler<HTMLDivElement>;
|
|
78
|
-
}
|
|
79
|
-
declare const FormField: ({ ref, as, label, tooltipText, helperText, helperTextId, isRequired, rightContent, isDisabled, error, errorMessageId, hideLabel, headerClassName, errorClassName, children, className, labelProps, isHeaderHidden, tabIndex, onMouseEnter, onFocusCapture }: FormFieldComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
80
|
-
//#endregion
|
|
81
|
-
export { TextInputComponent as a, TextInput as i, FormFieldProps as n, TextInputProps as o, ControlledTextInputProps as r, InputContentProps as s, FormField as t };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { n as TypographyProps } from "./Typography-BiHrVFpz.js";
|
|
2
|
-
import { CSSProperties, FC, ReactNode } from "react";
|
|
3
|
-
//#region src/components/table/CellText.d.ts
|
|
4
|
-
interface CellTextProps extends Partial<Pick<TypographyProps, "variant" | "size">> {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
style?: CSSProperties;
|
|
8
|
-
}
|
|
9
|
-
declare const CellText: FC<CellTextProps>;
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region src/components/table/HeaderText.d.ts
|
|
12
|
-
interface HeaderTextProps extends Partial<Pick<TypographyProps, "variant" | "size">> {
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
className?: string;
|
|
15
|
-
style?: CSSProperties;
|
|
16
|
-
}
|
|
17
|
-
declare const HeaderText: FC<HeaderTextProps>;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { CellTextProps as i, HeaderTextProps as n, CellText as r, HeaderText as t };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { c as ZodObject, h as output } from "./schemas-CAtYiHoz.js";
|
|
2
|
-
import { l as InputDef } from "./dynamicInputs-i58CWBjC.js";
|
|
3
|
-
import { c as UIForm } from "./form.binding-DWlFTecs.js";
|
|
4
|
-
import { ReactNode } from "react";
|
|
5
|
-
//#region src/components/inputs/Inputs/Inputs.d.ts
|
|
6
|
-
interface InputsProps<TSchema extends ZodObject<any>, TSchemaType extends Record<string, any> = output<TSchema>> {
|
|
7
|
-
form: UIForm<TSchemaType>;
|
|
8
|
-
inputDefs: Array<InputDef<TSchemaType>>;
|
|
9
|
-
children?: (inputs: Record<keyof TSchemaType, ReactNode>) => ReactNode;
|
|
10
|
-
}
|
|
11
|
-
declare function Inputs<TSchema extends ZodObject<any>, TSchemaType extends Record<string, any> = output<TSchema>>({ form, inputDefs, children }: InputsProps<TSchema, TSchemaType>): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element[] | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null | undefined;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { InputsProps as n, Inputs as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./types-BSiv-Igp.js";
|