@customafk/lunas-ui 0.2.5 → 0.2.7
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/README.md +39 -9
- package/ai-docs.md +419 -0
- package/dist/alert-CA1RS1CG.d.cts +88 -0
- package/dist/alert-DDL82_U3.d.mts +88 -0
- package/dist/alert-DIC1_ymv.cjs +2 -0
- package/dist/alert-DIC1_ymv.cjs.map +1 -0
- package/dist/alert-VP3giy31.mjs +2 -0
- package/dist/alert-VP3giy31.mjs.map +1 -0
- package/dist/avatar-CTS9-raY.cjs +2 -0
- package/dist/avatar-CTS9-raY.cjs.map +1 -0
- package/dist/avatar-DbxqvCjT.mjs +2 -0
- package/dist/avatar-DbxqvCjT.mjs.map +1 -0
- package/dist/badge-B8bw2UEY.mjs +2 -0
- package/dist/badge-B8bw2UEY.mjs.map +1 -0
- package/dist/badge-BFTGDsBm.d.cts +42 -0
- package/dist/badge-Cg0e-djv.d.mts +42 -0
- package/dist/badge-uQ0pIZbQ.cjs +2 -0
- package/dist/badge-uQ0pIZbQ.cjs.map +1 -0
- package/dist/button-Bn54lPVz.d.cts +174 -0
- package/dist/button-C6ybzxxj.mjs +2 -0
- package/dist/button-C6ybzxxj.mjs.map +1 -0
- package/dist/button-C76drZpd.d.mts +174 -0
- package/dist/{button-Cd7YtPlT.cjs → button-CwDT3m4m.cjs} +2 -2
- package/dist/button-CwDT3m4m.cjs.map +1 -0
- package/dist/button.variants-DeCyas1F.mjs +2 -0
- package/dist/button.variants-DeCyas1F.mjs.map +1 -0
- package/dist/button.variants-tnhb123u.cjs +2 -0
- package/dist/button.variants-tnhb123u.cjs.map +1 -0
- package/dist/calendar-CyAPpT2m.cjs +2 -0
- package/dist/calendar-CyAPpT2m.cjs.map +1 -0
- package/dist/calendar-JKxWM6AF.mjs +2 -0
- package/dist/calendar-JKxWM6AF.mjs.map +1 -0
- package/dist/cards/grid-product-card.cjs +1 -1
- package/dist/cards/grid-product-card.cjs.map +1 -1
- package/dist/cards/grid-product-card.d.cts +23 -0
- package/dist/cards/grid-product-card.d.mts +23 -0
- package/dist/cards/grid-product-card.mjs +1 -1
- package/dist/cards/grid-product-card.mjs.map +1 -1
- package/dist/cards/product-card.cjs +1 -1
- package/dist/cards/product-card.cjs.map +1 -1
- package/dist/cards/product-card.d.cts +23 -0
- package/dist/cards/product-card.d.mts +23 -0
- package/dist/cards/product-card.mjs +1 -1
- package/dist/cards/product-card.mjs.map +1 -1
- package/dist/cards/simple-card.cjs +1 -1
- package/dist/cards/simple-card.cjs.map +1 -1
- package/dist/cards/simple-card.d.cts +16 -0
- package/dist/cards/simple-card.d.mts +18 -2
- package/dist/cards/simple-card.mjs +1 -1
- package/dist/cards/simple-card.mjs.map +1 -1
- package/dist/{checkbox-Bg2FiuQw.mjs → checkbox-DJEdYOjA.mjs} +2 -2
- package/dist/checkbox-DJEdYOjA.mjs.map +1 -0
- package/dist/{checkbox-C0fSWwmD.cjs → checkbox-RZrRNYP2.cjs} +2 -2
- package/dist/checkbox-RZrRNYP2.cjs.map +1 -0
- package/dist/close-BU0kWRVo.mjs +2 -0
- package/dist/{close-DfuHB7kq.mjs.map → close-BU0kWRVo.mjs.map} +1 -1
- package/dist/close-DXk_H3Gt.cjs +2 -0
- package/dist/{close-D_Ge7gnP.cjs.map → close-DXk_H3Gt.cjs.map} +1 -1
- package/dist/cms-layout-Dc4moos1.cjs +2 -0
- package/dist/cms-layout-Dc4moos1.cjs.map +1 -0
- package/dist/cms-layout-HfnOQS16.mjs +2 -0
- package/dist/cms-layout-HfnOQS16.mjs.map +1 -0
- package/dist/{command-IfPmQiyJ.cjs → command-SHd-d_o0.cjs} +2 -2
- package/dist/command-SHd-d_o0.cjs.map +1 -0
- package/dist/{command-Bma4ivZz.mjs → command-bpcnKEbR.mjs} +2 -2
- package/dist/command-bpcnKEbR.mjs.map +1 -0
- package/dist/data-display/country.cjs +1 -1
- package/dist/data-display/country.cjs.map +1 -1
- package/dist/data-display/country.d.cts +15 -3
- package/dist/data-display/country.d.mts +15 -3
- package/dist/data-display/country.mjs +1 -1
- package/dist/data-display/country.mjs.map +1 -1
- package/dist/data-display/data-list.cjs +1 -1
- package/dist/data-display/data-list.cjs.map +1 -1
- package/dist/data-display/data-list.d.cts +31 -2
- package/dist/data-display/data-list.d.mts +31 -2
- package/dist/data-display/data-list.mjs +1 -1
- package/dist/data-display/data-list.mjs.map +1 -1
- package/dist/data-display/date-tooltip.cjs +1 -1
- package/dist/data-display/date-tooltip.cjs.map +1 -1
- package/dist/data-display/date-tooltip.d.cts +13 -2
- package/dist/data-display/date-tooltip.d.mts +13 -2
- package/dist/data-display/date-tooltip.mjs +1 -1
- package/dist/data-display/date-tooltip.mjs.map +1 -1
- package/dist/data-display/date.cjs +1 -1
- package/dist/data-display/date.d.cts +28 -2
- package/dist/data-display/date.d.mts +28 -2
- package/dist/data-display/date.mjs +1 -1
- package/dist/data-display/empty.cjs +1 -1
- package/dist/data-display/empty.cjs.map +1 -1
- package/dist/data-display/empty.d.cts +17 -3
- package/dist/data-display/empty.d.mts +17 -3
- package/dist/data-display/empty.mjs +1 -1
- package/dist/data-display/empty.mjs.map +1 -1
- package/dist/data-display/name.cjs +1 -1
- package/dist/data-display/name.cjs.map +1 -1
- package/dist/data-display/name.d.cts +12 -1
- package/dist/data-display/name.d.mts +12 -1
- package/dist/data-display/name.mjs +1 -1
- package/dist/data-display/name.mjs.map +1 -1
- package/dist/data-display/phone-number.cjs +1 -1
- package/dist/data-display/phone-number.cjs.map +1 -1
- package/dist/data-display/phone-number.d.cts +14 -2
- package/dist/data-display/phone-number.d.mts +14 -2
- package/dist/data-display/phone-number.mjs +1 -1
- package/dist/data-display/phone-number.mjs.map +1 -1
- package/dist/data-display/role-badge.cjs +1 -1
- package/dist/data-display/role-badge.cjs.map +1 -1
- package/dist/data-display/role-badge.d.cts +15 -3
- package/dist/data-display/role-badge.d.mts +15 -3
- package/dist/data-display/role-badge.mjs +1 -1
- package/dist/data-display/role-badge.mjs.map +1 -1
- package/dist/data-display/statistic.cjs +1 -1
- package/dist/data-display/statistic.cjs.map +1 -1
- package/dist/data-display/statistic.d.cts +35 -6
- package/dist/data-display/statistic.d.mts +37 -8
- package/dist/data-display/statistic.mjs +1 -1
- package/dist/data-display/statistic.mjs.map +1 -1
- package/dist/data-display/user.cjs +1 -2
- package/dist/data-display/user.d.cts +14 -1
- package/dist/data-display/user.d.mts +14 -1
- package/dist/data-display/user.mjs +1 -2
- package/dist/date-CVz9xdCg.mjs +2 -0
- package/dist/date-CVz9xdCg.mjs.map +1 -0
- package/dist/date-a3RI5Pwo.cjs +2 -0
- package/dist/date-a3RI5Pwo.cjs.map +1 -0
- package/dist/dialog-BchwY6-N.mjs +2 -0
- package/dist/dialog-BchwY6-N.mjs.map +1 -0
- package/dist/dialog-CNhwBcEl.d.cts +90 -0
- package/dist/dialog-D6ygAOSV.d.mts +90 -0
- package/dist/dialog-o_68LQXd.cjs +2 -0
- package/dist/dialog-o_68LQXd.cjs.map +1 -0
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- package/dist/dialogs/confirm-dialog.cjs.map +1 -1
- package/dist/dialogs/confirm-dialog.d.cts +129 -3
- package/dist/dialogs/confirm-dialog.d.mts +129 -3
- package/dist/dialogs/confirm-dialog.mjs +1 -1
- package/dist/dialogs/confirm-dialog.mjs.map +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -2
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +73 -26
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +73 -26
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -2
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs.map +1 -1
- package/dist/dialogs/detail-dialog/index.d.cts +37 -8
- package/dist/dialogs/detail-dialog/index.d.mts +37 -8
- package/dist/dialogs/detail-dialog/index.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.mjs.map +1 -1
- package/dist/dialogs/error-dialog.cjs +1 -1
- package/dist/dialogs/error-dialog.cjs.map +1 -1
- package/dist/dialogs/error-dialog.d.cts +18 -4
- package/dist/dialogs/error-dialog.d.mts +18 -4
- package/dist/dialogs/error-dialog.mjs +1 -1
- package/dist/dialogs/error-dialog.mjs.map +1 -1
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.cjs.map +1 -1
- package/dist/dialogs/loading-dialog.d.cts +15 -3
- package/dist/dialogs/loading-dialog.d.mts +15 -3
- package/dist/dialogs/loading-dialog.mjs +1 -1
- package/dist/dialogs/loading-dialog.mjs.map +1 -1
- package/dist/dist-CIN9T2FB.mjs +2 -0
- package/dist/{dist-DP1ehOL8.mjs.map → dist-CIN9T2FB.mjs.map} +1 -1
- package/dist/dist-Dh8WwRa8.cjs +2 -0
- package/dist/{dist-Q1UyT_bc.cjs.map → dist-Dh8WwRa8.cjs.map} +1 -1
- package/dist/dropdown-menu-Ct9BLGfa.cjs +2 -0
- package/dist/dropdown-menu-Ct9BLGfa.cjs.map +1 -0
- package/dist/dropdown-menu-DWSfXhHo.mjs +2 -0
- package/dist/dropdown-menu-DWSfXhHo.mjs.map +1 -0
- package/dist/features/descriptions/index.cjs +1 -1
- package/dist/features/descriptions/index.cjs.map +1 -1
- package/dist/features/descriptions/index.d.cts +158 -19
- package/dist/features/descriptions/index.d.mts +158 -19
- package/dist/features/descriptions/index.mjs +1 -1
- package/dist/features/descriptions/index.mjs.map +1 -1
- package/dist/features/search-modal/index.cjs +1 -2
- package/dist/features/search-modal/index.d.cts +12 -2
- package/dist/features/search-modal/index.d.mts +12 -2
- package/dist/features/search-modal/index.mjs +1 -2
- package/dist/features/tables/index.cjs +1 -2
- package/dist/features/tables/index.d.cts +746 -24
- package/dist/features/tables/index.d.mts +746 -24
- package/dist/features/tables/index.mjs +1 -2
- package/dist/features/tanstack-form/index.cjs +1 -2
- package/dist/features/tanstack-form/index.d.cts +2 -1786
- package/dist/features/tanstack-form/index.d.mts +2 -1786
- package/dist/features/tanstack-form/index.mjs +1 -2
- package/dist/field-CXVnw75a.mjs +2 -0
- package/dist/field-CXVnw75a.mjs.map +1 -0
- package/dist/field-CppNvoxV.cjs +2 -0
- package/dist/field-CppNvoxV.cjs.map +1 -0
- package/dist/{flex-CeizYtXs.mjs → flex-BLMTj7Ev.mjs} +2 -2
- package/dist/flex-BLMTj7Ev.mjs.map +1 -0
- package/dist/{flex-BsoSgWFN.cjs → flex-BbbogTsZ.cjs} +2 -2
- package/dist/flex-BbbogTsZ.cjs.map +1 -0
- package/dist/heading-AKz5ewy-.cjs +2 -0
- package/dist/heading-AKz5ewy-.cjs.map +1 -0
- package/dist/heading-DN67djxs.mjs +2 -0
- package/dist/heading-DN67djxs.mjs.map +1 -0
- package/dist/image-B1Dm5LWk.cjs +2 -0
- package/dist/image-B1Dm5LWk.cjs.map +1 -0
- package/dist/image-BlzrSaoE.mjs +2 -0
- package/dist/image-BlzrSaoE.mjs.map +1 -0
- package/dist/index-75nSAiSe.d.mts +2030 -0
- package/dist/index-aTMCQQms.d.cts +2030 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +90 -0
- package/dist/index.d.mts +90 -0
- package/dist/index.mjs +1 -0
- package/dist/{input-DMjPBcJO.mjs → input-Cd0G5y-9.mjs} +2 -2
- package/dist/input-Cd0G5y-9.mjs.map +1 -0
- package/dist/{input-BoMJaF_N.cjs → input-Cl5VkKQh.cjs} +2 -2
- package/dist/input-Cl5VkKQh.cjs.map +1 -0
- package/dist/input-D5dtkW6g.d.mts +44 -0
- package/dist/input-t2hpPP2K.d.cts +44 -0
- package/dist/{label-BzfsTrVt.cjs → label-DkMTQ3Ch.cjs} +2 -2
- package/dist/label-DkMTQ3Ch.cjs.map +1 -0
- package/dist/label-OmlGaZ5h.mjs +2 -0
- package/dist/label-OmlGaZ5h.mjs.map +1 -0
- package/dist/layouts/cms-layout/index.cjs +1 -2
- package/dist/layouts/cms-layout/index.d.cts +66 -13
- package/dist/layouts/cms-layout/index.d.mts +66 -13
- package/dist/layouts/cms-layout/index.mjs +1 -2
- package/dist/layouts/flex.cjs +1 -1
- package/dist/layouts/flex.d.cts +91 -7
- package/dist/layouts/flex.d.mts +93 -9
- package/dist/layouts/flex.mjs +1 -1
- package/dist/layouts/grid.cjs +1 -1
- package/dist/layouts/grid.cjs.map +1 -1
- package/dist/layouts/grid.d.cts +14 -0
- package/dist/layouts/grid.d.mts +14 -0
- package/dist/layouts/grid.mjs +1 -1
- package/dist/layouts/grid.mjs.map +1 -1
- package/dist/layouts/payment-layout/index.cjs +1 -2
- package/dist/layouts/payment-layout/index.d.cts +35 -0
- package/dist/layouts/payment-layout/index.d.mts +35 -0
- package/dist/layouts/payment-layout/index.mjs +1 -2
- package/dist/pages/FeatureDeveloping.cjs +1 -1
- package/dist/pages/FeatureDeveloping.cjs.map +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +21 -3
- package/dist/pages/FeatureDeveloping.d.mts +21 -3
- package/dist/pages/FeatureDeveloping.mjs +1 -1
- package/dist/pages/FeatureDeveloping.mjs.map +1 -1
- package/dist/pages/FeatureFixing.cjs +1 -1
- package/dist/pages/FeatureFixing.cjs.map +1 -1
- package/dist/pages/FeatureFixing.d.cts +21 -3
- package/dist/pages/FeatureFixing.d.mts +21 -3
- package/dist/pages/FeatureFixing.mjs +1 -1
- package/dist/pages/FeatureFixing.mjs.map +1 -1
- package/dist/pages/NotAuthorized.cjs +1 -1
- package/dist/pages/NotAuthorized.cjs.map +1 -1
- package/dist/pages/NotAuthorized.d.cts +21 -3
- package/dist/pages/NotAuthorized.d.mts +21 -3
- package/dist/pages/NotAuthorized.mjs +1 -1
- package/dist/pages/NotAuthorized.mjs.map +1 -1
- package/dist/pages/NotFound.cjs +1 -1
- package/dist/pages/NotFound.cjs.map +1 -1
- package/dist/pages/NotFound.d.cts +21 -3
- package/dist/pages/NotFound.d.mts +21 -3
- package/dist/pages/NotFound.mjs +1 -1
- package/dist/pages/NotFound.mjs.map +1 -1
- package/dist/{paragraph-DmiXlAnE.mjs → paragraph-Ch5TvEqL.mjs} +2 -2
- package/dist/paragraph-Ch5TvEqL.mjs.map +1 -0
- package/dist/{paragraph-Co2e-y5c.cjs → paragraph-DN85Huc4.cjs} +2 -2
- package/dist/paragraph-DN85Huc4.cjs.map +1 -0
- package/dist/payment-layout-Da29dHJe.cjs +2 -0
- package/dist/payment-layout-Da29dHJe.cjs.map +1 -0
- package/dist/payment-layout-wN5c7MCM.mjs +2 -0
- package/dist/payment-layout-wN5c7MCM.mjs.map +1 -0
- package/dist/{popover-DzDrgttC.cjs → popover-AEt-aSy3.cjs} +2 -2
- package/dist/popover-AEt-aSy3.cjs.map +1 -0
- package/dist/popover-OJXFbqJi.mjs +2 -0
- package/dist/popover-OJXFbqJi.mjs.map +1 -0
- package/dist/{radio-group-CBhRsUjN.cjs → radio-group-BWLdQw7M.cjs} +2 -2
- package/dist/radio-group-BWLdQw7M.cjs.map +1 -0
- package/dist/{radio-group-Cem8O6BK.mjs → radio-group-CAgfOr7-.mjs} +2 -2
- package/dist/radio-group-CAgfOr7-.mjs.map +1 -0
- package/dist/{resizable-B8tRShQI.cjs → resizable-D6UKwvFa.cjs} +2 -2
- package/dist/resizable-D6UKwvFa.cjs.map +1 -0
- package/dist/{resizable-RPObV6jc.mjs → resizable-DWh_mp5P.mjs} +2 -2
- package/dist/resizable-DWh_mp5P.mjs.map +1 -0
- package/dist/search-modal-BxjKY8I7.mjs +2 -0
- package/dist/search-modal-BxjKY8I7.mjs.map +1 -0
- package/dist/search-modal-C-jNqQI1.cjs +2 -0
- package/dist/search-modal-C-jNqQI1.cjs.map +1 -0
- package/dist/{select-2CgwiefV.cjs → select-Py_t2nX1.cjs} +2 -2
- package/dist/select-Py_t2nX1.cjs.map +1 -0
- package/dist/{select-CivtMKTM.mjs → select-Ze8Fq88G.mjs} +2 -2
- package/dist/select-Ze8Fq88G.mjs.map +1 -0
- package/dist/separator-BMsbHAVt.mjs +2 -0
- package/dist/separator-BMsbHAVt.mjs.map +1 -0
- package/dist/{separator-C3ip6sbh.cjs → separator-BwZb12bh.cjs} +2 -2
- package/dist/separator-BwZb12bh.cjs.map +1 -0
- package/dist/{sheet-5MJRtrfG.cjs → sheet-CaDXTx7n.cjs} +2 -2
- package/dist/sheet-CaDXTx7n.cjs.map +1 -0
- package/dist/{sheet-oadGRiie.mjs → sheet-DMIqn1iv.mjs} +2 -2
- package/dist/sheet-DMIqn1iv.mjs.map +1 -0
- package/dist/sidebar-C27_pwLR.cjs +2 -0
- package/dist/sidebar-C27_pwLR.cjs.map +1 -0
- package/dist/sidebar-meLttL0V.mjs +2 -0
- package/dist/sidebar-meLttL0V.mjs.map +1 -0
- package/dist/skeleton-BPxcW2yu.mjs +2 -0
- package/dist/skeleton-BPxcW2yu.mjs.map +1 -0
- package/dist/skeleton-BfMCjXYM.cjs +2 -0
- package/dist/skeleton-BfMCjXYM.cjs.map +1 -0
- package/dist/spinner-EgMJOaQi.mjs +2 -0
- package/dist/spinner-EgMJOaQi.mjs.map +1 -0
- package/dist/spinner-MKXqwF9G.cjs +2 -0
- package/dist/spinner-MKXqwF9G.cjs.map +1 -0
- package/dist/systems/google.cjs +1 -1
- package/dist/systems/google.cjs.map +1 -1
- package/dist/systems/google.d.cts +36 -0
- package/dist/systems/google.d.mts +36 -0
- package/dist/systems/google.mjs +1 -1
- package/dist/systems/google.mjs.map +1 -1
- package/dist/tables-Cc3Wik4i.cjs +2 -0
- package/dist/tables-Cc3Wik4i.cjs.map +1 -0
- package/dist/tables-DrJKQPsT.mjs +2 -0
- package/dist/tables-DrJKQPsT.mjs.map +1 -0
- package/dist/tanstack-form-BmV2BXDz.cjs +2 -0
- package/dist/tanstack-form-BmV2BXDz.cjs.map +1 -0
- package/dist/tanstack-form-CJ43hVb_.mjs +2 -0
- package/dist/tanstack-form-CJ43hVb_.mjs.map +1 -0
- package/dist/{textarea-Dlwbg6TY.cjs → textarea-BsgmN4jy.cjs} +2 -2
- package/dist/textarea-BsgmN4jy.cjs.map +1 -0
- package/dist/{textarea-RjL2DtNf.mjs → textarea-CdGSEkZB.mjs} +2 -2
- package/dist/textarea-CdGSEkZB.mjs.map +1 -0
- package/dist/tooltip-Bj0iOG4s.mjs +2 -0
- package/dist/tooltip-Bj0iOG4s.mjs.map +1 -0
- package/dist/{tooltip-DC6i1A25.cjs → tooltip-itUmYz9k.cjs} +2 -2
- package/dist/tooltip-itUmYz9k.cjs.map +1 -0
- package/dist/{types-Bd0JePtp.d.cts → types-B_32Ieia.d.mts} +1 -1
- package/dist/{types-BpHcqlOI.d.mts → types-CDYHkcOk.d.cts} +1 -1
- package/dist/{types-DBD4LOem.mjs → types-DNphnTW-.mjs} +1 -1
- package/dist/{types-DBD4LOem.mjs.map → types-DNphnTW-.mjs.map} +1 -1
- package/dist/typography/paragraph.cjs +1 -1
- package/dist/typography/paragraph.d.cts +35 -5
- package/dist/typography/paragraph.d.mts +36 -6
- package/dist/typography/paragraph.mjs +1 -1
- package/dist/typography/title.cjs +1 -1
- package/dist/typography/title.cjs.map +1 -1
- package/dist/typography/title.d.cts +31 -4
- package/dist/typography/title.d.mts +31 -4
- package/dist/typography/title.mjs +1 -1
- package/dist/typography/title.mjs.map +1 -1
- package/dist/ui/alert-dialog.cjs +1 -1
- package/dist/ui/alert-dialog.cjs.map +1 -1
- package/dist/ui/alert-dialog.d.cts +54 -12
- package/dist/ui/alert-dialog.d.mts +54 -12
- package/dist/ui/alert-dialog.mjs +1 -1
- package/dist/ui/alert-dialog.mjs.map +1 -1
- package/dist/ui/alert.cjs +1 -2
- package/dist/ui/alert.d.cts +2 -69
- package/dist/ui/alert.d.mts +2 -69
- package/dist/ui/alert.mjs +1 -2
- package/dist/ui/aspect-ratio.cjs +1 -1
- package/dist/ui/aspect-ratio.cjs.map +1 -1
- package/dist/ui/aspect-ratio.d.cts +15 -2
- package/dist/ui/aspect-ratio.d.mts +15 -2
- package/dist/ui/aspect-ratio.mjs +1 -1
- package/dist/ui/aspect-ratio.mjs.map +1 -1
- package/dist/ui/avatar.cjs +1 -1
- package/dist/ui/avatar.d.cts +20 -4
- package/dist/ui/avatar.d.mts +20 -4
- package/dist/ui/avatar.mjs +1 -1
- package/dist/ui/badge.cjs +1 -1
- package/dist/ui/badge.d.cts +2 -21
- package/dist/ui/badge.d.mts +2 -21
- package/dist/ui/badge.mjs +1 -1
- package/dist/ui/breadcrumb.cjs +1 -1
- package/dist/ui/breadcrumb.cjs.map +1 -1
- package/dist/ui/breadcrumb.d.cts +38 -25
- package/dist/ui/breadcrumb.d.mts +38 -25
- package/dist/ui/breadcrumb.mjs +1 -1
- package/dist/ui/breadcrumb.mjs.map +1 -1
- package/dist/ui/button-group.cjs +1 -1
- package/dist/ui/button-group.cjs.map +1 -1
- package/dist/ui/button-group.d.cts +27 -6
- package/dist/ui/button-group.d.mts +27 -6
- package/dist/ui/button-group.mjs +1 -1
- package/dist/ui/button-group.mjs.map +1 -1
- package/dist/ui/button.cjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/button.mjs +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.cjs.map +1 -1
- package/dist/ui/buttons/add-new.d.cts +9 -0
- package/dist/ui/buttons/add-new.d.mts +9 -0
- package/dist/ui/buttons/add-new.mjs +1 -1
- package/dist/ui/buttons/add-new.mjs.map +1 -1
- package/dist/ui/buttons/edit.cjs +1 -1
- package/dist/ui/buttons/edit.cjs.map +1 -1
- package/dist/ui/buttons/edit.d.cts +9 -0
- package/dist/ui/buttons/edit.d.mts +9 -0
- package/dist/ui/buttons/edit.mjs +1 -1
- package/dist/ui/buttons/edit.mjs.map +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.cjs.map +1 -1
- package/dist/ui/buttons/refresh.d.cts +9 -0
- package/dist/ui/buttons/refresh.d.mts +9 -0
- package/dist/ui/buttons/refresh.mjs +1 -1
- package/dist/ui/buttons/refresh.mjs.map +1 -1
- package/dist/ui/buttons/trash.cjs +1 -1
- package/dist/ui/buttons/trash.cjs.map +1 -1
- package/dist/ui/buttons/trash.d.cts +9 -0
- package/dist/ui/buttons/trash.d.mts +9 -0
- package/dist/ui/buttons/trash.mjs +1 -1
- package/dist/ui/buttons/trash.mjs.map +1 -1
- package/dist/ui/buttons/upload-image.cjs +1 -1
- package/dist/ui/buttons/upload-image.cjs.map +1 -1
- package/dist/ui/buttons/upload-image.d.cts +13 -0
- package/dist/ui/buttons/upload-image.d.mts +13 -0
- package/dist/ui/buttons/upload-image.mjs +1 -1
- package/dist/ui/buttons/upload-image.mjs.map +1 -1
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +22 -4
- package/dist/ui/calendar.d.mts +22 -4
- package/dist/ui/calendar.mjs +1 -1
- package/dist/ui/card.cjs +1 -1
- package/dist/ui/card.cjs.map +1 -1
- package/dist/ui/card.d.cts +37 -8
- package/dist/ui/card.d.mts +37 -8
- package/dist/ui/card.mjs +1 -1
- package/dist/ui/card.mjs.map +1 -1
- package/dist/ui/carousel.cjs +1 -1
- package/dist/ui/carousel.cjs.map +1 -1
- package/dist/ui/carousel.d.cts +31 -7
- package/dist/ui/carousel.d.mts +31 -7
- package/dist/ui/carousel.mjs +1 -1
- package/dist/ui/carousel.mjs.map +1 -1
- package/dist/ui/checkbox.cjs +1 -1
- package/dist/ui/checkbox.d.cts +17 -2
- package/dist/ui/checkbox.d.mts +17 -2
- package/dist/ui/checkbox.mjs +1 -1
- package/dist/ui/collapsible.cjs.map +1 -1
- package/dist/ui/collapsible.d.cts +22 -4
- package/dist/ui/collapsible.d.mts +22 -4
- package/dist/ui/collapsible.mjs.map +1 -1
- package/dist/ui/command.cjs +1 -1
- package/dist/ui/command.d.cts +48 -11
- package/dist/ui/command.d.mts +48 -11
- package/dist/ui/command.mjs +1 -1
- package/dist/ui/context-menu.cjs +1 -1
- package/dist/ui/context-menu.cjs.map +1 -1
- package/dist/ui/context-menu.d.cts +65 -16
- package/dist/ui/context-menu.d.mts +65 -16
- package/dist/ui/context-menu.mjs +1 -1
- package/dist/ui/context-menu.mjs.map +1 -1
- package/dist/ui/dialog.cjs +1 -1
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/dialog.mjs +1 -1
- package/dist/ui/drawer.cjs +1 -1
- package/dist/ui/drawer.cjs.map +1 -1
- package/dist/ui/drawer.d.cts +39 -11
- package/dist/ui/drawer.d.mts +39 -11
- package/dist/ui/drawer.mjs +1 -1
- package/dist/ui/drawer.mjs.map +1 -1
- package/dist/ui/dropdown-menu.cjs +1 -1
- package/dist/ui/dropdown-menu.d.cts +65 -16
- package/dist/ui/dropdown-menu.d.mts +65 -16
- package/dist/ui/dropdown-menu.mjs +1 -1
- package/dist/ui/empty.cjs +1 -1
- package/dist/ui/empty.cjs.map +1 -1
- package/dist/ui/empty.d.cts +41 -9
- package/dist/ui/empty.d.mts +39 -7
- package/dist/ui/empty.mjs +1 -1
- package/dist/ui/empty.mjs.map +1 -1
- package/dist/ui/field.cjs +1 -2
- package/dist/ui/field.d.cts +13 -13
- package/dist/ui/field.d.mts +22 -22
- package/dist/ui/field.mjs +1 -2
- package/dist/ui/file-uploader.cjs +2 -2
- package/dist/ui/file-uploader.cjs.map +1 -1
- package/dist/ui/file-uploader.d.cts +27 -2
- package/dist/ui/file-uploader.d.mts +27 -2
- package/dist/ui/file-uploader.mjs +2 -2
- package/dist/ui/file-uploader.mjs.map +1 -1
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.cjs.map +1 -1
- package/dist/ui/form.d.cts +55 -11
- package/dist/ui/form.d.mts +55 -11
- package/dist/ui/form.mjs +1 -1
- package/dist/ui/form.mjs.map +1 -1
- package/dist/ui/hover-card.cjs +1 -1
- package/dist/ui/hover-card.cjs.map +1 -1
- package/dist/ui/hover-card.d.cts +22 -4
- package/dist/ui/hover-card.d.mts +22 -4
- package/dist/ui/hover-card.mjs +1 -1
- package/dist/ui/hover-card.mjs.map +1 -1
- package/dist/ui/image.cjs +1 -1
- package/dist/ui/image.d.cts +20 -0
- package/dist/ui/image.d.mts +20 -0
- package/dist/ui/image.mjs +1 -1
- package/dist/ui/input-otp.cjs +1 -1
- package/dist/ui/input-otp.cjs.map +1 -1
- package/dist/ui/input-otp.d.cts +36 -5
- package/dist/ui/input-otp.d.mts +36 -5
- package/dist/ui/input-otp.mjs +1 -1
- package/dist/ui/input-otp.mjs.map +1 -1
- package/dist/ui/input.cjs +1 -1
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/input.mjs +1 -1
- package/dist/ui/inputs/search-input.cjs +1 -1
- package/dist/ui/inputs/search-input.cjs.map +1 -1
- package/dist/ui/inputs/search-input.d.cts +20 -3
- package/dist/ui/inputs/search-input.d.mts +20 -3
- package/dist/ui/inputs/search-input.mjs +1 -1
- package/dist/ui/inputs/search-input.mjs.map +1 -1
- package/dist/ui/item.cjs +1 -1
- package/dist/ui/item.cjs.map +1 -1
- package/dist/ui/item.d.cts +55 -15
- package/dist/ui/item.d.mts +55 -15
- package/dist/ui/item.mjs +1 -1
- package/dist/ui/item.mjs.map +1 -1
- package/dist/ui/label.cjs +1 -1
- package/dist/ui/label.d.cts +15 -2
- package/dist/ui/label.d.mts +15 -2
- package/dist/ui/label.mjs +1 -1
- package/dist/ui/menubar.cjs +1 -1
- package/dist/ui/menubar.cjs.map +1 -1
- package/dist/ui/menubar.d.cts +68 -17
- package/dist/ui/menubar.d.mts +68 -17
- package/dist/ui/menubar.mjs +1 -1
- package/dist/ui/menubar.mjs.map +1 -1
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.cjs.map +1 -1
- package/dist/ui/multi-select.d.cts +39 -2
- package/dist/ui/multi-select.d.mts +40 -3
- package/dist/ui/multi-select.mjs +1 -1
- package/dist/ui/multi-select.mjs.map +1 -1
- package/dist/ui/navigation-menu.cjs +1 -1
- package/dist/ui/navigation-menu.cjs.map +1 -1
- package/dist/ui/navigation-menu.d.cts +42 -11
- package/dist/ui/navigation-menu.d.mts +42 -11
- package/dist/ui/navigation-menu.mjs +1 -1
- package/dist/ui/navigation-menu.mjs.map +1 -1
- package/dist/ui/pagination.cjs +1 -1
- package/dist/ui/pagination.cjs.map +1 -1
- package/dist/ui/pagination.d.cts +37 -9
- package/dist/ui/pagination.d.mts +37 -9
- package/dist/ui/pagination.mjs +1 -1
- package/dist/ui/pagination.mjs.map +1 -1
- package/dist/ui/popover.cjs +1 -1
- package/dist/ui/popover.d.cts +32 -6
- package/dist/ui/popover.d.mts +32 -6
- package/dist/ui/popover.mjs +1 -1
- package/dist/ui/progress.cjs +1 -1
- package/dist/ui/progress.cjs.map +1 -1
- package/dist/ui/progress.d.cts +13 -2
- package/dist/ui/progress.d.mts +13 -2
- package/dist/ui/progress.mjs +1 -1
- package/dist/ui/progress.mjs.map +1 -1
- package/dist/ui/radio-group.cjs +1 -1
- package/dist/ui/radio-group.d.cts +25 -3
- package/dist/ui/radio-group.d.mts +25 -3
- package/dist/ui/radio-group.mjs +1 -1
- package/dist/ui/resizable.cjs +1 -1
- package/dist/ui/resizable.d.cts +29 -9
- package/dist/ui/resizable.d.mts +29 -9
- package/dist/ui/resizable.mjs +1 -1
- package/dist/ui/scroll-area.cjs +1 -1
- package/dist/ui/scroll-area.cjs.map +1 -1
- package/dist/ui/scroll-area.d.cts +24 -6
- package/dist/ui/scroll-area.d.mts +24 -6
- package/dist/ui/scroll-area.mjs +1 -1
- package/dist/ui/scroll-area.mjs.map +1 -1
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +43 -9
- package/dist/ui/select.d.mts +43 -9
- package/dist/ui/select.mjs +1 -1
- package/dist/ui/separator.cjs +1 -1
- package/dist/ui/separator.d.cts +23 -2
- package/dist/ui/separator.d.mts +23 -2
- package/dist/ui/separator.mjs +1 -1
- package/dist/ui/sheet.cjs +1 -1
- package/dist/ui/sheet.d.cts +38 -9
- package/dist/ui/sheet.d.mts +38 -9
- package/dist/ui/sheet.mjs +1 -1
- package/dist/ui/sidebar.cjs +1 -1
- package/dist/ui/sidebar.cjs.map +1 -1
- package/dist/ui/sidebar.d.cts +125 -28
- package/dist/ui/sidebar.d.mts +125 -28
- package/dist/ui/sidebar.mjs +1 -1
- package/dist/ui/sidebar.mjs.map +1 -1
- package/dist/ui/skeleton.cjs +1 -1
- package/dist/ui/skeleton.d.cts +19 -2
- package/dist/ui/skeleton.d.mts +19 -2
- package/dist/ui/skeleton.mjs +1 -1
- package/dist/ui/slider.cjs +1 -1
- package/dist/ui/slider.cjs.map +1 -1
- package/dist/ui/slider.d.cts +13 -2
- package/dist/ui/slider.d.mts +13 -2
- package/dist/ui/slider.mjs +1 -1
- package/dist/ui/slider.mjs.map +1 -1
- package/dist/ui/sonner.cjs +1 -1
- package/dist/ui/sonner.cjs.map +1 -1
- package/dist/ui/sonner.d.cts +18 -2
- package/dist/ui/sonner.d.mts +18 -2
- package/dist/ui/sonner.mjs +1 -1
- package/dist/ui/sonner.mjs.map +1 -1
- package/dist/ui/spinner.cjs +1 -1
- package/dist/ui/spinner.d.cts +17 -2
- package/dist/ui/spinner.d.mts +17 -2
- package/dist/ui/spinner.mjs +1 -1
- package/dist/ui/switch.cjs +1 -1
- package/dist/ui/switch.cjs.map +1 -1
- package/dist/ui/switch.d.cts +17 -2
- package/dist/ui/switch.d.mts +17 -2
- package/dist/ui/switch.mjs +1 -1
- package/dist/ui/switch.mjs.map +1 -1
- package/dist/ui/table.cjs +1 -1
- package/dist/ui/table.cjs.map +1 -1
- package/dist/ui/table.d.cts +53 -18
- package/dist/ui/table.d.mts +53 -18
- package/dist/ui/table.mjs +1 -1
- package/dist/ui/table.mjs.map +1 -1
- package/dist/ui/tabs.cjs +1 -1
- package/dist/ui/tabs.cjs.map +1 -1
- package/dist/ui/tabs.d.cts +26 -5
- package/dist/ui/tabs.d.mts +26 -5
- package/dist/ui/tabs.mjs +1 -1
- package/dist/ui/tabs.mjs.map +1 -1
- package/dist/ui/textarea.cjs +1 -1
- package/dist/ui/textarea.d.cts +18 -2
- package/dist/ui/textarea.d.mts +18 -2
- package/dist/ui/textarea.mjs +1 -1
- package/dist/ui/toggle-group.cjs +1 -1
- package/dist/ui/toggle-group.cjs.map +1 -1
- package/dist/ui/toggle-group.d.cts +19 -3
- package/dist/ui/toggle-group.d.mts +19 -3
- package/dist/ui/toggle-group.mjs +1 -1
- package/dist/ui/toggle-group.mjs.map +1 -1
- package/dist/ui/toggle.cjs +1 -1
- package/dist/ui/toggle.cjs.map +1 -1
- package/dist/ui/toggle.d.cts +17 -4
- package/dist/ui/toggle.d.mts +17 -4
- package/dist/ui/toggle.mjs +1 -1
- package/dist/ui/toggle.mjs.map +1 -1
- package/dist/ui/tooltip.cjs +1 -1
- package/dist/ui/tooltip.d.cts +37 -5
- package/dist/ui/tooltip.d.mts +37 -5
- package/dist/ui/tooltip.mjs +1 -1
- package/dist/user-BEyYLDNK.cjs +2 -0
- package/dist/user-BEyYLDNK.cjs.map +1 -0
- package/dist/user-DONsffqr.mjs +2 -0
- package/dist/user-DONsffqr.mjs.map +1 -0
- package/package.json +11 -3
- package/styles/theme.css +27 -6
- package/dist/avatar-DReNH6rV.mjs +0 -2
- package/dist/avatar-DReNH6rV.mjs.map +0 -1
- package/dist/avatar-aVxo69zP.cjs +0 -2
- package/dist/avatar-aVxo69zP.cjs.map +0 -1
- package/dist/badge-B4Fa7-J3.mjs +0 -2
- package/dist/badge-B4Fa7-J3.mjs.map +0 -1
- package/dist/badge-cvLJyaCA.cjs +0 -2
- package/dist/badge-cvLJyaCA.cjs.map +0 -1
- package/dist/button-B5a1UlC_.d.mts +0 -59
- package/dist/button-Cd7YtPlT.cjs.map +0 -1
- package/dist/button-D8BUqpI2.mjs +0 -2
- package/dist/button-D8BUqpI2.mjs.map +0 -1
- package/dist/button-DYZCqN6A.d.cts +0 -59
- package/dist/button.variants-B_dFX3i2.mjs +0 -2
- package/dist/button.variants-B_dFX3i2.mjs.map +0 -1
- package/dist/button.variants-aqkTmzFu.cjs +0 -2
- package/dist/button.variants-aqkTmzFu.cjs.map +0 -1
- package/dist/calendar-B-PDpHK5.mjs +0 -2
- package/dist/calendar-B-PDpHK5.mjs.map +0 -1
- package/dist/calendar-Cq3_5u0k.cjs +0 -2
- package/dist/calendar-Cq3_5u0k.cjs.map +0 -1
- package/dist/checkbox-Bg2FiuQw.mjs.map +0 -1
- package/dist/checkbox-C0fSWwmD.cjs.map +0 -1
- package/dist/close-D_Ge7gnP.cjs +0 -2
- package/dist/close-DfuHB7kq.mjs +0 -2
- package/dist/command-Bma4ivZz.mjs.map +0 -1
- package/dist/command-IfPmQiyJ.cjs.map +0 -1
- package/dist/data-display/user.cjs.map +0 -1
- package/dist/data-display/user.mjs.map +0 -1
- package/dist/date-WraHGsbb.cjs +0 -2
- package/dist/date-WraHGsbb.cjs.map +0 -1
- package/dist/date-uVTm7J09.mjs +0 -2
- package/dist/date-uVTm7J09.mjs.map +0 -1
- package/dist/dialog-B50k7HnL.mjs +0 -2
- package/dist/dialog-B50k7HnL.mjs.map +0 -1
- package/dist/dialog-BoNhIQYJ.cjs +0 -2
- package/dist/dialog-BoNhIQYJ.cjs.map +0 -1
- package/dist/dialog-CuZxUWfc.d.cts +0 -47
- package/dist/dialog-D4LnpcNL.d.mts +0 -47
- package/dist/dialogs/detail-dialog/components/sidebar.cjs.map +0 -1
- package/dist/dialogs/detail-dialog/components/sidebar.mjs.map +0 -1
- package/dist/dist-DP1ehOL8.mjs +0 -2
- package/dist/dist-Q1UyT_bc.cjs +0 -2
- package/dist/dropdown-menu-B8GUTfTp.mjs +0 -2
- package/dist/dropdown-menu-B8GUTfTp.mjs.map +0 -1
- package/dist/dropdown-menu-BuyuU6uF.cjs +0 -2
- package/dist/dropdown-menu-BuyuU6uF.cjs.map +0 -1
- package/dist/features/search-modal/index.cjs.map +0 -1
- package/dist/features/search-modal/index.mjs.map +0 -1
- package/dist/features/tables/index.cjs.map +0 -1
- package/dist/features/tables/index.mjs.map +0 -1
- package/dist/features/tanstack-form/index.cjs.map +0 -1
- package/dist/features/tanstack-form/index.mjs.map +0 -1
- package/dist/flex-BsoSgWFN.cjs.map +0 -1
- package/dist/flex-CeizYtXs.mjs.map +0 -1
- package/dist/heading-BEbpIiLg.cjs +0 -2
- package/dist/heading-BEbpIiLg.cjs.map +0 -1
- package/dist/heading-CrF1CFWS.mjs +0 -2
- package/dist/heading-CrF1CFWS.mjs.map +0 -1
- package/dist/image-BBZUipoU.cjs +0 -2
- package/dist/image-BBZUipoU.cjs.map +0 -1
- package/dist/image-CZji4Q26.mjs +0 -2
- package/dist/image-CZji4Q26.mjs.map +0 -1
- package/dist/input-BoMJaF_N.cjs.map +0 -1
- package/dist/input-DMjPBcJO.mjs.map +0 -1
- package/dist/input-DszdZdbJ.d.cts +0 -25
- package/dist/input-Dv7UKl6Z.d.mts +0 -25
- package/dist/label-BzfsTrVt.cjs.map +0 -1
- package/dist/label-Dqr8nxWi.mjs +0 -2
- package/dist/label-Dqr8nxWi.mjs.map +0 -1
- package/dist/layouts/cms-layout/index.cjs.map +0 -1
- package/dist/layouts/cms-layout/index.mjs.map +0 -1
- package/dist/layouts/payment-layout/index.cjs.map +0 -1
- package/dist/layouts/payment-layout/index.mjs.map +0 -1
- package/dist/paragraph-Co2e-y5c.cjs.map +0 -1
- package/dist/paragraph-DmiXlAnE.mjs.map +0 -1
- package/dist/popover-BckwBuuD.mjs +0 -2
- package/dist/popover-BckwBuuD.mjs.map +0 -1
- package/dist/popover-DzDrgttC.cjs.map +0 -1
- package/dist/radio-group-CBhRsUjN.cjs.map +0 -1
- package/dist/radio-group-Cem8O6BK.mjs.map +0 -1
- package/dist/resizable-B8tRShQI.cjs.map +0 -1
- package/dist/resizable-RPObV6jc.mjs.map +0 -1
- package/dist/select-2CgwiefV.cjs.map +0 -1
- package/dist/select-CivtMKTM.mjs.map +0 -1
- package/dist/separator-Bf0gymN4.mjs +0 -2
- package/dist/separator-Bf0gymN4.mjs.map +0 -1
- package/dist/separator-C3ip6sbh.cjs.map +0 -1
- package/dist/sheet-5MJRtrfG.cjs.map +0 -1
- package/dist/sheet-oadGRiie.mjs.map +0 -1
- package/dist/skeleton-Ba6koCVf.mjs +0 -2
- package/dist/skeleton-Ba6koCVf.mjs.map +0 -1
- package/dist/skeleton-CHympz8k.cjs +0 -2
- package/dist/skeleton-CHympz8k.cjs.map +0 -1
- package/dist/spinner-Chm_2fLr.cjs +0 -2
- package/dist/spinner-Chm_2fLr.cjs.map +0 -1
- package/dist/spinner-D1v3Bard.mjs +0 -2
- package/dist/spinner-D1v3Bard.mjs.map +0 -1
- package/dist/textarea-Dlwbg6TY.cjs.map +0 -1
- package/dist/textarea-RjL2DtNf.mjs.map +0 -1
- package/dist/tooltip-B3dTcgcc.mjs +0 -2
- package/dist/tooltip-B3dTcgcc.mjs.map +0 -1
- package/dist/tooltip-DC6i1A25.cjs.map +0 -1
- package/dist/ui/alert.cjs.map +0 -1
- package/dist/ui/alert.mjs.map +0 -1
- package/dist/ui/field.cjs.map +0 -1
- package/dist/ui/field.mjs.map +0 -1
|
@@ -0,0 +1,2030 @@
|
|
|
1
|
+
import * as react_jsx_runtime333 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types23 from "class-variance-authority/types";
|
|
3
|
+
import * as react274 from "react";
|
|
4
|
+
import * as class_variance_authority0 from "class-variance-authority";
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
import { Label } from "radix-ui";
|
|
7
|
+
import * as _tanstack_form_core0 from "@tanstack/form-core";
|
|
8
|
+
import * as _tanstack_react_form0 from "@tanstack/react-form";
|
|
9
|
+
|
|
10
|
+
//#region packages/components/features/tanstack-form/components/ui/label.d.ts
|
|
11
|
+
/**
|
|
12
|
+
* Form field label that automatically renders a "Required" badge when the field is marked aria-required.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* import { Label } from '@customafk/lunas-ui/features/tanstack-form';
|
|
16
|
+
*
|
|
17
|
+
* <Label htmlFor="email">Email address</Label>
|
|
18
|
+
*/
|
|
19
|
+
declare function Label$1({
|
|
20
|
+
className,
|
|
21
|
+
children,
|
|
22
|
+
...props
|
|
23
|
+
}: React.ComponentProps<typeof Label.Root>): react_jsx_runtime333.JSX.Element;
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region packages/components/features/tanstack-form/components/ui/field.d.ts
|
|
26
|
+
declare const fieldVariants: (props?: ({
|
|
27
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
28
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string;
|
|
29
|
+
/**
|
|
30
|
+
* Outermost `<fieldset>` wrapper that stacks multiple `Field` rows with consistent vertical spacing.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* import { FieldSet } from '@customafk/lunas-ui/features/tanstack-form';
|
|
34
|
+
*
|
|
35
|
+
* <FieldSet>
|
|
36
|
+
* <Field><FieldLabel>Name</FieldLabel><FieldContent><input /></FieldContent></Field>
|
|
37
|
+
* </FieldSet>
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Container `<div>` that groups a set of `Field` rows with container-query support for responsive layouts.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* import { FieldGroup } from '@customafk/lunas-ui/features/tanstack-form';
|
|
45
|
+
*
|
|
46
|
+
* <FieldGroup>
|
|
47
|
+
* <Field>…</Field>
|
|
48
|
+
* <Field>…</Field>
|
|
49
|
+
* </FieldGroup>
|
|
50
|
+
*/
|
|
51
|
+
declare const FieldGroup: react274.MemoExoticComponent<({
|
|
52
|
+
className,
|
|
53
|
+
...props
|
|
54
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
55
|
+
/**
|
|
56
|
+
* Single form field row that arranges label, input, and meta elements with configurable orientation.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* import { Field } from '@customafk/lunas-ui/features/tanstack-form';
|
|
60
|
+
*
|
|
61
|
+
* <Field orientation="horizontal">
|
|
62
|
+
* <FieldLabel htmlFor="username">Username</FieldLabel>
|
|
63
|
+
* <FieldContent><input id="username" /></FieldContent>
|
|
64
|
+
* </Field>
|
|
65
|
+
*/
|
|
66
|
+
declare const Field: react274.MemoExoticComponent<({
|
|
67
|
+
className,
|
|
68
|
+
orientation,
|
|
69
|
+
...props
|
|
70
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react_jsx_runtime333.JSX.Element>;
|
|
71
|
+
/**
|
|
72
|
+
* Flex column wrapper that houses the primary input control together with description and error slots.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* import { FieldContent } from '@customafk/lunas-ui/features/tanstack-form';
|
|
76
|
+
*
|
|
77
|
+
* <FieldContent>
|
|
78
|
+
* <input type="text" />
|
|
79
|
+
* <FieldDescription>Enter your full name.</FieldDescription>
|
|
80
|
+
* </FieldContent>
|
|
81
|
+
*/
|
|
82
|
+
declare const FieldContent: react274.MemoExoticComponent<({
|
|
83
|
+
className,
|
|
84
|
+
...props
|
|
85
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
86
|
+
/**
|
|
87
|
+
* Positioned wrapper for the main input element that enables absolutely-placed adornments (icons, spinners).
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* import { FieldContentMain } from '@customafk/lunas-ui/features/tanstack-form';
|
|
91
|
+
*
|
|
92
|
+
* <FieldContentMain>
|
|
93
|
+
* <input type="text" className="pr-8" />
|
|
94
|
+
* <SearchIcon className="absolute right-2 top-2" />
|
|
95
|
+
* </FieldContentMain>
|
|
96
|
+
*/
|
|
97
|
+
declare const FieldContentMain: react274.MemoExoticComponent<({
|
|
98
|
+
className,
|
|
99
|
+
...props
|
|
100
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
101
|
+
/**
|
|
102
|
+
* Styled `<label>` element for a `Field`, extending the base `Label` with field-group-aware spacing and border states.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* import { FieldLabel } from '@customafk/lunas-ui/features/tanstack-form';
|
|
106
|
+
*
|
|
107
|
+
* <FieldLabel htmlFor="email" aria-required>Email</FieldLabel>
|
|
108
|
+
*/
|
|
109
|
+
declare const FieldLabel: react274.MemoExoticComponent<({
|
|
110
|
+
className,
|
|
111
|
+
...props
|
|
112
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime333.JSX.Element>;
|
|
113
|
+
/**
|
|
114
|
+
* Inline title element (non-`<label>`) for fields whose label cannot be a native `<label>`, such as custom checkbox groups.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* import { FieldTitle } from '@customafk/lunas-ui/features/tanstack-form';
|
|
118
|
+
*
|
|
119
|
+
* <FieldTitle>Notification preferences</FieldTitle>
|
|
120
|
+
*/
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Visual divider row that optionally displays a centered text label, used to separate logical sections within a `FieldGroup`.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* import { FieldSeparator } from '@customafk/lunas-ui/features/tanstack-form';
|
|
127
|
+
*
|
|
128
|
+
* <FieldSeparator>or</FieldSeparator>
|
|
129
|
+
*/
|
|
130
|
+
declare const FieldSeparator: react274.MemoExoticComponent<({
|
|
131
|
+
children,
|
|
132
|
+
className,
|
|
133
|
+
...props
|
|
134
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime333.JSX.Element>;
|
|
135
|
+
/**
|
|
136
|
+
* Props for {@link FieldError}.
|
|
137
|
+
*/
|
|
138
|
+
type FieldErrorProps = React.ComponentProps<'div'> & {
|
|
139
|
+
/**
|
|
140
|
+
* Array of validation error objects, typically sourced from a form library's field-level error state.
|
|
141
|
+
* Each entry may carry an optional `code` (e.g. `'invalid_type'`) and a human-readable `message`.
|
|
142
|
+
* Rendered automatically when `children` is omitted.
|
|
143
|
+
*/
|
|
144
|
+
errors?: Array<{
|
|
145
|
+
code?: string;
|
|
146
|
+
message?: string;
|
|
147
|
+
} | undefined>;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* ARIA-live error region that renders field validation messages from either an explicit `errors` array or arbitrary `children`.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* import { FieldError } from '@customafk/lunas-ui/features/tanstack-form';
|
|
154
|
+
*
|
|
155
|
+
* <FieldError errors={field.state.meta.errors} />
|
|
156
|
+
*/
|
|
157
|
+
declare const FieldError: react274.MemoExoticComponent<({
|
|
158
|
+
className,
|
|
159
|
+
children,
|
|
160
|
+
errors,
|
|
161
|
+
...props
|
|
162
|
+
}: FieldErrorProps) => react_jsx_runtime333.JSX.Element | null>;
|
|
163
|
+
//#endregion
|
|
164
|
+
//#region packages/components/features/tanstack-form/tanstack-form.d.ts
|
|
165
|
+
declare const useTanStackFieldContext: <TData>() => _tanstack_form_core0.FieldApi<any, string, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>, useTanStackFormContext: () => _tanstack_react_form0.ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
|
|
166
|
+
/**
|
|
167
|
+
* Factory result from {@link createFormHook} pre-wired with all Lunas UI field and form components.
|
|
168
|
+
*
|
|
169
|
+
* ### `useTanStackForm`
|
|
170
|
+
* Pre-configured TanStack Form hook that returns a type-safe form instance bound to all Lunas UI
|
|
171
|
+
* field and form components.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* import { useTanStackForm } from '@customafk/lunas-ui/features/tanstack-form';
|
|
175
|
+
*
|
|
176
|
+
* const form = useTanStackForm({
|
|
177
|
+
* defaultValues: { name: '', email: '' },
|
|
178
|
+
* onSubmit: async ({ value }) => console.log(value),
|
|
179
|
+
* });
|
|
180
|
+
*
|
|
181
|
+
* return (
|
|
182
|
+
* <form.Provider>
|
|
183
|
+
* <form.AppForm>
|
|
184
|
+
* <form.AppField name="name" children={(field) => <field.TextField label="Name" />} />
|
|
185
|
+
* <form.Subscribe selector={(s) => s.canSubmit}>
|
|
186
|
+
* {(canSubmit) => <form.TanStackActionSubmit disabled={!canSubmit} />}
|
|
187
|
+
* </form.Subscribe>
|
|
188
|
+
* </form.AppForm>
|
|
189
|
+
* </form.Provider>
|
|
190
|
+
* );
|
|
191
|
+
*
|
|
192
|
+
* ### `withTanStackForm`
|
|
193
|
+
* Higher-order component that wraps a sub-form component with access to the parent
|
|
194
|
+
* `useTanStackForm` form context, enabling isolated field groups that still participate in the
|
|
195
|
+
* top-level form state.
|
|
196
|
+
*
|
|
197
|
+
* @example
|
|
198
|
+
* import { withTanStackForm } from '@customafk/lunas-ui/features/tanstack-form';
|
|
199
|
+
*
|
|
200
|
+
* const AddressFields = withTanStackForm(
|
|
201
|
+
* { street: '', city: '' } as const,
|
|
202
|
+
* ({ form }) => (
|
|
203
|
+
* <>
|
|
204
|
+
* <form.AppField name="street" children={(f) => <f.TextField label="Street" />} />
|
|
205
|
+
* <form.AppField name="city" children={(f) => <f.TextField label="City" />} />
|
|
206
|
+
* </>
|
|
207
|
+
* ),
|
|
208
|
+
* );
|
|
209
|
+
*
|
|
210
|
+
* ### `withTanStackFieldGroup`
|
|
211
|
+
* Higher-order component that creates a reusable field-group component sharing the enclosing
|
|
212
|
+
* `useTanStackForm` context without requiring additional form providers.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* import { withTanStackFieldGroup } from '@customafk/lunas-ui/features/tanstack-form';
|
|
216
|
+
*
|
|
217
|
+
* const ContactGroup = withTanStackFieldGroup(({ form }) => (
|
|
218
|
+
* <form.AppField name="phone" children={(f) => <f.TextField label="Phone" />} />
|
|
219
|
+
* ));
|
|
220
|
+
*/
|
|
221
|
+
declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_form_core0.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
222
|
+
readonly TextField: react274.FC<Pick<{
|
|
223
|
+
label: string;
|
|
224
|
+
name: string;
|
|
225
|
+
camelCaseName: string;
|
|
226
|
+
id: string;
|
|
227
|
+
type: "text-field";
|
|
228
|
+
dataType?: "text" | "url" | "email" | "password" | undefined;
|
|
229
|
+
rules?: {
|
|
230
|
+
required?: boolean | undefined;
|
|
231
|
+
maxLength?: number | undefined;
|
|
232
|
+
minLength?: number | undefined;
|
|
233
|
+
exactLength?: number | undefined;
|
|
234
|
+
} | undefined;
|
|
235
|
+
visibilityConditions?: {
|
|
236
|
+
when: string;
|
|
237
|
+
is: any;
|
|
238
|
+
show?: boolean | undefined;
|
|
239
|
+
} | undefined;
|
|
240
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
241
|
+
tooltip?: string | undefined;
|
|
242
|
+
helperText?: string | undefined;
|
|
243
|
+
showErrorMessage?: boolean | undefined;
|
|
244
|
+
counter?: boolean | undefined;
|
|
245
|
+
showClearButton?: boolean | undefined;
|
|
246
|
+
description?: string | undefined;
|
|
247
|
+
placeholder?: string | undefined;
|
|
248
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
249
|
+
required?: boolean;
|
|
250
|
+
maxLength?: number;
|
|
251
|
+
}>;
|
|
252
|
+
readonly TextareaField: react274.FC<Pick<{
|
|
253
|
+
label: string;
|
|
254
|
+
name: string;
|
|
255
|
+
camelCaseName: string;
|
|
256
|
+
id: string;
|
|
257
|
+
type: "textarea-field";
|
|
258
|
+
rules?: {
|
|
259
|
+
required?: boolean | undefined;
|
|
260
|
+
maxLength?: number | undefined;
|
|
261
|
+
minLength?: number | undefined;
|
|
262
|
+
exactLength?: number | undefined;
|
|
263
|
+
} | undefined;
|
|
264
|
+
visibilityConditions?: {
|
|
265
|
+
when: string;
|
|
266
|
+
is: any;
|
|
267
|
+
show?: boolean | undefined;
|
|
268
|
+
} | undefined;
|
|
269
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
270
|
+
tooltip?: string | undefined;
|
|
271
|
+
helperText?: string | undefined;
|
|
272
|
+
showErrorMessage?: boolean | undefined;
|
|
273
|
+
counter?: boolean | undefined;
|
|
274
|
+
description?: string | undefined;
|
|
275
|
+
placeholder?: string | undefined;
|
|
276
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
277
|
+
required?: boolean;
|
|
278
|
+
maxLength?: number;
|
|
279
|
+
}>;
|
|
280
|
+
readonly NumberField: react274.FC<Pick<{
|
|
281
|
+
label: string;
|
|
282
|
+
name: string;
|
|
283
|
+
camelCaseName: string;
|
|
284
|
+
id: string;
|
|
285
|
+
type: "number-field";
|
|
286
|
+
rules?: {
|
|
287
|
+
required?: boolean | undefined;
|
|
288
|
+
min?: {
|
|
289
|
+
value: number;
|
|
290
|
+
inclusive?: boolean | undefined;
|
|
291
|
+
} | undefined;
|
|
292
|
+
max?: {
|
|
293
|
+
value: number;
|
|
294
|
+
inclusive?: boolean | undefined;
|
|
295
|
+
} | undefined;
|
|
296
|
+
integerOnly?: boolean | undefined;
|
|
297
|
+
positiveOnly?: boolean | undefined;
|
|
298
|
+
exactDigits?: number | undefined;
|
|
299
|
+
} | undefined;
|
|
300
|
+
visibilityConditions?: {
|
|
301
|
+
when: string;
|
|
302
|
+
is: any;
|
|
303
|
+
show?: boolean | undefined;
|
|
304
|
+
} | undefined;
|
|
305
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
306
|
+
tooltip?: string | undefined;
|
|
307
|
+
helperText?: string | undefined;
|
|
308
|
+
showErrorMessage?: boolean | undefined;
|
|
309
|
+
defaultValue?: number | undefined;
|
|
310
|
+
rounding?: "up" | "down" | "none" | "nearest" | undefined;
|
|
311
|
+
decimalPlaces?: number | undefined;
|
|
312
|
+
percision?: number | undefined;
|
|
313
|
+
unit?: string | undefined;
|
|
314
|
+
description?: string | undefined;
|
|
315
|
+
placeholder?: string | undefined;
|
|
316
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
317
|
+
required?: boolean;
|
|
318
|
+
allowNegative?: boolean;
|
|
319
|
+
}>;
|
|
320
|
+
readonly EmailField: react274.FC<Pick<{
|
|
321
|
+
rules: {
|
|
322
|
+
maxLength?: number | undefined;
|
|
323
|
+
minLength?: number | undefined;
|
|
324
|
+
};
|
|
325
|
+
label: string;
|
|
326
|
+
name: string;
|
|
327
|
+
camelCaseName: string;
|
|
328
|
+
id: string;
|
|
329
|
+
type: "email-field";
|
|
330
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
331
|
+
tooltip?: string | undefined;
|
|
332
|
+
helperText?: string | undefined;
|
|
333
|
+
showErrorMessage?: boolean | undefined;
|
|
334
|
+
description?: string | undefined;
|
|
335
|
+
placeholder?: string | undefined;
|
|
336
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
337
|
+
required?: boolean;
|
|
338
|
+
maxLength?: number;
|
|
339
|
+
}>;
|
|
340
|
+
readonly PasswordField: react274.FC<{
|
|
341
|
+
description?: string | undefined;
|
|
342
|
+
label: string;
|
|
343
|
+
placeholder?: string | undefined;
|
|
344
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
345
|
+
tooltip?: string | undefined;
|
|
346
|
+
helperText?: string | undefined;
|
|
347
|
+
showErrorMessage?: boolean | undefined;
|
|
348
|
+
}>;
|
|
349
|
+
readonly SelectField: react274.FC<Pick<{
|
|
350
|
+
options: {
|
|
351
|
+
label: string;
|
|
352
|
+
value: string;
|
|
353
|
+
}[];
|
|
354
|
+
label: string;
|
|
355
|
+
name: string;
|
|
356
|
+
camelCaseName: string;
|
|
357
|
+
id: string;
|
|
358
|
+
type: "select-field";
|
|
359
|
+
clearable?: boolean | undefined;
|
|
360
|
+
rules?: {
|
|
361
|
+
required?: boolean | undefined;
|
|
362
|
+
} | undefined;
|
|
363
|
+
visibilityConditions?: {
|
|
364
|
+
when: string;
|
|
365
|
+
is: any;
|
|
366
|
+
show?: boolean | undefined;
|
|
367
|
+
} | undefined;
|
|
368
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
369
|
+
tooltip?: string | undefined;
|
|
370
|
+
helperText?: string | undefined;
|
|
371
|
+
defaultValue?: string | undefined;
|
|
372
|
+
description?: string | undefined;
|
|
373
|
+
placeholder?: string | undefined;
|
|
374
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
375
|
+
required?: boolean;
|
|
376
|
+
}>;
|
|
377
|
+
readonly ComboboxField: react274.FC<{
|
|
378
|
+
label: string;
|
|
379
|
+
description?: string;
|
|
380
|
+
placeholder?: string;
|
|
381
|
+
tooltip?: string;
|
|
382
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
383
|
+
options: Array<{
|
|
384
|
+
value: string;
|
|
385
|
+
label: string;
|
|
386
|
+
}>;
|
|
387
|
+
}>;
|
|
388
|
+
readonly DateField: react274.FC<Pick<{
|
|
389
|
+
label: string;
|
|
390
|
+
name: string;
|
|
391
|
+
camelCaseName: string;
|
|
392
|
+
id: string;
|
|
393
|
+
type: "date-field";
|
|
394
|
+
showErrorMessage?: boolean | undefined;
|
|
395
|
+
rules?: {
|
|
396
|
+
required?: boolean | undefined;
|
|
397
|
+
minDate?: Date | undefined;
|
|
398
|
+
maxDate?: Date | undefined;
|
|
399
|
+
} | undefined;
|
|
400
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
401
|
+
tooltip?: string | undefined;
|
|
402
|
+
helperText?: string | undefined;
|
|
403
|
+
defaultValue?: string | undefined;
|
|
404
|
+
description?: string | undefined;
|
|
405
|
+
placeholder?: string | undefined;
|
|
406
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
407
|
+
required?: boolean;
|
|
408
|
+
minDate?: Date;
|
|
409
|
+
maxDate?: Date;
|
|
410
|
+
}>;
|
|
411
|
+
readonly SwitchField: react274.FC<{
|
|
412
|
+
description?: string | undefined;
|
|
413
|
+
label: string;
|
|
414
|
+
helperText?: string | undefined;
|
|
415
|
+
}>;
|
|
416
|
+
readonly RadioGroupField: react274.FC<{
|
|
417
|
+
description?: string | undefined;
|
|
418
|
+
label: string;
|
|
419
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
420
|
+
tooltip?: string | undefined;
|
|
421
|
+
options: {
|
|
422
|
+
label: string;
|
|
423
|
+
value: string;
|
|
424
|
+
description?: string | undefined;
|
|
425
|
+
}[];
|
|
426
|
+
helperText?: string | undefined;
|
|
427
|
+
}>;
|
|
428
|
+
readonly CheckboxField: react274.FC<{
|
|
429
|
+
description?: string | undefined;
|
|
430
|
+
label: string;
|
|
431
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
432
|
+
tooltip?: string | undefined;
|
|
433
|
+
options: {
|
|
434
|
+
label: string;
|
|
435
|
+
value: string;
|
|
436
|
+
}[];
|
|
437
|
+
helperText?: string | undefined;
|
|
438
|
+
}>;
|
|
439
|
+
readonly FieldGroup: react274.MemoExoticComponent<({
|
|
440
|
+
className,
|
|
441
|
+
...props
|
|
442
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
443
|
+
readonly Field: react274.MemoExoticComponent<({
|
|
444
|
+
className,
|
|
445
|
+
orientation,
|
|
446
|
+
...props
|
|
447
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
448
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
449
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react_jsx_runtime333.JSX.Element>;
|
|
450
|
+
readonly FieldContent: react274.MemoExoticComponent<({
|
|
451
|
+
className,
|
|
452
|
+
...props
|
|
453
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
454
|
+
readonly FieldLabel: react274.MemoExoticComponent<({
|
|
455
|
+
className,
|
|
456
|
+
...props
|
|
457
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime333.JSX.Element>;
|
|
458
|
+
readonly FieldContentMain: react274.MemoExoticComponent<({
|
|
459
|
+
className,
|
|
460
|
+
...props
|
|
461
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
462
|
+
readonly FieldSeparator: react274.MemoExoticComponent<({
|
|
463
|
+
children,
|
|
464
|
+
className,
|
|
465
|
+
...props
|
|
466
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime333.JSX.Element>;
|
|
467
|
+
readonly FieldError: react274.MemoExoticComponent<({
|
|
468
|
+
className,
|
|
469
|
+
children,
|
|
470
|
+
errors,
|
|
471
|
+
...props
|
|
472
|
+
}: react274.ClassAttributes<HTMLDivElement> & react274.HTMLAttributes<HTMLDivElement> & {
|
|
473
|
+
errors?: Array<{
|
|
474
|
+
code?: string;
|
|
475
|
+
message?: string;
|
|
476
|
+
} | undefined>;
|
|
477
|
+
}) => react_jsx_runtime333.JSX.Element | null>;
|
|
478
|
+
}, {
|
|
479
|
+
readonly TanStackDialogForm: react274.FC<react274.PropsWithChildren<{
|
|
480
|
+
title: string;
|
|
481
|
+
submitText?: string;
|
|
482
|
+
open?: boolean;
|
|
483
|
+
onOpenChange?: (open: boolean) => void;
|
|
484
|
+
}>>;
|
|
485
|
+
readonly TanStackPopoverForm: react274.FC<react274.PropsWithChildren<{
|
|
486
|
+
title: string;
|
|
487
|
+
open?: boolean;
|
|
488
|
+
contentClassName?: string;
|
|
489
|
+
onOpenChange?: (open: boolean) => void;
|
|
490
|
+
}>>;
|
|
491
|
+
readonly TanStackContainerForm: react274.FC<{
|
|
492
|
+
children?: react274.ReactNode | undefined;
|
|
493
|
+
}>;
|
|
494
|
+
readonly TanStackSectionForm: react274.FC<react274.PropsWithChildren<{
|
|
495
|
+
title: string;
|
|
496
|
+
}>>;
|
|
497
|
+
readonly TanStackCardForm: react274.FC<react274.PropsWithChildren<{
|
|
498
|
+
title: string;
|
|
499
|
+
description?: string;
|
|
500
|
+
onDelete?: () => void | Promise<void>;
|
|
501
|
+
}>>;
|
|
502
|
+
readonly TanStackFieldGroup: react274.FC<react274.PropsWithChildren<{
|
|
503
|
+
label: string;
|
|
504
|
+
description?: string;
|
|
505
|
+
helperText?: string;
|
|
506
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
507
|
+
}>>;
|
|
508
|
+
readonly TanStackTitleField: react274.FC<{
|
|
509
|
+
title: string;
|
|
510
|
+
description?: string;
|
|
511
|
+
helperText?: string;
|
|
512
|
+
}>;
|
|
513
|
+
readonly TanStackActionsForm: react274.FC<react274.PropsWithChildren<{
|
|
514
|
+
type?: "create" | "update";
|
|
515
|
+
}>>;
|
|
516
|
+
readonly TanStackActionSubmit: react274.FC<{
|
|
517
|
+
label?: string;
|
|
518
|
+
className?: string;
|
|
519
|
+
}>;
|
|
520
|
+
}>, withTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({
|
|
521
|
+
render,
|
|
522
|
+
props
|
|
523
|
+
}: _tanstack_react_form0.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
524
|
+
readonly TextField: react274.FC<Pick<{
|
|
525
|
+
label: string;
|
|
526
|
+
name: string;
|
|
527
|
+
camelCaseName: string;
|
|
528
|
+
id: string;
|
|
529
|
+
type: "text-field";
|
|
530
|
+
dataType?: "text" | "url" | "email" | "password" | undefined;
|
|
531
|
+
rules?: {
|
|
532
|
+
required?: boolean | undefined;
|
|
533
|
+
maxLength?: number | undefined;
|
|
534
|
+
minLength?: number | undefined;
|
|
535
|
+
exactLength?: number | undefined;
|
|
536
|
+
} | undefined;
|
|
537
|
+
visibilityConditions?: {
|
|
538
|
+
when: string;
|
|
539
|
+
is: any;
|
|
540
|
+
show?: boolean | undefined;
|
|
541
|
+
} | undefined;
|
|
542
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
543
|
+
tooltip?: string | undefined;
|
|
544
|
+
helperText?: string | undefined;
|
|
545
|
+
showErrorMessage?: boolean | undefined;
|
|
546
|
+
counter?: boolean | undefined;
|
|
547
|
+
showClearButton?: boolean | undefined;
|
|
548
|
+
description?: string | undefined;
|
|
549
|
+
placeholder?: string | undefined;
|
|
550
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
551
|
+
required?: boolean;
|
|
552
|
+
maxLength?: number;
|
|
553
|
+
}>;
|
|
554
|
+
readonly TextareaField: react274.FC<Pick<{
|
|
555
|
+
label: string;
|
|
556
|
+
name: string;
|
|
557
|
+
camelCaseName: string;
|
|
558
|
+
id: string;
|
|
559
|
+
type: "textarea-field";
|
|
560
|
+
rules?: {
|
|
561
|
+
required?: boolean | undefined;
|
|
562
|
+
maxLength?: number | undefined;
|
|
563
|
+
minLength?: number | undefined;
|
|
564
|
+
exactLength?: number | undefined;
|
|
565
|
+
} | undefined;
|
|
566
|
+
visibilityConditions?: {
|
|
567
|
+
when: string;
|
|
568
|
+
is: any;
|
|
569
|
+
show?: boolean | undefined;
|
|
570
|
+
} | undefined;
|
|
571
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
572
|
+
tooltip?: string | undefined;
|
|
573
|
+
helperText?: string | undefined;
|
|
574
|
+
showErrorMessage?: boolean | undefined;
|
|
575
|
+
counter?: boolean | undefined;
|
|
576
|
+
description?: string | undefined;
|
|
577
|
+
placeholder?: string | undefined;
|
|
578
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
579
|
+
required?: boolean;
|
|
580
|
+
maxLength?: number;
|
|
581
|
+
}>;
|
|
582
|
+
readonly NumberField: react274.FC<Pick<{
|
|
583
|
+
label: string;
|
|
584
|
+
name: string;
|
|
585
|
+
camelCaseName: string;
|
|
586
|
+
id: string;
|
|
587
|
+
type: "number-field";
|
|
588
|
+
rules?: {
|
|
589
|
+
required?: boolean | undefined;
|
|
590
|
+
min?: {
|
|
591
|
+
value: number;
|
|
592
|
+
inclusive?: boolean | undefined;
|
|
593
|
+
} | undefined;
|
|
594
|
+
max?: {
|
|
595
|
+
value: number;
|
|
596
|
+
inclusive?: boolean | undefined;
|
|
597
|
+
} | undefined;
|
|
598
|
+
integerOnly?: boolean | undefined;
|
|
599
|
+
positiveOnly?: boolean | undefined;
|
|
600
|
+
exactDigits?: number | undefined;
|
|
601
|
+
} | undefined;
|
|
602
|
+
visibilityConditions?: {
|
|
603
|
+
when: string;
|
|
604
|
+
is: any;
|
|
605
|
+
show?: boolean | undefined;
|
|
606
|
+
} | undefined;
|
|
607
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
608
|
+
tooltip?: string | undefined;
|
|
609
|
+
helperText?: string | undefined;
|
|
610
|
+
showErrorMessage?: boolean | undefined;
|
|
611
|
+
defaultValue?: number | undefined;
|
|
612
|
+
rounding?: "up" | "down" | "none" | "nearest" | undefined;
|
|
613
|
+
decimalPlaces?: number | undefined;
|
|
614
|
+
percision?: number | undefined;
|
|
615
|
+
unit?: string | undefined;
|
|
616
|
+
description?: string | undefined;
|
|
617
|
+
placeholder?: string | undefined;
|
|
618
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
619
|
+
required?: boolean;
|
|
620
|
+
allowNegative?: boolean;
|
|
621
|
+
}>;
|
|
622
|
+
readonly EmailField: react274.FC<Pick<{
|
|
623
|
+
rules: {
|
|
624
|
+
maxLength?: number | undefined;
|
|
625
|
+
minLength?: number | undefined;
|
|
626
|
+
};
|
|
627
|
+
label: string;
|
|
628
|
+
name: string;
|
|
629
|
+
camelCaseName: string;
|
|
630
|
+
id: string;
|
|
631
|
+
type: "email-field";
|
|
632
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
633
|
+
tooltip?: string | undefined;
|
|
634
|
+
helperText?: string | undefined;
|
|
635
|
+
showErrorMessage?: boolean | undefined;
|
|
636
|
+
description?: string | undefined;
|
|
637
|
+
placeholder?: string | undefined;
|
|
638
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
639
|
+
required?: boolean;
|
|
640
|
+
maxLength?: number;
|
|
641
|
+
}>;
|
|
642
|
+
readonly PasswordField: react274.FC<{
|
|
643
|
+
description?: string | undefined;
|
|
644
|
+
label: string;
|
|
645
|
+
placeholder?: string | undefined;
|
|
646
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
647
|
+
tooltip?: string | undefined;
|
|
648
|
+
helperText?: string | undefined;
|
|
649
|
+
showErrorMessage?: boolean | undefined;
|
|
650
|
+
}>;
|
|
651
|
+
readonly SelectField: react274.FC<Pick<{
|
|
652
|
+
options: {
|
|
653
|
+
label: string;
|
|
654
|
+
value: string;
|
|
655
|
+
}[];
|
|
656
|
+
label: string;
|
|
657
|
+
name: string;
|
|
658
|
+
camelCaseName: string;
|
|
659
|
+
id: string;
|
|
660
|
+
type: "select-field";
|
|
661
|
+
clearable?: boolean | undefined;
|
|
662
|
+
rules?: {
|
|
663
|
+
required?: boolean | undefined;
|
|
664
|
+
} | undefined;
|
|
665
|
+
visibilityConditions?: {
|
|
666
|
+
when: string;
|
|
667
|
+
is: any;
|
|
668
|
+
show?: boolean | undefined;
|
|
669
|
+
} | undefined;
|
|
670
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
671
|
+
tooltip?: string | undefined;
|
|
672
|
+
helperText?: string | undefined;
|
|
673
|
+
defaultValue?: string | undefined;
|
|
674
|
+
description?: string | undefined;
|
|
675
|
+
placeholder?: string | undefined;
|
|
676
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
677
|
+
required?: boolean;
|
|
678
|
+
}>;
|
|
679
|
+
readonly ComboboxField: react274.FC<{
|
|
680
|
+
label: string;
|
|
681
|
+
description?: string;
|
|
682
|
+
placeholder?: string;
|
|
683
|
+
tooltip?: string;
|
|
684
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
685
|
+
options: Array<{
|
|
686
|
+
value: string;
|
|
687
|
+
label: string;
|
|
688
|
+
}>;
|
|
689
|
+
}>;
|
|
690
|
+
readonly DateField: react274.FC<Pick<{
|
|
691
|
+
label: string;
|
|
692
|
+
name: string;
|
|
693
|
+
camelCaseName: string;
|
|
694
|
+
id: string;
|
|
695
|
+
type: "date-field";
|
|
696
|
+
showErrorMessage?: boolean | undefined;
|
|
697
|
+
rules?: {
|
|
698
|
+
required?: boolean | undefined;
|
|
699
|
+
minDate?: Date | undefined;
|
|
700
|
+
maxDate?: Date | undefined;
|
|
701
|
+
} | undefined;
|
|
702
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
703
|
+
tooltip?: string | undefined;
|
|
704
|
+
helperText?: string | undefined;
|
|
705
|
+
defaultValue?: string | undefined;
|
|
706
|
+
description?: string | undefined;
|
|
707
|
+
placeholder?: string | undefined;
|
|
708
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
709
|
+
required?: boolean;
|
|
710
|
+
minDate?: Date;
|
|
711
|
+
maxDate?: Date;
|
|
712
|
+
}>;
|
|
713
|
+
readonly SwitchField: react274.FC<{
|
|
714
|
+
description?: string | undefined;
|
|
715
|
+
label: string;
|
|
716
|
+
helperText?: string | undefined;
|
|
717
|
+
}>;
|
|
718
|
+
readonly RadioGroupField: react274.FC<{
|
|
719
|
+
description?: string | undefined;
|
|
720
|
+
label: string;
|
|
721
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
722
|
+
tooltip?: string | undefined;
|
|
723
|
+
options: {
|
|
724
|
+
label: string;
|
|
725
|
+
value: string;
|
|
726
|
+
description?: string | undefined;
|
|
727
|
+
}[];
|
|
728
|
+
helperText?: string | undefined;
|
|
729
|
+
}>;
|
|
730
|
+
readonly CheckboxField: react274.FC<{
|
|
731
|
+
description?: string | undefined;
|
|
732
|
+
label: string;
|
|
733
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
734
|
+
tooltip?: string | undefined;
|
|
735
|
+
options: {
|
|
736
|
+
label: string;
|
|
737
|
+
value: string;
|
|
738
|
+
}[];
|
|
739
|
+
helperText?: string | undefined;
|
|
740
|
+
}>;
|
|
741
|
+
readonly FieldGroup: react274.MemoExoticComponent<({
|
|
742
|
+
className,
|
|
743
|
+
...props
|
|
744
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
745
|
+
readonly Field: react274.MemoExoticComponent<({
|
|
746
|
+
className,
|
|
747
|
+
orientation,
|
|
748
|
+
...props
|
|
749
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
750
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
751
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react_jsx_runtime333.JSX.Element>;
|
|
752
|
+
readonly FieldContent: react274.MemoExoticComponent<({
|
|
753
|
+
className,
|
|
754
|
+
...props
|
|
755
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
756
|
+
readonly FieldLabel: react274.MemoExoticComponent<({
|
|
757
|
+
className,
|
|
758
|
+
...props
|
|
759
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime333.JSX.Element>;
|
|
760
|
+
readonly FieldContentMain: react274.MemoExoticComponent<({
|
|
761
|
+
className,
|
|
762
|
+
...props
|
|
763
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
764
|
+
readonly FieldSeparator: react274.MemoExoticComponent<({
|
|
765
|
+
children,
|
|
766
|
+
className,
|
|
767
|
+
...props
|
|
768
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime333.JSX.Element>;
|
|
769
|
+
readonly FieldError: react274.MemoExoticComponent<({
|
|
770
|
+
className,
|
|
771
|
+
children,
|
|
772
|
+
errors,
|
|
773
|
+
...props
|
|
774
|
+
}: react274.ClassAttributes<HTMLDivElement> & react274.HTMLAttributes<HTMLDivElement> & {
|
|
775
|
+
errors?: Array<{
|
|
776
|
+
code?: string;
|
|
777
|
+
message?: string;
|
|
778
|
+
} | undefined>;
|
|
779
|
+
}) => react_jsx_runtime333.JSX.Element | null>;
|
|
780
|
+
}, {
|
|
781
|
+
readonly TanStackDialogForm: react274.FC<react274.PropsWithChildren<{
|
|
782
|
+
title: string;
|
|
783
|
+
submitText?: string;
|
|
784
|
+
open?: boolean;
|
|
785
|
+
onOpenChange?: (open: boolean) => void;
|
|
786
|
+
}>>;
|
|
787
|
+
readonly TanStackPopoverForm: react274.FC<react274.PropsWithChildren<{
|
|
788
|
+
title: string;
|
|
789
|
+
open?: boolean;
|
|
790
|
+
contentClassName?: string;
|
|
791
|
+
onOpenChange?: (open: boolean) => void;
|
|
792
|
+
}>>;
|
|
793
|
+
readonly TanStackContainerForm: react274.FC<{
|
|
794
|
+
children?: react274.ReactNode | undefined;
|
|
795
|
+
}>;
|
|
796
|
+
readonly TanStackSectionForm: react274.FC<react274.PropsWithChildren<{
|
|
797
|
+
title: string;
|
|
798
|
+
}>>;
|
|
799
|
+
readonly TanStackCardForm: react274.FC<react274.PropsWithChildren<{
|
|
800
|
+
title: string;
|
|
801
|
+
description?: string;
|
|
802
|
+
onDelete?: () => void | Promise<void>;
|
|
803
|
+
}>>;
|
|
804
|
+
readonly TanStackFieldGroup: react274.FC<react274.PropsWithChildren<{
|
|
805
|
+
label: string;
|
|
806
|
+
description?: string;
|
|
807
|
+
helperText?: string;
|
|
808
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
809
|
+
}>>;
|
|
810
|
+
readonly TanStackTitleField: react274.FC<{
|
|
811
|
+
title: string;
|
|
812
|
+
description?: string;
|
|
813
|
+
helperText?: string;
|
|
814
|
+
}>;
|
|
815
|
+
readonly TanStackActionsForm: react274.FC<react274.PropsWithChildren<{
|
|
816
|
+
type?: "create" | "update";
|
|
817
|
+
}>>;
|
|
818
|
+
readonly TanStackActionSubmit: react274.FC<{
|
|
819
|
+
label?: string;
|
|
820
|
+
className?: string;
|
|
821
|
+
}>;
|
|
822
|
+
}, TRenderProps>) => react274.FunctionComponent<react274.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
823
|
+
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
|
|
824
|
+
readonly TextField: react274.FC<Pick<{
|
|
825
|
+
label: string;
|
|
826
|
+
name: string;
|
|
827
|
+
camelCaseName: string;
|
|
828
|
+
id: string;
|
|
829
|
+
type: "text-field";
|
|
830
|
+
dataType?: "text" | "url" | "email" | "password" | undefined;
|
|
831
|
+
rules?: {
|
|
832
|
+
required?: boolean | undefined;
|
|
833
|
+
maxLength?: number | undefined;
|
|
834
|
+
minLength?: number | undefined;
|
|
835
|
+
exactLength?: number | undefined;
|
|
836
|
+
} | undefined;
|
|
837
|
+
visibilityConditions?: {
|
|
838
|
+
when: string;
|
|
839
|
+
is: any;
|
|
840
|
+
show?: boolean | undefined;
|
|
841
|
+
} | undefined;
|
|
842
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
843
|
+
tooltip?: string | undefined;
|
|
844
|
+
helperText?: string | undefined;
|
|
845
|
+
showErrorMessage?: boolean | undefined;
|
|
846
|
+
counter?: boolean | undefined;
|
|
847
|
+
showClearButton?: boolean | undefined;
|
|
848
|
+
description?: string | undefined;
|
|
849
|
+
placeholder?: string | undefined;
|
|
850
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
851
|
+
required?: boolean;
|
|
852
|
+
maxLength?: number;
|
|
853
|
+
}>;
|
|
854
|
+
readonly TextareaField: react274.FC<Pick<{
|
|
855
|
+
label: string;
|
|
856
|
+
name: string;
|
|
857
|
+
camelCaseName: string;
|
|
858
|
+
id: string;
|
|
859
|
+
type: "textarea-field";
|
|
860
|
+
rules?: {
|
|
861
|
+
required?: boolean | undefined;
|
|
862
|
+
maxLength?: number | undefined;
|
|
863
|
+
minLength?: number | undefined;
|
|
864
|
+
exactLength?: number | undefined;
|
|
865
|
+
} | undefined;
|
|
866
|
+
visibilityConditions?: {
|
|
867
|
+
when: string;
|
|
868
|
+
is: any;
|
|
869
|
+
show?: boolean | undefined;
|
|
870
|
+
} | undefined;
|
|
871
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
872
|
+
tooltip?: string | undefined;
|
|
873
|
+
helperText?: string | undefined;
|
|
874
|
+
showErrorMessage?: boolean | undefined;
|
|
875
|
+
counter?: boolean | undefined;
|
|
876
|
+
description?: string | undefined;
|
|
877
|
+
placeholder?: string | undefined;
|
|
878
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
879
|
+
required?: boolean;
|
|
880
|
+
maxLength?: number;
|
|
881
|
+
}>;
|
|
882
|
+
readonly NumberField: react274.FC<Pick<{
|
|
883
|
+
label: string;
|
|
884
|
+
name: string;
|
|
885
|
+
camelCaseName: string;
|
|
886
|
+
id: string;
|
|
887
|
+
type: "number-field";
|
|
888
|
+
rules?: {
|
|
889
|
+
required?: boolean | undefined;
|
|
890
|
+
min?: {
|
|
891
|
+
value: number;
|
|
892
|
+
inclusive?: boolean | undefined;
|
|
893
|
+
} | undefined;
|
|
894
|
+
max?: {
|
|
895
|
+
value: number;
|
|
896
|
+
inclusive?: boolean | undefined;
|
|
897
|
+
} | undefined;
|
|
898
|
+
integerOnly?: boolean | undefined;
|
|
899
|
+
positiveOnly?: boolean | undefined;
|
|
900
|
+
exactDigits?: number | undefined;
|
|
901
|
+
} | undefined;
|
|
902
|
+
visibilityConditions?: {
|
|
903
|
+
when: string;
|
|
904
|
+
is: any;
|
|
905
|
+
show?: boolean | undefined;
|
|
906
|
+
} | undefined;
|
|
907
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
908
|
+
tooltip?: string | undefined;
|
|
909
|
+
helperText?: string | undefined;
|
|
910
|
+
showErrorMessage?: boolean | undefined;
|
|
911
|
+
defaultValue?: number | undefined;
|
|
912
|
+
rounding?: "up" | "down" | "none" | "nearest" | undefined;
|
|
913
|
+
decimalPlaces?: number | undefined;
|
|
914
|
+
percision?: number | undefined;
|
|
915
|
+
unit?: string | undefined;
|
|
916
|
+
description?: string | undefined;
|
|
917
|
+
placeholder?: string | undefined;
|
|
918
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
919
|
+
required?: boolean;
|
|
920
|
+
allowNegative?: boolean;
|
|
921
|
+
}>;
|
|
922
|
+
readonly EmailField: react274.FC<Pick<{
|
|
923
|
+
rules: {
|
|
924
|
+
maxLength?: number | undefined;
|
|
925
|
+
minLength?: number | undefined;
|
|
926
|
+
};
|
|
927
|
+
label: string;
|
|
928
|
+
name: string;
|
|
929
|
+
camelCaseName: string;
|
|
930
|
+
id: string;
|
|
931
|
+
type: "email-field";
|
|
932
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
933
|
+
tooltip?: string | undefined;
|
|
934
|
+
helperText?: string | undefined;
|
|
935
|
+
showErrorMessage?: boolean | undefined;
|
|
936
|
+
description?: string | undefined;
|
|
937
|
+
placeholder?: string | undefined;
|
|
938
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
939
|
+
required?: boolean;
|
|
940
|
+
maxLength?: number;
|
|
941
|
+
}>;
|
|
942
|
+
readonly PasswordField: react274.FC<{
|
|
943
|
+
description?: string | undefined;
|
|
944
|
+
label: string;
|
|
945
|
+
placeholder?: string | undefined;
|
|
946
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
947
|
+
tooltip?: string | undefined;
|
|
948
|
+
helperText?: string | undefined;
|
|
949
|
+
showErrorMessage?: boolean | undefined;
|
|
950
|
+
}>;
|
|
951
|
+
readonly SelectField: react274.FC<Pick<{
|
|
952
|
+
options: {
|
|
953
|
+
label: string;
|
|
954
|
+
value: string;
|
|
955
|
+
}[];
|
|
956
|
+
label: string;
|
|
957
|
+
name: string;
|
|
958
|
+
camelCaseName: string;
|
|
959
|
+
id: string;
|
|
960
|
+
type: "select-field";
|
|
961
|
+
clearable?: boolean | undefined;
|
|
962
|
+
rules?: {
|
|
963
|
+
required?: boolean | undefined;
|
|
964
|
+
} | undefined;
|
|
965
|
+
visibilityConditions?: {
|
|
966
|
+
when: string;
|
|
967
|
+
is: any;
|
|
968
|
+
show?: boolean | undefined;
|
|
969
|
+
} | undefined;
|
|
970
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
971
|
+
tooltip?: string | undefined;
|
|
972
|
+
helperText?: string | undefined;
|
|
973
|
+
defaultValue?: string | undefined;
|
|
974
|
+
description?: string | undefined;
|
|
975
|
+
placeholder?: string | undefined;
|
|
976
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
977
|
+
required?: boolean;
|
|
978
|
+
}>;
|
|
979
|
+
readonly ComboboxField: react274.FC<{
|
|
980
|
+
label: string;
|
|
981
|
+
description?: string;
|
|
982
|
+
placeholder?: string;
|
|
983
|
+
tooltip?: string;
|
|
984
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
985
|
+
options: Array<{
|
|
986
|
+
value: string;
|
|
987
|
+
label: string;
|
|
988
|
+
}>;
|
|
989
|
+
}>;
|
|
990
|
+
readonly DateField: react274.FC<Pick<{
|
|
991
|
+
label: string;
|
|
992
|
+
name: string;
|
|
993
|
+
camelCaseName: string;
|
|
994
|
+
id: string;
|
|
995
|
+
type: "date-field";
|
|
996
|
+
showErrorMessage?: boolean | undefined;
|
|
997
|
+
rules?: {
|
|
998
|
+
required?: boolean | undefined;
|
|
999
|
+
minDate?: Date | undefined;
|
|
1000
|
+
maxDate?: Date | undefined;
|
|
1001
|
+
} | undefined;
|
|
1002
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1003
|
+
tooltip?: string | undefined;
|
|
1004
|
+
helperText?: string | undefined;
|
|
1005
|
+
defaultValue?: string | undefined;
|
|
1006
|
+
description?: string | undefined;
|
|
1007
|
+
placeholder?: string | undefined;
|
|
1008
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1009
|
+
required?: boolean;
|
|
1010
|
+
minDate?: Date;
|
|
1011
|
+
maxDate?: Date;
|
|
1012
|
+
}>;
|
|
1013
|
+
readonly SwitchField: react274.FC<{
|
|
1014
|
+
description?: string | undefined;
|
|
1015
|
+
label: string;
|
|
1016
|
+
helperText?: string | undefined;
|
|
1017
|
+
}>;
|
|
1018
|
+
readonly RadioGroupField: react274.FC<{
|
|
1019
|
+
description?: string | undefined;
|
|
1020
|
+
label: string;
|
|
1021
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1022
|
+
tooltip?: string | undefined;
|
|
1023
|
+
options: {
|
|
1024
|
+
label: string;
|
|
1025
|
+
value: string;
|
|
1026
|
+
description?: string | undefined;
|
|
1027
|
+
}[];
|
|
1028
|
+
helperText?: string | undefined;
|
|
1029
|
+
}>;
|
|
1030
|
+
readonly CheckboxField: react274.FC<{
|
|
1031
|
+
description?: string | undefined;
|
|
1032
|
+
label: string;
|
|
1033
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1034
|
+
tooltip?: string | undefined;
|
|
1035
|
+
options: {
|
|
1036
|
+
label: string;
|
|
1037
|
+
value: string;
|
|
1038
|
+
}[];
|
|
1039
|
+
helperText?: string | undefined;
|
|
1040
|
+
}>;
|
|
1041
|
+
readonly FieldGroup: react274.MemoExoticComponent<({
|
|
1042
|
+
className,
|
|
1043
|
+
...props
|
|
1044
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1045
|
+
readonly Field: react274.MemoExoticComponent<({
|
|
1046
|
+
className,
|
|
1047
|
+
orientation,
|
|
1048
|
+
...props
|
|
1049
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1050
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1051
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react_jsx_runtime333.JSX.Element>;
|
|
1052
|
+
readonly FieldContent: react274.MemoExoticComponent<({
|
|
1053
|
+
className,
|
|
1054
|
+
...props
|
|
1055
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1056
|
+
readonly FieldLabel: react274.MemoExoticComponent<({
|
|
1057
|
+
className,
|
|
1058
|
+
...props
|
|
1059
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime333.JSX.Element>;
|
|
1060
|
+
readonly FieldContentMain: react274.MemoExoticComponent<({
|
|
1061
|
+
className,
|
|
1062
|
+
...props
|
|
1063
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1064
|
+
readonly FieldSeparator: react274.MemoExoticComponent<({
|
|
1065
|
+
children,
|
|
1066
|
+
className,
|
|
1067
|
+
...props
|
|
1068
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime333.JSX.Element>;
|
|
1069
|
+
readonly FieldError: react274.MemoExoticComponent<({
|
|
1070
|
+
className,
|
|
1071
|
+
children,
|
|
1072
|
+
errors,
|
|
1073
|
+
...props
|
|
1074
|
+
}: react274.ClassAttributes<HTMLDivElement> & react274.HTMLAttributes<HTMLDivElement> & {
|
|
1075
|
+
errors?: Array<{
|
|
1076
|
+
code?: string;
|
|
1077
|
+
message?: string;
|
|
1078
|
+
} | undefined>;
|
|
1079
|
+
}) => react_jsx_runtime333.JSX.Element | null>;
|
|
1080
|
+
}, {
|
|
1081
|
+
readonly TanStackDialogForm: react274.FC<react274.PropsWithChildren<{
|
|
1082
|
+
title: string;
|
|
1083
|
+
submitText?: string;
|
|
1084
|
+
open?: boolean;
|
|
1085
|
+
onOpenChange?: (open: boolean) => void;
|
|
1086
|
+
}>>;
|
|
1087
|
+
readonly TanStackPopoverForm: react274.FC<react274.PropsWithChildren<{
|
|
1088
|
+
title: string;
|
|
1089
|
+
open?: boolean;
|
|
1090
|
+
contentClassName?: string;
|
|
1091
|
+
onOpenChange?: (open: boolean) => void;
|
|
1092
|
+
}>>;
|
|
1093
|
+
readonly TanStackContainerForm: react274.FC<{
|
|
1094
|
+
children?: react274.ReactNode | undefined;
|
|
1095
|
+
}>;
|
|
1096
|
+
readonly TanStackSectionForm: react274.FC<react274.PropsWithChildren<{
|
|
1097
|
+
title: string;
|
|
1098
|
+
}>>;
|
|
1099
|
+
readonly TanStackCardForm: react274.FC<react274.PropsWithChildren<{
|
|
1100
|
+
title: string;
|
|
1101
|
+
description?: string;
|
|
1102
|
+
onDelete?: () => void | Promise<void>;
|
|
1103
|
+
}>>;
|
|
1104
|
+
readonly TanStackFieldGroup: react274.FC<react274.PropsWithChildren<{
|
|
1105
|
+
label: string;
|
|
1106
|
+
description?: string;
|
|
1107
|
+
helperText?: string;
|
|
1108
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1109
|
+
}>>;
|
|
1110
|
+
readonly TanStackTitleField: react274.FC<{
|
|
1111
|
+
title: string;
|
|
1112
|
+
description?: string;
|
|
1113
|
+
helperText?: string;
|
|
1114
|
+
}>;
|
|
1115
|
+
readonly TanStackActionsForm: react274.FC<react274.PropsWithChildren<{
|
|
1116
|
+
type?: "create" | "update";
|
|
1117
|
+
}>>;
|
|
1118
|
+
readonly TanStackActionSubmit: react274.FC<{
|
|
1119
|
+
label?: string;
|
|
1120
|
+
className?: string;
|
|
1121
|
+
}>;
|
|
1122
|
+
}>;
|
|
1123
|
+
}>>, withTanStackFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({
|
|
1124
|
+
render,
|
|
1125
|
+
props,
|
|
1126
|
+
defaultValues
|
|
1127
|
+
}: _tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
1128
|
+
readonly TextField: react274.FC<Pick<{
|
|
1129
|
+
label: string;
|
|
1130
|
+
name: string;
|
|
1131
|
+
camelCaseName: string;
|
|
1132
|
+
id: string;
|
|
1133
|
+
type: "text-field";
|
|
1134
|
+
dataType?: "text" | "url" | "email" | "password" | undefined;
|
|
1135
|
+
rules?: {
|
|
1136
|
+
required?: boolean | undefined;
|
|
1137
|
+
maxLength?: number | undefined;
|
|
1138
|
+
minLength?: number | undefined;
|
|
1139
|
+
exactLength?: number | undefined;
|
|
1140
|
+
} | undefined;
|
|
1141
|
+
visibilityConditions?: {
|
|
1142
|
+
when: string;
|
|
1143
|
+
is: any;
|
|
1144
|
+
show?: boolean | undefined;
|
|
1145
|
+
} | undefined;
|
|
1146
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1147
|
+
tooltip?: string | undefined;
|
|
1148
|
+
helperText?: string | undefined;
|
|
1149
|
+
showErrorMessage?: boolean | undefined;
|
|
1150
|
+
counter?: boolean | undefined;
|
|
1151
|
+
showClearButton?: boolean | undefined;
|
|
1152
|
+
description?: string | undefined;
|
|
1153
|
+
placeholder?: string | undefined;
|
|
1154
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
1155
|
+
required?: boolean;
|
|
1156
|
+
maxLength?: number;
|
|
1157
|
+
}>;
|
|
1158
|
+
readonly TextareaField: react274.FC<Pick<{
|
|
1159
|
+
label: string;
|
|
1160
|
+
name: string;
|
|
1161
|
+
camelCaseName: string;
|
|
1162
|
+
id: string;
|
|
1163
|
+
type: "textarea-field";
|
|
1164
|
+
rules?: {
|
|
1165
|
+
required?: boolean | undefined;
|
|
1166
|
+
maxLength?: number | undefined;
|
|
1167
|
+
minLength?: number | undefined;
|
|
1168
|
+
exactLength?: number | undefined;
|
|
1169
|
+
} | undefined;
|
|
1170
|
+
visibilityConditions?: {
|
|
1171
|
+
when: string;
|
|
1172
|
+
is: any;
|
|
1173
|
+
show?: boolean | undefined;
|
|
1174
|
+
} | undefined;
|
|
1175
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1176
|
+
tooltip?: string | undefined;
|
|
1177
|
+
helperText?: string | undefined;
|
|
1178
|
+
showErrorMessage?: boolean | undefined;
|
|
1179
|
+
counter?: boolean | undefined;
|
|
1180
|
+
description?: string | undefined;
|
|
1181
|
+
placeholder?: string | undefined;
|
|
1182
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
1183
|
+
required?: boolean;
|
|
1184
|
+
maxLength?: number;
|
|
1185
|
+
}>;
|
|
1186
|
+
readonly NumberField: react274.FC<Pick<{
|
|
1187
|
+
label: string;
|
|
1188
|
+
name: string;
|
|
1189
|
+
camelCaseName: string;
|
|
1190
|
+
id: string;
|
|
1191
|
+
type: "number-field";
|
|
1192
|
+
rules?: {
|
|
1193
|
+
required?: boolean | undefined;
|
|
1194
|
+
min?: {
|
|
1195
|
+
value: number;
|
|
1196
|
+
inclusive?: boolean | undefined;
|
|
1197
|
+
} | undefined;
|
|
1198
|
+
max?: {
|
|
1199
|
+
value: number;
|
|
1200
|
+
inclusive?: boolean | undefined;
|
|
1201
|
+
} | undefined;
|
|
1202
|
+
integerOnly?: boolean | undefined;
|
|
1203
|
+
positiveOnly?: boolean | undefined;
|
|
1204
|
+
exactDigits?: number | undefined;
|
|
1205
|
+
} | undefined;
|
|
1206
|
+
visibilityConditions?: {
|
|
1207
|
+
when: string;
|
|
1208
|
+
is: any;
|
|
1209
|
+
show?: boolean | undefined;
|
|
1210
|
+
} | undefined;
|
|
1211
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1212
|
+
tooltip?: string | undefined;
|
|
1213
|
+
helperText?: string | undefined;
|
|
1214
|
+
showErrorMessage?: boolean | undefined;
|
|
1215
|
+
defaultValue?: number | undefined;
|
|
1216
|
+
rounding?: "up" | "down" | "none" | "nearest" | undefined;
|
|
1217
|
+
decimalPlaces?: number | undefined;
|
|
1218
|
+
percision?: number | undefined;
|
|
1219
|
+
unit?: string | undefined;
|
|
1220
|
+
description?: string | undefined;
|
|
1221
|
+
placeholder?: string | undefined;
|
|
1222
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
1223
|
+
required?: boolean;
|
|
1224
|
+
allowNegative?: boolean;
|
|
1225
|
+
}>;
|
|
1226
|
+
readonly EmailField: react274.FC<Pick<{
|
|
1227
|
+
rules: {
|
|
1228
|
+
maxLength?: number | undefined;
|
|
1229
|
+
minLength?: number | undefined;
|
|
1230
|
+
};
|
|
1231
|
+
label: string;
|
|
1232
|
+
name: string;
|
|
1233
|
+
camelCaseName: string;
|
|
1234
|
+
id: string;
|
|
1235
|
+
type: "email-field";
|
|
1236
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1237
|
+
tooltip?: string | undefined;
|
|
1238
|
+
helperText?: string | undefined;
|
|
1239
|
+
showErrorMessage?: boolean | undefined;
|
|
1240
|
+
description?: string | undefined;
|
|
1241
|
+
placeholder?: string | undefined;
|
|
1242
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1243
|
+
required?: boolean;
|
|
1244
|
+
maxLength?: number;
|
|
1245
|
+
}>;
|
|
1246
|
+
readonly PasswordField: react274.FC<{
|
|
1247
|
+
description?: string | undefined;
|
|
1248
|
+
label: string;
|
|
1249
|
+
placeholder?: string | undefined;
|
|
1250
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1251
|
+
tooltip?: string | undefined;
|
|
1252
|
+
helperText?: string | undefined;
|
|
1253
|
+
showErrorMessage?: boolean | undefined;
|
|
1254
|
+
}>;
|
|
1255
|
+
readonly SelectField: react274.FC<Pick<{
|
|
1256
|
+
options: {
|
|
1257
|
+
label: string;
|
|
1258
|
+
value: string;
|
|
1259
|
+
}[];
|
|
1260
|
+
label: string;
|
|
1261
|
+
name: string;
|
|
1262
|
+
camelCaseName: string;
|
|
1263
|
+
id: string;
|
|
1264
|
+
type: "select-field";
|
|
1265
|
+
clearable?: boolean | undefined;
|
|
1266
|
+
rules?: {
|
|
1267
|
+
required?: boolean | undefined;
|
|
1268
|
+
} | undefined;
|
|
1269
|
+
visibilityConditions?: {
|
|
1270
|
+
when: string;
|
|
1271
|
+
is: any;
|
|
1272
|
+
show?: boolean | undefined;
|
|
1273
|
+
} | undefined;
|
|
1274
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1275
|
+
tooltip?: string | undefined;
|
|
1276
|
+
helperText?: string | undefined;
|
|
1277
|
+
defaultValue?: string | undefined;
|
|
1278
|
+
description?: string | undefined;
|
|
1279
|
+
placeholder?: string | undefined;
|
|
1280
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1281
|
+
required?: boolean;
|
|
1282
|
+
}>;
|
|
1283
|
+
readonly ComboboxField: react274.FC<{
|
|
1284
|
+
label: string;
|
|
1285
|
+
description?: string;
|
|
1286
|
+
placeholder?: string;
|
|
1287
|
+
tooltip?: string;
|
|
1288
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1289
|
+
options: Array<{
|
|
1290
|
+
value: string;
|
|
1291
|
+
label: string;
|
|
1292
|
+
}>;
|
|
1293
|
+
}>;
|
|
1294
|
+
readonly DateField: react274.FC<Pick<{
|
|
1295
|
+
label: string;
|
|
1296
|
+
name: string;
|
|
1297
|
+
camelCaseName: string;
|
|
1298
|
+
id: string;
|
|
1299
|
+
type: "date-field";
|
|
1300
|
+
showErrorMessage?: boolean | undefined;
|
|
1301
|
+
rules?: {
|
|
1302
|
+
required?: boolean | undefined;
|
|
1303
|
+
minDate?: Date | undefined;
|
|
1304
|
+
maxDate?: Date | undefined;
|
|
1305
|
+
} | undefined;
|
|
1306
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1307
|
+
tooltip?: string | undefined;
|
|
1308
|
+
helperText?: string | undefined;
|
|
1309
|
+
defaultValue?: string | undefined;
|
|
1310
|
+
description?: string | undefined;
|
|
1311
|
+
placeholder?: string | undefined;
|
|
1312
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1313
|
+
required?: boolean;
|
|
1314
|
+
minDate?: Date;
|
|
1315
|
+
maxDate?: Date;
|
|
1316
|
+
}>;
|
|
1317
|
+
readonly SwitchField: react274.FC<{
|
|
1318
|
+
description?: string | undefined;
|
|
1319
|
+
label: string;
|
|
1320
|
+
helperText?: string | undefined;
|
|
1321
|
+
}>;
|
|
1322
|
+
readonly RadioGroupField: react274.FC<{
|
|
1323
|
+
description?: string | undefined;
|
|
1324
|
+
label: string;
|
|
1325
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1326
|
+
tooltip?: string | undefined;
|
|
1327
|
+
options: {
|
|
1328
|
+
label: string;
|
|
1329
|
+
value: string;
|
|
1330
|
+
description?: string | undefined;
|
|
1331
|
+
}[];
|
|
1332
|
+
helperText?: string | undefined;
|
|
1333
|
+
}>;
|
|
1334
|
+
readonly CheckboxField: react274.FC<{
|
|
1335
|
+
description?: string | undefined;
|
|
1336
|
+
label: string;
|
|
1337
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1338
|
+
tooltip?: string | undefined;
|
|
1339
|
+
options: {
|
|
1340
|
+
label: string;
|
|
1341
|
+
value: string;
|
|
1342
|
+
}[];
|
|
1343
|
+
helperText?: string | undefined;
|
|
1344
|
+
}>;
|
|
1345
|
+
readonly FieldGroup: react274.MemoExoticComponent<({
|
|
1346
|
+
className,
|
|
1347
|
+
...props
|
|
1348
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1349
|
+
readonly Field: react274.MemoExoticComponent<({
|
|
1350
|
+
className,
|
|
1351
|
+
orientation,
|
|
1352
|
+
...props
|
|
1353
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1354
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1355
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react_jsx_runtime333.JSX.Element>;
|
|
1356
|
+
readonly FieldContent: react274.MemoExoticComponent<({
|
|
1357
|
+
className,
|
|
1358
|
+
...props
|
|
1359
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1360
|
+
readonly FieldLabel: react274.MemoExoticComponent<({
|
|
1361
|
+
className,
|
|
1362
|
+
...props
|
|
1363
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime333.JSX.Element>;
|
|
1364
|
+
readonly FieldContentMain: react274.MemoExoticComponent<({
|
|
1365
|
+
className,
|
|
1366
|
+
...props
|
|
1367
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1368
|
+
readonly FieldSeparator: react274.MemoExoticComponent<({
|
|
1369
|
+
children,
|
|
1370
|
+
className,
|
|
1371
|
+
...props
|
|
1372
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime333.JSX.Element>;
|
|
1373
|
+
readonly FieldError: react274.MemoExoticComponent<({
|
|
1374
|
+
className,
|
|
1375
|
+
children,
|
|
1376
|
+
errors,
|
|
1377
|
+
...props
|
|
1378
|
+
}: react274.ClassAttributes<HTMLDivElement> & react274.HTMLAttributes<HTMLDivElement> & {
|
|
1379
|
+
errors?: Array<{
|
|
1380
|
+
code?: string;
|
|
1381
|
+
message?: string;
|
|
1382
|
+
} | undefined>;
|
|
1383
|
+
}) => react_jsx_runtime333.JSX.Element | null>;
|
|
1384
|
+
}, {
|
|
1385
|
+
readonly TanStackDialogForm: react274.FC<react274.PropsWithChildren<{
|
|
1386
|
+
title: string;
|
|
1387
|
+
submitText?: string;
|
|
1388
|
+
open?: boolean;
|
|
1389
|
+
onOpenChange?: (open: boolean) => void;
|
|
1390
|
+
}>>;
|
|
1391
|
+
readonly TanStackPopoverForm: react274.FC<react274.PropsWithChildren<{
|
|
1392
|
+
title: string;
|
|
1393
|
+
open?: boolean;
|
|
1394
|
+
contentClassName?: string;
|
|
1395
|
+
onOpenChange?: (open: boolean) => void;
|
|
1396
|
+
}>>;
|
|
1397
|
+
readonly TanStackContainerForm: react274.FC<{
|
|
1398
|
+
children?: react274.ReactNode | undefined;
|
|
1399
|
+
}>;
|
|
1400
|
+
readonly TanStackSectionForm: react274.FC<react274.PropsWithChildren<{
|
|
1401
|
+
title: string;
|
|
1402
|
+
}>>;
|
|
1403
|
+
readonly TanStackCardForm: react274.FC<react274.PropsWithChildren<{
|
|
1404
|
+
title: string;
|
|
1405
|
+
description?: string;
|
|
1406
|
+
onDelete?: () => void | Promise<void>;
|
|
1407
|
+
}>>;
|
|
1408
|
+
readonly TanStackFieldGroup: react274.FC<react274.PropsWithChildren<{
|
|
1409
|
+
label: string;
|
|
1410
|
+
description?: string;
|
|
1411
|
+
helperText?: string;
|
|
1412
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1413
|
+
}>>;
|
|
1414
|
+
readonly TanStackTitleField: react274.FC<{
|
|
1415
|
+
title: string;
|
|
1416
|
+
description?: string;
|
|
1417
|
+
helperText?: string;
|
|
1418
|
+
}>;
|
|
1419
|
+
readonly TanStackActionsForm: react274.FC<react274.PropsWithChildren<{
|
|
1420
|
+
type?: "create" | "update";
|
|
1421
|
+
}>>;
|
|
1422
|
+
readonly TanStackActionSubmit: react274.FC<{
|
|
1423
|
+
label?: string;
|
|
1424
|
+
className?: string;
|
|
1425
|
+
}>;
|
|
1426
|
+
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends _tanstack_form_core0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_form_core0.FieldsMap<TFormData, TFieldGroupData>, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: react274.PropsWithChildren<NoInfer<TRenderProps> & {
|
|
1427
|
+
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
1428
|
+
readonly TextField: react274.FC<Pick<{
|
|
1429
|
+
label: string;
|
|
1430
|
+
name: string;
|
|
1431
|
+
camelCaseName: string;
|
|
1432
|
+
id: string;
|
|
1433
|
+
type: "text-field";
|
|
1434
|
+
dataType?: "text" | "url" | "email" | "password" | undefined;
|
|
1435
|
+
rules?: {
|
|
1436
|
+
required?: boolean | undefined;
|
|
1437
|
+
maxLength?: number | undefined;
|
|
1438
|
+
minLength?: number | undefined;
|
|
1439
|
+
exactLength?: number | undefined;
|
|
1440
|
+
} | undefined;
|
|
1441
|
+
visibilityConditions?: {
|
|
1442
|
+
when: string;
|
|
1443
|
+
is: any;
|
|
1444
|
+
show?: boolean | undefined;
|
|
1445
|
+
} | undefined;
|
|
1446
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1447
|
+
tooltip?: string | undefined;
|
|
1448
|
+
helperText?: string | undefined;
|
|
1449
|
+
showErrorMessage?: boolean | undefined;
|
|
1450
|
+
counter?: boolean | undefined;
|
|
1451
|
+
showClearButton?: boolean | undefined;
|
|
1452
|
+
description?: string | undefined;
|
|
1453
|
+
placeholder?: string | undefined;
|
|
1454
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
1455
|
+
required?: boolean;
|
|
1456
|
+
maxLength?: number;
|
|
1457
|
+
}>;
|
|
1458
|
+
readonly TextareaField: react274.FC<Pick<{
|
|
1459
|
+
label: string;
|
|
1460
|
+
name: string;
|
|
1461
|
+
camelCaseName: string;
|
|
1462
|
+
id: string;
|
|
1463
|
+
type: "textarea-field";
|
|
1464
|
+
rules?: {
|
|
1465
|
+
required?: boolean | undefined;
|
|
1466
|
+
maxLength?: number | undefined;
|
|
1467
|
+
minLength?: number | undefined;
|
|
1468
|
+
exactLength?: number | undefined;
|
|
1469
|
+
} | undefined;
|
|
1470
|
+
visibilityConditions?: {
|
|
1471
|
+
when: string;
|
|
1472
|
+
is: any;
|
|
1473
|
+
show?: boolean | undefined;
|
|
1474
|
+
} | undefined;
|
|
1475
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1476
|
+
tooltip?: string | undefined;
|
|
1477
|
+
helperText?: string | undefined;
|
|
1478
|
+
showErrorMessage?: boolean | undefined;
|
|
1479
|
+
counter?: boolean | undefined;
|
|
1480
|
+
description?: string | undefined;
|
|
1481
|
+
placeholder?: string | undefined;
|
|
1482
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
1483
|
+
required?: boolean;
|
|
1484
|
+
maxLength?: number;
|
|
1485
|
+
}>;
|
|
1486
|
+
readonly NumberField: react274.FC<Pick<{
|
|
1487
|
+
label: string;
|
|
1488
|
+
name: string;
|
|
1489
|
+
camelCaseName: string;
|
|
1490
|
+
id: string;
|
|
1491
|
+
type: "number-field";
|
|
1492
|
+
rules?: {
|
|
1493
|
+
required?: boolean | undefined;
|
|
1494
|
+
min?: {
|
|
1495
|
+
value: number;
|
|
1496
|
+
inclusive?: boolean | undefined;
|
|
1497
|
+
} | undefined;
|
|
1498
|
+
max?: {
|
|
1499
|
+
value: number;
|
|
1500
|
+
inclusive?: boolean | undefined;
|
|
1501
|
+
} | undefined;
|
|
1502
|
+
integerOnly?: boolean | undefined;
|
|
1503
|
+
positiveOnly?: boolean | undefined;
|
|
1504
|
+
exactDigits?: number | undefined;
|
|
1505
|
+
} | undefined;
|
|
1506
|
+
visibilityConditions?: {
|
|
1507
|
+
when: string;
|
|
1508
|
+
is: any;
|
|
1509
|
+
show?: boolean | undefined;
|
|
1510
|
+
} | undefined;
|
|
1511
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1512
|
+
tooltip?: string | undefined;
|
|
1513
|
+
helperText?: string | undefined;
|
|
1514
|
+
showErrorMessage?: boolean | undefined;
|
|
1515
|
+
defaultValue?: number | undefined;
|
|
1516
|
+
rounding?: "up" | "down" | "none" | "nearest" | undefined;
|
|
1517
|
+
decimalPlaces?: number | undefined;
|
|
1518
|
+
percision?: number | undefined;
|
|
1519
|
+
unit?: string | undefined;
|
|
1520
|
+
description?: string | undefined;
|
|
1521
|
+
placeholder?: string | undefined;
|
|
1522
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
1523
|
+
required?: boolean;
|
|
1524
|
+
allowNegative?: boolean;
|
|
1525
|
+
}>;
|
|
1526
|
+
readonly EmailField: react274.FC<Pick<{
|
|
1527
|
+
rules: {
|
|
1528
|
+
maxLength?: number | undefined;
|
|
1529
|
+
minLength?: number | undefined;
|
|
1530
|
+
};
|
|
1531
|
+
label: string;
|
|
1532
|
+
name: string;
|
|
1533
|
+
camelCaseName: string;
|
|
1534
|
+
id: string;
|
|
1535
|
+
type: "email-field";
|
|
1536
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1537
|
+
tooltip?: string | undefined;
|
|
1538
|
+
helperText?: string | undefined;
|
|
1539
|
+
showErrorMessage?: boolean | undefined;
|
|
1540
|
+
description?: string | undefined;
|
|
1541
|
+
placeholder?: string | undefined;
|
|
1542
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1543
|
+
required?: boolean;
|
|
1544
|
+
maxLength?: number;
|
|
1545
|
+
}>;
|
|
1546
|
+
readonly PasswordField: react274.FC<{
|
|
1547
|
+
description?: string | undefined;
|
|
1548
|
+
label: string;
|
|
1549
|
+
placeholder?: string | undefined;
|
|
1550
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1551
|
+
tooltip?: string | undefined;
|
|
1552
|
+
helperText?: string | undefined;
|
|
1553
|
+
showErrorMessage?: boolean | undefined;
|
|
1554
|
+
}>;
|
|
1555
|
+
readonly SelectField: react274.FC<Pick<{
|
|
1556
|
+
options: {
|
|
1557
|
+
label: string;
|
|
1558
|
+
value: string;
|
|
1559
|
+
}[];
|
|
1560
|
+
label: string;
|
|
1561
|
+
name: string;
|
|
1562
|
+
camelCaseName: string;
|
|
1563
|
+
id: string;
|
|
1564
|
+
type: "select-field";
|
|
1565
|
+
clearable?: boolean | undefined;
|
|
1566
|
+
rules?: {
|
|
1567
|
+
required?: boolean | undefined;
|
|
1568
|
+
} | undefined;
|
|
1569
|
+
visibilityConditions?: {
|
|
1570
|
+
when: string;
|
|
1571
|
+
is: any;
|
|
1572
|
+
show?: boolean | undefined;
|
|
1573
|
+
} | undefined;
|
|
1574
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1575
|
+
tooltip?: string | undefined;
|
|
1576
|
+
helperText?: string | undefined;
|
|
1577
|
+
defaultValue?: string | undefined;
|
|
1578
|
+
description?: string | undefined;
|
|
1579
|
+
placeholder?: string | undefined;
|
|
1580
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1581
|
+
required?: boolean;
|
|
1582
|
+
}>;
|
|
1583
|
+
readonly ComboboxField: react274.FC<{
|
|
1584
|
+
label: string;
|
|
1585
|
+
description?: string;
|
|
1586
|
+
placeholder?: string;
|
|
1587
|
+
tooltip?: string;
|
|
1588
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1589
|
+
options: Array<{
|
|
1590
|
+
value: string;
|
|
1591
|
+
label: string;
|
|
1592
|
+
}>;
|
|
1593
|
+
}>;
|
|
1594
|
+
readonly DateField: react274.FC<Pick<{
|
|
1595
|
+
label: string;
|
|
1596
|
+
name: string;
|
|
1597
|
+
camelCaseName: string;
|
|
1598
|
+
id: string;
|
|
1599
|
+
type: "date-field";
|
|
1600
|
+
showErrorMessage?: boolean | undefined;
|
|
1601
|
+
rules?: {
|
|
1602
|
+
required?: boolean | undefined;
|
|
1603
|
+
minDate?: Date | undefined;
|
|
1604
|
+
maxDate?: Date | undefined;
|
|
1605
|
+
} | undefined;
|
|
1606
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1607
|
+
tooltip?: string | undefined;
|
|
1608
|
+
helperText?: string | undefined;
|
|
1609
|
+
defaultValue?: string | undefined;
|
|
1610
|
+
description?: string | undefined;
|
|
1611
|
+
placeholder?: string | undefined;
|
|
1612
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1613
|
+
required?: boolean;
|
|
1614
|
+
minDate?: Date;
|
|
1615
|
+
maxDate?: Date;
|
|
1616
|
+
}>;
|
|
1617
|
+
readonly SwitchField: react274.FC<{
|
|
1618
|
+
description?: string | undefined;
|
|
1619
|
+
label: string;
|
|
1620
|
+
helperText?: string | undefined;
|
|
1621
|
+
}>;
|
|
1622
|
+
readonly RadioGroupField: react274.FC<{
|
|
1623
|
+
description?: string | undefined;
|
|
1624
|
+
label: string;
|
|
1625
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1626
|
+
tooltip?: string | undefined;
|
|
1627
|
+
options: {
|
|
1628
|
+
label: string;
|
|
1629
|
+
value: string;
|
|
1630
|
+
description?: string | undefined;
|
|
1631
|
+
}[];
|
|
1632
|
+
helperText?: string | undefined;
|
|
1633
|
+
}>;
|
|
1634
|
+
readonly CheckboxField: react274.FC<{
|
|
1635
|
+
description?: string | undefined;
|
|
1636
|
+
label: string;
|
|
1637
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1638
|
+
tooltip?: string | undefined;
|
|
1639
|
+
options: {
|
|
1640
|
+
label: string;
|
|
1641
|
+
value: string;
|
|
1642
|
+
}[];
|
|
1643
|
+
helperText?: string | undefined;
|
|
1644
|
+
}>;
|
|
1645
|
+
readonly FieldGroup: react274.MemoExoticComponent<({
|
|
1646
|
+
className,
|
|
1647
|
+
...props
|
|
1648
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1649
|
+
readonly Field: react274.MemoExoticComponent<({
|
|
1650
|
+
className,
|
|
1651
|
+
orientation,
|
|
1652
|
+
...props
|
|
1653
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1654
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1655
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react_jsx_runtime333.JSX.Element>;
|
|
1656
|
+
readonly FieldContent: react274.MemoExoticComponent<({
|
|
1657
|
+
className,
|
|
1658
|
+
...props
|
|
1659
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1660
|
+
readonly FieldLabel: react274.MemoExoticComponent<({
|
|
1661
|
+
className,
|
|
1662
|
+
...props
|
|
1663
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime333.JSX.Element>;
|
|
1664
|
+
readonly FieldContentMain: react274.MemoExoticComponent<({
|
|
1665
|
+
className,
|
|
1666
|
+
...props
|
|
1667
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1668
|
+
readonly FieldSeparator: react274.MemoExoticComponent<({
|
|
1669
|
+
children,
|
|
1670
|
+
className,
|
|
1671
|
+
...props
|
|
1672
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime333.JSX.Element>;
|
|
1673
|
+
readonly FieldError: react274.MemoExoticComponent<({
|
|
1674
|
+
className,
|
|
1675
|
+
children,
|
|
1676
|
+
errors,
|
|
1677
|
+
...props
|
|
1678
|
+
}: react274.ClassAttributes<HTMLDivElement> & react274.HTMLAttributes<HTMLDivElement> & {
|
|
1679
|
+
errors?: Array<{
|
|
1680
|
+
code?: string;
|
|
1681
|
+
message?: string;
|
|
1682
|
+
} | undefined>;
|
|
1683
|
+
}) => react_jsx_runtime333.JSX.Element | null>;
|
|
1684
|
+
}, {
|
|
1685
|
+
readonly TanStackDialogForm: react274.FC<react274.PropsWithChildren<{
|
|
1686
|
+
title: string;
|
|
1687
|
+
submitText?: string;
|
|
1688
|
+
open?: boolean;
|
|
1689
|
+
onOpenChange?: (open: boolean) => void;
|
|
1690
|
+
}>>;
|
|
1691
|
+
readonly TanStackPopoverForm: react274.FC<react274.PropsWithChildren<{
|
|
1692
|
+
title: string;
|
|
1693
|
+
open?: boolean;
|
|
1694
|
+
contentClassName?: string;
|
|
1695
|
+
onOpenChange?: (open: boolean) => void;
|
|
1696
|
+
}>>;
|
|
1697
|
+
readonly TanStackContainerForm: react274.FC<{
|
|
1698
|
+
children?: react274.ReactNode | undefined;
|
|
1699
|
+
}>;
|
|
1700
|
+
readonly TanStackSectionForm: react274.FC<react274.PropsWithChildren<{
|
|
1701
|
+
title: string;
|
|
1702
|
+
}>>;
|
|
1703
|
+
readonly TanStackCardForm: react274.FC<react274.PropsWithChildren<{
|
|
1704
|
+
title: string;
|
|
1705
|
+
description?: string;
|
|
1706
|
+
onDelete?: () => void | Promise<void>;
|
|
1707
|
+
}>>;
|
|
1708
|
+
readonly TanStackFieldGroup: react274.FC<react274.PropsWithChildren<{
|
|
1709
|
+
label: string;
|
|
1710
|
+
description?: string;
|
|
1711
|
+
helperText?: string;
|
|
1712
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1713
|
+
}>>;
|
|
1714
|
+
readonly TanStackTitleField: react274.FC<{
|
|
1715
|
+
title: string;
|
|
1716
|
+
description?: string;
|
|
1717
|
+
helperText?: string;
|
|
1718
|
+
}>;
|
|
1719
|
+
readonly TanStackActionsForm: react274.FC<react274.PropsWithChildren<{
|
|
1720
|
+
type?: "create" | "update";
|
|
1721
|
+
}>>;
|
|
1722
|
+
readonly TanStackActionSubmit: react274.FC<{
|
|
1723
|
+
label?: string;
|
|
1724
|
+
className?: string;
|
|
1725
|
+
}>;
|
|
1726
|
+
}> | _tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_form_core0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
1727
|
+
readonly TextField: react274.FC<Pick<{
|
|
1728
|
+
label: string;
|
|
1729
|
+
name: string;
|
|
1730
|
+
camelCaseName: string;
|
|
1731
|
+
id: string;
|
|
1732
|
+
type: "text-field";
|
|
1733
|
+
dataType?: "text" | "url" | "email" | "password" | undefined;
|
|
1734
|
+
rules?: {
|
|
1735
|
+
required?: boolean | undefined;
|
|
1736
|
+
maxLength?: number | undefined;
|
|
1737
|
+
minLength?: number | undefined;
|
|
1738
|
+
exactLength?: number | undefined;
|
|
1739
|
+
} | undefined;
|
|
1740
|
+
visibilityConditions?: {
|
|
1741
|
+
when: string;
|
|
1742
|
+
is: any;
|
|
1743
|
+
show?: boolean | undefined;
|
|
1744
|
+
} | undefined;
|
|
1745
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1746
|
+
tooltip?: string | undefined;
|
|
1747
|
+
helperText?: string | undefined;
|
|
1748
|
+
showErrorMessage?: boolean | undefined;
|
|
1749
|
+
counter?: boolean | undefined;
|
|
1750
|
+
showClearButton?: boolean | undefined;
|
|
1751
|
+
description?: string | undefined;
|
|
1752
|
+
placeholder?: string | undefined;
|
|
1753
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
1754
|
+
required?: boolean;
|
|
1755
|
+
maxLength?: number;
|
|
1756
|
+
}>;
|
|
1757
|
+
readonly TextareaField: react274.FC<Pick<{
|
|
1758
|
+
label: string;
|
|
1759
|
+
name: string;
|
|
1760
|
+
camelCaseName: string;
|
|
1761
|
+
id: string;
|
|
1762
|
+
type: "textarea-field";
|
|
1763
|
+
rules?: {
|
|
1764
|
+
required?: boolean | undefined;
|
|
1765
|
+
maxLength?: number | undefined;
|
|
1766
|
+
minLength?: number | undefined;
|
|
1767
|
+
exactLength?: number | undefined;
|
|
1768
|
+
} | undefined;
|
|
1769
|
+
visibilityConditions?: {
|
|
1770
|
+
when: string;
|
|
1771
|
+
is: any;
|
|
1772
|
+
show?: boolean | undefined;
|
|
1773
|
+
} | undefined;
|
|
1774
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1775
|
+
tooltip?: string | undefined;
|
|
1776
|
+
helperText?: string | undefined;
|
|
1777
|
+
showErrorMessage?: boolean | undefined;
|
|
1778
|
+
counter?: boolean | undefined;
|
|
1779
|
+
description?: string | undefined;
|
|
1780
|
+
placeholder?: string | undefined;
|
|
1781
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
1782
|
+
required?: boolean;
|
|
1783
|
+
maxLength?: number;
|
|
1784
|
+
}>;
|
|
1785
|
+
readonly NumberField: react274.FC<Pick<{
|
|
1786
|
+
label: string;
|
|
1787
|
+
name: string;
|
|
1788
|
+
camelCaseName: string;
|
|
1789
|
+
id: string;
|
|
1790
|
+
type: "number-field";
|
|
1791
|
+
rules?: {
|
|
1792
|
+
required?: boolean | undefined;
|
|
1793
|
+
min?: {
|
|
1794
|
+
value: number;
|
|
1795
|
+
inclusive?: boolean | undefined;
|
|
1796
|
+
} | undefined;
|
|
1797
|
+
max?: {
|
|
1798
|
+
value: number;
|
|
1799
|
+
inclusive?: boolean | undefined;
|
|
1800
|
+
} | undefined;
|
|
1801
|
+
integerOnly?: boolean | undefined;
|
|
1802
|
+
positiveOnly?: boolean | undefined;
|
|
1803
|
+
exactDigits?: number | undefined;
|
|
1804
|
+
} | undefined;
|
|
1805
|
+
visibilityConditions?: {
|
|
1806
|
+
when: string;
|
|
1807
|
+
is: any;
|
|
1808
|
+
show?: boolean | undefined;
|
|
1809
|
+
} | undefined;
|
|
1810
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1811
|
+
tooltip?: string | undefined;
|
|
1812
|
+
helperText?: string | undefined;
|
|
1813
|
+
showErrorMessage?: boolean | undefined;
|
|
1814
|
+
defaultValue?: number | undefined;
|
|
1815
|
+
rounding?: "up" | "down" | "none" | "nearest" | undefined;
|
|
1816
|
+
decimalPlaces?: number | undefined;
|
|
1817
|
+
percision?: number | undefined;
|
|
1818
|
+
unit?: string | undefined;
|
|
1819
|
+
description?: string | undefined;
|
|
1820
|
+
placeholder?: string | undefined;
|
|
1821
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
1822
|
+
required?: boolean;
|
|
1823
|
+
allowNegative?: boolean;
|
|
1824
|
+
}>;
|
|
1825
|
+
readonly EmailField: react274.FC<Pick<{
|
|
1826
|
+
rules: {
|
|
1827
|
+
maxLength?: number | undefined;
|
|
1828
|
+
minLength?: number | undefined;
|
|
1829
|
+
};
|
|
1830
|
+
label: string;
|
|
1831
|
+
name: string;
|
|
1832
|
+
camelCaseName: string;
|
|
1833
|
+
id: string;
|
|
1834
|
+
type: "email-field";
|
|
1835
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1836
|
+
tooltip?: string | undefined;
|
|
1837
|
+
helperText?: string | undefined;
|
|
1838
|
+
showErrorMessage?: boolean | undefined;
|
|
1839
|
+
description?: string | undefined;
|
|
1840
|
+
placeholder?: string | undefined;
|
|
1841
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1842
|
+
required?: boolean;
|
|
1843
|
+
maxLength?: number;
|
|
1844
|
+
}>;
|
|
1845
|
+
readonly PasswordField: react274.FC<{
|
|
1846
|
+
description?: string | undefined;
|
|
1847
|
+
label: string;
|
|
1848
|
+
placeholder?: string | undefined;
|
|
1849
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1850
|
+
tooltip?: string | undefined;
|
|
1851
|
+
helperText?: string | undefined;
|
|
1852
|
+
showErrorMessage?: boolean | undefined;
|
|
1853
|
+
}>;
|
|
1854
|
+
readonly SelectField: react274.FC<Pick<{
|
|
1855
|
+
options: {
|
|
1856
|
+
label: string;
|
|
1857
|
+
value: string;
|
|
1858
|
+
}[];
|
|
1859
|
+
label: string;
|
|
1860
|
+
name: string;
|
|
1861
|
+
camelCaseName: string;
|
|
1862
|
+
id: string;
|
|
1863
|
+
type: "select-field";
|
|
1864
|
+
clearable?: boolean | undefined;
|
|
1865
|
+
rules?: {
|
|
1866
|
+
required?: boolean | undefined;
|
|
1867
|
+
} | undefined;
|
|
1868
|
+
visibilityConditions?: {
|
|
1869
|
+
when: string;
|
|
1870
|
+
is: any;
|
|
1871
|
+
show?: boolean | undefined;
|
|
1872
|
+
} | undefined;
|
|
1873
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1874
|
+
tooltip?: string | undefined;
|
|
1875
|
+
helperText?: string | undefined;
|
|
1876
|
+
defaultValue?: string | undefined;
|
|
1877
|
+
description?: string | undefined;
|
|
1878
|
+
placeholder?: string | undefined;
|
|
1879
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1880
|
+
required?: boolean;
|
|
1881
|
+
}>;
|
|
1882
|
+
readonly ComboboxField: react274.FC<{
|
|
1883
|
+
label: string;
|
|
1884
|
+
description?: string;
|
|
1885
|
+
placeholder?: string;
|
|
1886
|
+
tooltip?: string;
|
|
1887
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1888
|
+
options: Array<{
|
|
1889
|
+
value: string;
|
|
1890
|
+
label: string;
|
|
1891
|
+
}>;
|
|
1892
|
+
}>;
|
|
1893
|
+
readonly DateField: react274.FC<Pick<{
|
|
1894
|
+
label: string;
|
|
1895
|
+
name: string;
|
|
1896
|
+
camelCaseName: string;
|
|
1897
|
+
id: string;
|
|
1898
|
+
type: "date-field";
|
|
1899
|
+
showErrorMessage?: boolean | undefined;
|
|
1900
|
+
rules?: {
|
|
1901
|
+
required?: boolean | undefined;
|
|
1902
|
+
minDate?: Date | undefined;
|
|
1903
|
+
maxDate?: Date | undefined;
|
|
1904
|
+
} | undefined;
|
|
1905
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1906
|
+
tooltip?: string | undefined;
|
|
1907
|
+
helperText?: string | undefined;
|
|
1908
|
+
defaultValue?: string | undefined;
|
|
1909
|
+
description?: string | undefined;
|
|
1910
|
+
placeholder?: string | undefined;
|
|
1911
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1912
|
+
required?: boolean;
|
|
1913
|
+
minDate?: Date;
|
|
1914
|
+
maxDate?: Date;
|
|
1915
|
+
}>;
|
|
1916
|
+
readonly SwitchField: react274.FC<{
|
|
1917
|
+
description?: string | undefined;
|
|
1918
|
+
label: string;
|
|
1919
|
+
helperText?: string | undefined;
|
|
1920
|
+
}>;
|
|
1921
|
+
readonly RadioGroupField: react274.FC<{
|
|
1922
|
+
description?: string | undefined;
|
|
1923
|
+
label: string;
|
|
1924
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1925
|
+
tooltip?: string | undefined;
|
|
1926
|
+
options: {
|
|
1927
|
+
label: string;
|
|
1928
|
+
value: string;
|
|
1929
|
+
description?: string | undefined;
|
|
1930
|
+
}[];
|
|
1931
|
+
helperText?: string | undefined;
|
|
1932
|
+
}>;
|
|
1933
|
+
readonly CheckboxField: react274.FC<{
|
|
1934
|
+
description?: string | undefined;
|
|
1935
|
+
label: string;
|
|
1936
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1937
|
+
tooltip?: string | undefined;
|
|
1938
|
+
options: {
|
|
1939
|
+
label: string;
|
|
1940
|
+
value: string;
|
|
1941
|
+
}[];
|
|
1942
|
+
helperText?: string | undefined;
|
|
1943
|
+
}>;
|
|
1944
|
+
readonly FieldGroup: react274.MemoExoticComponent<({
|
|
1945
|
+
className,
|
|
1946
|
+
...props
|
|
1947
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1948
|
+
readonly Field: react274.MemoExoticComponent<({
|
|
1949
|
+
className,
|
|
1950
|
+
orientation,
|
|
1951
|
+
...props
|
|
1952
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1953
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1954
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react_jsx_runtime333.JSX.Element>;
|
|
1955
|
+
readonly FieldContent: react274.MemoExoticComponent<({
|
|
1956
|
+
className,
|
|
1957
|
+
...props
|
|
1958
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1959
|
+
readonly FieldLabel: react274.MemoExoticComponent<({
|
|
1960
|
+
className,
|
|
1961
|
+
...props
|
|
1962
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime333.JSX.Element>;
|
|
1963
|
+
readonly FieldContentMain: react274.MemoExoticComponent<({
|
|
1964
|
+
className,
|
|
1965
|
+
...props
|
|
1966
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime333.JSX.Element>;
|
|
1967
|
+
readonly FieldSeparator: react274.MemoExoticComponent<({
|
|
1968
|
+
children,
|
|
1969
|
+
className,
|
|
1970
|
+
...props
|
|
1971
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime333.JSX.Element>;
|
|
1972
|
+
readonly FieldError: react274.MemoExoticComponent<({
|
|
1973
|
+
className,
|
|
1974
|
+
children,
|
|
1975
|
+
errors,
|
|
1976
|
+
...props
|
|
1977
|
+
}: react274.ClassAttributes<HTMLDivElement> & react274.HTMLAttributes<HTMLDivElement> & {
|
|
1978
|
+
errors?: Array<{
|
|
1979
|
+
code?: string;
|
|
1980
|
+
message?: string;
|
|
1981
|
+
} | undefined>;
|
|
1982
|
+
}) => react_jsx_runtime333.JSX.Element | null>;
|
|
1983
|
+
}, {
|
|
1984
|
+
readonly TanStackDialogForm: react274.FC<react274.PropsWithChildren<{
|
|
1985
|
+
title: string;
|
|
1986
|
+
submitText?: string;
|
|
1987
|
+
open?: boolean;
|
|
1988
|
+
onOpenChange?: (open: boolean) => void;
|
|
1989
|
+
}>>;
|
|
1990
|
+
readonly TanStackPopoverForm: react274.FC<react274.PropsWithChildren<{
|
|
1991
|
+
title: string;
|
|
1992
|
+
open?: boolean;
|
|
1993
|
+
contentClassName?: string;
|
|
1994
|
+
onOpenChange?: (open: boolean) => void;
|
|
1995
|
+
}>>;
|
|
1996
|
+
readonly TanStackContainerForm: react274.FC<{
|
|
1997
|
+
children?: react274.ReactNode | undefined;
|
|
1998
|
+
}>;
|
|
1999
|
+
readonly TanStackSectionForm: react274.FC<react274.PropsWithChildren<{
|
|
2000
|
+
title: string;
|
|
2001
|
+
}>>;
|
|
2002
|
+
readonly TanStackCardForm: react274.FC<react274.PropsWithChildren<{
|
|
2003
|
+
title: string;
|
|
2004
|
+
description?: string;
|
|
2005
|
+
onDelete?: () => void | Promise<void>;
|
|
2006
|
+
}>>;
|
|
2007
|
+
readonly TanStackFieldGroup: react274.FC<react274.PropsWithChildren<{
|
|
2008
|
+
label: string;
|
|
2009
|
+
description?: string;
|
|
2010
|
+
helperText?: string;
|
|
2011
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
2012
|
+
}>>;
|
|
2013
|
+
readonly TanStackTitleField: react274.FC<{
|
|
2014
|
+
title: string;
|
|
2015
|
+
description?: string;
|
|
2016
|
+
helperText?: string;
|
|
2017
|
+
}>;
|
|
2018
|
+
readonly TanStackActionsForm: react274.FC<react274.PropsWithChildren<{
|
|
2019
|
+
type?: "create" | "update";
|
|
2020
|
+
}>>;
|
|
2021
|
+
readonly TanStackActionSubmit: react274.FC<{
|
|
2022
|
+
label?: string;
|
|
2023
|
+
className?: string;
|
|
2024
|
+
}>;
|
|
2025
|
+
}>;
|
|
2026
|
+
fields: TFields;
|
|
2027
|
+
}>) => ReturnType<react274.FunctionComponent>;
|
|
2028
|
+
//#endregion
|
|
2029
|
+
export { withTanStackForm as a, FieldContentMain as c, FieldLabel as d, FieldSeparator as f, withTanStackFieldGroup as i, FieldError as l, useTanStackForm as n, Field as o, useTanStackFormContext as r, FieldContent as s, useTanStackFieldContext as t, FieldGroup as u };
|
|
2030
|
+
//# sourceMappingURL=index-aTMCQQms.d.cts.map
|